Skip to contentSkip to conversation

libata

DISCUSSION Brad Campbell 3 participants 3 messages Feb 15, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

G'day all.

I have a pair of HPT1540 SATA cards that I'm currently using with the Highpoint supplied driver (Sans raid proprietary binary - Complete source compile) on a 2.4 kernel.
I have been looking at libata as I'd like to move to an in-kernel driver and I'm having issues with the in-kernel hpt366 ide driver. Plus, given all my drives are in Supermicro Hotswap bays I'm hoping that one day we may realise seamless hotswap and I can swap out faulty software raid disks on the fly and I guess libata is the best way to work towards this :p)

I think I get the idea of how libata goes together and I'd like to have a crack at writing a sata_hpt module. Has anyone done any ground work on this or is already working on it or do I start from scratch?

Are there any known reasons as to why it will / will not work or anything else that would preclude me from getting it going?

Is there a better place to discuss this?

Regards,
Brad

#1 lore raw

This is the same card I've got in my box, the one I happened to trip a hpt366 driver bug with that I mention in my other mailing.

Does the Highpoint driver do hotswap and all that goodness? My understanding is that the 1540 card is just a hpt374 with pata->sata converters soldered on, rather than a "true" sata controller.

I think for a short time I tried doing some simple hotswapping in Windows and it didn't work, does that (or any hotswapping) work for you?

The e.sata ports on the back of the card is just begging for hotswap support.

Linux-ide.org is where the libsata work is at, I think. Do they have a dedicated list?

Quoted 26 lines · Brad Campbell

G'day all.

I have a pair of HPT1540 SATA cards that I'm currently using with the Highpoint supplied driver (Sans raid proprietary binary - Complete source compile) on a 2.4 kernel.
I have been looking at libata as I'd like to move to an in-kernel driver and I'm having issues with the in-kernel hpt366 ide driver. Plus, given all my drives are in Supermicro Hotswap bays I'm hoping that one day we may realise seamless hotswap and I can swap out faulty software raid disks on the fly and I guess libata is the best way to work towards this :p)

I think I get the idea of how libata goes together and I'd like to have a crack at writing a sata_hpt module. Has anyone done any ground work on this or is already working on it or do I start from scratch?

Are there any known reasons as to why it will / will not work or anything else that would preclude me from getting it going?

Is there a better place to discuss this?

Regards,
Brad

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 6 lines · Matt Thrailkill

This is the same card I've got in my box, the one I happened to trip a hpt366 driver bug with that I mention in my other mailing.

Does the Highpoint driver do hotswap and all that goodness? My understanding is that the 1540 card is just a hpt374 with pata->sata converters soldered on, rather than a "true" sata controller.

If that's true, and it provides no SATA-specific features (there are SATA-specific phy registers you need to talk to, to do hotplug and other fun) then it would be better to do it under the auspices of the "old IDE driver" a.k.a. CONFIG_IDE.

Quoted 8 lines

I think for a short time I tried doing some simple hotswapping in Windows and it didn't work, does that (or any hotswapping) work for you?

The e.sata ports on the back of the card is just begging for hotswap support.

Linux-ide.org is where the libsata work is at, I think. Do they have a dedicated list?

Nope, libata was independent of linux-ide.org. (I am the author)

[email protected] or [email protected] seem to host the most libata discussions.

Feel free to ask me questions about the API. There are API docs generated from the source code, posted here: http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/

Jeff