From owner-freebsd-questions@FreeBSD.ORG Tue Dec 2 08:10:42 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 57C0D1065672 for ; Tue, 2 Dec 2008 08:10:42 +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 356F58FC20 for ; Tue, 2 Dec 2008 08:10:42 +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 2D983AFC1C6; Mon, 1 Dec 2008 23:10:41 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 2 Dec 2008 09:10:37 +0100 User-Agent: KMail/1.9.7 References: <8fd8f02c0812012241t2a8517c5n5e5f69d965795b07@mail.gmail.com> <200812020826.21345.fbsd.questions@rachie.is-a-geek.net> <8fd8f02c0812012352y6b4aca89v6d7b1355c3ab95f@mail.gmail.com> In-Reply-To: <8fd8f02c0812012352y6b4aca89v6d7b1355c3ab95f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812020910.38815.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 08:10:42 -0000 On Tuesday 02 December 2008 08:52:58 Ji wrote: > On Mon, Dec 1, 2008 at 11:26 PM, Mel > > wrote: > > On Tuesday 02 December 2008 07:41:17 Ji wrote: > >> Hi all, > > ... > > >> atapci0: port > >> 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0x > >>bc5 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. > > > Thank you for your reply, Mel. > > There must be something wrong. What confused me is why the booting > problem does not appear every time I reboot the computer and the > serial console does work fine if it can boot. > And I will really appreciate if you can specify my problem. Thanks a lot. I'm not sure. Your controller doesn't always get an interrupt, so could be the serial console and atapci bridge fight for it and who ever is first gets it. I would scoot this over to freebsd-hardware list and post a verbose boot without the serial console enabled and with. Also mention if your BIOS has an "Enhanced" or "AHCI" setting for the disk controllers and whether MSI interrupts are supported and enabled. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.