From owner-freebsd-current@FreeBSD.ORG Sat Aug 10 15:08:53 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 97193F9F for ; Sat, 10 Aug 2013 15:08:53 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5C0542134 for ; Sat, 10 Aug 2013 15:08:53 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:acd9:718:8db4:b823]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id EAFA54AC57 for ; Sat, 10 Aug 2013 19:08:51 +0400 (MSK) Date: Sat, 10 Aug 2013 19:08:45 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1494493349.20130810190845@serebryakov.spb.ru> To: "current@freebsd.org" Subject: Re: loader don't load loader.conf if device.hints has errors In-Reply-To: <1388219877.20130810150157@serebryakov.spb.ru> References: <1388219877.20130810150157@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Aug 2013 15:08:53 -0000 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