1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Ticket #86 (closed patch: fixed)

Opened 3 years ago

Last modified 2 years ago

3ware 9750 SATA Drive Support

Reported by: vpayno Owned by: chrfranke
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

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

Change History

Changed 3 years ago by vpayno

Patch that adds 3ware 9750 SATA support

  Changed 3 years ago by chrfranke

  • owner changed from somebody to chrfranke
  • status changed from new to accepted
  • milestone set to Release 5.40

  Changed 3 years ago by chrfranke

  • status changed from accepted to closed
  • resolution set to fixed

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...

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

Changed 3 years ago by vpayno

follow-up: ↓ 4   Changed 2 years ago by art9

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

in reply to: ↑ 3   Changed 2 years ago by chrfranke

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.