Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Nov 2007 23:08:23 +0100
From:      Henrik Bergkvist <henrik@mdfnet.se>
To:        freebsd-current@freebsd.org
Subject:   Re: Problem compiling graid5
Message-ID:  <47323757.8080205@mdfnet.se>
In-Reply-To: <686330.58425.qm@web30307.mail.mud.yahoo.com>
References:  <686330.58425.qm@web30307.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Arne Wörner wrote:
> --- Henrik Bergkvist <henrik@mdfnet.se> wrote:
>   
>> /usr/src/sys/modules/geom/geom_raid5/../../../geom/raid5/g_raid5.c: In 
>> function 'g_raid5_workerD':
>>
>> FreeBSD internet.mds.mdh.se 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Wed Nov  7 
>> 17:25:09 CET 2007     
>>
>> Does anybody know what to do?
>>
>>     
> Hmm... It seems like, in 7-CUR it isnt
>         ...sched_lock...
> anymore, but
> 	thread_lock(curthread);
> 	sched_prio(curthread, PRIBIO);
> 	thread_unlock(curthread);
>
> I substituted that (with an "#if ...version >= 700...") in all three (TOS, TNG,
> PP) versions and on perforce (I hope I did it right... I cannot test it myself
> right now, because I dont have a FBSD box here...)...
>
> Thank u for testing...
>
> -Arne
>   
Now it's working. Thank you.

But when doing graid5 load and then graid5 unload i get:
graid5: Could not unload module: Device busy.

Doesn't matter that much to me, but didn't that work before?


/Henrik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47323757.8080205>