Networking Problems Cropping Up w/ NetWiFiuSD
I've been working with my new Gumstix stack for my robot (Verdex, netWiFiuSD, Robostix) for about a month now, finally got comfortable with everything and have started running into frustrating problem after problem now. Initially I was having a lot of trouble with the I2C Timeout problem that seems to plague at least a few people, but now severe problems with the networking are coming up.
Both the WiFi and ethernet were working great for several weeks but recently the wired ethernet has been grossly dropping packets and the WiFi has me completely perplexed. I can scan for APs and such and it works normally but if I try to associate with one it doesn't work.
Sometimes the ethernet connection works great and drops few packets but other times it's completely hopeless. I've tried all the normal things, changed my cable, different drops, different network, reseating all my boards, different power sources, different rootfs/kernel. I would normally attribute it to a bad board but the performance seems to change so randomly whether or not I touch any of the boards that I'm unsure of it (though that does seem to indicate thermal expansion problems to me, but I'm just a mechE).
I'll try to include all the relevant info I can here:
gumstix_smc91x_init: smc91x chip not found, returning -ENXIO
smc91x: Unknown symbol gumstix_smc91x_load
eth0: LAN9117 (rev 2) at 0xc4870000 IRQ 131
eth0: Ethernet addr: 26:9f:27:80:cd:50
Bluetooth: Core ver 2.11
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pxa27x-ohci pxa27x-ohci: PXA27x OHCI
pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1
pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Not netCF-vx board: using newer GPIO configuration
CPLD responded with: ff
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
root: mount: special device /dev/hda1 does not exist
root: mount: special device /dev/mmcblk0p1 does not exist
root: mount: special device /dev/sda1 does not exist
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces... eth0: link down
eth0 no wireless extensions.
udhcpc (v1.2.1) started
udhcpc[574]: udhcpc (v1.2.1) started
Sending discover...
udhcpc[574]: Sending discover...
eth0: link up, 100Mbps, full-duplex, lpa 0x8DE1
Sending discover...
udhcpc[574]: Sending discover...
Sending select for 128.30.31.204...
udhcpc[574]: Sending select for 128.30.31.204...
Lease of 128.30.31.204 obtained, lease time 3600
udhcpc[574]: Lease of 128.30.31.204 obtained, lease time 3600
adding dns 128.30.2.24
adding dns 128.30.2.25
adding dns 128.30.0.125
adding dns 128.30.2.23
cfio: module license 'unspecified' taints kernel.
Before register driver
After register driver
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; No such device.
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; No such device.
SIOCGIFFLAGS: No such device
wlan0 No such device
udhcpc (v1.2.1) started
udhcpc[633]: udhcpc (v1.2.1) started
SIOCGIFINDEX failed!: No such device
udhcpc[633]: SIOCGIFINDEX failed!: No such device
done.
no rtc, setting time to time at previous shutdown
-----------------------------------------
pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0
Entering cf_attach()
pcmcia: request for exclusive IRQ could not be fulfilled.
pcmcia: the driver needs updating to supported shared IRQ lines.
BasePort1=0xc48a0000, AssignedIRQ=128
After calling wlan_add_card function
-------------------------------------------------
ifconfig
eth0 Link encap:Ethernet HWaddr 26:9F:27:80:CD:50
inet addr:128.30.31.204 Bcast:128.30.31.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9010 errors:0 dropped:0 overruns:0 frame:0
TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:763792 (745.8 KiB) TX bytes:22648 (22.1 KiB)
Interrupt:131 DMA chan:ff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5456 (5.3 KiB) TX bytes:5456 (5.3 KiB)
wlan0 Link encap:Ethernet HWaddr 00:0B:6B:0D:65:62
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:128