[sisyphus] Щодо: hal не монтирует устройства
Pavel Kulichenko
=?iso-8859-1?q?pkulichenko_=CE=C1_gmail=2Ecom?=
Пн Мар 12 18:59:47 MSK 2007
>
> oh well, давай по частям разбираться. после вставки флэшки или сидюка
> что происходит в /var/log/messages ? что сказано об устройстве в
> выводе lshal? что скажет pmount-hal /dev/cdrom ?
>
подключил флешку - выскочило окно в KDE, открыл в новом окне - все
открылось, но кодировка левая.
Как изменить кодировку и что делать с CD?
mount
/dev/sdb1 on /media/disk type vfat
(rw,nosuid,nodev,noatime,uid=500,utf8,shortname=lower)
/var/log/messages
Mar 12 18:51:52 pkulichenko-mob kernel: usb 2-2: new full speed USB device
using uhci_hcd and address 2
Mar 12 18:51:52 pkulichenko-mob kernel: usb 2-2: configuration #1 chosen
from 1 choice
Mar 12 18:52:25 pkulichenko-mob kernel: usb 2-2: USB disconnect, address 2
Mar 12 18:52:29 pkulichenko-mob kernel: usb 2-2: new full speed USB device
using uhci_hcd and address 3
Mar 12 18:52:29 pkulichenko-mob kernel: usb 2-2: configuration #1 chosen
from 1 choice
Mar 12 18:52:29 pkulichenko-mob kernel: usbcore: registered new driver
libusual
Mar 12 18:52:29 pkulichenko-mob kernel: Initializing USB Mass Storage
driver...
Mar 12 18:52:29 pkulichenko-mob kernel: scsi1 : SCSI emulation for USB Mass
Storage devices
Mar 12 18:52:29 pkulichenko-mob kernel: usbcore: registered new driver
usb-storage
Mar 12 18:52:29 pkulichenko-mob kernel: USB Mass Storage support registered.
Mar 12 18:52:34 pkulichenko-mob kernel: Vendor: WM5torag Model:
PM300 Rev: 1.60
Mar 12 18:52:34 pkulichenko-mob kernel: Type:
Direct-Access ANSI SCSI revision: 00
Mar 12 18:52:34 pkulichenko-mob kernel: SCSI device sdb: 1999872 512-byte
hdwr sectors (1024 MB)
Mar 12 18:52:34 pkulichenko-mob kernel: sdb: test WP failed, assume Write
Enabled
Mar 12 18:52:34 pkulichenko-mob kernel: sdb: assuming drive cache: write
through
Mar 12 18:52:35 pkulichenko-mob kernel: SCSI device sdb: 1999872 512-byte
hdwr sectors (1024 MB)
Mar 12 18:52:35 pkulichenko-mob kernel: sdb: test WP failed, assume Write
Enabled
Mar 12 18:52:35 pkulichenko-mob kernel: sdb: assuming drive cache: write
through
Mar 12 18:52:35 pkulichenko-mob kernel: sdb: sdb1
Mar 12 18:52:35 pkulichenko-mob kernel: sd 1:0:0:0: Attached scsi removable
disk sdb
Mar 12 18:52:35 pkulichenko-mob kernel: sd 1:0:0:0: Attached scsi generic
sg1 type 0
Mar 12 18:52:59 pkulichenko-mob hald: mounted /dev/sdb1 on behalf of uid 500
lshal
udi =
'/org/freedesktop/Hal/devices/storage_serial_WM5torag_PM300_31754FB08E521504C20D59E1268E36149A8DA216'
block.device = '/dev/sdb' (string)
block.is_volume = false (bool)
block.major = 8 (0x8) (int)
block.minor = 16 (0x10) (int)
block.storage_device =
'/org/freedesktop/Hal/devices/storage_serial_WM5torag_PM300_31754FB08E521504C20D59E1268E36149A8DA216'
(string)
info.addons = {'hald-addon-storage'} (string list)
info.capabilities = {'storage', 'block'} (string list)
info.category = 'storage' (string)
info.parent =
'/org/freedesktop/Hal/devices/usb_device_45e_ffff_31754FB08E521504C20D59E1268E36149A8DA216_if0_scsi_host_scsi_device_lun0'
(string)
info.product = 'PM300' (string)
info.udi =
'/org/freedesktop/Hal/devices/storage_serial_WM5torag_PM300_31754FB08E521504C20D59E1268E36149A8DA216'
(string)
info.vendor = 'WM5torag' (string)
linux.hotplug_type = 3 (0x3) (int)
linux.sysfs_path = '/sys/block/sdb' (string)
storage.automount_enabled_hint = true (bool)
storage.bus = 'usb' (string)
storage.drive_type = 'disk' (string)
storage.firmware_version = '1.60' (string)
storage.hotpluggable = true (bool)
storage.lun = 0 (0x0) (int)
storage.media_check_enabled = true (bool)
storage.model = 'PM300' (string)
storage.no_partitions_hint = false (bool)
storage.originating_device =
'/org/freedesktop/Hal/devices/usb_device_45e_ffff_31754FB08E521504C20D59E1268E36149A8DA216_if0'
(string)
storage.partitioning_scheme = 'mbr' (string)
storage.physical_device =
'/org/freedesktop/Hal/devices/usb_device_45e_ffff_31754FB08E521504C20D59E1268E36149A8DA216_if0'
(string)
storage.removable = true (bool)
storage.removable.media_available = true (bool)
storage.removable.media_size = 1023934464 (0x3d080000) (uint64)
storage.requires_eject = false (bool)
storage.serial =
'WM5torag_PM300_31754FB08E521504C20D59E1268E36149A8DA216' (string)
storage.size = 0 (0x0) (uint64)
storage.vendor = 'WM5torag' (string)
udi = '/org/freedesktop/Hal/devices/volume_uuid_FC30_3DA9'
block.device = '/dev/sdb1' (string)
block.is_volume = true (bool)
block.major = 8 (0x8) (int)
block.minor = 17 (0x11) (int)
block.storage_device =
'/org/freedesktop/Hal/devices/storage_serial_WM5torag_PM300_31754FB08E521504C20D59E1268E36149A8DA216'
(string)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
info.parent =
'/org/freedesktop/Hal/devices/storage_serial_WM5torag_PM300_31754FB08E521504C20D59E1268E36149A8DA216'
(string)
info.product = 'Volume (vfat)' (string)
info.udi = '/org/freedesktop/Hal/devices/volume_uuid_FC30_3DA9' (string)
linux.hotplug_type = 3 (0x3) (int)
linux.sysfs_path = '/sys/block/sdb/sdb1' (string)
org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype
extra_options', 'extra_options', 'extra_options'} (string list)
org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount',
'hal-storage-unmount', 'hal-storage-eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount',
'Eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'}
(string list)
storage.model = '' (string)
volume.block_size = 512 (0x200) (int)
volume.fstype = 'vfat' (string)
volume.fsusage = 'filesystem' (string)
volume.fsversion = 'FAT16' (string)
volume.ignore = false (bool)
volume.is_disc = false (bool)
volume.is_mounted = true (bool)
volume.is_mounted_read_only = false (bool)
volume.is_partition = true (bool)
volume.label = '' (string)
volume.linux.is_device_mapper = false (bool)
volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime',
'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=',
'codepage=
', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid='} (string list)
volume.mount_point = '/media/disk' (string)
volume.num_blocks = 1999627 (0x1e830b) (int)
volume.partition.flags = {} (string list)
volume.partition.label = '' (string)
volume.partition.media_size = 1023934464 (0x3d080000) (uint64)
volume.partition.number = 1 (0x1) (int)
volume.partition.scheme = 'mbr' (string)
volume.partition.start = 125440 (0x1ea00) (uint64)
volume.partition.type = '0x06' (string)
volume.partition.uuid = '' (string)
volume.size = 1023809024 (0x3d061600) (uint64)
volume.unmount.valid_options = {'lazy'} (string list)
volume.uuid = 'FC30-3DA9' (string)
# pmount /dev/sdb1
Error: device /dev/sdb1 is already mounted to /media/disk
--
Kulichenko Pavel
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/sisyphus/attachments/20070312/b8f03c01/attachment-0003.html>
Подробная информация о списке рассылки Sisyphus