2.1.117: mcdx drives me nuts

Hans-Joachim Baader (hans@grumbeer.inka.de)
Fri, 21 Aug 1998 22:55:04 +0200 (MET DST)


Hi,

any mcdx users still out there? ;-) I have a problem which I cannot
fix myself...

On kernel 2.1.11x the mcdx driver often hangs when attempting to
mount a CD, especially during the boot process. It doesn't hang if
the drive is empty, but in that case I get funny error messages.
I have compiled mcdx as a module, I didn't try mcd. Here's the
message from insmod:

* mcdx Version 2.14(hs) for 2.1.117
* mcdx $Id: mcdx.c,v 1.21 1997/01/26 07:12:59 davem Exp $
* mcdx: Mitsumi CD-ROM installed at 0x300, irq 10. (Firmware version D 2)

An unsuccessful mount attempt (no CD in drive):

* VFS: Disk change detected on device 14:00
* end_request: I/O error, dev 14:00 (Mitsumi CD-ROM), sector 64
* isofs_read_super: bread failed, dev=14:00, iso_blknum=16, block=32

The first line is obviously nonsense. On the console the following
message is printed by mount:

* mount: wrong fs type, bad option, bad superblock on /dev/mcdx0,
* or too many mounted file systems

This should be simply "No CD in drive".

When a CD is inserted, a mount attempt usually fails 3 or 4 times:

* VFS: Disk change detected on device 14:00
* mcdx do_request() attempt to read from audio cd
* end_request: I/O error, dev 14:00 (Mitsumi CD-ROM), sector 64
* isofs_read_super: bread failed, dev=14:00, iso_blknum=16, block=32

The second line doesn't always appear. Coudn't the driver be changed
so that it attempts to read the CD several times and only reports an
error after the last attempt has been unsuccessful?

And BTW it would be nice if the command line parameter 'mcdx=' could
be changed to 'io=' and 'irq=' for the compiled-as-module case.

It's a Mitsumi FX001D (double speed) on a Mitsumi controller card.
Old EISA board. No problems (at least no hangs) with 2.0.x.
Other hardware should be irrelevant.

hjb

-- 
"Every use of Linux is a proper use of Linux."
				-- John "Maddog" Hall, Keynote at the Linux
				   Kongress in Cologne

- 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.altern.org/andrebalsa/doc/lkml-faq.html