Hello community, here is the log from the commit of package smartmontools for openSUSE:Factory checked in at Fri Jun 5 23:44:57 CEST 2009. -------- --- smartmontools/smartmontools.changes 2009-02-11 19:37:19.000000000 +0100 +++ smartmontools/smartmontools.changes 2009-06-03 19:27:25.000000000 +0200 @@ -1,0 +2,19 @@ +Wed Jun 3 19:19:55 CEST 2009 - sbrabec@suse.cz + +- Updated to the latest CVS snapshot: + * SCSI: Fetch load-unload cycle counts + * smartd: Fix '-M test' directive in conjunction with '-s' + * knowndrives updates + * Add '+' modifier to smartd '-C' and '-U' directives + * Add experimental option '-d usbsunplus' for drives behind + SunplusIT USB bridges. + * Add smartctl '-d test' option + * Add experimental USB device type autodetection + * Add new SMART STATUS check command for JMicron USB bridges + * Add smartctl option '-l xerror[,NUM]' + * Accept half healthy (and half unhealthy) indication from the + SMART RETURN STATUS. + * Workaround for huge raw values of Reallocated_Sector_Ct and + Reallocated_Event_Ct for newer Fujitsu disks. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- sm5-20081027.tar.bz2 New: ---- sm5-20090603.tar.bz2 smartmontools-strict-aliasing.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ smartmontools.spec ++++++ --- /var/tmp/diff_new_pack.h10430/_old 2009-06-05 23:44:02.000000000 +0200 +++ /var/tmp/diff_new_pack.h10430/_new 2009-06-05 23:44:02.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package smartmontools (Version 5.38.0.20081027) +# spec file for package smartmontools (Version 5.38.0.20090603) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -21,10 +21,10 @@ Name: smartmontools License: GPL v2 or later Group: Hardware/Other -Version: 5.38.0.20081027 -Release: 3 +Version: 5.38.0.20090603 +Release: 1 #Source: %{name}-%{version}.tar.bz2 -Source: sm5-20081027.tar.bz2 +Source: sm5-20090603.tar.bz2 Source1: README.SATA Source2: smartmontools.sysconfig Patch: smartmontools-powersave-notify.patch @@ -33,6 +33,7 @@ Patch4: smartmontools-removable.patch Patch5: smartmontools-init-update.patch Patch6: smartmontools-sysconfig.patch +Patch7: smartmontools-strict-aliasing.patch PreReq: %insserv_prereq %fillup_prereq coreutils %if %suse_version <= 1100 Requires: powersave @@ -84,6 +85,7 @@ %endif %patch5 %patch6 +%patch7 %build ./autogen.sh @@ -255,6 +257,22 @@ /var/adm/fillup-templates/sysconfig.* %changelog +* Wed Jun 03 2009 sbrabec@suse.cz +- Updated to the latest CVS snapshot: + * SCSI: Fetch load-unload cycle counts + * smartd: Fix '-M test' directive in conjunction with '-s' + * knowndrives updates + * Add '+' modifier to smartd '-C' and '-U' directives + * Add experimental option '-d usbsunplus' for drives behind + SunplusIT USB bridges. + * Add smartctl '-d test' option + * Add experimental USB device type autodetection + * Add new SMART STATUS check command for JMicron USB bridges + * Add smartctl option '-l xerror[,NUM]' + * Accept half healthy (and half unhealthy) indication from the + SMART RETURN STATUS. + * Workaround for huge raw values of Reallocated_Sector_Ct and + Reallocated_Event_Ct for newer Fujitsu disks. * Wed Feb 11 2009 sbrabec@suse.cz - Enabled selinux support only for supported platforms. - Removed support for SLE9 (no more compilable). ++++++ sm5-20081027.tar.bz2 -> sm5-20090603.tar.bz2 ++++++ ++++ 7365 lines of diff (skipped) ++++++ smartmontools-strict-aliasing.patch ++++++ os_linux.cpp: In member function 'bool os_linux::linux_megaraid_device::megasas_cmd(int, void*, int, void*, int, void*, int)': os_linux.cpp:1097: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1092: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1091: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1079: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1078: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1077: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1076: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1075: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1074: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1073: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1072: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1071: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1070: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1069: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1068: warning: dereferencing pointer 'pthru' does break strict-aliasing rules os_linux.cpp:1067: note: initialized from here ================================================================================ --- megaraid.h +++ megaraid.h @@ -212,6 +212,7 @@ union { u8 raw[128]; struct megasas_header hdr; + struct megasas_pthru_frame pthru; } frame; struct iovec sgl[MAX_IOCTL_SGE]; --- os_linux.cpp +++ os_linux.cpp @@ -1064,7 +1064,7 @@ int rc; memset(&uio, 0, sizeof(uio)); - pthru = (struct megasas_pthru_frame *)uio.frame.raw; + pthru = &uio.frame.pthru; pthru->cmd = MFI_CMD_PD_SCSI_IO; pthru->cmd_status = 0xFF; pthru->scsi_status = 0x0; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org