I/O errors in cdrom drive for a vaio pcg-v505BX using RH9.0

From: Adriano Batista (aabatist_at_hotmail.com)
Date: 09/29/03


Date: 29 Sep 2003 10:28:11 -0700

Hi there,

I've got a problem in my cdrom drive in Linux (RH9.0 with either kernel
2.4.20-8 or 2.4.22 with acpi support in a vaio pcg-v505bx laptop). I can't
access the cdrom drive at all. Until recently it used to work very well in
linux, but now the cdrom drive only works when I boot in windows. Every
information that I could gather that might be relevant in finding out the
cause of the problem is shown below.

Every time I try to mount a disk with:
mount -t iso9660 -r /dev/cdrom /mnt/cdrom
I get error messages like these:
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
       or too many mounted file systems
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)

or if I try to see what's in the cdrom with
dd if=/dev/cdrom of=/dev/null
dd: reading `/dev/cdrom': Input/output error
0+0 records in
0+0 records out

or with
cat /dev/cdrom |od
cat: /dev/cdrom: Input/output error

from dmesg I get messages like these:
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 0

this is to show that the cdrom is symlinked correctly:

$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 8 Sep 24 11:49 /dev/cdrom ->
/dev/hdc
$ ls -l /dev/hdc
brw------- 1 aab disk 22, 0 Jan 30 2003 /dev/hdc
device

$ ls -l /dev/sg1
crw------- 1 aab disk 21, 1 Jan 30 2003 /dev/sg1
$ cat /proc/devices
Character devices:
.....
.....
 21 sg
.....
.....
Block devices:
  1 ramdisk
  3 ide0
  8 sd
  9 md
 22 ide1
 65 sd
 66 sd

$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: Sony Model: MSC-U03 Rev: 2.00
  Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: MATSHITA Model: UJDA745 DVD/CDRW Rev: 1.01
  Type: CD-ROM ANSI SCSI revision: 02

  my installed modules are these:
udf 98464 0 (unused)
sd_mod 13420 0 (autoclean)
radeon 88824 1
agpgart 48128 3
autofs 13364 0 (autoclean) (unused)
e100 56036 0
ipt_REJECT 4344 2 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 15776 2 [ipt_REJECT iptable_filter]
ide-scsi 12144 0
ide-cd 35680 0
cdrom 33696 0 [ide-cd]
ohci1394 0 0 (deleted)
ieee1394 65124 0 [ohci1394]
usb-storage 75424 0
scsi_mod 107732 3 [sd_mod ide-scsi usb-storage]
keybdev 2944 0 (unused)
mousedev 5556 1
hid 24676 0 (unused)
input 5760 0 [keybdev mousedev hid]
ehci-hcd 20232 0 (unused)
usb-ohci 21480 0 (unused)
usbcore 78080 1 [usb-storage hid ehci-hcd usb-ohci]
ext3 71012 2
jbd 51924 2 [ext3]

Any clues on how to fix this problem are welcome.

Thanks a lot,
Adriano.


Quantcast