#5026 NORM Never A: khubd fails to suspend and triggers a BUG
Zarro Boogs per Child
bugtracker at laptop.org
Mon Nov 19 21:21:11 EST 2007
#5026: khubd fails to suspend and triggers a BUG
----------------------+-----------------------------------------------------
Reporter: dilinger | Owner: dilinger
Type: defect | Status: new
Priority: normal | Milestone: Never Assigned
Component: kernel | Version:
Keywords: | Verified: 0
----------------------+-----------------------------------------------------
Using build 637, ruinning the camera activity, I just got the following
while quickly suspending and resuming:
{{{
[ 4.792225] Suspending console(s)
+r[ 4.888492] olpc_do_sleep!
[ 3.533403] usb usb1: root hub lost power or was reset
[ 3.756603] usb usb2: root hub lost power or was reset
[ 3.972855] usb_reset_device!
[ 4.032178] hub_port_wait_reset: portstatus=503 portchange=10
[ 4.157041] hub_port_wait_reset: portstatus=503 portchange=10
[ 4.247940] USB_REQ_SET_CONFIGURATION!
[ 4.248313] usb 1-1: can't restore configuration #1 (error=-32)
[ 4.248330] logical disconnect on port 1
[ 4.248360] usb_endpoint usbdev1.2_ep02: PM: resume from 0, parent
1-1:1.0 st
ill 2
[ 4.248383] usb_endpoint usbdev1.2_ep83: PM: resume from 0, parent
1-1:1.0 st
ill 2
[ 4.248422] usb_endpoint usbdev1.2_ep00: PM: resume from 0, parent 1-1
still
2
[ 4.248443] usb8xxx 1-1:1.0: PM: resume from 2, parent 1-1 still 2
[ 4.267285] printk: 30 messages suppressed.
[ 4.267302] cafe1000-ccic 0000:00:0c.2: Frame overrun on 1, frames lost
[ 4.347705] net msh0: PM: resume from 0, parent 1-1 still 2
[ 4.347724] net eth0: PM: resume from 0, parent 1-1 still 2
[ 4.439943] Restarting tasks ... <6>usb 1-1: USB disconnect, address 2
[ 4.646546] done.
[ 4.803048] Stopping tasks ... <4>printk: 141 messages suppressed.
[ 9.299275] cafe1000-ccic 0000:00:0c.2: Frame overrun on 2, frames lost
[ 14.293588] printk: 149 messages suppressed.
[ 14.297876] cafe1000-ccic 0000:00:0c.2: Frame overrun on 2, frames lost
[ 19.291154] printk: 149 messages suppressed.
[ 19.295437] cafe1000-ccic 0000:00:0c.2: Frame overrun on 2, frames lost
[ 24.288720] printk: 149 messages suppressed.
[ 24.293107] cafe1000-ccic 0000:00:0c.2: Frame overrun on 2, frames lost
[ 27.972557]
[ 27.974073] Stopping kernel threads timed out after 20 seconds (1 tasks
refus
ing to freeze):
[ 27.982606] khubd
[ 27.984746] Restarting tasks ... <0>------------[ cut here
]------------
[ 28.138180] Kernel BUG at c044ce79 [verbose debug info unavailable]
[ 28.144466] invalid opcode: 0000 [#1]
[ 28.148135] PREEMPT
[ 28.150364] Modules linked in: i2c_dev mousedev psmouse serio_raw
usb8xxx lib
ertas ieee80211 ieee80211_crypt cs5535_gpio
[ 28.161502] CPU: 0
[ 28.161509] EIP: 0060:[<c044ce79>] Not tainted VLI
[ 28.161520] EFLAGS: 00010046 (2.6.22-20071119.bernie11.olpc.9f4c8d20
#1)
[ 28.176020] EIP is at cache_alloc_refill+0x110/0x43d
[ 28.180998] eax: 00000003 ebx: 00000000 ecx: cedf25c0 edx:
cedf9620
[ 28.187801] esi: cdfb0000 edi: 00000006 ebp: cedf25c0 esp:
cebcbec8
[ 28.194602] ds: 007b es: 007b fs: 0000 gs: 0033 ss: 0068
[ 28.200453] Process net.hotplug (pid: 1768, ti=cebcb000 task=c44f7570
task.ti
=cebcb000)
[ 28.208295] Stack: 000000d0 cedf25c0 00000000 cedf9620 cedf7a20
cedf4400 0000
0246 c044cf02
[ 28.216873] 00000046 00000296 000000d0 cedf25c0 cbc121f8
c044cd5f cebc
bfb8 c44f7570
[ 28.225461] fffffff4 c040fb58 000000d0 cedf2680 cebcb000
cebcbfb8 bfc1
c568 01200011
[ 28.234047] Call Trace:
[ 28.236708] [<c044cf02>] cache_alloc_refill+0x199/0x43d
[ 28.242076] [<c044cd5f>] kmem_cache_alloc+0x46/0x50
[ 28.247084] [<c040fb58>] copy_process+0x86/0x1046
[ 28.251928] [<c0611f57>] _spin_unlock_irq+0x10/0x24
[ 28.256941] [<c041e3ee>] alloc_pid+0x20f/0x230
[ 28.261523] [<c0410d20>] do_fork+0x99/0x1bb
[ 28.265849] [<c04d52da>] copy_to_user+0x2f/0x45
[ 28.270514] [<c0402222>] sys_clone+0x36/0x3b
[ 28.274916] [<c0403cd6>] sysenter_past_esp+0x5f/0x85
[ 28.280012] [<c0610000>] __down_trylock+0x40/0x43
[ 28.284857] =======================
[ 28.288445] Code: 00 00 8b 54 24 0c 8b 32 39 d6 75 13 8b 72 10 89 d0 83
c0 10
c7 42 40 01 00 00 00 39 c6 74 78 8b 4c 24 04 8b 41 1c 39 46 10 72 31 <0f>
0b eb
fe 8b 6c 24 10 40 8b 5e 14 8b 4d 00 8b 6c 24 04 8b 55
[ 28.308975] EIP: [<c044ce79>] cache_alloc_refill+0x110/0x43d SS:ESP
0068:cebc
bec8
[ 28.322161] note: net.hotplug[1768] exited with preempt_count 1
[ 28.328205] BUG: sleeping function called from invalid context at
kernel/rwse
m.c:20
[ 28.335965] in_atomic():1, irqs_disabled():0
[ 28.340267] [<c042330f>] down_read+0x12/0x1f
[ 28.344787] [<c04312ad>] acct_collect+0x37/0x132
[ 28.349563] [<c0413f36>] do_exit+0x1b3/0x6c6
[ 28.354075] [<c0404867>] die+0x1e0/0x20c
[ 28.358168] [<c0404b3d>] do_invalid_op+0x0/0x8a
[ 28.362922] [<c0404bbe>] do_invalid_op+0x81/0x8a
[ 28.367693] [<c044ce79>] cache_alloc_refill+0x110/0x43d
[ 28.373149] [<c0407ada>] kernel_fpu_begin+0x13/0x45
[ 28.378182] [<c04d4f81>] mmx_clear_page+0x84/0x9b
[ 28.383112] [<c043931b>] get_page_from_freelist+0x281/0x32d
[ 28.388956] [<c0402c15>] __switch_to+0x1f/0x109
[ 28.393625] [<c0610877>] __sched_text_start+0x5af/0x5c9
[ 28.399093] [<c061212a>] error_code+0x6a/0x70
[ 28.403710] [<c044ce79>] cache_alloc_refill+0x110/0x43d
[ 28.409095] [<c044cf02>] cache_alloc_refill+0x199/0x43d
[ 28.414542] [<c044cd5f>] kmem_cache_alloc+0x46/0x50
[ 28.419663] [<c040fb58>] copy_process+0x86/0x1046
[ 28.424533] [<c0611f57>] _spin_unlock_irq+0x10/0x24
[ 28.429668] [<c041e3ee>] alloc_pid+0x20f/0x230
[ 28.434256] [<c0410d20>] do_fork+0x99/0x1bb
[ 28.438706] [<c04d52da>] copy_to_user+0x2f/0x45
[ 28.443370] [<c0402222>] sys_clone+0x36/0x3b
[ 28.447900] [<c0403cd6>] sysenter_past_esp+0x5f/0x85
[ 28.453077] [<c0610000>] __down_trylock+0x40/0x43
[ 28.457952] =======================
[ 28.461677] BUG: scheduling while atomic: net.hotplug/0x10000001/1768
[ 28.468149] [<c061031d>] __sched_text_start+0x55/0x5c9
[ 28.473523] [<c0411f91>] vprintk+0x2b3/0x2ed
[ 28.477947] [<c040e9f7>] __cond_resched+0x21/0x3b
[ 28.482888] [<c0610a5d>] cond_resched+0x26/0x31
[ 28.487582] [<c043f16e>] unmap_vmas+0x3a0/0x47c
[ 28.492369] [<c0441bd7>] exit_mmap+0x69/0xf2
[ 28.496807] [<c040fa73>] mmput+0x2e/0x73
[ 28.500963] [<c0413f4d>] do_exit+0x1ca/0x6c6
[ 28.505369] [<c0404867>] die+0x1e0/0x20c
[ 28.509524] [<c0404b3d>] do_invalid_op+0x0/0x8a
[ 28.514185] [<c0404bbe>] do_invalid_op+0x81/0x8a
[ 28.519042] [<c044ce79>] cache_alloc_refill+0x110/0x43d
[ 28.524428] [<c0407ada>] kernel_fpu_begin+0x13/0x45
[ 28.529530] [<c04d4f81>] mmx_clear_page+0x84/0x9b
[ 28.534449] [<c043931b>] get_page_from_freelist+0x281/0x32d
[ 28.540164] [<c0402c15>] __switch_to+0x1f/0x109
[ 28.544931] [<c0610877>] __sched_text_start+0x5af/0x5c9
[ 28.550379] [<c061212a>] error_code+0x6a/0x70
[ 28.554891] [<c044ce79>] cache_alloc_refill+0x110/0x43d
[ 28.560359] [<c044cf02>] cache_alloc_refill+0x199/0x43d
[ 28.565725] [<c044cd5f>] kmem_cache_alloc+0x46/0x50
[ 28.570821] [<c040fb58>] copy_process+0x86/0x1046
[ 28.575663] [<c0611f57>] _spin_unlock_irq+0x10/0x24
[ 28.580765] [<c041e3ee>] alloc_pid+0x20f/0x230
[ 28.585347] [<c0410d20>] do_fork+0x99/0x1bb
[ 28.589773] [<c04d52da>] copy_to_user+0x2f/0x45
[ 28.594440] [<c0402222>] sys_clone+0x36/0x3b
[ 28.598921] [<c0403cd6>] sysenter_past_esp+0x5f/0x85
[ 28.604026] [<c0610000>] __down_trylock+0x40/0x43
[ 28.608963] =======================
[ 28.641039] BUG: unable to handle kernel NULL pointer dereference at
virtual
address 00000024
[ 28.649760] printing eip:
[ 28.652482] c040fc95
[ 28.660277] *pde = 00000000
[ 28.663199] Oops: 0000 [#2]
[ 28.666006] PREEMPT
[ 28.668236] Modules linked in: i2c_dev mousedev psmouse serio_raw
usb8xxx lib
ertas ieee80211 ieee80211_crypt cs5535_gpio
[ 28.679374] CPU: 0
[ 28.679381] EIP: 0060:[<c040fc95>] Not tainted VLI
[ 28.679392] EFLAGS: 00010297 (2.6.22-20071119.bernie11.olpc.9f4c8d20
#1)
[ 28.693887] EIP is at copy_process+0x1c3/0x1046
[ 28.698436] eax: 00000000 ebx: c4109000 ecx: cdfb0030 edx:
c06b8de0
[ 28.705239] esi: cdfb0030 edi: fffffff4 ebp: cdfb0030 esp:
c40cef10
[ 28.712040] ds: 007b es: 007b fs: 0000 gs: 0033 ss: 0068
[ 28.717892] Process net.hotplug (pid: 1777, ti=c40ce000 task=cdfb0030
task.ti
=c4109000)
[ 28.725733] Stack: c40cefb8 000000d0 c40ce000 c40cefb8 bfbfcd48
01200011 c061
1f57 cdfb0030
[ 28.734319] cbc12ccc c06b90b0 000006f1 00000001 00000000
000006f2 c40c
efb8 01200011
[ 28.742890] 00000000 cbc12ccc c0410d20 00000000 00000000
b7e15708 cbc1
2ccc bfbfcd48
[ 28.751477] Call Trace:
[ 28.754136] [<c0611f57>] _spin_unlock_irq+0x10/0x24
[ 28.759161] [<c0410d20>] do_fork+0x99/0x1bb
[ 28.763486] [<c04d52da>] copy_to_user+0x2f/0x45
[ 28.768152] [<c0402222>] sys_clone+0x36/0x3b
[ 28.772554] [<c0403cd6>] sysenter_past_esp+0x5f/0x85
[ 28.777651] [<c0610000>] __down_trylock+0x40/0x43
[ 28.782495] =======================
[ 28.786083] Code: ff 00 8b 85 94 01 00 00 ff 40 04 8b 85 80 01 00 00 ff
40 04
a1 e8 5d 71 c0 3b 05 f4 5d 71 c0 0f 8d 28 0e 00 00 8b 45 04 8b 40 04 <8b>
58 24
85 db 74 49 b8 01 00 00 00 e8 a4 ec ff ff 31 f6 e8 47
[ 28.806612] EIP: [<c040fc95>] copy_process+0x1c3/0x1046 SS:ESP
0068:c40cef10
[ 28.814123] BUG: unable to handle kernel NULL pointer dereference at
virtual
address 00000024
[ 28.822825] printing eip:
[ 28.825561] c0414051
[ 28.827763] *pde = 00000000
[ 28.830665] Oops: 0000 [#3]
[ 28.833471] PREEMPT
[ 28.835700] Modules linked in: i2c_dev mousedev psmouse serio_raw
usb8xxx lib
ertas ieee80211 ieee80211_crypt cs5535_gpio
[ 28.846835] CPU: 0
[ 28.846843] EIP: 0060:[<c0414051>] Not tainted VLI
[ 28.846854] EFLAGS: 00010246 (2.6.22-20071119.bernie11.olpc.9f4c8d20
#1)
[ 28.861338] EIP is at do_exit+0x2ce/0x6c6
[ 28.865365] eax: 00000000 ebx: cdfb04f0 ecx: c40ce000 edx:
c13068c0
[ 28.872166] esi: cedc6220 edi: cdfb0030 ebp: 00000001 esp:
c40cee38
[ 28.878968] ds: 007b es: 007b fs: 0000 gs: 0000 ss: 0068
[ 28.884818] Process net.hotplug (pid: 1777, ti=c40ce000 task=cdfb0030
task.ti
=c4109000)
[ 28.892652] Stack: c40cef10 c0660068 00000206 cdfb0030 0000000b
c40c007b c066
0000 fffffff4
[ 28.901221] c40ceed8 c40cef10 c0660068 00000206 c0404867
c066215f 0000
0068 c40cef10
[ 28.909809] 00000002 00000000 00000024 cdfb0030 c405fbd4
c0613543 c066
4b30 00000000
[ 28.918386] Call Trace:
[ 28.921050] [<c0404867>] die+0x1e0/0x20c
[ 28.925109] [<c0613543>] do_page_fault+0x414/0x4e2
[ 28.930054] [<c061312f>] do_page_fault+0x0/0x4e2
[ 28.934801] [<c061212a>] error_code+0x6a/0x70
[ 28.939293] [<c04d007b>] __bitmap_shift_left+0x5/0x126
[ 28.944576] [<c040fc95>] copy_process+0x1c3/0x1046
[ 28.949500] [<c0611f57>] _spin_unlock_irq+0x10/0x24
[ 28.954520] [<c0410d20>] do_fork+0x99/0x1bb
[ 28.958843] [<c04d52da>] copy_to_user+0x2f/0x45
[ 28.963510] [<c0402222>] sys_clone+0x36/0x3b
[ 28.967911] [<c0403cd6>] sysenter_past_esp+0x5f/0x85
[ 28.973009] [<c0610000>] __down_trylock+0x40/0x43
[ 28.977851] =======================
[ 28.981442] Code: ff 89 f8 e8 50 d3 0a 00 85 ed 74 19 8b 87 6c 04 00 00
83 b8
bc 00 00 00 00 74 0a b8 01 00 00 00 e8 51 95 0e 00 8b 47 04 8b 40 04 <8b>
40 24
e8 81 6e 01 00 8b 87 9c 00 00 00 85 c0 74 08 8b 40 04
[ 29.001970] EIP: [<c0414051>] do_exit+0x2ce/0x6c6 SS:ESP 0068:c40cee38
[ 29.008702] Fixing recursive fault but reboot is needed!
}}}
This was a c1+ECOs, and q2d04
--
Ticket URL: <http://dev.laptop.org/ticket/5026>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list