Intel Wifi Link 5100 AGN Progress. ndisgen? iwn?

Hi,
regarding Toshiba (and probably other laptops having similar issues - may be related to Phoenix bios) I had the same problems with a Satellite P300 (recent model PSPCCE-04F00C), no wired (Marvell Yukon 88E8040T) or wireless (Intel 5100) network interface. All due to the BIOS clearing resources and FreeBSD not able to allocate PCI resources behind a bridge.

Attached patch worked for me, after building a new kernel:
[CMD="patch_and_build"]
# cd /usr/src/sys/dev/acpica
# patch -p0 < pcib_pci.patch
# cd /usr/src
# make kernel KERNCONF=<your-configuration>
# shutdown -r now
[/CMD]
Now all is working with 8.0-RELEASE/amd64, both wired and wireless networking. For the latter you need a recent revision from the iwn repository (revision 26 is working fine for me).

FreeBSD ts01.pims.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Mon Dec 21 00:10:19 CET 2009 pim@:/usr/obj/usr/src/sys/GENERIC amd64

Code:
mskc0: <Marvell Yukon 88E8040T Fast Ethernet> irq 17 at device 0.0 on pci3                                                                                                   
msk0: <Marvell Technology Group Ltd. Yukon FE+ Id 0xb8 Rev 0x00> on mskc0                                                                                                    
msk0: disabling jumbo frame support                                                                                                                                          
msk0: Ethernet address: 00:23:8b:65:fe:7f                                                                                                                                    
miibus0: <MII bus> on msk0                                                                                                                                                   
e1000phy0: <Marvell 88E3016 10/100 Fast Ethernet PHY> PHY 0 on miibus0                                                                                                       
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto                                                                                                             
mskc0: [FILTER]

Code:
iwn0: <Intel(R) PRO/Wireless 5100> irq 16 at device 0.0 on pci2                                                                                                              
iwn0: MIMO 1T2R, MoW, address 00:22:fa:1e:96:64                                                                                                                              
iwn0: [ITHREAD]                                                                                                                                                              
iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps                                                                                                       
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps                                                                                                                                  
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

Happily surfing now from the sofa ;)
 

Attachments

  • pcib_pci.patch
    1 KB · Views: 361
pvgrol said:
Hi,
regarding Toshiba (and probably other laptops having similar issues - may be related to Phoenix bios) I had the same problems with a Satellite P300 (recent model PSPCCE-04F00C), no wired (Marvell Yukon 88E8040T) or wireless (Intel 5100) network interface. All due to the BIOS clearing resources and FreeBSD not able to allocate PCI resources behind a bridge.
....
Happily surfing now from the sofa ;)
Thanks you very much...
My LAN card work fine !!
Can report the patch to FreeBSD dev ACPI team?
Thanks you very much.
 
Back
Top