#5247 NORM Never A: CMD_802_11_RESET, CMD_ACT_HALT only seems to halt system for 5 seconds.

Zarro Boogs per Child bugtracker at laptop.org
Sat Dec 1 09:03:54 EST 2007


#5247: CMD_802_11_RESET, CMD_ACT_HALT only seems to halt system for 5 seconds.
----------------------+-----------------------------------------------------
 Reporter:  dwmw2     |       Owner:  jcardona      
     Type:  defect    |      Status:  new           
 Priority:  normal    |   Milestone:  Never Assigned
Component:  wireless  |     Version:                
 Keywords:            |    Verified:  0             
----------------------+-----------------------------------------------------
 The upstream libertas driver sends CMD_802_11_RESET, subcommand 'HALT'
 (0x3) when it's unloaded.

 This allows me to unload and reload the driver, but only if I reload it
 within 5 seconds.

 This works...

 {{{
 [root at efika ~]# rmmod usb8xxx ; sleep 5 ; insmod ./usb8xxx.ko
 [ 1009.364612] libertas host: PREP_CMD: command 0x0005
 [ 1009.369845] libertas host: QUEUE_CMD: inserted command 0x0005 into
 cmdpendingq
 [ 1009.377490] usbcore: deregistering interface driver usb8xxx
 [ 1009.385296] libertas thread: main-thread 222 (waking up): intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1009.395314] libertas thread: main-thread 333: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1009.404220] libertas thread: main-thread 444: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1009.413092] libertas host: EXEC_NEXT_CMD: sending command 0x0005
 [ 1009.419426] libertas host: DNLD_CMD: command 0x0005, size 10, jiffies
 709180
 [ 1009.426823] usb8xxx usbd: 1-2:*** type = 1
 [ 1009.431177] usb8xxx usbd: 1-2:size after = 10
 [ 1009.435850] libertas cmd: DNLD_CMD: sent command 0x0005, jiffies 709196
 [ 1009.442883] libertas thread: main-thread 111: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1009.451794] libertas thread: main-thread sleeping... Conn=1 IntC=0
 PS_mode=0 PS_State=0
 [ 1010.559269] libertas thread: main-thread 222 (waking up): intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1010.569390] libertas thread: main-thread 333: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1010.578310] libertas thread: main-thread: break from main thread:
 surpriseremoved=0x1
 [ 1015.710209] usb8xxx usbd: 1-2:bcdUSB = 0x200 bDeviceClass = 0x0
 bDeviceSubClass = 0x0, bDeviceProtocol = 0x0
 [ 1015.720652] usb8xxx usbd: 1-2:Bulk out size is 64
 [ 1015.725672] usb8xxx usbd: 1-2:out_endpoint = 2
 [ 1015.730494] usb8xxx usbd: 1-2:Bulk in size is 64
 [ 1015.735445] usb8xxx usbd: 1-2:in_endpoint = 131
 [ 1015.875731] usb8xxx usbd (INT): 1-2:Received valid boot command
 response
 [ 1015.977662] usb8xxx usbd: 1-2:Wlan sched timeout
 [ 1016.083191] usb8xxx usbd: 1-2:Wlan sched timeout
 [ 1016.189193] usb8xxx usbd: 1-2:Wlan sched timeout
 [ 1016.295199] usb8xxx usbd: 1-2:Wlan sched timeout
 [ 1016.401195] usb8xxx usbd: 1-2:Wlan sched timeout
 [ 1016.507202] usb8xxx usbd: 1-2:Wlan sched timeout
 [ 1016.613194] usb8xxx usbd: 1-2:Wlan sched timeout
 [ 1016.720726] libertas thread: Starting main thread...
 [ 1016.728378] libertas thread: main-thread 111: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1016.737337] libertas thread: main-thread sleeping... Conn=1 IntC=0
 PS_mode=0 PS_State=0
 [ 1016.782711] usb8xxx usbd (INT): 1-2:Recv length = 0xc, Recv type =
 0xF00DFACE
 [ 1016.790352] libertas thread (INT): lbs_interrupt: intcounter=0
 [ 1016.796556] usb8xxx usbd (INT): 1-2:Wake up main thread to handle cmd
 response
 [ 1016.804418] libertas thread: main-thread 222 (waking up): intcounter=1
 currenttxskb=00000000 dnld_sent=0
 [ 1016.814408] libertas thread: main-thread 333: intcounter=1
 currenttxskb=00000000 dnld_sent=0
 [ 1016.823304] usb8xxx usbd: 1-2:Int cause is 0x8
 [ 1016.827959] libertas thread: main-thread 444: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1016.836732] libertas thread: main-thread: cmd response ready
 [ 1016.842701] libertas host: CMD_RESP: cur_cmd is NULL
 [ 1016.847985] libertas thread: main-thread 111: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1016.856883] libertas thread: main-thread sleeping... Conn=1 IntC=0
 PS_mode=0 PS_State=0
 [ 1016.983236] libertas host: PREP_CMD: command 0x0003
 [ 1016.988477] libertas host: QUEUE_CMD: inserted command 0x0003 into
 cmdpendingq
 [ 1016.996106] libertas host: PREP_CMD: wait for response
 [ 1017.003393] libertas thread: main-thread 222 (waking up): intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1017.013412] libertas thread: main-thread 333: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1017.022292] libertas thread: main-thread 444: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1017.031187] libertas host: EXEC_NEXT_CMD: sending command 0x0003
 [ 1017.037517] libertas host: DNLD_CMD: command 0x0003, size 46, jiffies
 716798
 }}}

 ... and this doesn't ...
 {{{
 [root at efika ~]# rmmod usb8xxx ; sleep 6 ; insmod ./usb8xxx.ko
 [ 1022.407764] libertas host: PREP_CMD: command 0x0005
 [ 1022.413002] libertas host: QUEUE_CMD: inserted command 0x0005 into
 cmdpendingq
 [ 1022.420639] usbcore: deregistering interface driver usb8xxx
 [ 1022.428427] libertas thread: main-thread 222 (waking up): intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1022.438431] libertas thread: main-thread 333: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1022.447376] libertas thread: main-thread 444: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1022.456267] libertas host: EXEC_NEXT_CMD: sending command 0x0005
 [ 1022.462604] libertas host: DNLD_CMD: command 0x0005, size 10, jiffies
 722223
 [ 1022.470005] usb8xxx usbd: 1-2:*** type = 1
 [ 1022.474370] usb8xxx usbd: 1-2:size after = 10
 [ 1022.479045] libertas cmd: DNLD_CMD: sent command 0x0005, jiffies 722239
 [ 1022.486089] libertas thread: main-thread 111: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1022.495005] libertas thread: main-thread sleeping... Conn=1 IntC=0
 PS_mode=0 PS_State=0
 [ 1023.618305] libertas thread: main-thread 222 (waking up): intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1023.628429] libertas thread: main-thread 333: intcounter=0
 currenttxskb=00000000 dnld_sent=0
 [ 1023.637353] libertas thread: main-thread: break from main thread:
 surpriseremoved=0x1
 [ 1029.768878] usb8xxx usbd: 1-2:bcdUSB = 0x200 bDeviceClass = 0x0
 bDeviceSubClass = 0x0, bDeviceProtocol = 0x0
 [ 1029.779315] usb8xxx usbd: 1-2:Bulk out size is 64
 [ 1029.784328] usb8xxx usbd: 1-2:out_endpoint = 2
 [ 1029.789183] usb8xxx usbd: 1-2:Bulk in size is 64
 [ 1029.794163] usb8xxx usbd: 1-2:in_endpoint = 131
 [ 1031.250750] usb8xxx: boot cmd response wrong magic number (0xf00dface)
 [ 1034.983715] usb8xxx usbd (INT): 1-2:URB status is failed during fw load
 [ 1035.140250] usb 1-2: reset full speed USB device using ppc-of-ohci and
 address 8
 [ 1035.321840] usb 1-2: device firmware changed
 [ 1035.326652] usb8xxx usbd: 1-2:Submit Rx URB failed
 [ 1035.331834] usb8xxx usbd: 1-2:URB submission is failed
 [ 1035.337460] usb8xxx usbd: 1-2:FW upload failed<6>usb 1-2: USB
 disconnect, address 8
 [ 1035.353789] usb8xxx: probe of 1-2:1.0 failed with error -12
 [ 1035.524264] usb 1-2: new full speed USB device using ppc-of-ohci and
 address 9
 [ 1035.718583] usb 1-2: configuration #1 chosen from 1 choice
 [ 1035.732548] usb8xxx usbd: 1-2:bcdUSB = 0x200 bDeviceClass = 0x0
 bDeviceSubClass = 0x0, bDeviceProtocol = 0x0
 [ 1035.742966] usb8xxx usbd: 1-2:Bulk out size is 64
 [ 1035.748002] usb8xxx usbd: 1-2:out_endpoint = 2
 [ 1035.752826] usb8xxx usbd: 1-2:Bulk in size is 64
 [ 1035.757771] usb8xxx usbd: 1-2:in_endpoint = 131
 [ 1036.056722] usb8xxx: URB in failure status: -62
 [ 1037.066720] usb8xxx: URB in failure status: -62
 [ 1038.076725] usb8xxx: URB in failure status: -62
 [ 1039.086725] usb8xxx: URB in failure status: -62
 [ 1040.096724] usb8xxx: URB in failure status: -62
 [ 1041.106719] usb8xxx usbd (INT): 1-2:URB status is failed during fw load
 [ 1041.263252] usb 1-2: reset full speed USB device using ppc-of-ohci and
 address 9
 [ 1041.453720] usb8xxx: URB in failure status: -62
 [ 1042.461724] usb8xxx usbd (INT): 1-2:URB status is failed during fw load
 [ 1042.618244] usb 1-2: reset full speed USB device using ppc-of-ohci and
 address 9
 [ 1042.811718] usb8xxx: URB in failure status: -62
 [ 1043.819724] usb8xxx usbd (INT): 1-2:URB status is failed during fw load
 [ 1043.976244] usb 1-2: reset full speed USB device using ppc-of-ohci and
 address 9
 [ 1045.177724] usb8xxx usbd (INT): 1-2:URB status is failed during fw load
 [ 1045.334244] usb 1-2: reset full speed USB device using ppc-of-ohci and
 address 9
 [ 1045.531720] usb8xxx: URB in failure status: -62
 [ 1046.539717] usb8xxx usbd (INT): 1-2:URB status is failed during fw load
 [ 1046.696258] usb 1-2: reset full speed USB device using ppc-of-ohci and
 address 9
 [ 1046.893721] usb8xxx: URB in failure status: -62
 [ 1047.901723] usb8xxx usbd (INT): 1-2:URB status is failed during fw load
 [ 1048.058251] usb 1-2: reset full speed USB device using ppc-of-ohci and
 address 9
 [ 1048.255719] usb8xxx: URB in failure status: -62
 [ 1049.263725] usb8xxx usbd (INT): 1-2:URB status is failed during fw load
 [ 1049.420244] usb 1-2: reset full speed USB device using ppc-of-ohci and
 address 9
 [ 1049.617720] usb8xxx: URB in failure status: -62
 [ 1050.625724] usb8xxx usbd (INT): 1-2:URB status is failed during fw load
 [ 1050.782244] usb 1-2: reset full speed USB device using ppc-of-ohci and
 address 9
 [ 1050.979720] usb8xxx: URB in failure status: -62
 [ 1051.987724] usb8xxx usbd (INT): 1-2:URB status is failed during fw load
 [ 1052.144269] usb 1-2: reset full speed USB device using ppc-of-ohci and
 address 9
 [ 1052.341721] usb8xxx: URB in failure status: -62
 [ 1053.349197] usb8xxx usbd: 1-2:FW upload failed<7>usb8xxx usbd (INT):
 1-2:URB status is failed during fw load
 [ 1053.510247] usb 1-2: reset full speed USB device using ppc-of-ohci and
 address 9
 [ 1053.706010] usb8xxx: probe of 1-2:1.0 failed with error -12
 [ 1053.715680] usbcore: registered new interface driver usb8xxx
 }}}

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



More information about the Bugs mailing list