Skip to contentSkip to conversation

ahci_softreset implementation

DISCUSSION Jakub W. Jóźwicki 2 participants 2 messages Oct 4, 2007 libata

lore
Share & tools
lore
#0 lore 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

Signature · 1 line
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
#1 lore raw
Quoted 8 lines · On Thu, 04 Oct 2007 20:39:52 +0200 Jakub W. Jóźwicki <[email protected]> wrote:

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?

If you are running Solaris and it doesn't work then yes I would file a bug report - and mention the Linux one does as that'll help them work out whats up.

Alan
--
My Git tree is full of regressions
My Git tree is full of bad C
My Git tree is full of regressions
Oh Git-clone my codebase and see