cvs commit: src/sys/dev/ata ata-queue.c

Giorgos Keramidas keramida at ceid.upatras.gr
Sat May 14 22:34:06 PDT 2005


On 2005-05-12 11:26, "Conrad J. Sabatier" <conrads at cox.net> wrote:
>On Thu, 12 May 2005 13:53:40 +0200, des at des.no (Dag-Erling Sm?rgrav)
>wrote:
>>"Conrad J. Sabatier" <conrads at cox.net> writes:
>>> Small problem: my last good kernel got overwritten.  Strange, but
>>> one "make installkernel" did *not* move /boot/kernel to
>>> /boot/kernel.old (I had previously manually moved /boot/kernel.old
>>> to /boot/kernel after discovering that the new kernel wasn't working
>>> properly, then the next installkernel failed to move it back to
>>> kernel.old, for some reason).
>>
>> because your kern.bootfile still pointed at kernel.old.  the makefiles
>> only move kernel to kernel.old if it's the currently running kernel,
>> iirc.  you should always update kern.bootfile when you move or rename
>> your currently running kernel, both for this reason and to get the
>> module path right.
>
> A-ha!  Thanks!  I never knew that before.

A probably "safer" way to keep known good kernels around is to copy them
over to something that is neither kernel.old nor kernel.  I usually keep
a copy of a known good kernel in /boot/kernel.ok :-)



More information about the cvs-src mailing list