#10265 NORM Not Tri: runin tests cause a libertas/mmc oops

Zarro Boogs per Child bugtracker at laptop.org
Mon Aug 2 16:08:20 EDT 2010


#10265: runin tests cause a libertas/mmc oops
---------------------------------+------------------------------------------
           Reporter:  rsmith     |       Owner:  dsaxena    
               Type:  defect     |      Status:  new        
           Priority:  normal     |   Milestone:  Not Triaged
          Component:  kernel     |     Version:  1.5-C2     
         Resolution:             |    Keywords:             
        Next_action:  never set  |    Verified:  0          
Deployment_affected:             |   Blockedby:             
           Blocking:             |  
---------------------------------+------------------------------------------

Comment(by pgf):

 the version of the runin tests being run, from "run.log" files at the link
 richard gave above, is "Runin Ver: 0.9.26Q".  the 'Q' implies that quanta
 has modified the test -- the released versio never unloads the module.

 a longer kernel log excerpt shown below.  here we can see that the driver
 has been removed (if_sdio_exit_module()) and reinstalled just prior to the
 oops.  the libertas driver is (apparently) notorious for not handling
 online reinstalls well.

 {{{

 <7>[21874.003580] libertas cmd: CMD_RESP: response 0x8010, seq 746, size
 24
 <7>[21874.070170] libertas cmd: DNLD_CMD: command 0x0006, seq 747, size 63
 <7>[21874.070184] libertas enter: if_sdio_host_to_card(type 1, bytes 63)
 <7>[21874.070213] libertas enter: if_sdio_host_to_card_worker()
 <7>[21874.070354] libertas enter: if_sdio_interrupt()
 <7>[21874.070380] libertas sdio: interrupt: 0x2
 <7>[21874.529749] libertas enter: if_sdio_interrupt()
 <7>[21874.529782] libertas sdio: interrupt: 0x1
 <7>[21874.529809] libertas enter: if_sdio_card_to_host()
 <7>[21874.529966] libertas sdio: packet of type 1 and size 678 bytes
 <7>[21874.529974] libertas enter: if_sdio_handle_cmd()
 <7>[21874.530042] libertas cmd: CMD_RESP: response 0x8006, seq 747, size
 674
 <7>[21874.830098] libertas cmd: DNLD_CMD: command 0x0006, seq 748, size 63
 <7>[21874.830112] libertas enter: if_sdio_host_to_card(type 1, bytes 63)
 <7>[21874.830139] libertas enter: if_sdio_host_to_card_worker()
 <7>[21874.830265] libertas enter: if_sdio_interrupt()
 <7>[21874.830292] libertas sdio: interrupt: 0x2
 <7>[21874.841845] libertas enter: if_sdio_exit_module()
 <7>[21874.841908] libertas enter: if_sdio_remove()
 <7>[21874.841916] libertas sdio: call remove card
 <6>[21874.842067] libertas: PREP_CMD: command 0x0006 failed: -2
 <3>[21874.842080] libertas: SCAN_CMD failed
 <7>[21874.842127] libertas enter: lbs_cmd_async()
 <7>[21874.928031] lib80211_crypt: unregistered algorithm 'NULL'
 <6>[21874.957567] lib80211: common routines for IEEE802.11 drivers
 <7>[21874.957579] lib80211_crypt: registered algorithm 'NULL'
 <6>[21875.216542] libertas_sdio: Libertas SDIO driver
 <6>[21875.216556] libertas_sdio: Copyright Pierre Ossman
 <6>[21875.216556] libertas_sdio: Copyright Pierre Ossman
 <6>[21875.258264] libertas_sdio mmc1:0001:1: firmware: requesting
 sd8686_helper.
 bin
 <1>[21875.280526] BUG: unable to handle kernel paging request at 00001d9c
 <1>[21875.287263] IP: [<b0557b1f>] _raw_spin_lock+0xb/0xe0
 <4>[21875.290031] *pde = 00000000
 <0>[21875.290031] Oops: 0000 [#1] PREEMPT
 <0>[21875.290031] last sysfs file: /sys/devices/platform/olpc-
 battery.0/power_su
 pply/olpc-battery/capacity
 <4>[21875.290031] Modules linked in: libertas_sdio(+) libertas lib80211
 fuse via
 _camera videobuf_dma_sg videobuf_core mousedev serio_raw psmouse [last
 unloaded:
  lib80211]
 <4>[21875.290031]
 <4>[21875.290031] Pid: 3324, comm: ksdioirqd/mmc1 Not tainted
 (2.6.31_xo1.5-2010
 0607.1740.1.olpc.ead3d3e #1) XO
 <4>[21875.290031] EIP: 0060:[<b0557b1f>] EFLAGS: 00010082 CPU: 0
 <4>[21875.290031] EIP is at _raw_spin_lock+0xb/0xe0
 <4>[21875.290031] EAX: 00001d98 EBX: 00001d98 ECX: e9f3de44 EDX: e9f3d000
 <4>[21875.290031] ESI: 00001d98 EDI: 00000000 EBP: e9f3df34 ESP: e9f3df20
 <4>[21875.290031]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
 <0>[21875.290031] Process ksdioirqd/mmc1 (pid: 3324, ti=e9f3d000
 task=eaca9070 t
 ask.ti=e9f3d000)
 <0>[21875.290031] Stack:
 <4>[21875.290031]  e9fc0000 00000344 00000202 00001d98 00000000 e9f3df44
 b06f43f
 b e9fc0000
 <4>[21875.290031] <0> e9fc0020 e9f3df78 f15b3711 00000195 00000000
 00000000 0000
 0000 00000340
 <4>[21875.290031] <0> 00000000 00000000 00000000 00000000 e9a89748
 7fffffff e9f3
 dfac b06212fb
 <0>[21875.290031] Call Trace:
 <4>[21875.290031]  [<b06f43fb>] ? _spin_lock_irqsave+0x20/0x26
 <4>[21875.290031]  [<f15b3711>] ? if_sdio_interrupt+0x3f9/0x7f0
 [libertas_sdio]
 <4>[21875.290031]  [<b06212fb>] ? sdio_irq_thread+0xe4/0x1d1
 <4>[21875.290031]  [<b0621217>] ? sdio_irq_thread+0x0/0x1d1
 <4>[21875.290031]  [<b0432aa9>] ? kthread+0x6d/0x72
 <4>[21875.290031]  [<b0432a3c>] ? kthread+0x0/0x72
 <4>[21875.290031]  [<b0403103>] ? kernel_thread_helper+0x7/0x10
 <0>[21875.290031] Code: 40 08 00 00 00 00 8b 15 c0 8b 80 b0 89 50 0c eb 0a
 ba f0
  52 79 b0 e8 e3 fe ff ff 89 d8 5b 5d c3 55 89 e5 57 56 53 89 c3 83 ec 08
 <81> 78
  04 ad 4e ad de 74 0a ba 50 52 79 b0 e8 c0 fe ff ff a1 c0
 <0>[21875.290031] EIP: [<b0557b1f>] _raw_spin_lock+0xb/0xe0 SS:ESP
 0068:e9f3df20
 <0>[21875.290031] CR2: 0000000000001d9c
 <4>[21875.290031] ---[ end trace a4e05121947387b3 ]---
 <6>[21875.290031] note: ksdioirqd/mmc1[3324] exited with preempt_count 1
 <7>[21877.009153] olpc-pm-1.5: SCI 0x4 received
 <7>[21877.026049] olpc-pm-1.5: SCI 0x0 received


 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/10265#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list