Page MenuHomeFreeBSD
Feed Advanced Search

Aug 20 2018

imp created D16816: Remove a bunch of special cases for UEFI and serial consoles. We do want to do curses and menu things here..
Aug 20 2018, 4:20 PM

Aug 19 2018

imp committed rS338064: Turn back the clock just a little: make userboot.so always be 4th.
Turn back the clock just a little: make userboot.so always be 4th
Aug 19 2018, 6:18 PM
imp updated the summary of D16805: Turn back the clock just a little: make userboot.so always be 4th.
Aug 19 2018, 6:06 PM
imp created D16805: Turn back the clock just a little: make userboot.so always be 4th.
Aug 19 2018, 6:05 PM
imp committed rS338043: Document LOADER_DEFAULT_INTERP..
Document LOADER_DEFAULT_INTERP.
Aug 19 2018, 10:15 AM
imp updated the diff for D16735: Create devctl freeze/thaw..

blacklist
don't reload unloaded drivers, part 2

Aug 19 2018, 9:53 AM
imp added inline comments to D11174: loader: biosdisk interface should be able to cope with 4k sectors.
Aug 19 2018, 8:49 AM

Aug 18 2018

imp added a comment to D16795: stand: Flip the default interpreter to Lua.

Suggested UPDATING entry:

Aug 18 2018, 11:30 PM
imp accepted D16775: Make 'device crypto' lines more consistent..

Generally, I like what's presented here. There's much we need to cleanup, I think, but this is a good start.

Aug 18 2018, 6:14 PM
imp added a comment to D16775: Make 'device crypto' lines more consistent..
In D16775#357085, @jhb wrote:

As far as std.arm*: I don't know why it only has options. It seems to me that 'std.*' files should be fine to have devices as well. Note that 'std.MALTA' in sys/conf/mips has both devices and options. I think moving "standard" devices into std.arm* to reduce duplication in kernel configurations for things that are a truly "standard" thing (which pseudo-devices probably are) would probably be a good thing, but that probably needs to be run by Warner.

Aug 18 2018, 6:13 PM
imp added inline comments to D16781: Move all devd related configs to sbin/devd/.
Aug 18 2018, 2:07 PM
imp added inline comments to D16735: Create devctl freeze/thaw..
Aug 18 2018, 2:00 PM
imp added a comment to D16404: nvme: Alternate approach to restoring API.

This looks ready to land. We need to get it in in the next week.

Aug 18 2018, 1:58 PM
imp updated the diff for D16735: Create devctl freeze/thaw..
  • fold devctl prog
    • Stupid debug
    • Allow NULL to be passed into the device name to send the message
Aug 18 2018, 12:44 AM

Aug 17 2018

imp committed rS337989: Copy the boot loader from the new location for the co-existing.
Copy the boot loader from the new location for the co-existing
Aug 17 2018, 8:42 PM
imp retitled D16735: Create devctl freeze/thaw. from Create the userland side of devctl freeze/thaw. to Create devctl freeze/thaw..
Aug 17 2018, 6:35 PM
imp updated the diff for D16735: Create devctl freeze/thaw..
  • Improve devmatch driver loading
  • Remove sorting of matches and print all the matches as we find them.
  • First cut: Untested kernel bits
Aug 17 2018, 6:34 PM
imp committed rS337967: GPT is standard in x86 and arm64 land. Add it to DEFAULTS with the.
GPT is standard in x86 and arm64 land. Add it to DEFAULTS with the
Aug 17 2018, 2:47 PM
imp closed D16740: GPT is standard in x86 and arm64 land. Add it to DEFAULTS with the others..
Aug 17 2018, 2:47 PM
imp added a comment to D16769: Remove AppleTalk protocols from services(5).

Why? Some words of justification are needed since it's not obvious to me why this is a good idea...

Aug 17 2018, 2:41 PM
imp accepted D16758: Make smsc(4) turbo_mode configuration.

seems reasonable to me. Haven't looked at the man page though.

