[udev] usb ok, sata montage par user impossible

usb ok, sata montage par user impossible [udev] - Logiciels - Linux et OS Alternatifs

Marsh Posté le 07-01-2011 à 20:09:24    

Reprise du message débuté sur le topic actu:

Kortex@HFR a écrit :


 
:heink: avec la règle udev kivabien, tout se monte sans prendre de droits particuliers...


 

thana54 a écrit :


certes, mais le démontage via un gestionnaire de fichier pose problème (vu que monter par le user udev, qui n'est pas root mais qui a certains droits différents du user du gestionnaire de fichier).
Ou alors, c'est pcmanfm qui ne gère pas bien la discussion avec udev [:transparency]


 

Kortex@HFR a écrit :


Pas de problème pour ma part sous KDE, tout se passe nickel quel que soit le FS monté.


 

thana54 a écrit :

pour finir avec mes soucis udev, le disque branché en usb pas de soucis, le disque dans son rack sata pas moyen de le monter en tant que user.
/hs


 
 
 
 
Branchement du disque via son rack, en sata:

Code :
  1. sudo udevadm --debug monitor
  2. run_command: calling: monitor
  3. monitor will print the received events for:
  4. UDEV - the event which udev sends out after rule processing
  5. KERNEL - the kernel uevent
  6. KERNEL[1294424231.040068] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0 (scsi)
  7. KERNEL[1294424231.040108] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0 (scsi)
  8. KERNEL[1294424231.040120] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/scsi_disk/1:0:0:0 (scsi_disk)
  9. KERNEL[1294424231.040133] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0 (scsi_device)
  10. KERNEL[1294424231.040455] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/scsi_generic/sg4 (scsi_generic)
  11. KERNEL[1294424231.040471] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/bsg/1:0:0:0 (bsg)
  12. KERNEL[1294424231.040482] add      /devices/virtual/bdi/8:48 (bdi)
  13. UDEV  [1294424231.040692] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0 (scsi)
  14. UDEV  [1294424231.040716] add      /devices/virtual/bdi/8:48 (bdi)
  15. UDEV  [1294424231.047512] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0 (scsi)
  16. UDEV  [1294424231.048033] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/scsi_disk/1:0:0:0 (scsi_disk)
  17. UDEV  [1294424231.048275] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0 (scsi_device)
  18. UDEV  [1294424231.048684] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/scsi_generic/sg4 (scsi_generic)
  19. UDEV  [1294424231.048883] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/bsg/1:0:0:0 (bsg)
  20. KERNEL[1294424231.092378] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/block/sdd (block)
  21. KERNEL[1294424231.092409] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/block/sdd/sdd1 (block)
  22. KERNEL[1294424231.092423] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/block/sdd/sdd2 (block)
  23. UDEV  [1294424231.241003] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/block/sdd (block)
  24. UDEV  [1294424231.444472] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/block/sdd/sdd1 (block)
  25. UDEV  [1294424231.615660] add      /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/block/sdd/sdd2 (block)


Montage du même disque, cette fois ci par la prise usb de son boitier:

Code :
  1. KERNEL[1294424285.907742] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2 (usb)
  2. KERNEL[1294424285.909257] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0 (usb)
  3. KERNEL[1294424285.909786] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9 (scsi)
  4. KERNEL[1294424285.909814] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/scsi_host/host9 (scsi_host)
  5. UDEV  [1294424285.912647] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2 (usb)
  6. UDEV  [1294424285.916108] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0 (usb)
  7. UDEV  [1294424285.916421] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9 (scsi)
  8. UDEV  [1294424285.916763] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/scsi_host/host9 (scsi_host)
  9. KERNEL[1294424286.916198] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0 (scsi)
  10. KERNEL[1294424286.916314] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0 (scsi)
  11. KERNEL[1294424286.916413] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/scsi_disk/9:0:0:0 (scsi_disk)
  12. UDEV  [1294424286.916750] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0 (scsi)
  13. KERNEL[1294424286.916861] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/scsi_device/9:0:0:0 (scsi_device)
  14. KERNEL[1294424286.916981] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/scsi_generic/sg5 (scsi_generic)
  15. KERNEL[1294424286.917086] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/bsg/9:0:0:0 (bsg)
  16. UDEV  [1294424286.918354] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0 (scsi)
  17. UDEV  [1294424286.919334] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/scsi_disk/9:0:0:0 (scsi_disk)
  18. UDEV  [1294424286.919823] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/scsi_device/9:0:0:0 (scsi_device)
  19. UDEV  [1294424286.919895] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/bsg/9:0:0:0 (bsg)
  20. UDEV  [1294424286.921082] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/scsi_generic/sg5 (scsi_generic)
  21. KERNEL[1294424286.922536] add      /devices/virtual/bdi/8:64 (bdi)
  22. UDEV  [1294424286.922733] add      /devices/virtual/bdi/8:64 (bdi)
  23. KERNEL[1294424287.028585] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde (block)
  24. KERNEL[1294424287.028616] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde/sde1 (block)
  25. KERNEL[1294424287.028631] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde/sde2 (block)
  26. KERNEL[1294424287.187361] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/bsg/1:0:0:0 (bsg)
  27. KERNEL[1294424287.187412] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/scsi_generic/sg4 (scsi_generic)
  28. KERNEL[1294424287.187425] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0 (scsi_device)
  29. KERNEL[1294424287.187436] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/scsi_disk/1:0:0:0 (scsi_disk)
  30. KERNEL[1294424287.187575] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/block/sdd/sdd2 (block)
  31. KERNEL[1294424287.187612] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/block/sdd/sdd1 (block)
  32. UDEV  [1294424287.188175] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/bsg/1:0:0:0 (bsg)
  33. UDEV  [1294424287.188727] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/scsi_generic/sg4 (scsi_generic)
  34. UDEV  [1294424287.188806] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/block/sdd/sdd2 (block)
  35. UDEV  [1294424287.188824] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0 (scsi_device)
  36. UDEV  [1294424287.189889] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/block/sdd/sdd1 (block)
  37. UDEV  [1294424287.190097] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/scsi_disk/1:0:0:0 (scsi_disk)
  38. KERNEL[1294424287.199388] remove   /devices/virtual/bdi/8:48 (bdi)
  39. KERNEL[1294424287.199419] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/block/sdd (block)
  40. UDEV  [1294424287.199860] remove   /devices/virtual/bdi/8:48 (bdi)
  41. KERNEL[1294424287.200125] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0 (scsi)
  42. UDEV  [1294424287.200182] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0/block/sdd (block)
  43. KERNEL[1294424287.200197] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0 (scsi)
  44. UDEV  [1294424287.200208] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0/1:0:0:0 (scsi)
  45. UDEV  [1294424287.200296] remove   /devices/pci0000:00/0000:00:09.0/host1/target1:0:0 (scsi)
  46. UDEV  [1294424287.259123] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde (block)
  47. UDEV  [1294424287.518844] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde/sde1 (block)
  48. UDEV  [1294424287.640807] add      /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde/sde2 (block)
  49. KERNEL[1294424308.129817] add      /devices/virtual/bdi/8:66-fuseblk (bdi)
  50. UDEV  [1294424308.130399] add      /devices/virtual/bdi/8:66-fuseblk (bdi)
  51. KERNEL[1294424333.574338] change   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde/sde2 (block)
  52. KERNEL[1294424333.584221] remove   /devices/virtual/bdi/8:66-fuseblk (bdi)
  53. UDEV  [1294424333.584250] remove   /devices/virtual/bdi/8:66-fuseblk (bdi)
  54. UDEV  [1294424333.933246] change   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde/sde2 (block)
  55. KERNEL[1294424344.854746] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/bsg/9:0:0:0 (bsg)
  56. KERNEL[1294424344.854783] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/scsi_generic/sg5 (scsi_generic)
  57. KERNEL[1294424344.854796] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/scsi_device/9:0:0:0 (scsi_device)
  58. KERNEL[1294424344.854807] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/scsi_disk/9:0:0:0 (scsi_disk)
  59. KERNEL[1294424344.855821] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde/sde2 (block)
  60. UDEV  [1294424344.855844] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/bsg/9:0:0:0 (bsg)
  61. KERNEL[1294424344.855859] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde/sde1 (block)
  62. UDEV  [1294424344.855873] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/scsi_generic/sg5 (scsi_generic)
  63. UDEV  [1294424344.856141] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/scsi_device/9:0:0:0 (scsi_device)
  64. UDEV  [1294424344.856156] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/scsi_disk/9:0:0:0 (scsi_disk)
  65. UDEV  [1294424344.858348] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde/sde1 (block)
  66. UDEV  [1294424344.858783] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde/sde2 (block)
  67. KERNEL[1294424344.859850] remove   /devices/virtual/bdi/8:64 (bdi)
  68. UDEV  [1294424344.859866] remove   /devices/virtual/bdi/8:64 (bdi)
  69. KERNEL[1294424344.859882] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde (block)
  70. UDEV  [1294424344.859892] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/scsi_host/host9 (scsi_host)
  71. KERNEL[1294424344.859904] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0 (scsi)
  72. KERNEL[1294424344.859915] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0 (scsi)
  73. KERNEL[1294424344.859925] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/scsi_host/host9 (scsi_host)
  74. KERNEL[1294424344.859936] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9 (scsi)
  75. KERNEL[1294424344.860128] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0 (usb)
  76. KERNEL[1294424344.860146] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2 (usb)
  77. UDEV  [1294424344.862095] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sde (block)
  78. UDEV  [1294424344.862120] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0 (scsi)
  79. UDEV  [1294424344.862132] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9/target9:0:0 (scsi)
  80. UDEV  [1294424344.862143] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host9 (scsi)
  81. UDEV  [1294424344.862625] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0 (usb)
  82. UDEV  [1294424344.862652] remove   /devices/pci0000:00/0000:00:02.1/usb1/1-2 (usb)


 
Dans /var/log/syslog:
En sata:

Code :
  1. Jan  7 19:25:59 thanux kernel: [ 7417.890101] ata2: exception Emask 0x10 SAct 0x0 SErr 0x5840000 action 0xe frozen
  2. Jan  7 19:25:59 thanux kernel: [ 7417.890105] ata2: irq_stat 0x00000040, connection status changed
  3. Jan  7 19:25:59 thanux kernel: [ 7417.890109] ata2: SError: { CommWake LinkSeq TrStaTrns DevExch }
  4. Jan  7 19:25:59 thanux kernel: [ 7417.890117] ata2: hard resetting link
  5. Jan  7 19:26:04 thanux kernel: [ 7423.652050] ata2: link is slow to respond, please be patient (ready=0)
  6. Jan  7 19:26:09 thanux kernel: [ 7427.908026] ata2: COMRESET failed (errno=-16)
  7. Jan  7 19:26:09 thanux kernel: [ 7427.908033] ata2: hard resetting link
  8. Jan  7 19:26:12 thanux kernel: [ 7431.656058] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
  9. Jan  7 19:26:12 thanux kernel: [ 7431.657444] ata2.00: ATA-8: ST9320320AS, SD03, max UDMA/133
  10. Jan  7 19:26:12 thanux kernel: [ 7431.657448] ata2.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 31/32)
  11. Jan  7 19:26:12 thanux kernel: [ 7431.658896] ata2.00: configured for UDMA/133
  12. Jan  7 19:26:12 thanux kernel: [ 7431.658907] ata2: EH complete
  13. Jan  7 19:26:12 thanux kernel: [ 7431.659009] scsi 1:0:0:0: Direct-Access     ATA      ST9320320AS      SD03 PQ: 0 ANSI: 5
  14. Jan  7 19:26:12 thanux kernel: [ 7431.659261] sd 1:0:0:0: Attached scsi generic sg4 type 0
  15. Jan  7 19:26:12 thanux kernel: [ 7431.659334] sd 1:0:0:0: [sdd] 625142448 512-byte logical blocks: (320 GB/298 GiB)
  16. Jan  7 19:26:12 thanux kernel: [ 7431.659404] sd 1:0:0:0: [sdd] Write Protect is off
  17. Jan  7 19:26:12 thanux kernel: [ 7431.659425] sd 1:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  18. Jan  7 19:26:12 thanux kernel: [ 7431.748094]  sdd: sdd1 sdd2
  19. Jan  7 19:26:12 thanux kernel: [ 7431.748402] sd 1:0:0:0: [sdd] Attached SCSI disk


En usb:

Code :
  1. Jan  7 19:18:05 thanux kernel: [ 6944.548031] usb 1-2: new high speed USB device using ehci_hcd and address 2
  2. Jan  7 19:18:05 thanux kernel: [ 6944.684362] usb 1-2: New USB device found, idVendor=04fc, idProduct=0c25
  3. Jan  7 19:18:05 thanux kernel: [ 6944.684367] usb 1-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
  4. Jan  7 19:18:05 thanux kernel: [ 6944.684371] usb 1-2: Product: USB to Serial-ATA bridge
  5. Jan  7 19:18:05 thanux kernel: [ 6944.684373] usb 1-2: Manufacturer: Sunplus Technology Inc.
  6. Jan  7 19:18:05 thanux kernel: [ 6944.684375] usb 1-2: SerialNumber: ST9320320A            5SX0SW48
  7. Jan  7 19:18:05 thanux kernel: [ 6944.686721] scsi9 : usb-storage 1-2:1.0
  8. Jan  7 19:18:06 thanux kernel: [ 6945.644058] ata2: hard resetting link
  9. Jan  7 19:18:06 thanux kernel: [ 6945.692765] scsi 9:0:0:0: Direct-Access     ST932032 0AS                   PQ: 0 ANSI: 2
  10. Jan  7 19:18:06 thanux kernel: [ 6945.694021] sd 9:0:0:0: Attached scsi generic sg5 type 0
  11. Jan  7 19:18:06 thanux kernel: [ 6945.694600] sd 9:0:0:0: [sde] 625142448 512-byte logical blocks: (320 GB/298 GiB)
  12. Jan  7 19:18:06 thanux kernel: [ 6945.699113] sd 9:0:0:0: [sde] Write Protect is off
  13. Jan  7 19:18:06 thanux kernel: [ 6945.699121] sd 9:0:0:0: [sde] Assuming drive cache: write through
  14. Jan  7 19:18:06 thanux kernel: [ 6945.704124] sd 9:0:0:0: [sde] Assuming drive cache: write through
  15. Jan  7 19:18:07 thanux kernel: [ 6945.805274]  sde: sde1 sde2
  16. Jan  7 19:18:07 thanux kernel: [ 6945.810115] sd 9:0:0:0: [sde] Assuming drive cache: write through
  17. Jan  7 19:18:07 thanux kernel: [ 6945.810121] sd 9:0:0:0: [sde] Attached SCSI disk
  18. Jan  7 19:18:07 thanux kernel: [ 6945.964051] ata2: SATA link down (SStatus 0 SControl 310)
  19. Jan  7 19:18:07 thanux kernel: [ 6945.964061] ata2.00: disabled
  20. Jan  7 19:18:07 thanux kernel: [ 6945.964082] ata2: EH complete
  21. Jan  7 19:18:07 thanux kernel: [ 6945.964101] ata2.00: detaching (SCSI 1:0:0:0)
  22. Jan  7 19:18:07 thanux kernel: [ 6945.976317] sd 1:0:0:0: [sdd] Synchronizing SCSI cache
  23. Jan  7 19:18:07 thanux kernel: [ 6945.976888] sd 1:0:0:0: [sdd]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  24. Jan  7 19:18:07 thanux kernel: [ 6945.976893] sd 1:0:0:0: [sdd] Stopping disk
  25. Jan  7 19:18:07 thanux kernel: [ 6945.976900] sd 1:0:0:0: [sdd] START_STOP FAILED
  26. Jan  7 19:18:07 thanux kernel: [ 6945.976902] sd 1:0:0:0: [sdd]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  27. Jan  7 19:18:28 thanux ntfs-3g[4040]: Version 2010.3.6 integrated FUSE 27
  28. Jan  7 19:18:28 thanux ntfs-3g[4040]: Mounted /dev/sde2 (Read-Write, label "thanux", NTFS 3.1)
  29. Jan  7 19:18:28 thanux ntfs-3g[4040]: Cmdline options: rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177
  30. Jan  7 19:18:28 thanux ntfs-3g[4040]: Mount options: rw,nosuid,nodev,uhelper=udisks,silent,allow_other,nonempty,relatime,fsname=/dev/sde2,blkdev,blksize=4096,default_permissions
  31. Jan  7 19:18:28 thanux ntfs-3g[4040]: Global ownership and permissions enforced, configuration type 1
  32. Jan  7 19:18:53 thanux ntfs-3g[4040]: Unmounting /dev/sde2 (thanux)
  33. Jan  7 19:19:04 thanux kernel: [ 7003.631544] usb 1-2: USB disconnect, address 2


 
Le montage automatique par udev ne pose pas de problème avec une règle du type https://wiki.archlinux.org/index.ph [...] 3B_ntfs-3g

Code :
  1. Jan  7 19:33:37 thanux ntfs-3g[4457]: Version 2010.3.6 integrated FUSE 27
  2. Jan  7 19:33:37 thanux ntfs-3g[4457]: Mounted /dev/sdd2 (Read-Write, label "thanux", NTFS 3.1)
  3. Jan  7 19:33:37 thanux ntfs-3g[4457]: Cmdline options: rw,relatime,gid=100,dmask=000,fmask=111,utf8
  4. Jan  7 19:33:37 thanux ntfs-3g[4457]: Mount options: rw,utf8,silent,allow_other,nonempty,relatime,fsname=/dev/sdd2,blkdev,blksize=4096,default_permissions
  5. Jan  7 19:33:37 thanux ntfs-3g[4457]: Global ownership and permissions enforced, configuration type 1
  6. Jan  7 19:33:37 thanux ntfs-3g[4457]: Warning : using problematic uid==0 and gid!=0


Mais dans ce cas, pcmanfm ne voit pas le disque comme monté, et impossible donc de le démonter graphiquement.
 
Après reboot, le disque est bien monté automatiquement par udev (le disque n'est pas présent dans fstab) et pcmanfm m'affiche l'icône pour le démonter, mais je n'ai pas les droits

Code :
  1. /dev/sdb2 on /media/thanux type fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)


Code :
  1. id
  2. uid=1000(thana) gid=1000(thana) groupes=1000(thana),4(adm),6(disk),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),44(video),46(plugdev),113(netdev),116(powerdev)


 
Il n'y a pas de règles udev faisant mention de "ntfs" (hors partitions de réstaurations que je n'ai pas), je ne sais pas d'où vient cet udser_id=0.
J'ai installé gvfs-fuse recommandé par pcmanfm, je me suis ajouté au groupe fuse. Aucune amélioration.
 
 Je tourne un peu en rond  [:cerveau fang fung]

Reply

Marsh Posté le 07-01-2011 à 20:09:24   

Reply

Marsh Posté le 08-01-2011 à 08:27:01    

Allumage du pc ce matin, avec un joli fsck died error 8. La règle udev est exécutée avant fsck et me monte un disque présent de fstab :/

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed