Page MenuHomeFreeBSD
Feed Advanced Search

Jul 2 2020

tsoome committed rS362883: loader: potential memory leak and check return values.
loader: potential memory leak and check return values
Jul 2 2020, 7:04 AM

Jul 1 2020

tsoome accepted D25312: Relax the rule against declaring variables in nested scopes..
Jul 1 2020, 8:43 PM
tsoome updated the diff for D25512: WIP bootnext: Next Generation.

Read and write all 4 label instances.

Jul 1 2020, 8:32 AM
tsoome updated the diff for D25512: WIP bootnext: Next Generation.

Mistake on dates

Jul 1 2020, 7:30 AM

Jun 30 2020

tsoome updated the summary of D25512: WIP bootnext: Next Generation.
Jun 30 2020, 10:11 PM
tsoome updated the diff for D25512: WIP bootnext: Next Generation.

boot1 change was committed.

Jun 30 2020, 9:52 PM
tsoome committed rS362812: boot1.efi: use malloc family from libsa.
boot1.efi: use malloc family from libsa
Jun 30 2020, 9:49 PM
tsoome added a comment to D25512: WIP bootnext: Next Generation.

@tsoome Is this purely refactoring or some additional features/improvements as the goal.

Jun 30 2020, 5:58 PM
tsoome added inline comments to D25512: WIP bootnext: Next Generation.
Jun 30 2020, 10:10 AM

Jun 29 2020

tsoome requested review of D25512: WIP bootnext: Next Generation.
Jun 29 2020, 10:23 PM

Jun 26 2020

tsoome committed rS362663: loader: can not read zfs pool with slog removed.
loader: can not read zfs pool with slog removed
Jun 26 2020, 9:21 PM

Jun 23 2020

tsoome committed rS362531: MFOpenZFS: Add basic zfs ioc input nvpair validation.
MFOpenZFS: Add basic zfs ioc input nvpair validation
Jun 23 2020, 6:43 AM
tsoome closed D25393: Openzfs #7780: Add basic zfs ioc input nvpair validation.
Jun 23 2020, 6:42 AM

Jun 22 2020

tsoome updated the diff for D25393: Openzfs #7780: Add basic zfs ioc input nvpair validation.

We do not want to change IOC list ordering (yet).

Jun 22 2020, 7:25 PM

Jun 21 2020

tsoome requested review of D25393: Openzfs #7780: Add basic zfs ioc input nvpair validation.
Jun 21 2020, 7:41 PM

Jun 20 2020

tsoome committed rS362433: loader: libofw build is missing sys/list.h after r362431.
loader: libofw build is missing sys/list.h after r362431
Jun 20 2020, 8:23 AM
tsoome committed rS362432: loader: fix libofw build after r362431.
loader: fix libofw build after r362431
Jun 20 2020, 7:47 AM
tsoome closed D25324: loader: create single zfs nextboot implementation.
Jun 20 2020, 6:24 AM
tsoome committed rS362431: loader: create single zfs nextboot implementation.
loader: create single zfs nextboot implementation
Jun 20 2020, 6:23 AM

Jun 19 2020

tsoome added a comment to D25324: loader: create single zfs nextboot implementation.
In D25324#559399, @jhb wrote:

FWIW, my hope had been to have a single gptboot that does both UFS + ZFS. I don't envy the logic to figure out which one to boot from if both are present though. :) What is the current size bsdinstall uses for freebsd-boot and how long ago has it been 128k?

Jun 19 2020, 4:00 PM

Jun 18 2020

tsoome added inline comments to D25324: loader: create single zfs nextboot implementation.
Jun 18 2020, 2:57 PM
tsoome updated the diff for D25324: loader: create single zfs nextboot implementation.

shield ufs with LOADER_UFS_SUPPORT and do not include ufs support
for gptzfsboot (for now). We still do provide ufs for zfsboot.

Jun 18 2020, 2:50 PM
tsoome added a comment to D25312: Relax the rule against declaring variables in nested scopes..
In D25312#558449, @jhb wrote:

BTW, one thing this leaves ambiguous is our you can declare variables in the middle of blocks vs at the beginning. That is:

int
foo(int *p, size_t len)
{
    for (size_t i = 0; i < len; i++) {
        int one, two;

        one = p[i] * 2;
        two = bar(&one);
        ...
    }
}

vs.

int
foo(int *p, size_t len)
{
    for (size_t i = 0; i < len; i++) {
        int one = p[i] * 2;
        int two = bar(&one);
        ...
    }
}

I guess this is the second point kib@ made. Do we think relaxing this means it's ok to declare variables at the start of any block or do we think it's fine to define them in the middle of blocks? If the former you would perhaps want to replace the removed sentence with something like:

Place declarations at the start of blocks.

I had read the intention of removing this as being the former and not the latter FWIW.

Jun 18 2020, 9:37 AM
tsoome committed rS362262: loader: strings in nvlist are counted strings, not c-strings.
loader: strings in nvlist are counted strings, not c-strings
Jun 18 2020, 9:25 AM
tsoome committed rS362259: loader: vidc_init should also erase the screen.
loader: vidc_init should also erase the screen
Jun 18 2020, 9:25 AM
tsoome committed rS362265: loader: r362262 did miss the pathlen check.
loader: r362262 did miss the pathlen check
Jun 18 2020, 9:20 AM
tsoome requested review of D25324: loader: create single zfs nextboot implementation.
Jun 18 2020, 9:18 AM

Jun 17 2020

tsoome accepted D25312: Relax the rule against declaring variables in nested scopes..

Thanks:)

Jun 17 2020, 5:59 AM

Jun 16 2020

tsoome committed rS362239: boot2: need to expand tab output and mask getchar.
boot2: need to expand tab output and mask getchar
Jun 16 2020, 8:35 PM
tsoome committed rS362218: loader: zfs_cmd.c does not really compile without libzfs.h.
loader: zfs_cmd.c does not really compile without libzfs.h
Jun 16 2020, 7:30 AM
tsoome committed rS362217: loader: variable i is unused without MBR/GPT support built in.
loader: variable i is unused without MBR/GPT support built in
Jun 16 2020, 7:05 AM

Jun 14 2020

tsoome committed rS362184: zfsboot: cstyle cleanup.
zfsboot: cstyle cleanup
Jun 14 2020, 8:57 PM
tsoome committed rS362174: loader.efi: update console after gfx mode change.
loader.efi: update console after gfx mode change
Jun 14 2020, 10:14 AM
tsoome committed rS362172: Move font related data structured to sys/font.c and update vtfontcvt.
Move font related data structured to sys/font.c and update vtfontcvt
Jun 14 2020, 6:59 AM
tsoome closed D24189: Move font related data structured to sys/font.c and update vtfontcvt.
Jun 14 2020, 6:59 AM

Jun 9 2020

tsoome accepted D25202: Fix the efi serial console in the Arm models.
Jun 9 2020, 8:41 PM

Jun 5 2020

tsoome committed rS361842: zfsbootcfg: use vfs.root.mountfrom and update nextboot on every vdev.
zfsbootcfg: use vfs.root.mountfrom and update nextboot on every vdev
Jun 5 2020, 6:19 PM
tsoome closed D25103: zfsbootcfg: use vfs.root.mountfrom and update nextboot on every vdev.
Jun 5 2020, 6:18 PM
tsoome accepted D8434: Rename to skein_block_asm.s to .S, to use Clang's integrated assembler.

Looks good.

Jun 5 2020, 6:12 PM

Jun 3 2020

tsoome updated the diff for D25103: zfsbootcfg: use vfs.root.mountfrom and update nextboot on every vdev.

rename install_nextboot to install_bootonce

Jun 3 2020, 7:29 PM
tsoome added inline comments to D25103: zfsbootcfg: use vfs.root.mountfrom and update nextboot on every vdev.
Jun 3 2020, 7:28 PM

Jun 2 2020

tsoome requested review of D25103: zfsbootcfg: use vfs.root.mountfrom and update nextboot on every vdev.
Jun 2 2020, 4:18 PM

