Page MenuHomeFreeBSD

tsoome (Toomas Soome)
User

Projects

User Details

User Since
Dec 11 2015, 11:12 PM (511 w, 1 d)

Recent Activity

Fri, Sep 12

tsoome added a comment to D52494: loader: simplify efi_cons_poll().
In D52494#1198878, @imp wrote:

So does this work with our arm64 boards that use a u-boot provied EFI image? The comment are for this case, though we really only care about the last u-boot or two, not ancient history.
And will this eat CPU? We've had issues in the past where the boot loader would end up in a tight loop. What assurances are that that this won't happen?

Fri, Sep 12, 7:00 AM

Thu, Sep 11

tsoome requested review of D52494: loader: simplify efi_cons_poll().
Thu, Sep 11, 8:24 PM
tsoome updated the diff for D52485: loader.efi: efi_exit should return more data.

preallocate buffer space for exit message.
factor out framebuffer cleanup.
we do not really return from efi_main.

Thu, Sep 11, 7:53 PM
tsoome committed rGed19c4ff846e: loader.efi: improve StartImage error message (authored by tsoome).
loader.efi: improve StartImage error message
Thu, Sep 11, 3:50 PM
tsoome requested review of D52485: loader.efi: efi_exit should return more data.
Thu, Sep 11, 7:04 AM
tsoome requested review of D52484: loader.efi: improve StartImage error message.
Thu, Sep 11, 7:04 AM
tsoome requested review of D52483: loader: gop set with current mode should be nop.
Thu, Sep 11, 6:42 AM

Wed, Sep 10

tsoome requested review of D52477: loader.efi: "gop blt" should print the blt status.
Wed, Sep 10, 6:22 PM

Tue, Sep 9

tsoome accepted D52432: loader/efi: return error from efi_find_framebuffer.

thanks!

Tue, Sep 9, 2:09 PM
tsoome accepted D52431: loader/efi: build with -Wall.

TBH, I would like to see whole loader being built with -Wall (and -Wextra;)

Tue, Sep 9, 6:50 AM
tsoome accepted D52432: loader/efi: return error from efi_find_framebuffer.

If you do not mind to do extra work, the function is supposed to return 0 or error code, could you replace the return(1) lines above with return (efi_status_to_errno(status)) or like:)

Tue, Sep 9, 6:49 AM
tsoome accepted D52434: loader/efi: remove is_last parameter from find_currdev.
Tue, Sep 9, 6:44 AM
tsoome accepted D52433: loader/efi: plug memory leak.

Good catch:)

Tue, Sep 9, 6:41 AM

Fri, Sep 5

tsoome added a comment to D52402: stand: Remove Spleen 32x64 fonts from INDEX.

The problem is, we do not really know exact blast zone. While preparing the possible work around, the font file is still there and can be scripted to be used with loadfont command.

Fri, Sep 5, 9:05 PM
tsoome accepted D52402: stand: Remove Spleen 32x64 fonts from INDEX.

Thanks.

Fri, Sep 5, 8:14 PM
tsoome added a comment to D52402: stand: Remove Spleen 32x64 fonts from INDEX.

one option is to leave font file in place but remove from INDEX. This way it is still possible to load it manually for those who want to use it, but it will not picked automatically.

Fri, Sep 5, 7:46 PM

Aug 18 2025

tsoome accepted D51910: libsa/zfs: ignore labels with zero txg.

thanks!

Aug 18 2025, 4:04 PM
tsoome accepted D51909: libsa/zfs: remove unused variable.

I think, it was used there just to verify the fact.

Aug 18 2025, 3:54 PM

Aug 15 2025

tsoome committed rG6e25c4321cd5: makefs: zfs uberblock location is calculated wrong (authored by tsoome).
makefs: zfs uberblock location is calculated wrong
Aug 15 2025, 12:12 PM
tsoome closed D51860: makefs: zfs uberblock location is calculated wrong.
Aug 15 2025, 12:12 PM
tsoome updated the diff for D51860: makefs: zfs uberblock location is calculated wrong.

use ASHIFT_UBERBLOCK_SIZE().

Aug 15 2025, 7:36 AM

Aug 11 2025

tsoome added a reviewer for D51860: makefs: zfs uberblock location is calculated wrong: markj.
Aug 11 2025, 1:44 PM
tsoome requested review of D51860: makefs: zfs uberblock location is calculated wrong.
Aug 11 2025, 1:43 PM

Aug 10 2025

tsoome added a comment to D7600: The experiment to consolidate some crypto functions, shared between zfs/geli..
In D7600#1184549, @imp wrote:

Not sure this is a good idea, not sure it isn't. Tagging for review by srcmgr unless original author thinks it should be abandoned.

Aug 10 2025, 7:58 AM · srcmgr

Aug 8 2025

tsoome committed rGd439a1551226: libsa: ip fragment reassembly is buggy (authored by tsoome).
libsa: ip fragment reassembly is buggy
Aug 8 2025, 7:14 AM
tsoome closed D51690: libsa: ip fragment reassembly is buggy.
Aug 8 2025, 7:14 AM

Aug 5 2025

tsoome updated the diff for D51690: libsa: ip fragment reassembly is buggy.

use DEBUG_PRINTF.

Aug 5 2025, 9:40 AM

Aug 2 2025

tsoome updated the diff for D51690: libsa: ip fragment reassembly is buggy.

few leftovers.

Aug 2 2025, 3:57 PM

Aug 1 2025

tsoome added a comment to D51690: libsa: ip fragment reassembly is buggy.

The testing (before and after patch) is posted on https://www.illumos.org/issues/15577

Aug 1 2025, 9:31 PM
tsoome requested review of D51690: libsa: ip fragment reassembly is buggy.
Aug 1 2025, 9:20 PM

Jul 31 2025

tsoome committed rG733da235aa6a: libsa: errors with pointer conversion (authored by tsoome).
libsa: errors with pointer conversion
Jul 31 2025, 10:05 PM
tsoome closed D51662: libsa: errors with pointer conversion.
Jul 31 2025, 10:05 PM
tsoome requested review of D51662: libsa: errors with pointer conversion.
Jul 31 2025, 9:55 PM

Jul 29 2025

tsoome closed D51593: makefs: zfs dataset mountpoints are considered non-empty.
Jul 29 2025, 9:02 PM
tsoome committed rG507f8523f5f6: makefs: zfs dataset mountpoints are considered non-empty (authored by tsoome).
makefs: zfs dataset mountpoints are considered non-empty
Jul 29 2025, 9:02 PM
tsoome committed rGda1255560f36: makefs: clean up warnings (authored by tsoome).
makefs: clean up warnings
Jul 29 2025, 9:00 PM
tsoome closed D51592: makefs: clean up warnings.
Jul 29 2025, 9:00 PM

Jul 28 2025

tsoome added inline comments to D51592: makefs: clean up warnings.
Jul 28 2025, 6:59 PM
tsoome updated the diff for D51592: makefs: clean up warnings.

style fixes per review.

Jul 28 2025, 6:59 PM
tsoome added inline comments to D51592: makefs: clean up warnings.
Jul 28 2025, 5:40 PM
tsoome added a comment to D51593: makefs: zfs dataset mountpoints are considered non-empty.

Could you please describe the problematic scenario? I'd like to add a regression test for it.

Jul 28 2025, 5:16 PM
tsoome retitled D51593: makefs: zfs dataset mountpoints are considered non-empty from makefs: zfs dataset mountpoints are considered not empty to makefs: zfs dataset mountpoints are considered non-empty.
Jul 28 2025, 12:55 PM
tsoome added a reviewer for D51592: makefs: clean up warnings: markj.
Jul 28 2025, 12:39 PM
tsoome added a reviewer for D51593: makefs: zfs dataset mountpoints are considered non-empty: markj.
Jul 28 2025, 12:39 PM
tsoome requested review of D51593: makefs: zfs dataset mountpoints are considered non-empty.
Jul 28 2025, 12:23 PM
tsoome requested review of D51592: makefs: clean up warnings.
Jul 28 2025, 12:23 PM

Jul 9 2025

tsoome accepted D51219: libsa/zfs: prefer a vdev with newer txg to a stale one.

Thanks!

Jul 9 2025, 7:08 AM

Jun 16 2025

tsoome accepted D50875: loader: Fix loader_brand = none.
Jun 16 2025, 3:41 PM

Jun 12 2025

tsoome accepted D50801: stand: lua: convert orb to a new format that allows per-graphic shift.
Jun 12 2025, 8:44 AM

Jun 6 2025

tsoome added inline comments to D50708: MK_FORTH: Allow removing loader.4th w/ delete-old.
Jun 6 2025, 4:57 PM

May 30 2025

tsoome accepted D50589: kboot: Create quit command.
May 30 2025, 6:50 AM
tsoome accepted D50588: style: Use static consistently.
May 30 2025, 6:49 AM
tsoome accepted D50586: stand: Style nit.
May 30 2025, 6:48 AM
tsoome accepted D50585: stand: Introduce md_align.
May 30 2025, 6:47 AM

