Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2019 20:46:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 234906] kernel panic: softdep_setup_inomapdep: dependency 0xfffff80107d15c00 for newinode already exists
Message-ID:  <bug-234906-3630-vW1uURQ2Zg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234906-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234906-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234906

--- Comment #4 from Conrad Meyer <cem@freebsd.org> ---
>From core.txt, this wasn't the first softdep panic you encountered; the fir=
st
was:

panic: handle_allocdirect_partdone: lost dep
cpuid =3D 2
time =3D 1547073542
KDB: stack backtrace:
#0 0xffffffff80701677 at kdb_backtrace+0x67
#1 0xffffffff806b6d93 at vpanic+0x1a3
#2 0xffffffff806b6be3 at panic+0x43
#3 0xffffffff80964e98 at handle_allocdirect_partdone+0xd8
#4 0xffffffff8096f503 at handle_written_bmsafemap+0x583
#5 0xffffffff80953962 at softdep_disk_write_complete+0x4e2
#6 0xffffffff80764d14 at bufdone+0x2a4
#7 0xffffffff80603c30 at g_io_deliver+0x230
#8 0xffffffff80603c30 at g_io_deliver+0x230
#9 0xffffffff806012b3 at g_disk_done+0x123
#10 0xffffffff803278e5 at dadone+0x5e5
#11 0xffffffff802cc4a1 at xpt_done_process+0x6a1
#12 0xffffffff802ce726 at xpt_done_td+0x116
#13 0xffffffff80678b23 at fork_exit+0x83
#14 0xffffffff809c944e at fork_trampoline+0xe

So at that time, all of your filesystems were detached in an unclean state.=
=20
After reboot, GEOM reports GPT corruption and background fsck kicks in due =
to
unclean mount.

...
WARNING: / was not properly dismounted
WARNING: /: mount pending error: blocks 2688 files 2
...
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Starting file system checks:
/dev/ada0p2: UNREF FILE I=3D15168749  OWNER=3Djohan MODE=3D100644
/dev/ada0p2: SIZE=3D1584 MTIME=3DJan  7 07:53 2019  (CLEARED)
/dev/ada0p2: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)
/dev/ada0p2: SUMMARY INFORMATION BAD (SALVAGED)
/dev/ada0p2: BLK(S) MISSING IN BIT MAPS (SALVAGED)
/dev/ada0p2: 705641 files, 13986522 used, 16285630 free (33934 frags, 20314=
62
blocks, 0.1% fragmentation)
/dev/da0p4: DEFER FOR BACKGROUND CHECKING
Mounting local filesystems:
WARNING: /u was not properly dismounted
WARNING: /u: mount pending error: blocks 12048 files 119
...
GEOM: da1: the secondary GPT table is corrupt or invalid.
GEOM: da1: using the primary only -- recovery suggested.
GEOM: ufsid/5c32f4b585a9f480: the secondary GPT table is corrupt or invalid.
GEOM: ufsid/5c32f4b585a9f480: using the primary only -- recovery suggested.
GEOM: diskid/DISK-4C530002671026104222: the secondary GPT table is corrupt =
or
invalid.
GEOM: diskid/DISK-4C530002671026104222: using the primary only -- recovery
suggested.
...

The USB device disconnects itself and reconnects for some reason; same error
messages from GEOM again.

ugen1.6: <SanDisk Cruzer Fit> at usbus1 (disconnected)
umass1: at uhub3, port 2, addr 6 (disconnected)
da1 at umass-sim1 bus 1 scbus7 target 0 lun 0
da1: <SanDisk Cruzer Fit 1.26>  s/n 4C530002671026104222 detached
(da1:umass-sim1:1:0:0): Periph destroyed
...
da1 at umass-sim1 bus 1 scbus7 target 0 lun 0
da1: <SanDisk Cruzer Fit 1.26> Fixed Direct Access SPC-4 SCSI device
da1: Serial Number 4C530002671026104222
da1: 40.000MB/s transfers
da1: 30532MB (62530624 512 byte sectors)
...

This bit looks like fsck, then our panic as filed:

free inode /u/37962415 had -128 blocks
free inode /u/37962556 had -4480 blocks
free inode /u/37962623 had -13824 blocks
free inode /u/37962767 had -192 blocks
free inode /u/37962771 had -8000 blocks
free inode /u/37962774 had -6080 blocks
panic: softdep_setup_inomapdep: dependency 0xfffff80107d15c00 for newinode
already exists

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234906-3630-vW1uURQ2Zg>