Subject: Re: Unable to boot new kernels
To: Rob Quinn <rquinn@sec.sprint.net>
From: john heasley <heas@shrubbery.net>
List: port-sparc64
Date: 05/07/2003 12:02:24
Wed, May 07, 2003 at 02:59:56PM -0400, Rob Quinn:
> > ofwboot is unable to load a kernel. I'd suspect build environment.
> 
>  I had that thought too, since I did have a panic once during a build, and I
> had been using the sparcv9 optimization flags to gcc.  That's why I removed my
> tooldir, /usr/obj, the gcc flags (just "-pipe" now), and rebuilt everything.
> And then after that I tried cross-compiling from a working i386 box.  None of
> that seemed to make a difference.
> 
>  I'm trying to upgrade my bootprom to 3.31 now using Sun patch 106121-18,
> but it's failing like:
>    loadfile: reading header
>    elf32_exec: Booting /pci.....
>    .......449a98Illegal Instruction

i suspect there is a problem with the new pipe code on sparc64.  i havent
had time to verify that though, but have had problems with tar through a
pipe.

try rebuilding your kernel without -pipe.