All of lore.kernel.org
 help / color / mirror / Atom feed
* 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; 9+ 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] 9+ 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; 9+ 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] 9+ 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; 9+ 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] 9+ 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; 9+ 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] 9+ 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; 9+ 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] 9+ messages in thread

* Re: Linux 2.6.3 still doesn't boot on UltraSparc I
@ 2004-02-24 14:42 Ben Collins
  2004-02-25  8:28 ` David S. Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Ben Collins @ 2004-02-24 14:42 UTC (permalink / raw)
  To: sparclinux

> > > > 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.

Oooh...that's interesting. It looks like it actually gets all the way
through head.S. The PROMLIB line is from the call to prom_init() in
head.S just before it finally calls start_kernel(), and the the "ARCH:
SUN4U" is in setup_arch(), which is well after head.S has jumped to the
main kernel.

Why it's looping with prom_init(), I'm not sure. Maybe the prom cif
handler and stack aren't getting setup properly. Dave, any ideas?

-- 
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] 9+ messages in thread

* Re: Linux 2.6.3 still doesn't boot on UltraSparc I
  2004-02-24 14:42 Linux 2.6.3 still doesn't boot on UltraSparc I Ben Collins
@ 2004-02-25  8:28 ` David S. Miller
  2004-02-26  9:12 ` Lucas Nussbaum
  2004-02-26 13:08 ` Ben Collins
  2 siblings, 0 replies; 9+ messages in thread
From: David S. Miller @ 2004-02-25  8:28 UTC (permalink / raw)
  To: sparclinux

On Tue, 24 Feb 2004 09:42:45 -0500
Ben Collins <bcollins@debian.org> wrote:

> Why it's looping with prom_init(), I'm not sure. Maybe the prom cif
> handler and stack aren't getting setup properly. Dave, any ideas?

Nothing jumps to my mind, it might even be just looping inside the
OBP itself, ie. in the prom_printf() call.

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

* Re: Linux 2.6.3 still doesn't boot on UltraSparc I
  2004-02-24 14:42 Linux 2.6.3 still doesn't boot on UltraSparc I Ben Collins
  2004-02-25  8:28 ` David S. Miller
@ 2004-02-26  9:12 ` Lucas Nussbaum
  2004-02-26 13:08 ` Ben Collins
  2 siblings, 0 replies; 9+ messages in thread
From: Lucas Nussbaum @ 2004-02-26  9:12 UTC (permalink / raw)
  To: sparclinux

On Wed, Feb 25, 2004 at 12:28:53AM -0800, "David S. Miller" <davem@redhat.com> wrote:
> On Tue, 24 Feb 2004 09:42:45 -0500
> Ben Collins <bcollins@debian.org> wrote:
> 
> > Why it's looping with prom_init(), I'm not sure. Maybe the prom cif
> > handler and stack aren't getting setup properly. Dave, any ideas?
> 
> Nothing jumps to my mind, it might even be just looping inside the
> OBP itself, ie. in the prom_printf() call.

Ok. Now, what's next ? I understand fixing a problem with some very old
Sparcs isn't one of your priorities. Do you want to drop support for
them in 2.6 ? Or there is still something you/we could do to try to fix
this ?

The box is a quadriprocessor with 1.6GB RAM, so we really are interested
in using it : it isn't _that_ slow.

Lucas

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

* Re: Linux 2.6.3 still doesn't boot on UltraSparc I
  2004-02-24 14:42 Linux 2.6.3 still doesn't boot on UltraSparc I Ben Collins
  2004-02-25  8:28 ` David S. Miller
  2004-02-26  9:12 ` Lucas Nussbaum
@ 2004-02-26 13:08 ` Ben Collins
  2 siblings, 0 replies; 9+ messages in thread
From: Ben Collins @ 2004-02-26 13:08 UTC (permalink / raw)
  To: sparclinux

On Thu, Feb 26, 2004 at 10:12:05AM +0100, Lucas Nussbaum wrote:
> On Wed, Feb 25, 2004 at 12:28:53AM -0800, "David S. Miller" <davem@redhat.com> wrote:
> > On Tue, 24 Feb 2004 09:42:45 -0500
> > Ben Collins <bcollins@debian.org> wrote:
> > 
> > > Why it's looping with prom_init(), I'm not sure. Maybe the prom cif
> > > handler and stack aren't getting setup properly. Dave, any ideas?
> > 
> > Nothing jumps to my mind, it might even be just looping inside the
> > OBP itself, ie. in the prom_printf() call.
> 
> Ok. Now, what's next ? I understand fixing a problem with some very old
> Sparcs isn't one of your priorities. Do you want to drop support for
> them in 2.6 ? Or there is still something you/we could do to try to fix
> this ?
> 
> The box is a quadriprocessor with 1.6GB RAM, so we really are interested
> in using it : it isn't _that_ slow.

Well, in the meantime, you can downgrade to silo prior to 1.4.0. Check
http://www.sparc-boot.org/pub/silo/old/

Get one of the silo-loaders tarballs, and unpack it. Put the second.b in
/boot and run "silo -f".

-- 
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] 9+ messages in thread

end of thread, other threads:[~2004-02-26 13:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-24 14:42 Linux 2.6.3 still doesn't boot on UltraSparc I Ben Collins
2004-02-25  8:28 ` David S. Miller
2004-02-26  9:12 ` Lucas Nussbaum
2004-02-26 13:08 ` Ben Collins
  -- strict thread matches above, loose matches on Subject: below --
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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.