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 09-10-2011, 01:45 PM   #1
Interociter
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
Strange CD drive problem (might just be bad hardware)


I've put together a spare computer from spare parts. The CD drives work fine when used as the boot disk (live cd or install cd), but will not work when I boot from the hard drive.

I've tried Mythbuntu, Ubuntu, Debian stable and Debian testing, and they all can access the CD drive when booted off of it as an installer or Live CD. But, if I install them to the hard drive and boot from there, they can't access the CD drive.

I currently have Debian testing installed. The exact error message I get is:
(as regular user) $> mount /media/cdrom0
mount: special device /dev/cdrom does not exist

After searching for similar problems online, I tried referring to different devices in the /dev directory:
(as root) #> mount /dev/sdc0 /media/cdrom
mount: no medium found on /dev/sr0

I tried swapping out the CD drive with another, and I've tried a variety of pressed (as in, factory-burned) data CDs, but the results are always the same.

The motherboard is a nforce 570 slit-a ver 5.01. The CD drives are PATA, and the hard drive is SATA.

I realize it may be bad hardware, but I was hoping it was a software/config issue, like a finicky chipset on the motherboard that needed a bit of a workaround. Has anyone seen behavior like this before?

PS: My best guess is that the PATA controller on the motherboard is acting up, and there's something different about how the CD drive is accessed when used as the boot device (where the motherboard has to make it accessible) vs when the computer boots from something else and the it's up to the OS to load ATAPI/whatever drivers. I don't know if that's how booting & cd drives work; just grasping at straws here.

Last edited by Interociter; 09-10-2011 at 01:48 PM.
 
Old 09-10-2011, 02:04 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Most modern distros I know of refer to the first CD/DVD-drive as /dev/sr0, may be you should try that.
 
Old 09-10-2011, 02:06 PM   #3
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
In first command you get information that /dev/cdrom file is not exist, in my system it is symlink to /dev/sr0. And second there are no medium inside. Did you tried mounting it with cd inside drive?
Insert some data CD into drive and try as root:
Code:
mount /dev/sr0 /media/cdrom
Make sure /media/cdrom directory was created. To get information which device is your cdrom look at dmesg output.
 
Old 09-10-2011, 04:51 PM   #4
Interociter
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Ok, I tried mounting using /dev/sr0 instead of /dev/scd0 as eSelix suggested, but I get the same message.

Yeah, I've always got a CD in the drive. Good catch, though. The simplest things sometimes...

For what it's worth, there is only one CD-ROM in the system. When I switch them, I disconnect and physically remove the one I don't want in there.

I've also discovered that "ls -ld /dev/scd0" shows that it is a symlink to sr0. There's no "/dev/" before that "sr0", but I'm assuming that's OK. Also, "ls -ld /media/cdrom" shows it is a symlink to cdrom0 (again, with no path {"/media/"} in front of it).

I ran "dmesg | grep -i cd" and found the following lines referring to the CD-ROM. Note that I don't have a web browser installed on the machine, so I'm typing these into another PC where I can see the problem PC's screen. I didn't bother typing in the timestamps from dmesg:

"scsi 4:0:0:0 CD-ROM HL-DT-ST DVDRRW GSA-4166B 1.00 PQ: 0 ansi: 5"
"sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray"
"cdrom: Uniform CD-ROM driver Revision: 3.20"
"sr 4:0:0:0: Attached scsi CD-ROM sr0"

Last edited by Interociter; 09-10-2011 at 07:13 PM. Reason: Typo :P
 
Old 09-11-2011, 10:30 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Will it find a cdr? If it finds a cdr on boot and doesn't find a pressed disc on data, you've left out something essential from the kernel.
 
  


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
Strange Hard Drive Problem EsotericMatt Linux - Hardware 9 07-24-2006 03:12 PM
Strange tape drive problem Numptie Red Hat 2 04-18-2005 09:23 AM
strange problem with dvd drive edigital Linux - Software 2 02-21-2004 05:06 PM

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

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