← Back to team overview

kernel-packages team mailing list archive

[Bug 1247806] Re: Kernel resetting SATA link

 

I figured that for me the error messages disappear if you set the SATA
mode to 'Compatibility Mode' instead of 'AHCI' in the BIOS. Ubuntu still
booted after this change. I could not find a relation to the Optimus
Graphics switch as reported at
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/888764.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1247806

Title:
  Kernel resetting SATA link

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  On Ubuntu 13.10 I encounter kernel reseting SATA link in connection
  with temporary system freezes (KDE lags). Such a bug has previously
  been reported here
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/888764 for the
  same hardware but older software. This behavior has also been reported
  here https://lkml.org/lkml/2011/10/26/11 for same hardware and in
  connection with unresponsive KDE. For me it occurs if the system is
  under high load.

  In such situations dmesg says repeatedly:

  [23391.818508] ata4: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen
  [23391.818513] ata4: irq_stat 0x00000040, connection status changed
  [23391.818516] ata4: SError: { CommWake DevExch }
  [23391.818523] ata4: limiting SATA link speed to 1.5 Gbps
  [23391.818525] ata4: hard resetting link
  [23392.538993] ata4: SATA link down (SStatus 0 SControl 310)
  [23392.554893] ata4: EH complete

  
  Smart does not report any critical errors:

  === START OF INFORMATION SECTION ===
  Model Family:     Seagate Momentus Thin
  Device Model:     ST320LT007-9ZV142
  Serial Number:    W0Q4FQRR
  LU WWN Device Id: 5 000c50 04998da73
  Firmware Version: 0004LVM1
  User Capacity:    320'072'933'376 bytes [320 GB]
  Sector Sizes:     512 bytes logical, 4096 bytes physical
  Rotation Rate:    7242 rpm
  Device is:        In smartctl database [for details use: -P show]
  ATA Version is:   ATA8-ACS T13/1699-D revision 4
  SATA Version is:  SATA 2.6, 3.0 Gb/s (current: 3.0 Gb/s)
  Local Time is:    Mon Nov  4 12:55:25 2013 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
  See vendor-specific Attribute list for marginal Attributes.

  General SMART Values:
  Offline data collection status:  (0x00) Offline data collection activity
                                          was never started.
                                          Auto Offline Data Collection: Disabled.
  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:                (    0) seconds.
  Offline data collection
  capabilities:                    (0x73) SMART execute Offline immediate.
                                          Auto Offline data collection on/off support.
                                          Suspend Offline collection upon new
                                          command.
                                          No 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:        (   1) minutes.
  Extended self-test routine
  recommended polling time:        (  63) minutes.
  Conveyance self-test routine
  recommended polling time:        (   2) minutes.
  SCT capabilities:              (0x303b) SCT Status supported.
                                          SCT Error Recovery Control supported.
                                          SCT Feature Control supported.
                                          SCT Data Table supported.

  SMART Attributes Data Structure revision number: 10
  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   113   099   034    Pre-fail  Always       -       55387800
    3 Spin_Up_Time            0x0003   098   098   000    Pre-fail  Always       -       0
    4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       768
    5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
    7 Seek_Error_Rate         0x000f   074   060   030    Pre-fail  Always       -       8647632770
    9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       3216 (255 5 0)
   10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
   12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       727
  184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
  187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
  188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       1
  189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
  190 Airflow_Temperature_Cel 0x0022   064   035   045    Old_age   Always   In_the_past 36 (0 25 36 25 0)
  191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       57
  192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       41
  193 Load_Cycle_Count        0x0032   058   058   000    Old_age   Always       -       85612
  194 Temperature_Celsius     0x0022   036   065   000    Old_age   Always       -       36 (0 15 0 0 0)
  195 Hardware_ECC_Recovered  0x001a   053   043   000    Old_age   Always       -       55387800
  196 Reallocated_Event_Count 0x000f   097   097   030    Pre-fail  Always       -       2695 (19309 0)
  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
  250 Read_Error_Retry_Rate   0x0000   001   001   000    Old_age   Offline      -       10975
  251 Unknown_Attribute       0x0000   100   001   000    Old_age   Offline      -       31
  252 Unknown_Attribute       0x0000   100   001   000    Old_age   Offline      -       0
  254 Free_Fall_Sensor        0x0032   100   100   000    Old_age   Always       -       0

  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  Extended offline    Completed without error       00%      3187         -
  # 2  Short offline       Completed without error       00%      1689         -
  # 3  Vendor (0x50)       Completed without error       00%         0         -

  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.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: linux-image-3.11.0-12-generic 3.11.0-12.19
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  andreas    2423 F.... pulseaudio
  Date: Mon Nov  4 12:39:38 2013
  HibernationDevice: RESUME=UUID=16eda186-8469-4386-a576-faabb34feb18
  InstallationDate: Installed on 2013-05-24 (163 days ago)
  InstallationMedia: Kubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MachineType: LENOVO 4243EJ9
  MarkForUpload: True
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=b7dd00d8-27dd-4b60-9cad-281f63d28e19 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.11.0-12-generic N/A
   linux-backports-modules-3.11.0-12-generic  N/A
   linux-firmware                             1.116
  SourcePackage: linux
  UpgradeStatus: Upgraded to saucy on 2013-10-17 (17 days ago)
  dmi.bios.date: 12/06/2011
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 8AET56WW (1.36 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 4243EJ9
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr8AET56WW(1.36):bd12/06/2011:svnLENOVO:pn4243EJ9:pvrThinkPadT520:rvnLENOVO:rn4243EJ9:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 4243EJ9
  dmi.product.version: ThinkPad T520
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1247806/+subscriptions


References