Red Hat Bugzilla – Bug 561003
udevd causes Buffer I/O error, CPU overloads and freezes
Last modified: 2010-04-23 18:58:28 EDT
Description of problem:
I first noticed the problem because of bad freezes using music software with a firewire sound card (FFADO drivers).
The problem occurred only when I had a CD audio in my laptop (data cd or dvd work fine...).
If I open a TTY (or run dmesg) my screen becomes white with those messages (bellow) as long as there an *audio* CD inside:
"Buffer I/O error on device sr0, logical block 0
sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current]
sr 1:0:0:0: [sr0] Add. Sense: Illegal mode for this track".
Yesterday I noticed that udevd was eating 34% (9 udevd were running together) of my CPU so I killed them.... and the messages above disappeared!
Version-Release number of selected component (if applicable):
- libudev.i686 145-14.fc12
Every time I use FFADO with an audio CD in
Please note that the sr0 errors occurs with the normal kernel too, with a fresh installed fedora.
do you have the package "anaconda" installed on your system?
anaconda.i686 12.46-2.fc12 @rawhide
anaconda-yum-plugins.noarch 1:1.0-5.fc12 @rawhide
are your problems fixed, if you remove "anaconda" ?
Nop not at all....
what is the output of:
$ udevadm info --query=all --name=/dev/sr0
(In reply to comment #5)
> what is the output of:
> $ udevadm info --query=all --name=/dev/sr0
with the disk inserted
which audio playback app do you use?
$ lsof -r1 /dev/sr0
a while and stop it with ctrl-c. Then attach the output.
$ lsof -r1 /dev/sr0 :
E: DEVLINKS=/dev/block/11:0 /dev/scd0 /dev/disk/by-path/pci-0000:00:1f.2-scsi-1:0:0:0 /dev/cdrom /dev/cdrw /dev/dvd /dev/dvdrw
$ lsof -r1 /dev/sr0^C
If the music software opens the cdrom in "write" mode, udev gets retriggered, and rereads the CDROM informations, if the music software closes the cdrom.
Technically speaking, your music software might open the cdrom with the write flag and closes it, which causes udev to rerun.
I'm sorry but I don't understand the whole message...however those errors appear even when the CD is not played.
udev-145-20.fc12 has been submitted as an update for Fedora 12.
udev-145-20.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update udev'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/udev-145-20.fc12
udev-145-20.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.