-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello All, I have had a problem detecting the network card on my notebook when ACPI is enabled for a year. The problem still exists in 7.1-RELEASE. with ACPI: ... 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, 0xffffffff). bge0: couldn't map memory device_attach: bge0 attach returned 6 ... without ACPI: ... bge0: <Broadcom NetLink Gigabit Ethernet Controller, ASIC rev. 0xb002> mem 0xf3000000-0xf300ffff irq 17 at device 0.0 on pci8 miibus0: <MII bus> on bge0 brgphy0: <BCM5787 10/100/1000baseTX PHY> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:1b:24:ca:a0:aa bge0: [ITHREAD] ... It seems that some resources are disabled by ACPI and should be enabled first. Here is dmesg from linux: ... tg3 0000:08:00.0: enabling device (0000 -> 0002) tg3 0000:08:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 tg3 0000:08:00.0: setting latency timer to 64 eth0: Tigon3 [partno(BCM95787m) rev b002 PHY(5787)] (PCI Express) 10/100/1000Base-T Ethernet 00:1b:24:ca:a0:aa eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1] eth0: dma_rwctrl[76180000] dma_mask[64-bit] ... What changes should be made to enable these resources and where, in the device driver, acpi or pci code or both? Is there something similar already done? Best Regards -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFJYzyFxJBWvpalMpkRAqSUAJ4y6oeaFg0svVrXTobNtc0CHW8thQCeLU/i i0T/PFHDkxWAJHN+Z/zSAhY=nXCJ -----END PGP SIGNATURE-----
On Tue, 06 Jan 2009 13:12:05 +0200 Krassimir Slavchev <krassi@bulinfo.net> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello All, > > I have had a problem detecting the network card on my notebook when > ACPI is enabled for a year. The problem still exists in 7.1-RELEASE.Which make and model notebook is this? You have my sympaties, my own laptop[1] (Acer Aspire 5672) have the same sort of problem - drivers for NICs (both wired and wireless) will not attach if acpi is enabled. And this laptop gets too hot when acpi is disabled - I fear it will overheat. Linux runs fine[2] on it. I had a lot of help in trying to fix the problem a wbile back (check the freebsd-mobile mailing list archives), but in the end, nothing helped. I can only offer general advice, not a solution. Try too look for a modfified DSDT for your notebook, perhpas you will find something that helps. References: 1) http://tingox.googlepages.com/aceraspireas5672andfreebsd 2) http://tingox.googlepages.com/as5672_xubuntu -- Regards, Torfinn Ingolfsen, Norway
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Thanks for your reply! Torfinn Ingolfsen wrote:> On Tue, 06 Jan 2009 13:12:05 +0200 > Krassimir Slavchev <krassi@bulinfo.net> wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hello All, >> >> I have had a problem detecting the network card on my notebook when >> ACPI is enabled for a year. The problem still exists in 7.1-RELEASE. > > Which make and model notebook is this? >Acer Aspire 5920G> You have my sympaties, my own laptop[1] (Acer Aspire 5672) have the same > sort of problem - drivers for NICs (both wired and wireless) will not > attach if acpi is enabled. And this laptop gets too hot when acpi is > disabled - I fear it will overheat. Linux runs fine[2] on it. >same> I had a lot of help in trying to fix the problem a wbile back (check > the freebsd-mobile mailing list archives), but in the end, nothing > helped.I have found that thread.> > I can only offer general advice, not a solution. Try too look for > a modfified DSDT for your notebook, perhpas you will find something > that helps. > > References: > 1) http://tingox.googlepages.com/aceraspireas5672andfreebsd > 2) http://tingox.googlepages.com/as5672_xubuntuModifying the DSDT was the first thing I tried a year ago but nothing. The problem may be with allocating resources by ACPI PCI-PCI bridge. There is a way to set needed values: http://lists.freebsd.org/pipermail/freebsd-acpi/2008-May/004905.html I am still not sure where is the exact problem! Whether something is wrong with ACPI PCI-PCI bridge or ACPI does not offer these resources? I would like to work on this and any help is welcome Best Regards -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFJZwRdxJBWvpalMpkRAuP0AJ9gn2sc9vF2emPfqEBxl7suNYNzTgCePbWp k8L3cDbNfYYxJ6gT6b/541g=wZlz -----END PGP SIGNATURE-----