NetBSD Problem Report #26909

Received: (qmail 29512 invoked by uid 605); 11 Sep 2004 07:19:51 -0000
Message-Id: <200409110648.i8B6mdO7009659@l196091.ppp.asahi-net.or.jp>
Date: Sat, 11 Sep 2004 15:48:39 +0900 (JST)
From: itohy@netbsd.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: itohy@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: many PCMCIA devices stopped working
X-Send-Pr-Version: 3.95

>Number:         26909
>Category:       kern
>Synopsis:       many PCMCIA devices stopped working
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 11 07:20:00 +0000 2004
>Closed-Date:    
>Last-Modified:  Fri Jun 29 19:36:26 +0000 2018
>Originator:     ITOH Yasufumi
>Release:        NetBSD 2.0G (source on Sept. 8, 2004)
>Organization:
>Environment:
System: NetBSD mei.my.domain 2.0G NetBSD 2.0G (MEI_TEST) #385: Fri Sep 10 21:40:17 JST 2004 itohy@pino.my.domain:/w/src/sys/arch/i386/compile/MEI_TEST i386
Architecture: i386
Machine: i386

Pentium MMX 166MHz
Cirrus Logic CL-PD6832 PCI-CardBus Bridge

>Description:
	Many PCMCIA cards don't work.
	Recent pcmcia changes seems to break something.

	card			driver	status
	--------------------	------	------
	TDK CompactFlash	wdc&wd	works
	ACCTON NE2000 compat	ne	fails	"where did the card go?"
	TDK 10BASE-T		mbe	works 
	Intersil PRISM II	wi	works
	3Com 3C589		ep	fails	"couldn't configure controller"
	Adaptec APA-1460	aic	fails	"unable to detect chip!"
	RATOC SCSI		esp	fails	(kernel panics)

	All the cards works on 2.0_BETA.

	Here the dmesg output:

NetBSD 2.0G (MEI_TEST) #385: Fri Sep 10 21:40:17 JST 2004
	itohy@pino.my.domain:/w/src/sys/arch/i386/compile/MEI_TEST
