Emulex Card not showing

Started by gnunin, September 26, 2019, 11:20:39 AM

Previous topic - Next topic
Hi!

New here & total noob. I've installed a Emulex IBM LPE 12002 card in my OPNsense box. But I am unable to get it to work. I found this thread https://forum.opnsense.org/index.php?topic=5867.0 But to no avail. I have never used vi, only nano, so that's a hurdle too. I tried editing the /boot/loader.conf.local. But there was no such file, so I created it and added if_oce_load="YES"

Nothing. Since the thread is old, I thought that it might have changed to use the /boot/loader.conf instead. I tried adding if_oce_load="YES" Exiting vi with :wq & reboot. But my edited line keeps disappearing after I reboot.

pciconf -lveV output
none3@pci0:1:0:0:       class=0x0c0400 card=0x038a1014 chip=0xf10010df rev=0x03 hdr=0x00
    vendor     = 'Emulex Corporation'
    device     = 'Saturn-X: LightPulse Fibre Channel Host Adapter'
    class      = serial bus
    subclass   = Fibre Channel
  PCI-e errors = Correctable Error Detected
                 Unsupported Request Detected
     Corrected = Advisory Non-Fatal Error
    VPD ident  = '8 Gigabit PCI-E Dual Port Fibre Channel Adapter'
    VPD ro PN  = '10N9824'
    VPD ro SN  = '1A1070024F'
    VPD ro V0  = 'FC10638438'
    VPD ro VJ  = '001A'
    VPD ro EC  = 'D77040'
    VPD ro VG  = '038A1014'
    VPD ro VH  = '577D'
    VPD ro VI  = '001'
    VPD ro VK  = 'A1700278'
    VPD ro VL  = '10N9824'
    VPD ro VM  = '3'
    VPD ro FC  = '5735'
    VPD ro VN  = 'YL14A010724F'
    VPD ro V1  = 'IBM 10N9824 8G PCIe Dual Port Fibre Channel Adapter'
    VPD ro V2  = '10N9824'
    VPD ro V3  = 'T2:78,T3:79,7A,7B,7D,7E,7F,T7:73,TB:73,TFF:78'
    VPD ro V4  = '0'
none4@pci0:1:0:1:       class=0x0c0400 card=0x038a1014 chip=0xf10010df rev=0x03 hdr=0x00
    vendor     = 'Emulex Corporation'
    device     = 'Saturn-X: LightPulse Fibre Channel Host Adapter'
    class      = serial bus
    subclass   = Fibre Channel
  PCI-e errors = Correctable Error Detected
                 Unsupported Request Detected
     Corrected = Advisory Non-Fatal Error
    VPD ident  = '8 Gigabit PCI-E Dual Port Fibre Channel Adapter'
    VPD ro PN  = '10N9824'
    VPD ro SN  = '1A1070024F'
    VPD ro V0  = 'FC10638438'
    VPD ro VJ  = '001A'
    VPD ro EC  = 'D77040'
    VPD ro VG  = '038A1014'
    VPD ro VH  = '577D'
    VPD ro VI  = '001'
    VPD ro VK  = 'A1700278'
    VPD ro VL  = '10N9824'
    VPD ro VM  = '3'
    VPD ro FC  = '5735'
    VPD ro VN  = 'YL14A010724F'
    VPD ro V1  = 'IBM 10N9824 8G PCIe Dual Port Fibre Channel Adapter'
    VPD ro V2  = '10N9824'
    VPD ro V3  = 'T2:78,T3:79,7A,7B,7D,7E,7F,T7:73,TB:73,TFF:78'
    VPD ro V4  = '1'
re0@pci0:4:0:0: class=0x020000 card=0x86771043 chip=0x816810ec rev=0x15 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet


ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=2018<VLAN_MTU,VLAN_HWTAGGING,WOL_MAGIC>
        ether 18:31:bf:08:52:5c
        hwaddr 18:31:bf:08:52:5c
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::1a31:bfff:fe08:525c%re0 prefixlen 64 scopeid 0x1
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
enc0: flags=0<> metric 0 mtu 1536
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: enc
pflog0: flags=100<PROMISC> metric 0 mtu 33160
        groups: pflog
pfsync0: flags=0<> metric 0 mtu 1500
        groups: pfsync
        syncpeer: 0.0.0.0 maxupd: 128 defer: off


Again, this is my first encounter with OPNsense & FreeBSD, so I have no clue what to do. Anyone has an idea?

/gnunin

Sorry but what do your plan to do with a FC-Card in a Firewall?

I just want to be sure you did not think this would work with Ethernet networks.
What I can tell from the documentation of that card (https://lenovopress.com/tips0727-emulex-8gb-fc-hba) it is a FC-Only HBA.

If you planed to use it as a network card this will not work.
Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de

Thank you for the reply Banym. Got the computer from a friend and I just saw the card and thought I'd try to get it to work. I just assumed fiber card, fiber network. Again, very new to all of this.

Thanks again, I'll do some research and see if I find a compatible network card then  :)


No problem.

You can find some cheap fibre based network adapters on Ebay. Check if they are compatible with FreeBSD and they should work with OPNsense.

Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de