Skip to contentSkip to conversation

New: udev causes high cpu usage

Bug 13783 [email protected] 1 participant 31 messages Jul 16, 2009 – Feb 15, 2010 SCSI

lore
Share & tools
lore
#0 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=13783

           Summary: udev causes high cpu usage
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 2.6.31-rc3
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
        AssignedTo: [email protected]
        ReportedBy: [email protected]
        Regression: No

Created an attachment (id=22372)
--> (http://bugzilla.kernel.org/attachment.cgi?id=22372)
Output of "udevadm monitor --environment" with udev-141-1.2 and kernel 2.6.30

Before I upgraded the udev version of Ubuntu 9.04 from 141-1 to 141-1.1 (and 141-1.2), top reported about 2% total cpu usage when idle. After the update, it rarely drops below 35%. Though top lists udevd among the more cpu hungry processes, it is only listed with about 3%, while system (in line 3) almost never drops below 20%.

"udevadm monitor --environment" after the upgrade reports many additional events with "SUBSYSTEM=scsi" and "ACTION=change".

I am using the amd64 version of Xubuntu 9.04 on a Acer Extensa 5230 laptop with a 2 GHz Intel Celeron processor. The problem occurs with all the kernel versions I tried: The Ubuntu kernel 2.6.28 and the mainline kernels 2.6.30 and 2.6.31-rc3.

See also the Ubuntu bug report:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/379780

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 13783] udev causes high cpu usage

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #1 from Andreas Fackler <[email protected]> 2009-07-16 07:36:56 --- Created an attachment (id=22373)
--> (http://bugzilla.kernel.org/attachment.cgi?id=22373)
Output of "udevadm monitor --environment" with udev-141-1 and kernel 2.6.30

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #2 from Andreas Fackler <[email protected]> 2009-07-16 07:37:42 --- Created an attachment (id=22374)
--> (http://bugzilla.kernel.org/attachment.cgi?id=22374)
Output of top with new udev

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #3 from Andreas Fackler <[email protected]> 2009-07-16 07:38:01 --- Created an attachment (id=22375)
--> (http://bugzilla.kernel.org/attachment.cgi?id=22375)
Output of top with old udev

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #4 from Andreas Fackler <[email protected]> 2009-07-16 07:38:22 --- Created an attachment (id=22376)
--> (http://bugzilla.kernel.org/attachment.cgi?id=22376)
Output of lspci

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

Kay Sievers <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #5 from Kay Sievers <[email protected]> 2009-07-16 07:56:47 --- Something keeps generating media change events in a loop for the optical drive.

If you keep "udevadm monitor" running, but kill udevd, do all events stop?

The event for "sr" open()s the device. I guess, this causes a new change event for the SCSI LUN (which it shouldn't), and that causes a loop.

Is there anything like HAL or DeviceKit-disks running which polls the optical drive?

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #6 from Andreas Fackler <[email protected]> 2009-07-16 17:26:37 --- Yes, if I stop either udevd or hald-addon-storage, no more events are generated and cpu usage goes back to normal.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #7 from Kay Sievers <[email protected]> 2009-07-17 11:43:24 ---

Quoted 5 lines · On Thu, Jul 16, 2009 at 19:26, <[email protected]> wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #6 from Andreas Fackler <[email protected]>  2009-07-16 17:26:37 --- Yes, if I stop either udevd or hald-addon-storage, no more events are generated and cpu usage goes back to normal.

Just to double check:

Killing the hal addon alone makes the event loop stop?

There is a binary: "hal-disable-polling", which can be used to permanently disable the polling of the device. If you use that and reboot the box, the issue goes away?

Thanks!

Signature · 6 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#8 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #8 from Andreas Fackler <[email protected]> 2009-07-17 15:36:25 --- Thank you for your suggestion! It worked, more or less:

After I entered "hal-disable-polling --device /dev/scd0", the events immediately stopped (or maybe I didn't wait long enough), but they reappeared after a reboot, although the file "/etc/hal/fdi/information/media-check-disable-storage_model_DVD_RW_AD_7560S.fdi" had been created. So I entered the exact same command "hal-disable-polling --device /dev/scd0" again, which created the additional file "/etc/hal/fdi/information/media-check-disable-storage_model_Optiarc_DVD_RW_AD_7560S.fdi" and in fact ended the events permanently, even after a reboot.

Except if I open the DVD drive: Then events are fired wildly (not just one or two) and the cpu usage rises to about 30% for a few seconds, until it stops again. The same thing happens when I close the drive. I don't know whether this is normal?

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #9 from Kay Sievers <[email protected]> 2009-07-17 15:58:14 ---

Quoted 6 lines · On Fri, Jul 17, 2009 at 17:36, <[email protected]> wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=13783

So I entered the exact same command "hal-disable-polling
--device /dev/scd0" again, which created the additional file "/etc/hal/fdi/information/media-check-disable-storage_model_Optiarc_DVD_RW_AD_7560S.fdi" and in fact ended the events permanently, even after a reboot.

Ah good.

Quoted 4 lines

Except if I open the DVD drive: Then events are fired wildly (not just one or two) and the cpu usage rises to about 30% for a few seconds, until it stops again. The same thing happens when I close the drive. I don't know whether this is normal?

I guess something goes crazy with the media-changed detection. Sometimes not-tested-in-such-setup/broken firmware for optical drives does not like us.

We have seen similar behavior on some drives with HAL checking for the "eject button pressed" events.

In some rare cases there are updates for the drive firmware available.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

Andrew Morton <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #10 from Andrew Morton <[email protected]> 2009-07-23 00:22:52 --- (In reply to comment #9)

Quoted 3 lines

I guess something goes crazy with the media-changed detection. Sometimes not-tested-in-such-setup/broken firmware for optical drives does not like us.

Seems a reasonable guess.

Do we know which device driver is being used for that drive?

In the ubuntu report at least three people are seeing the same problem. Is there a common point where we can address this? Maybe a blacklist? Or are we dealing with three separate low-level drivers?

Thanks.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #11 from Andreas Fackler <[email protected]> 2009-07-23 07:58:16 --- lspci -v and lshw say the SATA controller uses the ahci driver. They don't list any drivers or modules belonging to the optical drive, and it seems to be the same in the files Christian Mallwitz posted.
My blacklist files are just the Ubuntu defaults.
Here is what dmesg says:

[    1.500033] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    1.513385] ata2.00: ATAPI: Optiarc DVD RW AD-7560S, SX07, max UDMA/100,
ATAPI AN
[    1.527733] ata2.00: configured for UDMA/100
[    1.545118] scsi 1:0:0:0: CD-ROM            Optiarc  DVD RW AD-7560S  SX07
PQ: 0 ANSI: 5
[    1.550572] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda
tray
[    1.550575] Uniform CD-ROM driver Revision: 3.20
[    1.550642] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    1.550691] sr 1:0:0:0: Attached scsi generic sg1 type 5
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

Tejun Heo <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #12 from Tejun Heo <[email protected]> 2009-07-25 03:33:49 --- Hmmm... interesting. Can someone please strace the polling process and see what's going on? Attaching strace to the hal-addon-storage should do the trick, Kay, right? It could be that TUR result is alternating. The problem probably is that windows doesn't use TUR while polling for media presence while we do. There are drives which completely check out after being polled for a while and this bug report looks like another strain of the same problem. I'll try to implement media presence polling inside kernel and use only GET_EVENT_STATUS_NOTIFICATION as windows does. Please cc anyone with reproducible problem cases here.

Thanks.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #13 from Andreas Fackler <[email protected]> 2009-07-31 15:33:19 --- Created an attachment (id=22553)
--> (http://bugzilla.kernel.org/attachment.cgi?id=22553)
strace -f hald

I dont't know how to strace only hald-addon-storage, because it is a child process of hald and not an executable, so I did "strace -f hald". Within a few seconds, this generated more than 5 MB of output. I attached the first megabyte of it.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #14 from Kay Sievers <[email protected]> 2009-07-31 15:37:43 ---

Quoted 4 lines · On Fri, Jul 31, 2009 at 11:33, <[email protected]> wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=13783

I don't know how to strace only hald-addon-storage, because it is a child process of hald and not an executable,

You should be able to just attach strace to the running process with "-p <pid>".

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

Andreas Fackler <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #22553|0                           |1

is obsolete| |

--- Comment #15 from Andreas Fackler <[email protected]> 2009-07-31 15:44:46 --- Created an attachment (id=22554)
--> (http://bugzilla.kernel.org/attachment.cgi?id=22554)
strace -p 10678

Ah, right, I'm sorry! Here's a few seconds of "strace -p 10678", where 10678 was the pid of hald-addon-storage.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

Wendall Cada <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #16 from Wendall Cada <[email protected]> 2009-10-17 04:01:15 --- I have the same issue. I have the exact results as detailed in Comment #8 (Here is the data on my hardware. (Please let me know if any additional debugging information is required.)

Fedora Core 11

Linux version 2.6.30.8-64.fc11.i686.PAE ([email protected]) (gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC) ) #1 SMP

Output from hal-disable-polling --device /dev/sr0
Polling for drive /dev/sr0 have been disabled. The fdi file written was

/etc/hal/fdi/information/media-check-disable-storage_model_DVD_RW_AD_7560S.fdi

Partial output from devkit -m
action=change @ 19:46:30.318587
device:
/sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0

  subsystem:      block
  device file:    /dev/sr0
    symlink:      /dev/block/11:0
    symlink:      /dev/scd0
    symlink:      /dev/disk/by-path/pci-0000:00:1f.2-scsi-1:0:0:0
    symlink:      /dev/cdrom
    symlink:      /dev/cdrw
    symlink:      /dev/dvd
    symlink:      /dev/dvdrw
  properties:
    ID_VENDOR_ENC=Optiarc\x20
    UDEV_LOG=3
    ID_CDROM_MRW=1
    ACL_CDROM=1
    ID_MODEL=DVD_RW_AD-7560S
    ID_TYPE=cd
    ID_CDROM=1
    ID_CDROM_DVD_RAM=1
    ID_PATH=pci-0000:00:1f.2-scsi-1:0:0:0
    DEVTYPE=disk
    ID_VENDOR=Optiarc
    SEQNUM=89215
    DEVNAME=/dev/sr0
    ACTION=change
    ID_CDROM_DVD=1

DEVPATH=/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0

    ID_CDROM_CD_R=1
    ID_BUS=scsi
    ID_CDROM_DVD_R=1
    MAJOR=11
    SUBSYSTEM=block
    ID_MODEL_ENC=DVD\x20RW\x20AD-7560S\x20
    ID_CDROM_MRW_W=1
    ID_CDROM_CD_RW=1
    GENERATED=1
    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
    MINOR=0
    ID_REVISION=S805
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#17 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #17 from Wendall Cada <[email protected]> 2009-10-17 04:06:01 --- I apologise. I forgot to add this bug was found in udev-141-7.fc11 i586

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#18 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #18 from Tejun Heo <[email protected]> 2009-10-18 03:06:34 --- The strace output doesn't indicate anything suspicious. It's just polling for event w/ 2 sec timeout. I don't see how that could cause high cpu usage. Wendall, can you please strace the process which is consuming cpu? Also, is the wasted cpu time system or user?

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#19 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #19 from Wendall Cada <[email protected]> 2009-10-19 03:46:23 --- What's interesting is that the cpu usage is spread across several processes:
devkit-disks-daemon 3%-8% (user)
gvfs-gdu-volume-monitor 3%-8% (system)
dbus-daemon 3%-8% (system)
gdu-notification-daemon 3%-8% (user)
udevd 1%-2% (system)

The cpu spikes to about 35%-40% usage for 30 seconds, then drops down to about 15%-20% for around a second and repeats the cycle.

I'm not sure which process I should provide an strace for. Or even if this is a udev bug at this point. Suggestions?

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#20 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #20 from [email protected] 2009-10-22 07:00:28 --- Has this problem been fixed in version 147? I had this problem in versions 145 and 146 in Arch64, but I just installed udev-147~-6, which someone has ported from ubuntu to Arch, and the problem is gone.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#22 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

Petr Stehlik <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #22 from Petr Stehlik <[email protected]> 2009-11-20 08:15:09 --- With up-to-date Ubuntu Karmic Koala and its udev-147~-6.1 the problem is still there (Acer Extensa 5630EZ with Optiarc DVD RW AD-7560S)

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#23 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #23 from Petr Stehlik <[email protected]> 2009-11-27 09:51:53 --- I have tried some PPA build of udev-147~-6.2 but it didn't help either. What can I do to get this fixed? 55% CPU load is not fun. Thanks.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#24 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #24 from [email protected] 2010-01-03 01:42:32 --- Is anybody working on this bug? It is being reported by numerous people in the Archlinux forums.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#25 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

Bruno Yporti <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #25 from Bruno Yporti <[email protected]> 2010-01-17 21:15:26 --- I have the same problem here in my Lenovo 3000 G530 with Optiarc_DVD_RW_AD_7580S.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#26 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #26 from [email protected] 2010-02-01 23:35:39 --- This but persists in version 151.

I also have the Optiarc_DVD_RW_AD_7580S.

It's been nearly six months since this bug was reported. What's up?

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#27 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

Chase Douglas <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #27 from Chase Douglas <[email protected]> 2010-02-08 19:45:43 --- Every report so far has been of the Optiarc_DVD_RW_AD_7580S drive. Is there anyone who has seen this issue on any other drive?

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#28 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

--- Comment #28 from Tejun Heo <[email protected]> 2010-02-09 03:37:00 --- Sorry about lack or response. If the problem is limited to a single drive, is anyone interested in sending me the device? I'll pay for the replacement unit and shipping via paypal.

Thanks.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#29 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

Martin Pitt <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #29 from Martin Pitt <[email protected]> 2010-02-10 10:26:40 ---

Quoted 2 lines

Every report so far has been of the Optiarc_DVD_RW_AD_7580S drive. Is there anyone who has seen this issue on any other drive?

The downstream bug report also reported this to happen on a slightly different model:

UDEV [1243584928.060421] change /devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0 (block) [...]
ID_VENDOR=Optiarc
ID_VENDOR_ENC=Optiarc\x20
ID_MODEL=DVD_RW_AD-7640S
ID_MODEL_ENC=DVD\x20RW\x20AD-7640S\x20
ID_REVISION=HJ01
ID_TYPE=cd

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#30 lore raw

[Bug 13783] udev causes high cpu usage

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=13783

Ian Goodacre <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #30 from Ian Goodacre <[email protected]> 2010-02-15 16:42:10 --- (In reply to comment #8)

Quoted 1 line

After I entered "hal-disable-polling --device /dev/scd0"...

I had to run "hal-disable-polling --device /dev/sr0" three times before the stream of events stopped. I now have three files in /etc/hal/fdi/information:

media-check-disable-storage_model_DVD_RW_AD_7580S.fdi media-check-disable-storage_model_Optiarc_DVD_RW_AD_7580S_0.fdi media-check-disable-storage_model_Optiarc_DVD_RW_AD_7580S.fdi

They were produced in the order listed.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.