[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel



Florian Lohoff wrote:
> On Sun, Nov 18, 2007 at 07:11:53PM +0100, Martin Michlmayr wrote:
> > * Florian Lohoff <flo@rfc822.org> [2007-11-18 19:02]:
> > > Version: 2.6.22-6
> > > the kernel linux-image-2.6.22-3-r4k-ip22_2.6.22-6_mips.deb dies
> > > early on an SGI IP22 (mips) with
> > 
> > That's strange because I booted a kernel just fine when I added the
> > patches to 2.6.22-6.  I'll test the .deb tomorrow.
> 
> Okay - Now we got it:
> 
> SGI IP22 Indigo2 250Mhz fails because of wrong EISA IRQ numbering
> overwriting CPU interrupts discovered by Thomas Bogendoerfer.
> Additionally there is a broken MAP_BASE which causes modules to not
> work.
> 
> 	-#define MAP_BASE               0xc000000000000000
> 	+#define MAP_BASE               0xffffffffc0000000
> 
> Additionally the I2 fails to get the MAC Address from the PROM so we
> end with 00:00:00:00:00 ...
> 
> SGI IP22 Indy r4k 100Mhz will not be able to boot unmodified 64bit
> kernels. There are 64bit erratas for R4000SC Revision 3.0 which
> prohibit running 64bit code without kernel and gcc modifications.
> The only solution will be to run a 32bit kernel. I compiled
> the debian source with debian config except with 32Bit and it works.

Gcc 4.2 has -mfix-r4000 and -mfix-r4400 options which work around some
of those errata. Maybe that's enough to make it work.


Thiemo




Reply to: