Updating to 2.4.5-RELEASE-p1 with USB-WiFi adapter 'rum' (Ralink) crashed



  • Was updating to 2.4.5-RELEASE-p1 with inserted USB-WiFi adapter 'rum' (Ralink) that work as sowftware access point.

    After updating have infinite reboot cycle...
    When was deattached USB-WiFi adapter, 2.4.5-RELEASE-p1 was booted ok.
    After success load pfSense, I attach back USB-WiFi adapter:

    rum0: <Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 2> on usbus1
    rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528
    

    Not crashed.
    But after when I disable/enable WiFi interface via GUI - crashed.
    For now work without WiFi.

    pfSense has detected a crash report or programming bug. Click here for more information.

    Cash report begins.  Anonymous machine information:
    
    amd64
    11.3-STABLE
    FreeBSD 11.3-STABLE #243 abf8cba50ce(RELENG_2_4_5): Tue Jun  2 17:53:37 EDT 2020     root@buildbot1-nyi.netgate.com:/build/ce-crossbuild-245/obj/amd64/YNx4Qq3j/build/ce-crossbuild-245/sources/FreeBSD-src/sys/pfSense
    
    Crash report details:
    
    No PHP errors found.
    
    Filename: /var/crash/info.0
    Dump header from device: /dev/label/swap0
      Architecture: amd64
      Architecture Version: 1
      Dump Length: 71680
      Blocksize: 512
      Dumptime: Thu Jun 25 18:52:24 2020
      Magic: FreeBSD Text Dump
      Version String: FreeBSD 11.3-STABLE #243 abf8cba50ce(RELENG_2_4_5): Tue Jun  2 17:53:37 EDT 2020
        root@buildbot1-nyi.netgate.com:/build/ce-crossbuild-245/obj/amd64/YNx4Qq3j/build/ce-crossbuild-245/source
      Panic String: page fault
      Dump Parity: 766095104
      Bounds: 0
      Dump Status: good
    

    info.txt textdump.tar


  • Rebel Alliance Developer Netgate

    Fatal trap 12: page fault while in kernel mode
    cpuid = 0; apic id = 00
    fault virtual address	= 0x10
    fault code		= supervisor write data, page not present
    instruction pointer	= 0x20:0xffffffff80e13a92
    stack pointer	        = 0x28:0xfffffe004f6feab0
    frame pointer	        = 0x28:0xfffffe004f6feab0
    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		= 0 (rum0 net80211 taskq)
    trap number		= 12
    panic: page fault
    cpuid = 0
    KDB: enter: panic
    
    db:0:kdb.enter.default>  show pcpu
    cpuid        = 0
    dynamic pcpu = 0x85f580
    curthread    = 0xfffff8002e2e0620: pid 0 "rum0 net80211 taskq"
    curpcb       = 0xfffffe004f6fecc0
    fpcurthread  = none
    idlethread   = 0xfffff800042e0000: tid 100003 "idle: cpu0"
    curpmap      = 0xffffffff834f1c40
    tssp         = 0xffffffff835a32d0
    commontssp   = 0xffffffff835a32d0
    rsp0         = 0xfffffe004f6fecc0
    gs32p        = 0xffffffff835a9f28
    ldt          = 0xffffffff835a9f68
    tss          = 0xffffffff835a9f58
    tlb gen      = 0
    db:0:kdb.enter.default>  bt
    Tracing pid 0 tid 100336 td 0xfffff8002e2e0620
    kdb_enter() at kdb_enter+0x3b/frame 0xfffffe004f6fe760
    vpanic() at vpanic+0x19b/frame 0xfffffe004f6fe7c0
    panic() at panic+0x43/frame 0xfffffe004f6fe820
    trap_pfault() at trap_pfault/frame 0xfffffe004f6fe870
    trap_pfault() at trap_pfault+0x49/frame 0xfffffe004f6fe8d0
    trap() at trap+0x29d/frame 0xfffffe004f6fe9e0
    calltrap() at calltrap+0x8/frame 0xfffffe004f6fe9e0
    --- trap 0xc, rip = 0xffffffff80e13a92, rsp = 0xfffffe004f6feab0, rbp = 0xfffffe004f6feab0 ---
    amrr_tx_update() at amrr_tx_update+0x12/frame 0xfffffe004f6feab0
    rum_ratectl_task() at rum_ratectl_task+0x17f/frame 0xfffffe004f6feb20
    taskqueue_run_locked() at taskqueue_run_locked+0x185/frame 0xfffffe004f6feb80
    taskqueue_thread_loop() at taskqueue_thread_loop+0xb8/frame 0xfffffe004f6febb0
    fork_exit() at fork_exit+0x83/frame 0xfffffe004f6febf0
    fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe004f6febf0
    --- trap 0, rip = 0, rsp = 0, rbp = 0 ---
    

    Unfortunately it is crashing is the wireless code but I'm not turning up any similar backtraces when searching. What settings do you have on the wireless interface? Perhaps you have an option enabled which was ignored before but now is getting applied but not supported in rum(4).



  • Today testing with rum USB WiFi adapter.
    Removed previously used WiFi interface, reboot, install new settings, in most default settings.
    Crashed only when I set Access Point mode for WiFi adapter.
    On Client modes work w/o crash.

    P.S. Early version of pfSense was ok on AP mode.


Log in to reply