From owner-freebsd-questions@FreeBSD.ORG Tue Dec 2 07:26:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E5F61065672 for ; Tue, 2 Dec 2008 07:26:25 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3BE5A8FC1D for ; Tue, 2 Dec 2008 07:26:25 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 67369AFC1C6; Mon, 1 Dec 2008 22:26:24 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 2 Dec 2008 08:26:20 +0100 User-Agent: KMail/1.9.7 References: <8fd8f02c0812012241t2a8517c5n5e5f69d965795b07@mail.gmail.com> In-Reply-To: <8fd8f02c0812012241t2a8517c5n5e5f69d965795b07@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812020826.21345.fbsd.questions@rachie.is-a-geek.net> Cc: Ji Subject: Re: mount problem after enabling serial console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2008 07:26:25 -0000 On Tuesday 02 December 2008 07:41:17 Ji wrote: > Hi all, > > I ran into a weird problem when enabling serial console on the FreeBSD > 7.0. Your help is really appreciated. > I installed FreeBSD 7.0 amd64 (from the CD) on a Dell R200, and then > enabled the serial console by adding the following to > /boot/loader.conf > > hint.sio.0.flags="0x30" > console="comconsole vidconsole" > comconsole_speed="9600" > boot_multicons="yes" > > And also replaced the following line on /etc/ttys > > ttyd0 "/usr/libexec/getty std.9600" dialup off secure > > with > > ttyd0 "/usr/libexec/getty std.9600" vt220 on secure. > > During rebooting, I found that the system hangs with the following > messages and interrupt looks totally messed up > > " > ... > Trying to mount root from ufs:/dev/ad4s1a > > Manual root filesystem specification: > : Mount using filesystem > eg. ufs:da0s1a > ? List valid disk boot devices > Abort manual input > > mountroot> > > ..." > > And to my surprise, if I keep rebooting again and again without doing > any fixing, the problem comes and goes, which confused me. > When the problem is not present, the serial console looks working > normally. Can anyone help me with that? Thanks a lot. > > Jim > atapci0: port > 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0xbc5 >0-0xbc5f irq 6 at device 31.2 on pci0 > atapci0: unable to map interrupt > device_attach: atapci0 attach returned 6 There's your problem. Atapci0 can't get an interrupt, which is the ata controller that controls your disk. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.