[PATCH] Add locking to twe(4) so it no longer uses Giant

Mike Tancsa mike at sentex.net
Thu Aug 9 12:23:04 UTC 2012


On 8/8/2012 2:39 PM, Mike Tancsa wrote:
> On 8/8/2012 7:27 AM, John Baldwin wrote:
>>> Looks like it breaks 3dm2 and the tw_cli.  With the patch, I am not able
>>> to see the 8006 controller I added.
>>
>> Ugh, ok.  A few questions:
>>
>> 1) Does the driver see any attached drives/volumes?
> 
> Yes
> 
>>
>> 2) If it does, does basic I/O to the drives work?
> 
> yes
> 
>>
>> 3) Can you add some debugging printfs to twe_ioctl() to see what, if anything,
>>    fails in that routine when tw_cli makes a request?
> 
> Yes, for sure. Let me know what you would like me to add.

One more data point, /dev/twe0 does not exist with the patch and I think
thats why the utils fail outright.

	---Mike

-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/


More information about the freebsd-current mailing list