From owner-freebsd-stable@FreeBSD.ORG Sat Jul 5 08:28:08 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0375C37B401; Sat, 5 Jul 2003 08:28:08 -0700 (PDT) Received: from cvsup.no.freebsd.org (c2h5oh.idi.ntnu.no [129.241.103.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6246544013; Sat, 5 Jul 2003 08:28:06 -0700 (PDT) (envelope-from Tor.Egge@cvsup.no.freebsd.org) Received: from localhost (localhost [127.0.0.1])h65FS2r5038020; Sat, 5 Jul 2003 15:28:02 GMT (envelope-from tegge@cvsup.no.freebsd.org) To: das@FreeBSD.ORG From: Tor.Egge@cvsup.no.freebsd.org In-Reply-To: <20030630211657.GA2899@HAL9000.homeunix.com> References: <9paKSGHVcW++EwV8@lap.knigma.org> <+MharcpC5IA$Ewil@lap.knigma.org> <20030630211657.GA2899@HAL9000.homeunix.com> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sat_Jul__5_15:25:25_2003_809)--" Content-Transfer-Encoding: 7bit Message-Id: <20030705152801D.tegge@cvsup.no.freebsd.org> Date: Sat, 05 Jul 2003 15:28:01 GMT Sender: Tor Egge X-Dispatcher: imput version 20000228(IM140) Lines: 45 cc: freebsd-stable@FreeBSD.ORG cc: markk@knigma.org Subject: Re: Kernel core dump in recent 4.8-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2003 15:28:08 -0000 ----Next_Part(Sat_Jul__5_15:25:25_2003_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit > The only interesting commit I see in that range is Tor's process > leader sharing work. Cc'ing him. That commit broke kernel modules depending on the layout of struct proc. Since recompiling the kernel module isn't an option for third party binary modules, the new p_fdtol variable should be moved to the end of struct proc. - Tor Egge ----Next_Part(Sat_Jul__5_15:25:25_2003_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="procfix.diff" Index: sys/sys/proc.h =================================================================== RCS file: /home/ncvs/src/sys/sys/proc.h,v retrieving revision 1.99.2.9 diff -u -r1.99.2.9 proc.h --- sys/sys/proc.h 6 Jun 2003 20:21:32 -0000 1.99.2.9 +++ sys/sys/proc.h 5 Jul 2003 15:19:37 -0000 @@ -129,7 +129,6 @@ /* substructures: */ struct pcred *p_cred; /* Process owner's identity. */ struct filedesc *p_fd; /* Ptr to open files structure. */ - struct filedesc_to_leader *p_fdtol; /* Ptr to tracking node */ struct pstats *p_stats; /* Accounting/statistics (PROC ONLY). */ struct plimit *p_limit; /* Process limits. */ struct vm_object *p_upages_obj;/* Upages object */ @@ -245,6 +244,7 @@ struct proc *p_leader; struct pasleep p_asleep; /* Used by asleep()/await(). */ void *p_emuldata; /* process-specific emulator state data */ + struct filedesc_to_leader *p_fdtol; /* Ptr to tracking node */ }; #define p_session p_pgrp->pg_session ----Next_Part(Sat_Jul__5_15:25:25_2003_809)----