Skip to contentSkip to conversation

Linux 2.6.3 still doesn't boot on UltraSparc I

DISCUSSION Ben Collins 3 participants 4 messages Feb 24, 2004 – Feb 26, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 25 lines
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

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.

Quoted 1 line

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?

Signature · 4 lines
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
#1 lore raw
Quoted 2 lines · On Tue, 24 Feb 2004 09:42:45 -0500 Ben Collins <[email protected]> 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.

#2 lore raw
In reply to Ben Collins
Quoted 8 lines · David S. Miller
Quoted 2 lines · On Tue, 24 Feb 2004 09:42:45 -0500 Ben Collins <[email protected]> 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

#3 lore raw
In reply to Ben Collins
Quoted 10 lines · Lucas Nussbaum
Quoted 8 lines · David S. Miller
Quoted 2 lines · On Tue, 24 Feb 2004 09:42:45 -0500 Ben Collins <[email protected]> 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.

Quoted 7 lines

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

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