From: Jojo <jo...@ut...> - 2006-01-09 05:43:30
|
I recently purchased a gumstix connex 400g, netMMC, and waysmall STUART. They work great except for the ethernet connection. I tried to post in the wiki's forums in hopes of getting a response but have exhausted all sources of help. I recently ran make on a new buildroot to add snort and iptables. I removed bluetooth and audio software by commenting out their lines in the Makefile to save some room in flash for other software. Upon completion I updated my u-boot (ver 1.1.2) and wrote my build_fs_arm_nofpu into flash memory as normal. However, booting fresh for the first time with a netMMC attached (no "auto eth0") I get: # ifup eth0 udhcpc (v0.9.9-pre) started smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre eth0: SMC91C11xFD (rev 1) at 0xc4854300 IRQ 59 DMA 9 nowaitexternal link eth0: Ethernet addr: 0e:00:0b:42:1c:d1 smc91x interface number 1: not present(-19). smc91x: Found total of 1 interfaces. eth0: link down # ipaddr 1: lo: mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: usb0: mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 0e:00:0b:42:1c:e1 brd ff:ff:ff:ff:ff:ff 3: eth0: mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 0e:00:0b:42:1c:d1 brd ff:ff:ff:ff:ff:ff # ifconfig auto eth0 # ipaddr 1: lo: mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: usb0: mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 0e:00:0b:42:1c:e1 brd ff:ff:ff:ff:ff:ff 3: eth0: mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 0e:00:0b:42:1c:d1 brd ff:ff:ff:ff:ff:ff Upon adding "auto eth0" to "/etc/network/interfaces" my 'stix boot up as such: NET: Registered protocol family 17 udhcpc (v0.9.9-pre) started Dec 31 16:00:12 udhcpc183external link: udhcpc (v0.9.9-pre) started smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre eth0: SMC91C11xFD (rev 1) at 0xc4854300 IRQ 59 DMA 9 nowaitexternal link eth0: Ethernet addr: 0e:00:0b:42:1c:d1 smc91x interface number 1: not present(-19). smc91x: Found total of 1 interfaces. eth0: link down Starting dropbear sshd: OK Starting httpd... Starting Rendezvous: Welcome to the Gumstix Linux Distribution! gumstix login: eth0: Memory allocation failed. eth0: Memory allocation failed. I tried the "auto eth0" setup a few days ago and got about ten lines of "eth0: Memory allocation failed." just as above and then a line with a driver error in smc91x.c on line 768 or 748 I believe (one of those two if my memory serves me right). I've tried both static and dhcp setups in both "/etc/network/interfaces" and with the "ifconfig" command (trying "ifconfig auto eth0", "ifconfig eth0 address 192.168.1.108 netmask 255.255.255.0", etc.). My cable is good and works just fine with any other computer. It snaps firmly in place in my netMMC so I don't think that I've done anything exceptionally stupid here. Also, usb0 set up easy and works great. I can wget and ping with it perfectly fine. Getting the ethernet up and running is critical to my network research. Am I just doing something wrong? Or is there something I need to fix before I can get eth0 up? Thanks |