Date: Tue, 25 Jul 2000 11:07:06 -0400 (EDT) From: Andrew Gallatin <gallatin@cs.duke.edu> To: wilko@FreeBSD.ORG Cc: FreeBSD-alpha mailing list <freebsd-alpha@FreeBSD.ORG> Subject: Re: presence of DEFPA (fddi) panics 4.1RC Message-ID: <14717.44106.43720.739368@grasshopper.cs.duke.edu> In-Reply-To: <20000725164548.A7231@freebie.demon.nl> References: <20000725164548.A7231@freebie.demon.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Wilko Bulte writes: > I finally got around to hooking up a serial console to my Miata > (never throw your terminal servers away ;) > > Anyway: > > isp0: interrupting at CIA irq 3 > fpa0: <Digital DEFPA PCI FDDI Controller> port 0x8100-0x817f mem > 0x80800000-0x8080ffff,0x80821000-0x8082107f irq 16 at device 9.0 on pci1 > > fatal kernel trap: > > trap entry = 0x2 (memory management fault) > a0 = 0x80821014 This is typically happens because bus_alloc_resource(cfg->dev, SYS_RES_MEMORY,...) gives you an unusable address unless you specify if you want BWX or DENSE space. See if the following hack helps: Index: pci/pci_compat.c =================================================================== RCS file: /home/ncvs/src/sys/pci/pci_compat.c,v retrieving revision 1.35 diff -u -r1.35 pci_compat.c --- pci/pci_compat.c 2000/02/28 08:12:24 1.35 +++ pci/pci_compat.c 2000/07/25 15:03:00 @@ -96,7 +96,7 @@ rid = reg; res = bus_alloc_resource(cfg->dev, SYS_RES_MEMORY, &rid, - 0, ~0, 1, RF_ACTIVE); + 0, ~0, 1, RF_ACTIVE|PCI_RF_DENSE); if (res) { *pa = rman_get_start(res); *va = (vm_offset_t) rman_get_virtual(res); I'm not sure if this is really correct. But it will certainly rub off the sharp corners of some devices using the pci compat shims.. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14717.44106.43720.739368>