mcdx -- do_request(): non-read command to cd!!

From: Rene Herman
Date: Fri Mar 30 2007 - 17:24:55 EST


Hi Al.

GIT doesn't remember, it's been too long, but IIRC you were the last one to do some work on mcdx (the old proprietary mitsumi cd-rom driver). The thing builds without warnings on 2.6.20.4, unlike most other proprietary CD-ROM drivers, so someone did...

In any case, I just bet you're positively thrilled receiving bug-reports for the thing right? Mmm?

I dug up a 1-speed Mitsumi CRMC-LU005S today. Brilliant drive! You push on the front, after which it comes loose and you then yank the entire drive, mechanism and all, out of its casing over some kind of magnetic resistance it seems and then open a _second_ top-loading door, put in the CD and follow the procedure backwards again. I've done that at least 20 times now and I'm not by any means done yet. Brilliant.

The drive works fine under DOS (*), with both IRQ-less and IRQ-enabled controllers. The linux driver does not work though:

root@5va2:~# modprobe mcdx

root@5va2:~# dmesg | tail -4
mcdx Version 2.14(hs)
mcdx $Id: mcdx.c,v 1.21 1997/01/26 07:12:59 davem Exp $
Uniform CD-ROM driver Revision: 3.20
mcdx: Mitsumi CD-ROM installed at 0x300, irq 15. (Firmware version M 4)

root@5va2:~# mount /dev/mcdx0 /mnt/cdrom
mount: block device /dev/mcdx0 is write-protected, mounting read-only
mount: /dev/mcdx0: can't read superblock

root@5va2:~# dmesg | tail -4
mcdx: Mitsumi CD-ROM installed at 0x300, irq 15. (Firmware version M 4)
mcdx do_request(): non-read command to cd!!
end_request: I/O error, dev mcdx0, sector 0
FAT: unable to read boot sector
root@5va2:~#

This same 300/15 pair works under DOS in the same machine and IRQ15 is firing. The error sounds very block-ish. Would you happen to know?

I'll happily test patches :-)

Rene.

(*) Mitsumi not only has the old DOS driver online, it even keeps a scanned manual available:

http://www.mitsumi.com/enduser/1_drivers.html#Manuals

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