LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-24-2013, 02:57 PM   #1
DarkLogix
LQ Newbie
 
Registered: Jul 2013
Posts: 16

Rep: Reputation: Disabled
Newb wants some help with Esata target mode


I'm wanting to setup a device as a iscsi initiator and a esata target

per
http://marc.info/?l=linux-ide&m=127424955114646&w=2

the device I've bought (awaiting delivery) should be able to do it but I'm told I need to rebuild the kernel with some changes (and I don't know how)

Could someone that's more well versed with linux help me with this project?

the device I'll be using is a CUbox
http://www.solid-run.com/cubox

and I've found a source for dealing with the esata crossover (one place that'll make the cable and I'm also going to make a pcb crossover)
 
Old 07-24-2013, 04:26 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,404

Rep: Reputation: Disabled
Until a few minutes ago, I had no idea you could put a SATA port in "target mode". This sounds like a very interesting project.

I found a slightly old thread on the linux-ide mailing list about SATA Target Mode, and the consensus then seemed to be that it should be possible with most if not all SATA chipsets, but that documentation is lacking and none of the current SATA drivers support it.

You could try posting a question to that list and see if anything has changed in the last 18 months.
 
Old 07-24-2013, 04:36 PM   #3
DarkLogix
LQ Newbie
 
Registered: Jul 2013
Posts: 16

Original Poster
Rep: Reputation: Disabled
Well the post I linked the person posted the drivers to do it, just no the how to.

I e-mailed him and he said it'd been along time but that it involves replacing the native sata driver in the kernal and a few other things

Quote:
"Just a short note that I managed to get the code working with 88SX7042

PCI-e on a "normal" PC using JMicron JMB363 (AHCI) as initiator. For now
I disabled mvChannelNotConnectedStateHandler completly, as it removes
SATA channel before connection is established. The patch is quite short:-)"

the sata contoller in 510 (dove) is very similar to the on in 7042, so it should work, but that won't be straightforward, please try to get Rabeeh's help with that.
Quote:
that's not as easy as that, you need to disable the kernel sata driver sata_mv.c, port the sata target driver to your kernel, and then do the modification I mentioned before.
So I think with this info I just need a little how to to complete it
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newb wants some help with Esata target mode DarkLogix Linux - Newbie 0 07-25-2013 08:44 PM
eSATA to eSATA server link Gazzonyx Linux - Server 2 07-08-2007 07:45 PM
Linux Fireware Target Disk Mode jpc82 Linux - Hardware 4 04-23-2007 10:39 AM
compiling qla2x00 in target mode vatson Linux - Newbie 1 07-10-2006 11:06 AM
eSATA hd using an eSATA PCI card on SuSE possible? aldimeneira Linux - Hardware 0 06-01-2006 02:15 PM


All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration