[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-stable
Subject:    RE: Advansys Weirdness (tm)
From:       "Daniel O'Connor" <doconnor () gsoft ! com ! au>
Date:       2001-03-14 9:12:46
[Download RAW message or body]


On 14-Mar-01 Daniel O'Connor wrote:
>  The second time the adw0 line is printed, there is no line which says that the
>  firmware load failed, but I don't know if that's because it suceeded or if it
>  bombs
>  before then.
>  
>  I will get a stack trace soon.

OK, well I see that the Advansys code doesn't do a bus_release_resource() when an
error happens.

I think that in adw_pci_attach() instead of just doing return(ENXIO), do 
err = ENXIO;
goto bailout;

[ .. ]
bailout:
if (regs)
    bus_release_resource(dev, regs_type, regs_id, regs);

I will see if I can work up a proper diff :)

WRT the actual problem (ie the firmware doesn't load) I am guessing the card must be
faulty since it has a problem in the BIOS.. (Where it says init error 0x2) - that
problem doesn't happen all the time, but most of the time.

Occassionally the card actually works properly though.

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic