Subject: Re: port-i386/11234: "isapnp0:No current device or tag, card2" fills my screen if I try to boot
To: None <ball@cyberspace.org>
From: John Darrow <John.P.Darrow@wheaton.edu>
List: netbsd-bugs
Date: 10/16/2000 09:03:36
>>Number:         11234
>>Category:       port-i386
>>Synopsis:       "isapnp0:No current device or tag, card2" fills my screen if I try to boot
>>Description:
>I really hate PnP.
>
>So far as I can tell, "card2" is a Kingston EtheRx KNE20T
>ISA network card based on the Realtek RTL8019 chipset. It is
>set to use i/o addresses 0240-025Fh and IRQ 10.  The card
>seems to work fine under other system software.  This error
>prevents me from using NetBSD/i386.

Apply the following patch (it's against 1.4-something, so the line numbers
won't match, but the patch is the same) and then see if you can boot up and
get a dmesg.  This will let us see more of what's going on.

Do you, by any chance, have an OPL3-SA3 sound system (aka ym0)?  I've had
troubles with the ym0 at isapnp attach routine scrambling later isapnp cards.

jdarrow

-- 
John Darrow - Senior Technical Specialist               Office: 630/752-5201
Computing Services, Wheaton College, Wheaton, IL 60187  Fax:    630/752-5968
Alphapage: 6303160707@alphapage.airtouch.com            Pager:  630/316-0707
Email:     John.P.Darrow@wheaton.edu

Index: sys/dev/isapnp/isapnpres.c
===================================================================
RCS file: /source/cvs/netbsd/current/src/sys/dev/isapnp/isapnpres.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- isapnpres.c	1999/01/17 15:54:11	1.1.1.1
+++ isapnpres.c	1999/10/11 17:46:54	1.2
@@ -511,9 +511,12 @@
 				goto bad;
 		}
 
-		if (isapnp_process_tag(tag, len, buf, &card, &dev, &conf) == -1)
+		if (isapnp_process_tag(tag, len, buf, &card, &dev, &conf) == -1) {
 			printf("%s: No current device for tag, card %d\n",
 			    sc->sc_dev.dv_xname, c + 1);
+			if (++warned == 10)
+				goto bad;
+		}
 	}
 	while (tag != ISAPNP_TAG_END);
 	return isapnp_flatten(card);