LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-26-2005, 05:52 AM   #1
dinges
LQ Newbie
 
Registered: Nov 2004
Location: Netherlands
Distribution: Centos 4, Ubuntu
Posts: 26

Rep: Reputation: 15
Annoying CD-rom driver error messages


When I put a DVD disc in my dvd drive the system log is filled up with the following repeating message (it gets in the log every second):
Code:
Feb 20 08:44:26 zeno kernel: ATAPI device hdd:
Feb 20 08:44:26 zeno kernel:   Error: Illegal request -- (Sense key=0x05)
Feb 20 08:44:26 zeno kernel:   Cannot read medium - incompatible format -- (asc=0x30, ascq=0x02)
Feb 20 08:44:26 zeno kernel:   The failed "Read Subchannel" packet command was: 
Feb 20 08:44:26 zeno kernel:   "42 02 40 01 00 00 00 00 10 00 00 00 00 00 00 00 "
Feb 20 08:44:26 zeno kernel: hdd: packet command error: status=0x51 { DriveReady SeekComplete Error }
Feb 20 08:44:26 zeno kernel: hdd: packet command error: error=0x54
Feb 20 08:44:26 zeno kernel: ide: failed opcode was 100
So the log is filled up rapidly. It's also shown every second on terminal #1, so I can't use that.

I found a discussion between Walsh and Alain Cox in
http://www.ussg.iu.edu/hypermail/lin...03.0/0723.html. Cox blamed a 'stupid app' that I don't have, but I have of course several media players. Perhaps one of them is to blame: bmp, xine, mplayer, xmms, Helix, Realplayer, and the normal players that are installed by Fedora 3.

Has anyone else had this problem? (My system data are in the signature next to this message). Any ideas on solving this would be welcome.
 
Old 02-26-2005, 06:00 AM   #2
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 31
Bad title for your thread.
 
Old 02-26-2005, 07:14 AM   #3
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,475

Rep: Reputation: 87
Well....

I used to get those types of messages when my old DVD player (an Aopen, don't remember the model) was on the way out. So it might be that you have a hardware fault on the drive. Replace the drive?

I did and this made my "sense key" problems go away.
 
Old 02-27-2005, 03:44 AM   #4
dinges
LQ Newbie
 
Registered: Nov 2004
Location: Netherlands
Distribution: Centos 4, Ubuntu
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Rylan 76: it might be that you have a hardware fault on the drive
It can't be the drive. It's brand new.
Quote:
Sepero: Bad title for your thread.
Alan Cox didn't complain when this subject was issued in 2001.
 
Old 02-28-2005, 04:31 AM   #5
JohnBell
LQ Newbie
 
Registered: Feb 2005
Distribution: Suse 9.2
Posts: 3

Rep: Reputation: 0
I have a similar problem on Suse 9.2

I haven't isolated the problem entirely, but in my case, when I drop out of X (init 3) the problem disappears. So, I suspect that a media player or something similar is mounting the CD as an audio CD (and not dismounting it if not audio) before any other program can get a look in.

John
 
Old 02-28-2005, 01:24 PM   #6
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,475

Rep: Reputation: 87
[QUOTE]Originally posted by dinges
[B]It can't be the drive. It's brand new.

So was my Aopen!

:0
 
Old 05-23-2005, 10:24 AM   #7
dinges
LQ Newbie
 
Registered: Nov 2004
Location: Netherlands
Distribution: Centos 4, Ubuntu
Posts: 26

Original Poster
Rep: Reputation: 15
Well it's been a while, and two months after my report I noticed that the problem was gone. It took me that long to notice because I took care not to place any dvd's in the drive. I didn't uninstall any cd player software, but I did of course get the updates via yum. I have no idea which update caused the problem to go away. But it was definitely NOT the cd player hardware as rylan76 suggested.

However I now have a method to locate the program that does it, should it ever happen again. First I locate the cdrom device via /etc/fstab. My system indicates it is /dev/hdd. Next I issue the command
Code:
fuser -a /dev/hdd
which gives me a process id. After
Code:
ps aux | grep <process-id>
I know which program is working with the device. I can see that Kscd is auto-started with kde. Perhaps that program was the culprit. I'll never know. But I do not like programs that start without my consent. I have yet to find out how to disable this autostart.
 
Old 05-30-2005, 03:43 PM   #8
wulfilas
LQ Newbie
 
Registered: May 2005
Distribution: Mandrake 9.1, 10.0, SuSE 9.3
Posts: 1

Rep: Reputation: 0
Angry It was kscd !

I had the same problem:
New installation (SuSE 9.3) on a new QUIET PC ...
and always the noise prrrt, prrrt, prrrrt for every one of those error messages
written to disk.
After I killed kscd it immediately became quiet again
 
Old 09-24-2005, 11:30 AM   #9
evans0409
Member
 
Registered: Sep 2005
Location: US
Distribution: FC 4
Posts: 39

Rep: Reputation: 15
My probing around for what was using /dev/hdb (with fuser -a /dev/hdb and various ps) gave no PID's

On a long shot, I tried killing the hald (haldeamon) and .... no more error! I have, of course, lost some hotplug features, but I do not care and running a command after hooking my camera up, for example, seems preferable to an ever spinning disk (hence fan!).

I am still interested in another work around. Perhaps a bug report to the hald folks is in order?

I hope someone else finds this useful
 
Old 09-25-2005, 04:53 AM   #10
dinges
LQ Newbie
 
Registered: Nov 2004
Location: Netherlands
Distribution: Centos 4, Ubuntu
Posts: 26

Original Poster
Rep: Reputation: 15
evans0409 said
Quote:
On a long shot, I tried killing the hald (haldeamon) and .... no more error!
Well, I'm still using FC3 and never had problems with hald, nor with kscd after the updates. Kscd still uses the drive, but there ar no repeating errors in the log any more. So I'm happy.
 
Old 10-12-2005, 03:06 AM   #11
evans0409
Member
 
Registered: Sep 2005
Location: US
Distribution: FC 4
Posts: 39

Rep: Reputation: 15
OK, I have FC4 work around until they fix Bug 167542: Toshiba DVD RW Issues

I edited the file

Code:
/usr/share/hal/fdi/policy/10osvendor/10-storage-policy.fdi
as follows. I removed the lines

Code:
 <device>
    <match key="storage.media_check_enabled" bool="true">
      <append key="info.addons" type="strlist">hald-addon-storage</append>
    </match>
  </device>
which were at the end of my file. I'm not sure what the info.addons key does, but some experimentation with hal options indicated that that the storage.media_check_enabled variable set to true is not the culprit. There could be unknown (to e) consequences as well! All I know is that the horrible erro message is now written three times at boot, and never more! Maybe this will help someone else out too.
 
Old 02-05-2006, 03:54 PM   #12
evans0409
Member
 
Registered: Sep 2005
Location: US
Distribution: FC 4
Posts: 39

Rep: Reputation: 15
I updated my kernel today to 2.6.15-1.1830_FC4smp i686

the problem is gone as verified by commenting out the above code and restarting haldaemon.
 
  


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
Diablo 2 CD-ROM driver error in wine jjorloff1 Linux - Software 2 11-28-2005 12:09 AM
Annoying eth0-console messages.. Laffo Debian 1 08-18-2005 08:29 AM
annoying messages from passwordless rsh kevingpo Fedora 5 08-10-2005 05:00 PM
annoying messages from rsh kevingpo Linux - Networking 2 08-03-2005 05:37 AM
Couple of error messages in dmesg for fglrx driver. op_stager Linux - Software 1 11-01-2004 08:49 PM


All times are GMT -5. The time now is 03:46 PM.

Main Menu
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