From owner-freebsd-stable Sun Oct 13 15:25: 8 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCEF537B406; Sun, 13 Oct 2002 15:25:05 -0700 (PDT) Received: from wso-h001.wsonline.net (12-254-8-189.client.attbi.com [12.254.8.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21F8E43E9C; Sun, 13 Oct 2002 15:25:05 -0700 (PDT) (envelope-from seahorse51@attbi.com) Received: from seahorse.attbi.com (trilluser@seahorse [192.168.1.101]) by wso-h001.wsonline.net (8.12.5/8.12.5) with ESMTP id g9DMOKto037565; Sun, 13 Oct 2002 16:24:24 -0600 (MDT) (envelope-from seahorse51@attbi.com) Message-Id: <5.1.1.6.0.20021013162309.01d94620@mail.seahorse.wsonline.net> X-Sender: seahorse@mail.seahorse.wsonline.net X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Sun, 13 Oct 2002 16:24:20 -0600 To: Matthew Dillon , Bryan Berch From: Andy Subject: Re: Kernel Panics in 4.7-STABLE Cc: David Malone , freebsd-stable@FreeBSD.ORG, John Baldwin In-Reply-To: <200210132122.g9DLMvdM056777@apollo.backplane.com> References: <200210122026.aa07063@salmon.maths.tcd.ie> <3DA8821D.70803@charterpa.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Any idea when this fix will be committed to -stable? And although I have been following this thread, does it appear to effect all platforms or just some of them? Andy At 15:22 10/13/2002, Matthew Dillon wrote: > The nexus_print_all_resources() panic is due to a bug in EISA bus > handling that shows up due to a recent commit John made. > He has a tentitive patch for it but it needs to be tested / verified. > > I've included it below. Pelase try this patch and tell us if it > fixes it. > > -Matt > Matthew Dillon > > >: >:nexus_print_all_resources(c0e62280,c0e4a680,c0e62280,c0e62280,0) at >:nexus_print_all_resources+0x14 >:... > > >Index: nexus.c >=================================================================== >RCS file: /usr/cvs/src/sys/i386/i386/nexus.c,v >retrieving revision 1.26.2.6 >diff -u -r1.26.2.6 nexus.c >--- nexus.c 3 Mar 2002 05:42:49 -0000 1.26.2.6 >+++ nexus.c 11 Oct 2002 18:07:45 -0000 >@@ -219,21 +219,21 @@ > * connection points now so they show up "on motherboard". > */ > if (!devclass_get_device(devclass_find("eisa"), 0)) { >- child = device_add_child(dev, "eisa", 0); >+ child = BUS_ADD_CHILD(dev, 0, "eisa", 0); > if (child == NULL) > panic("nexus_attach eisa"); > device_probe_and_attach(child); > } > #if NMCA > 0 > if (!devclass_get_device(devclass_find("mca"), 0)) { >- child = device_add_child(dev, "mca", 0); >- if (child == 0) >+ child = BUS_ADD_CHILD(dev, 0, "mca", 0); >+ if (child == NULL) > panic("nexus_probe mca"); > device_probe_and_attach(child); > } > #endif > if (!devclass_get_device(devclass_find("isa"), 0)) { >- child = device_add_child(dev, "isa", 0); >+ child = BUS_ADD_CHILD(dev, 0, "isa", 0); > if (child == NULL) > panic("nexus_attach isa"); > device_probe_and_attach(child); > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message