Disc disconnects when pressing "File system menu"

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Disc disconnects when pressing "File system menu"

      Hi!

      I have a external 465gb harddrive attached to a sata2usb device. This is formated to a Ext4 format and works great if I attach it to my Linux PC.
      I then have installed 3.0.98 omv to both a Raspberry 2 and 3 to exclude Rasp problems.
      When i attach the disk to the raspberry everything is fine, I can see the disk in "Physical disc menu".
      Wwen i press "File system" the disc disconnects with the message: "reset high-speed USB device number 8 using dwc_otg"

      I have external power to the disc and have tried several different ways including a powered usb 2.0 splitter.

      Dmesg:

      Source Code

      1. [ 505.358453] hub 1-1.4:1.0: USB hub found
      2. [ 505.358661] hub 1-1.4:1.0: 4 ports detected
      3. [ 505.676570] usb 1-1.4.4: new high-speed USB device number 6 using dwc_otg
      4. [ 505.820195] usb 1-1.4.4: New USB device found, idVendor=1bcf, idProduct=0c31
      5. [ 505.820211] usb 1-1.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      6. [ 505.820219] usb 1-1.4.4: Product: USB to Serial-ATA bridge
      7. [ 505.820226] usb 1-1.4.4: Manufacturer: Sunplus Innovation Technology
      8. [ 505.820233] usb 1-1.4.4: SerialNumber: 301123456789
      9. [ 505.822919] usb-storage 1-1.4.4:1.0: USB Mass Storage device detected
      10. [ 505.823319] scsi host1: usb-storage 1-1.4.4:1.0
      11. [ 506.887829] scsi 1:0:0:0: Direct-Access SPIF30x USB2SATA Bridge 0132 PQ: 0 ANSI: 2
      12. [ 506.889174] sd 1:0:0:0: Attached scsi generic sg1 type 0
      13. [ 506.892146] sd 1:0:0:0: [sdb] Attached SCSI removable disk
      14. [ 567.566469] usb 1-1.4.1: new high-speed USB device number 7 using dwc_otg
      15. [ 567.697453] usb 1-1.4.1: New USB device found, idVendor=13fd, idProduct=0840
      16. [ 567.697466] usb 1-1.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      17. [ 567.697473] usb 1-1.4.1: Product: External
      18. [ 567.697480] usb 1-1.4.1: Manufacturer: Generic
      19. [ 567.697487] usb 1-1.4.1: SerialNumber: 5744453335334D5820202020
      20. [ 567.698450] usb-storage 1-1.4.1:1.0: USB Mass Storage device detected
      21. [ 567.700608] scsi host2: usb-storage 1-1.4.1:1.0
      22. [ 568.727903] scsi 2:0:0:0: Direct-Access Generic External 1.14 PQ: 0 ANSI: 4
      23. [ 568.729745] sd 2:0:0:0: Attached scsi generic sg2 type 0
      24. [ 568.729805] sd 2:0:0:0: [sdc] 976773167 512-byte logical blocks: (500 GB/466 GiB)
      25. [ 568.730307] sd 2:0:0:0: [sdc] Write Protect is off
      26. [ 568.730328] sd 2:0:0:0: [sdc] Mode Sense: 23 00 00 00
      27. [ 568.730882] sd 2:0:0:0: [sdc] No Caching mode page found
      28. [ 568.730899] sd 2:0:0:0: [sdc] Assuming drive cache: write through
      29. [ 568.833754] sdc: sdc1
      30. [ 568.836837] sd 2:0:0:0: [sdc] Attached SCSI disk
      Display All



      lsusb (before pressing file systems)


      Source Code

      1. root@sundbergvault:/# lsusb
      2. Bus 001 Device 006: ID 1bcf:0c31 Sunplus Innovation Technology Inc. SPIF30x Serial-ATA bridge
      3. Bus 001 Device 008: ID 13fd:0840 Initio Corporation INIC-1618L SATA
      4. Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
      5. Bus 001 Device 004: ID 0bc2:3010 Seagate RSS LLC
      6. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
      7. Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
      8. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      I have tried both dwc_otg.speed=1 and max_usb_current=1


      As soon as I press File Systems i get this:

      Source Code

      1. [ 659.166552] usb 1-1.4.1: reset high-speed USB device number 7 using dwc_otg
      2. [ 690.506484] usb 1-1.4.1: reset high-speed USB device number 7 using dwc_otg
      3. [ 700.746486] usb 1-1.4.1: reset high-speed USB device number 7 using dwc_otg
      4. [ 717.386510] usb 1-1.4.1: reset high-speed USB device number 7 using dwc_otg
      5. [ 717.616495] usb 1-1.4.1: reset high-speed USB device number 7 using dwc_otg
      6. [ 728.266506] usb 1-1.4.1: reset high-speed USB device number 7 using dwc_otg
      7. [ 728.397041] sd 2:0:0:0: Device offlined - not ready after error recovery
      8. [ 728.397082] sd 2:0:0:0: [sdc] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x05 driverbyte=0x00
      9. [ 728.397097] sd 2:0:0:0: [sdc] tag#0 CDB: opcode=0x28 28 00 00 00 0b 30 00 00 08 00
      10. [ 728.397106] blk_update_request: I/O error, dev sdc, sector 2864
      11. [ 728.397294] sd 2:0:0:0: rejecting I/O to offline device
      12. [ 728.397429] sd 2:0:0:0: rejecting I/O to offline device
      13. [ 728.397516] sd 2:0:0:0: rejecting I/O to offline device
      14. [ 728.397619] sd 2:0:0:0: rejecting I/O to offline device
      15. [ 728.397681] sd 2:0:0:0: rejecting I/O to offline device
      16. [ 728.397769] sd 2:0:0:0: rejecting I/O to offline device
      17. [ 728.397843] sd 2:0:0:0: rejecting I/O to offline device
      18. [ 728.397944] sd 2:0:0:0: rejecting I/O to offline device
      19. [ 728.398952] sd 2:0:0:0: rejecting I/O to offline device
      20. [ 728.399108] sd 2:0:0:0: rejecting I/O to offline device
      21. [ 728.399217] sd 2:0:0:0: rejecting I/O to offline device
      22. [ 728.399311] sd 2:0:0:0: rejecting I/O to offline device
      23. [ 728.404432] sd 2:0:0:0: rejecting I/O to offline device
      Display All
      What can I check more?
      Is there any other info I can post for you to get more ideas?
    • sundberg84 wrote:

      What can I check more?
      For example the history of USB crappiness on these lousy Raspberries: element14.com/community/thread/19436

      If you're still on kernel 4.9 you could apply all latest updates to get on kernel 4.14.30 (and of course latest 'firmware' too since part of the magic happens always only here) and see if that helps. If not then either replace the SunPlus bridge with something known to work or better replace the RPi which something that performs better and more reliable.
    • Thanks @tkaiser.I Isuspected an answer like this and I have been looking for better hardware. It is very tempting to try to do this on a raspberry but I guess the result is not always satisfying.

      Anyways, thanks for the links but I guess another nas-hardware will have tondo but that means no omw which I like very much.
    • sundberg84 wrote:

      It is very tempting to try to do this on a raspberry but I guess the result is not always satisfying

      Raspberry Pis are great toys and can be helpful to learn Linux or programming at a specific layer. Unfortunately the hardware today is the same as 2011 when the board was introduced (they only exchanged the ARM cores and some components on the board but the main limitation is still old and boring VideoCore IV which is the heart of these things. All the limitations originate from here).

      You usually try to avoid USB2 these days, you usually try to avoid putting USB disks behind a hub, you usually try to use real Ethernet instead of USB2 attached (especially not behind a hub). On Raspberries none of this works and then there are the numerous underpowering issues due to the crappy Micro USB connector encouraging users to use insufficient chargers or cables.

      It's simply the worst platform possible for any NAS use case. Literally every other SBC is a better choice if it's about NAS.
    • I can tell you know what you are talking about... thanks for even more great info. I will look into other hardware.

      My chooses now is that I have 2 discs and I could buy a NAS enclosure for around 90€ (Zyxel NAS 326) but I want to use open source. I dislike closed projects. What would you do? I'm not willing to do much more in money .
    • This Zyxel uses a rather outdated but nice Marvell Armada 380 SoC. So don't expect top performance :)

      Wrt alternatives: one of the USB3 boards like Rock64 combined with the JMS561 dual disk SATA bridge mentioned here could be an idea (Rock64 is OMV ready). Or an EspressoBin with one disk connected to the SATA port, the other to the USB3 port. Also Marvell based but a more recent one and most probably twice as fast as the Zyxel. OMV also runs flawlessly on the EspressoBin but installation is a bit more of an effort.
    • Another followup.

      I tried duplicati, but got an installation error, so i made a network link from my Onedrive folder to one of the network drives to backup somethings from there.
      This causes OMV to crash, but stopping Onedrive and removing the link from my computer seems to fix this. I just have to try to get duplicati to work.
      Everything else seems to work fine.