Skip to contentSkip to conversation

sata io freeze, 2.6.18 and also 2.6.24 [POSSIBLE SOLUTION]

DISCUSSION [email protected] 2 participants 2 messages Apr 12, 2008 – Apr 14, 2008

lore
Share & tools
lore
#0 lore raw

hi luis,

glad that it worked - but let us better call this a possible workaround, not a solution.

mind that you loose lots of performance with this, because all i/o is handled by the cpu now.

Quoted 2 lines

If everything goes well, I'll reduce the command line in order to narrow the problem further down.

yes, please!

regards
roland

Quoted 104 lines

-----Ursprüngliche Nachricht-----
Von: "Luis Sousa" <[email protected]>
Gesendet: 12.04.08 17:34:39
An: [email protected]
CC: [email protected]
Betreff: Re: sata io freeze, 2.6.18 and also 2.6.24 [POSSIBLE SOLUTION]

Hello all,

Thanks to valuable help from roland, I was able to boot with the following options:

``nosmp ide=nodma libata.dma=0''

after what I ran an agressive stability test for a while, with no problem whatsoever. Maybe it's too soon to say, but I have a good feeling this time. It seems roland figured it out.

If everything goes well, I'll reduce the command line in order to narrow the problem further down.

(and indeed, this is a hyper-threading single core CPU)

Sincerely,
--
Luis Sousa

--- [email protected] escreveu:

Quoted 59 lines

did you try UP-kernel or tried booting with "nosmp" and does that make any difference ?

Quoted 7 lines

This is a 2-processor CPU:

# cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz

most likely this just "appears" as 2-way processor , but iŽm quite sure this is just a single-core CPU, but with HyperThreading enabled.

regards
roland

List:       linux-kernel
Subject:    sata io freeze, 2.6.18 and also 2.6.24
From:       Luis Sousa <ls.luis_sousa () yahoo ! com ! br>
Date:       2008-03-28 22:24:48
Message-ID: 739784.81690.qm () web46009 ! mail ! sp1 ! yahoo ! com

[Download message RAW]

Hello,

I've been having consistent hard system freezes for a long time, every 2 days or so, and finally decided to move to the most recent stable kernel. Unfortunatelly that didn't fix it. The freezes seem to be io-related; they started since I moved my drive to sata. They seem to happen mostly when there's an io-intensive operation, like extracting a big archive; a reboot is needed.

Nothing ever shows up in the logs.

I'm using the following drive:

ATA device, with non-removable media

        Model Number:       MAXTOR STM3160215AS                     
        Serial Number:      6RA2TMJ4
        Firmware Revision:  3.AAD   

Linux localhost 2.6.24.4 #4 SMP Fri Mar 28 14:51:50 BRT 2008 i686 GNU/Linux

This is a 2-processor CPU:

# cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 9
cpu MHz         : 3013.697
cache size      : 1024 KB
Quoted 10 lines

(same goes for processor : 1)

Sincerely,
--
Luis Sousa
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066

Quoted 4 lines

Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/

_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179

#1 lore raw

Re: sata io freeze, 2.6.18 and also 2.6.24 [the real culprit]

Hello,

I did as planned, and I dare to say now, with relative certainty, that the reason I have had all these instabilities, including application crashes, sneaky corrupt backups, and the dreaded freezes every other day was SMP and HyperThreading not working properly. Booting with nosmp gives me a stable system. Booting only with the sata-related arguments had the system freeze overnight.

Sincerely,
--
Luis Sousa

--- [email protected] escreveu:

Quoted 59 lines

hi luis,

glad that it worked - but let us better call this a possible workaround, not a solution.

mind that you loose lots of performance with this, because all i/o is handled by the cpu now.

Quoted 2 lines

If everything goes well, I'll reduce the command line in order to narrow the problem further down.

yes, please!

regards
roland

Quoted 24 lines

-----Ursprüngliche Nachricht-----
Von: "Luis Sousa" <[email protected]>
Gesendet: 12.04.08 17:34:39
An: [email protected]
CC: [email protected]
Betreff: Re: sata io freeze, 2.6.18 and also 2.6.24 [POSSIBLE SOLUTION]

Hello all,

Thanks to valuable help from roland, I was able to boot with the following options:

``nosmp ide=nodma libata.dma=0''

after what I ran an agressive stability test for a while, with no problem whatsoever. Maybe it's too soon to say, but I have a good feeling this time. It seems roland figured it out.

If everything goes well, I'll reduce the command line in order to narrow the problem further down.

Quoted 9 lines

(and indeed, this is a hyper-threading single core CPU)

Sincerely,
--
Luis Sousa

--- [email protected] escreveu:

Quoted 1 line

did you try UP-kernel or tried booting with "nosmp" and does that make any difference

?

Quoted 9 lines
Quoted 9 lines
Quoted 8 lines

This is a 2-processor CPU:

# cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
Quoted 55 lines
Quoted 1 line
Quoted 1 line

most likely this just "appears" as 2-way processor , but i´m quite sure this is just

a

Quoted 53 lines
Quoted 53 lines

single-core CPU, but with HyperThreading enabled.

regards
roland

List:       linux-kernel
Subject:    sata io freeze, 2.6.18 and also 2.6.24
From:       Luis Sousa <ls.luis_sousa () yahoo ! com ! br>
Date:       2008-03-28 22:24:48
Message-ID: 739784.81690.qm () web46009 ! mail ! sp1 ! yahoo ! com

[Download message RAW]

Hello,

I've been having consistent hard system freezes for a long time, every 2 days or so, and finally decided to move to the most recent stable kernel. Unfortunatelly that didn't fix it. The freezes seem to be io-related; they started since I moved my drive to sata. They seem to happen mostly when there's an io-intensive operation, like extracting a big archive; a reboot is needed.

Nothing ever shows up in the logs.

I'm using the following drive:

ATA device, with non-removable media

        Model Number:       MAXTOR STM3160215AS                     
        Serial Number:      6RA2TMJ4
        Firmware Revision:  3.AAD   

Linux localhost 2.6.24.4 #4 SMP Fri Mar 28 14:51:50 BRT 2008 i686 GNU/Linux

This is a 2-processor CPU:

# cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 9
cpu MHz         : 3013.697
cache size      : 1024 KB

(same goes for processor : 1)

Sincerely,
--
Luis Sousa

Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/