[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug in smartmontools?



On Monday 21 August 2006 09:53, Wackojacko wrote:
> Joshua J. Kugler wrote:
> > Sorry...forgot to mention this is on Etch, all packages latest.
> >
> > j
> >
> > On Friday 18 August 2006 12:42, Joshua J. Kugler wrote:
> >> I tried to use smartmontools on a new Dell EM64T system we have here:
> >>
> >> root@xxxxx:~/hdtest# uname -a
> >> Linux xxxxx 2.6.16-2-em64t-p4-smp #1 SMP Sun Jul 16 02:14:40 CEST 2006
> >> x86_64 GNU/Linux
> >> root@xxxxx:~/hdtest# smartctl -a /dev/sda
> >> smartctl version 5.36 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6
> >> Bruce Allen
> >> Home page is http://smartmontools.sourceforge.net/
> >>
> >> Device: ATA      WDC WD800JD-75MS Version: 10.0
> >>
> >> In Linux, SATA disks accessed via libata are only supported by
> >> smartmontools for kernel versions 2.6.15 and above. Try an additional
> >> '-d ata' argument.
> >>
> >> I'm running 2.6.16, so the message about 2.6.15 and later seems in
> >> error. Did I miss something in the release notes, or do I need to open a
> >> bug?
> >>
> >> The command *does* work with -d ata, as suggested.
>
> I think you may be misunderstanding the message.  AFAIK SATA disks were
> not supported at all by smartmontools prior to 2.6.15. They are now
> supported by libata only if you trick smartmontools into thinking its an
> ATA disk by using the '-d ata' option.

It would seem you are right.  I wonder if that message should be modified.  
Thanks for the tip!

j

-- 
Joshua Kugler                           
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111



Reply to: