loader don't load loader.conf if device.hints has errors

Lev Serebryakov lev at FreeBSD.org
Sat Aug 10 15:08:53 UTC 2013


Hello, Lev.
You wrote 10 августа 2013 г., 15:01:57:

LS> Hello, Current.

LS> I've make simple mistake (DOS-style EOL) in /boot/device.hints and
LS> /boot/loader.conf was skipped too with strange (device.hints-related)
LS> message:

LS> FreeBSD/x86 bootstrap loader, Revision 1.1
LS> (root at fbsd-c-64.vm.home.serebryakov.spb.ru, Sat Aug 10 14:02:41 MSK 2013)
LS> Loading /boot/defaults/loader.conf
LS> Warning: syntax error on file /boot/device.hints
LS> hint.uart.0.flags="0x00"
LS>                         ^
LS> Warning: syntax error on file /boot/loader.conf
LS> hint.uart.0.flags="0x00"
LS>                         ^
LS> /boot/kernel/kernel text=0x5dfed8 data=0x69078+0xd6b10 syms=[0x8+0x9cd50+0x8+0x930ab]
 Also, loader doesn't say anything about reading "/boot/device.hints" and
 "/boot/loader.conf", but it reads them for sure:


FreeBSD/x86 bootstrap loader, Revision 1.1
(root at fbsd-c-64.vm.home.serebryakov.spb.ru, Sat Aug 10 18:35:18 MSK 2013)
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x5e5fb0 data=0x69cf8+0xd6c10 syms=[0x8+0x9db48+0x8+0x93be1]
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
GDB: no debug ports present

-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-current mailing list