7.2-RELEASE kernel panic on Atheros card insert on T61p

Petr Holub hopet at ics.muni.cz
Tue May 19 17:22:11 UTC 2009


Hi all,

I'm getting deterministic kernel panics on Lenovo T61p laptop
when inserting Athreos-based wifi card. Details are given below.
Let me know if you need something more to debug the panic.

Thanks,
Petr


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 "i386-marcel-freebsd"...

Unread portion of the kernel message buffer:
cardbus0: Expecting link target, got 0x0
ath0: <Atheros 5212> mem 0xbfeb0000-0xbfebffff irq 16 at device 0.0 on cardbus0
ath0: [ITHREAD]


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address	= 0x0
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0x0
stack pointer	        = 0x28:0xc6b919fc
frame pointer	        = 0x28:0xc6b91a10
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 40 (cbb0 event thread)
trap number		= 12
panic: page fault
cpuid = 0
Uptime: 40s
Physical memory: 3050 MB
Dumping 104 MB: 89 73 57 41 25 9

Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/sound.ko
Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from /boot/kernel/snd_hda.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/snd_hda.ko
Reading symbols from /boot/modules/nvidia.ko...done.
Loaded symbols for /boot/modules/nvidia.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/atapicam.ko...Reading symbols from /boot/kernel/atapicam.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/atapicam.ko
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/ntfs.ko...Reading symbols from /boot/kernel/ntfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ntfs.ko
#0  doadump () at pcpu.h:196
196	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc07e25a7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc07e2879 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc0ae3ebc in trap_fatal (frame=0xc6b919bc, eva=0)
    at /usr/src/sys/i386/i386/trap.c:939
