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

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Sat, 10 Aug 2013 19:08:45 +0400
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>
Received on Sat Aug 10 2013 - 13:08:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:40 UTC