Mikhail Holt
2014-Jan-20 22:48 UTC
reboot after panic: softdep_deallocate_dependencies: unrecovered I/O error
FYI These issues occurred when doing a svn checkout svn://svn0.us-west.freebsd.org/ports/head/ /usr/ports on a fresh install of: FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC 2014 Issue 1(intermittent): g_vfs_done():ada0p2[WRITE(offset=244201422848, length=32768)]error = 11 Info: Jan 20 16:34:39 ns1 kernel: FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC 2014 Jan 20 16:34:39 ns1 kernel: root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 Jan 20 16:34:39 ns1 kernel: FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Jan 20 16:34:39 ns1 kernel: CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3014.55-MHz 686-class CPU) Jan 20 16:34:39 ns1 kernel: Origin = "GenuineIntel" Id = 0xf41 Family = 0xf Model = 0x4 Stepping = 1 Jan 20 16:34:39 ns1 kernel: Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Jan 20 16:34:39 ns1 kernel: Features2=0x441d<SSE3,DTES64,MON,DS_CPL,CNXT-ID,xTPR> Jan 20 16:34:39 ns1 kernel: TSC: P-state invariant Jan 20 16:34:39 ns1 kernel: real memory = 2147483648 (2048 MB) Jan 20 16:34:39 ns1 kernel: avail memory = 2085462016 (1988 MB) ... Jan 20 16:34:39 ns1 kernel: ada0: <WDC WD3202ABYS-02B7A0 02.03B03> ATA-8 SATA 2.x device Jan 20 16:34:39 ns1 kernel: ada0: Serial Number WD-WCAT1E703838 Jan 20 16:34:39 ns1 kernel: ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) Jan 20 16:34:39 ns1 kernel: ada0: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C) ... Jan 20 17:34:02 ns1 kernel: g_vfs_done():ada0p2[WRITE(offset=244201422848, length=32768)]error = 11 Jan 20 17:34:37 ns1 kernel: g_vfs_done():ada0p2[WRITE(offset=244201488384, length=32768)]error = 11 Jan 20 17:34:37 ns1 kernel: g_vfs_done():ada0p2[WRITE(offset=244201914368, length=32768)]error = 11 ... many of these messages Also relevant: Jan 20 17:39:58 ns1 kernel: # tunefs -p / Jan 20 17:39:58 ns1 kernel: tunefs: POSIX.1e ACLs: (-a) disabled Jan 20 17:39:58 ns1 kernel: tunefs: NFSv4 ACLs: (-N) disabled Jan 20 17:39:58 ns1 kernel: tunefs: MAC multilabel: (-l) disabled Jan 20 17:39:58 ns1 kernel: tunefs: soft updates: (-n) enabled Jan 20 17:39:58 ns1 kernel: tunefs: soft update journaling: (-j) enabled Jan 20 17:39:58 ns1 kernel: tunefs: gjournal: (-J) disabled Jan 20 17:39:58 ns1 kernel: tunefs: trim: (-t) disabled Jan 20 17:39:58 ns1 kernel: tunefs: maximum blocks per file in a cylinder group: (-e) 4096 Jan 20 17:39:58 ns1 kernel: tunefs: average file size: (-f) 16384 Jan 20 17:39:58 ns1 kernel: tunefs: average number of files in a directory: (-s) 64 Jan 20 17:39:58 ns1 kernel: tunefs: minimum percentage of free space: (-m) 8% Jan 20 17:39:58 ns1 kernel: tunefs: space to hold for metadata blocks: (-k) 6408 Jan 20 17:39:58 ns1 kernel: tunefs: optimization preference: (-o) time Jan 20 17:39:58 ns1 kernel: tunefs: volume label: (-L) Issue 2(repeatable on second similar machine): reboot after panic: softdep_deallocate_dependencies: unrecovered I/O error Info: - Same hardware - tunefs -j disable Jan 20 18:16:21 ns1 kernel: Trying to mount root from ufs:/dev/ada0p2 [rw]... Jan 20 18:16:22 ns1 savecore: reboot after panic: softdep_deallocate_dependencies: unrecovered I/O error Jan 20 18:16:22 ns1 savecore: writing core to /var/crash/vmcore.0 Also relevant: Jan 20 18:22:35 ns1 kernel: # tunefs -p / Jan 20 18:22:35 ns1 kernel: tunefs: POSIX.1e ACLs: (-a) disabled Jan 20 18:22:35 ns1 kernel: tunefs: NFSv4 ACLs: (-N) disabled Jan 20 18:22:35 ns1 kernel: tunefs: MAC multilabel: (-l) disabled Jan 20 18:22:35 ns1 kernel: tunefs: soft updates: (-n) enabled Jan 20 18:22:35 ns1 kernel: tunefs: soft update journaling: (-j) disabled Jan 20 18:22:35 ns1 kernel: tunefs: gjournal: (-J) disabled Jan 20 18:22:35 ns1 kernel: tunefs: trim: (-t) disabled Jan 20 18:22:35 ns1 kernel: tunefs: maximum blocks per file in a cylinder group: (-e) 4096 Jan 20 18:22:35 ns1 kernel: tunefs: average file size: (-f) 16384 Jan 20 18:22:35 ns1 kernel: tunefs: average number of files in a directory: (-s) 64 Jan 20 18:22:35 ns1 kernel: tunefs: minimum percentage of free space: (-m) 8% Jan 20 18:22:35 ns1 kernel: tunefs: space to hold for metadata blocks: (-k) 6408 Jan 20 18:22:35 ns1 kernel: tunefs: optimization preference: (-o) time Jan 20 18:22:35 ns1 kernel: tunefs: volume label: (-L) Fix for both issues: vfs.unmapped_buf_allowed=0 in /boot/loader.conf Questions: - Known issue? Thanks Mikhail