>   I am getting the following oops when my system has been idle for
> some time.  ...
> 
> My machine has an Athlon on a MSI K7 Pro motherboard - this uses the
> AMD 751 (Viper) chipset with 4 usb ports and an OHCI controller.  It's
> running the 2.3.99-pre6 kernel.

And my, this looks just like another panic I've seen (Miles! :-)
from an Athlon with a Viper chipset.  

I'd suggest pre7-2, on the grounds that some stuff in OHCI did
change (and I can think of a change in pre7-1 that might matter).

Then if that doesn't help, try the attached patch ... it makes that
timer callback a bit more suspicious of its inputs.  If it changes
anything for you, it'll mean that timer code got bad inputs.

- Dave



> >>EIP; d2857c65 <[usb-ohci]rh_send_irq+c5/190>   <=====
> Trace; d2857d30 <[usb-ohci]rh_int_timer_do+0/60>
> Trace; ffff0000 <END_OF_CODE+2d75bdcc/????>
> Trace; ffff4fff <END_OF_CODE+2d760dcb/????>
> Trace; c011fecc <timer_bh+24c/2a0>
> Trace; c010f144 <timer_interrupt+84/100>
> Trace; c011ce2b <bh_action+1b/70>
> Trace; c011cd68 <tasklet_hi_action+38/60>
> Trace; c011cc5f <do_softirq+4f/70>
> Trace; c010c31d <do_IRQ+ad/c0>
> Trace; c0108c00 <default_idle+0/30>
> Trace; c0108c00 <default_idle+0/30>
> Trace; c010b1fc <ret_from_intr+0/20>
> Trace; c0108c00 <default_idle+0/30>
> Trace; c0108c00 <default_idle+0/30>
> Trace; c0108c23 <default_idle+23/30>
> Trace; c0108c68 <cpu_idle+38/50>
> Trace; c0105000 <empty_bad_page+0/1000>
> Trace; c010018d <L6+0/2>
> Code;  d2857c65 <[usb-ohci]rh_send_irq+c5/190>
> 00000000 <_EIP>:
> Code;  d2857c65 <[usb-ohci]rh_send_irq+c5/190>   <=====
>    0:   8b 00                     mov    (%eax),%eax   <=====
> Code;  d2857c67 <[usb-ohci]rh_send_irq+c7/190>
>    2:   a9 00 00 1f 00            test   $0x1f0000,%eax

    There's really only one place it uses that mask,
    after reading portstatus [i] ... it's reading that
    value which causes the problem.  Perhaps "i" is too
    big (the patch checks that).

> Code;  d2857c6c <[usb-ohci]rh_send_irq+cc/190>
>    7:   74 12                     je     1b <_EIP+0x1b> d2857c80 
><[usb-ohci]rh_send_irq+e0/190>
> Code;  d2857c6e <[usb-ohci]rh_send_irq+ce/190>
>    9:   b8 01 00 00 00            mov    $0x1,%eax
> Code;  d2857c73 <[usb-ohci]rh_send_irq+d3/190>
>    e:   8b 4c 24 10               mov    0x10(%esp,1),%ecx
> Code;  d2857c77 <[usb-ohci]rh_send_irq+d7/190>
>   12:   d3 e0                     shl    %cl,%eax

Diff

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to