May 27 2020

tsoome added inline comments to D24920: zfs: add to bootloader option to rewind the ZFS checkpoint..
May 27 2020, 8:15 PM

May 21 2020

tsoome accepted D24920: zfs: add to bootloader option to rewind the ZFS checkpoint..

I can not tell much about lua bits, but the rest seems good. I was starting to think if using ! is complicating things (could just use environment variable - those are accessible via kenv), but I'm all good.

May 21 2020, 5:40 PM
tsoome added a comment to D24920: zfs: add to bootloader option to rewind the ZFS checkpoint..

In general, it seems nice. I'd like to see more for description; how the checkpoints would appear, what it means to the boot process, would it mean updates for some manual/handbook? It would nice to refer to zpool, not all people do know where to look for information.

It will appear only if you will if you have checkpoint in the system.
This is small demo: https://youtu.be/Flor6seU080
Please ignore some debug info I already removed them.
Yea probably it is good to update the handbook as well.
I'm never edited the handbook though.

May 21 2020, 5:20 PM
tsoome added a comment to D24920: zfs: add to bootloader option to rewind the ZFS checkpoint..

In general, it seems nice. I'd like to see more for description; how the checkpoints would appear, what it means to the boot process, would it mean updates for some manual/handbook? It would nice to refer to zpool, not all people do know where to look for information.

May 21 2020, 6:16 AM

May 19 2020

tsoome committed rS361266: lz4 hash table does not start zeroed.
lz4 hash table does not start zeroed
May 19 2020, 7:53 PM

May 11 2020

tsoome committed rS360891: MFC r360836:.
MFC r360836:
May 11 2020, 7:01 AM
tsoome committed rS360890: MFC r360836:.
MFC r360836:
May 11 2020, 6:59 AM

May 9 2020

tsoome committed rS360836: loader: vdev_read() can corrupt memory.
loader: vdev_read() can corrupt memory
May 9 2020, 6:25 AM

Mar 30 2020

tsoome committed rS359458: gallant: pound sign (0xa3) is a bit broken. Add extra glyphs..
gallant: pound sign (0xa3) is a bit broken. Add extra glyphs.
Mar 30 2020, 8:07 PM

Mar 29 2020

tsoome committed rS359421: loader: use #elif defined() in stand.h.
loader: use #elif defined() in stand.h
Mar 29 2020, 6:49 AM

Mar 28 2020

tsoome committed rS359411: loader.efi: restore the init and fix the color setup.
loader.efi: restore the init and fix the color setup
Mar 28 2020, 10:38 PM
tsoome committed rS359409: loader: typo did slip into 359408.
loader: typo did slip into 359408
Mar 28 2020, 9:56 PM
tsoome committed rS359408: loader: strdup name strings from dataset walker.
loader: strdup name strings from dataset walker
Mar 28 2020, 9:50 PM
tsoome committed rS359407: loader: add knob to build with user malloc.
loader: add knob to build with user malloc
Mar 28 2020, 9:47 PM

Mar 27 2020

tsoome committed rS359372: loader.efi: conout->QueryMode() can fail to return screen dimensions.
loader.efi: conout->QueryMode() can fail to return screen dimensions
Mar 27 2020, 6:01 PM

Mar 26 2020

tsoome accepted D21733: loader: Fully reset terminal settings, not just colors.

Seems ok.

Mar 26 2020, 8:29 PM

Mar 25 2020

tsoome created D24189: Move font related data structured to sys/font.c and update vtfontcvt.
Mar 25 2020, 9:13 PM

Mar 19 2020

tsoome committed rS359153: loader: remove libsa/crc32.c and use version from zlib.
loader: remove libsa/crc32.c and use version from zlib
Mar 19 2020, 9:05 PM
tsoome closed D24068: loader: remove libsa/crc32.c and use version from zlib.
Mar 19 2020, 9:05 PM
tsoome committed rS359147: loader: misaligned access of dos_partition structure.
loader: misaligned access of dos_partition structure
Mar 19 2020, 5:27 PM
tsoome committed rS359143: MFC r354240, r354252, r358906.
MFC r354240, r354252, r358906
Mar 19 2020, 4:52 PM

