Bug 110806 - sysutils/smartmontools does not detect drives on modern MBs [patch]
Summary: sysutils/smartmontools does not detect drives on modern MBs [patch]
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-25 17:00 UTC by Dmitry Morozovsky
Modified: 2007-03-25 17:10 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.92 KB, patch)
2007-03-25 17:00 UTC, Dmitry Morozovsky
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Morozovsky freebsd_committer freebsd_triage 2007-03-25 17:00:11 UTC
Smartmontools' smartd does not detect drives if the first drive has two-digit
number (e.g, ad10).

How-To-Repeat: 
On modern motherboards with P965 and similar chipsets, first SATA controller
is enumerated as ata5, hence its drive got marked as ata10. smartd refuses to
start it this situation.

Also, WD Caviar SE xxxPD drives are added, according to my drive and
http://www.concordiagraphics.it/prodotti/pdf/wdsata.pdf
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-03-25 17:00:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Over to maintainer
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2007-03-25 17:08:04 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-03-25 17:08:59 UTC
pav         2007-03-25 16:08:55 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/smartmontools Makefile 
  Added files:
    sysutils/smartmontools/files patch-knowndrives.cpp 
                                 patch-os__freebsd.cpp 
  Log:
  - Fix smartd to detect drives if the first drive has two-digit number (like
    ad10)
  - Recognize some new Western Digital Caviar SE drives
  
  PR:             ports/110806
  Submitted by:   marck
  
  Revision  Changes    Path
  1.28      +1 -0      ports/sysutils/smartmontools/Makefile
  1.1       +14 -0     ports/sysutils/smartmontools/files/patch-knowndrives.cpp (new)
  1.1       +14 -0     ports/sysutils/smartmontools/files/patch-os__freebsd.cpp (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"