Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2000 10:40:38 +0100
From:      Wilko Bulte <wkb@freebie.demon.nl>
To:        Bill Paul <wpaul@freebsd.org>
Cc:        jhb@freebsd.org, freebsd-alpha@freebsd.org
Subject:   Re: cvs commit: src/sys/alpha/conf GENERIC
Message-ID:  <20001209104038.A5866@freebie.demon.nl>
In-Reply-To: <20001208222642.4B9E837B401@hub.freebsd.org>; from wpaul@freebsd.org on Fri, Dec 08, 2000 at 02:26:42PM -0800
References:  <20001208232403.A1471@freebie.demon.nl> <20001208222642.4B9E837B401@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 08, 2000 at 02:26:42PM -0800, Bill Paul wrote:
> > 
> > Looks like I lack a .h somewhere:
> > 
> > mx5# make
> > cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
> > -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include
> > -D_KERNEL -include opt_global.h -elf  -mno-fp-regs -Wa,-mev56
> > ../../pci/if_tx.c
> > ../../pci/if_tx.c: In function `epic_rx_done':
> > ../../pci/if_tx.c:930: `ETHER_ALIGN' undeclared (first use in this function)
> > ../../pci/if_tx.c:930: (Each undeclared identifier is reported only once
> > ../../pci/if_tx.c:930: for each function it appears in.)
> > *** Error code 1
> 
> Grrr. I screwed up. For now, add a line to the top of if_tx.c that
> says:
> 
> #define ETHER_ALIGN 2
> 
> and try compiling again. I added this to my copy of if_txvar.h the other
> day when I was tinkering withh this, but forgot to make a diff for that
> when I made the other changes today.

Better, no panic anymore. But no traffic yet. Have not looked in the source
where these errors originate. But here is the transcript:

mx5# ifconfig -a
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.200.24 netmask 0xffffff00 broadcast 192.168.200.255
        ether 00:00:f8:75:3c:6a 
        media: 100baseTX status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
tx0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:e0:29:15:b9:43 
        media: autoselect (<unknown type>)
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
mx5# ifconfig dc0 down
mx5# ifconfig tx0 192.168.200.24
rtx0: can't stop Tx DMA
tinit: wrong ifa (0xfffffe000049ab00) was (0xfffffe000049b400)
mx5# Dec 19 10:36:00 mx5 /kernel: rtx0: can't stop Tx DMA
Dec 19 10:36:00 mx5 /kernel: rtx0: can't stop Tx DMA
Dec 19 10:36:00 mx5 /kernel: tinit: wrong ifa (0xfffffe000049ab00) was
(0xfffffe000049b400)
Dec 19 10:36:00 mx5 /kernel: tinit: wrong ifa (0xfffffe000049ab00) was
(0xfffffe000049b400)

<< I moved the UTP cable from dc0 to tx0 here >>

mx5# 
mx5# tx0: device timeout 1 packets, reinitialization
tx0: can't stop Tx DMA
Dec 19 10:36:07 mx5 /kernel: tx0: device timeout 1 packets, reinitialization
Dec 19 10:36:07 mx5 /kernel: tx0: device timeout 1 packets, reinitialization
Dec 19 10:36:07 mx5 /kernel: tx0: can't stop Tx DMA
Dec 19 10:36:07 mx5 /kernel: tx0: can't stop Tx DMA

mx5# 
mx5# 
mx5# ifconfig -a
dc0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.200.24 netmask 0xffffff00 broadcast 192.168.200.255
        ether 00:00:f8:75:3c:6a 
        media: 100baseTX status: no carrier
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
tx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.200.24 netmask 0xffffff00 broadcast 192.168.200.255
        ether 00:e0:29:15:b9:43 
        media: autoselect (100baseTX) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 

<< The ethernet hub appears to negotiate for 100Mbit OK, according to
it's LEDs >>

mx5# ping 192.168.200.1
PING 192.168.200.1 (192.168.200.1): 48 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
ping: sendto: Host is down
^C
--- 192.168.200.1 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss
mx5# tx0: device timeout 5 packets, reinitialization
tx0: can't stop Tx DMA
Dec 19 10:37:04 mx5 /kernel: tx0: device timeout 5 packets, reinitialization
Dec 19 10:37:04 mx5 /kernel: tx0: device timeout 5 packets, reinitialization
Dec 19 10:37:04 mx5 /kernel: tx0: can't stop Tx DMA
Dec 19 10:37:04 mx5 /kernel: tx0: can't stop Tx DMA
mx5# 

hth

-- 
Wilko Bulte  	 					Arnhem, the Netherlands
wilko@freebsd.org  	http://www.freebsd.org 		http://www.nlfug.nl



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001209104038.A5866>