LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-19-2005, 04:25 PM   #1
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430

Rep: Reputation: 30
Problems getting /cdrom1 on /hdd to work


OK, I have very little hair left at this point.

I installed Kanotix 2005-01, which becomes Debian Sid upon installation. Using the 2.6.10 kernel. I have two cd drives:

/dev/hdc is my cdrw, seen in fstab as "cdrom".

/dev/hdd is my cdrom drive, seen in fstab as "cdrom1". I can't see data discs or play audio discs with cdrom1, even as root. It does eject, however. This is the drive that has the audio cable connected to the soundcard, and I want it to be the drive used by KSCD, XMMS, etc.

If I configure KSCD to use /dev/hdd or /dev/cdrom1, KSCD just shows the drive as "ejected."

Using "/cdaudio" in KSCD points to my cdrw in /dev/hdc, not /dev/hdd.

XMMS shows empty directories for /cdrom1.

Working with Kano in the Kanotix forum, he suggested I try changing to supermount. I followed the instructions and now have the lines below in fstab. It didn't help anything. Since changing to supermount, I lost "users" in fstab for /cdrom and /cdrom1. I have never seen an fstab that looks like this:

/cdrom /cdrom supermount fs=auto,dev=/dev/cdrom 0 0
/cdrom1 /cdrom1 supermount fs=auto,dev=/dev/cdrom1 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,users,noexec,noauto 0 0

-------------------------------------

Output from cdrecord -scanbus:

# cdrecord -scanbus
cdrecord: Warning: Running on Linux-2.6.10-kanotix-8
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
Linux sg driver version: 3.5.31
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) *
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) 'IOMEGA ' 'ZIP 100 ' 'P.04' Removable Disk
0,7,0 7) *
---------------------------------------

Output from ls -l:

# ls -l /dev/cdrom
lrwxrwxrwx 1 root root 8 Mar 19 13:26 /dev/cdrom -> /dev/hdc

# ls -l /dev/cdrom1
lrwxrwxrwx 1 root root 8 Mar 19 13:26 /dev/cdrom1 -> /dev/hdd

# ls -l /dev/cdaudio
lrwxrwxrwx 1 root root 10 Mar 19 13:26 /dev/cdaudio -> /dev/cdrom
----------------------------------------

What do I have to do to make /cdrom1 on /hdd useable? And how do I change the lines in fstab to allow users again?

Thanks for any and all help.

Siri Amrit

Last edited by tigerflag; 03-19-2005 at 04:28 PM.
 
Old 03-19-2005, 04:42 PM   #2
APB_4
Member
 
Registered: Nov 2004
Distribution: KDE Neon User edition; Manjaro; OpenSUSE Leap
Posts: 298

Rep: Reputation: 31
have you just tried mounting it?
"mount -t iso9660 /dev/hdd /mnt/cdrom1" stick in a valid mount point instead of /mnt/cdrom1 or make a directory called /mnt/cdrom1
 
Old 03-19-2005, 07:24 PM   #3
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430

Original Poster
Rep: Reputation: 30
I tried both your ideas.

# mount -t iso9660 /dev/hdd /mnt/cdrom1
mount: mount point /mnt/cdrom1 is a symbolic link to nowhere

I tried making a directory called cdrom1 under /mnt (as root) and couldn't do it. Says the file exists. What exists is a link called cdrom1 that links to nothing.

*Edit to above.

I deleted the cdrom1 link in /mnt and made a directory there for cdrom1 instead. didn't seem to make any difference.

What I don't understand is why this still has to be so hard! There must be more than a few of us with this kind of hardware configuration. You'd think Linux would have it nailed by now. I tried Mepis 2004.06 and it was no better in this regard. Something to do with the kernel? Or Debian? I never had this problem with Slackware.

Last edited by tigerflag; 03-19-2005 at 07:51 PM.
 
Old 03-20-2005, 06:30 AM   #4
APB_4
Member
 
Registered: Nov 2004
Distribution: KDE Neon User edition; Manjaro; OpenSUSE Leap
Posts: 298

Rep: Reputation: 31
Well I've got a cd-rw and a dvd player and it worked for that. What error did you get once you made the directory /mnt/cdrom1?
 
Old 03-20-2005, 07:16 AM   #5
mickza
Member
 
Registered: Mar 2005
Location: South Africa
Distribution: Centos, Fedora, Ubuntu desktop, IPCop
Posts: 168

Rep: Reputation: 33
Wasńt /dev/cdrom etc dropped in kernel 2.6 and replaced with /media/cdrom and /media/cdwriter etc??

Certainly the case with Fedora Core 3

Hope this is of assistance
 
Old 03-20-2005, 03:15 PM   #6
APB_4
Member
 
Registered: Nov 2004
Distribution: KDE Neon User edition; Manjaro; OpenSUSE Leap
Posts: 298

Rep: Reputation: 31
Quote:
Wasńt /dev/cdrom etc dropped in kernel 2.6 and replaced with /media/cdrom and /media/cdwriter etc??
No that would just be a feature of the latest fedora. You can mount a device anywhere you like.
 
Old 03-24-2005, 06:16 PM   #7
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430

Original Poster
Rep: Reputation: 30
Problem solved!

For anybody else with similar problems, it was a bad drive. Replaced it. It works now. Thanks.

Siri Amrit
 
  


Reply



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
Hdd partition work telcy Linux - Newbie 10 09-30-2005 06:45 PM
problem getting USB HDD to work haimat Linux - Hardware 8 04-25-2005 10:01 AM
HDD partition doesn't work! WHY?? calebros Linux - Hardware 6 04-20-2005 02:51 PM
Getting HDD to work both in Windows and Linux Cyberian Linux - Hardware 10 01-04-2005 11:24 AM
Can't get Linux to work with my SATA HDD (I think) triplej3000 Linux - General 6 10-12-2004 08:33 AM

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

All times are GMT -5. The time now is 07:50 AM.

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