From owner-freebsd-arch@FreeBSD.ORG Wed Aug 11 19:05:32 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA46316A4E6 for ; Wed, 11 Aug 2004 19:05:31 +0000 (GMT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CF5443D53 for ; Wed, 11 Aug 2004 19:05:06 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 15866 invoked from network); 11 Aug 2004 19:05:06 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 11 Aug 2004 19:05:05 -0000 Received: from [10.50.41.91] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i7BJ516R093561; Wed, 11 Aug 2004 15:05:02 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-arch@FreeBSD.org Date: Wed, 11 Aug 2004 11:11:35 -0400 User-Agent: KMail/1.6.2 References: <20040811002731.46210.qmail@web14826.mail.yahoo.com> In-Reply-To: <20040811002731.46210.qmail@web14826.mail.yahoo.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408111111.35564.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: gibbs@FreeBSD.org cc: Rostislav Krasny Subject: Re: adv(4) bandaid [Was Re: again question about "IRQ 2 problem"] X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 19:05:32 -0000 On Tuesday 10 August 2004 08:27 pm, Rostislav Krasny wrote: > --- John Baldwin wrote: > > On Saturday 07 August 2004 11:35 am, Rostislav Krasny wrote: > > > --- John Baldwin wrote: > > > > This should be fixed in rev 1.35 of sys/kern/subr_rman.c Please > > > > let me know if it is not, thanks! > > > > > > Thank you very much! The "IRQ 2 problem" is fixed now and that > > > device (ed1) is working. > > > > > > The only strange thing is what I see in 'dmesg -a' output after > > > booting in verbose mode (the first "adv1:..." line): > > > > Try this patch to the adv(4) driver to see if your messages go away: > > > > Index: dev/advansys/adv_isa.c > > =================================================================== > > RCS file: /usr/cvs/src/sys/dev/advansys/adv_isa.c,v > > retrieving revision 1.26 > > diff -u -r1.26 adv_isa.c > > --- dev/advansys/adv_isa.c 30 May 2004 20:08:24 -0000 1.26 > > +++ dev/advansys/adv_isa.c 9 Aug 2004 19:17:11 -0000 > > @@ -117,6 +117,12 @@ > > struct resource *iores, *irqres; > > > > /* > > + * We don't know of any PnP ID's for these cards. > > + */ > > + if (isa_get_logicalid(dev) != 0) > > + return (ENXIO); > > + > > + /* > > * Default to scanning all possible device locations. > > */ > > port_index = 0; > > After patching the "adv_isa.c" file and rebuilding the GENERIC kernel > those messages went away. Previously posted chunk of the 'dmesg -a' > output looks so now: > > isa_probe_children: probing PnP devices > ed1: at port 0x200-0x21f irq 5 on isa0 > ed1: [GIANT-LOCKED] > ed1: bpf attached > ed1: Ethernet address: 00:00:21:82:25:03 > type NE2000 (16 bit) > unknown: can't assign resources (port) > unknown: at port 0x60 on isa0 > unknown: failed to probe at port 0x61 on isa0 > unknown: can't assign resources (port) > unknown: at port 0x4d0-0x4d1 on isa0 > unknown: can't assign resources (port) > unknown: at port 0x208-0x20f on isa0 > unknown: can't assign resources (port) > unknown: at port 0x3f8-0x3ff on isa0 > unknown: can't assign resources (port) > unknown: at port 0x3f2-0x3f5 on isa0 > unknown: can't assign resources (port) > unknown: at port 0x378-0x37f on isa0 > unknown: can't assign resources (port) > unknown: at port 0x2f8-0x2ff on isa0 > Device configuration finished. > procfs registered > > > P.S. What are these "unknown: ..." messages? I don't have so > many PnP devices. And my speaker (port 0x61) is working properly. I > even can run 'kldload -v /boot/kernel/speaker.ko' and then 'morse -p -e > -w 23 I am a 5.2-CURRENT, test me.' :-) They are PnPBIOS entries for things like the ISA timers, AT 8259A PICs, and the speaker. FreeBSD doesn't currently use the PnPBIOS device entries to attach to these devices. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/