linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.3-rc2 fails to boot with "Illegal Instruction" on sparc64
@ 2004-02-10 16:32 Lucas Nussbaum
  2004-02-23 13:32 ` Linux 2.6.3 still doesn't boot on UltraSparc I Lucas Nussbaum
  0 siblings, 1 reply; 6+ messages in thread
From: Lucas Nussbaum @ 2004-02-10 16:32 UTC (permalink / raw)
  To: linux-kernel

[ Please Cc me as I'm not subscribed to the list ]

Hi,

Linux 2.6.3-rc2 fails to boot on sparc64. 2.6.2 doesn't boot neither.

The output is :
Allocated 8 Megs of memory at 0x4000000 for kernel

Loaded kernel version 2.6.3    <--- SILO message
Illegal Instruction
{0} ok 

2.6.1 boots without any problem. 
silo v. 1.4.4

We used gcc 3.3 to compile the kernel. Same issue with gcc 3.2.
2.6.1 compiled with exactly the same build environment does boot.

The box is a Sun Entreprise 4000.
/proc/cpuinfo:
cpu             : TI UltraSparc I   (SpitFire)
fpu             : UltraSparc I integrated FPU
promlib         : Version 3 Revision 2
prom            : 3.2.4
type            : sun4u
ncpus probed    : 4
ncpus active    : 4
Cpu0Bogo        : 333.41
Cpu0ClkTck      : 0000000009f437c0
Cpu1Bogo        : 333.41
Cpu1ClkTck      : 0000000009f437c0
Cpu4Bogo        : 333.41
Cpu4ClkTck      : 0000000009f437c0
Cpu5Bogo        : 333.41
Cpu5ClkTck      : 0000000009f437c0
MMU Type        : Spitfire
State:
CPU0:           online
CPU1:           online
CPU4:           online
CPU5:           online

Any clues ?
Any other useful information I could provide ?
-- 
Lucas Nussbaum
Club GNU/Linux
ENSIMAG - Departement Telecommunications

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Linux 2.6.3 still doesn't boot on UltraSparc I
  2004-02-23 13:32 ` Linux 2.6.3 still doesn't boot on UltraSparc I Lucas Nussbaum
@ 2004-02-23 13:25   ` Ben Collins
  2004-02-23 15:06     ` Lucas Nussbaum
  0 siblings, 1 reply; 6+ messages in thread
From: Ben Collins @ 2004-02-23 13:25 UTC (permalink / raw)
  To: Lucas Nussbaum; +Cc: linux-kernel

On Mon, Feb 23, 2004 at 02:32:13PM +0100, Lucas Nussbaum wrote:
> Hi,
> 
> As we reported in [1], Linux 2.6.(2|3) doesnt boot on sparc64. We traced the
> problem back to some changes in arch/sparc64/kernel/head.S (2.6.3 does
> boot with 2.6.1's head.S).
> 
> [1] http://marc.theaimsgroup.com/?l=linux-kernel&m=107643106916202&w=2
> 
> output :
> Allocated 8 Megs of memory at 0x4000000 for kernel
> Loaded kernel version 2.6.3    <--- SILO message
> Illegal Instruction
> {0} ok 
> 
> After a discussion with Ben Collins, it seems that only UltraSparc I are
> affected. Could somebody check the new head.S's assembly code ? We are a
> bit short here on sparc64 ASM...

So backing down to silo < 1.4.0 works with the new head.S on UltraSPARC
I? I don't think the problem itself is in head.S. Changing that would
force silo 1.4.x to not keep the kernel in high memory (would copy it
back down to 0x4000 where the old silo would have put it). I am guessing
the problem is elsewhere.

Try this, keep the new head.S and newer SILO, and edit head.S so that
"HdrS version" is 0x202 instead of 0x300. See if that boots for you
(would confirm my suspicion).

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Linux 2.6.3 still doesn't boot on UltraSparc I
  2004-02-10 16:32 2.6.3-rc2 fails to boot with "Illegal Instruction" on sparc64 Lucas Nussbaum
@ 2004-02-23 13:32 ` Lucas Nussbaum
  2004-02-23 13:25   ` Ben Collins
  0 siblings, 1 reply; 6+ messages in thread
From: Lucas Nussbaum @ 2004-02-23 13:32 UTC (permalink / raw)
  To: linux-kernel

Hi,

As we reported in [1], Linux 2.6.(2|3) doesnt boot on sparc64. We traced the
problem back to some changes in arch/sparc64/kernel/head.S (2.6.3 does
boot with 2.6.1's head.S).

[1] http://marc.theaimsgroup.com/?l=linux-kernel&m=107643106916202&w=2

output :
Allocated 8 Megs of memory at 0x4000000 for kernel
Loaded kernel version 2.6.3    <--- SILO message
Illegal Instruction
{0} ok 

After a discussion with Ben Collins, it seems that only UltraSparc I are
affected. Could somebody check the new head.S's assembly code ? We are a
bit short here on sparc64 ASM...

Please tell us how we can help.

Thank you,
-- 
Lucas Nussbaum
Club GNU/Linux
ENSIMAG - Departement Telecommunications

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Linux 2.6.3 still doesn't boot on UltraSparc I
  2004-02-23 13:25   ` Ben Collins
@ 2004-02-23 15:06     ` Lucas Nussbaum
  2004-02-23 15:45       ` Ben Collins
  0 siblings, 1 reply; 6+ messages in thread
From: Lucas Nussbaum @ 2004-02-23 15:06 UTC (permalink / raw)
  To: Ben Collins; +Cc: linux-kernel, mathieu.castet, tester, alban.crequy

On Mon, Feb 23, 2004 at 08:25:02AM -0500, Ben Collins <bcollins@debian.org> wrote:
> So backing down to silo < 1.4.0 works with the new head.S on UltraSPARC
> I? I don't think the problem itself is in head.S. Changing that would
> force silo 1.4.x to not keep the kernel in high memory (would copy it
> back down to 0x4000 where the old silo would have put it). I am guessing
> the problem is elsewhere.
> 
> Try this, keep the new head.S and newer SILO, and edit head.S so that
> "HdrS version" is 0x202 instead of 0x300. See if that boots for you
> (would confirm my suspicion).

It boots correctly this way. What can we do to help now ?

Lucas

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Linux 2.6.3 still doesn't boot on UltraSparc I
  2004-02-23 15:06     ` Lucas Nussbaum
@ 2004-02-23 15:45       ` Ben Collins
  2004-02-24 12:57         ` Lucas Nussbaum
  0 siblings, 1 reply; 6+ messages in thread
From: Ben Collins @ 2004-02-23 15:45 UTC (permalink / raw)
  To: Lucas Nussbaum; +Cc: linux-kernel, mathieu.castet, tester, alban.crequy

On Mon, Feb 23, 2004 at 04:06:10PM +0100, Lucas Nussbaum wrote:
> On Mon, Feb 23, 2004 at 08:25:02AM -0500, Ben Collins <bcollins@debian.org> wrote:
> > So backing down to silo < 1.4.0 works with the new head.S on UltraSPARC
> > I? I don't think the problem itself is in head.S. Changing that would
> > force silo 1.4.x to not keep the kernel in high memory (would copy it
> > back down to 0x4000 where the old silo would have put it). I am guessing
> > the problem is elsewhere.
> > 
> > Try this, keep the new head.S and newer SILO, and edit head.S so that
> > "HdrS version" is 0x202 instead of 0x300. See if that boots for you
> > (would confirm my suspicion).
> 
> It boots correctly this way. What can we do to help now ?

Can you enable CONFIG_DEBUG_BOOTMEM and boot with "linux -p"?

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Linux 2.6.3 still doesn't boot on UltraSparc I
  2004-02-23 15:45       ` Ben Collins
@ 2004-02-24 12:57         ` Lucas Nussbaum
  0 siblings, 0 replies; 6+ messages in thread
From: Lucas Nussbaum @ 2004-02-24 12:57 UTC (permalink / raw)
  To: Ben Collins; +Cc: linux-kernel, matthieu.castet, tester, alban.crequy

On Mon, Feb 23, 2004 at 10:45:49AM -0500, Ben Collins <bcollins@debian.org> wrote:
> On Mon, Feb 23, 2004 at 04:06:10PM +0100, Lucas Nussbaum wrote:
> > On Mon, Feb 23, 2004 at 08:25:02AM -0500, Ben Collins <bcollins@debian.org> wrote:
> > > So backing down to silo < 1.4.0 works with the new head.S on UltraSPARC
> > > I? I don't think the problem itself is in head.S. Changing that would
> > > force silo 1.4.x to not keep the kernel in high memory (would copy it
> > > back down to 0x4000 where the old silo would have put it). I am guessing
> > > the problem is elsewhere.
> > > 
> > > Try this, keep the new head.S and newer SILO, and edit head.S so that
> > > "HdrS version" is 0x202 instead of 0x300. See if that boots for you
> > > (would confirm my suspicion).
> > 
> > It boots correctly this way. What can we do to help now ?
> 
> Can you enable CONFIG_DEBUG_BOOTMEM and boot with "linux -p"?

Here is the output :

boot: linux -p
Allocated 8 Megs of memory at 0x4000000 for kernel
Kernel doesn't support loading to high memory, relocating done.
Loaded kernel version 2.6.3

PROMLIB: Sun IEEE Boot Prom 3.2.4 1996/05/30 11:17
Linux version 2.6.3 (root@ensilinx8) (gcc version 3.3.3 20040125 (prerelease) (Debian)) #4 SMP [...]
ARCH: SUN4U
PROMLIB: Sun IEEE Boot Prom 3.2.4 1996/05/30 11:17
PROMLIB: Sun IEEE Boot Prom 3.2.4 1996/05/30 11:17
PROMLIB: Sun IEEE Boot Prom 3.2.4 1996/05/30 11:17
PROMLIB: Sun IEEE Boot Prom 3.2.4 1996/05/30 11:17
[...]
Looping, had to stop it using Break+A.

The same kernel boots without -p.

Lucas

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-24 12:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-10 16:32 2.6.3-rc2 fails to boot with "Illegal Instruction" on sparc64 Lucas Nussbaum
2004-02-23 13:32 ` Linux 2.6.3 still doesn't boot on UltraSparc I Lucas Nussbaum
2004-02-23 13:25   ` Ben Collins
2004-02-23 15:06     ` Lucas Nussbaum
2004-02-23 15:45       ` Ben Collins
2004-02-24 12:57         ` Lucas Nussbaum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).