Subject: Re: fxp causes panic on reboot
To: Pavel Cahyna <pavel.cahyna@st.ms.mff.cuni.cz>
From: Michael Kukat <michael@bsdfans.org>
List: port-alpha
Date: 11/26/2002 10:01:09
Hi !

On Tue, 26 Nov 2002, Pavel Cahyna wrote:
> I have a fxp network card in an AlphaPC 164LX. The card is unused, I am
> using another interface. When I try to reboot the machine by typing
> reboot, it panics after syncing discs and goes to the debugger.
>
> When the card isn't in the machine, it reboots OK.

I had a similar problem and fixed it. I didn't announce it yet because my fix
is a dirty hack and i didn't have a cleaner solution. I don't have the patched
sources handy right now, but i think it had to do something with this
PCI_FLAGS_MEM_ENABLED in dev/pci/if_fxp_pci.c

Maybe something like pa->pa_flags &= ~PCI_FLAGS_MEM_ENABLED in this file in
function fxp_pci_attach right after variable declaration helps.

I didn't find out a way to give a suitable attach arg in kernel config file,
so the dirty hack, as i just had to test something.

...Michael

-- 
http://www.bsdfans.org/     Home Powered by: (Net|Open|Free)BSD IRIX NonStop-UX
Solaris AIX HP-UX Tru64 MUNIX Ultrix VMS SINIX Dolphin_Unix OpenStep MacOS A/UX