Port-mips archive

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

Qube2 problems with recent release-5 kernel



Hello all,

I've come across a problem with my Qube2 that I'm not sure is a
hardware problem or NetBSD problem.

Here is the kernel:

# uname -a
NetBSD taz-dmz 5.0_STABLE NetBSD 5.0_STABLE (TAZ.SEP30) #0: Wed Sep 30 05:02:31
MST 2009  root@foghorn:/usr/obj-cobalt/sys/arch/cobalt/compile/TAZ.SEP30 cobalt

I netboot a Linksys NSLU2 from the Qube, and I noticed that it stopped
working after I built a new kernel from release-5 at some point. I'm
not sure what point, I don't take notes on this type of thing.

Anyway, it appears that dhcpd stopped responding to requests on the
network, and I noticed a lot of errors like this in /var/log/messages:

Sep 30 18:00:06 taz-dmz /netbsd: tlp0: receive error: CRC error
Sep 30 18:00:06 taz-dmz /netbsd: tlp0: receive error: MII error
Sep 30 18:00:06 taz-dmz /netbsd: tlp0: receive error: CRC error
Sep 30 18:00:21 taz-dmz /netbsd: tlp0: receive error: MII error
Sep 30 18:00:21 taz-dmz /netbsd: tlp0: receive error: CRC error
Sep 30 18:00:51 taz-dmz /netbsd: tlp0: receive error: MII error
Sep 30 18:00:51 taz-dmz /netbsd: tlp0: receive error: CRC error
Sep 30 18:01:06 taz-dmz /netbsd: tlp0: receive error: MII error
Sep 30 18:01:06 taz-dmz /netbsd: tlp0: receive error: CRC error

I tried tlp0 and tlp1 (primary and secondary) and both returned this error.

There are a whole lot of these. I was using tail -f /var/log/messages
to see if dhcpd was responding, and it wasn't, instead I would get
these errors.

So I put an ex based card into the PCI slot which I had been using
before with good results, but now I can't get it to connect to the
outside world. I have no idea why. I get a link light on it, but no
ping to my gateway:

# ifconfig -a
tlp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: 00:10:e0:00:ab:25
        media: Ethernet autoselect (none)
        status: no carrier
ex0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM
_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 00:10:5a:e6:28:2c
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.0.9 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::210:5aff:fee6:282c%ex0 prefixlen 64 scopeid 0x2
tlp1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: 00:10:e0:00:ab:18
        media: Ethernet autoselect (none)
        status: no carrier

# ping 192.168.0.9
PING taz-dmz.andy.com (192.168.0.9): 56 data bytes
64 bytes from 192.168.0.9: icmp_seq=0 ttl=255 time=1.337 ms
^C
----taz-dmz.andy.com PING Statistics----
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.337/1.337/1.337/0.000 ms
# ping 192.168.0.254
^C (no output)

I noticed this in my dmesg which I think I've never seen before:

NetBSD 5.0_STABLE (TAZ.SEP30) #0: Wed Sep 30 05:02:31 MST 2009
        root@foghorn:/usr/obj-cobalt/sys/arch/cobalt/compile/TAZ.SEP30
Cobalt Qube 2
total memory = 160 MB
avail memory = 152 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
com0 at mainbus0 addr 0x1c800000 level 3: st16650a, working fifo
com0: console
cpu0 at mainbus0: QED RM5200 CPU (0x28a0) Rev. 10.0 with built-in FPU Rev. 10.0
cpu0: 32KB/32B 2-way set-associative L1 Instruction cache, 48 TLB entries
cpu0: 32KB/32B 2-way set-associative write-back L1 Data cache
mcclock0 at mainbus0 addr 0x10000070: mc146818 compatible time-of-day clock
panel0 at mainbus0 addr 0x1f000000
gt0 at mainbus0 addr 0x14000000
PCI bus 0: Warning: Total bandwidth exceeded!?   <-------- What is this?

Anyway, I'm kinda stuck. It seems most network stuff works with tlp0
or tlp1, but dhcpd doesn't and that's something I need to work.

And ex0 is kinda nice to have, but now it doesn't work at all...

I'll try a current kernel to see if that helps.

Andy


Home | Main Index | Thread Index | Old Index