Public bug reported:

Binary package hint: hal

With a recent Ubuntu Gutsy installation hald-addon-storage causes
50 wakeups per CD-ROM drive and second.
Since I have 2 CD-ROM drives I have 100 wakeups per second only to
check for media changes.
That makes ~30000 wakeups in a normal working day and worsens 
performance and battery time (for laptops).


I have the CD-ROM drives at an Adaptec AHA-2940U:

# lspci -v
[..]
00:0b.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U
        Flags: bus master, medium devsel, latency 32, IRQ 16
        I/O ports at d000 [disabled] [size=256]
        Memory at eb000000 (32-bit, non-prefetchable) [size=4K]
        [virtual] Expansion ROM at 50000000 [disabled] [size=64K]

No other drives are connected to the SCSI controller:

# lsscsi -v
[0:0:3:0]    cd/dvd  PLEXTOR  CD-ROM PX-12TS   1.02  /dev/scd0
  dir: /sys/bus/scsi/devices/0:0:3:0  
[/sys/devices/pci0000:00/0000:00:0b.0/host0/target0:0:3/0:0:3:0]
  [0:0:5:0]    cd/dvd  TEAC     CD-R58S          1.0H  /dev/scd1
    dir: /sys/bus/scsi/devices/0:0:5:0  
[/sys/devices/pci0000:00/0000:00:0b.0/host0/target0:0:5/0:0:5:0]

The kernel is up to date, too:
# uname -r
2.6.22-8-generic

powertop (media check for both CD-ROM drives):
Top causes for wakeups:
  42.3% ( 99.0)       <interrupt> : aic7xxx
   0.4% (  1.0)   hald-addon-stor : schedule_timeout (process_timeout)


# hal-disable-polling --device /dev/scd1

powertop (media check only for Plextor CD-ROM drive):
Top causes for wakeups:
  25.3% ( 49.5)       <interrupt> : aic7xxx
   0.3% (  0.5)   hald-addon-stor : schedule_timeout (process_timeout)


# hal-disable-polling --device /dev/scd0

powertop (no media check for CD-ROM drives):
No aic7xxx and hald-addon-storage in profile


I don't know whether this problem is related to my hardware 
configuration or not, especially interesting would be a comparison
to IDE drives.

** Affects: hal (Ubuntu)
     Importance: Undecided
         Status: New

-- 
hald-addon-storage causes a lot of wakeups
https://bugs.launchpad.net/bugs/127559
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to