SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've been trying to get SCSI emulation working for my IDE CD-RW device on Slack 9.1 with the stock 2.4.22 kernel. Right now, it gets detected as /dev/hda.
I've looked through a lot of previous posts on this matter, but still haven't found a solution to my problem.
Modified /etc/fstab to mount /dev/scd0 instead of /dev/hda
With all that done, it still refuses to work. /dev/hda is still being recognized as the CDRW drive rather than /dev/scd0 which is should be with scsi emulation.
Basically, because of that, I can't use cdrecord to burn anything.
# cdrtools -scanbus
-bash: cdrtools: command not found
root@NightHawk:~# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
As I said earlier, /dev/hda is still recognized, but /dev/scd0 is not.
# mount /dev/scd0 /mnt/cdrom/
mount: /dev/scd0 is not a valid block device
# mount /dev/hda /mnt/cdrom/
mount: block device /dev/hda is write-protected, mounting read-only
Any ideas on how I can get this to work?
Thanks in advance!
Ya im getting the exact some problem with my cd-r drive. But its seeing it as /dev/hdd i also have a digital camera which is mounted /dev/sda1. Instead of trying to mount the cd-r as /dev/scd0 i tried /dev/sda. And nothing working. hmm i installed slackware with the burner because its faster than my normal cdrom drive so right now its mount as /dev/cdrom. Please Help me out with this i recently download gtoaster and i need scsi emulation inorder to use this program. Before i used xcdroaster, but i cant convert from mp3 to wav to make a audio cd. Its very confusing program to use i know other people will disagree with me but thats my option. Anyways Please give US a hand with this. I have ide-scsi loaded as well in my lsmod and i added modprobe ide-scsi to /etc/rc.d/rc.local so it will start up everytime. But still not working.. Thanx for your Help
Ok YAYAYYA i got it working. This is what i did so you know how to get it working (i never tested it yet but im pretty sure it will work) ok make sure u add append like this and change accoradinaly?? lol ok here it is:
# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section append="hdd=ide-scsi"
boot = /dev/hda
message = /boot/boot_message.txt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
# VESA framebuffer console @ 1024x768x256
vga = 773
Then i rebooted checked dmesg reliezed it worked cuz it said ide-scsi emulation for hdd at sr0 so then i went into my fstab and changed apporitaltly. Good Luck i hope it works for u!!1
NetRyder, I have noticed that the append line in your lilo.conf file has to be in the right place or it doesn't work. You could try putting it the same place as Matt3333 has it. That is where I've always put it to get it to work, right before the boot line.
You could also burn CD's using the drive as an ATAPI device. You just need to tell cdrecord to look for it, since it does not scan for these devices by default:
cdrecord -scanbus dev=ATAPI:
and then to burn a disc:
cdrecord -v -eject dev=ATAPI:0,0,0 cdimage.iso
using of course whatever device address it actually turns out to be and including the options you need for the type of disc you are actually burning.
I'm out of town right now, so I'm not able to access the internet regularly. Sorry I couldn't check your responses and respond earlier. I'll try everything that has been suggested so far and post my results the next time I get a chance to connect.
Alright, I gave it a shot yesterday, and it's all working now.
The problem was the position of the "append" line in the lilo.conf file. I just had to place it before the "boot" line, and run /sbin/lilo
Thanks a lot for the help and suggestions, everyone.
Hey guys, I successfully set up scsi emulation a few months ago so I could get my CD burner to work. I also set up my normal CD ROM with scsi emulation so I could make direct copies of CD's without temp ISO files. I had one problem, though. Once it was set up with scsi emulation, I could no longer play audio CD's. I tried all sorts of different players and wierd mount-ing commands, but to no avail. I had the "append" line at the end of my lilo.conf file, and it worked. (That's where the help file on justlinux.com said to put it ) I've moved the line to the spot right before the "boot" line is in lilo.conf, but I was wondering, is this how I should fix my problem? Also, is this the correct way to use scsi emulation for two devices: append = "hdd=ide-scsi hdc=ide-scsi" . Thanks in advance! PS. Haven't rebooted yet, don't know if it worked or not. Too lazy to reboot.
Okay, not sure what I've done... but it works! ...In Gnome-CD. I was kinda hoping to get it working with XMMS, but I guess I'll live. Kinda disappointed, though. Can anyone tell me how I might set up either my box or XMMS to recognize audio CD's? I appreciate all the help everyone gave the original poster ... Thanks! it helped me too! Now just imagine how many people you've affected with all of your other posts ...
Okay, I think I know what it might have been... links! I "ln -s"'ed /dev/scd0 to dev/cdrom. Works in Gnome-CD, still no go in XMMS, although I think it might have to be the CDplayer plugin for XMMS and the directory where it looks. I'll keep working on it, but help would be greatly appreciated.