* ahci_softreset implementation
@ 2007-10-04 18:39 Jakub W. Jóźwicki
2007-10-04 20:47 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Jakub W. Jóźwicki @ 2007-10-04 18:39 UTC (permalink / raw)
To: jgarzik; +Cc: linux-ide
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ahci_softreset implementation
2007-10-04 18:39 ahci_softreset implementation Jakub W. Jóźwicki
@ 2007-10-04 20:47 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2007-10-04 20:47 UTC (permalink / raw)
To: Jakub W. Jóźwicki; +Cc: jgarzik, linux-ide
On Thu, 04 Oct 2007 20:39:52 +0200
Jakub W. Jóźwicki <jozwicki@aster.pl> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-04 20:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-04 18:39 ahci_softreset implementation Jakub W. Jóźwicki
2007-10-04 20:47 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).