Bug 196575 - Need methods to write to disk from powerpc loader
Summary: Need methods to write to disk from powerpc loader
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2015-01-06 20:48 UTC by Justin Hibbits
Modified: 2016-09-04 06:57 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Justin Hibbits freebsd_committer 2015-01-06 20:48:01 UTC
The PowerPC loader doesn't currently support writing to disk from the loader.  This causes 'nextboot -k' to always boot the next kernel, unless explicitly unloaded, whereas on i386 once the test kernel is loaded, the behavior is reverted back to the default kernel, in case of failure.

On powerpc (32-bit) the kernel can be unloaded, which reduces the impact of this issue, but on powerpc64, unloading the kernel doesn't completely work, so loading a new kernel does not work, and panics or load failures ensue.  Of course, this itself should be fixed, to allow unloading, but that's another problem entirely.