ed1 mistakenly known as wi0 (Was: Re: Heads up: NEWCARD is coming)

Tomaz Borstnar tomaz.borstnar at over.net
Tue Feb 10 09:23:26 PST 2004


Joerg Sonnenberger wrote:

Second thing to try would be a reduced kernel w/o device wi. There
might be some problems with device probing ATM, which I will start
to solve after the initial NEWCARD commit. I'll keep the default at
OLDCARD if that solved your problems though.
NEWCARD is causing problems for my NE2000 compatible 16-bit card. Before 
that it worked fine as ed1. With NEWCARD it is mistaken for wi0:

wi0 at port 0x300-0x31f irq 10 function 0 config 32 on pccard0
wi0: mac read failed 28
device_probe_and_attach: wi0 attach returned 28
Here is pciconf -l:
# pciconf -l
agp0 at pci0:0:0:	class=0x060000 card=0x72331071 chip=0x71908086 rev=0x03 
hdr=0x00
pcib1 at pci0:1:0:	class=0x060400 card=0x00000000 chip=0x71918086 rev=0x03 
hdr=0x01
isab0 at pci0:7:0:	class=0x060100 card=0x00000000 chip=0x71108086 rev=0x02 
hdr=0x00
atapci0 at pci0:7:1:	class=0x010180 card=0x00000000 chip=0x71118086 
rev=0x01 hdr=0x00
none0 at pci0:7:2:	class=0x0c0300 card=0x00000000 chip=0x71128086 rev=0x01 
hdr=0x00
none1 at pci0:7:3:	class=0x068000 card=0x00000000 chip=0x71138086 rev=0x02 
hdr=0x00
cbb0 at pci0:8:0:	class=0x060700 card=0x72331071 chip=0xac1c104c rev=0x01 
hdr=0x02
cbb1 at pci0:8:1:	class=0x060700 card=0x72331071 chip=0xac1c104c rev=0x01 
hdr=0x02
none2 at pci0:9:0:	class=0x040100 card=0x72331071 chip=0x1978125d rev=0x10 
hdr=0x00
none3 at pci0:10:0:	class=0x078000 card=0x72331071 chip=0x7890134d rev=0x01 
hdr=0x00
none4 at pci1:0:0:	class=0x030000 card=0x72331071 chip=0x4c421002 rev=0xdc 
hdr=0x00

Here is dmesg output:
Copyright (c) 2003-2004 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly 1.0-CURRENT #1: Tue Feb 10 10:33:06 GMT 2004
    root at xxxxxxxxxxxxxx:/usr/obj/usr/src/sys/ZVEZEK
CPU: Intel Pentium III (138.36-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 167706624 (163776K bytes)
avail memory = 152256512 (148688K bytes)
Preloaded elf kernel "/kernel" at 0xc0594000.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: BIOS version 2.10
Using $PIR table, 5 entries at 0xc00fe840
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on 
motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 
0x20000000-0x2fffffff at device 0.0 on pci0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI model 4c42 graphics accelerator> at 0.0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1100-0x110f at device 7.1 
on pci0
ata0: at 0x1f0 irq 14 on atapci0
installed MI handler for int 14
ata1: at 0x170 irq 15 on atapci0
installed MI handler for int 15
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> at device 7.2 on pci0
uhci0: Could not map ports
device_probe_and_attach: uhci0 attach returned 6
pci0: <Intel 82371AB Power management controller> at 7.3
cbb0: <TI1225 PCI-CardBus Bridge> irq 10 at device 8.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
installed MI handler for int 10
cbb1: <TI1225 PCI-CardBus Bridge> irq 10 at device 8.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pci0: <ESS Technology Maestro 2E Audio controller> at 9.0 irq 5
pci0: <unknown card> (vendor=0x134d, dev=0x7890) at 10.0 irq 10
orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xf1000-0xf1fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
installed MI handler for int 6
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
installed MI handler for int 1
psm0: <PS/2 Mouse> irq 12 on atkbdc0
installed MI handler for int 12
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
installed MI handler for int 4
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
installed MI handler for int 3
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
installed MI handler for int 7
installed MI handler for int 0
ata1-slave: ATAPI identify retries exceeded
ad0: 19077MB <HITACHI_DK23CA-20> [38760/16/63] at ata0-master UDMA33
acd0: DVD-ROM <TOSHIBA DVD-ROM SD-C2302> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TOSHIBA DVD-ROM SD-C2302 1713> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
wi0 at port 0x300-0x31f irq 10 function 0 config 32 on pccard0
wi0: mac read failed 28
device_probe_and_attach: wi0 attach returned 28





More information about the Kernel mailing list