From owner-freebsd-amd64@FreeBSD.ORG Sun Dec 3 14:09:04 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 0BA4016A412; Sun, 3 Dec 2006 14:09:04 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E5E743CAC; Sun, 3 Dec 2006 14:08:35 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([83.239.48.195]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id kB3E8TkZ038707; Sun, 3 Dec 2006 17:08:40 +0300 (MSK) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GqrzJ-0000Cz-4E; Sun, 03 Dec 2006 17:06:37 +0300 To: Divacky Roman References: <20061202160740.55046cc3@Magellan.Leidinger.net> <68623948@bsam.ru> <15016603_-_@bsam.ru> <20061203101418.GA20731@stud.fit.vutbr.cz> From: Boris Samorodov Date: Sun, 03 Dec 2006 17:06:37 +0300 In-Reply-To: <20061203101418.GA20731@stud.fit.vutbr.cz> (Divacky Roman's message of "Sun, 3 Dec 2006 11:14:18 +0100") Message-ID: <91817778@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov 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 14:09:04 -0000 On Sun, 3 Dec 2006 11:14:18 +0100 Divacky Roman wrote: > 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? The same panic. > 2) plain kldload linux && kldunload linux doesnt trigger any panic? Plain kld(un)load linux works fine. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve