Port-ofppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD 8.0 hang on RS/6000 43p-150 (7043-150)
On Jan 5, 2019, at 3:30 AM, Frank Wille <frank%phoenix.owl.de@localhost> wrote:
>
> Chris Hanson wrote:
>
>> On 03.01.19 20:23:44 you wrote:
>>
>> I realize (now...) that the 7043-150 isn't in the supported systems
>> list but I figured I'd give it a try.
>
> I have no RS/6000 hardware myself and I don't remember the reasons why some
> models were not supported. The hardware doesn't look special at all.
My initial assumption was that nobody who did kernel hacking had one and thus had tried it. I think that’s ultimately been borne out; reading the list archives, several other people have tried to boot the 7043-150 and run into similar issues.
>> With an 8.0 release CD, the
>> kernel starts but hangs in OpenPIC (transcribed, please forgive any
>> errors):
>>
>> OpenPIC Version 1.1: Supports 4 CPUs and 16 interrupt sources.
>
> Interrupts will not be established at OpenPIC initialization, so I guess it
> hangs while starting to scan the OFW PCI bus.
That seems consistent with what people have previously talked about on the list.
>> I can put images on floppy and attempt to boot them if anyone wants to
>> poke at it. I could also set up a system for building ofppc if people
>> just want to propose tweaks for me to try either atop the netbsd-8
>> branch or current.
>
> You should do the latter, if you're interested. You only need a working
> NetBSD system for kernel compilation. Then download the 8.0 source, build
> the cross compilation tools, build the kernel. It's really easy to do. Ask
> here if you need help.
Thanks, I started this a couple nights ago and have a kernel built from the netbsd-8 branch. :) (I’ve helped figure out some issues with hp300 on some systems earlier.)
> Then you should be able to do some first debugging yourself. Don't expect
> that others do that for you, when they don't own the hardware. :)
> I would start looking in: src/sys/arch/ofppc/pci/ofwpci.c
Oh, I don’t expect folks to debug for me. I was just hoping that if there’s anything obvious people would be able to point it out so I could try it. For example, starting to look in that file. I don’t know my way around the NetBSD codebase well. :)
> For a start insert a printf() before and after init_ofppc_interrupt() to see
> whether the OpenPIC initialization returned. If that worked move the
> printf() further down in the function, until you can locate the region were
> it hangs. For example pci_configure_bus() would be my next guess. Finally
> config_found_ia() starts the auto-configuration of all PCI devices on the
> ofwpci bus.
>
> Good luck!
Thanks! I’ll put in some logging.
A couple more questions:
1. How do I actually create the floppy image to boot? Do I just put a kernel named “netbsd” and ofwboot on a FAT12-format floppy and expect it to work? I don’t have this system in a convenient place to connect to a network at the moment, though that’s not impossible.
2. What arguments should I be passing at boot, and how? It looks like I should be using e.g. “boot -v” at the Open Firmware “ok” prompt, but I don’t recall seeing any difference in the boot messages when doing so. Are boot arguments supposed to be listed at kernel start?
Thanks for the assistance!
— Chris
Home |
Main Index |
Thread Index |
Old Index