Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  6 Jan 2001 16:04:30 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Wilko Bulte <wkb@freebie.demon.nl>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: debugging fpa / FDDI panic
Message-ID:  <14935.34600.806565.787237@grasshopper.cs.duke.edu>
In-Reply-To: <20010106214357.X77275@freebie.demon.nl>
References:  <20010106214357.X77275@freebie.demon.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

Wilko Bulte writes:
 > Now that I have -current running on my Miata I'm trying to find out why the
 > fpa driver causes a panic on boot:
 > 
 > isp0: interrupting at CIA irq 16
 > pci1: <network, ethernet> at 10.0 (no driver attached)
 > fpa0: <Digital DEFPA PCI FDDI Controller> port 0x9000-0x907f mem
 > 0x80950000-0x8095ffff,0x80960000-0x8096007f irq 4 at device 11.0 on pci0
 > 
 > fatal kernel trap:
 > 
 >     trap entry = 0x2 (memory management fault)
 >     a0         = 0x80960014

This is a bus address, not a virtual address.

Change the bus_alloc_resource call in pdq_pci_attach() to

	memres = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, 0, ~0, 1,
		     RF_ACTIVE|PCI_RF_DENSE);

We should either have pci_alloc_resource default to RF_DENSE or panic
if neither PCI_RF_DENSE nor PCI_RF_BWX are specified.  The current
state of affairs makes no sense..

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?14935.34600.806565.787237>