From owner-freebsd-arch@FreeBSD.ORG Wed Aug 11 00:27: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 081FA16A4CF for ; Wed, 11 Aug 2004 00:27:32 +0000 (GMT) Received: from web14826.mail.yahoo.com (web14826.mail.yahoo.com [216.136.225.197]) by mx1.FreeBSD.org (Postfix) with SMTP id CDC7043D2F for ; Wed, 11 Aug 2004 00:27:31 +0000 (GMT) (envelope-from rosti_bsd@yahoo.com) Message-ID: <20040811002731.46210.qmail@web14826.mail.yahoo.com> Received: from [212.143.154.227] by web14826.mail.yahoo.com via HTTP; Tue, 10 Aug 2004 17:27:31 PDT Date: Tue, 10 Aug 2004 17:27:31 -0700 (PDT) From: Rostislav Krasny To: John Baldwin In-Reply-To: <200408091604.33984.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: gibbs@FreeBSD.org cc: freebsd-arch@FreeBSD.org 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 00:27:32 -0000 --- 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.' :-) __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail