Results 1 to 10 of 16
I'm trying to get my CDROM to emulate a SCSI drive by emulation and I'm running into errors.
Here's what my modules.conf looks like:
Code:
options ide-cd ignore=hdc
alias block-major-11 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-11-2003 #1Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
CDRW
I'm trying to get my CDROM to emulate a SCSI drive by emulation and I'm running into errors.
Here's what my modules.conf looks like:Now, when I try opening a CD, nothing happens. /dev/scd0's group is cdrom so I naturally added myself to it. I also tried doing "cat /dev/scd0" which gave me "no medium found"Code:options ide-cd ignore=hdc alias block-major-11 sr_mod add above sr-mod ide-scsi
Finally, I looked inside my kernel and found this info.
/var/log/kern.log: cdrom open failed
I'm using kernel 2.4.22.The best things in life are free.
- 09-11-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Check what "cat /proc/ide/hdc/driver" says. I take it your CD-ROM is hdc?
- 09-11-2003 #3Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
ide-scsi version 0.93
The best things in life are free.
- 09-11-2003 #4Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
Is the module ide-cd supposed to be loaded? If so, I get this error when I try to load it:
Code:/etc/modules.conf is more recent than lib/modules/2.4.22/modules.dep
The best things in life are free.
- 09-11-2003 #5Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
It shouldn't matter whether ide-cd is loaded or not. If you don't have any IDE CD drivers that you wish to access through the common IDE interface, you can just as well leave it unloaded. ide-cd is simply a userspace interface layer.
That's not really an error, but a warning, that tells you that the dependency information is out of date. Just run "depmod -ae" and it should disappear.
Anyway, the ide-scsi driver has hooked itself to the IDE drive. Check /proc/scsi/scsi if it's registered there. If it is, try to cat it again and check if "dmesg | tail" gets some more details on why the open failed. The kernel log file sometimes leave out some messages of less importance.
- 09-12-2003 #6Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
cat /proc/scsi/scsi gives me info about my CDRW.
dmesg | tail gives me info about my CDRW but it also gives me this:
I/O error: dev 0b:00, sector 0
Dolda, would it help if I put exactly what I see?The best things in life are free.
- 09-12-2003 #7Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Strange... I've looked through the kernel source, and I just can't seem to find any good condition that would cause that. Of course, those sections are big and complicated, and I may well have missed something, but are you sure that the disk actually works?
- 09-12-2003 #8Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
I really wish I saved my old kernel. I might try to compile it in 2.4.21 and see if it works there. Other than that, I don't know what I'm doing wrong.
The best things in life are free.
- 09-12-2003 #9Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
After doing some research with XMMS and my cdrom drive, I found this information:
Code:Device /dev/cdrom OK device has 13 tracks Total Length: 67:28 digital audio extraction test failed:inappropriate ioctl for device
The best things in life are free.
- 09-12-2003 #10Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
I'm sorry to say so, but I really have no idea what would be causing this. It almost seems like a bug in 2.4.22, but that still just seems so unlikely.


Reply With Quote
