Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2013 10:04:38 +0300
From:      "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
To:        <current@freebsd.org>, <wireless@freebsd.org>
Subject:   ral(4) panic. head, r257837
Message-ID:  <20131219100438.117a3576@laptop.minsk.domain>

next in thread | raw e-mail | index | archive | help
Hi,

I have following setup:

wlans_ral0="wlan0"
ifconfig_wlan0="WPA"

cloned_interfaces="lagg0 bridge0 tap0"
ifconfig_lagg0="laggproto failover laggport alc0 laggport wlan0 DHCP"
ifconfig_bridge0="addm tap0 addm lagg0"

When system boot I have reproducible panic after messages
Waiting 30s for the default route interface: .
ral0: need multicast update callback
ral0: need multicast update callback
........ :

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff817da911
stack pointer           = 0x28:0xfffffe011fe61da0
frame pointer           = 0x28:0xfffffe011fe62630
<118>.
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         = 1815 (dhclient)

Reading symbols from /boot/kernel/zfs.ko.symbols...done.
Loaded symbols for /boot/kernel/zfs.ko.symbols
Reading symbols from /boot/kernel/opensolaris.ko.symbols...done.
Loaded symbols for /boot/kernel/opensolaris.ko.symbols
Reading symbols from /boot/kernel/linux.ko.symbols...done.
Loaded symbols for /boot/kernel/linux.ko.symbols
Reading symbols from /boot/kernel/if_alc.ko.symbols...done.
Loaded symbols for /boot/kernel/if_alc.ko.symbols
Reading symbols from /boot/kernel/if_ral.ko.symbols...done.
Loaded symbols for /boot/kernel/if_ral.ko.symbols
Reading symbols from /boot/kernel/snd_hda.ko.symbols...done.
Loaded symbols for /boot/kernel/snd_hda.ko.symbols
Reading symbols from /boot/kernel/sound.ko.symbols...done.
Loaded symbols for /boot/kernel/sound.ko.symbols
Reading symbols from /boot/kernel/acpi_video.ko.symbols...done.
Loaded symbols for /boot/kernel/acpi_video.ko.symbols
Reading symbols from /boot/modules/nvidia.ko...done.
Loaded symbols for /boot/modules/nvidia.ko
Reading symbols from /boot/modules/cuse4bsd.ko...done.
Loaded symbols for /boot/modules/cuse4bsd.ko
Reading symbols from /boot/kernel/sem.ko.symbols...done.
Loaded symbols for /boot/kernel/sem.ko.symbols
Reading symbols from /boot/kernel/linprocfs.ko.symbols...done.
Loaded symbols for /boot/kernel/linprocfs.ko.symbols
Reading symbols from /boot/kernel/if_lagg.ko.symbols...done.
Loaded symbols for /boot/kernel/if_lagg.ko.symbols
Reading symbols from /boot/kernel/if_bridge.ko.symbols...done.
Loaded symbols for /boot/kernel/if_bridge.ko.symbols
Reading symbols from /boot/kernel/bridgestp.ko.symbols...done.
Loaded symbols for /boot/kernel/bridgestp.ko.symbols
Reading symbols from /boot/kernel/if_tap.ko.symbols...done.
Loaded symbols for /boot/kernel/if_tap.ko.symbols

#0  doadump (textdump=0) at pcpu.h:219
219     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) #0  doadump (textdump=0) at pcpu.h:219
#1  0xffffffff803023ae in db_dump (dummy=<value optimized out>,
dummy2=0, dummy3=0, dummy4=0x0) at /usr/src/sys/ddb/db_command.c:543
#2  0xffffffff80301e8d in db_command (cmd_table=<value optimized out>)
    at /usr/src/sys/ddb/db_command.c:449
#3  0xffffffff80301c04 in db_command_loop ()
    at /usr/src/sys/ddb/db_command.c:502
#4  0xffffffff80304570 in db_trap (type=<value optimized out>, code=0)
    at /usr/src/sys/ddb/db_main.c:231
#5  0xffffffff8072e9d3 in kdb_trap (type=12, code=0, tf=<value
optimized out>) at /usr/src/sys/kern/subr_kdb.c:656
#6  0xffffffff80a81bb2 in trap_fatal (frame=0xfffffe011fe61cf0, 
    eva=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:870
