From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 11 11:07:03 2008 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A7D916A4CF for ; Mon, 11 Feb 2008 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 00CB413C459 for ; Mon, 11 Feb 2008 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1BB72B3007351 for ; Mon, 11 Feb 2008 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1BB72Ak007347 for freebsd-emulation@FreeBSD.org; Mon, 11 Feb 2008 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Feb 2008 11:07:02 GMT Message-Id: <200802111107.m1BB72Ak007347@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-emulation@FreeBSD.org 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, 11 Feb 2008 11:07:03 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/97326 emulation [linux] file descriptor leakage in linux emulation o kern/102956 emulation [linux] [patch] Add partial support for SO_PEERCRED in o kern/117010 emulation [linuxolator] linux_getdents() get something like buff o ports/117350 emulation compile error in emulators/vmware3 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/41543 emulation [patch] [request] easier wine/w23 support o kern/55835 emulation [linux] [patch] Linux IPC emulation missing SETALL sys a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula o ports/91318 emulation [fix] graphics/linux_dri: works on amd64 too 9 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 11 16:37:38 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20D6C16A420 for ; Mon, 11 Feb 2008 16:37:38 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 9381A13C4D5 for ; Mon, 11 Feb 2008 16:37:37 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 981C143C927 for ; Mon, 11 Feb 2008 18:16:22 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eEPVfT54Dfbc for ; Mon, 11 Feb 2008 18:16:22 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 4E88543C90B for ; Mon, 11 Feb 2008 18:16:22 +0200 (EET) Message-ID: <47B074D5.1020602@icyb.net.ua> Date: Mon, 11 Feb 2008 18:16:21 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20080123) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: bug in recent linux mmap changes ? 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, 11 Feb 2008 16:37:38 -0000 After upgrading two machines, one to 6.3 and the other to 7.0-RC1, I can not run linux heroes3 anymore (statically linked, threaded application originally written for kernel 2.2.X). On 6.3 the process "hangs", on 7.0-RC1 one of the threads/processes crashes with SIGSEGV. Everything was OK as recently as 6.2. I can provide more diagnostics later, if needed, but in both cases I see that the last system call in a troublesome thread/process is linux_mmap(). I did a brief search through recent linux_mmap changes and I think that there is a bug in the following commit (I am writing this hastiliy, so I haven't yet tested a possible fix): http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/linux_machdep.c.diff?r1=1.48.2.4;r2=1.48.2.5;f=h Namely, old code: ==================================================== /* This gives us TOS */ bsd_args.addr = linux_args->addr + linux_args->len; if (bsd_args.addr > p->p_vmspace->vm_maxsaddr) { [block folded] } /* This gives us our maximum stack size */ if (linux_args->len > STACK_SIZE - GUARD_SIZE) bsd_args.len = linux_args->len; else bsd_args.len = STACK_SIZE - GUARD_SIZE; /* [comment folded] */ bsd_args.addr -= bsd_args.len; ==================================================== New code: ==================================================== if ((caddr_t)PTRIN(linux_args->addr) + linux_args->len > p->p_vmspace->vm_maxsaddr) { [block folded] } /* This gives us our maximum stack size */ if (linux_args->len > STACK_SIZE - GUARD_SIZE) bsd_args.len = linux_args->len; else bsd_args.len = STACK_SIZE - GUARD_SIZE; /* [comment foled] */ bsd_args.addr = (caddr_t)PTRIN(linux_args->addr) - bsd_args.len; ==================================================== Please now note that the new code doesn't have initial bsd_args.addr assignment line. So, in summary, old code does the following: bsd_args.addr = linux_args->addr + linux_args->len; ... bsd_args.addr -= bsd_args.len; While new code does: bsd_args.addr = (caddr_t)PTRIN(linux_args->addr) - bsd_args.len; -- Andriy Gapon From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 11 17:08:03 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B42816A419 for ; Mon, 11 Feb 2008 17:08:03 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 21AC813C458 for ; Mon, 11 Feb 2008 17:08:02 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 8EADC67404E; Mon, 11 Feb 2008 18:08:00 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lx40WuH-XtQX; Mon, 11 Feb 2008 18:07:44 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 3080A673FD2; Mon, 11 Feb 2008 18:07:44 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id m1BH7hk5005817; Mon, 11 Feb 2008 18:07:43 +0100 (CET) (envelope-from rdivacky) Date: Mon, 11 Feb 2008 18:07:43 +0100 From: Roman Divacky To: Andriy Gapon Message-ID: <20080211170743.GA4866@freebsd.org> References: <47B074D5.1020602@icyb.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47B074D5.1020602@icyb.net.ua> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: bug in recent linux mmap changes ? 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, 11 Feb 2008 17:08:03 -0000 On Mon, Feb 11, 2008 at 06:16:21PM +0200, Andriy Gapon wrote: > After upgrading two machines, one to 6.3 and the other to 7.0-RC1, I can > not run linux heroes3 anymore (statically linked, threaded application > originally written for kernel 2.2.X). On 6.3 the process "hangs", on > 7.0-RC1 one of the threads/processes crashes with SIGSEGV. > Everything was OK as recently as 6.2. > > I can provide more diagnostics later, if needed, but in both cases I see > that the last system call in a troublesome thread/process is linux_mmap(). > I did a brief search through recent linux_mmap changes and I think that > there is a bug in the following commit (I am writing this hastiliy, so I > haven't yet tested a possible fix): > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/linux_machdep.c.diff?r1=1.48.2.4;r2=1.48.2.5;f=h > > Namely, old code: > ==================================================== > /* This gives us TOS */ > bsd_args.addr = linux_args->addr + linux_args->len; > > if (bsd_args.addr > p->p_vmspace->vm_maxsaddr) { > [block folded] > } > > /* This gives us our maximum stack size */ > if (linux_args->len > STACK_SIZE - GUARD_SIZE) > bsd_args.len = linux_args->len; > else > bsd_args.len = STACK_SIZE - GUARD_SIZE; > > /* > [comment folded] > */ > bsd_args.addr -= bsd_args.len; > ==================================================== > > New code: > ==================================================== > if ((caddr_t)PTRIN(linux_args->addr) + linux_args->len > > p->p_vmspace->vm_maxsaddr) { > [block folded] > } > > /* This gives us our maximum stack size */ > if (linux_args->len > STACK_SIZE - GUARD_SIZE) > bsd_args.len = linux_args->len; > else > bsd_args.len = STACK_SIZE - GUARD_SIZE; > > /* > [comment foled] > */ > bsd_args.addr = (caddr_t)PTRIN(linux_args->addr) - > bsd_args.len; > ==================================================== > > Please now note that the new code doesn't have initial bsd_args.addr > assignment line. So, in summary, old code does the following: > bsd_args.addr = linux_args->addr + linux_args->len; > ... > bsd_args.addr -= bsd_args.len; > > While new code does: > bsd_args.addr = (caddr_t)PTRIN(linux_args->addr) - bsd_args.len; I think you are right.... does changing bsd_args.addr = (caddr_t)PTRIN(linux_args->addr) - bsd_args.len; to bsd_args.addr = (caddr_t)PTRIN(linux_args->addr) + linux_args->len - bsd_args.len; fix that? or possibly just bsd_args.addr = (caddr_t)PTRIN(linux_args->addr); can someone test this please? asap... it would be nice to squeeze this into 7.0R roman From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 11 17:41:49 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 53C9816A468; Mon, 11 Feb 2008 17:41:48 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Mon, 11 Feb 2008 12:41:29 -0500 User-Agent: KMail/1.6.2 References: <47B074D5.1020602@icyb.net.ua> In-Reply-To: <47B074D5.1020602@icyb.net.ua> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_OjIsH3RJW7kja/M" Message-Id: <200802111241.34097.jkim@FreeBSD.org> Cc: Andriy Gapon Subject: Re: bug in recent linux mmap changes ? 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, 11 Feb 2008 17:41:49 -0000 --Boundary-00=_OjIsH3RJW7kja/M Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Monday 11 February 2008 11:16 am, Andriy Gapon wrote: > After upgrading two machines, one to 6.3 and the other to 7.0-RC1, > I can not run linux heroes3 anymore (statically linked, threaded > application originally written for kernel 2.2.X). On 6.3 the > process "hangs", on 7.0-RC1 one of the threads/processes crashes > with SIGSEGV. Everything was OK as recently as 6.2. > > I can provide more diagnostics later, if needed, but in both cases > I see that the last system call in a troublesome thread/process is > linux_mmap(). I did a brief search through recent linux_mmap > changes and I think that there is a bug in the following commit (I > am writing this hastiliy, so I haven't yet tested a possible fix): > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/linux_mach >dep.c.diff?r1=1.48.2.4;r2=1.48.2.5;f=h > > Namely, old code: > ==================================================== > /* This gives us TOS */ > bsd_args.addr = linux_args->addr + linux_args->len; > > if (bsd_args.addr > p->p_vmspace->vm_maxsaddr) { > [block folded] > } > > /* This gives us our maximum stack size */ > if (linux_args->len > STACK_SIZE - GUARD_SIZE) > bsd_args.len = linux_args->len; > else > bsd_args.len = STACK_SIZE - GUARD_SIZE; > > /* > [comment folded] > */ > bsd_args.addr -= bsd_args.len; > ==================================================== > > New code: > ==================================================== > if ((caddr_t)PTRIN(linux_args->addr) + linux_args->len > > p->p_vmspace->vm_maxsaddr) { > [block folded] > } > > /* This gives us our maximum stack size */ > if (linux_args->len > STACK_SIZE - GUARD_SIZE) > bsd_args.len = linux_args->len; > else > bsd_args.len = STACK_SIZE - GUARD_SIZE; > > /* > [comment foled] > */ > bsd_args.addr = (caddr_t)PTRIN(linux_args->addr) - > bsd_args.len; > ==================================================== > > Please now note that the new code doesn't have initial > bsd_args.addr assignment line. So, in summary, old code does the > following: bsd_args.addr = linux_args->addr + linux_args->len; > ... > bsd_args.addr -= bsd_args.len; > > While new code does: > bsd_args.addr = (caddr_t)PTRIN(linux_args->addr) - bsd_args.len; Good catch! Can you test the attached patch? Thanks! Jung-uk Kim --Boundary-00=_OjIsH3RJW7kja/M Content-Type: text/plain; charset="iso-8859-1"; name="linux_mmap.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="linux_mmap.diff" Index: sys/amd64/linux32/linux32_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/amd64/linux32/linux32_machdep.c,v retrieving revision 1.45 diff -u -r1.45 linux32_machdep.c --- sys/amd64/linux32/linux32_machdep.c 4 Jul 2007 23:06:43 -0000 1.45 +++ sys/amd64/linux32/linux32_machdep.c 11 Feb 2008 17:38:08 -0000 @@ -907,21 +907,22 @@ PROC_UNLOCK(p); } - /* This gives us our maximum stack size */ - if (linux_args->len > STACK_SIZE - GUARD_SIZE) - bsd_args.len = linux_args->len; - else - bsd_args.len = STACK_SIZE - GUARD_SIZE; - /* - * This gives us a new BOS. If we're using VM_STACK, then - * mmap will just map the top SGROWSIZ bytes, and let - * the stack grow down to the limit at BOS. If we're - * not using VM_STACK we map the full stack, since we - * don't have a way to autogrow it. + * This gives us our maximum stack size and a new BOS. + * If we're using VM_STACK, then mmap will just map + * the top SGROWSIZ bytes, and let the stack grow down + * to the limit at BOS. If we're not using VM_STACK + * we map the full stack, since we don't have a way + * to autogrow it. */ - bsd_args.addr = (caddr_t)PTRIN(linux_args->addr) - - bsd_args.len; + if (linux_args->len > STACK_SIZE - GUARD_SIZE) { + bsd_args.len = linux_args->len; + bsd_args.addr = (caddr_t)PTRIN(linux_args->addr); + } else { + bsd_args.len = STACK_SIZE - GUARD_SIZE; + bsd_args.addr = (caddr_t)PTRIN(linux_args->addr) + + linux_args->len - bsd_args.len; + } } else { bsd_args.addr = (caddr_t)PTRIN(linux_args->addr); bsd_args.len = linux_args->len; Index: sys/i386/linux/linux_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/i386/linux/linux_machdep.c,v retrieving revision 1.79 diff -u -r1.79 linux_machdep.c --- sys/i386/linux/linux_machdep.c 26 Nov 2007 11:06:19 -0000 1.79 +++ sys/i386/linux/linux_machdep.c 11 Feb 2008 17:38:08 -0000 @@ -758,21 +758,22 @@ PROC_UNLOCK(p); } - /* This gives us our maximum stack size */ - if (linux_args->len > STACK_SIZE - GUARD_SIZE) - bsd_args.len = linux_args->len; - else - bsd_args.len = STACK_SIZE - GUARD_SIZE; - - /* - * This gives us a new BOS. If we're using VM_STACK, then - * mmap will just map the top SGROWSIZ bytes, and let - * the stack grow down to the limit at BOS. If we're - * not using VM_STACK we map the full stack, since we - * don't have a way to autogrow it. + /* + * This gives us our maximum stack size and a new BOS. + * If we're using VM_STACK, then mmap will just map + * the top SGROWSIZ bytes, and let the stack grow down + * to the limit at BOS. If we're not using VM_STACK + * we map the full stack, since we don't have a way + * to autogrow it. */ - bsd_args.addr = (caddr_t)PTRIN(linux_args->addr) - - bsd_args.len; + if (linux_args->len > STACK_SIZE - GUARD_SIZE) { + bsd_args.len = linux_args->len; + bsd_args.addr = (caddr_t)PTRIN(linux_args->addr); + } else { + bsd_args.len = STACK_SIZE - GUARD_SIZE; + bsd_args.addr = (caddr_t)PTRIN(linux_args->addr) + + linux_args->len - bsd_args.len; + } } else { bsd_args.addr = (caddr_t)PTRIN(linux_args->addr); bsd_args.len = linux_args->len; --Boundary-00=_OjIsH3RJW7kja/M-- From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 11 19:12:51 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0732B16A419 for ; Mon, 11 Feb 2008 19:12:51 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 9DF2613C478 for ; Mon, 11 Feb 2008 19:12:50 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 692E943E028; Mon, 11 Feb 2008 21:12:48 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id prkEIzwOBsDf; Mon, 11 Feb 2008 21:12:48 +0200 (EET) Received: from [10.74.70.239] (unknown [193.138.145.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 7893A43DCF3; Mon, 11 Feb 2008 21:12:22 +0200 (EET) Message-ID: <47B09DCE.6010002@icyb.net.ua> Date: Mon, 11 Feb 2008 21:11:10 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20071208) MIME-Version: 1.0 To: Jung-uk Kim References: <47B074D5.1020602@icyb.net.ua> <200802111241.34097.jkim@FreeBSD.org> In-Reply-To: <200802111241.34097.jkim@FreeBSD.org> Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: bug in recent linux mmap changes ? 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, 11 Feb 2008 19:12:51 -0000 on 11/02/2008 19:41 Jung-uk Kim said the following: > On Monday 11 February 2008 11:16 am, Andriy Gapon wrote: [snip] >> I can provide more diagnostics later, if needed, but in both cases >> I see that the last system call in a troublesome thread/process is >> linux_mmap(). I did a brief search through recent linux_mmap >> changes and I think that there is a bug in the following commit (I >> am writing this hastiliy, so I haven't yet tested a possible fix): >> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/linux_machdep.c.diff?r1=1.48.2.4;r2=1.48.2.5;f=h > > Good catch! Can you test the attached patch? > Jung-uk, your patch fixed it for me on i386, no amd64 near me at this moment. Thank you very much! -- Andriy Gapon From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 11 22:24:46 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0AB116A41A for ; Mon, 11 Feb 2008 22:24:46 +0000 (UTC) (envelope-from mail@sysfault.org) Received: from smtprelay07.ispgateway.de (smtprelay07.ispgateway.de [80.67.29.7]) by mx1.freebsd.org (Postfix) with ESMTP id A1B1A13C478 for ; Mon, 11 Feb 2008 22:24:46 +0000 (UTC) (envelope-from mail@sysfault.org) Received: from [89.182.9.190] (helo=medusa.sysfault.org) by smtprelay07.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JOh4u-0000aM-NH for freebsd-emulation@FreeBSD.org; Mon, 11 Feb 2008 23:24:44 +0100 Received: from localhost ([127.0.0.1] helo=medusa.sysfault.org) by medusa.sysfault.org with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JOh5O-0000w1-Tr for freebsd-emulation@FreeBSD.org; Mon, 11 Feb 2008 23:25:16 +0100 Received: (from marcus@localhost) by medusa.sysfault.org (8.14.2/8.14.2/Submit) id m1BMPCmh003596 for freebsd-emulation@FreeBSD.org; Mon, 11 Feb 2008 23:25:12 +0100 (CET) (envelope-from marcus) Date: Mon, 11 Feb 2008 23:25:10 +0100 From: Marcus von Appen To: freebsd-emulation@FreeBSD.org Message-ID: <20080211222510.GA3533@medusa.sysfault.org> Mail-Followup-To: freebsd-emulation@FreeBSD.org References: <47B074D5.1020602@icyb.net.ua> <200802111241.34097.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: <200802111241.34097.jkim@FreeBSD.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Score: -4.4 (----) X-Df-Sender: 936934 Cc: Subject: Re: bug in recent linux mmap changes ? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus von Appen List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 22:24:47 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On, Mon Feb 11, 2008, Jung-uk Kim wrote: [mmap patch set] Great, great, great. This finally seems to fix the issue (ports/118213), Roman and me tried to track down. Thanks a lot for the fix. I can't wait to see it in RELENG_7 :-). Regards Marcus --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkewy0YACgkQo/JpszXavhykvwCeLOreUXLXoO0XmJXklpzR68Sg 59wAn02fqwaVhovolKb+2vjA/EnWYoif =ebDO -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc-- From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 12 08:29:25 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA73616A419 for ; Tue, 12 Feb 2008 08:29:25 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 6310113C459 for ; Tue, 12 Feb 2008 08:29:25 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id m1BJa6ce072278; Mon, 11 Feb 2008 14:36:06 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Mon, 11 Feb 2008 14:35:57 -0500 User-Agent: KMail/1.6.2 References: <47B074D5.1020602@icyb.net.ua> <200802111241.34097.jkim@FreeBSD.org> <47B09DCE.6010002@icyb.net.ua> In-Reply-To: <47B09DCE.6010002@icyb.net.ua> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200802111435.59395.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.92/5778/Mon Feb 11 13:53:43 2008 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Andriy Gapon Subject: Re: bug in recent linux mmap changes ? 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, 12 Feb 2008 08:29:25 -0000 On Monday 11 February 2008 02:11 pm, Andriy Gapon wrote: > on 11/02/2008 19:41 Jung-uk Kim said the following: > > On Monday 11 February 2008 11:16 am, Andriy Gapon wrote: > > [snip] > > >> I can provide more diagnostics later, if needed, but in both > >> cases I see that the last system call in a troublesome > >> thread/process is linux_mmap(). I did a brief search through > >> recent linux_mmap changes and I think that there is a bug in the > >> following commit (I am writing this hastiliy, so I haven't yet > >> tested a possible fix): > >> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/linux_m > >>achdep.c.diff?r1=1.48.2.4;r2=1.48.2.5;f=h > > > > Good catch! Can you test the attached patch? > > Jung-uk, > > your patch fixed it for me on i386, no amd64 near me at this > moment. Thank you very much! Committed (a slightly different version). Thanks! Jung-uk Kim From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 13 04:08:30 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2070016A419 for ; Wed, 13 Feb 2008 04:08:30 +0000 (UTC) (envelope-from novembre@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by mx1.freebsd.org (Postfix) with ESMTP id D677213C442 for ; Wed, 13 Feb 2008 04:08:29 +0000 (UTC) (envelope-from novembre@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so1409286anc.13 for ; Tue, 12 Feb 2008 20:08:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=JgEqLE0aZ6oLJ6wD183ILVsTQ6q2X/roap0na2N+iIM=; b=FMLUBQpWTPhZnhBzNdQbgdCr6NzNcI9YtNMB/A0JFr3PSvLL7Avi+pouVbPaxZCuLGzGoFQAqZzHwHxQAwCszbRdiJc8mRdSYyvfnEm+cBBaBn9idlrYd8bbPY4Pcck+anRZUH2NKB41FJ/luFQ5uVOavXOb++V5850/2u4yPEU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MjwkEFVy8ZTtGxRe1bXUTWmvhbu6te7CjiMontwgpX79Rga+TJbGoUB9cHMQLwst/QIKp7CEsoDPvgX5aLlkvPaYyf7NapLm2L20uydK6andjGAyordODzQYy5Uz+gxwFuaW2uO+GH5dzksRTSFT7DTYfWAXYgAMTBLuhNQY1gs= Received: by 10.100.194.17 with SMTP id r17mr2642940anf.101.1202873952449; Tue, 12 Feb 2008 19:39:12 -0800 (PST) Received: by 10.100.41.13 with HTTP; Tue, 12 Feb 2008 19:39:12 -0800 (PST) Message-ID: <3b47caa90802121939r61098f1dj4705d06d894c4aaf@mail.gmail.com> Date: Tue, 12 Feb 2008 21:39:12 -0600 From: Novembre To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Linux compatibility layer's wiki page 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, 13 Feb 2008 04:08:30 -0000 Hi all, I just wanted to mention that the wiki page for Linux compatibility layer ( http://wiki.freebsd.org/linux-kernel ) has not been updated for about 5 months. I was wondering about the status of the project right now, whether it's ready to use, etc. Btw, thanks for all the hard work everybody :) From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 13 09:16:07 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17EC916A419; Wed, 13 Feb 2008 09:16:07 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id C34A813C46B; Wed, 13 Feb 2008 09:16:06 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 611446744C3; Wed, 13 Feb 2008 10:16:04 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LDuN9rgZNB4d; Wed, 13 Feb 2008 10:15:52 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id CD29E67441B; Wed, 13 Feb 2008 10:15:52 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id m1D9FqUw020955; Wed, 13 Feb 2008 10:15:52 +0100 (CET) (envelope-from rdivacky) Date: Wed, 13 Feb 2008 10:15:52 +0100 From: Roman Divacky To: Novembre Message-ID: <20080213091552.GA20760@freebsd.org> References: <3b47caa90802121939r61098f1dj4705d06d894c4aaf@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3b47caa90802121939r61098f1dj4705d06d894c4aaf@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: Linux compatibility layer's wiki page 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, 13 Feb 2008 09:16:07 -0000 On Tue, Feb 12, 2008 at 09:39:12PM -0600, Novembre wrote: > Hi all, > > I just wanted to mention that the wiki page for Linux compatibility > layer ( http://wiki.freebsd.org/linux-kernel ) has not been updated > for about 5 months. I was wondering about the status of the project > right now, whether it's ready to use, etc. its been ready to use for many years :) nothing much happened over the 5 months... but there are things in the queue waiting to be commited. most notably - *at syscalls (linuxulator and native ones), this is quite close to be commited (waiting for me to answer kib@ some questions which I hope to do really soon now), also epoll seems to be ready for the prime time but I havent found anyone who can review/commit that (it's really trivial so I think anyone can do that) overall the status of linuxulator is really good I'd say, especially with the recent fix to mmap() There's a plan to switch over to 2.6 emulation on default once 7.0 is released roman From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 13 23:02:52 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1255816A469 for ; Wed, 13 Feb 2008 23:02:52 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id B6D2D13C4D1 for ; Wed, 13 Feb 2008 23:02:51 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 4C0086746C6 for ; Wed, 13 Feb 2008 23:47:31 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xKdMBtKn0lvK for ; Wed, 13 Feb 2008 23:47:18 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 4EAD4674605 for ; Wed, 13 Feb 2008 23:47:18 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id m1DMlIoQ059322 for emulation@freebsd.org; Wed, 13 Feb 2008 23:47:18 +0100 (CET) (envelope-from rdivacky) Date: Wed, 13 Feb 2008 23:47:17 +0100 From: Roman Divacky To: emulation@freebsd.org Message-ID: <20080213224717.GA59146@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: linux gnome libraries etc. 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, 13 Feb 2008 23:02:52 -0000 hi I noticed that linux-pango is version 1.10 (latest is 1.18), linux-glib2 is 2.6 (latest is 2.14) etc. etc. I tried to run firefox 3 beta 3 under linux emulation and it crashed because of some missing symbol in pango and I think its because our linux-pango is really outdated and does not meet the minimal requirements for firefox3. why havent these ports been updated? thnx for info roman From owner-freebsd-emulation@FreeBSD.ORG Thu Feb 14 00:08:16 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4167716A417; Thu, 14 Feb 2008 00:08:16 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id E36A613C4E7; Thu, 14 Feb 2008 00:08:15 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.17.118] (helo=localhost.my.domain) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1JPREH-0003XU-Dl; Thu, 14 Feb 2008 02:41:29 +0300 To: Roman Divacky References: <20080213224717.GA59146@freebsd.org> From: Boris Samorodov Date: Thu, 14 Feb 2008 02:41:09 +0300 In-Reply-To: <20080213224717.GA59146@freebsd.org> (Roman Divacky's message of "Wed\, 13 Feb 2008 23\:47\:17 +0100") Message-ID: <53884346@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: emulation@freebsd.org Subject: Re: linux gnome libraries etc. 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, 14 Feb 2008 00:08:16 -0000 On Wed, 13 Feb 2008 23:47:17 +0100 Roman Divacky wrote: > hi > I noticed that linux-pango is version 1.10 (latest is 1.18), > linux-glib2 is 2.6 (latest is 2.14) etc. etc. linux-glib2 is glib2-2.6.6-1, the lastest available for FedoraCore-4: http://mirror.eas.muohio.edu/fedora/linux/core/updates/4/i386/glib2-2.6.6-1.i386.rpm > I tried to run firefox 3 beta 3 under linux emulation and > it crashed because of some missing symbol in pango and I think > its because our linux-pango is really outdated and does not > meet the minimal requirements for firefox3. > why havent these ports been updated? The port won't ever be updated. More likely a new port, say linux-f7-glib2 will appear after the default osrelease is switched to 2.6.x. WBR -- bsam From owner-freebsd-emulation@FreeBSD.ORG Thu Feb 14 09:14:40 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E3DF16A418 for ; Thu, 14 Feb 2008 09:14:40 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id D86AE13C4F3 for ; Thu, 14 Feb 2008 09:14:39 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 8E50F674784; Thu, 14 Feb 2008 10:14:37 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tiSYZ31PQOzy; Thu, 14 Feb 2008 10:14:08 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 7724667472B; Thu, 14 Feb 2008 10:14:08 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id m1E9E8Tx082465; Thu, 14 Feb 2008 10:14:08 +0100 (CET) (envelope-from rdivacky) Date: Thu, 14 Feb 2008 10:14:08 +0100 From: Roman Divacky To: Boris Samorodov Message-ID: <20080214091408.GA82434@freebsd.org> References: <20080213224717.GA59146@freebsd.org> <53884346@ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53884346@ipt.ru> User-Agent: Mutt/1.4.2.3i Cc: emulation@freebsd.org Subject: Re: linux gnome libraries etc. 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, 14 Feb 2008 09:14:40 -0000 On Thu, Feb 14, 2008 at 02:41:09AM +0300, Boris Samorodov wrote: > On Wed, 13 Feb 2008 23:47:17 +0100 Roman Divacky wrote: > > > hi > > > I noticed that linux-pango is version 1.10 (latest is 1.18), > > linux-glib2 is 2.6 (latest is 2.14) etc. etc. > > linux-glib2 is glib2-2.6.6-1, the lastest available for FedoraCore-4: > http://mirror.eas.muohio.edu/fedora/linux/core/updates/4/i386/glib2-2.6.6-1.i386.rpm > > > I tried to run firefox 3 beta 3 under linux emulation and > > it crashed because of some missing symbol in pango and I think > > its because our linux-pango is really outdated and does not > > meet the minimal requirements for firefox3. > > > why havent these ports been updated? > > The port won't ever be updated. More likely a new port, say > linux-f7-glib2 will appear after the default osrelease is switched > to 2.6.x. ah.... good to know.. will there be some sort of "update from fc4 to fc7" script? From owner-freebsd-emulation@FreeBSD.ORG Thu Feb 14 15:10:43 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9684B16A417; Thu, 14 Feb 2008 15:10:43 +0000 (UTC) (envelope-from bsam@kfs.ru) Received: from kfs.ru (kfs.kfs.ru [62.183.117.194]) by mx1.freebsd.org (Postfix) with ESMTP id 4473613C461; Thu, 14 Feb 2008 15:10:43 +0000 (UTC) (envelope-from bsam@kfs.ru) Received: from bsam by kfs.ru with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1JPfBJ-0002hb-R7; Thu, 14 Feb 2008 17:35:21 +0300 To: Roman Divacky References: <20080213224717.GA59146@freebsd.org> <53884346@ipt.ru> <20080214091408.GA82434@freebsd.org> From: Boris Samorodov Date: Thu, 14 Feb 2008 17:35:21 +0300 In-Reply-To: <20080214091408.GA82434@freebsd.org> (Roman Divacky's message of "Thu, 14 Feb 2008 10:14:08 +0100") Message-ID: <43157302@serv3.int.kfs.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Boris B. Samorodov" Cc: emulation@freebsd.org Subject: Re: linux gnome libraries etc. 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, 14 Feb 2008 15:10:43 -0000 On Thu, 14 Feb 2008 10:14:08 +0100 Roman Divacky wrote: > On Thu, Feb 14, 2008 at 02:41:09AM +0300, Boris Samorodov wrote: > > On Wed, 13 Feb 2008 23:47:17 +0100 Roman Divacky wrote: > > > > > I noticed that linux-pango is version 1.10 (latest is 1.18), > > > linux-glib2 is 2.6 (latest is 2.14) etc. etc. > > > > linux-glib2 is glib2-2.6.6-1, the lastest available for FedoraCore-4: > > http://mirror.eas.muohio.edu/fedora/linux/core/updates/4/i386/glib2-2.6.6-1.i386.rpm > > > > > I tried to run firefox 3 beta 3 under linux emulation and > > > it crashed because of some missing symbol in pango and I think > > > its because our linux-pango is really outdated and does not > > > meet the minimal requirements for firefox3. > > > > > why havent these ports been updated? > > > > The port won't ever be updated. More likely a new port, say > > linux-f7-glib2 will appear after the default osrelease is switched > > to 2.6.x. > ah.... good to know.. will there be some sort of "update from fc4 to fc7" script? I need to think about it. Maybe standard portupgrade/else would be enough. WBR -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From owner-freebsd-emulation@FreeBSD.ORG Thu Feb 14 18:44:11 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDC2F16A41A; Thu, 14 Feb 2008 18:44:11 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id A7EEA13C468; Thu, 14 Feb 2008 18:44:11 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5523F.dip.t-dialin.net [84.165.82.63]) by redbull.bpaserver.net (Postfix) with ESMTP id B837C2E0FE; Thu, 14 Feb 2008 19:44:01 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 463CF936C7; Thu, 14 Feb 2008 19:43:59 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m1EIhwLG034956; Thu, 14 Feb 2008 19:43:58 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from ANancy-154-1-28-46.w83-194.abo.wanadoo.fr (ANancy-154-1-28-46.w83-194.abo.wanadoo.fr [83.194.92.46]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 14 Feb 2008 19:43:58 +0100 Message-ID: <20080214194358.5cjdxcll0gook8o8@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 14 Feb 2008 19:43:58 +0100 From: Alexander Leidinger To: Boris Samorodov References: <20080213224717.GA59146@freebsd.org> <53884346@ipt.ru> <20080214091408.GA82434@freebsd.org> <43157302@serv3.int.kfs.ru> In-Reply-To: <43157302@serv3.int.kfs.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.5) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-13.504, required 6, BAYES_00 -15.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@freebsd.org Subject: Re: linux gnome libraries etc. 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, 14 Feb 2008 18:44:11 -0000 Quoting Boris Samorodov (from Thu, 14 Feb 2008 17:35:21 +0300)= : > On Thu, 14 Feb 2008 10:14:08 +0100 Roman Divacky wrote: >> On Thu, Feb 14, 2008 at 02:41:09AM +0300, Boris Samorodov wrote: >> > On Wed, 13 Feb 2008 23:47:17 +0100 Roman Divacky wrote: >> > >> > > I noticed that linux-pango is version 1.10 (latest is 1.18), >> > > linux-glib2 is 2.6 (latest is 2.14) etc. etc. >> > >> > linux-glib2 is glib2-2.6.6-1, the lastest available for FedoraCore-4: >> > =20 >> http://mirror.eas.muohio.edu/fedora/linux/core/updates/4/i386/glib2-2.6.6= -1.i386.rpm >> > >> > > I tried to run firefox 3 beta 3 under linux emulation and >> > > it crashed because of some missing symbol in pango and I think >> > > its because our linux-pango is really outdated and does not >> > > meet the minimal requirements for firefox3. >> > >> > > why havent these ports been updated? >> > >> > The port won't ever be updated. More likely a new port, say >> > linux-f7-glib2 will appear after the default osrelease is switched >> > to 2.6.x. I'm not happy with creating a new port, but maybe it is the only good =20 solution we can do. I didn't think much about installing a different =20 version depending on the default linux port, but I don't like this =20 idea much, as it may result in a nightmare. Informed opinions (with a =20 list of bad things and why it doesn't matter) in favour of this are =20 welcome. >> ah.... good to know.. will there be some sort of "update from fc4 =20 >> to fc7" script? > > I need to think about it. Maybe standard portupgrade/else would be > enough. I think an UPDATING entry will be enough. Bye, Alexander. --=20 Real programmers don't write memos. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Thu Feb 14 18:48:07 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5ACDE16A41A; Thu, 14 Feb 2008 18:48:07 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 1B50913C442; Thu, 14 Feb 2008 18:48:06 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5523F.dip.t-dialin.net [84.165.82.63]) by redbull.bpaserver.net (Postfix) with ESMTP id 5C52E2E342; Thu, 14 Feb 2008 19:47:52 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id F14E89371B; Thu, 14 Feb 2008 19:47:49 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m1EIln8X035718; Thu, 14 Feb 2008 19:47:49 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from ANancy-154-1-28-46.w83-194.abo.wanadoo.fr (ANancy-154-1-28-46.w83-194.abo.wanadoo.fr [83.194.92.46]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 14 Feb 2008 19:47:49 +0100 Message-ID: <20080214194749.u9soqtthws0wsock@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 14 Feb 2008 19:47:49 +0100 From: Alexander Leidinger To: Roman Divacky References: <3b47caa90802121939r61098f1dj4705d06d894c4aaf@mail.gmail.com> <20080213091552.GA20760@freebsd.org> In-Reply-To: <20080213091552.GA20760@freebsd.org> 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.5) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-15.4, required 6, autolearn=not spam, BAYES_00 -15.00, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org, Novembre Subject: Re: Linux compatibility layer's wiki page 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, 14 Feb 2008 18:48:07 -0000 Quoting Roman Divacky (from Wed, 13 Feb 2008 =20 10:15:52 +0100): > On Tue, Feb 12, 2008 at 09:39:12PM -0600, Novembre wrote: >> Hi all, >> >> I just wanted to mention that the wiki page for Linux compatibility >> layer ( http://wiki.freebsd.org/linux-kernel ) has not been updated >> for about 5 months. I was wondering about the status of the project >> right now, whether it's ready to use, etc. > > its been ready to use for many years :) nothing much happened over > the 5 months... but there are things in the queue waiting to be commited. We could do a new run with a recent LTP release and update the LP =20 page... unfortunately I don't have the time and not enough resources =20 for this. > most notably - *at syscalls (linuxulator and native ones), this is quite > close to be commited (waiting for me to answer kib@ some questions which > I hope to do really soon now), also epoll seems to be ready for the prime > time but I havent found anyone who can review/commit that (it's really > trivial so I think anyone can do that) Post the epoll patch here on emulation. > overall the status of linuxulator is really good I'd say, especially > with the recent fix to mmap() We should mention that we have a known bug in the linux getents(). > There's a plan to switch over to 2.6 emulation on default once 7.0 > is released More precisely: after *at() and epoll hits the tree, we plan to switch =20 to 2.6 in _current_ (after a HEADS UP to current@). Bye, Alexander. --=20 I've never struck a woman in my life, not even my own mother. =09=09-- W.C. Fields http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Thu Feb 14 22:46:26 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F55B16A417 for ; Thu, 14 Feb 2008 22:46:26 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 490E013C45D for ; Thu, 14 Feb 2008 22:46:25 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 4791067487F; Thu, 14 Feb 2008 23:46:23 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4AGvbaTElt1J; Thu, 14 Feb 2008 23:46:12 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 6F1C0674852; Thu, 14 Feb 2008 23:46:12 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id m1EMkCrK028686; Thu, 14 Feb 2008 23:46:12 +0100 (CET) (envelope-from rdivacky) Date: Thu, 14 Feb 2008 23:46:11 +0100 From: Roman Divacky To: Alexander Leidinger Message-ID: <20080214224611.GA28632@freebsd.org> References: <3b47caa90802121939r61098f1dj4705d06d894c4aaf@mail.gmail.com> <20080213091552.GA20760@freebsd.org> <20080214194749.u9soqtthws0wsock@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080214194749.u9soqtthws0wsock@webmail.leidinger.net> User-Agent: Mutt/1.4.2.3i Cc: emulation@freebsd.org Subject: Re: Linux compatibility layer's wiki page 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, 14 Feb 2008 22:46:26 -0000 On Thu, Feb 14, 2008 at 07:47:49PM +0100, Alexander Leidinger wrote: > Quoting Roman Divacky (from Wed, 13 Feb 2008 > 10:15:52 +0100): > > >On Tue, Feb 12, 2008 at 09:39:12PM -0600, Novembre wrote: > >>Hi all, > >> > >>I just wanted to mention that the wiki page for Linux compatibility > >>layer ( http://wiki.freebsd.org/linux-kernel ) has not been updated > >>for about 5 months. I was wondering about the status of the project > >>right now, whether it's ready to use, etc. > > > >its been ready to use for many years :) nothing much happened over > >the 5 months... but there are things in the queue waiting to be commited. > > We could do a new run with a recent LTP release and update the LP > page... unfortunately I don't have the time and not enough resources > for this. I doubt that much (if anything at all) changed > >most notably - *at syscalls (linuxulator and native ones), this is quite > >close to be commited (waiting for me to answer kib@ some questions which > >I hope to do really soon now), also epoll seems to be ready for the prime > >time but I havent found anyone who can review/commit that (it's really > >trivial so I think anyone can do that) > > Post the epoll patch here on emulation. sure... after I get some sleep I'll do that ;) > >overall the status of linuxulator is really good I'd say, especially > >with the recent fix to mmap() > > We should mention that we have a known bug in the linux getents(). > > >There's a plan to switch over to 2.6 emulation on default once 7.0 > >is released > > More precisely: after *at() and epoll hits the tree, we plan to switch > to 2.6 in _current_ (after a HEADS UP to current@). I dont think that this is absolutely necessary but it makes sense... I am not sure if the epoll() should be included too (so far no review has been done and I dont htink its wise to delay the switch because of epoll()) roman From owner-freebsd-emulation@FreeBSD.ORG Fri Feb 15 08:59:33 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 564A316A420; Fri, 15 Feb 2008 08:59:33 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id EC31213C4D1; Fri, 15 Feb 2008 08:59:32 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A569DD.dip.t-dialin.net [84.165.105.221]) by redbull.bpaserver.net (Postfix) with ESMTP id 0D3A42E34A; Fri, 15 Feb 2008 09:59:22 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id DC21A94B1B; Fri, 15 Feb 2008 09:59:18 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m1F8xIqH081635; Fri, 15 Feb 2008 09:59:18 +0100 (CET) (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, 15 Feb 2008 09:59:17 +0100 Message-ID: <20080215095917.gdo22zpeok4k44gg@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 15 Feb 2008 09:59:17 +0100 From: Alexander Leidinger To: Roman Divacky References: <3b47caa90802121939r61098f1dj4705d06d894c4aaf@mail.gmail.com> <20080213091552.GA20760@freebsd.org> <20080214194749.u9soqtthws0wsock@webmail.leidinger.net> <20080214224611.GA28632@freebsd.org> In-Reply-To: <20080214224611.GA28632@freebsd.org> 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.5) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.004, required 6, BAYES_00 -15.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@freebsd.org Subject: Re: Linux compatibility layer's wiki page 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, 15 Feb 2008 08:59:33 -0000 Quoting Roman Divacky (from Thu, 14 Feb 2008 =20 23:46:11 +0100): > On Thu, Feb 14, 2008 at 07:47:49PM +0100, Alexander Leidinger wrote: >> Quoting Roman Divacky (from Wed, 13 Feb 2008 >> 10:15:52 +0100): >> >> >On Tue, Feb 12, 2008 at 09:39:12PM -0600, Novembre wrote: >> >>Hi all, >> >> >> >>I just wanted to mention that the wiki page for Linux compatibility >> >>layer ( http://wiki.freebsd.org/linux-kernel ) has not been updated >> >>for about 5 months. I was wondering about the status of the project >> >>right now, whether it's ready to use, etc. >> > >> >its been ready to use for many years :) nothing much happened over >> >the 5 months... but there are things in the queue waiting to be commited= . >> >> We could do a new run with a recent LTP release and update the LP >> page... unfortunately I don't have the time and not enough resources >> for this. > > I doubt that much (if anything at all) changed Not in the linuxulator, but in the LTP. Bye, Alexander. --=20 Cynic, n.: =09One who looks through rose-colored glasses with a jaundiced =09eye. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Fri Feb 15 20:37:23 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D125F16A476; Fri, 15 Feb 2008 20:37:23 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 94C9613C4DB; Fri, 15 Feb 2008 20:37:23 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1JQ7JC-000AXk-0i; Fri, 15 Feb 2008 23:37:22 +0300 Received: from bsam by bs1.sp34.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1JQ7KO-0001gV-M3; Fri, 15 Feb 2008 23:38:36 +0300 To: Alexander Leidinger References: <20080213224717.GA59146@freebsd.org> <53884346@ipt.ru> <20080214091408.GA82434@freebsd.org> <43157302@serv3.int.kfs.ru> <20080214194358.5cjdxcll0gook8o8@webmail.leidinger.net> From: Boris Samorodov Date: Fri, 15 Feb 2008 23:38:36 +0300 In-Reply-To: <20080214194358.5cjdxcll0gook8o8@webmail.leidinger.net> (Alexander Leidinger's message of "Thu, 14 Feb 2008 19:43:58 +0100") Message-ID: <96741075@bs1.sp34.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: emulation@freebsd.org Subject: Re: linux gnome libraries etc. 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, 15 Feb 2008 20:37:23 -0000 On Thu, 14 Feb 2008 19:43:58 +0100 Alexander Leidinger wrote: > Quoting Boris Samorodov (from Thu, 14 Feb 2008 17:35:21 +0300): > > On Thu, 14 Feb 2008 10:14:08 +0100 Roman Divacky wrote: > >> On Thu, Feb 14, 2008 at 02:41:09AM +0300, Boris Samorodov wrote: > >> > On Wed, 13 Feb 2008 23:47:17 +0100 Roman Divacky wrote: > >> > > >> > > I noticed that linux-pango is version 1.10 (latest is 1.18), > >> > > linux-glib2 is 2.6 (latest is 2.14) etc. etc. > >> > > >> > linux-glib2 is glib2-2.6.6-1, the lastest available for FedoraCore-4: > >> > > >> http://mirror.eas.muohio.edu/fedora/linux/core/updates/4/i386/glib2-2.6.6-1.i386.rpm > >> > > >> > > I tried to run firefox 3 beta 3 under linux emulation and > >> > > it crashed because of some missing symbol in pango and I think > >> > > its because our linux-pango is really outdated and does not > >> > > meet the minimal requirements for firefox3. > >> > > >> > > why havent these ports been updated? > >> > > >> > The port won't ever be updated. More likely a new port, say > >> > linux-f7-glib2 will appear after the default osrelease is switched > >> > to 2.6.x. > I'm not happy with creating a new port, but maybe it is the only good > solution we can do. I didn't think much about installing a different > version depending on the default linux port, but I don't like this > idea much, as it may result in a nightmare. Informed opinions (with a > list of bad things and why it doesn't matter) in favour of this are > welcome. So far I know one idea why it looks bad to me (to have one port) and why I prefer to speak about two ports (actually it means dubbling all linux infrastructure ports): . we won't have packages for non-defaults. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 16 11:05:40 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1436916A417; Sat, 16 Feb 2008 11:05:40 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id DCC3D13C455; Sat, 16 Feb 2008 11:05:39 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A548BF.dip.t-dialin.net [84.165.72.191]) by redbull.bpaserver.net (Postfix) with ESMTP id F0B752E084; Sat, 16 Feb 2008 12:05:27 +0100 (CET) Received: from deskjail (unknown [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id AC38C777BE; Sat, 16 Feb 2008 12:05:25 +0100 (CET) Date: Sat, 16 Feb 2008 11:59:48 +0100 From: Alexander Leidinger To: Boris Samorodov Message-ID: <20080216115948.485afc1d@deskjail> In-Reply-To: <96741075@bs1.sp34.ru> References: <20080213224717.GA59146@freebsd.org> <53884346@ipt.ru> <20080214091408.GA82434@freebsd.org> <43157302@serv3.int.kfs.ru> <20080214194358.5cjdxcll0gook8o8@webmail.leidinger.net> <96741075@bs1.sp34.ru> X-Mailer: Claws Mail 3.3.0 (GTK+ 2.12.8; i686-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, NO_RDNS 0.50, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@freebsd.org Subject: Re: linux gnome libraries etc. 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: Sat, 16 Feb 2008 11:05:40 -0000 Quoting Boris Samorodov (Fri, 15 Feb 2008 23:38:36 +0300): > On Thu, 14 Feb 2008 19:43:58 +0100 Alexander Leidinger wrote: > > Quoting Boris Samorodov (from Thu, 14 Feb 2008 17:35:21 +0300): > > >> > The port won't ever be updated. More likely a new port, say > > >> > linux-f7-glib2 will appear after the default osrelease is switched > > >> > to 2.6.x. > > > I'm not happy with creating a new port, but maybe it is the only good > > solution we can do. I didn't think much about installing a different > > version depending on the default linux port, but I don't like this > > idea much, as it may result in a nightmare. Informed opinions (with a > > list of bad things and why it doesn't matter) in favour of this are > > welcome. > > So far I know one idea why it looks bad to me (to have one port) and > why I prefer to speak about two ports (actually it means dubbling all > linux infrastructure ports): > . we won't have packages for non-defaults. This is the least annoying problem (additionally I think we can get version X packages for e.g 6.x and version Y packages for e.g. 7.x if done correctly). :) I expect more problems for people which try to update without reading UPDATING, and I expect that there need to be some additional logic in bsd.port.mk. Plist handling and other things may be more messy. BTW: I don't like to have f7 or such in the port names, I think k26 (like kernel 2.6) or 26e (like 2.6 emulation) would be better in the long term. Bye, Alexander. -- BOFH excuse #36: dynamic software linking table corrupted http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 16 11:28:21 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26FF416A419; Sat, 16 Feb 2008 11:28:21 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id ECF7613C4F5; Sat, 16 Feb 2008 11:28:20 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1JQLDO-0008zx-Tw; Sat, 16 Feb 2008 14:28:18 +0300 To: Alexander Leidinger References: <20080213224717.GA59146@freebsd.org> <53884346@ipt.ru> <20080214091408.GA82434@freebsd.org> <43157302@serv3.int.kfs.ru> <20080214194358.5cjdxcll0gook8o8@webmail.leidinger.net> <96741075@bs1.sp34.ru> <20080216115948.485afc1d@deskjail> From: Boris Samorodov Date: Sat, 16 Feb 2008 14:26:33 +0300 In-Reply-To: <20080216115948.485afc1d@deskjail> (Alexander Leidinger's message of "Sat\, 16 Feb 2008 11\:59\:48 +0100") Message-ID: <39615478@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: emulation@freebsd.org Subject: Re: linux gnome libraries etc. 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: Sat, 16 Feb 2008 11:28:21 -0000 On Sat, 16 Feb 2008 11:59:48 +0100 Alexander Leidinger wrote: > I expect more problems for people which try to update without reading > UPDATING, and I expect that there need to be some additional logic in > bsd.port.mk. Plist handling and other things may be more messy. How do plan to introduce 2.6 as a default? First at HEAD, then MFC it or just leave it for 8.x only? > BTW: I don't like to have f7 or such in the port names, I think k26 > (like kernel 2.6) or 26e (like 2.6 emulation) would be better in the > long term. I like the latter. What about 26ke (2.6 kernel emulation)? Although it's one character longer... WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 16 11:30:39 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1C2F16A41B for ; Sat, 16 Feb 2008 11:30:39 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 8EFC313C457 for ; Sat, 16 Feb 2008 11:30:38 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id B7F74674AB7; Sat, 16 Feb 2008 12:30:36 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hOnzzoAXQC8E; Sat, 16 Feb 2008 12:30:35 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id B8298674A8B; Sat, 16 Feb 2008 12:30:35 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id m1GBUZuZ020726; Sat, 16 Feb 2008 12:30:35 +0100 (CET) (envelope-from rdivacky) Date: Sat, 16 Feb 2008 12:30:35 +0100 From: Roman Divacky To: Boris Samorodov Message-ID: <20080216113035.GA20668@freebsd.org> References: <20080213224717.GA59146@freebsd.org> <53884346@ipt.ru> <20080214091408.GA82434@freebsd.org> <43157302@serv3.int.kfs.ru> <20080214194358.5cjdxcll0gook8o8@webmail.leidinger.net> <96741075@bs1.sp34.ru> <20080216115948.485afc1d@deskjail> <39615478@bb.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <39615478@bb.ipt.ru> User-Agent: Mutt/1.4.2.3i Cc: emulation@freebsd.org, Alexander Leidinger Subject: Re: linux gnome libraries etc. 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: Sat, 16 Feb 2008 11:30:39 -0000 On Sat, Feb 16, 2008 at 02:26:33PM +0300, Boris Samorodov wrote: > On Sat, 16 Feb 2008 11:59:48 +0100 Alexander Leidinger wrote: > > > I expect more problems for people which try to update without reading > > UPDATING, and I expect that there need to be some additional logic in > > bsd.port.mk. Plist handling and other things may be more messy. > > How do plan to introduce 2.6 as a default? First at HEAD, then MFC it > or just leave it for 8.x only? I strongly suggest 8.x only and only if it proves to solve more problems than it causes... From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 16 14:05:03 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6455916A418 for ; Sat, 16 Feb 2008 14:05:03 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id E94EB13C469 for ; Sat, 16 Feb 2008 14:05:02 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JQMZU-0003nC-3y for freebsd-emulation@freebsd.org; Sat, 16 Feb 2008 12:55:12 +0000 Received: from 78-1-103-17.adsl.net.t-com.hr ([78.1.103.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Feb 2008 12:55:12 +0000 Received: from ivoras by 78-1-103-17.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Feb 2008 12:55:12 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: Ivan Voras Date: Sat, 16 Feb 2008 13:55:04 +0100 Lines: 57 Message-ID: References: <20080213224717.GA59146@freebsd.org> <53884346@ipt.ru> <20080214091408.GA82434@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8F35CD5CDE3C24504C4C26F8" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-103-17.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <20080214091408.GA82434@freebsd.org> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: linux gnome libraries etc. 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: Sat, 16 Feb 2008 14:05:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8F35CD5CDE3C24504C4C26F8 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Roman Divacky wrote: > On Thu, Feb 14, 2008 at 02:41:09AM +0300, Boris Samorodov wrote: >> On Wed, 13 Feb 2008 23:47:17 +0100 Roman Divacky wrote: >>> I tried to run firefox 3 beta 3 under linux emulation and >>> it crashed because of some missing symbol in pango and I think >>> its because our linux-pango is really outdated and does not >>> meet the minimal requirements for firefox3. >>> why havent these ports been updated? >> The port won't ever be updated. More likely a new port, say >> linux-f7-glib2 will appear after the default osrelease is switched >> to 2.6.x. >=20 > ah.... good to know.. will there be some sort of "update from fc4 to fc= 7" script? Have you (the Linux ABI compat developers, not necessarily you directly=20 :) ) considered switching to CentOS as the default/official Linux compat = environment? It's a RHEL mirror-image and despite RHEL's flaws its *the* = distribution for complex "enterprise" software (think Oracle, SAP...). I = can see two benefits from it: - its popularity from large 3rd party vendors of professional software=20 (apparently Oracle support won't even listen to you if you try using it=20 on anything but the certified distributions/versions). It's widely=20 regarded as a "server" system, much like FreeBSD is. - it is updated much less often than Fedora (literally years pass before = major updates) so if timed luckily, new versions of CentOS/RHEL could be = adopted with major revisions of FreeBSD. --------------enig8F35CD5CDE3C24504C4C26F8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHtt0oldnAQVacBcgRAju0AKDRHWZpzo+QLugC49kAJdlWAH358QCgykV8 N9K6luKf37wx3KuO6FLJNfM= =mZeU -----END PGP SIGNATURE----- --------------enig8F35CD5CDE3C24504C4C26F8-- From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 16 17:10:28 2008 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5619916A417; Sat, 16 Feb 2008 17:10:28 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id DBFBE13C448; Sat, 16 Feb 2008 17:10:27 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JQQ8U-0008hZ-HZ; Sat, 16 Feb 2008 18:43:35 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id m1GGhACA026472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 16 Feb 2008 18:43:10 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m1GGhVpI013677; Sat, 16 Feb 2008 18:43:31 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m1GGhVqC013676; Sat, 16 Feb 2008 18:43:31 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 16 Feb 2008 18:43:31 +0200 From: Kostik Belousov To: nox@FreeBSD.org Message-ID: <20080216164331.GJ57756@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ctqliX8Ws5lO4mqI" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on skuns.kiev.zoral.com.ua X-Scanner-Signature: b565934a9b6505813531773f2f5625c7 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2246 [Feb 15 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release Cc: emulation@FreeBSD.org Subject: qemu-system-amd64 and freebsd guest 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: Sat, 16 Feb 2008 17:10:28 -0000 --ctqliX8Ws5lO4mqI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline My recent attempts to boot CURRENT amd64 on QEMU 0.9.1 resulted in the consistent kernel panic in the first instruction of the root_bus_ocnfigure() function. Looking around, I noted that this instruction is the second one executed after "sti" in the amd64/amd64/autoconf.c:configure(). CPU executes sti call root_bus_configure pushq %rbp <- General Protection Fault there It makes me suspect that fault happen when hardware interrupt is delivered. Indeed, looking around qemu source code and setting breakpoints in QEMU, I noted that hw interrupt is delivered, with into = -1. Calculation of the IDT index in the QEMU' target-i386/helper.c:do_interrupt64() as intno*16 and comparision with unsigned limit looked as overflow and GPF was delivered instead. Then, it appears that -1 comes from cpu_get_pic_interrupt() when apic_accept_pic_intr() returns false. This happen, in particular, when corresponding lapic vector is masked. The situation is legitimate, and I think that QEMU shall not deliver an interrupt in this case. The following patch allows me to boot the amd64 freebsd on qemu 0.9.1 from ports. --- cpu-exec.c.orig 2008-02-16 18:23:53.134009488 +0200 +++ cpu-exec.c 2008-02-16 18:24:47.127662872 +0200 @@ -452,13 +452,15 @@ svm_check_intercept(SVM_EXIT_INTR); env->interrupt_request &= ~(CPU_INTERRUPT_HARD | CPU_INTERRUPT_VIRQ); intno = cpu_get_pic_interrupt(env); - if (loglevel & CPU_LOG_TB_IN_ASM) { - fprintf(logfile, "Servicing hardware INT=0x%02x\n", intno); - } - do_interrupt(intno, 0, 0, 0, 1); - /* ensure that no TB jump will be modified as - the program flow was changed */ - BREAK_CHAIN; + if (intno != -1) { + if (loglevel & CPU_LOG_TB_IN_ASM) { + fprintf(logfile, "Servicing hardware INT=0x%02x\n", intno); + } + do_interrupt(intno, 0, 0, 0, 1); + /* ensure that no TB jump will be modified as + the program flow was changed */ + BREAK_CHAIN; + } #if !defined(CONFIG_USER_ONLY) } else if ((interrupt_request & CPU_INTERRUPT_VIRQ) && (env->eflags & IF_MASK) && !(env->hflags & HF_INHIBIT_IRQ_MASK)) { --ctqliX8Ws5lO4mqI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAke3ErIACgkQC3+MBN1Mb4gpuQCgmBq7+oidQ1y/xc7zKb03buAZ 5qcAoK9omowlhSqA62BIupYolaHvE+ic =9oJa -----END PGP SIGNATURE----- --ctqliX8Ws5lO4mqI-- From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 16 18:34:19 2008 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C72E16A417 for ; Sat, 16 Feb 2008 18:34:19 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id DE51713C442 for ; Sat, 16 Feb 2008 18:34:18 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JQRrb-0002Za-KW for emulation@FreeBSD.org; Sat, 16 Feb 2008 20:34:18 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id m1GIXoAn028970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 16 Feb 2008 20:33:50 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m1GIYBDF020368; Sat, 16 Feb 2008 20:34:11 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m1GIYBiP020367; Sat, 16 Feb 2008 20:34:11 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 16 Feb 2008 20:34:11 +0200 From: Kostik Belousov To: Juergen Lock Message-ID: <20080216183411.GL57756@deviant.kiev.zoral.com.ua> References: <20080216164331.GJ57756@deviant.kiev.zoral.com.ua> <20080216181850.GA35839@saturn.kn-bremen.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+j5CnouwYkpW7UmB" Content-Disposition: inline In-Reply-To: <20080216181850.GA35839@saturn.kn-bremen.de> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on skuns.kiev.zoral.com.ua X-Scanner-Signature: 21f1cdc77deae757bfd40713fd6c3781 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 2246 [Feb 15 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: emulation@FreeBSD.org Subject: Re: qemu-system-amd64 and freebsd guest 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: Sat, 16 Feb 2008 18:34:19 -0000 --+j5CnouwYkpW7UmB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 16, 2008 at 07:18:50PM +0100, Juergen Lock wrote: > On Sat, Feb 16, 2008 at 06:43:31PM +0200, Kostik Belousov wrote: > > My recent attempts to boot CURRENT amd64 on QEMU 0.9.1 resulted in the > > consistent kernel panic in the first instruction of the root_bus_ocnfig= ure() > > function. Looking around, I noted that this instruction is the second o= ne > > executed after "sti" in the amd64/amd64/autoconf.c:configure(). > > CPU executes > > sti > > call root_bus_configure > > pushq %rbp <- General Protection Fault there > >=20 > > It makes me suspect that fault happen when hardware interrupt is delive= red. > > Indeed, looking around qemu source code and setting breakpoints in QEMU, > > I noted that hw interrupt is delivered, with into =3D -1. Calculation of > > the IDT index in the QEMU' target-i386/helper.c:do_interrupt64() as > > intno*16 and comparision with unsigned limit looked as overflow and GPF > > was delivered instead. > >=20 > > Then, it appears that -1 comes from cpu_get_pic_interrupt() when > > apic_accept_pic_intr() returns false. This happen, in particular, when > > corresponding lapic vector is masked. The situation is legitimate, and > > I think that QEMU shall not deliver an interrupt in this case. > >=20 > > The following patch allows me to boot the amd64 freebsd on qemu 0.9.1 > > from ports. > >=20 > > --- cpu-exec.c.orig 2008-02-16 18:23:53.134009488 +0200 > > +++ cpu-exec.c 2008-02-16 18:24:47.127662872 +0200 > > @@ -452,13 +452,15 @@ > > svm_check_intercept(SVM_EXIT_INTR); > > env->interrupt_request &=3D ~(CPU_INTERRUPT_HA= RD | CPU_INTERRUPT_VIRQ); > > intno =3D cpu_get_pic_interrupt(env); > > - if (loglevel & CPU_LOG_TB_IN_ASM) { > > - fprintf(logfile, "Servicing hardware INT= =3D0x%02x\n", intno); > > - } > > - do_interrupt(intno, 0, 0, 0, 1); > > - /* ensure that no TB jump will be modified as > > - the program flow was changed */ > > - BREAK_CHAIN; > > + if (intno !=3D -1) { > > + if (loglevel & CPU_LOG_TB_IN_ASM) { > > + fprintf(logfile, "Servicing hardware INT=3D0x%02x\n", intno); > > + } > > + do_interrupt(intno, 0, 0, 0, 1); > > + /* ensure that no TB jump will be modified as > > + the program flow was changed */ > > + BREAK_CHAIN; > > + } > > #if !defined(CONFIG_USER_ONLY) > > } else if ((interrupt_request & CPU_INTERRUPT_VIRQ= ) && > > (env->eflags & IF_MASK) && !(env->hflags & HF_= INHIBIT_IRQ_MASK)) { >=20 > Hey, thanks for looking at this one! :) Maybe you should post the patch > on the qemu list so the right ppl can look at it, and see if it is correc= t: > http://lists.gnu.org/mailman/listinfo/qemu-devel >=20 > Thanx, > Juergen Could you do this, please, as the maintainer of the qemu port ? I actually have no time to participate in the qemu ml, I am only qemu user. --+j5CnouwYkpW7UmB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAke3LKIACgkQC3+MBN1Mb4jT8ACfQC2dGC4UNH6d2GLYWH4dv8KV Ct0AoKeRSNAsPBxDQFQDklFoDdHCbs6k =r6Vm -----END PGP SIGNATURE----- --+j5CnouwYkpW7UmB-- From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 16 18:45:28 2008 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D763B16A418 for ; Sat, 16 Feb 2008 18:45:28 +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 5E66113C45A for ; Sat, 16 Feb 2008 18:45:28 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 1B8BB284981; Sat, 16 Feb 2008 19:19:11 +0100 (CET) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id m1GIIoAW036046; Sat, 16 Feb 2008 19:18:50 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id m1GIIopS036045; Sat, 16 Feb 2008 19:18:50 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sat, 16 Feb 2008 19:18:50 +0100 To: Kostik Belousov Message-ID: <20080216181850.GA35839@saturn.kn-bremen.de> Mail-Followup-To: Kostik Belousov , emulation@FreeBSD.org References: <20080216164331.GJ57756@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080216164331.GJ57756@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: emulation@FreeBSD.org Subject: Re: qemu-system-amd64 and freebsd guest 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: Sat, 16 Feb 2008 18:45:28 -0000 On Sat, Feb 16, 2008 at 06:43:31PM +0200, Kostik Belousov wrote: > My recent attempts to boot CURRENT amd64 on QEMU 0.9.1 resulted in the > consistent kernel panic in the first instruction of the root_bus_ocnfigure() > function. Looking around, I noted that this instruction is the second one > executed after "sti" in the amd64/amd64/autoconf.c:configure(). > CPU executes > sti > call root_bus_configure > pushq %rbp <- General Protection Fault there > > It makes me suspect that fault happen when hardware interrupt is delivered. > Indeed, looking around qemu source code and setting breakpoints in QEMU, > I noted that hw interrupt is delivered, with into = -1. Calculation of > the IDT index in the QEMU' target-i386/helper.c:do_interrupt64() as > intno*16 and comparision with unsigned limit looked as overflow and GPF > was delivered instead. > > Then, it appears that -1 comes from cpu_get_pic_interrupt() when > apic_accept_pic_intr() returns false. This happen, in particular, when > corresponding lapic vector is masked. The situation is legitimate, and > I think that QEMU shall not deliver an interrupt in this case. > > The following patch allows me to boot the amd64 freebsd on qemu 0.9.1 > from ports. > > --- cpu-exec.c.orig 2008-02-16 18:23:53.134009488 +0200 > +++ cpu-exec.c 2008-02-16 18:24:47.127662872 +0200 > @@ -452,13 +452,15 @@ > svm_check_intercept(SVM_EXIT_INTR); > env->interrupt_request &= ~(CPU_INTERRUPT_HARD | CPU_INTERRUPT_VIRQ); > intno = cpu_get_pic_interrupt(env); > - if (loglevel & CPU_LOG_TB_IN_ASM) { > - fprintf(logfile, "Servicing hardware INT=0x%02x\n", intno); > - } > - do_interrupt(intno, 0, 0, 0, 1); > - /* ensure that no TB jump will be modified as > - the program flow was changed */ > - BREAK_CHAIN; > + if (intno != -1) { > + if (loglevel & CPU_LOG_TB_IN_ASM) { > + fprintf(logfile, "Servicing hardware INT=0x%02x\n", intno); > + } > + do_interrupt(intno, 0, 0, 0, 1); > + /* ensure that no TB jump will be modified as > + the program flow was changed */ > + BREAK_CHAIN; > + } > #if !defined(CONFIG_USER_ONLY) > } else if ((interrupt_request & CPU_INTERRUPT_VIRQ) && > (env->eflags & IF_MASK) && !(env->hflags & HF_INHIBIT_IRQ_MASK)) { Hey, thanks for looking at this one! :) Maybe you should post the patch on the qemu list so the right ppl can look at it, and see if it is correct: http://lists.gnu.org/mailman/listinfo/qemu-devel Thanx, Juergen From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 16 19:09:40 2008 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1AA216A417 for ; Sat, 16 Feb 2008 19:09: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 90B8F13C4D1 for ; Sat, 16 Feb 2008 19:09:40 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 74D59286329; Sat, 16 Feb 2008 20:09:39 +0100 (CET) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id m1GJ0VnF037936; Sat, 16 Feb 2008 20:00:31 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id m1GJ0VX1037935; Sat, 16 Feb 2008 20:00:31 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sat, 16 Feb 2008 20:00:30 +0100 To: Kostik Belousov Message-ID: <20080216190030.GA37896@saturn.kn-bremen.de> Mail-Followup-To: Kostik Belousov , emulation@FreeBSD.org References: <20080216164331.GJ57756@deviant.kiev.zoral.com.ua> <20080216181850.GA35839@saturn.kn-bremen.de> <20080216183411.GL57756@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080216183411.GL57756@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: emulation@FreeBSD.org Subject: Re: qemu-system-amd64 and freebsd guest 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: Sat, 16 Feb 2008 19:09:41 -0000 On Sat, Feb 16, 2008 at 08:34:11PM +0200, Kostik Belousov wrote: > >[...] > > > > Hey, thanks for looking at this one! :) Maybe you should post the patch > > on the qemu list so the right ppl can look at it, and see if it is correct: > > http://lists.gnu.org/mailman/listinfo/qemu-devel > > > > Thanx, > > Juergen > > Could you do this, please, as the maintainer of the qemu port ? I actually > have no time to participate in the qemu ml, I am only qemu user. Sure, can do, (I just thought you wanted to post your own patch yourself... :) Juergen From owner-freebsd-emulation@FreeBSD.ORG Sat Feb 16 20:35:49 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A0D216A418; Sat, 16 Feb 2008 20:35:49 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id DF0D713C45A; Sat, 16 Feb 2008 20:35:48 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A548BF.dip.t-dialin.net [84.165.72.191]) by redbull.bpaserver.net (Postfix) with ESMTP id 019A82E04C; Sat, 16 Feb 2008 21:35:39 +0100 (CET) Received: from deskjail (unknown [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id B8D38960D8; Sat, 16 Feb 2008 21:35:37 +0100 (CET) Date: Sat, 16 Feb 2008 21:29:43 +0100 From: Alexander Leidinger To: Boris Samorodov Message-ID: <20080216212943.32b0dc04@deskjail> In-Reply-To: <39615478@bb.ipt.ru> References: <20080213224717.GA59146@freebsd.org> <53884346@ipt.ru> <20080214091408.GA82434@freebsd.org> <43157302@serv3.int.kfs.ru> <20080214194358.5cjdxcll0gook8o8@webmail.leidinger.net> <96741075@bs1.sp34.ru> <20080216115948.485afc1d@deskjail> <39615478@bb.ipt.ru> X-Mailer: Claws Mail 3.3.0 (GTK+ 2.12.8; i686-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.4, required 6, BAYES_00 -15.00, NO_RDNS 0.50, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@freebsd.org Subject: Re: linux gnome libraries etc. 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: Sat, 16 Feb 2008 20:35:49 -0000 Quoting Boris Samorodov (Sat, 16 Feb 2008 14:26:33 +0300): > On Sat, 16 Feb 2008 11:59:48 +0100 Alexander Leidinger wrote: > > > I expect more problems for people which try to update without reading > > UPDATING, and I expect that there need to be some additional logic in > > bsd.port.mk. Plist handling and other things may be more messy. > > How do plan to introduce 2.6 as a default? First at HEAD, then MFC it > or just leave it for 8.x only? Yes, I hope 2.6 will be default in 8.0. But first we need to make it the default in HEAD. It depends if this will be introduced in 7.x too or not. Maybe not (there need to be very good reasons to make it the default in 7.x). We will see. > > BTW: I don't like to have f7 or such in the port names, I think k26 > > (like kernel 2.6) or 26e (like 2.6 emulation) would be better in the > > long term. > > I like the latter. What about 26ke (2.6 kernel emulation)? > Although it's one character longer... As you want. Bye, Alexander. -- Ferengi Rule of Acquisition #41: Profit is its own reward. -- ST: Legends of the Ferengi http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137