Date: Sun, 14 Mar 1999 18:08:52 +0200 From: Ruslan Ermilov <ru@ucb.crimea.ua> To: sheldonh@freebsd.org Cc: FreeBSD Hackers <hackers@freebsd.org> Subject: Re: kern/9670: kernel config at boot time via -c gives save option but looses settings Message-ID: <19990314180852.A7460@relay.ucb.crimea.ua>
next in thread | raw e-mail | index | archive | help
Hi! You wrote: State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Sun Mar 14 04:26:00 PST 1999 State-Changed-Why: See ftp://ftp.freebsd.org/pub/FreeBSD/3.1-RELEASE/ERRATA.TXT o Kernel change information is not saved in the new kernel, even though this is claimed to work in the docs. Fix: The change information is being written out, in fact, but to the wrong location. move /kernel.config to /boot/kernel.conf (if it exists, otherwise there were no changes to save) and add the following lines to /boot/loader.rc: load /kernel load -t userconfig_script /boot/kernel.conf autoboot 5 This will cause the kernel change information to be read in and used properly (and you just learned a little about the new 3-stage loader in the process, so the exercise wasn't a total loss). ---------------------------------------- I can't get your fix to work. I've made `boot -c' changes, and `sysctl machdep.uc_devlist' produces non-null output, but the /kernel.config is empty. Any clue? Cheers, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990314180852.A7460>