Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2014 15:43:12 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        <freebsd-fs@freebsd.org>
Subject:   Panic after vdev loss: assert: zap_update([...]) == 0 (0x6 == 0x0), [...]/zfs/dsl_scan.c, line: 41
Message-ID:  <51ee5a33.776435f0@fabiankeil.de>

next in thread | raw e-mail | index | archive | help
--Sig_/xZAQEilkmebo3PF2ju4WqC4
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yesterday I got a panic after a zpool that was being scrubbed
lost its (only) vdev:

[6507] GEOM_ELI: g_eli_read_done() failed (error=3D5) label/extreme.eli[REA=
D(offset=3D2507528704, length=3D12800)]
[6507] GEOM_ELI: g_eli_read_done() failed (error=3D5) label/extreme.eli[REA=
D(offset=3D2507494912, length=3D33792)]
[6507] (da1:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 4a bb 06 00 00 05 00=
=20
[6507] (da1:umass-sim1:1:0:0): CAM status: CCB request completed with an er=
ror
[6507] (da1:umass-sim1:1:0:0): Retrying command
[6507] (da1:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 4a bb 06 00 00 05 00=
=20
[6507] (da1:umass-sim1:1:0:0): CAM status: CCB request completed with an er=
ror
[6507] (da1:umass-sim1:1:0:0): Retrying command
[6507] (da1:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 4a bb 06 00 00 05 00=
=20
[6507] (da1:umass-sim1:1:0:0): CAM status: CCB request completed with an er=
ror
[6507] (da1:umass-sim1:1:0:0): Retrying command
[6507] (da1:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 4a bb 06 00 00 05 00=
=20
[6507] (da1:umass-sim1:1:0:0): CAM status: CCB request completed with an er=
ror
[6507] (da1:umass-sim1:1:0:0): Retrying command
[6507] (da1:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 4a bb 06 00 00 05 00=
=20
[6507] (da1:umass-sim1:1:0:0): CAM status: CCB request completed with an er=
ror
[6507] (da1:umass-sim1:1:0:0): Error 5, Retries exhausted
[6507] GEOM_ELI: g_eli_read_done() failed (error=3D5)(da1:umass-sim1:1:0:0)=
: READ(10). CDB: 28 00 00 37 25 ad 00 00 6a 00=20
[6507]  label/extreme.eli[READ(offset=3D4022607872, length=3D8192)](da1:uma=
ss-sim1:1:0:0): CAM status: CCB request completed with an error
[6507]=20
[6507] (da1:GEOM_ELIumass-sim1:1:: g_eli_read_done() failed (error=3D5)0: 0=
): label/extreme.eli[READ(offset=3D4022870016, length=3D8192)]Retrying comm=
and
[6507]=20
[6507] GEOM_ELI: g_eli_read_done() failed (error=3D5) label/extreme.eli[REA=
D(offset=3D270336, length=3D8192)](da1:umass-sim1:1:0:0): READ(10). CDB: 28=
 00 00 37 25 ad 00 00 6a 00=20
[6507]=20
[6507] GEOM_ELI(da1:umass-sim1:1:0:0): CAM status: CCB request completed wi=
th an error
[6507] : g_eli_read_done() failed (error=3D5)(da1: umass-sim1:1:label/extre=
me.eli[READ(offset=3D2507541504, length=3D2560)]0:
[6507] 0): Retrying command
[6507] (da1:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 37 25 ad 00 00 6a 00=
=20
[6507] (da1:umass-sim1:1:0:0): CAM status: CCB request completed with an er=
ror
[6507] (da1:umass-sim1:1:0:0): Retrying command
[6507] (da1:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 37 25 ad 00 00 6a 00=
=20
[6507] (da1:umass-sim1:1:0:0): CAM status: CCB request completed with an er=
ror
[6507] (da1:umass-sim1:1:0:0): Retrying command
[6507] (da1:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 37 25 ad 00 00 6a 00=
=20
[6507] (da1:umass-sim1:1:0:0): CAM status: CCB request completed with an er=
ror
[6507] (da1:umass-sim1:1:0:0): Error 5, Retries exhausted
[6507] GEOM_ELI: g_eli_read_done() failed (error=3D5) label/extreme.eli[REA=
D(offset=3D1850432000, length=3D54272)]
[6507] da1 at umass-sim1 bus 1 scbus3 target 0 lun 0
[6507] da1: <USB Mass Storage Device \134001\134000\134000?> s/n 8123201007=
08 detached
[6507] pass3 at umass-sim1 bus 1 scbus3 target 0 lun 0
[6507] pass3: <USB Mass Storage Device \134001\134000\134000?> s/n 81232010=
0708 detached
[6507] (pass3:umass-sim1:1:0:0): Periph destroyed
[6507] panic: solaris assert: zap_update(scn->scn_dp->dp_meta_objset, 1, "s=
can", sizeof (uint64_t), (sizeof (dsl_scan_phys_t) / sizeof (uint64_t)), &s=
cn->scn_phys, tx) =3D=3D 0 (0x6 =3D=3D 0x0), file: /usr/src/sys/cddl/contri=
b/opensolaris/uts/common/fs/zfs/dsl_scan.c, line: 41
[6507] cpuid =3D 0
[6507] KDB: stack backtrace:
[6507] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe=
0095157520
[6507] kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe00951575d0
[6507] panic() at panic+0x1c1/frame 0xfffffe0095157690
[6507] assfail3() at assfail3+0x2f/frame 0xfffffe00951576b0
[6507] dsl_scan_sync() at dsl_scan_sync+0xa83/frame 0xfffffe0095157a00
[6507] spa_sync() at spa_sync+0x5c1/frame 0xfffffe0095157ae0
[6507] txg_sync_thread() at txg_sync_thread+0x3a6/frame 0xfffffe0095157bb0
[6507] fork_exit() at fork_exit+0x9a/frame 0xfffffe0095157bf0
[6507] fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0095157bf0
[6507] --- trap 0, rip =3D 0, rsp =3D 0xfffffe0095157cb0, rbp =3D 0 ---
[6507] KDB: enter: panic

The assertion in dsl_scan_sync_state() seems to expect that the pool
is available and apparently spa->spa_state was still POOL_STATE_ACTIVE.

Additional details:
http://www.fabiankeil.de/bilder/freebsd/kernel-panic-r275748-zfs/

Fabian

--Sig_/xZAQEilkmebo3PF2ju4WqC4
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlSddAAACgkQBYqIVf93VJ22ugCfcO8r7FQhgz2c0yvRlh1V5SC9
YegAoK7ghP6yhMubF4bpQFHxJPEch34x
=R2Jn
-----END PGP SIGNATURE-----

--Sig_/xZAQEilkmebo3PF2ju4WqC4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51ee5a33.776435f0>