#7  0xffffffff80a81ec9 in trap_pfault (frame=0xfffffe011fe61cf0,
usermode=0) at /usr/src/sys/amd64/amd64/trap.c:692
#8  0xffffffff80a8165b in trap (frame=0xfffffe011fe61cf0)
    at /usr/src/sys/amd64/amd64/trap.c:456
#9  0xffffffff80a68222 in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:232
#10 0xffffffff817da911 in rt2860_tx (sc=0xfffffe00009bd000, 
    m=0xfffff80004c6dd00, ni=0x0)
    at /usr/src/sys/modules/ral/../../dev/ral/rt2860.c:1472
#11 0xffffffff817da89e in rt2860_start_locked (ifp=0xfffff80003bed800)
    at /usr/src/sys/modules/ral/../../dev/ral/rt2860.c:1998
#12 0xffffffff817d57b0 in rt2860_start (ifp=0xfffff80003bed800)
    at /usr/src/sys/modules/ral/../../dev/ral/rt2860.c:1972
#13 0xffffffff807b5f35 in if_transmit (ifp=<value optimized out>, 
    m=<value optimized out>) at /usr/src/sys/net/if.c:3352
#14 0xffffffff807fbd96 in ieee80211_vap_pkt_send_dest (
    vap=<value optimized out>, m=<value optimized out>,
ni=0xfffffe0003bae000) at /usr/src/sys/net80211/ieee80211_output.c:243
#15 0xffffffff807fce09 in ieee80211_vap_transmit (ifp=<value optimized
out>, m=<value optimized out>)
out>at /usr/src/sys/net80211/ieee80211_output.c:393
#16 0xffffffff8261d91f in lagg_transmit (ifp=0xfffff80003bec000, 
    m=0xfffff80004c6dd00)
    at /usr/src/sys/modules/if_lagg/../../net/if_lagg.c:1314
#17 0xffffffff8262b11d in bridge_enqueue (sc=0xfffff80006597c00, 
    dst_ifp=0xfffff80003bec000, m=<value optimized out>)
    at /usr/src/sys/modules/if_bridge/../../net/if_bridge.c:1864
#18 0xffffffff8262a2e0 in bridge_output (ifp=0xfffff80003bec000, 
    m=<value optimized out>, sa=<value optimized out>, rt=0x1)
    at /usr/src/sys/modules/if_bridge/../../net/if_bridge.c:2009
#19 0xffffffff807b8014 in ether_output (ifp=<value optimized out>, 
    m=0xfffff80004001200, dst=0xfffffe011fe62928, ro=<value optimized
out>) at /usr/src/sys/net/if_ethersubr.c:387
#20 0xffffffff807abe92 in bpfwrite (dev=<value optimized out>, 
    uio=0xfffff800064d9c00, ioflag=<value optimized out>)
    at /usr/src/sys/net/bpf.c:1082
#21 0xffffffff805ecacf in devfs_write_f (fp=0xfffff800065f79b0, 
    uio=0xfffff800064d9c00, cred=<value optimized out>, flags=0, 
    td=0xfffff800062ea920) at /usr/src/sys/fs/devfs/devfs_vnops.c:1672
#22 0xffffffff8074594a in dofilewrite (td=0xfffff800062ea920, fd=6, 
    fp=0xfffff800065f79b0, auio=0xfffff800064d9c00, 
    offset=<value optimized out>, flags=0) at file.h:303
#23 0xffffffff80745675 in kern_writev (td=0xfffff800062ea920, fd=6, 
    auio=0xfffff800064d9c00) at /usr/src/sys/kern/sys_generic.c:467
#24 0xffffffff80745896 in sys_writev (td=0xfffff800062ea920, 
    uap=0xfffffe011fe62b40) at /usr/src/sys/kern/sys_generic.c:452
#25 0xffffffff80a824e7 in amd64_syscall (td=0xfffff800062ea920,
traced=0) at subr_syscall.c:134
#26 0xffffffff80a6850b in Xfast_syscall ()
    at /usr/src/sys/amd64/amd64/exception.S:391
#27 0x0000000800b5cf3a in ?? ()
Previous frame inner to this frame (corrupt stack?)
Current language:  auto; currently minimal
(kgdb) 

at office, laggport alc0 is MASTER on lagg and all works fine.

I have vmcore file and I can enter the necessary commands if this will
help


-- 
wbr, tiger



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131219100438.117a3576>