Combo DVD + CDRW drive - scd0 is not a valid block device
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Combo DVD + CDRW drive - scd0 is not a valid block device
I have a Dell Inspiron 2650 drive with a Toshiba DVD-ROM / CDRW combo drive onboard. It's attached to IDE as hdc. I am running Debian 3.0 Woody and had no problems getting the drive working when using /dev/hdc.
Now, I've installed ide-scsi as a module and removed ide-cd from the kernel by modularising "Include IDE/ATAPI CDROM Support" from ATA/IDE/MFM/RLL support. I am using Kernel 2.4.22 with supermount-ng patch and latest ACPI patch from sourceforge.
I cant get anything to mount on the drive using scsi emulation, but I can with IDE. Everything else seems to be fine, I'm not auto-loading either ide-cd.o or ide-scsi.o
Here's what I'm doing:
Situation 1: This works (will mount cd's but wont work as a writer)
modprobe ide-cd
mount -t iso9660 /dev/hdc /mnt/cdrom
mounts the cd OK and I can read it.
Situation 2: Does not mount CDs but xcdroast WILL READ + WRITE discs!
modprobe ide-scsi
mount -t iso9660 /dev/hdc /mnt/cdrom
complains that I am using the IDE device when using ide-scsi.
(sorry ... windows box started acting up ... so this is a continuation of last post)
mount -t iso9660 /dev/scd0 /mnt/cdrom
Complains that "/dev/scd0 is not a valid block device"
The same happens if I use /dev/sr0, /dev/sg0 /dev/scd0,1,2,3,4,5 etc
Here's a dump of lsmod when I'm having the problem:
Moresse:~# lsmod
Module Size Used by Not tainted
ide-scsi 10800 0
pcmf502r3 64992 1
nls_iso8859-1 2812 2 (autoclean)
nls_cp437 4316 2 (autoclean)
i810_audio 22940 0 (unused)
ac97_codec 13076 0 [i810_audio]
I've modularised both ide-cd and ide-scsi. Meaning, that ide-cd is not loaded when scsi emulation is working. Before I modularised both ide-cd and ide-scsi, I had ide-scsi built in and NO IDE-CD. Same fault exactly.
dmesg looks like this:
(or at least I'm sure this is the bit you're interested in)
I have set "hdc=scsi" in the append line of lilo and re-installed lilo to activate the changes. This breaks the /dev/hdc capabilities, but doesn't fix the /dev/scd0 issue.
I've also tried hdc=ide-scsi and this also doesn't fix anything.
However,
Leaving hdc=ide-scsi off the append line, modprobing ide-cd, and mounting /dev/hdc does work fine. I have no problems with the drive under Windows, (curse it) so I'm sure the drive itself is OK.
On the posts, the hdc=scsi line is not included. So I guess that may account for some of the error messages. The question is guess is - what does /dev/scd0 is not a block device mean, considering ide-cd.o is not loaded and ide-scsi is loaded. Xcdroast has no problems using the drive at all, I just cant mount for some reason. Help!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.