(ARCHIVED) Ubuntu Xenial Image (BSP Kernel)
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/
If you like my work be sure to check out my site or wish to donate to the cause

Cheers Big Grin
(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
If you like my work be sure to check out my site or wish to donate to the cause

Cheers Big Grin
(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
If you like my work be sure to check out my site or wish to donate to the cause

Cheers Big Grin
(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
If you like my work be sure to check out my site or wish to donate to the cause

Cheers Big Grin
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 ...
You can find me on IRC, Discord and Twitter




Possibly Related Threads…
Thread Author Replies Views Last Post
  Ubuntu server 20.04 request phi0x 2 6,104 12-30-2020, 08:02 PM
Last Post: phi0x
  Xenial Minimal Image (PINE A64(+)) 0.6.2-77 pineadmin 4 22,539 08-30-2020, 10:35 AM
Last Post: jrronimo
  Kickstarter P64 with LCD, working image? MostHated 1 4,971 01-04-2020, 10:32 AM
Last Post: igorp
  USB Wireless Drivers with Longsleep Linux Kernel jacobscarter 15 27,589 03-06-2019, 02:26 PM
Last Post: tllim
  Allwinner A64 RTC bug fix on bionic image? tkaivola 1 5,301 02-01-2019, 05:09 AM
Last Post: tllim
  SPI on ubuntu IlyaM 4 10,151 07-16-2018, 03:00 AM
Last Post: kingflab
  Ubuntu password not working joemassimino 4 9,575 05-18-2018, 03:33 PM
Last Post: Luke
  How can I get a wireless dongle working on Xenial Desktop latest build Rocklobster 1 4,379 04-16-2018, 03:09 PM
Last Post: Rocklobster
  After flashing Ubuntu- how to get graphical desktop Partymack711 6 11,991 02-01-2018, 09:45 AM
Last Post: Partymack711
  PPTP doesnt work with ubuntu escovedo 2 9,660 08-23-2017, 09:28 AM
Last Post: gilbertotcc

Forum Jump:


Users browsing this thread: 34 Guest(s)