RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    USB drive for roms not recognized

    Scheduled Pinned Locked Moved Help and Support
    usbusbromserviceexternal hdd
    10 Posts 3 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      NIGHTKILLER05
      last edited by NIGHTKILLER05

      -Pi Model or other hardware: RPI4 8Gb model
      -Power Supply used: Vilros Adaptor 5.1V 3.0A power supply
      -RetroPie Version Used: 4.8
      -Built From: Pre made SD Image on RetroPie website - retropie-buster-4.8-rpi4_400.img.gz)
      -USB Devices connected: Kingston SSD KC3000, 2048 GB, M.2 2280, NVMe PCIe Gen 4.0, Read: 7000MB/s, Write: 7000MB/s, SKC3000D/2048G with ORICO M.2 NVMe SSD Enclosure to USB-C PCIe Adapter 10Gbps USB 3.2 Gen2 for NVMe M-Key/M+B Key SSD 2230/2242/2260/2280
      -Controller used: Xbox 360 controller
      -Guide used: (Mention if you followed a guide): The offical guuide to use usbromserve
      -File: (File with issue - with FULL path): none
      -Emulator: (Name of emulator - if applicable): none
      -Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS): none

      Hi guys, I can't use my SSD M.2 HDD (2048 GB) for roms, and I don't know why, I follow the intructions in https://retropie.org.uk/docs/Running-ROMs-from-a-USB-drive/ I used the program "FAT32 format", to formatting my disk using FAT32 filesystem, after that I create a folder inside the HDD called "retropie-mount" all undercase,
      then I connect the HDD to my RPI4, go to the menu Configuration/tools, usbromservice, "activate", then reboot my system with the HDD connected, the system starts, then wait for 15 minutes, turn off the system, disconnect the HDD, the I connect that HDD to my laptop and nothing, the "retropie-mount" folder is empty, this is a fresh install, I dont have any roms yet, I only want the usbromservice to create the folder structure to copy all my roms to the HDD from my laptop.

      Troubleshoot command outputs:

      dmesg output
      The red messages says :

      [sda] Asking for cache data failed
      [sda] Assuming drive cache : write through

      dmesg.jpg

      df (with HDD connected, looks like its not recognized at all, no "/media/usb0" or something like that)
      df.jpg

      lsusb (with only the hdd connected, no joysticks or keyboards)
      lsusb.jpg

      This is my HDD:
      https://www.amazon.com.mx/gp/product/B09K7DRMSC/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&th=1
      61b1pY91OlL.AC_SL1500.jpg

      This is the enclosure I use with that HDD
      https://www.amazon.com.mx/gp/product/B0B14131NN/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&th=1
      casse.jpg

      Help me please, and thank you for that great system.

      AshpoolA 1 Reply Last reply Reply Quote 0
      • AshpoolA
        Ashpool @NIGHTKILLER05
        last edited by

        @NIGHTKILLER05 said in USB drive for roms not recognized:

        -Built From: Pre made SD Image on RetroPie website - retropie-buster-4.8-rpi4_400.img.gz)

        On the Image the USB-ROM Service is already running, so are you sure you haven't disabled it? Is the disc accessible from the retropie install (check via retropies file-amager), what is the (commandline) output of lsblk (with the SSD connected)?

        N 1 Reply Last reply Reply Quote 0
        • N
          NIGHTKILLER05 @Ashpool
          last edited by

          @Ashpool Hi, thank you for the help, in my case the usbromservice was not even installed, I had to go to "Retropie Setup - Manage Packages - opt Manage optional packages - 235 usbromservice - Install from pre-compiled binary", and after that, I went to "configuration / Tools - 235 usbromservice - USB ROM Service - 1 Enable USB ROM Service scripts".

          I can't see the drive in File Manager, I can see the "/media" directory, and inside it I can see folders with names like "~usb", "usb0", "usb1", and son on, but nothing inside each one of them, there is also a folder named "/mnt", empty:
          media.jpg
          usbs.jpg
          usbprimero.jpg
          usb0.jpg
          usb1.jpg
          usb2.jpg
          usb3.jpg
          usb4.jpg
          usb5.jpg
          usb6.jpg
          usb7.jpg
          mnt.jpg

          And this is the output of lsblk, with the SSD connected:
          6762c52a-932b-4d57-b158-bf479cd6134c-image.png

          AshpoolA 1 Reply Last reply Reply Quote 0
          • AshpoolA
            Ashpool @NIGHTKILLER05
            last edited by Ashpool

            @NIGHTKILLER05 said in USB drive for roms not recognized:

            Hi, thank you for the help, in my case the usbromservice was not even installed,

            Shouldn't be the case on the official image, there the usb rom service is enabled by default (just tested with Retropie 4.8 (RPi4/400) installed via the raspberry pi imager) - I am unsure what can go wrong by writing the image that may leave one with a starting but crippled system, but personally I wouldn't go on with such an install and rewrite the image (or try another SD Card) as who knows what else is wrong on that system.
            As your SSD is not listed via lsblk, is at least the controller shown by lsusb? Edit: Sorry, missed/forgotten about it beeing in your 1st post (lsusb -t ?). I assume the Realtek Device listed is the controller and under Windows it is working fine with the SSD? Have you tried any other OS/System on the raspberry? Does the dmesg output differs by using an USB2.0 Port? And even in my understanding it shouldn't be the case for a simple SSD (non mechanical), can you try with a powered USB Hub (There seem to be some problems with some RT9210/controllers) in conjunction with the Pi [just a try, I am not sure how trustworthy the linked issue, or better to say the comments in it are]?

            P.S.: AFAIK_&_U the usb-rom service is just for the operation in regards to retropie-mount/retropie folder recognition/operations and ain't interfering with the normal usb operation. Simply put: an external usb storage device should be automounted regardless of the service running or not, it is just that without it the folders retropie|retropie-mount are just folders and will not be utilized by retropie.

            N 1 Reply Last reply Reply Quote 0
            • N
              NIGHTKILLER05 @Ashpool
              last edited by NIGHTKILLER05

              @Ashpool Hey, you were right, I installed retropie via raspberry pi imager and usbromservice is there by default, anyway, my ssd is not recognized at all, just like the first installation.

              I took another microsd and installed Raspberry Pi OS 32 bits on it, the ssd is not detected, then I tried with a Seagate 2.5" mechanic HDD 1 TB and the system detect it and showed me the files inside it without any issue, these are the troubleshoot commands I use (you can click on the image to make it larger):
              2023-02-14-020740_1920x1080_scrot.jpg

              This is the HDD that worked, but is only 1TB, mechanic, and is big, compared with the SSD thatwas not detected by the sytem.
              IMG_20230213_2238102.jpg
              IMG_20230213_2238202.jpg

              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator
                last edited by mitu

                Is the drive powered externally ? The PI might not have enough power to feed it in order to work properly.
                There's an error in your first message posted which clearly shows the drive capacity not being read properly - this is why your drive doesn't show up, regardless of whether the usbromservice is active or not.

                EDIT: looking at the issue @Ashpool posted, it seems there's a firmware issue with the drive - try adding the workaround from that issue to /boot/cmdline.txt:

                usb-storage.quirks=0bda:9210:
                
                N 1 Reply Last reply Reply Quote 0
                • N
                  NIGHTKILLER05 @mitu
                  last edited by

                  @mitu Thank you for your help, I added the text to /boot/cmdline.txt:

                  095bef01-f37f-4093-8b7d-4d610bbf81a0-image.png

                  Then I save the file, closed it, reboot the system with the SSD plugged in via USB 3.0 (the blue one) wait for 15 minutes and nothing happens, the SSD is not recognized:

                  0c55f2bd-5fe2-44a4-be8f-6f613dc75f0c-image.png

                  The power issue is a good theory, is there a way to fix that? I don't know is a power adaptor exists for this type of disk.

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @NIGHTKILLER05
                    last edited by

                    @NIGHTKILLER05 said in USB drive for roms not recognized:

                    @mitu Thank you for your help, I added the text to /boot/cmdline.txt:

                    This looks ok.

                    Then I save the file, closed it, reboot the system with the SSD plugged in via USB 3.0 (the blue one) wait for 15 minutes and nothing happens, the SSD is not recognized:

                    Seems like the same issue then, the disc is not initialized/ready. Can you get a dmesg output (but please just paste the text, not a screenshot) from the moment the drive is plugged in ?

                    The power issue is a good theory, is there a way to fix that? I don't know is a power adaptor exists for this type of disk.

                    A powered USB hub would probably would work, but in the issue @Ashpool mentioned people tried that and it didn't work.

                    N 2 Replies Last reply Reply Quote 1
                    • N
                      NIGHTKILLER05 @mitu
                      last edited by

                      @mitu Ok, this is the output of dmesg:

                      [ 2763.780153] usb 1-1.2: new high-speed USB device number 8 using xhci_hcd
                      [ 2763.917099] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=9210, bcdDevice=20.01
                      [ 2763.917121] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
                      [ 2763.917139] usb 1-1.2: Product: RTL9210
                      [ 2763.917156] usb 1-1.2: Manufacturer: Realtek
                      [ 2763.917173] usb 1-1.2: SerialNumber: 012345678904
                      [ 2763.922189] usb-storage 1-1.2:1.0: USB Mass Storage device detected
                      [ 2763.922917] scsi host0: usb-storage 1-1.2:1.0
                      [ 2764.992065] scsi 0:0:0:0: Direct-Access Realtek RTL9210 NVME 1.00 PQ: 0 ANSI: 6
                      [ 2764.992758] sd 0:0:0:0: Attached scsi generic sg0 type 0
                      [ 2764.998794] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=0x08
                      [ 2764.998820] sd 0:0:0:0: [sda] Sense Key : 0x5 [current]
                      [ 2764.998849] sd 0:0:0:0: [sda] ASC=0x20 ASCQ=0x0
                      [ 2764.998877] sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
                      [ 2764.998896] sd 0:0:0:0: [sda] 0-byte physical blocks
                      [ 2765.001471] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
                      [ 2765.003432] sd 0:0:0:0: [sda] Asking for cache data failed
                      [ 2765.003454] sd 0:0:0:0: [sda] Assuming drive cache: write through
                      [ 2765.067248] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=0x08
                      [ 2765.067267] sd 0:0:0:0: [sda] Sense Key : 0x5 [current]
                      [ 2765.067282] sd 0:0:0:0: [sda] ASC=0x20 ASCQ=0x0
                      [ 2765.070999] sd 0:0:0:0: [sda] Attached SCSI disk

                      Maybe raspberry pi 4 doesn't support NVME M.2 disks? that would be bad, I only purchased this ssd and enclosure to use with retropie, I want to put a lot of playstation games, I am a huge fan of that console (Dreamcast games too!!!).

                      1 Reply Last reply Reply Quote 0
                      • N
                        NIGHTKILLER05 @mitu
                        last edited by NIGHTKILLER05

                        @mitu I made another test replacing the SSD ( Kingston SSD KC3000, 2048 GB, M.2 2280, NVMe PCIe Gen 4.0, Read: 7000MB/s, Write: 7000MB/s, SKC3000D/2048G) for a SSD "Adata Legend 740 NVMe, 250GB, PCI Express 3.0, M.2"

                        ALEG-740-250GCS-6.jpg

                        And this SSD disk works!! (now I can see several folders inside "retropie-mount" folder, "BIOS", "roms", etc)... but is a very tiny SSD compared with the Kingston one, maybe it worked because this is a PCIE 3.0 and the Kingston is PCIE4.0? maybe raspberry pi 4 doesn't support PCIe 4.0 because that technology needs more power? I used the same enclosure for both SSDs (ORICO M.2 NVMe SSD Enclosure to USB-C PCIe Adapter 10Gbps USB 3.2 Gen2 for NVMe M-Key/M+B Key SSD 2230/2242/2260/2280)

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.