Project

General

Profile

Actions

Bug #1591

open

Lenovo X301 hangs with AHCI Driver CMD TIMEOUT STS=d0<BSY>

Added by eocallaghan over 14 years ago. Updated almost 3 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
Kernel
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hi,

I have a Lenovo X301 2776 LEG.

Trying to use the machine with the AHCI results in a hang for a while
then it can't mount the root FS as it can't access the disk.
The following message is displayed:

ahci0.1: CMD TIMEOUT state=5 slot=3
cmd-rg 0x4c317<HPCP,CR,FR,FRE,POD,SUD,ST>
sactive=0000000 active=00000008 expired=00000000
act=00000000 ci=00000008
STS=d0<BSY>
ahci0.1: cmd 18: timeout
achi0.1: Warning, issuing CLO after timeout.

Prob0: ahci0:0:13:0) Unretryable error
...

Cheers,
Edward.

Actions #1

Updated by eocallaghan over 14 years ago

I just notice I got this else where in dmesg:


WARNING waiting for the following device to finish configuring:
xpt: func = 0xc015df7d arg = 0

Giving up, interrupt routing is porbaby hosed


I believe this bug may well lie in the CAM XPT (transport) module, ie ATAPICAM?
Looking for pointers to help me better trace down this problem please?

Thanks,
Edward.

Actions #2

Updated by dillon over 14 years ago

:I just notice I got this else where in dmesg:
:
:----------
:
:**WARNING** waiting for the following device to finish configuring:
:xpt: func =3D 0xc015df7d arg =3D 0
:
:Giving up, interrupt routing is porbaby hosed
:
:-----------
:
:I believe this bug may well lie in the CAM XPT (transport) module, ie ATAPI=
:CAM?
:Looking for pointers to help me better trace down this problem please?
:
:Thanks,
:Edward.

Usually this means a driver (probably the AHCI driver) has not finished
the BUS SCAN. The AHCI driver should complete it after the command
times out.
Tracking down why the command timed out in the AHCI driver is another
issue entirely. I don't have a quick answer.
-Matt
Matthew Dillon
&lt;&gt;
Actions #3

Updated by eocallaghan over 14 years ago

Hi, As of todays snapshot, I still have major problems.
Once the AHCI driver is modloaded, the root fs from the livecd will not mount,
dropping me to mountroot> from which I do:

mountroot>ufs:cd0
Mounting root from ufs:cd0
tryroot cd0
ahci0.1: TFES slot 29 ci_saved = 20000000
ahci0.1: Copying rfis slot 29
ahci0.1: Shortening sense request
(cd0:ahci0:1:0:0): Retrying Command
(cd0:ahci0:1:0:0): error 6
(cd0:ahci0:1:0:0): Unretryable Error
Root mount failed: 22

Regards,
Edward.

Actions #4

Updated by tylermills over 14 years ago

I had similar issues with my T61 when SMP and IO_APIC was enabled.

On Sun, Nov 8, 2009 at 9:44 PM, Edward O'Callaghan (via DragonFly
issue tracker) <> wrote:

Edward O'Callaghan <> added the comment:

Hi, As of todays snapshot, I still have major problems.
Once the AHCI driver is modloaded, the root fs from the livecd will not mount,
dropping me to mountroot> from which I do:

mountroot>ufs:cd0
Mounting root from ufs:cd0
tryroot cd0
ahci0.1: TFES slot 29 ci_saved = 20000000
ahci0.1: Copying rfis slot 29
ahci0.1: Shortening sense request
(cd0:ahci0:1:0:0): Retrying Command
(cd0:ahci0:1:0:0): error 6
(cd0:ahci0:1:0:0): Unretryable Error
Root mount failed: 22

Regards,
Edward.

_____________________________________________
DragonFly issue tracker <>
<http://bugs.dragonflybsd.org/issue1591>
_____________________________________________

Actions #5

Updated by tuxillo about 9 years ago

  • Description updated (diff)
  • Category set to Kernel
  • Status changed from New to Feedback
  • Assignee deleted (0)
  • Target version set to 4.2

Hi,

Would it be possible to try it with latest master?

Cheers,
Antonio Huete

Actions #6

Updated by tuxillo almost 3 years ago

  • Target version changed from 4.2 to 6.0
Actions

Also available in: Atom PDF