DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
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.
Last edited by matiasar; 02-28-2012 at 05:58 AM.
Reason: bad spelling
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(?)
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.