panic with option VIMAGE + PPPoE
Nikos Vassiliadis
nvass9573 at gmx.com
Thu May 28 11:27:47 UTC 2009
Hi,
I am seeing the following panic trying to use PPPoE.
> (kgdb) bt
> #0 doadump () at pcpu.h:246
> #1 0xc085a77e in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:420
> #2 0xc085aa52 in panic (fmt=Variable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:576
> #3 0xc04ba317 in db_panic (addr=Could not find the frame base for "db_panic".
> ) at /usr/src/sys/ddb/db_command.c:478
> #4 0xc04ba941 in db_command (last_cmdp=0xc0cf9cdc, cmd_table=0x0, dopager=1) at /usr/src/sys/ddb/db_command.c:445
> #5 0xc04baa9a in db_command_loop () at /usr/src/sys/ddb/db_command.c:498
> #6 0xc04bc8fd in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:229
> #7 0xc0889256 in kdb_trap (type=3, code=0, tf=0xc781ab18) at /usr/src/sys/kern/subr_kdb.c:534
> #8 0xc0b182bb in trap (frame=0xc781ab18) at /usr/src/sys/i386/i386/trap.c:685
> #9 0xc0afabeb in calltrap () at /usr/src/sys/i386/i386/exception.s:165
> #10 0xc08893da in kdb_enter (why=0xc0be3714 "panic", msg=0xc0be3714 "panic") at cpufunc.h:71
> #11 0xc085aa36 in panic (fmt=0xc2718513 "in %s:%d %s()\n vnet=%p curvnet=%p") at /usr/src/sys/kern/kern_shutdown.c:559
> #12 0xc27114c8 in ng_ID2noderef (ID=4) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:816
> #13 0xc2712202 in ng_address_ID (here=0xc2666380, item=0xc27ade00, ID=4, retaddr=0) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:3547
> #14 0xc27a07b0 in ng_ether_rcvmsg (node=0xc2666380, item=0xc27ade00, lasthook=0x0) at /usr/src/sys/modules/netgraph/ether/../../../netgraph/ng_ether.c:596
> #15 0xc271327d in ng_apply_item (node=0xc2666380, item=0xc27ade00, rw=1) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2417
> #16 0xc27146f6 in ngthread (arg=0x0) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:3340
> #17 0xc08342c8 in fork_exit (callout=0xc2714570 <ngthread>, arg=0x0, frame=0xc781ad38) at /usr/src/sys/kern/kern_fork.c:830
> #18 0xc0afac60 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:270
> (kgdb) list ng_base.c:816
> 811 Node ID handling
> 812 ************************************************************************/
> 813 static node_p
> 814 ng_ID2noderef(ng_ID_t ID)
> 815 {
> 816 INIT_VNET_NETGRAPH(curvnet);
> 817 node_p node;
> 818 mtx_lock(&ng_idhash_mtx);
> 819 NG_IDHASH_FIND(ID, node);
> 820 if(node)
> (kgdb)
I use the following ppp.conf:
> lab# cat /etc/ppp/ppp.conf
> pppoe:
> set device PPPoE:le1
> set authname "xxxx at xxxx"
> set authkey "xxxxxxx"
> enable lqr echo
> set cd 5
> set dial
> set login
> set redial 0 0
> enable dns
> add default HISADDR
>
> lab#
To reproduce the panic, you have to use the above ppp.conf,
start ppp(8), and then in the ppp "console" type "open". It
panics very early, that is, you don't need a PPPoE "server"
to reproduce it.
My kernel is GENERIC + VIMAGE - SCTP from a few days old -CURRENT.
Just reporting, Nikos
More information about the freebsd-virtualization
mailing list