Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 1998 00:10:01 -0800 (PST)
From:      spadger@best.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   kern/5590: SMC 8423TBA (DEC de0) port enabling/probing problem.
Message-ID:  <199801280810.AAA16495@hub.freebsd.org>

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

>Number:         5590
>Category:       kern
>Synopsis:       SMC 8423TBA (DEC de0) port enabling/probing problem.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 28 00:20:01 PST 1998
>Last-Modified:
>Originator:     Andy Sparrow
>Organization:
None.
>Release:        2.2.5-RELEASE
>Environment:
FreeBSD PC.fluke.org 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Tue Jan 27 23:10:28 PST 1998     root@PC.fluke.org:/usr/src/sys/compile/PC.gpnp  i386

>Description:
Hi.

I was running 2.2.2-RELEASE with an SMC 8432, using thinnet and the
BNC connector.

It worked fine, I simply plugged it all in.

I upgraded to 2.2.5-RELEASE, and, on booting with the BNC port connected,
the driver says that "auto-select" is enabled, but complains afterwards
about a "cable problem?".

I messed about with 'ifconfig' and the 'media' option, but it didn't  
seem to be possible to get the BNC port working. Leastways, I couldn't
persuade it to work.

Using a transceiver into the AUI port, on boot the driver states
"AUI/BNC port selected" and the AUI port works fine. However,
"hot-swapping" the cable to the BNC connector doesn't work.

In 2.2.2-RELEASE, this "Just Works". :=)

I tried the later driver (971020-de.gz) from the 3am-software home page,
which, unhappily, behaves in exactly the same way as the driver in
2.2.5-RELEASE.

I "down-graded" the 'de' driver code to the two files from the
2.2.2-RELEASE distribution:

-rw-r--r--  1 root  wheel  20269 Dec  3  1996 /sys/pci/dc21040.h
-rw-r--r--  1 root  wheel  137197 Apr 19  1997 /sys/pci/if_de.c
  
  
Regardless of whether it is the BNC or the AUI port that is connected,
this driver says that it has selected the AUI/BNC port (rather earlier
in the 'dmesg' output). With this version, it appears that the AUI port
is broken (no messages are given, everything looks fine, simply no packets
appear to get put on the wire). However, the BNC port works fine, so I'm
using this and the tranceiver is back in the drawer...

I haven't tried the TP port, but I could if it'd be of any interest...

Let me know if you need anyone to test this.


Best regards,

AS

PS BTW, the appended 'dmesg' output will show that I'm running Luigi's
PnP code. This doesn't seem to be a factor (i.e. the problem appeared
before I added this driver, and seems unchanged afterwards).


Output of 'dmesg' after boot follows (the 2.2,2-RELEASE output is from
a different machine which hasn't yet been upgraded):


de.222.dmesg:


Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.2-RELEASE #0: Tue Sep  2 22:32:21 PDT 1997
    root@tildy.fluke.org:/usr/src/sys/compile/tildy
CPU: Pentium (150.07-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 67108864 (65536K bytes)
avail memory = 62595072 (61128K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82437VX PCI cache memory controller> rev 2 on pci0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
de0 <Digital 21040 Ethernet> rev 35 int a irq 12 on pci0:10 
de0: SMC 8432BTA 21040 [10Mb/s] pass 2.3 
de0: address 00:00:c0:cf:1a:0f
de0: enabling BNC/AUI port
pci0:11:    Adaptec, device=0x7178, class=storage (scsi) int a irq 10 [no driver assigned]
vga0 <VGA-compatible display device> rev 2 int a irq 11 on pci0:12
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
ed1: disabled, not probed.
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 not found at 0x2f8
sio2: disabled, not probed. 
sio3: disabled, not probed. 
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 not found at 0xffffffff
mse0: disabled, not probed.
psm0: disabled, not probed.
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <WDC AC33100H>
wd0: 3020MB (6185088 sectors), 6136 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <WDC AC33200L>
wd1: 3098MB (6346368 sectors), 6296 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
aha0 not found at 0x330
mcd0: disabled, not probed.
matcdc0: disabled, not probed.
scd0: disabled, not probed.
npx0 flags 0x1 on motherboard
npx0: INT 16 interface 
apm0: disabled, not probed.
changing root device to wd1a 
wd1: invalid extended partition table: no magic



de.225.AUI.dmesg:


Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.5-RELEASE #0: Tue Jan 27 22:05:59 PST 1998
    root@PC.fluke.org:/usr/src/sys/compile/PC.gpnp
CPU: AMD Am5x86 Write-Back (486-class CPU)
  Origin = "AuthenticAMD"  Id = 0x4f4  Stepping=4
  Features=0x1<FPU> 
real memory  = 33554432 (32768K bytes)
avail memory = 30232576 (29524K bytes)
Probing for devices on PCI bus 0:
ahc0 <Adaptec 2940 SCSI host adapter> rev 3 int a irq 12 on pci0:13
ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "FUJITSU M1606S-512 6237" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 1041MB (2131992 512 byte sectors)
(ahc0:6:0): "PLEXTOR CD-ROM PX-6XCS 1.06" type 5 removable SCSI 2
cd0(ahc0:6:0): CD-ROM can't get the size
vga0 <VGA-compatible display device> rev 2 int a irq 11 on pci0:14
de0 <Digital 21040 Ethernet> rev 35 int a irq 10 on pci0:15
de0: SMC 8432BTA 21040 [10Mb/s] pass 2.3
de0: address 00:00:c0:80:04:be
chip0 <generic PCI bridge (vendor=1060 device=8881 subclass=0)> rev 1 on pci0:16
chip1 <generic PCI bridge (vendor=1060 device=886a subclass=1)> rev 1 on pci0:18
Probing for PnP devices:
CSN 1 Vendor ID: LTI000b [0x0b008932] Serial 0xffffffff
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280 
ed1 not found at 0x300
fe0 not found at 0x300
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 not found at 0xffffffff
lpt1 not found at 0xffffffff

mse0 not found at 0x23c
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM FIREBALL_TM3200A>
wd0: 3067MB (6281856 sectors), 6232 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
bt0 not found at 0x330
uha0 not found at 0x330
aha0 not found at 0x330
aic0 not found at 0x340 
nca0 at 0x1f88-0x1f8b irq 10 on isa
nca0: type ProAudioSpectrum-16 
nca0 waiting for scsi devices to settle
nca1 not found at 0x350
sea0 not found
wt0 not found at 0x300
mcd0 not found at 0x300
matcdc0 not found at 0x230
scd0 not found at 0x230
ie0: unknown board_id: f000
ie0 not found at 0x300
ie1: unknown board_id: f000
ie1 not found at 0x360
ep0 not found at 0x300
ex0 not found at 0x300
le0 not found at 0x300  
lnc0 not found at 0x280
ze0 not found at 0x300 
zp0 not found at 0x300 
npx0 flags 0x1 on motherboard
npx0: INT 16 interface 
de0: enabling AUI/BNC port



de.225.BNC.dmesg:


Copyright (c) 1992-1997 FreeBSD Inc.

Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.5-RELEASE #0: Tue Jan 27 22:05:59 PST 1998
    root@PC.fluke.org:/usr/src/sys/compile/PC.gpnp
CPU: AMD Am5x86 Write-Back (486-class CPU)
  Origin = "AuthenticAMD"  Id = 0x4f4  Stepping=4
  Features=0x1<FPU>
real memory  = 33554432 (32768K bytes)
avail memory = 30232576 (29524K bytes)
Probing for devices on PCI bus 0:
ahc0 <Adaptec 2940 SCSI host adapter> rev 3 int a irq 12 on pci0:13
ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "FUJITSU M1606S-512 6237" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 1041MB (2131992 512 byte sectors)
(ahc0:6:0): "PLEXTOR CD-ROM PX-6XCS 1.06" type 5 removable SCSI 2
cd0(ahc0:6:0): CD-ROM can't get the size
vga0 <VGA-compatible display device> rev 2 int a irq 11 on pci0:14
de0 <Digital 21040 Ethernet> rev 35 int a irq 10 on pci0:15
de0: SMC 8432BTA 21040 [10Mb/s] pass 2.3
de0: address 00:00:c0:80:04:be
chip0 <generic PCI bridge (vendor=1060 device=8881 subclass=0)> rev 1 on pci0:16
chip1 <generic PCI bridge (vendor=1060 device=886a subclass=1)> rev 1 on pci0:18
Probing for PnP devices:
CSN 1 Vendor ID: LTI000b [0x0b008932] Serial 0xffffffff
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280 
ed1 not found at 0x300
fe0 not found at 0x300 
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 not found at 0xffffffff
lpt1 not found at 0xffffffff
mse0 not found at 0x23c
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM FIREBALL_TM3200A>
wd0: 3067MB (6281856 sectors), 6232 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
bt0 not found at 0x330
uha0 not found at 0x330
aha0 not found at 0x330
aic0 not found at 0x340
nca0 at 0x1f88-0x1f8b irq 10 on isa
nca0: type ProAudioSpectrum-16
nca0 waiting for scsi devices to settle
nca1 not found at 0x350
sea0 not found
wt0 not found at 0x300
mcd0 not found at 0x300
matcdc0 not found at 0x230
scd0 not found at 0x230
ie0: unknown board_id: f000
ie0 not found at 0x300
ie1: unknown board_id: f000
ie1 not found at 0x360
ep0 not found at 0x300
ex0 not found at 0x300
le0 not found at 0x300
lnc0 not found at 0x280
ze0 not found at 0x300
zp0 not found at 0x300
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
de0: autosense failed: cable problem?




>How-To-Repeat:
Install an SMC 8432TBA card and try to use the BNC port with 
2.2.5-RELEASE.
>Fix:

For me, this is to either use the AUI port and a transceiver, or to
use the BNC port with the 2.2.2-RELEASE driver.

>Audit-Trail:
>Unformatted:



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