LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 02-21-2012, 08:27 AM   #1
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 314
Blog Entries: 1

Rep: Reputation: 31
IDE CDROM not opening after update to wheezy


I have a sort of audio center (headless) running Debian in an old PIII, running mpd, cdplayer, mplayer for radio streaming.
Last night I decided to update it from Squeezy to Wheezy cos' I needed alsa equalizer which is not in Squeezy repos.

Everything was OK, but I'm having a little problem I couldn't fix yet.
After upgrade the CD-ROM (IDE, P-ATA) unit stopped working, actually it doesn't even open, just like if any process would be locking it.
That CDROM device was working ok in Squeeze.

I couldn't find any process that could be using /dev/sr0 (like kernel identifies it), and I tried removing ide related modules with modprobe -r just to see if CDROM opened, but it didn't work.

Any advice please? I could post any relevant info if you point me.
 
Old 02-22-2012, 03:15 PM   #2
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 44
If you left a CD in the drive it may be mounted if so then un-mount it. Then you can use the ' eject ' command to open it.
 
Old 02-23-2012, 07:31 AM   #3
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 314
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Thanks for your answer.
I tried that, and I got an error like "ioctl function not allowed". So, I tried changing CD-ROM device.
That seemed to work, despite once I had to reboot cos' device got stuck and I couldn't open it normally. That occured just once with new CD-ROM but I'll do some tests in order to try to find the reason why.

Regards.
Matías
 
Old 02-24-2012, 11:20 AM   #4
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 44
I find it annoying that pushing the eject button on the CD/DVD player does not un-mount and then eject the CD/DVD.
 
Old 02-27-2012, 01:14 PM   #5
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 314
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Yes, it's really extrange. With both (hardware from asus and samsung) cd players they got stuck after playing an audio cd. I tested both with cdcd and mplayer. You can take out the cd, close the tray, but then you can't open it again. And it gets that error message (ioctl function) while doing "eject" command.
Finally I decided to roll back to squeeze, where that problem doesn't occur.
I'll try with a fresh Wheezy install (not upgraded) in another box, cos' I wanted my audio system in production soon

I'll post if the problem is solved or not with a brand new wheezy install.

Thanks!!

Last edited by matiasar; 02-28-2012 at 06:58 AM. Reason: bad spelling
 
Old 03-04-2012, 07:17 AM   #6
fatmac
Member
 
Registered: Sep 2011
Location: Surrey/Hants Border, UK
Distribution: AntiX, TinyCore, (& SliTaz)
Posts: 406

Rep: Reputation: Disabled
Don't forget that little hole on the front by the tray, I use a paper clip, that opens it up if it is just the need to get a disk out.

If it's the system locking it, 'lsof' might tell you what is holding onto it. Do check that it isn't still being kept locked by a file manager, (I used to forget to change out of the cd directory, when I was new to linux).

Just re read your post; is your player still in the cd directory(?)

Last edited by fatmac; 03-04-2012 at 07:18 AM.
 
1 members found this post helpful.
Old 03-05-2012, 07:14 AM   #7
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 314
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Thanks a lot for your reply!
Really I haven't had think about lsof to check.
Really there's no window manager in that box, is a sort of "embbeded" system intended for playing music.

I went back to squeeze where that problem is not ocurring for me. But I'll test all again in a fresh wheezy install as soon as I can, and I'll do some research using lsof to check if anything is using the cd drive and that's the reason of locking it.

Regards,
Matías
 
  


Reply

Tags
cdrom, ide, pata, wheezy


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
[SOLVED] recent wheezy update breaks ipw2200 wifi on dell latitude D510 laptop radiodee1 Debian 2 06-28-2011 10:12 AM
Debian Testing (Wheezy) update REALLY broke networking rbees Linux - Networking 11 05-16-2011 05:14 AM
RH9 &9.0 Benq CDRW 4012a IDE + IDE CDROM - Install - how to cgtueno Linux - Hardware 6 05-30-2004 03:43 PM
Opening my cdrom Kroenecker Linux - Hardware 0 03-22-2004 08:11 AM
second ide cdrom N_A_J_M Linux - General 12 02-17-2003 12:49 AM


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