LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-06-2002, 12:35 PM   #1
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Rep: Reputation: 15
How to correctly achieve ide-scsi emulation...



Some new questions:
Alright, First question hopefully is an easy one. Can I play cd's through my dvd drive? It's at /dev/hdd....I have it set up so I can play dvd's, but I was wondering if I can still use it to read cd's.

Second question. Linux says that my CD rw is at /dev/scd0, I can't mount /dev/scd0 or /dev/hdc (Secondary IDE Master is where the drive is) When I try to moung /dev/hdc I get the following:
[root@localhost Jamie]# mount -t iso9660 /dev/hdc /mnt/cdrw
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
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?)

When I try to mount /dev/sdc0 I get:
[root@localhost Jamie]# mount -t iso9660 /dev/scd0 /mnt/cdrw
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
or too many mounted file systems


So what I need to know/figure out (which I've been trying to do unsuccesfully) is how to correctly make it so I can use the cdrw. I have two symbolic links created one /dev/cdrw points to /dev/sdc0 as well as /dev/cdrom which points to the same thing....I also have a symbolic link /dev/dvd that points to /dev/hdd for the dvd drive (if that's helpful in making it easier to explain if I can play a cd using the dvd drive) Hopefully someone can help me. Sorry if my questions are simple ones, I've searched the posts to try and find an answer, but always come up blank...


Last edited by jambeck; 11-07-2002 at 05:03 PM.
 
Old 11-06-2002, 12:40 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
You could try mounting /dev/scd0 instead of /dev/cdrom1. Basically, although you would expect your CDRW to be /dev/hdc (your DVD is hdd), because you cannot use it's burning facilities without it pretending to be a SCSI device, it is called scd0 instead (s for scsi ). So, your fstab entry, if it refers to hdc is wrong... if there is a link between scd0 and cdrom1, then it should work. I would try this:
mount -t iso9660 /dev/scd0 /mnt/cdrom1 (presuming the dir /mnt/cdrom1 already exists). If it works, then you should edit your fstab accordingly. Did that make sense or was I rabbiting?
 
Old 11-06-2002, 12:46 PM   #3
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
That made perfect sense. I thought that might be the case but I didn't realize that in order to utilize the burning facilities it would have to be scsi like. I'll try doing that as soon as I get a chance. (I tried things similar to this but I don't think I did it just that way.) One more question, if cdrom1 is not linked to scd0, can I/Should I/How would I go about doing that?
 
Old 11-06-2002, 12:50 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
If you edit your fstab, you won't necessarily need to link it... when you want to mount your CDRW drive, you'd simply type mount /mnt/cdrom1 (I would suggest renaming the directories to make better sense, such as dvd and cdrw?). However, this is how you'd do it (as root):
ln -s /dev/scd0 /dev/cdrom1
Note: That was a little L, not a capital i.
 
Old 11-06-2002, 12:51 PM   #5
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
ln -sf /dev/scd0 /dev/cdrom1
thankfully, when kernel 2.6 is released , we won't have to do this dance anymore. we will be able to burn directly to /dev/hdx

edit: sorry thymox, i was typing while you posted.

Last edited by rshaw; 11-06-2002 at 12:56 PM.
 
Old 11-06-2002, 12:55 PM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Cool! I'm looking forward to it already! Mandy and RH (I don't know about SuSE) are already configuring CDRWs automagically, though, and adding ide-scsi support on bootup, so it won't make much difference to newbs using those distros.
 
Old 11-06-2002, 01:00 PM   #7
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
yast trys but usually needs a helping handedit (with my usb burner anyway)
it remains to be seen how many burner apps are going to need a re-write
 
Old 11-06-2002, 01:04 PM   #8
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks a lot guys. I was planning on renaming the /mnt directories but I was working on just getting the stuff working first. This site is making my linux experience all the more enjoyable. Thanks a lot!
 
Old 11-06-2002, 01:05 PM   #9
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Surely it would only be a modification of cdrecord?
 
Old 11-06-2002, 01:12 PM   #10
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
most likely.
 
Old 11-06-2002, 01:43 PM   #11
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
I get this error when I try to mount /dev/scd0 to /mnt/cdrom1:

mount: block device /dev/scd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
or too many mounted file systems

??
 
Old 11-07-2002, 05:19 PM   #12
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
Any help anyone?
 
Old 11-07-2002, 06:59 PM   #13
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
What was the complete command you gave?
 
Old 11-07-2002, 07:58 PM   #14
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
Sorry, What I did was edited the original post to reflect what my current problem was. Anyways, the command I did to mount was
mount -t iso9660 /dev/sdc0 /mnt/cdrw
I also tried
mount -t iso9660 /dev/hdc /mnt/cdrw

Both of the error messages are an edit of the orignial post at the top of the thread if you'd like to see them. Thanks!
 
Old 11-09-2002, 02:06 PM   #15
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub not installing correctly confidential007 Fedora - Installation 7 07-10-2004 04:14 PM
nothing installing correctly Vindane Slackware 3 05-28-2004 12:25 PM
Lilo not working correctly after installing slackware. jpierce09 Slackware 5 07-15-2003 01:04 PM
am i doing this correctly? dunkyb Linux - Networking 19 02-07-2003 02:52 AM
LFS packages not installing correctly... Chijtska Linux From Scratch 2 02-11-2002 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration