From owner-freebsd-bugs@freebsd.org Mon May 9 22:48:14 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5835B3349E for ; Mon, 9 May 2016 22:48:14 +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 mx1.freebsd.org (Postfix) with ESMTPS id 7D1D61BA4 for ; Mon, 9 May 2016 22:48:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u49MmEqF088275 for ; Mon, 9 May 2016 22:48:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 209408] newfs cause kernel panic on powerpc64 Date: Mon, 09 May 2016 22:48:14 +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-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: adrian.christiansen@gmail.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.22 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2016 22:48:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209408 Bug ID: 209408 Summary: newfs cause kernel panic on powerpc64 Product: Base System Version: 11.0-CURRENT Hardware: ppc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: adrian.christiansen@gmail.com While trying to install FreeBSD/powerpc64, snapshot r298793 of 11.0-CURRENT, the kernel would panic when the installer initialized the file system: panic: Memory modified after free 0x713a9b0(248) val=3D0 @ 0x713a9b0 cpuid =3D 0 0xc0000000002d5de0: at .kdb_backtrace+0x5c 0xc0000000002d5f10: at .vpanic+0x190 0xc0000000002d5fd0: at .panic+0x38 0xc0000000002d6060: at .trash_ctor+0x58 0xc0000000002d60e0: at .uma_zalloc_arg+0x158 0xc0000000002d6230: at .g_vfs_strategy+0xc4 0xc0000000002d62d0: at .ffs_geom_strategy+0x228 0xc0000000002d6370: at .bufwrite+0x240 0xc0000000002d6410: at .ffs_bufwrite+0x2c8 0xc0000000002d64a0: at .bawrite+0xac 0xc0000000002d6520: at .vop_stdfsync+0x1e4 0xc0000000002d6680: at .VOP_FSYNC_APV+0x148 0xc0000000002d6710: at .sched_sync+0x3c0 0xc0000000002d6850: at .fork_exit+0xd0 0xc0000000002d68f0: at .fork_trampoline+0x10 0xc0000000002d6920: at blocked_loop+0x38 KDB: enter: panic [ thread pid 21 tid 100061 ] Stopped at .kdb_enter+0x60: ld r2, r1, 0x28, db> 0 > _ I tried installing it again with the powerpc installer. While I ran the powerpc64 installer again with the drive already initialized with a file sy= stem it didn't panic. So I ran newfs from the shell and had it panic the kernel. This is a PowerMac G5 (PowerMac9,1), running the powerpc64 installer from C= D. The panic happens for both Apple Partition Tables and DOS MBR tables. Please let me know if there's anything I've missed or things that I can tes= t to help? --=20 You are receiving this mail because: You are the assignee for the bug.=