From: Ben M. <be...@au...> - 2008-11-13 08:59:49
|
G'day all, I'll be keen to hear how you go - I am on 7.0, and although this error is fixed in the patch in the ports collection, I am having no luck in getting smart information from the drives, I am constantly being told that the device is enabled then it is disabled due to Vendor Specific Command - but each drive in our machine has a different vendor, so I think it might be a problem deeper than this : root / # smartctl -a /dev/da0 smartctl version 5.38 [i386-portbld-freebsd7.0] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Device Model: Hitachi HDS721616PLA380 IBM Serial Number: PVE341ZFR0VTDM Firmware Version: P22OABCA User Capacity: 160,041,885,696 bytes Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 7 ATA Standard is: ATA/ATAPI-7 T13 1532D revision 1 Local Time is: Thu Nov 13 18:38:12 2008 EST SMART support is: Available - device has SMART capability. SMART support is: Enabled (pass0:mpt0:0:0:0): Vendor Specific Command. CDB: 85 6 2c 0 da 0 0 0 0 0 4f 0 c2 0 b0 0 (pass0:mpt0:0:0:0): CAM Status: SCSI Status Error (pass0:mpt0:0:0:0): SCSI Status: Check Condition (pass0:mpt0:0:0:0): Sense Error Code 0x0 SMART Disabled. Use option -s with argument 'on' to enable it. root / # smartctl -a /dev/da1 smartctl version 5.38 [i386-portbld-freebsd7.0] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Model Family: Western Digital Caviar RE Serial ATA family Device Model: WDC WD2500YS-23SHB0 Serial Number: WD-WCANY3814782 Firmware Version: 20.06C04 User Capacity: 250,059,350,016 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 7 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Thu Nov 13 18:38:25 2008 EST SMART support is: Available - device has SMART capability. SMART support is: Enabled (pass1:mpt0:0:1:0): Vendor Specific Command. CDB: 85 6 2c 0 da 0 0 0 0 0 4f 0 c2 0 b0 0 (pass1:mpt0:0:1:0): CAM Status: SCSI Status Error (pass1:mpt0:0:1:0): SCSI Status: Check Condition (pass1:mpt0:0:1:0): Sense Error Code 0x0 SMART Disabled. Use option -s with argument 'on' to enable it. cheers Ben On 13/11/2008, at 3:22 AM, Christian Franke wrote: > Сергей Казуров wrote: >> Good day! >> >> I`m FreeBSD user (version - 6.2 release) and when i run command >> "make" >> i get following error: >> >> os_freebsd.o os_freebsd.cpp >> os_freebsd.cpp: In function `int highpoint_command_interface(int, >> smart_command_set, int, char*)': >> os_freebsd.cpp:279: error: a function-definition is not allowed >> here before '{' token >> [...] >> *** Error code 1 >> >> What i do wrong? >> >> > > This is a syntax error in os_freebsd which was unfortunately not > detected when 5.38 was released. > > You can fix it by simply deleting the extra '{' in line 275: > http://smartmontools.cvs.sourceforge.net/viewvc/smartmontools/sm5/os_freebsd.cpp?r1=1.58&r2=1.59 > > Cheers, > Christian > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Smartmontools-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-support -- Ben Madin REMOTE INFORMATION t : +61 8 9192 5455 f : +61 8 9192 5535 m : 0448 887 220 Broome WA 6725 be...@re... Out here, it pays to know... |