Je viens d'arriver

j’ai essayé la commande suivante :

`

pi@raspberrypi:/var/log $ cat messages | grep « Jan 6 13:40 » | grep -iE « WARN » | less

`

Jan  6 13:40:09 raspberrypi kernel: [    0.900662] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = ded34000 dma = 0x00000000ded34000 len=9024
Jan  6 13:40:09 raspberrypi kernel: [    0.905375] WARN::hcd_init_fiq:457: FIQ on core 1
Jan  6 13:40:09 raspberrypi kernel: [    0.906034] WARN::hcd_init_fiq:458: FIQ ASM at c07b6224 length 36
Jan  6 13:40:09 raspberrypi kernel: [    0.906685] WARN::hcd_init_fiq:497: MPHI regs_base at f0810200
Jan  6 13:40:09 raspberrypi kernel: [    4.145290] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
Jan  6 13:40:09 raspberrypi kernel: [    4.187981] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
Jan  6 13:40:09 raspberrypi kernel: [    4.229343] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan  6 13:40:09 raspberrypi kernel: [    4.231377] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan  6 13:40:09 raspberrypi kernel: [    4.239471] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
Jan  6 13:40:09 raspberrypi kernel: [    4.268848] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
Jan  6 13:40:09 raspberrypi kernel: [    7.282122] random: 7 urandom warning(s) missed due to ratelimiting

je pensais avoir trouvé les bonnes lignes mais je m’y perds et , que ce soit les rapports de

  • 13 h 40
  • 14 h 29
  • 14 h 58
  • 15 h 12
    tous sont à peu près identiques . en tout cas pour le « warn »

je n’arrive pas à trouver les erreurs de démarrage .
je dois chercher dans le mauvais journal .
et dmesg ne semble me donner que les lignes courantes .
pas les démarrages passés .

syslog ne m’arrange pas plus .

je suis perdu . je ne trouve pas les logs des démarrages passés .

j’aurai bien aimé pourtant , retrouver les « failed » pour montrer mes problèmes
et aider au dépannage , mais , apparemment , c’est impossible .

quand tu as démarré ton Rpi avec le SSD le system a du logger sur ce disque. Donc tu devrais trouver une trace ds le /var/log/messages de ce disque.
Sinon ça voudrais dire que pour une raison a determiner il n’y a pas accéder !
d ou la question : y a t il une trace de log sur ton SSD ?

arf ! , tu as raison , bof . je cherchais les logs du ssd sur la carte mémoire .
faut y pas être bête !

voilà ce que je cherchais (je n’ai mis que les « failed » du boot.log) :

pi@raspberrypi:/media/pi/RPI_4/var/log $ sudo cat boot.log | grep FAILED
[FAILED] Failed to start Configure Bluetooth Modems connected by UART.
[FAILED] Failed to start WPA supplicant.
[FAILED] Failed to start Disk Manager.
[FAILED] Failed to start System Logging Service.
[FAILED] Failed to start Login Service.
[FAILED] Failed to start triggerhappy global hotkey daemon.
[FAILED] Failed to start dhcpcd on all interfaces.
[FAILED] Failed to start Avahi mDNS/DNS-SD Stack.
[FAILED] Failed to start Login Service.
[FAILED] Failed to start System Logging Service.
[FAILED] Failed to start OpenBSD Secure Shell server.
[FAILED] Failed to start Light Display Manager.
[FAILED] Failed to start Light Display Manager.

si çà peut aider au dépannage parce que , là , moi , j’y pige que couic !

j’ai énormément de lignes comme celles - ci :

`

pi@raspberrypi:/media/pi/RPI_4/var/log $ cat syslog | grep sda | less

`

