Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#86 closed patch (fixed)

3ware 9750 SATA Drive Support

Reported by: vpayno Owned by: Christian Franke
Priority: major Milestone: Release 5.40
Component: all Version: 5.39.1
Keywords: Cc:

Description

Hi,

I've attached a patch that allows smartctl to access SATA drives on LSI 3ware 9750 controllers.

I've been using this version on multiple systems (with 3ware 9650, 9750, and on-board SATA and SAS only) for almost a month without any problems.

Please let me know if I need to make changes and re-submit it again, or if there's a different procedure for submitting this patch.

Regards,

Victor

Attachments (17)

smartmontools-5.40-svn-3ware-9750-sata.patch (17.6 KB ) - added by vpayno 14 years ago.
Patch that adds 3ware 9750 SATA support
smartctl-5.40-3ware_9750-test-a.txt (4.7 KB ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-x.txt (11.8 KB ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_background.txt (223 bytes ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_directory.txt (4.0 KB ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_directory,g.txt (3.8 KB ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_directory,s.txt (3.6 KB ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_error.txt (304 bytes ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_sataphy.txt (757 bytes ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_scterc.txt (331 bytes ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_scttemp.txt (3.0 KB ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_scttemphist.txt (2.6 KB ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_scttempsts.txt (641 bytes ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_selective.txt (740 bytes ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_xerror.txt (397 bytes ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_xselftest.txt (706 bytes ) - added by vpayno 14 years ago.
smartctl-5.40-3ware_9750-test-log_selftest.txt (649 bytes ) - added by vpayno 14 years ago.

Download all attachments as: .zip

Change History (21)

by vpayno, 14 years ago

Patch that adds 3ware 9750 SATA support

comment:1 by Christian Franke, 14 years ago

Milestone: Release 5.40
Owner: changed from somebody to Christian Franke
Status: newaccepted

comment:2 by Christian Franke, 14 years ago

Resolution: fixed
Status: acceptedclosed

r3128. Thanks for the patch.

Patch for os_linux.cpp modified to avoid duplicate code. Patch for dev_legacy.cpp not applied because this module is no longer used on Linux.

Please test also whether 48bit ATA commands work: smartctl -x /dev/tw...

comment:3 by art9, 14 years ago

It is not really clean: should smartmontools support sas drives with 3ware sas controllers?

in reply to:  3 comment:4 by Christian Franke, 14 years ago

Replying to art9:

It is not really clean: should smartmontools support sas drives with 3ware sas controllers?

No - the 3ware specific code in os_linux.cpp implements only ATA pass-through. I don't know whether 3ware SAS driver and firmware support SCSI pass-through to physical disks. Please create a separate ticket if desired.

Note: See TracTickets for help on using tickets.