From owner-freebsd-current@FreeBSD.ORG Sat Dec 13 16:58:01 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1178816A4CE for ; Sat, 13 Dec 2003 16:58:01 -0800 (PST) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF1CA43D4F for ; Sat, 13 Dec 2003 16:57:46 -0800 (PST) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.9/8.12.8) with ESMTP id hBE0sp15056658; Sat, 13 Dec 2003 19:54:51 -0500 (EST) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.9/8.12.8/Submit) id hBE0spf0056657; Sat, 13 Dec 2003 19:54:51 -0500 (EST) Date: Sat, 13 Dec 2003 19:54:50 -0500 From: Mathew Kanner To: Ryan Carmichael Message-ID: <20031214005450.GI29093@cnd.mcgill.ca> References: <20031213230342.13912.qmail@webmail1.knology.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <20031213230342.13912.qmail@webmail1.knology.net> User-Agent: Mutt/1.4.1i Organization: I speak for myself, operating in Montreal, CANADA X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on hak.cnd.mcgill.ca cc: freebsd-current@freebsd.org Subject: Re: panic: resource_list_alloc: resource entry is busy X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2003 00:58:01 -0000 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Dec 13, Ryan Carmichael wrote: > Until today I had been getting contigmalloc0: size must not be 0 panics, but > I haven't tried in a month or so. > > Unfortunately I don't have any working FreeBSD machines to test any patches > but am willing to try about anything else. > > (sorry, hand-typed so it is not all here) > ... > FreeBSD 5.2-CURRENT-20031212-JPSNAP #0: Fri Dec 12 01:27:13 GMT 2003 > ... > CPU: Intel Pentium III(851.94-MHz 686-class CPU) > ... > agp0: mem0xf80000000-0xfbffffff at device > 0.0 on pci0 > agp0: bad initial aperture size, disabling > device_probe_and_attach: agp0 attach returned 6 > .... Hello Ryan, This patch won't make agp work for you but it might stop the panic. --Mat -- In general, a standard is very useful, whether it's de facto or du jour. - Microsoft's Greg Sullivan as misquoted by News.Com --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="agp_ali.patch" Index: src/sys/pci/agp_ali.c =================================================================== RCS file: /home/ncvs/src/sys/pci/agp_ali.c,v retrieving revision 1.9 diff -u -r1.9 agp_ali.c --- src/sys/pci/agp_ali.c 11 Nov 2003 21:49:18 -0000 1.9 +++ src/sys/pci/agp_ali.c 14 Dec 2003 00:55:45 -0000 @@ -104,6 +104,7 @@ sc->initial_aperture = AGP_GET_APERTURE(dev); if (sc->initial_aperture == 0) { device_printf(dev, "bad initial aperture size, disabling\n"); + agp_generic_detach(dev); return ENXIO; } --opJtzjQTFsWo+cga--