From owner-freebsd-questions Sat Sep 25 11:27:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pop06.iname.net (pop06.iname.net [165.251.8.76]) by hub.freebsd.org (Postfix) with ESMTP id 2816314BEE for ; Sat, 25 Sep 1999 11:27:06 -0700 (PDT) (envelope-from a.j.caines@altavista.net) Received: from YRREID (WOX3-2-030.mgfairfax.rr.com [24.28.217.30]) by pop06.iname.net (8.9.3/8.9.3) with SMTP id OAA17817; Sat, 25 Sep 1999 14:27:01 -0400 (EDT) Message-ID: <08d501bf0782$f3864870$e8d91c18@YRREID> From: "Andrew J.Caines" To: Cc: Subject: Net problems with SMC8432T and de driver on LAN Date: Sat, 25 Sep 1999 14:22:24 -0400 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_08D2_01BF0761.6375CD30" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_08D2_01BF0761.6375CD30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 , etc. Please let know if I can provide anything else. yours, -Andrew- ------=_NextPart_000_08D2_01BF0761.6375CD30 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.txt" 0x05ffdfff, 98181120 bytes (23970 pages)=0A= avail memory =3D 95408128 (93172K bytes)=0A= Found BIOS32 Service Directory header at 0xc00f7410=0A= Entry =3D 0xfd7b1 (0xc00fd7b1) Rev =3D 0 Len =3D 1=0A= PCI BIOS entry at 0x21c=0A= DMI header at 0xc00f7400=0A= Version 2.0=0A= Table at 0xef910, 31 entries, 1014 bytes=0A= Other BIOS signatures found:=0A= ACPI: 00000000=0A= $PnP: 000f7430=0A= Preloaded elf kernel "kernel" at 0xc024f000.=0A= Preloaded userconfig_script "/boot/kernel.conf" at 0xc024f09c.=0A= pci_open(1): mode 1 addr port (0x0cf8) is 0x80000058=0A= pci_open(1a): mode1res=3D0x80000000 (0x80000000)=0A= pci_cfgcheck: device 0 [class=3D060000] [hdr=3D00] is there = (id=3D71808086)=0A= Probing for devices on PCI bus 0:=0A= found-> vendor=3D0x8086, dev=3D0x7180, revid=3D0x03=0A= class=3D06-00-00, hdrtype=3D0x00, mfdev=3D0=0A= subordinatebus=3D0 secondarybus=3D0=0A= map[0]: type 3, range 32, base f8000000, size 26=0A= chip0: rev 0x03 on = pci0.0.0=0A= found-> vendor=3D0x8086, dev=3D0x7181, revid=3D0x03=0A= class=3D06-04-00, hdrtype=3D0x01, mfdev=3D0=0A= subordinatebus=3D1 secondarybus=3D1=0A= chip1: rev 0x03 on = pci0.1.0=0A= found-> vendor=3D0x8086, dev=3D0x7110, revid=3D0x01=0A= class=3D06-01-00, hdrtype=3D0x00, mfdev=3D1=0A= subordinatebus=3D0 secondarybus=3D0=0A= chip2: rev 0x01 on pci0.7.0=0A= found-> vendor=3D0x8086, dev=3D0x7111, revid=3D0x01=0A= class=3D01-01-80, hdrtype=3D0x00, mfdev=3D0=0A= subordinatebus=3D0 secondarybus=3D0=0A= map[0]: type 4, range 32, base 0000fcd0, size 4=0A= ide_pci0: rev 0x01 on pci0.7.1=0A= intel_piix_status: primary master/slave sample =3D 3, master/slave = recovery =3D 1=0A= intel_piix_status: primary master fastDMAonly disabled, pre/post enabled,=0A= intel_piix_status: IORDY sampling enabled,=0A= intel_piix_status: fast PIO enabled=0A= intel_piix_status: primary master/slave sample =3D 3, master/slave = recovery =3D 1=0A= intel_piix_status: primary slave fastDMAonly disabled, pre/post disabled,=0A= intel_piix_status: IORDY sampling disabled,=0A= intel_piix_status: fast PIO disabled=0A= ide_pci: busmaster 0 status: 24 from port: 0000fcd2=0A= ide_pci: ide0:0 has been configured for DMA by BIOS=0A= intel_piix_status: secondary master/slave sample =3D 5, master/slave = recovery =3D 4=0A= intel_piix_status: secondary master fastDMAonly disabled, pre/post = disabled,=0A= intel_piix_status: IORDY sampling disabled,=0A= intel_piix_status: fast PIO disabled=0A= intel_piix_status: secondary master/slave sample =3D 5, master/slave = recovery =3D 4=0A= intel_piix_status: secondary slave fastDMAonly disabled, pre/post = disabled,=0A= intel_piix_status: IORDY sampling enabled,=0A= intel_piix_status: fast PIO enabled=0A= ide_pci: busmaster 1 status: 44 from port: 0000fcda=0A= ide_pci: ide1:1 has been configured for DMA by BIOS=0A= found-> vendor=3D0x8086, dev=3D0x7112, revid=3D0x01=0A= class=3D0c-03-00, hdrtype=3D0x00, mfdev=3D0=0A= subordinatebus=3D0 secondarybus=3D0=0A= intpin=3Dd, irq=3D11=0A= map[0]: type 4, range 32, base 0000fce0, size 5=0A= found-> vendor=3D0x8086, dev=3D0x7113, revid=3D0x01=0A= class=3D06-80-00, hdrtype=3D0x00, mfdev=3D0=0A= subordinatebus=3D0 secondarybus=3D0=0A= chip3: rev 0x01 on pci0.7.3=0A= found-> vendor=3D0x1011, dev=3D0x0014, revid=3D0x21=0A= class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0=0A= subordinatebus=3D0 secondarybus=3D0=0A= intpin=3Da, irq=3D10=0A= map[0]: type 4, range 32, base 0000fc00, size 7=0A= map[1]: type 1, range 32, base fedffc00, size 7=0A= de0: rev 0x21 int a irq 10 on pci0.15.0=0A= de0: SMC 21041 [10Mb/s] pass 2.1=0A= de0: address 00:e0:29:3a:9d:a2=0A= bpf: de0 attached=0A= Probing for devices on PCI bus 1:=0A= found-> vendor=3D0x12d2, dev=3D0x0018, revid=3D0x10=0A= class=3D03-00-00, hdrtype=3D0x00, mfdev=3D0=0A= subordinatebus=3D0 secondarybus=3D0=0A= intpin=3Da, irq=3D9=0A= map[0]: type 1, range 32, base f4000000, size 24=0A= map[1]: type 3, range 32, base f2000000, size 24=0A= vga0: rev 0x10 int a irq 9 on pci1.0.0=0A= Probing for devices on the ISA bus:=0A= atkbd: the current kbd controller command byte 0047=0A= atkbd: keyboard ID 0x41ab (2)=0A= kbdc: RESET_KBD return code:00fa=0A= kbdc: RESET_KBD status:00aa=0A= sc0 on isa=0A= sc0: fb0 kbd0=0A= sc0: VGA color <4 virtual consoles, flags=3D0x0>=0A= atkbdc0 at 0x60-0x6f on motherboard=0A= atkbd0 irq 1 on isa=0A= kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000=0A= psm0: current command byte:0047=0A= kbdc: TEST_AUX_PORT status:0000=0A= kbdc: RESET_AUX return code:00fa=0A= kbdc: RESET_AUX status:00aa=0A= kbdc: RESET_AUX ID:0000=0A= psm: status 00 02 64=0A= psm: status 00 00 64=0A= psm: status 00 03 64=0A= psm: status 00 03 64=0A= psm: status 10 00 64=0A= psm: data 08 00 00=0A= psm: data 08 00 00=0A= psm: status 00 02 64=0A= psm0 irq 12 on isa=0A= psm0: model IntelliMouse, device ID 3, 3 buttons=0A= psm0: config:00000000, flags:00000000, packet size:4=0A= psm0: syncmask:c8, syncbits:08=0A= sio0: irq maps: 0x1 0x11 0x1 0x1=0A= sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa=0A= sio0: type 16550A=0A= sio1: irq maps: 0x1 0x9 0x1 0x1=0A= sio1 at 0x2f8-0x2ff irq 3 on isa=0A= sio1: type 16550A=0A= fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa=0A= fdc0: FIFO enabled, 8 bytes threshold=0A= fd0: 1.44MB 3.5in=0A= wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa=0A= wdc0: unit 0 (wd0): , DMA, 32-bit, = multi-block-16=0A= wd0: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S=0A= wd0: ATA INQUIRE valid =3D 0007, dmamword =3D 0007, apio =3D 0003, udma = =3D 0407=0A= wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa=0A= wdc1: unit 0 (wd2): , 32-bit=0A= wd2: 96MB (196608 sectors), 512 cyls, 12 heads, 32 S/T, 512 B/S=0A= wd2: ATA INQUIRE valid =3D 0001, dmamword =3D 0000, apio =3D 0000, udma = =3D 0000=0A= wdc1: unit 1 (atapi): , removable, intr, dma, iordis=0A= acd0: drive speed 4134KB/sec, 256KB cache=0A= acd0: supported read types: CD-R, CD-RW, CD-DA, packet track=0A= acd0: Audio: play, 255 volume levels=0A= acd0: Mechanism: ejectable tray=0A= acd0: Medium: CD-ROM 120mm data disc loaded, unlocked=0A= ppc: parallel port found at 0x378=0A= ppc: chipset forced to generic=0A= ppc0: ECP SPP ECP+EPP SPP=0A= ppc0 at 0x378 irq 7 flags 0x40 on isa=0A= ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode=0A= ppc0: FIFO with 16/16/8 bytes threshold=0A= lpt0: on ppbus 0=0A= lpt0: Interrupt-driven port=0A= lpt0: on ppbus 0=0A= lpt0: Interrupt-driven port=0A= vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa=0A= fb0: vga0, vga, type:VGA (5), flags:0x7007f=0A= fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000=0A= fb0: init mode:24, bios mode:3, current mode:24=0A= fb0: window:0xc00b8000 size:32k gran:32k, buf:0x0 size:0k=0A= VGA parameters upon power-up=0A= 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 =0A= bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 =0A= b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c =0A= 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff =0A= VGA parameters in BIOS for mode 24=0A= 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 =0A= bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 =0A= b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c =0A= 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff =0A= EGA/VGA parameters to be used for mode 24=0A= 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 =0A= bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 =0A= b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c =0A= 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff =0A= npx0 on motherboard=0A= npx0: INT 16 interface=0A= imasks: bio c008c040, tty c003101a, net c0060480=0A= BIOS Geometries:=0A= 0:00000000 0..0=3D1 cylinders, 0..0=3D1 heads, 1..0=3D0 sectors=0A= 1:00000000 0..0=3D1 cylinders, 0..0=3D1 heads, 1..0=3D0 sectors=0A= 2:00000000 0..0=3D1 cylinders, 0..0=3D1 heads, 1..0=3D0 sectors=0A= 3:00000000 0..0=3D1 cylinders, 0..0=3D1 heads, 1..0=3D0 sectors=0A= 4:00000000 0..0=3D1 cylinders, 0..0=3D1 heads, 1..0=3D0 sectors=0A= 5:00000000 0..0=3D1 cylinders, 0..0=3D1 heads, 1..0=3D0 sectors=0A= 6:00000000 0..0=3D1 cylinders, 0..0=3D1 heads, 1..0=3D0 sectors=0A= 7:00000000 0..0=3D1 cylinders, 0..0=3D1 heads, 1..0=3D0 sectors=0A= 0 accounted for=0A= Device configuration finished.=0A= bpf: tun0 attached=0A= bpf: lo0 attached=0A= Considering FFS root f/s.=0A= changing root device to wd0s1a=0A= wd0s1: type 0xa5, start 63, end =3D 8385929, size 8385867 : OK=0A= ffs_mountfs: superblock updated for soft updates=0A= ffs_mountfs: superblock updated for soft updates=0A= Linux-ELF exec handler installed=0A= splash: image decoder found: blank_saver=0A= de0: enabling AUI port=0A= fd0c: hard error reading fsbn 0 (ST0 40 ST1 1 ST2 = 1 cyl 0 hd 0 sec 1)=0A= wd2s1: type 0x6, start 32, end =3D 196223, size 196192 : OK=0A= de0: enabling 10baseT port=0A= ------=_NextPart_000_08D2_01BF0761.6375CD30 Content-Type: text/plain; name="if-boot.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="if-boot.txt" de0: flags=3D8802 mtu 1500=0A= ether 00:e0:29:3a:9d:a2 =0A= media: autoselect (10base5/AUI) status: active=0A= supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP = 10baseT/UTP=0A= =0A= ..and after manual reconfig and DHCP...=0A= =0A= de0: flags=3D8843 mtu 1500=0A= inet 24.28.216.43 netmask 0xfffffe00 broadcast 255.255.255.255=0A= ether 00:e0:29:3a:9d:a2 =0A= media: 10baseT/UTP status: active=0A= supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP = 10baseT/UTP=0A= ------=_NextPart_000_08D2_01BF0761.6375CD30 Content-Type: text/plain; name="netstat-rn.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="netstat-rn.txt" Routing tables=0A= =0A= Internet:=0A= Destination Gateway Flags Refs Use Netif = Expire=0A= default 24.28.216.1 UGSc 0 0 de0=0A= 24.28.216/23 link#1 UC 0 0 de0=0A= 24.28.216.1 0:50:f:0:f8:54 UHLW 1 9 de0 = 1172=0A= 24.28.216.43 127.0.0.1 UGHS 0 5 lo0=0A= 127.0.0.1 127.0.0.1 UH 1 5 lo0=0A= ------=_NextPart_000_08D2_01BF0761.6375CD30 Content-Type: text/plain; name="ping-gw.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ping-gw.txt" hal9000:help> ping 24.28.216.1 =0A= PING 24.28.216.1 (24.28.216.1): 56 data bytes=0A= 64 bytes from 24.28.216.1: icmp_seq=3D2 ttl=3D255 time=3D13563.450 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D3 ttl=3D255 time=3D12562.184 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D4 ttl=3D255 time=3D11561.322 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D5 ttl=3D255 time=3D10561.451 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D6 ttl=3D255 time=3D9558.924 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D7 ttl=3D255 time=3D8558.176 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D8 ttl=3D255 time=3D7558.641 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D9 ttl=3D255 time=3D6557.442 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D10 ttl=3D255 time=3D5556.578 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D11 ttl=3D255 time=3D4556.940 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D12 ttl=3D255 time=3D3555.733 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D13 ttl=3D255 time=3D2553.693 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D14 ttl=3D255 time=3D1551.557 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D15 ttl=3D255 time=3D550.738 ms=0A= 64 bytes from 24.28.216.1: icmp_seq=3D16 ttl=3D255 time=3D111.075 ms=0A= ^C=0A= --- 24.28.216.1 ping statistics ---=0A= 23 packets transmitted, 15 packets received, 34% packet loss=0A= round-trip min/avg/max/stddev =3D 111.075/6594.527/13563.450/4265.713 ms=0A= ------=_NextPart_000_08D2_01BF0761.6375CD30-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message