From owner-freebsd-bugs@FreeBSD.ORG Sat Jul 4 17:20:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03A601065673 for ; Sat, 4 Jul 2009 17:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D339C8FC13 for ; Sat, 4 Jul 2009 17:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n64HK2P5030890 for ; Sat, 4 Jul 2009 17:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n64HK24B030889; Sat, 4 Jul 2009 17:20:02 GMT (envelope-from gnats) Resent-Date: Sat, 4 Jul 2009 17:20:02 GMT Resent-Message-Id: <200907041720.n64HK24B030889@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Whitehouse Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 349D81065674 for ; Sat, 4 Jul 2009 17:18:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0920D8FC12 for ; Sat, 4 Jul 2009 17:18:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n64HIVgh040737 for ; Sat, 4 Jul 2009 17:18:31 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n64HIV9F040736; Sat, 4 Jul 2009 17:18:31 GMT (envelope-from nobody) Message-Id: <200907041718.n64HIV9F040736@www.freebsd.org> Date: Sat, 4 Jul 2009 17:18:31 GMT From: Chris Whitehouse To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/136327: Asus M3N78-EM motherboard cannot boot with generic kernel. 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: Sat, 04 Jul 2009 17:20:03 -0000 >Number: 136327 >Category: kern >Synopsis: Asus M3N78-EM motherboard cannot boot with generic kernel. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 04 17:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Chris Whitehouse >Release: 7.2-RELEASE-p1 >Organization: >Environment: FreeBSD eco.config 7.2-RELEASE-p1 FreeBSD 7.2-RELEASE-p1 #0: Sat Jun 20 22:43:47 BST 2009 root@eco.config:/usr/src/sys/i386/compile/GENERIC i386 >Description: Motherboard will not boot with standard kernel, eg installation CD. I'm trying to install on a new motherboard ASUS M3N78-EM. While booting from FreeBSD installation CD I'm getting run_interrupts_driven_hooks: still waiting after 60 seconds for xpt_config This is repeated a few times then installation stops and the machine stops responding. I've tried various versions, including 6.4R, 7.0R 7.2R and 8.0-CURRENT-200905-i386-disc1.iso. I've also tried SATA mode and AHCI mode for the SATA controller. I get a panic from the 8-CURRENT snapshot. The others might be panicking but I guess their standard kernel doesn't have debug stuff Backtrace from 8-CURRENT (typed by hand). panic: run_interrupt_driven_hooks: waited too long cpuid=0 KDB: enter: panic [thread pid 0 tid 100000 ] stopped at kdb_enter+0x3a: movl $0,kdb_why db> bt Tracing pid 0 tid 100000 td 0xc0d88fd0 kdb_enter(c0c3d8cf,c0c3d8cf,c0c3feac,c1820d08,0,...) at kdb_enter+0x3a panic(c0c3feac,0,c0c3fe43,70,ea60,...) at panic+0x136 run_interrupt_driven_config_hooks(0,181ec00,181ec00,181e000,1825000,...) at run_interrupt_driven_config_hooks+0x1c7 mi_startup() at mi_startup+0x96 begin()at begin+0x2c db> ============================================================= After some trial and error the problem seems to be device sbp in the kernel config file. Comment that out and rebuild kernel and it boots. Here's a backtrace from 7.2R using a GENERIC kernel (with sbp enabled) with debug options added. run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config panic: run_interrupt_driven_config_hooks: waited too long cpuid=0 KDB: enter: panic [thread pid 0 tid 0 ] stopped at kdb_enter_why+0x3a: movl $0,kdb_why db> bt Tracing pid 0 tid 0 td 0xc0cc1b40 kdb_enter_why(c0b87110,c0b87110,c0b89425,c1020d0c,0,...) at kdb_enter_why+0x3a panic(c0b89425,0,c0b893c0,71,ea60,...) at panic+0x136 run_interrupt_driven_config_hooks(0,101ec00,101ec00,101e000,1025000,...) at run_interrupt_driven_config_hooks+0x1b7 mi_startup() at mi_startup+0x96 begin()at begin+0x2c db> >How-To-Repeat: Boot the motherboard with any of the standard kernels listed above. >Fix: Workaround: Disable firewire in BIOS Install from a standard CD Reboot to hard disk Build and install a custom kernel with device spb disabled Reboot and enable firewire in the BIOS. kldload sbp if required (I have tested that it loads, not whether it works.) >Release-Note: >Audit-Trail: >Unformatted: