Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2018 15:08:11 -0600
From:      Sean Bruno <sbruno@freebsd.org>
To:        Leandro <leandro.lupori@gmail.com>, current@freebsd.org
Subject:   Re: UFS panics
Message-ID:  <c3b490c3-e6c0-c0a5-b252-9145021dbaa1@freebsd.org>
In-Reply-To: <CAC7XEcKqscy78Evb7Z66388fG8mvKTgJZfHpmct=nuFgU%2BpJ1A@mail.gmail.com>
References:  <CAC7XEcKqscy78Evb7Z66388fG8mvKTgJZfHpmct=nuFgU%2BpJ1A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--13Pvg2EADJrDNSKvtkHoP8nJcj4EIaE6O
Content-Type: multipart/mixed; boundary="D4ozwyZTZnd6kGLEV5PoJqGIsfeEfuWaB";
 protected-headers="v1"
From: Sean Bruno <sbruno@freebsd.org>
To: Leandro <leandro.lupori@gmail.com>, current@freebsd.org
Message-ID: <c3b490c3-e6c0-c0a5-b252-9145021dbaa1@freebsd.org>
Subject: Re: UFS panics
References: <CAC7XEcKqscy78Evb7Z66388fG8mvKTgJZfHpmct=nuFgU+pJ1A@mail.gmail.com>
In-Reply-To: <CAC7XEcKqscy78Evb7Z66388fG8mvKTgJZfHpmct=nuFgU+pJ1A@mail.gmail.com>

--D4ozwyZTZnd6kGLEV5PoJqGIsfeEfuWaB
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable



On 10/24/18 9:22 AM, Leandro wrote:
> Hello,
>=20
> I'm seeing a kernel panic when trying to move a specific file.
>=20
> panic: Bad effnlink fip 0xc0000004a2c69a00, fdp 0xc000000497093be0,
> tdp 0xc0000004be6295a0
> cpuid =3D 72
> time =3D 1540283798
> KDB: stack backtrace:
> 0xe0000000adb8dcc0: at .kdb_backtrace+0x5c
> 0xe0000000adb8ddf0: at .vpanic+0x1b4
> 0xe0000000adb8deb0: at .panic+0x38
> 0xe0000000adb8df40: at .ufs_readdir+0x2f24
> 0xe0000000adb8e1b0: at .VOP_RENAME_APV+0x190
> 0xe0000000adb8e240: at .kern_renameat+0x3c0
> 0xe0000000adb8e540: at .sys_rename+0x2c
> 0xe0000000adb8e5c0: at .trap+0x65c
> 0xe0000000adb8e780: at .powerpc_interrupt+0x290
> 0xe0000000adb8e820: user SC trap by 0x81010b7b8: srr1=3D0x900000000000f=
032
>             r1=3D0x3fffffffffffc490 cr=3D0x34000028 xer=3D0x20000000
> ctr=3D0x81010b7b0 r2=3D0x8102c5950
> KDB: enter: panic
>=20
> Using 'ls' or 'rm' on the file gives a "Bad file descriptor" error.
> Using 'cat', I get another panic, but now during open.
> Everything indicates that the file system is in an inconsistent state.
>=20
> Therefore, I would just like to ask the following: is it expected for
> kernel panics to happen when there are errors in the file system?
>=20
> Thanks,
> Leandro
> _________________________

I can't make much sense of the ppc backtrace here, but I assume this is U=
FS?

If it is, UFS tends to panic to protect data in an error case and ZFS
tends to go read-only in an error case.  (over generalization here, but
its been my experience).

sean


--D4ozwyZTZnd6kGLEV5PoJqGIsfeEfuWaB--

--13Pvg2EADJrDNSKvtkHoP8nJcj4EIaE6O
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAlvQ3z1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4
QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1
/LZt3AgAnO1Yl08iSOBg0GjK5d5nhHzGvmch46O2aTQK5/TUdx6IjdUx2lNDA5LG
uSb/QnOPdCdlJjgizpdtph6QSiVHe3oR/3P7Tk6idaTwYFWcB48Pp7lsUBhg8v+/
jajleh/yIDvCgI+WQ+6/p2K0KvyGYa9VN7GHE0riXKBpMOPldT/csBcowmk7oCHf
DOuT4JnK/HYz/Sqh9OBXJwbT39sEDBFi0BCHAbAeATtYZyJBxh1NQ9zpFx53D0ZB
TXIS0QM/6BwzXh/3g/rW6EsNXk5sGampeRHqAWIRQmgYnIz8LXK/c5K5oF7++aF8
9Xj1shrWq17Ur1aBMDL3YH9slFJ6rQ==
=Ufkm
-----END PGP SIGNATURE-----

--13Pvg2EADJrDNSKvtkHoP8nJcj4EIaE6O--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c3b490c3-e6c0-c0a5-b252-9145021dbaa1>