-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

        Please find attached the dmesg output from a "boot -v".

        I've got an Aztel PCI NIC-Hub Adapter.  FreeBSD seems to find
it and configure it for the most part....:

wb0: <Winbond W89C840F 10/100BaseTX> port 0xec00-0xec7f mem
0xffafef80-0xffafefff irq 11 at device 15.0 on pci0
wb0: Ethernet address: 00:00:e8:21:8b:11

        ... but then fails with:

device_probe_and_attach: wb0 attach returned 6

        I've done some investigation (see my own debug lines in the dmesg)
and have tracked it down to a failure in MII to initalise the PHY.

        Can anybody shed any light on why FreeBSD finds the card but not
the PHY and also how to fix it!

Stewart.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOfgdjzBV3dfs1c5kEQIz2QCgyOPDBd+Ej3jdTExZP3CZMDDMpaMAn3G9
xnNkh70PPYBzKcqRQmE/cVof
=ooAF
-----END PGP SIGNATURE-----
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.1.1-STABLE #6: Thu Oct  5 18:31:44 BST 2000
    [EMAIL PROTECTED]:/usr/src/sys/compile/ALPHAD
Calibrating clock(s) ... TSC clock: 350751170 Hz, i8254 clock: 1193031 Hz
Timecounter "i8254"  frequency 1193031 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (350.75-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
  
Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 67108864 (65536K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x00357000 - 0x03ff5fff, 63565824 bytes (15519 pages)
avail memory = 61923328 (60472K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fdb40
bios32: Entry = 0xfdb50 (c00fdb50)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xdb71
pnpbios: Found PnP BIOS data at 0xc00f7330
pnpbios: Entry = f0000:66e4  Rev = 1.0
Other BIOS signatures found:
ACPI: 00000000
Preloaded elf kernel "kernel" at 0xc033e000.
Pentium Pro MTRR support enabled
pci_open(1):    mode 1 addr port (0x0cf8) is 0x8000005c
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71a08086)
pcib-: pcib0 exists, using next available unit number
npx0: <math processor> on motherboard
npx0: INT 16 interface
pci_open(1):    mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71a08086)
pcib0: <Intel 82443GX host to PCI bridge> on motherboard
found-> vendor=0x8086, dev=0x71a0, revid=0x00
        class=06-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[10]: type 1, range 32, base f8000000, size 26
found-> vendor=0x8086, dev=0x71a1, revid=0x00
        class=06-04-00, hdrtype=0x01, mfdev=0
        subordinatebus=1        secondarybus=1
found-> vendor=0x8086, dev=0x7110, revid=0x02
        class=06-01-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
found-> vendor=0x8086, dev=0x7111, revid=0x01
        class=01-01-80, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[20]: type 1, range 32, base 0000ffa0, size  4
found-> vendor=0x8086, dev=0x7112, revid=0x01
        class=0c-03-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=d, irq=10
        map[20]: type 1, range 32, base 0000ef80, size  5
found-> vendor=0x8086, dev=0x7113, revid=0x02
        class=06-80-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[90]: type 1, range 32, base 00000440, size  4
found-> vendor=0x9005, dev=0x005f, revid=0x00
        class=01-00-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
        intpin=a, irq=0
        map[10]: type 1, range 32, base ffffff00, size  8
        map[14]: type 1, range 64, base fffff000, size 12
found-> vendor=0x9005, dev=0x005f, revid=0x00
        class=01-00-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
        intpin=a, irq=0
        map[10]: type 1, range 32, base ffffff00, size  8
        map[14]: type 1, range 64, base fffff000, size 12
found-> vendor=0x8086, dev=0x1229, revid=0x08
        class=02-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=10
        map[10]: type 1, range 32, base ffaff000, size 12
        map[14]: type 1, range 32, base 0000ef00, size  6
        map[18]: type 1, range 32, base ff900000, size 20
found-> vendor=0x1050, dev=0x0840, revid=0x00
        class=02-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=11
        map[10]: type 1, range 32, base 0000ec00, size  7
        map[14]: type 1, range 32, base ffafef80, size  7
pci0: <PCI bus> on pcib0
pcib2: <Intel 82443GX (440 GX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xffa0-0xffaf at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xffa0
ata0: mask=03 status0=50 status1=00
ata0: mask=03 status0=50 status1=00
ata0: devices = 0x1
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xffa8
ata1: mask=03 status0=0c status1=0c
ata1: mask=03 status0=1b status1=1b
ata1: devices = 0x0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> (vendor=0x8086, dev=0x7112) at 7.2 irq 
10
intpm0: <Intel 82371AB Power management controller> port 0x440-0x44f irq 9 at device 
7.3 on pci0
intpm0: I/O mapped 440
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped 400 
pci0: <unknown card> (vendor=0x9005, dev=0x005f) at 11.0 irq 0
pci0: <unknown card> (vendor=0x9005, dev=0x005f) at 11.1 irq 0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xef00-0xef3f mem 
0xff900000-0xff9fffff,0xffaff000-0xffafffff irq 10 at device 13.0 on pci0
fxp0: Ethernet address 00:e0:81:10:49:30
wb0: <Winbond W89C840F 10/100BaseTX> port 0xec00-0xec7f mem 0xffafef80-0xffafefff irq 
11 at device 15.0 on pci0
wb0: Ethernet address: 00:00:e8:21:8b:11
--- my own debuging lines ---
wb0: Doing MII setup...
wb0: sc->wb_miibus = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
bmsr = 0
wb0: MII setup failed (6)!
--- end of my own debuging lines ---
device_probe_and_attach: wb0 attach returned 6
pci_open(1):    mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71a08086)
pci-: pci1 exists, using next available unit number
pcib1: <Intel 82443GX host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
vga0: <Generic ISA VGA> at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff on isa0
fb0: vga0, mda, type:MDA (1), flags:0x70000
fb0: port:0x3b0-0x3bb, crtc:0x3b4, mem:0xb0000 0x8000
fb0: init mode:7, bios mode:7, current mode:7
fb0: window:0xc00b0000 size:32k gran:32k, buf:0 size:32k
sc0: <System console> at flags 0x100 on isa0
sc0: MDA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
sio1: irq maps: 0x41 0x49 0x41 0x41
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
new masks: bio 68c040, tty 63001a, net 67041a
DUMMYNET initialized (000608)
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, 
default to accept, logging limited to 100 packets/entry by default
IPv6 packet filtering initialized, default to accept, logging limited to 100 
packets/entry
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.8 initialized.  Default = pass all, Logging = enabled
ata0-master: success setting UDMA2 on PIIX4 chip
ad0: <IBM-DJNA-371350/J76OA30K> ATA-4 disk at ata0 as master
ad0: 12949MB (26520480 sectors), 26310 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 32 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
Creating DISK ad0
Creating DISK wd0
vinum: loaded
Mounting root from ufs:/dev/wd0s1a
wd0s1: type 0xa5, start 0, end = 26520479, size 26520480 : OK
start_init: trying /sbin/init

Reply via email to