Skip to contentSkip to conversation

Ultrasparc 2 SMP 2.4.26-pre4 fails

DISCUSSION C.Newport 2 participants 4 messages Mar 18, 2004 – Mar 19, 2004

lore
Share & tools
lore

C.Newport

author
#0 lore raw

I am having problems getting 2.4.x to work in SMP mode on my Ultra2 Creator. 2x 300MHz, 384Mb

The story so far :-
System has 2.2.20-pre2 SMP installed, this works fine. Built 2.4.25 using default config, boot fails locking up solid at
Remapping the kernel... done.
Booting Linux...
Starting CPU 1...

At this point Stop-A does not work, so the lockup is really tight. Reboot with maxcpus=1 works fine.

Patch to 2.4.26-pre4, rebuild, same symptoms.
gcc --version
2.95.3

Am I wasting my time trying to get 2.4.x SMP working ?, checking back in the list, others seem to have had similar problems but the fixes seem to refer to 2.6 only.

I could do more testing but this would need the latest SILO, the above kernels are stripped because the default config is too big.

Thanks,
Chris Newport

#1 lore raw
Quoted 3 lines · On Thu, 18 Mar 2004 01:00:54 +0000 "C.Newport" <[email protected]> wrote:

Am I wasting my time trying to get 2.4.x SMP working ?, checking back in the list, others seem to have had similar problems but the fixes seem to refer to 2.6 only.

Nope, it should work like a charm. Boot with "-p" and see if anymore diags get spit out.

author
#2 lore raw
In reply to C.Newport
Quoted 9 lines · David S. Miller

On Thu, 18 Mar 2004 01:00:54 +0000

Quoted 3 lines · C.Newport

Am I wasting my time trying to get 2.4.x SMP working ?, checking back in the list, others seem to have had similar problems but the fixes seem to refer to 2.6 only.

Nope, it should work like a charm. Boot with "-p" and see if anymore diags get spit out.

PROMLIB: Sun IEEE Boot Prom 3.11.2 1997/12/05 10:25
<4>Linux version 2.4.26-pre4 (root@ultra2) (gcc version egcs-2.92.11 19980921 (gcc2 ss-980609 experimental)) #2 SMP Wed Mar 17 22:46:47 GMT 2004 <ARCH>: SUN4U
ARCH: SUN4U
Ethernet address: 08:00:20:9b:f1:8d
Remapping the kernel... done.
On node 0 totalpages: 48539
zone(0) 163745 pages.
zone(1) 0 pages.
zone(2) 0 pages.
Booting Linux...
Found CPU 0 (nodeð0661ac,mid=0)
Found CPU 1 (nodeð066518,mid=1)
Found 2 CPU prom device tree node(s).
Kernel command line: root=/dev/sda1 ro -p
Console: colour dummy device 80x25
Calibrating delay loop... 591.46 BogoMIPS
Memory: 372872k available (2280k kernel code, 576k data,168k init) [fffff80000000000,0000000004ff42000]
Dentry cache hash table entries: 65536 (order: 7, 1048576 bytes) Inode cache hash table entries: 32768 (order: 6, 524288 bytes) Mount cache hash table entries: 512 (order: 0, 8192 bytes)
Buffer cache hash table entries: 16384 (order: 4, 131072 bytes) Page-cache hash table entries: 65536 (order: 6, 524288 bytes) Posix conformance testing by UNIFIX
Entering UltraSMPenguin mode...
Starting CPU 1...

Should I try upgrading to the same compiler, libs, and toolset as you or rip some stuff out of the config so that I do not need to strip the kernel ?.

author
#3 lore raw
In reply to C.Newport
Quoted 10 lines · C.Newport
Quoted 9 lines · David S. Miller

On Thu, 18 Mar 2004 01:00:54 +0000

Quoted 3 lines · C.Newport

Am I wasting my time trying to get 2.4.x SMP working ?, checking back in the list, others seem to have had similar problems but the fixes seem to refer to 2.6 only.

Nope, it should work like a charm. Boot with "-p" and see if anymore diags get spit out.

Progress :-
I have stripped out all non-esentials from the default config and SMP now works. Looks like I have a nice time-consuming job of putting things back until it breaks again.