Page MenuHomeFreeBSD

tsoome (Toomas Soome)
User

Projects

User Details

User Since
Dec 11 2015, 11:12 PM (481 w, 7 h)

Recent Activity

Tue, Feb 25

tsoome added a comment to D49077: loader: allow fs modules to use ioctl().
In D49077#1120387, @imp wrote:

I thought that we checked for raw because we couldn't guarantee that all other implementations had the right pre-req to allow this safely.
I remember getting burned by something similar because we weren't completely consistent... Maybe f->f_dev isn't always set? It's been a while.

Tue, Feb 25, 12:33 PM

Sat, Feb 22

tsoome added a comment to D49073: loader.efi: add "gop blt <on|off>" command.

I tried gop blt off on my old laptop and it worked there. Surprisingly, gop blt off case is significantly *slower* than gop blt on case.

Sat, Feb 22, 9:52 PM

Fri, Feb 21

tsoome added a comment to D49073: loader.efi: add "gop blt <on|off>" command.

I'm having this same problem with the GOP Blt rendering the framebuffer at my monitor's 4K resolution. It makes rendering to the next part of the loader crawl very slowly against my screen at a row-by-row basis.

I took a video recording and uploaded on Streamable to show as an example (skip to 26s to see it finally process the "2nd" row):

https://streamable.com/nj4mkb

At that speed, I feel it'll likely take 2 hours or more to get to the full rendering of the menu before I can hit enter to load the kernel.

I should note that not all graphics cards I've used on my system have this problem. Since I recently started using an RX 7800 XT GPU, it was the one that ramped up the Blt to 4K where as other GPUs would use 1080p even when they render 4K in X11/Wayland.

What I do to work around this problem is by using rEFInd as an intermediary and config it to lower the Blt resolution before transitioning to the loader. This dramatically speeds up the rendering to the menu which allows me to boot and finally use this graphics card for this system as shown in the following:

https://streamable.com/jlm7ig

I've also tested gop blt off and it doesn't solve my problem without rEFInd. And after using rEFInd and it just doesn't render the menu after a bit of time and goes right to showing the kernel being loaded, as shown here:

https://streamable.com/esgqn3

Fri, Feb 21, 11:00 PM
tsoome added a comment to D49073: loader.efi: add "gop blt <on|off>" command.

Unfortunately, I do not see anything on screen if I do gop blt off. *Blindly* typing gop blt on makes it start printing characters again. Maybe pixel color is wrong, e.g., background color == foreground color?

Fri, Feb 21, 8:19 AM

Thu, Feb 20

tsoome committed rG21b5b8b38b1c: loader.efi: add "gop blt <on|off>" command (authored by tsoome).
loader.efi: add "gop blt <on|off>" command
Thu, Feb 20, 7:52 PM
tsoome closed D49073: loader.efi: add "gop blt <on|off>" command.
Thu, Feb 20, 7:52 PM
tsoome added a comment to D49073: loader.efi: add "gop blt <on|off>" command.
In D49073#1119151, @imp wrote:

it's ok I guess, but seems like yet another hack. Is there some way we can know if blt is slow?

Thu, Feb 20, 7:25 PM
tsoome added a comment to D49073: loader.efi: add "gop blt <on|off>" command.

thanks!

Thu, Feb 20, 6:20 PM
tsoome updated the diff for D49073: loader.efi: add "gop blt <on|off>" command.

fix typo

Thu, Feb 20, 6:19 PM
tsoome requested review of D49078: loader: dosfs should be able to work with different sector sizes.
Thu, Feb 20, 3:31 PM
tsoome requested review of D49077: loader: allow fs modules to use ioctl().
Thu, Feb 20, 3:31 PM
tsoome requested review of D49073: loader.efi: add "gop blt <on|off>" command.
Thu, Feb 20, 8:28 AM

Jan 7 2025

tsoome accepted D48354: loader: Rework kernel menu section.
Jan 7 2025, 10:11 AM
tsoome accepted D48353: loader: Fix orb position.
Jan 7 2025, 10:11 AM

Oct 25 2024

tsoome accepted D47281: Fix gcc uninitialized warning in FreeBSD zio_crypt.c.

This change should really posted to OpenZFS too.

Oct 25 2024, 1:22 PM

Oct 10 2024

