From owner-freebsd-emulation@freebsd.org Sun Sep 20 11:03:33 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8356EA0316B for ; Sun, 20 Sep 2015 11:03:33 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 62B8F1937 for ; Sun, 20 Sep 2015 11:03:33 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 5FD66A0316A; Sun, 20 Sep 2015 11:03:33 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5F6ACA03166 for ; Sun, 20 Sep 2015 11:03:33 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 07CFE1935 for ; Sun, 20 Sep 2015 11:03:32 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by wiclk2 with SMTP id lk2so77949491wic.1 for ; Sun, 20 Sep 2015 04:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-type:content-transfer-encoding; bh=wLgyAajeoMUPMl+tgPzeB8OX7KjGMEz3dGEgzoOtYfc=; b=Bc2QLT1l3QpdbL4kOxsqpWnRQx+A8+BZRxkXofA7eYHe7h57iHAgK4zuUsP5L2OTBH TLSrlDNE0KUpZV6VucFZm2Cddh1FAwoe9afwyltkmdIfkIkyytnB8HBlEwB5/ZMO/HmK /M2DX7fEybicHaHEMQHR0u1Kze1IlXYipC/7DTUSb84/2wXyiXNd/MlZhXtBumIo+k+P gBU0GSNm7lbe8STc9/ovLT8LSTvO9RAVvT5WW356EAzrrzyoHUTBuI4vN5ga1ny1h7cE TxwXktZ0038e1izLgDlidZfeJW/bM1ejxMiZsyT6gJdR0TPE89g/2I3sit/JBBEpCZUv ip3Q== X-Received: by 10.194.235.34 with SMTP id uj2mr17174741wjc.90.1442747010903; Sun, 20 Sep 2015 04:03:30 -0700 (PDT) Received: from ernst.home (p578E1AA3.dip0.t-ipconnect.de. [87.142.26.163]) by smtp.gmail.com with ESMTPSA id gk9sm7789252wib.9.2015.09.20.04.03.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Sep 2015 04:03:30 -0700 (PDT) Date: Sun, 20 Sep 2015 13:03:26 +0200 From: Gary Jennejohn To: Mario Lobo Cc: emulation@FreeBSD.org Subject: Re: Linux epoll implementation Message-ID: <20150920130326.4014e853@ernst.home> In-Reply-To: <20150919130625.4d3897f8@Papi> References: <20150919130625.4d3897f8@Papi> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 11:03:33 -0000 On Sat, 19 Sep 2015 13:06:25 -0300 Mario Lobo wrote: > Hi; > > I'm trying to compile this epoll implementation into the kernel > following > > https://wiki.freebsd.org/linux-kernel > > using the patch provided. > > The patch applies fine but when compiling the kernel, it stops at this: > > /usr/src/sys/modules/linux/../../compat/linux/linux_epoll.c:66:10: > error: implicit declaration of function 'kqueue' is invalid in C99 > [-Werror,-Wimplicit-function-declaration] > return (kqueue(td, &k_args)); > > > That is the only reference to kqueue on the > patched code at /usr/src/sys/compat/linux/ > > This kqueue call is very different from the one provided in man kqueue: > > int kqueue(void); > > so I really ran out of options on finding out what this kqueue call > really is about. > > Would anyone have any pointers on this? > NOTE: I'm referencing HEAD here. epoll() is a system call (syscall), so it will be using the kernel interfaces. The only kqueue-related syscall with the same arguments is sys_kqueue(). Try using that instead. -- Gary Jennejohn From owner-freebsd-emulation@freebsd.org Sun Sep 20 11:26:56 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F38AEA03F5D for ; Sun, 20 Sep 2015 11:26:56 +0000 (UTC) (envelope-from la5lbtyi@aon.at) Received: from smtpout-fallback.aon.at (smtpout-fallback.aon.at [195.3.96.119]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B96F10A2 for ; Sun, 20 Sep 2015 11:26:55 +0000 (UTC) (envelope-from la5lbtyi@aon.at) Received: (qmail 11543 invoked from network); 20 Sep 2015 11:20:12 -0000 Received: from unknown (HELO smtpout.aon.at) ([172.18.1.200]) (envelope-sender ) by fallback44.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 20 Sep 2015 11:20:12 -0000 Received: (qmail 1048 invoked from network); 20 Sep 2015 11:20:03 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on WARSBL506.highway.telekom.at X-Spam-Level: Received: from 88-117-67-11.adsl.highway.telekom.at (HELO gandalf.xyzzy) ([88.117.67.11]) (envelope-sender ) by smarthub80.res.a1.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 20 Sep 2015 11:20:03 -0000 X-A1Mail-Track-Id: 1442748003:991:smarthub80:88.117.67.11:1 Received: from mizar.xyzzy (mizar.xyzzy [192.168.1.19]) by gandalf.xyzzy (8.15.2/8.15.2) with ESMTP id t8KBK2AC014128 for ; Sun, 20 Sep 2015 13:20:03 +0200 (CEST) (envelope-from la5lbtyi@aon.at) To: freebsd-emulation@freebsd.org From: Martin Birgmeier Subject: VirtualBox mangles memory Organization: MBi at home Message-ID: <55FE9662.7000406@aon.at> Date: Sun, 20 Sep 2015 13:20:02 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 11:26:57 -0000 On machines where VirtualBox is running, I get memory allocation errors. 'dd' aborts with 'dd: stdout: Cannot allocate memory' 'zfs send' aborts with 'internal error: Cannot allocate memory' I have created https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195970 to track this. Could a knowledgeable person please have a look into this? FreeBSD 10.2, VirtualBox 4.3.30 -- Martin From owner-freebsd-emulation@freebsd.org Sun Sep 20 15:35:55 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3098BA05E8D for ; Sun, 20 Sep 2015 15:35:55 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 09F7C1DA3 for ; Sun, 20 Sep 2015 15:35:55 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mailman.ysv.freebsd.org (Postfix) id 069B0A05E8C; Sun, 20 Sep 2015 15:35:55 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0602A05E8B for ; Sun, 20 Sep 2015 15:35:54 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qg0-x229.google.com (mail-qg0-x229.google.com [IPv6:2607:f8b0:400d:c04::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A09621DA2 for ; Sun, 20 Sep 2015 15:35:54 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by qgt47 with SMTP id 47so72846314qgt.2 for ; Sun, 20 Sep 2015 08:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-type:content-transfer-encoding; bh=o0/RZseQKmyTidmaIS3RzoS1EPDbO3xMgT1clYLDg64=; b=S9YXTHSTWkPTN9fAhMC0yKTJIoDJi8UCH90PGzjwlKlkXYlyjC0UzVRvsNML91Whiv GsG4+VQXMa5Z16J9ZZi4T+maWU3/zx/w976UaAUOc0CuTHZncCQKHLytVZJ2LiQuWNUG RUM57YUSLncm/r2J2f7eNjzPOHifIOGnhIai0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-type :content-transfer-encoding; bh=o0/RZseQKmyTidmaIS3RzoS1EPDbO3xMgT1clYLDg64=; b=L6k/x6PTH6mw5bj2tONV4LQ0yojSTMIiAdCe0tfUCFxjsaTL61BO0ZCPX1V3Biowdq t+P2Q6H+E141w8sqyt/sVaPWND1e34Rb1B9+K5XiGYzfE2D9e00Pbl9OVv3WDGOp0KhE 58y/MmFwnhK+e80mTXMta4oQoO/7Yck+VcVvz5hMlsfn9+AI2sIm84dd+rTo+063Fqh0 faV0kKzzDfovQoVuzJot3HUYTZU+RFlclY5nGs6bhj+4SeYDuVqhNcUDVS1x8Swmv2py ID20P/NCzRWwxnaVBoPMz6NUbXJdq5jTkI7JVmEoM/NNMJP74Itg+rfkPT0XSfm0hSU5 KHNQ== X-Gm-Message-State: ALoCoQl4DTZG/hpmAVriIPxzMvDVgayhXxjqkFWTERu7pcMUwEIepFXOvUeylvco0fkcp4bqawi8 X-Received: by 10.140.132.71 with SMTP id 68mr18751370qhe.64.1442763353370; Sun, 20 Sep 2015 08:35:53 -0700 (PDT) Received: from Papi ([179.181.60.220]) by smtp.gmail.com with ESMTPSA id m12sm8077230qkh.34.2015.09.20.08.35.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Sep 2015 08:35:53 -0700 (PDT) Date: Sun, 20 Sep 2015 12:40:35 -0300 From: Mario Lobo To: Gary Jennejohn Cc: emulation@FreeBSD.org Subject: Re: Linux epoll implementation Message-ID: <20150920124035.6e1c5539@Papi> In-Reply-To: <20150920130326.4014e853@ernst.home> References: <20150919130625.4d3897f8@Papi> <20150920130326.4014e853@ernst.home> Organization: BSD X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 15:35:55 -0000 On Sun, 20 Sep 2015 13:03:26 +0200 Gary Jennejohn wrote: > On Sat, 19 Sep 2015 13:06:25 -0300 > Mario Lobo wrote: > > > Hi; > > > > I'm trying to compile this epoll implementation into the kernel > > following > > > > https://wiki.freebsd.org/linux-kernel > > > > using the patch provided. > > > > The patch applies fine but when compiling the kernel, it stops at > > this: > > > > /usr/src/sys/modules/linux/../../compat/linux/linux_epoll.c:66:10: > > error: implicit declaration of function 'kqueue' is invalid in C99 > > [-Werror,-Wimplicit-function-declaration] > > return (kqueue(td, &k_args)); > > > > > > That is the only reference to kqueue on the > > patched code at /usr/src/sys/compat/linux/ > > > > This kqueue call is very different from the one provided in man > > kqueue: > > > > int kqueue(void); > > > > so I really ran out of options on finding out what this kqueue call > > really is about. > > > > Would anyone have any pointers on this? > > > > NOTE: I'm referencing HEAD here. > > epoll() is a system call (syscall), so it will be using the > kernel interfaces. > > The only kqueue-related syscall with the same arguments is > sys_kqueue(). Try using that instead. > Yes! That solved the compilation problem. Tomorrow I'll test to see if the implementation works. Thanks Gary! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." From owner-freebsd-emulation@freebsd.org Sun Sep 20 15:49:43 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A44FA0533B for ; Sun, 20 Sep 2015 15:49:43 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2A08010D0 for ; Sun, 20 Sep 2015 15:49:43 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 269D1A05339; Sun, 20 Sep 2015 15:49:43 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26343A05338 for ; Sun, 20 Sep 2015 15:49:43 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB39510CF for ; Sun, 20 Sep 2015 15:49:42 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by wicgb1 with SMTP id gb1so85550542wic.1 for ; Sun, 20 Sep 2015 08:49:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=k9JUyzE/JwoHRwIxMQwGwcHmhdjj5y0buGsqRk7PHVo=; b=z2EehVSPcD7Kzzj6abXGS66iKEqn7gjz/wxIqQAA4EDeH5a+NjCdsK3i2+FTXaZVz6 3gTMFWcGJXsV7GwefMz212e6Bynd0md//s8IdqBsKXwOB1rAv8pR0DhbyGzw+plzm3PP S3MTWhzdT1GL63HxPyrgjdrnT4Dt23VkrkS/Qj1UcC6Vg69KC/y3di0gtjsIEGwxmGN1 mWboy1M5MWqMACIeNABAV4uQyml5wnGtDFZBWJZ18pH/XS6ArTDnPIGwV/LZC0a9WRuP 55rXqT5sVEvh+h05e1bkbHow7jNnCoKTlqzFKzTDgq1ku3tltF78wXAacwNHqpwBWsy4 1KrQ== X-Received: by 10.194.104.39 with SMTP id gb7mr18130409wjb.150.1442764180831; Sun, 20 Sep 2015 08:49:40 -0700 (PDT) Received: from dft-labs.eu (n1x0n-1-pt.tunnel.tserv5.lon1.ipv6.he.net. [2001:470:1f08:1f7::2]) by smtp.gmail.com with ESMTPSA id uq5sm19587933wjc.3.2015.09.20.08.49.39 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 20 Sep 2015 08:49:39 -0700 (PDT) Date: Sun, 20 Sep 2015 17:49:38 +0200 From: Mateusz Guzik To: Mario Lobo Cc: Gary Jennejohn , emulation@FreeBSD.org Subject: Re: Linux epoll implementation Message-ID: <20150920154937.GA27493@dft-labs.eu> References: <20150919130625.4d3897f8@Papi> <20150920130326.4014e853@ernst.home> <20150920124035.6e1c5539@Papi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150920124035.6e1c5539@Papi> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 15:49:43 -0000 On Sun, Sep 20, 2015 at 12:40:35PM -0300, Mario Lobo wrote: > > > I'm trying to compile this epoll implementation into the kernel > > > following > > > > > > https://wiki.freebsd.org/linux-kernel > > > > > > The patch applies fine but when compiling the kernel, it stops at > > > this: > > > > > > /usr/src/sys/modules/linux/../../compat/linux/linux_epoll.c:66:10: > > > error: implicit declaration of function 'kqueue' is invalid in C99 > > > [-Werror,-Wimplicit-function-declaration] > > > return (kqueue(td, &k_args)); > > > > > > > > NOTE: I'm referencing HEAD here. > > > > epoll() is a system call (syscall), so it will be using the > > kernel interfaces. > > > > The only kqueue-related syscall with the same arguments is > > sys_kqueue(). Try using that instead. > > > > Yes! That solved the compilation problem. Tomorrow I'll test to see if > the implementation works. > epoll is already present in FreeBSD CURRENT (head) and likly with same or better level of completness. The site in question is very outdated and you are more than likely to run into trouble with this patch. In short, I strongly recoomend you use freebsd current instead. -- Mateusz Guzik From owner-freebsd-emulation@freebsd.org Sun Sep 20 21:00:11 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B2EFA0545D for ; Sun, 20 Sep 2015 21:00:11 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7176711A7 for ; Sun, 20 Sep 2015 21:00:11 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 70759A0545C; Sun, 20 Sep 2015 21:00:11 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70158A0545B for ; Sun, 20 Sep 2015 21:00:11 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BE23119D for ; Sun, 20 Sep 2015 21:00:11 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8KL0BZp048366 for ; Sun, 20 Sep 2015 21:00:11 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201509202100.t8KL0BZp048366@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: emulation@FreeBSD.org Subject: Problem reports for emulation@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 20 Sep 2015 21:00:11 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 21:00:11 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 180790 | devel/linux_kdump prints BSD descriptions of errn 1 problems total for which you should take action. From owner-freebsd-emulation@freebsd.org Sun Sep 20 21:00:29 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CD67A055E1 for ; Sun, 20 Sep 2015 21:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E64331394 for ; Sun, 20 Sep 2015 21:00:28 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id E5372A055E0; Sun, 20 Sep 2015 21:00:28 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4D5DA055DF for ; Sun, 20 Sep 2015 21:00:28 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D1D551391 for ; Sun, 20 Sep 2015 21:00:28 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by freefall.freebsd.org (Postfix) id D16D21A6F; Sun, 20 Sep 2015 21:00:28 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by freefall.freebsd.org (Postfix) with ESMTP id D10911A6E for ; Sun, 20 Sep 2015 21:00:28 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A98F0138A for ; Sun, 20 Sep 2015 21:00:28 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8KL0SQm049240 for ; Sun, 20 Sep 2015 21:00:28 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201509202100.t8KL0SQm049240@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: vbox@FreeBSD.org Subject: Problem reports for vbox@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 20 Sep 2015 21:00:28 +0000 Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Sun, 20 Sep 2015 21:36:40 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 21:00:29 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 200468 | emulators/virtualbox-ose: hangs when using nmdm 1 problems total for which you should take action. From owner-freebsd-emulation@freebsd.org Mon Sep 21 14:03:23 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 513F4A06CD4 for ; Mon, 21 Sep 2015 14:03:23 +0000 (UTC) (envelope-from artyom.mirgorodsky@gmail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DFF9913BA for ; Mon, 21 Sep 2015 14:03:22 +0000 (UTC) (envelope-from artyom.mirgorodsky@gmail.com) Received: by wicfx3 with SMTP id fx3so147572495wic.1 for ; Mon, 21 Sep 2015 07:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=e80+2LHvi+KCbFIpYnCugYw+Q4NVm+AUFuFlOKiaNXA=; b=nyr2BDYc5+PZTroiNLyyiKZIZ8R4bab1xD4gSxbnkDG21ncO2V0QVOLA44jdsDjlQp w/3duH++UYaaGBmMl3p6yBgL8TiRt1NPfV8PWDxKQIFl8c4X1C5Ij2jfNTRkIoxWygg4 d146hBxszBYNGjXzICRKqhsFNzNw69u1COP+qZrwj6Yj3sdt+zxC5zJTO5MX0swwrEGX mUdD9DYsn6LBF45tjsapGAejQLD2u/vxG830o45Wut/pDBY1UGg4XO+fgfh1BHGtsdIH 96S+xieq4ZCR5vEin9/sO4Yy1SAbx5q91Wdy/MLcty5wtxQB9skQIwNVceCJT7YHbrCQ eOXw== X-Received: by 10.194.59.236 with SMTP id c12mr23181791wjr.23.1442844199644; Mon, 21 Sep 2015 07:03:19 -0700 (PDT) Received: from notebook.com ([91.243.193.58]) by smtp.gmail.com with ESMTPSA id wx10sm14790901wjb.46.2015.09.21.07.03.18 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Sep 2015 07:03:18 -0700 (PDT) From: Artyom Mirgorodskiy To: freebsd-emulation@freebsd.org Cc: Johannes Jost Meixner Subject: Re: [CFT] CentOS 6.7 ports Date: Mon, 21 Sep 2015 17:03:31 +0300 Message-ID: <10023828.xUOnVsglun@notebook.com> User-Agent: KMail/4.14.3 (FreeBSD/11.0-CURRENT; KDE/4.14.3; amd64; ; ) In-Reply-To: <55D45CAE.6050904@meixner.dk> References: <55D45CAE.6050904@meixner.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Sep 2015 14:03:23 -0000 What about Skype? Viber? On Wednesday 19 August 2015 13:38:38 Johannes Jost Meixner wrote: > Please find the work in progress of the CentOS 6.7 ports (both i686 > and x68_64) at https://reviews.freebsd.org/D3428. > > > How to test things. > > Specifics for 64bit: > 0. Run FreeBSD 11.0-CURRENT later than end of May, put the following > in make.conf: > > OVERRIDE_LINUX_BASE_PORT=c6_64 > OVERRIDE_LINUX_NONBASE_PORTS=c6_64 > > Specifics for 32bit: > 0. Run FreeBSD 8.x, 9.x, 10.x and don't touch make.conf. > > > > 1. Load the relevant kernel modules (linux.ko, linprocfs.ko, ...) > > 2. Patch your portstree -- follow the instructions on > https://wiki.freebsd.org/CodeReview > > 3. make -C ports/emulators/linux-c6 install clean > > 3. Try with all things Linux in the portstree or outside --- Flash, > linux Games, Mathematica, Matlab, Oracle 10g, whatever you have at > your disposal. > > > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org" > -- Artyom Mirgorodskiy From owner-freebsd-emulation@freebsd.org Mon Sep 21 17:37:53 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C756CA05470 for ; Mon, 21 Sep 2015 17:37:53 +0000 (UTC) (envelope-from jeremy.m.cox@gmail.com) Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8340C135F for ; Mon, 21 Sep 2015 17:37:53 +0000 (UTC) (envelope-from jeremy.m.cox@gmail.com) Received: by qkcf65 with SMTP id f65so47960371qkc.3 for ; Mon, 21 Sep 2015 10:37:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=uSe19YsmoNoGiOVE1//zJVtrUW9VZpk1RJDSfnJD258=; b=rNgwF9AuKxsJnFQZsFKfzkzH27678ViIMPJCZlYzqotSF93FP5pTcetUiBVzVUrQmJ FeLmTCsco3HZR8T/O2gYjwxJmHAEe1DupmtYSpf92r+LjD+jKco3/WsPN7UFLv7WtbD8 j4CAHsGbMr+SCe5f5Ql376n6Hwzjrj6r4vTsRw+qeB1wtLS2IP/VB72TcPCPpgvV9TbY ZU225f5mEuINnScQE8OoGAp0rsqk78kYNLtEWKDYlYwCWyCWuaroQcwFZJHu9UuAd5KU PGX36ZEjpz9aTVA2qgLAq9mAa7qDqFsaJkkbFAAmUCJuiw+09Msit/Ys+S3mkGPJstTl osVg== X-Received: by 10.55.33.222 with SMTP id f91mr23957723qki.64.1442857072497; Mon, 21 Sep 2015 10:37:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.195.220 with HTTP; Mon, 21 Sep 2015 10:37:33 -0700 (PDT) From: JEREMY COX Date: Mon, 21 Sep 2015 12:37:33 -0500 Message-ID: Subject: Re: Virtualbox 5.0.4 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Sep 2015 17:37:53 -0000 I got virtualbox-ose and virtualbox-ose-kmod to compile and run on FreeBSD 10.2 stable (r287007), using clang 3.5 and (when I upgraded to clang 3.6) clang 3.6 to build its prerequisite ports. It compiles and runs with no issues. I'm using it to run BOINC project vLHC@home, the large hadron collider simulation. Thanks for all the hard work! Regards Jeremy Cox From owner-freebsd-emulation@freebsd.org Mon Sep 21 20:10:58 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71734A06F52 for ; Mon, 21 Sep 2015 20:10:58 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 498781AD8 for ; Mon, 21 Sep 2015 20:10:57 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 568FF20C4F for ; Mon, 21 Sep 2015 16:10:56 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute5.internal (MEProxy); Mon, 21 Sep 2015 16:10:56 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=qMc9ucYKld0IWv1 ZAh1nzN385rI=; b=EM08FBxetmOIXDa2AjnOvtxMPGOltHkG0sQaQBdvshCjA2g EPwvWtgO9yS9tdqOM3iBqSDxLStUIiPujFCPzrapfHhjl6Aij1RLWWhXfkw9WUuo RldQsGtlGG0Wt7Pq6e63x4DrvB5xv9lZWWomsKTi64tGkT6fwJPy3m2dZbyM= Received: by web3.nyi.internal (Postfix, from userid 99) id 30CC21027C3; Mon, 21 Sep 2015 16:10:56 -0400 (EDT) Message-Id: <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> X-Sasl-Enc: H4hqvdP8fNM+xozAkvEAMqfeo0spJGAf+Hbda+f29uNv 1442866256 From: Mark Felder To: Martin Birgmeier , freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-39fe9c8e In-Reply-To: <55FE9662.7000406@aon.at> References: <55FE9662.7000406@aon.at> Subject: Re: VirtualBox mangles memory Date: Mon, 21 Sep 2015 15:10:56 -0500 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Sep 2015 20:10:58 -0000 On Sun, Sep 20, 2015, at 06:20, Martin Birgmeier wrote: > On machines where VirtualBox is running, I get memory allocation errors. > > 'dd' aborts with 'dd: stdout: Cannot allocate memory' > > 'zfs send' aborts with 'internal error: Cannot allocate memory' > > I have created https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195970 > to track this. > > Could a knowledgeable person please have a look into this? > > FreeBSD 10.2, VirtualBox 4.3.30 > > -- Martin > I'm not an expert, but I think this is known behavior. Virtualbox requires a huge contiguous chunk of memory for the VM and that's probably what you're running into. Can you give more information about the specs of the server itself and the amount of resources allocated to VMs? -- Mark Felder ports-secteam member feld@FreeBSD.org From owner-freebsd-emulation@freebsd.org Mon Sep 21 21:23:07 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECD56A054FA for ; Mon, 21 Sep 2015 21:23:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D17181EC4 for ; Mon, 21 Sep 2015 21:23:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CE640A054F9; Mon, 21 Sep 2015 21:23:07 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD015A054F8 for ; Mon, 21 Sep 2015 21:23:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B50831EC3 for ; Mon, 21 Sep 2015 21:23:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8LLN7nI031768 for ; Mon, 21 Sep 2015 21:23:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 201299] Merge Linux Emulation (lemul) to stable/10 branch for 10.2-RELEASE Date: Mon, 21 Sep 2015 21:23:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: namik.smith@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dchagin@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? mfc-stable10? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Sep 2015 21:23:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201299 Namik Smith changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |namik.smith@gmail.com --- Comment #32 from Namik Smith --- Are there any updates as to hopes for merging into 10.2-STABLE in the near future? There's certainly strong interest because of the void that exists on the security front in the docker community in addition to more general use cases (https://forums.freebsd.org/threads/docker-for-freebsd-10-2.53258/#post-299515). If testing is the issue, might Dmitry or someone else who can MFC chime in with thoughts as to a desired testing protocol ahead of a merge? Maybe we can round up some help. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-emulation@freebsd.org Mon Sep 21 23:05:43 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F0F29D083F for ; Mon, 21 Sep 2015 23:05:43 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from webmail2.jnielsen.net (webmail2.jnielsen.net [50.114.224.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "webmail2.jnielsen.net", Issuer "freebsdsolutions.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 029021848 for ; Mon, 21 Sep 2015 23:05:42 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from [10.10.1.196] (office.betterlinux.com [199.58.199.60]) (authenticated bits=0) by webmail2.jnielsen.net (8.15.1/8.15.1) with ESMTPSA id t8LN34vO056732 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 21 Sep 2015 17:03:06 -0600 (MDT) (envelope-from lists@jnielsen.net) X-Authentication-Warning: webmail2.jnielsen.net: Host office.betterlinux.com [199.58.199.60] claimed to be [10.10.1.196] Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: freebsd arm guest on freebsd amd64 bhyve From: John Nielsen In-Reply-To: <20150906165239.GA48652@potato.growveg.org> Date: Mon, 21 Sep 2015 17:03:04 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20150906165239.GA48652@potato.growveg.org> To: freebsd-emulation@freebsd.org X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Sep 2015 23:05:43 -0000 On Sep 6, 2015, at 10:52 AM, John = wrote: > Can a freebsd-arm6 (freebsd11) guest run on a freebsd 10.2 amd64 bhyve = host? In a word, no. Bhyve only does native and legacy-free virtualization, = which means the guest MUST be the same architecture as the host. (You = can run e.g. a 32-bit i686 guest on a 64-bit amd64 host but that is a = special case.) Qemu allows you to run fully emulated guests, so running that instead of = bhyve on your host is a better bet. Adjust your performance expectations = accordingly. JN From owner-freebsd-emulation@freebsd.org Tue Sep 22 00:33:48 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6F61A05541 for ; Tue, 22 Sep 2015 00:33:48 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8E9DD1D06 for ; Tue, 22 Sep 2015 00:33:48 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mailman.ysv.freebsd.org (Postfix) id 8BA02A05540; Tue, 22 Sep 2015 00:33:48 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71512A0553F for ; Tue, 22 Sep 2015 00:33:48 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qg0-x236.google.com (mail-qg0-x236.google.com [IPv6:2607:f8b0:400d:c04::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F7A31D05 for ; Tue, 22 Sep 2015 00:33:47 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by qgez77 with SMTP id z77so105135131qge.1 for ; Mon, 21 Sep 2015 17:33:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-type:content-transfer-encoding; bh=/k2b1vnX2lILcuu1VJIu1Njwju42QbnhSUJJNJCfIa4=; b=DPzj/QX2o74FWZTwi4xqnXpEldZgognALyGKSZzmU62xMsW1TqxeJYaVJ/baA0XUy9 QbDDE3bG61tUKz4uS7Ixcx3/TL3b+stO8bWwAtqAZLS58aAu1KIv8qTXdYwLMxUwSSis PU8BCDB4BFIOe78r84tk7nJNZEJ7/4rlfvbac= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-type :content-transfer-encoding; bh=/k2b1vnX2lILcuu1VJIu1Njwju42QbnhSUJJNJCfIa4=; b=A0mpNO1XtMc6z1yPNcKEF1MIEEyamE+uNbIpDQCO4zR7W1WJ4oAd1t1xQjYfsZoAwv NaqrinCNpz9E12lbfQKqRFkWpWg4kBR7tL8EpcspD07Ek/tpP9t6TJUD0yGyH3s433O/ BEnu0I1dhmxFUSlv8smtoXftPfPMrwIYS9TO0eKppg7J/noAMBgvriWDsjcFlZCtihLZ V6rYniyWkQ1vr8BSXZd73kwjVK5uf8LloEQN1qyHUgdoN1nj7N05sWQtlhtuVMRWRl3E ptCwL40kVXprzUOgg9Lu8vmnATtBP5oJCADJDKB8UGSVQ4u4xL1Z1onnEZbg08dE1PTd jjUA== X-Gm-Message-State: ALoCoQlT9h+fnrvoNh6cl6CT2DKh58auEQb5N2xGLvpH1QkYi8uKCAFuo1KJ7rMcAIFfMCYhKpLA X-Received: by 10.140.91.112 with SMTP id y103mr26627522qgd.68.1442882026582; Mon, 21 Sep 2015 17:33:46 -0700 (PDT) Received: from Papi (177.206.249.91.dynamic.adsl.gvt.net.br. [177.206.249.91]) by smtp.gmail.com with ESMTPSA id 82sm10920692qhs.8.2015.09.21.17.33.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 17:33:46 -0700 (PDT) Date: Mon, 21 Sep 2015 21:38:29 -0300 From: Mario Lobo To: Mateusz Guzik Cc: Gary Jennejohn , emulation@FreeBSD.org Subject: Re: Linux epoll implementation Message-ID: <20150921213829.39b3a61d@Papi> In-Reply-To: <20150920154937.GA27493@dft-labs.eu> References: <20150919130625.4d3897f8@Papi> <20150920130326.4014e853@ernst.home> <20150920124035.6e1c5539@Papi> <20150920154937.GA27493@dft-labs.eu> Organization: BSD X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 22 Sep 2015 00:33:48 -0000 On Sun, 20 Sep 2015 17:49:38 +0200 Mateusz Guzik wrote: > On Sun, Sep 20, 2015 at 12:40:35PM -0300, Mario Lobo wrote: > > > > I'm trying to compile this epoll implementation into the kernel > > > > following > > > > > > > > https://wiki.freebsd.org/linux-kernel > > > > > > > > The patch applies fine but when compiling the kernel, it stops > > > > at this: > > > > > > > > /usr/src/sys/modules/linux/../../compat/linux/linux_epoll.c:66:10: > > > > error: implicit declaration of function 'kqueue' is invalid in > > > > C99 [-Werror,-Wimplicit-function-declaration] > > > > return (kqueue(td, &k_args)); > > > > > > > > > > > NOTE: I'm referencing HEAD here. > > > > > > epoll() is a system call (syscall), so it will be using the > > > kernel interfaces. > > > > > > The only kqueue-related syscall with the same arguments is > > > sys_kqueue(). Try using that instead. > > > > > > > Yes! That solved the compilation problem. Tomorrow I'll test to see > > if the implementation works. > > > > epoll is already present in FreeBSD CURRENT (head) and likly with same > or better level of completness. The site in question is very outdated > and you are more than likely to run into trouble with this patch. > > In short, I strongly recoomend you use freebsd current instead. > You were right, Mateusz. It didn't damage anything but the resulting linux.ko didn't even load because of erros. I'll install an 11-CURRENT VM to do the testing you suggested. Thanks ! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." From owner-freebsd-emulation@freebsd.org Tue Sep 22 15:13:54 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24295A065B2 for ; Tue, 22 Sep 2015 15:13:54 +0000 (UTC) (envelope-from la5lbtyi@aon.at) Received: from smtpout.aon.at (smtpout.aon.at [195.3.96.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7002E1B4B for ; Tue, 22 Sep 2015 15:13:52 +0000 (UTC) (envelope-from la5lbtyi@aon.at) Received: (qmail 26596 invoked from network); 22 Sep 2015 15:13:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on WARSBL606.highway.telekom.at X-Spam-Level: Received: from 88-117-68-209.adsl.highway.telekom.at (HELO gandalf.xyzzy) ([88.117.68.209]) (envelope-sender ) by smarthub81.res.a1.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP; 22 Sep 2015 15:13:44 -0000 X-A1Mail-Track-Id: 1442934823:26559:smarthub81:88.117.68.209:1 Received: from mizar.xyzzy (mizar.xyzzy [192.168.1.19]) by gandalf.xyzzy (8.15.2/8.15.2) with ESMTP id t8MFDgVI002493; Tue, 22 Sep 2015 17:13:43 +0200 (CEST) (envelope-from la5lbtyi@aon.at) Subject: Re: VirtualBox mangles memory To: Mark Felder , freebsd-emulation@freebsd.org References: <55FE9662.7000406@aon.at> <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> From: Martin Birgmeier X-Enigmail-Draft-Status: N1110 Organization: MBi at home Message-ID: <56017026.6040809@aon.at> Date: Tue, 22 Sep 2015 17:13:42 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 22 Sep 2015 15:13:54 -0000 This did not happen when the machine was running FreeBSD 9.2 with virtualbox-ose-4.3.20 installed. So I would not qualify this as "known behavior". One server has 16G main memory, a VM gets 3G. The other has 8G main mem and again 3G allocated to the VM. This is definitely a bug in how VirtualBox handles memory on FreeBSD 10. I am pretty sure that something changed in FBSD 10 which was not properly taken care of in VB. -- Martin On 09/21/15 22:10, Mark Felder wrote: > > On Sun, Sep 20, 2015, at 06:20, Martin Birgmeier wrote: >> On machines where VirtualBox is running, I get memory allocation errors. >> >> 'dd' aborts with 'dd: stdout: Cannot allocate memory' >> >> 'zfs send' aborts with 'internal error: Cannot allocate memory' >> >> I have created https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195970 >> to track this. >> >> Could a knowledgeable person please have a look into this? >> >> FreeBSD 10.2, VirtualBox 4.3.30 >> >> -- Martin >> > I'm not an expert, but I think this is known behavior. Virtualbox > requires a huge contiguous chunk of memory for the VM and that's > probably what you're running into. > > Can you give more information about the specs of the server itself and > the amount of resources allocated to VMs? > From owner-freebsd-emulation@freebsd.org Tue Sep 22 18:50:36 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C386FA06C62 for ; Tue, 22 Sep 2015 18:50:36 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail-ob0-x231.google.com (mail-ob0-x231.google.com [IPv6:2607:f8b0:4003:c01::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C8B714E6 for ; Tue, 22 Sep 2015 18:50:36 +0000 (UTC) (envelope-from decke@bluelife.at) Received: by obbbh8 with SMTP id bh8so15396459obb.0 for ; Tue, 22 Sep 2015 11:50:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NVv6y3AYsHPqsxojQpFsTJnrMQu/e8CugSur9TrGHR8=; b=QdzZlenKnX67dQiABmZuJ/HNc6Qg7afSrkkHl+8SzXZbQIjZt87s2PCNSH3Zlnq7Al Sg2kyuD58dFmGKtNzqbJWkA7raJDR7eDibOwkjXIccyqkHJ2IESsbOylqZnZXXx3MR1A jt6gTZddCKukkw8pkNHAwJUNzWLhawnWYh8kE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=NVv6y3AYsHPqsxojQpFsTJnrMQu/e8CugSur9TrGHR8=; b=IXAkVVrewoNr/UEfGl63ivD4qsplQaPuw7f118ueI5tKcfvisSs/i5Z6U9vrHQRWUh nQaJfEJGgOfGAg8jGU+o6va4VBULkPmmjqr2ZrtpVz9A/jTXgZHUjMVTY9wync7nU8Lc yzSD6CbtwTX4vpRtTiPw9oI8a5nEQiGOwaH88nJ8hxUTQjNm1tYmeaCKUlTbRr6u3L/A QQ69U+ploAhvd2j0YeSR5oyKbeh/QzFbAGQ/oiSQqZzG9wDZvpo2ZW4PwGB0F+4+anNX e7koR+tkZ97N5K+NaTLbeSA4XkbsmjSWLQKHxBxKJhRUj71z/tzvSec5WlhtgYqIztQj cEQg== X-Gm-Message-State: ALoCoQnhyCJrmxJR40vj8qil8u5TEk4xx91W06PPbhaXGMWZlnQKUV/qYmqzqeiC6KSPiZFtGTrL MIME-Version: 1.0 X-Received: by 10.60.69.2 with SMTP id a2mr16043607oeu.3.1442947835538; Tue, 22 Sep 2015 11:50:35 -0700 (PDT) Received: by 10.76.173.168 with HTTP; Tue, 22 Sep 2015 11:50:35 -0700 (PDT) X-Originating-IP: [212.95.7.132] Received: by 10.76.173.168 with HTTP; Tue, 22 Sep 2015 11:50:35 -0700 (PDT) In-Reply-To: <56017026.6040809@aon.at> References: <55FE9662.7000406@aon.at> <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> <56017026.6040809@aon.at> Date: Tue, 22 Sep 2015 20:50:35 +0200 Message-ID: Subject: Re: VirtualBox mangles memory From: =?UTF-8?Q?Bernhard_Fr=C3=B6hlich?= To: Martin Birgmeier Cc: freebsd-emulation@freebsd.org, Mark Felder Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 22 Sep 2015 18:50:37 -0000 To me this sounds a lot like vbox and zfs arc are fighting for resources. What does the memory line in top look like when this problem happens? A simple workaround would be to limit zfs arc in loader.conf if that is the problem. Am 22.09.2015 5:13 nachm. schrieb "Martin Birgmeier" : > > This did not happen when the machine was running FreeBSD 9.2 with virtualbox-ose-4.3.20 installed. So I would not qualify this as "known behavior". > > One server has 16G main memory, a VM gets 3G. The other has 8G main mem and again 3G allocated to the VM. > > This is definitely a bug in how VirtualBox handles memory on FreeBSD 10. I am pretty sure that something changed in FBSD 10 which was not properly taken care of in VB. > > -- Martin > > > > On 09/21/15 22:10, Mark Felder wrote: > > > > On Sun, Sep 20, 2015, at 06:20, Martin Birgmeier wrote: > >> On machines where VirtualBox is running, I get memory allocation errors. > >> > >> 'dd' aborts with 'dd: stdout: Cannot allocate memory' > >> > >> 'zfs send' aborts with 'internal error: Cannot allocate memory' > >> > >> I have created https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195970 > >> to track this. > >> > >> Could a knowledgeable person please have a look into this? > >> > >> FreeBSD 10.2, VirtualBox 4.3.30 > >> > >> -- Martin > >> > > I'm not an expert, but I think this is known behavior. Virtualbox > > requires a huge contiguous chunk of memory for the VM and that's > > probably what you're running into. > > > > Can you give more information about the specs of the server itself and > > the amount of resources allocated to VMs? > > > > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to " freebsd-emulation-unsubscribe@freebsd.org" From owner-freebsd-emulation@freebsd.org Tue Sep 22 19:26:47 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13831A07E87 for ; Tue, 22 Sep 2015 19:26:47 +0000 (UTC) (envelope-from la5lbtyi@aon.at) Received: from smtpout.aon.at (smtpout.aon.at [195.3.96.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3EBA61DBC for ; Tue, 22 Sep 2015 19:26:45 +0000 (UTC) (envelope-from la5lbtyi@aon.at) Received: (qmail 12258 invoked from network); 22 Sep 2015 19:26:42 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on WARSBL608.highway.telekom.at X-Spam-Level: Received: from 88-117-68-209.adsl.highway.telekom.at (HELO gandalf.xyzzy) ([88.117.68.209]) (envelope-sender ) by smarthub85.res.a1.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP; 22 Sep 2015 19:26:42 -0000 X-A1Mail-Track-Id: 1442950001:12238:smarthub85:88.117.68.209:1 Received: from mizar.xyzzy (mizar.xyzzy [192.168.1.19]) by gandalf.xyzzy (8.15.2/8.15.2) with ESMTP id t8MJQfQN008199; Tue, 22 Sep 2015 21:26:41 +0200 (CEST) (envelope-from la5lbtyi@aon.at) Subject: Re: VirtualBox mangles memory To: =?UTF-8?Q?Bernhard_Fr=c3=b6hlich?= References: <55FE9662.7000406@aon.at> <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> <56017026.6040809@aon.at> Cc: freebsd-emulation@freebsd.org, Mark Felder From: Martin Birgmeier X-Enigmail-Draft-Status: N1110 Organization: MBi at home Message-ID: <5601AB71.9000003@aon.at> Date: Tue, 22 Sep 2015 21:26:41 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 22 Sep 2015 19:26:47 -0000 I don't think it is related to zfs. The 8GB machine did not even have zfs loaded or a zfs file system when I first reported the problem. (The problem with 'zfs send' only happened recently on the 16GB machine.) I'd like to know what has changed between FBSD 9 and 10 regarding memory management and maybe memory tuning parameters. I am quite sure that the cause is to be found there, and in VirtualBox not properly taking into account these changes. Maybe it is just some page table or similar temporarily running out of entries. The problem is easy to reproduce, so if I get some good hints on what to tune I can check whether they help. -- Martin On 09/22/15 20:50, Bernhard Fröhlich wrote: > > To me this sounds a lot like vbox and zfs arc are fighting for > resources. What does the memory line in top look like when this > problem happens? > > A simple workaround would be to limit zfs arc in loader.conf if that > is the problem. > > Am 22.09.2015 5:13 nachm. schrieb "Martin Birgmeier" >: > > > > This did not happen when the machine was running FreeBSD 9.2 with > virtualbox-ose-4.3.20 installed. So I would not qualify this as "known > behavior". > > > > One server has 16G main memory, a VM gets 3G. The other has 8G main > mem and again 3G allocated to the VM. > > > > This is definitely a bug in how VirtualBox handles memory on FreeBSD > 10. I am pretty sure that something changed in FBSD 10 which was not > properly taken care of in VB. > > > > -- Martin > > > > > > > > On 09/21/15 22:10, Mark Felder wrote: > > > > > > On Sun, Sep 20, 2015, at 06:20, Martin Birgmeier wrote: > > >> On machines where VirtualBox is running, I get memory allocation > errors. > > >> > > >> 'dd' aborts with 'dd: stdout: Cannot allocate memory' > > >> > > >> 'zfs send' aborts with 'internal error: Cannot allocate memory' > > >> > > >> I have created > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195970 > > >> to track this. > > >> > > >> Could a knowledgeable person please have a look into this? > > >> > > >> FreeBSD 10.2, VirtualBox 4.3.30 > > >> > > >> -- Martin > > >> > > > I'm not an expert, but I think this is known behavior. Virtualbox > > > requires a huge contiguous chunk of memory for the VM and that's > > > probably what you're running into. > > > > > > Can you give more information about the specs of the server itself and > > > the amount of resources allocated to VMs? > > > > > > > _______________________________________________ > > freebsd-emulation@freebsd.org > mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-emulation > > To unsubscribe, send any mail to > "freebsd-emulation-unsubscribe@freebsd.org > " > From owner-freebsd-emulation@freebsd.org Tue Sep 22 20:20:40 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DFF09CEF4F for ; Tue, 22 Sep 2015 20:20:40 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC5371C0A for ; Tue, 22 Sep 2015 20:20:39 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wiclk2 with SMTP id lk2so210576318wic.0 for ; Tue, 22 Sep 2015 13:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=09fpbefgCuP11MQHlxLSuhCxeWQ5LMbOK06vbNXL6c4=; b=nRPDzfxIpNHcEXD8ULgdJFA64GAr3TFc6ZPXXIg9MHCJT4Wd4Hw2ejdy69oHH6OWJC Q8dyQXla2uXLzYBNqWXcqndLZbWF8q8A6uXGIRjKcQ8jnmlsHINfKILBdmoA6p1iY4+W 12lvXjMcjZJiV4XbkBgsfGyoF1AJ1v59f0Qq9iPfclCW1deU5w/YCybf0WjEwckRR0a+ eCdfPEtivreWXN7Se6WWFfa7Ns5QNBafpcj+HeDKhQgci3luScCdHMjDk56l+OIvKmde R0RFJ0hO8WxzHcXhY0qUResskJtnCojdfXE22gBOFGHrAmvTpHDhiLkfz3LZngAQkhYj mOGA== MIME-Version: 1.0 X-Received: by 10.180.101.198 with SMTP id fi6mr23056818wib.25.1442953237737; Tue, 22 Sep 2015 13:20:37 -0700 (PDT) Received: by 10.194.16.231 with HTTP; Tue, 22 Sep 2015 13:20:37 -0700 (PDT) In-Reply-To: <5601AB71.9000003@aon.at> References: <55FE9662.7000406@aon.at> <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> <56017026.6040809@aon.at> <5601AB71.9000003@aon.at> Date: Tue, 22 Sep 2015 15:20:37 -0500 Message-ID: Subject: Re: VirtualBox mangles memory From: Adam Vande More To: Martin Birgmeier Cc: =?UTF-8?Q?Bernhard_Fr=C3=B6hlich?= , "freebsd-emulation@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 22 Sep 2015 20:20:40 -0000 On Tue, Sep 22, 2015 at 2:26 PM, Martin Birgmeier wrote: > I don't think it is related to zfs. The 8GB machine did not even have > zfs loaded or a zfs file system when I first reported the problem. (The > problem with 'zfs send' only happened recently on the 16GB machine.) > > I'd like to know what has changed between FBSD 9 and 10 regarding memory > management and maybe memory tuning parameters. I run VBox w/ zfs send at dozen times a day on several systems on 10-STABLE pre and post 10.2. Never seen the symptoms you describe. > I am quite sure that the > cause is to be found there > I don't see any cause for surety in the info you have given us. Have you tried any basic steps like monitoring usage during these events or running it under truss/valgrind etc to find out what is going on? -- Adam From owner-freebsd-emulation@freebsd.org Tue Sep 22 20:57:50 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC8F1A03455 for ; Tue, 22 Sep 2015 20:57:50 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.auburn.protected-networks.net (mail.auburn.protected-networks.net [IPv6:2001:470:1f07:4e1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.auburn.protected-networks.net", Issuer "Protected Networks Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B2114186A for ; Tue, 22 Sep 2015 20:57:50 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA v2" (verified OK)) (Authenticated sender: imb@mail.auburn.protected-networks.net) by mail.auburn.protected-networks.net (Postfix) with ESMTPSA id BF70CB90D; Tue, 22 Sep 2015 16:57:33 -0400 (EDT) Subject: Re: VirtualBox mangles memory To: Martin Birgmeier References: <55FE9662.7000406@aon.at> <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> <56017026.6040809@aon.at> <5601AB71.9000003@aon.at> Cc: =?UTF-8?Q?Bernhard_Fr=c3=b6hlich?= , "freebsd-emulation@freebsd.org" From: Michael Butler Message-ID: <5601C0B8.4000905@protected-networks.net> Date: Tue, 22 Sep 2015 16:57:28 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 22 Sep 2015 20:57:51 -0000 On 09/22/15 16:20, Adam Vande More wrote: > On Tue, Sep 22, 2015 at 2:26 PM, Martin Birgmeier wrote: >> I am quite sure that the >> cause is to be found there >> > > I don't see any cause for surety in the info you have given us. Have you > tried any basic steps like monitoring usage during these events or running > it under truss/valgrind etc to find out what is going on? > Another data point .. I run it on -CURRENT and there have been a number of VM-related changes of late but I don't have any problems with it. However, you *must* recompile (at least) the modules whenever the kernel is rebuilt as they depend heavily on the underlying kernel structures, imb From owner-freebsd-emulation@freebsd.org Wed Sep 23 02:10:34 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA767A07309 for ; Wed, 23 Sep 2015 02:10:34 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9FCF01324 for ; Wed, 23 Sep 2015 02:10:34 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 75BCE20668 for ; Tue, 22 Sep 2015 22:10:32 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute1.internal (MEProxy); Tue, 22 Sep 2015 22:10:32 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=DyT2cb5cIBiWOdc vRsDzTUy35EE=; b=AqKczcslbASkmR0p06VLqZUZ6K6bmSAZf9UeiGyPnPrnjd4 +wz9TTg5NpEIPJZ6SVuS5jjaS3UkcPFnCq0UbE9KujsaQfUnlZwqWnno/r8mpnzV KilsAf2GaLDUXhyyZm1qHuLAiHnu40m0KftM9qU7pSbXk+uvK12STs3oHzdA= Received: by web3.nyi.internal (Postfix, from userid 99) id 50CFE10400D; Tue, 22 Sep 2015 22:10:32 -0400 (EDT) Message-Id: <1442974232.1611559.391070321.7F761DD4@webmail.messagingengine.com> X-Sasl-Enc: uTTdk5GSKiipNMfIYAjL2KTRJ3RT56t5uak4uDpfen/8 1442974232 From: Mark Felder To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-39fe9c8e In-Reply-To: <5601C0B8.4000905@protected-networks.net> References: <55FE9662.7000406@aon.at> <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> <56017026.6040809@aon.at> <5601AB71.9000003@aon.at> <5601C0B8.4000905@protected-networks.net> Subject: Re: VirtualBox mangles memory Date: Tue, 22 Sep 2015 21:10:32 -0500 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Sep 2015 02:10:34 -0000 On Tue, Sep 22, 2015, at 15:57, Michael Butler wrote: > On 09/22/15 16:20, Adam Vande More wrote: > > On Tue, Sep 22, 2015 at 2:26 PM, Martin Birgmeier wrote: > > >> I am quite sure that the > >> cause is to be found there > >> > > > > I don't see any cause for surety in the info you have given us. Have you > > tried any basic steps like monitoring usage during these events or running > > it under truss/valgrind etc to find out what is going on? > > > > Another data point .. > > I run it on -CURRENT and there have been a number of VM-related changes > of late but I don't have any problems with it. > > However, you *must* recompile (at least) the modules whenever the kernel > is rebuilt as they depend heavily on the underlying kernel structures, > > imb > I agree. Just to be safe we really shouldn't provide packages for the virtualbox kmods. It's just asking for trouble. -- Mark Felder ports-secteam member feld@FreeBSD.org From owner-freebsd-emulation@freebsd.org Wed Sep 23 11:50:47 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B198A06E67 for ; Wed, 23 Sep 2015 11:50:47 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C5D2F1F28 for ; Wed, 23 Sep 2015 11:50:46 +0000 (UTC) (envelope-from decke@bluelife.at) Received: by oiev17 with SMTP id v17so21969337oie.1 for ; Wed, 23 Sep 2015 04:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cPq6YDZqH4856ktds44ARG1GnGo1qfomj3FzMz6VbXg=; b=eJE8u2I0Aapk7LkR5QNXh+58Ha6jYCg6Umw3H2Oj/cp5axUIFPpNPe6piwSHOAjKz4 38AkHuSQDJJbNs3cUT7ZRRrQ71LBpwwZK3Kzy3qgot0HeZpQ52Hu4Bu+Z4MlDmSlDlxS ocqY7bTD1ia/Rbt4L5ROJx97plDe/sd1rG2uI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cPq6YDZqH4856ktds44ARG1GnGo1qfomj3FzMz6VbXg=; b=VOLN5vPCwDk/1kCfoxDMiyIRKrbaREsPWKoOOWlS04iRwbyPxTVKpvZoENuRlaOdEd wDf8GX7y8c/E8bSXAV44zmMa69vG7K3tSPNNvINHA94+Y9hXcjgsQVOjfgfaYvxsugDe L3qmivbZWGslOrzf2edKB5Uob3wQGTxbYReFV5Dr4/U5/d5vgUeblfn1Vmfs8wEekV2H QoWRKv4XpVOHjmTcfRaO1MwZxpKtYA8IWdjRDvVGGw8j3SYG6vrFbsPQVsORy9aqJeNX gXquXejb/FbTzVC4uaUeGML76ltgKGhuf51LME9/qoUAr/UDEAFS4d4pxw1epPejrzv1 q9KA== X-Gm-Message-State: ALoCoQm2k0y78syemodbfKRr1Ot5zGjVOJQx17w5yM6XIdnGWTrlhUtrSe9VHpukMcBARrUyG0ps MIME-Version: 1.0 X-Received: by 10.202.91.2 with SMTP id p2mr5603656oib.41.1443009045826; Wed, 23 Sep 2015 04:50:45 -0700 (PDT) Received: by 10.76.173.168 with HTTP; Wed, 23 Sep 2015 04:50:45 -0700 (PDT) X-Originating-IP: [2001:470:701f:8100:e16f:d635:adec:698e] Received: by 10.76.173.168 with HTTP; Wed, 23 Sep 2015 04:50:45 -0700 (PDT) In-Reply-To: <1442974232.1611559.391070321.7F761DD4@webmail.messagingengine.com> References: <55FE9662.7000406@aon.at> <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> <56017026.6040809@aon.at> <5601AB71.9000003@aon.at> <5601C0B8.4000905@protected-networks.net> <1442974232.1611559.391070321.7F761DD4@webmail.messagingengine.com> Date: Wed, 23 Sep 2015 13:50:45 +0200 Message-ID: Subject: Re: VirtualBox mangles memory From: =?UTF-8?Q?Bernhard_Fr=C3=B6hlich?= To: Mark Felder Cc: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Sep 2015 11:50:47 -0000 Am 23.09.2015 4:10 vorm. schrieb "Mark Felder" : > > > > On Tue, Sep 22, 2015, at 15:57, Michael Butler wrote: > > On 09/22/15 16:20, Adam Vande More wrote: > > > On Tue, Sep 22, 2015 at 2:26 PM, Martin Birgmeier wrote: > > > > >> I am quite sure that the > > >> cause is to be found there > > >> > > > > > > I don't see any cause for surety in the info you have given us. Have you > > > tried any basic steps like monitoring usage during these events or running > > > it under truss/valgrind etc to find out what is going on? > > > > > > > Another data point .. > > > > I run it on -CURRENT and there have been a number of VM-related changes > > of late but I don't have any problems with it. > > > > However, you *must* recompile (at least) the modules whenever the kernel > > is rebuilt as they depend heavily on the underlying kernel structures, > > > > imb > > > > I agree. Just to be safe we really shouldn't provide packages for the > virtualbox kmods. It's just asking for trouble. No it's absolutely the right thing to provide them or as a package only user on a release you would be screwed. As a STABLE or CURRENT user you should never use any of them. From owner-freebsd-emulation@freebsd.org Wed Sep 23 10:40:28 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24BF5A06E66 for ; Wed, 23 Sep 2015 10:40:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0306A1344 for ; Wed, 23 Sep 2015 10:40:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 01E3DA06E65; Wed, 23 Sep 2015 10:40:28 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 016FBA06E64 for ; Wed, 23 Sep 2015 10:40:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id DB64A1343 for ; Wed, 23 Sep 2015 10:40:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id DA88C1B7A; Wed, 23 Sep 2015 10:40:27 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by freefall.freebsd.org (Postfix) with ESMTP id DA1761B79 for ; Wed, 23 Sep 2015 10:40:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C50EE1342 for ; Wed, 23 Sep 2015 10:40:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8NAeRmB082706 for ; Wed, 23 Sep 2015 10:40:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: vbox@FreeBSD.org Subject: [Bug 186832] emulators/virtualbox-ose fails to build Date: Wed, 23 Sep 2015 10:40:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ports@toco-domains.de X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 23 Sep 2015 12:02:59 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Sep 2015 10:40:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186832 Torsten Z=C3=BChlsdorff changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ports@toco-domains.de --- Comment #2 from Torsten Z=C3=BChlsdorff --- (In reply to vsityz from comment #0) This ticket is sadly very old. At the moment there is virtualbox 4.3.30 in = the ports. Your ticket references 4.3.6. Does this error still occurs for you? If not you can close this ticket! :) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-emulation@freebsd.org Wed Sep 23 14:33:30 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67C0DA061B3 for ; Wed, 23 Sep 2015 14:33:30 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 39D081EF6 for ; Wed, 23 Sep 2015 14:33:29 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 36D78200C2 for ; Wed, 23 Sep 2015 10:33:29 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute6.internal (MEProxy); Wed, 23 Sep 2015 10:33:29 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=itGJ5KDl0n3soGk u8a24KJnPBh8=; b=NOS6PwN+RWbTG78K3kS2x2YE7yGfrQNa8dgPNHoLXOhHYO9 X73eGTSPq7IyX1zHgbOpocvIIDB6UPF1buNolQW3Dd5QSzsBXKCDYC6J6bTbxwl2 SlLqJ81LnEom1dgvZ9/Pks1Da5sd/ccNWff/ZuQEkM3ReFPU8a4wh92JHw54= Received: by web3.nyi.internal (Postfix, from userid 99) id 0C8CE1011C0; Wed, 23 Sep 2015 10:33:29 -0400 (EDT) Message-Id: <1443018808.889430.391539601.64FBB01B@webmail.messagingengine.com> X-Sasl-Enc: pXjMPPHwGI/X/P32KimLkZ03ti7Rw6ceuQcBJpk7Z57G 1443018808 From: Mark Felder To: =?ISO-8859-1?Q?Bernhard=20Fr=F6hlich?= Cc: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: MessagingEngine.com Webmail Interface - ajax-2a494e8d In-Reply-To: References: <55FE9662.7000406@aon.at> <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> <56017026.6040809@aon.at> <5601AB71.9000003@aon.at> <5601C0B8.4000905@protected-networks.net> <1442974232.1611559.391070321.7F761DD4@webmail.messagingengine.com> Subject: Re: VirtualBox mangles memory Date: Wed, 23 Sep 2015 09:33:28 -0500 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Sep 2015 14:33:30 -0000 On Wed, Sep 23, 2015, at 06:50, Bernhard Fr=F6hlich wrote: > Am 23.09.2015 4:10 vorm. schrieb "Mark Felder" : > > > > > > > > On Tue, Sep 22, 2015, at 15:57, Michael Butler wrote: > > > On 09/22/15 16:20, Adam Vande More wrote: > > > > On Tue, Sep 22, 2015 at 2:26 PM, Martin Birgmeier > wrote: > > > > > > >> I am quite sure that the > > > >> cause is to be found there > > > >> > > > > > > > > I don't see any cause for surety in the info you have given us. Ha= ve > you > > > > tried any basic steps like monitoring usage during these events or > running > > > > it under truss/valgrind etc to find out what is going on? > > > > > > > > > > Another data point .. > > > > > > I run it on -CURRENT and there have been a number of VM-related chang= es > > > of late but I don't have any problems with it. > > > > > > However, you *must* recompile (at least) the modules whenever the ker= nel > > > is rebuilt as they depend heavily on the underlying kernel structures, > > > > > > imb > > > > > > > I agree. Just to be safe we really shouldn't provide packages for the > > virtualbox kmods. It's just asking for trouble. >=20 > No it's absolutely the right thing to provide them or as a package only > user on a release you would be screwed. As a STABLE or CURRENT user you > should never use any of them. We don't build for every RELEASE. We always build with the oldest supported version in that release train. Right now all packages for 10.2 users are being built on 10.1-RELEASE. This is bad for virtualbox users. Beware of the dragon, etc etc. --=20 Mark Felder ports-secteam member feld@FreeBSD.org From owner-freebsd-emulation@freebsd.org Wed Sep 23 18:18:47 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33FCEA07AEA for ; Wed, 23 Sep 2015 18:18:47 +0000 (UTC) (envelope-from la5lbtyi@aon.at) Received: from smtpout.aon.at (smtpout.aon.at [195.3.96.113]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E2551DB4 for ; Wed, 23 Sep 2015 18:18:45 +0000 (UTC) (envelope-from la5lbtyi@aon.at) Received: (qmail 21082 invoked from network); 23 Sep 2015 18:18:42 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on WARSBL505.highway.telekom.at X-Spam-Level: Received: from 91-115-164-12.adsl.highway.telekom.at (HELO gandalf.xyzzy) ([91.115.164.12]) (envelope-sender ) by smarthub78.res.a1.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP; 23 Sep 2015 18:18:41 -0000 X-A1Mail-Track-Id: 1443032321:21067:smarthub78:91.115.164.12:1 Received: from mizar.xyzzy (mizar.xyzzy [192.168.1.19]) by gandalf.xyzzy (8.15.2/8.15.2) with ESMTP id t8NIIfGD006751; Wed, 23 Sep 2015 20:18:41 +0200 (CEST) (envelope-from la5lbtyi@aon.at) Subject: Re: VirtualBox mangles memory To: Michael Butler References: <55FE9662.7000406@aon.at> <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> <56017026.6040809@aon.at> <5601AB71.9000003@aon.at> <5601C0B8.4000905@protected-networks.net> Cc: =?UTF-8?Q?Bernhard_Fr=c3=b6hlich?= , "freebsd-emulation@freebsd.org" From: Martin Birgmeier Organization: MBi at home Message-ID: <5602ED01.20202@aon.at> Date: Wed, 23 Sep 2015 20:18:41 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5601C0B8.4000905@protected-networks.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Sep 2015 18:18:47 -0000 I have always recompiled the vbox modules (in fact, all of VB) after the latest kernel installation, for both machines. This behavior started after I upgraded from FBSD 9.2 to 10.1 (and persisted with 10.2). I have tried to refine the scenario where the problem appears, and the results are as follows. - I run a 3 GB VB client on an 8 GB machine - On this machine I start a dd with a blocksize of 128k to copy a 250G disk slice to standard output (the purpose being to make an image backup of the Windows partition). The difference is how I start dd: - Just running dd if=/dev/ada0s2 of=/dev/null bs=128 works. - Running dd if=/dev/ada0s2 bs=128k | cat > /dev/null works. - *On another machine*, running rsh -n "dd if=/dev/ada0s2 bs=128k" > /dev/null produces "dd: stdout: Cannot allocate memory" quite soon (but after a non-deterministic number of blocks have been transferred). If I do this using ssh, the behavior is slightly different but still erroneous: ssh -n "dd if=/dev/ada0s2 bs=128k" > /dev/null produces "Connection to closed by remote host." without a message from dd. I could not note any anomalies in memory usage as monitored by "top" and "systat -vm 1". If, after the tests above, I shut down the VB client while keeping everything else the same, issuing the rsh command runs to completion correctly. Note that in that other scenario where I was using "zfs send", "zfs send" was also invoked via "rsh -n". So it seems that sending data via rsh while a VB client is running leads to the problem. Could anyone try to reproduce this test case and tell me about the results? Thank you in advance for your efforts. -- Martin On 09/22/15 22:57, Michael Butler wrote: > On 09/22/15 16:20, Adam Vande More wrote: >> On Tue, Sep 22, 2015 at 2:26 PM, Martin Birgmeier wrote: >>> I am quite sure that the >>> cause is to be found there >>> >> I don't see any cause for surety in the info you have given us. Have you >> tried any basic steps like monitoring usage during these events or running >> it under truss/valgrind etc to find out what is going on? >> > Another data point .. > > I run it on -CURRENT and there have been a number of VM-related changes > of late but I don't have any problems with it. > > However, you *must* recompile (at least) the modules whenever the kernel > is rebuilt as they depend heavily on the underlying kernel structures, > > imb > > > From owner-freebsd-emulation@freebsd.org Wed Sep 23 18:46:18 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0496A06B93 for ; Wed, 23 Sep 2015 18:46:18 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9331D13BF for ; Wed, 23 Sep 2015 18:46:18 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by oiev17 with SMTP id v17so29141457oie.1 for ; Wed, 23 Sep 2015 11:46:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=86W9FICjjVNAqcE4gGBVALVW+JSVVYy7xI8TbnKRN+s=; b=jN/ff4Oq9wWlYzyBuMJWhjaZcm3rnjGt0xFkP9KaxvSUwPr/pghTvT3wbaJqOzTrL+ Bve03MOnkM2r6iln5NElR3LsELlqqPh2WNSsn7Yak2yVqiHeSQujuZXQsdGaVZoWx6t8 SFUTyVq/mcnBWyXAC5V7E5XKiQBi88lT2uwopdA3r6wW7CLjK/1HZTShkJt8pTOToLqR M5ZyS/+NbtD1RFhzBtCefe00FTHnlEYCztcJ1M3XoycM83r/IRWyDj4D8Oh9u/KTy9X+ FOPlVGXvU3OMlRXAgFDZ6yHZTkIPdiojQ7KASs1++wI2dNN7nKFNmNQmzhf+Rm9Vu9Z/ LcAw== MIME-Version: 1.0 X-Received: by 10.202.182.87 with SMTP id g84mr19635353oif.59.1443033977961; Wed, 23 Sep 2015 11:46:17 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.202.102.9 with HTTP; Wed, 23 Sep 2015 11:46:17 -0700 (PDT) In-Reply-To: <5602ED01.20202@aon.at> References: <55FE9662.7000406@aon.at> <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> <56017026.6040809@aon.at> <5601AB71.9000003@aon.at> <5601C0B8.4000905@protected-networks.net> <5602ED01.20202@aon.at> Date: Wed, 23 Sep 2015 11:46:17 -0700 X-Google-Sender-Auth: F-9xZo2m_8ry81l8zARcHiUUf4I Message-ID: Subject: Re: VirtualBox mangles memory From: Kevin Oberman To: Martin Birgmeier Cc: Michael Butler , =?UTF-8?Q?Bernhard_Fr=C3=B6hlich?= , "freebsd-emulation@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Sep 2015 18:46:19 -0000 Just a quick reminder that, if you ever build a kernel, you probably want to list all ports which generate kernel modules in a PORTS_MODULES line in /etc/src.conf. E.g. "PORTS_MODULES=emulators/virtualbox-ose-kmod multimedia/cuse4bsd-kmod". This will automatically rebuild these ports when the kernel is rebuilt. You won't forget. Caveat: This will fail for "make reinstallkernel" as the ports Mk files lack a reinstall target, but it seems that relatively few people are aware that this target even exists, even though it can be very useful. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 From owner-freebsd-emulation@freebsd.org Wed Sep 23 19:23:54 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6921EA07E36 for ; Wed, 23 Sep 2015 19:23:54 +0000 (UTC) (envelope-from la5lbtyi@aon.at) Received: from smtpout-fallback.aon.at (smtpout-fallback.aon.at [195.3.96.119]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B3BBA1CC5 for ; Wed, 23 Sep 2015 19:23:53 +0000 (UTC) (envelope-from la5lbtyi@aon.at) Received: (qmail 316 invoked from network); 23 Sep 2015 19:23:43 -0000 Received: from unknown (HELO smtpout.aon.at) ([172.18.1.199]) (envelope-sender ) by fallback44.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 23 Sep 2015 19:23:43 -0000 Received: (qmail 367 invoked from network); 23 Sep 2015 19:23:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on WARSBL605.highway.telekom.at X-Spam-Level: Received: from 91-115-164-12.adsl.highway.telekom.at (HELO gandalf.xyzzy) ([91.115.164.12]) (envelope-sender ) by smarthub79.res.a1.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP; 23 Sep 2015 19:23:36 -0000 X-A1Mail-Track-Id: 1443036216:338:smarthub79:91.115.164.12:1 Received: from mizar.xyzzy (mizar.xyzzy [192.168.1.19]) by gandalf.xyzzy (8.15.2/8.15.2) with ESMTP id t8NJNYHW024815; Wed, 23 Sep 2015 21:23:34 +0200 (CEST) (envelope-from la5lbtyi@aon.at) Subject: Re: VirtualBox mangles memory To: Michael Butler References: <55FE9662.7000406@aon.at> <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> <56017026.6040809@aon.at> <5601AB71.9000003@aon.at> <5601C0B8.4000905@protected-networks.net> <5602ED01.20202@aon.at> Cc: =?UTF-8?Q?Bernhard_Fr=c3=b6hlich?= , "freebsd-emulation@freebsd.org" From: Martin Birgmeier X-Enigmail-Draft-Status: N1110 Organization: MBi at home Message-ID: <5602FC36.1070805@aon.at> Date: Wed, 23 Sep 2015 21:23:34 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5602ED01.20202@aon.at> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Sep 2015 19:23:54 -0000 In https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195970, Larry Rosenman suggested setting net.graph.maxdata=8192. I set it to 4096, and the problem seems to have gone away (I am currently testing, and it has not failed so far). This is actually mentioned in https://wiki.freebsd.org/VirtualBox/Tuning, but I would never have guessed that the standard network stack is affected by setting this tunable: I am not copying anything in/out of the VB client, but rather run a completely independent regular IPv4 transfer alongside it. Maybe the description there could be expanded accordingly. Anyway, thanks to Larry for pointing me in the right direction. -- Martin From owner-freebsd-emulation@freebsd.org Thu Sep 24 22:50:00 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D96FDA08E2F for ; Thu, 24 Sep 2015 22:50:00 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A3DD119A for ; Thu, 24 Sep 2015 22:49:59 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by qgev79 with SMTP id v79so56923263qge.0 for ; Thu, 24 Sep 2015 15:49:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:subject:message-id:organization:mime-version :content-type:content-transfer-encoding; bh=TGOz4w55IJ9LXdF0kNVVWZW/TZ2DQ37OoyAiPK2dBfA=; b=da8Lal0pFgEQA0zg9Fz+2OQwXqgEvJk7B3GPLPN1QBZbpQKsP3BSXfFYuvVT5vm0Z8 F/pxArBHVbPJElScqeCciPZs+aT156CwcT86CUlucEzemrDvCRw3xnsAwiuKegLDp0Ko QNcLLGCDNyhN7v9mhSD5NwTWukSEJfB2UgiNk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:organization :mime-version:content-type:content-transfer-encoding; bh=TGOz4w55IJ9LXdF0kNVVWZW/TZ2DQ37OoyAiPK2dBfA=; b=EdfP9NDkUMgrHsL7biky5dQ69cPzLcJsvnHP83khis2oqAnZaQl73KoM9zAKRxqoZ6 9nwO/PQLdDbD7JfPs64k70Iqm5P0BGZWOGaTNjmZOBwqTzkroqaqkt9TlDepiyvUvF1I cNSqLtcm5NmFOwD/rqdHaSRPb+waf+p6apYXjxgE/pCE14SPWs3Ti8e1KBHPaNTvBrbh QbvSjPi2H3TrngoiS1nRjUrCicbcU097pWYHh2PnRfi+bRBfdJXpLmmP7xhzlF9POrj2 RiHWlQCA0hKgo4aRBn12WLd/NTX7+0RXs/gNoGooAn4CaJ1zrzd7BqbHUEiVIuxWmfV8 Eeww== X-Gm-Message-State: ALoCoQng/ujuOQ1C/IlmVniiJyVB1aX+dtdgEGv6zP9eRNL/eY2t5KmSy4lEXcrZ7ML3f+GfeIbu X-Received: by 10.140.99.49 with SMTP id p46mr2602580qge.76.1443134998978; Thu, 24 Sep 2015 15:49:58 -0700 (PDT) Received: from Papi (177.206.184.165.dynamic.adsl.gvt.net.br. [177.206.184.165]) by smtp.gmail.com with ESMTPSA id i199sm246346qhc.44.2015.09.24.15.49.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Sep 2015 15:49:58 -0700 (PDT) Date: Thu, 24 Sep 2015 19:54:43 -0300 From: Mario Lobo To: "freebsd-emulation@freebsd.org" Subject: /dev for Linux binaries in freebsd Message-ID: <20150924195443.1805e50d@Papi> Organization: BSD X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.25; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 24 Sep 2015 22:50:00 -0000 Hi; Using 11-CURRENT. I was trying to find out where a linux binary will look for the /dev directory. I tried to link the device I need to /compat/linux/dev but that didn't work. How can a linux binary see the devices (serial ports, usb, etc) of the system? Thanks, -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." From owner-freebsd-emulation@freebsd.org Fri Sep 25 18:11:38 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15484A09FF1 for ; Fri, 25 Sep 2015 18:11:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EE717138B for ; Fri, 25 Sep 2015 18:11:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id ED973A09FF0; Fri, 25 Sep 2015 18:11:37 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED2C4A09FEF for ; Fri, 25 Sep 2015 18:11:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9BBE138A for ; Fri, 25 Sep 2015 18:11:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8PIBbs7053117 for ; Fri, 25 Sep 2015 18:11:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 195819] efifb driver does not work in hypervisor when try to install from a FreeBSD10.1 uefi iso Date: Fri, 25 Sep 2015 18:11:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: blocked Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 25 Sep 2015 18:11:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195819 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |203349 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-emulation@freebsd.org Sat Sep 26 11:50:42 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41511A09B16 for ; Sat, 26 Sep 2015 11:50:42 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C310C1634 for ; Sat, 26 Sep 2015 11:50:41 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p57BB90BE.dip0.t-ipconnect.de [87.187.144.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 9B5D383EE80 for ; Sat, 26 Sep 2015 13:44:36 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::3:102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by outgoing.leidinger.net (Postfix) with ESMTPS id B684C7286 for ; Sat, 26 Sep 2015 13:44:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1443267873; bh=MTvcsp3AAret/RunWEz6CGGuvQ32BQMV0LPoNfZ5EBA=; h=Date:From:To:Subject:In-Reply-To; b=z3eI+U9NaxOjwFVRsXB0FIpvE/ifV9SY7RW3pVYu1fk+LbEfqiAMywqeYzQ1wuRFZ LRcvWIph20g/2IlJwpme6D2hP/+hLQNU65j87CKQXDT2HYXn3FYoEd5KeV3BMMRvi7 Z2uOg3KB/ZoK9CSXcDMvs8II/cWsLRRnAv7Azj9iT+LmEdGZPNcOKf+3B0VLniWlEk Qlp0uB1vhacWf7Wy7OmR4Fl7GOb+XrV5QhNXRXPBFgzm4m6L04Fh97sVDizlV3SYDm mKy/TIO7e+m+E4nuyqY0TI4CNW45nQmfup1u3y0sZQKqypQkMj/ZK4elfiuRHedyE2 LfiImlexgSZEQ== Received: (from www@localhost) by webmail.leidinger.net (8.15.2/8.14.4/Submit) id t8QBiXUF054395 for freebsd-emulation@freebsd.org; Sat, 26 Sep 2015 13:44:33 +0200 (CEST) (envelope-from Alexander@leidinger.net) X-Authentication-Warning: webmail.leidinger.net: www set sender to Alexander@leidinger.net using -f Received: from 217.197.101.97 ([217.197.101.97]) by webmail.leidinger.net (Horde Framework) with HTTP; Sat, 26 Sep 2015 13:44:33 +0200 Date: Sat, 26 Sep 2015 13:44:33 +0200 Message-ID: <20150926134433.Horde.dywx79dLiTk9Z_UmyvgIU7-@webmail.leidinger.net> From: Alexander Leidinger To: freebsd-emulation@freebsd.org Subject: Re: /dev for Linux binaries in freebsd In-Reply-To: <20150924195443.1805e50d@Papi> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 9B5D383EE80.A5C23 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.023, required 6, autolearn=disabled, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, TW_EV 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1443872681.25046@jhECoY1iTX+W0MRD+KQV/A X-EBL-Spam-Status: No X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 26 Sep 2015 11:50:42 -0000 Quoting Mario Lobo (from Thu, 24 Sep 2015 19:54:43 -0300): > I was trying to find out where a linux binary will look for the /dev > directory. > > I tried to link the device I need to /compat/linux/dev but that didn't > work. This is expected. Do not create links to the real /dev there, you will create a loop (see below). > How can a linux binary see the devices (serial ports, usb, etc) of the > system? The behavior under the assumption that you haven't chrooted into /compat/linux is: A linux program will ask the kernel for /dev/xyz. The kernel knows that it is a linux program, and as such it will first look for /compat/linux/dev/xyz. If the kernel doesn't find the device there, it will look for /dev/xyz. As such you should not touch /compat/linux/dev at all, it will "fall-through" to the real /dev. Maybe your real problem is not that you can't access the right /dev/ entry, but that the devide doesn't understand what the linux program wants to do. You can use ktrace or dtrace to check what the program tries to do. You should see in the output what the real patch is it tries to reach and what kind or errno it get's when it tries to access it. If you chroot into /compat/linux, you need to mount devfs in additionally to /compat/linux/dev. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0xC773696B3BAC17DC http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0xC773696B3BAC17DC From owner-freebsd-emulation@freebsd.org Sat Sep 26 21:03:43 2015 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C8B51A0A01B for ; Sat, 26 Sep 2015 21:03:43 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qg0-x234.google.com (mail-qg0-x234.google.com [IPv6:2607:f8b0:400d:c04::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 86A8C902 for ; Sat, 26 Sep 2015 21:03:43 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by qgt47 with SMTP id 47so94465175qgt.2 for ; Sat, 26 Sep 2015 14:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-type:content-transfer-encoding; bh=yiy7OJQggv2OAe3oYvsjtqIRgNF/yHc28bjVIVJwvlg=; b=PPp12oaCHa1EdWbqaUHihZ6SQOC0e4lJRpKr4eZ+5iI1yTw9sX1macXrJj7vtbjsK/ sZ9I2jL4wYT5DSu5cDF9jzYVbofLKYXM2vo1zd9M+AvjvePDZcuXwgrIIvoq+ZZEjpTT 2lY4WSK5dlPYX1BpL/w0e74ej8lmPXWEV0bcY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-type :content-transfer-encoding; bh=yiy7OJQggv2OAe3oYvsjtqIRgNF/yHc28bjVIVJwvlg=; b=my+iIT/AGfwGv6e+ek2lLjXYtEZ2cSqFrFPxXj0V9px5KB4hyN847RHfaIUtfBLS54 jqRsOje1auVCAKDrDYRIEi0FH0+AGi6RgLd8n3aLXaKCbKiPwUIL25N3CV88h+4UMWuG rKEAgEFeqZ8JrNaJRtZzCP3JLVjtWIM2hrJTV7IPxYts9cwfS7Eh/xOKDyLRWjJYoO7K RiUeOrU40U80UY5aIoNk3pcb9avBY3yON9FFZMlBZ1Y/wJqjij09bbwV9AtRT8ANqmrD naca+eyCgz/fsjfqZRcxC/VqZ+OdZDfHBQiTbzMCInELGCUCj0gGVV04CSK3+q1dMn7+ p69w== X-Gm-Message-State: ALoCoQm9F9vg6GX3QE4OgDaBbgjb0D6t/gEAZV/fC5IJQNa+AFzVzMGgi9zAB/RESEXksGR2Lrzj X-Received: by 10.140.194.148 with SMTP id p142mr14761756qha.84.1443301422140; Sat, 26 Sep 2015 14:03:42 -0700 (PDT) Received: from Papi ([177.135.59.144]) by smtp.gmail.com with ESMTPSA id 142sm4031932qhg.13.2015.09.26.14.03.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Sep 2015 14:03:41 -0700 (PDT) Date: Sat, 26 Sep 2015 18:08:26 -0300 From: Mario Lobo To: Alexander Leidinger Cc: freebsd-emulation@freebsd.org Subject: Re: /dev for Linux binaries in freebsd Message-ID: <20150926180826.5d673a64@Papi> In-Reply-To: <20150926134433.Horde.dywx79dLiTk9Z_UmyvgIU7-@webmail.leidinger.net> References: <20150924195443.1805e50d@Papi> <20150926134433.Horde.dywx79dLiTk9Z_UmyvgIU7-@webmail.leidinger.net> Organization: BSD X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.25; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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, 26 Sep 2015 21:03:44 -0000 On Sat, 26 Sep 2015 13:44:33 +0200 Alexander Leidinger wrote: > Quoting Mario Lobo (from Thu, 24 Sep 2015 19:54:43 > -0300): > > > I was trying to find out where a linux binary will look for the /dev > > directory. > > > > I tried to link the device I need to /compat/linux/dev but that > > didn't work. > > This is expected. Do not create links to the real /dev there, you > will create a loop (see below). > > > How can a linux binary see the devices (serial ports, usb, etc) of > > the system? > > The behavior under the assumption that you haven't chrooted into > /compat/linux is: > > A linux program will ask the kernel for /dev/xyz. > The kernel knows that it is a linux program, and as such it will > first look for /compat/linux/dev/xyz. > If the kernel doesn't find the device there, it will look > for /dev/xyz. > > As such you should not touch /compat/linux/dev at all, it will > "fall-through" to the real /dev. > > Maybe your real problem is not that you can't access the right /dev/ > entry, but that the devide doesn't understand what the linux program > wants to do. > > You can use ktrace or dtrace to check what the program tries to do. > You should see in the output what the real patch is it tries to > reach and what kind or errno it get's when it tries to access it. > > > If you chroot into /compat/linux, you need to mount devfs in > additionally to /compat/linux/dev. > > Bye, > Alexander. Thanks for the tips, Alexander. I`ll see what I can find out. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."