Subject: Re: NetBSD 1.4N/pmax not bootable on 5000/133
To: None <port-pmax@netbsd.org>
From: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
List: port-pmax
Date: 11/19/1999 10:16:03
>> Sorry to disappoint you, but my DS3100 fails to boot with a 1.4O kernel.
>> A 3100-only kernel fails to compile due to a dangling reference to
>> tcfb_cnattach in sys/arch/pmax/dev/findcons.c . Putting #if NTC > 0...#endif
>> around the offending lines lets it compile. But either this kernel, or
>> a GENERIC kernel from the same sources (1999/11/17) fails to detect
>> kn01bus0 at mainbus0, resulting in a panic from cpu_initclocks. I also
>> noted that both 1.4O kernels (custom and generic) called this machine a
>> 2100, while the release-branch kernel correctly identified it as a 3100.
>
> It's clearly helpful to me. Thank you for pointing the error. The fix
> should be easy.
Ahh, silly me. In ibus_pmax_match()::ibus/ibus_pmax.c,
if (systype != DS_PMAX || systype != DS_MIPSMATE)
return 0;
There is a premitive error in the case analysis. || should be &&.
I will remove findcons.c in near future.
Tohru Nishimura