Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Broadcom BCM4366 PCI-e driver won't load

  1. #11
    Join Date
    Mar 2006
    Beans
    21

    Re: Broadcom BCM4366 PCI-e driver won't load

    Nice! That works and I have the WIFI card working. The connection doesn't seem so stable yet, but I'll have a play around.

    I did have the card connecting to my router previously but could not get any data transferring for some reason, great to be able to use this card now.

    Thanks a lot

    Quote Originally Posted by n3roj2 View Post
    So I (original poster) figured this one out. It might help people in the future. I included steps for the latest firmware as of 03/10/17.

    1.) Go to the Asus support page and download the "other" firmware for RT-AC88U. (https://www.asus.com/us/Networking/R...Desk_Download/)
    - I'm using Version3.0.0.4.380.7266
    2.) Extract the firmware using binwalk: binwalk -e RT-AC88U_3.0.0.4_380_7266-g6439257.trx
    3.) Enter the _RT-AC88U_3.0.0.4_380_7266-g6439257.trx.extracted/squashfs-root/lib/modules/2.6.36.4brcmarm/kernel/drivers/net/dhd/ directory
    - You should see dhd.ko
    4.) Use read elf and search for 4366c0:
    readelf -s dhd.ko | grep 4366c0

    219: 000fe818 4 OBJECT GLOBAL DEFAULT 35 active_cons_4366c0
    228: 000fe7ec 18 OBJECT GLOBAL DEFAULT 35 dlimagever_4366c0
    248: 000fe73c 175 OBJECT GLOBAL DEFAULT 35 dlimagename_4366c0
    348: 000fe814 1 OBJECT GLOBAL DEFAULT 35 dlimagetag_4366c0
    479: 000fe800 20 OBJECT GLOBAL DEFAULT 35 dlimagedate_4366c0
    518: 000fe81c 0xe6450 OBJECT GLOBAL DEFAULT 35 dlarray_4366c0
    625: 000022e4 4 OBJECT GLOBAL DEFAULT 45 debug_params_4366c0

    5.) 0xe6450 is 943184 in decimal (this is the bin file size)
    6.) Open up another brcmfmacXXXX.bin in bless to compare the start and stop tags for another firmware (I'm using brcmfmac4366b-pcie.bin)
    7.) We see a start hex of "
    00 F2 3E B8" as a starting point and "FWID: 01-c47a91a4...." as ending (4 bytes past the denoted as periods
    8.) Search in dhd.ko using bless for "00 F2 3E B8"; Address at 0x137bbc which is 1276860 in decimal
    9.) Copy out the firmware using dd: dd if=dhd.ko skip=1276860 ibs=1 count=943184 of=brcmfmac4366c-pcie.bin
    10.) Open up the new brcmfmac4366c-pcie.bin file in Bless to check it out and ensure that we start with "00 F2 3E B8" and end with the FWID: "FWID: 01-fed440e1...."
    - sha1sum is "9f97ebaf661631d6aa303d5e74a528cf1d95a016 brcmfmac4366c-pcie.bin"
    11.) Put that in /lib/firmware/brcm and reaload the module.
    12.) Check dmesg on your system and grep for errors.

    This worked on my system and I now have perfect wi-fi using the
    ASUS PCE-AC88 4x4 Wireless AC3100 PCIe Adapter.

    Linux x0 4.8.0-39-generic #42-Ubuntu SMP Mon Feb 20 11:47:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=16.10
    DISTRIB_CODENAME=yakkety
    DISTRIB_DESCRIPTION="Ubuntu 16.10"

    Credit to
    https://serialize.wordpress.com/2017/02/12/extract-4366c0-firmware/ for more detailed steps.

    Cheers.



  2. #12
    Join Date
    Mar 2017
    Beans
    1

    Re: Broadcom BCM4366 PCI-e driver won't load

    So I followed the guide and seem to have gotten the firmware installed. I can finally scan for networks and connect.
    However, the connection is not really there...

    Connection info shows 12 Mb\s (I have a 1Gbit connection), and I cannot open any pages.

    I fear I might have broken something when trying to install this card.
    dmesg shows alot of brcmf related errors:
    Code:
    ➜  ~ dmesg | grep brcmf
    [    2.613289] usbcore: registered new interface driver brcmfmac
    [    2.730533] brcmfmac 0000:04:00.0: Direct firmware load for brcm/brcmfmac4366c-pcie.txt failed with error -2
    [    3.470636] brcmf_c_preinit_dcmds: Firmware version = wl0: Sep 12 2016 13:26:44 version 10.10.69.6908 (r658761) FWID 01-fed440e1
    [    3.477287] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [    3.479859] brcmfmac 0000:04:00.0 wlp4s0: renamed from wlan0
    [    4.837398] brcmf_p2p_set_firmware: failed to update device address ret -23
    [    4.837607] brcmf_p2p_create_p2pdev: set p2p_disc error
    [    4.837609] brcmf_cfg80211_add_iface: add iface p2p-dev-wlp4s0 type 10 failed: err=-23
    [   95.450904] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [  104.019109] brcmf_inetaddr_changed: fail to get arp ip table err:-23
    [  109.349073] brcmf_inetaddr_changed: fail to get arp ip table err:-23
    [  109.349086] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [  111.223303] brcmf_inetaddr_changed: fail to get arp ip table err:-23
    [  329.507209] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [  439.721682] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [  620.070268] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [  715.254178] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [  820.457706] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    But the firmware file is there:
    Code:
    ls /lib/firmware/brcm 
    bcm4329-fullmac-4.bin   brcmfmac43236b.bin        brcmfmac4329-sdio.bin   brcmfmac43362-sdio.bin   brcmfmac4354-sdio.bin      brcmfmac43602-pcie.bin
    bcm43xx-0.fw            brcmfmac43241b0-sdio.bin  brcmfmac4330-sdio.bin   brcmfmac4339-sdio.bin    brcmfmac43569.bin          brcmfmac4366b-pcie.bin
    bcm43xx_hdr-0.fw        brcmfmac43241b4-sdio.bin  brcmfmac43340-sdio.bin  brcmfmac43455-sdio.bin   brcmfmac4356-pcie.bin      brcmfmac4366c-pcie.bin
    brcmfmac43143.bin       brcmfmac43241b5-sdio.bin  brcmfmac4334-sdio.bin   brcmfmac4350c2-pcie.bin  brcmfmac43570-pcie.bin     brcmfmac4371-pcie.bin
    brcmfmac43143-sdio.bin  brcmfmac43242a.bin        brcmfmac4335-sdio.bin   brcmfmac4350-pcie.bin    brcmfmac43602-pcie.ap.bin
    ~ lspci -vvnn | grep -A 10 Network gives:
    Code:
    04:00.0 Network controller [0280]: Broadcom Limited Device [14e4:43c3] (rev 04)
        Subsystem: ASUSTeK Computer Inc. Device [1043:86fb]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 53
        Region 0: Memory at fb000000 (64-bit, non-prefetchable) [size=32K]
        Region 2: Memory at fa800000 (64-bit, non-prefetchable) [size=8M]
        Region 4: Memory at d2400000 (64-bit, prefetchable) [size=4M]
        Capabilities: <access denied>
        Kernel driver in use: brcmfmac
    Any tips here are appreciated

  3. #13
    Join Date
    Mar 2017
    Beans
    2

    Re: Broadcom BCM4366 PCI-e driver won't load

    Quote Originally Posted by n3roj2 View Post
    So I (original poster) figured this one out. It might help people in the future. I included steps for the latest firmware as of 03/10/17.

    1.) Go to the Asus support page and download the "other" firmware for RT-AC88U. (https://www.asus.com/us/Networking/R...Desk_Download/)
    - I'm using Version3.0.0.4.380.7266
    2.) Extract the firmware using binwalk: binwalk -e RT-AC88U_3.0.0.4_380_7266-g6439257.trx
    3.) Enter the _RT-AC88U_3.0.0.4_380_7266-g6439257.trx.extracted/squashfs-root/lib/modules/2.6.36.4brcmarm/kernel/drivers/net/dhd/ directory
    - You should see dhd.ko
    4.) Use read elf and search for 4366c0:
    readelf -s dhd.ko | grep 4366c0

    219: 000fe818 4 OBJECT GLOBAL DEFAULT 35 active_cons_4366c0
    228: 000fe7ec 18 OBJECT GLOBAL DEFAULT 35 dlimagever_4366c0
    248: 000fe73c 175 OBJECT GLOBAL DEFAULT 35 dlimagename_4366c0
    348: 000fe814 1 OBJECT GLOBAL DEFAULT 35 dlimagetag_4366c0
    479: 000fe800 20 OBJECT GLOBAL DEFAULT 35 dlimagedate_4366c0
    518: 000fe81c 0xe6450 OBJECT GLOBAL DEFAULT 35 dlarray_4366c0
    625: 000022e4 4 OBJECT GLOBAL DEFAULT 45 debug_params_4366c0

    5.) 0xe6450 is 943184 in decimal (this is the bin file size)
    6.) Open up another brcmfmacXXXX.bin in bless to compare the start and stop tags for another firmware (I'm using brcmfmac4366b-pcie.bin)
    7.) We see a start hex of "
    00 F2 3E B8" as a starting point and "FWID: 01-c47a91a4...." as ending (4 bytes past the denoted as periods
    8.) Search in dhd.ko using bless for "00 F2 3E B8"; Address at 0x137bbc which is 1276860 in decimal
    9.) Copy out the firmware using dd: dd if=dhd.ko skip=1276860 ibs=1 count=943184 of=brcmfmac4366c-pcie.bin
    10.) Open up the new brcmfmac4366c-pcie.bin file in Bless to check it out and ensure that we start with "00 F2 3E B8" and end with the FWID: "FWID: 01-fed440e1...."
    - sha1sum is "9f97ebaf661631d6aa303d5e74a528cf1d95a016 brcmfmac4366c-pcie.bin"
    11.) Put that in /lib/firmware/brcm and reaload the module.
    12.) Check dmesg on your system and grep for errors.

    This worked on my system and I now have perfect wi-fi using the
    ASUS PCE-AC88 4x4 Wireless AC3100 PCIe Adapter.

    Linux x0 4.8.0-39-generic #42-Ubuntu SMP Mon Feb 20 11:47:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=16.10
    DISTRIB_CODENAME=yakkety
    DISTRIB_DESCRIPTION="Ubuntu 16.10"

    Credit to
    https://serialize.wordpress.com/2017/02/12/extract-4366c0-firmware/ for more detailed steps.

    Cheers.



    Hello,
    I'm new user of Ubuntu and has same wifi card. Could you please explain with more details steps 6 to 12 please ? I'm lost, how to get brcmfmacXXXX.bin file ?

    Thank you for your help !

  4. #14
    Join Date
    Mar 2006
    Beans
    21

    Re: Broadcom BCM4366 PCI-e driver won't load

    Quote Originally Posted by nhine View Post
    Hello,
    I'm new user of Ubuntu and has same wifi card. Could you please explain with more details steps 6 to 12 please ? I'm lost, how to get brcmfmacXXXX.bin file ?

    Thank you for your help !
    You can probably try just doing steps 9 and 11. The other steps between 6 - 12 are verifying the created file is correct.

    If it doesn't work then you will then need to recreate the file using the instructions and use those steps 6, 7, 8, 10 to confirm you did it correctly.

    When I followed the instructions it worked perfectly.

    P.S. I don't get stable connections on 5Ghz but 2.4GHz works really well.
    Last edited by chrismacp; April 9th, 2017 at 12:56 PM.

  5. #15
    Join Date
    Mar 2017
    Beans
    2

    Re: Broadcom BCM4366 PCI-e driver won't load

    Hi,

    thanks, I solved the problem and describe and share it to french ubuntu community.

    https://forum.ubuntu-fr.org/viewtopic.php?pid=21705625

  6. #16
    Join Date
    Jun 2017
    Beans
    1

    Re: Broadcom BCM4366 PCI-e driver won't load

    I got similar issue as @mariuswiik

    Code:
    $ demesg
    [nie cze 25 12:55:34 2017] brcmfmac: brcmf_p2p_set_firmware: failed to update device address ret -23
    [nie cze 25 12:55:34 2017] brcmfmac: brcmf_p2p_create_p2pdev: set p2p_disc error
    [nie cze 25 12:55:34 2017] brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlp5s0 type 10 failed: err=-23
    Anyone have ideas how to resolve it?

    What I found is only this: https://www.mail-archive.com/linux-w.../msg10342.html but this not getting me to resolve that issue.


    Quote Originally Posted by mariuswiik View Post
    So I followed the guide and seem to have gotten the firmware installed. I can finally scan for networks and connect.
    However, the connection is not really there...

    Connection info shows 12 Mb\s (I have a 1Gbit connection), and I cannot open any pages.

    I fear I might have broken something when trying to install this card.
    dmesg shows alot of brcmf related errors:
    Code:
    ➜  ~ dmesg | grep brcmf
    [    2.613289] usbcore: registered new interface driver brcmfmac
    [    2.730533] brcmfmac 0000:04:00.0: Direct firmware load for brcm/brcmfmac4366c-pcie.txt failed with error -2
    [    3.470636] brcmf_c_preinit_dcmds: Firmware version = wl0: Sep 12 2016 13:26:44 version 10.10.69.6908 (r658761) FWID 01-fed440e1
    [    3.477287] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [    3.479859] brcmfmac 0000:04:00.0 wlp4s0: renamed from wlan0
    [    4.837398] brcmf_p2p_set_firmware: failed to update device address ret -23
    [    4.837607] brcmf_p2p_create_p2pdev: set p2p_disc error
    [    4.837609] brcmf_cfg80211_add_iface: add iface p2p-dev-wlp4s0 type 10 failed: err=-23
    [   95.450904] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [  104.019109] brcmf_inetaddr_changed: fail to get arp ip table err:-23
    [  109.349073] brcmf_inetaddr_changed: fail to get arp ip table err:-23
    [  109.349086] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [  111.223303] brcmf_inetaddr_changed: fail to get arp ip table err:-23
    [  329.507209] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [  439.721682] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [  620.070268] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [  715.254178] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    [  820.457706] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
    But the firmware file is there:
    Code:
    ls /lib/firmware/brcm 
    bcm4329-fullmac-4.bin   brcmfmac43236b.bin        brcmfmac4329-sdio.bin   brcmfmac43362-sdio.bin   brcmfmac4354-sdio.bin      brcmfmac43602-pcie.bin
    bcm43xx-0.fw            brcmfmac43241b0-sdio.bin  brcmfmac4330-sdio.bin   brcmfmac4339-sdio.bin    brcmfmac43569.bin          brcmfmac4366b-pcie.bin
    bcm43xx_hdr-0.fw        brcmfmac43241b4-sdio.bin  brcmfmac43340-sdio.bin  brcmfmac43455-sdio.bin   brcmfmac4356-pcie.bin      brcmfmac4366c-pcie.bin
    brcmfmac43143.bin       brcmfmac43241b5-sdio.bin  brcmfmac4334-sdio.bin   brcmfmac4350c2-pcie.bin  brcmfmac43570-pcie.bin     brcmfmac4371-pcie.bin
    brcmfmac43143-sdio.bin  brcmfmac43242a.bin        brcmfmac4335-sdio.bin   brcmfmac4350-pcie.bin    brcmfmac43602-pcie.ap.bin
    ~ lspci -vvnn | grep -A 10 Network gives:
    Code:
    04:00.0 Network controller [0280]: Broadcom Limited Device [14e4:43c3] (rev 04)
        Subsystem: ASUSTeK Computer Inc. Device [1043:86fb]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 53
        Region 0: Memory at fb000000 (64-bit, non-prefetchable) [size=32K]
        Region 2: Memory at fa800000 (64-bit, non-prefetchable) [size=8M]
        Region 4: Memory at d2400000 (64-bit, prefetchable) [size=4M]
        Capabilities: <access denied>
        Kernel driver in use: brcmfmac
    Any tips here are appreciated

  7. #17
    Join Date
    Jun 2011
    Beans
    4

    Re: Broadcom BCM4366 PCI-e driver won't load

    Quote Originally Posted by n3roj2 View Post
    8.) Search in dhd.ko using bless for "00 F2 3E B8"; Address at 0x137bbc which is 1276860 in decimal
    Could you please help me to understand how did you get the offset? Why this is a third match here?!

    Code:
    # xxd dhd.ko | grep -i "00F2 3EB8"
    003d980: 00f2 3eb8 05f2 c2b9 05f2 cdb9 05f2 d8b9  ..>.............
    003d9a0: 00f2 3eb8 05f2 c2b9 05f2 cdb9 05f2 d8b9  ..>.............
    0137bb0: 3a31 3200 0000 0000 68c8 2000 00f2 3eb8  :12.....h. ...>.
    0137bd0: 05f2 74b9 05f2 82b9 05f2 8eb9 00f2 3eb8  ..t...........>.
    I'm trying to extract the latest one (Version 3.0.0.4.382.15850), size seems to be 1087985 (0x1099f1) but I'm not sure how to get the offset:

    Code:
    # readelf -s dhd.ko | grep dlarray
       525: 00004448 0x1099f1 OBJECT  GLOBAL DEFAULT   35 dlarray_4366c0
    Code:
    # xxd dhd.ko | grep -i "00F2 3EB8"
    003e800: 0000 0000 9cca 2000 00f2 3eb8 04f2 26bf  ...... ...>...&.
    003e820: 04f2 66bf 04f2 72bf 00f2 3eb8 04f2 26bf  ..f...r...>...&.

  8. #18
    Join Date
    Apr 2015
    Beans
    1

    Re: Broadcom BCM4366 PCI-e driver won't load

    Quote Originally Posted by n3roj2 View Post
    So I (original poster) figured this one out. It might help people in the future. I included steps for the latest firmware as of 03/10/17.

    1.) Go to the Asus support page and download the "other" firmware for RT-AC88U. (https://www.asus.com/us/Networking/R...Desk_Download/)
    - I'm using Version3.0.0.4.380.7266
    2.) Extract the firmware using binwalk: binwalk -e RT-AC88U_3.0.0.4_380_7266-g6439257.trx
    3.) Enter the _RT-AC88U_3.0.0.4_380_7266-g6439257.trx.extracted/squashfs-root/lib/modules/2.6.36.4brcmarm/kernel/drivers/net/dhd/ directory
    - You should see dhd.ko
    4.) Use read elf and search for 4366c0:
    readelf -s dhd.ko | grep 4366c0

    219: 000fe818 4 OBJECT GLOBAL DEFAULT 35 active_cons_4366c0
    228: 000fe7ec 18 OBJECT GLOBAL DEFAULT 35 dlimagever_4366c0
    248: 000fe73c 175 OBJECT GLOBAL DEFAULT 35 dlimagename_4366c0
    348: 000fe814 1 OBJECT GLOBAL DEFAULT 35 dlimagetag_4366c0
    479: 000fe800 20 OBJECT GLOBAL DEFAULT 35 dlimagedate_4366c0
    518: 000fe81c 0xe6450 OBJECT GLOBAL DEFAULT 35 dlarray_4366c0
    625: 000022e4 4 OBJECT GLOBAL DEFAULT 45 debug_params_4366c0

    5.) 0xe6450 is 943184 in decimal (this is the bin file size)
    6.) Open up another brcmfmacXXXX.bin in bless to compare the start and stop tags for another firmware (I'm using brcmfmac4366b-pcie.bin)
    7.) We see a start hex of "
    00 F2 3E B8" as a starting point and "FWID: 01-c47a91a4...." as ending (4 bytes past the denoted as periods
    8.) Search in dhd.ko using bless for "00 F2 3E B8"; Address at 0x137bbc which is 1276860 in decimal
    9.) Copy out the firmware using dd: dd if=dhd.ko skip=1276860 ibs=1 count=943184 of=brcmfmac4366c-pcie.bin
    10.) Open up the new brcmfmac4366c-pcie.bin file in Bless to check it out and ensure that we start with "00 F2 3E B8" and end with the FWID: "FWID: 01-fed440e1...."
    - sha1sum is "9f97ebaf661631d6aa303d5e74a528cf1d95a016 brcmfmac4366c-pcie.bin"
    11.) Put that in /lib/firmware/brcm and reaload the module.
    12.) Check dmesg on your system and grep for errors.

    This worked on my system and I now have perfect wi-fi using the
    ASUS PCE-AC88 4x4 Wireless AC3100 PCIe Adapter.

    Linux x0 4.8.0-39-generic #42-Ubuntu SMP Mon Feb 20 11:47:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=16.10
    DISTRIB_CODENAME=yakkety
    DISTRIB_DESCRIPTION="Ubuntu 16.10"

    Credit to
    https://serialize.wordpress.com/2017/02/12/extract-4366c0-firmware/ for more detailed steps.

    Cheers.


    I have a solution that kind of works with the wl drivers, but has issues with meeting my internet speed. What speeds are you able to get in a speedtest?

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •