libata causes boot timeout on Asus Pundit-R

Bug #293218 reported by BugsBuggy
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
Medium
TJ

Bug Description

pata_atiixp takes a very long time to load because the Asus Pundit-R has only
1 ide controller, and pata_atiixp keeps probing for a second controller until
it finally times out and drops a shell.

[ 3.675500] scsi0 : pata_atiixp
[ 3.707256] scsi1 : pata_atiixp
[ 3.709582] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 irq 14
[ 3.709588] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xff08 irq 15
[ 3.720167] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.051499] ata1.00: ATA-6: ST3160023A, 8.01, max UDMA/100
[ 4.051507] ata1.00: 312581808 sectors, multi 16: LBA48
[ 4.051541] ata1.01: ATAPI: BENQ DVD DD DW1640, BSGB, max UDMA/33
[ 4.064765] ata1.00: configured for UDMA/100
[ 4.081262] ata1.01: configured for UDMA/33
[ 4.318754] ata2.01: failed to IDENTIFY (I/O error, err_mask=0x3)
[ 9.479632] ata2.01: failed to IDENTIFY (I/O error, err_mask=0x3)
[ 14.638291] ata2.01: failed to IDENTIFY (I/O error, err_mask=0x3)
[ 19.801926] ata2.00: failed to IDENTIFY (I/O error, err_mask=0x3)
[ 24.963598] ata2.00: failed to IDENTIFY (I/O error, err_mask=0x3)
[ 30.125286] ata2.00: failed to IDENTIFY (I/O error, err_mask=0x3)

Related branches

Revision history for this message
BugsBuggy (bugsbuggy) wrote :
Revision history for this message
BugsBuggy (bugsbuggy) wrote :
Revision history for this message
BugsBuggy (bugsbuggy) wrote :
Revision history for this message
BugsBuggy (bugsbuggy) wrote :
Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
norimu (baruckobima332) wrote :

I can confirm this bug on the same machine.

The problem has been reported two years ago here: https://lists.linux-foundation.org/pipermail/bugme-new/2006-October/015008.html

BUT I didn't experience it with Debian Etch (Kernel 2.6.18), maybe because of fewer probing retries or shorter timeouts.

I haven't found a workaround. The kernel option ata2=noprobe doesn't work (as several other people pointed out with similar problems and different chips)

Revision history for this message
BugsBuggy (bugsbuggy) wrote :

I tried with all_generic_ide kernel parameter and got the same result.
Looks like the problem is not directly related to pata_atiixp.

Revision history for this message
BugsBuggy (bugsbuggy) wrote :

The timeout is present in Intrepid.
In Hardy there was a delay at startup (bar moving left to right and right to left) but no timeout.
In Feisty it started really fast with no pause nor delay.

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

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Changed in linux:
status: Unknown → Fix Released
Changed in linux:
status: Fix Released → Confirmed
Changed in linux:
status: Confirmed → Fix Released
Revision history for this message
TJ (tj) wrote :

This fix is available from upstream and applies cleanly to Jaunty:

git cherry-pick b919930c
Auto-merged drivers/ata/libata-sff.c
Finished one cherry-pick.
Created commit af002a8: libata: set NODEV_HINT for 0x7f status
 1 files changed, 10 insertions(+), 0 deletions(-)

commit b919930c34e99a48d6b13a5ec9db8c059ec44d72
Author: Tejun Heo <email address hidden>
Date: Sun Jan 25 10:26:00 2009 +0900

    libata: set NODEV_HINT for 0x7f status

    Asus Pundit-R with atiixp controller has the second port missing and,
    very unusually, its status is stuck at 0x7f and all others at 0. This
    meanst that it fails TF access test but gets detected as a disk due to
    classification code check and then evades polling IDENTIFY presence
    detection thanks to the missing BSY in the status value causing
    excessive delays during boot.

    This patch makes libata-sff HSM set NODEV_HINT if the status is 0x7f
    to make polling IDENTIFY presence detection work for these machines.

    Signed-off-by: Tejun Heo <email address hidden>
    Signed-off-by: Jeff Garzik <email address hidden>

Changed in linux (Ubuntu):
assignee: nobody → intuitivenipple
TJ (tj)
Changed in linux (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Tim Gardner (timg-tpi) wrote :
Changed in linux (Ubuntu):
milestone: none → ubuntu-9.04-beta
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  [ Amit Kucheria ]

  * Updating imx51 configs

  [ Andy Whitcroft ]

  * SAUCE: hotkey quirks for various Zeptro Znote and Fujitsu Amilo laptops
    - LP: #330259

  [ Tim Gardner ]

  * Revert "SAUCE: (drop after 2.6.28) eCryptfs: Don't encrypt file key
    with filename key". Use upstream commit.
  * CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR set to upstream defaults.
    64K for x86'en, 32K for ARM
    - LP: #344955

  [ Upstream Kernel Changes ]

  * eCryptfs: don't encrypt file key with filename key
  * libata: set NODEV_HINT for 0x7f status
    - LP: #293218
  * USB: cdc-acm: Add another conexant modem to the quirks
    - LP: #323829
  * Input: elantech - touchpad driver miss-recognising logitech mice
    - LP: #318722

 -- Tim Gardner <email address hidden> Wed, 18 Mar 2009 08:52:46 -0600

Changed in linux:
status: Fix Committed → Fix Released
Changed in linux:
importance: Unknown → Medium
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.