[sisyphus] Щодо: hal не монтирует устройства

Pavel Kulichenko =?iso-8859-1?q?pkulichenko_=CE=C1_gmail=2Ecom?=
Пн Мар 12 18:48:35 MSK 2007


>
> oh well, давай по частям разбираться. после вставки флэшки или сидюка
> что происходит в /var/log/messages ? что сказано об устройстве в
> выводе lshal? что скажет pmount-hal /dev/cdrom ?
>
1. Сейчас перегрузил ноут

2. стоит
# rpm -qa | grep hal
hal-0.5.9-alt5
libhal-0.5.9-alt5
hashalot-0.2.0-alt3
# rpm -qa | grep pmount
pmount-0.9.13-alt4

3. запущено
# ps -ef | grep hal
103       4214     1  0 18:36 ?        00:00:00 /usr/sbin/hald
root      4215  4214  0 18:36 ?        00:00:00 hald-runner
103       4225  4215  0 18:36 ?        00:00:00 hald-addon-keyboard:
listening on /dev/input/event0
root      4253  4215  0 18:36 ?        00:00:00 hald-addon-storage: polling
/dev/hdc (every 2 sec)
root      7257  5391  0 18:47 pts/1    00:00:00 grep hal

вставляю DVD
4. /var/log/messages тишина

5. выводе lshal
udi =
'/org/freedesktop/Hal/devices/storage_model_PHILIPS_CD_RW/DVD_ROM_SCB5265'
  access_control.file = '/dev/hdc'  (string)
  access_control.grant_local_session = true  (bool)
  block.device = '/dev/hdc'  (string)
  block.is_volume = false  (bool)
  block.major = 22  (0x16)  (int)
  block.minor = 0  (0x0)  (int)
  block.storage_device =
'/org/freedesktop/Hal/devices/storage_model_PHILIPS_CD_RW/DVD_ROM_SCB5265'
(string)
  info.addons = {'hald-addon-storage'} (string list)
  info.callouts.add = {'hal-acl-tool --add-device'} (string list)
  info.callouts.remove = {'hal-acl-tool --remove-device'} (string list)
  info.capabilities = {'storage', 'block', 'storage.cdrom',
'access_control'} (string list)
  info.category = 'storage'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Storage', '
org.freedesktop.Hal.Device.Storage'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/computer_ide_1_0'  (string)
  info.product = 'PHILIPS CD-RW/DVD-ROM SCB5265'  (string)
  info.udi =
'/org/freedesktop/Hal/devices/storage_model_PHILIPS_CD_RW/DVD_ROM_SCB5265'
(string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/block/hdc'  (string)
  org.freedesktop.Hal.Device.Storage.method_argnames = {'extra_options',
'extra_options'} (string list)
  org.freedesktop.Hal.Device.Storage.method_execpaths =
{'hal-storage-eject', 'hal-storage-closetray'} (string list)
  org.freedesktop.Hal.Device.Storage.method_names = {'Eject', 'CloseTray'}
(string list)
  org.freedesktop.Hal.Device.Storage.method_signatures = {'as', 'as'}
(string list)
  storage.automount_enabled_hint = true  (bool)
  storage.bus = 'ide'  (string)
  storage.cdrom.bd = false  (bool)
  storage.cdrom.bdr = false  (bool)
  storage.cdrom.bdre = false  (bool)
  storage.cdrom.cdr = true  (bool)
  storage.cdrom.cdrw = true  (bool)
  storage.cdrom.dvd = true  (bool)
  storage.cdrom.dvdplusr = false  (bool)
  storage.cdrom.dvdplusrdl = false  (bool)
  storage.cdrom.dvdplusrw = false  (bool)
  storage.cdrom.dvdplusrwdl = false  (bool)
  storage.cdrom.dvdr = false  (bool)
  storage.cdrom.dvdram = false  (bool)
  storage.cdrom.dvdrw = false  (bool)
  storage.cdrom.hddvd = false  (bool)
  storage.cdrom.hddvdr = false  (bool)
  storage.cdrom.hddvdrw = false  (bool)
  storage.cdrom.read_speed = 4226  (0x1082)  (int)
  storage.cdrom.support_media_changed = true  (bool)
  storage.cdrom.write_speed = 2  (0x2)  (int)
  storage.drive_type = 'cdrom'  (string)
  storage.firmware_version = 'TD17'  (string)
  storage.hotpluggable = false  (bool)
  storage.media_check_enabled = true  (bool)
  storage.model = 'PHILIPS CD-RW/DVD-ROM SCB5265'  (string)
  storage.no_partitions_hint = true  (bool)
  storage.originating_device =
'/org/freedesktop/Hal/devices/computer_ide_1_0'  (string)
  storage.physical_device = '/org/freedesktop/Hal/devices/computer_ide_1_0'
(string)
  storage.removable = true  (bool)
  storage.removable.media_available = true  (bool)
  storage.removable.media_size = 652050432  (0x26dd8000)  (uint64)
  storage.requires_eject = true  (bool)
  storage.size = 0  (0x0)  (uint64)
  storage.vendor = ''  (string)

6. # pmount-hal /dev/cdrom
Error: given UDI is not a mountable volume

KDE молчит
-- 
Kulichenko Pavel
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/sisyphus/attachments/20070312/eba82b63/attachment-0003.html>


Подробная информация о списке рассылки Sisyphus