From owner-freebsd-current@freebsd.org Wed Oct 24 15:22:51 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61744FEE7CF for ; Wed, 24 Oct 2018 15:22:51 +0000 (UTC) (envelope-from leandro.lupori@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F40D597AB5 for ; Wed, 24 Oct 2018 15:22:50 +0000 (UTC) (envelope-from leandro.lupori@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id B8FA9FEE7CE; Wed, 24 Oct 2018 15:22:50 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7C1BFEE7CD for ; Wed, 24 Oct 2018 15:22:50 +0000 (UTC) (envelope-from leandro.lupori@gmail.com) Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45DDE97AB3 for ; Wed, 24 Oct 2018 15:22:50 +0000 (UTC) (envelope-from leandro.lupori@gmail.com) Received: by mail-yb1-xb2c.google.com with SMTP id w16-v6so2288087ybp.3 for ; Wed, 24 Oct 2018 08:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=nLjJGGqI5+3WffCj99XY0h1X7DpauW0byJJVaDZkAwU=; b=amNqr+RsXv+Qd5YKtr9ZTjMQixWLa7wLFUT2tYH0+FX1rPiWsgGeAgR8RG+f4dqa6k j6VOjVKBK5KrzSAWD/vGC+UWZS7flQJhouUVS9b1T6+QPUMT8rlhoxtpQUqYRN+C0TSr SFAyXEvOwhDVY6fuKgtzDIHgZtKx2U028UPasS5VREr6AxYBYYJCelD8+JogXm1OKEsC cd7QCsEbVC7BXYTcJJlTY1QnemszDXeXWhBVFoKxuA4u186dWccVb+AH2tWvqtkMg3L0 dvaBZxPoqpxc82slLqAUzkibLmNmFjOIt4JDcVPdSDgELnP0VIrtbPlU4UgEZtgkOdWz b9uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nLjJGGqI5+3WffCj99XY0h1X7DpauW0byJJVaDZkAwU=; b=b+ulH+TiI/WdU9qJie0WQrwv/oC+P6ay1LYLYxN1aNzQhr0q6KzhYYgvI1nn8BdlJR pBQKHqKGJMRPINBVZkwfNg+yPTBhRlyuQna31yy8O2hQJbUGX1Xm3N+qODRnCVYo3i6w 72JuUka66V4UYTenwNSqijZ4Azg7jpHuMbQCc6nNnX/nH8LZt25j4gdg3QQ10W0SEdFu I2o+Osh+9p6HVh9UVnsg0BEXt0GHhMgKHKRCbJByhFNoYsKbeKfDOi54FQ/RbFDGMPUf 5O3Qhl6TthzvVCjPxpg4CXVIW8nXUz7Kb3O/73qZ4cHLfMrLBw46NB69OrptWo1I00Sn jRlQ== X-Gm-Message-State: AGRZ1gLOdpyntB7T7gOVG/TwF1G7F6kDfsuX+jt/parBNrzAUbQOLN3c GXEePc5UcXwgEVxfhvQiNwGaKNc/e4WKZpVYDYlKAQZc X-Google-Smtp-Source: AJdET5f3AuudhKV2VwV3WOJ1gzQbqeGGfmIYjRRiqeikM3k1tR4lMJGJpCWc+4p4SS9aFf4qHvecsdnG6rEiqbKWHP4= X-Received: by 2002:a25:3753:: with SMTP id e80-v6mr2679607yba.245.1540394569194; Wed, 24 Oct 2018 08:22:49 -0700 (PDT) MIME-Version: 1.0 From: Leandro Date: Wed, 24 Oct 2018 12:22:38 -0300 Message-ID: Subject: UFS panics To: current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Wed, 24 Oct 2018 15:35:07 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2018 15:22:51 -0000 Hello, I'm seeing a kernel panic when trying to move a specific file. panic: Bad effnlink fip 0xc0000004a2c69a00, fdp 0xc000000497093be0, tdp 0xc0000004be6295a0 cpuid = 72 time = 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=0x900000000000f032 r1=0x3fffffffffffc490 cr=0x34000028 xer=0x20000000 ctr=0x81010b7b0 r2=0x8102c5950 KDB: enter: panic 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. 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? Thanks, Leandro