Hot HDD on Idle

Bug #668634 reported by Abdusamed Ahmed
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
laptop-mode-tools (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: laptop-mode-tools

I can't change mine though with the help of laptop-mode-tools.. i was able stop it spinning all the time but it still averages around 50 degree!!!!! I know its hot.

this is what i get after run the acoustic command

Its a bug which needs to fixed before my HDD get fired!
[code]
~$ sudo hdparm -M 128 /dev/sda

/dev/sda:
 setting acoustic management to 128
 HDIO_DRIVE_CMD:ACOUSTIC failed: Input/output error
 HDIO_DRIVE_CMD(identify) failed: Input/output error
~$
[/code]This the info on it

Note I have two physic HD

[code]
bahie@bahie-laptop:~$ sudo hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
    Model Number: TOSHIBA MK4058GSX
    Serial Number: Y8UBP1H0T
    Firmware Revision: FF011M
    Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6
Standards:
    Supported: 8 7 6 5
    Likely used: 8
Configuration:
    Logical max current
    cylinders 16383 16383
    heads 16 16
    sectors/track 63 63
    --
    CHS current addressable sectors: 16514064
    LBA user addressable sectors: 268435455
    LBA48 user addressable sectors: 781422768
    Logical Sector size: 512 bytes
    Physical Sector size: 512 bytes
    device size with M = 1024*1024: 381554 MBytes
    device size with M = 1000*1000: 400088 MBytes (400 GB)
    cache/buffer size = 8192 KBytes
Capabilities:
    LBA, IORDY(can be disabled)
    Queue depth: 32
    Standby timer values: spec'd by Standard, no device specific minimum
    R/W multiple sector transfer: Max = 16 Current = 16
    Advanced power management level: 254
    DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
         Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4
         Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
    Enabled Supported:
       * SMART feature set
            Security Mode feature set
       * Power Management feature set
       * Write cache
       * Look-ahead
       * Host Protected Area feature set
       * WRITE_BUFFER command
       * READ_BUFFER command
       * NOP cmd
       * DOWNLOAD_MICROCODE
       * Advanced Power Management feature set
            SET_MAX security extension
       * 48-bit Address feature set
       * Device Configuration Overlay feature set
       * Mandatory FLUSH_CACHE
       * FLUSH_CACHE_EXT
       * SMART error logging
       * SMART self-test
       * General Purpose Logging feature set
       * WRITE_{DMA|MULTIPLE}_FUA_EXT
       * 64-bit World wide name
       * IDLE_IMMEDIATE with UNLOAD
       * Gen1 signaling speed (1.5Gb/s)
       * Gen2 signaling speed (3.0Gb/s)
       * Native Command Queueing (NCQ)
       * Host-initiated interface power management
       * Phy event counters
       * Idle-Unload when NCQ is active
       * DMA Setup Auto-Activate optimization
            Device-initiated interface power management
       * Software settings preservation
       * SMART Command Transport (SCT) feature set
       * SCT Error Recovery Control (AC3)
       * SCT Features Control (AC4)
       * SCT Data Tables (AC5)
Security:
    Master password revision code = 65534
        supported
    not enabled
    not locked
        frozen
    not expired: security count
    not supported: enhanced erase
    166min for SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 5000039162685611
    NAA : 5
    IEEE OUI : 000039
    Unique ID : 162685611
Checksum: correct
bahie@bahie-laptop:~$ sudo hdparm -I /dev/sdb

/dev/sdb:

ATA device, with non-removable media
    Model Number: TOSHIBA MK3252GSX
    Serial Number: Y8I9COUQT
    Firmware Revision: LV010M
    Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6
Standards:
    Supported: 8 7 6 5
    Likely used: 8
Configuration:
    Logical max current
    cylinders 16383 16383
    heads 16 16
    sectors/track 63 63
    --
    CHS current addressable sectors: 16514064
    LBA user addressable sectors: 268435455
    LBA48 user addressable sectors: 625142448
    Logical Sector size: 512 bytes
    Physical Sector size: 512 bytes
    device size with M = 1024*1024: 305245 MBytes
    device size with M = 1000*1000: 320072 MBytes (320 GB)
    cache/buffer size = 8192 KBytes
Capabilities:
    LBA, IORDY(can be disabled)
    Queue depth: 32
    Standby timer values: spec'd by Standard, no device specific minimum
    R/W multiple sector transfer: Max = 16 Current = 16
    Advanced power management level: 254
    DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
         Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4
         Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
    Enabled Supported:
       * SMART feature set
            Security Mode feature set
       * Power Management feature set
       * Write cache
       * Look-ahead
       * Host Protected Area feature set
       * WRITE_BUFFER command
       * READ_BUFFER command
       * NOP cmd
       * DOWNLOAD_MICROCODE
       * Advanced Power Management feature set
            SET_MAX security extension
       * 48-bit Address feature set
       * Device Configuration Overlay feature set
       * Mandatory FLUSH_CACHE
       * FLUSH_CACHE_EXT
       * SMART error logging
       * SMART self-test
       * General Purpose Logging feature set
       * WRITE_{DMA|MULTIPLE}_FUA_EXT
       * 64-bit World wide name
       * IDLE_IMMEDIATE with UNLOAD
       * Gen1 signaling speed (1.5Gb/s)
       * Native Command Queueing (NCQ)
       * Host-initiated interface power management
       * Phy event counters
       * Idle-Unload when NCQ is active
       * DMA Setup Auto-Activate optimization
            Device-initiated interface power management
       * Software settings preservation
       * SMART Command Transport (SCT) feature set
       * SCT Error Recovery Control (AC3)
       * SCT Features Control (AC4)
       * SCT Data Tables (AC5)
Security:
    Master password revision code = 65534
        supported
    not enabled
    not locked
        frozen
    not expired: security count
    not supported: enhanced erase
    130min for SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50000391637048df
    NAA : 5
    IEEE OUI : 000039
    Unique ID : 1637048df
Checksum: correct
[/code]

Revision history for this message
Abdusamed Ahmed (sir508) wrote :

hdparm v9.15

On Ubuntu Lucid 10.04.1
2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010 x86_64 GNU/Linux

Revision history for this message
Phillip Susi (psusi) wrote :

Is this a desktop or a laptop? 50 degrees is about normal. My disks in my desktop are a few degrees below that but not much.

Changed in laptop-mode-tools (Ubuntu):
status: New → Incomplete
Revision history for this message
Abdusamed Ahmed (sir508) wrote :

Notebook. The solution was to change my laptop-mode-tool configuration file. Now the APM is at 64.... 41 degree average...

Revision history for this message
Phillip Susi (psusi) wrote :

Which value did you change, and what was the temperature before you installed laptop-mode-tools?

Revision history for this message
Abdusamed Ahmed (sir508) wrote :

I ran the lm-profiler. Once after doing work and once after clean boot. Below is the instance of clean boot which ended up with the same result. 'Gvfs-metadata' and 'jdb2/sda5-8' kept on popping up very frequently.

The problem is however, it may seem from the output that the system much have been very quiet, it wasn't. The HDD kept on spinning without showing any indication of slowing down for a break. If I forced them to sleep using the hdparm -Y command, they would instantly start spinning up without even stoping for a second with a 'flush 8.0' or 'flush 0.8' message showing in the terminal with lm-profiler command running.

Though I didn't want to but I decided to disable all the services it asked as 'standard recommendation' which I wanted to consult here before doing because I wanted to maximize complete utilization of laptop-mode-tools customization. Like I wanted to add this to 'configuration-file-control.conf' make my system kinda a bit more 'professional' so nothing is lost instead of simply disabling it!

For the side note, I created a 2 GB swap file after installing Ubuntu, I don't have a dedicated swap partition. I have 4 GIGS of ram too.

What should I do now? If you see my setting in my customized laptop-mode.conf, I haved edited to run laptop-mode-tools on AC also.

~$ sudo lm-profiler
[sudo] password for bahie:
Profiling run started.
Write accesses at 24/600 in lm-profiler run: bash
Write accesses at 30/600 in lm-profiler run: gvfsd-metadata jbd2/sda5-8
Write frequency :
      1 bash
      1 gvfsd-metadata
      1 jbd2/sda5-8
Read frequency :

Profiling run completed.

Program: "anacron"
Reason: standard recommendation (program may not be running)
Init script: /etc/init.d/anacron (GUESSED)

Do you want to disable this service in battery mode? [y/N]: y

Program: "cron"
Reason: standard recommendation (program may not be running)
Init script: /etc/init.d/cron (GUESSED)

Do you want to disable this service in battery mode? [y/N]: y

Program: "atd"
Reason: standard recommendation (program may not be running)
Init script: /etc/init.d/atd (GUESSED)

Do you want to disable this service in battery mode? [y/N]: y

Program: "cupsd"
Reason: listens on network, may not be needed offline.
Init script: /etc/init.d/cups (GUESSED)

Do you want to disable this service in battery mode? [y/N]: y

Program: "master"
Reason: listens on network, may not be needed offline.
Init script: /etc/init.d/hddtemp (GUESSED)

Do you want to disable this service in battery mode? [y/N]: y

Program: "mlnet"
Reason: listens on network, may not be needed offline.
Init script: /etc/init.d/mldonkey-server (GUESSED)

Do you want to disable this service in battery mode? [y/N]: y

Program: "monopd"
Reason: listens on network, may not be needed offline.
Init script: /etc/init.d/monopd (GUESSED)

Do you want to disable this service in battery mode? [y/N]: y

:~$

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for laptop-mode-tools (Ubuntu) because there has been no activity for 60 days.]

Changed in laptop-mode-tools (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.