Subject: Re: 712/80 panics during boot
To: ITOH Yasufumi <itohy@netbsd.org>
From: Chuck Silvers <chuq@chuq.com>
List: port-hp700
Date: 12/01/2005 08:45:16
On Thu, Dec 01, 2005 at 11:37:33PM +0900, ITOH Yasufumi wrote:
> Hello,
> 
> I'm trying to use -current kernel on 712/80, but it crashes on boot.
> I remember old versions at least reached at "root device" prompt.
> 
> An HPMC (High Priotity Machine Check) occurs, but kernel fails
> to get the HPMC information.  The PIM command on boot ROM prompt
> works, and I found that the HPMC occurs at
> 
> hp700/dev/sti_sgc.c:166:	devtype = bus_space_read_1(ca->ca_iot, romh, 3);

this is due to changes I made a while back to avoid abusing cf_unit.
we've been adding STI revisions one by one to the list of ones that
get the ROM pointer from page0 instead of the hpa, but it has become
obvious that this isn't a great way to handle the issue.  the linux driver
has some logic that searches for the STI ROM that looks much more
robust.  to get around the problem in the short term, you can add
your iodc_revision to the list in sti_sgc_getrom().

-Chuck