Subject: Re: IBM IDE PC Card -support-after_summer_break
To: Greg Troxel <gdt@ir.bbn.com>
From: None <pmps@onet.eu>
List: port-i386
Date: 09/07/2006 23:11:41
This is a multi-part message in MIME format...

------------=_1157623248-17119-76
Content-Type: text/plain; charset="iso-8859-2"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Użytkownik Greg Troxel <gdt@ir.bbn.com> napisał:
>pcmcia0: Manufacturer code 0xffffffff, product 0xffffffff
>
>This looks like a problem with a missing FIXUP of some sort.
>
>Are you using GENERIC_LAPTOP with:
>
>options PCI_ADDR_FIXUP# fixup PCI I/O addresses
>options PCI_BUS_FIXUP# fixup PCI bus numbering
>options PCI_INTR_FIXUP# fixup PCI interrupt routing
>
>Is this a cardbus controller with a pcmcia controller, or something
>else?
>
>Try 
>#options PCMCIAVERBOSE# verbose PCMCIA configuration messages
>#options PNPBIOSVERBOSE# verbose PnP BIOS messages
>#options PNPBIOSDEBUG# more fulsome PnP BIOS debugging messages
>
>and PCMCIADEBUG

I only didn't have this options:
PNPBIOSVERBOSE and PNPBIOSDEBUG
I've recompiled kernel and this is the dmesg output (the cd0 is
not the one):


Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0_BETA (xxx.diag) #0: Wed Sep  6 20:32:08 CEST 2006
	root@xxx:/usr/src/sys/arch/i386/compile/xxx.diag
total memory = 255 MB
avail memory = 244 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
timecounter: selected timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xffe90
PCI BIOS rev. 2.1 found at 0xfc0be
pcibios: config mechanism [1][x], special cycles [x][x], last bus 2
PCI IRQ Routing Table rev. 1.0 found at 0xfbd60, size 128 bytes (6 entries)
PCI Interrupt Router at 000:07:0 (Intel 82371MX (MPIIX) Mobile PCI I/O IDE Xcelerator compatible)
PIR Entry 0:
	Bus: 0  Device: 7
		INTA: link 0x00 bitmap 0x0000
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x63 bitmap 0xdef8
PIR Entry 1:
	Bus: 1  Device: 0
		INTA: link 0x60 bitmap 0xdef8
		INTB: link 0x61 bitmap 0xdef8
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 2:
	Bus: 0  Device: 3
		INTA: link 0x63 bitmap 0xdef8
		INTB: link 0x63 bitmap 0xdef8
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 3:
	Bus: 0  Device: 8
		INTA: link 0x61 bitmap 0xdef8
		INTB: link 0x61 bitmap 0xdef8
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 4:
	Bus: 0  Device: 13
		INTA: link 0x62 bitmap 0xdef8
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 5:
	Bus: 0  Device: 17
		INTA: link 0x62 bitmap 0xdef8
		INTB: link 0x62 bitmap 0xdef8
		INTC: link 0x62 bitmap 0xdef8
		INTD: link 0x62 bitmap 0xdef8
pciintr_link_fixup: PIRQ 0x00 already connected to IRQ 11
pciintr_link_fixup: PIRQ 0x03 already connected to IRQ 11
pciintr_link_fixup: PIRQ 0x01 already connected to IRQ 5
pciintr_link_fixup: PIRQ 0x02 already connected to IRQ 10
pciintr_link_route: route of PIRQ 0x00 -> IRQ 11 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x03 -> IRQ 11 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x01 -> IRQ 5 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x02 -> IRQ 10 preserved BIOS setting
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:03:0 0x104c 0xac1c   A  0x03  11  0    already assigned
000:03:1 0x104c 0xac1c   A  0x03  11  0    already assigned
pciintr_header_fixup: no entry for link 0xde (0:7:0:@)
pciintr_header_fixup: no entry for link 0xde (0:7:1:@)
000:07:2 0x8086 0x7112   D  0x03  11  0    already assigned
pciintr_header_fixup: no entry for link 0xde (0:7:3:@)
000:08:0 0x125d 0x1998   A  0x01   5  0    already assigned
001:00:0 0x1002 0x4c4d   A  0x00  11  0    already assigned
------------------------------------------
pciintr_irq_release: fixup pciirq level/edge map 0x0c20
pciintr_irq_release: bios  pciirq level/edge map 0x0c20
pciintr_irq_release: final pciirq level/edge map 0x0c20
mainbus0 (root)
pci_addr_fixup: 000:03:0 0x104c 0xac1c new address 0x10000000
pci_addr_fixup: 000:03:1 0x104c 0xac1c new address 0x10001000
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 747.75 MHz, id 0x686
cpu0: features 387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 387f9ff<PGE,MCA,CMOV,PAT,PSE36,PN,MMX>
cpu0: features 387f9ff<FXSR,SSE>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 256 KB 32B/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: serial number 0000-0686-0001-1fdd-6e51-a3b0
cpu0: 8 page colors
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <DELL  , CPi R  ,27d00802>, AslId <ASL ,00000061>
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
timecounter: selected timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 24-bit timer
mpacpi: could not get bus number, assuming bus 0
LNKD: ACPI: Found matching pin for 0.7.INTD at func 2: 11
LNKD: ACPI: Found matching pin for 0.3.INTA at func 0: 255
LNKD: ACPI: Found matching pin for 0.3.INTA at func 1: 255
LNKB: ACPI: Found matching pin for 0.8.INTA at func 0: 5
LNKA: ACPI: Found matching pin for 1.0.INTA at func 0: 11
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpibat1 at acpi0 (PNP0C0A-2): ACPI Battery (Control Method)
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (PNP0C0E): ACPI Sleep Button
PNP0C01 at acpi0 not configured
PNP0A03 at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0C01 at acpi0 not configured
pckbc1 at acpi0 (PNP0F13): aux port
pckbc1: irq 12
pckbc2 at acpi0 (PNP0303): kbd port
pckbc2: io 0x60,0x64 irq 1
PNP0B00 at acpi0 not configured
attimer1 at acpi0 (PNP0100): AT Timer
attimer1: io 0x40-0x43,0x50-0x53 irq 0
pcppi1 at acpi0 (PNP0800)
pcppi1: io 0x61,0x63,0x65,0x67
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
PNP0C01 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0200 at acpi0 not configured
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: using exception 16
fdc1 at acpi0 (PNP0700)
fdc1: io 0x3f2-0x3f5,0x3f7 irq 6 drq 2
com3 at acpi0 (PNP0501)
com3: io 0x2e8-0x2ef irq 3
com3: ns16550a, working fifo
com4 at acpi0 (SMCF010)
com4: io 0x3e8-0x3ef,0x290-0x297 irq 4 drq 3
com4: ns16550a, working fifo
lpt3 at acpi0 (PNP0401)
lpt3: io 0x378-0x37f,0x778-0x77b irq 7 drq 1
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C15 at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
acpitz0: passive cooling mode only
acpitz0: critical 75.0C
apm0 at acpi0: Power Management spec V1.2
acpiacad0: AC adapter online.
acpibat0: battery info: Sony Corp., LION, LIP868NLDLP, 45284
pckbd0 at pckbc2 (kbd slot)
pckbc2: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc2 (aux slot)
pckbc2: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi1: attached to attimer1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xf4000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: ATI Technologies Rage Mobility (rev. 0x64)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
cbb0 at pci0 dev 3 function 0: Texas Instruments PCI1225 PCI-CardBus Bridge (rev. 0x01)
cbb1 at pci0 dev 3 function 1: Texas Instruments PCI1225 PCI-CardBus Bridge (rev. 0x01)
piixpcib0 at pci0 dev 7 function 0
piixpcib0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x02)
piixpcib0: SpeedStep SMI enabled
piixide0 at pci0 dev 7 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 7 function 2: Intel 82371AB (PIIX4) USB Host Controller (rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
piixpm0 at pci0 dev 7 function 3: Power Management Controller
timecounter: Timecounter "piixpm0" frequency 3579545 Hz quality 1000
timecounter: selected timecounter "piixpm0" frequency 3579545 Hz quality 1000
piixpm0 24-bit timer
piixpm0: interrupting at SMI
iic0 at piixpm0: I2C bus
esa0 at pci0 dev 8 function 0: ESS Technology Maestro 3 PCI Audio Accelerator (rev. 0x10)
esa0: interrupting at irq 5
esa0: ac97: SigmaTel STAC9721/23 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
esa0: ac97: ext id 200<AMAP>
audio0 at esa0: full duplex, mmap, independent
ppb1 at pci0 dev 17 function 0: Digital Equipment DC21150 PCI-PCI Bridge (rev. 0x04)
pci2 at ppb1 bus 4
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
cbb0: interrupting at irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 4
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 5
pcmcia1 at cardslot1
isa0 at piixpcib0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
timecounter: Timecounter "TSC" frequency 747727190 Hz quality 800
WARNING: Callback scheduled before sysmon task queue thread present.
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
fd0 at fdc1 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
raidattach: Asked for 8 units
Kernelized RAIDframe activated
pcmcia1: CIS version PCMCIA 2.0 or 2.1
pcmcia1: CIS info: Fast Ethernet, 16-bit PC Card, 3.0, AX88190
pcmcia1: Manufacturer code 0x149, product 0xc1ab
pcmcia1: function 0: network adapter, ccr addr 3c0 mask 1
pcmcia1: function 0, config table entry 61: I/O card; irq mask befc; iomask 5, iospace 0-1f; mwait_required io16 irqlevel
pcmcia1: function 0, config table entry 5: I/O card; irq mask befc; iomask a, iospace 300-31f; mwait_required io16 irqlevel
pcmcia1: function 0, config table entry 13: I/O card; irq mask befc; iomask a, iospace 320-33f; mwait_required io16 irqlevel
pcmcia1: function 0, config table entry 21: I/O card; irq mask befc; iomask a, iospace 340-35f; mwait_required io16 irqlevel
pcmcia1: function 0, config table entry 29: I/O card; irq mask befc; iomask a, iospace 380-39f; mwait_required io16 irqlevel
pcmcia1: function 0, config table entry 37: I/O card; irq mask befc; iomask a, iospace 200-21f; mwait_required io16 irqlevel
pcmcia1: function 0, config table entry 45: I/O card; irq mask befc; iomask a, iospace 220-23f; mwait_required io16 irqlevel
pcmcia1: function 0, config table entry 53: I/O card; irq mask befc; iomask a, iospace 240-25f; mwait_required io16 irqlevel
ne0 at pcmcia1 function 0: <Fast Ethernet, 16-bit PC Card, 3.0, AX88190>
ne0: where did the card go?
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: PCMCIA, IDE CARD, F1
pcmcia0: Manufacturer code 0xffffffff, product 0xffffffff
pcmcia0: function 0: unspecified, ccr addr 100 mask 3
pcmcia0: function 0, config table entry 1: I/O card; irq mask deb8; iomask a, iospace 320-32f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 2: I/O card; irq mask deb8; iomask a, iospace 340-34f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 3: I/O card; irq mask deb8; iomask a, iospace 360-36f; mwait_required io16 irqlevel
wdc2 at pcmcia0 function 0: <PCMCIA, IDE CARD, F1>
wdc2: i/o mapped mode
atabus2 at wdc2 channel 0
wd0 at atabus0 drive 0: <FUJITSU MHT2060AH PL>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 57231 MB, 116280 cyl, 16 head, 63 sec, 512 bytes/sect x 117210240 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <TEAC CD-ROM CD-224E, , 3.7C> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
Searching for RAID components...
boot device: wd0
root on wd0a dumps on wd0b
mountroot: trying lfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
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)
pid 478 (mount_mfs), uid 0: exited on signal 11 (core dumped)
atabus2 detached
wdc2 detached
ne0 detached
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: Fast Ethernet, 16-bit PC Card, 3.0, AX88190
pcmcia0: Manufacturer code 0x149, product 0xc1ab
pcmcia0: function 0: network adapter, ccr addr 3c0 mask 1
pcmcia0: function 0, config table entry 61: I/O card; irq mask befc; iomask 5, iospace 0-1f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 5: I/O card; irq mask befc; iomask a, iospace 300-31f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 13: I/O card; irq mask befc; iomask a, iospace 320-33f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 21: I/O card; irq mask befc; iomask a, iospace 340-35f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 29: I/O card; irq mask befc; iomask a, iospace 380-39f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 37: I/O card; irq mask befc; iomask a, iospace 200-21f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 45: I/O card; irq mask befc; iomask a, iospace 220-23f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 53: I/O card; irq mask befc; iomask a, iospace 240-25f; mwait_required io16 irqlevel
ne0 at pcmcia0 function 0: <Fast Ethernet, 16-bit PC Card, 3.0, AX88190>
ne0: where did the card go?
ne0 detached
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: PCMCIA, IDE CARD, F1
pcmcia0: Manufacturer code 0xffffffff, product 0xffffffff
pcmcia0: function 0: unspecified, ccr addr 100 mask 3
pcmcia0: function 0, config table entry 1: I/O card; irq mask deb8; iomask a, iospace 320-32f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 2: I/O card; irq mask deb8; iomask a, iospace 340-34f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 3: I/O card; irq mask deb8; iomask a, iospace 360-36f; mwait_required io16 irqlevel
wdc2 at pcmcia0 function 0: <PCMCIA, IDE CARD, F1>
wdc2: i/o mapped mode
atabus2 at wdc2 channel 0
atabus2 detached
wdc2 detached
umass0 at uhub0 port 1 configuration 1 interface 0
umass0: LEXR PLUG DRIVE LEXR PLUG DRIVE, rev 1.10/0.01, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <LEXAR, DIGITAL FILM, /W1.> disk removable
sd0: 123 MB, 984 cyl, 8 head, 32 sec, 512 bytes/sect x 251904 sectors

------------=_1157623248-17119-76
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFE/rhi+vesoDJhHiURAlnmAKCd1Qm1BVUQvwxJLd5QvQQXprbrmACfXIPj
zRHYajr3DYOyUt42aESN0oU=
=aGT3
-----END PGP SIGNATURE-----
------------=_1157623248-17119-76--