Jan  6 11:17:02 raspberrypi kernel: [   38.891558] sd 0:0:0:0: [sda] tag#13 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN 
Jan  6 11:17:02 raspberrypi kernel: [   38.891568] sd 0:0:0:0: [sda] tag#13 CDB: opcode=0x28 28 00 00 08 20 60 00 00 80 00
Jan  6 11:17:02 raspberrypi kernel: [   38.891708] sd 0:0:0:0: [sda] tag#12 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN 
Jan  6 11:17:02 raspberrypi kernel: [   38.891714] sd 0:0:0:0: [sda] tag#12 CDB: opcode=0x28 28 00 00 08 20 e0 00 01 00 00
Jan  6 11:19:24 raspberrypi kernel: [  181.615574] sd 0:0:0:0: [sda] tag#19 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD IN 
Jan  6 11:19:24 raspberrypi kernel: [  181.615593] sd 0:0:0:0: [sda] tag#19 CDB: opcode=0x28 28 00 00 08 20 60 00 00 80 00
Jan  6 11:19:24 raspberrypi kernel: [  181.615837] sd 0:0:0:0: [sda] tag#18 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN 
Jan  6 11:19:24 raspberrypi kernel: [  181.615850] sd 0:0:0:0: [sda] tag#18 CDB: opcode=0x28 28 00 00 08 20 20 00 00 40 00
Jan  6 11:19:24 raspberrypi kernel: [  181.616224] sd 0:0:0:0: [sda] tag#10 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN 
Jan  6 11:19:24 raspberrypi kernel: [  181.616236] sd 0:0:0:0: [sda] tag#10 CDB: opcode=0x28 28 00 00 08 20 10 00 00 08 00
Jan  6 11:19:24 raspberrypi kernel: [  181.616599] sd 0:0:0:0: [sda] tag#1 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD IN 
Jan  6 11:19:24 raspberrypi kernel: [  181.616611] sd 0:0:0:0: [sda] tag#1 CDB: opcode=0x28 28 00 37 e4 36 00 00 00 08 00
Jan  6 11:19:56 raspberrypi kernel: [  212.975891] sd 0:0:0:0: [sda] tag#27 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN 
Jan  6 11:19:56 raspberrypi kernel: [  212.975910] sd 0:0:0:0: [sda] tag#27 CDB: opcode=0x28 28 00 00 08 20 e0 00 01 00 00
Jan  6 11:19:56 raspberrypi kernel: [  212.976193] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN 
Jan  6 11:19:56 raspberrypi kernel: [  212.976206] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 08 21 e0 00 01 00 00
Jan  6 11:20:42 raspberrypi kernel: [  258.933329] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
Jan  6 11:23:52 raspberrypi kernel: [  448.968656]  sda: sda1 sda2
Jan  6 11:24:22 raspberrypi kernel: [  479.220584] sd 0:0:0:0: [sda] tag#20 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN 
Jan  6 11:24:22 raspberrypi kernel: [  479.220603] sd 0:0:0:0: [sda] tag#20 CDB: opcode=0x28 28 00 00 08 20 60 00 00 80 00
Jan  6 11:24:22 raspberrypi kernel: [  479.220915] sd 0:0:0:0: [sda] tag#19 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN 
Jan  6 11:24:22 raspberrypi kernel: [  479.220928] sd 0:0:0:0: [sda] tag#19 CDB: opcode=0x28 28 00 00 08 20 e0 00 01 00 00
Jan  6 11:24:41 raspberrypi kernel: [  497.780776] sd 0:0:0:0: [sda] tag#18 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT 
Jan  6 11:24:41 raspberrypi kernel: [  497.780795] sd 0:0:0:0: [sda] tag#18 CDB: opcode=0x2a 2a 00 00 00 00 00 00 00 08 00
Jan  6 11:25:12 raspberrypi kernel: [  529.141399] sd 0:0:0:0: [sda] tag#20 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN 
Jan  6 11:25:12 raspberrypi kernel: [  529.141417] sd 0:0:0:0: [sda] tag#20 CDB: opcode=0x28 28 00 00 08 21 e0 00 01 00 00
Jan  6 11:25:12 raspberrypi kernel: [  529.141709] sd 0:0:0:0: [sda] tag#19 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN 
Jan  6 11:25:12 raspberrypi kernel: [  529.141722] sd 0:0:0:0: [sda] tag#19 CDB: opcode=0x28 28 00 00 08 20 e0 00 01 00 00
Jan  6 11:26:53 raspberrypi kernel: [  629.967454] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Jan  6 11:26:53 raspberrypi kernel: [  630.564463] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x07 driverbyte=0x00
Jan  6 11:27:08 raspberrypi kernel: [  645.001545] sd 0:0:0:0: [sda] 937703088 512-byte logical blocks: (480 GB/447 GiB)
Jan  6 11:27:08 raspberrypi kernel: [  645.001559] sd 0:0:0:0: [sda] 4096-byte physical blocks
Jan  6 11:27:08 raspberrypi kernel: [  645.001918] sd 0:0:0:0: [sda] Write Protect is off
Jan  6 11:27:08 raspberrypi kernel: [  645.001932] sd 0:0:0:0: [sda] Mode Sense: 53 00 00 08
Jan  6 11:27:08 raspberrypi kernel: [  645.002547] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan  6 11:27:08 raspberrypi kernel: [  645.003542] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
Jan  6 11:27:08 raspberrypi kernel: [  645.010737]  sda:
Jan  6 11:27:08 raspberrypi kernel: [  645.014417] sd 0:0:0:0: [sda] Attached SCSI disk
Jan  6 11:27:55 raspberrypi kernel: [  691.867184]  sda:
Jan  6 11:29:42 raspberrypi kernel: [  799.300925]  sda: sda1 sda2

après lecture du post suivant connection-problem-with-usb3-external-storage-on-linux-uas-driver-problem

je lance un :

pi@raspberrypi:~ $ sudo umount /dev/sda2
pi@raspberrypi:~ $ sudo e2fsck -c /dev/sda2

pas cool !
ds le premier il nous dit clairement qui ne peut pas démarrer les différents services
ds le deuxième, beaucoup moins clair, il semble dire que l’accès au disque SSD lui pose des problèmes !!!
ce qui est bizarre c’est qu il y écrit quant même sinon ( on aurait pas de log ) mais qu’apparemment il arrive pas à le lire …

si tu as un autre PC linux sous la main tu devrais regarder ce qui te dit dans le syslog de cette autre machine quand tu montes le SSD dessus; si c’est pareil et que tu accèdes à ton disque c’est pas grave sinon ça pourrais signifier que le raspberry « digère » pas le SSD…

tu devrais regarder sur le web s il n’y a pas des cas de dysfonctionnement sur le raspberry avec certain SSD

bonne idée le fsck !

petites infos préliminaires au dépannage :

pi@raspberrypi:~ $ lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 152d:1576 JMicron Technology Corp. / JMicron USA Technology Corp. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04d9:0006 Holtek Semiconductor, Inc. 
Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@raspberrypi:~ $ sudo lsusb -v  -d 152d:1576

Bus 002 Device 002: ID 152d:1576 JMicron Technology Corp. / JMicron USA Technology Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         9
  idVendor           0x152d JMicron Technology Corp. / JMicron USA Technology Corp.
  idProduct          0x1576 
  bcdDevice            2.04
  iManufacturer           1 JMicron
  iProduct                2 JMS579
  iSerial                 3 987654321029
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0079
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              896mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           4
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     98 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               0
        Command pipe (0x01)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               0
        MaxStreams             32
        Status pipe (0x02)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
        MaxStreams             32
        Data-in pipe (0x03)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               7
        MaxStreams             32
        Data-out pipe (0x04)
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x0016
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000f0e
      BESL Link Power Management (LPM) Supported
    BESL value     3840 us 
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat          32 micro seconds
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x000c
  (Bus Powered)
  U1 Enabled
  U2 Enabled
pi@raspberrypi:~ $ sudo fdisk -l /dev/sda
Disk /dev/sda: 447,1 GiB, 480103981056 bytes, 937703088 sectors
Disk model: M.2 480         
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xa0651de2

Device     Boot  Start       End   Sectors   Size Id Type
/dev/sda1         8192    532479    524288   256M  c W95 FAT32 (LBA)
/dev/sda2       532480 937703087 937170608 446,9G 83 Linux

mes recherches m’ont amenées là :
raspi 4 et USB 3.0

connection-problem-with-usb3-external-storage-on-linux-uas-driver-problem

pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux

fsck en cours

pi@raspberrypi:~ $ sudo e2fsck -c /dev/sda2
e2fsck 1.44.5 (15-Dec-2018)
Checking for bad blocks (read-only test): done                                                 
RPI_4: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

RPI_4: ***** FILE SYSTEM WAS MODIFIED *****
RPI_4: 173318/29294592 files (0.1% non-contiguous), 3638641/117146326 blocks

je teste le disque sur mon pc :

sudo fdisk -l 
Disque /dev/sdg : 447,13 GiB, 480103981056 octets, 937703088 secteurs
Modèle de disque : M.2 480         
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets
Type d'étiquette de disque : dos
Identifiant de disque : 0xa0651de2

Périphérique Amorçage  Début       Fin  Secteurs Taille Id Type
/dev/sdg1               8192    532479    524288   256M  c W95 FAT32 (LBA)
/dev/sdg2             532480 937703087 937170608 446,9G 83 Linux
alain@Alain-PC:~$ sudo cat /var/log/syslog | grep sdg | less

