• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Console Re-Install on Netgate SG-1100 Fails with Bad Device USB 0

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
17 Posts 8 Posters 2.5k 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.
  • R
    rickster439489 @SteveITS
    last edited by Apr 29, 2023, 9:02 PM

    @steveits
    I give it again today using my Mac. For a sanity check, I checked the shasum again of the original image & it matches. Also, downloaded etcher to create the image, & used new media again this time. It's a 128GB drive, so space should not be a problem. Connected up my USB cable to the console port of the Netgate, & proceeded to get the same message again:
    Marvell>> run usbrecovery
    switch to partitions #0, OK
    mmc1(part 0) is current device
    MMC erase: dev # 1, block # 0, count 4194304 ... 4194304 blocks erased: OK
    resetting USB...
    USB0: Register 2000104 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    USB1: USB EHCI 1.00
    scanning bus 0 for devices... 1 USB Device(s) found
    scanning bus 1 for devices... 1 USB Device(s) found
    scanning usb for storage devices... 0 Storage Device(s) found
    ** Bad device usb 0 **
    I'm out of ideas completely now. & obviously bummed I can't get this to work. I really wonder if I'm doing something stupid I'm totally overlooking. Any words of wisdom would be appreciated.
    Thanks,
    -Rick

    S E 2 Replies Last reply Apr 29, 2023, 9:54 PM Reply Quote 0
    • S
      SteveITS Galactic Empire @rickster439489
      last edited by Apr 29, 2023, 9:54 PM

      @rickster439489 said in Console Re-Install on Netgate SG-1100 Fails with Bad Device USB 0:

      ** Bad device usb 0 **

      per https://docs.netgate.com/pfsense/en/latest/solutions/sg-1000/faq.html

      that is "...normal when the boot environment supports booting from the USB OTG port, but there is no bootable media connected to the OTG port."

      Maybe it doesn't like the USB stick? 128GB too big? Perhaps @stephenw10 may have insight.

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote 👍 helpful posts!

      1 Reply Last reply Reply Quote 0
      • E
        endotronic @rickster439489
        last edited by Apr 30, 2023, 6:38 AM

        @rickster439489 I just hit this on my SG-3100, and I found that before typing "run recovery" at the prompt, I needed to run "usb reset" until my USB device was actually found (turned out to be twice). After that I had no issues. Hope this works for you too.

        R 1 Reply Last reply Apr 30, 2023, 3:29 PM Reply Quote 0
        • R
          rickster439489 @endotronic
          last edited by Apr 30, 2023, 3:29 PM

          @endotronic
          Thanks for the suggestion. I tried it a half dozen times or so, & did not get any different results. What I find interesting, is the commands identify my USB drive, but not the storage device. I'm wondering if the device not being found is referencing storage on the Netgate itself.
          Marvell>> usb reset
          resetting USB...
          USB0: Register 2000104 NbrPorts 2
          Starting the controller
          USB XHCI 1.00
          USB1: USB EHCI 1.00
          scanning bus 0 for devices... 1 USB Device(s) found
          scanning bus 1 for devices... 1 USB Device(s) found
          scanning usb for storage devices... 0 Storage Device(s) found
          Another thing I noticed is the USB drive configured by Etcher contains four files that don't seem a little odd. If I view them in a bash session on my mac this is what I see:
          rick-MacBook-Pro:~ rick$ ls -lahrt /Volumes/DTBFAT0/
          total 127
          -rwxrwxrwx 1 rick staff 13K Feb 10 20:11 armada-3720-sg2100.dtb
          -rwxrwxrwx 1 rick staff 18K Feb 10 20:11 armada-3720-sg1100.dtb
          -rwxrwxrwx 1 rick staff 13K Feb 10 20:11 armada-3720-netgate-2100.dtb
          -rwxrwxrwx 1 rick staff 18K Feb 10 20:11 armada-3720-netgate-1100.dtb
          drwxrwxrwx@ 1 rick staff 1.0K Apr 30 10:58 .
          drwxr-xr-x 4 root wheel 128B Apr 30 10:58 ..
          drwxrwxrwx 1 rick staff 512B Apr 30 10:58 .fseventsd
          This seems to be really odd, & not what I would expect for firmware. Can anyone please validate those are the right files & sizes I should be seeing?
          Thanks for any suggestions,
          -Rick

          R R 2 Replies Last reply Apr 30, 2023, 3:45 PM Reply Quote 0
          • R
            rickster439489 @rickster439489
            last edited by Apr 30, 2023, 3:45 PM

            @rickster439489
            One last observation, if I look at the original downloaded firmware image using the gunzip, here is what I see:
            rick-MacBook-Pro:pfSense rick$ gunzip -lv pfSense-plus-compat-recovery-23.01-RELEASE-aarch64.img.gz
            method crc date time compressed uncompressed ratio uncompressed_name
            defla 41b432cd Apr 2 18:02 1816266884 1073741824 -69.2% pfSense-plus-compat-recovery-23.01-RELEASE-aarch64.img

            It's a stupid observation, but this is very different file contents from what I see on the USB drive itself. Again, a reality check on the files would be really helpful.
            Thanks,
            -Rick

            1 Reply Last reply Reply Quote 0
            • R
              rcoleman-netgate Netgate @rickster439489
              last edited by Apr 30, 2023, 4:11 PM

              @rickster439489 said in Console Re-Install on Netgate SG-1100 Fails with Bad Device USB 0:

              scanning bus 0 for devices... 1 USB Device(s) found
              scanning bus 1 for devices... 1 USB Device(s) found
              scanning usb for storage devices... 0 Storage Device(s) found

              When you see this do "usb reset" until it shows. If it fails multiple times then try the other port. If it fails there try another flash drive.

              Ryan
              Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
              Requesting firmware for your Netgate device? https://go.netgate.com
              Switching: Mikrotik, Netgear, Extreme
              Wireless: Aruba, Ubiquiti

              R 1 Reply Last reply Apr 30, 2023, 4:12 PM Reply Quote 0
              • R
                rcoleman-netgate Netgate @rcoleman-netgate
                last edited by Apr 30, 2023, 4:12 PM

                @rcoleman-netgate If you keep having issues reply to your email that the link came via and TAC will help.

                Ryan
                Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                Requesting firmware for your Netgate device? https://go.netgate.com
                Switching: Mikrotik, Netgear, Extreme
                Wireless: Aruba, Ubiquiti

                1 Reply Last reply Reply Quote 0
                • J
                  jimp Rebel Alliance Developer Netgate
                  last edited by May 1, 2023, 3:44 PM

                  If it doesn't find the storage device in u-boot then it doesn't like the drive for one reason or another. I've got a couple drives here that work in some but not all of my lab devices, it varies a bit by size make/model, USB 2 vs 3 and so on. If you have a USB 2.0 8-16GB drive or so that's probably your best bet for compatibility, but that isn't a definite rule.

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • F
                    fredu
                    last edited by Aug 23, 2023, 8:26 AM

                    I know this is an old thread, but In the interest of closure, I just had exactly this problem.
                    I was using a flashed uSD card - I tried many, but settled on a relatively old one - Flash with either Balena Etcher, or the Raspberry Pi Imager

                    My problem: The uSD to USB adapter. I was using a relatively new USB3 one (Blue on the inside) ... It doesn't like those for some reason. Get your hands on an older USB2 adapter, that isn't blue
                    For reference, I plugged it into the USB socket on the left, NOT the SS Socket on the right. This worked.

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Aug 23, 2023, 11:29 AM

                      Yes, I have found that forcing a USB3 flash device to use USB2 often allows it to work. Additionally the opposite is often true. If a USB2 device isn't recognised try moving that to the USB3 port.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received