Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Oct 1999 09:43:42 -0400
From:      "Andrew J. Caines" <Andrew.Caines@nastech.eds.com>
To:        questions@freebsd.org
Subject:   Net problems with SMC8432T and de driver on LAN
Message-ID:  <19991001094342.Z22827@rksunsa10.rkv.nasd.com>

next in thread | raw e-mail | index | archive | help

--JP+T4n/bALQSJXh8
Content-Type: text/plain; charset=us-ascii

Dear Sirs,

After many years of happy FreeBSD'ing in various environments, I upgraded
my home box (Gateway G6-266M) to 3.2-RELEASE (from 2.2.7-RELEASE) with a
fresh install of 3.2 from my WC CDROMs after having added a SMC
EtherPower(SMC8432T 10BaseT) NIC, supported by the de driver.

The NIC is on a LAN comprising my PC, a W2k PC and a Netgear hub which
connects to a new Toshiba cable modem. The W2k box has no problems
enjoying the speedy net access offered by the cable modem. My PC struggles
to send and receive a packet.

The main symptoms are:

I have a link light at the hub, but at the NIC I only ever get link
(green) when I also get collision (orange). This appears to happen only
when the other box is causing heavy traffic and occurs in bursts with
large packet loss. During this time I can squeeze in and out about enough
packets to get DHCP running, and thereafter I can barely complete a net
transaction (eg. load a web page, look up a CD, telnet, etc.)

When the box comes up cold, the interface frequently gets autoconfigured
to the wrong type, eg. 10Base5/AUI, 10Base2/BNC, despite only having RJ45.

I have a custom kernel (config attached) with de0 and other stuff to fit
my box. I have tried every combination of PnP in the BIOS (PnP OS=yes/no)
and the kernel (controller pnp0 or no) and none seem to make any
difference.

I have tried every ifconfig option I can find - full-duplex, link1/2 (not
supported by de according to man page). I have moved to NIC to a different
PCI slot and have swapped it with another of the same type, all without
effect (except the IRQ changed when I moved the NIC).

I'm out of ideas. Can you help?

I've attached various output files from dmesg, ifconfig, netstat -rn
(after DHCP), ping <gateway>, etc. Please let know if I can provide
anything else.

yours,

-Andrew-

--JP+T4n/bALQSJXh8
Content-Type: text/plain
Content-Disposition: attachment; filename="dmesg.txt"

0x05ffdfff, 98181120 bytes (23970 pages)
avail memory = 95408128 (93172K bytes)
Found BIOS32 Service Directory header at 0xc00f7410
Entry = 0xfd7b1 (0xc00fd7b1)  Rev = 0  Len = 1
PCI BIOS entry at 0x21c
DMI header at 0xc00f7400
Version 2.0
Table at 0xef910, 31 entries, 1014 bytes
Other BIOS signatures found:
ACPI: 00000000
$PnP: 000f7430
Preloaded elf kernel "kernel" at 0xc024f000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc024f09c.
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000058
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71808086)
Probing for devices on PCI bus 0:
found->	vendor=0x8086, dev=0x7180, revid=0x03
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[0]: type 3, range 32, base f8000000, size 26
chip0: <Host to PCI bridge (vendor=8086 device=7180)> rev 0x03 on pci0.0.0
found->	vendor=0x8086, dev=0x7181, revid=0x03
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
chip1: <PCI to PCI bridge (vendor=8086 device=7181)> rev 0x03 on pci0.1.0
found->	vendor=0x8086, dev=0x7110, revid=0x01
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.7.0
found->	vendor=0x8086, dev=0x7111, revid=0x01
	class=01-01-80, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[0]: type 4, range 32, base 0000fcd0, size  4
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
intel_piix_status: primary master/slave sample = 3, master/slave recovery = 1
intel_piix_status: primary master fastDMAonly disabled, pre/post enabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
intel_piix_status: primary master/slave sample = 3, master/slave recovery = 1
intel_piix_status: primary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
ide_pci: busmaster 0 status: 24 from port: 0000fcd2
ide_pci: ide0:0 has been configured for DMA by BIOS
intel_piix_status: secondary master/slave sample = 5, master/slave recovery = 4
intel_piix_status: secondary master fastDMAonly disabled, pre/post disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
intel_piix_status: secondary master/slave sample = 5, master/slave recovery = 4
intel_piix_status: secondary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
ide_pci: busmaster 1 status: 44 from port: 0000fcda
ide_pci: ide1:1 has been configured for DMA by BIOS
found->	vendor=0x8086, dev=0x7112, revid=0x01
	class=0c-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=11
	map[0]: type 4, range 32, base 0000fce0, size  5
found->	vendor=0x8086, dev=0x7113, revid=0x01
	class=06-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
chip3: <Intel 82371AB Power management controller> rev 0x01 on pci0.7.3
found->	vendor=0x1011, dev=0x0014, revid=0x21
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[0]: type 4, range 32, base 0000fc00, size  7
	map[1]: type 1, range 32, base fedffc00, size  7
de0: <Digital 21041 Ethernet> rev 0x21 int a irq 10 on pci0.15.0
de0: SMC 21041 [10Mb/s] pass 2.1
de0: address 00:e0:29:3a:9d:a2
bpf: de0 attached
Probing for devices on PCI bus 1:
found->	vendor=0x12d2, dev=0x0018, revid=0x10
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[0]: type 1, range 32, base f4000000, size 24
	map[1]: type 3, range 32, base f2000000, size 24
vga0: <VGA-compatible display device> rev 0x10 int a irq 9 on pci1.0.0
Probing for devices on the ISA bus:
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
sc0 on isa
sc0: fb0 kbd0
sc0: VGA color <4 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
psm0: current command byte:0047
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 00 00 64
psm: status 00 03 64
psm: status 00 03 64
psm: status 10 00 64
psm: data 08 00 00
psm: data 08 00 00
psm: status 00 02 64
psm0 irq 12 on isa
psm0: model IntelliMouse, device ID 3, 3 buttons
psm0: config:00000000, flags:00000000, packet size:4
psm0: syncmask:c8, syncbits:08
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): <QUANTUM FIREBALL ST6.4A>, DMA, 32-bit, multi-block-16
wd0: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S
wd0: ATA INQUIRE valid = 0007, dmamword = 0007, apio = 0003, udma = 0407
wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa
wdc1: unit 0 (wd2): <IOMEGA  ZIP 100>, 32-bit
wd2: 96MB (196608 sectors), 512 cyls, 12 heads, 32 S/T, 512 B/S
wd2: ATA INQUIRE valid = 0001, dmamword = 0000, apio = 0000, udma = 0000
wdc1: unit 1 (atapi): <FX240S/j01>, removable, intr, dma, iordis
acd0: drive speed 4134KB/sec, 256KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm data disc loaded, unlocked
ppc: parallel port found at 0x378
ppc: chipset forced to generic
ppc0: ECP SPP ECP+EPP SPP
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0x0 size:0k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
npx0 on motherboard
npx0: INT 16 interface
imasks: bio c008c040, tty c003101a, net c0060480
BIOS Geometries:
 0:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 1:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 2:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 3:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 4:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 5:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 6:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 7:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors
 0 accounted for
Device configuration finished.
bpf: tun0 attached
bpf: lo0 attached
Considering FFS root f/s.
changing root device to wd0s1a
wd0s1: type 0xa5, start 63, end = 8385929, size 8385867 : OK
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
Linux-ELF exec handler installed
splash: image decoder found: blank_saver
de0: enabling AUI port
fd0c: hard error reading fsbn 0 (ST0 40<abnrml> ST1 1<no_am> ST2 1<no_dam> cyl 0 hd 0 sec 1)
wd2s1: type 0x6, start 32, end = 196223, size 196192 : OK
de0: enabling 10baseT port

--JP+T4n/bALQSJXh8
Content-Type: text/plain
Content-Disposition: attachment; filename="if-boot.txt"

de0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
	ether 00:e0:29:3a:9d:a2 
	media: autoselect (10base5/AUI) status: active
	supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP <full-duplex> 10baseT/UTP

..and after manual reconfig and DHCP...

de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 24.28.216.43 netmask 0xfffffe00 broadcast 255.255.255.255
	ether 00:e0:29:3a:9d:a2 
	media: 10baseT/UTP status: active
	supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP <full-duplex> 10baseT/UTP

--JP+T4n/bALQSJXh8
Content-Type: text/plain
Content-Disposition: attachment; filename="netstat-rn.txt"

Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            24.28.216.1        UGSc        0        0      de0
24.28.216/23       link#1             UC          0        0      de0
24.28.216.1        0:50:f:0:f8:54     UHLW        1        9      de0   1172
24.28.216.43       127.0.0.1          UGHS        0        5      lo0
127.0.0.1          127.0.0.1          UH          1        5      lo0

--JP+T4n/bALQSJXh8
Content-Type: text/plain
Content-Disposition: attachment; filename="ping-gw.txt"

hal9000:help> ping 24.28.216.1     
PING 24.28.216.1 (24.28.216.1): 56 data bytes
64 bytes from 24.28.216.1: icmp_seq=2 ttl=255 time=13563.450 ms
64 bytes from 24.28.216.1: icmp_seq=3 ttl=255 time=12562.184 ms
64 bytes from 24.28.216.1: icmp_seq=4 ttl=255 time=11561.322 ms
64 bytes from 24.28.216.1: icmp_seq=5 ttl=255 time=10561.451 ms
64 bytes from 24.28.216.1: icmp_seq=6 ttl=255 time=9558.924 ms
64 bytes from 24.28.216.1: icmp_seq=7 ttl=255 time=8558.176 ms
64 bytes from 24.28.216.1: icmp_seq=8 ttl=255 time=7558.641 ms
64 bytes from 24.28.216.1: icmp_seq=9 ttl=255 time=6557.442 ms
64 bytes from 24.28.216.1: icmp_seq=10 ttl=255 time=5556.578 ms
64 bytes from 24.28.216.1: icmp_seq=11 ttl=255 time=4556.940 ms
64 bytes from 24.28.216.1: icmp_seq=12 ttl=255 time=3555.733 ms
64 bytes from 24.28.216.1: icmp_seq=13 ttl=255 time=2553.693 ms
64 bytes from 24.28.216.1: icmp_seq=14 ttl=255 time=1551.557 ms
64 bytes from 24.28.216.1: icmp_seq=15 ttl=255 time=550.738 ms
64 bytes from 24.28.216.1: icmp_seq=16 ttl=255 time=111.075 ms
^C
--- 24.28.216.1 ping statistics ---
23 packets transmitted, 15 packets received, 34% packet loss
round-trip min/avg/max/stddev = 111.075/6594.527/13563.450/4265.713 ms

--JP+T4n/bALQSJXh8--


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




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