CURRENT [r308668] autofs kernel panic

From: Alex Deiter <alex.deiter_at_gmail.com>
Date: Tue, 15 Nov 2016 10:16:17 +0300
Hello,

FreeBSD 12.0-CURRENT-r308668 amd64 crashed on "pkg install” command:

# cat /usr/local/etc/pkg/repos/local.conf
local: {
url: "file:///net/nostromo/var/devel/pkg",
enabled: yes
}

Path /net/nostromo/var/devel/pkg accessible via autofs/automountd:

# ls /net/nostromo/var/devel/pkg
All Latest digests.txz meta.txz packagesite.txz

# mount -t nfs
nostromo:/var/devel/pkg on /net/nostromo/var/devel/pkg (nfs, nosuid,
automounted)

# kgdb /usr/lib/debug/boot/kernel/kernel.debug /var/crash/vmcore.0
...
Unread portion of the kernel message buffer:
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x100df
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff8063c88d
stack pointer         = 0x28:0xfffffe085f966520
frame pointer         = 0x28:0xfffffe085f966570
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = resume, IOPL = 0
current process = -134214453 (pkg)

kgdb: kvm_read: invalid address (0x6c6576656c6572)
kgdb: kvm_read: invalid address (0xf8000ce021d8ffff)
#0  0x0000000000000000 in ?? ()
(kgdb) list *0xffffffff8063c88d
0xffffffff8063c88d is in hardclock_cnt (/usr/src/sys/kern/kern_clock.c:568).
563 if (itimerdecr(&pstats->p_timer[ITIMER_VIRTUAL],
564     tick * cnt) == 0)
565 flags |= TDF_ALRMPEND | TDF_ASTPENDING;
566 PROC_ITIMUNLOCK(p);
567 }
568 if (timevalisset(&pstats->p_timer[ITIMER_PROF].it_value)) {
569 PROC_ITIMLOCK(p);
570 if (itimerdecr(&pstats->p_timer[ITIMER_PROF],
571     tick * cnt) == 0)
572 flags |= TDF_PROFPEND | TDF_ASTPENDING;
(kgdb)

This kernel panic can be easy reproduce. Please let me know how I can
assist further.

Please take a look core.txt.0 => http://pastebin.ca/3739082

Thank you!

Alex Deiter
alex.deiter_at_gmail.com



-- 
Alex Deiter
Received on Tue Nov 15 2016 - 06:16:20 UTC

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