Problems mounting USB HDD after reboot

  • Dear all,

    This problem occures each second time after reboot. One reboot one of 2 HDDs is not mounted, second reboot both are getting successfully mounted.

    Those HDDs are connected to RPi3B+ with LibreElec 9.0.0 and Emby Server 4.0.1.0

    This is the case whan one HDD is not mounted:

    blkid | paste

    http://ix.io/1zuk

    mount | paste

    http://ix.io/1zul

    dmesg | paste

    http://ix.io/1zum

    paste kodi.log

    http://ix.io/1zuu

    ********

    And this one is when both are mounted:

    blkid | paste

    http://ix.io/1zuv

    mount | paste

    http://ix.io/1zuw

    dmesg | paste

    http://ix.io/1zux

    paste kodi.log

    http://ix.io/1zuc

    Any help would be highly appreciated

    Edited once, last by zeitalex (February 3, 2019 at 1:26 PM).

  • It seems that LE9 has problems with my 8TB HDD. Even if only this HDD is connected to my RPi3 with LE9 the problem repeats. This HDD works fine if connected to notebook.

  • When the [problem occurs again, please post the output of:

    dmesg | paste :

    and

    Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link
  • How do I mount hdd from command line?

    What does this mean?

    Code
    Feb 08 20:44:59 LibreELEC kernel: sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).

    Problem with large drive support?

    I just tried to investigate problem with journalctl -f:. Unfortunately it didn not work with pastebin.com, may be because text is too short.

    I did following:

    Step 1: Successfully connecting hdd

    Step 2: Disconnecting hdd:

    Code
    Feb 08 20:46:18 LibreELEC kodi.sh[371]: udevil: success running umount as current user
    Feb 08 20:46:24 LibreELEC kernel: usb 1-1.2: USB disconnect, device number 9
    Feb 08 20:46:24 LibreELEC kernel: usb 1-1.2.1: USB disconnect, device number 10
    Feb 08 20:46:24 LibreELEC kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
    Feb 08 20:46:24 LibreELEC kernel: sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x01 driverbyte=0x00
    Feb 08 20:46:24 LibreELEC systemd[1]: Stopping Udevil mount service...
    Feb 08 20:46:24 LibreELEC udevil[880]: udevil: error 55: cannot find '/dev/sda1' mounted in mtab
    Feb 08 20:46:24 LibreELEC systemd[1]: Stopped Udevil mount service.


    Step 3: Connecting hdd again (now it is failing):

    Code
    Feb 08 20:47:05 LibreELEC kernel: usb 1-1.2: new high-speed USB device number 11 using dwc_otg
    Feb 08 20:47:05 LibreELEC kernel: usb 1-1.2: New USB device found, idVendor=0bc2, idProduct=ab44, bcdDevice=48.85
    Feb 08 20:47:05 LibreELEC kernel: usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    Feb 08 20:47:05 LibreELEC kernel: usb 1-1.2: Product: Backup+ Hub
    Feb 08 20:47:05 LibreELEC kernel: usb 1-1.2: Manufacturer: Seagate
    Feb 08 20:47:05 LibreELEC kernel: usb 1-1.2: SerialNumber: 01CB8175B25Y
    Feb 08 20:47:05 LibreELEC kernel: hub 1-1.2:1.0: USB hub found
    Feb 08 20:47:05 LibreELEC kernel: hub 1-1.2:1.0: 3 ports detected

    Step 4: Disconnecting hdd again:

    Code
    Feb 08 20:49:02 LibreELEC kernel: usb 1-1.2: USB disconnect, device number 11
  • When disk is not recognized can you execute

    Code
    lsusb -v | pastebinit
    
    # wait at least 30 seconds and then execute
    
    lsusb -v | pastebinit
    dmesg | pastebinit

    and post all three urls you get.

  • lsusb -v | pastebinit

    can't get debug descriptor: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get device qualifier: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get device qualifier: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    http://ix.io/1azd

    sfter approximately 30 sec.:

    lsusb -v | pastebinit

    can't get debug descriptor: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get device qualifier: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get device qualifier: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    http://ix.io/1azd

    dmesg | pastebinit

    http://ix.io/1azg

  • both urls above produced by lsusb -v | pastebinit before and after 30 sec. are same. Probably due to that there are no changes.

    After I disconnect and connect HDD it is recognized. Below is the log:

    lsusb -v | pastebinit

    can't get debug descriptor: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get device qualifier: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    can't get device qualifier: Resource temporarily unavailable

    can't get debug descriptor: Resource temporarily unavailable

    http://ix.io/1aa0