Re: RFC [patch] README.passthrough v1 (2nd send)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 19, 2010 at 9:47 AM, Nicholas A. Bellinger
<nab@xxxxxxxxxxxxxxx> wrote:
> On Wed, 2010-08-18 at 19:44 +1000, Mark Harvey wrote:
>> Nicholas A. Bellinger wrote:
>> > On Tue, 2010-08-17 at 21:41 +1000, Mark Harvey wrote:
>> >
>> >> I've also attached the patch as well as inline.
>> >>
>> >> Cheers
>> >> Mark
>> >>
>> >> >From 07e7587991912d9225f2b273d140558048157b7d Mon Sep 17 00:00:00 2001
>> >> From: Mark Harvey <markh794@xxxxxxxxx>
>> >> Date: Fri, 6 Aug 2010 17:06:51 +1000
>> >> Subject: Initial documentation for configuring passthrough mode
>> >>
>> >> Signed-off-by: Mark Harvey <markh794@xxxxxxxxx>
>> >> ---
>> >>  doc/README.passthrough |  190 ++++++++++++++++++++++++++++++++++++++++++++++++
>> >>  1 files changed, 190 insertions(+), 0 deletions(-)
>> >>
>> >>
>> >
>> > Mark,
>> >
>> > I just wanted to say thanks for putting these docs together for STGT
>> > SG_IO passthrough.   Good work!
>> >
>> > I did notice that they where missing a mention of the BSG passthrough,
>> > which functions more or else exactly the same aside from --bstype=bsg
>> > and of course a proper BSG path.  Would you mind adding a small section
>> > to your docs for this too..?
>> >
>> > Best,
>> >
>> > --nab
>> >
>> Thanks for the feedback.
>>
>> I'll make the changes.
>>
>> Do you / can you advise on the requirement to get 'bsg' working ?
>>
>> I'm running Ubuntu x86_64 (2.6.31-22-generic #61-Ubuntu SMP) kernel -
>> Hopefully that's late enough for bsg.
>> $ ls -l /dev/bsg*
>> ls: cannot access /dev/bsg*: No such file or directory
>>
>
> Hmmm strange..  Checking on Fedora 11 (v2.6.30), RHEL6 B1 (v2.6.32),
> OpenSuse 11.2 (v2.6.31), SLES 11 (v2.6.27), and Debian Lenny VMs
> (v2.6.35 from lio-core-2.6.git/lio-4.0), and I do see the
> proper /dev/bsg/H:C:T:L device nodes matching the available struct
> scsi_device.
>
> However, I do recall one seing the BSG H:C:T:L device nodes appear
> in /dev/ instead of /dev/bsg/ before.  I don't recall on which
> environment this was, but I think it may have been some version of
> Ubuntu..?
>
> Just to double check on your system, a 'cat /proc/kallsyms | grep bsg'
> produces symbols for the kernel built-in BSG kernel code, yes..?
>
> Best,
>
> --nab

Many thanks for the pointers..

Found an SLES-11 VM with bsg.. I'll update the doc now I've got
something to test.
Also allow me to put in 'how to identify if your OS has bsg configured' :)

Next Q. if I may.
Do you / can anybody on this list offer a short (one liner?) summary
of advantages of bsg over sg ?
I'll now hit google with the Q too..

Cheers
Mark
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux