Page MenuHomeFreeBSD
Feed Advanced Search

Apr 6 2017

tsoome added a comment to D10232: loader: network read rework.

Can you tell me a bit more about the testing you have done on this, and what remains to be done?

Maybe we can get Andrew Turner to try net booting an ARM64 machine with this.

Apr 6 2017, 3:17 PM
tsoome accepted D9547: libstand/dosfs: cache FAT32 in 128 Kb blocks to save loader memory.

good catch:)

Apr 6 2017, 10:41 AM
tsoome accepted D9547: libstand/dosfs: cache FAT32 in 128 Kb blocks to save loader memory.

LGTM.

Apr 6 2017, 10:28 AM
tsoome added a comment to D9547: libstand/dosfs: cache FAT32 in 128 Kb blocks to save loader memory.

What is the current status of this work?

I think it's ready. It works in my environment. All feedback from reviews (here and on Illumos) was taken into account and integrated into this patch. Coding style issues were fixed.

Apr 6 2017, 9:43 AM
tsoome added a comment to D9547: libstand/dosfs: cache FAT32 in 128 Kb blocks to save loader memory.

fixed these two style issues

Apr 6 2017, 8:52 AM

Apr 3 2017

tsoome updated the diff for D10232: loader: network read rework.

We do not need to restore *ip on bad checksum - the whole packet
will be freed anyhow.

Apr 3 2017, 9:05 PM
tsoome updated the diff for D10232: loader: network read rework.

use getsecs() instead of time(0), fix efi getsecs...

Apr 3 2017, 8:22 PM
tsoome added a comment to D10236: Implement the ability for GELIBoot to write encrypted data zfsbootcfg(8) depends on being able to write a valid block of zeros with the correct ZFS checksum to the PAD2 area of the first ZFS vdev label When the disk is encrypted with GELI....

Overall seems pretty nice, i think.

Apr 3 2017, 9:36 AM

Apr 2 2017

tsoome updated the diff for D10232: loader: network read rework.

EFI should build dev_net.c and link efinet_dev with netdev.

Apr 2 2017, 12:44 PM

Apr 1 2017

tsoome updated the diff for D10232: loader: network read rework.

pxe.c needs sys/param.h

Apr 1 2017, 8:00 PM
tsoome updated the diff for D10232: loader: network read rework.

use nitems() instead of NENTS()

Apr 1 2017, 7:17 PM
tsoome updated the diff for D10232: loader: network read rework.

spelling issue in pxe.h

Apr 1 2017, 3:10 PM
tsoome created D10232: loader: network read rework.
Apr 1 2017, 3:09 PM

Mar 30 2017

tsoome committed rS316287: Remove OLD_NFSV2 from loader and libstand.
Remove OLD_NFSV2 from loader and libstand
Mar 30 2017, 7:32 PM
tsoome closed D10206: Remove OLD_NFSV2 from loader and libstand by committing rS316287: Remove OLD_NFSV2 from loader and libstand.
Mar 30 2017, 7:32 PM
tsoome updated the diff for D10206: Remove OLD_NFSV2 from loader and libstand.

I think the NQNFS comment is also not actual any more

Mar 30 2017, 7:18 PM
tsoome committed rS316282: boot1.efi: can't boot from ZFS on 4kn HDD.
boot1.efi: can't boot from ZFS on 4kn HDD
Mar 30 2017, 5:24 PM
tsoome created D10206: Remove OLD_NFSV2 from loader and libstand.
Mar 30 2017, 5:04 PM
tsoome closed D10198: loader: simplify efi_zfs_probe and avoid double probing for zfs. by committing rS316280: loader: simplify efi_zfs_probe and avoid double probing for zfs..
Mar 30 2017, 4:33 PM
tsoome committed rS316280: loader: simplify efi_zfs_probe and avoid double probing for zfs..
loader: simplify efi_zfs_probe and avoid double probing for zfs.
Mar 30 2017, 4:33 PM
tsoome committed rS316279: loader: efipart should check disk size from partition table.
loader: efipart should check disk size from partition table
Mar 30 2017, 4:23 PM
tsoome closed D10197: loader: efipart should check disk size from partition table by committing rS316279: loader: efipart should check disk size from partition table.
Mar 30 2017, 4:23 PM
tsoome added a comment to D10203: loader: zfs reader should check all labels.

even just reading the 2nd label is a big improvement. Thank you.

Have you tested this by say clobbering the first label?

Mar 30 2017, 4:09 PM
tsoome added a comment to D10198: loader: simplify efi_zfs_probe and avoid double probing for zfs..

Does this change which pool might be booted from if you have more than 1 pool?

How have you tested this change?