total memory = 32380 KB
avail memory = 28408 KB
BIOS32 rev. 0 found at 0xfd630
PCI BIOS rev. 2.1 found at 0xfd8e0
PCI IRQ Routing Table rev. 1.0 found at 0xfd6a0, size 144 bytes (7 entries)
pcibios_pir_init: bad IRQ table checksum
PCI BIOS has 8 Interrupt Routing table entries
PCI Exclusive IRQs: 10 11
pci_addr_fixup: 000:18:1 0x1060 0x673a new address 0x02000000
pci_addr_fixup: 000:18:1 0x1060 0x673a new address 0x02000010
pci_addr_fixup: 000:23:0 0x1013 0x1110 new address 0x02001000
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium/MMX (586-class), 166.10 MHz, id 0x544
cpu0: features 8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
cpu0: features 8001bf<MMX>
pnpbios0 at mainbus0: nodes 15, max len 122
com0 at pnpbios0 index 0 (PNP0501)
com0: io 3f8-3ff, irq 4
com0: ns16550a, working fifo
lpt0 at pnpbios0 index 2 (PNP0400)
lpt0: io 378-37b, irq 7
pckbc0 at pnpbios0 index 7 (PNP0303, IBM Enhanced (101/102-key) KC): kbd port
pckbc1 at pnpbios0 index 9 (PNP0F13, PS/2 Compatible Mouse): aux port
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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: vendor 0x1060 product 0xe891 (rev. 0xb0)
pcib0 at pci0 dev 18 function 0
pcib0: vendor 0x1060 product 0xe886 (rev. 0xb2)
vendor 0x1060 product 0x673a (IDE mass storage, interface 0x8a, revision 0x10) at pci0 dev 18 function 1 not configured
vga0 at pci0 dev 22 function 0: vendor 0x1023 product 0x9660 (rev. 0xd3)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
cbb0 at pci0 dev 23 function 0: vendor 0x1013 product 0x1110 (rev. 0xc1)
cbb1 at pci0 dev 23 function 1: vendor 0x1013 product 0x1110 (rev. 0xc1)
ohci0 at pci0 dev 24 function 0: vendor 0x1095 product 0x0670 (rev. 0x04)
ohci0: interrupting at irq 11
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x1095 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
isa0 at pcib0
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atabus0 at wdc0 channel 0
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
isapnp0: read port 0x203
isapnp0: <ESS ES1878 Plug and Play AudioD, ESS0004, , > port 0x800/8 not configured
ess0 at isapnp0 port 0x220/16,0x388/4,0x330/2 irq 5 drq 1,0
ess0:: ESS Technology ES1878 [version 0x688b]
ess0: audio1 interrupting at irq 5
audio0 at ess0: half duplex, mmap, independent
opl0 at ess0: model OPL3
midi0 at opl0: ESS Yamaha OPL3
joy0 at isapnp0 port 0x201/1
joy0: ESS ES1878 Plug and Play AudioD 
joy0: joystick not connected
cbb0: interrupting at irq 10
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 9
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 2 device 0
pcmcia1 at cardslot1
apm0 at mainbus0: Power Management spec V1.2
cardbus_mapreg_map called: cardbus1 0
cardbus_mapreg_map: physaddr 40000000
cardbus1: unmap mem space
tlp0 at cardbus1 dev 0 function 0: DECchip 21143 Ethernet, pass 4.1
cardbus_mapreg_map called: cardbus1 0
cardbus_mapreg_map: physaddr 40000000
tlp0: Ethernet address xx:xx:xx:xx:xx:xx
ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000818, model 0x0021, rev. 2
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp0: 21143 reset block
tlp0: unknown ISV media block type 0x06
wd0 at atabus0 drive 0: <IBM-DBCA-206480>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 6194 MB, 13424 cyl, 15 head, 63 sec, 512 bytes/sect x 12685680 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
boot device: wd0
root on wd0a dumps on wd0b
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying nfs...
mountroot: trying ffs...
root file system type: ffs
cc_microset[0]: delta 100699099, resetting state
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
cc_microset[0]: delta 270004, resetting state
pcmcia0: CIS version PC Card Standard 5.0
pcmcia0: CIS info: TDK, TC_N
pcmcia0: Manufacturer code 0x105, product 0x301
pcmcia0: function 0: fixed disk(ata), ccr addr 200 mask f
pcmcia0: function 0, config table entry 0: memory card; irq mask 0; memspace 0-7ff; mwait_required rdybsy_active powerdown
pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia0: function 0, config table entry 2: I/O card; irq mask 4000; iomask a, iospace 1f0-1f7 3f6-3f7; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia0: function 0, config table entry 3: I/O card; irq mask 4000; iomask a, iospace 170-177 376-377; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
wdc1 at pcmcia0 function 0: <TDK, TC_N>
wdc1: i/o mapped mode
atabus1 at wdc1 channel 0
wd1 at atabus1 drive 0: <DT KoCpr:.CTN_::ET3634::21M8ib:t:S>
wd1: drive supports 1-sector PIO transfers, LBA addressing
wd1: 16000 KB, 500 cyl, 4 head, 16 sec, 512 bytes/sect x 32000 sectors
wd1 detached
atabus1 detached
wdc1 detached
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: ACCTON, EN2216-PCMCIA-ETHERNET, EN2216, R02
pcmcia0: Manufacturer code 0x1bf, product 0x2216
pcmcia0: function 0: network adapter, ccr addr 3f8 mask 3
pcmcia0: function 0, config table entry 32: I/O card; irq mask ffff; iomask a, iospace 300-31f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 33: I/O card; irq mask ffff; iomask a, iospace 320-33f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 34: I/O card; irq mask ffff; iomask a, iospace 340-35f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 35: I/O card; irq mask ffff; iomask a, iospace 360-37f; mwait_required io16 irqlevel
ne0 at pcmcia0 function 0: <ACCTON, EN2216-PCMCIA-ETHERNET, EN2216, R02>
ne0: where did the card go?
ne0 detached
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: TDK, LAC-CD02x
pcmcia0: Manufacturer code 0x105, product 0x200
pcmcia0: function 0: network adapter, ccr addr 400 mask 3
pcmcia0: function 0, config table entry 4: I/O card; irq mask 7eb8; iomask 4, iospace 0-f; io16 irqlevel
mbe0 at pcmcia0 function 0: <TDK, LAC-CD02x>
mbe0: Ethernet address xx:xx:xx:xx:xx:xx
mbe0 detached
pcmcia0: CIS version PC Card Standard 5.0
pcmcia0: CIS info: IO DATA, WNB11PCM, Version 01.02, 
pcmcia0: Manufacturer code 0x28a, product 0x2
pcmcia0: function 0: network adapter, ccr addr 3e0 mask 1
pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6, iospace 0-3f; io16 irqpulse irqlevel
wi0 at pcmcia0 function 0: <IO DATA, WNB11PCM, Version 01.02, >
wi0: 802.11 address xx:xx:xx:xx:xx:xx
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163-SST-flash
wi0: Intersil Firmware: Primary (0.3.0), Station (0.8.2)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wi0 detached
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: 3Com Corporation, 3C589D, TP/BNC LAN Card Ver. 2a, 000002
pcmcia0: Manufacturer code 0x101, product 0x589
pcmcia0: function 0: network adapter, ccr addr 10000 mask 3
pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; io8 io16 irqlevel
pcmcia0: function 0, config table entry 3: I/O card; irq mask ffff; iomask 4, iospace 0-f; io8 io16 irqlevel
ep0 at pcmcia0 function 0: <3Com Corporation, 3C589D, TP/BNC LAN Card Ver. 2a, 000002>
ep0: wrote 0x7ff to TX_AVAIL_THRESH, read back 0xef08. Interface disabled
ep0: couldn't configure controller
ep0 detached
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: Adaptec, Inc., APA-1460 SCSI Host Adapter, Version 0.01
pcmcia0: Manufacturer code 0x12f, product 0x2
pcmcia0: function 0: unspecified, ccr addr 2000 mask 1
pcmcia0: function 0, config table entry 9: I/O card; irq mask 1e00; iomask a, iospace 340-35f; io16 irqlevel
pcmcia0: function 0, config table entry 8: I/O card; irq mask 1e00; iomask a, iospace 140-15f; io16 irqlevel
aic0 at pcmcia0 function 0: <Adaptec, Inc., APA-1460 SCSI Host Adapter, Version 0.01>
aic0: unable to detect chip!
aic0 detached

[[ warning: hand copied from here ]]

pcmcia0: CIS version PC Card Standard 5.0
pcmcia0: CIS info: RATOC System Inc., SCSI2 CARD 37
pcmcia0: Manufacturer code 0xc015, product 0x1
pcmcia0: function 0: SCSI bridge, ccr addr 400 mask 3
pcmcia0: function 0, config table entry 33: I/O card; irq mask ffff; iomask a, iospace 120-12f; mwait_required rdybsy_active io16 irqlevel
esp0 at pcmcia0 function 0: <RATOC System Inc., SCSI2 CARD 37>
uvm_fault(0xc03c3d74, 0, 0, 2) -> 0xe
kernel: page fault trap, code=0
Stopped in pid 6.1 (cardslot0) at	_ncr53c9x_init+0x72:	movl	$0,0(%eax)
db> t
_ncr53c9x_init+0x72		# parameters are omitted
_esp_pcmcia_enable+0x7f
_esp_pcmcia_attach+0x69
_config_attach_loc+0x389
_config_found_sm_loc+0x3d
_pcmcia_rescan+0x94
_pcmcia_card_attach+0xf2
_cardslot_event_thread+0x260
db>

>How-To-Repeat:
	boot 2.0G kernel and insert a PCMCIA card.

>Fix:
	ENOCLUE.
	Possibly, need more settling time after power up?

>Release-Note:
>Audit-Trail:

From: itohy@netbsd.org (ITOH Yasufumi)
To: gnats-bugs@gnats.netbsd.org
Cc: netbsd-bugs@gnats.netbsd.org
Subject: Re: kern/26909: many PCMCIA devices stopped working
Date: Sun, 19 Sep 2004 03:14:45 +0900 (JST)

 > pcmcia0: CIS version PCMCIA 2.0 or 2.1
 > pcmcia0: CIS info: TDK, LAC-CD02x
 > pcmcia0: Manufacturer code 0x105, product 0x200
 > pcmcia0: function 0: network adapter, ccr addr 400 mask 3
 > pcmcia0: function 0, config table entry 4: I/O card; irq mask 7eb8; iomask 4, iospace 0-f; io16 irqlevel
 > mbe0 at pcmcia0 function 0: <TDK, LAC-CD02x>

 Oops, this device doesn't work correct ("mbe0: device timeout").
 So the correct table is like this:

 	card			driver	status
 	--------------------	------	------
 	TDK CompactFlash	wdc&wd	works
 	ACCTON NE2000 compat	ne	fails	"where did the card go?"
 	TDK 10BASE-T		mbe	fails	"device timeout"
 	Intersil PRISM II	wi	works
 	3Com 3C589		ep	fails	"couldn't configure controller"
 	Adaptec APA-1460	aic	fails	"unable to detect chip!"
 	RATOC SCSI		esp	fails	(kernel panics)

From: "Charles M. Hannum" <abuse@spamalicious.com>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: Re: kern/26909: many PCMCIA devices stopped working
Date: Sat, 18 Sep 2004 18:26:55 +0000

 I do not believe this problem is due to the recent PCMCIA changes.  I have 
 tested them with some of the same cards (in particular the EN2216 and the 
 entire range of 3c589 cards) on multiple platform types, with both CardBus 
 and PCMCIA controllers, and they work fine.

 I suspect that somewhere in the 2.0_BETA->2.0G transition, your configuration 
 changed, possibly causing an I/O space conflict.

 It does seem that there is a problem with aic@pcmcia -- someone else also 
 reported a problem with it -- but I don't have one to test with.

From: enami tsugutomo <enami@but-b.or.jp>
To: gnats-bugs@gnats.netbsd.org
Cc: "Charles M. Hannum" <abuse@spamalicious.com>,
  itohy@netbsd.org (ITOH Yasufumi)
Subject: Re: kern/26909: many PCMCIA devices stopped working
Date: Mon, 20 Sep 2004 07:57:30 +0900 (JST)

 I've just tried aic0 with my FIVA206VL and didn't work also (pccbb.c
 allocates space aligned to 1024 for this card).  The attatched change
 makes aic0 works again but probably common code need to be fixed
 instead?

 enami.
 Index: aic_pcmcia.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/pcmcia/aic_pcmcia.c,v
 retrieving revision 1.31
 diff -u -r1.31 aic_pcmcia.c
 --- aic_pcmcia.c	10 Aug 2004 22:49:12 -0000	1.31
 +++ aic_pcmcia.c	19 Sep 2004 22:52:54 -0000
 @@ -106,6 +106,8 @@
  	    cfe->num_memspace != 0 ||
  	    cfe->num_iospace != 1)
  		return (EINVAL);
 +
 +	cfe->iomask = 0;			/* XXX: wrong */
  	return (0);
  }

 @@ -200,8 +202,9 @@
  			return (error);
  		}

 -		/* Initialize only chip.  */
 -		aic_init(&sc->sc_aic, 0);
 +		if (sc->sc_state == AIC_PCMCIA_ATTACHED)
 +			/* Initialize only chip.  */
 +			aic_init(&sc->sc_aic, 0);
  	} else {
  		pcmcia_function_disable(sc->sc_pf);
  		pcmcia_intr_disestablish(sc->sc_pf, sc->sc_ih);

From: "Charles M. Hannum" <abuse@spamalicious.com>
To: enami tsugutomo <enami@but-b.or.jp>
Cc: gnats-bugs@gnats.netbsd.org, itohy@NetBSD.org (ITOH Yasufumi)
Subject: Re: kern/26909: many PCMCIA devices stopped working
Date: Mon, 20 Sep 2004 00:43:59 +0000

 On Sunday 19 September 2004 22:57, enami tsugutomo wrote:
 > I've just tried aic0 with my FIVA206VL and didn't work also (pccbb.c
 > allocates space aligned to 1024 for this card).  The attatched change
 > makes aic0 works again but probably common code need to be fixed
 > instead?
 >
 > enami.
 > Index: aic_pcmcia.c
 > ===================================================================
 > RCS file: /cvsroot/src/sys/dev/pcmcia/aic_pcmcia.c,v
 > retrieving revision 1.31
 > diff -u -r1.31 aic_pcmcia.c
 > --- aic_pcmcia.c	10 Aug 2004 22:49:12 -0000	1.31
 > +++ aic_pcmcia.c	19 Sep 2004 22:52:54 -0000
 > @@ -106,6 +106,8 @@
 >  	    cfe->num_memspace != 0 ||
 >  	    cfe->num_iospace != 1)
 >  		return (EINVAL);
 > +
 > +	cfe->iomask = 0;			/* XXX: wrong */
 >  	return (0);
 >  }

 This definitely should not be necessary.  Can you send me the output with 
 pcmciacis_debug enabled?

