|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Networking Problems Cropping Up w/ NetWiFiuSDI'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 |
|
|
Re: Networking Problems Cropping Up w/ NetWiFiuSDI went out and got a uSD card so I might try continuing my work with the gumstix while the ethernet is dead, but it looks like that is broken too. Here are the errors I'm getting:
root@gumstix-custom-verdex:/media/card$ cp Angstrom-gumstix-basic-image-glibc-kp mmcblk0: error 1 sending read/write command end_request: I/O error, dev mmcblk0, sector 2784 mmcblk0: error 1 sending read/write command end_request: I/O error, dev mmcblk0, sector 2792 mmcblk0: error 1 sending read/write command and so on... --Zack Jackowski --MIT CSAIL Robot Locomotion Group
|
|
|
Re: Networking Problems Cropping Up w/ NetWiFiuSDA little more futzing around and I've become even more confused about the situation. I've been trying to get a handle on the I2C communication problems with my Robostix and ended up flashing this image from Dave Hylands: http://www.davehylands.com/gumstix-wiki/vx-1574-robo/ and upon booting up my ethernet works completely perfectly. I'm also able to use my uSD card from inside uBoot without any problems which is how I've been doing all my flashing.
I flashed the newest pre-built gumstix image from the feed to make sure it wasn't a hardware thing and the same old problems came right back. I flashed one of my own custom kernels without the framebuffer enabled (for the robostix) and have the same problem. I flashed Dave's buildroot image onto it and it works perfectly. I'm not sure what I have to do to get someone interested in helping me out, I've been doing all I can. I've got an order of several more gumstix coming to try to rule out possible hardware problems (though they seem to be taking forever like the first one I got) but I'm increasingly worried that I've got a software problem I can't handle. Does anyone have some idea what could possibly be going on here? --Zack Jackowski
|
|
|
bitbake kernel menuconfig display errorsHi,
I am trying to optimize the kernel for my Verdex. I am having trouble running the menuconfig. I know gnome-terminal is installed and so is ncurses. Here is what I'm getting. Does anyone have any idea as to what I need to do: gumstix@gumstix:~/gumstix/gumstix-oe/com.gumstix.collection/packages/linux$ bitbake gumstix-kernel -c menuconfig NOTE: Handling BitBake files: \ (4955/4956) [99 %]ERROR: opening /home/gumstix/gumstix/gumstix-oe/user.collection/packages/*/*.bb: [Errno 2] No such file or directory: '/home/gumstix/gumstix/gumstix-oe/user.collection/packages/*/*.bb' NOTE: Parsing finished. 4718 cached, 1 parsed, 236 skipped, 0 masked. NOTE: build 200807251645: started OE Build Configuration: BB_VERSION = "1.8.10" OE_REVISION = "<unknown>" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "gumstix-custom-verdex" DISTRO = "angstrom" DISTRO_VERSION = "2007.9-test-20080725" TARGET_FPU = "soft" NOTE: Resolving any missing task queue dependencies NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc) NOTE: Preparing runqueue NOTE: Executing runqueue NOTE: Running task 20 of 20 (ID: 3, /home/gumstix/gumstix/gumstix-oe/com.gumstix.collection/packages/linux/gumstix-kernel_2.6.21.bb, do_menuconfig) NOTE: package gumstix-kernel-2.6.21: started NOTE: package gumstix-kernel-2.6.21-r1: task do_menuconfig: started ERROR: function do_menuconfig failed ERROR: log data follows (/home/gumstix/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/gumstix-kernel-2.6.21-r1/temp/log.do_menuconfig.15038) | cannot open display: | Run 'gnome-terminal --help' to see a full list of available command line options. NOTE: Task failed: /home/gumstix/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/gumstix-kernel-2.6.21-r1/temp/log.do_menuconfig.15038 NOTE: package gumstix-kernel-2.6.21-r1: task do_menuconfig: failed ERROR: TaskFailed event exception, aborting NOTE: package gumstix-kernel-2.6.21: failed ERROR: Build of /home/gumstix/gumstix/gumstix-oe/com.gumstix.collection/packages/linux/gumstix-kernel_2.6.21.bb do_menuconfig failed ERROR: Task 3 (/home/gumstix/gumstix/gumstix-oe/com.gumstix.collection/packages/linux/gumstix-kernel_2.6.21.bb, do_menuconfig) failed NOTE: Tasks Summary: Attempted 19 tasks of which 19 didn't need to be rerun and 1 failed. ERROR: '/home/gumstix/gumstix/gumstix-oe/com.gumstix.collection/packages/linux/gumstix-kernel_2.6.21.bb' failed gumstix@gumstix:~/gumstix/gumstix-oe/com.gumstix.collection/packages/linux$ Thanks! ~Shane ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Networking Problems Cropping Up w/ NetWiFiuSDHi Zack,
I recently had problems with my netmicroSD and finally figured out that I was having the problem reported earlier http://www.nabble.com/NetMicroSD-eth0-transmit-but-no-recieve...-to13461420. html#a13461420 where some SMT parts on the underside of the netmicroSD were shorting out on the metal housing of the BT module. I don't know if you have the XM4-bt, but if you do here's what I found. Using ethereal I saw continual ARP requests from the gumstix (when trying to ping) following by MAC replies from the destination host which the gumstix never seemed to receive. Also, eth0 comes up as "half-duplex" which didn't seem right. To solve this I cut a small square of paper and slide it between the boards; eth0 now comes up as "full-duplex" and the problem disappeared. The boards still touch even using the spacer kit, so some kind of insulation is needed. Anybody with a XM4-bt + netmicroSD may potentially have this problem. John Alfredo -----Original Message----- From: gumstix-users-bounces@... [mailto:gumstix-users-bounces@...] On Behalf Of zackbass Sent: Friday, July 25, 2008 2:44 PM To: gumstix-users@... Subject: Re: [Gumstix-users] Networking Problems Cropping Up w/ NetWiFiuSD A little more futzing around and I've become even more confused about the situation. I've been trying to get a handle on the I2C communication problems with my Robostix and ended up flashing this image from Dave Hylands: http://www.davehylands.com/gumstix-wiki/vx-1574-robo/ and upon booting up my ethernet works completely perfectly. I'm also able to use my uSD card from inside uBoot without any problems which is how I've been doing all my flashing. I flashed the newest pre-built gumstix image from the feed to make sure it wasn't a hardware thing and the same old problems came right back. I flashed one of my own custom kernels without the framebuffer enabled (for the robostix) and have the same problem. I flashed Dave's buildroot image onto it and it works perfectly. I'm not sure what I have to do to get someone interested in helping me out, I've been doing all I can. I've got an order of several more gumstix coming to try to rule out possible hardware problems (though they seem to be taking forever like the first one I got) but I'm increasingly worried that I've got a software problem I can't handle. Does anyone have some idea what could possibly be going on here? --Zack Jackowski zackbass wrote: > > I went out and got a uSD card so I might try continuing my work with the > gumstix while the ethernet is dead, but it looks like that is broken too. > Here are the errors I'm getting: > > root@gumstix-custom-verdex:/media/card$ cp > Angstrom-gumstix-basic-image-glibc-kp > mmcblk0: error 1 sending read/write command > end_request: I/O error, dev mmcblk0, sector 2784 > mmcblk0: error 1 sending read/write command > end_request: I/O error, dev mmcblk0, sector 2792 > mmcblk0: error 1 sending read/write command > > and so on... > > --Zack Jackowski > --MIT CSAIL Robot Locomotion Group > > > > > zackbass wrote: >> >> 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). >> >> > > -- View this message in context: http://www.nabble.com/Networking-Problems-Cropping-Up-w--NetWiFiuSD-tp184080 10p18660086.html Sent from the Gumstix mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: bitbake kernel menuconfig display errorsHi Shane,
You need to use a GUI based application (such as X11) to run gnome-terminal in. ~Shane On Fri, 25 Jul 2008 16:48:13 -0600 "Shane Kirkbride" <skirkbri@...> wrote: > Hi, > I am trying to optimize the kernel for my Verdex. I am having >trouble > running the menuconfig. I know gnome-terminal is installed and so >is > ncurses. Here is what I'm getting. Does anyone have any idea as to > what I need to do: > > gumstix@gumstix:~/gumstix/gumstix-oe/com.gumstix.collection/packages/linux$ > bitbake gumstix-kernel -c menuconfig > NOTE: Handling BitBake files: \ (4955/4956) [99 %]ERROR: opening > /home/gumstix/gumstix/gumstix-oe/user.collection/packages/*/*.bb: > [Errno 2] No such file or directory: > '/home/gumstix/gumstix/gumstix-oe/user.collection/packages/*/*.bb' > > NOTE: Parsing finished. 4718 cached, 1 parsed, 236 skipped, 0 >masked. > NOTE: build 200807251645: started > > OE Build Configuration: > BB_VERSION = "1.8.10" > OE_REVISION = "<unknown>" > TARGET_ARCH = "arm" > TARGET_OS = "linux-gnueabi" > MACHINE = "gumstix-custom-verdex" > DISTRO = "angstrom" > DISTRO_VERSION = "2007.9-test-20080725" > TARGET_FPU = "soft" > > NOTE: Resolving any missing task queue dependencies > NOTE: preferred version 2.5 of glibc not available (for item > virtual/arm-angstrom-linux-gnueabi-libc-for-gcc) > NOTE: Preparing runqueue > NOTE: Executing runqueue > NOTE: Running task 20 of 20 (ID: 3, > /home/gumstix/gumstix/gumstix-oe/com.gumstix.collection/packages/linux/gumstix-kernel_2.6.21.bb, > do_menuconfig) > NOTE: package gumstix-kernel-2.6.21: started > NOTE: package gumstix-kernel-2.6.21-r1: task do_menuconfig: started > ERROR: function do_menuconfig failed > ERROR: log data follows > (/home/gumstix/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/gumstix-kernel-2.6.21-r1/temp/log.do_menuconfig.15038) > | cannot open display: > | Run 'gnome-terminal --help' to see a full list of available >command > line options. > NOTE: Task failed: > /home/gumstix/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/gumstix-kernel-2.6.21-r1/temp/log.do_menuconfig.15038 > NOTE: package gumstix-kernel-2.6.21-r1: task do_menuconfig: failed > ERROR: TaskFailed event exception, aborting > NOTE: package gumstix-kernel-2.6.21: failed > ERROR: Build of > /home/gumstix/gumstix/gumstix-oe/com.gumstix.collection/packages/linux/gumstix-kernel_2.6.21.bb > do_menuconfig failed > ERROR: Task 3 > (/home/gumstix/gumstix/gumstix-oe/com.gumstix.collection/packages/linux/gumstix-kernel_2.6.21.bb, > do_menuconfig) failed > NOTE: Tasks Summary: Attempted 19 tasks of which 19 didn't need to >be > rerun and 1 failed. > ERROR: > '/home/gumstix/gumstix/gumstix-oe/com.gumstix.collection/packages/linux/gumstix-kernel_2.6.21.bb' > failed > gumstix@gumstix:~/gumstix/gumstix-oe/com.gumstix.collection/packages/linux$ > > Thanks! > ~Shane > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's >challenge > Build the coolest Linux based applications with Moblin SDK & win >great prizes > Grand prize is a trip for two to an Open Source event anywhere in >the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gumstix-users mailing list > gumstix-users@... > https://lists.sourceforge.net/lists/listinfo/gumstix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Networking Problems Cropping Up w/ NetWiFiuSDThanks for tip, definitely a good piece of info, but sadly not the case for me. Even though I don't have the BT module one of the first things I did in my attempts to solve this problem was put little slips of paper between each of the boards in my stack, just one of the things I've picked up to do over the years.
--Zack
|
| Free Forum Powered by Nabble | Forum Help |