/dev/sga (Linux) SCSI Command Stuff

Larry Rosenman ler at lerctr.org
Tue Apr 3 05:03:08 UTC 2007


the seatools url was in my first post of the thread.

Thanks for jumping in, Eric.

Larry Rosenman
(via mobile)

------- Original Message -------
From: Eric Anderson <anderson at freebsd.org>
To: Larry Rosenman <ler at lerctr.org>
Sent: 4/2/07, 11:17:38 PM
Subject: Re: /dev/sga (Linux) SCSI Command Stuff

On 04/02/07 16:45, Larry Rosenman wrote:
> On Mon, 2 Apr 2007, Roman Divacky wrote:
> 
>> On Mon, Apr 02, 2007 at 04:41:35PM -0500, Larry Rosenman wrote:
>>> On Mon, 2 Apr 2007, Roman Divacky wrote:
>>>
>>>> On Mon, Apr 02, 2007 at 03:50:23PM -0500, Larry Rosenman wrote:
>>>>> On Mon, 2 Apr 2007, Roman Divacky wrote:
>>>>>
>>>>>> On Mon, Apr 02, 2007 at 01:50:13PM -0500, Larry Rosenman wrote:
>>>>>>> Greetings,
>>>>>>>   I was wondering if any of the developers or hackers had ever
>>>>>>>   considered
>>>>>>> making the linux emulation strong enough to run things like Seagate's
>>>>>>> Seatools?
>>>>>>>
>>>>>>>   I have a disk that's reporting a bad sector, and Seagate is insisting
>>>>>>> that I run their software to test it.  Unfortunately, their software is
>>>>>>> Windows or Linux ONLY.
>>>>>>>
>>>>>>>   I'm wondering if there is any chance that we might see enough of the
>>>>>>> emulation to be able to send generic SCSI commands from a linux binary
>>>>>>> on
>>>>>>> a
>>>>>>> FreeBSD box.
>>>>>> netbsd implements plenty of ioctls we don't... by a chance can you test
>>>>>> on
>>>>>> netbsd? and possibly on solaris as we might ste^borrow from them too :)
>>>>> I don't have access to NetBSD or Solaris boxes with Seagate drives in
>>>>> them.
>>>>>
>>>>> Also, we don't (AFAIK) expose /dev/sga to the linux world through the
>>>>> linux-o-lator so I don't even know if what I want is possible.
>>>> hehe.. guess what.. netbsd supports that :) at least partially. so PLEASE
>>>> test the netbsd somehow so we know that the netbsd support is sufficient
>>> The box is 150+ miles away stuffed in a colo.  It's also my main DNS / Mail
>>> /
>>> Web server.
>>>
>>> Sorry, but I don't think I can do that, at least with the scsi drive.
>>>
>>> I do have a new box coming that will have Seagate SATA drives, and might be
>>> able to test that.....
>> I am in a good mood so I guess I'll port the stuff from netbsd tomorrow. it looks
>> very easy. I hope you will test :)
>>
>> going to bed now :)
> 
> I'd need a RELENG_6 patch :)
> 
> If you can do that for amd64, I'll test and see what seatools does with/to it.
> 
> Thanks!
> 
>> roman
>>
> 


I have a Seagate drive (several actually) in a -CURRENT box I can test 
with.  Feel free to point the patch to me, and I'll take a look.  A 
quick pointer to download the seatools for linux would save me a few 
mins though.  :)


Eric




More information about the freebsd-emulation mailing list