#4  0xc0ae4140 in trap_pfault (frame=0xc6b919bc, usermode=0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:852
#5  0xc0ae4aec in trap (frame=0xc6b919bc) at /usr/src/sys/i386/i386/trap.c:530
#6  0xc0ac91fb in calltrap () at /usr/src/sys/i386/i386/exception.s:159
#7  0x00000000 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) info threads
  78 Thread 100104 (PID=912: getty)  sched_switch (td=0xc73cb690, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  77 Thread 100101 (PID=901: getty)  sched_switch (td=0xc73cbd20, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  76 Thread 100100 (PID=900: getty)  sched_switch (td=0xc7666000, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  75 Thread 100099 (PID=899: getty)  sched_switch (td=0xc7666230, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  74 Thread 100098 (PID=898: getty)  sched_switch (td=0xc7666460, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  73 Thread 100097 (PID=897: getty)  sched_switch (td=0xc7666690, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  72 Thread 100096 (PID=896: getty)  sched_switch (td=0xc76668c0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  71 Thread 100095 (PID=895: getty)  sched_switch (td=0xc7666af0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  70 Thread 100092 (PID=892: sleep)  sched_switch (td=0xc7667230, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  69 Thread 100091 (PID=891: sh)  sched_switch (td=0xc7667460, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  68 Thread 100063 (PID=890: logger)  sched_switch (td=0xc7233230, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  67 Thread 100087 (PID=889: sh)  sched_switch (td=0xc73c9690, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  66 Thread 100060 (PID=852: cron)  sched_switch (td=0xc72338c0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  65 Thread 100064 (PID=846: sendmail)  sched_switch (td=0xc6ed2af0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  64 Thread 100061 (PID=842: sendmail)  sched_switch (td=0xc7233690, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  63 Thread 100066 (PID=836: sshd)  sched_switch (td=0xc7230d20, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  62 Thread 100058 (PID=744: moused)  sched_switch (td=0xc7233af0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  61 Thread 100082 (PID=673: syslogd)  sched_switch (td=0xc73ca230, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  60 Thread 100072 (PID=607: devd)  sched_switch (td=0xc7230460, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  59 Thread 100062 (PID=185: adjkerntz)  sched_switch (td=0xc7233460, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  58 Thread 100056 (PID=57: softdepflush)  sched_switch (td=0xc71c9000, newtd=Variable "newtd" is not available.

) at /usr/src/sys/kern/sched_ule.c:1944
  57 Thread 100055 (PID=56: syncer)  sched_switch (td=0xc71c9230, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  56 Thread 100054 (PID=55: vnlru)  sched_switch (td=0xc71c9460, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  55 Thread 100053 (PID=54: bufdaemon)  sched_switch (td=0xc71c9690, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  54 Thread 100052 (PID=53: pagezero)  sched_switch (td=0xc71c98c0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  53 Thread 100051 (PID=52: vmdaemon)  sched_switch (td=0xc71c9af0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  52 Thread 100050 (PID=51: pagedaemon)  sched_switch (td=0xc71c9d20, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  51 Thread 100049 (PID=50: sctp_iterator)  sched_switch (td=0xc6e84690, 
    newtd=Variable "newtd" is not available.
) at /usr/src/sys/kern/sched_ule.c:1944
  50 Thread 100048 (PID=49: swi0: sio)  fork_trampoline ()
    at /usr/src/sys/i386/i386/exception.s:261
  49 Thread 100047 (PID=48: irq12: psm0)  sched_switch (td=0xc6e84af0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  48 Thread 100046 (PID=47: irq1: atkbd0)  sched_switch (td=0xc6e84d20, newtd=Variable "newtd" is not available.

) at /usr/src/sys/kern/sched_ule.c:1944
  47 Thread 100045 (PID=46: acpi_cooling1)  sched_switch (td=0xc6ed1000, 
    newtd=Variable "newtd" is not available.
) at /usr/src/sys/kern/sched_ule.c:1944
  46 Thread 100044 (PID=45: acpi_thermal)  sched_switch (td=0xc6ed1230, newtd=Variable "newtd" is not available.

) at /usr/src/sys/kern/sched_ule.c:1944
  45 Thread 100043 (PID=44: irq15: ata1)  sched_switch (td=0xc6ed1460, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  44 Thread 100042 (PID=43: irq14: ata0)  sched_switch (td=0xc6ed1690, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  43 Thread 100041 (PID=42: fw0_probe)  sched_switch (td=0xc6ed18c0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  42 Thread 100040 (PID=41: fw0_taskq)  sched_switch (td=0xc6ed1af0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
* 41 Thread 100039 (PID=40: cbb0 event thread)  doadump () at pcpu.h:196
  40 Thread 100038 (PID=39: usb6)  sched_switch (td=0xc6ed2000, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  39 Thread 100037 (PID=38: irq19: ehci1)  sched_switch (td=0xc6dbdd20, newtd=Variable "newtd" is not available.

) at /usr/src/sys/kern/sched_ule.c:1944
  38 Thread 100036 (PID=37: usb5)  sched_switch (td=0xc6e83000, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  37 Thread 100035 (PID=36: irq18: uhci4)  fork_trampoline ()
    at /usr/src/sys/i386/i386/exception.s:261
  36 Thread 100034 (PID=35: usb4)  sched_switch (td=0xc6e83460, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  35 Thread 100033 (PID=34: usb3)  sched_switch (td=0xc6e83690, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  34 Thread 100032 (PID=33: irq17: hdac0 uhci+)  sched_switch (td=0xc6e838c0, 
    newtd=Variable "newtd" is not available.
) at /usr/src/sys/kern/sched_ule.c:1944
  33 Thread 100031 (PID=32: usb2)  sched_switch (td=0xc6e83af0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  32 Thread 100030 (PID=31: irq22: ehci0)  sched_switch (td=0xc6e83d20, newtd=Variable "newtd" is not available.

) at /usr/src/sys/kern/sched_ule.c:1944
  31 Thread 100029 (PID=30: usb1)  sched_switch (td=0xc6e84000, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  30 Thread 100028 (PID=29: irq21: uhci1)  fork_trampoline ()
    at /usr/src/sys/i386/i386/exception.s:261
  29 Thread 100027 (PID=28: usbtask-dr)  sched_switch (td=0xc6e84460, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  28 Thread 100026 (PID=27: usbtask-hc)  sched_switch (td=0xc6ce5690, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  27 Thread 100025 (PID=26: usb0)  sched_switch (td=0xc6ce58c0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  26 Thread 100024 (PID=25: irq20: uhci0)  sched_switch (td=0xc6ce5af0, newtd=Variable "newtd" is not available.

) at /usr/src/sys/kern/sched_ule.c:1944
  25 Thread 100023 (PID=24: em0 taskq)  sched_switch (td=0xc6ce5d20, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  24 Thread 100022 (PID=23: irq16: nvidia0+++)  sched_switch (td=0xc6dbd000, 
    newtd=Variable "newtd" is not available.
) at /usr/src/sys/kern/sched_ule.c:1944
  23 Thread 100021 (PID=22: irq9: acpi0)  sched_switch (td=0xc6dbd230, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  22 Thread 100020 (PID=21: kqueue taskq)  sched_switch (td=0xc6dbd460, newtd=Variable "newtd" is not available.

) at /usr/src/sys/kern/sched_ule.c:1944
  21 Thread 100019 (PID=20: swi6: task queue)  sched_switch (td=0xc6dbd690, 
    newtd=Variable "newtd" is not available.
) at /usr/src/sys/kern/sched_ule.c:1944
  20 Thread 100018 (PID=19: swi6: Giant taskq)  sched_switch (td=0xc6dbd8c0, 
    newtd=Variable "newtd" is not available.
) at /usr/src/sys/kern/sched_ule.c:1944
  19 Thread 100017 (PID=9: acpi_task_2)  sched_switch (td=0xc6dbdaf0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  18 Thread 100016 (PID=8: acpi_task_1)  sched_switch (td=0xc6c9b230, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  17 Thread 100015 (PID=7: acpi_task_0)  sched_switch (td=0xc6c9b460, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  16 Thread 100014 (PID=6: thread taskq)  sched_switch (td=0xc6c9b690, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  15 Thread 100013 (PID=18: swi5: +)  fork_trampoline ()
    at /usr/src/sys/i386/i386/exception.s:261
  14 Thread 100012 (PID=17: swi2: cambio)  sched_switch (td=0xc6c9baf0, newtd=Variable "newtd" is not available.

) at /usr/src/sys/kern/sched_ule.c:1944
  13 Thread 100011 (PID=5: xpt_thrd)  sched_switch (td=0xc6c9bd20, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  12 Thread 100010 (PID=16: yarrow)  sched_switch (td=0xc6ce5000, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  11 Thread 100009 (PID=4: g_down)  sched_switch (td=0xc6ce5230, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  10 Thread 100008 (PID=3: g_up)  sched_switch (td=0xc6ce5460, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  9 Thread 100007 (PID=2: g_event)  sched_switch (td=0xc6c99000, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  8 Thread 100006 (PID=15: swi3: vm)  fork_trampoline ()
    at /usr/src/sys/i386/i386/exception.s:261
  7 Thread 100005 (PID=14: swi4: clock sio)  sched_switch (td=0xc6c90a00, 
    newtd=Variable "newtd" is not available.
) at /usr/src/sys/kern/sched_ule.c:1944
  6 Thread 100004 (PID=13: swi1: net)  fork_trampoline ()
    at /usr/src/sys/i386/i386/exception.s:261
  5 Thread 100003 (PID=12: idle: cpu0)  sched_switch (td=0xc6c998c0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  4 Thread 100002 (PID=11: idle: cpu1)  sched_switch (td=0xc6c99af0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  3 Thread 100001 (PID=1: init)  sched_switch (td=0xc6c99d20, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  2 Thread 100000 (PID=10: audit)  sched_switch (td=0xc6c9b000, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944
  1 Thread 0 (PID=0: swapper)  sched_switch (td=0xc0cae1e0, newtd=Variable "newtd" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1944




More information about the freebsd-stable mailing list