This is a discussion on Re: Problem compiling graid5 - FreeBSD ; --- Henrik Bergkvist 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 ...
--- Henrik Bergkvistwrote:
> /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
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"