LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-16-2005, 09:24 PM   #1
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
unable to mount CD or DVD


Hello all. I am having a strange problem all of a sudden. If I put an audio CD in either my cdburner (/dev/hdc/) or DVDRom (/dev/hdd/) I get a huge string of error messages. I am unable to mount either device, I get a pop up error box that says
Code:
/dev/hdd: Input/output error
mount: block device /dev/hdd is write-protected, mounting read-only
/dev/hdd: Input/output error
mount: /dev/hdd: can't read superblock
Please check that the disk is entered correctly.
Here is the output of dmesg -
Code:
ATAPI device hdc:
  Error: Illegal request -- (Sense key=0x05)
  Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
  The failed "Read 10" packet command was:
  "28 00 00 00 00 10 00 00 02 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdc, sector 64
Buffer I/O error on device hdc, logical block 8
cdrom: hdc: mrw address space DMA selected
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
ide: failed opcode was 100
ATAPI device hdc:
  Error: Illegal request -- (Sense key=0x05)
  Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
  The failed "Read 10" packet command was:
  "28 00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdc, sector 0
Buffer I/O error on device hdc, logical block 0
Buffer I/O error on device hdc, logical block 1
Buffer I/O error on device hdc, logical block 2
Buffer I/O error on device hdc, logical block 3
Buffer I/O error on device hdc, logical block 4
Buffer I/O error on device hdc, logical block 5
Buffer I/O error on device hdc, logical block 6
Buffer I/O error on device hdc, logical block 7
Buffer I/O error on device hdc, logical block 8
Buffer I/O error on device hdc, logical block 9
Buffer I/O error on device hdc, logical block 10
Buffer I/O error on device hdc, logical block 11
Buffer I/O error on device hdc, logical block 12
Buffer I/O error on device hdc, logical block 13
Buffer I/O error on device hdc, logical block 14
Buffer I/O error on device hdc, logical block 15
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
ide: failed opcode was 100
ATAPI device hdc:
  Error: Illegal request -- (Sense key=0x05)
  Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
  The failed "Read 10" packet command was:
  "28 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdc, sector 0
Buffer I/O error on device hdc, logical block 0
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
ide: failed opcode was 100
ATAPI device hdc:
  Error: Illegal request -- (Sense key=0x05)
  Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
  The failed "Read 10" packet command was:
  "28 00 00 00 00 10 00 00 02 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdc, sector 64
Buffer I/O error on device hdc, logical block 8
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x50
ide: failed opcode was 100
ATAPI device hdc:
  Error: Illegal request -- (Sense key=0x05)
  Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
  The failed "Read 10" packet command was:
  "28 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdc, sector 0
FAT: unable to read boot sector
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54
ide: failed opcode was 100
ATAPI device hdd:
  Error: Illegal request -- (Sense key=0x05)
  Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
  The failed "Read 10" packet command was:
  "28 00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdd, sector 0
Buffer I/O error on device hdd, logical block 0
Buffer I/O error on device hdd, logical block 1
Buffer I/O error on device hdd, logical block 2
Buffer I/O error on device hdd, logical block 3
Buffer I/O error on device hdd, logical block 4
Buffer I/O error on device hdd, logical block 5
Buffer I/O error on device hdd, logical block 6
Buffer I/O error on device hdd, logical block 7
Buffer I/O error on device hdd, logical block 8
Buffer I/O error on device hdd, logical block 9
Buffer I/O error on device hdd, logical block 10
Buffer I/O error on device hdd, logical block 11
Buffer I/O error on device hdd, logical block 12
Buffer I/O error on device hdd, logical block 13
Buffer I/O error on device hdd, logical block 14
Buffer I/O error on device hdd, logical block 15
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54
ide: failed opcode was 100
ATAPI device hdd:
  Error: Illegal request -- (Sense key=0x05)
  Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
  The failed "Read 10" packet command was:
  "28 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdd, sector 0
Buffer I/O error on device hdd, logical block 0
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54
ide: failed opcode was 100
ATAPI device hdd:
  Error: Illegal request -- (Sense key=0x05)
  Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
  The failed "Read 10" packet command was:
  "28 00 00 00 00 10 00 00 02 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdd, sector 64
