Subject: kern/9442: wdc_pcmcia attach hangs when another card is present
To: None <>
From: None <>
List: netbsd-bugs
Date: 02/17/2000 21:27:49
>Number:         9442
>Category:       kern
>Synopsis:       wdc_pcmcia attach hangs when another card is present
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 17 21:27:01 2000
>Originator:     Charles M. Hannum
	Internetwork Hacker
>Release:        -current as of 20000217
	Toshiba Satellite 2550CDT or IBM WorkPad z50
System: NetBSD 1.4T NetBSD 1.4T (LOP-NOR) #39: Thu Feb 17 22:05:07 EST 2000 i386

	If a card (such as an Ethernet card) is inserted in another slot on
	the same PCMCIA controller, and is active (i.e. is getting interrupts),
	the wdc_pcmcia attach usually hangs.

	Plug in an Ethernet card, attach to a network, and then plug in a
	PCMCIA or CompactFlash memory card.

	This looks like it may be due to wdc_intr() being called spuriously
	due to the IRQ being shared with the other card.  The drive probe is
	not very clean with respect to interrupt race conditions.