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

From: Mike Tancsa <mike_at_sentex.net>
Date: Thu, 09 Aug 2012 15:28:31 -0400
On 8/9/2012 1:21 PM, John Baldwin wrote:
> 
> Humm, I wonder if this module has a mix of old and new .o files somehow?
> Perhaps try rebuilding twe.ko from scratch after doing a 'make clean'?

I think you are right. I nuked all the kernel files and recompiled
again, and it no longer panics and I see the entry in /dev now!?




0{offsite2}# kldload twe
twe0: <3ware Storage Controller. Driver version 1.50.01.002> port
0x2000-0x200f mem 0xe2810000-0xe281000f,0xe2000000-0xe27fffff at device
0.0 on pci6
twe0: [GIANT-LOCKED]
twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048
twe0: Calling make_dev()
twe0: make_dev() returned 0xfffffe0122105200 (twe0)
twed0 on twe0
twed0: 953878MB (1953542144 sectors)
0{offsite2}#

	---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/
Received on Thu Aug 09 2012 - 17:28:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:29 UTC