Bugzilla – Bug 131743
System does not correctly mount inderted DVDRAM disk.
Last modified: 2007-06-05 11:04:25 UTC
I have the following hardware in my SMP x86 system. When a DVDRAM disk is inserted into the PD-2 LF-D100 drive the system cannot correctly mount it. If an attempt is made to access the directory that is created with the volume name of the DVDRAM disk an error box with title 'Error - Konqueror' is displayed with message "No media in device for /media/DVD_01". 5: udi = '/org/freedesktop/Hal/devices/storage_model_PD_2_LF_D100' info.callouts.remove = { 'hal-resmgr', 'hald-subfs-mount' } resmgr.flags = { 'scsi' } resmgr.class = 'cdrom' info.callouts.add = { 'hald-add-selinux-mount-option', 'hal-resmgr', 'hald-subfs-mount' } info.addons = { 'hald-addon-storage' } storage.policy.desired_mount_point = 'cdrecorder' storage.policy.mount_filesystem = 'auto' storage.policy.should_mount = true block.storage_device = '/org/freedesktop/Hal/devices/storage_model_PD_2_LF_D100' info.udi = '/org/freedesktop/Hal/devices/storage_model_PD_2_LF_D100' storage.cdrom.write_speed = 0 (0x0) storage.cdrom.read_speed = 0 (0x0) storage.cdrom.support_media_changed = true storage.cdrom.dvdplusrdl = false storage.cdrom.dvdplusrw = false storage.cdrom.dvdplusr = false storage.cdrom.dvdram = true storage.cdrom.dvdrw = false storage.cdrom.dvdr = false storage.cdrom.dvd = true storage.cdrom.cdrw = false storage.cdrom.cdr = false storage.requires_eject = true storage.hotpluggable = false info.capabilities = { 'storage', 'block', 'storage.cdrom' } info.category = 'storage' info.product = 'PD-2 LF-D100' info.vendor = 'MATSHITA' storage.removable = true storage.physical_device = '/org/freedesktop/Hal/devices/pci_9004_7895_0_scsi_host_scsi_device_lun0_0' storage.lun = 0 (0x0) storage.drive_type = 'cdrom' storage.vendor = 'MATSHITA' storage.model = 'PD-2 LF-D100' storage.automount_enabled_hint = true storage.media_check_enabled = true storage.no_partitions_hint = true storage.bus = 'scsi' block.is_volume = false block.minor = 0 (0x0) block.major = 11 (0xb) block.device = '/dev/sr0' linux.hotplug_type = 3 (0x3) info.parent = '/org/freedesktop/Hal/devices/pci_9004_7895_0_scsi_host_scsi_device_lun0_0' linux.sysfs_path_device = '/sys/block/sr0' linux.sysfs_path = '/sys/block/sr0' 29: udi = '/org/freedesktop/Hal/devices/storage_serial_235080' info.callouts.remove = { 'hal-resmgr', 'hald-subfs-mount' } resmgr.class = 'cdrom' info.callouts.add = { 'hald-add-selinux-mount-option', 'hal-resmgr', 'hald-subfs-mount' } info.addons = { 'hald-addon-storage' } storage.policy.desired_mount_point = 'cdrecorder' storage.policy.mount_filesystem = 'auto' storage.policy.should_mount = true block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_235080' info.udi = '/org/freedesktop/Hal/devices/storage_serial_235080' storage.cdrom.write_speed = 7056 (0x1b90) storage.cdrom.read_speed = 7056 (0x1b90) storage.cdrom.support_media_changed = true storage.cdrom.dvdplusrdl = false storage.cdrom.dvdplusrw = true storage.cdrom.dvdplusr = true storage.cdrom.dvdram = false storage.cdrom.dvdrw = false storage.cdrom.dvdr = true storage.cdrom.dvd = true storage.cdrom.cdrw = true storage.cdrom.cdr = true storage.firmware_version = '1.10' storage.serial = '235080' storage.requires_eject = true storage.hotpluggable = false info.capabilities = { 'storage', 'block', 'storage.cdrom' } info.category = 'storage' info.product = 'PLEXTOR DVDR PX-708A' storage.removable = true storage.physical_device = '/org/freedesktop/Hal/devices/pci_8086_7111_ide_0_0' storage.drive_type = 'cdrom' storage.vendor = '' storage.model = 'PLEXTOR DVDR PX-708A' storage.automount_enabled_hint = true storage.media_check_enabled = true storage.no_partitions_hint = true storage.bus = 'ide' block.is_volume = false block.minor = 0 (0x0) block.major = 3 (0x3) block.device = '/dev/hda' linux.hotplug_type = 3 (0x3) info.parent = '/org/freedesktop/Hal/devices/pci_8086_7111_ide_0_0' linux.sysfs_path_device = '/sys/block/hda' linux.sysfs_path = '/sys/block/hda' /proc/mounts added entry after DVDRAM has been inserted: /dev/sr0 /media/cdrecorder subfs rw,nosuid,nodev 0 0 /var/log/messages after DVDRAM has been inserted. Nov 1 12:32:15 linux hal-subfs-mount[7684]: SYMLINKS:: disk/by-path/pci-0000:00:0e.0-scsi-0:0:4:0 cdrecorder Nov 1 12:32:15 linux hal-subfs-mount[7684]: MOUNT_POINT:: /media/cdrecorder Nov 1 12:32:15 linux hal-subfs-mount[7684]: MOUNTPOINT:: /media/cdrecorder Nov 1 12:32:15 linux hal-subfs-mount[7684]: Collected mount options and Called(0) /bin/mount -t subfs -o fs=cdfss,rw,procuid,nosuid,nodev,exec,utf8=true /dev/sr0 "/media/cdrecorder" Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:15 linux submountd: mount failure, Invalid argument Nov 1 12:32:15 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:15 linux submountd: mount failure, Invalid argument Nov 1 12:32:15 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux submountd: mount failure, Invalid argument Nov 1 12:32:15 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:15 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux submountd: mount failure, Invalid argument Nov 1 12:32:15 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:15 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux submountd: mount failure, Invalid argument Nov 1 12:32:15 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:15 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux submountd: mount failure, Invalid argument Nov 1 12:32:15 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:15 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:15 linux submountd: mount failure, Invalid argument Nov 1 12:32:15 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:15 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:15 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:16 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:16 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:16 linux submountd: mount failure, Invalid argument Nov 1 12:32:16 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:16 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:16 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:16 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:16 linux submountd: mount failure, Invalid argument Nov 1 12:32:16 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:16 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:16 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:16 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:16 linux submountd: mount failure, Invalid argument Nov 1 12:32:16 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:16 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:16 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:16 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:16 linux submountd: mount failure, Invalid argument Nov 1 12:32:16 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:16 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:16 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:16 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:16 linux submountd: mount failure, Invalid argument Nov 1 12:32:16 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:16 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:16 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:16 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:16 linux submountd: mount failure, Invalid argument Nov 1 12:32:16 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:17 linux kernel: end_request: I/O error, dev fd0, sector 0 Nov 1 12:32:17 linux kernel: end_request: I/O error, dev fd0, sector 0 Nov 1 12:32:17 linux kernel: end_request: I/O error, dev fd0, sector 0 Nov 1 12:32:17 linux kernel: end_request: I/O error, dev fd0, sector 0 Nov 1 12:32:17 linux submountd: mount failure, No such device or address Nov 1 12:32:17 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:17 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:17 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:17 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:17 linux submountd: mount failure, Invalid argument Nov 1 12:32:17 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:17 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:17 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:17 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:17 linux submountd: mount failure, Invalid argument Nov 1 12:32:17 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:25 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:25 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:25 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:25 linux submountd: mount failure, Invalid argument Nov 1 12:32:25 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:25 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:25 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:25 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:25 linux submountd: mount failure, Invalid argument Nov 1 12:32:25 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:25 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:25 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:25 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:25 linux submountd: mount failure, Invalid argument Nov 1 12:32:25 linux kernel: subfs: unsuccessful attempt to mount media (256) Nov 1 12:32:25 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:25 linux udevd[2488]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Nov 1 12:32:25 linux kernel: udf: bad mount option "utf8=true" or missing value Nov 1 12:32:25 linux submountd: mount failure, Invalid argument Nov 1 12:32:25 linux kernel: subfs: unsuccessful attempt to mount media (256) Since the DVDRAM is a vfat file system it seems to be that: hal-subfs-mount[7684]: Collected mount options and Called(0) /bin/mount -t subfs -o fs=cdfss,rw,procuid,nosuid,nodev,exec,utf8=true /dev/sr0 "/media/cdrecorder" indicates that hal-subfs-mount should be calling /bin/mount with the fs=vfat option/value pair.
please insert the DVD-RAM to the device, wait some seconds and *attach* the complete output lshal to this bug.
Created attachment 56250 [details] Output of lshal as requested The first entry in the output is of primary interest - it is the DVDRAM disk that was inserted.
Looks like a bug in submountd with cdfss for UDF. I fix this in the hal helper.
submited new package to STABLE/factory and for a YOU update for 10.0 (Maintenance-Tracker-3018)