I am testing the kaweth driver
(http://drivers.rd.ilan.net/kaweth-0.2.tar.gz). 

Results to date:
It oopses with SMP, consistently, with a range of kernels up to and
including pre6-3, in submitting an URB, with either UHCI driver. I have
previously sent ksymoops output, plenty more available with specific
configurations if required. I think that there may be a race between
getting the strings (or other descriptor information) and downloading
the firmware, since I sometimes got the strings and sometimes not.

With uhci and uP I couldn't make it work. I got the following pretty
much irrespective of whether the device was plugged or not when the
driver went it, and plug/unplug events with the driver loaded:

usb.c: USB new device connect, assigned device number 5
Kawasaki Device Probe: 0x05e9:0x0008
KLSI connected...
Reading kaweth configuration
Request type: c0  Request: 0  Value: 0 Index: 0 Length: 12
kaweth control message failed (urb addr: c44633e0)
Actual length: 0, length 18
Resetting...
Downloading firmware at c8833d78 to kaweth device at c7fa8000...
Firmware length: 3838
Request type: 40  Request: ff  Value: 0 Index: 0 Length: efe
kaweth control message failed (urb addr: c1257f20)
Actual length: 3838, length 3838
Error downloading firmware (-110), no net device created
usbaudio: vendor id 0x05e9, product id 0x0008 contains no AudioControl
interface
usb.c: This device is not recognized by any installed USB driver.

With uhci-usb and uP, loading driver and then plugging in device.
Kawasaki USB->Ethernet Driver loading...
usb.c: registered new driver kaweth
Kawasaki Device Probe: 0x05e9:0x0008
KLSI connected...
Reading kaweth configuration
Request type: c0  Request: 0  Value: 0 Index: 0 Length: 12
usb-uhci.c: interrupt, status 2, frame# 1193
kaweth control message failed (urb addr: c5d71f40)
usb-uhci.c: interrupt, status 2, frame# 1207
usb-uhci-debug.h:   TD @ c127a7e0/0127A7E0, MaxLen=01 DT1 EP=0 Dev=4
PID=( IN  )
 buf=03329dda
usb-uhci-debug.h:     Len=7ff e0 SPD Stalled CRC/Timeo
usb-uhci-debug.h:     Link points to TD @ 0127aa60, Breadth first
usb-uhci.c: interrupt, status 2, frame# 1216
usb-uhci-debug.h:   TD @ c127aee0/0127AEE0, MaxLen=07 DT0 EP=0 Dev=4
PID=(SETUP)
 buf=034aaac0
usb-uhci-debug.h:     Len=07 e0 SPD Stalled CRC/Timeo
usb-uhci-debug.h:     Link points to TD @ 0127af20, Breadth first
Actual length: 0, length 18
Resetting...
usb-uhci.c: interrupt, status 2, frame# 1225
usb-uhci-debug.h:   TD @ c127aa60/0127AA60, MaxLen=07 DT0 EP=0 Dev=4
PID=(SETUP)
 buf=034aaa80
usb-uhci-debug.h:     Len=07 e0 SPD Stalled CRC/Timeo
Request type: 40  Request: ff  Value: 0 Index: 0 Length: efe
usb-uhci.c: interrupt, status 2, frame# 1246
usb-uhci-debug.h:   TD @ c127a7e0/0127A7E0, MaxLen=07 DT0 EP=0 Dev=4
PID=(SETUP)
 buf=034aaa80
usb-uhci-debug.h:     Len=07 e0 Stalled CRC/Timeo
usb-uhci-debug.h:     Link points to TD @ 0127aa60, Breadth first
kaweth control message failed (urb addr: c5d71f40)
usb-uhci.c: interrupt, status 2, frame# 1261
usb-uhci-debug.h:   TD @ c31c2360/031C2360, MaxLen=07 DT0 EP=0 Dev=4
PID=(SETUP)
 buf=034aaac0
usb-uhci-debug.h:     Len=07 e0 SPD Stalled CRC/Timeo
usb-uhci-debug.h:     Link points to TD @ 031c23a0, Breadth first
usb-uhci.c: interrupt, status 2, frame# 1273
usb-uhci-debug.h:   TD @ c127a8e0/0127A8E0, MaxLen=07 DT0 EP=0 Dev=4
PID=(SETUP)
 buf=034aaac0
usb-uhci-debug.h:     Len=07 e0 SPD Stalled CRC/Timeo
usb-uhci-debug.h:     Link points to TD @ 0127aba0, Breadth first
Actual length: 0, length 3838
Error downloading firmware (-110), no net device created
usbaudio: vendor id 0x05e9, product id 0x0008 contains no AudioControl
interface
usb.c: USB disconnect on device 4

On unload, unplug, reload, replug (again usb-uhci and uP)
Kawasaki USB->Ethernet Driver loading...
usb.c: registered new driver kaweth
usb.c: USB new device connect, assigned device number 4
Kawasaki Device Probe: 0x05e9:0x0008
KLSI connected...
Reading kaweth configuration
Request type: c0  Request: 0  Value: 0 Index: 0 Length: 12
usb-uhci.c: interrupt, status 2, frame# 1886
kaweth control message failed (urb addr: c5d71f40)
Actual length: 0, length 18
Resetting...
Downloading firmware at c8833d78 to kaweth device at c7f9a000...
Firmware length: 3838
Request type: 40  Request: ff  Value: 0 Index: 0 Length: efe
Actual length: 3838, length 3838
Downloading firmware at c8834c76 to kaweth device at c7f9a000...
Firmware length: 720
Request type: 40  Request: ff  Value: 0 Index: 0 Length: 2d0
Actual length: 720, length 720
Triggering firmware
Request type: 40  Request: ff  Value: 0 Index: 0 Length: 8
Actual length: 8, length 8
Resetting device (jiffies: 189bb)...
Reset device (jiffies: 189bc)...
Reading kaweth configuration
Request type: c0  Request: 0  Value: 0 Index: 0 Length: 12
Actual length: 18, length 18
Statitstics collection: 0
Multicast filter limit: 80
MTU: 5ea
Read MAC address 00:c0:26:ae:01:94
:12::00::00::00::c0::26::ae::01::94::00::00::00::00::ea::05::80::00::00:
Setting URB size to 1664
Request type: 40  Request: 8  Value: 680 Index: 0 Length: 0
Actual length: 0, length 0
Set SOFS wait to 5
Request type: 40  Request: 9  Value: 5 Index: 0 Length: 0
Actual length: 0, length 0
Set recieve filter to 28
Request type: 40  Request: 2  Value: 1c Index: 0 Length: 0
Actual length: 0, length 0
Initializing net device...
kaweth interface created at eth1
Kaweth probe returning...

So I basically had a success. I didn't try transferring packets since my
network configuration is a little flakey, and I'd prefer not to trash
the routing on my main machine. This will wait for the scratch box...
I then did a plug - unplug (still with usb-uhci and uP, no change from
previously working configuration, except I uped and downed the eth1
interface:

usb.c: USB new device connect, assigned device number 4
Kawasaki Device Probe: 0x05e9:0x0008
KLSI connected...
Reading kaweth configuration
Request type: c0  Request: 0  Value: 0 Index: 0 Length: 12
usb-uhci.c: interrupt, status 2, frame# 504
kaweth control message failed (urb addr: c5d71b80)
usb_control/bulk_msg: timeout
Actual length: 0, length 18
Resetting...
usb-uhci.c: interrupt, status 2, frame# 1468
 buf=030941a0
usb-uhci-debug.h:     Len=07 e0 Stalled CRC/Timeo
usb-uhci-debug.h:     Link points to TD @ 0127ac20, Breadth first
kaweth control message failed (urb addr: c5d71b80)
usb-uhci.c: interrupt, status 2, frame# 1482
usb-uhci-debug.h:   TD @ c127aa60/0127AA60, MaxLen=07 DT0 EP=0 Dev=4
PID=(SETUP) buf=03094160
usb-uhci-debug.h:     Len=07 e0 SPD Stalled CRC/Timeo
usb-uhci-debug.h:     Link points to TD @ 0127ab60, Breadth first
usb-uhci.c: interrupt, status 2, frame# 1484
usb-uhci-debug.h:   TD @ c127ae60/0127AE60, MaxLen=07 DT0 EP=0 Dev=4
PID=(SETUP) buf=03094160
usb-uhci-debug.h:     Len=07 e0 SPD Stalled CRC/Timeo
usb-uhci-debug.h:     Link points to TD @ 0127ae20, Breadth first
Actual length: 0, length 3838
Error downloading firmware (-110), no net device created
usbaudio: vendor id 0x05e9, product id 0x0008 contains no AudioControl
interface
usb.c: This device is not recognized by any installed USB driver. 


I will keep looking, but the code is pretty much definately stuffed with
SMP or uhci, and works intermittently with usb-uhci. And why is it
generating the ETIMEDOUT responses anyway?

Is anyone else trying this, especially with SMP?

Brad

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

Reply via email to