Linux freezes randomly

Eduardo Robles Elvira edulix at gmail.com
Tue Feb 27 18:34:50 UTC 2007


Hi,

My kubuntu seems to work right, but sometimes it just gets frozen. There are 
two places where it can freeze: most normally when booting. But sometimes it 
happens when I'm already in KDE. First music stops to sound. Then only mouse 
moves but the rest of Xorg is frozen (it doesn't answer to mouse clicks, nor 
keyboard, not even mouse overs) and finally mouse freezes. This could be 
something related to ATI propietary driver though, I don't know.

It annoys me badly that it freezes in the boot process, today I had to try to 
boot 5 times before it wanted to boot. It's at the beguinning of the boot 
process. I've seen in /var/log/messages this error repeated:

Feb 25 19:44:02 sinpalo kernel: [17179579.908000] hda: task_no_data_intr: 
status=0x51 { DriveReady SeekComplete Error }
Feb 25 19:44:02 sinpalo kernel: [17179579.908000] hda: task_no_data_intr: 
error=0x04 { DriveStatusError }
Feb 25 19:44:02 sinpalo kernel: [17179579.908000] ide: failed opcode was: 0x37

Though I must say that this doesn't correspond to a "false boot try" because 
when it gets frozen, the kernel output doesn't *ever* get logged 
in /var/log/messages.

I started suspecting that the HD is the problem, but this is a (2 months) new 
laptop (Samsung R40)... I've installed smartmon-tools and in Conveyance and 
Short test no errors appeared. This is the output of smartctl -a /dev/hda:

--------------------


smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     FUJITSU MHV2120AH PL
Serial Number:    NT9MT69257UT
Firmware Version: 004200A0
User Capacity:    112,403,595,264 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 4a
Local Time is:    Tue Feb 27 19:30:43 2007 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine 
completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                 ( 647) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off 
support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  82) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   100   100   046    Pre-fail  
Always       -       26843
  2 Throughput_Performance  0x0005   100   100   030    Pre-fail  
Offline      -       31785448
  3 Spin_Up_Time            0x0003   100   100   025    Pre-fail  
Always       -       0
  4 Start_Stop_Count        0x0032   099   099   000    Old_age   
Always       -       452
  5 Reallocated_Sector_Ct   0x0033   100   100   024    Pre-fail  
Always       -       8589934592000
  7 Seek_Error_Rate         0x000f   100   100   047    Pre-fail  
Always       -       2964
  8 Seek_Time_Performance   0x0005   100   100   019    Pre-fail  
Offline      -       4
  9 Power_On_Hours          0x0032   097   097   000    Old_age   
Always       -       5716789
 10 Spin_Retry_Count        0x0013   100   100   020    Pre-fail  
Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   
Always       -       449
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   
Always       -       6
193 Load_Cycle_Count        0x0032   099   099   000    Old_age   
Always       -       25821
194 Temperature_Celsius     0x0022   100   100   000    Old_age   
Always       -       38 (Lifetime Min/Max 14/42)
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   
Always       -       532
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   
Always       -       456654848
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   
Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   
Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   
Always       -       0
200 Multi_Zone_Error_Rate   0x000f   100   100   060    Pre-fail  
Always       -       5784
203 Run_Out_Cancel          0x0002   100   100   000    Old_age   
Always       -       429508721945

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  
LBA_of_first_error
# 1  Conveyance offline  Completed without error       00%      1587         -
# 2  Short offline       Completed without error       00%      1587         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

--------------------

One strange thing is that Multi_Zone_Error_Rate, Raw_Read_Error_Rate and 
Hardware_ECC_Recovered change all the time and some of them should be 
normally 0. At least that's the case in the example outputs I've read over 
the net, but I don't know much at all about this.

I should mention that this have been happening since I got my hands in the 
computer and I don't have windows installed to contrast if it's a software or 
hardware problem, nor I have much time/space/will to install it so I'd like 
to stick with ubuntu as much as I can.

Thanks for your time,
        Eduardo Robles Elvira.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20070227/08488326/attachment.sig>


More information about the kubuntu-users mailing list