Subject: kern/4302: Panic in lemac_isa_attach
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Anders.Hjalmarsson@economics.gu.se>
List: netbsd-bugs
Date: 10/20/1997 09:25:53
>Number: 4302
>Category: kern
>Synopsis: Panic in lemac_isa_attach
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 20 00:35:00 1997
>Last-Modified:
>Originator: Anders Hjalmarsson
>Organization:
>Release: NetBSD-current 1997-10-18
>Environment:
System: NetBSD econahja.econ.gu.se 1.2G NetBSD 1.2G (ECONAHJA) #58: Tue Oct 14 21:41:50 MET DST 1997 econahja@econahja.econ.gu.se:/usr/src/sys/arch/i386/compile/ECONAHJA i386
>Description:
lemac_isa_probe does not unmap the iospace if it finds a card, so
when lemac_isa_attach attempts to map it again it fails.
>How-To-Repeat:
Boot the kernel on a machine with a card recognized by the lc driver
>Fix:
Diff from if_lc_isa.c 1.2
--- if_lc_isa.c.orig Thu Oct 16 15:49:05 1997
+++ if_lc_isa.c Mon Oct 20 09:09:17 1997
@@ -134,6 +134,7 @@
ia->ia_iosize = LEMAC_IOSIZE;
ia->ia_maddr = maddr;
ia->ia_msize = msize;
+ bus_space_unmap(ia->ia_iot, ioh, LEMAC_IOSIZE);
return 1;
}
}
>Audit-Trail:
>Unformatted: