SD8686 kernel error, linux-2.6.29-rc6

Dan Williams dcbw at redhat.com
Tue Mar 3 15:36:42 EST 2009


On Tue, 2009-03-03 at 14:45 -0500, Bill Gribble wrote:
> I can semi-reproduceably get 2 different failure modes from the Libertas
> driver on linux-2.6.29-rc6 on my Raon Everun (Geode-based) UMPC.
> 
> Both of them have the same "visible" symptoms (besides the network
> stopping working): my Gnome CPU usage widget stops scrolling and the
> keyboard stops working.  Mouse still works fine. 

I think the firmware has already coughed up a hairball and died by this
point; this BUG_ON gets triggered when the main thread hasn't consumed a
command response by the time another one gets delivered.  Any earlier
bits of the log so we can figure out which command initially failed to
execute?

Dan

> Here's one: 
> 
> Mar  1 10:10:15 pequin kernel: libertas: PREP_CMD: command 0x000b failed: -2
> Mar  1 10:10:15 pequin kernel: libertas: PREP_CMD: command 0x0006 failed: -2
> Mar  1 10:10:15 pequin kernel: libertas: SCAN_CMD failed
> Mar  1 10:10:15 pequin dhclient: receive_packet failed on eth0: Network is down
> Mar  1 10:10:15 pequin avahi-daemon[2980]: Interface eth0.IPv4 no longer relevant for mDNS.
> Mar  1 10:10:15 pequin avahi-daemon[2980]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.10.124.
> Mar  1 10:10:15 pequin kernel: ------------[ cut here ]------------
> Mar  1 10:10:15 pequin kernel: kernel BUG at drivers/net/wireless/libertas/if_sdio.c:148!
> Mar  1 10:10:15 pequin kernel: invalid opcode: 0000 [#1] PREEMPT 
> Mar  1 10:10:15 pequin kernel: last sysfs file: /sys/block/sda/sda1/stat
> Mar  1 10:10:15 pequin kernel: Modules linked in: hci_uart usbhid snd_cs5535audio snd_ac97_codec ac97_bus ehci_hcd ohci_hcd geode_aes libertas_sdio(-)
> Mar  1 10:10:15 pequin kernel: 
> Mar  1 10:10:15 pequin kernel: Pid: 3750, comm: ksdioirqd/mmc0 Not tainted (2.6.29-rc6 #1) 
> Mar  1 10:10:15 pequin kernel: EIP: 0060:[<df7d8b0a>] EFLAGS: 00010006 CPU: 0
> Mar  1 10:10:15 pequin kernel: EIP is at if_sdio_interrupt+0x77a/0x9e8 [libertas_sdio]
> Mar  1 10:10:15 pequin kernel: EAX: 00000758 EBX: 00000000 ECX: 00000000 EDX: 00000001
> Mar  1 10:10:15 pequin kernel: ESI: d5494360 EDI: 0000003c EBP: 0000003c ESP: de147f60
> Mar  1 10:10:15 pequin kernel:  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
> Mar  1 10:10:15 pequin kernel: Process ksdioirqd/mmc0 (pid: 3750, ti=de146000 task=dea3e470 task.ti=de146000)
> Mar  1 10:10:15 pequin kernel: Stack:
> Mar  1 10:10:15 pequin kernel:  00000040 00000a00 00001002 00000000 de200000 00000040 00000287 d5494360
> Mar  1 10:10:15 pequin kernel:  00000000 00000000 00000000 00000001 00000000 deb68600 debf3c00 c0408504
> Mar  1 10:10:15 pequin NetworkManager: <info>  (eth0): supplicant connection state:  completed -> disconnected 
> Mar  1 10:10:15 pequin avahi-daemon[2980]: Withdrawing address record for 192.168.10.124 on eth0.
> Mar  1 10:10:15 pequin kernel:  00000005 00000000 de147fc7 debf3d8c 7fffffff 00000003 deb6866c 00000000
> Mar  1 10:10:15 pequin kernel: Call Trace:
> Mar  1 10:10:15 pequin kernel:  [<c0408504>] sdio_irq_thread+0xe4/0x270
> Mar  1 10:10:15 pequin kernel:  [<c0408420>] sdio_irq_thread+0x0/0x270
> Mar  1 10:10:15 pequin kernel:  [<c013a2b7>] kthread+0x37/0x70
> Mar  1 10:10:15 pequin kernel:  [<c013a280>] kthread+0x0/0x70
> Mar  1 10:10:15 pequin kernel:  [<c0103b1f>] kernel_thread_helper+0x7/0x18
> Mar  1 10:10:15 pequin kernel: Code: f7 40 14 00 ff ff 0f 75 05 ba 94 8f 7d df 89 54 24 04 c7 44 24 08 0d 8f 7d df c7 04 24 9c 8f 7d df e8 c9 b8 d5 e0 e9 04 fc ff ff <0f> 0b eb fe 89 e0 ba 95 8f 7d df 25 00 e0 ff ff f7 40 14 00 ff 
> Mar  1 10:10:15 pequin kernel: EIP: [<df7d8b0a>] if_sdio_interrupt+0x77a/0x9e8 [libertas_sdio] SS:ESP 0068:de147f60
> Mar  1 10:10:15 pequin kernel: ---[ end trace 3c0517aee82a7561 ]---
> Mar  1 10:10:15 pequin kernel: note: ksdioirqd/mmc0[3750] exited with preempt_count 1
> 
> And here's the other one:
> 
> Mar  1 07:05:54 pequin kernel: libertas: command 0x000b timed out
> Mar  1 07:05:54 pequin kernel: libertas: requeueing command 0x000b due to timeout (#1)
> Mar  1 07:05:56 pequin kernel: ------------[ cut here ]------------
> Mar  1 07:05:56 pequin kernel: WARNING: at net/sched/sch_generic.c:226 dev_watchdog+0x23a/0x250()
> Mar  1 07:05:56 pequin kernel: NETDEV WATCHDOG: eth0 (libertas_sdio): transmit timed out
> Mar  1 07:05:56 pequin kernel: Modules linked in: hci_uart usbhid snd_cs5535audio snd_ac97_codec ehci_hcd ac97_bus ohci_hcd geode_aes libertas_sdio
> Mar  1 07:05:56 pequin kernel: Pid: 0, comm: swapper Not tainted 2.6.29-rc6 #1
> Mar  1 07:05:56 pequin kernel: Call Trace:
> Mar  1 07:05:56 pequin kernel:  [<c0126247>] warn_slowpath+0x87/0xe0
> Mar  1 07:05:56 pequin kernel:  [<c013a7db>] autoremove_wake_function+0x1b/0x50
> Mar  1 07:05:56 pequin kernel:  [<c011eae3>] __wake_up_common+0x43/0x70
> Mar  1 07:05:56 pequin kernel:  [<c0121de0>] __wake_up+0x50/0x90
> Mar  1 07:05:56 pequin kernel:  [<c013a73a>] __wake_up_bit+0x2a/0x30
> Mar  1 07:05:56 pequin kernel:  [<c01a9eb2>] end_buffer_write_sync+0x22/0x70
> Mar  1 07:05:56 pequin kernel:  [<c012b038>] raise_softirq_irqoff+0x8/0x50
> Mar  1 07:05:56 pequin kernel:  [<c01a86d0>] end_bio_bh_io_sync+0x0/0x50
> Mar  1 07:05:56 pequin kernel:  [<c0335466>] mix_pool_bytes_extract+0x156/0x180
> Mar  1 07:05:56 pequin kernel:  [<c02d9b52>] strlcpy+0x22/0xb0
> Mar  1 07:05:56 pequin kernel:  [<c046378a>] dev_watchdog+0x23a/0x250
> Mar  1 07:05:56 pequin kernel:  [<c0107db6>] native_sched_clock+0x26/0x80
> Mar  1 07:05:56 pequin kernel:  [<c012fbf5>] run_timer_softirq+0x115/0x210
> Mar  1 07:05:56 pequin kernel:  [<c01234d4>] scheduler_tick+0xa4/0xd0
> Mar  1 07:05:56 pequin kernel:  [<c0463550>] dev_watchdog+0x0/0x250
> Mar  1 07:05:56 pequin kernel:  [<c012b407>] __do_softirq+0x67/0x100
> Mar  1 07:05:56 pequin kernel:  [<c01057ab>] timer_interrupt+0x1b/0x60
> Mar  1 07:05:56 pequin kernel:  [<c0153ad8>] handle_IRQ_event+0x28/0x50
> Mar  1 07:05:56 pequin kernel:  [<c012b4d5>] do_softirq+0x35/0x40
> Mar  1 07:05:56 pequin kernel:  [<c012b66b>] irq_exit+0x3b/0x40
> Mar  1 07:05:56 pequin kernel:  [<c01052ab>] do_IRQ+0x3b/0x80
> Mar  1 07:05:56 pequin kernel:  [<c011f19b>] set_next_entity+0x2b/0x70
> Mar  1 07:05:56 pequin kernel:  [<c01039a7>] common_interrupt+0x27/0x2c
> Mar  1 07:05:56 pequin kernel:  [<c011007b>] generic_get_mtrr+0x10b/0x110
> Mar  1 07:05:56 pequin kernel:  [<c0108c1a>] default_idle+0x3a/0x50
> Mar  1 07:05:56 pequin kernel:  [<c0102375>] cpu_idle+0x65/0x70
> Mar  1 07:05:56 pequin kernel: ---[ end trace 34d17dfd1c2dddaf ]---
> Mar  1 07:05:56 pequin kernel: libertas: tx watch dog timeout
> 
> Any ideas, anyone? 
> 
> Thanks,
> Bill Gribble
> 
> 
> 
> _______________________________________________
> libertas-dev mailing list
> libertas-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libertas-dev




More information about the libertas-dev mailing list