Comment 61 for bug 23770

Revision history for this message
Martin Pitt (pitti) wrote :

Ok, since the cause seems to be different for other people, I reopen this.

(In reply to comment #59)
> by now). First thing, to avoid the "Error: given UDI is not a mountable volume"
> error I have to do the setps from comment #8 (isn't there anything more elegant
> to fix it?).

Please see bug #36249. Can you please download the dapper version of pmount

  http://archive.ubuntu.com/ubuntu/pool/main/p/pmount/pmount_0.9.6-1_i386.deb

install it with

  sudo dpkg -i pmount_0.9.6-1_i386.deb

and verify that it works?

> - !!!! In ls-hal, note this:
> udi = '/org/freedesktop/Hal/devices/storage_model_HL_DT_STCD_RW
> (....) Many other lines referring to this udi, the only cd drive I
have.
> storage.media_check_enabled = false (bool) <---- Isn't this the
> problem???
>
> As additional data, my laptop is an Inspiron 8200. I just came to Ubuntu from
> Gentoo, and in my former distribution, when I first tried hal long time ago, I
> had to manually deactivate the polling of the cd-drive because my specific cd
> drive had some kind of problem with hal which caused the polling to take a lot
> of resources and almost freeze the computer. Maybe hal now detects this and
> somehow decides that polling is not worth in my drive??

Indeed. You have the exact drive that is blacklisted in
/usr/share/hal/fdi/preprobe/10osvendor/10-ide-drives.fdi:

    <!-- Handle weird Dell Laptops that slow down the system if the optical
         drive is polled (RH Bug #138148) -->
    <match key="storage.bus" string="ide">
      <match key="storage.model" string="HL-DT-STCD-RW/DVD-ROM GCC-4240N">
        <match key="block.device" string="/dev/hdb">
          <merge key="storage.media_check_enabled" type="bool">false</merge>
        </match>
        <match key="block.device" string="/dev/hdd">
          <merge key="storage.media_check_enabled" type="bool">false</merge>
        </match>
      </match>
    </match>

You can challenge your luck, edit the file as root and change 'false' to 'true'.
Then reboot your box (or restart hal and your session) and check whether it has
any negative impact.