Aug 17 2018, 1:43 PM
imp accepted D16753: Simplify the EFI delay() function by calling BS->Stall()..
Aug 17 2018, 2:42 AM
imp requested changes to D16753: Simplify the EFI delay() function by calling BS->Stall()..
Aug 17 2018, 2:30 AM
imp added a comment to D16479: build: respect user locale for time.

Why? It's been like this for 20 years...

Aug 17 2018, 2:24 AM

Aug 16 2018

imp accepted D16151: Add CSV output to gstat via -C flag.

Generally, I like it. I've wanted a feature like this. I haven't looked at every single detail and just commented on what in a quick pass stood out.

Aug 16 2018, 11:00 PM
imp committed rS337931: Specify DB_FROM_SRC=yes when doing any installation target..
Specify DB_FROM_SRC=yes when doing any installation target.
Aug 16 2018, 10:14 PM
imp accepted D16432: Use ACPI to probe serial devices & workaround limitations in acpi support.

Modulo the https://reviews.freebsd.org/P209 I suggested, and maybe a stray include of isavar.h, I think this is good to go.

Aug 16 2018, 8:06 PM
imp created P209 uart acpi.
Aug 16 2018, 8:02 PM
imp committed rS337927: Add ashldi3 and ashrdi3 to mips..
Add ashldi3 and ashrdi3 to mips.
Aug 16 2018, 7:39 PM
imp added a comment to D16740: GPT is standard in x86 and arm64 land. Add it to DEFAULTS with the others..
In D16740#356185, @jmg wrote:

Should powerpc64 be added too?

(I'm not familiar w/ it, so don't know how heavily used GPT is there.)

Aug 16 2018, 7:16 PM
imp committed rS337914: Install links for loader.efi..
Install links for loader.efi.
Aug 16 2018, 4:30 PM
imp added a comment to D16745: Use MACHINE_CPUARCH/TARGET_CPUARCH in preference to MACHINE/TARGET and minor cleanup.

fixed and regened

Aug 16 2018, 3:37 PM
imp updated the diff for D16745: Use MACHINE_CPUARCH/TARGET_CPUARCH in preference to MACHINE/TARGET and minor cleanup.

fix typo and while I'm at it, adjust comment

Aug 16 2018, 3:36 PM
imp updated the test plan for D16745: Use MACHINE_CPUARCH/TARGET_CPUARCH in preference to MACHINE/TARGET and minor cleanup.
Aug 16 2018, 3:02 PM
imp created D16745: Use MACHINE_CPUARCH/TARGET_CPUARCH in preference to MACHINE/TARGET and minor cleanup.
Aug 16 2018, 3:01 PM
imp accepted D16404: nvme: Alternate approach to restoring API.

I like this. Make sure that smartmontools is updated too. It likely adapted to the crazy API that we had for a while...

Aug 16 2018, 2:30 PM
imp requested changes to D11174: loader: biosdisk interface should be able to cope with 4k sectors.
Aug 16 2018, 1:08 PM
imp updated the diff for D16740: GPT is standard in x86 and arm64 land. Add it to DEFAULTS with the others..

i386m too

Aug 16 2018, 1:36 AM
imp created D16740: GPT is standard in x86 and arm64 land. Add it to DEFAULTS with the others..
Aug 16 2018, 1:32 AM

Aug 15 2018

imp added a reviewer for D16735: Create devctl freeze/thaw.: jhb.
Aug 15 2018, 10:15 PM
imp created D16735: Create devctl freeze/thaw..
Aug 15 2018, 10:14 PM
imp committed rS337868: stand: Use -Oz/-Os for all loader/stand builds..
stand: Use -Oz/-Os for all loader/stand builds.
Aug 15 2018, 8:31 PM
imp closed D16724: Use -Oz/-Os for all loader/stand builds..
Aug 15 2018, 8:31 PM
imp accepted D16696: Add efidev(4)/efirt(9).
Aug 15 2018, 8:10 PM
imp added inline comments to D16730: Committers Guide: Add a section encouraging pre-commit review..
Aug 15 2018, 7:49 PM
imp accepted D16730: Committers Guide: Add a section encouraging pre-commit review..

Looks good to me. Not sure if we want to encourage smaller patches where it makes sense, or if that's covered elsewhere.

Aug 15 2018, 6:56 PM
imp added reviewers for D16724: Use -Oz/-Os for all loader/stand builds.: sjg, kevans.
Aug 15 2018, 4:36 PM
imp retitled D16724: Use -Oz/-Os for all loader/stand builds. from Use -Os for all loader builds. to Use -Oz/-Os for all loader/stand builds..
Aug 15 2018, 4:33 PM
imp updated the diff for D16724: Use -Oz/-Os for all loader/stand builds..

-Oz is even better, but clang specific

Aug 15 2018, 4:23 PM
imp added a comment to D16719: Add pci_early function for Intel stolen memory (and possibly more).

This strikes me as two different changes. One for the phys_avail_reserve() and another to use it for the pci early stuff. I'm a little uneasy with the pci early name, but the code is clearly PCI specific.
Would there ever be a need to do things like this when running the 32-bit kernel? I know we don't support graphics cards there, but when we're bringing in new interfaces, it's a question that suggests itself.
RPi has this sort of thing too, but it's dealt with in the bowels of the FDT code...

Aug 15 2018, 4:09 PM
imp created D16724: Use -Oz/-Os for all loader/stand builds..
Aug 15 2018, 3:48 PM
imp committed rS337824: Flesh out a comment about what we're doing with read bias and trims..
Flesh out a comment about what we're doing with read bias and trims.
Aug 15 2018, 12:15 AM

Aug 14 2018

imp committed rS337822: arm/ralink cleanup.
arm/ralink cleanup
Aug 14 2018, 8:46 PM
imp closed D16622: arm/ralink cleanup and delete NON INTRNG code.
Aug 14 2018, 8:46 PM
imp committed rS337809: For our INT64 implementation, we can compare integers and numbers.
For our INT64 implementation, we can compare integers and numbers
Aug 14 2018, 6:45 PM
imp committed rS337808: When the LUA floating point model is INT64, we don't need to do the.
When the LUA floating point model is INT64, we don't need to do the
Aug 14 2018, 6:45 PM
imp committed rS337807: Prevent a wanring about checkdp being unused. It's not needed when we.
Prevent a wanring about checkdp being unused. It's not needed when we
Aug 14 2018, 6:45 PM
imp committed rS337806: Create a loader for each interpreter for x86 BIOS and all EFI.
Create a loader for each interpreter for x86 BIOS and all EFI
Aug 14 2018, 6:45 PM
imp closed D16705: Create a loader for each interpreter for x86 BIOS and all EFI.
Aug 14 2018, 6:44 PM
imp added a comment to D16703: contrib/lua: Hack around overflow issues.

I think that https://reviews.freebsd.org/P206 addresses the 'bogus' issues, as well as fixing some new whines that my mips build is showing.
Comments?

Aug 14 2018, 6:06 PM
imp created P206 Alternate fix.
Aug 14 2018, 6:05 PM
imp updated the diff for D16705: Create a loader for each interpreter for x86 BIOS and all EFI.

no, really fix pxeldr

Aug 14 2018, 4:32 PM
imp updated the diff for D16705: Create a loader for each interpreter for x86 BIOS and all EFI.

Fix pxeldr for rename

Aug 14 2018, 4:31 PM
imp updated the summary of D16705: Create a loader for each interpreter for x86 BIOS and all EFI.
Aug 14 2018, 4:28 PM
imp updated the diff for D16705: Create a loader for each interpreter for x86 BIOS and all EFI.

After reconsideration, go with Rod's suggestion...

Aug 14 2018, 4:27 PM
imp updated the diff for D16709: mergemaster: better defaults for SOURCEDIR.

wordsmith

Aug 14 2018, 3:33 PM
imp added inline comments to D16709: mergemaster: better defaults for SOURCEDIR.
Aug 14 2018, 3:32 PM
imp added a comment to D16705: Create a loader for each interpreter for x86 BIOS and all EFI.
In D16705#355071, @imp wrote:

Would there be an objection to using SUBDIR names of loader.4th, loader.lua and loader.simp so that they sort next to each other vs the current names that scattter them about the directory? This also means that loader.foo/Makefile simply includes ../loader/Makefile all nice and orderly :-)

