Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a NexStar dual bay hard drive dock, model nst-200.
I am using Crunchbang Waldorf 32 bit
I have tried to mount a Sata hard drive with this dock without success. I don't know how to trouble shoot this and haven't found any help on the Net. How do I go about this?
When I plugged in the dock a device showed up in /dev/sdf1
I don't know what filesystem is on it. I tried to mount it with ext4 and ntfs-3g.
Is this a new drive? It may have no file system on it. In this case, you can partition it if you like, and format it. Then you will know what file system you have.
It would also help if you ran the commands you say didn't work, and post the output from the system, so we can see the error messages that you get. Without useful information like that, it is difficult to suggest much else.
If this is an used drive, and you have no idea what is on it, go ahead and format it, then try to mount the drive. You are doing that as root, correct?
Make sure you have drive in one of the bays then do a 'fdisk -l' from cli to show available disks. You can look at the type of partition via ID and System listed if the partition has been prepared for use.
plugged in dock with hard drive.
Booted computer
started Gparted - it kept scanning for 5 minutes and I gave up. I don't think it wasn't going to stop; the same with:
root@crunchbang:~# mount -t ext4 /dev/sdb1 /mnt
Code:
root@crunchbang:~# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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: 0xf7be7ce0
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 61442047 30720000 7 HPFS/NTFS/exFAT
/dev/sda2 61444094 976773119 457664513 5 Extended
/dev/sda5 61444096 163844095 51200000 83 Linux
/dev/sda6 163846144 966533119 401343488 83 Linux
/dev/sda7 966535168 976773119 5118976 82 Linux swap / Solaris
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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: 0x8d568d56
Device Boot Start End Blocks Id System
/dev/sdb1 2048 488394751 244196352 83 Linux
I also did some reading, and some of these devices need proprietary drivers supplied my the manufacturer. I have no idea if this is the case with this device. Best advice I can give here is to look at the documentation that came with the system.
If you need guidance on how to look at the kernel config, or if the module is loaded, post that request. I'll see if I can help.
# Controllers with non-SFF native interface
#
CONFIG_SATA_AHCI=m
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_SATA_INIC162X is not set
CONFIG_SATA_ACARD_AHCI=m
CONFIG_SATA_SIL24=m
CONFIG_ATA_SFF=y
nothing in /proc/modules for ahci.ko
root@crunchbang:~#
Code:
modprobe ahci.ko
FATAL: Module ahci.ko not found.
I don't know where the modules are located, not that familiar with drivers.
Turned on dock and hooked in usb after 10 min
gparted found device: ext4 /dev/sdf1
unable to mount with gparted
gparted had a warning label, not sure what that is for. It said filesystem was clean
Code:
root@crunchbang:/# mount -t ext4 /dev/sdf1 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdf1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Code:
root@crunchbang:/# dmesg|tail
[ 9773.538142] sd 5:0:0:0: [sdf] Add. Sense: No additional sense information
[ 9773.538149] sd 5:0:0:0: [sdf] CDB: Read(10): 28 00 00 00 08 08 00 00 08 00
[ 9773.538161] end_request: I/O error, dev sdf, sector 2056
[ 9773.538168] Buffer I/O error on device sdf1, logical block 1
[17523.359700] sd 5:0:0:0: [sdf] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[17523.359708] sd 5:0:0:0: [sdf] Sense Key : Aborted Command [current]
[17523.359714] sd 5:0:0:0: [sdf] Add. Sense: No additional sense information
[17523.359720] sd 5:0:0:0: [sdf] CDB: Read(10): 28 00 00 00 08 08 00 00 08 00
[17523.359732] end_request: I/O error, dev sdf, sector 2056
[17523.359761] EXT4-fs (sdf1): can't read group descriptor 0
I found these files:
root@crunchbang:~# find / -iname '*ahci.ko*'
/lib/modules/3.2.0-4-486/kernel/drivers/ata/libahci.ko
/lib/modules/3.2.0-4-486/kernel/drivers/ata/acard-ahci.ko
/lib/modules/3.2.0-4-486/kernel/drivers/ata/ahci.ko
Code:
I tried root@crunchbang:~# modprobe ahci.ko
FATAL: Module ahci.ko not found.
How do I find the name of the module to load the driver?
modprobe ahci loaded the driver. Gparted will recognize the drive, but I can't get it to format or mount the drive. Maybe it's the drive that's a problem; I'll have to check into it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.