Date: Sat, 13 Dec 2003 19:54:50 -0500 From: Mathew Kanner <mat@cnd.mcgill.ca> To: Ryan Carmichael <bremen@knology.net> Cc: freebsd-current@freebsd.org Subject: Re: panic: resource_list_alloc: resource entry is busy Message-ID: <20031214005450.GI29093@cnd.mcgill.ca> In-Reply-To: <20031213230342.13912.qmail@webmail1.knology.net> References: <20031213230342.13912.qmail@webmail1.knology.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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: <Ali Generic host to PCI bridge> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031214005450.GI29093>
