From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 25 21:32:16 2012 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D024106566C; Tue, 25 Sep 2012 21:32:16 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id C5A948FC1F; Tue, 25 Sep 2012 21:32:15 +0000 (UTC) Received: from rbpbp.gid.co.uk (80-46-130-69.static.dsl.as9105.com [80.46.130.69]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id q8PLVDUn054576; Tue, 25 Sep 2012 22:31:13 +0100 (BST) (envelope-from rb@gid.co.uk) Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=iso-8859-1 From: Bob Bishop In-Reply-To: <50621331.2020207@cdf.toronto.edu> Date: Tue, 25 Sep 2012 22:31:08 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <9C0A93CD-EE93-4BFE-8C0D-134E4B269961@gid.co.uk> References: <505B7A32.4070206@cdf.toronto.edu> <505CAD80.1070701@cdf.toronto.edu> <765938FA-B2D4-4553-AA76-A86E40294080@gid.co.uk> <50621331.2020207@cdf.toronto.edu> To: Iordan Iordanov X-Mailer: Apple Mail (2.1283) Cc: freebsd-bugs@freebsd.org, hackers@freebsd.org, CDF Admin Subject: Re: kernel panic on boot with FreeBSD 8.1 and 9.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 21:32:16 -0000 Hi, On 25 Sep 2012, at 21:25, Iordan Iordanov wrote: > Hi Bob, >=20 > On 09/21/12 14:25, Bob Bishop wrote: >>> #5 0xffffffff806ab507 at uart_bus_attaeh+0x187 >> ^^^^ >> Hmm. Can you disable serial ports in the BIOS? Might be a workaround. >=20 > Disabling the serial ports changed the backtrace, but it still = crashed. Then, I decided to play around, and ALSO disabling the IDE = controller on the motherboard (for which tere is no header, funnily) = allowed FreeBSD to boot. The end result was that both the IDE controller = AND serial ports had to be disabled for it to boot. Once again, FreeBSD = boots up fine when the PCIe 4-port network adapter is removed from the = pcie (8x in 4x) port with BIOS defaults loaded. >=20 > Now start the ramblings of a person who does not understand how IRQs = work. Is this basically an IRQ exhaustion issue where disabling serial = ports and IDE controller frees up just enough IRQs for the OS to boot = up? If so, what was done in Linux to allow "sharing" IRQs so that = everyhing can be enabled in the BIOS and the for kernel to still manage = to drive all devices attached to the system? >=20 > Is there anything I can do to help debug this before we go production? Probably, but I don't understand enough about IRQ handling to advise = further. CCing to hackers@ where someone will know. > Thanks! > Iordan -- Bob Bishop rb@gid.co.uk