Mar 30 2017, 3:58 PM
tsoome created D10203: loader: zfs reader should check all labels.
Mar 30 2017, 3:39 PM
tsoome created D10198: loader: simplify efi_zfs_probe and avoid double probing for zfs..
Mar 30 2017, 12:24 PM
tsoome created D10197: loader: efipart should check disk size from partition table.
Mar 30 2017, 11:38 AM

Mar 29 2017

tsoome created D10187: loader: want mechanism to avoid RA with bcache.
Mar 29 2017, 6:11 PM
tsoome created D10180: loader: part.c cstyle cleanup.
Mar 29 2017, 10:34 AM

Mar 28 2017

tsoome closed D10066: loader: ls command should display file types properly by committing rS316112: loader: ls command should display file types properly.
Mar 28 2017, 9:50 PM
tsoome committed rS316112: loader: ls command should display file types properly.
loader: ls command should display file types properly
Mar 28 2017, 9:50 PM
tsoome committed rS316111: loader: move bios getsecs into time.c.
loader: move bios getsecs into time.c
Mar 28 2017, 9:47 PM
tsoome closed D10058: loader: move bios getsecs into time.c by committing rS316111: loader: move bios getsecs into time.c.
Mar 28 2017, 9:47 PM
tsoome updated the diff for D10066: loader: ls command should display file types properly.

svn update.

Mar 28 2017, 9:27 PM

Mar 21 2017

tsoome updated the diff for D10066: loader: ls command should display file types properly.

still missed one space before tab.

Mar 21 2017, 6:59 AM
tsoome updated the diff for D10066: loader: ls command should display file types properly.

And some more cstyle fixes.

Mar 21 2017, 6:56 AM
tsoome updated the diff for D10066: loader: ls command should display file types properly.

missed one more malloc check, and small cstyle fix - missing space after
return keyword.

Mar 21 2017, 6:34 AM

Mar 20 2017

tsoome committed rS315653: loader: verify the value from dhcp.interface-mtu and use snprintf to set mtu.
loader: verify the value from dhcp.interface-mtu and use snprintf to set mtu
Mar 20 2017, 10:20 PM
tsoome closed D8492: Verify the value from dhcp.interface-mtu and use snprintf to set mtu. by committing rS315653: loader: verify the value from dhcp.interface-mtu and use snprintf to set mtu.
Mar 20 2017, 10:20 PM
tsoome added a comment to D10066: loader: ls command should display file types properly.

The review at illumos side: https://www.illumos.org/rb/r/408/

Mar 20 2017, 10:11 PM
tsoome added inline comments to D10066: loader: ls command should display file types properly.
Mar 20 2017, 8:41 PM
tsoome updated the diff for D10066: loader: ls command should display file types properly.

malloc can fail: so the stat size and mode should be zeroed before.
stat can fail: set mode = 0
and free does not need the check, but the comment is helpful.

Mar 20 2017, 8:39 PM
tsoome updated the test plan for D10066: loader: ls command should display file types properly.
Mar 20 2017, 8:19 PM
tsoome added a comment to D8492: Verify the value from dhcp.interface-mtu and use snprintf to set mtu..

This work is an result of review in https://www.illumos.org/rb/r/259/

Mar 20 2017, 8:11 PM
tsoome created D10066: loader: ls command should display file types properly.
Mar 20 2017, 8:09 PM
tsoome updated the diff for D8492: Verify the value from dhcp.interface-mtu and use snprintf to set mtu..

Fixed the dhcp.interface-mtu check.

Mar 20 2017, 7:18 PM
tsoome committed rS315648: libstand: verify value provided by nfs.read_size.
libstand: verify value provided by nfs.read_size
Mar 20 2017, 7:16 PM
tsoome closed D8491: libstand: verify value provided by nfs.read_size by committing rS315648: libstand: verify value provided by nfs.read_size.
Mar 20 2017, 7:16 PM
tsoome committed rS315646: loader: pxe.h constants have wrong values.
loader: pxe.h constants have wrong values
Mar 20 2017, 6:15 PM
tsoome closed D10056: loader: pxe.h constants have wrong values by committing rS315646: loader: pxe.h constants have wrong values.
Mar 20 2017, 6:15 PM
tsoome committed rS315645: loader: disk_cleanup was left in userboot_disk.c.
loader: disk_cleanup was left in userboot_disk.c
Mar 20 2017, 6:03 PM
tsoome closed D10060: loader: disk_cleanup was left in userboot_disk.c by committing rS315645: loader: disk_cleanup was left in userboot_disk.c.
Mar 20 2017, 6:03 PM
tsoome updated the summary of D10056: loader: pxe.h constants have wrong values.
Mar 20 2017, 5:52 PM
tsoome updated the diff for D10058: loader: move bios getsecs into time.c.

