Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2018 16:30:15 +0200
From:      Harry Schmalzbauer <freebsd@omnilan.de>
To:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>
Subject:   Panic after 2 LORs autofs/syncer, zfs/devfs: general protection fault while in kernel mode
Message-ID:  <3914f2f0-be52-161c-8544-f813ac85f14c@omnilan.de>

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


I haven't found a newer LOR list than 
http://sources.zabbadoz.net/freebsd/lor.html, so I'm not sure 
where/whether to report panics followed by LOR.


Here's one I got while shutting down on r333486 (May 11th):

Unread portion of the kernel message buffer:
<118>Terminated
<118>.
<118>May 15 22:30:10 titan syslogd: exiting on signal 15
Waiting (max 60 seconds) for system process `vnlru' to stop... done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining... 0 0 0 0 0 0 0 done
Waiting (max 60 seconds) for system thread `bufdaemon' to stop... done
Waiting (max 60 seconds) for system thread `bufspacedaemon-0' to stop... 
done
Waiting (max 60 seconds) for system thread `bufspacedaemon-1' to stop... 
done
Waiting (max 60 seconds) for system thread `bufspacedaemon-2' to stop... 
done
Waiting (max 60 seconds) for system thread `bufspacedaemon-3' to stop... 
done
Waiting (max 60 seconds) for system thread `bufspacedaemon-4' to stop... 
done
Waiting (max 60 seconds) for system thread `bufspacedaemon-5' to stop... 
done
Waiting (max 60 seconds) for system thread `bufspacedaemon-6' to stop... 
done
All buffers synced.
lock order reversal:
  1st 0xfffff8002711a608 autofs (autofs) @ 
/usr/local/share/deploy-tools/HEAD/src/sys/kern/vfs_mount.c:1343
  2nd 0xfffff80019fad248 syncer (syncer) @ 
/usr/local/share/deploy-tools/HEAD/src/sys/kern/vfs_subr.c:2734
stack backtrace:
#0 0xffffffff808336c3 at witness_debugger+0x73
#1 0xffffffff80833544 at witness_checkorder+0xe34
#2 0xffffffff8079f6eb at lockmgr_lock_fast_path+0x18b
#3 0xffffffff80bc91f9 at VOP_LOCK1_APV+0xd9
#4 0xffffffff808af5d6 at _vn_lock+0x66
#5 0xffffffff8089ec97 at vputx+0x157
#6 0xffffffff80896aa9 at dounmount+0x4d9
#7 0xffffffff808a048b at vfs_unmountall+0x6b
#8 0xffffffff8087b7c5 at bufshutdown+0x2c5
#9 0xffffffff807cabea at kern_reboot+0x21a
#10 0xffffffff807ca979 at sys_reboot+0x3a9
#11 0xffffffff80b0ce9c at amd64_syscall+0x28c
#12 0xffffffff80ae92dd at fast_syscall_common+0x101
lock order reversal:
  1st 0xfffff8000b168d88 zfs (zfs) @ 
/usr/local/share/deploy-tools/HEAD/src/sys/kern/vfs_mount.c:1343
  2nd 0xfffff8000b169248 devfs (devfs) @ 
/usr/local/share/deploy-tools/HEAD/src/sys/kern/vfs_subr.c:2572
stack backtrace:
#0 0xffffffff808336c3 at witness_debugger+0x73
#1 0xffffffff80833544 at witness_checkorder+0xe34
#2 0xffffffff8079f6eb at lockmgr_lock_fast_path+0x18b
#3 0xffffffff80bc91f9 at VOP_LOCK1_APV+0xd9
#4 0xffffffff808af5d6 at _vn_lock+0x66
#5 0xffffffff8089e561 at vget+0x81
#6 0xffffffff8068576d at devfs_allocv+0xdd
#7 0xffffffff80685263 at devfs_root+0x43
#8 0xffffffff8089f06a at vflush+0x6a
#9 0xffffffff80685153 at devfs_unmount+0x43
#10 0xffffffff80896ae9 at dounmount+0x519
#11 0xffffffff808a04e4 at vfs_unmountall+0xc4
#12 0xffffffff8087b7c5 at bufshutdown+0x2c5
#13 0xffffffff807cabea at kern_reboot+0x21a
#14 0xffffffff807ca979 at sys_reboot+0x3a9
#15 0xffffffff80b0ce9c at amd64_syscall+0x28c
#16 0xffffffff80ae92dd at fast_syscall_common+0x101
Uptime: 1d13h25m53s


Fatal trap 9: general protection fault while in kernel mode
cpuid = 2; apic id = 02
instruction pointer    = 0x20:0xffffffff81b13984
stack pointer            = 0x28:0xfffffe0000575980
frame pointer            = 0x28:0xfffffe0000575980
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        = 0 (dbu_evict)


#0  doadump (textdump=0) at pcpu.h:231
#1  0xffffffff803e708b in db_dump (dummy=<value optimized out>, 
dummy2=<value optimized out>, dummy3=<value optimized out>,
     dummy4=<value optimized out>) at 
/usr/local/share/deploy-tools/HEAD/src/sys/ddb/db_command.c:574
#2  0xffffffff803e6e59 in db_command (cmd_table=<value optimized out>)
     at /usr/local/share/deploy-tools/HEAD/src/sys/ddb/db_command.c:481
#3  0xffffffff803e6bd4 in db_command_loop () at 
/usr/local/share/deploy-tools/HEAD/src/sys/ddb/db_command.c:534
#4  0xffffffff803e9e6f in db_trap (type=<value optimized out>, 
code=<value optimized out>)
     at /usr/local/share/deploy-tools/HEAD/src/sys/ddb/db_main.c:252
#5  0xffffffff808129b3 in kdb_trap (type=9, code=0, tf=<value optimized 
out>)
     at /usr/local/share/deploy-tools/HEAD/src/sys/kern/subr_kdb.c:697
#6  0xffffffff80b0c48f in trap_fatal (frame=0xfffffe00005758c0, eva=0)
     at /usr/local/share/deploy-tools/HEAD/src/sys/amd64/amd64/trap.c:872
#7  0xffffffff80b0ba6d in trap (frame=0xfffffe00005758c0) at counter.h:87
#8  0xffffffff80ae89fc in calltrap () at 
/usr/local/share/deploy-tools/HEAD/src/sys/amd64/amd64/exception.S:230
#9  0xffffffff81b13984 in spa_get_dsl () from /boot/kernel/zfs.ko
#10 0xffffffff81b17d1f in txg_verify () from /boot/kernel/zfs.ko
#11 0xffffffff81b1829f in txg_list_member () from /boot/kernel/zfs.ko
#12 0xffffffff81acb969 in dsl_dir_evict_async () from /boot/kernel/zfs.ko
#13 0xffffffff808260cc in taskqueue_run_locked (queue=0xfffff80004058800)
     at /usr/local/share/deploy-tools/HEAD/src/sys/kern/subr_taskqueue.c:465
#14 0xffffffff80826e98 in taskqueue_thread_loop (arg=<value optimized out>)
     at /usr/local/share/deploy-tools/HEAD/src/sys/kern/subr_taskqueue.c:757
#15 0xffffffff8078add4 in fork_exit (callout=0xffffffff80826e10 
<taskqueue_thread_loop>, arg=0xfffff80003b46e40,
     frame=0xfffffe0000575ac0) at 
/usr/local/share/deploy-tools/HEAD/src/sys/kern/kern_fork.c:1039
#16 0xffffffff80ae99ae in fork_trampoline () at 
/usr/local/share/deploy-tools/HEAD/src/sys/amd64/amd64/exception.S:971
#17 0x0000000000000000 in ?? ()


-harry




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3914f2f0-be52-161c-8544-f813ac85f14c>