Hi list,
I encoutered a panic with FreeBSD 9 Stable creating vlan with wlan0 
(iwn0) parent. Panic occur when upping the vlan :
Unread portion of the kernel message buffer:
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:0x0
stack pointer           = 0x28:0xffffff800024b3f0
frame pointer           = 0x28:0xffffff800024b4b0
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         = 12 (swi4: clock)
trap number             = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff80625896 at kdb_backtrace+0x66
#1 0xffffffff805ed71e at panic+0x1ce
#2 0xffffffff80887690 at trap_fatal+0x290
#3 0xffffffff808879fc at trap_pfault+0x21c
#4 0xffffffff80887ff5 at trap+0x365
#5 0xffffffff80872713 at calltrap+0x8
#6 0xffffffff807b9968 at nd6_output+0x18
#7 0xffffffff807b41ed at ip6_output+0x11dd
#8 0xffffffff807b4c8c at mld_dispatch_packet+0xdc
#9 0xffffffff807b5121 at mld_dispatch_queue+0x21
#10 0xffffffff807b7ac0 at mld_fasttimo+0x640
#11 0xffffffff8064fdbb at pffasttimo+0x2b
#12 0xffffffff80603540 at softclock+0x3c0
#13 0xffffffff805bf3e4 at intr_event_execute_handlers+0x104
#14 0xffffffff805c0b64 at ithread_loop+0xa4
#15 0xffffffff805bc04f at fork_exit+0x11f
#16 0xffffffff80872c3e at fork_trampoline+0xe
This problem doesn't occur with atheros card on SOEKRIS (i386)
Regards
David
Le 18/06/2012 ? 12:52:19+0200, David ROFFIAEN a ?crit> Hi list, > > I encoutered a panic with FreeBSD 9 Stable creating vlan with wlan0 > (iwn0) parent. Panic occur when upping the vlan :I've same problem whitout vlan. Just sometime (rarely....) when the signal of the wifi is very weak the system crash with something very close. Regards. -- Albert SHIH DIO b?timent 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas@jabber.obspm.fr Heure local/Local time: lun 18 jui 2012 15:28:58 CEST
On Mon, Jun 18, 2012 at 12:52 PM, David ROFFIAEN <dr@roffiaen.com> wrote:> Hi list, > > I encoutered a panic with FreeBSD 9 Stable creating vlan with wlan0 (iwn0) > parent. Panic occur when upping the vlan : > > Unread portion of the kernel message buffer: > > > 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:0x0 > stack pointer ? ? ? ? ? = 0x28:0xffffff800024b3f0 > frame pointer ? ? ? ? ? = 0x28:0xffffff800024b4b0 > 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 ? ? ? ? = 12 (swi4: clock) > trap number ? ? ? ? ? ? = 12 > panic: page fault > cpuid = 0 > KDB: stack backtrace: > #0 0xffffffff80625896 at kdb_backtrace+0x66 > #1 0xffffffff805ed71e at panic+0x1ce > #2 0xffffffff80887690 at trap_fatal+0x290 > #3 0xffffffff808879fc at trap_pfault+0x21c > #4 0xffffffff80887ff5 at trap+0x365 > #5 0xffffffff80872713 at calltrap+0x8 > #6 0xffffffff807b9968 at nd6_output+0x18 > #7 0xffffffff807b41ed at ip6_output+0x11dd > #8 0xffffffff807b4c8c at mld_dispatch_packet+0xdc > #9 0xffffffff807b5121 at mld_dispatch_queue+0x21 > #10 0xffffffff807b7ac0 at mld_fasttimo+0x640 > #11 0xffffffff8064fdbb at pffasttimo+0x2b > #12 0xffffffff80603540 at softclock+0x3c0 > #13 0xffffffff805bf3e4 at intr_event_execute_handlers+0x104 > #14 0xffffffff805c0b64 at ithread_loop+0xa4 > #15 0xffffffff805bc04f at fork_exit+0x11f > #16 0xffffffff80872c3e at fork_trampoline+0xeI don't see this on HEAD, so some commit might have fixed it, not certain which one though. I'm running into another panic though.> This problem doesn't occur with atheros card on SOEKRIS (i386).Just the "up" works or can you even do traffic? I'm not so sure about the later, I'm not aware that wlan+vlan has ever be tested. If it works for ath though, I'll look into the iwn part. -- Bernhard