May 29 2025

tsoome accepted D50584: stand/efi: Use EFI_PAGE_SIZE here, it's more appropriate.
May 29 2025, 9:16 PM
tsoome added inline comments to D50590: stand: Add mod_align_size variable.
May 29 2025, 8:47 AM

May 28 2025

tsoome accepted D50589: kboot: Create quit command.
May 28 2025, 10:25 PM
tsoome added inline comments to D50590: stand: Add mod_align_size variable.
May 28 2025, 9:55 PM
tsoome accepted D50584: stand/efi: Use EFI_PAGE_SIZE here, it's more appropriate.
May 28 2025, 9:53 PM

May 13 2025

tsoome committed rG3bcf8e6db8e9: loader: loader can pick too large font (check if one side is larger) (authored by tsoome).
loader: loader can pick too large font (check if one side is larger)
May 13 2025, 7:47 AM
tsoome added inline comments to D50258: loader: loader can pick too large font.
May 13 2025, 7:22 AM

May 11 2025

tsoome committed rG5e25f7b09977: loader: loader can pick too large font (authored by tsoome).
loader: loader can pick too large font
May 11 2025, 11:10 PM
tsoome closed D50258: loader: loader can pick too large font.
May 11 2025, 11:09 PM
tsoome added a comment to D50258: loader: loader can pick too large font.

This looks fine to me. Did you try it locally?

May 11 2025, 11:06 PM

May 9 2025

tsoome added a comment to D50258: loader: loader can pick too large font.

What happen if the reported size is plainly wrong ?
Like on my system, at the loader phase my screen is 800x600, and after the kms driver is loaded it goes to higher dimension: 1080p, 1440p.
Does the smallest font will work in this case ? Or there will be no font selected ?

May 9 2025, 4:54 AM

May 8 2025

tsoome added a comment to D50258: loader: loader can pick too large font.

Need to get confirmation from hw owners tho.

May 8 2025, 6:43 PM
tsoome requested review of D50258: loader: loader can pick too large font.
May 8 2025, 6:35 PM

May 6 2025

tsoome accepted D49768: stand: Enable Spleen 32x64 font in the bootloader.
May 6 2025, 6:09 AM

May 1 2025

tsoome requested review of D50098: loader.efi: add error printouts for chain command.
May 1 2025, 7:37 AM

Apr 29 2025

tsoome accepted D50057: efi: Move to using efi_guid_t in ioctl definitions.
Apr 29 2025, 8:03 AM
tsoome accepted D50058: libefivar: Move to new ioctl struct.
Apr 29 2025, 8:02 AM
tsoome accepted D50060: efivar: Use struct guid_table instead of uuid_table.
Apr 29 2025, 8:01 AM
tsoome accepted D50059: efivar: Use bool instead of int.
Apr 29 2025, 8:00 AM

Apr 28 2025

tsoome accepted D50036: efitable: Don't assume EFI GUID are uuid_t.
Apr 28 2025, 8:41 AM
tsoome accepted D50035: efivar: Allow uuid_t and efi_guid_t to be different types..
Apr 28 2025, 8:40 AM

Mar 3 2025

tsoome committed rGe7c0cb720898: loader: dosfs should be able to work with different sector sizes (authored by tsoome).
loader: dosfs should be able to work with different sector sizes
Mar 3 2025, 9:55 PM
tsoome closed D49078: loader: dosfs should be able to work with different sector sizes.
Mar 3 2025, 9:55 PM
tsoome committed rGccf7b62bd88c: loader: allow fs modules to use ioctl() (authored by tsoome).
loader: allow fs modules to use ioctl()
Mar 3 2025, 9:54 PM
tsoome closed D49077: loader: allow fs modules to use ioctl().
Mar 3 2025, 9:54 PM

Feb 25 2025

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.

Feb 25 2025, 12:33 PM

Feb 22 2025

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.

Feb 22 2025, 9:52 PM

Feb 21 2025

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

Feb 21 2025, 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?

Feb 21 2025, 8:19 AM

Feb 20 2025

tsoome committed rG21b5b8b38b1c: loader.efi: add "gop blt <on|off>" command (authored by tsoome).
loader.efi: add "gop blt <on|off>" command
Feb 20 2025, 7:52 PM
tsoome closed D49073: loader.efi: add "gop blt <on|off>" command.
Feb 20 2025, 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?

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

thanks!

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

fix typo

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