tsoome committed rGc66f901b8e41: loader: dosfs fails to access directory data with large cluster number (authored by tsoome).
loader: dosfs fails to access directory data with large cluster number
Oct 10 2024, 12:55 PM
tsoome committed rGf37dc94abcae: loader: dosfs fails to access directory data with large cluster number (authored by tsoome).
loader: dosfs fails to access directory data with large cluster number
Oct 10 2024, 12:54 PM
tsoome committed rGfae4b97c1a6b: loader: reading from large dosfs fails (authored by tsoome).
loader: reading from large dosfs fails
Oct 10 2024, 8:41 AM

Oct 3 2024

tsoome committed rG79a0d14fa05c: loader: dosfs fails to access directory data with large cluster number (authored by tsoome).
loader: dosfs fails to access directory data with large cluster number
Oct 3 2024, 1:53 PM

Aug 12 2024

tsoome accepted D46274: dtraceall: Make dtaudit a dependency.

Thanks!

Aug 12 2024, 8:54 PM

Jul 10 2024

tsoome accepted D45929: vt: Add vd_bitblt_argb.
Jul 10 2024, 5:51 AM

Jul 9 2024

tsoome added inline comments to D45935: splash(4): Document how to use splash screen with vt(4).
Jul 9 2024, 5:27 PM
tsoome accepted D45933: stand: Fix logo alpha.
Jul 9 2024, 1:02 PM
tsoome accepted D45929: vt: Add vd_bitblt_argb.
Jul 9 2024, 1:01 PM
tsoome accepted D45930: linker: Add MODINFOMD_SPLASH type.
Jul 9 2024, 12:58 PM
tsoome accepted D45931: vt: splash: Use splash screen passed from loader.
Jul 9 2024, 12:57 PM
tsoome accepted D45932: loader: Load a splash screen if "splash" variable is defined.
Jul 9 2024, 12:56 PM

Jun 25 2024

tsoome accepted D45731: stand: module: unlink the entire tail when dependencies fail to load.
Jun 25 2024, 5:04 PM

May 1 2024

tsoome committed rG0fe60dc65572: fattime: fix fattime to timespec conversion of dates beyond 2106-02-06 (authored by jeffpc_josefsipek.net).
fattime: fix fattime to timespec conversion of dates beyond 2106-02-06
May 1 2024, 7:54 AM
tsoome committed rG9d1396c34611: fattime: make the test code check beyond 32-bit time_t limits (authored by jeffpc_josefsipek.net).
fattime: make the test code check beyond 32-bit time_t limits
May 1 2024, 7:54 AM
tsoome committed rG7b8b613d08d0: fattime: make the test code build again (authored by jeffpc_josefsipek.net).
fattime: make the test code build again
May 1 2024, 7:54 AM
tsoome closed D44755: fattime: fix fattime to timespec conversion of dates beyond 2106-02-06.
May 1 2024, 7:53 AM
tsoome closed D44754: fattime: make the test code check beyond 32-bit time_t limits.
May 1 2024, 7:53 AM
tsoome closed D44753: fattime: make the test code build again.
May 1 2024, 7:53 AM

Apr 11 2024

tsoome committed rGb724c8292df5: ds1307: use the correct Microchip part number in enum and device description (authored by jeffpc_josefsipek.net).
ds1307: use the correct Microchip part number in enum and device description
Apr 11 2024, 6:43 PM
tsoome closed D44436: ds1307: use the correct Microchip part number in enum and device description.
Apr 11 2024, 6:43 PM
tsoome accepted D44436: ds1307: use the correct Microchip part number in enum and device description.
Apr 11 2024, 6:11 PM

Mar 11 2024

tsoome committed rG0148ccb95a8d: loader: we can only env_discard() existing variable (authored by tsoome).
loader: we can only env_discard() existing variable
Mar 11 2024, 2:14 PM

Feb 26 2024

tsoome committed rG1b3f4ccb7dd8: loader: we can only env_discard() existing variable (authored by tsoome).
loader: we can only env_discard() existing variable
Feb 26 2024, 12:59 PM
tsoome closed D44083: loader: we can only env_discard() existing variable.
Feb 26 2024, 12:59 PM

Feb 25 2024

tsoome requested review of D44083: loader: we can only env_discard() existing variable.
Feb 25 2024, 10:41 PM

Feb 24 2024

