Re: HEADSUP: KSE support removed from the kernel.

From: Eygene Ryabinkin <rea-fbsd_at_codelabs.ru>
Date: Wed, 12 Mar 2008 15:14:06 +0300
Me again.

Wed, Mar 12, 2008 at 02:51:08PM +0300, Eygene Ryabinkin wrote:
> Wed, Mar 12, 2008 at 12:27:55AM -1000, Jeff Roberson wrote:
> > CURRENT is no longer going to support KSE threaded applications.
> 
> And it broke the Tinderbox, because /usr/src/usr.bin/kdump/mksubr
> produces source file that includes <sys/kse.h>.
> 
> >   Removed files:
> >     sys/kern             kern_kse.c
> >     sys/sys              kse.h
> 
> The following patch worked for me, although I may had missed something:
> -----
> --- mksubr.orig	2008-03-12 14:47:31.000000000 +0300
> +++ mksubr	2008-03-12 14:48:22.000000000 +0300
[...]

Sorry, forgot to include the patch to the kdump.c:
-----
--- kdump.c.orig	2008-03-12 15:11:34.000000000 +0300
+++ kdump.c	2008-03-12 15:11:44.000000000 +0300
_at__at_ -743,12 +743,6 _at__at_
 				mountflagsname ((int)*ip);
 				ip++;
 				narg--;
-			} else if (ktr->ktr_code == SYS_kse_thr_interrupt) {
-				print_number(ip,narg,c);
-				(void)putchar(',');
-				ksethrcmdname ((int)*ip);
-				ip++;
-				narg--;
 			} else if (ktr->ktr_code == SYS_thr_create) {
 				print_number(ip,narg,c);
 				print_number(ip,narg,c);
-----
-- 
Eygene
Received on Wed Mar 12 2008 - 11:14:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:28 UTC