Bug#390079: hdparm: -C option tells fibs when it isn't able to determine the drive status

2006-10-01 Thread Stephen Gran
This one time, at band camp, Andrew Pollock said: On Fri, Sep 29, 2006 at 04:05:58PM +0100, Stephen Gran wrote: Can you try this patch and see if it reports correct behavior for you? Index: hdparm.c [snip] I'll try and rebuilt it tonight and let you know. Just a ping - I know it's not

Bug#390079: hdparm: -C option tells fibs when it isn't able to determine the drive status

2006-10-01 Thread Andrew Pollock
On Sun, Oct 01, 2006 at 11:00:23PM +0100, Stephen Gran wrote: This one time, at band camp, Andrew Pollock said: On Fri, Sep 29, 2006 at 04:05:58PM +0100, Stephen Gran wrote: Can you try this patch and see if it reports correct behavior for you? Index: hdparm.c [snip] I'll try

Bug#390079: hdparm: -C option tells fibs when it isn't able to determine the drive status

2006-09-29 Thread Stephen Gran
This one time, at band camp, Andrew Pollock said: Whilst playing around with hdparm -C on some IDE drives connected via IDE-USB adapters, it became apparent that it was reporting standby, when it really should have been reporting unknown. This is apparent when running hdparm under strace. It

Bug#390079: hdparm: -C option tells fibs when it isn't able to determine the drive status

2006-09-29 Thread Andrew Pollock
On Fri, Sep 29, 2006 at 09:32:20AM +0100, Stephen Gran wrote: This one time, at band camp, Andrew Pollock said: Whilst playing around with hdparm -C on some IDE drives connected via IDE-USB adapters, it became apparent that it was reporting standby, when it really should have been

Bug#390079: hdparm: -C option tells fibs when it isn't able to determine the drive status

2006-09-29 Thread Stephen Gran
This one time, at band camp, Andrew Pollock said: On Fri, Sep 29, 2006 at 09:32:20AM +0100, Stephen Gran wrote: This one time, at band camp, Andrew Pollock said: Whilst playing around with hdparm -C on some IDE drives connected via IDE-USB adapters, it became apparent that it was

Bug#390079: hdparm: -C option tells fibs when it isn't able to determine the drive status

2006-09-29 Thread Andrew Pollock
On Fri, Sep 29, 2006 at 04:05:58PM +0100, Stephen Gran wrote: This one time, at band camp, Andrew Pollock said: On Fri, Sep 29, 2006 at 09:32:20AM +0100, Stephen Gran wrote: This one time, at band camp, Andrew Pollock said: Whilst playing around with hdparm -C on some IDE drives

Bug#390079: hdparm: -C option tells fibs when it isn't able to determine the drive status

2006-09-29 Thread Mark Lord
Stephen Gran wrote: --- hdparm.c(revision 113) +++ hdparm.c(working copy) @@ -1237,7 +1237,7 @@ unsigned char args[4] = {WIN_CHECKPOWERMODE1,0,0,0}; const char *state; if (ioctl(fd, HDIO_DRIVE_CMD, args) - (args[0] ==

Bug#390079: hdparm: -C option tells fibs when it isn't able to determine the drive status

2006-09-28 Thread Andrew Pollock
Package: hdparm Version: 6.6-1 Severity: normal Hi, Whilst playing around with hdparm -C on some IDE drives connected via IDE-USB adapters, it became apparent that it was reporting standby, when it really should have been reporting unknown. This is apparent when running hdparm under strace. It