[parisc-linux] a pretty big change

John David Anglin dave@hiauly1.hia.nrc.ca
Sun, 12 Dec 1999 12:54:56 -0500 (EST)


> 
> > That happens pretty frequently to me but I've not tracked down why
> > it happens.  Did you try holding the TOC button in for several seconds?
> > On some workstations I've been told that generates a hard reset.
> 
> TOC results in (providing that the checksum passes) transfer of control
> to a routine pointed at from page 0.  If something is trashing that, and
> the checksum'ed length is set to 0, then you'll branch off into the ozone.
> 
> If the checksum fails, then you get the PDC default of rebooting.
> 
> Don't know if that's your problem, but it's probably worth checking into
> whether something is trashing physical address 8 (TOC vector - 0xc is the
> length of the checksum.)

I believe that I have located the cause of the problem.  The real mode
code in the kernel startup used the stack pointer passed from the system
loader.  The initial stack pointer passed by the hpux loader is 0.
This caused some items in PAGE0 to be trashed, although it is not clear
that the TOC vector itself was being trashed.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)