Messages in this thread | | | From | Alistair John Strachan <> | Subject | Re: Linux 2.6.20-rc1 | Date | Thu, 14 Dec 2006 19:30:19 +0000 |
| |
Hi Linus,
`hddtemp' has stopped working on 2.6.20-rc1:
[root] 19:25 [~] hddtemp /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sda: ATA WDC WD2500KS-00M: S.M.A.R.T. not available /dev/sdb: ATA WDC WD2500KS-00M: S.M.A.R.T. not available /dev/sdc: ATA Maxtor 6B200M0: S.M.A.R.T. not available /dev/sdd: ATA Maxtor 6B200M0: S.M.A.R.T. not available
Stracing the binary reveals:
open("/dev/sdd", O_RDONLY|O_NONBLOCK) = 3 ioctl(3, SCSI_IOCTL_GET_BUS_NUMBER, 0x7fffe8a0636c) = 0 ioctl(3, SG_IO, 0x7fffe8a06020) = 0 ioctl(3, SG_IO, 0x7fffe8a06040) = 0 ioctl(3, 0x30d, 0x506b80) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(3, SCSI_IOCTL_GET_BUS_NUMBER, 0x7fffe8a06384) = 0 ioctl(3, SG_IO, 0x7fffe8a06240) = 0 open("/dev/sdc", O_RDONLY|O_NONBLOCK) = 4 ioctl(4, SCSI_IOCTL_GET_BUS_NUMBER, 0x7fffe8a0636c) = 0 ioctl(4, SG_IO, 0x7fffe8a06020) = 0 ioctl(4, SG_IO, 0x7fffe8a06040) = 0 ioctl(4, 0x30d, 0x506b80) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(4, SCSI_IOCTL_GET_BUS_NUMBER, 0x7fffe8a06384) = 0 ioctl(4, SG_IO, 0x7fffe8a06240) = 0 open("/dev/sdb", O_RDONLY|O_NONBLOCK) = 5 ioctl(5, SCSI_IOCTL_GET_BUS_NUMBER, 0x7fffe8a0636c) = 0 ioctl(5, SG_IO, 0x7fffe8a06020) = 0 ioctl(5, SG_IO, 0x7fffe8a06040) = 0 ioctl(5, 0x30d, 0x506b80) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(5, SCSI_IOCTL_GET_BUS_NUMBER, 0x7fffe8a06384) = 0 ioctl(5, SG_IO, 0x7fffe8a06240) = 0 open("/dev/sda", O_RDONLY|O_NONBLOCK) = 6 ioctl(6, SCSI_IOCTL_GET_BUS_NUMBER, 0x7fffe8a0636c) = 0 ioctl(6, SG_IO, 0x7fffe8a06020) = 0 ioctl(6, SG_IO, 0x7fffe8a06040) = 0 ioctl(6, 0x30d, 0x506b80) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(6, SCSI_IOCTL_GET_BUS_NUMBER, 0x7fffe8a06384) = 0 ioctl(6, SG_IO, 0x7fffe8a06240) = 0 ioctl(6, SG_IO, 0x7fffe8a05d20) = 0
Is there a known workaround for this?
SMART is enabled in the BIOS and it's available in 2.6.19.
-- Cheers, Alistair.
Final year Computer Science undergraduate. 1F2 55 South Clerk Street, Edinburgh, UK. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |