#10679 NORM 1.75-so: XO-1.75 A2 os3 kernel panic on USB read

Zarro Boogs per Child bugtracker at laptop.org
Mon Feb 7 22:02:51 EST 2011


#10679: XO-1.75 A2 os3 kernel panic on USB read
--------------------+-------------------------------------------------------
 Reporter:  Quozl   |                 Owner:  buytenh                          
     Type:  defect  |                Status:  new                              
 Priority:  normal  |             Milestone:  1.75-software                    
Component:  kernel  |               Version:  Development build as of this date
 Keywords:  os3     |           Next_action:  reproduce                        
 Verified:  0       |   Deployment_affected:                                   
Blockedby:          |              Blocking:                                   
--------------------+-------------------------------------------------------
 Inserted a USB drive.  Issued a shell command:

 {{{
 # md5sum /media/*/*
 }}}

 Worked first time.  Second time a kernel did panic:

 {{{
 [  565.117953] Unable to handle kernel NULL pointer dereference at virtual
 address 00000054
 [  565.117983] pgd = c0004000
 [  565.129395] [00000054] *pgd=00000000
 [  565.138975] Internal error: Oops: 17 [#1] PREEMPT
 [  565.145286] last sysfs file: /sys/devices/platform/pxau2o-
 ehci.0/usbmon/usbmon1/uevent
 [  565.154918] Modules linked in:
 [  565.159627] CPU: 0    Not tainted  (2.6.36-00139-ge7978440 #67)
 [  565.159627] PC is at qh_completions+0x248/0x478
 [  565.167269] LR is at ehci_work+0xc8/0x8d8
 [  565.173625] pc : [<c02520b8>]    lr : [<c0252f58>]    psr: 80000193
 [  565.179546] sp : c0519e00  ip : 00000000  fp : ffa201e0
 [  565.179546] r10: dc08d0dc  r9 : 00000001  r8 : dcef3ce0
 [  565.195420] r7 : 00000000  r6 : ffffff8d  r5 : ffa228a0  r4 : 00000040
 [  565.202985] r3 : 00000000  r2 : 00000001  r1 : 00000000  r0 : dc08d0dc
 [  565.221183] Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
 Segment kernel
 [  565.221183] Control: 00c5387d  Table: 00ac8008  DAC: 00000017
 [  565.240186] Process swapper (pid: 0, stack limit = 0xc05182e8)
 [  565.240186] Stack: (0xc0519e00 to 0xc051a000)
 [  565.256804] 9e00: dc08d1a4 000066e0 00000001 00000000 dcef3cec ffa228d8
 00000002 ffa22300
 [  565.256804] 9e20: dc08d000 dc08d0dc dcef3ce0 00000001 dcef3cec 00000001
 00010035 0001d280
 [  565.268581] 9e40: dc08d000 c0252f58 c051ed28 0000000c ffffffff c0519ea0
 c054cf40 00000813
 [  565.280487] 9e60: 00000102 00000102 00000408 ffa24408 00000fff 00000000
 00000813 c0519ec8
 [  565.292557] 9e80: c054cf40 0001360c 00000234 dc08d0dc 000cc089 00000000
 00000001 00000001
 [  565.304824] 9ea0: 00010035 0001d280 dc08d000 c0255e8c 4291431c 00000000
 07bfa480 00000235
 [  565.329810] 9ec0: c002e5b0 c0060fcc 06f6791c 00000235 c051c408 c0061778
 06f6791c 00000235
 [  565.329810] 9ee0: 06f6791c 00000235 00006791 07bfa480 00000235 07bfa480
 07bfa480 60000093
 [  565.355492] 9f00: dcdd7ae8 c0519f50 c054cf40 0001360c 00000234 dc08d000
 40000193 00000000
 [  565.368604] 9f20: 0000002c 00000001 c0518000 0001d280 00000000 c023fec4
 c023fe8c dc0e3260
 [  565.381889] 9f40: 00000000 c0074694 00000000 c0520530 0000002c dc0e3260
 00000002 c007627c
 [  565.395338] 9f60: 0000002c 00000000 c0545708 c0023070 60000013 ffffffff
 fe282104 c0023abc
 [  565.395338] 9f80: 06f66547 00000000 c0519fc0 00000000 c0518000 c051bc18
 c0545708 c051bc10
 [  565.422718] 9fa0: 0001d394 560f5815 0001d280 00000000 00000000 c0519fc8
 c0025030 c00251a0
 [  565.422718] 9fc0: 60000013 ffffffff c0595604 c001e8a4 c09af0a0 c00089e4
 c00084a8 0000270f
 [  565.436633] 9fe0: 00000100 c001e8a4 00c5387d c05457e0 c001e8a0 00008034
 00000000 00000000
 [  565.450717] [<c02520b8>] (qh_completions+0x248/0x478) from [<c0252f58>]
 (ehci_work+0xc8/0x8d8)
 [  565.479910] [<c0252f58>] (ehci_work+0xc8/0x8d8) from [<c0255e8c>]
 (ehci_irq+0x2d8/0x340)
 [  565.494530] [<c0255e8c>] (ehci_irq+0x2d8/0x340) from [<c023fec4>]
 (usb_hcd_irq+0x38/0x88)
 [  565.494530] [<c023fec4>] (usb_hcd_irq+0x38/0x88) from [<c0074694>]
 (handle_IRQ_event+0x24/0xe0)
 [  565.509392] [<c0074694>] (handle_IRQ_event+0x24/0xe0) from [<c007627c>]
 (handle_level_irq+0xd4/0x180)
 [  565.548285] [<c007627c>] (handle_level_irq+0xd4/0x180) from
 [<c0023070>] (asm_do_IRQ+0x70/0x94)
 [  565.548285] [<c0023070>] (asm_do_IRQ+0x70/0x94) from [<c0023abc>]
 (__irq_svc+0x5c/0xa0)
 [  565.579484] Exception stack(0xc0519f80 to 0xc0519fc8)
 [  565.591863] 9f80: 06f66547 00000000 c0519fc0 00000000 c0518000 c051bc18
 c0545708 c051bc10
 [  565.591863] 9fa0: 0001d394 560f5815 0001d280 00000000 00000000 c0519fc8
 c0025030 c00251a0
 [  565.622941] 9fc0: 60000013 ffffffff
 [  565.622941] [<c0023abc>] (__irq_svc+0x5c/0xa0) from [<c00251a0>]
 (cpu_idle+0x68/0xa0)
 [  565.648926] [<c00251a0>] (cpu_idle+0x68/0xa0) from [<c00089e4>]
 (start_kernel+0x21c/0x25c)
 [  565.648926] [<c00089e4>] (start_kernel+0x21c/0x25c) from [<00008034>]
 (0x8034)
 [  565.679525] Code: e1a03424 e2033003 e3530002 e5951044 (15972054)
 [  565.693234] ---[ end trace c63a77b2659d56be ]---
 [  565.705490] Kernel panic - not syncing: Fatal exception in interrupt
 [  565.719553] [<c0029c40>] (unwind_backtrace+0x0/0x158) from [<c0359f64>]
 (panic+0x68/0x184)
 [  565.735749] [<c0359f64>] (panic+0x68/0x184) from [<c0027bc8>]
 (die+0x1a8/0x1e8)
 [  565.750984] [<c0027bc8>] (die+0x1a8/0x1e8) from [<c002ae48>]
 (__do_kernel_fault+0x64/0x84)
 [  565.767202] [<c002ae48>] (__do_kernel_fault+0x64/0x84) from
 [<c002b02c>] (do_page_fault+0x1c4/0x1d8)
 [  565.792310] [<c002b02c>] (do_page_fault+0x1c4/0x1d8) from [<c002326c>]
 (do_DataAbort+0x30/0x98)
 [  565.809239] [<c002326c>] (do_DataAbort+0x30/0x98) from [<c0023a34>]
 (__dabt_svc+0x54/0x80)
 [  565.825825] Exception stack(0xc0519db8 to 0xc0519e00)
 [  565.839174] 9da0:
 dc08d0dc 00000000
 [  565.855743] 9dc0: 00000001 00000000 00000040 ffa228a0 ffffff8d 00000000
 dcef3ce0 00000001
 [  565.872355] 9de0: dc08d0dc ffa201e0 00000000 c0519e00 c0252f58 c02520b8
 80000193 ffffffff
 [  565.888994] [<c0023a34>] (__dabt_svc+0x54/0x80) from [<c02520b8>]
 (qh_completions+0x248/0x478)
 [  565.906154] [<c02520b8>] (qh_completions+0x248/0x478) from [<c0252f58>]
 (ehci_work+0xc8/0x8d8)
 [  565.923351] [<c0252f58>] (ehci_work+0xc8/0x8d8) from [<c0255e8c>]
 (ehci_irq+0x2d8/0x340)
 [  565.940028] [<c0255e8c>] (ehci_irq+0x2d8/0x340) from [<c023fec4>]
 (usb_hcd_irq+0x38/0x88)
 [  565.956778] [<c023fec4>] (usb_hcd_irq+0x38/0x88) from [<c0074694>]
 (handle_IRQ_event+0x24/0xe0)
 [  565.974159] [<c0074694>] (handle_IRQ_event+0x24/0xe0) from [<c007627c>]
 (handle_level_irq+0xd4/0x180)
 [  566.000703] [<c007627c>] (handle_level_irq+0xd4/0x180) from
 [<c0023070>] (asm_do_IRQ+0x70/0x94)
 [  566.018375] [<c0023070>] (asm_do_IRQ+0x70/0x94) from [<c0023abc>]
 (__irq_svc+0x5c/0xa0)
 [  566.035421] Exception stack(0xc0519f80 to 0xc0519fc8)
 [  566.049466] 9f80: 06f66547 00000000 c0519fc0 00000000 c0518000 c051bc18
 c0545708 c051bc10
 [  566.066743] 9fa0: 0001d394 560f5815 0001d280 00000000 00000000 c0519fc8
 c0025030 c00251a0
 [  566.083923] 9fc0: 60000013 ffffffff
 [  566.096353] [<c0023abc>] (__irq_svc+0x5c/0xa0) from [<c00251a0>]
 (cpu_idle+0x68/0xa0)
 [  566.113284] [<c00251a0>] (cpu_idle+0x68/0xa0) from [<c00089e4>]
 (start_kernel+0x21c/0x25c)
 [  566.130609] [<c00089e4>] (start_kernel+0x21c/0x25c) from [<00008034>]
 (0x8034)

 }}}

 After a reboot using power button, the touchpad no longer worked.  No
 interrupts shown for irq 20 olpc-ec-1.75 in response to touchpad actions.
 Keyboard actions worked fine, with interrupts.

 After another reboot using power button, the touchpad worked.

 The panic is not fully reproducible, in that subsequent attempts yield
 different results; stall of I/O, as shown by only the last two numbers in
 /proc/diskstats incrementing.

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


More information about the Bugs mailing list