Forum

Full Version: XBMC unable to find /dev/sda
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello!

I've been installing Xbian on raspberry PI 2 and I tried to connect my 500GB WD Passport hard drive to it. When I power it up xbian loads just fine but drive sounds like it would try to run over and over again. I am unable to see the drive anywhere in Xbian. Then I Exit from xbian and linux command shows me error: Unable to find '/dev/sda'.

I thought it is the problem with not enough current from adapter (5V, 2A), but it should be enough. I hope I make any sense with my english and that there is someone that can help me with my problem.
Pastebin the output of dmesg and post here the output of:
Terminal

ls /dev/sd*
That is the second problem I have. I am unable to login into the sistem remote via SSH or if I exit xbian and try in the console.
I've tried every possible combination I can think of (root/raspberry;pi/raspberry,root/root,root/user, etc). I've tried capital letters and nothing is working. I can connect to device, but unable to login.


Software
XBian version:
XBMC/Kodi version: Kodi 14.2-BETA2 Git:2015-02-25-c4ce8e3-dirty
Overclock settings: default

Hardware
Device type and model (e.g. Raspberry Pi Model A/B 256/512 MB, CuBox-i i4Pro, ...): Raspberry Pi 2, 1GB ram
Power supply rating: power supply that comes original with RPi2: 5V, 2A
SD card size and make/type: Verbatim 8GB class 10 micro SD card
Network (Ethernet or wireless): wired ethernet connection
Connected devices (TV, USB, network storage, ...):
Phillips TV over HDMI
WD 500GB My Passport external 2.5" hard disk drive (without additional power supply)

Log files
http://xbmclogs.com/paejqycal
It's
user: xbian
pass: raspberry
Thank you a lot. I couldn't find that online. Sad

ls /dev/sd* gives me:
/dev/sda

And the correct error is: ata_id[7537] Unable to open '/dev/sda'
Have you used this unpowered disk on a Pi and it work?
Yes, I've used it on Pi B 512mb ram. And there it is still working perfectly.
Try mounting it manually.

Terminal

mkdir /home/xbian/tempmnt
sudo mount - t ntfs /dev/sda /home/xbian/tempmnt

Replace ntfs if that isn't the filesystem type and if that doesn't work try /dev/sda1 in the mount line.
Terminal
xbian@xbian ~ $ sudo mount -t ntfs /dev/sda /home/xbian/tempmnt


Error reading bootsector: Input/output error
Failed to mount '/dev/sda': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

xbian@xbian ~ $ sudo mount -t ntfs /dev/sda1 /home/xbian/tempmnt
ntfs-3g: Failed to access volume '/dev/sda1': No such file or directory

ntfs-3g 2012.1.15AR.5 external FUSE 29 - Third Generation NTFS Driver
Configuration type 7, XATTRS are on, POSIX ACLS are on

Copyright © 2005-2007 Yura Pakhuchiy
Copyright © 2006-2009 Szabolcs Szakacsits
Copyright © 2007-2011 Jean-Pierre Andre
Copyright © 2009 Erik Larsson

Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=.
Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

News, support and information: http://tuxera.com
sudo fdisk -l
Terminal
xbian@xbian ~ $ sudo fdisk -l
[sudo] password for xbian:

Disk /dev/mmcblk0: 7969 MB, 7969177600 bytes
4 heads, 16 sectors/track, 243200 cylinders, total 15564800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8e3e7e61

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 2048 71679 34816 b W95 FAT32
/dev/mmcblk0p2 141312 15063039 7460864 83 Linux
/dev/mmcblk0p3 15063040 15564799 250880 82 Linux swap / Solaris
Try:

Terminal
sudo ntfs-3g /dev/sda /home/xbian/tempmnt

If that doesn't work let me see:
lsusb
Terminal
xbian@xbian ~ $ sudo mount -t ntfs-3g /dev/sda /home/xbian/tempmnt
Error opening '/dev/sda': No such device or address
Failed to mount '/dev/sda': No such device or address
Either the device is missing or it's powered down, or you have
SoftRAID hardware and must use an activated, different device under
/dev/mapper/, (e.g. /dev/mapper/nvidia_eahaabcc1) to mount NTFS.
Please see the 'dmraid' documentation for help.

Sorry, only now realised that is a command I need to type in. Here's the result:
Terminal
xbian@xbian ~ $ lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 008: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 009: ID 1058:0730 Western Digital Technologies, Inc.
I guess you have no more ideas. I do not too. Sad
What type of filesystem is on the drive? I just assumed it was NTFS.
Pages: 1 2
Reference URL's