Re: booting iBook G4 - kernel panic

Umberto Cerrato <[email protected]> Sun, 31 Mar 2024 09:39:27 +0200
Newsgroups gmane.os.netbsd.ports.macppc
Message-ID <[email protected]>
Hi,

I am not reading carefully, but have you tried using a different bootloader a=
nd kernel combinations?

there are two types of bootloaders and two types of kernels.

.xcf and .elf
netbsd-GENERIC and netbsd-INSTALL

My G4 mini booted fine only with ofwboot.elf and the netbsd-INSTALL.gz (rena=
med netbsd.gz) kernel.

Best

> Il giorno 31 mar 2024, alle ore 00:45, Riccardo Mottola <riccardo.mottola@=
libero.it> ha scritto:
>=20
> =EF=BB=BFHi,
>=20
> Jason Thorpe wrote:
>>> I get a kernel panic very early. If it helps, I can try to retype or mak=
e a screenshot with my phone.
>> That would be super helpful!
>=20
> It doesn't work work very well, it scrolls too quick and the text gets blu=
rred.I see it like this:
>=20
> Skipping crash dump on recursive panic
> panic: trap
> cpu0: Begin traceback
> 0x00b96310 at vpanic+0x144
> 0x00b96340 at panic+0x50
> 0x00b96390 at trap+0x100
> 0x00b96450 kernel ISI trap by 0xff8472b0: srr1=3D0x40003030
>         r1=3D0xb96520 cr=3D0x20424248 xer=3D0 ctr=3D0
> 0x00b96520 at 0xfffffffc
> 0x00b96540 at OF_read+0xb0
> 0x00b96570 ofw_stack+0x44
> saved LR(0x2c) is invalid.cpu0: Ent traceback
>=20
> as far I can see it is the same over and over. It usually goes that way, t=
ried a couple of times.
>=20
> On another attempt it just halts:
> >> NetBSD/macppc
> 11097380+166504 [476480+464064]=3D0xba3ec0
> start=3D0x100000
> No adb support preset, assuming USB keyboard
> mem region 0 start=3D0 size=3D20000000
> mem region 1 start=3D20000000 size=3D40000000
> avail region 0 start=3D0x13000 size=3D0xded000
> avail region 1 start=3D0xe1b000 size=3D0x5edd5000
>=20
> Then halt, nothing.
>=20
> I then found CD of old 1.5.2! It which dies with a panic trap, but it is r=
eadable, because it  initialized the framebuffer, prints total memory... so I=
 think the kernel got further. Sure it is a very very old version... amazing=
 I had it. Probably it didn't support such a "new" computer...
>=20
> Thus I had the idea o try more versions. I tried 7.2 boot cd and it works u=
p to the install prompt, with a white over black framebuffer.
>=20
> This was encouraging, I burned  9.3 CD and that one boots to!
>=20
> Confusing, something is not right in the installed disk and/or the final k=
ernel is different.
>=20
> What should I do?
> Could I try "installing over" without formatting? Or an in-place upgrade f=
rom the same OS version? Maybe even installing the kernel could work.
> I mounted the target disk and it looks fine, all files are there.
>=20
> However, with only the install CD it is a little fiddly I guess.
>=20
> Riccardo