Re: 2.6.22-rc3 hibernate(?) disables SMART on ide

2007-06-05 Thread Mark Lord
David Greaves wrote: Mark Lord wrote: That's odd. Could you try that again, with the latest (either v7.3 or v7.4) version of hdparm (from sourceforge) ? Using Debian's 7.3 via apt-get experimental - is that OK or would you like me to compile the upstream? No, what you have is good, thanks.

Re: 2.6.22-rc3 hibernate(?) disables SMART on ide

2007-06-05 Thread David Greaves
Mark Lord wrote: > That's odd. Could you try that again, > with the latest (either v7.3 or v7.4) version of hdparm > (from sourceforge) ? Using Debian's 7.3 via apt-get experimental - is that OK or would you like me to compile the upstream? 2.6.21.1 cu:~# hdparm -V hdparm v7.3 cu:~# hdparm -K1

Re: 2.6.22-rc3 hibernate(?) disables SMART on ide

2007-06-04 Thread Mark Lord
David Greaves wrote: Mark Lord wrote: David Greaves wrote: I have 2 ide disks. If I enable SMART and hibernate/suspend2disk, SMART is disabled when I resume. Just a thought: This *may* be fixable at the drive, with "hdparm -K1". Thanks Mark, good idea. Just tried and it didn't help though :

Re: 2.6.22-rc3 hibernate(?) disables SMART on ide

2007-06-04 Thread David Greaves
Mark Lord wrote: > David Greaves wrote: >> I have 2 ide disks. If I enable SMART and hibernate/suspend2disk, >> SMART is >> disabled when I resume. > > Just a thought: This *may* be fixable at the drive, with "hdparm -K1". Thanks Mark, good idea. Just tried and it didn't help though :( in fact,

Re: 2.6.22-rc3 hibernate(?) disables SMART on ide

2007-06-04 Thread Mark Lord
David Greaves wrote: I have 2 ide disks. If I enable SMART and hibernate/suspend2disk, SMART is disabled when I resume. Just a thought: This *may* be fixable at the drive, with "hdparm -K1". Cheers - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: 2.6.22-rc3 hibernate(?) disables SMART on ide

2007-06-04 Thread Alan Cox
> 3) There should be no bad effect from enabling smart, except if the BIOS >insists on not booting because of a bad RAID disk. (That's why I like >to disable it in the BIOS) With a couple of exceptions unfortunately. Belongs in udev and smartd so its controllable and flexible (and also swa

Re: 2.6.22-rc3 hibernate(?) disables SMART on ide

2007-06-02 Thread Jeff Garzik
Bodo Eggert wrote: Therefore I suggest setting the smart-enabled-bit in the kernel, in spite of not being the kernel's duty. It would be a 99,99% DTRT. NAK. That's hardcoding policy in the kernel. Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: 2.6.22-rc3 hibernate(?) disables SMART on ide

2007-06-02 Thread David Greaves
Tejun Heo wrote: > David Greaves wrote: >> I have 2 ide disks. If I enable SMART and hibernate/suspend2disk, SMART is >> disabled when I resume. >> >> Same as in 2.6.21.1 > > According to the ATA standard, the device (drive) itself is responsible > for preserving SMART enabled status over power cy

Re: 2.6.22-rc3 hibernate(?) disables SMART on ide

2007-06-02 Thread Bodo Eggert
Tejun Heo <[EMAIL PROTECTED]> wrote: > David Greaves wrote: >> I have 2 ide disks. If I enable SMART and hibernate/suspend2disk, SMART is >> disabled when I resume. Maybe it's disabled by the BIOS? > According to the ATA standard, the device (drive) itself is responsible > for preserving SMART

Re: 2.6.22-rc3 hibernate(?) disables SMART on ide

2007-06-02 Thread Tejun Heo
David Greaves wrote: > I have 2 ide disks. If I enable SMART and hibernate/suspend2disk, SMART is > disabled when I resume. > > Same as in 2.6.21.1 > > cu:~# smartctl -son /dev/hda > smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen > Home page is http://smartmontools.sou

2.6.22-rc3 hibernate(?) disables SMART on ide

2007-06-01 Thread David Greaves
I have 2 ide disks. If I enable SMART and hibernate/suspend2disk, SMART is disabled when I resume. Same as in 2.6.21.1 cu:~# smartctl -son /dev/hda smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF ENABLE/DI