From owner-freebsd-questions@FreeBSD.ORG Wed Jun 19 13:56:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DA8B9BCA for ; Wed, 19 Jun 2013 13:56:59 +0000 (UTC) (envelope-from ahamiltonwright@mta.ca) Received: from smtpy.mta.ca (smtpy.mta.ca [138.73.1.143]) by mx1.freebsd.org (Postfix) with ESMTP id B3F5A1318 for ; Wed, 19 Jun 2013 13:56:59 +0000 (UTC) Received: from [138.73.177.255] (port=52892) by smtpy.mta.ca with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1UpILX-0003Pj-Va; Wed, 19 Jun 2013 10:22:48 -0300 Subject: Re: Boot hangs in single-user mode Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Andrew Hamilton-Wright In-Reply-To: <20130606161824.4c45f579.freebsd@edvax.de> Date: Wed, 19 Jun 2013 10:24:13 -0300 Content-Transfer-Encoding: quoted-printable Message-Id: <666A4DB3-E497-4C55-98E0-42DE247E1052@mta.ca> References: <20130606161824.4c45f579.freebsd@edvax.de> To: Polytropon X-Mailer: Apple Mail (2.1085) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 13:56:59 -0000 Hi Everyone, On Thu, 6 Jun 2013 10:24:52 -0300, Andrew Hamilton-Wright wrote: >=20 > Strangely, it seems that I cannot boot single user, either > using "boot -s" from the boot loader, or using the boot menu.=20 > When I get to the point where the root filesystem is mounted, > it hangs right after printing the message: > Trying to mount root from ufs:/dev/ada0s1a There was a bit of a delay getting back to this, as I needed to move the = internals over to a replacement server in a planned upgrade. I have left the boot disk in the machine demonstrating this problem with = the intention of coming back to determine what is going on (mount points = to now-missing data disks have been removed from /etc/fstab). In the resulting stripped down system, I have the same behaviour as = before -- I cannot get to single-user mode, but multi-user is fine. If in multi-user mode, if I issue "kill -TERM 1" to go to single-user = mode, I would get a single console message: "pflog0: promiscuous mode = disabled", then nothing. While I would expect pflog to shut down in = this case, I have now disabled everything pf related (I cannot imagine = that it would interfere with console operation), and now have the = situation where kill -TERM 1 simply locks the console. Plugging in a USB device while the console is locked does produce the = expected dmesg updates, and the system does respond to = [CTRL]-[ALT]-[DEL] I will also add that I can boot to a single-user prompt when booting off = of the 9.1 media via DVD and mounting the root filesystem from the disk. = (This motherboard+kernel have never gotten along particularly well with = the DVD reader/writer in the machine, so mounting the filesystem from = the DVD usually fails with various atapi based timeouts). Does anyone have any thoughts on how to further explore this? As the = situation was more than mildly annoying, and could certainly have been = worse, if this is likely to occur for anyone else, I would like to file = a PR. Thanks, Andrew.