Re: arp panic

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Sat, 4 Feb 2017 09:23:46 +0100
On 02/04/17 07:43, Chagin Dmitry wrote:
>
> chd.heemeyer.club dumped core - see /var/crash/vmcore.8
>
> Sat Feb  4 09:01:35 MSK 2017
>
> FreeBSD chd.heemeyer.club 12.0-CURRENT FreeBSD 12.0-CURRENT #237 r313172+c19dc6ff09(lemul): Fri Feb  3 22:38:44 MSK 2017     root_at_chd.heemeyer.club:/home/rootobj/home/git/head/sys/YOY  amd64
>
> panic:
>
> GNU gdb (GDB) 7.12 [GDB v7.12 for FreeBSD]
> Copyright (C) 2016 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-portbld-freebsd12.0".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from /boot/kernel/kernel...Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug...done.
> done.
>
> Unread portion of the kernel message buffer:
>
>
> Fatal trap 9: general protection fault while in kernel mode
> cpuid = 3; apic id = 03
> instruction pointer	= 0x20:0xffffffff807833ed
> stack pointer	        = 0x28:0xfffffe032db70430
> frame pointer	        = 0x28:0xfffffe032db704f0
> 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		= 11 (swi4: clock (0))
>
> Reading symbols from /boot/kernel/drm2.ko...Reading symbols from /usr/lib/debug//boot/kernel/drm2.ko.debug...done.
> done.
> Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /usr/lib/debug//boot/kernel/linprocfs.ko.debug...done.
> done.
> Reading symbols from /boot/kernel/pseudofs.ko...Reading symbols from /usr/lib/debug//boot/kernel/pseudofs.ko.debug...done.
> done.
> Reading symbols from /boot/kernel/linux_common.ko...Reading symbols from /usr/lib/debug//boot/kernel/linux_common.ko.debug...done.
> done.
> Reading symbols from /boot/kernel/procfs.ko...Reading symbols from /usr/lib/debug//boot/kernel/procfs.ko.debug...done.
> done.
> Reading symbols from /boot/kernel/i915kms.ko...Reading symbols from /usr/lib/debug//boot/kernel/i915kms.ko.debug...done.
> done.
> doadump (textdump=766966752) at /home/git/head/sys/kern/kern_shutdown.c:318
> 318		dumptid = curthread->td_tid;
> (kgdb) #0  doadump (textdump=766966752)
>     at /home/git/head/sys/kern/kern_shutdown.c:318
> #1  0xffffffff803fbcc5 in db_fncall_generic (addr=-2139566720,
>     rv=0xfffffe032db6fb90, nargs=0, args=0xfffffe032db6fba0)
>     at /home/git/head/sys/ddb/db_command.c:581
> #2  0xffffffff803fb284 in db_fncall (dummy1=-2185371386672, dummy2=false,
>     dummy3=0, dummy4=0xfffffe032db6fcd0 "\360\374\266-\003\376\377\377")
>     at /home/git/head/sys/ddb/db_command.c:629
> #3  0xffffffff803fabee in db_command (
>     last_cmdp=0xffffffff81703940 <db_last_command>, cmd_table=0x0, dopager=1)
>     at /home/git/head/sys/ddb/db_command.c:453
> #4  0xffffffff803fa789 in db_command_loop ()
>     at /home/git/head/sys/ddb/db_command.c:506
> #5  0xffffffff803ff5da in db_trap (type=9, code=0)
>     at /home/git/head/sys/ddb/db_main.c:248
> #6  0xffffffff807f6b3f in kdb_trap (type=9, code=0, tf=0xfffffe032db70370)
>     at /home/git/head/sys/kern/subr_kdb.c:654
> #7  0xffffffff80ceb21c in trap_fatal (frame=0xfffffe032db70370, eva=0)
>     at /home/git/head/sys/amd64/amd64/trap.c:819
> #8  0xffffffff80cea651 in trap (frame=0xfffffe032db70370)
>     at /home/git/head/sys/amd64/amd64/trap.c:553
> #9  0xffffffff80cebd2a in trap_check (frame=0xfffffe032db70370)
>     at /home/git/head/sys/amd64/amd64/trap.c:625
> #10 <signal handler called>
> #11 0xffffffff807833ed in _rw_wlock_cookie (c=0xdeadc0dedeadc2de,
>     file=0xffffffff80ea3d10 "/home/git/head/sys/netinet/if_ether.c", line=287)
>     at /home/git/head/sys/kern/kern_rwlock.c:295
> #12 0xffffffff80a2c723 in arptimer (arg=0xfffff80007d67a00)
>     at /home/git/head/sys/netinet/if_ether.c:287
> #13 0xffffffff807b60bc in softclock_call_cc (c=0xfffff80007d67ab8,
>     cc=0xffffffff81a31a00 <cc_cpu>, direct=0)
>     at /home/git/head/sys/kern/kern_timeout.c:729
> #14 0xffffffff807b68ec in softclock (arg=0xffffffff81a31a00 <cc_cpu>)
>     at /home/git/head/sys/kern/kern_timeout.c:867
> #15 0xffffffff807350c8 in intr_event_execute_handlers (p=0xfffff80003df9000,
>     ie=0xfffff80003deea00) at /home/git/head/sys/kern/kern_intr.c:1262
> #16 0xffffffff80735e57 in ithread_execute_handlers (p=0xfffff80003df9000,
>     ie=0xfffff80003deea00) at /home/git/head/sys/kern/kern_intr.c:1275
> #17 0xffffffff80735c86 in ithread_loop (arg=0xfffff80003e30060)
>     at /home/git/head/sys/kern/kern_intr.c:1356
> #18 0xffffffff807306ee in fork_exit (
>     callout=0xffffffff80735b10 <ithread_loop>, arg=0xfffff80003e30060,
>     frame=0xfffffe032db70ac0) at /home/git/head/sys/kern/kern_fork.c:1038
> #19 <signal handler called>
> (kgdb)
>
> (kgdb) up 12
> #12 0xffffffff80a2c723 in arptimer (arg=0xfffff80007d67a00) at /home/git/head/sys/netinet/if_ether.c:287
> 287		IF_AFDATA_LOCK(ifp);
>
> (kgdb) p *(struct llentry *) arg
> $1 = {lle_next = {le_next = 0x0, le_prev = 0xfffff8000d5cf540}, r_l3addr = {addr4 = {s_addr = 0x101a8c0}, addr6 = {
>       __u6_addr = {__u6_addr8 = "\300\250\001\001", '\000' <repeats 11 times>, __u6_addr16 = {0xa8c0, 0x101, 0x0, 0x0,
>           0x0, 0x0, 0x0, 0x0}, __u6_addr32 = {0x101a8c0, 0x0, 0x0, 0x0}}}},
>   r_linkdata = "\220\357h\374&L|z\221\230\200F\b\000\000\000\000\000\000\000\000\000\000", r_hdrlen = 0xe,
>   spare0 = "\000\000", r_flags = 0x1, r_skip_req = 0x1, lle_tbl = 0xfffff8000d5cf600, lle_head = 0xfffff8000d5cf540,
>   lle_free = 0xffffffff80a3e160 <in_lltable_destroy_lle>, la_hold = 0x0, la_numheld = 0x0, la_expire = 0x4ea,
>   la_flags = 0x1, la_asked = 0x0, la_preempt = 0x5, ln_state = 0x2, ln_router = 0x0, ln_ntick = 0x0,
>   lle_remtime = 0x0, lle_hittime = 0x0, lle_refcnt = 0x1,
>   ll_addr = 0xfffff80007d67a20 "\220\357h\374&L|z\221\230\200F\b", lle_chain = {le_next = 0x0, le_prev = 0x0},
>   lle_timer = {c_links = {le = {le_next = 0xfffff80007d8b448, le_prev = 0xffffffff81a31b18 <cc_cpu+280>}, sle = {
>         sle_next = 0xfffff80007d8b448}, tqe = {tqe_next = 0xfffff80007d8b448,
>         tqe_prev = 0xffffffff81a31b18 <cc_cpu+280>}}, c_time = 0x4ead51d7ecc, c_precision = 0xfffffed,
>     c_arg = 0xfffff80007d67a00, c_func = 0xffffffff80a2bff0 <arptimer>, c_lock = 0x0, c_flags = 0x0, c_iflags = 0x90,
>     c_cpu = 0x0}, lle_lock = {lock_object = {lo_name = 0xffffffff80e8699c "lle", lo_flags = 0x5630000, lo_data = 0x0,
>       lo_witness = 0xfffffe0000afd700}, rw_lock = 0x1}, req_mtx = {lock_object = {
>       lo_name = 0xffffffff80ea5888 "lle req", lo_flags = 0x1030000, lo_data = 0x0, lo_witness = 0xfffffe0000afd780},
>     mtx_lock = 0x4}}
>
> (kgdb) p *(*(struct llentry *) arg)->lle_tbl
> $2 = {llt_link = {sle_next = 0xdeadc0dedeadc0de}, llt_af = 0xdeadc0de, llt_hsize = 0xdeadc0de,
>   lle_head = 0xdeadc0dedeadc0de, llt_ifp = 0xdeadc0dedeadc0de, llt_lookup = 0xdeadc0dedeadc0de,
>   llt_alloc_entry = 0xdeadc0dedeadc0de, llt_delete_entry = 0xdeadc0dedeadc0de, llt_prefix_free = 0xdeadc0dedeadc0de,
>   llt_dump_entry = 0xdeadc0dedeadc0de, llt_hash = 0xdeadc0dedeadc0de, llt_match_prefix = 0xdeadc0dedeadc0de,
>   llt_free_entry = 0xdeadc0dedeadc0de, llt_foreach_entry = 0xdeadc0dedeadc0de, llt_link_entry = 0xdeadc0dedeadc0de,
>   llt_unlink_entry = 0xdeadc0dedeadc0de, llt_fill_sa_entry = 0xdeadc0dedeadc0de, llt_free_tbl = 0xdeadc0dedeadc0de}


There are some known issues described here:

https://reviews.freebsd.org/D4605

--HPS
Received on Sat Feb 04 2017 - 07:24:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:10 UTC