From: enami tsugutomo <enami@but-b.or.jp>
To: "Charles M. Hannum" <abuse@spamalicious.com>
Cc: gnats-bugs@gnats.netbsd.org, itohy@NetBSD.org (ITOH Yasufumi)
Subject: Re: kern/26909: many PCMCIA devices stopped working
Date: Mon, 20 Sep 2004 14:24:56 +0900 (JST)

 > > +
 > > +	cfe->iomask = 0;			/* XXX: wrong */
 > >  	return (0);
 > >  }
 > 
 > This definitely should not be necessary.  Can you send me the output with 
 > pcmciacis_debug enabled?

 Here is.

 enami.

 syncing disks... done
 rebooting...
 NetBSD 2.0H (FIVA206VL.PROF) #616: Mon Sep 20 13:09:21 JST 2004
 	enami@reticle.enami.but-b.or.jp:/i/fiva206vl/compile/FIVA206VL.PROF
 total memory = 367 MB
 avail memory = 355 MB
 BIOS32 rev. 0 found at 0xfd770
 PCI BIOS rev. 2.1 found at 0xfd88e
 pcibios: config mechanism [1][x], special cycles [x][x], last bus 0
 PCI IRQ Routing Table rev. 1.0 found at 0xfdf20, size 192 bytes (10 entries)
 PCI Interrupt Router at 000:07:0 (vendor 0x10b9 product 0x1533 compatible)
 PIR Entry 0:
 	Bus: 0  Device: 0
 		INTA: link 0x00 bitmap 0x4c40
 		INTB: link 0x00 bitmap 0x4c40
 		INTC: link 0x00 bitmap 0x4c40
 		INTD: link 0x00 bitmap 0x4c40
 PIR Entry 1:
 	Bus: 0  Device: 3
 		INTA: link 0x07 bitmap 0x4c40
 		INTB: link 0x00 bitmap 0x4c40
 		INTC: link 0x00 bitmap 0x4c40
 		INTD: link 0x00 bitmap 0x4c40
 PIR Entry 2:
 	Bus: 0  Device: 4
 		INTA: link 0x08 bitmap 0x4c40
 		INTB: link 0x00 bitmap 0x4c40
 		INTC: link 0x00 bitmap 0x4c40
 		INTD: link 0x00 bitmap 0x4c40
 PIR Entry 3:
 	Bus: 0  Device: 9
 		INTA: link 0x01 bitmap 0xdef8
 		INTB: link 0x00 bitmap 0xdef8
 		INTC: link 0x00 bitmap 0xdef8
 		INTD: link 0x00 bitmap 0xdef8
 PIR Entry 4:
 	Bus: 0  Device: 10
 		INTA: link 0x02 bitmap 0x0800
 		INTB: link 0x03 bitmap 0x0800
 		INTC: link 0x00 bitmap 0xdef8
 		INTD: link 0x00 bitmap 0xdef8
 PIR Entry 5:
 	Bus: 0  Device: 11
 		INTA: link 0x04 bitmap 0x0400
 		INTB: link 0x00 bitmap 0xdef8
 		INTC: link 0x00 bitmap 0xdef8
 		INTD: link 0x00 bitmap 0xdef8
 PIR Entry 6:
 	Bus: 0  Device: 12
 		INTA: link 0x05 bitmap 0x4c40
 		INTB: link 0x00 bitmap 0x4c40
 		INTC: link 0x00 bitmap 0x4c40
 		INTD: link 0x00 bitmap 0x4c40
 PIR Entry 7:
 	Bus: 0  Device: 13
 		INTA: link 0x01 bitmap 0x4c40
 		INTB: link 0x02 bitmap 0x4c40
 		INTC: link 0x03 bitmap 0x4c40
 		INTD: link 0x04 bitmap 0x4c40
 PIR Entry 8:
 	Bus: 0  Device: 15
 		INTA: link 0x00 bitmap 0x4c40
 		INTB: link 0x00 bitmap 0x4c40
 		INTC: link 0x00 bitmap 0x4c40
 		INTD: link 0x00 bitmap 0x4c40
 PIR Entry 9:
 	Bus: 0  Device: 20
 		INTA: link 0x59 bitmap 0x4c40
 		INTB: link 0x00 bitmap 0x4c40
 		INTC: link 0x00 bitmap 0x4c40
 		INTD: link 0x00 bitmap 0x4c40
 pciintr_link_fixup: PIRQ 0x00 already connected to IRQ 9
 pciintr_link_fixup: PIRQ 0x06 already connected to IRQ 10
 pciintr_link_fixup: PIRQ 0x07 already connected to IRQ 10
 pciintr_link_fixup: PIRQ 0x01 already connected to IRQ 5
 pciintr_link_fixup: PIRQ 0x02 already connected to IRQ 4
 pciintr_link_fixup: PIRQ 0x03 already connected to IRQ 10
 pciintr_link_fixup: PIRQ 0x04 already connected to IRQ 11
 pciintr_link_route: route of PIRQ 0x00 -> IRQ 9 preserved BIOS setting
 pciintr_link_route: route of PIRQ 0x06 -> IRQ 10 preserved BIOS setting
 pciintr_link_route: route of PIRQ 0x07 -> IRQ 10 preserved BIOS setting
 pciintr_link_route: route of PIRQ 0x01 -> IRQ 5 preserved BIOS setting
 pciintr_link_route: route of PIRQ 0x02 -> IRQ 4 preserved BIOS setting
 pciintr_link_route: route of PIRQ 0x03 -> IRQ 10 preserved BIOS setting
 pciintr_link_route: route of PIRQ 0x04 -> IRQ 11 preserved BIOS setting
 ------------------------------------------
   device vendor product pin PIRQ IRQ stage
 ------------------------------------------
 pciintr_header_fixup: no entry for link 0x20 (0:0:0:@)
 pciintr_header_fixup: no entry for link 0x20 (0:0:1:@)
 pciintr_header_fixup: no entry for link 0x20 (0:0:2:@)
 000:04:0 0x10b9 0x5451   A  0x07  10  0    already assigned
 000:09:0 0x126f 0x0712   A  0x00   9  0    already assigned
 000:10:0 0x104c 0xac51   A  0x01   5  0    already assigned
 000:10:1 0x104c 0xac51   B  0x02   4  0    already assigned
 000:11:0 0x104c 0x8020   A  0x03  10  0    already assigned
 000:12:0 0x10ec 0x8139   A  0x04  11  0    already assigned
 pciintr_header_fixup: no entry for link 0x59 (0:20:0:A)
 ------------------------------------------
 pciintr_irq_release: fixup pciirq level/edge map 0x0e30
 pciintr_irq_release: bios  pciirq level/edge map 0x0e00
 pciintr_irq_release: final pciirq level/edge map 0x0e30
 PCI fixup examining 1279:395
 PCI fixup examining 1279:396
 PCI fixup examining 1279:397
 PCI fixup examining 10b9:5451
 PCI fixup examining 10b9:1533
 PCI fixup examining 126f:712
 PCI fixup examining 104c:ac51
 PCI bridge 0: primary 0, secondary 1, subordinate 1
 PCI fixup examining 104c:ac51
 PCI bridge 1: primary 0, secondary 2, subordinate 2
 PCI fixup examining 104c:8020
 PCI fixup examining 10ec:8139
 PCI fixup examining 10b9:5229
 PCI fixup examining 10b9:7101
 PCI fixup examining 10b9:5237
 PCI bus #2 is the last bus
 [System BIOS Setting]-----------------------
   device vendor product
   register space address    size
 --------------------------------------------
 000:00:0 0x1279 0x0395 
 	10h mem  0xfc100000 0x00100000
 		[OK]
 000:00:1 0x1279 0x0396 
 		[OK]
 000:00:2 0x1279 0x0397 
 		[OK]
 000:04:0 0x10b9 0x5451 
 	10h port 0x00001000 0x00000100
 	14h mem  0xfc004000 0x00001000
 		[OK]
 000:07:0 0x10b9 0x1533 
 		[OK]
 000:09:0 0x126f 0x0712 
 	10h mem  0xfd000000 0x01000000
 		[OK]
 000:10:0 0x104c 0xac51 
 	10h mem  0x00000000 0x00001000
 		[NG]
 000:10:1 0x104c 0xac51 
 	10h mem  0x17001000 0x00001000
 		[OK]
 000:11:0 0x104c 0x8020 
 	10h mem  0xfc006000 0x00000800
 	14h mem  0xfc000000 0x00004000
 		[OK]
 000:12:0 0x10ec 0x8139 
 	10h port 0x00001400 0x00000100
 	14h mem  0xfc006800 0x00000100
 		[OK]
 000:15:0 0x10b9 0x5229 
 	10h port 0x000001f0 0x00000010
 	14h port 0x000003f4 0x00000004
 	18h port 0x00000000 0x00000008
 	1ch port 0x00000000 0x00000004
 	20h port 0x00001800 0x00000010
 		[NG]
 000:17:0 0x10b9 0x7101 
 		[OK]
 000:20:0 0x10b9 0x5237 
 	10h mem  0x000d0000 0x00001000
 		[OK]
 --------------------------[  2 devices bogus]
  Physical memory end: 0x16fe8000
  PCI memory mapped I/O space start: 0x17000000
 [PCIBIOS fixup stage]-----------------------
   device vendor product
   register space address    size
 --------------------------------------------
 000:00:0 0x1279 0x0395 
 	10h mem  0xfc100000 0x00100000
 		[OK]
 000:00:1 0x1279 0x0396 
 		[OK]
 000:00:2 0x1279 0x0397 
 		[OK]
 000:04:0 0x10b9 0x5451 
 	10h port 0x00001000 0x00000100
 	14h mem  0xfc004000 0x00001000
 		[OK]
 000:07:0 0x10b9 0x1533 
 		[OK]
 000:09:0 0x126f 0x0712 
 	10h mem  0xfd000000 0x01000000
 		[OK]
 000:10:0 0x104c 0xac51 
 	10h mem  0x17000000 0x00001000
 		[OK]
 000:10:1 0x104c 0xac51 
 	10h mem  0x17001000 0x00001000
 		[OK]
 000:11:0 0x104c 0x8020 
 	10h mem  0xfc006000 0x00000800
 	14h mem  0xfc000000 0x00004000
 		[OK]
 000:12:0 0x10ec 0x8139 
 	10h port 0x00001400 0x00000100
 	14h mem  0xfc006800 0x00000100
 		[OK]
 000:15:0 0x10b9 0x5229 
 	10h port 0x000001f0 0x00000010
 	14h port 0x000003f4 0x00000004
 	18h port 0x00005800 0x00000008
 	1ch port 0x00005808 0x00000004
 	20h port 0x00001800 0x00000010
 		[OK]
 000:17:0 0x10b9 0x7101 
 		[OK]
 000:20:0 0x10b9 0x5237 
 	10h mem  0x000d0000 0x00001000
 		[OK]
 --------------------------[  0 devices bogus]
 mainbus0 (root)
 cpu0 at mainbus0: (uniprocessor)
 cpu0: Transmeta Crusoe (586-class), 597.39 MHz, id 0x543
 cpu0: Processor revision 1.3.1.2
 cpu0: Code Morphing Software Rev: 4.1.7-7-154
 cpu0: 20010606 19:11 official release 18.0.1-4.1.7#3
 cpu0: LongRun mode: 1  <600MHz 1600mV 100%>
 cpu0: features 84803f<FPU,VME,DE,PSE,TSC,MSR>
 cpu0: features 84803f<CMOV,PN,MMX>
 cpu0: "Transmeta(tm) Crusoe(tm) Processor TM5600"
 cpu0: serial number 0000-0543-0008-461E-0A1C-6282
 acpi0 at mainbus0
 acpi0: using Intel ACPI CA subsystem version 20040211
 acpi0: X/RSDT: OemId <PTLTD ,  RSDT  ,06040005>, AslId < LTP,00000000>
 acpi0: SCI interrupting at int 9
 acpi0: fixed-feature power button present
 ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
 acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
 PNP0A03 at acpi0 not configured
 PNP0200 at acpi0 not configured
 PNP0000 at acpi0 not configured
 PNP0100 at acpi0 not configured
 PNP0B00 at acpi0 not configured
 PNP0C04 at acpi0 not configured
 PNP0800 at acpi0 not configured
 PNP0303 at acpi0 not configured
 PNP0F13 at acpi0 not configured
 PNP0C02 at acpi0 not configured
 PNP0C0F at acpi0 not configured
 PNP0C0F at acpi0 not configured
 PNP0C0F at acpi0 not configured
 PNP0C0F at acpi0 not configured
 PNP0C0F at acpi0 not configured
 PNP0C0F at acpi0 not configured
 PNP0C0F at acpi0 not configured
 PNP0C0F at acpi0 not configured
 acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
 acpiec0: io 0x62,0x66
 ACPI Object Type 'Power' (0x0b) at acpi0 not configured
 ACPI Object Type 'Power' (0x0b) at acpi0 not configured
 acpibut1 at acpi0 (PNP0C0E): ACPI Sleep Button
 acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
 acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
 acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
 ACPI Object Type 'Power' (0x0b) at acpi0 not configured
 PNP0C0B at acpi0 not configured
 acpitz0 at acpi0: ACPI Thermal Zone
 acpitz0: unable to get polling interval; using default of 30.0s
 acpitz0: active cooling level 0: 64.0C
 acpitz0: critical 92.0C
 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: vendor 0x1279 product 0x0395 (rev. 0x00)
 vendor 0x1279 product 0x0396 (RAM memory) at pci0 dev 0 function 1 not configured
 vendor 0x1279 product 0x0397 (RAM memory) at pci0 dev 0 function 2 not configured
 autri0 at pci0 dev 4 function 0: vendor 0x10b9 product 0x5451 (rev. 0x01)
 autri0: interrupting at irq 10
 autri0: ac97: Analog Devices AD1881A codec; headphone, Analog Devices Phat Stereo
 audio0 at autri0: full duplex, mmap, independent
 midi0 at autri0: 4DWAVE MIDI UART
 pcib0 at pci0 dev 7 function 0
 pcib0: vendor 0x10b9 product 0x1533 (rev. 0x00)
 vga0 at pci0 dev 9 function 0: vendor 0x126f product 0x0712 (rev. 0xa0)
 wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
 wsmux1: connecting to wsdisplay0
 cbb0 at pci0 dev 10 function 0: vendor 0x104c product 0xac51 (rev. 0x00)
 cbb1 at pci0 dev 10 function 1: vendor 0x104c product 0xac51 (rev. 0x00)
 fwohci0 at pci0 dev 11 function 0: vendor 0x104c product 0x8020 (rev. 0x00)
 fwohci0: interrupting at irq 10
 fwohci0: OHCI 1.0, 08:00:74:03:00:50:45:83, 400Mb/s, 2048 max_rec, 4 ir_ctx, 8 it_ctx
 rtk0 at pci0 dev 12 function 0: Realtek 8139 10/100BaseTX
 rtk0: interrupting at irq 11
 rtk0: Ethernet address 08:00:74:50:45:83
 ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
 ukphy0: OUI 0x000000, model 0x0000, rev. 0
 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 aceride0 at pci0 dev 15 function 0
 aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc3)
 aceride0: bus-master DMA support present
 aceride0: primary channel wired to compatibility mode
 aceride0: primary channel interrupting at irq 14
 atabus0 at aceride0 channel 0
 aceride0: secondary channel wired to native-PCI mode
 aceride0: secondary channel ignored (disabled)
 vendor 0x10b9 product 0x7101 (miscellaneous bridge) at pci0 dev 17 function 0 not configured
 ohci0 at pci0 dev 20 function 0: vendor 0x10b9 product 0x5237 (rev. 0x03)
 ohci0: FIVA 20x hack enabled.
 ohci0: interrupting at irq 11
 ohci0: OHCI version 1.0, legacy support
 ohci0: SMM does not respond, resetting
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0
 uhub0: vendor 0x10b9 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 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
 pms0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 pcppi0 at isa0 port 0x61
 midi1 at pcppi0: PC speaker
 spkr0 at pcppi0
 sysbeep0 at pcppi0
 npx0 at isa0 port 0xf0-0xff: using exception 16
 cbb0: interrupting at irq 5
 cardslot0 at cbb0 slot 0 flags 0
 cardbus0 at cardslot0: bus 1 device 0
 pcmcia0 at cardslot0
 cbb1: interrupting at irq 4
 cardslot1 at cbb1 slot 1 flags 0
 cardbus1 at cardslot1: bus 2 device 0
 pcmcia1 at cardslot1
 WARNING: Callback scheduled before sysmon task queue thread present.
 Profiling kernel, textsize=2998256 [a0100000..a03dbff0]
 fw0 at fwohci0: 08:00:74:03:00:50:45:83:0a:02:ff:ff:f0:01:00:00
 pcmcia0: ++enabled_count = 1
 aic0 at pcmcia0 function 0: <Adaptec, Inc., APA-1460 SCSI Host Adapter, Version 0.01>
 pcmcia_config_alloc: io 0 start=340 length=20 align=400 skew=340
 window iobase 4000 iomax 401f
 function iobase 4000 iomax 401f
 pcmcia0: ++enabled_count = 2
 pcmcia0: function 0 CCR at 0 offset 0: 49 0 49 0, 0 49 0 49, 0
 aic0: unable to detect chip!
 pcmcia0: --enabled_count = 1
 pcmcia0: --enabled_count = 0
 wd0 at atabus0 drive 0: <IC25N030ATDA04-0>
 wd0: drive supports 16-sector PIO transfers, LBA addressing
 wd0: 28615 MB, 58140 cyl, 16 head, 63 sec, 512 bytes/sect x 58605120 sectors
 wd0: 32-bit data port
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66)
 boot device: wd0
 root on wd0a dumps on wd0b
 root file system type: ffs

From: enami tsugutomo <enami@but-b.or.jp>
To: "Charles M. Hannum" <abuse@spamalicious.com>
Cc: gnats-bugs@gnats.netbsd.org, itohy@NetBSD.org (ITOH Yasufumi)
Subject: Re: kern/26909: many PCMCIA devices stopped working
Date: Mon, 20 Sep 2004 15:29:23 +0900 (JST)

 > This definitely should not be necessary.  Can you send me the output with 
 > pcmciacis_debug enabled?

 Er, sorry, previous one was output with pcmciadebug enabled.  Here is
 with pcmciacis_debug enabled.

 enami.

 npx0 at isa0 port 0xf0-0xff: using exception 16
 cbb0: interrupting at irq 5
 cardslot0 at cbb0 slot 0 flags 0
 cardbus0 at cardslot0: bus 1 device 0
 pcmcia0 at cardslot0
 cbb1: interrupting at irq 4
 cardslot1 at cbb1 slot 1 flags 0
 cardbus1 at cardslot1: bus 2 device 0
 pcmcia1 at cardslot1
 WARNING: Callback scheduled before sysmon task queue thread present.
 Profiling kernel, textsize=3002640 [a0100000..a03dd110]
 fw0 at fwohci0: 08:00:74:03:00:50:45:83:0a:02:ff:ff:f0:01:00:00
 cis mem map a8912000
 pcmcia0: CIS tuple chain:
  01 03 00 00 ff
 CISTPL_DEVICE type=null speed=null
  17 03 12 00 ff
 CISTPL_DEVICE_A type=rom speed=200ns
  15 39 04 01 41 64 61 70 74 65 63 2c 20 49 6e 63
  2e 00 41 50 41 2d 31 34 36 30 20 53 43 53 49 20
  48 6f 73 74 20 41 64 61 70 74 65 72 00 56 65 72
  73 69 6f 6e 20 30 2e 30 31 00 ff
 CISTPL_VERS_1
  20 04 2f 01 02 00
 CISTPL_MANFID
  1a 05 01 08 00 20 01
 CISTPL_CONFIG
  1b 0f c9 01 19 49 55 65 06 ca 60 40 03 1f 30 00
  1e
 CISTPL_CFTABLE_ENTRY
  1b 07 08 08 ca 60 40 01 1f
 CISTPL_CFTABLE_ENTRY
  14 00
 CISTPL_NO_LINK
  ff
 CISTPL_END
 aic0 at pcmcia0 function 0: <Adaptec, Inc., APA-1460 SCSI Host Adapter, Version 0.01>
 aic0: unable to detect chip!

