Skip to contentSkip to conversation

N Class SMP pb ? (follow up)

parisc-linux Joel Soete 3 participants 3 messages Sep 25, 2003

lore
Share & tools
lore

Joel Soete

author
#0 lore raw

Hi all,

Trying to continue investigation, I puted a printk at the begining of handle_interruption() to get just the interruption's 'code' managed.

As already mentionned in previous mail that I could read many 6, 15 (but it seems to be normal: e
en in UP kernel those interruption occurs) but
(most interesting) it is the very first time that I got the message making failled the kernel:
[...]
handle_interruption(26, ...).
SMP CALL FUNCTION TIMED OUT (CPU=1)
handle_interruption(26, ...).

Stack dump:

[...]

(unfortunately I couldn't grab this dump :( )

Could this be a pb with sync between cpu time ref? (because timeout = jiffies
+ HZ)

I have also a look for where this function is called but never see its return code tested to launch a 'stack dump' and a stop of system?

Thanks in advance for help,
Joel

PS: I don't know if it is important but the two cpus on this server are located in slot 1 and 3 (not in slot 1 and 2 as we would logicaly expect)

-------------------------------------------------------------------------
L'Internet rapide, c'est pour tout le monde. Tiscali ADSL, 19,50 Euro pendant 3 mois! http://reg.tiscali.be/default.asp?lg=fr

#1 lore raw

They are in the right slots...N Class CPU loading in order: 1,3,5,7,0,2,4,6. If you are looking at the back of the machine with the rear cover open, the two cpus should be in the left two slot. First memory carrier should be in the right most slot and loaded toward the left. I should know since I just had to tear apart an entire N to upgrade it from 6 550Mhz cpus to 8 750Mhz cpus. Takes about 3 hours and it requires a system board change. The N has 3 system boards: an A, a B, and a C rev. "A" is for 360-440. "B" is for 360-550. And the "C" is for the 650-750, but I'm sure it would accept all the processors slower than 650 too with the right speed setting on the dip switches.

derek

Joel Soete <[email protected]> wrote:
Hi all,

Trying to continue investigation, I puted a printk at the begining of handle_interruption() to get just the interruption's 'code' managed.

As already mentionned in previous mail that I could read many 6, 15 (but it seems to be normal: e
en in UP kernel those interruption occurs) but
(most interesting) it is the very first time that I got the message making failled the kernel:
[...]
handle_interruption(26, ...).
SMP CALL FUNCTION TIMED OUT (CPU=1)
handle_interruption(26, ...).

Stack dump:

[...]

(unfortunately I couldn't grab this dump :( )

Could this be a pb with sync between cpu time ref? (because timeout = jiffies
+ HZ)

I have also a look for where this function is called but never see its return code tested to launch a 'stack dump' and a stop of system?

Thanks in advance for help,
Joel

PS: I don't know if it is important but the two cpus on this server are located in slot 1 and 3 (not in slot 1 and 2 as we would logicaly expect)

-------------------------------------------------------------------------
L'Internet rapide, c'est pour tout le monde. Tiscali ADSL, 19,50 Euro pendant 3 mois! http://reg.tiscali.be/default.asp?lg=fr

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

#2 lore raw
In reply to Joel Soete

On Thu, Sep 25, 2003 at 04:56:26PM +0200, Joel Soete wrote:
...

Quoted 2 lines

As already mentionned in previous mail that I could read many 6, 15 (but it seems to be normal in UP kernel those interruption occurs)

Yes - 6 is ITLB miss and 15 is Data TLB miss.

Quoted 4 lines

but (most interesting) it is the very first time that I got the message making failed the kernel:
[...]
handle_interruption(26, ...).

26 is "Data Memory Access rights Trap".
This sounds normal for Copy-On-Write.

Quoted 1 line

SMP CALL FUNCTION TIMED OUT (CPU=1)

The IPI handler will time out if the other CPU doesn't ack the function call with in a second. This is bad. It means either other CPU never got the interrupt (locked up with I-bit off) or the "unstarted_count" isn't coherent between the CPUs.

Quoted 4 lines

handle_interruption(26, ...).

Could this be a pb with sync between cpu time ref? (because timeout = jiffies + HZ)

I don't think so since jiffies is a global.
And it's always be measured on the same CPU.

Quoted 2 lines

I have also a look for where this function is called but never see its return code tested to launch a 'stack dump' and a stop of system?

You need to find out who is using smp_call_function() and which function they are trying to invoke. I suspect it's coming from mm/slab.c but would know which of the three it might be.

grant