Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jul 2009 17:18:31 GMT
From:      Chris Whitehouse <cwhiteh@onetel.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/136327: Asus M3N78-EM motherboard cannot boot with generic kernel.
Message-ID:  <200907041718.n64HIV9F040736@www.freebsd.org>
Resent-Message-ID: <200907041720.n64HK24B030889@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907041718.n64HIV9F040736>