Hello Edward, Thank you for the quick reply! I was able to reproduce this panic on default GENERIC kernel (my test system and laptop): # kgdb /boot/kernel/kernel /var/crash/vmcore.2 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 3; apic id = 06 fault virtual address = 0xe0 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff809fe487 stack pointer = 0x28:0xfffffe085f5d4560 frame pointer = 0x28:0xfffffe085f5d45b0 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 = 0 (pkg) kgdb: kvm_read: invalid address (0xffff) Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /usr/lib/debug//boot/kernel/zfs.ko.debug...done. done. Loaded symbols for /boot/kernel/zfs.ko Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /usr/lib/debug//boot/kernel/opensolaris.ko.debug...done. done. Loaded symbols for /boot/kernel/opensolaris.ko Reading symbols from /boot/kernel/ums.ko...Reading symbols from /usr/lib/debug//boot/kernel/ums.ko.debug...done. done. Loaded symbols for /boot/kernel/ums.ko Reading symbols from /boot/kernel/autofs.ko...Reading symbols from /usr/lib/debug//boot/kernel/autofs.ko.debug...done. done. Loaded symbols for /boot/kernel/autofs.ko #0 0x0000000000000000 in ?? () (kgdb) (kgdb) bt #0 0x0000000000000000 in ?? () Cannot access memory at address 0x0 (kgdb) Please take a look attached file. Let me know how I can assist further. Thank you! 2016-11-15 19:31 GMT+03:00 Edward Tomasz Napierała <trasz_at_freebsd.org>: > On 1115T1016, Alex Deiter wrote: >> 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). > > [..] > > It looks a bit weird - the "kvm_read" errors, and also the one-function > traceback that contains only one function, that seems unrelated to autofs. > Are you sure you're using the right kernel? Could you try the usual > > kgdb /boot/kernel/kernel /var/crash/vmcore.0 > > instead? Thanks! > -- Alex Deiter
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:08 UTC