Buffer I/O error on device hdd, logical block 8
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54
ide: failed opcode was 100
I searched for these errors, and some suggested it was problem within X, so I tried shutting X down and mounting from the CLI. That also fails with the same messages. The CDs themselves are fine, I can play them on my stereo. I don't think it could be a bad drive, as I mentioned I tried both of my CD drives, and they both produce the same errors. I appreciate any suggestions that people have about how to correct this. I have hundreds of CDs to rip into mp3 and flac formats, but can't do so at present.

[EDIT]I just put a DVD in to see if that would work, and it did, so whatever the problem is, it is somehow tied specifically to the ability to read audio CDs.[/EDIT]

Thanks for your time!
Peace,
JimBass

Last edited by JimBass; 04-16-2005 at 09:27 PM.
 
Old 04-16-2005, 09:38 PM   #2
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
try running:
Code:
chmod a+wr /dev/hdc && chmod a+wr /dev/hdd
this should make the permissions of both drives (cd and dvd) read/write for all users.
Try inserting a cd and tell me if it makes any difference.
 
Old 04-16-2005, 09:39 PM   #3
RanDrake10
Member
 
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319

Rep: Reputation: 30
What does your '/etc/fstab' file show for mount type?
"udf,iso9660"?
 
Old 04-16-2005, 09:43 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Original Poster
Rep: Reputation: 48
Thanks for the suggestion, but that had no effect, still the same output to dmesg, and the same pop up error box.

This wasn't a problem in the past either, I could always mount cd and dvds as regular user, and still was able to mount a DVD just moments ago to watch with totem.

Thanks in any case!

Peace,
JimBass
 
Old 04-16-2005, 09:44 PM   #5
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Original Poster
Rep: Reputation: 48
Key lines of /etc/fstab -
/dev/hdd /media/cdrom auto pamconsole,exec,noauto,fscontext=system_ubject_r:removable_t,managed 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,fscontext=system_ubject_r:removable_t,managed 0 0
 
Old 04-16-2005, 10:00 PM   #6
RanDrake10
Member
 
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319

Rep: Reputation: 30
Can you mount them as root?
If so then just a permission problem try Gay R0b0t's suggestion or add "users" to fstab options to allow users to mount cdrom's
 
Old 04-16-2005, 10:12 PM   #7
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Original Poster
Rep: Reputation: 48
It isn't permissions, root gets the same error as the regular users. Same superblock issues in any case.

Thanks for that suggestion. I have tried everything each poster has suggested, and it didn't work.

Peace,
JimBass
 
Old 04-16-2005, 11:09 PM   #8
RanDrake10
Member
 
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319

Rep: Reputation: 30
Can you insert cd, open xmms, right click + Add, and put /media/cdrom in location. It should show files, or let you play the tracks. Your drive is looking for a data disc and there is none.
 
Old 04-16-2005, 11:29 PM   #9
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Original Poster
Rep: Reputation: 48
RanDrake,

That doesn't work either. When I click on add, then directory, choosing either media/cdrom or /media/cdrecorder both leave the playlist blank. It is getting to the point where I feel that a dreaded reboot may fix the problem - but I know it can't.

Peace,
JimBass
 
Old 04-16-2005, 11:37 PM   #10
RanDrake10
Member
 
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319

Rep: Reputation: 30
If all else fails, give it a swift reboot with the steel toes. Just one of those things that is built into the system to annoy you.
 
Old 04-16-2005, 11:43 PM   #11
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Original Poster
Rep: Reputation: 48
Tried that, still the same error. This is infuriating! I'll try again, and this time maybe go to a different kernel version? See if that makes any difference.

Peace,
JimBass
 
  


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
mount as a device: mount dvd-iso file in /dev/dvd sadarax Linux - General 21 02-03-2011 12:59 AM
unable to mount external dvd bamsesbilledbog Linux - Newbie 10 11-28-2005 03:34 PM
help - unable to mount DVD on FC3 linswf Fedora 3 02-20-2005 03:56 PM
unable to mount DVD burner, Slackware 9.1 kernel 2.4.22 apaterra Linux - Hardware 5 12-04-2004 09:43 AM
Unable to mount dvd device on Fedora corpus_delicti Linux - Hardware 8 02-03-2004 10:40 AM


All times are GMT -5. The time now is 08:19 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration