amd64/80114: kldload snd_ich causes interrupt storm when ACPI is enabled

Florent Thoumie flz at xbsd.org
Tue Apr 19 11:00:37 PDT 2005


>Number:         80114
>Category:       amd64
>Synopsis:       kldload snd_ich causes interrupt storm when ACPI is enabled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 19 18:00:36 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Florent Thoumie
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
Xbsd.org
>Environment:
System: FreeBSD srv1.xbsd.org 5.3-RELEASE FreeBSD 5.3-RELEASE #2: Wed Nov 24 16:35:34 CET 2004 root at gate.xbsd.org:/usr/src/sys/i386/compile/GATE i386

>Description:

Here is the trace I got :

flz cream> kgdb -c /usr/tmp/vmcore.6 /usr/src/sys/amd64/compile/CREAM/kernel.deb
ug
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Unde
fined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".
#0  doadump () at pcpu.h:167
167     pcpu.h: No such file or directory.
        in pcpu.h
(gdb) bt
#0  doadump () at pcpu.h:167
#1  0x0000000000000000 in ?? ()
#2  0xffffffff8031ffb7 in boot (howto=260)
    at ../../../kern/kern_shutdown.c:410
#3  0xffffffff80320696 in panic (fmt=0xffffff0015e02a00 "ÐeÎ\026")
    at ../../../kern/kern_shutdown.c:566
#4  0xffffffff80484e42 in trap_fatal (frame=0xffffff0015e02a00,
    eva=18446742974580549072) at ../../../amd64/amd64/trap.c:631
#5  0xffffffff8048515f in trap_pfault (frame=0xffffffff96a1c3c0, usermode=0)
    at ../../../amd64/amd64/trap.c:554
#6  0xffffffff80485403 in trap (frame=
      {tf_rdi = -1099500558560, tf_rsi = 4, tf_rdx = 20, tf_rcx = -1099123103672
, tf_r8 = 0, tf_r9 = -1, tf_rax = 3524276224, tf_rbx = -1099500558560, tf_rbp =
0, tf_r10 = 8194, tf_r11 = -2145800080, tf_r12 = 0, tf_r13 = -1, tf_r14 = 4, tf_
r15 = 256, tf_trapno = 12, tf_addr = 3524276232, tf_flags = -2140179872, tf_err
= 0, tf_rip = -2144108211, tf_cs = 8, tf_rflags = 66054, tf_rsp = -1767783288, t
f_ss = 16}) at ../../../amd64/amd64/trap.c:333
#7  0xffffffff80474d1b in calltrap () at ../../../amd64/amd64/exception.S:171
#8  0xffffff0000a8e720 in ?? ()
#9  0x0000000000000004 in ?? ()
#10 0x0000000000000014 in ?? ()
#11 0xffffff0017286848 in ?? ()
#12 0x0000000000000000 in ?? ()
#13 0xffffffffffffffff in ?? ()
#14 0x00000000d2103000 in ?? ()
#15 0xffffff0000a8e720 in ?? ()
#16 0x0000000000000000 in ?? ()
#17 0x0000000000002002 in ?? ()
#18 0xffffffff8019b070 in acpi_sysres_find ()
    at ../../../dev/acpica/acpi.c:960
#19 0x0000000000000000 in ?? ()
#20 0xffffffffffffffff in ?? ()
#21 0x0000000000000004 in ?? ()
#22 0x0000000000000100 in ?? ()
#23 0x000000000000000c in ?? ()
#24 0x00000000d2103008 in ?? ()
#25 0xffffffff806f7260 in kernel_console_ts ()
#26 0x0000000000000000 in ?? ()
#27 0xffffffff8033814d in resource_list_find (rl=0x0, type=0, rid=0)
    at ../../../kern/subr_bus.c:2480
#28 0x0000000000000008 in ?? ()
#29 0x0000000000010206 in ?? ()
#30 0xffffffff96a1c488 in ?? ()
#31 0x0000000000000010 in ?? ()
#32 0x0000000000000000 in ?? ()
#33 0xffffffff8019b10b in acpi_alloc_resource (bus=0xffffff0000994c00,
    child=0xffffff0000a8e600, type=4, rid=0xffffff0017286848, start=0,
    end=18446744073709551615, count=256, flags=8194)
    at ../../../dev/acpica/acpi.c:982