gcc did complain about missing prototype for getsecs(), including net.h
alone is not enough, so I just did add local prototype. clang does not seem
to care...

Mar 20 2017, 10:04 AM
tsoome created D10060: loader: disk_cleanup was left in userboot_disk.c.
Mar 20 2017, 8:35 AM

Mar 19 2017

tsoome created D10058: loader: move bios getsecs into time.c.
Mar 19 2017, 10:55 PM
tsoome added inline comments to D9547: libstand/dosfs: cache FAT32 in 128 Kb blocks to save loader memory.
Mar 19 2017, 9:30 PM
tsoome created D10056: loader: pxe.h constants have wrong values.
Mar 19 2017, 8:08 PM

Mar 17 2017

tsoome added a comment to D9547: libstand/dosfs: cache FAT32 in 128 Kb blocks to save loader memory.

Ah, right, there is an problem now with viewing the changes - if you just upload the diff, there is not enough context for phabricator to work with. arcanist does post automatically, diff needs some command line option to provide the whole file, I can not recall it off hand..

Mar 17 2017, 7:26 PM
tsoome added a comment to D9547: libstand/dosfs: cache FAT32 in 128 Kb blocks to save loader memory.

Actually hold the horses a bit, I have incoming comments from illumos review and we can get this even better:)

Mar 17 2017, 3:22 PM

Mar 16 2017

tsoome accepted D9547: libstand/dosfs: cache FAT32 in 128 Kb blocks to save loader memory.

seems ok for me:)

Mar 16 2017, 10:41 PM
tsoome added inline comments to D9547: libstand/dosfs: cache FAT32 in 128 Kb blocks to save loader memory.
Mar 16 2017, 10:25 PM
tsoome closed D10032: loader: biosdisk should report IO error from INT13 by committing rS315427: loader: biosdisk should report IO error from INT13.
Mar 16 2017, 9:34 PM
tsoome committed rS315427: loader: biosdisk should report IO error from INT13.
loader: biosdisk should report IO error from INT13
Mar 16 2017, 9:34 PM
tsoome added a comment to D9547: libstand/dosfs: cache FAT32 in 128 Kb blocks to save loader memory.

I'm sorry it took so long till I got to this one, some cstyle issues need attention.

Mar 16 2017, 6:53 PM
tsoome created D10032: loader: biosdisk should report IO error from INT13.
Mar 16 2017, 5:26 PM
tsoome committed rS315408: loader: remove open_disk cache.
loader: remove open_disk cache
Mar 16 2017, 12:05 PM
tsoome closed D9757: loader: remove open_disk cache by committing rS315408: loader: remove open_disk cache.
Mar 16 2017, 12:05 PM
tsoome added inline comments to D9757: loader: remove open_disk cache.
Mar 16 2017, 11:50 AM
tsoome updated the diff for D9757: loader: remove open_disk cache.

whitespace cleanup

Mar 16 2017, 11:49 AM

Mar 15 2017

tsoome added inline comments to D8491: libstand: verify value provided by nfs.read_size.
Mar 15 2017, 9:41 PM
tsoome added inline comments to D8491: libstand: verify value provided by nfs.read_size.
Mar 15 2017, 9:21 PM
tsoome updated the diff for D8491: libstand: verify value provided by nfs.read_size.

Typo in errno name and casting to int.

Mar 15 2017, 9:16 PM
tsoome updated the diff for D9757: loader: remove open_disk cache.

ptable_print needs to open the nested partition with disk_open,
as the state is not shared any more.

Mar 15 2017, 8:37 PM
tsoome closed D9870: PR216964: boot1.efi: can't boot from ZFS on 4kn HDD by committing rS315326: boot1.efi: can't boot from ZFS on 4kn HDD.
Mar 15 2017, 7:48 PM
tsoome committed rS315326: boot1.efi: can't boot from ZFS on 4kn HDD.
boot1.efi: can't boot from ZFS on 4kn HDD
Mar 15 2017, 7:48 PM
tsoome added a comment to D9870: PR216964: boot1.efi: can't boot from ZFS on 4kn HDD.
In D9870#206870, @kozlov.sergey.404_gmail.com wrote:

Please let me know if you need another round of testing done to commit this one

Mar 15 2017, 4:32 PM

Mar 4 2017

tsoome updated the diff for D9870: PR216964: boot1.efi: can't boot from ZFS on 4kn HDD.

Rewrote to use single sector sized bounce buffer. Done for safety reasons,
so we wont attempt to allocate some large buffers due to chaining errors.

Mar 4 2017, 7:48 PM

Mar 3 2017

tsoome updated the diff for D9870: PR216964: boot1.efi: can't boot from ZFS on 4kn HDD.

typo fixed.

