All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jakub W. Jóźwicki" <jozwicki@aster.pl>
To: jgarzik@pobox.com
Cc: linux-ide@vger.kernel.org
Subject: ahci_softreset implementation
Date: Thu, 04 Oct 2007 20:39:52 +0200	[thread overview]
Message-ID: <op.tzorgqkomy2jnb@celina> (raw)


Hello,
Recently I have bought mainboard with AMD/ATI 690 + SB600.
2 Seagate 250GB SATA drives are connected. They work with Linux with
AHCI without any problem, I have RAID1 on them.
I've been trying to install Solaris on them, however when 2 drives
are connected one is not visible to OS.
Could you look at Solaris code and tell if I should fill them a bug-report?

http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/sata/adapters/ahci/ahci.c

ahci_port_reset:

/* PxTFD.STS.BSY is supposed to be set */
    2900 	port_task_file = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
    2901 	    (uint32_t *)AHCI_PORT_PxTFD(ahci_ctlp, port));
    2902 	if (!(port_task_file & AHCI_TFD_STS_BSY)) {
-> 2903 		cmn_err(CE_WARN, "ahci_port_reset: port %d BSY bit "
    2904 		    "is not set after COMINIT signal is received", port);
    2905 		ahci_portp->ahciport_port_state |= SATA_PSTATE_FAILED;
-> 2906 		rval = AHCI_FAILURE;
    2907 		goto out;
    2908 	}

Linux ahci.c::ahci_softreset also has this check, but works.

Regards,
Jakub

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

             reply	other threads:[~2007-10-04 19:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-04 18:39 Jakub W. Jóźwicki [this message]
2007-10-04 20:47 ` ahci_softreset implementation Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.tzorgqkomy2jnb@celina \
    --to=jozwicki@aster.pl \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.