Re: loader.conf setting ignored
Sarxan Elxanzade wrote: It looks like console access is necessary. But may be someone prompt another solution. So it turns out you can set kern.geom.debugflags from loader.conf. The gvinum mirror problem I was trying to debug was causing the problem. Edits to loader.conf were only being written to the second disk, but the loader was reading the first disk during boot. After manually copying /boot over it worked fine. Just thought I would mention that for the archives. - Ben ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: loader.conf setting ignored
On Thu, Nov 10, 2005 at 03:57:56PM -0500, Ben Kelly wrote: So it turns out you can set kern.geom.debugflags from loader.conf. The gvinum mirror problem I was trying to debug was causing the problem. Edits to loader.conf were only being written to the second disk, but the loader was reading the first disk during boot. After manually copying /boot over it worked fine. Just thought I would mention that for the archives. Just a tip that may help in circumstances like this. Anything that can be set from loader.conf (or device.hints for that matter) can also be set from the loader prompt: set kern.geom.debugflags=XXX ...of course in your case it looked like the values _were_ being set, but it can be handy when loader.conf is difficult or impossible to edit. Craig ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: loader.conf setting ignored
Oh, ignore me I just read the thread from beginning and saw that you already thought of that and didn't have console access :-/ Craig ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: loader.conf setting ignored
Write kern.geom.debugflags=1 it in to sysctl.conf and then try again. On Monday 07 November 2005 20:49, Ben Kelly wrote: My loader.conf looks like: kern.geom.debugflags=1 -- Elkhanzade Sarkhan Azerin ISP, U.Hajibeyov 36, Baku Systems Administrator Phone work : +994124982533 e-mail : [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: loader.conf setting ignored
On Monday 07 November 2005 12:05 pm, Sarxan Elxanzade wrote: Write kern.geom.debugflags=1 it in to sysctl.conf and then try again. Thanks for the quick reply. I moved the setting to /etc/sysctl.conf and this did result in the debugflags being set correctly. Unfortunately, though, it appears this occurs too late to see geom debug for the boot process. (Which makes sense since geom is probably needed to read in sysctl.conf.) I guess this is just something that cannot be done without console access to the loader prompt? Thanks again. On Monday 07 November 2005 20:49, Ben Kelly wrote: My loader.conf looks like: kern.geom.debugflags=1 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: loader.conf setting ignored
It looks like console access is necessary. But may be someone prompt another solution. On Monday 07 November 2005 22:10, Ben Kelly wrote: On Monday 07 November 2005 12:05 pm, Sarxan Elxanzade wrote: Write kern.geom.debugflags=1 it in to sysctl.conf and then try again. Thanks for the quick reply. I moved the setting to /etc/sysctl.conf and this did result in the debugflags being set correctly. Unfortunately, though, it appears this occurs too late to see geom debug for the boot process. (Which makes sense since geom is probably needed to read in sysctl.conf.) I guess this is just something that cannot be done without console access to the loader prompt? Thanks again. On Monday 07 November 2005 20:49, Ben Kelly wrote: My loader.conf looks like: kern.geom.debugflags=1 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] -- Elkhanzade Sarkhan Azerin ISP, U.Hajibeyov 36, Baku Systems Administrator Phone work : +994124982533 e-mail : [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]