Messages in this thread | | | From | jbradford@dial ... | Subject | Re: hdparm -Y hangup | Date | Wed, 25 Sep 2002 08:49:48 +0100 (BST) |
| |
> > > Hrm, OK thanks for the info. Perhaps it should be removed > > > from hdparm or a (DANGEROUS) put beside the description > > > until it's fixed. > > > > The person to contact would be Mark Lord, the hdparm maintainer, (see the > > hdparm manual page for his E-Mail address). > > Rather than have Mark Lord set the option DANGEROUS (it shouldn't be) > perhaps it could be made to work more than once... Odd problem, is > something not getting set or cleared when the drive is spun up the first > time?
With my Maxtor disk connected to a PIIX3 IDE interface and stock kernel 2.4.19, I get this behavior:
# hdparm -Y /dev/hda
Disk sleeps
# find
No disk activity - it doesn't wake up. It doesn't work once for me, it always hangs on the first attempt.
So, I try dmesg on another console - no new output.
# hdparm -w /dev/hda
Performs a device reset, and the disk spins up.
# dmesg
hda: ide_set_handler: handler not null; c0181050 hda: dma_intr: status=0xd0 { Busy } hda: DMA disabled hda: ide_set_handler: handler not null; old=c0181050, new=c017b160 bug: kernel timer added twice at c017afe1. hda: ide_set_handler: handler not null; old=c017b160, new=c017b160 ide0: reset: success
Obviously, if you're going to try to repeat this, sync the disk beforehand, because I assume that a device reset will loose data in the disk's write cache.
John. - 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/
| |