Click to See Complete Forum and Search --> : cdrom is no longer a valid block device


pilotgi
02-26-2004, 03:42 PM
It was working before but now it isn't. It may have happened after I installed the latest security patch for SUSE 9.0 from the on line update but I'm not sure.

I have another install of 9.0 on another partition that also has the security update and everything is working fine. I have compared files from /etc/fstab, /dev, dmesg, lsmod between the two and haven't found any differences yet.

It sounds like an ide-scsi problem but that module is loaded at boot. I'm also getting random, temporary freezes when running this install, where the mouses freezes for a few seconds. Or when typing this post, the letters stop appearing for a few seconds and then it catches up.

Results of cdrecord dev=0,0,0 driveropts=help -checkdrive:

scsi dev 0,0,0
cdrecord: Permission denied. Cannot open '/dev/pg0'. Cannot open SCSI driver.


I'd like to solve this problem without reinstalling the os.

arn0ld
02-26-2004, 10:43 PM
if your cdrom is (e.g.) /dev/hdb, try mount /dev/hdb /dev/cd. If this works, you have cd-ide (whatever) support enabled with scsi-emulation. In this case,
cd-ide support wins. To disable, rebuild kernel.

I also have a vague (probably wrong) recollection,
this can be fixed by rmmod'ing if the cd-ide support is not built into the kernel.

pilotgi
02-26-2004, 11:54 PM
When I type: # mount /dev/hdc /dev/cdrom

I get: mount: block device /dev/hdc is write-protected, mounting read only
/dev/hdc: Input/output error
mount: you must specify the filesystem type

EnigmaOne
02-27-2004, 12:31 AM
If you're using GRUB as your bootloader, make sure that /boot/grub/grub.conf has something along the lines of:

title SuSE_Something_Something (Kernel_Release/Version_Numbers)
root (hd0,0)
kernel /vmlinuz-Kernel_Release/Version_Numbers ro root=/dev/hda2 hdc=ide-scsi
initrd /initrd-Kernel_Release/Version_Numbers.img

the important part being hdc=ide-scsi.

arn0ld
02-27-2004, 12:29 PM
Originally posted by pilotgi
When I type: # mount /dev/hdc /dev/cdrom

I get: mount: block device /dev/hdc is write-protected, mounting read only
/dev/hdc: Input/output error
mount: you must specify the filesystem type

This means you are trying to mount an audio CD and also that /dev/hdc, rather tham /dev/pg0, is your CD device. Even with "hdc=ide-scsi.", you will still have the problem I described above.