Hello (and pardon for asking silly questions -- the answer is probably simple, but beyond my current experience).
To make a long story short... one robot which I currently build needed more processing power (image recognition causes Cyrix Geode 300 to enter undocumented "snail mode"). Thus I decided to move image processing onto server side -- naturally via WLAN.
Having studied the compatibility of various cards, I finally settled on SMC 2662W v.4 (little USB card, looks like this
) -- for which I initially tried SMC drivers (but those crashed) and SourceForge drivers (but those didn't compile).
I then found the Berlios driver (http://at76c503a.berlios.de
) and downloaded its current CVS snapshot. The install was fairly ordinary:
wondered why it crashes
removed drivers bundled with Mandrake
tried again, already saw the MAC address recognized
tried making a crude "ifcfg-wlan0" script, but it kept crashing
discovered a pattern in crashes
Boot machine with "ifcfg-wlan0" present --> crash.
Add file later, attach card with file present --> crash.
Attach card, add file, call "ifup wlan0" immediately (<10s) --> crash.
Attach card, add file, call "ifup wlan0" after some delay (>15s) --> works fine.
Seems related to USB hotplugging... but what exactly could be wrong?
Advise would be greatly appreciated.
The script is located as usual: under "/etc/sysconfig/network-scripts".
File attributes were copied from a working "ifcfg-eth0".
The error exhibits itself so:
-- system freezes for 10 seconds
-- dmesg shows the following messages
Oct 31 16:39:52 zog kernel: hub.c: new USB device 00:07.2-2.3, assigned address 4
Oct 31 16:39:52 zog kernel: usb-uhci.c: interrupt, status 2, frame# 44
Oct 31 16:39:56 zog kernel: usb-uhci.c: ENXIO 80000280, flags 0, urb cd0c6cc0, burb cd0c62c0
Oct 31 16:39:56 zog kernel: hub.c: usb_hub_port_status (2) failed (err = -6)
Oct 31 16:39:56 zog kernel: usb-uhci.c: ENXIO 80000200, flags 0, urb cd0c6cc0, burb cd0c62c0
Oct 31 16:39:57 zog kernel: at76c503.c: 200 ms delay for board type 7
Oct 31 16:39:57 zog kernel: at76c503.c: $Id: at76c503.c,v 1.72 2004/10/19 20:45:25 jal2 Exp $ compiled Oct 31 2004 04:25:30
Oct 31 16:39:57 zog kernel: at76c503.c: firmware version 1.102.0 #113 (fcs_len 4)
Oct 31 16:39:57 zog kernel: at76c503.c: device's MAC 00:04:e2:aa:00:93, regulatory domain ETSI (Europe - (Spain+France) (id 48)
Oct 31 16:39:57 zog kernel: at76c503.c: registered wlan0
Oct 31 16:39:57 zog /etc/hotplug/net.agent: invoke ifup wlan0
Oct 31 16:39:58 zog /etc/hotplug/usb.agent: Setup at76c505a-rfmd2958 for USB product 3eb/7614/100
Oct 31 16:40:01 zog kernel: NETDEV WATCHDOG: wlan0: transmit timed out
Oct 31 16:40:01 zog kernel: at76c503.c: wlan0: tx timeout.
Oct 31 16:40:02 zog kernel: usb_control/bulk_msg: timeout
Oct 31 16:40:02 zog kernel: at76c503.c: wlan0: get_cmd_status failed: -110
Oct 31 16:40:03 zog kernel: NETDEV WATCHDOG: wlan0: transmit timed out
Oct 31 16:40:03 zog kernel: at76c503.c: wlan0: tx timeout.
Oct 31 16:40:05 zog kernel: NETDEV WATCHDOG: wlan0: transmit timed out
Oct 31 16:40:05 zog kernel: at76c503.c: wlan0: tx timeout.
(more timeout messages)