LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-26-2003, 09:33 PM   #1
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
cdrom problems


hi all,

i've been running slackware 9 for a little while now, and i'm trying to configure my cdrom and cdrw to work, but have been unsuccessful so far. when i try to mount an ordinary audio CD i get the wrong fs type, bad option etc. error. after trying different fstab options (noauto,users,ro and that sort of thing), i looked at dmesg to see if anything was happening during boot, and found this:

hdc: SONY CD-RW CRX185E1, ATAPI CD/DVD-ROM drive
hdd: E-IDE CD-ROM CR-854E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
blk: queue c0388784, I/O limit 4095Mb (mask 0xffffffff)
hda: 17836560 sectors (9132 MB) w/512KiB Cache, CHS=1110/255/63, UDMA(33)
blk: queue c03888c0, I/O limit 4095Mb (mask 0xffffffff)
hdb: 58633344 sectors (30020 MB) w/2048KiB Cache, CHS=3649/255/63, UDMA(100)
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdd: ATAPI 54X CD-ROM drive, 128kB Cache, UDMA(33)


which seemed ok, but then there was this:


hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
cdrom: open failed.
cdrom: open failed.
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54
end_request: I/O error, dev 16:40 (hdd), sector 0
hdd: command error: status=0x51 { DriveReady SeekComplete Error }


these errors went on for a while with different sectors. hdc wasn't mentioned, but i get the same problems with it.

does anyone know what's going on here?

thanks,
 
Old 08-26-2003, 09:37 PM   #2
anon099
Member
 
Registered: Oct 2002
Posts: 188

Rep: Reputation: Disabled
um...
you don't usually have to mount an audio cd if i'm not mistaken.
you usually just use a program that reads it.
could be totally wrong though
 
Old 08-26-2003, 09:44 PM   #3
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Original Poster
Rep: Reputation: 33
when i try to use cd player in gnome i get a drive error - totally nondescriptive unfortunately...
 
Old 08-27-2003, 01:38 AM   #4
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
I'm having the same problem:

http://www.linuxquestions.org/questi...Complete+Error

I'm having this problem with the 2.4.21 kernel (even with the ac4 patches) as well as the 2.4.22 kernel I just installed from source.

The 2.4.20 kernel still works and I have NO idea what's changed to cause this problem.

Please let me know if you figure anything out.

Peace...
 
Old 08-27-2003, 03:53 AM   #5
anon099
Member
 
Registered: Oct 2002
Posts: 188

Rep: Reputation: Disabled
this is just a guess of a work around...
have you tried to use the ide-scsi driver to set up the cdrom drive.
i know thats usually used for burning but it does work for just a regular cdrom drive too.
 
Old 08-27-2003, 10:00 PM   #6
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Original Poster
Rep: Reputation: 33
i found the following line in dmesg:

scsi0 : SCSI host adapter emulation for IDE ATAPI devices

so i think i have what you're talking about, but i'm not sure.
 
Old 08-27-2003, 11:17 PM   #7
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Original Poster
Rep: Reputation: 33
ok, a few more details on what's wrong:

i can mount data cd's alright on both drives, but not audio cd's. when i use the -t auto option it tells me i have to specify a filesystem, and when i use -t iso9660 it tells me bad fs.

i've been trying to find other references to this kind of thing online, and been unsuccessful so far. man mount mentioned that mount looks at a file called /etc/filesystems to probe when you use auto, and i noticed that i don't have this file. i do, however, have /proc/filesystems, and iso9660 is listed, so i don't think that's really a problem.

does anyone have any suggestions or advice?? i don't know what to try next....
 
Old 08-27-2003, 11:32 PM   #8
anon099
Member
 
Registered: Oct 2002
Posts: 188

Rep: Reputation: Disabled
ok...
i hate to keep saying this but i don't think you usually mount audio cd's.
you use program which stream the audio data from the drive.
you say that you have tried to play it from the gnome cd player and got errors.
do you have a file called /dev/cdrom?
it should link to your actual cdrom drive.
check the /dev directory to see if it exists.

ls -l /dev/cdrom

if it says it s there then see what it is pointing to.
in your case it appears that it should be /dev/hdd
the right side of the above command should look like

/dev/cdrom -> /dev/hdd

if /dev/cdrom exists and its pointing to the wrong thing then you need to erase it before making the new link

so if /dev/cdrom does exist then erase it with
rm /dev/cdrom

then make the link to your actual cdrom drive
ln -s /dev/hdd /dev/cdrom

if the link was not there to begin with then just do the
ln -s /dev/hdd /dev/cdrom

hope that helps
 
Old 08-27-2003, 11:47 PM   #9
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Original Poster
Rep: Reputation: 33
that link is there,

lrwxrwxrwx 1 root root 8 Aug 23 12:19 /dev/cdrom -> /dev/hdd

although it's only permissible as root. can i change that?

when i try CD Player under gnome, it just says drive error - nothing else.
 
Old 08-28-2003, 03:08 AM   #10
anon099
Member
 
Registered: Oct 2002
Posts: 188

Rep: Reputation: Disabled
hmmm
One would think that the gnome cd player would tell you that the reason it couldn't play was because permission was denied. There are a couple of command line programs you could try as root before going around changing permissions to see if thats the problem. cdplay and workbone are two that i know of.
cdplay is probably your best bet for having. just type

cdplay -a

and it should start playing the cd from the beginning.

be sure to do that as root though as you are correct in thinking you don't have permission to access it as user.
 
Old 08-28-2003, 03:16 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Long ago, I should have moved this to the Hardware Forum, so I'll do it now

Cool
 
Old 08-28-2003, 11:48 AM   #12
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Original Poster
Rep: Reputation: 33
solution

sorry MasterC, should've posted it in hardware i suppose. anyway, i solved the problem, you guys were right about it being permissions. as root i ran

chmod 444 /dev/cdrom

and now i can play cd's as any user.

thanks everyone for the help!
 
Old 08-28-2003, 12:16 PM   #13
anon099
Member
 
Registered: Oct 2002
Posts: 188

Rep: Reputation: Disabled
word
 
  


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
Cdrom Problems Soulful93 Slackware 4 05-12-2005 09:53 AM
Second CDROM problems Maverick1182 Linux - Newbie 8 08-30-2004 07:57 AM
cdrom problems... punked Linux - Hardware 1 08-15-2004 07:28 AM
CD problems: /mnt/cdrom and /dev/cdrom okok Linux - Newbie 5 04-09-2003 10:11 AM
CDROM Problems neovox Linux - General 12 03-04-2001 07:29 PM

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

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