[sisyphus] отвалилось монтирование в KDE

Dmitry Lebkov =?iso-8859-1?q?dima_=CE=C1_sakhalin=2Eru?=
Ср Окт 15 06:31:54 MSD 2008


Sergey V Turchin пишет:
> On Tuesday 08 April 2008, Slava Dubrovskiy wrote:
> 
> [...]
>> больше ничего нет.
> в `dbus-monitor --system` должно быть что-то про DeviceAdded

В очередной раз отвалилось монтирование в КДЕ. Вернее даже не
монтирование, а отображение подключаемых USB-дисков/флэшек.
Система - последний Сизиф. HAL и DBus запущены.

$ uname -a
Linux dvl.sakhalin.ru 2.6.18-ovz-smp-alt24 #1 SMP Tue May 6 19:11:05 MSD 2008 i686 GNU/Linux

$ lshal --monitor

Start monitoring devicelist:
-------------------------------------------------
12:49:56.434: usb_device_90c_1000_AA27103000075597_0 added
12:49:56.472: usb_device_90c_1000_AA27103000075597_0_if0 added
12:49:56.494: usb_device_90c_1000_AA27103000075597_0_usbraw added
12:50:01.436: usb_device_90c_1000_AA27103000075597_0_if0_scsi_host added
12:50:01.437: usb_device_90c_1000_AA27103000075597_0_if0_scsi_host_scsi_device_lun0 added
12:50:01.562: usb_device_90c_1000_AA27103000075597_0_if0_scsi_host_scsi_device_lun0 \
               property info.linux.driver = 'sd' (new)

$ dbus-monitor --system
signal sender=org.freedesktop.DBus -> dest=:1.21 path=/org/freedesktop/DBus;
    interface=org.freedesktop.DBus; member=NameAcquired
    string ":1.21"
signal sender=:1.2 -> dest=(null destination) path=/org/freedesktop/Hal/Manager;
    interface=org.freedesktop.Hal.Manager; member=DeviceAdded
    string "/org/freedesktop/Hal/devices/usb_device_90c_1000_AA27103000075597_0"
signal sender=:1.2 -> dest=(null destination) path=/org/freedesktop/Hal/Manager;
    interface=org.freedesktop.Hal.Manager; member=DeviceAdded
    string "/org/freedesktop/Hal/devices/usb_device_90c_1000_AA27103000075597_0_if0"
signal sender=:1.2 -> dest=(null destination) path=/org/freedesktop/Hal/Manager;
    interface=org.freedesktop.Hal.Manager; member=DeviceAdded
    string "/org/freedesktop/Hal/devices/usb_device_90c_1000_AA27103000075597_0_usbraw"
signal sender=:1.2 -> dest=(null destination) path=/org/freedesktop/Hal/Manager;
    interface=org.freedesktop.Hal.Manager; member=DeviceAdded
    string "/org/freedesktop/Hal/devices/usb_device_90c_1000_AA27103000075597_0_if0_scsi_host"
signal sender=:1.2 -> dest=(null destination) path=/org/freedesktop/Hal/Manager;
    interface=org.freedesktop.Hal.Manager; member=DeviceAdded
    string "/org/freedesktop/Hal/devices/usb_device_90c_1000_AA27103000075597_0_if0_scsi_host_scsi_device_lun0"
signal sender=:1.2 -> dest=(null destination) 
path=/org/freedesktop/Hal/devices/usb_device_90c_1000_AA27103000075597_0_if0_scsi_host_scsi_device_lun0; 
interface=org.freedesktop.Hal.Device; member=PropertyModified
    int32 1
    array [
       struct {
          string "info.linux.driver"
          boolean false
          boolean true
       }
    ]

$ ck-list-sessions
Session1:
         unix-user = '500'
         realname = ''
         seat = 'Seat1'
         session-type = ''
         active = FALSE
         x11-display = ''
         x11-display-device = ''
         display-device = '/dev/pts/4'
         remote-host-name = ''
         is-local = TRUE
         on-since = '2008-10-15T01:29:10.369847Z'
         login-session-id = ''

$ polkit-auth --user dvl
org.freedesktop.hal.storage.mount-removable
org.freedesktop.hal.device-access.cdrom

В /var/log/messages после подключения устройства ничего подозрительного не
обнаруживается:

Oct 15 12:51:45 stat kernel: usb 4-3: USB disconnect, address 15
Oct 15 12:51:47 stat kernel: usb 4-3: new high speed USB device using ehci_hcd and address 16
Oct 15 12:51:48 stat kernel: usb 4-3: configuration #1 chosen from 1 choice
Oct 15 12:51:48 stat kernel: scsi14 : SCSI emulation for USB Mass Storage devices
Oct 15 12:51:53 stat kernel:   Vendor: LG        Model: USB Drive         Rev: 1100
Oct 15 12:51:53 stat kernel:   Type:   Direct-Access                      ANSI SCSI revision: 00
Oct 15 12:51:53 stat kernel: SCSI device sda: 15858688 512-byte hdwr sectors (8120 MB)
Oct 15 12:51:53 stat kernel: sda: Write Protect is off
Oct 15 12:51:53 stat kernel: sda: assuming drive cache: write through
Oct 15 12:51:53 stat kernel: SCSI device sda: 15858688 512-byte hdwr sectors (8120 MB)
Oct 15 12:51:53 stat kernel: sda: Write Protect is off
Oct 15 12:51:53 stat kernel: sda: assuming drive cache: write through
Oct 15 12:51:53 stat kernel:  sda: sda1
Oct 15 12:51:53 stat kernel: sd 14:0:0:0: Attached scsi removable disk sda
Oct 15 12:55:01 stat crond[24890]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot)
Oct 15 12:55:01 stat crond[24893]: (root) CMD (/usr/share/vzctl/scripts/vpsnetclean)
Oct 15 13:00:01 stat crond[24960]: (root) CMD (/usr/share/vzctl/scripts/vpsreboot)


Куда еще можно посмотреть и за что подергать, чтоб вернуть в работу отображение
подключаемых устройств?

-- 
WBR, Dmitry Lebkov




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