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 05-05-2004, 07:04 PM   #1
Irving
Member
 
Registered: May 2004
Distribution: Gentoo - KDE 3.2.2
Posts: 57

Rep: Reputation: 15
CDROM problems in debian


I'm running Debian on a laptop. I have a CD/DVD ROM drive installed. I installed debian from the CD, and I have tested a CD or two and reading data appears to work fine. Although, now I'm trying to access an audio CD and I am getting errors. In KDE, two devices appear: "CD-ROM [/cdrom]" and "CD-ROM [/media/cdrom]" When I try to access either one, it says:

"mount: wrong fs type, bad option, bad superblock on /dev/hda,
or too many mounted file systems
Please check that the disk is entered correctly."

I'm a bit new to Linux, (I’m a familiar with mounting), so I would like to know how to set up a CD rom drive (in the KDE gui -- if there is a way other than just putting it in and having linux detect it) and maybe some ways to find out if things are working right.

Any help would be great.
 
Old 05-05-2004, 07:29 PM   #2
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
/dev/hda looks like your IDE harddisk (primary master)

is your cdrom really on /dev/hda ?
try scanning the output of the "dmesg" command (as root)
for instances of cdrom and verify which device is matching
your cdrom (probably /dev/hdc)
e.g. as root run: "dmesg | grep -i cdrom"
is the symlink /dev/cdrom set up correctly ?
 
Old 05-05-2004, 08:09 PM   #3
Irving
Member
 
Registered: May 2004
Distribution: Gentoo - KDE 3.2.2
Posts: 57

Original Poster
Rep: Reputation: 15
Yes, I noticed that! The gui was using the file cdrom, which was just a link to cdrom0, which was just a link to /dev/hda. I have a physical cdrom drive, so I'm pretty sure pointing to hda isn't correct. I found a source on the net about mounting drives, which said the generic mounting point for CDROM is /mnt/cdrom, but there was no folder with that name in my mnt folder. I created one... but I don't know how to proceed from here.

I did what you said, first typed "dmesg | grep -i cdrom" and got:

SJCD: Sanyo CDR-H94A cdrom driver version 1.7.
SJCD: Sanyo CDR-H94A cdrom driver version 1.7.
SJCD: Sanyo CDR-H94A cdrom driver version 1.7.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
SJCD: Sanyo CDR-H94A cdrom driver version 1.7.

When I just typed "dmesg", I saw lots and lots of messages about /dev/hda and errors:

ATAPI device hda:
Error: Not ready -- (Sense key=0x02)
Media load or eject failed -- (asc=0x53, ascq=0x00)
The failed "Test Unit Ready" packet command was:
"00 00 00 00 00 00 00 00 00 00 00 00 "

Thanks for the quick reply, I look forward to your further help!
 
Old 05-07-2004, 09:22 PM   #4
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
do you have SCSI emulation enabled for CDROM ? is it a CD-burner?

the output of "dmesg | grep hd" should give some more infos
 
Old 05-08-2004, 04:43 AM   #5
Irving
Member
 
Registered: May 2004
Distribution: Gentoo - KDE 3.2.2
Posts: 57

Original Poster
Rep: Reputation: 15
I figured it out. I didn't have the correct permissions to access the drive, strangely enough. I could access data just fine, but not audio, until I went in as root and changed the permissions for /dev/hda.

Thanks for the replies!
 
  


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
Debian CDROM integrity raptorman Debian 7 07-29-2005 01:03 AM
Debian CDROM Problems - Please Read! rnmartinez Linux - Software 8 06-18-2004 01:20 PM
How to set up a CDROM in Debian? thcmwz Debian 1 11-30-2003 05:29 PM
Debian install CDROM problems gilmangunn Debian 4 10-26-2003 09:22 AM
CD problems: /mnt/cdrom and /dev/cdrom okok Linux - Newbie 5 04-09-2003 10:11 AM

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

All times are GMT -5. The time now is 12: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