Форум — General Почему SSD Plextor не определяется монитором udev? plextor, ssd, udev 0 1 udevadm monitor Не видит подключение SSH Plextor M5M 64GB Пытаюсь выставить правила для этой SSD. Ссылка
При этом на консоли появляются сообщения в момент подключения, когда скорость выставляется и т.п. linuxier (04.12.18 20:51:32 MSK) автор топика Ссылка
А после echo - - - >/sys/class/scsi_host/host?/scan ? Всё-таки sata это не usb. anonymous (04.12.18 20:56:48 MSK) Показать ответ Ссылка
Ответ на: комментарий от anonymous 04.12.18 20:56:48 MSK В смысле, tee /sys/class/scsi_host/host?/scan <<<- - - anonymous (04.12.18 20:57:35 MSK) Показать ответ Ссылка
Ответ на: комментарий от anonymous 04.12.18 20:57:35 MSK А как определить host number?udevadm info /dev/sdhP: /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh linuxier (04.12.18 21:10:30 MSK) автор топика Показать ответ Ссылка
Ответ на: комментарий от linuxier 04.12.18 21:10:30 MSK [ 4174.547564] ata10: exception Emask 0x10 SAct 0x0 SErr 0x10000 action 0xe frozen [ 4174.549745] ata10: irq_stat 0x80400000, PHY RDY changed [ 4174.551953] ata10: SError: { PHYRdyChg } [ 4174.553867] ata10: hard resetting link [ 4175.267263] ata10: SATA link down (SStatus 0 SControl 300) [ 4180.279461] ata10: hard resetting link [ 4180.598226] ata10: SATA link down (SStatus 0 SControl 300) [ 4180.598888] ata10: limiting SATA link speed to 1.5 Gbps [ 4185.655651] ata10: hard resetting link [ 4185.974617] ata10: SATA link down (SStatus 0 SControl 310) [ 4185.976462] ata10.00: disabled [ 4185.979348] ata10: EH complete [ 4185.981193] ata10.00: detaching (SCSI 9:0:0:0) [ 4185.984034] sd 9:0:0:0: [sdh] Synchronizing SCSI cache [ 4185.985927] sd 9:0:0:0: [sdh] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK [ 4185.987649] sd 9:0:0:0: [sdh] Stopping disk [ 4185.989413] sd 9:0:0:0: [sdh] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK linuxier (04.12.18 21:32:21 MSK) автор топика Показать ответ Ссылка
Ответ на: комментарий от linuxier 04.12.18 21:32:21 MSK Кажется, получилось: udevadm monitor monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent KERNEL[7746.088514] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/bsg/9:0:0:0 (bsg) KERNEL[7746.089354] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/scsi_generic/sg7 (scsi_generic) KERNEL[7746.090152] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/scsi_device/9:0:0:0 (scsi_device) KERNEL[7746.091053] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/scsi_disk/9:0:0:0 (scsi_disk) UDEV [7746.092270] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/bsg/9:0:0:0 (bsg) KERNEL[7746.093380] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh/sdh3 (block) KERNEL[7746.094326] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh/sdh2 (block) KERNEL[7746.095791] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh/sdh1 (block) UDEV [7746.096150] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/scsi_device/9:0:0:0 (scsi_device) KERNEL[7746.096429] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh (block) UDEV [7746.099373] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh/sdh3 (block) UDEV [7746.103075] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh/sdh2 (block) UDEV [7746.105758] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh/sdh1 (block) KERNEL[7746.106543] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0 (scsi) UDEV [7746.108793] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/scsi_disk/9:0:0:0 (scsi_disk) UDEV [7746.109686] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/scsi_generic/sg7 (scsi_generic) UDEV [7746.115300] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh (block) UDEV [7746.117371] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0 (scsi) KERNEL[7746.120220] remove /devices/virtual/bdi/8:112 (bdi) KERNEL[7746.120257] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0 (scsi) UDEV [7746.122529] remove /devices/virtual/bdi/8:112 (bdi) UDEV [7746.123172] remove /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0 (scsi) KERNEL[7759.192121] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0 (scsi) KERNEL[7759.192610] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0 (scsi) KERNEL[7759.192874] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/scsi_disk/9:0:0:0 (scsi_disk) UDEV [7759.194493] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0 (scsi) UDEV [7759.196382] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0 (scsi) KERNEL[7759.196740] add /devices/virtual/bdi/8:112 (bdi) KERNEL[7759.197618] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/scsi_device/9:0:0:0 (scsi_device) KERNEL[7759.198309] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/scsi_generic/sg7 (scsi_generic) UDEV [7759.198329] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/scsi_disk/9:0:0:0 (scsi_disk) KERNEL[7759.200280] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/bsg/9:0:0:0 (bsg) KERNEL[7759.200786] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh (block) UDEV [7759.201197] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/scsi_device/9:0:0:0 (scsi_device) KERNEL[7759.201299] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh/sdh1 (block) KERNEL[7759.201392] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh/sdh2 (block) KERNEL[7759.201515] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh/sdh3 (block) UDEV [7759.203709] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/bsg/9:0:0:0 (bsg) UDEV [7759.203900] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/scsi_generic/sg7 (scsi_generic) UDEV [7759.204513] add /devices/virtual/bdi/8:112 (bdi) UDEV [7759.576405] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh (block) UDEV [7760.673491] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh/sdh2 (block) UDEV [7760.677074] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh/sdh3 (block) UDEV [7760.677330] add /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/ata10/host9/target9:0:0/9:0:0:0/block/sdh/sdh1 (block) linuxier (04.12.18 22:35:47 MSK) автор топика Ссылка