From owner-freebsd-hackers Thu Jul 5 10:57:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 2B82B37B403 for ; Thu, 5 Jul 2001 10:57:41 -0700 (PDT) (envelope-from ticso@mail.cicely.de) Received: from mail.cicely.de (cicely20 [10.1.1.22]) by srv1.cosmo-project.de (8.11.0/8.11.0) with ESMTP id f65HvcV06665; Thu, 5 Jul 2001 19:57:39 +0200 (CEST) Received: (from ticso@localhost) by mail.cicely.de (8.11.0/8.11.0) id f65HwQi09248; Thu, 5 Jul 2001 19:58:26 +0200 (CEST) Date: Thu, 5 Jul 2001 19:58:25 +0200 From: Bernd Walter To: Bernd Walter Cc: "Eugene L. Vorokov" , freebsd-hackers@FreeBSD.ORG Subject: Re: kernel panic when trying to use init's address space Message-ID: <20010705195825.E8794@cicely20.cicely.de> References: <200107051251.f65CpMp03726@bugz.infotecs.ru> <20010705145917.A7717@cicely20.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010705145917.A7717@cicely20.cicely.de>; from ticso@mail.cicely.de on Thu, Jul 05, 2001 at 02:59:17PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jul 05, 2001 at 02:59:17PM +0200, Bernd Walter wrote: > You are mmaping into the address space for the process you use the > struct proc from. > As long as it's this programm that is curproc everything is fine. > That means you are called from that process such in kldload or > interrupted that proccess. > What you need is to use the address space that is common to all > proccess while working in kernel mode not into the proccess specific. > I don't know if it is possible to mmap into that space. Sorry for that bad english and for the massive typos. I hope you understood what I was trying to write. Guess it's bad to enjoy natures sun for to long... Going to back to enjoy sun computers which aren't that critical if used for hours. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message