Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2016 10:16:17 +0300
From:      Alex Deiter <alex.deiter@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   CURRENT [r308668] autofs kernel panic
Message-ID:  <CAAi9siZE0B2n=ptxh8iWzpumER1QcGBEYoNpA6FqaUZX_xdybA@mail.gmail.com>

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

FreeBSD 12.0-CURRENT-r308668 amd64 crashed on "pkg install=E2=80=9D 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 =3D 0; apic id =3D 00
fault virtual address =3D 0x100df
fault code =3D supervisor read data, page not present
instruction pointer =3D 0x20:0xffffffff8063c88d
stack pointer         =3D 0x28:0xfffffe085f966520
frame pointer         =3D 0x28:0xfffffe085f966570
code segment =3D base 0x0, limit 0xfffff, type 0x1b
=3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags =3D resume, IOPL =3D 0
current process =3D -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) =3D=3D 0)
565 flags |=3D 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) =3D=3D 0)
572 flags |=3D 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 =3D> http://pastebin.ca/3739082

Thank you!

Alex Deiter
alex.deiter@gmail.com



--=20
Alex Deiter



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