Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2022 14:45:12 +0000
From:      Julio Merino <julio@meroh.net>
To:        "freebsd-ppc@freebsd.org" <freebsd-ppc@freebsd.org>
Subject:   PowerMac G5 crashes with "instruction storage interrupt" on recent 13
Message-ID:  <PH0PR20MB3704882DD6DC53BB1CF2F5D2C09B9@PH0PR20MB3704.namprd20.prod.outlook.com>

next in thread | raw e-mail | index | archive | help
--_000_PH0PR20MB3704882DD6DC53BB1CF2F5D2C09B9PH0PR20MB3704namp_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi all,

I have a PowerMac G5 that=92s running an old build of FreeBSD 13 stable (fr=
om around October of last year) that I=92m trying to upgrade to recent stab=
le/13.

Booting into a new kernel brings two issues: the first is that the fans spi=
n up to jet engine levels right before transferring control to userspace. A=
n old patch I have locally to mitigate this (which I got from whichever out=
standing bug exists for this in the bug tracker) doesn=92t seem to work any=
 longer.

The second is that the kernel crashes (apparently) as soon as it tries to m=
ount a ZFS pool during early stages of the boot process, but after successf=
ully transferring control to userspace. Typing this from a photo of the cra=
sh so omitting details that I think aren=92t going to be relevant here, lik=
e addresses, here is what I get:

----
Setting hostid: =85
ZFS filesystem version: 5
ZFS storage pool version: features support (500)

Fatal kernel trap:

Exception =3D 0x400 (instruction storage interrupt)
=85
pid =3D 64, comm =3D zpool

panic: instruction storage interrupt trap
cpuid =3D 1
time =3D =85
KDB: stack backtrace:
#0 kdb_backtrace
#1 vpanic
#2 panic
#3 trap
#4 powerpc_interrupt
Uptime: 7s
----

Any thoughts about what I could look into? Any =93recent=94 commits that yo=
u think may be at fault?

Thanks!

--_000_PH0PR20MB3704882DD6DC53BB1CF2F5D2C09B9PH0PR20MB3704namp_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of=
fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40">;
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style>
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"#954F72" style=3D"word-wrap:bre=
ak-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi all,</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I have a PowerMac G5 that=92s running an old build o=
f FreeBSD 13 stable (from around October of last year) that I=92m trying to=
 upgrade to recent stable/13.</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Booting into a new kernel brings two issues: the fir=
st is that the fans spin up to jet engine levels right before transferring =
control to userspace. An old patch I have locally to mitigate this (which I=
 got from whichever outstanding bug
 exists for this in the bug tracker) doesn=92t seem to work any longer.</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The second is that the kernel crashes (apparently) a=
s soon as it tries to mount a ZFS pool during early stages of the boot proc=
ess, but after successfully transferring control to userspace. Typing this =
from a photo of the crash so omitting
 details that I think aren=92t going to be relevant here, like addresses, h=
ere is what I get:</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">----</p>
<p class=3D"MsoNormal">Setting hostid: =85</p>
<p class=3D"MsoNormal">ZFS filesystem version: 5</p>
<p class=3D"MsoNormal">ZFS storage pool version: features support (500)</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Fatal kernel trap:</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Exception =3D 0x400 (instruction storage interrupt)<=
/p>
<p class=3D"MsoNormal">=85</p>
<p class=3D"MsoNormal">pid =3D 64, comm =3D zpool</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">panic: instruction storage interrupt trap</p>
<p class=3D"MsoNormal">cpuid =3D 1</p>
<p class=3D"MsoNormal">time =3D =85</p>
<p class=3D"MsoNormal">KDB: stack backtrace:</p>
<p class=3D"MsoNormal">#0 kdb_backtrace</p>
<p class=3D"MsoNormal">#1 vpanic</p>
<p class=3D"MsoNormal">#2 panic</p>
<p class=3D"MsoNormal">#3 trap</p>
<p class=3D"MsoNormal">#4 powerpc_interrupt</p>
<p class=3D"MsoNormal">Uptime: 7s</p>
<p class=3D"MsoNormal">----</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Any thoughts about what I could look into? Any =93re=
cent=94 commits that you think may be at fault?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thanks!<o:p></o:p></p>
</div>
</body>
</html>

--_000_PH0PR20MB3704882DD6DC53BB1CF2F5D2C09B9PH0PR20MB3704namp_--



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