CD-ROM freeze.

Riccardo Facchetti (fizban@mbox.vol.it)
Sun, 27 Oct 1996 19:12:46 +0100 (MET)


I have had a problem with my cdrom. It is an

(IDE-ATAPI)

/dev/hdc:

Model=PHILIPS PCA21CR, FwRev=A2.0, SerialNo=
Config={ Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=0(?), BuffSize=0kB, MaxMultSect=0
DblWordIO=no, maxPIO=0(slow), DMA=no
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=yes

and it is working fine since I have installed it 2 years ago.
I have just had the first problem with it.
My kernel is 2.0.23 with isofs module loaded.
The IDE "controllers" installed on my computer are two cheap-o-matic
(10$) IDE interfaces configured one as primary and the other as secondary
IDE. The primary have 2 IDE disks attached to it and the secondary have
one IDE disk as master and the CDROM as slave.

I have mounted the CDROM 10 minutes ago and after some inactivity I have
accessed it. Just a 'cd' into a directory of the CD, using the pathname
completion of the zsh.
The zsh freezed hard with the secondary IDE controller led light.
The dmesg reports:

[======]
hdc: irq timeout: status=0x58
hdc: ATAPI reset complete
hdc: irq timeout: status=0x58
hdc: ATAPI reset complete
hdc: irq timeout: status=0x58
end_request: I/O error, dev 16:00, sector 156
hdc: status error: status=0x58
hdc: drive not ready for command
hdc: ATAPI reset complete
end_request: buffer-list destroyed
hdc: irq timeout: status=0x58
hdc: ATAPI reset complete
hdc: irq timeout: status=0x58
hdc: ATAPI reset complete
hdc: irq timeout: status=0x58
end_request: I/O error, dev 16:00, sector 1664
hdc: status error: status=0x58
hdc: drive not ready for command
hdc: ATAPI reset complete
end_request: buffer-list destroyed
[======]

After the last message the CDROM relaxed and started to work again (I'm
accessing the CDROM just right now without the need for a reboot!).
Note that my main Linux hard disk (1 gig segate) is attached as master to
the secondary controller, so I'm sure the controller is working okay.

What's going on ?

Ciao,
Riccardo.