Re: hdc (cdrom) irq timeout after awaking from sleep on powerbook

From: Benjamin Herrenschmidt
Date: Thu Jun 10 2004 - 11:12:41 EST


On Thu, 2004-06-10 at 01:11, Soeren Sonnenburg wrote:
> Hi...
>
> When I insert + mount a cdrom and then put this powerbook to sleep mode,
> I keep getting these messages in the kernel log when the machine wakes
> up. However I can still access the cdrom on its mount point as if
> everything was ok... but is it ?

Well... at least it lost the DMA which isn't good. But our driver tends
to be a bit nasty for that. We may probably want a smarter wakeup
sequence for ide-cd that the current one that does nothing (just use the
default IDE one which is to wait for BUSY to be gone). I suspect some
ATAPIs would love getting a new WIN_PIDENTIFY at least, and I've seen
some take time before actually _raising_ BUSY ... I'll look into it.

> This is kernel 2.6.7-rc2 on powerbook g4 1Ghz.
>
> Please comment,
> Regards,
> Soeren.
>
> VFS: busy inodes on changed media.
> hdc: irq timeout: status=0xc0 { Busy }
> hdc: irq timeout: error=0xc0LastFailedSense 0x0c
> hdc: DMA disabled
> hdc: ATAPI reset complete
> VFS: busy inodes on changed media.
--
Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/