tsoome accepted D44057: kboot: Centralize ldscript addition.
Feb 24 2024, 8:59 PM
tsoome accepted D44058: loader/powerpc: Share ldscript.
Feb 24 2024, 8:59 PM
tsoome accepted D44059: loader/uboot: Move to foo.ldconfig.
Feb 24 2024, 8:58 PM
tsoome accepted D44060: loader/kboot: simplify linker set inclusion a little.
Feb 24 2024, 8:58 PM
tsoome accepted D44056: loader: Move ldscripts to match more standard practices.
Feb 24 2024, 8:56 PM
tsoome accepted D44061: loader/efi: Linker sets not needed..
Feb 24 2024, 6:52 PM
tsoome accepted D44062: loader/efi: Use unique linker set for lua.
Feb 24 2024, 6:51 PM
tsoome accepted D44063: loader/ficl: Rename the ficl compile set to X4th_compile_set.
Feb 24 2024, 6:51 PM
tsoome accepted D44064: loader/efi: Only include interpreter's linker script.
Feb 24 2024, 6:50 PM

Feb 21 2024

tsoome accepted D44008: loader/efi: Make gcc friendlier by move md_dev.
Feb 21 2024, 7:29 AM
tsoome accepted D44006: loader: Retire CTASSERT.
Feb 21 2024, 7:27 AM

Feb 15 2024

tsoome added a comment to D43914: loader: Simplify build a little.
In D43914#1001826, @imp wrote:

alloca or local variable does allocate from stack (which may be in collision with bss), the opther option there to get low memory allocation is to use bio_alloc() and bio_free().

Pnp nodes are like 32 bytes... and must be in the lower MB.

Feb 15 2024, 2:30 PM
tsoome accepted D43914: loader: Simplify build a little.

alloca or local variable does allocate from stack (which may be in collision with bss), the opther option there to get low memory allocation is to use bio_alloc() and bio_free().

Feb 15 2024, 8:21 AM

Feb 9 2024

tsoome accepted D43701: loader: Document the lua loader table..
Feb 9 2024, 9:37 PM

Feb 3 2024

tsoome accepted D43714: loader: For EFI, if we don't have ConOut, try ConIn.
Feb 3 2024, 6:28 AM

Jan 20 2024

tsoome accepted D43522: firmware: Allow binary files to be loaded by /boot/loader.
Jan 20 2024, 7:07 AM

Nov 25 2023

tsoome added inline comments to D42774: pmbr: Only load the first 545k rather than error out.
Nov 25 2023, 7:07 PM
tsoome accepted D42774: pmbr: Only load the first 545k rather than error out.
Nov 25 2023, 6:59 PM

Jun 2 2023

tsoome added a comment to D40389: stand/boot1.efi: use the bootonce dataset as root dataset.

The trick question there is, the bootonce property is supposed to have generic boot descriptor, it does not have to be just zfs dataset name.... of course, if you have pools, then most likely you only do use zfs datasets.

Jun 2 2023, 11:47 AM
tsoome accepted D40388: stand/loader.efi: read zfs bootonce attribute before checking currdev.
Jun 2 2023, 11:42 AM

Jun 1 2023

tsoome requested review of D40375: loader: BIOS loader should not build framebuffer support by default.
Jun 1 2023, 11:47 AM

May 23 2023

tsoome accepted D40220: stand/efi/eficom: better handling of absent device.
May 23 2023, 7:40 AM
tsoome accepted D40219: stand/efi/smbios: Move detection of smbios earlier..

hm, do we actually need this preprocessor #if statement?

May 23 2023, 7:36 AM

May 13 2023

tsoome committed rGf2b3bf5c4d4a: libefi: add efi_devpath_next_instance() (authored by tsoome).
libefi: add efi_devpath_next_instance()
May 13 2023, 12:21 PM
tsoome closed D40081: libefi: add efi_devpath_next_instance().
May 13 2023, 12:21 PM

May 12 2023

tsoome requested review of D40081: libefi: add efi_devpath_next_instance().
May 12 2023, 4:47 PM

May 9 2023

tsoome accepted D40017: md5: Fix input error check..
May 9 2023, 10:34 AM
tsoome accepted D40009: stand: eficom: Don't preemtively assume flow control.
May 9 2023, 9:04 AM
tsoome accepted D40008: stand: eficom : remove unused ignore_cd.
May 9 2023, 9:03 AM
tsoome added inline comments to D40017: md5: Fix input error check..
May 9 2023, 8:29 AM

May 8 2023

tsoome accepted D40007: stand: Move eficom to libefi.
May 8 2023, 8:52 PM
tsoome added a comment to D40011: efi: mark as broken on i386.

Yeah. In the past I would have argued that we should work on support it (back when Intel had viable contemporary 32-bit hw and a 32-bit Tianocore to go with it) but at this point i386's future overall is not clear and we're not going to put effort into this.

May 8 2023, 8:45 PM
tsoome accepted D40011: efi: mark as broken on i386.
May 8 2023, 8:35 PM
tsoome accepted D40012: stand/efi: Retire i386 support.
May 8 2023, 8:34 PM

Apr 26 2023

tsoome committed rG795497bf3d2c: pxeboot: bugs in pxe.h (authored by tsoome).
pxeboot: bugs in pxe.h
Apr 26 2023, 1:34 PM
tsoome closed D39799: pxeboot: bugs in pxe.h.
Apr 26 2023, 1:34 PM

Apr 25 2023

tsoome added a comment to D39799: pxeboot: bugs in pxe.h.
In D39799#906388, @imp wrote:

so how was all this working before?
or is SEGDESC_t not all that important?

Apr 25 2023, 10:43 PM
tsoome requested review of D39799: pxeboot: bugs in pxe.h.
Apr 25 2023, 12:13 PM

Apr 12 2023

tsoome accepted D39412: stand/boot1.efi: Implement bootonce for ZFS.
Apr 12 2023, 6:22 AM
tsoome accepted D39411: stand/zfs: Refactor zfs_get_bootonce.
Apr 12 2023, 6:21 AM
tsoome accepted D39410: stand/zfs: Refactor zfs_set_bootenv.
Apr 12 2023, 6:21 AM
tsoome accepted D39409: stand/zfs: Refactor zfs_get_bootenv.
Apr 12 2023, 6:20 AM
tsoome accepted D39407: stand/boot1.efi: Allow modules to add env variables.
Apr 12 2023, 6:18 AM
tsoome accepted D39408: stand/zfs: Move spa_find_by_dev from zfsimpl.c to zfs.c.
Apr 12 2023, 6:17 AM
tsoome accepted D39414: stand/userboot: Simplify code.
Apr 12 2023, 6:16 AM
tsoome accepted D39415: stand/efi: Simplify code here.
Apr 12 2023, 6:15 AM
tsoome accepted D39416: stand/kboot: Simplify.
Apr 12 2023, 6:13 AM

Mar 30 2023

tsoome added a comment to D39323: vt: avoid using a spinlock.
In D39323#895597, @manu wrote:

I think doing a functional function trace is mandatory before this commit, seeing what code is calling into what code, and what locks are in use.

If you need help ask, @zlei .

What @gbe reports clearly shows we can do better than just pushing changes and waiting for others to fix them.

--HPS

Nobody here said anything about "waiting for others to fix them". I hope that you understand that we cannot test every configuration possible.
And, sure, since now we have a report that it doesn't work on hyper-v nothing will be commited before the problem is understood and fixed.

Mar 30 2023, 11:33 AM

Mar 29 2023

tsoome accepted D39323: vt: avoid using a spinlock.
Mar 29 2023, 3:20 PM

Mar 8 2023

tsoome accepted D38977: Random failure to read dos file in bootloader.
Mar 8 2023, 10:32 AM

Feb 21 2023

tsoome accepted D38600: loader: Add support for booting from a ZFS snapshot.
Feb 21 2023, 10:39 PM

Feb 10 2023

tsoome committed rG4b2322bba19d: efiserialio: use port settings (sio->Mode) for initial setup (authored by tsoome).
efiserialio: use port settings (sio->Mode) for initial setup
Feb 10 2023, 7:39 AM

Feb 3 2023

tsoome accepted D38254: kboot: bi_loadsmap for amd64.
Feb 3 2023, 12:58 PM
tsoome committed rGa1f8a0c793c6: efiserialio: use port settings (sio->Mode) for initial setup (authored by tsoome).
efiserialio: use port settings (sio->Mode) for initial setup
Feb 3 2023, 10:02 AM
tsoome accepted D38252: kboot: Define bi_loadsmap for loading memory maps.
Feb 3 2023, 9:30 AM
tsoome accepted D38251: kboot: Call enumerate_memory_arch().
Feb 3 2023, 9:29 AM
tsoome added inline comments to D38248: kboot: Add powerpc stub for enumerate_memory_arch().
Feb 3 2023, 9:28 AM
tsoome accepted D38317: test: Add fstab to all ufs images.
Feb 3 2023, 9:26 AM

Feb 2 2023

tsoome accepted D38259: kboot: Improve amd64 booting.
Feb 2 2023, 10:49 PM