Date: Tue, 25 Jul 2000 20:33:14 +0200 From: Wilko Bulte <wkb@freebie.demon.nl> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: wilko@freebsd.org, FreeBSD-alpha mailing list <freebsd-alpha@freebsd.org> Subject: Re: presence of DEFPA (fddi) panics 4.1RC Message-ID: <20000725203314.B8155@freebie.demon.nl> In-Reply-To: <14717.44106.43720.739368@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Tue, Jul 25, 2000 at 11:07:06AM -0400 References: <20000725164548.A7231@freebie.demon.nl> <14717.44106.43720.739368@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 25, 2000 at 11:07:06AM -0400, Andrew Gallatin wrote: > > Wilko Bulte writes: > > 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.. It does indeed polish the sharp edges. No panic anymore. I get a good probe etc. But no link it seems. I'll doublecheck with T64 to see if the link/cable etc is OK. -- Wilko Bulte http://www.freebsd.org wilko@freebsd.org http://www.nlfug.nl 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?20000725203314.B8155>