#34 0xffffffff802746be in pci_alloc_resource (dev=0x1e,
    child=0xffffff0000a8e600, type=4, rid=0xffffff0017286848, start=0,
    end=18446744073709551615, count=0, flags=2) at bus_if.h:262
#35 0xffffffff80335714 in bus_alloc_resource (dev=0xffffff0000a8e600, type=4,
    rid=0xffffff0017286848, start=0, end=18446744073709551615, count=1,
    flags=0) at bus_if.h:262
#36 0xffffffff96a9b350 in ?? ()
#37 0xffffff0000000002 in ?? ()
#38 0xffffff001ffe5000 in ?? ()
#39 0x0000000000000001 in ?? ()
#40 0xffffff0000ad5300 in ?? ()
#41 0xffffff001ffe5000 in ?? ()
#42 0xffffffff803148f9 in malloc (size=0, type=0xffffff0000a8e600,
    flags=-1767259808) at ../../../kern/kern_malloc.c:292
#43 0x00000000005910de in ?? ()
#44 0x0000000000000043 in ?? ()
#45 0xffffffff802741fb in pci_read_ivar (dev=0x0, child=0x0, which=11069064,
    result=0xffffffff803283bc) at ../../../dev/pci/pci.c:1464
#46 0xffffffff80273b00 in pci_print_child (dev=0x5910de, child=0x5910de)
    at ../../../dev/pci/pci.c:1197
#47 0xffffffff80337a28 in device_attach (dev=0xffffff0000a8e600)
    at device_if.h:177
#48 0xffffffff80273958 in pci_driver_added (dev=0xffffff0000a8e600,
    driver=0x5) at ../../../dev/pci/pci.c:1170
#49 0xffffffff8033653c in devclass_add_driver (dc=0xffffff00009b6800,
    driver=0xffffffff96a9c160) at bus_if.h:183
#50 0xffffffff80339e89 in driver_module_handler (mod=0xffffff0015adb480,
    what=-1767259808, arg=0x0) at ../../../kern/subr_bus.c:3535
#51 0xffffffff80315fa6 in module_register_init (arg=0x0)
    at ../../../kern/kern_module.c:121
#52 0xffffffff803124d8 in linker_load_module (
    kldname=0xffffff00009e5420 "/boot/kernel/snd_ich.ko",
    modname=0xffffff0000aaf400 "snd_ich", parent=0x0, verinfo=0x0,
    lfpp=0xffffffff96a1cb70) at ../../../kern/kern_linker.c:193
#53 0xffffffff80312709 in kldload (td=0xffffff0015e02a00,
    uap=0xffffffff96a1cbc0) at ../../../kern/kern_linker.c:776
#54 0xffffffff80485b0c in syscall (frame=
      {tf_rdi = 140737488350808, tf_rsi = 140737488350376, tf_rdx = 1, tf_rcx =
140737488350808, tf_r8 = 4294967295, tf_r9 = 140737488350072, tf_rax = 304, tf_r
bx = 0, tf_rbp = 140737488350384, tf_r10 = 4294967295, tf_r11 = 598, tf_r12 = 0,
 tf_r13 = 0, tf_r14 = 0, tf_r15 = 0, tf_trapno = 12, tf_addr = 34366580844, tf_f
lags = 0, tf_err = 2, tf_rip = 34366580856, tf_cs = 43, tf_rflags = 514, tf_rsp
= 140737488350264, tf_ss = 35}) at ../../../amd64/amd64/trap.c:763
#55 0xffffffff80474e58 in Xfast_syscall ()
    at ../../../amd64/amd64/exception.S:248
#56 0x00007fffffffee58 in ?? ()
#57 0x00007fffffffeca8 in ?? ()

dmesg is at [1] and kernel configuration is at [2].

Notes: I'm using SCHED_ULE and PREEMPTION.

[1] http://people.freebsd.org/~flz/local/dmesg.cream
[2] http://people.freebsd.org/~flz/local/CREAM

>How-To-Repeat:

Boot my box (Asus A8N-SLI Deluxe Motherboard) with ACPI enabled
# kldload snd_ich
*kaboom*

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list