Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    QLogic QL41134 PCIe 10Gb 4-Port Base-T Ethernet Adapter Driver issue

    Scheduled Pinned Locked Moved Hardware
    7 Posts 2 Posters 651 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RSC
      last edited by

      textdump.tar

      Morning,

      I have an issue with installing drivers for an QLogic QL41134 PCIe 10Gb 4-Port Base-T Ethernet Adapter

      pci11: <dasp, performance counters> at device 14.1 (no driver attached)
      pci11: <dasp, performance counters> at device 19.1 (no driver attached)
      pci11: <dasp, performance counters> at device 19.4 (no driver attached)
      pci11: <dasp, performance counters> at device 19.5 (no driver attached)

      I tried kldload if_qlnxe to load FreeBSD driver for qlogic but the system errors in system fault. I will attach the log file. Any idea how i can intall the drivers for this network card? I see that google says "pfSense, a widely-used FreeBSD-based firewall and router distribution, generally supports QLogic network cards, particularly those with 10GbE capabilities. "

      Any ideas what i can do ?

      FreeBSD 15.0-CURRENT #0 plus-RELENG_24_11-n256407-1bbb3194162: Fri Nov 22 05:08:46 UTC 2024

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Backtrace:

        db:1:pfs> bt
        Tracing pid 30116 tid 100510 td 0xfffff804915e8000
        kdb_enter() at kdb_enter+0x33/frame 0xfffffe003e23c480
        panic() at panic+0x43/frame 0xfffffe003e23c4e0
        trap_fatal() at trap_fatal+0x40b/frame 0xfffffe003e23c540
        trap_pfault() at trap_pfault+0x46/frame 0xfffffe003e23c590
        calltrap() at calltrap+0x8/frame 0xfffffe003e23c590
        --- trap 0xc, rip = 0, rsp = 0xfffffe003e23c668, rbp = 0xfffffe003e23c690 ---
        ??() at 0/frame 0xfffffe003e23c690
        dump_iface() at dump_iface+0x12c/frame 0xfffffe003e23c730
        rtnl_handle_ifevent() at rtnl_handle_ifevent+0x99/frame 0xfffffe003e23c7a0
        if_attach_internal() at if_attach_internal+0x3cf/frame 0xfffffe003e23c7f0
        ether_ifattach() at ether_ifattach+0x2c/frame 0xfffffe003e23c830
        qlnx_init_ifnet() at qlnx_init_ifnet+0x2bd/frame 0xfffffe003e23c880
        qlnx_pci_attach() at qlnx_pci_attach+0x7c6/frame 0xfffffe003e23c930
        device_attach() at device_attach+0x3ac/frame 0xfffffe003e23c980
        device_probe_and_attach() at device_probe_and_attach+0x41/frame 0xfffffe003e23c9b0
        pci_driver_added() at pci_driver_added+0xf2/frame 0xfffffe003e23c9f0
        devclass_driver_added() at devclass_driver_added+0x29/frame 0xfffffe003e23ca20
        devclass_add_driver() at devclass_add_driver+0x11e/frame 0xfffffe003e23ca60
        module_register_init() at module_register_init+0x85/frame 0xfffffe003e23ca90
        linker_load_module() at linker_load_module+0xc29/frame 0xfffffe003e23cd80
        kern_kldload() at kern_kldload+0x164/frame 0xfffffe003e23cdd0
        sys_kldload() at sys_kldload+0x5c/frame 0xfffffe003e23ce00
        amd64_syscall() at amd64_syscall+0x115/frame 0xfffffe003e23cf30
        fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe003e23cf30
        --- syscall (304, FreeBSD ELF64, kldload), rip = 0x1637ed5c47da, rsp = 0x1637ec019af8, rbp = 0x1637ec01a070 ---
        

        Panic:

        ql0: <Qlogic 10GbE/25GbE/40GbE PCI CNA (AH) Adapter-Ethernet Function v2.0.112> mem 0xdd860000-0xdd87ffff,0xdd000000-0xdd7fffff,0xdd8b0000-0xdd8bffff irq 40 at device 0.0 numa-domain 0 on pci2
        ql0: qlnx_set_personality: ETH_IWARP
        ql0: setting parameters required by iWARP dev
        
        
        Fatal trap 12: page fault while in kernel mode
        cpuid = 4; apic id = 20
        fault virtual address	= 0x0
        fault code		= supervisor read instruction, page not present
        instruction pointer	= 0x20:0x0
        stack pointer	        = 0x28:0xfffffe003e23c668
        frame pointer	        = 0x28:0xfffffe003e23c690
        code segment		= base 0x0, limit 0xfffff, type 0x1b
        			= DPL 0, pres 1, long 1, def32 0, gran 1
        processor eflags	= interrupt enabled, resume, IOPL = 0
        current process		= 30116 (kldload)
        rdi: fffff806cd80e000 rsi: fffffe003e23c6d0 rdx: fffffe0156c50f98
        rcx: 00000000c0306938  r8: 0000000000000000  r9: fffff805842cf000
        rax: 0000000000000000 rbx: fffffe003e23c6d0 rbp: fffffe003e23c690
        r10: 0000000000000000 r11: 0000000000000020 r12: 0000000000000000
        r13: 0000000000008802 r14: fffffe0156c50f98 r15: fffff805842cf02c
        trap number		= 12
        panic: page fault
        cpuid = 4
        time = 1749194806
        KDB: enter: panic
        

        That was after loading the module with kldload at the CLI?

        R 1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Looks identical to this: https://redmine.pfsense.org/issues/16101

          1 Reply Last reply Reply Quote 0
          • R
            RSC @stephenw10
            last edited by

            @stephenw10 Yes, right after the shh session hangs and i can take the report after it reloads

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Are you able to test 25.03-beta or 2.8?

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Ok, I grabbed on of those NICs and replicated the issue.

                One of our wizards created a patch for it. Fix incoming: https://reviews.freebsd.org/D50819

                R 1 Reply Last reply Reply Quote 0
                • R
                  RSC @stephenw10
                  last edited by

                  @stephenw10 Thank you Stephen!

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.