NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD, Alix (i386) and network

Hello everybody. I've been running NetBSD-5.1_STABLE on an Alix board (2d13) 
for months. Everything has always been perfect.
Yesterday I had to get a new router (I need 802.11n) so I got a Cisco E3000. 
The router is ok, but now there's a problem with the Alix.
I can ping it, I can ssh into it, etc but ftp shows some "lags" when listing 
the files of a directory. When the transfer starts, it runs fast. More, Samba 
seems to be very very slow, especially when enumerating files on a directory or 
opening a file. It sits and waits. Then, when the transfer begins, it runs fine.
More, every night I do many rsync operations. They start in a proper way, then 
the upload speed falls down to less than 1 KB/sec (from my speed limit of 30, 
usually reached). 

Putting back the old router completely solves the problem. I've performed some 
tests and it seems it just happens with the Alix. More, on the first ethernet 
port of the router, the Alix doesn't even respond to pings, even if the light 
shows it's "up and running at 100 Mbits". The only (big) difference between the 
old router (Linksys WRT54GL with dd-wrt)  and the new one (with dd-wrt, tomato 
or the stock firmware) is the 1 Gbit ethernet capability. Is it possible that 
there are some problems between NetBSD, the Alix network chipset and the 1 Gbit 
integrated switch of the Cisco?

Here's my dmesg:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.1_STABLE (GEODE_DRAGAS) #1: Mon Apr  4 18:13:21 UTC 2011
total memory = 255 MB
avail memory = 245 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Generic PC
mainbus0 (root)
cpu0 at mainbus0: AMD 586-class, 498MHz, id 0x5a2
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 1 function 0
pchb0: vendor 0x1022 product 0x2080 (rev. 0x33)
glxsb0 at pci0 dev 1 function 2: RNG AES
vr0 at pci0 dev 9 function 0: VIA VT6105M (Rhine III) 10/100 Ethernet
vr0: interrupting at irq 10
vr0: Ethernet address: 00:0d:b9:1e:4a:c4
OUI 0x0002c6 model 0x0034 rev 3 at vr0 phy 1 not configured
vr1 at pci0 dev 10 function 0: VIA VT6105M (Rhine III) 10/100 Ethernet
vr1: interrupting at irq 11
vr1: Ethernet address: 00:0d:b9:1e:4a:c5
OUI 0x0002c6 model 0x0034 rev 3 at vr1 phy 1 not configured
vr2 at pci0 dev 11 function 0: VIA VT6105M (Rhine III) 10/100 Ethernet
vr2: interrupting at irq 15
vr2: Ethernet address: 00:0d:b9:1e:4a:c6
OUI 0x0002c6 model 0x0034 rev 3 at vr2 phy 1 not configured
gcscpcib0 at pci0 dev 15 function 0
gcscpcib0: vendor 0x1022 product 0x2090 (rev. 0x03)
timecounter: Timecounter "gcscpcib0" frequency 3579545 Hz quality 1000
gcscpcib0: Watchdog Timer via MFGPT0, GPIO
gpio0 at gcscpcib0: 32 pins
viaide0 at pci0 dev 15 function 2
viaide0: Advanced Micro Devices CS5536 IDE Controller (rev. 0x01)
viaide0: bus-master DMA support present
viaide0: primary channel wired to compatibility mode
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel wired to compatibility mode
viaide0: secondary channel ignored (disabled)
ohci0 at pci0 dev 15 function 4: vendor 0x1022 product 0x2094 (rev. 0x02)
ohci0: interrupting at irq 12
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
gcscehci0 at pci0 dev 15 function 5: vendor 0x1022 product 0x2095 (rev. 0x02)
gcscehci0: interrupting at irq 12
gcscehci0: EHCI version 1.0
gcscehci0: companion controller, 4 ports each: ohci0
usb1 at gcscehci0: USB revision 2.0
isa0 at gcscpcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff
npx0: reported by CPUID; using exception 16
attimer0: attached to pcppi0
isapnp0: no ISA Plug 'n Play devices found
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
uhub0 at usb0: vendor 0x1022 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
uhub1 at usb1: vendor 0x1022 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered

No interesting messages can be seen, like timeouts or so.

Any idea?

Home | Main Index | Thread Index | Old Index