DragonFly bugs List (threaded) for 2009-06
DragonFly BSD
DragonFly bugs List (threaded) for 2009-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ahci: attachment to atapi device

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Jun 2009 15:07:36 -0700 (PDT)

:ahci0.0: CMD TIMEOUT state=5 slot=22
:        cmd-reg 0x4d617<HPcP,CR,FR,FRE,POD,SUD,ST>
:        sactive=004000000 active=00000000 expired=00000000
:           sact=000000000     ci=00000000
:ahci0.0: disk_rw: timeout

    Are you absolutely sure these TIMEOUT's are coming from ahci0.0 ?

:I then tried again after unpluging the burner:
:mountroot> ufs:da0s1a
:Mounting root from ufs:da0s1a
:cd0 at ahci0 bus 1 target 0 lun 0
:cd0: <ASUS DRW-1814BLT 1.04> Removable CD-ROM SCSI-0 device
:cd0: 150.000MB/s transfers
:cd0: Attempt to query device size failed: NOT READY, Medium not present - tray

    Wait, you said you unplugged the burner.  Why is still being probed?
    Do you have multiple CD/DVD drives?  Make sure they are all unplugged.

:It ends with these two lines:
:da0: reading primary partition table: error accessing offset 000000000000 for 512
:Root mount failed: 5

:Here you go:
:ad4: 381554MB <WDC WD4000YS-01MPB1 09.02E09> at ata2-master SATA300
:ad10: 476940MB <WDC WD5002ABYS-01B1B0 02.03B02> at ata5-master SATA300
:Francois Tigeot

    NATA is probing them at 3 GBits, so that probably isn't the problem.
    Stil, I added a feature to the driver to force 150, add this to your
    loader.conf or set from the boot loader:

	set hint.ahci.force150

    Ok, I'd like you to sync the git repo again, I added some additional
    output to the TIMEOUT message.

    You don't have to type everything in again :-), but please tell me what
    the STS line in the CMD TIMEOUT message says (that I just added to the
    driver code).

					Matthew Dillon 

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]