From: "Charles M. Hannum" <abuse@spamalicious.com>
To: enami tsugutomo <enami@but-b.or.jp>
Cc: gnats-bugs@gnats.netbsd.org, itohy@NetBSD.org (ITOH Yasufumi)
Subject: Re: kern/26909: many PCMCIA devices stopped working
Date: Mon, 20 Sep 2004 16:43:31 +0000

 On Monday 20 September 2004 06:29, enami tsugutomo wrote:
 > > This definitely should not be necessary.  Can you send me the output with
 > > pcmciacis_debug enabled?
 >
 > Er, sorry, previous one was output with pcmciadebug enabled.  Here is
 > with pcmciacis_debug enabled.

 So you're hitting the "skew" case, which I talked about in previous email, but 
 which has not yet been fixed.  Joy.
From: Scott Reynolds <scottr@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: ITOH Yasufumi <itohy@netbsd.org>,
	Charles Hannum <abuse@spamalicious.com>
Subject: Re: kern/26909: many PCMCIA devices stopped working
Date: Fri, 3 Dec 2004 16:02:53 -0600

 I have an apparently similar problem with the Compaq Armada 4131T 
 laptop (Pentium-based) with a 3Com 3C389E card. It works fine with a 
 1.5V GENERIC kernel, but the 2.0_RC4 INSTALL kernel booted via floppy 
 shows:

 pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq
 pcic0: controller 0 (Cirrus PD6710/2X) has sockets A and B
 pcmcia0 at pcic0 controller 0 socket 0
 pcmcia1 at pcic0 controller 0 socket 1
 ...
 pcic0: using irq 3 for socket events
 ...
 ep0 at pcmcia1 function 0 pcic0: port 0x400-0x40f
 : 3Com 3c589 10Mbps ethernet
 ep0: wrote 0x7ff to TX_AVAIL_THRESH, read back 0x0. Interface disabled
 ep0: couldn't configure controller

 --scott

From: Scott Reynolds <scottr@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: ITOH Yasufumi <itohy@netbsd.org>,
	Charles Hannum <abuse@spamalicious.com>
Subject: Re: kern/26909: many PCMCIA devices stopped working
Date: Fri, 3 Dec 2004 19:29:26 -0600

 For reference, from the 1.5V kernel that works:

 pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff
 pcic0: controller 0 (Cirrus PD672X) has sockets A and B
 pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
 pcmcia0 at pcic0 controller 0 socket 0
 pcmcia1 at pcic0 controller 0 socket 1
 ...
 pcic0: using irq 3 for socket events
 ep0 at pcmcia1 function 0 port 0x300-0x30f: 3Com 3c589 10Mbps Ethernet
 ep0: address 00:10:5a:89:b0:8b, 8KB byte-wide FIFO, 5:3 Rx:Tx split
 ep0: 10baseT, 10base5, 10base2 (default 10baseT)

From: itohy@netbsd.org (ITOH Yasufumi)
To: nakayama@netbsd.org
Cc: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/26909: many PCMCIA devices stopped working
Date: Sun, 11 Sep 2005 17:35:24 +0900 (JST)

 # Fixed Subject: to address correct PR.
 # Old subject was "Re: kern/31245: Adaptec 1460 pcmcia support (aic) broken on"

 nakayama@netbsd.org writes:

 > >>> itohy@netbsd.org (ITOH Yasufumi) wrote
 > 
 > > hauke@Espresso.Rhein-Neckar.DE writes:
 > > 
 > > > The Adaptec 1460 pcmcia SCSI adapter that works nicely on netbsd-2 
 > > > fails on netnsd-3 and current with
 > > 
 > > See kern/26909 for more broken drivers.
 > 
 > How about this change for ne and ep drivers? I guess aic have
 > another problem since submitter says it fails on -current.
 > 
 > | Module Name:    src
 > | Committed By:   christos
 > | Date:           Mon Aug 15 18:58:24 UTC 2005
 > | 
 > | Modified Files:
 > |         src/sys/dev/pcmcia: pcmcia.c
 > | 
 > | Log Message:
 > | PR/30995: Wada Keiji: pcmcia interface can't use ne2000 compatible card
 > | Call pcmcia_socket_settype sooner. I removed the later call, so the submitter
 > | should test the final code before I close the PR.
 > | 
 > | To generate a diff of this commit:
 > | cvs rdiff -r1.73 -r1.74 src/sys/dev/pcmcia/pcmcia.c
 > 
 > The following cards stopped working when I upgrade my six years old
 > note PC from netbsd-2 to netbsd-3.
 > 
 > 	com1 at pcmcia0 function 0: <HONDA ELECTRON, AH-H407P>
 > 
 > 	mhzc0 at pcmcia0 function 0: <MEGAHERTZ, CC/XJEM3336,
 > 		DATA/FAX/CELL ETHERNET MODEM>
 > 	com1 at mhzc0
 > 	sm0 at mhzc0
 > 
 > 	ep0 at pcmcia0 function 0: <3Com Corporation, 3C589D,
 > 		TP/BNC LAN Card Ver. 2a, 000002>
 > 
 > But applying the above changes to netbsd-3 seems to solve this
 > problem, then cards works again.

 I tested on newer kernel (3.99.8 at Sept. 10, 2005)
 and ep and ne seems working.
 I don't see any related changes in if_{ep,ne}_pcmcia.c,
 so the problems were in the pcmcia subsystem?

 I also tested with pcmcia com card (Megahertz 56k MODEM).
 It is detected and attached correctly, but the I/O operation
 doesn't work (tip(1)ing the device gets no response).
 http://mail-index.netbsd.org/tech-kern/2005/06/02/0003.html
 seems the same problem.

 Current status:

 	card			driver	status
 	--------------------	------	------
 	TDK CompactFlash	wdc&wd	works
 	ACCTON NE2000 compat	ne	fixed	pcmcia.c:1.74 ?
 	TDK 10BASE-T		mbe	fails	"device timeout"
 	Intersil PRISM II	wi	works
 	3Com 3C589		ep	fixed	pcmcia.c:1.74 ?
 	Adaptec APA-1460	aic	fails	"unable to detect chip!"
 	RATOC SCSI		esp	fails	(kernel panics)
 	Megahertz 56k		com	fails	no response

 Regards,
 -- 
 ITOH Yasufumi

From: itohy@netbsd.org (ITOH Yasufumi)
To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: kern/26909: many PCMCIA devices stopped working
Date: Sun, 13 Nov 2005 02:24:11 +0900 (JST)

 FYI, I tested on 3.0_BETA:

 	card			driver	status
 	--------------------	------	------
 	TDK CompactFlash	wdc&wd	works
 	ACCTON NE2000 compat	ne	works
 	TDK 10BASE-T		mbe	fails	"device timeout"
 	Intersil PRISM II	wi	works
 	3Com 3C589		ep	works
 	Adaptec APA-1460	aic	fails	"unable to detect chip!"
 	RATOC SCSI		esp	fails	(kernel panics)
 	Megahertz 56k		com	fails	no response

 It seems the same status as current.
 -- 
 ITOH Yasufumi

From: ITOH Yasufumi <itohy@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/26909 CVS commit: src/sys/dev/pcmcia
Date: Thu, 28 Dec 2006 16:37:46 +0000 (UTC)

 Module Name:	src
 Committed By:	itohy
 Date:		Thu Dec 28 16:37:46 UTC 2006

 Modified Files:
 	src/sys/dev/pcmcia: esp_pcmcia.c

 Log Message:
 Don't use esp_pcmcia_enable() before attaching chip driver (ncr53c9x),
 since it touches storage allocated by the chip attach function.
 The chip driver properly calls scsipi_adapter_addref() /
 scsipi_adapter_delref(), and just deleting the esp_pcmcia_enable() call
 and the relevant code should be OK.

 Fix panic descibed in PR kern/26909.


 To generate a diff of this commit:
 cvs rdiff -r1.29 -r1.30 src/sys/dev/pcmcia/esp_pcmcia.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: maxv@NetBSD.org
State-Changed-When: Sun, 24 Jun 2018 08:32:20 +0000
State-Changed-Why:
Fixed in 2006.


From: John Nemeth <jnemeth@cue.bc.ca>
To: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org, netbsd-bugs@netbsd.org,
        gnats-admin@netbsd.org, maxv@NetBSD.org, itohy@netbsd.org
Cc: 
Subject: Re: kern/26909 (many PCMCIA devices stopped working)
Date: Sun, 24 Jun 2018 13:22:13 -0700

 On Jun 24,  8:32am, maxv@NetBSD.org wrote:
 }
 } Synopsis: many PCMCIA devices stopped working
 } 
 } State-Changed-From-To: open->closed
 } State-Changed-By: maxv@NetBSD.org
 } State-Changed-When: Sun, 24 Jun 2018 08:32:20 +0000
 } State-Changed-Why:
 } Fixed in 2006.

      I have just read the entirety of the PR and I don't see any
 evidence that this was ever fixed.  This bug certainly caused me
 headaches for a long time, and I carried around a local hack to
 work around it (the laptop that had this problem currently sits
 mostly unused, but I could probably work on testing it if needed).
 Where is the evidence that this bug was fixed.

 }-- End of excerpt from maxv@NetBSD.org

State-Changed-From-To: closed->open
State-Changed-By: maxv@NetBSD.org
State-Changed-When: Fri, 29 Jun 2018 19:36:26 +0000
State-Changed-Why:
Yeah, maybe I read too quickly, I don't have time to handle that now, so
back to open


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.