On Tuesday 10 May 2005 4:58 pm, John Steele Scott wrote:
> On Mon, 2005-05-09 at 07:31 -0700, David Brownell wrote:
> > On Monday 09 May 2005 2:25 am, John Steele Scott wrote:
> > > 
> > > Oops: kernel access of bad area, sig: 11 [#1]
> > > ...
> > > NIP [da50dee8] hid_resume+0x20/0x48 [usbhid]
> > 
> > And what's at that location?  Presumably it doesn't happen if you
> > disconnect the HID device before suspend?  Is this with or without
> > CONFIG_USB_SUSPEND?
> 
> 00002ec8 <hid_resume>:
>     2ec8:       94 21 ff f0     stwu    r1,-16(r1)
>     2ecc:       7c 08 02 a6     mflr    r0
>     2ed0:       38 80 00 10     li      r4,16
>     2ed4:       90 01 00 14     stw     r0,20(r1)
>     2ed8:       38 00 00 00     li      r0,0
>     2edc:       90 03 00 94     stw     r0,148(r3)
>     2ee0:       81 23 00 8c     lwz     r9,140(r3)
>     2ee4:       38 60 00 00     li      r3,0
>     2ee8:       80 09 18 a8     lwz     r0,6312(r9)    <---- bogus load?
>     ...
> 
> This is consistent with Ben's comments.

I don't read PPC assembly ... what's that mean in "C"?  :)


> I can try sleeping it with the mouse disconnected over the next couple
> of days. It seems to me that the oops is more likely to occur when
> sleeping for a long period, such as overnight, or during the day when I
> am at work. So far, long sleeps have always resulted in the oops,
> whereas short sleeps have given an oops only once out of maybe seven or
> eight tries.

And the device stayed connected the entire time?


> CONFIG_USB_SUSPEND was NOT set.

Might be interesting to see what happens if you do use it.
It strikes me that maybe disconnection is mis-handled if
that's not set...


> By the way, I tried to use ksymoops to get some better information
> yesterday, but I don't have a /proc/ksyms. Is that normal, or is there a
> configuration switch somewhere I should turn on?

On 2.6 kernels you don't need ksymoops any more.

- Dave


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to