From owner-freebsd-emulation@FreeBSD.ORG Sun May 14 03:34:09 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 BF80516A403 for ; Sun, 14 May 2006 03:34:09 +0000 (UTC) (envelope-from bendix@cfl.rr.com) Received: from ms-smtp-05.tampabay.rr.com (ms-smtp-05.tampabay.rr.com [65.32.5.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id C149D43D5D for ; Sun, 14 May 2006 03:34:08 +0000 (GMT) (envelope-from bendix@cfl.rr.com) Received: from razor.chota.org (251.250.121.70.cfl.res.rr.com [70.121.250.251]) by ms-smtp-05.tampabay.rr.com (8.13.6/8.13.6) with ESMTP id k4E3Y6na005859 for ; Sat, 13 May 2006 23:34:07 -0400 (EDT) Date: Sat, 13 May 2006 23:34:06 -0400 From: bendix To: freebsd-emulation@freebsd.org Message-ID: <20060513233406.2ea524f9@razor.chota.org> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: vmware causing system panic? 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: Sun, 14 May 2006 03:34:09 -0000 I'm having issues with VMWare causing a panic. I can't find any posts in the mailing lists concerning this so here is my email. My system runs stable except for when I use VMWare. I've been using VMWare for the past several months without incident. However, since I updated the VMWare port in the past week, I think it has been causing my system to panic. VMWare seems to be the only constant thing every time it does panic, so I'm assuming that is the cause. While running VMWare I get the following messages in the console: razor kernel: linux: pid 2065 (vmware): ioctl fd=9, cmd=0x1268 ('',104) is not implemented Also that is the last entry in the log before the panic. The only other entries I see in the logs in reference to VMWare is about loading vmmon except for the following: kernel: vmmon: Vmx86_ReleaseVM: unlocked pages: 195015, unlocked dirtypages: 143294 Which I think is complaining about VMWare not being shutdown properly? Here is my system info: # uname -a FreeBSD razor.chota.org 6.1-STABLE FreeBSD 6.1-STABLE #2: Fri May 12 20:40:51 EDT 2006 root@razor.chota.org:/usr/src/sys/i386/compile/razor i386 # ls /var/db/pkg | egrep '(linux_base|vmware)' drwxr-xr-x 2 root wheel 512 May 12 21:23 linux_base-8-8.0_14/ drwxr-xr-x 2 root wheel 512 May 12 21:23 vmware3-3.2.1.2242_13,1/ Any ideas as to what is causing this or how to fix it? Thanks. From owner-freebsd-emulation@FreeBSD.ORG Sun May 14 05:08:50 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 8C83016A401 for ; Sun, 14 May 2006 05:08:50 +0000 (UTC) (envelope-from bde@zeta.org.au) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE79843D46 for ; Sun, 14 May 2006 05:08:49 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout2.pacific.net.au (Postfix) with ESMTP id 76ED016DFD4; Sun, 14 May 2006 15:08:48 +1000 (EST) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4E58jgp005472; Sun, 14 May 2006 15:08:46 +1000 Date: Sun, 14 May 2006 15:08:45 +1000 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Juergen Lock In-Reply-To: <20060513163240.GA97099@saturn.kn-bremen.de> Message-ID: <20060514132829.H72413@delplex.bde.org> References: <1147403789.1034.9.camel@localhost.eu.mscsoftware.com> <200605122110.k4CLALRc074542@saturn.kn-bremen.de> <20060513102437.O68801@delplex.bde.org> <20060513163240.GA97099@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-emulation@FreeBSD.org Subject: Re: QEMU 0.8.1 and -kernel-kqemu: stalls with "npxdna: fpcurthread == curthread" 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: Sun, 14 May 2006 05:08:50 -0000 On Sat, 13 May 2006, Juergen Lock wrote: > On Sat, May 13, 2006 at 11:34:31AM +1000, Bruce Evans wrote: >> On Fri, 12 May 2006, Juergen Lock wrote: > ... >>> So you think kqemu is doing something wrong? The problem is _k_qemu is >> >> Most likely. It could be triggering triggering a bug in the kernel proper, >> but I can't see how it could do this without doing something wrong. >> >>> closed source and afaik the author doesnt use freebsd, the inner >>> workings of it are in a binary blob that gets linked into a kld and it >>> runs guest code (including kernel code with -kernel-kqemu) in kernel >>> space on the host cpu. You can see the freebsd-specific parts in >>> /usr/ports/emulators/kqemu-kmod/work/kqemu-1.3.0pre7/kqemu-freebsd.c >>> (after doing make in the port's dir) - could this be patched there? >> >> Probably not. I couldn't see any floating point there or in a disassembly >> of the module. A stack trace would show what used floating point, but >> might not locate the problem exactly, depending on what used it. Now I've found SSE2 code in the amd64 version. It seems to be harmless but points to possible causes of the problem. We compile modules with -mno-sse2, etc., to prevent use of SSE2, etc., but on amd64 SSE2 code still gets generated to copy xmm[0-7] in va_start(). This shouldn't be a problem since args should never be passed in xmm[0-7]. (On amd64, the first few args are passed in xmm[0-7]; %al gives the count of such args and va_start(ap, fmt) copies that many args to ap.) The problem is more likely that something else is not compiled with -mno-sse2, etc. > Its probably guest code (code running on the emulated cpu) that kqemu > runs (kqemu_exec()) that is using the fpu. How does code in qemu get into the kernel? Or are we mainly talking about FreeBSD being run under emulation and not FreeBSD running the emulation? I can see CR0 in kqemu.h but not anything that sets it. I can see CR0 and CR_TS being managed a lot (all under emulation?) in qemu but not in kqemu. > Could we simply assume that kqemu_exec() will always use the fpu > and do the necessary things before calling it in kqemu-freebsd.c? > (and what would those be exactly?) If that is the only problem area then it may be enough to just ensure a consistent state. But I don't understand the context switches here. > Btw it seems the ndisulator has a similar problem sometimes: > http://docs.freebsd.org/cgi/mid.cgi?20051110023940.1785116A420 This is for amd64 too. Bruce From owner-freebsd-emulation@FreeBSD.ORG Sun May 14 12:30:56 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 B548316A406 for ; Sun, 14 May 2006 12:30:56 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id E74D443D5C for ; Sun, 14 May 2006 12:30:54 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5DEE5.dip.t-dialin.net [84.165.222.229]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4ECKqVH020282; Sun, 14 May 2006 14:20:52 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4ECUerZ076652; Sun, 14 May 2006 14:30:41 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sun, 14 May 2006 14:31:46 +0200 From: Alexander Leidinger To: freebsd-emulation@freebsd.org Message-ID: <20060514143146.1ac34790@Magellan.Leidinger.net> In-Reply-To: <17694687@srv.sem.ipt.ru> References: <20060513142543.GE21437@xor.obsecurity.org> <17694687@srv.sem.ipt.ru> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: Kris Kennaway Subject: Re: [ports-i386@FreeBSD.org: linux_base-fc-3_3 failed on i386 5] 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: Sun, 14 May 2006 12:30:56 -0000 Quoting Boris Samorodov (Sat, 13 May 2006 20:30:08 +0400): > On Sat, 13 May 2006 10:25:43 -0400 Kris Kennaway wrote: > > > FYI; can you please investigate and/or report to the developers? If > > you are already aware of this problem but do not yet have a fix, > > please mark the port BROKEN in the appropriate case, so that users do > > not unexpectedly encounter it. > > The patch is available and is sent to netchild to review. Regarding the distinfo I was faster... :-) But I forgot the EXTRACT_ONLY, so I will commit this part today. Bye, Alexander. -- Press every key to continue. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-emulation@FreeBSD.ORG Sun May 14 14:30:47 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 44B1C16A411 for ; Sun, 14 May 2006 14:30:47 +0000 (UTC) (envelope-from mag@intron.ac) Received: from smtp.263.net (263.net.cn [211.150.96.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76BDA43D45 for ; Sun, 14 May 2006 14:30:46 +0000 (GMT) (envelope-from mag@intron.ac) Received: from secure (unknown [127.0.0.1]) by smtp.263.net (Postfix) with SMTP id 76DECF0D2B for ; Sun, 14 May 2006 22:30:48 +0800 (CST) X-KSVirus-check: 0 References: <200605121602.k4CG2BrS074784@secure.cfins.au.tsinghua.edu.cn> <26677501@srv.sem.ipt.ru> <82026267@srv.sem.ipt.ru> In-Reply-To: <82026267@srv.sem.ipt.ru> From: mag@intron.ac To: freebsd-emulation@freebsd.org Date: Sun, 14 May 2006 00:25:26 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-Id: <20060514143048.76DECF0D2B@smtp.263.net> Subject: Re: Mozilla-linux-gtk1 doesn't work with linux-xorg-libs 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: Sun, 14 May 2006 14:30:47 -0000 Actually, I had tried "truss". But when I saw mozilla-bin hung up by ioctl(4, FIOREAD, ...) after much output, I felt lost. Experience is so important. Boris Samorodov wrote: > On Sat, 13 May 2006 11:15:15 +0800 mag@intron.ac wrote: > >> The RPM "xorg-x11-deprecated-libs" takes its effects! Both >> Firefox-linux-gtk2 1.0.7 and Mozilla-linux-gtk1 work now. Thanks, Boris. > > Glad to hear it. Thank you for your feedback. > >> Actually, quite a few days ago, I had found that Firefox-linux-gtk2 >> 1.0.7 reported that it requires "libXp.so.*" while Mozilla-linux-gtk1 >> hung up quietly only. But since I prefer Mozilla-linux-gtk1 for its better >> display of both oriental and western language fonts and eager to solve it, >> I ignored Firefox-linux-gtk2 1.0.7's prompt. > >> Boris, could you tell me how you found that Mozilla-linux-gtk1 also >> needs "libXp.so.*" though it keeps quiet for that? It seems that only >> "libgfxxprint.so" and "libgfx_gtk.so" needs "libXp.so.*". On the other >> hand "firefox-bin" (version 1.0.7) needs "libXp.so.*" itself and dynamic >> linker can report on lacking of "libXp.so.*". > > I used ktrace/kdump and realized that bad things did occure when > libXp.so was not found. Then I used google with "libxp.so" > keyword. Second link was to the fedoracore forum where the problem > (since FC3) and the solution was showed. Then it wasn't too hard to > find the needed rpm at MASTER_SITE_FEDORA_LINUX. ;-) > >> I have modified Boris's patch to avoid forcing user to install >> source RPM. See attachment in this mail. > > Actually, yes, the patch I sent you was not very clean. First of all I > tried to solve the problem to you, and the patch was not intended to > go to CVS without cleaning. > > I cleaned it and was waiting for your feedback to send my cleaned > version of the patch to Alexander. Now I'm doing it. > > Mag, your patch is good. Hence, you may not use "if defined > PACKAGE_BUILDING" because it is already at bsd.linux-rpm.mk. > >> Alexander, I believe you may commit Boris's patch now. > > Alexander, here is the patch I propose to commit. > >> P.S. current "x11/linux-xorg-libs" is just from Fedora Core 4 while >> the focused port "emulators/linux_base-fc3" is part of Fedora Core 3. > > Yea, now I understand what did you mean by "(FC3 and 4)". > > > WBR > -- > Boris B. Samorodov, Research Engineer > InPharmTech Co, http://www.ipt.ru > Telephone & Internet Service Provider ------------------------------------------------------------------------ From Beijing, China From owner-freebsd-emulation@FreeBSD.ORG Sun May 14 15:22:21 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 80F7A16A416 for ; Sun, 14 May 2006 15:22:21 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id B481D43D45 for ; Sun, 14 May 2006 15:22:20 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4EFMG2N019078 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 14 May 2006 17:22:16 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id k4EFMG5T019076; Sun, 14 May 2006 17:22:16 +0200 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.3/8.13.1) with ESMTP id k4EFKanI025248; Sun, 14 May 2006 17:20:36 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.3/8.13.1/Submit) id k4EFKZiv025247; Sun, 14 May 2006 17:20:35 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 14 May 2006 17:20:35 +0200 To: Bruce Evans Message-ID: <20060514152034.GA25076@saturn.kn-bremen.de> Mail-Followup-To: Bruce Evans , freebsd-emulation@FreeBSD.org, Fabrice Bellard References: <1147403789.1034.9.camel@localhost.eu.mscsoftware.com> <200605122110.k4CLALRc074542@saturn.kn-bremen.de> <20060513102437.O68801@delplex.bde.org> <20060513163240.GA97099@saturn.kn-bremen.de> <20060514132829.H72413@delplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060514132829.H72413@delplex.bde.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-emulation@FreeBSD.org, Fabrice Bellard Subject: Re: QEMU 0.8.1 and -kernel-kqemu: stalls with "npxdna: fpcurthread == curthread" 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: Sun, 14 May 2006 15:22:21 -0000 [Fabrice: this is from a thread thats been going on freebsd-emulation: http://lists.freebsd.org/pipermail/freebsd-emulation/2006-May/002081.html It is about the FreeBSD kernel complaining about kqemu using the fpu.] On Sun, May 14, 2006 at 03:08:45PM +1000, Bruce Evans wrote: > On Sat, 13 May 2006, Juergen Lock wrote: > > >On Sat, May 13, 2006 at 11:34:31AM +1000, Bruce Evans wrote: > >>On Fri, 12 May 2006, Juergen Lock wrote: > >... > >>>So you think kqemu is doing something wrong? The problem is _k_qemu is > >> > >>Most likely. It could be triggering triggering a bug in the kernel > >>proper, > >>but I can't see how it could do this without doing something wrong. > >> > >>>closed source and afaik the author doesnt use freebsd, the inner > >>>workings of it are in a binary blob that gets linked into a kld and it > >>>runs guest code (including kernel code with -kernel-kqemu) in kernel > >>>space on the host cpu. You can see the freebsd-specific parts in > >>>/usr/ports/emulators/kqemu-kmod/work/kqemu-1.3.0pre7/kqemu-freebsd.c > >>>(after doing make in the port's dir) - could this be patched there? > >> > >>Probably not. I couldn't see any floating point there or in a disassembly > >>of the module. A stack trace would show what used floating point, but > >>might not locate the problem exactly, depending on what used it. > > Now I've found SSE2 code in the amd64 version. It seems to be harmless > but points to possible causes of the problem. We compile modules with > -mno-sse2, etc., to prevent use of SSE2, etc., but on amd64 SSE2 code > still gets generated to copy xmm[0-7] in va_start(). This shouldn't > be a problem since args should never be passed in xmm[0-7]. (On amd64, > the first few args are passed in xmm[0-7]; %al gives the count of such > args and va_start(ap, fmt) copies that many args to ap.) The problem > is more likely that something else is not compiled with -mno-sse2, etc. > > >Its probably guest code (code running on the emulated cpu) that kqemu > >runs (kqemu_exec()) that is using the fpu. > > How does code in qemu get into the kernel? Well, Fabrice knows more about this than I. :) > Or are we mainly talking about > FreeBSD being run under emulation and not FreeBSD running the emulation? no > I can see CR0 in kqemu.h but not anything that sets it. I can see CR0 and > CR_TS being managed a lot (all under emulation?) in qemu but not in kqemu. > > >Could we simply assume that kqemu_exec() will always use the fpu > >and do the necessary things before calling it in kqemu-freebsd.c? > >(and what would those be exactly?) > > If that is the only problem area then it may be enough to just ensure a > consistent state. But I don't understand the context switches here. > > >Btw it seems the ndisulator has a similar problem sometimes: > > http://docs.freebsd.org/cgi/mid.cgi?20051110023940.1785116A420 > > This is for amd64 too. > > Bruce From owner-freebsd-emulation@FreeBSD.ORG Sun May 14 21:17:40 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 D79B616A411; Sun, 14 May 2006 21:17:40 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09AF343D49; Sun, 14 May 2006 21:17:39 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4ELHcOV031257 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 14 May 2006 23:17:38 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id k4ELHcQJ031255; Sun, 14 May 2006 23:17:38 +0200 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.3/8.13.1) with ESMTP id k4ELEBf9003818; Sun, 14 May 2006 23:14:11 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.3/8.13.1/Submit) id k4ELEAtc003817; Sun, 14 May 2006 23:14:10 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 14 May 2006 23:14:09 +0200 To: Igor Kovalenko Message-ID: <20060514211409.GA3776@saturn.kn-bremen.de> Mail-Followup-To: Igor Kovalenko , freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Gleb Smirnoff References: <20060427203718.GA15953@saturn.kn-bremen.de> <445241DE.9020909@mail.ru> <20060428221142.GA11504@saturn.kn-bremen.de> <44530C50.6040902@mail.ru> <20060430004646.GA70632@saturn.kn-bremen.de> <4458277F.4010902@mail.ru> <20060506152059.GA33481@saturn.kn-bremen.de> <445D092E.2040501@mail.ru> <20060507164230.GA63540@saturn.kn-bremen.de> <445E5C3B.405@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <445E5C3B.405@mail.ru> User-Agent: Mutt/1.4.2.1i Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Gleb Smirnoff Subject: Re: playing with qemu's 8139 nic and FreeBSD (loopback mode missing? 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: Sun, 14 May 2006 21:17:41 -0000 On Mon, May 08, 2006 at 12:44:43AM +0400, Igor Kovalenko wrote: > Hi Juergen, > > Juergen Lock wrote: > > On Sun, May 07, 2006 at 12:38:06AM +0400, Igor Kovalenko wrote: > >> Hi Juergen, > >> > >> Juergen Lock wrote: > >>> [Cc'ing glebius@ because he did most of the recent re(4) commits, and > >>> -current in case possible other driver developers didn't see this thread > >>> in -emulation] > >>> > >>> On Wed, May 03, 2006 at 07:46:07AM +0400, Igor Kovalenko wrote: > >>>> Juergen Lock wrote: > >>>>> On Sat, Apr 29, 2006 at 10:48:48AM +0400, Igor Kovalenko wrote: > >>>>>> Juergen Lock wrote: > >>>>>>> On Fri, Apr 28, 2006 at 08:25:02PM +0400, Igor Kovalenko wrote: > >>>>>>>> Juergen Lock wrote: > >>>>>>>>> I played with > >>>>>>>>> qemu -monitor stdio -m 256 -cdrom 6.1-RC1-i386-disc1.iso > >>>>>>>>> -usb -soundhw es1370 -kernel-kqemu -net nic,model=rtl8139 > >>>>>>>>> -net user > >>>>>>>>> and got it as far as > >>>>>>>>> re0: diagnostic failed, failed to receive packet in loopback > >>>>>>>>> mode > >>>>>>>>> (followed by a panic :) with the (experimental) patches below. > >>>>>>>>> > >>>>>>>>> Anyone in the mood to implement loopback mode for this nic? > >>>>>>>>> > >>>>>>>>> Hmm actually... I just found the original posting in the archive, > >>>>>>>>> is C+ mode implemented now? If not re is probably not what I want, > >>>>>>>> The rtl8139 is set up with PCI rev ID 0x20 which should be enough for > >>>>>>>> OS driver > >>>>>>>> to detect C+ mode features. C+ mode is OK, tested with Linux driver. > >>>>>>> Cool, so I want FreeBSD's re driver. That one checks TxConfig > >>>>>>> tho, as changed in my patch (inside #if 0). And when changed, > >>>>>>> it still doesn't work as mentioned above because the driver expects > >>>>>>> loopback mode to be working. > >>>>>>>>> but the rl driver that it attaches without that #if 0'd (now) hunk > >>>>>>>>> below doesnt seem to be able to get data thru either and I get > >>>>>>>>> rl0: watchdog timeout > >>>>>>>>> in dmesg, which usually means the driver doesnt receive interrupts. > >>>>>>>>> > >>>>>>>>> What the heck, I'll append a log of a run just doing in > >>>>>>>>> fixit->cdrom: > >>>>>>>>> ifconfig rl0 10.0.2.15 > >>>>>>>>> and then exiting (which is enough to trigger the watchdog timeout...) > >>>>>>>>> > >>>>>>>> I'm too lasy to test with fresh freebsd installation :) > >>>>>>> No need to install FreeBSD, you can get away by just using > >>>>>>> fixit mode of an install iso, i.e. disc1. (which actually is > >>>>>>> what I did above. :) > >>>>>>> > >>>>>>> You can look at 6.1RC's re driver here: > >>>>>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c?annotate=1.46.2.14 > >>>>>>> which includes: > >>>>>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_rlreg.h?annotate=1.51.2.3 > >>>>>>> > >>>>>>> And 6.1RC disc1 iso is e.g. here: > >>>>>>> ftp://ftp.ru.freebsd.org:/pub/FreeBSD/ISO-IMAGES-i386/6.1/6.1-RC1-i386-disc1.iso > >>>>>>> > >>>>>>> > >>>>>> Thanks, that iso pointer made it. > >>>>>> > >>>>> :) > >>>>> > >>>>>> Please try the following on top of your patch, at least ping should now > >>>>>> work: > >>>>> Thanks, that seems to get the rl driver going. Now to fix C+ mode > >>>>> (re driver) change the #if 0 in my patch to #if 1... > >>>>> > >>>>> > >>>> I believe freebsd re driver is somewhat broken, e.g. it does not follow > >>>> documented > >>>> procedure to detect hardware features (e.g. 8139 c+ mode) > >>> Hmm, a bit of googling didn't reveal docs about this, do you have > >>> a pointer? (I only found the data sheet at > >>> http://people.freebsd.org/~wpaul/RealTek/spec-8139cp(150).pdf > >>> which doesnt seem to mention detecting c+ hardware specifically) > >> Well, I might have misread some docs; please do not consider this as an > >> assault :) > >> I remember PCI rev id >= 0x20 is C+ mode for realtek 8139. > > > > I don't. It may well be the doc you saw this in just is no longer > > online, or I didn't came up with the right search terms... > >>>> and in tries to use 8169 > >>>> registers (e.g. 0xda) on 8139 hardware etc. > >>> Oh, then it must have mis-detected the nic as a 8169 because > >>> the code in question reads: > >>> > >>> if (sc->rl_type == RL_8169) > >>> CSR_WRITE_2(sc, RL_MAXRXPKTLEN, 16383); > > > > And with your patch i get > > RTL8139: not implemented write(b) addr=0xda val=0x00 > > but that can't be this line anyway because it seems to be a byte access... > > Any of the re(4) experts have an idea where this comes from? > > (log generated by defining DEBUG_RTL8139 in the patched hw/rtl8139.c) > > > > I see the re driver actually is doing 2 byte write at RL_TXSTART so the second > byte goes to RL_MAXRXPKTLEN. Comment in if_rlreg.h says RL_TXSTART is 8bit > so this is a bug in if_re.c line 2063 > > This is not affecting qemu's card emulation (the extra byte write is ignored) > so I think the problem is somewhere else. I finally got around to playing with this a bit again, the following patch gets ping and small fetch (http) going but is not enough for scp: Index: hw/rtl8139.c @@ -1008,15 +1038,22 @@ val = cpu_to_le32(rxdw1); cpu_physical_memory_write(cplus_rx_ring_desc+4, (uint8_t *)&val, 4); - /* seek to next Rx descriptor */ - if (rxdw0 & CP_RX_EOR) - { - s->currCPlusRxDesc = 0; - } - else - { - ++s->currCPlusRxDesc; - } +#ifdef DEBUG_RTL8139 + printf("RTL8139: +++ written C+ mode RX descriptor %d %08x %08x %08x %08x\n", + descriptor, + rxdw0, rxdw1, rxbufLO, rxbufHI); +#endif + /* seek to next Rx descriptor unless in loopback mode */ + if (!(TxLoopBack == (s->TxConfig & TxLoopBack))) { + if (rxdw0 & CP_RX_EOR) + { + s->currCPlusRxDesc = 0; + } + else + { + ++s->currCPlusRxDesc; + } + } #if defined(DEBUG_RTL8139) printf("RTL8139: done C+ Rx mode ----------------\n"); From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 00:47:46 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 7914016A404; Mon, 15 May 2006 00:47:46 +0000 (UTC) (envelope-from garrison@mail.ru) Received: from umail.ru (umail.mtu.ru [195.34.32.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA5A543D45; Mon, 15 May 2006 00:47:43 +0000 (GMT) (envelope-from garrison@mail.ru) Received: from [85.140.125.18] (HELO skyserv) by umail.ru (CommuniGate Pro SMTP 4.2b6) with ESMTP-TLS id 670475448; Mon, 15 May 2006 04:47:41 +0400 Received: from localhost ([127.0.0.1]) by skyserv with esmtp (Exim 4.61) (envelope-from ) id 1FfRFM-0002fn-Pa; Mon, 15 May 2006 04:47:40 +0400 Message-ID: <4467CFAC.9070902@mail.ru> Date: Mon, 15 May 2006 04:47:40 +0400 From: Igor Kovalenko User-Agent: Thunderbird 1.5.0.2 (X11/20060505) MIME-Version: 1.0 To: nox@jelal.kn-bremen.de, freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Gleb Smirnoff References: <20060427203718.GA15953@saturn.kn-bremen.de> <445241DE.9020909@mail.ru> <20060428221142.GA11504@saturn.kn-bremen.de> <44530C50.6040902@mail.ru> <20060430004646.GA70632@saturn.kn-bremen.de> <4458277F.4010902@mail.ru> <20060506152059.GA33481@saturn.kn-bremen.de> <445D092E.2040501@mail.ru> <20060507164230.GA63540@saturn.kn-bremen.de> <445E5C3B.405@mail.ru> <20060514211409.GA3776@saturn.kn-bremen.de> In-Reply-To: <20060514211409.GA3776@saturn.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: playing with qemu's 8139 nic and FreeBSD (loopback mode missing? 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, 15 May 2006 00:47:46 -0000 Juergen Lock wrote: > On Mon, May 08, 2006 at 12:44:43AM +0400, Igor Kovalenko wrote: >> Hi Juergen, >> >> Juergen Lock wrote: >>> On Sun, May 07, 2006 at 12:38:06AM +0400, Igor Kovalenko wrote: >>>> Hi Juergen, >>>> >>>> Juergen Lock wrote: >>>>> [Cc'ing glebius@ because he did most of the recent re(4) commits, and >>>>> -current in case possible other driver developers didn't see this thread >>>>> in -emulation] >>>>> >>>>> On Wed, May 03, 2006 at 07:46:07AM +0400, Igor Kovalenko wrote: >>>>>> Juergen Lock wrote: >>>>>>> On Sat, Apr 29, 2006 at 10:48:48AM +0400, Igor Kovalenko wrote: >>>>>>>> Juergen Lock wrote: >>>>>>>>> On Fri, Apr 28, 2006 at 08:25:02PM +0400, Igor Kovalenko wrote: >>>>>>>>>> Juergen Lock wrote: >>>>>>>>>>> I played with >>>>>>>>>>> qemu -monitor stdio -m 256 -cdrom 6.1-RC1-i386-disc1.iso >>>>>>>>>>> -usb -soundhw es1370 -kernel-kqemu -net nic,model=rtl8139 >>>>>>>>>>> -net user >>>>>>>>>>> and got it as far as >>>>>>>>>>> re0: diagnostic failed, failed to receive packet in loopback >>>>>>>>>>> mode >>>>>>>>>>> (followed by a panic :) with the (experimental) patches below. >>>>>>>>>>> >>>>>>>>>>> Anyone in the mood to implement loopback mode for this nic? >>>>>>>>>>> >>>>>>>>>>> Hmm actually... I just found the original posting in the archive, >>>>>>>>>>> is C+ mode implemented now? If not re is probably not what I want, >>>>>>>>>> The rtl8139 is set up with PCI rev ID 0x20 which should be enough for >>>>>>>>>> OS driver >>>>>>>>>> to detect C+ mode features. C+ mode is OK, tested with Linux driver. >>>>>>>>> Cool, so I want FreeBSD's re driver. That one checks TxConfig >>>>>>>>> tho, as changed in my patch (inside #if 0). And when changed, >>>>>>>>> it still doesn't work as mentioned above because the driver expects >>>>>>>>> loopback mode to be working. >>>>>>>>>>> but the rl driver that it attaches without that #if 0'd (now) hunk >>>>>>>>>>> below doesnt seem to be able to get data thru either and I get >>>>>>>>>>> rl0: watchdog timeout >>>>>>>>>>> in dmesg, which usually means the driver doesnt receive interrupts. >>>>>>>>>>> >>>>>>>>>>> What the heck, I'll append a log of a run just doing in >>>>>>>>>>> fixit->cdrom: >>>>>>>>>>> ifconfig rl0 10.0.2.15 >>>>>>>>>>> and then exiting (which is enough to trigger the watchdog timeout...) >>>>>>>>>>> >>>>>>>>>> I'm too lasy to test with fresh freebsd installation :) >>>>>>>>> No need to install FreeBSD, you can get away by just using >>>>>>>>> fixit mode of an install iso, i.e. disc1. (which actually is >>>>>>>>> what I did above. :) >>>>>>>>> >>>>>>>>> You can look at 6.1RC's re driver here: >>>>>>>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c?annotate=1.46.2.14 >>>>>>>>> which includes: >>>>>>>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_rlreg.h?annotate=1.51.2.3 >>>>>>>>> >>>>>>>>> And 6.1RC disc1 iso is e.g. here: >>>>>>>>> ftp://ftp.ru.freebsd.org:/pub/FreeBSD/ISO-IMAGES-i386/6.1/6.1-RC1-i386-disc1.iso >>>>>>>>> >>>>>>>>> >>>>>>>> Thanks, that iso pointer made it. >>>>>>>> >>>>>>> :) >>>>>>> >>>>>>>> Please try the following on top of your patch, at least ping should now >>>>>>>> work: >>>>>>> Thanks, that seems to get the rl driver going. Now to fix C+ mode >>>>>>> (re driver) change the #if 0 in my patch to #if 1... >>>>>>> >>>>>>> >>>>>> I believe freebsd re driver is somewhat broken, e.g. it does not follow >>>>>> documented >>>>>> procedure to detect hardware features (e.g. 8139 c+ mode) >>>>> Hmm, a bit of googling didn't reveal docs about this, do you have >>>>> a pointer? (I only found the data sheet at >>>>> http://people.freebsd.org/~wpaul/RealTek/spec-8139cp(150).pdf >>>>> which doesnt seem to mention detecting c+ hardware specifically) >>>> Well, I might have misread some docs; please do not consider this as an >>>> assault :) >>>> I remember PCI rev id >= 0x20 is C+ mode for realtek 8139. >>> I don't. It may well be the doc you saw this in just is no longer >>> online, or I didn't came up with the right search terms... >>>>>> and in tries to use 8169 >>>>>> registers (e.g. 0xda) on 8139 hardware etc. >>>>> Oh, then it must have mis-detected the nic as a 8169 because >>>>> the code in question reads: >>>>> >>>>> if (sc->rl_type == RL_8169) >>>>> CSR_WRITE_2(sc, RL_MAXRXPKTLEN, 16383); >>> And with your patch i get >>> RTL8139: not implemented write(b) addr=0xda val=0x00 >>> but that can't be this line anyway because it seems to be a byte access... >>> Any of the re(4) experts have an idea where this comes from? >>> (log generated by defining DEBUG_RTL8139 in the patched hw/rtl8139.c) >>> >> I see the re driver actually is doing 2 byte write at RL_TXSTART so the second >> byte goes to RL_MAXRXPKTLEN. Comment in if_rlreg.h says RL_TXSTART is 8bit >> so this is a bug in if_re.c line 2063 >> >> This is not affecting qemu's card emulation (the extra byte write is ignored) >> so I think the problem is somewhere else. > > I finally got around to playing with this a bit again, the following > patch gets ping and small fetch (http) going but is not enough for scp: > > Index: hw/rtl8139.c > @@ -1008,15 +1038,22 @@ > val = cpu_to_le32(rxdw1); > cpu_physical_memory_write(cplus_rx_ring_desc+4, (uint8_t *)&val, 4); > > - /* seek to next Rx descriptor */ > - if (rxdw0 & CP_RX_EOR) > - { > - s->currCPlusRxDesc = 0; > - } > - else > - { > - ++s->currCPlusRxDesc; > - } > +#ifdef DEBUG_RTL8139 > + printf("RTL8139: +++ written C+ mode RX descriptor %d %08x %08x %08x %08x\n", > + descriptor, > + rxdw0, rxdw1, rxbufLO, rxbufHI); > +#endif > + /* seek to next Rx descriptor unless in loopback mode */ > + if (!(TxLoopBack == (s->TxConfig & TxLoopBack))) { > + if (rxdw0 & CP_RX_EOR) > + { > + s->currCPlusRxDesc = 0; > + } > + else > + { > + ++s->currCPlusRxDesc; > + } > + } > > #if defined(DEBUG_RTL8139) > printf("RTL8139: done C+ Rx mode ----------------\n"); > > That is strange; I must be missing docs pointer about loopback mode operation again. What makes you believe that RX descriptor should not advance in loopback mode? -- Kind regards, Igor V. Kovalenko From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 11:02:40 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 C83AB16A407 for ; Mon, 15 May 2006 11:02:40 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E2AC43D53 for ; Mon, 15 May 2006 11:02:40 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4FB2ef7075144 for ; Mon, 15 May 2006 11:02:40 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4FB2dfp075138 for freebsd-emulation@freebsd.org; Mon, 15 May 2006 11:02:39 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 15 May 2006 11:02:39 GMT Message-Id: <200605151102.k4FB2dfp075138@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 15 May 2006 11:02:40 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow f [2002/11/07] kern/45023 emulation [linux] [patch] flexlm does not run with o [2005/02/19] kern/77710 emulation [linux] Linux page fault sigcontext infor 3 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1999/04/16] kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with o [2001/08/14] kern/29698 emulation [linux] [patch] linux ipcs doesn'work o [2002/06/12] kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLIN o [2002/08/11] kern/41543 emulation [patch] feature request: easier wine/w23 o [2003/08/21] kern/55835 emulation [linux] [patch] Linux IPC emulation missi a [2004/10/20] kern/72920 emulation [linux]: path "prefixing" is not done on o [2004/11/10] kern/73777 emulation [linux] [patch] linux emulation: root dir f [2005/10/17] ports/87571 emulation java/jdk15: Port-Installation Java 1.5 Fr o [2006/01/04] kern/91293 emulation [svr4] [patch] *Experimental* Update to t 9 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 12:05:20 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 423BC16A4F4 for ; Mon, 15 May 2006 12:05:20 +0000 (UTC) (envelope-from andreas.kohn@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 532B143D45 for ; Mon, 15 May 2006 12:05:19 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: (qmail invoked by alias); 15 May 2006 11:47:51 -0000 Received: from unknown (EHLO klamath) [212.204.44.203] by mail.gmx.net (mp034) with SMTP; 15 May 2006 13:47:51 +0200 X-Authenticated: #2431876 From: Andreas Kohn To: Pre- O-- In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-9fm7F8c0DoLaFo0sxUMD" Date: Mon, 15 May 2006 13:47:49 +0200 Message-Id: <1147693669.6107.11.camel@klamath> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Cc: freebsd-emulation@freebsd.org, freebsd-alpha@freebsd.org Subject: linux-base_ac2 experimental port [was: Re: linux_base] 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, 15 May 2006 12:05:20 -0000 --=-9fm7F8c0DoLaFo0sxUMD Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, On Sun, 2006-05-14 at 11:53 +0200, Pre- O-- wrote: > Hi, >=20 > I am trying to set up an AlphaServer with FreeBSD 6.1 >=20 > I would like to use compaq-cc (from the ports collection), > but it depends on the linux_base_8 port. > This port does not work on the Alpha platform. >=20 > Can you help we how can I install Linux compatibility under > FreeBSD 6.1 (for Alpha). >=20 You can find a very experimental port for an AlphaCore 2 linux base=20 port at http://andreas.syndrom23.de/svn/projects/ports/trunk/emulators/linux-base-a= c2/ This is based on the existing fc3 port. This port should install a working linux base, but I did not find a linux-needing port to fully test it. I'd be delighted to know if it works for you. Cross posted to freebsd-emulation@, basically to solicit comments if any such port would be helpful as long as alpha "support" exists in FreeBSD 5.x/6.x. -- Andreas --=-9fm7F8c0DoLaFo0sxUMD Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEaGplYucd7Ow1ygwRAtg4AKCeHPau2LPIO8quaeP7AlrORjBF4QCdEy5g tTKl/ealX2HnqBTBvRBmPto= =l4VX -----END PGP SIGNATURE----- --=-9fm7F8c0DoLaFo0sxUMD-- From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 12:22:14 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 05E8316A5B7; Mon, 15 May 2006 12:22:14 +0000 (UTC) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 087DE43D72; Mon, 15 May 2006 12:22:11 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 144A5997B0C; Mon, 15 May 2006 14:22:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xkkXkVMcZS-Y; Mon, 15 May 2006 14:22:01 +0200 (CEST) Received: from [192.168.2.186] (catv-5062e7e3.catv.broadband.hu [80.98.231.227]) by server.t-hosting.hu (Postfix) with ESMTP id C03E099796F; Mon, 15 May 2006 14:22:01 +0200 (CEST) Message-ID: <44687266.4030906@t-hosting.hu> Date: Mon, 15 May 2006 14:21:58 +0200 From: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Andreas Kohn References: <1147693669.6107.11.camel@klamath> In-Reply-To: <1147693669.6107.11.camel@klamath> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Pre- O-- , freebsd-emulation@freebsd.org, freebsd-alpha@freebsd.org Subject: Re: linux-base_ac2 experimental port [was: Re: linux_base] 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, 15 May 2006 12:22:14 -0000 Andreas Kohn wrote: > Hi, > > On Sun, 2006-05-14 at 11:53 +0200, Pre- O-- wrote: > >> Hi, >> >> I am trying to set up an AlphaServer with FreeBSD 6.1 >> >> I would like to use compaq-cc (from the ports collection), >> but it depends on the linux_base_8 port. >> This port does not work on the Alpha platform. >> >> Can you help we how can I install Linux compatibility under >> FreeBSD 6.1 (for Alpha). >> >> > > You can find a very experimental port for an AlphaCore 2 linux base > port at > http://andreas.syndrom23.de/svn/projects/ports/trunk/emulators/linux-base-ac2/ > This is based on the existing fc3 port. > > This port should install a working linux base, but I did not find a > linux-needing port to fully test it. I'd be delighted to know if it > works for you. > > Cross posted to freebsd-emulation@, basically to solicit comments if any > such port would be helpful as long as alpha "support" exists in FreeBSD > 5.x/6.x. > > -- > Andreas > emulators/linux_base-gentoo-stage1 is available for Alpha as well. Gabor Kovesdan From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 13:33:14 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 53E6316A6D3; Mon, 15 May 2006 13:33:14 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 577E643D45; Mon, 15 May 2006 13:33:12 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D814.dip.t-dialin.net [84.165.216.20]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4FDMuiS030693; Mon, 15 May 2006 15:22:57 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4FDWvjS092283; Mon, 15 May 2006 15:32:57 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 15 May 2006 15:32:57 +0200 Message-ID: <20060515153257.mi8hpxbz4088k0kc@netchild.homeip.net> X-Priority: 3 (Normal) Date: Mon, 15 May 2006 15:32:57 +0200 From: Alexander Leidinger To: Andreas Kohn References: <1147693669.6107.11.camel@klamath> In-Reply-To: <1147693669.6107.11.camel@klamath> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: Pre- O-- , freebsd-emulation@freebsd.org, freebsd-alpha@freebsd.org Subject: Re: linux-base_ac2 experimental port [was: Re: linux_base] 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, 15 May 2006 13:33:14 -0000 Quoting Andreas Kohn (from Mon, 15 May 2006 13:47:49 +0200): > Cross posted to freebsd-emulation@, basically to solicit comments if any > such port would be helpful as long as alpha "support" exists in FreeBSD > 5.x/6.x. With my experience (no response at all) after posting a "does someone use the linuxolator on alpha, if yes can you test -current" I doubt it will be really useful. But if you want it to be committed (for those handful of people which run alpha and may decide to try an old linux program just for fun), I can do that (please make sure it is marked IGNORE on >=7). Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Famous, adj.: Conspicuously miserable. -- Ambrose Bierce From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 16:50:44 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 B459016AFF1; Mon, 15 May 2006 16:50:44 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [209.204.185.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id A056043D79; Mon, 15 May 2006 16:50:41 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 50A86294BB; Mon, 15 May 2006 09:50:41 -0700 (PDT) To: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Date: Mon, 15 May 2006 09:50:41 -0700 From: Bakul Shah Message-Id: <20060515165041.50A86294BB@mail.bitblocks.com> Cc: Subject: linux emulation file descriptor leakage -current? 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, 15 May 2006 16:50:45 -0000 This is what happens when I start skype (NOTE: this is *not* limited to skype -- I see the same problem with a thunderbird linux binary but linux-firefox & linux-opera work fine). $ skype & $ sudo sh -c " while sleep 3; do lsof |grep skype|wc; done" 4126 38134 495635 4196 38959 499830 4226 39229 502965 4266 39589 507145 4296 39859 510280 4336 40219 514460 4366 40489 517595 4406 40849 521775 4436 41119 524910 4476 41479 529090 4516 41839 533270 4546 42109 536405 4586 42469 540585 ^C Is this a known problem or am I in an alternate universe? I am running -current as of yesterday, with a freshly installed linux_base-8 and skype. But this has been happening for atleast a couple weeks and may be more. Looking at the lsof output, about a third opens are for a directory, two thirds are files. It seems to open over a hundred directories (all of them multiple times)! It opens over 400 files (all multiple times). Many of these files have nothing to do with skype! Doing a truss shows a lot of linux_ioctl() and gettimeofday() on one skype_bin process and linux_times() and linux_time() on another process. Doung ktrace on these processes shows something totally different (all sorts of syscalls). Thanks for any help or hints on how to debug this.... -- bakul From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 17:24:17 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 8E7A816A4CB for ; Mon, 15 May 2006 17:24:17 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id E466043D46 for ; Mon, 15 May 2006 17:24:16 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D814.dip.t-dialin.net [84.165.216.20]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4FHDtjx031474; Mon, 15 May 2006 19:13:56 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4FHNvR1025941; Mon, 15 May 2006 19:23:58 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Mon, 15 May 2006 19:25:05 +0200 From: Alexander Leidinger To: freebsd-emulation@freebsd.org, Bakul Shah Message-ID: <20060515192505.35caef23@Magellan.Leidinger.net> In-Reply-To: <20060515165041.50A86294BB@mail.bitblocks.com> References: <20060515165041.50A86294BB@mail.bitblocks.com> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: Subject: Re: linux emulation file descriptor leakage -current? 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, 15 May 2006 17:24:17 -0000 Quoting Bakul Shah (Mon, 15 May 2006 09:50:41 -0700): > This is what happens when I start skype (NOTE: this is *not* > limited to skype -- I see the same problem with a thunderbird > linux binary but linux-firefox & linux-opera work fine). > > $ skype & > $ sudo sh -c " while sleep 3; do lsof |grep skype|wc; done" > 4126 38134 495635 > 4196 38959 499830 > 4226 39229 502965 > 4266 39589 507145 > 4296 39859 510280 > 4336 40219 514460 > 4366 40489 517595 > 4406 40849 521775 > 4436 41119 524910 > 4476 41479 529090 > 4516 41839 533270 > 4546 42109 536405 > 4586 42469 540585 > ^C > > Is this a known problem or am I in an alternate universe? At least I'm not aware of this. Do you only start skype, or is more work involved (like logging in, or doing a call, and if it involves a call, is it enough to call "echo123")? Are there still open file descriptors after quitting skype? > I am running -current as of yesterday, with a freshly > installed linux_base-8 and skype. But this has been > happening for atleast a couple weeks and may be more. Can you please "portupgrade -fo emulators/linux_base-fc3 linux_base" and try again (fc3 is the upcomming new default linux base)? If the behavior is still the same after this change, please send a PR for this. Bye, Alexander. -- Press every key to continue. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 17:49: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 4DE5E16AB81 for ; Mon, 15 May 2006 17:49:16 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [209.204.185.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9135843D5D for ; Mon, 15 May 2006 17:49:12 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id D0BCF294B9; Mon, 15 May 2006 10:49:11 -0700 (PDT) To: Alexander Leidinger In-reply-to: Your message of "Mon, 15 May 2006 19:25:05 +0200." <20060515192505.35caef23@Magellan.Leidinger.net> Date: Mon, 15 May 2006 10:49:11 -0700 From: Bakul Shah Message-Id: <20060515174911.D0BCF294B9@mail.bitblocks.com> Cc: freebsd-emulation@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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, 15 May 2006 17:49:17 -0000 > Do you only start skype, or is more work involved (like logging in, or > doing a call, and if it involves a call, is it enough to call > "echo123")? Just starting up skype doesn't do this. You have to log in. No need to call anyone. > Are there still open file descriptors after quitting skype? No. > Can you please "portupgrade -fo emulators/linux_base-fc3 linux_base" > and try again (fc3 is the upcomming new default linux base)? Will do. > If the behavior is still the same after this change, please send a PR > for this. ok. Thanks -- bakul From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 18:42:51 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 88B0E16B490; Mon, 15 May 2006 18:42:51 +0000 (UTC) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id F089243D45; Mon, 15 May 2006 18:42:50 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Ffhwq-0000PT-DT; Mon, 15 May 2006 22:37:40 +0400 From: Vladimir Grebenschikov To: Bakul Shah In-Reply-To: <20060515165041.50A86294BB@mail.bitblocks.com> References: <20060515165041.50A86294BB@mail.bitblocks.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Mon, 15 May 2006 22:37:39 +0400 Message-Id: <1147718259.1435.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 18:42:55 -0000 =F7 =D0=CE, 15/05/2006 =D7 09:50 -0700, Bakul Shah =D0=C9=DB=C5=D4: > This is what happens when I start skype (NOTE: this is *not* > limited to skype -- I see the same problem with a thunderbird > linux binary but linux-firefox & linux-opera work fine). same problem with skype here (fresh 7.0-CURRENT + fresh gnome) I was forced to increase kern.maxfiles to make my system alive. > $ skype & > $ sudo sh -c " while sleep 3; do lsof |grep skype|wc; done" > 4126 38134 495635 > 4196 38959 499830 > 4226 39229 502965 > 4266 39589 507145 > 4296 39859 510280 > 4336 40219 514460 > 4366 40489 517595 > 4406 40849 521775 > 4436 41119 524910 > 4476 41479 529090 > 4516 41839 533270 > 4546 42109 536405 > 4586 42469 540585 > ^C >=20 > Is this a known problem or am I in an alternate universe? >=20 > I am running -current as of yesterday, with a freshly > installed linux_base-8 and skype. But this has been > happening for atleast a couple weeks and may be more. >=20 > Looking at the lsof output, about a third opens are for a > directory, two thirds are files. It seems to open over a > hundred directories (all of them multiple times)! It opens > over 400 files (all multiple times). Many of these files > have nothing to do with skype! >=20 > Doing a truss shows a lot of linux_ioctl() and gettimeofday() > on one skype_bin process and linux_times() and linux_time() > on another process. Doung ktrace on these processes shows > something totally different (all sorts of syscalls). >=20 > Thanks for any help or hints on how to debug this.... >=20 > -- bakul > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " --=20 Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 19:16:23 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 0732716B8D7; Mon, 15 May 2006 19:16:21 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id B294A43D5C; Mon, 15 May 2006 19:16:02 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4FJG0SH016770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 15 May 2006 21:16:00 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id k4FJG07A016768; Mon, 15 May 2006 21:16:00 +0200 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.3/8.13.1) with ESMTP id k4FJEMFs009904; Mon, 15 May 2006 21:14:22 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.3/8.13.1/Submit) id k4FJELJi009903; Mon, 15 May 2006 21:14:21 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 15 May 2006 21:14:20 +0200 To: Igor Kovalenko Message-ID: <20060515191420.GA9707@saturn.kn-bremen.de> Mail-Followup-To: Igor Kovalenko , freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Gleb Smirnoff References: <20060428221142.GA11504@saturn.kn-bremen.de> <44530C50.6040902@mail.ru> <20060430004646.GA70632@saturn.kn-bremen.de> <4458277F.4010902@mail.ru> <20060506152059.GA33481@saturn.kn-bremen.de> <445D092E.2040501@mail.ru> <20060507164230.GA63540@saturn.kn-bremen.de> <445E5C3B.405@mail.ru> <20060514211409.GA3776@saturn.kn-bremen.de> <4467CFAC.9070902@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4467CFAC.9070902@mail.ru> User-Agent: Mutt/1.4.2.1i Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Gleb Smirnoff Subject: Re: playing with qemu's 8139 nic and FreeBSD (loopback mode missing? 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, 15 May 2006 19:16:24 -0000 On Mon, May 15, 2006 at 04:47:40AM +0400, Igor Kovalenko wrote: > Juergen Lock wrote: > > On Mon, May 08, 2006 at 12:44:43AM +0400, Igor Kovalenko wrote: > >> Hi Juergen, > >> > >> Juergen Lock wrote: > >>> On Sun, May 07, 2006 at 12:38:06AM +0400, Igor Kovalenko wrote: > >>>> Hi Juergen, > >>>> > >>>> Juergen Lock wrote: > >>>>> [Cc'ing glebius@ because he did most of the recent re(4) commits, and > >>>>> -current in case possible other driver developers didn't see this thread > >>>>> in -emulation] > >>>>> > >>>>> On Wed, May 03, 2006 at 07:46:07AM +0400, Igor Kovalenko wrote: > >>>>>> Juergen Lock wrote: > >>>>>>> On Sat, Apr 29, 2006 at 10:48:48AM +0400, Igor Kovalenko wrote: > >>>>>>>> Juergen Lock wrote: > >>>>>>>>> On Fri, Apr 28, 2006 at 08:25:02PM +0400, Igor Kovalenko wrote: > >>>>>>>>>> Juergen Lock wrote: > >>>>>>>>>>> I played with > >>>>>>>>>>> qemu -monitor stdio -m 256 -cdrom 6.1-RC1-i386-disc1.iso > >>>>>>>>>>> -usb -soundhw es1370 -kernel-kqemu -net nic,model=rtl8139 > >>>>>>>>>>> -net user > >>>>>>>>>>> and got it as far as > >>>>>>>>>>> re0: diagnostic failed, failed to receive packet in loopback > >>>>>>>>>>> mode > >>>>>>>>>>> (followed by a panic :) with the (experimental) patches below. > >>>>>>>>>>> > >>>>>>>>>>> Anyone in the mood to implement loopback mode for this nic? > >>>>>>>>>>> > >>>>>>>>>>> Hmm actually... I just found the original posting in the archive, > >>>>>>>>>>> is C+ mode implemented now? If not re is probably not what I want, > >>>>>>>>>> The rtl8139 is set up with PCI rev ID 0x20 which should be enough for > >>>>>>>>>> OS driver > >>>>>>>>>> to detect C+ mode features. C+ mode is OK, tested with Linux driver. > >>>>>>>>> Cool, so I want FreeBSD's re driver. That one checks TxConfig > >>>>>>>>> tho, as changed in my patch (inside #if 0). And when changed, > >>>>>>>>> it still doesn't work as mentioned above because the driver expects > >>>>>>>>> loopback mode to be working. > >>>>>>>>>>> but the rl driver that it attaches without that #if 0'd (now) hunk > >>>>>>>>>>> below doesnt seem to be able to get data thru either and I get > >>>>>>>>>>> rl0: watchdog timeout > >>>>>>>>>>> in dmesg, which usually means the driver doesnt receive interrupts. > >>>>>>>>>>> > >>>>>>>>>>> What the heck, I'll append a log of a run just doing in > >>>>>>>>>>> fixit->cdrom: > >>>>>>>>>>> ifconfig rl0 10.0.2.15 > >>>>>>>>>>> and then exiting (which is enough to trigger the watchdog timeout...) > >>>>>>>>>>> > >>>>>>>>>> I'm too lasy to test with fresh freebsd installation :) > >>>>>>>>> No need to install FreeBSD, you can get away by just using > >>>>>>>>> fixit mode of an install iso, i.e. disc1. (which actually is > >>>>>>>>> what I did above. :) > >>>>>>>>> > >>>>>>>>> You can look at 6.1RC's re driver here: > >>>>>>>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c?annotate=1.46.2.14 > >>>>>>>>> which includes: > >>>>>>>>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_rlreg.h?annotate=1.51.2.3 > >>>>>>>>> > >>>>>>>>> And 6.1RC disc1 iso is e.g. here: > >>>>>>>>> ftp://ftp.ru.freebsd.org:/pub/FreeBSD/ISO-IMAGES-i386/6.1/6.1-RC1-i386-disc1.iso > >>>>>>>>> > >>>>>>>>> > >>>>>>>> Thanks, that iso pointer made it. > >>>>>>>> > >>>>>>> :) > >>>>>>> > >>>>>>>> Please try the following on top of your patch, at least ping should now > >>>>>>>> work: > >>>>>>> Thanks, that seems to get the rl driver going. Now to fix C+ mode > >>>>>>> (re driver) change the #if 0 in my patch to #if 1... > >>>>>>> > >>>>>>> > >>>>>> I believe freebsd re driver is somewhat broken, e.g. it does not follow > >>>>>> documented > >>>>>> procedure to detect hardware features (e.g. 8139 c+ mode) > >>>>> Hmm, a bit of googling didn't reveal docs about this, do you have > >>>>> a pointer? (I only found the data sheet at > >>>>> http://people.freebsd.org/~wpaul/RealTek/spec-8139cp(150).pdf > >>>>> which doesnt seem to mention detecting c+ hardware specifically) > >>>> Well, I might have misread some docs; please do not consider this as an > >>>> assault :) > >>>> I remember PCI rev id >= 0x20 is C+ mode for realtek 8139. > >>> I don't. It may well be the doc you saw this in just is no longer > >>> online, or I didn't came up with the right search terms... > >>>>>> and in tries to use 8169 > >>>>>> registers (e.g. 0xda) on 8139 hardware etc. > >>>>> Oh, then it must have mis-detected the nic as a 8169 because > >>>>> the code in question reads: > >>>>> > >>>>> if (sc->rl_type == RL_8169) > >>>>> CSR_WRITE_2(sc, RL_MAXRXPKTLEN, 16383); > >>> And with your patch i get > >>> RTL8139: not implemented write(b) addr=0xda val=0x00 > >>> but that can't be this line anyway because it seems to be a byte access... > >>> Any of the re(4) experts have an idea where this comes from? > >>> (log generated by defining DEBUG_RTL8139 in the patched hw/rtl8139.c) > >>> > >> I see the re driver actually is doing 2 byte write at RL_TXSTART so the second > >> byte goes to RL_MAXRXPKTLEN. Comment in if_rlreg.h says RL_TXSTART is 8bit > >> so this is a bug in if_re.c line 2063 > >> > >> This is not affecting qemu's card emulation (the extra byte write is ignored) > >> so I think the problem is somewhere else. > > > > I finally got around to playing with this a bit again, the following > > patch gets ping and small fetch (http) going but is not enough for scp: > > > > Index: hw/rtl8139.c > > @@ -1008,15 +1038,22 @@ > > val = cpu_to_le32(rxdw1); > > cpu_physical_memory_write(cplus_rx_ring_desc+4, (uint8_t *)&val, 4); > > > > - /* seek to next Rx descriptor */ > > - if (rxdw0 & CP_RX_EOR) > > - { > > - s->currCPlusRxDesc = 0; > > - } > > - else > > - { > > - ++s->currCPlusRxDesc; > > - } > > +#ifdef DEBUG_RTL8139 > > + printf("RTL8139: +++ written C+ mode RX descriptor %d %08x %08x %08x %08x\n", > > + descriptor, > > + rxdw0, rxdw1, rxbufLO, rxbufHI); > > +#endif > > + /* seek to next Rx descriptor unless in loopback mode */ > > + if (!(TxLoopBack == (s->TxConfig & TxLoopBack))) { > > + if (rxdw0 & CP_RX_EOR) > > + { > > + s->currCPlusRxDesc = 0; > > + } > > + else > > + { > > + ++s->currCPlusRxDesc; > > + } > > + } > > > > #if defined(DEBUG_RTL8139) > > printf("RTL8139: done C+ Rx mode ----------------\n"); > > > > > > That is strange; I must be missing docs pointer about loopback mode > operation again. What makes you believe that RX descriptor should not > advance in loopback mode? Oh, only that re(4) expects it to be that way. :) It may also be that it gets reset by the turning off of loopback mode or by something else at that time, I dont know... From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 19:29:18 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 97CEE16B86B for ; Mon, 15 May 2006 19:29:18 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [209.204.185.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10DA743D66 for ; Mon, 15 May 2006 19:29:13 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id CDB8F294B9; Mon, 15 May 2006 12:29:12 -0700 (PDT) To: Alexander Leidinger In-reply-to: Your message of "Mon, 15 May 2006 19:25:05 +0200." <20060515192505.35caef23@Magellan.Leidinger.net> Date: Mon, 15 May 2006 12:29:12 -0700 From: Bakul Shah Message-Id: <20060515192912.CDB8F294B9@mail.bitblocks.com> Cc: freebsd-emulation@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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, 15 May 2006 19:29:26 -0000 > Can you please "portupgrade -fo emulators/linux_base-fc3 linux_base" > and try again (fc3 is the upcomming new default linux base)? > > If the behavior is still the same after this change, please send a PR > for this. The behavior is different; it now eats file descriptors at least twice as fast. This just goes to show just how different we are from Microsoft. Even our bugs get faster! Equal and better opportunity for all! Democracy in action! What a countrrrry.... Ok, I'll file a PR. From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 19:45:48 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 D0C1716B913 for ; Mon, 15 May 2006 19:45:48 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE04343D45 for ; Mon, 15 May 2006 19:45:47 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D814.dip.t-dialin.net [84.165.216.20]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4FJZQhZ032050; Mon, 15 May 2006 21:35:27 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4FJjU7V046094; Mon, 15 May 2006 21:45:30 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Mon, 15 May 2006 21:46:38 +0200 From: Alexander Leidinger To: Bakul Shah Message-ID: <20060515214638.04ade411@Magellan.Leidinger.net> In-Reply-To: <20060515192912.CDB8F294B9@mail.bitblocks.com> References: <20060515192505.35caef23@Magellan.Leidinger.net> <20060515192912.CDB8F294B9@mail.bitblocks.com> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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, 15 May 2006 19:45:50 -0000 Quoting Bakul Shah (Mon, 15 May 2006 12:29:12 -0700): > > Can you please "portupgrade -fo emulators/linux_base-fc3 linux_base" > > and try again (fc3 is the upcomming new default linux base)? > > > > If the behavior is still the same after this change, please send a PR > > for this. > > The behavior is different; it now eats file descriptors at > least twice as fast. This just goes to show just how > different we are from Microsoft. Even our bugs get faster! :-D > Equal and better opportunity for all! Democracy in action! > What a countrrrry.... > > Ok, I'll file a PR. Thanks. Bye, Alexander. -- Press every key to continue. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 19:50:14 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 587C116B95D; Mon, 15 May 2006 19:50:14 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [209.204.185.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id C15D143D5A; Mon, 15 May 2006 19:50:09 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 22AF9294BB; Mon, 15 May 2006 12:50:07 -0700 (PDT) To: vova@fbsd.ru In-reply-to: Your message of "Mon, 15 May 2006 22:32:29 +0400." <1147717950.1435.1.camel@localhost> Date: Mon, 15 May 2006 12:50:07 -0700 From: Bakul Shah Message-Id: <20060515195007.22AF9294BB@mail.bitblocks.com> Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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, 15 May 2006 19:50:22 -0000 > same problem with skype here (fresh 7.0-CURRENT + fresh gnome) > I was forced to increase kern.maxfiles to make my system alive. This won't help as skype will eat up all available descriptors. Limiting the descriptors resource in the parent shell of skype prevents it from running away. From owner-freebsd-emulation@FreeBSD.ORG Mon May 15 23:28:13 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 E4C0916A4A7 for ; Mon, 15 May 2006 23:28:13 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [209.204.185.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2F4743D46 for ; Mon, 15 May 2006 23:28:13 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id F1715294B9; Mon, 15 May 2006 16:28:12 -0700 (PDT) To: Alexander Leidinger In-reply-to: Your message of "Mon, 15 May 2006 21:46:38 +0200." <20060515214638.04ade411@Magellan.Leidinger.net> Date: Mon, 15 May 2006 16:28:12 -0700 From: Bakul Shah Message-Id: <20060515232812.F1715294B9@mail.bitblocks.com> Cc: freebsd-emulation@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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, 15 May 2006 23:28:14 -0000 > > Ok, I'll file a PR. I did file a PR via send-pr but I don't see any email back. Looks like it disappeared into thin air -- will file again. Turns out the problem is not limited to skype or thunderbird. I discovered that linux-firefox ate over 8800 descriptors and linux-opera died a suspicious death (on exit it fails to write the state of open windows if it can't get a file descriptor and on restart it loses all the open windows) and I had to dig some more. The following code from linux_stats.c looked dodgy to me so I reverted /sys/{i386/linux,compat/{linux,linprocfs}} to about one month old state and the problem disappears. skype still opens about 296 files but no more. -static void -translate_fd_major_minor(struct thread *td, int fd, struct stat *buf) -{ - struct file *fp; - int error; - int major, minor; - - if ((error = fget(td, fd, &fp)) != 0) - return; - if (fp->f_vnode) { - if (fp->f_vnode->v_type == VCHR - || fp->f_vnode->v_type == VBLK) { - if (fp->f_vnode->v_un.vu_cdev) { - if (linux_driver_get_major_minor( - fp->f_vnode->v_un.vu_cdev->si_name, - &major, &minor) == 0) { - buf->st_rdev = (major << 8 | minor); - } - } - } - } - fdrop(fp, td); -} - -static void -translate_path_major_minor(struct thread *td, char *path, struct stat *buf) -{ - struct file *fp; - int fd; - int temp; - - temp = td->td_retval[0]; - if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0) - return; - fd = td->td_retval[0]; - td->td_retval[0] = temp; - translate_fd_major_minor(td, fd, buf); - fget(td, fd, &fp); - closef(fp, td); -} From owner-freebsd-emulation@FreeBSD.ORG Tue May 16 06:20:11 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 1426C16A42D; Tue, 16 May 2006 06:20:11 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62B7243D45; Tue, 16 May 2006 06:20:09 +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.6/8.13.3) with ESMTP id k4G6K1fW039318 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 16 May 2006 08:20:01 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.6/8.13.3/Submit) id k4G6K0VZ039305; Tue, 16 May 2006 08:20:00 +0200 (CEST) Date: Tue, 16 May 2006 08:20:00 +0200 From: Divacky Roman To: Bakul Shah Message-ID: <20060516062000.GA39198@stud.fit.vutbr.cz> References: <20060515165041.50A86294BB@mail.bitblocks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060515165041.50A86294BB@mail.bitblocks.com> User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.54 on 147.229.10.14 Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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: Tue, 16 May 2006 06:20:11 -0000 On Mon, May 15, 2006 at 09:50:41AM -0700, Bakul Shah wrote: > This is what happens when I start skype (NOTE: this is *not* > limited to skype -- I see the same problem with a thunderbird > linux binary but linux-firefox & linux-opera work fine). > > $ skype & > $ sudo sh -c " while sleep 3; do lsof |grep skype|wc; done" > 4126 38134 495635 > 4196 38959 499830 > 4226 39229 502965 > 4266 39589 507145 > 4296 39859 510280 > 4336 40219 514460 > 4366 40489 517595 > 4406 40849 521775 > 4436 41119 524910 > 4476 41479 529090 > 4516 41839 533270 > 4546 42109 536405 > 4586 42469 540585 > ^C I see something similar when using acroread... it sometimes (typically when opening new file) eats all the free file descriptors and then its killed... roman From owner-freebsd-emulation@FreeBSD.ORG Tue May 16 07:19:30 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 46A6B16A400 for ; Tue, 16 May 2006 07:19:30 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E6E843D4C for ; Tue, 16 May 2006 07:19:28 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5ED34.dip.t-dialin.net [84.165.237.52]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4G78xKX039502; Tue, 16 May 2006 09:09:00 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4G7J9bn046196; Tue, 16 May 2006 09:19:09 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Tue, 16 May 2006 09:19:09 +0200 Message-ID: <20060516091909.n7ml7sspus40oos8@netchild.homeip.net> X-Priority: 3 (Normal) Date: Tue, 16 May 2006 09:19:09 +0200 From: Alexander Leidinger To: Bakul Shah References: <20060515232812.F1715294B9@mail.bitblocks.com> In-Reply-To: <20060515232812.F1715294B9@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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: Tue, 16 May 2006 07:19:30 -0000 Quoting Bakul Shah (from Mon, 15 May 2006 16:28:12 -0700): > The following code from linux_stats.c looked dodgy to me so I > reverted /sys/{i386/linux,compat/{linux,linprocfs}} to about > one month old state and the problem disappears. skype still > opens about 296 files but no more. Can you please do a binary search for the commit which breaks this? Go to a 2 week old current and see if the problem is still there. If it isn't, the problem appeared in the last two weeks, so update to an one week old current (and so on). I think only the kernel needs to be updated. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 frotz /frots/ 1. n. See frobnitz. 2. `mumble frotz': An interjection of mildest disgust. From owner-freebsd-emulation@FreeBSD.ORG Tue May 16 07:47:19 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 A810616A403; Tue, 16 May 2006 07:47:19 +0000 (UTC) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2B5643D5D; Tue, 16 May 2006 07:47:16 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FfuGw-0000Wh-Cv; Tue, 16 May 2006 11:47:14 +0400 From: Vladimir Grebenschikov To: Bakul Shah In-Reply-To: <20060515195007.22AF9294BB@mail.bitblocks.com> References: <20060515195007.22AF9294BB@mail.bitblocks.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Tue, 16 May 2006 11:47:13 +0400 Message-Id: <1147765633.1535.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 07:47:19 -0000 =F7 =D0=CE, 15/05/2006 =D7 12:50 -0700, Bakul Shah =D0=C9=DB=C5=D4: > > same problem with skype here (fresh 7.0-CURRENT + fresh gnome) > > I was forced to increase kern.maxfiles to make my system alive. >=20 > This won't help as skype will eat up all available > descriptors. Limiting the descriptors resource in the parent > shell of skype prevents it from running away. Yes, but after that change it makes enough descriptors to survive while working day. --=20 Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-emulation@FreeBSD.ORG Tue May 16 08:04:37 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 45DC516A406 for ; Tue, 16 May 2006 08:04:37 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [209.204.185.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02EBC43D46 for ; Tue, 16 May 2006 08:04:36 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 7878D294B9; Tue, 16 May 2006 01:04:36 -0700 (PDT) To: Alexander Leidinger In-reply-to: Your message of "Tue, 16 May 2006 09:19:09 +0200." <20060516091909.n7ml7sspus40oos8@netchild.homeip.net> Date: Tue, 16 May 2006 01:04:36 -0700 From: Bakul Shah Message-Id: <20060516080436.7878D294B9@mail.bitblocks.com> Cc: freebsd-emulation@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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: Tue, 16 May 2006 08:04:37 -0000 > > The following code from linux_stats.c looked dodgy to me so I > > reverted /sys/{i386/linux,compat/{linux,linprocfs}} to about > > one month old state and the problem disappears. skype still > > opens about 296 files but no more. > > Can you please do a binary search for the commit which breaks this? Go > to a 2 week old current and see if the problem is still there. If it > isn't, the problem appeared in the last two weeks, so update to an one > week old current (and so on). I think only the kernel needs to be > updated. Yes, only the kernel needs to be updated. Look at rev 1.80 of /sys/compat/linux/linux_stats.c and related changes (commited on 2006/05/05 16:10:45). I am reasonably certain this is the culprit. To avoid looking at alpha support removal changes (which have nothing to do with this) do cd /sys/compat/linux cvs diff -D'1 month ago' -D'1 week ago' This is the only change in that time period. Perhaps the commit (sponsored by IronPort Systems) needs to be vetted. Removing this code has fixed the problem for me. If you have an alternative fix I'll be happy to try it. From owner-freebsd-emulation@FreeBSD.ORG Tue May 16 08:53:12 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 C82C316A400; Tue, 16 May 2006 08:53:12 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2631D43D48; Tue, 16 May 2006 08:53:09 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5ED34.dip.t-dialin.net [84.165.237.52]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4G8gfBE039810; Tue, 16 May 2006 10:42:42 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4G8qpch059745; Tue, 16 May 2006 10:52:51 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Tue, 16 May 2006 10:52:51 +0200 Message-ID: <20060516105251.jkhr0f6pb4ogck4o@netchild.homeip.net> X-Priority: 3 (Normal) Date: Tue, 16 May 2006 10:52:51 +0200 From: Alexander Leidinger To: ambrisko@freebsd.org References: <20060516080436.7878D294B9@mail.bitblocks.com> In-Reply-To: <20060516080436.7878D294B9@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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: Tue, 16 May 2006 08:53:12 -0000 Quoting Bakul Shah (from Tue, 16 May 2006 =20 01:04:36 -0700): >> > The following code from linux_stats.c looked dodgy to me so I >> > reverted /sys/{i386/linux,compat/{linux,linprocfs}} to about >> > one month old state and the problem disappears. skype still >> > opens about 296 files but no more. >> >> Can you please do a binary search for the commit which breaks this? Go >> to a 2 week old current and see if the problem is still there. If it >> isn't, the problem appeared in the last two weeks, so update to an one >> week old current (and so on). I think only the kernel needs to be >> updated. > > Yes, only the kernel needs to be updated. Look at rev 1.80 > of /sys/compat/linux/linux_stats.c and related changes > (commited on 2006/05/05 16:10:45). I am reasonably certain > this is the culprit. To avoid looking at alpha support > removal changes (which have nothing to do with this) do > > cd /sys/compat/linux > cvs diff -D'1 month ago' -D'1 week ago' > > This is the only change in that time period. Perhaps the > commit (sponsored by IronPort Systems) needs to be vetted. > Removing this code has fixed the problem for me. If you > have an alternative fix I'll be happy to try it. Doug, the problem we see is a file descriptor leak with several =20 applications. For example start acroread and try to open a file by =20 browsing for it (instead of specifying it at the command line). =20 Another possibility is to start skype and login. Can you please have a =20 look at it? Bye, Alexander. --=20 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 Don't let your status become too quo! From owner-freebsd-emulation@FreeBSD.ORG Tue May 16 14:51:44 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 3172416A7BE for ; Tue, 16 May 2006 14:51:44 +0000 (UTC) (envelope-from betogigi@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80DA243D77 for ; Tue, 16 May 2006 14:51:43 +0000 (GMT) (envelope-from betogigi@gmail.com) Received: by nz-out-0102.google.com with SMTP id n1so165982nzf for ; Tue, 16 May 2006 07:51:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MCQR3GhUjGsyBIDrgj6WbTvPYQTCS4sbjXDq0pfAO48CguqTQ/WRJySjrJWtPukooOUONIPTBpdb0asgr1PgTDFwaU+jL4ouY5oJ0PxKHPF7lbyImn6y87Br0mAjgDYGc413SbiVHJ+dcnbuM+Q5I4pAevMmx8xOYakMip4GFwE= Received: by 10.65.151.7 with SMTP id d7mr3270892qbo; Tue, 16 May 2006 07:51:42 -0700 (PDT) Received: by 10.65.141.8 with HTTP; Tue, 16 May 2006 07:51:42 -0700 (PDT) Message-ID: Date: Tue, 16 May 2006 11:51:42 -0300 From: "Roberto Lima" To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Crossover Office in FreeBSD 6 with linux_base* 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: Tue, 16 May 2006 14:51:47 -0000 Hi all, How to emulate Crossover Office with linux_base`s ? I tried with linux_base-8 and following this error: Unable to convert 'c:/' to a Unix path: wine: failed to initialize: /opt/cxoffice/lib/wine/ntdll.dll.so: failed to map segment from shared object: Cannot allocate memory In sysctl is: kern.elf32.fallback_brand: 3 kern.fallback_elf_brand: 3 debug.elf32_trace: 1 debug.elf32_legacy_coredump: 1 How to knows to solve this problem? Thanks. PS: Sorry for my bad english. From owner-freebsd-emulation@FreeBSD.ORG Tue May 16 18:02:15 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 79F6616AFD9; Tue, 16 May 2006 18:02:15 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from mail.ambrisko.com (mail.ambrisko.com [64.174.51.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0F7043D78; Tue, 16 May 2006 18:02:14 +0000 (GMT) (envelope-from ambrisko@ambrisko.com) Received: from server2.ambrisko.com (HELO www.ambrisko.com) ([192.168.1.2]) by mail.ambrisko.com with ESMTP; 16 May 2006 11:01:13 -0700 Received: from ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.12.11/8.12.11) with ESMTP id k4GI2DM6060783; Tue, 16 May 2006 11:02:13 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.12.11/8.12.11/Submit) id k4GI28Sm060773; Tue, 16 May 2006 11:02:08 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200605161802.k4GI28Sm060773@ambrisko.com> In-Reply-To: <20060516105251.jkhr0f6pb4ogck4o@netchild.homeip.net> To: Alexander Leidinger Date: Tue, 16 May 2006 11:02:08 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Cc: ambrisko@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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: Tue, 16 May 2006 18:02:23 -0000 Alexander Leidinger writes: | Quoting Bakul Shah (from Tue, 16 May 2006 | 01:04:36 -0700): | | >> > The following code from linux_stats.c looked dodgy to me so I | >> > reverted /sys/{i386/linux,compat/{linux,linprocfs}} to about | >> > one month old state and the problem disappears. skype still | >> > opens about 296 files but no more. | >> | >> Can you please do a binary search for the commit which breaks this? Go | >> to a 2 week old current and see if the problem is still there. If it | >> isn't, the problem appeared in the last two weeks, so update to an one | >> week old current (and so on). I think only the kernel needs to be | >> updated. | > | > Yes, only the kernel needs to be updated. Look at rev 1.80 | > of /sys/compat/linux/linux_stats.c and related changes | > (commited on 2006/05/05 16:10:45). I am reasonably certain | > this is the culprit. To avoid looking at alpha support | > removal changes (which have nothing to do with this) do | > | > cd /sys/compat/linux | > cvs diff -D'1 month ago' -D'1 week ago' | > | > This is the only change in that time period. Perhaps the | > commit (sponsored by IronPort Systems) needs to be vetted. | > Removing this code has fixed the problem for me. If you | > have an alternative fix I'll be happy to try it. | | Doug, the problem we see is a file descriptor leak with several | applications. For example start acroread and try to open a file by | browsing for it (instead of specifying it at the command line). | Another possibility is to start skype and login. Can you please have a | look at it? Should be fixed with sys/compat/linux/linux_stats.c version 1.83. It's fixed in my testing: /compat/linux/bin/sh fstat | grep bash Let me know if there are still some issues. I'm behind in my FreeBSD mail and working on some other stuff. Thanks, Doug A. From owner-freebsd-emulation@FreeBSD.ORG Tue May 16 18:34:25 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 B154B16A5A4; Tue, 16 May 2006 18:34:25 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E00D43D45; Tue, 16 May 2006 18:34:24 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5ED34.dip.t-dialin.net [84.165.237.52]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4GINqLg042186; Tue, 16 May 2006 20:23:53 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4GIY7B4043272; Tue, 16 May 2006 20:34:07 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 16 May 2006 20:35:17 +0200 From: Alexander Leidinger To: Bakul Shah Message-ID: <20060516203517.2564505d@Magellan.Leidinger.net> In-Reply-To: <20060516080436.7878D294B9@mail.bitblocks.com> References: <20060516091909.n7ml7sspus40oos8@netchild.homeip.net> <20060516080436.7878D294B9@mail.bitblocks.com> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org, current@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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: Tue, 16 May 2006 18:34:29 -0000 Quoting Bakul Shah (Tue, 16 May 2006 01:04:36 -0700): > Removing this code has fixed the problem for me. If you > have an alternative fix I'll be happy to try it. Doug just mailed me to say he committed a fix (rev. 1.83 of linux_stats.c). Bye, Alexander. -- Press every key to continue. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-emulation@FreeBSD.ORG Tue May 16 18:38:52 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 C5B3916B1C1 for ; Tue, 16 May 2006 18:38:52 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2E0643D66 for ; Tue, 16 May 2006 18:38:45 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5ED34.dip.t-dialin.net [84.165.237.52]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4GISFSn042200; Tue, 16 May 2006 20:28:16 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4GIcUv0043953; Tue, 16 May 2006 20:38:31 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 16 May 2006 20:39:39 +0200 From: Alexander Leidinger To: "Roberto Lima" Message-ID: <20060516203939.704dd886@Magellan.Leidinger.net> In-Reply-To: References: X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: Crossover Office in FreeBSD 6 with linux_base* 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: Tue, 16 May 2006 18:39:02 -0000 Quoting "Roberto Lima" (Tue, 16 May 2006 11:51:42 -0300): > Hi all, > How to emulate Crossover Office with linux_base`s ? > I tried with linux_base-8 and following this error: > > Unable to convert 'c:/' to a Unix path: > wine: failed to initialize: /opt/cxoffice/lib/wine/ntdll.dll.so: > failed to map segment from shared object: Cannot allocate memory > > In sysctl is: > kern.elf32.fallback_brand: 3 > kern.fallback_elf_brand: 3 > debug.elf32_trace: 1 > debug.elf32_legacy_coredump: 1 First of all: You don't need to set any sysctl for the linuxolator. It may be the case that Crossover Office needs some linux syscalls which aren't implemented yet. Is there any message about an unimplemented sysctl on the console? Bye, Alexander. -- Press every key to continue. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-emulation@FreeBSD.ORG Tue May 16 18:55:35 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 1150A16B43B for ; Tue, 16 May 2006 18:55:35 +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 07C1D43D72 for ; Tue, 16 May 2006 18:55:32 +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 1Fg4hd-00093o-VM; Tue, 16 May 2006 22:55:30 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Fg4iB-000Cly-2F; Tue, 16 May 2006 22:56:03 +0400 To: "Roberto Lima" References: From: Boris Samorodov Date: Tue, 16 May 2006 22:56:03 +0400 In-Reply-To: (Roberto Lima's message of "Tue, 16 May 2006 11:51:42 -0300") Message-ID: <58774412@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: freebsd-emulation@freebsd.org Subject: Re: Crossover Office in FreeBSD 6 with linux_base* 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: Tue, 16 May 2006 18:55:40 -0000 On Tue, 16 May 2006 11:51:42 -0300 Roberto Lima wrote: > How to emulate Crossover Office with linux_base`s ? > I tried with linux_base-8 and following this error: > Unable to convert 'c:/' to a Unix path: > wine: failed to initialize: /opt/cxoffice/lib/wine/ntdll.dll.so: > failed to map segment from shared object: Cannot allocate memory > In sysctl is: > kern.elf32.fallback_brand: 3 > kern.fallback_elf_brand: 3 > debug.elf32_trace: 1 > debug.elf32_legacy_coredump: 1 > How to knows to solve this problem? Sorry, I don't know the answer, but seems that it's not a trivial task to run Windows program with Crossover's enhancements for Linux wine under FreeBSD. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider From owner-freebsd-emulation@FreeBSD.ORG Wed May 17 11:19:06 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 0066D16A409 for ; Wed, 17 May 2006 11:19:05 +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 6FA5B43D48 for ; Wed, 17 May 2006 11:19:05 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from admin.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1FgK3U-000B7S-Er for freebsd-emulation@FreeBSD.org; Wed, 17 May 2006 15:19:04 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FgK42-0008Yk-Al for freebsd-emulation@FreeBSD.org; Wed, 17 May 2006 15:19:38 +0400 To: freebsd-emulation@FreeBSD.org From: Boris Samorodov Date: Wed, 17 May 2006 15:19:38 +0400 Message-ID: <15886293@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: Subject: Fedora Core 5 emulation and problems 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: Wed, 17 May 2006 11:19:06 -0000 Hi! I have tiny success on porting FC5. The first problem was getting message "FATAL: kernel too old". After patching /sys/compat/linux/linux_mib.c: ===== --- linux_mib.c.orig Fri May 12 14:36:25 2006 +++ linux_mib.c Wed May 17 01:53:06 2006 @@ -81,7 +81,7 @@ 0, 0, linux_sysctl_osname, "A", "Linux kernel OS name"); -static char linux_osrelease[LINUX_MAX_UTSNAME] = "2.4.2"; +static char linux_osrelease[LINUX_MAX_UTSNAME] = "2.6.10"; static int linux_sysctl_osrelease(SYSCTL_HANDLER_ARGS) ===== Thanks to netchild for pointing me to the right direction. Now I'm able to install FC5 but not run. Here is a result of ktrace: ===== 765 uname CALL #243(0xbfbfe5fc) 765 uname RET #243 -1 errno -78 Unknown error: -78 765 uname CALL old.killpg(0x2,0xbfbfe3c0,0x3) 765 uname GIO fd 2 wrote 97 bytes "cannot set up thread-local storage: set_thread_area failed when settin\ g up thread-local storage ===== SYS_243 is a call for set_thread_area() and error 78 is ENOSYS. That is actually what we do implement at /sys/i386/linux/linux_machdep.c. Seems that for linux kernel versions 2.5.29+ this function is mandatory but not only a dummy one with an error return. According to linux man(2) set_thread_area, the function may return EINVAL, EFAULT or ESRCH if unsuccess. I tried to replace our current errno ENOSYS with those but in vain. Moreover, at linux literature this method is called an "old way". The new way is using NTPL (Native POSIX Thread Library): http://people.redhat.com/drepper/nptl-design.pdf This are directions we should go to to get modern linux kernel and programms to run under FreeBSD. Maybe a Google SoC may help. Hey, the good news is that an FC4 port is successfilly running on my system a couple of days. ;-) WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider From owner-freebsd-emulation@FreeBSD.ORG Wed May 17 17:26:18 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 A137D16B720; Wed, 17 May 2006 17:26:18 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [209.204.185.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C25843D64; Wed, 17 May 2006 17:26:18 +0000 (GMT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id A66DF294BB; Wed, 17 May 2006 10:26:17 -0700 (PDT) To: Doug Ambrisko In-reply-to: Your message of "Tue, 16 May 2006 11:02:08 PDT." <200605161802.k4GI28Sm060773@ambrisko.com> Date: Wed, 17 May 2006 10:26:17 -0700 From: Bakul Shah Message-Id: <20060517172617.A66DF294BB@mail.bitblocks.com> Cc: Alexander Leidinger , freebsd-emulation@freebsd.org, ambrisko@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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: Wed, 17 May 2006 17:26:19 -0000 > Should be fixed with sys/compat/linux/linux_stats.c version 1.83. This takes care of the problem with skype and other linux programs. Thanks for the quick fix (and thanks to Alexander for following up). -- bakul From owner-freebsd-emulation@FreeBSD.ORG Wed May 17 18:44:31 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 5F93F16A5C2; Wed, 17 May 2006 18:44:31 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from mail.ambrisko.com (mail.ambrisko.com [64.174.51.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04A8343D8F; Wed, 17 May 2006 18:44:14 +0000 (GMT) (envelope-from ambrisko@ambrisko.com) Received: from server2.ambrisko.com (HELO www.ambrisko.com) ([192.168.1.2]) by mail.ambrisko.com with ESMTP; 17 May 2006 11:42:49 -0700 Received: from ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.12.11/8.12.11) with ESMTP id k4HIhoPq039826; Wed, 17 May 2006 11:43:50 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.12.11/8.12.11/Submit) id k4HIhiwr039819; Wed, 17 May 2006 11:43:44 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200605171843.k4HIhiwr039819@ambrisko.com> In-Reply-To: <20060517172617.A66DF294BB@mail.bitblocks.com> To: Bakul Shah Date: Wed, 17 May 2006 11:43:44 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Cc: Alexander Leidinger , freebsd-emulation@freebsd.org, ambrisko@freebsd.org Subject: Re: linux emulation file descriptor leakage -current? 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: Wed, 17 May 2006 18:44:32 -0000 Bakul Shah writes: | > Should be fixed with sys/compat/linux/linux_stats.c version 1.83. | | This takes care of the problem with skype and other linux | programs. Thanks for the quick fix (and thanks to Alexander | for following up). Sorry for the problem. Thanks for finding it. Fortunately the fix turned out to be simple. Doug A. From owner-freebsd-emulation@FreeBSD.ORG Thu May 18 07:01: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 6DD6016A400 for ; Thu, 18 May 2006 07:01:16 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6ACA43D48 for ; Thu, 18 May 2006 07:01:15 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5DFE7.dip.t-dialin.net [84.165.223.231]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4I6oRdN059029; Thu, 18 May 2006 08:50:27 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4I70xXB096920; Thu, 18 May 2006 09:01:00 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 18 May 2006 09:00:59 +0200 Message-ID: <20060518090059.ixofq4vwiskwsss4@netchild.homeip.net> X-Priority: 3 (Normal) Date: Thu, 18 May 2006 09:00:59 +0200 From: Alexander Leidinger To: Boris Samorodov References: <15886293@srv.sem.ipt.ru> In-Reply-To: <15886293@srv.sem.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: Fedora Core 5 emulation and problems 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: Thu, 18 May 2006 07:01:16 -0000 Quoting Boris Samorodov (from Wed, 17 May 2006 15:19:38 +0400)= : [some facts I expected] Thanks for the analysis. > This are directions we should go to to get modern linux kernel and > programms to run under FreeBSD. Maybe a Google SoC may help. We already have a student who is eager to start after his exams. We =20 just need to get the final number of students Google is willing to =20 sponsor and the official announcement of which students are accepted. =20 And maybe we will get a second student for this too (I have a nice =20 TODO list for more than one student), but so far I didn't heard =20 anything from any other student with a linuxolator proposal I tried to =20 get in contact with (in case anyone is listening, please have a look =20 at your proposals for public comments, and maybe try to get in contact =20 with me directly). > Hey, the good news is that an FC4 port is successfilly running on my > system a couple of days. ;-) Great. Do you think we can skip FC3 and go directly to FC4 without =20 breaking anything (no change to the rest of the infrastructure ports =20 like xorg and gtk)? Bye, Alexander. --=20 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 Hell hath no fury like a bureaucrat scorned. =09=09-- Milton Friedman From owner-freebsd-emulation@FreeBSD.ORG Thu May 18 07:29:58 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 4F0AB16A401 for ; Thu, 18 May 2006 07:29:58 +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 D3B5D43D46 for ; Thu, 18 May 2006 07:29:57 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from stat.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1FgcxI-000DiQ-Ll; Thu, 18 May 2006 11:29:56 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Fgcxq-000Hcs-Fo; Thu, 18 May 2006 11:30:30 +0400 To: Alexander Leidinger References: <15886293@srv.sem.ipt.ru> <20060518090059.ixofq4vwiskwsss4@netchild.homeip.net> From: Boris Samorodov Date: Thu, 18 May 2006 11:30:30 +0400 In-Reply-To: <20060518090059.ixofq4vwiskwsss4@netchild.homeip.net> (Alexander Leidinger's message of "Thu, 18 May 2006 09:00:59 +0200") Message-ID: <69470249@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: freebsd-emulation@freebsd.org Subject: Re: Fedora Core 5 emulation and problems 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: Thu, 18 May 2006 07:29:58 -0000 On Thu, 18 May 2006 09:00:59 +0200 Alexander Leidinger wrote: > Quoting Boris Samorodov (from Wed, 17 May 2006 15:19:38 +0400): > > Hey, the good news is that an FC4 port is successfilly running on my > > system a couple of days. ;-) > Great. Do you think we can skip FC3 and go directly to FC4 without > breaking anything (no change to the rest of the infrastructure ports > like xorg and gtk)? This is my intention. I'm on tests now. Linux-xorg-libs are already form FC4 distro. But there are some ports (i.e. graphics/linux_dri) that should be treated with care. Linux_dri is written for XFree and should be tested with appropriate hardware. But in general at long jumps, you know, things may happen. ;-) WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider From owner-freebsd-emulation@FreeBSD.ORG Thu May 18 08:50:05 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 E029416A410 for ; Thu, 18 May 2006 08:50:05 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id B774D43D45 for ; Thu, 18 May 2006 08:49:54 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5DFE7.dip.t-dialin.net [84.165.223.231]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4I8d55U059376; Thu, 18 May 2006 10:39:05 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4I8ndpI012614; Thu, 18 May 2006 10:49:39 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 18 May 2006 10:49:38 +0200 Message-ID: <20060518104938.6wuxewkis40804g4@netchild.homeip.net> X-Priority: 3 (Normal) Date: Thu, 18 May 2006 10:49:38 +0200 From: Alexander Leidinger To: Boris Samorodov References: <15886293@srv.sem.ipt.ru> <20060518090059.ixofq4vwiskwsss4@netchild.homeip.net> <69470249@srv.sem.ipt.ru> In-Reply-To: <69470249@srv.sem.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: Fedora Core 5 emulation and problems 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: Thu, 18 May 2006 08:50:06 -0000 Quoting Boris Samorodov (from Thu, 18 May 2006 11:30:30 +0400)= : > On Thu, 18 May 2006 09:00:59 +0200 Alexander Leidinger wrote: >> Quoting Boris Samorodov (from Wed, 17 May 2006 =20 >> 15:19:38 +0400): > >> > Hey, the good news is that an FC4 port is successfilly running on my >> > system a couple of days. ;-) > >> Great. Do you think we can skip FC3 and go directly to FC4 without >> breaking anything (no change to the rest of the infrastructure ports >> like xorg and gtk)? > > This is my intention. I'm on tests now. Linux-xorg-libs are already > form FC4 distro. But there are some ports (i.e. graphics/linux_dri) > that should be treated with care. Linux_dri is written for XFree and > should be tested with appropriate hardware. Linux DRI falls back to software rendering when no appropriate =20 environment is found (like on my machine). It is the only port where I =20 don't care about the status until we switched to a new default. But =20 it's a port which we need to fix after the transition. > But in general at long jumps, you know, things may happen. ;-) Yes, but if acroread and skype runs ("productivity applications"), the =20 rest ("games") may work too... or can be updated after the change. Bye, Alexander. --=20 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 "Consequences, Schmonsequences, as long as I'm rich." =09=09-- "Ali Baba Bunny" [1957, Chuck Jones] From owner-freebsd-emulation@FreeBSD.ORG Thu May 18 10:04:02 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 6972B16A409 for ; Thu, 18 May 2006 10:04:02 +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 EBC3F43D46 for ; Thu, 18 May 2006 10:04:01 +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 1FgfMO-00021b-Ep; Thu, 18 May 2006 14:04:00 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FgfMv-000HlI-UZ; Thu, 18 May 2006 14:04:33 +0400 To: Alexander Leidinger References: <15886293@srv.sem.ipt.ru> <20060518090059.ixofq4vwiskwsss4@netchild.homeip.net> <69470249@srv.sem.ipt.ru> <20060518104938.6wuxewkis40804g4@netchild.homeip.net> From: Boris Samorodov Date: Thu, 18 May 2006 14:04:33 +0400 In-Reply-To: <20060518104938.6wuxewkis40804g4@netchild.homeip.net> (Alexander Leidinger's message of "Thu, 18 May 2006 10:49:38 +0200") Message-ID: <71231006@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: freebsd-emulation@freebsd.org Subject: Re: Fedora Core 5 emulation and problems 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: Thu, 18 May 2006 10:04:03 -0000 On Thu, 18 May 2006 10:49:38 +0200 Alexander Leidinger wrote: > Yes, but if acroread and skype runs ("productivity applications"), the > rest ("games") may work too... or can be updated after the change. Those two are working with FC4 port like a charm on 6.1-STABLE/i386. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider From owner-freebsd-emulation@FreeBSD.ORG Fri May 19 09:10:55 2006 Return-Path: X-Original-To: freebsd-emulation@hub.freebsd.org Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CB6F16A425; Fri, 19 May 2006 09:10:55 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58AE143D46; Fri, 19 May 2006 09:10:55 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4J9AtQd057348; Fri, 19 May 2006 09:10:55 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4J9AthA057344; Fri, 19 May 2006 09:10:55 GMT (envelope-from edwin) Date: Fri, 19 May 2006 09:10:55 GMT From: Edwin Groothuis Message-Id: <200605190910.k4J9AthA057344@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org Cc: Subject: Re: ports/97488: [repocopy] from linux_base-fc3 to linux_base-fc4 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: Fri, 19 May 2006 09:10:55 -0000 Synopsis: [repocopy] from linux_base-fc3 to linux_base-fc4 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-emulation Responsible-Changed-By: edwin Responsible-Changed-When: Fri May 19 09:10:54 UTC 2006 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=97488 From owner-freebsd-emulation@FreeBSD.ORG Fri May 19 09:24:56 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 A621316A421; Fri, 19 May 2006 09:24:56 +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 3868743D45; Fri, 19 May 2006 09:24:55 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1]) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Fh1E6-0005p0-Lq; Fri, 19 May 2006 13:24:54 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Fh1Eb-0009Xo-17; Fri, 19 May 2006 13:25:25 +0400 To: Edwin Groothuis References: <200605190910.k4J9AthA057344@freefall.freebsd.org> From: Boris Samorodov Date: Fri, 19 May 2006 13:25:25 +0400 In-Reply-To: <200605190910.k4J9AthA057344@freefall.freebsd.org> (Edwin Groothuis's message of "Fri, 19 May 2006 09:10:55 GMT") Message-ID: <24823738@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: freebsd-ports-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org Subject: Re: ports/97488: [repocopy] from linux_base-fc3 to linux_base-fc4 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: Fri, 19 May 2006 09:24:56 -0000 On Fri, 19 May 2006 09:10:55 GMT Edwin Groothuis wrote: > Synopsis: [repocopy] from linux_base-fc3 to linux_base-fc4 > Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-emulation > Responsible-Changed-By: edwin > Responsible-Changed-When: Fri May 19 09:10:54 UTC 2006 > Responsible-Changed-Why: > Over to maintainer > http://www.freebsd.org/cgi/query-pr.cgi?pr=97488 Shouldn't it be assigned to portmgr@?: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/committers-guide/ports.html#Q12.3.3. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider From owner-freebsd-emulation@FreeBSD.ORG Fri May 19 10:23:31 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 203B016A41F; Fri, 19 May 2006 10:23:31 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail2out.barnet.com.au (mail2out.barnet.com.au [202.83.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8ACFF43D46; Fri, 19 May 2006 10:23:29 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail2out.barnet.com.au (Postfix, from userid 27) id 0A4737074F7; Fri, 19 May 2006 20:23:28 +1000 (EST) X-Viruscan-Id: <446D9C9F00011EB9618AA5@BarNet> Received: from mail2-auth.barnet.com.au (mail2.barnet.com.au [202.83.176.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.barnet.com.au", Issuer "*.barnet.com.au" (not verified)) by mail2.barnet.com.au (Postfix) with ESMTP id B0E387074F1; Fri, 19 May 2006 20:23:27 +1000 (EST) Received: from k7.mavetju (unknown [10.251.1.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail2-auth.barnet.com.au (Postfix) with ESMTP id CF9997073D3; Fri, 19 May 2006 20:23:26 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id DB7D239B; Fri, 19 May 2006 20:23:25 +1000 (EST) Date: Fri, 19 May 2006 20:23:25 +1000 From: Edwin Groothuis To: Boris Samorodov Message-ID: <20060519102325.GF1116@k7.mavetju> Mail-Followup-To: Edwin Groothuis , Boris Samorodov , freebsd-ports-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org References: <200605190910.k4J9AthA057344@freefall.freebsd.org> <24823738@srv.sem.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <24823738@srv.sem.ipt.ru> User-Agent: Mutt/1.4.2.1i Cc: freebsd-ports-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org Subject: Re: ports/97488: [repocopy] from linux_base-fc3 to linux_base-fc4 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: Fri, 19 May 2006 10:23:31 -0000 On Fri, May 19, 2006 at 01:25:25PM +0400, Boris Samorodov wrote: > On Fri, 19 May 2006 09:10:55 GMT Edwin Groothuis wrote: > > > Synopsis: [repocopy] from linux_base-fc3 to linux_base-fc4 > > > Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-emulation > > Responsible-Changed-By: edwin > > Responsible-Changed-When: Fri May 19 09:10:54 UTC 2006 > > Responsible-Changed-Why: > > Over to maintainer > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=97488 > > Shouldn't it be assigned to portmgr@?: If the maintainer approves of it. -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/ From owner-freebsd-emulation@FreeBSD.ORG Fri May 19 10:59:11 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 A2CF516A50F; Fri, 19 May 2006 10:59:11 +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 2F2A543D45; Fri, 19 May 2006 10:59:11 +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 1Fh2hJ-00061a-R9; Fri, 19 May 2006 14:59:09 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Fh2hn-000A6i-Vs; Fri, 19 May 2006 14:59:39 +0400 To: Edwin Groothuis References: <200605190910.k4J9AthA057344@freefall.freebsd.org> <24823738@srv.sem.ipt.ru> <20060519102325.GF1116@k7.mavetju> From: Boris Samorodov Date: Fri, 19 May 2006 14:59:39 +0400 In-Reply-To: <20060519102325.GF1116@k7.mavetju> (Edwin Groothuis's message of "Fri, 19 May 2006 20:23:25 +1000") Message-ID: <58748084@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: freebsd-ports-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org Subject: Re: ports/97488: [repocopy] from linux_base-fc3 to linux_base-fc4 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: Fri, 19 May 2006 10:59:11 -0000 On Fri, 19 May 2006 20:23:25 +1000 Edwin Groothuis wrote: > On Fri, May 19, 2006 at 01:25:25PM +0400, Boris Samorodov wrote: > > On Fri, 19 May 2006 09:10:55 GMT Edwin Groothuis wrote: > > > > > Synopsis: [repocopy] from linux_base-fc3 to linux_base-fc4 > > > > > Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-emulation > > > Responsible-Changed-By: edwin > > > Responsible-Changed-When: Fri May 19 09:10:54 UTC 2006 > > > Responsible-Changed-Why: > > > Over to maintainer > > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=97488 > > > > Shouldn't it be assigned to portmgr@?: > If the maintainer approves of it. Thanks for your answer, but some questions are left. I'm not sure who is treated as a maintainer. Isn't it netchild, who filed this PR? Or am I not understanding the procedure? Is it needed to be approved from the email address freebsd-emulation@? WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider From owner-freebsd-emulation@FreeBSD.ORG Fri May 19 11:02:55 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 0F51216A43D; Fri, 19 May 2006 11:02:55 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail2out.barnet.com.au (mail2out.barnet.com.au [202.83.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77D4A43D45; Fri, 19 May 2006 11:02:54 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail2out.barnet.com.au (Postfix, from userid 27) id ACE1F7074FF; Fri, 19 May 2006 21:02:53 +1000 (EST) X-Viruscan-Id: <446DA5DD000048F18BB063@BarNet> Received: from mail2-auth.barnet.com.au (mail2.barnet.com.au [202.83.176.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.barnet.com.au", Issuer "*.barnet.com.au" (not verified)) by mail2.barnet.com.au (Postfix) with ESMTP id 57E3A7074F7; Fri, 19 May 2006 21:02:53 +1000 (EST) Received: from k7.mavetju (unknown [10.251.1.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail2-auth.barnet.com.au (Postfix) with ESMTP id 26D467074F1; Fri, 19 May 2006 21:02:51 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id E675D39B; Fri, 19 May 2006 21:02:50 +1000 (EST) Date: Fri, 19 May 2006 21:02:50 +1000 From: Edwin Groothuis To: Boris Samorodov Message-ID: <20060519110250.GB1103@k7.mavetju> Mail-Followup-To: Edwin Groothuis , Boris Samorodov , freebsd-ports-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org References: <200605190910.k4J9AthA057344@freefall.freebsd.org> <24823738@srv.sem.ipt.ru> <20060519102325.GF1116@k7.mavetju> <58748084@srv.sem.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58748084@srv.sem.ipt.ru> User-Agent: Mutt/1.4.2.1i Cc: freebsd-ports-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org Subject: Re: ports/97488: [repocopy] from linux_base-fc3 to linux_base-fc4 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: Fri, 19 May 2006 11:02:56 -0000 On Fri, May 19, 2006 at 02:59:39PM +0400, Boris Samorodov wrote: > On Fri, 19 May 2006 20:23:25 +1000 Edwin Groothuis wrote: > > On Fri, May 19, 2006 at 01:25:25PM +0400, Boris Samorodov wrote: > > > On Fri, 19 May 2006 09:10:55 GMT Edwin Groothuis wrote: > > > > > > > Synopsis: [repocopy] from linux_base-fc3 to linux_base-fc4 > > > > > > > Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-emulation > > > > Responsible-Changed-By: edwin > > > > Responsible-Changed-When: Fri May 19 09:10:54 UTC 2006 > > > > Responsible-Changed-Why: > > > > Over to maintainer > > > > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=97488 > > > > > > Shouldn't it be assigned to portmgr@?: > > > If the maintainer approves of it. > > Thanks for your answer, but some questions are left. > > I'm not sure who is treated as a maintainer. Isn't it netchild, who > filed this PR? Or am I not understanding the procedure? Is it needed > to be approved from the email address freebsd-emulation@? The ports Makefile says: the maintainers email address is freebsd-emulation@FreeBSD.org. Big problem here, that's not a real person. But how can a script know this? If I assign it to portmgr for a repocopy, I'll get the PR back in my lap when the repocopy is done, not netchild@. In the mean time (and sorry for the noise), netchild is old and wise enough to know how to assign this PR back to himself :-) Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/ From owner-freebsd-emulation@FreeBSD.ORG Fri May 19 11:08:19 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 7D9C416A421; Fri, 19 May 2006 11:08:19 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id C490E43D45; Fri, 19 May 2006 11:08:18 +0000 (GMT) (envelope-from erwin@mail.droso.net) Received: by mail.droso.net (Postfix, from userid 1001) id 90F4022DE4; Fri, 19 May 2006 13:08:17 +0200 (CEST) Date: Fri, 19 May 2006 13:08:17 +0200 From: Erwin Lansing To: Edwin Groothuis , Boris Samorodov , freebsd-ports-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org Message-ID: <20060519110817.GU93253@droso.net> Mail-Followup-To: Edwin Groothuis , Boris Samorodov , freebsd-ports-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org References: <200605190910.k4J9AthA057344@freefall.freebsd.org> <24823738@srv.sem.ipt.ru> <20060519102325.GF1116@k7.mavetju> <58748084@srv.sem.ipt.ru> <20060519110250.GB1103@k7.mavetju> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wzJLGUyc3ArbnUjN" Content-Disposition: inline In-Reply-To: <20060519110250.GB1103@k7.mavetju> X-Operating-System: FreeBSD/i386 5.4-RELEASE User-Agent: Mutt/1.5.11 Cc: Subject: Re: ports/97488: [repocopy] from linux_base-fc3 to linux_base-fc4 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: Fri, 19 May 2006 11:08:19 -0000 --wzJLGUyc3ArbnUjN Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 19, 2006 at 09:02:50PM +1000, Edwin Groothuis wrote: >=20 > The ports Makefile says: the maintainers email address is > freebsd-emulation@FreeBSD.org. Big problem here, that's not a real > person. But how can a script know this? No way, except from hardcoding the few aliases. >=20 > If I assign it to portmgr for a repocopy, I'll get the PR back in > my lap when the repocopy is done, not netchild@. In the mean time > (and sorry for the noise), netchild is old and wise enough to know > how to assign this PR back to himself :-) >=20 Repocopies are special. There is no real concept of a maintainer as after the repocopy, in principle, it's a new port and could have another maintainer as the old one. Also, when the PR is assigned to portmgr, portmgr will need a committer to sign the PR back to after the repocopy is done. I'd say, if the PR originator is a committer, just sign it right over to portmgr. If not, assign to the maintainer and/or wait for a committer to pick it up. -erwin --=20 Erwin Lansing http://droso.org Security is like an onion. (o_ _o) It's made up of several layers \\\_\ /_/// erwin@FreeBSD.org And it makes you cry. <____) (____> erwin@aauug.dk --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEbachqy9aWxUlaZARAl4vAJsFq1fSKBPVmu3hAR8Sye5ExYxZYACg2cGk BB2f62IxclQ5ojQvwvQzNbs= =39RC -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN-- From owner-freebsd-emulation@FreeBSD.ORG Fri May 19 11:21:49 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 C380A16A432; Fri, 19 May 2006 11:21:49 +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 4869E43D55; Fri, 19 May 2006 11:21:49 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from admin.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Fh33E-00065D-AU; Fri, 19 May 2006 15:21:48 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Fh33i-000A8Y-DX; Fri, 19 May 2006 15:22:18 +0400 To: Edwin Groothuis References: <200605190910.k4J9AthA057344@freefall.freebsd.org> <24823738@srv.sem.ipt.ru> <20060519102325.GF1116@k7.mavetju> <58748084@srv.sem.ipt.ru> <20060519110250.GB1103@k7.mavetju> From: Boris Samorodov Date: Fri, 19 May 2006 15:22:18 +0400 In-Reply-To: <20060519110250.GB1103@k7.mavetju> (Edwin Groothuis's message of "Fri, 19 May 2006 21:02:50 +1000") Message-ID: <81946725@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: freebsd-ports-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org Subject: Re: ports/97488: [repocopy] from linux_base-fc3 to linux_base-fc4 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: Fri, 19 May 2006 11:21:56 -0000 On Fri, 19 May 2006 21:02:50 +1000 Edwin Groothuis wrote: > On Fri, May 19, 2006 at 02:59:39PM +0400, Boris Samorodov wrote: > > On Fri, 19 May 2006 20:23:25 +1000 Edwin Groothuis wrote: > > > On Fri, May 19, 2006 at 01:25:25PM +0400, Boris Samorodov wrote: > > > > On Fri, 19 May 2006 09:10:55 GMT Edwin Groothuis wrote: > > > > > > > > > Synopsis: [repocopy] from linux_base-fc3 to linux_base-fc4 > > > > > > > > > Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-emulation > > > > > Responsible-Changed-By: edwin > > > > > Responsible-Changed-When: Fri May 19 09:10:54 UTC 2006 > > > > > Responsible-Changed-Why: > > > > > Over to maintainer > > > > > > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=97488 > > > > > > > > Shouldn't it be assigned to portmgr@?: > > > > > If the maintainer approves of it. > > > > Thanks for your answer, but some questions are left. > > > > I'm not sure who is treated as a maintainer. Isn't it netchild, who > > filed this PR? Or am I not understanding the procedure? Is it needed > > to be approved from the email address freebsd-emulation@? > The ports Makefile says: the maintainers email address is > freebsd-emulation@FreeBSD.org. Big problem here, that's not a real > person. But how can a script know this? It was a script who I was talking to! :-) Thanks, now it's clear. > If I assign it to portmgr for a repocopy, I'll get the PR back in > my lap when the repocopy is done, not netchild@. In the mean time > (and sorry for the noise), netchild is old and wise enough to know > how to assign this PR back to himself :-) Yea, I suppose so. :-) BTW, I agree with Alexander, maybe we may consider a new PR class "repocopy"? Then the script will assign this sort of PRs to the submitter (which is the right way, as I understand) but not the maintainer. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider From owner-freebsd-emulation@FreeBSD.ORG Fri May 19 11:29:52 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 5276B16A481; Fri, 19 May 2006 11:29:52 +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 CEDD943D48; Fri, 19 May 2006 11:29:51 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from stat.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Fh3Az-00066e-Ec; Fri, 19 May 2006 15:29:49 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Fh3BT-000A8h-H9; Fri, 19 May 2006 15:30:19 +0400 To: Edwin Groothuis References: <200605190910.k4J9AthA057344@freefall.freebsd.org> <24823738@srv.sem.ipt.ru> <20060519102325.GF1116@k7.mavetju> <58748084@srv.sem.ipt.ru> <20060519110250.GB1103@k7.mavetju> <20060519110817.GU93253@droso.net> From: Boris Samorodov Date: Fri, 19 May 2006 15:30:19 +0400 In-Reply-To: <20060519110817.GU93253@droso.net> (Erwin Lansing's message of "Fri, 19 May 2006 13:08:17 +0200") Message-ID: <15866244@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: freebsd-ports-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org Subject: Re: ports/97488: [repocopy] from linux_base-fc3 to linux_base-fc4 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: Fri, 19 May 2006 11:29:56 -0000 On Fri, 19 May 2006 13:08:17 +0200 Erwin Lansing wrote: > On Fri, May 19, 2006 at 09:02:50PM +1000, Edwin Groothuis wrote: > > If I assign it to portmgr for a repocopy, I'll get the PR back in > > my lap when the repocopy is done, not netchild@. In the mean time > > (and sorry for the noise), netchild is old and wise enough to know > > how to assign this PR back to himself :-) > > > Repocopies are special. There is no real concept of a maintainer as > after the repocopy, in principle, it's a new port and could have another > maintainer as the old one. Also, when the PR is assigned to portmgr, > portmgr will need a committer to sign the PR back to after the repocopy > is done. > I'd say, if the PR originator is a committer, just sign it right over to Maybe to assign it to originator, who'll assign it to portmgr? > portmgr. If not, assign to the maintainer and/or wait for a committer to > pick it up. Agreed. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider From owner-freebsd-emulation@FreeBSD.ORG Fri May 19 11:55:03 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 2A5FE16A421; Fri, 19 May 2006 11:55:03 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 474CE43D46; Fri, 19 May 2006 11:55:01 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5F718.dip.t-dialin.net [84.165.247.24]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k4JBhvlv069868; Fri, 19 May 2006 13:43:58 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k4JBsgVi044890; Fri, 19 May 2006 13:54:42 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 19 May 2006 13:54:42 +0200 Message-ID: <20060519135442.a202tuvzdoggkc8g@netchild.homeip.net> X-Priority: 3 (Normal) Date: Fri, 19 May 2006 13:54:42 +0200 From: Alexander Leidinger To: Edwin Groothuis References: <200605190910.k4J9AthA057344@freefall.freebsd.org> <24823738@srv.sem.ipt.ru> <20060519102325.GF1116@k7.mavetju> <58748084@srv.sem.ipt.ru> <20060519110250.GB1103@k7.mavetju> In-Reply-To: <20060519110250.GB1103@k7.mavetju> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-ports-bugs@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: ports/97488: [repocopy] from linux_base-fc3 to linux_base-fc4 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: Fri, 19 May 2006 11:55:03 -0000 Quoting Edwin Groothuis (from Fri, 19 May 2006 21:02:50 +1000): > If I assign it to portmgr for a repocopy, I'll get the PR back in > my lap when the repocopy is done, not netchild@. In the mean time I think portmgr will do the right thing. Or do they use a script to assign it back to the previous owner? > (and sorry for the noise), netchild is old and wise enough to know Uhm... shit, thanks for telling the world that I'm old... I don't want to belive that I'm old... \me is sticking his fingers into his ears and sings "lalalalalala" ;-) > how to assign this PR back to himself :-) I can't in the next 6 hours, if someone is willing to provide a helping hand in the mean time... Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Don't mind him; politicians always sound like that. From owner-freebsd-emulation@FreeBSD.ORG Fri May 19 12:54:03 2006 Return-Path: X-Original-To: freebsd-emulation@hub.freebsd.org Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF9D016A64B; Fri, 19 May 2006 12:54:03 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97F5B43D45; Fri, 19 May 2006 12:54:03 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4JCs30N069918; Fri, 19 May 2006 12:54:03 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4JCs3Hw069914; Fri, 19 May 2006 12:54:03 GMT (envelope-from edwin) Date: Fri, 19 May 2006 12:54:03 GMT From: Edwin Groothuis Message-Id: <200605191254.k4JCs3Hw069914@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-emulation@FreeBSD.org, portmgr@FreeBSD.org Cc: Subject: Re: ports/97488: [repocopy] from linux_base-fc3 to linux_base-fc4 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: Fri, 19 May 2006 12:54:09 -0000 Synopsis: [repocopy] from linux_base-fc3 to linux_base-fc4 Responsible-Changed-From-To: freebsd-emulation->portmgr Responsible-Changed-By: edwin Responsible-Changed-When: Fri May 19 12:53:42 UTC 2006 Responsible-Changed-Why: Over to portmgr for the repocopy. Please assign it to netchild@ afterwards. http://www.freebsd.org/cgi/query-pr.cgi?pr=97488