Mar 3 2017, 6:07 PM
tsoome updated the diff for D9870: PR216964: boot1.efi: can't boot from ZFS on 4kn HDD.

Update suggested by rpokala.

Mar 3 2017, 6:05 PM

Mar 2 2017

tsoome retitled D9870: PR216964: boot1.efi: can't boot from ZFS on 4kn HDD from to PR216964: boot1.efi: can't boot from ZFS on 4kn HDD.
Mar 2 2017, 7:45 PM

Mar 1 2017

tsoome committed rS314504: loader: r314112 did introduce dereference freed pointer entry.
loader: r314112 did introduce dereference freed pointer entry
Mar 1 2017, 7:02 PM
tsoome closed D9846: loader: r314112 did introduce dereference freed pointer entry by committing rS314504: loader: r314112 did introduce dereference freed pointer entry.
Mar 1 2017, 7:02 PM
tsoome retitled D9846: loader: r314112 did introduce dereference freed pointer entry from to loader: r314112 did introduce dereference freed pointer entry.
Mar 1 2017, 5:14 PM

Feb 24 2017

tsoome accepted D9782: Remove control+r handling from geliboot's pwgets().

LGTM

Feb 24 2017, 8:20 AM

Feb 22 2017

tsoome retitled D9757: loader: remove open_disk cache from to loader: remove open_disk cache.
Feb 22 2017, 10:41 PM
tsoome closed D9706: loader: update symlink support in zfs reader by committing rS314112: loader: update symlink support in zfs reader.
Feb 22 2017, 10:00 PM
tsoome committed rS314112: loader: update symlink support in zfs reader.
loader: update symlink support in zfs reader
Feb 22 2017, 10:00 PM
tsoome updated the diff for D9706: loader: update symlink support in zfs reader.

svn update; and clean up the inverted if statement.

Feb 22 2017, 12:42 PM
tsoome updated the diff for D9706: loader: update symlink support in zfs reader.

Fixes suggested by smh.

Feb 22 2017, 12:22 PM
tsoome added inline comments to D9706: loader: update symlink support in zfs reader.
Feb 22 2017, 12:21 PM

Feb 21 2017

tsoome retitled D9706: loader: update symlink support in zfs reader from to loader: update symlink support in zfs reader.
Feb 21 2017, 8:27 PM

Feb 20 2017

tsoome added a comment to D9687: Add string16 API.
In D9687#200246, @imp wrote:

All the string functions suffer from the same problem we have with the original string functions you replaced: they don't properly implement character conversions. Please see the efivar stuff I did in -current to see what you need to do there. And you should put the functions I wrote there into libstand. While these functions work well enough for ASCIIish things, they fail for anything more complex. If we're going to rework things, let's do it correctly and reuse what was done correctly for efivar (who, to be fair, stole and reworked the code from Marcel's earlier efi on ia64 work).

Feb 20 2017, 4:59 PM

Feb 16 2017

tsoome added inline comments to D9430: Use -Os when compiling all bootloaders, not just some.
Feb 16 2017, 6:55 AM

Feb 13 2017

tsoome closed D9562: loader: cstyle fixes and DIOCGMEDIASIZE should use uint64_t by committing rS313710: loader: cstyle fixes and DIOCGMEDIASIZE should use uint64_t.
Feb 13 2017, 9:34 PM
tsoome committed rS313710: loader: cstyle fixes and DIOCGMEDIASIZE should use uint64_t.
loader: cstyle fixes and DIOCGMEDIASIZE should use uint64_t
Feb 13 2017, 9:34 PM
tsoome retitled D9562: loader: cstyle fixes and DIOCGMEDIASIZE should use uint64_t from to loader: cstyle fixes and DIOCGMEDIASIZE should use uint64_t.
Feb 13 2017, 6:52 AM

Feb 11 2017

tsoome closed D9520: loader: implement MEDIA_FILEPATH_DP support in efipart by committing rS313645: loader: implement MEDIA_FILEPATH_DP support in efipart.
Feb 11 2017, 3:26 PM
tsoome committed rS313645: loader: implement MEDIA_FILEPATH_DP support in efipart.
loader: implement MEDIA_FILEPATH_DP support in efipart
Feb 11 2017, 3:26 PM

Feb 10 2017

tsoome added a comment to D9520: loader: implement MEDIA_FILEPATH_DP support in efipart.
In D9520#196965, @gonzo wrote:

I tested it on rpi3, it works with crochet-generated image

OK  lsdev
disk devices:
    disk0:    15564801 X 512 blocks (removable)
      disk0s1: DOS/Windows
      disk0s2: FreeBSD
        disk0s2a: FreeBSD UFS
net devices:
    net0:
Feb 10 2017, 7:36 PM