2.4.5-ac7 SMP crash (hotplug race?)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines
I told device to go to sleep, it reported (over serial console that I looked at with minicom), that it turned off internal devices (including USB client), reported it is going to sleep, and turned serial and itself off.
What does it mean "I told device to go to sleep"?
What device? How (what command line)?
Quoted 8 lines
wait_on_irq, CPU 1
irq: 1 [1 0]
bh: 1 [0 1]
CPU 0: <unknown>
CPU 1:c167fe68c01d805d... (not recorded full stack)Call Trace: [<c0108522>] [<c0170f97>] [<c0170f60>] [<c011d706>] [<c011a56c>] [<c011a423>] [<c011a2ab>] [<c0108935>] [<c0108525>] [<c01617e8>] [<c011a67d>] [<c0121c35>] [<c0121670>] [<c0105000>] [<c0105556>] [<c0121670>]Warning (
Oops_read): Code line not seen, dumping what data is available
Quoted 16 lines
Trace;
c0108522<__global_cli+e2/170>
Trace;c0170f97<rs_timer+37/110>
Trace;c0170f60<rs_timer+0/110>
Trace;c011d706<timer_bh+256/2b0>
Trace;c011a56c<bh_action+4c/b0>
Trace;c011a423<tasklet_hi_action+53/90>
Trace;c011a2ab<do_softirq+6b/a0>
Trace;c0108935<do_IRQ+e5/f0>
Trace;c0108525<__global_cli+e5/170>
Trace;c01617e8<flush_to_ldisc+d8/120>
Trace;c011a67d<__run_task_queue+5d/70>
Trace;c0121c35<context_thread+c5/200>
Trace;c0121670<exec_usermodehelper+3c0/400>
Trace;c0105000<prepare_namespace+0/10>
Trace;c0105556<kernel_thread+26/30>
Trace;c0121670<exec_usermodehelper+3c0/400>
Curious. What host controller driver do you use?
-- Pete
Hello!
Quoted 5 lines · Pete Zaitcev
Quoted 4 lines
I told device to go to sleep, it reported (over serial console that I looked at with minicom), that it turned off internal devices (including USB client), reported it is going to sleep, and turned serial and itself off.
What does it mean "I told device to go to sleep"?
It mean just it. I forced device to enter "suspend" mode.
Quoted 1 line
What device? How (what command line)?
Device is Compaq iPaq running Linux.
Command line is echo >/proc/sys/pm/suspend (on iPAQ prompt)
This even generates 2 simultaneous irqs: one is for serial (DCD clear) and one is for USB (device detachment) (which iun turn should call 2 usermode helpers on is for net.hotplug helper (usb0 net device unregistering) and one is usb.hotplug helper (USB device unregistering))
Quoted 21 lines
Quoted 13 lines
wait_on_irq, CPU 1
irq: 1 [1 0]
bh: 1 [0 1]
CPU 0: <unknown>
CPU 1:c167fe68c01d805d... (not recorded full stack) Trace;c0108522<__global_cli+e2/170>
Trace;c0170f97<rs_timer+37/110>
Trace;c0170f60<rs_timer+0/110>
Trace;c011d706<timer_bh+256/2b0>
Trace;c011a56c<bh_action+4c/b0>
Trace;c011a423<tasklet_hi_action+53/90> Trace;c011a2ab<do_softirq+6b/a0>
Trace;c0108935<do_IRQ+e5/f0>Quoted 8 lines
Trace;
c0108525<__global_cli+e5/170>
Trace;c01617e8<flush_to_ldisc+d8/120>
Trace;c011a67d<__run_task_queue+5d/70>
Trace;c0121c35<context_thread+c5/200>
Trace;c0121670<exec_usermodehelper+3c0/400>
Trace;c0105000<prepare_namespace+0/10>
Trace;c0105556<kernel_thread+26/30>
Trace;c0121670<exec_usermodehelper+3c0/400>
Quoted 1 line
Curious. What host controller driver do you use?
I use uhci, but I saw no usb symbols in backtrace so I think it does not matter.
Also I must say that this is 100% repeatable (and backtrace is almost the same, except for last few items)
Bye,
Oleg