bge and wpi do not function on aspire 5920

Mario Pavlov freebsd at abv.bg
Tue May 13 19:07:55 UTC 2008


> >On Monday 12 May 2008 22:33:06 Mario Pavlov wrote:
> >> Hi list,
> >> I've just bought ACER ASPIRE 5920 notebook and I've installed
> >> FreeBSD-7.0-AMD64 right the way and I've noticed that neither the LAN card
> >> nor the WLAN card work
> >> I'm not 100% sure what the LAN card is but it should of the BroadCom
> >> NetLink family however I get the following in the boot messages
> >>
> >> bge0: <BroadCom NetLink Gigabit Ethernet Controller, ASIC rev. 0xb002> irq
> >> 17 at device 0.0 on pci8 bge0: 0x10000 bytes of rid 0x10 res 3 failed (0,
> >> 0xffffffffffffffff). bge0: couldn't map memory
> >> device_attach: bge0 attach returned 6
> >>
> >> after I saw that I've tried the WLAN by kldload if_wpi and I got this:
> >>
> >> wpi0: <Intel(R) PRO/Wireless 3945ABG> irq19 at device 0.0 on pci6
> >> wpi0: 0x1000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff).
> >> wpi0: could not allocate memory resource
> >> device_attach: wpi0 attach returned 6
> >
> >I think the core of your problems start here and degrade from then on:
> >
> >
> >> acpi_ec0: <Embedded Controller: GPE 0x18> port 0x62,0x66 on acpi0
> >> acpi_ec0: warning: EC done before starting event wait
> >
> >...
> >
> >> acpi_ec0: wait timed out (response), forcing polled mode
> >
> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html
> >
> >would be recommended reading.
> >
> >--
> >Mel
>
>Hi
>thank you for the quick response, I'll read that and see what I can do
>however it was the same when I tried to boot with ACPI disabled.
>
>Regards
>MGP

Hi again
I've synchronized the source tree and compiled world + kernel (+ options ACPI_DEBUG)...
I've added this:

debug.acpi.layer="ACPI_ALL_DRIVERS"
debug.acpi.level="ACPI_LV_VERBOSE"

into loader.conf

however the boot messages are the same...
did I forget something ?

I don't really get where is the problem
looking at if_bge.c I can see that it ends up its operation here:

rid = BGE_PCI_BAR0;
sc->bge_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
RF_ACTIVE | PCI_RF_DENSE);

if (sc->bge_res == NULL) {
device_printf (sc->bge_dev, "couldn't map memory\n");
error = ENXIO;
goto fail;
}

unfortunately I'm not skilled and experienced enough to understand and debug the bus_alloc_resource() facility on my own
so I need help :)

Regards
MGP

-----------------------------------------------------------------
Всичко за Евро 2008 !!!
http://euro2008.sportni.bg/


More information about the freebsd-mobile mailing list