Re: booting iBook G4 - kernel panic
David Brownlee <[email protected]> Sun, 31 Mar 2024 18:12:33 +0100
| Newsgroups | gmane.os.netbsd.ports.macppc |
|---|---|
| Message-ID | <CAGN_6paTD9SKKUOn4Tfhfbso7fPUpA9K1Wc5U-7GficEpY0BnA@mail.gmail.com> |
On Sat, 30 Mar 2024 at 23:44, Riccardo Mottola <[email protected]> wrote: > > Hi, > > Jason Thorpe wrote: > >> I get a kernel panic very early. If it helps, I can try to retype or make a screenshot with my phone. > > That would be super helpful! > > It doesn't work work very well, it scrolls too quick and the text gets > blurred.I see it like this: > > 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=0x40003030 > r1=0xb96520 cr=0x20424248 xer=0 ctr=0 > 0x00b96520 at 0xfffffffc > 0x00b96540 at OF_read+0xb0 > 0x00b96570 ofw_stack+0x44 > saved LR(0x2c) is invalid.cpu0: Ent traceback > > as far I can see it is the same over and over. It usually goes that way, > tried a couple of times. > > On another attempt it just halts: > >> NetBSD/macppc > 11097380+166504 [476480+464064]=0xba3ec0 > start=0x100000 > No adb support preset, assuming USB keyboard > mem region 0 start=0 size=20000000 > mem region 1 start=20000000 size=40000000 > avail region 0 start=0x13000 size=0xded000 > avail region 1 start=0xe1b000 size=0x5edd5000 > > Then halt, nothing. > > I then found CD of old 1.5.2! It which dies with a panic trap, but it is > readable, 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... > > Thus I had the idea o try more versions. I tried 7.2 boot cd and it > works up to the install prompt, with a white over black framebuffer. > > This was encouraging, I burned 9.3 CD and that one boots to! > > Confusing, something is not right in the installed disk and/or the final > kernel is different. > > What should I do? > Could I try "installing over" without formatting? Or an in-place upgrade > from the same OS version? Maybe even installing the kernel could work. > I mounted the target disk and it looks fine, all files are there. > > However, with only the install CD it is a little fiddly I guess. You should also be able to write the ISO image to a USB key and boot it (if that helps) You say that the 9.3 CD boots. Are you able to boot from it passing "netbsd -a"? That should stop and prompt for the root file system, at which point you should be able to give wd0 and boot the installed system? David