Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2003 07:22:36 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-alpha@freebsd.org
Subject:   Fw: Re: Does anyone use a FDDI card on 5.0?
Message-ID:  <20030401072236.37350d34.lehmann@ans-netz.de>

next 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?20030401072236.37350d34.lehmann>