LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-17-2009, 03:55 PM   #1
chuckbuhler
Member
 
Registered: Oct 2005
Distribution: SuSe
Posts: 95

Rep: Reputation: 17
When empty, cannot open cd/dvd door with button or command line.


I have two internal DVD drives, one a DVD/CDRW and the other a DVDRW, plus an external USB DVDRW.

The external DVDRW works perfectly. The two internal DVDs will not open by button, or using the eject command if there isn't something already in them. The both burn disks just fine and read disks just fine. I haven't tried playing an audio cd, but would assume that should work too.

The computer is:
DakTech Discovery 6
Intel D946GZ - Dual core 3.4ghz
4gb Ram - 330gb sata dasd

DVD 0 /dev/sr0
Lite-On DVD C LH52C1P

DVD 1 /dev/sr1
Lite-On DVDRW LH-20A1H

DVD 2 /dev/sr2
Sony DVD RW DRU-820A

DVD 0 and 1 are hooked up to a single IDE cable.

I'm running openSuse 11.0 with current updates. Desktop is KDE 3.5.?. K3B burns disks on all three drives with no problems. When K3B is done burning a disk, it can open the drives OK.

(DVD 0 and DVD 1)
If I use a paperclip, open the drives, and put a disk in there, I can umount and/or eject just fine, as long as a disk is in there. Remove the disk and close the door then cannot open the drives.

(DVD 2)
The external drive works perfectly with or without a disk.

I've tailed the /var/log/messages file and don't see any errors. Dmesg doesn't show any errors.

sudo as root:
dhcppc1: # eject -rv /dev/sr1
eject: device name is `/dev/sr1'
eject: expanded name is `/dev/sr1'
eject: `/dev/sr1' is not mounted
eject: `/dev/sr1' is not a mount point
eject: `/dev/sr1' is not a multipartition device
eject: trying to eject `/dev/sr1' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: unable to eject, last error: Input/output error

I get the same thing for both DVD 0 and DVD 1. The command works on DVD 2 with or without a disk present.

A Google search hasn't turned up any real help on this so far.

Any suggestions where to look next would be helpful.

thanks
 
Old 05-18-2009, 03:05 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Possibly something is "using" it. clean up with:

fuser -k -i /dev/sr1

eject -rv /dev/sr1

Did you try with sudo?
 
Old 05-18-2009, 07:36 AM   #3
chuckbuhler
Member
 
Registered: Oct 2005
Distribution: SuSe
Posts: 95

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by Simon Bridge View Post
Possibly something is "using" it. clean up with:

fuser -k -i /dev/sr1

eject -rv /dev/sr1

Did you try with sudo?
Nothing is using it. Have done the fuser step.

That is the eject command that I've been using, as sudo, and as root.

I've also tried this after a fresh boot of the computer, logging in as root, and trying to eject before running anything else except konsole.

I've noticed that hald is set to check the drives every two seconds. I've tried restarting hald, but that didn't make any difference.

The real oddity to me is that if there's a disk in the drive, the button on the front works without haveing to do a manual umount, it automaticly does the umount and eject. If no disk in the drive, the light flashes a couple of times, but the drive does not open.
 
Old 05-18-2009, 10:33 AM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
what do the logs say after you try to eject?
 
Old 05-18-2009, 01:47 PM   #5
chuckbuhler
Member
 
Registered: Oct 2005
Distribution: SuSe
Posts: 95

Original Poster
Rep: Reputation: 17
I'm not at home to double check right now, but from the origional post, I don't see anything in /var/log/messages or from dmesg. I've also cleared dmesg and tried again, with the same "nothing there" results.

Is there another place I should be looking?

I've also tried useing /dev/cdrom, /dev/dvd, /var/dvdrw, etc all with the same results as using the /dev/sr0 or /dev/sr1.

I'm going to try removing one drive tonight and see if it's an issue with two drives on the same IDE cable. I've already made sure that one is set to master and one to slave.

thank you for your quick responses. Any help is greatly appreciated. Been fighting this for quite some time. I'm beginnig to think I've skipped something very simple and obvious, so the second set of eyes on the problem is really helpfull.

Last edited by chuckbuhler; 05-18-2009 at 01:49 PM.
 
Old 05-19-2009, 12:55 AM   #6
cgtueno
Member
 
Registered: Jul 2003
Posts: 356
Blog Entries: 1

Rep: Reputation: 49
Hi

May I ask a really innocent question ?

You wrote "DVD 0 and 1 are hooked up to a single IDE cable"

I take it that they are both connected to the SECONDARY IDE channel
with the drives configured as master and slave ?

Have you checked the configuration in the systems BIOS menus to see that the configuration looks exactly as expected ?

Can you identify and post the make and model of the motherboard.

Interesting problem.

Chris

Last edited by cgtueno; 05-19-2009 at 01:05 AM. Reason: Clarrification to original post + enhanced
 
Old 05-19-2009, 01:12 AM   #7
cgtueno
Member
 
