IDE CDROM failure with 2.1.125: lost interrupt

Romano Giannetti (romano@sirio.iet.unipi.it)
Wed, 4 Nov 1998 10:46:31 +0100


Hi all!

This is to report a problem with ide driver on a Acer 32x CDROM. I am
running 2.1.125 on an upgraded RedHat 5.1 (as per Changes file). PC is
a PentiumII 333 w/64Mram, 3c509 ethernet adapter, no sound.

The problem: sometime /dev/hdc (the cdrom) hangs a little, give me
a tiemout (especially mounting ext2 cdroms), then a reset occurs and
all is working well. I think it's a spin-up problem. But this morning
I had to reboot the machine because, listening to a audio cd, I had
the logs flooded with:

Nov 4 10:34:42 pern kernel: hdc: lost interrupt
Nov 4 10:34:42 pern kernel: hdc: cdrom_pc_intr:
The drive appears confused (ireason = 0x 1)

And the program (tcd) was lost in D state. Every attempt to access
/dev/hdc resulted in a D-state process. So I rebooted. More info: at
boot the drive is identified as:

PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: FUJITSU MPC3043AT, ATA DISK drive
hdc: ATAPI CD-ROM DRIVE 32X MAXIMUM, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: FUJITSU MPC3043AT, 4125MB w/0kB Cache, CHS=525/255/63, UDMA
hdc: ATAPI 32X CDROM drive, 128kB Cache

and:

hdparm /dev/hdc

/dev/hdc:
HDIO_GET_MULTCOUNT failed: Invalid argument
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
HDIO_GET_NOWERR failed: Invalid argument
readonly = 1 (on)
readahead = 8 (on)
HDIO_GETGEO failed: Invalid argument

I will try to disable dma on the cdrom and see what happens. Please
tell me if you need more testing or info...

Bye,
Romano

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