Package: hddtemp
Version: 0.3-beta12-12
Severity: important
in version 0.3beta12-12 detection and querying of my
scsi disks works fine, -16 only reports this:
# /hddtemp /dev/sda
/dev/sda: unknown: S.M.A.R.T. not available
# hddtemp -D /dev/sda
================= hddtemp 0.3-beta12 ==================
Model: unknown
strace with the broken -16 version:
open("/dev/sda", O_RDONLY|O_NONBLOCK) = 3
ioctl(3, 0x5386, 0xeffff65c) = 0
ioctl(3, 0x2285, 0xeffff538) = -1 EINVAL (Invalid argument)
ioctl(3, 0x30d, 0x25188) = -1 EINVAL (Invalid argument)
ioctl(3, 0x5386, 0xeffff88c) = 0
ioctl(3, 0x2285, 0xeffff7b0) = -1 EINVAL (Invalid argument)
ioctl(3, 0x2285, 0xeffff198) = -1 EINVAL (Invalid argument)
close(3) = 0
strace with the working -12 version:
open("/dev/sda", O_RDONLY|O_NONBLOCK) = 3
ioctl(3, 0x30d, 0x28fe0) = -1 EINVAL (Invalid argument)
ioctl(3, 0x5386, 0xeffff89c) = 0
ioctl(3, 0x1, 0xeffff790) = 0
ioctl(3, 0x1, 0xeffff0e0) = 0
ioctl(3, 0x1, 0xeffff0e0) = 0
ioctl(3, 0x1, 0xeffff0e0) = 0
ioctl(3, 0x1, 0xefffefb0) = 0
ioctl(3, 0x1, 0xefffefb0) = 0
this is on an ultrasparc (64bit kernel, 32bit userland) with
2.4.26 as kernel. it looks like the fix for #292205
makes hddtemp fail on 2.4.x.
regards
az
-- System Information:
Debian Release: 3.0
APT prefers testing
APT policy: (980, 'testing'), (970, 'unstable')
Architecture: sparc (sparc64)
Kernel: Linux 2.4.26
Locale: LANG=C, LC_CTYPE=de_AT (charmap=ISO-8859-1)
Versions of packages hddtemp depends on:
ii debconf [debconf-2.0] 1.4.30.11 Debian configuration management sy
ii grep 2.4.2-3 GNU grep, egrep and fgrep.
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii sed 3.02-8 The GNU sed stream editor.
-- debconf information excluded
-- System Information:
Debian Release: 3.0
APT prefers testing
APT policy: (980, 'testing'), (970, 'unstable')
Architecture: sparc (sparc64)
Kernel: Linux 2.4.26
Locale: LANG=C, LC_CTYPE=de_AT (charmap=ISO-8859-1)
Versions of packages hddtemp depends on:
ii debconf [debconf-2.0] 1.4.30.11 Debian configuration management sy
ii grep 2.4.2-3 GNU grep, egrep and fgrep.
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii sed 3.02-8 The GNU sed stream editor.
-- debconf information excluded
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]