You are not logged in.

#1 2008-12-20 00:49:29

Renan Birck
Member
From: Brazil
Registered: 2007-11-11
Posts: 401
Website

Automounting fails for SOME DVDs

Hello,

I'm trying to get automounter (HAL with thunar-volman) working correctly, but I am hitting a problem:

All CDs -> work OK (mount automatically)
DVDs recorded from .ISO images -> work OK (mount automatically)
DVDs that I've burned with data -> won't mount automatically, have to go to terminal and manually say 'mount /dev/sr0 /media/cdrom'.

Running hald as non-daemon and verbose gives me:

<I insert DVD>
[13943]: 22:46:56.004 [i] addon-storage.c:355: Checking whether device /dev/sr0 is locked on HAL
[13943]: 22:46:56.005 [i] addon-storage.c:363: ... device /dev/sr0 is not locked on HAL
<CD spins and the drive LED is blinking>
[13943]: 22:46:56.004 [i] addon-storage.c:355: Checking whether device /dev/sr0 is locked on HAL
[13943]: 22:46:56.005 [i] addon-storage.c:363: ... device /dev/sr0 is not locked on HAL
22:47:12.020 [i] osspec.c:241: SEQNUM=1495, ACTION=change, SUBSYSTEM=scsi, DEVPATH=/sys/devices/pci0000:00/0000:00:02.5/host1/target1:0:0/1:0:0:0, DEVNAME=, IFINDEX=0
22:47:12.020 [i] hotplug.c:114: /sys/devices/pci0000:00/0000:00:02.5/host1/target1:0:0/1:0:0:0 is a device (store)
22:47:12.020 [i] device.c:4522: refresh_dev: subsys=scsi
[13943]: 22:47:12.024 [D] addon-storage.c:542: Media insertion detected on /dev/sr0
22:47:12.024 [D] hald_dbus.c:1652: udi=/org/freedesktop/Hal/devices/storage_model_DVDRAM_GSA_H44N, key=storage.removable.media_available
22:47:12.025 [i] hald_dbus.c:3052: entering, local_interface=1
22:47:12.025 [D] hald_dbus.c:3061: udi=/org/freedesktop/Hal/devices/storage_model_DVDRAM_GSA_H44N
22:47:12.025 [i] blockdev.c:1666: blockdev_rescan_device: udi=/org/freedesktop/Hal/devices/storage_model_DVDRAM_GSA_H44N
Run started hald-probe-storage (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-storage', program_dir is '/usr/lib/hal'
woohoo
[13949]: 22:47:12.028 [D] probe-storage.c:155: Doing probe-storage for /dev/sr0 (bus scsi) (drive_type cdrom) (udi=/org/freedesktop/Hal/devices/storage_model_DVDRAM_GSA_H44N) (--only-check-for-fs==1)
[13949]: 22:47:12.028 [D] probe-storage.c:163: Doing open ("/dev/sr0", O_RDONLY | O_NONBLOCK)
[13949]: 22:47:12.032 [D] probe-storage.c:169: Returned from open(2)
[13949]: 22:47:12.040 [D] probe-storage.c:310: Checking for optical disc on /dev/sr0
[13949]: 22:47:12.041 [D] probe-storage.c:318: Doing open ("/dev/sr0", O_RDONLY | O_NONBLOCK | O_EXCL)
[13949]: 22:47:12.042 [D] probe-storage.c:348: PROBE HAS EXCLUSIVE LOCK ON CDROM
[13949]: 22:47:12.045 [D] probe-storage.c:390: media size = 3086548992
[13949]: 22:47:12.046 [D] probe-storage.c:398: PROBE CLOSED LOCK ON CDROM
22:47:12.047 [i] hald_dbus.c:1342: storage.cdrom.read_speed -> 22160
22:47:12.047 [i] hald_dbus.c:1342: storage.cdrom.write_speed -> 24930
22:47:12.047 [i] hald_dbus.c:1320:  strlist elem storage.cdrom.write_speeds -> 24930
22:47:12.047 [i] hald_dbus.c:1320:  strlist elem storage.cdrom.write_speeds -> 24929
22:47:12.047 [i] hald_dbus.c:1320:  strlist elem storage.cdrom.write_speeds -> 22160
22:47:12.047 [i] hald_dbus.c:1320:  strlist elem storage.cdrom.write_speeds -> 22159
22:47:12.047 [i] hald_dbus.c:1320:  strlist elem storage.cdrom.write_speeds -> 11080
22:47:12.047 [i] hald_dbus.c:1320:  strlist elem storage.cdrom.write_speeds -> 11079
22:47:12.047 [i] hald_dbus.c:1320:  strlist elem storage.cdrom.write_speeds -> 5540
22:47:12.047 [i] hald_dbus.c:1366: storage.removable.media_available -> True
22:47:12.047 [i] hald_dbus.c:1350: storage.removable.media_size -> 3086548992
pid 13949: rc=2 signaled=0: /usr/lib/hal/hald-probe-storage
22:47:12.049 [i] blockdev.c:1622: hald-probe-storage --only-check-for-media returned 2 (exit_type=0)
22:47:12.049 [i] blockdev.c:1638: Media insertion detected with file system on main block device; synthesizing hotplug add
22:47:12.049 [i] osspec.c:966: hal_util_find_known_parent: '/sys/block/sr0/fakevolume'->'/sys/block/sr0'
22:47:12.049 [i] blockdev.c:874: block_add: sysfs_path=/sys/block/sr0/fakevolume dev=/dev/sr0 is_part=0, parent=0x09e8ca40
22:47:12.049 [i] blockdev.c:882: Handling /dev/sr0 as fakevolume - sysfs_path_real=(null)
Run started hald-probe-volume (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-volume', program_dir is '/usr/lib/hal'
[13950]: 22:47:12.053 [D] probe-volume.c:377: Doing probe-volume for /dev/sr0

[13950]: 22:47:12.065 [D] probe-volume.c:388: volume.block_size = 2048
[13950]: 22:47:12.065 [D] probe-volume.c:392: volume.size = 3086548992
[13950]: 22:47:12.072 [D] probe-volume.c:436: Disc in /dev/sr0 has data
[13950]: 22:47:13.913 [D] probe-volume.c:469: get_disc_type returned 0x11
22:47:22.055 [i] blockdev.c:387: entering; exit_type=1, return_code=0
[13950]: 22:47:22.296 [E] probe-volume.c:301: Timed out probing /dev/sr0 - broken device driver?
pid 13950: rc=1 signaled=0: /usr/lib/hal/hald-probe-volume
[13943]: 22:47:28.004 [i] addon-storage.c:355: Checking whether device /dev/sr0 is locked on HAL
[13943]: 22:47:28.005 [i] addon-storage.c:363: ... device /dev/sr0 is not locked on HAL

I don't understand the line "Timed out probing...". Why is it timing out for only some DVDs (the ones I recorded with this very same drive)?

Any ideas? My DVD drive is an HL-DT-ST DVDRAM (brand LG) GSA-H44N.

This problem is similar to the one seen here: https://bugs.launchpad.net/ubuntu/+sour … bug/157775

Thanks!

Offline

Board footer

Powered by FluxBB