Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 May 2016 22:48:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 209408] newfs cause kernel panic on powerpc64
Message-ID:  <bug-209408-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209408-8>