Hard drive in Studio XPS 13 and 16 cause a 17-18s resume time

Bug #318978 reported by Mario Limonciello
6
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Tim Gardner

Bug Description

Some of the offered hard drives in the Studio XPS 13, Studio XPS 16 and several other unreleased pieces of hardware can cause resume from suspend to ram to take 17 seconds or more.

It has been identified that this is caused by the hard reset followed by soft reset in ATA_TMOUT_PMP_SRST_WAIT in sata_link_hardreset() (in libata-core.c).

The hard reset timeout is currently set to 1 second. Increasing this to 5 seconds causes the resume to work properly and take a more appropriate amount of time (2-4 seconds total).

Related branches

Revision history for this message
Mario Limonciello (superm1) wrote :
Changed in dell:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Tim Gardner (timg-tpi) wrote :
Changed in linux:
assignee: nobody → timg-tpi
importance: Undecided → Medium
milestone: none → jaunty-alpha-4
status: New → Fix Committed
Revision history for this message
Jerone Young (jerone) wrote :

Tim we should probably have a comment the patch saying "The ATA-6 spec indicates that a drive can take up to 5 seconds".

This way when it goes upstream no one will break it.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (18.6 KiB)

This bug was fixed in the package linux - 2.6.28-5.12

---------------
linux (2.6.28-5.12) jaunty; urgency=low

  [ Ante ]

  * Update drbd to 8.3.0

  [ Dave Airlie ]

  * i915/drm: provide compat defines for userspace for certain struct

  [ Eric Anholt ]

  * drm/i915: Don't double-unpin buffers if we take a signal in
  * drm/i915: Don't complain when interrupted while pinning in execbuffers.
  * drm/i915: Don't allow objects to get bound while VT switched.

  [ Jani Monoses ]

  * Fix webcam having USB ID 0ac8:303b
    - LP: #292086

  [ Jesse Barnes ]

  * drm/i915: set vblank enabled flag correctly across IRQ
  * drm/i915: don't enable vblanks on disabled pipes

  [ Michael Casadevall ]

  * [arm] Fix kexec on ARM by properly calling the relocation function

  [ Tim Gardner ]

  * Enabled CONFIG_PID_NS=y for i386/amd64
  * SAUCE: Increase ATA_TMOUT_PMP_SRST_WAIT to 5 seconds.
    - LP: #318978
  * Update armel versatile config
    - LP: #314789
  * Enabled CONFIG_RT2860=m for i386/amd64
  * Enabled CONFIG_RT2870=m for i386/amd64

  [ Upstream Kernel Changes ]

  * Input: atkbd - add keyboard quirk for HP Pavilion ZV6100 laptop
    - LP: #291878
  * ALSA: hda - Add quirk for another HP dv7
  * ALSA: hda - Add quirk for HP6730B laptop
  * ALSA: caiaq - Fix Oops with MIDI
  * ALSA: hda - Fix typos for AD1882 codecs
  * x86: fix intel x86_64 llc_shared_map/cpu_llc_id anomolies
  * x86: default to SWIOTLB=y on x86_64
  * CIFS: make sure that DFS pathnames are properly formed
  * ring-buffer: prevent false positive warning
  * ring-buffer: fix dangling commit race
  * iwlwifi: use GFP_KERNEL to allocate Rx SKB memory
  * tx493[89]ide: Fix length for __ide_flush_dcache_range
  * tx4939ide: Do not use zero count PRD entry
  * SCSI: eata: fix the data buffer accessors conversion regression
  * USB: emi26: fix oops on load
  * x86, UV: remove erroneous BAU initialization
  * x86: fix incorrect __read_mostly on _boot_cpu_pda
  * vmalloc.c: fix flushing in vmap_page_range()
  * fs: symlink write_begin allocation context fix
  * cgroups: fix a race between cgroup_clone and umount
  * dm raid1: fix error count
  * dm log: fix dm_io_client leak on error paths
  * minix: fix add link's wrong position calculation
  * md: fix bitmap-on-external-file bug.
  * sched_clock: prevent scd->clock from moving backwards, take #2
  * devices cgroup: allow mkfifo
  * SCSI: aha152x_cs: Fix regression that keeps driver from using shared
    interrupts
  * ioat: fix self test for multi-channel case
  * USB: isp1760: use a specific PLX bridge instead of any bdridge
  * USB: isp1760: Fix probe in PCI glue code
  * USB: unusual_devs.h additions for Pentax K10D
  * inotify: fix type errors in interfaces
  * Move compat system call declarations to compat header file
  * Convert all system calls to return a long
  * Rename old_readdir to sys_old_readdir
  * Remove __attribute__((weak)) from sys_pipe/sys_pipe2
  * Make sys_pselect7 static
  * Make sys_syslog a conditional system call
  * System call wrapper infrastructure
  * powerpc: Enable syscall wrappers for 64-bit
  * s390: enable system call wrappers
  * System call wrapper special cases
  * System call wrappers part 0...

Changed in linux:
status: Fix Committed → Fix Released
Changed in dell:
status: Confirmed → Fix Released
g (gicuciumpavu)
Changed in dell:
assignee: nobody → g (gicuciumpavu)
Changed in somerville:
assignee: nobody → g (gicuciumpavu)
importance: Undecided → High
status: New → Fix Released
no longer affects: dell
Revision history for this message
Timothy R. Chavez (timrchavez) wrote :

The bug task for the somerville project has been removed by an automated script. This bug has been cloned on that project and is available here: https://bugs.launchpad.net/bugs/1305505

no longer affects: somerville
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.