PINE64

Full Version: (ARCHIVED) Ubuntu Xenial Image (BSP Kernel)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
I may be missing something and I may be a total n00b for not knowing, but I can't seem to mount an external hard drive on my Pine64.  It's a portable drive.  I've tried connecting it directly to the Pine and using a powered USB hub, but it's not working either way.  I know the drive works fine, because it mounts on my Raspberry Pi without any issue whatsoever.  The drive is formatted ext4.  I've also tried plugging a flash drive into the Pine, and it shows up and can be mounted without issue.

This is the output from dmesg for the USB hard drive:

Code:
[  188.643944] sd 0:0:0:0: timing out command, waited 180s
[  365.777107] sd 0:0:0:0: timing out command, waited 180s
[  459.511349] usb 2-1.3: USB disconnect, device number 3
[  459.528536] sd 0:0:0:0: [sda] READ CAPACITY failed
[  459.528551] sd 0:0:0:0: [sda]
[  459.528557] Result: hostbyte=0x01 driverbyte=0x00
[  459.528564] sd 0:0:0:0: [sda] Sense not available.
[  459.528691] sd 0:0:0:0: [sda] Write Protect is on
[  459.528700] sd 0:0:0:0: [sda] Mode Sense: 50 28 9f 02
[  459.528753] sd 0:0:0:0: [sda] No Caching mode page found
[  459.534683] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  459.542898] sd 0:0:0:0: [sda] READ CAPACITY failed
[  459.542916] sd 0:0:0:0: [sda]
[  459.542922] Result: hostbyte=0x01 driverbyte=0x00
[  459.542930] sd 0:0:0:0: [sda] Sense not available.
[  459.543641] sd 0:0:0:0: [sda] No Caching mode page found
[  459.545324] sd 0:0:0:0: [sda] READ CAPACITY failed
[  459.545330] sd 0:0:0:0: [sda]
[  459.545335] Result: hostbyte=0x01 driverbyte=0x00
[  459.545339] sd 0:0:0:0: [sda] Sense not available.
[  459.545653] sd 0:0:0:0: [sda] Write Protect is off
[  459.545659] sd 0:0:0:0: [sda] Mode Sense: 00 29 71 02
[  459.545704] sd 0:0:0:0: [sda] Asking for cache data failed
[  459.545708] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  459.545874] sd 0:0:0:0: [sda] READ CAPACITY failed
[  459.545877] sd 0:0:0:0: [sda]
[  459.545880] Result: hostbyte=0x01 driverbyte=0x00
[  459.545883] sd 0:0:0:0: [sda] Sense not available.
[  459.545962] sd 0:0:0:0: [sda] Asking for cache data failed
[  459.545966] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  459.575452] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  459.582303] sd 0:0:0:0: [sda] Attached SCSI disk
[  462.618558] usb 2-1.3: new high-speed USB device number 4 using sunxi-ehci
[  462.809770] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[  462.810274] scsi1 : usb-storage 2-1.3:1.0
[  463.790716] scsi 1:0:0:0: Direct-Access     JMicron                   0223 PQ: 0 ANSI: 6
[  463.797536] sd 1:0:0:0: [sda] Spinning up disk...
Interesting

can you post to the bug reports for linux at

http://www.pine64.pro/bug-reports-3-10-65-bsp/
(04-25-2016, 08:59 PM)greenleafthered Wrote: [ -> ]I may be missing something and I may be a total n00b for not knowing, but I can't seem to mount an external hard drive on my Pine64.  It's a portable drive.  I've tried connecting it directly to the Pine and using a powered USB hub, but it's not working either way.  I know the drive works fine, because it mounts on my Raspberry Pi without any issue whatsoever.  The drive is formatted ext4.  I've also tried plugging a flash drive into the Pine, and it shows up and can be mounted without issue.
[snip]
What version of the kernel are you running (uname -a) because that will help provide some additional insight.
should be 3.10.65-7-pine64-longsleep

if not run the following commands

sudo pine64_update_uboot.sh
sudo pine64_update_kernel.sh

and if you haven't resized the partition yet

sudo resize_rootfs.sh
reboot
(04-25-2016, 10:59 PM)lenny.raposo-pine64.pro Wrote: [ -> ]should be 3.10.65-7-pine64-longsleep

if not run the following commands

sudo pine64_update_uboot.sh
sudo pine64_update_kernel.sh

and if you haven't resized the partition yet

sudo resize_rootfs.sh
reboot

I'm currently running 3.10.65-4-pine64-longsleep.  I'll run the update commands after I get home from work this afternoon and see if that helps any.  I've held off on resizing the partition on the SD card because I plan to back up the card to a disk image once I get everything working properly and I want to save a little space on my file server.  If it will really make that big of a difference I can go ahead and resize it.  The SD card is only 8GB, so it won't make the image that much bigger.
(04-26-2016, 04:54 AM)greenleafthered Wrote: [ -> ]
(04-25-2016, 10:59 PM)lenny.raposo-pine64.pro Wrote: [ -> ]should be 3.10.65-7-pine64-longsleep

if not run the following commands

sudo pine64_update_uboot.sh
sudo pine64_update_kernel.sh

and if you haven't resized the partition yet

sudo resize_rootfs.sh
reboot

I'm currently running 3.10.65-4-pine64-longsleep.  I'll run the update commands after I get home from work this afternoon and see if that helps any.  I've held off on resizing the partition on the SD card because I plan to back up the card to a disk image once I get everything working properly and I want to save a little space on my file server.  If it will really make that big of a difference I can go ahead and resize it.  The SD card is only 8GB, so it won't make the image that much bigger.
I've run the update scripts and resized the partition, but the portable drive still appears to have issues. It's being mapped as sda according to dmesg output, and sda shows up in /dev, but nothing beyond that at this point. It took a long while for it to show up in /dev, though, so I'm going to leave it connected and see if it ever does show up properly.

Also, if I listen closely, the hard drive sounds like a clock ticking.
can you submit a bug report to www.pine64.pro.

That way myself and the moderators/develoeprs here can track things a little better nto to mention test and try to replicate these issues bugs as they appear Wink
(04-26-2016, 05:17 PM)lenny.raposo-pine64.pro Wrote: [ -> ]can you submit a bug report to www.pine64.pro.

That way myself and the moderators/develoeprs here can track things a little better nto to mention test and try to replicate these issues bugs as they appear Wink

Submitted.  I'm not usually involved in development forums and have never submitted a bug report to something like this, so I hope I submitted properly.
You did a great job mate. As long as we can get some sort of indication and description we can look into things here Wink
Let me chip in. I too have had problems with a USB3 ext hdd --- the pine64 did, in fact, 'see' that there was some sort of USB attached but didn't recognise that it was a drive. I figured it must be a problem with the USB3 connection (seeing as it recognised my USB2 thumb-drive without a problem). Good to know it affects other ppl ...
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34