Subject: Problem with cardbus install netbsd on laptop
To: None <port-i386@netbsd.org>
From: pascal auillans <auillans@labri.u-bordeaux.fr>
List: port-i386
Date: 01/04/2001 15:47:33
Hi 

I tryed to install NetBSD on a laptop compaq presario 1200 with a
network card 3com 10/100 PCMCIA but I cant get the network card to work
it seems that there is a problem with the cardbus. My sound card and my
network card have the same irq. Can someone help me
Thanks
You can find  after the whole dmesg output



////////////////////////////////
FULL VERSION

NetBSD 1.5_BETA2 (MYLAPTOP) #6: Thu Jan  4 13:18:43 CET 2001
    root@mizou:/usr/src/sys/arch/i386/compile/MYLAPTOP
cpu0: Intel Pentium III (E) (686-class)
total memory = 60992 KB
avail memory = 53280 KB
using 788 buffers containing 3152 KB of memory
BIOS32 rev. 0 found at 0xfd720
PCI BIOS rev. 2.1 found at 0xfd83e
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xfdf70, size 112 bytes (5
entries)
PCI Interrupt Router at 000:07:0 (VIA Technologies VT82C596A (Apollo
Pro) PCI-ISA Bridge)
PIR Entry 0:
	Bus: 0  Device: 0
		INTA: link 0x00 bitmap 0xdef8
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 1:
	Bus: 0  Device: 1
		INTA: link 0x03 bitmap 0xdef8
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 2:
	Bus: 0  Device: 7
		INTA: link 0x01 bitmap 0x9ad0
		INTB: link 0x02 bitmap 0x9ad0
		INTC: link 0x03 bitmap 0x9ad0
		INTD: link 0x05 bitmap 0x0800
PIR Entry 3:
	Bus: 0  Device: 10
		INTA: link 0x02 bitmap 0x0200
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
PIR Entry 4:
	Bus: 0  Device: 9
		INTA: link 0x01 bitmap 0x0800
		INTB: link 0x00 bitmap 0xdef8
		INTC: link 0x00 bitmap 0xdef8
		INTD: link 0x00 bitmap 0xdef8
pci_intr_fixup: no compatible PCI ICU found: ICU vendor 0x1106 product
0x0686
pciintr_link_init: bus 0 device 7 link 0x03: bad irq bitmap 0x9ad0,
should be 0xdef8
pciintr_link_init: bus 0 device 10 link 0x02: bad irq bitmap 0x0200,
should be 0x9ad0
pciintr_link_init: bus 0 device 9 link 0x01: bad irq bitmap 0x0800,
should be 0x9ad0
pciintr_guess_irq (stage 1): guessing PIRQ 0x01 to be IRQ 11
pciintr_guess_irq (stage 1): guessing PIRQ 0x02 to be IRQ 9
pciintr_guess_irq (stage 1): guessing PIRQ 0x05 to be IRQ 11
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:07:2 0x1106 0x3038   D  0x05  11  1    already assigned
000:07:5 0x1106 0x3058   C  0x03   -  0   
000:09:0 0x14f1 0x2013   A  0x01  11  1    already assigned
000:10:0 0x104c 0xac50   A  0x02   9  1    fixed up
------------------------------------------
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI bus #2 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x1106 0x0601 
	10h mem  0xf8000000 0x04000000
		[OK]
000:01:0 0x1106 0x8601 
		[OK]
000:07:0 0x1106 0x0686 
		[OK]
000:07:1 0x1106 0x0571 
	20h port 0x00001420 0x00000010
		[OK]
000:07:2 0x1106 0x3038 
	20h port 0x00001400 0x00000020
		[OK]
000:07:4 0x1106 0x3057 
		[OK]
000:07:5 0x1106 0x3058 
	10h port 0x00001000 0x00000100
	14h port 0x00001434 0x00000004
	18h port 0x00001430 0x00000004
		[OK]
000:09:0 0x14f1 0x2013 
	10h mem  0xf4000000 0x00010000
	14h port 0x00001438 0x00000008
		[OK]
000:10:0 0x104c 0xac50 
	10h mem  0x00000000 0x00001000
		[NG]
001:00:0 0x1023 0x8520 
	10h mem  0xf5000000 0x00800000
	14h mem  0xf4100000 0x00020000
	18h mem  0xf4800000 0x00800000
		[OK]
--------------------------[  1 devices bogus]
 Physical memory end: 0x03bed000
 PCI memory mapped I/O space start: 0x03c00000
[PCIBIOS fixup stage]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x1106 0x0601 
	10h mem  0xf8000000 0x04000000
		[OK]
000:01:0 0x1106 0x8601 
		[OK]
000:07:0 0x1106 0x0686 
		[OK]
000:07:1 0x1106 0x0571 
	20h port 0x00001420 0x00000010
		[OK]
000:07:2 0x1106 0x3038 
	20h port 0x00001400 0x00000020
		[OK]
000:07:4 0x1106 0x3057 
		[OK]
000:07:5 0x1106 0x3058 
	10h port 0x00001000 0x00000100
	14h port 0x00001434 0x00000004
	18h port 0x00001430 0x00000004
		[OK]
000:09:0 0x14f1 0x2013 
	10h mem  0xf4000000 0x00010000
	14h port 0x00001438 0x00000008
		[OK]
000:10:0 0x104c 0xac50 
	10h mem  0x03c00000 0x00001000
		[OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
pnpbios0 at mainbus0: nodes 17, max len 102
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies product 0x0601 (rev. 0x05)
ppb0 at pci0 dev 1 function 0: VIA Technologies product 0x8601 (rev.
0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Trident Microsystems product 0x8520 (rev.
0x6a)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge (rev.
0x22)
pciide0 at pci0 dev 7 function 1: VIA Tech VT82C586A IDE Controller
(rev. 0x10)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <FUJITSU MHK2060AT>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 5729 MB, 12416 cyl, 15 head, 63 sec, 512 bytes/sect x 11733120
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <TOSHIBA CD-ROM XM-7002Bc, , 1010> type 5
cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)
uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller
(rev. 0x10)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
viapm0 at pci0 dev 7 function 4
auvia0 at pci0 dev 7 function 5: VIA VT82C686A AC'97 Audio (rev H)
auvia0: interrupting at irq 9
auvia0: ADS72 codec; headphone, Analog Devices Phat Stereo
audio0 at auvia0: full duplex, mmap, independent
Conexant Systems product 0x2013 (miscellaneous communications, revision
0x01) at pci0 dev 9 function 0 not configured
cbb0 at pci0 dev 10 function 0: Texas Instruments product 0xac50 (rev.
0x01)
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
viaenv0 at viapm0: disabled
cbb0: interrupting at irq 9
cbb0: cacheline 0x0 lattimer 0x20
cbb0: bhlc 0x22000 lscp 0x20020200
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
apm0 at mainbus0: Power Management spec V1.2
biomask ef7d netmask ef7d ttymask ffff
ex0 at cardbus0 dev 0 function 0: 3Com 3c575CT Ethernet
ex0: interrupting at 9
ex0: MAC address 00:01:02:e7:2f:24
tqphy0 at ex0 phy 0: 78Q2120 10/100 media interface, rev. 11
tqphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ex0: device timeout