I would object.

We can't install them as loader.lua, loader.4th loader.simp because then we'd have loader.lua.efi, loader.4th.efi etc. Also the .4th suffix is what we use for actual 4th code. So that leaves us with a prefix, even if it is a bit less orderly.

Ack, ok simple enough reasoning.

I thought about this some more and have another proposal, that IMHO address your issues and brings a good gain of order to this, my mistake was I used a . to express the separation, but if you use a _ then things are orderly loader_{,lua,4th,simp}{,.efi}. This matches much closer the variable names (MK_LOADER_FOO),
the source directories could be named similar, and the installed binaries match source directory names. It renames /boot/loader to /boot/loader_forth too, which IMHO is good now that there can be N flavors of it.

Aug 14 2018, 3:27 PM
imp created D16709: mergemaster: better defaults for SOURCEDIR.
Aug 14 2018, 2:38 PM
imp committed rS337750: Add good description of init and lock devices from sio to uart..
Add good description of init and lock devices from sio to uart.
Aug 14 2018, 1:52 PM
imp retitled D16705: Create a loader for each interpreter for x86 BIOS and all EFI from First cut at the coexistence patch to Create a loader for each interpreter for x86 BIOS and all EFI.
Aug 14 2018, 3:31 AM
imp updated the diff for D16705: Create a loader for each interpreter for x86 BIOS and all EFI.

Update for efi

Aug 14 2018, 3:30 AM
imp added inline comments to D16705: Create a loader for each interpreter for x86 BIOS and all EFI.
Aug 14 2018, 2:33 AM
imp retitled D16705: Create a loader for each interpreter for x86 BIOS and all EFI from First cut at the forth boot/lua boot coexistance patch. to First cut at the coexistence patch.
Aug 14 2018, 2:30 AM
imp added a comment to D16705: Create a loader for each interpreter for x86 BIOS and all EFI.

Would there be an objection to using SUBDIR names of loader.4th, loader.lua and loader.simp so that they sort next to each other vs the current names that scattter them about the directory? This also means that loader.foo/Makefile simply includes ../loader/Makefile all nice and orderly :-)

Aug 14 2018, 2:29 AM

Aug 13 2018

imp created D16705: Create a loader for each interpreter for x86 BIOS and all EFI.
Aug 13 2018, 11:54 PM
imp accepted D16682: Fix the 1200077 entry in the versions chapter of the Porter's Handbook.
Aug 13 2018, 9:32 PM · Doc Committers
imp committed rS337725: Port the mps panic-safe shutdown_final handling to mpr.
Port the mps panic-safe shutdown_final handling to mpr
Aug 13 2018, 7:59 PM
imp committed rS337723: Create xpt_sim_poll and refactor a bit using it..
Create xpt_sim_poll and refactor a bit using it.
Aug 13 2018, 7:59 PM
imp committed rS337724: Call xpt_sim_poll in shutdown_final handler..
Call xpt_sim_poll in shutdown_final handler.
Aug 13 2018, 7:59 PM
imp added inline comments to D16663: Create xpt_sim_poll, refactor and use it in mps / mpr..
Aug 13 2018, 7:55 PM
imp added a comment to D16663: Create xpt_sim_poll, refactor and use it in mps / mpr..

I think that this is going in the right direction. The SSU/shutdown code in mpr/mps is still not great, IMHO. There's a completion handler for the SSU CCB that could take care of decrementing the SSU_refcount, but instead every I/O is checked for the SSU state in the normal command completion path, and the refcount decrement happens there. The cost of checking every I/O for the uncommon shutdown case is probably in the noise right now, but if we ever want these drivers to do millions of IOPS, it'll need to be addressed. Also, error recovery is going to be highly problematic. Protocol-level recovery is non-existent because the completion handler doesn't call cam_periph_error(), but transport-level error recovery (for things like timeouts) will likely still be called from the driver. Do we want error recovery to be triggered during a system shutdown, possibly triggering extra delays? If an error does happen, does ignoring it make the device problematic the next time the system starts up? If we want the driver to ignore transport level error recovery, how should that be flagged?

Aug 13 2018, 7:48 PM
imp accepted D16700: Add SECURITY section to loader(8).

Looks great.

Aug 13 2018, 2:32 PM

Aug 11 2018

imp added inline comments to D16622: arm/ralink cleanup and delete NON INTRNG code.
Aug 11 2018, 2:46 PM
imp committed rD52102: Correct 1200076 and 12000077 entries. Remove xref to man pages..
Correct 1200076 and 12000077 entries. Remove xref to man pages.
Aug 11 2018, 8:33 AM
imp committed rD52100: Document FreeBSD revisions 1200076 and 1200077..
Document FreeBSD revisions 1200076 and 1200077.
Aug 11 2018, 3:18 AM

Aug 10 2018

imp added inline comments to D16649: Move _DIAGASSERT to include/assert.h and timespce_get form NetBSD..
Aug 10 2018, 10:04 PM
imp added inline comments to D16663: Create xpt_sim_poll, refactor and use it in mps / mpr..
Aug 10 2018, 9:44 PM
imp added a comment to D15592: Avoid completing non-dump I/O requests after a panic..

Let's continue this in D16663

Aug 10 2018, 8:31 PM
imp added reviewers for D16663: Create xpt_sim_poll, refactor and use it in mps / mpr.: smh, cem, markj, scottl, ken, asomers, mav.
Aug 10 2018, 8:31 PM
imp created D16663: Create xpt_sim_poll, refactor and use it in mps / mpr..
Aug 10 2018, 8:29 PM
imp added a comment to D15592: Avoid completing non-dump I/O requests after a panic..

Amendment to my prior thing. We'll need a cam_sim_poll() function. We have to call the sim_poll function, and the call camisr_runqueue() and there's some 'hidden' locking that goes on... I'll open a review with cem, markj, scottl, ken, asomers and mav with it and the fixes...

Aug 10 2018, 8:02 PM
imp added a comment to D15592: Avoid completing non-dump I/O requests after a panic..
In D15592#354117, @cem wrote:
In D15592#354014, @imp wrote:
In D15592#353902, @cem wrote:

So the concern is that the dumping && SCHED_STOPPED check may be too narrow. dumping is cleared when doadump returns. And e.g., the shutdown_final event is invoked during panic reboot. Many(?) (some, anyway) disk controller drivers register eventhandlers that attempt to submit CCBs during shutdown.

There should be no problem with them doing so. Again, there's some I/O that's not read/write that's necessary to properly shutdown some devices (even if the request doesn't make it to the drive itself, since the firmware on the disk controller intercepts it and does its own magic). We absolutely must do this I/O, even in the case of a panic, or data loss will result. It's my understand that it's really non-optional. It's the basis for killing the 'do this at the CAM layer' argument.

The problem is that they will hang forever if they wait for an interrupt-driven CCB completion during panic — preventing reboot. After dump completes, nothing is polling.

Aug 10 2018, 7:32 PM
imp added inline comments to D16649: Move _DIAGASSERT to include/assert.h and timespce_get form NetBSD..
Aug 10 2018, 7:13 PM
imp committed rS337578: Update man page to include FreeBSD-specific details..
Update man page to include FreeBSD-specific details.
Aug 10 2018, 3:16 PM
imp committed rS337577: Remove assert.h and commented out _DIAGASSERT..
Remove assert.h and commented out _DIAGASSERT.
Aug 10 2018, 3:16 PM
imp committed rS337576: Bring in timespce_get form NetBSD..
Bring in timespce_get form NetBSD.
Aug 10 2018, 3:16 PM
imp accepted D16599: sysutils/u-boot-master etc.: u-boot Improvement for 2018.07.
Aug 10 2018, 3:09 PM
imp added inline comments to D16649: Move _DIAGASSERT to include/assert.h and timespce_get form NetBSD..
Aug 10 2018, 3:06 PM
imp updated the diff for D16649: Move _DIAGASSERT to include/assert.h and timespce_get form NetBSD..

Make changes suggested by kib. abandon the _DIAGASSERT update and
instead comment things out and then do a separate commit to do minimal
cleanup.

Aug 10 2018, 2:48 PM