Date: Mon, 31 Mar 2003 23:35:09 +0200 From: Oliver Lehmann <lehmann@ans-netz.de> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: freebsd-alpha@freebsd.org Subject: Re: Does anyone use a FDDI card on 5.0? Message-ID: <20030331233509.21ba9cce.lehmann@ans-netz.de> In-Reply-To: <16008.40619.177277.973890@grasshopper.cs.duke.edu> References: <003901c2f6e2$3f1c0d40$0a04a8c0@PLANETEORANGE.CA> <20030331181836.0c9b67d0.lehmann@ans-netz.de> <16008.28257.658768.820352@grasshopper.cs.duke.edu> <20030331213003.4e67d88f.lehmann@ans-netz.de> <16008.40619.177277.973890@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Gallatin wrote: > Probably something in pdq_process_command_responses(). > Maybe its accessing PCI mem directly w/going through busspace > accessors. > > Either that, or the device initiated a bad dma... > > Can you try the following patch & see if it helps? > > Drew > > > Index: if_fpa.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/pdq/if_fpa.c,v > retrieving revision 1.17 > diff -u -r1.17 if_fpa.c > --- if_fpa.c 2 Jun 2002 20:05:45 -0000 1.17 > +++ if_fpa.c 31 Mar 2003 20:00:17 -0000 > @@ -144,7 +144,7 @@ > sc->mem_rid = PCI_CBMA; > sc->mem_type = SYS_RES_MEMORY; > sc->mem = bus_alloc_resource(dev, sc->mem_type, &sc->mem_rid, > - 0, ~0, 1, RF_ACTIVE); > + 0, ~0, 1, RF_ACTIVE | PCI_RF_DENSE); > if (!sc->mem) { > device_printf(dev, "Unable to allocate I/O space resource.\n"); > error = ENXIO; > > Still the same problem: fpa0: <Digital DEFPA PCI FDDI Controller> port 0x10180-0x101ff mem 0x82030000-0x8203ffff,0x82041180-0x820411ff irq 3 at device 9.0 on pci0 unexpected machine check: mces = 0x1 vector = 0x660 param = 0xfffffc0000006068 pc = 0xfffffc0000530d80 ra = 0xfffffc000039b51c curproc = 0xfffffc00005fdaf8 pid = 0, comm = swapper Stopped at DELAY+0x50: ldq -- Oliver Lehmann @home: lehmann@ans-netz.de @office: oliver.lehmann@mgi.de @www: http://www.pofo.de/ | http://wishlist.ans-netz.de/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030331233509.21ba9cce.lehmann>