Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: floppy on March 16, 2012, 01:10:04 AM

Title: (solved) Dockstation for SATA HDD not recognized; how to make it working?
Post by: floppy on March 16, 2012, 01:10:04 AM
Hello,
I have received the dockstation -- Xystec Klon-Festplatten-Dock "DSU-3525.Copy" für 2,5 & 3,5" SATA-HDDs --.
a) With CoreLinux 4.3, when I connect it (with a 500GB HDD in it) to an eSATA connector of a PCI card, nothing is recognized with mntool (no new message is seen in dmesg).
b) When I connect the same dockstation with HDD in it, to an USB connector to my PC, dmesg show:
...
[   11.338763] usbcore: registered new interface driver oss_usb
[   76.997302] usb 1-8: USB disconnect, device number 4
[  110.840032] usb 1-8: new high speed USB device number 5 using ehci_hcd
[  110.965044] scsi9 : usb-storage 1-8:1.0
[  111.964039] scsi 9:0:0:0: Direct-Access     WDC WD50 00AAKS-007AA0         PQ: 0 ANSI: 2 CCS
[  111.964885] sd 9:0:0:0: Attached scsi generic sg3 type 0
[  111.966030] sd 9:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[  111.966778] sd 9:0:0:0: [sdc] Write Protect is off
[  111.966787] sd 9:0:0:0: [sdc] Mode Sense: 34 00 00 00
[  111.967524] sd 9:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[  111.975276]  sdc: unknown partition table
[  111.977909] sd 9:0:0:0: [sdc] Attached SCSI disk
...
which is better than a). When I click on "Refresh" of the mntool, I see the dockstation try to be contacted, but dont appear as new sdx in mntool. I think few modules are missing for recognizing the dockstation.
So, can somebody help and inform how to make it recognized with corelinux?
I will further search but any quick advise is welcome.
My first target is
a) use that dockstation and connect the HDD 500GB to my PC with eSATA
b) format the HDD with ext4
c) put all data on it
d) create 1x per month a backup with that dockstation
Title: Re: Dockstation for SATA HDD not recognized; how to make it working?
Post by: curaga on March 16, 2012, 01:16:40 AM
The "sdc: unknown partition table" may just be because it has no partition table, it should be ok to create one on sdc if it has no data. Use fdisk or one of the extensions.

On the eSata, did you connect it with the power off or when running? Maybe something doesn't support hotplug, and it needs to be connected offline.
Title: Re: Dockstation for SATA HDD not recognized; how to make it working?
Post by: floppy on March 16, 2012, 03:14:17 AM
The "sdc: unknown partition table" may just be because it has no partition table, it should be ok to create one on sdc if it has no data. Use fdisk or one of the extensions.
gparted will do it?

On the eSata, did you connect it with the power off or when running? Maybe something doesn't support hotplug, and it needs to be connected offline.
I made the power on at the dockstation (with the HDD in it); then switched the PC on. So there was no hotplug. I will make an hotplug event later (switch the dockstation on when the PC is already booted) and will post any result. For the reason this is the first time Im using it, it could be an HW issue (but the dockstation is new).
Title: Re: Dockstation for SATA HDD not recognized; how to make it working?
Post by: curaga on March 16, 2012, 03:32:38 AM
Yeah, gparted is ok.
Title: Re: Dockstation for SATA HDD not recognized; how to make it working?
Post by: floppy on March 18, 2012, 09:45:29 AM
Yeah, gparted is ok.
the HDD in the dockstation is recognized now in case of connection with USB (I created a MBR; ext4 format; with gparted).
The HDD is sill not recognized with the esata connector (which is on a PCI card):
- in case the dokstation is connected before PC boots: nothing
- in case the dockstation is switched on after the pc is booted: nothing
I will further dig in the subject.
eSATA driver not ok for that card? (I've seen different issues in the internet regarding eSATA drivers in the kernel)
Connector issue? Dockstation issue?
Title: Re: Dockstation for SATA HDD not recognized; how to make it working?
Post by: gerald_clark on March 18, 2012, 09:59:52 AM
Check your SATA card manual.  You may have to jumper the SATA port to use the ESATA connector instead of the internal connector.
Title: Re: Dockstation for SATA HDD not recognized; how to make it working?
Post by: floppy on March 18, 2012, 02:01:54 PM
Check your SATA card manual.  You may have to jumper the SATA port to use the ESATA connector instead of the internal connector.
yes sir. Thanks. The HDD is at the eSATA connector now.
...
[    1.606725] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.633815] ata6.00: ATA-8: WDC WD5000AAKS-007AA0, 05.01D05, max UDMA/133
[    1.633820] ata6.00: 976773168 sectors, multi 0: LBA48
[    1.647137] ata6.00: configured for UDMA/133
[    1.647279] scsi 5:0:0:0: Direct-Access     ATA      WDC WD5000AAKS-0 05.0 PQ: 0 ANSI: 5
[    1.647454] sd 5:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[    1.647501] sd 5:0:0:0: Attached scsi generic sg2 type 0
[    1.647570] sd 5:0:0:0: [sdb] Write Protect is off
[    1.647577] sd 5:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    1.647636] sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.655843]  sdb: sdb1
[    1.656167] sd 5:0:0:0: [sdb] Attached SCSI disk
...