Страница 1 из 1

Внешний юсб-диск

Добавлено: 01 окт 2015, 19:46
*d0s
Несмотря на то, что проблема на другом дистре, а не в росе, всё-таки осмелюсь обратиться к здешним форумчанам, если уж не за помощью, то за разъяснением. Проблема не столь частая, но и не редкая. Имеется внешний винт подключаемый через usb. Система его видит, но в KDE нет уведомления о присоединении т.е. нет доступа к нему даже в режиме чтения. Непонятно в чем причина. В связке systemd+udevd+udisks2 или pam или ещё в чём?

Код: Выделить всё

# fdisk -l
Disk /dev/sdd: 1000.2 GB, 1000170586112 bytes, 1953458176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x043df545

Устр-во Загр     Начало       Конец       Блоки   Id  Система
/dev/sdd1            2048  1953458175   976728064    7  HPFS/NTFS/exFAT

Код: Выделить всё

$ lsusb
Protocol spec without prior Class and Subclass spec at line 17403
Bus 002 Device 003: ID 1058:1078 Western Digital Technologies, Inc.

Код: Выделить всё

$ dmesg
[  506.644046] usb 2-2: new high-speed USB device number 3 using xhci_hcd
[  506.765958] usb-storage 2-2:1.0: USB Mass Storage device detected
[  506.766068] scsi7 : usb-storage 2-2:1.0
[  507.767805] scsi 7:0:0:0: Direct-Access     WD       Elements 1078    1065 PQ: 0 ANSI: 6
[  507.769685] sd 7:0:0:0: [sdd] Spinning up disk...
[  508.769835] .....ready
[  512.779849] sd 7:0:0:0: [sdd] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[  512.780662] sd 7:0:0:0: [sdd] Write Protect is off
[  512.780664] sd 7:0:0:0: [sdd] Mode Sense: 53 00 10 08
[  512.781572] sd 7:0:0:0: [sdd] No Caching mode page found
[  512.781575] sd 7:0:0:0: [sdd] Assuming drive cache: write through
[  512.783587] sd 7:0:0:0: [sdd] No Caching mode page found
[  512.783590] sd 7:0:0:0: [sdd] Assuming drive cache: write through
[  512.946900]  sdd: sdd1
[  512.948958] sd 7:0:0:0: [sdd] No Caching mode page found
[  512.948961] sd 7:0:0:0: [sdd] Assuming drive cache: write through
[  512.948964] sd 7:0:0:0: [sdd] Attached SCSI disk
[  543.664037] usb 2-2: reset high-speed USB device number 3 using xhci_hcd
[  543.664149] xhci_hcd 0000:02:00.0: Setup ERROR: setup context command for slot 1.
[  543.765977] usb 2-2: reset high-speed USB device number 3 using xhci_hcd
[  543.766087] xhci_hcd 0000:02:00.0: Setup ERROR: setup context command for slot 1.
[  543.867928] usb 2-2: reset high-speed USB device number 3 using xhci_hcd
[  543.884334] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800a2d5d880
[  543.884342] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800a2d5d8c0
[  762.559852] usb 2-2: reset high-speed USB device number 3 using xhci_hcd
[  762.559895] xhci_hcd 0000:02:00.0: Setup ERROR: setup context command for slot 1.
[  762.661847] usb 2-2: reset high-speed USB device number 3 using xhci_hcd
[  762.661866] xhci_hcd 0000:02:00.0: Setup ERROR: setup context command for slot 1.
[  762.763823] usb 2-2: reset high-speed USB device number 3 using xhci_hcd
[  762.780138] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800a2d5d880
[  762.780141] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800a2d5d8c0
[  795.566926] usb 2-2: reset high-speed USB device number 3 using xhci_hcd
[  795.566947] xhci_hcd 0000:02:00.0: Setup ERROR: setup context command for slot 1.
[  795.668898] usb 2-2: reset high-speed USB device number 3 using xhci_hcd
[  795.668934] xhci_hcd 0000:02:00.0: Setup ERROR: setup context command for slot 1.
[  795.770834] usb 2-2: reset high-speed USB device number 3 using xhci_hcd
[  795.787138] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800a2d5d880
[  795.787141] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800a2d5d8c0
[  826.527151] usb 2-2: reset high-speed USB device number 3 using xhci_hcd
[  826.527271] xhci_hcd 0000:02:00.0: Setup ERROR: setup context command for slot 1.
[  826.629006] usb 2-2: reset high-speed USB device number 3 using xhci_hcd
[  826.629045] xhci_hcd 0000:02:00.0: Setup ERROR: setup context command for slot 1.
[  826.730969] usb 2-2: reset high-speed USB device number 3 using xhci_hcd
[  826.747255] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800a2d5d880
[  826.747258] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800a2d5d8c0

Код: Выделить всё

# udevadm monnitor
KERNEL[1291.727097] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2 (usb)
KERNEL[1291.727313] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0 (usb)
KERNEL[1291.727435] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8 (scsi)
KERNEL[1291.727463] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/scsi_host/host8 (scsi_host)
UDEV  [1291.742763] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2 (usb)
UDEV  [1291.743601] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0 (usb)
UDEV  [1291.744303] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8 (scsi)
UDEV  [1291.744659] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/scsi_host/host8 (scsi_host)
KERNEL[1292.730550] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0 (scsi)
KERNEL[1292.730572] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0 (scsi)
KERNEL[1292.730582] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/scsi_disk/8:0:0:0 (scsi_disk)
KERNEL[1292.730591] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/scsi_device/8:0:0:0 (scsi_device)
KERNEL[1292.730640] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/bsg/8:0:0:0 (bsg)
UDEV  [1292.730990] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0 (scsi)
UDEV  [1292.731413] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0 (scsi)
UDEV  [1292.732016] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/scsi_disk/8:0:0:0 (scsi_disk)
UDEV  [1292.732714] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/scsi_device/8:0:0:0 (scsi_device)
UDEV  [1292.732926] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/bsg/8:0:0:0 (bsg)
KERNEL[1297.747851] add      /devices/virtual/bdi/8:48 (bdi)
UDEV  [1297.748389] add      /devices/virtual/bdi/8:48 (bdi)
KERNEL[1297.909713] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/block/sdd (block)
KERNEL[1297.909731] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/block/sdd/sdd1 (block)
UDEV  [1298.013803] add      /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/block/sdd (block)
KERNEL[1387.387340] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/bsg/8:0:0:0 (bsg)
KERNEL[1387.387384] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/scsi_device/8:0:0:0 (scsi_device)
KERNEL[1387.387441] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/scsi_disk/8:0:0:0 (scsi_disk)
KERNEL[1387.387528] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/block/sdd/sdd1 (block)
KERNEL[1387.387618] remove   /devices/virtual/bdi/8:48 (bdi)
KERNEL[1387.387680] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/block/sdd (block)
KERNEL[1387.387696] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0 (scsi)
KERNEL[1387.387739] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0 (scsi)
KERNEL[1387.387757] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/scsi_host/host8 (scsi_host)
KERNEL[1387.387766] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8 (scsi)
KERNEL[1387.387840] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0 (usb)
KERNEL[1387.387948] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2 (usb)
UDEV  [1387.388382] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/scsi_device/8:0:0:0 (scsi_device)
UDEV  [1387.388393] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/bsg/8:0:0:0 (bsg)
UDEV  [1387.388769] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/scsi_disk/8:0:0:0 (scsi_disk)
UDEV  [1387.388891] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/scsi_host/host8 (scsi_host)
UDEV  [1387.389134] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/block/sdd/sdd1 (block)
UDEV  [1387.389420] remove   /devices/virtual/bdi/8:48 (bdi)
UDEV  [1387.389534] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0/block/sdd (block)
UDEV  [1387.389691] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0 (scsi)
UDEV  [1387.389838] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8/target8:0:0 (scsi)
UDEV  [1387.389980] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0/host8 (scsi)
UDEV  [1387.390347] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2/1-2:1.0 (usb)
UDEV  [1387.397214] remove   /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-2 (usb)

Код: Выделить всё

# control | grep mount
fusermount      fuseonly        (public fuseonly wheelonly restricted)
mount           public          (public wheelonly unprivileged restricted)
nfsmount        restricted      (public wheelonly restricted)
pmount          restricted      (public xgrp restricted)
grep: /etc/openssh/sshd_config: Нет такого файла или каталога
grep: /etc/openssh/sshd_config: Нет такого файла или каталога
grep: /etc/openssh/sshd_config: Нет такого файла или каталога
grep: /etc/openssh/sshd_config: Нет такого файла или каталога
grep: /etc/openssh/sshd_config: Нет такого файла или каталога
grep: /etc/openssh/sshd_config: Нет такого файла или каталога
grep: /etc/openssh/sshd_config: Нет такого файла или каталога
удалял pmount, вносил пользователя в fuse, делал что в этой ссылке - https://wiki.archlinux.org/index.php/Ud ... %B8%D0%B9) - ничего не решает.
И вот самое интересное

Код: Выделить всё

$ ls -l /dev/sdd1
brw------- 1 root root 8, 49 фев 19 20:30 /dev/sdd1