Re: amd64 cdrom access locks system

From: Erwin Rol
Date: Sun Feb 05 2006 - 07:19:04 EST


On Wed, 2006-01-18 at 01:31 +0100, Christer BÃckstrÃm wrote:
> > Aric Cyr <Aric.Cyr () gmail ! com> writes:
> >> >
> >> > Jun 14 03:21:50 localhost kernel: ide-cd: cmd 0x3 timed out
> >> > Jun 14 03:21:50 localhost kernel: hda: lost interrupt
> >> > Jun 14 03:22:50 localhost kernel: ide-cd: cmd 0x3 timed out
> >> > Jun 14 03:22:50 localhost kernel: hda: lost interrupt
> >> > Jun 14 03:23:30 localhost kernel: hda: lost interrupt
> >>
> >>
> Exactly the same problems here, on a laptop (Amd64, Mandriva 2006,
> linux-2.6.15) with an:
>
> ALi Corporation M5229 IDE (rev c7)
>
> The cd-writer locks up if the DMA is enabled, as above. But the drive is
> usable if it is disabled.
>

I just wanted to add a "me too". I have a Shuttle ST20G5 with a M5229
rev c7:

00:1f.0 IDE interface: ALi Corporation M5229 IDE (rev c7) (prog-if fa)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device f391
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 185
I/O ports at 8880 [size=16]

Reading CD's and DVD's always works, but writing or blanking hangs the
drive, with the following entries in the log files;

ide-cd: cmd 0x3 timed out
hda: lost interrupt
hda: request sense failure: status=0x51 { DriveReady SeekComplete Error }
hda: request sense failure: error=0x40 { LastFailedSense=0x04 }
hda: lost interrupt
hda: lost interrupt

The "lost interrupt" message is than repeated endlessly until i reboot,
and every program that tries to access the drive (including reading)
will hang for example:

31527 pts/0 D+ 0:00 cat /proc/ide/hda/capacity

This is also on a AMD64, so i don't know maybe it is a AMD64 problem
only.

- Erwin



-
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/