Subject: Re: port-i386/16520: It doesn't support cdrom device (SONY CD-ROM CDU5221)
To: None <beewax@gmx.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 04/27/2002 17:36:48
On Sat, Apr 27, 2002 at 06:16:47AM -0700, beewax@gmx.net wrote:
> [...]
> My problem is that i cannot mount cdrom device. It's a SONY CD-ROM CDU5221 (as you can see above).
> I tried the ordinary way :
> #mount -t cd9660 -o ro /dev/cd0a /mnt
> and
> #mount -t cd9660 /dev/cd0a /mnt
>
> but no response.
> I noticed that the led of the device doesn't flash after the command (but it should).
>
> After mount command sometimes it says :
> cd0(pciide0:1:0): readonly device
> mount_cd9660: /dev/cd0a on /mnt: Device not configured
>
> and other :
>
> cd0(pciide0:1:0): readonly device
> mount_cd9660: /dev/cd0a on /mnt: Read-only file system
This is because the device send an error "readonly device" to some command.
Now the problem is to find which command did trigger that.
Can you try a basic command:
dd if=/dev/rcd0d of=/dev/null bs=2k count=1
to see if it can read data from the raw device ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
--