Registered: Jul 2003
Posts: 356
Blog Entries: 1

Rep: Reputation: 49
Hi

I've just had a couple of thoughts about this.

Can I suggest that you:

(a) Try booting the system with a live Distro (Ubuntu, etc) and see if the problem is repeatable.

(b) Replace the slave CDRW drive with a CDROM and see if the problem persists.
Surfing the www with google has turned up an number of references to people having problems with two CDRW devices (master and slave) on the same IDE channel, which was eliminated by changing the secondary to a CDROM. Sounds like a CDRW compatibility problem though I'm scratching my head as to why that should be the case since the devices are addressed by the system independently as master and slave on the IDE channel.

Still might be worth a whirl.

Most interested to hear how you get on.

Regards

Chris
 
Old 05-19-2009, 02:28 AM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
I have seen this when the drives are setup as cable select, rather than master and slave.
 
Old 05-19-2009, 08:59 AM   #9
chuckbuhler
Member
 
Registered: Oct 2005
Distribution: SuSe
Posts: 95

Original Poster
Rep: Reputation: 17
Thanks for all the responses. I didn't get the chance to mess with it last night, played with the grand kiddos instead. (Funny how those little farts tend to out rank nearly everything)

There is only one IDE port on the computer so only one cable possible. They are set master and slave. The hard drives are SATA.

I intend to remove the DVD 0 device and go with just the DVD 1 device as it does more thant the other one does. I don't duplicate disks, just that the computer came with the first drive and I wanted the second one.

I'll re-post on here what I find out.
 
Old 05-19-2009, 08:35 PM   #10
cgtueno
Member
 
Registered: Jul 2003
Posts: 356
Blog Entries: 1

Rep: Reputation: 49
Lazlow

Cool. I never set up devices with cable select, always choosing to set them as master and slave.
I hope that doesn't reveal anything sinister about my subconscious personality - Roars with laughter and promptly falls off his chair !

As a matter of interest, Lazlow, when you observed this type of fault were the drives LG or made by the same manufacturer ?

Regards

Chris
 
Old 05-19-2009, 08:49 PM   #11
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
It seems to be more of a motherboard chipset issue rather than a drive issue. Off hand I do not remember what motherboards that had the issue. Probably it would have been late PIII early P4 days.
 
Old 05-19-2009, 11:45 PM   #12
chuckbuhler
Member
 
Registered: Oct 2005
Distribution: SuSe
Posts: 95

Original Poster
Rep: Reputation: 17
I remove the first drive (DVD 0) and switched the DVD 1 drive to master. DVD 0 is not plugged in or powered.

Same issue. With no disk in the drive, the front button does not work and cannot eject using the eject command.

Tried booting the computer with a Knoppix disk and had the exact same problem.

Answer to questions above:

This is in the primary IDE slot, as this computer only has one.

The motherboard is Intel with I believe an 810 chipset. Couldn't find that out for sure. (54 year old eyes can't quite make out the print on there)

The bios looks right to me. It sees the DVD as Master and as the correct one.


I am beginning to suspect the hardware. I'm going to see if I can borrow an IDE cable from the techs at work tomorrow.

This is a bit frustrating. I maintain 31 servers at work, and here I can't get my personal computer to work @ 100%. Haha If I have to use a paper clip from now on, it's not the end of the world, but I'd really like it to work correctly.

And again, thank you for all the responses.
 
Old 05-20-2009, 09:25 AM   #13
win_to_lin_migrant
Member
 
Registered: Dec 2008
Posts: 125

Rep: Reputation: 16
Reboot, push the tray button just as the system powers on. Does it open then? If so you have confirmed that the drive(s) will open when the tray is empty.
 
Old 05-20-2009, 06:55 PM   #14
chuckbuhler
Member
 
Registered: Oct 2005
Distribution: SuSe
Posts: 95

Original Poster
Rep: Reputation: 17
Well, I tried a different IDE cable, and as expected, it made no difference.

I tried opening the drives during power up, and they did not open, with or with out a disk present.

Earlier when asked about the chipset I said that I thought it was a 810 chipset, that's wrong, it's 946GX chipset.

Went to Intel's site, and haven't had much luck finding anything for this that isn't Windows specific except graphics drivers.

Well, back to google seaching.
 
Old 05-20-2009, 07:03 PM   #15
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
If it will not open during boot up, it is not an OS issue.
 
  


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
How to open the trash folder and empty the trash in command line cmx08 Linux - Newbie 5 08-29-2008 10:15 AM
how do i create an empty bash(.sh) file in command line? bbmak Linux - Newbie 1 10-26-2007 03:39 AM
Pine or Mail - empty mailbox by command line jtp51 Linux - Software 3 01-26-2005 02:49 PM
Empty terminal [command line] with no text after kernel upgrade to 2.6.7 whencat Red Hat 7 07-09-2004 04:59 PM
Command line way to click a mouse button. danielw Linux - General 6 09-02-2003 04:52 AM


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