ahci_softreset implementation

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

 




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/
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux