From owner-freebsd-amd64@FreeBSD.ORG Sun Dec 3 10:14:26 2006 Return-Path: X-Original-To: amd64@freebsd.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1027216A416; Sun, 3 Dec 2006 10:14:26 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8AEE43CAF; Sun, 3 Dec 2006 10:13:54 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id kB3AEIcb022411 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 3 Dec 2006 11:14:18 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id kB3AEIXP022410; Sun, 3 Dec 2006 11:14:18 +0100 (CET) Date: Sun, 3 Dec 2006 11:14:18 +0100 From: Divacky Roman To: Boris Samorodov Message-ID: <20061203101418.GA20731@stud.fit.vutbr.cz> References: <20061202160740.55046cc3@Magellan.Leidinger.net> <68623948@bsam.ru> <15016603_-_@bsam.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15016603_-_@bsam.ru> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: amd64@freebsd.org, Alexander Leidinger , current@freebsd.org Subject: Re: [panic] Re: small heads-up: Syncing amd64 GENERIC with i386 GENERIC (removing LINUX stuff) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2006 10:14:26 -0000 On Sun, Dec 03, 2006 at 02:18:28AM +0300, Boris Samorodov wrote: > On Sat, 02 Dec 2006 22:40:51 +0300 Boris Samorodov wrote: > > > On Sat, 2 Dec 2006 16:07:40 +0100 Alexander Leidinger wrote: > > > > the linux module is now usable on amd64 (thanks to kib@ and his commit > > > to the kernel linker in HEAD). > > > Cvsupped a couple of hours ago my amd64-current, rebuilt/reinstalled > > world/kernel. The kernel is GENERIC without COMPAT_LINUX32, LINPROCFS, > > LINSYSFS. But linux.ko hadn't been built. Should I cvsup once more or > > did I miss something? > > > I'd tested kib@ patches (about two weeks ago) and noticed that linux > > kernel module can't be unloaded _after_ mounting/unmounting linprocfs, > > linsysfs or linux devfs. Can anybody confirm? > > OK, after cvsup and rebuild/install kernel I do: > > # kldload linux > # kldload linsysfs > # kldunload linsysfs > > and get a reprodusable panic: 1) if you have linux "module" built statically in kernel can you reproduce this panic by kldload linsysfs && kldunload linsysfs? 2) plain kldload linux && kldunload linux doesnt trigger any panic? thnx roman