Sharp Zaurus cradle and kernel 2.6 : khubd oops

Matthias Saou thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net
Wed Mar 10 11:02:13 UTC 2004


Hi,

I've been trying to use my Sharp Zaurus' (handheld running Linux) cradle
again, as support for usbnet is now in the mainstream kernel, unlike when
I had just purchased it, as it needed to be patched into a vanilla kernel.

It basically works, and quite easily : The Zaurus gets its own IP address
as soon as it's plugged into the cradle, and all I needed to do was create
a configuration file for an usb0 interface on my laptop with the IP
address that the Zaurus has as its default gateway. From there, one
iptables line for masquerading and there goes the Zaurus on the Internet
automatically when "dcocked", cool.

The problem is that the connection is "flaky" and the usb0 interface on
my laptop keeps going up and down until I finally get an oops. Yesterday
I got a lot more of the "waiting for usb0 to become free" than today
before actually getting the oops, but in the end I did too.

This is with kernel 2.6.3-2.1.242. If anyone knows what the problem could
be, or where I can report this problem (and if more info is needed), I'd
appreciate.

Matthias

[...]
hub 2-0:1.0: port 1 disabled by hub (EMI?), re-enabling...<6>usb 2-1: USB disconnect, address 4
usb0: unregister usbnet usb-0000:00:1d.1-1, Sharp Zaurus SL-5x00
divert: freeing divert_blk for usb0
usb 2-1: new full speed USB device using address 5
divert: allocating divert_blk for usb0
usb0: register usbnet at usb-0000:00:1d.1-1, Sharp Zaurus SL-5x00
ip_tables: (C) 2000-2002 Netfilter core team
hub 2-0:1.0: port 1 disabled by hub (EMI?), re-enabling...<6>usb 2-1: USB disconnect, address 5
usb0: unregister usbnet usb-0000:00:1d.1-1, Sharp Zaurus SL-5x00
divert: freeing divert_blk for usb0
unregister_netdevice: waiting for usb0 to become free. Usage count = 4
unregister_netdevice: waiting for usb0 to become free. Usage count = 4
usb 2-1: new full speed USB device using address 6
Unable to handle kernel NULL pointer dereference at virtual address 000000c8
 printing eip:
22876146
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<22876146>]    Not tainted
EFLAGS: 00010293   (2.6.3-2.1.242)
EIP is at usb_ifnum_to_if+0x5/0x3d [usbcore]
eax: ffffff1c   ebx: 00000001   ecx: 00000000   edx: 00000001
esi: 00000001   edi: ffffff1c   ebp: 00000000   esp: 211fbe4c
ds: 007b   es: 007b   ss: 0068
Process khubd (pid: 78, threadinfo=211fb000 task=211e1980)
Stack: 00000000 00000001 1bb546e0 2287c40c 1bb546cc 00000000 1bb546cc 1bb546e0
       ffffff92 1523a8b4 22876266 1523a964 1165ea79 22961a03 00000000 00000000
       1bb5429c 1523a8b4 2296668a 1143eed2 1143ee40 22963e36 21aa9134 21aa9218
Call Trace:
 [<2287c40c>] usb_set_interface+0x19/0x10a [usbcore]
 [<22876266>] usb_driver_release_interface+0x3d/0x4e [usbcore]
 [<22961a03>] generic_cdc_bind+0x1a5/0x1d5 [usbnet]
 [<22963e36>] usbnet_probe+0x2ad/0x463 [usbnet]
 [<2287603f>] usb_probe_interface+0x39/0x48 [usbcore]
 [<022247a1>] bus_match+0x27/0x45
 [<022247fc>] device_attach+0x3d/0x77
 [<02224967>] bus_add_device+0x5b/0x89
 [<02223c2e>] device_add+0x71/0xfb
 [<2287c748>] usb_set_configuration+0x1a1/0x1d0 [usbcore]
 [<22876ebf>] usb_new_device+0x32f/0x3a9 [usbcore]
 [<2287895f>] hub_port_connect_change+0x1cb/0x213 [usbcore]
 [<22878bd2>] hub_events+0x22b/0x3fd [usbcore]
 [<22878dc2>] hub_thread+0x1e/0xd0 [usbcore]
 [<02123671>] default_wake_function+0x0/0xc
 [<22878da4>] hub_thread+0x0/0xd0 [usbcore]
 [<0210b1d9>] kernel_thread_helper+0x5/0xb
 
Code: 8b 88 ac 01 00 00 31 c0 85 c9 74 28 0f b6 41 04 31 db 84 c0

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 1 (Yarrow) - Linux kernel 2.6.3-2.1.242
Load : 0.57 0.51 0.25





More information about the fedora-devel-list mailing list