Bug 183417 - [softupdates] [panic] fault on nofault entry in softdep_setup_freeblocks
Summary: [softupdates] [panic] fault on nofault entry in softdep_setup_freeblocks
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2013-10-28 21:20 UTC by rr
Modified: 2017-12-31 22:27 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description rr 2013-10-28 21:20:01 UTC
We've seen this panic multiple times on hosts which are getting uncorrectable I/O errors from a spinning SATA disk:

root@mms983$ cat panic.txt
vm_fault: fault on nofault entry, addr: ffffffa010748000

b:0:kdb.enter.panic>  show pcpu
cpuid        = 12
dynamic pcpu = 0xffffff807faf8200
curthread    = 0xfffffe09675938e0: pid 57943 "beam.smp"
curpcb       = 0xffffffa31038ebc0
fpcurthread  = none
idlethread   = 0xfffffe0034935470: tid 100014 "idle: cpu12"
curpmap      = 0xfffffe01230ccbe8
tssp         = 0xffffffff80957340
commontssp   = 0xffffffff80957340
rsp0         = 0xffffffa31038ebc0
gs32p        = 0xffffffff80955498
ldt          = 0xffffffff809554d8
tss          = 0xffffffff809554c8
db:0:kdb.enter.panic>  bt
Tracing pid 57943 tid 43087119 td 0xfffffe09675938e0
kdb_enter() at kdb_enter+0x3b
panic() at panic+0x1c7
vm_fault_hold() at vm_fault_hold+0x1eea
vm_fault() at vm_fault+0x73
trap_pfault() at trap_pfault+0x41d
trap() at trap+0x365
calltrap() at calltrap+0x8
--- trap 0xc, rip = 0xffffffff8054c43c, rsp = 0xffffffa31038e490, rbp = 0xffffffa31038e520 ---
softdep_setup_freeblocks() at softdep_setup_freeblocks+0x3ec
ffs_truncate() at ffs_truncate+0x530
ufs_inactive() at ufs_inactive+0x1e5
vinactive() at vinactive+0x8d
vputx() at vputx+0x2d8
kern_unlinkat() at kern_unlinkat+0x1df
amd64_syscall() at amd64_syscall+0x5d6
Xfast_syscall() at Xfast_syscall+0xf7
--- syscall (10, FreeBSD ELF64, sys_unlink), rip = 0x80125e32c, rsp = 0x7ffffd1b3ea8, rbp = 0x825b5af40 ---

After reboot, we get a second panic:
root@mms983$ cat panic.txt
ufs_dirbad: /d6: bad dir ino 9708991 at offset 1536: mangled entry

After reboot and fsck, filesystem is working again.
Comment 1 Xin LI freebsd_committer 2014-02-24 05:03:31 UTC
Responsible Changed
From-To: freebsd-bugs->mckusick

Over to maintainer.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:23 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped