From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 19 11:34:16 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B2BE16A47E for ; Mon, 19 Jun 2006 11:34:16 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C13943D5C for ; Mon, 19 Jun 2006 11:34:08 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from doc.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1FsI12-000InM-67; Mon, 19 Jun 2006 15:34:00 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FsI2M-0001IJ-6D; Mon, 19 Jun 2006 15:35:22 +0400 To: Divacky Roman References: <1150272035.1475.3.camel@klamath.irbis.net.ru> <20060615094739.hqtxz7jadcw0cg0o@netchild.homeip.net> <1150365953.1475.12.camel@klamath.irbis.net.ru> <61903339@bs2.sp34.ru> <20060615225737.5ce67d1b@Magellan.Leidinger.net> <1150406814.1475.22.camel@klamath.irbis.net.ru> <20060617115606.35e71dfa@Magellan.Leidinger.net> <1150540976.1475.32.camel@klamath.irbis.net.ru> <20060617110756.GA90752@stud.fit.vutbr.cz> <69065245@srv.sem.ipt.ru> <38662196@srv.sem.ipt.ru> From: Boris Samorodov Date: Mon, 19 Jun 2006 15:35:22 +0400 In-Reply-To: <38662196@srv.sem.ipt.ru> (Boris Samorodov's message of "Mon, 19 Jun 2006 00:45:31 +0400") Message-ID: <81530949@srv.sem.ipt.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 Cc: Yuri Pankov , Alexander Leidinger , freebsd-emulation Subject: Re: amd64 module of linuxolator X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 11:34:16 -0000 On Mon, 19 Jun 2006 00:45:31 +0400 Boris Samorodov wrote: > On Sun, 18 Jun 2006 18:24:18 +0400 Boris Samorodov wrote: > > On Sat, 17 Jun 2006 13:07:56 +0200 Divacky Roman wrote: > > > On Sat, Jun 17, 2006 at 02:42:56PM +0400, Yuri Pankov wrote: > > > > On Sat, 2006-06-17 at 11:56 +0200, Alexander Leidinger wrote: > > > > > Modify /usr/src/sys/modules to contain > > > > > _linprocfs= linprocfs > > > > > _linsysfs= linsysfs > > > > > in the > > > > > .if ${MACHINE_ARCH} == "amd64" > > > > > section and build the kernel again. Please report back if it works. > > > > The build fails with: > > > > /usr/src/sys/compat/linprocfs/linprocfs.c:91:36: > > > > machine/../linux/linux.h: No such file or directory > > > www.stud.fit.vutbr.cz/~xdivac02/linux-fs.patch [1] > > > pls try this patch.. I commited this to my p4 branch and I just need the > > > testing if it loads/works (compilation is ok) > > The patch was applied against -current cvs cleanly except the first > > hunk. Thanks to Alexander (quoted) I did it by hand. > > After building/installing the kernel all went well. The only change I > > did to GENERIC was deletting of the option LINPROCFS. New kernel was > > loaded and linprocfs was able to be loaded/unloaded. > > Seems that a patch created against -current cvs tree may be safely > > committed. Thanks! > Hm. While testing the patch [1] together with the one Roman calls > linuxolator patch I got a panic (on AMD64). The kernel is GENERIC with > deleted: > options COMPAT_LINUX32 > options LINPROCFS > options LINSYSFS > Loading/unloading of linux.ko and linprocfs.ko works like a > charm. Loading of linsysfs works either. But unloading of linsysfs > gives a panic when I logged via ssh. I see a panic message on the > screen of the testing machine but the system does not respord to > keyboard. If I do unloading of linsysfs on the console the system just > hangs without any messages. In both cases only reset button helps. I've got another panic but I'm not sure if it is caused by those patches. I've been testing a new patch for FC4 port on amd64. Building went fine, so did installing (linuxolator hadn't been loaded at boot time but was autoloaded when installing the port). Package building, make deinstall, pkg_add and pkg_delete went fine. But while "make reinstall" the process stopped (it was a remote ssh session) after pkg-message: ----- [skip] Let your lists for hosts, passwd and group be resolved via nsswitch.conf: passwd: files nis shadow: files nis group: files nis hosts: files dns nis Read from remote host amd64.sem.ipt.ru: Operation timed out ----- The screen of testing machine is (600K): http://www.ipt.ru/screen/DSCN0072.JPG WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider