Menu

[solved] "SIOCSIFFLAGS: no such file or directory" due to missing firmware files

larsen255
2021-10-18
2021-11-06
  • larsen255

    larsen255 - 2021-10-18

    Hello,

    I recently had to migrate a physical server to a virtual machine and had used Clonezilla in a similar way before. Works great by the way!
    This time however, I had no internet access as the network card couldn't get an IP assigned and therefore couldn't transfer any data to the remote Clonezilla:

    ~# ifconfig eth0 123.123.123.123
    SIOCSIFFLAGS: no such file or directory

    Turned out that some firmware files were missing for this network card (relevant output of "dmesg"):
    [ 2.567692] bnx2: Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.2.4 (Aug 05, 2013)
    [ 2.570356] bnx2 0000:02:00.0 eth0: Broadcom NetXtreme II BCM5716 1000Base-T (C0) PCI Express found at mem c0000000, IRQ 16, node addr d4:ae:52:ce:1f:1d
    [ 2.573096] bnx2 0000:02:00.1 eth1: Broadcom NetXtreme II BCM5716 1000Base-T (C0) PCI Express found at mem c2000000, IRQ 17, node addr d4:ae:52:ce:1f:1e

    My solution was to copy these files from another system (Ubuntu Xenial). Afterwards, I could assign an IP address.

    :/lib/firmware/bnx2# ll
    total 1.4M
    -rw-r--r-- 1 root root 91K 2020-04-14 09:21 bnx2-mips-06-4.6.16.fw
    -rw-r--r-- 1 root root 91K 2020-04-14 09:21 bnx2-mips-06-5.0.0.j3.fw
    -rw-r--r-- 1 root root 93K 2020-04-14 09:21 bnx2-mips-06-5.0.0.j6.fw
    -rw-r--r-- 1 root root 91K 2020-04-14 09:21 bnx2-mips-06-6.0.15.fw
    -rw-r--r-- 1 root root 91K 2020-04-14 09:21 bnx2-mips-06-6.2.1.fw
    -rw-r--r-- 1 root root 91K 2020-04-14 09:21 bnx2-mips-06-6.2.3.fw
    -rw-r--r-- 1 root root 91K 2020-04-14 09:21 bnx2-mips-09-4.6.17.fw
    -rw-r--r-- 1 root root 95K 2020-04-14 09:21 bnx2-mips-09-5.0.0.j15.fw
    -rw-r--r-- 1 root root 95K 2020-04-14 09:21 bnx2-mips-09-5.0.0.j3.fw
    -rw-r--r-- 1 root root 95K 2020-04-14 09:21 bnx2-mips-09-5.0.0.j9.fw
    -rw-r--r-- 1 root root 102K 2020-04-14 09:21 bnx2-mips-09-6.0.17.fw
    -rw-r--r-- 1 root root 102K 2020-04-14 09:21 bnx2-mips-09-6.2.1a.fw
    -rw-r--r-- 1 root root 102K 2020-04-14 09:21 bnx2-mips-09-6.2.1b.fw
    -rw-r--r-- 1 root root 102K 2020-04-14 09:21 bnx2-mips-09-6.2.1.fw
    -rw-r--r-- 1 root root 6.8K 2020-04-14 09:21 bnx2-rv2p-06-4.6.16.fw
    -rw-r--r-- 1 root root 6.5K 2020-04-14 09:21 bnx2-rv2p-06-5.0.0.j3.fw
    -rw-r--r-- 1 root root 5.6K 2020-04-14 09:21 bnx2-rv2p-06-6.0.15.fw
    -rw-r--r-- 1 root root 7.5K 2020-04-14 09:21 bnx2-rv2p-09-4.6.15.fw
    -rw-r--r-- 1 root root 7.1K 2020-04-14 09:21 bnx2-rv2p-09-5.0.0.j10.fw
    -rw-r--r-- 1 root root 7.1K 2020-04-14 09:21 bnx2-rv2p-09-5.0.0.j3.fw
    -rw-r--r-- 1 root root 6.0K 2020-04-14 09:21 bnx2-rv2p-09-6.0.17.fw
    -rw-r--r-- 1 root root 7.7K 2020-04-14 09:21 bnx2-rv2p-09ax-5.0.0.j10.fw
    -rw-r--r-- 1 root root 7.7K 2020-04-14 09:21 bnx2-rv2p-09ax-5.0.0.j3.fw
    -rw-r--r-- 1 root root 6.5K 2020-04-14 09:21 bnx2-rv2p-09ax-6.0.17.fw

    Maybe these files could be integrated so other users won't have the same problem.

    Best wishes,
    Lars

     
  • Steven Shiau

    Steven Shiau - 2021-10-20

    Great. Thanks for sharing that.

    Steven

     
  • larsen255

    larsen255 - 2021-10-20

    So, these files will be integrated into an upcoming Clonezilla release?

    I'm asking because I have some more server migrations coming up the next weeks, so this would come in handy (in case a new release would be possible in such a short time).

     
  • Steven Shiau

    Steven Shiau - 2021-10-20

    Have you tried alternated Clonezilla live, e.g., 20210817-hirsute or 20211019-impish:
    https://clonezilla.org/downloads.php
    They come with non-free firmware.

    Steven

     
  • larsen255

    larsen255 - 2021-10-21

    I didn't know what these were for and the datacenter used the "normal" one.
    Will test it with the next server. Thanks!

     
  • larsen255

    larsen255 - 2021-11-02

    Worked great with "alternative stable" yesterday. Very good advice, thanks!

     
    👍
    1
  • Steven Shiau

    Steven Shiau - 2021-11-06

    Great. Enjoy Clonezilla!

    Steven

     

Log in to post a comment.