Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2013 19:08:45 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        "current@freebsd.org" <current@freebsd.org>
Subject:   Re: loader don't load loader.conf if device.hints has errors
Message-ID:  <1494493349.20130810190845@serebryakov.spb.ru>
In-Reply-To: <1388219877.20130810150157@serebryakov.spb.ru>
References:  <1388219877.20130810150157@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Lev.
You wrote 10 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2013 =D0=B3., 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@fbsd-c-64.vm.home.serebryakov.spb.ru, Sat Aug 10 14:02:41 MSK 201=
3)
LS> Loading /boot/defaults/loader.conf
LS> Warning: syntax error on file /boot/device.hints
LS> hint.uart.0.flags=3D"0x00"
LS>                         ^
LS> Warning: syntax error on file /boot/loader.conf
LS> hint.uart.0.flags=3D"0x00"
LS>                         ^
LS> /boot/kernel/kernel text=3D0x5dfed8 data=3D0x69078+0xd6b10 syms=3D[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@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=3D0x5e5fb0 data=3D0x69cf8+0xd6c10 syms=3D[0x8+0x9d=
b48+0x8+0x93be1]
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
GDB: no debug ports present

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1494493349.20130810190845>