Jan  6 18:56:51 Alain-PC kernel: [29448.826860] sd 12:0:0:0: [sdg] 937703088 512-byte logical blocks: (480 GB/447 GiB)
Jan  6 18:56:51 Alain-PC kernel: [29448.826863] sd 12:0:0:0: [sdg] 4096-byte physical blocks
Jan  6 18:56:51 Alain-PC kernel: [29448.827010] sd 12:0:0:0: [sdg] Write Protect is off
Jan  6 18:56:51 Alain-PC kernel: [29448.827014] sd 12:0:0:0: [sdg] Mode Sense: 5f 00 00 08
Jan  6 18:56:51 Alain-PC kernel: [29448.827353] sd 12:0:0:0: [sdg] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan  6 18:56:51 Alain-PC kernel: [29448.827590] sd 12:0:0:0: [sdg] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
Jan  6 18:56:51 Alain-PC kernel: [29448.829119]  sdg: sdg1 sdg2
Jan  6 18:56:51 Alain-PC kernel: [29448.830692] sd 12:0:0:0: [sdg] Attached SCSI disk
Jan  6 18:56:51 Alain-PC kernel: [29449.063490] FAT-fs (sdg1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jan  6 18:56:51 Alain-PC kernel: [29449.068652] EXT4-fs (sdg2): mounted filesystem with ordered data mode. Opts: (null)
Jan  6 18:56:51 Alain-PC udisksd[1407]: Mounted /dev/sdg1 at /media/alain/CD24-CB7B on behalf of uid 1000
Jan  6 18:56:51 Alain-PC udisksd[1407]: Mounted /dev/sdg2 at /media/alain/RPI_4 on behalf of uid 1000

pas de bol :
`

FAT-fs (sdg1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

`
je fais un fsck sur mon pc ?
je risque pas de faire plus de casse q’autre chose ?
apparemment , sda1 est corrompu (sdg1 sur le pc) . je me trompe ?

sudo fsck.vfat /dev/sdg1
je peux ?

    $ echo options usb-storage quirks=152d:1576:u | sudo tee /etc/modprobe.d/blacklist_uas_152d.conf
    $ sudo update-initramfs -u

j’y vais ?

çà y est j’ai réussi !

premier démarrage avec boot sur la carte sd et rootfs sur le ssd en mme pas 30 secondes !

pi@raspberrypi:~ $ df -h
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/root          439G    5,9G  411G   2% /
devtmpfs           1,8G       0  1,8G   0% /dev
tmpfs              2,0G       0  2,0G   0% /dev/shm
tmpfs              2,0G    8,6M  1,9G   1% /run
tmpfs              5,0M    4,0K  5,0M   1% /run/lock
tmpfs              2,0G       0  2,0G   0% /sys/fs/cgroup
/dev/mmcblk0p1     253M     52M  201M  21% /boot
tmpfs              391M       0  391M   0% /run/user/1000

re test , avec un reboot en cli , on va voir ???
ok
test sur l’écran tactile avec la souris : ???
parfait !

impeccable !

le forum : merci pour votre patience et tout particulièrement à bof pour son soutien .

comment clôturer le fil ?

en guise de clôture , voici quelques unes des dernières lignes de « kern.log »

cat kern.log | grep "Jan  6" | grep -iE "usb 2-2|sda" | less

Jan  6 21:54:07 raspberrypi kernel: [    2.541999] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
Jan  6 21:54:07 raspberrypi kernel: [    2.573270] usb 2-2: New USB device found, idVendor=152d, idProduct=1576, bcdDevice= 2.04
Jan  6 21:54:07 raspberrypi kernel: [    2.574183] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan  6 21:54:07 raspberrypi kernel: [    2.575094] usb 2-2: Product: JMS579
Jan  6 21:54:07 raspberrypi kernel: [    2.575971] usb 2-2: Manufacturer: JMicron
Jan  6 21:54:07 raspberrypi kernel: [    2.576820] usb 2-2: SerialNumber: 987654321029
Jan  6 21:54:07 raspberrypi kernel: [    2.580875] usb 2-2: UAS is blacklisted for this device, using usb-storage instead
Jan  6 21:54:07 raspberrypi kernel: [    2.581825] usb 2-2: UAS is blacklisted for this device, using usb-storage instead
Jan  6 21:54:07 raspberrypi kernel: [    3.594139] sd 0:0:0:0: [sda] 937703088 512-byte logical blocks: (480 GB/447 GiB)
Jan  6 21:54:07 raspberrypi kernel: [    3.595928] sd 0:0:0:0: [sda] Write Protect is off
Jan  6 21:54:07 raspberrypi kernel: [    3.596787] sd 0:0:0:0: [sda] Mode Sense: 47 00 00 08
Jan  6 21:54:07 raspberrypi kernel: [    3.597525] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan  6 21:54:07 raspberrypi kernel: [    3.602090]  sda: sda1 sda2
Jan  6 21:54:07 raspberrypi kernel: [    3.606125] sd 0:0:0:0: [sda] Attached SCSI disk
Jan  6 21:54:07 raspberrypi kernel: [    3.741239] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
Jan  6 21:54:07 raspberrypi kernel: [    6.080249] EXT4-fs (sda2): re-mounted. Opts: (null)

Bien joué en fait si j’ai bien compris c’est le kernel qui digérait pas correctement le controleur JMicron USB->ATA de ton disque SSD et en le faisant passer pour une clé usb ça fonctionne !
trop fort :wink:

USB Attached SCSI — Wikipédia

Bien joué en fait si j’ai bien compris c’est le kernel qui digérait pas correctement le controleur JMicron USB->ATA de ton disque SSD

oui , tout à fait .

et en le faisant passer pour une clé usb ça fonctionne !

sais pas , j’ai pas tout compris .

ce que je sais , c’est que le protocole « uas » ,
censé accélérer les échanges entre la mémoire de masse et le raspî 4 (usb 3.0) ,
à tendance à ne pas fonctionner fréquemment .

problème connu par raspi mais pas encore résolu .
beaucoup de périphériques sont dans ce cas (apparemment) .

certains cherchent d’ailleurs , actuellement , à se créer une collection
des périphériques compatibles et non-compatibles avec le pi4 .
a fins d’information au grand public .

une partie des logs d’origine (avant l’opération) :

pi@raspberrypi:/var/log $ cat kern.log | grep « Jan 6 11: » | grep -iE « usb 2-2|sda » | less

Jan  6 11:39:49 raspberrypi kernel: [    2.081891] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
Jan  6 11:39:49 raspberrypi kernel: [    2.113198] usb 2-2: New USB device found, idVendor=152d, idProduct=1576, bcdDevice= 2.04
Jan  6 11:39:49 raspberrypi kernel: [    2.113992] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan  6 11:39:49 raspberrypi kernel: [    2.114780] usb 2-2: Product: JMS579
Jan  6 11:39:49 raspberrypi kernel: [    2.115549] usb 2-2: Manufacturer: JMicron
Jan  6 11:39:49 raspberrypi kernel: [    2.116297] usb 2-2: SerialNumber: 987654321029
Jan  6 11:39:49 raspberrypi kernel: [    2.142183] sd 0:0:0:0: [sda] 937703088 512-byte logical blocks: (480 GB/447 GiB)
Jan  6 11:39:49 raspberrypi kernel: [    2.142990] sd 0:0:0:0: [sda] 4096-byte physical blocks
Jan  6 11:39:49 raspberrypi kernel: [    2.144045] sd 0:0:0:0: [sda] Write Protect is off
Jan  6 11:39:49 raspberrypi kernel: [    2.144804] sd 0:0:0:0: [sda] Mode Sense: 53 00 00 08
Jan  6 11:39:49 raspberrypi kernel: [    2.145341] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan  6 11:39:49 raspberrypi kernel: [    2.147738] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
Jan  6 11:39:49 raspberrypi kernel: [    2.152467]  sda: sda1 sda2
Jan  6 11:39:49 raspberrypi kernel: [    2.156574] sd 0:0:0:0: [sda] Attached SCSI disk
Jan  6 11:39:49 raspberrypi kernel: [    2.261557] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
Jan  6 11:39:49 raspberrypi kernel: [   33.771580] sd 0:0:0:0: [sda] tag#28 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.772306] sd 0:0:0:0: [sda] tag#28 CDB: opcode=0x28 28 00 26 88 23 50 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.773217] sd 0:0:0:0: [sda] tag#27 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.773916] sd 0:0:0:0: [sda] tag#27 CDB: opcode=0x28 28 00 0d 90 d1 70 00 00 20 00
Jan  6 11:39:49 raspberrypi kernel: [   33.774806] sd 0:0:0:0: [sda] tag#26 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.775521] sd 0:0:0:0: [sda] tag#26 CDB: opcode=0x28 28 00 26 88 23 48 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.776385] sd 0:0:0:0: [sda] tag#25 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.777111] sd 0:0:0:0: [sda] tag#25 CDB: opcode=0x28 28 00 26 88 23 40 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.777979] sd 0:0:0:0: [sda] tag#24 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.778701] sd 0:0:0:0: [sda] tag#24 CDB: opcode=0x28 28 00 26 88 23 38 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.779546] sd 0:0:0:0: [sda] tag#23 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.780285] sd 0:0:0:0: [sda] tag#23 CDB: opcode=0x28 28 00 26 88 23 30 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.781131] sd 0:0:0:0: [sda] tag#22 uas_eh_abort_handler 0 uas-tag 29 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.781866] sd 0:0:0:0: [sda] tag#22 CDB: opcode=0x28 28 00 26 88 24 00 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.782802] sd 0:0:0:0: [sda] tag#21 uas_eh_abort_handler 0 uas-tag 28 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.783560] sd 0:0:0:0: [sda] tag#21 CDB: opcode=0x28 28 00 26 88 23 f8 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.784415] sd 0:0:0:0: [sda] tag#20 uas_eh_abort_handler 0 uas-tag 27 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.785149] sd 0:0:0:0: [sda] tag#20 CDB: opcode=0x28 28 00 26 88 23 f0 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.786004] sd 0:0:0:0: [sda] tag#19 uas_eh_abort_handler 0 uas-tag 26 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.786731] sd 0:0:0:0: [sda] tag#19 CDB: opcode=0x28 28 00 26 88 23 e8 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.787591] sd 0:0:0:0: [sda] tag#18 uas_eh_abort_handler 0 uas-tag 25 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.788317] sd 0:0:0:0: [sda] tag#18 CDB: opcode=0x28 28 00 26 88 23 e0 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.789131] sd 0:0:0:0: [sda] tag#17 uas_eh_abort_handler 0 uas-tag 24 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.789860] sd 0:0:0:0: [sda] tag#17 CDB: opcode=0x28 28 00 26 88 23 d8 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.790722] sd 0:0:0:0: [sda] tag#16 uas_eh_abort_handler 0 uas-tag 23 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.791432] sd 0:0:0:0: [sda] tag#16 CDB: opcode=0x28 28 00 26 88 23 d0 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.792281] sd 0:0:0:0: [sda] tag#15 uas_eh_abort_handler 0 uas-tag 22 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.792992] sd 0:0:0:0: [sda] tag#15 CDB: opcode=0x28 28 00 26 88 23 c8 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.793843] sd 0:0:0:0: [sda] tag#14 uas_eh_abort_handler 0 uas-tag 21 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.794554] sd 0:0:0:0: [sda] tag#14 CDB: opcode=0x28 28 00 26 88 23 c0 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.795382] sd 0:0:0:0: [sda] tag#13 uas_eh_abort_handler 0 uas-tag 20 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.796095] sd 0:0:0:0: [sda] tag#13 CDB: opcode=0x28 28 00 26 88 23 b8 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.796915] sd 0:0:0:0: [sda] tag#12 uas_eh_abort_handler 0 uas-tag 19 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.797629] sd 0:0:0:0: [sda] tag#12 CDB: opcode=0x28 28 00 26 88 23 b0 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.798488] sd 0:0:0:0: [sda] tag#11 uas_eh_abort_handler 0 uas-tag 18 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.799203] sd 0:0:0:0: [sda] tag#11 CDB: opcode=0x28 28 00 26 88 23 a0 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.800022] sd 0:0:0:0: [sda] tag#10 uas_eh_abort_handler 0 uas-tag 17 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.800738] sd 0:0:0:0: [sda] tag#10 CDB: opcode=0x28 28 00 26 88 23 98 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.801594] sd 0:0:0:0: [sda] tag#9 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.802310] sd 0:0:0:0: [sda] tag#9 CDB: opcode=0x28 28 00 26 88 23 28 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.803134] sd 0:0:0:0: [sda] tag#8 uas_eh_abort_handler 0 uas-tag 16 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.803848] sd 0:0:0:0: [sda] tag#8 CDB: opcode=0x28 28 00 26 88 23 90 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.804669] sd 0:0:0:0: [sda] tag#7 uas_eh_abort_handler 0 uas-tag 15 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.805382] sd 0:0:0:0: [sda] tag#7 CDB: opcode=0x28 28 00 26 88 23 88 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.806210] sd 0:0:0:0: [sda] tag#6 uas_eh_abort_handler 0 uas-tag 14 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.806924] sd 0:0:0:0: [sda] tag#6 CDB: opcode=0x28 28 00 26 88 23 80 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.807786] sd 0:0:0:0: [sda] tag#5 uas_eh_abort_handler 0 uas-tag 13 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.808499] sd 0:0:0:0: [sda] tag#5 CDB: opcode=0x28 28 00 26 88 23 78 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.809323] sd 0:0:0:0: [sda] tag#4 uas_eh_abort_handler 0 uas-tag 12 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.810037] sd 0:0:0:0: [sda] tag#4 CDB: opcode=0x28 28 00 26 88 23 70 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.810898] sd 0:0:0:0: [sda] tag#3 uas_eh_abort_handler 0 uas-tag 11 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.811612] sd 0:0:0:0: [sda] tag#3 CDB: opcode=0x28 28 00 26 88 23 68 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.812493] sd 0:0:0:0: [sda] tag#2 uas_eh_abort_handler 0 uas-tag 10 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.813209] sd 0:0:0:0: [sda] tag#2 CDB: opcode=0x28 28 00 26 88 23 60 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.814033] sd 0:0:0:0: [sda] tag#1 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.814746] sd 0:0:0:0: [sda] tag#1 CDB: opcode=0x28 28 00 26 88 23 58 00 00 08 00
Jan  6 11:39:49 raspberrypi kernel: [   33.815599] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD IN 
Jan  6 11:39:49 raspberrypi kernel: [   33.816311] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 22 0c 42 18 00 00 88 00
Jan  6 11:39:49 raspberrypi kernel: [   34.022568] usb 2-2: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
Jan  6 11:39:49 raspberrypi kernel: [   35.538153] EXT4-fs (sda2): re-mounted. Opts: (null)
Jan  6 11:56:49 raspberrypi kernel: [ 1684.502609] usb 2-2: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
Jan  6 11:57:20 raspberrypi kernel: [ 1715.051573] sd 0:0:0:0: [sda] tag#13 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN 
Jan  6 11:57:20 raspberrypi kernel: [ 1715.051592] sd 0:0:0:0: [sda] tag#13 CDB: opcode=0x28 28 00 26 0e 7a 40 00 00 08 00
Jan  6 11:57:20 raspberrypi kernel: [ 1715.051827] sd 0:0:0:0: [sda] tag#7 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD IN 
Jan  6 11:57:20 raspberrypi kernel: [ 1715.051841] sd 0:0:0:0: [sda] tag#7 CDB: opcode=0x28 28 00 19 8c 36 10 00 00 20 00
Jan  6 11:57:20 raspberrypi kernel: [ 1715.052268] sd 0:0:0:0: [sda] tag#6 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD IN 
Jan  6 11:57:20 raspberrypi kernel: [ 1715.052280] sd 0:0:0:0: [sda] tag#6 CDB: opcode=0x28 28 00 27 d1 79 d8 00 00 80 00
Jan  6 11:57:20 raspberrypi kernel: [ 1715.052934] sd 0:0:0:0: [sda] tag#5 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN 
Jan  6 11:57:20 raspberrypi kernel: [ 1715.052947] sd 0:0:0:0: [sda] tag#5 CDB: opcode=0x28 28 00 27 d1 7a 58 00 00 78 00
Jan  6 11:57:20 raspberrypi kernel: [ 1715.053508] sd 0:0:0:0: [sda] tag#1 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD IN 
Jan  6 11:57:20 raspberrypi kernel: [ 1715.053520] sd 0:0:0:0: [sda] tag#1 CDB: opcode=0x28 28 00 27 4e c3 d0 00 00 10 00
Jan  6 11:57:20 raspberrypi kernel: [ 1715.181563] sd 0:0:0:0: [sda] tag#9 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD IN 
Jan  6 11:57:20 raspberrypi kernel: [ 1715.181577] sd 0:0:0:0: [sda] tag#9 CDB: opcode=0x28 28 00 26 0e 8c 90 00 00 10 00
Jan  6 11:57:24 raspberrypi kernel: [ 1720.011569] sd 0:0:0:0: [sda] tag#16 uas_eh_abort_handler 0 uas-tag 12 inflight: CMD OUT 
Jan  6 11:57:24 raspberrypi kernel: [ 1720.011586] sd 0:0:0:0: [sda] tag#16 CDB: opcode=0x2a 2a 00 1b cc 2d 08 00 00 38 00
Jan  6 11:57:24 raspberrypi kernel: [ 1720.011994] sd 0:0:0:0: [sda] tag#15 uas_eh_abort_handler 0 uas-tag 11 inflight: CMD OUT 
Jan  6 11:57:24 raspberrypi kernel: [ 1720.012006] sd 0:0:0:0: [sda] tag#15 CDB: opcode=0x2a 2a 00 0b 0e c0 38 00 00 10 00
Jan  6 11:57:24 raspberrypi kernel: [ 1720.012360] sd 0:0:0:0: [sda] tag#14 uas_eh_abort_handler 0 uas-tag 10 inflight: CMD OUT 
Jan  6 11:57:24 raspberrypi kernel: [ 1720.012372] sd 0:0:0:0: [sda] tag#14 CDB: opcode=0x2a 2a 00 00 5b 46 f8 00 00 10 00
Jan  6 11:57:24 raspberrypi kernel: [ 1720.012734] sd 0:0:0:0: [sda] tag#12 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD OUT 
Jan  6 11:57:24 raspberrypi kernel: [ 1720.012746] sd 0:0:0:0: [sda] tag#12 CDB: opcode=0x2a 2a 00 00 5b 44 e8 00 00 10 00
Jan  6 11:57:24 raspberrypi kernel: [ 1720.013165] sd 0:0:0:0: [sda] tag#11 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT 
Jan  6 11:57:24 raspberrypi kernel: [ 1720.013178] sd 0:0:0:0: [sda] tag#11 CDB: opcode=0x2a 2a 00 00 5b 40 48 00 00 08 00
Jan  6 11:57:24 raspberrypi kernel: [ 1720.013295] sd 0:0:0:0: [sda] tag#10 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT 
Jan  6 11:57:24 raspberrypi kernel: [ 1720.013308] sd 0:0:0:0: [sda] tag#10 CDB: opcode=0x2a 2a 00 00 0c 5a 08 00 00 10 00
Jan  6 11:57:25 raspberrypi kernel: [ 1720.202579] usb 2-2: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

une (grosse) partie des logs , après opération :

Jan  6 11:59:18 raspberrypi kernel: [    1.831939] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
Jan  6 11:59:18 raspberrypi kernel: [    1.863263] usb 2-2: New USB device found, idVendor=152d, idProduct=1576, bcdDevice= 2.04
Jan  6 11:59:18 raspberrypi kernel: [    1.864061] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan  6 11:59:18 raspberrypi kernel: [    1.864865] usb 2-2: Product: JMS579
Jan  6 11:59:18 raspberrypi kernel: [    1.865651] usb 2-2: Manufacturer: JMicron
Jan  6 11:59:18 raspberrypi kernel: [    1.866423] usb 2-2: SerialNumber: 987654321029
Jan  6 11:59:18 raspberrypi kernel: [    1.870322] usb 2-2: UAS is blacklisted for this device, using usb-storage instead
Jan  6 11:59:18 raspberrypi kernel: [    1.871190] usb 2-2: UAS is blacklisted for this device, using usb-storage instead
Jan  6 11:59:18 raspberrypi kernel: [    2.954167] sd 0:0:0:0: [sda] 937703088 512-byte logical blocks: (480 GB/447 GiB)
Jan  6 11:59:18 raspberrypi kernel: [    2.955981] sd 0:0:0:0: [sda] Write Protect is off
Jan  6 11:59:18 raspberrypi kernel: [    2.956855] sd 0:0:0:0: [sda] Mode Sense: 47 00 00 08
Jan  6 11:59:18 raspberrypi kernel: [    2.957634] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan  6 11:59:18 raspberrypi kernel: [    2.962094]  sda: sda1 sda2
Jan  6 11:59:18 raspberrypi kernel: [    2.966168] sd 0:0:0:0: [sda] Attached SCSI disk
Jan  6 11:59:18 raspberrypi kernel: [    3.073234] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
Jan  6 11:59:18 raspberrypi kernel: [    5.285046] EXT4-fs (sda2): re-mounted. Opts: (null)

j’ai pas tout mis , notamment pour les messages pendant le problème et avant opération .
mais le calcul est simple , si vous regardez bien :
largement plus de 35 sec (problème) contre environ 5 secondes (solutionné) .
y a pas photo .

et en le faisant passer pour une clé usb ça fonctionne !

sais pas , j’ai pas tout compris .

apparemment , tu as raison , bof , trouvé ceci :
uas - raspi 4 - usb 3.0