Mar 18 2020

tsoome committed rS359099: loader.efi: handle efi_cons_init() failure cases better.
loader.efi: handle efi_cons_init() failure cases better
Mar 18 2020, 10:21 PM

Mar 15 2020

tsoome updated the diff for D24041: loader should consult with ACPI SPCR table for serial console.

feedback from cem.

Mar 15 2020, 6:24 PM

Mar 14 2020

tsoome retitled D24068: loader: remove libsa/crc32.c and use version from zlib from loader: rename crc32 to crc32_libsa to loader: remove libsa/crc32.c and use version from zlib.
Mar 14 2020, 8:42 PM
tsoome updated the diff for D24068: loader: remove libsa/crc32.c and use version from zlib.

drop crc32 from libsa and use version provided by zlib.

Mar 14 2020, 7:36 PM
tsoome added a comment to D24068: loader: remove libsa/crc32.c and use version from zlib.
In D24068#529184, @cem wrote:

I’d suggest using the zlib one unless it takes excessive space (bigger precomputed tables, for ex.).

Mar 14 2020, 4:17 PM
tsoome updated the diff for D24068: loader: remove libsa/crc32.c and use version from zlib.

missed stand/uboot/lib/glue.c

Mar 14 2020, 3:53 PM
tsoome created D24068: loader: remove libsa/crc32.c and use version from zlib.
Mar 14 2020, 3:48 PM
tsoome committed rS358989: loader: add comconsole implementation on top of SIO protocol.
loader: add comconsole implementation on top of SIO protocol
Mar 14 2020, 6:36 AM

Mar 12 2020

tsoome added a comment to D24041: loader should consult with ACPI SPCR table for serial console.
In D24041#528666, @greg_unrelenting.technology wrote:

hmm.. The kernel already reads from SPCR (dev/uart/uart_cpu_acpi.c), do we need to feed it duplicate info via comconsole_speed etc.? Or does the i386 legacy bios loader use this info for itself somehow? (I thought env is for the kernel mostly..)

Also, does the setenv("console", "comconsole", 1) mean it's not going to probe vidconsole? (The existence of SPCR should never mean there's no vidconsole ­— I have amd64 and arm64 devices that boot with both an SPCR-defined serial port and a graphical (EFI framebuffer) console at the same time.. )

Wait, that setenv would be overwritten by the ones just after the new biosacpi_detect() call, where the initial_howto & RB_MULTIPLE stuff is.. so is it meant for the case where none of these conditions are true?

Mar 12 2020, 7:39 PM
tsoome added a comment to D24041: loader should consult with ACPI SPCR table for serial console.
In D24041#528666, @greg_unrelenting.technology wrote:

hmm.. The kernel already reads from SPCR (dev/uart/uart_cpu_acpi.c), do we need to feed it duplicate info via comconsole_speed etc.? Or does the i386 legacy bios loader use this info for itself somehow? (I thought env is for the kernel mostly..)

Also, does the setenv("console", "comconsole", 1) mean it's not going to probe vidconsole? (The existence of SPCR should never mean there's no vidconsole ­— I have amd64 and arm64 devices that boot with both an SPCR-defined serial port and a graphical (EFI framebuffer) console at the same time.. )

Wait, that setenv would be overwritten by the ones just after the new biosacpi_detect() call, where the initial_howto & RB_MULTIPLE stuff is.. so is it meant for the case where none of these conditions are true?

Mar 12 2020, 7:27 PM
tsoome updated the diff for D24041: loader should consult with ACPI SPCR table for serial console.

feedback from cem.

Mar 12 2020, 6:40 PM
tsoome created D24041: loader should consult with ACPI SPCR table for serial console.
Mar 12 2020, 5:44 PM
tsoome committed rS358906: test if port does exist via using scratch register.
test if port does exist via using scratch register
Mar 12 2020, 6:45 AM

Mar 9 2020

tsoome committed rS358815: gallant is 12x22, not 8x16.
gallant is 12x22, not 8x16
Mar 9 2020, 7:43 PM

Mar 4 2020

tsoome committed rS358632: loader: crc32 is provided by libsa.
loader: crc32 is provided by libsa
Mar 4 2020, 6:38 PM
tsoome accepted D23827: veloader use vectx API for kernel and modules.
Mar 4 2020, 4:28 AM

Feb 26 2020

tsoome committed rS358343: loader: replace zfs_alloc/zfs_free with malloc/free.
loader: replace zfs_alloc/zfs_free with malloc/free
Feb 26 2020, 6:12 PM

Feb 23 2020

tsoome committed rS358260: loader: alloc_pread() should set errno if malloc fails.
loader: alloc_pread() should set errno if malloc fails
Feb 23 2020, 3:21 PM

Feb 20 2020

tsoome committed rS358163: efi_register_handles() is missing NULL pointer check.
efi_register_handles() is missing NULL pointer check
Feb 20 2020, 9:03 AM
tsoome committed rS358162: insert_zfs() is missing NULL pointer check.
insert_zfs() is missing NULL pointer check
Feb 20 2020, 9:00 AM
tsoome committed rS358160: efipart_inithandles() is missing NULL pointer check.
efipart_inithandles() is missing NULL pointer check
Feb 20 2020, 8:57 AM
tsoome committed rS358159: connect_controllers() is missing NULL pointer check.
connect_controllers() is missing NULL pointer check
Feb 20 2020, 8:55 AM
tsoome committed rS358158: efihttp_fs_seek() is missing NULL pointer check.
efihttp_fs_seek() is missing NULL pointer check
Feb 20 2020, 8:53 AM
tsoome committed rS358157: efinet_dev_init() is missing NULL pointer check.
efinet_dev_init() is missing NULL pointer check
Feb 20 2020, 8:48 AM

Feb 10 2020

tsoome accepted D23611: lualoader: disable autoboot on high-level interpreter errors.
Feb 10 2020, 8:09 PM

Feb 5 2020

tsoome committed rS357571: followup on r357497: clean obsolete comment and use shift instead of….
followup on r357497: clean obsolete comment and use shift instead of…
Feb 5 2020, 1:08 PM
tsoome committed rS357569: zfsboot: vdev_read_pad2 does allocate buffer with wrong size.
zfsboot: vdev_read_pad2 does allocate buffer with wrong size
Feb 5 2020, 11:02 AM
tsoome committed rS357567: vdev_read_pad2: freeing wrong pointer.
vdev_read_pad2: freeing wrong pointer
Feb 5 2020, 5:43 AM

Feb 4 2020

tsoome committed rS357497: loader: rewrite zfs reader zap code to use malloc.
loader: rewrite zfs reader zap code to use malloc
Feb 4 2020, 7:38 AM
tsoome closed D23433: loader: rewrite zfs reader zap code to use malloc.
Feb 4 2020, 7:38 AM
tsoome committed rS357496: MFC r357442:.
MFC r357442:
Feb 4 2020, 7:19 AM
tsoome committed rS357495: MFC r357442:.
MFC r357442:
Feb 4 2020, 7:15 AM

Feb 3 2020

tsoome updated the diff for D23433: loader: rewrite zfs reader zap code to use malloc.

Suggestions from delphij, thanks!

Feb 3 2020, 5:51 PM
tsoome committed rS357442: loader: bc_add can not use any other probes than ah=0x4b.
loader: bc_add can not use any other probes than ah=0x4b
Feb 3 2020, 11:33 AM

Feb 2 2020

tsoome accepted D23466: sysutils/uefi-edk2-qemu: update to edk2-stable201911.
Feb 2 2020, 7:17 AM

Jan 31 2020

tsoome updated the diff for D23433: loader: rewrite zfs reader zap code to use malloc.

replace if chain by switch. Print out entire zap_block_type.

Jan 31 2020, 4:12 PM

Jan 30 2020

tsoome created D23433: loader: rewrite zfs reader zap code to use malloc.
Jan 30 2020, 8:33 PM