From owner-freebsd-bugs@freebsd.org Wed Jan 24 09:38:17 2018 Return-Path: Delivered-To: freebsd-bugs@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 25EC8EC9E5D for ; Wed, 24 Jan 2018 09:38:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B54038044D for ; Wed, 24 Jan 2018 09:38:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F3E9D173A6 for ; Wed, 24 Jan 2018 09:38:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0O9cFtL086525 for ; Wed, 24 Jan 2018 09:38:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0O9cF7q086524 for freebsd-bugs@FreeBSD.org; Wed, 24 Jan 2018 09:38:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 225423] panic: softdep_deallocate_dependencies: dangling deps Date: Wed, 24 Jan 2018 09:38:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: deepak.ukey@microsemi.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 09:38:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225423 Bug ID: 225423 Summary: panic: softdep_deallocate_dependencies: dangling deps Product: Base System Version: 11.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: deepak.ukey@microsemi.com We have SmartRAID controller on which We are testing below test case. With = this test I am facing kernel panic and dump is pointing towards some file system functions on FreeBSD 11.=20 Test Case:=20 We have installed FreeBSD11 on drive attached to Microsemi storage control= ler connected to Supermicro X10 system. We created the partition using gpart on= the logical volumes behind Microsemi storage controller and executed write operation using dd command. During the write operation, We removed the logi= cal volume. The logical volume gets destroyed but We faced Kernel panic. Please find the below crash dump. The same issue observed in FreeBSD 10 also.=20 ------------------------------------------------------------------------- g_vfs_done():da5p1[READ(offset=3D324971036672, length=3D32768)]error =3D 6 (da5:smartpqi0:0:5:0): Periph destroyed fsync: giving up on dirty 0xfffff801058a2b10: tag devfs, type VCHR usecount 1, writecount 0, refcount 103 mountedhere 0xfffff80010e84c00 flags (VI_DOOMED|VI_ACTIVE) v_object 0xfffff8010fa41960 ref 0 pages 817 cleanbuf 98 dirtybuf 2 lock type devfs: EXCL by thread 0xfffff8000b000000 (pid 778, login, tid 100169) dev da5p1 panic: softdep_deallocate_dependencies: dangling deps cpuid =3D 0 KDB: stack backtrace: #0 0xffffffff80aada97 at kdb_backtrace+0x67 #1 0xffffffff80a6bb76 at vpanic+0x186 #2 0xffffffff80a6b9e3 at panic+0x43 #3 0xffffffff80d14646 at softdep_deallocate_dependencies+0x76 #4 0xffffffff80b09435 at brelse+0x165 #5 0xffffffff80b27551 at flushbuflist+0x131 #6 0xffffffff80b2700b at bufobj_invalbuf+0x9b #7 0xffffffff80b2a10e at vgonel+0x17e #8 0xffffffff80b2a720 at vgone+0x40 #9 0xffffffff80934968 at devfs_delete+0x1d8 #10 0xffffffff80934e3a at devfs_populate_loop+0x21a #11 0xffffffff80934c0a at devfs_populate+0x2a #12 0xffffffff80939e1b at devfs_populate_vp+0x9b #13 0xffffffff80937e0c at devfs_lookup+0x2c #14 0xffffffff8104b853 at VOP_LOOKUP_APV+0x83 #15 0xffffffff80b1d0c1 at lookup+0x701 #16 0xffffffff80b1c576 at namei+0x486 #17 0xffffffff80b331fa at kern_chflagsat+0x9a ---------------------------------------------------------------------------- Could you please help us to resolve this problem.=20 PS: If same test case is executed with FIO(without any partition), it runs fine. --=20 You are receiving this mail because: You are the assignee for the bug.=