linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: David Howells <dhowells@redhat.com>
Cc: linux-ide@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: Fun with HPT302N (Rocket Raid 1520 PCI card)
Date: Wed, 01 Nov 2006 04:32:56 -0500	[thread overview]
Message-ID: <454869C8.9000103@pobox.com> (raw)
In-Reply-To: <23724.1161684269@redhat.com>

David Howells wrote:
> Hi Jeff,
> 
> Do you have a SATA driver for the HPT302N chipset (as found on a Rocket Raid
> 1520 PCI card)?
> 
> The PCI ID maps to PCI_DEVICE_ID_TTI_HPT302, but it's revision 2, so that'd
> make it the HPT302N according to the comments in the pata_hpt37x.c and
> pata_hpt3x2n.c drivers.
> 
> It would seem that the pata_hpt3x2n.c driver handles it - but by the driver's
> name it would seem to be for driving a PATA interface, not a SATA interface.
> If I compile that driver in, it does indeed find the device:
> 
> 	hpt3xn: BIOS clock data not set.
> 	ata3: PATA max UDMA/133 cmd 0xE4000820 ctl 0xE400082A bmdma 0xE4000C00 irq 20
> 	ata4: PATA max UDMA/133 cmd 0xE4000830 ctl 0xE400082E bmdma 0xE4000C08 irq 20
> 	scsi2 : pata_hpt3x2n
> 	ATA: abnormal status 0x7F on port 0xE4000827
> 	ATA: abnormal status 0x7F on port 0xE4000827
> 	ATA: abnormal status 0x7F on port 0xE4000827
> 	ATA: abnormal status 0x7F on port 0xE4000827
> 	ATA: abnormal status 0x7F on port 0xE4000827
> 	ATA: abnormal status 0x7F on port 0xE4000827
> 	ata3.00: qc timeout (cmd 0xec)
> 	ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
> 	ATA: abnormal status 0x7F on port 0xE4000827
> 	ATA: abnormal status 0x7F on port 0xE4000827
> 	ATA: abnormal status 0x7F on port 0xE4000827
> 	ATA: abnormal status 0x7F on port 0xE4000827
> 	ATA: abnormal status 0x7F on port 0xE4000827
> 	ATA: abnormal status 0x7F on port 0xE4000827
> 
> And seems to think that it's a PATA interface, which is not what I see looking
> at the card itself.  I'm not sure what's going on with the failure to IDENTIFY,
> but it doesn't actually have any drives attached at the moment.  I'll have to
> get a SATA drive to plug into it to see what happens.


I think the newer HPTs present a pata_hpt*.c compatible interface, even 
though the card is driving SATA devices.

Other than that, I know nothing at all about the hardware :(  Alan would 
know a lot more.

	Jeff



  reply	other threads:[~2006-11-01  9:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-24 10:04 Fun with HPT302N (Rocket Raid 1520 PCI card) David Howells
2006-11-01  9:32 ` Jeff Garzik [this message]
2006-11-01 12:17   ` Alan Cox
2006-11-01 12:26     ` Brad Campbell
2006-11-02 16:24       ` Alan Cox
2006-11-03  9:19         ` Brad Campbell

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=454869C8.9000103@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=dhowells@redhat.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 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).