ATAPI CD-ROM problem in 2.1.97

Matthew Wilcox (willy@odie.barnet.ac.uk)
Wed, 22 Apr 1998 14:30:44 +0100 (BST)


root@dave:~# insmod isofs
root@dave:~# mount /mnt/cd
hda: irq timeout: status=0x58 [DriveReady, SeekComplete DataRequest }
hda: DMA disabled
hda: ATAPI reset complete
ATAPI device hda:
Error: Unit attention -- (sense key=0x06)
Power on, reset or bus device reset occurred -- (asc=0x29, ascq=0x00)
VFS: busy inodes on changed media..
VFS: brelse: Trying to free free buffer
mount: wrong fs type, bad option, bad superblock on /dev/hda
or too many mounted filesystems
root@dave:~# mount /mnt/cd
root@dave:~# ls /mnt/cd
...
root@dave:~# umount /mnt/cd
VFS: Busy inodes after unmount. Self destruct in 5 seconds. Have a nice day..

and at some point it will then Oops itself if I don't reboot.

I see two bugs here. One is that the IDE driver is not waiting long
enough for the CD-ROM drive to spin up, and the other is that isofs is
handling this error badly. I'm trying to look at the second one right
now but I can't reproduce the bug after the first time it occurs. Oh,
my system details:

Gigabyte SMP motherboard with a single P-133.
2.1.97 SMP kernel
Adaptec on-board SCSI connected to a scsi disc and a scsi tape
onboard IDE controller connected to this Creative 24x CD-ROM drive.

-- 
Set Alias$Case Set Alias$[ |||| |MSet Alias$Otherwise Set Alias$[ \ Matthew
"" |MSet Alias$When If %0=%%0 Then Set Alias$[ "" ||MIf %0=%%0    \ Wilcox
Then Set Alias$Otherwise Set Alias$[ |||||||||||||||| ||MIf       \
%0=%%0 Then Set Alias$When Set Alias$[ ||||||||||||||||

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu