From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 21 02:22:27 2012 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21429625 for ; Sun, 21 Oct 2012 02:22:27 +0000 (UTC) (envelope-from emul-jfbml@snkmail.com) Received: from sneak2.sneakemail.com (sneak2.sneakemail.com [38.113.6.65]) by mx1.freebsd.org (Postfix) with SMTP id 9B3A78FC0A for ; Sun, 21 Oct 2012 02:22:25 +0000 (UTC) Received: (qmail 18535 invoked from network); 21 Oct 2012 02:22:25 -0000 Received: from unknown (HELO localhost.localdomain) (192.168.0.1) by sneak2.sneakemail.com with SMTP; 21 Oct 2012 02:22:25 -0000 Received: from 206.168.13.214 by mail.sneakemail.com with SMTP; 21 Oct 2012 02:22:25 -0000 Received: (sneakemail censored 30626-1350786134-225221 #2); 21 Oct 2012 02:22:25 -0000 Received: (sneakemail censored 30626-1350786134-225221 #1); 21 Oct 2012 02:22:25 -0000 Date: Sat, 20 Oct 2012 20:20:19 -0600 (MDT) Message-ID: <30626-1350786134-225221@sneakemail.com> From: "John Hein" To: emulation@freebsd.org To: Josh Paetzel , MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Open-vm-tools In-Reply-To: References: <22510-1350770999-468572@sneakemail.com> X-Mailer: Perl5 Mail::Internet v X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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, 21 Oct 2012 02:22:27 -0000 Josh Paetzel wrote at 17:54 -0500 on Oct 20, 2012: > On Oct 20, 2012, at 5:07 PM, "John Hein" wrote: > > vmware != virtualbox > > The documentation I was able to find on that command don't indicate > it's vmware specific. The open-vm-tools themselves are not vmware > specific. > > If that command really is only useful for detecting vmware > environments then it shouldn't be used in the startup script for > tools which aren't vmware specific. Where do you see an indication that open-vm-tools is for any virtualization environments other than vmware? From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 21 07:47:14 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFC13B6C for ; Sun, 21 Oct 2012 07:47:14 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6E89D8FC08 for ; Sun, 21 Oct 2012 07:47:13 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id 16so1412233wgi.31 for ; Sun, 21 Oct 2012 00:47:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:sender:x-originating-ip:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=kQZyKIDzDz1Gg1U4WUsT2u5WT/9qaT9Yn6fM22qkknw=; b=fm7yyTPYVaUy5uEJkpQSaqVibSNIRz7nQKFu1Q+yGgPX8pqd9rTHNg602DKdWSZmVP v/zvuHnTMJkvQQSdnEYf2+oKslH3gzeGFWr8fUj3llSU0SALQfjNkfJbrZ3tX/Ct40T+ wlhnZW92cRyu/6FZ5XwyeY42ICVRU/tAkJOMI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=kQZyKIDzDz1Gg1U4WUsT2u5WT/9qaT9Yn6fM22qkknw=; b=C54UH7qw6LcEmTk/F7ZI0aVlEAgOgYVOVj8rHuQWlmAEHjurmR+CqVsJzG4A3O5rZQ MmnoG/W/tXI6YoismiNK8MYfBgsQdSkZTQHafbwvGhBAChM6xhyle1D+EwWL6Kdrr31+ QsG/FX/KcTaBcKCAq3RbOWwDgD/3JWk66FkmfB5/zA5Tkdbig7YDDaf+ZaLLAU9IJiIV VF7uIYAhe1IIsvS4C9sgRa0wtnu4PGPcG78dzpbQHv09mjcc6OfX22cP5wNze2gMgAJR oC38CMTpJi5MDXQRAFjh1EZwTKdKhO/bpSPbCj0GcbmPJOnqxgzjyWKg5hmj97oyiub7 pUkw== MIME-Version: 1.0 Received: by 10.216.197.205 with SMTP id t55mr3624299wen.156.1350805633137; Sun, 21 Oct 2012 00:47:13 -0700 (PDT) Sender: decke@bluelife.at Received: by 10.194.95.135 with HTTP; Sun, 21 Oct 2012 00:47:13 -0700 (PDT) X-Originating-IP: [212.69.68.162] In-Reply-To: References: Date: Sun, 21 Oct 2012 09:47:13 +0200 X-Google-Sender-Auth: dMrTCxUeHX4-1PLuLrF55MGDACA Message-ID: Subject: Re: Open-vm-tools From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= To: Josh Paetzel Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQm4qSx7m1IWSGMLvoH84uYzeXuDoNoP+OK5jw+MmZ1jvUyHyL1iWwu/5V/O/aEJ7EBNWpxi Cc: "freebsd-emulation@freebsd.org" X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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, 21 Oct 2012 07:47:15 -0000 On Sat, Oct 20, 2012 at 6:16 PM, Josh Paetzel wrote: > I just installed PC-BSD 9.1-RC2 and virtualbox 4.1.22. I then installed a vm running FreeBSD 9.1-RC2. I installed the open-vm-tools from pkg. > > The kernel modules wouldn't load at boot. Turns out the rc.d script runs a binary called vmware-checkvm, which is supposed to return true if it's run in a vm. It does not and so the rc.d script bails out before loading the kernel modules. > > Running vmware-checkvm gives "unknown version" as output. > > I haven't tried other hypervisors, but it seems that on this platform at least it doesn't work properly. Open does not mean that it supports anything other than vmware. So you really want to give emulators/virtualbox-ose-additions a try. -- Bernhard Froehlich http://www.bluelife.at/ From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 21 08:28:17 2012 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59C3426B for ; Sun, 21 Oct 2012 08:28:17 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from portsmonj.FreeBSD.org (portsmonj.freebsd.org [69.147.83.46]) by mx1.freebsd.org (Postfix) with ESMTP id 2A7A18FC19 for ; Sun, 21 Oct 2012 08:28:17 +0000 (UTC) Received: from portsmonj.freebsd.org (portsmonj.freebsd.org [69.147.83.46]) by portsmonj.FreeBSD.org (8.14.5/8.14.4) with ESMTP id q9L8SHx2054105 for ; Sun, 21 Oct 2012 08:28:17 GMT (envelope-from linimon@FreeBSD.org) Date: Sun, 21 Oct 2012 08:28:17 GMT Message-Id: <201210210828.q9L8SHx2054105@portsmonj.FreeBSD.org> From: linimon@FreeBSD.org To: emulation@FreeBSD.org Subject: FreeBSD ports that you maintain which are currently marked broken X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 08:28:17 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically notify users of ports that are marked as "broken" in their Makefiles. In many cases these ports are failing to compile on some subset of the FreeBSD build environments. The most common problem is that recent versions of -CURRENT include gcc4.2, which is much stricter than older versions. The next most common problem is that compiles succeed on the i386 architecture (e.g. the common Intel PC), but fail on one or more of the other architectures due to assumptions about things such as size of various types, byte-alignment issues, and so forth. In occasional cases we see that the same port may have different errors in different build environments. The script that runs on the build cluster uses heuristics to try to 'guess' the error type to help you isolate problems, but it is only a rough guide. One more note: on occasion, there are transient build errors seen on the build farm. Unfortunately, there is not yet any way for this algorithm to tell the difference (humans are much, much better at this kind of thing.) The errors are listed below. In the case where the same problem exists on more than one build environment, the URL points to the latest errorlog for that type. (By 'build environment' here we mean 'combination of 7.x/8.x/9.x/-current with target architecture'.) (Note: the dates are included to help you to gauge whether or not the error still applies to the latest version. The program that generates this report is not yet able to determine this automatically.) portname: www/linux-flashplugin9 broken because: unfetchable build errors: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.10.20120608131052/linux-flashplugin-9.0r289_1.log (_Jun_13_10:34:28_UTC_2012) overview: http://portsmon.FreeBSD.org/portoverview.py?category=www&portname=linux-flashplugin9 If these errors are ones that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Every effort has been made to make sure that these error reports really do correspond to a port that you maintain. However, due to the fact that this is an automated process, it may indeed generate false matches. If one of these errors fits that description, please forward this email to the author of this software, Mark Linimon , so that he can attempt to fix the problem in the future. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 21 08:29:25 2012 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40EB94D3 for ; Sun, 21 Oct 2012 08:29:25 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from portsmonj.FreeBSD.org (portsmonj.freebsd.org [69.147.83.46]) by mx1.freebsd.org (Postfix) with ESMTP id 2A6978FC12 for ; Sun, 21 Oct 2012 08:29:25 +0000 (UTC) Received: from portsmonj.freebsd.org (portsmonj.freebsd.org [69.147.83.46]) by portsmonj.FreeBSD.org (8.14.5/8.14.4) with ESMTP id q9L8TPP4060605 for ; Sun, 21 Oct 2012 08:29:25 GMT (envelope-from linimon@FreeBSD.org) Date: Sun, 21 Oct 2012 08:29:25 GMT Message-Id: <201210210829.q9L8TPP4060605@portsmonj.FreeBSD.org> From: linimon@FreeBSD.org To: emulation@FreeBSD.org Subject: FreeBSD ports that you maintain which are currently scheduled for deletion X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 08:29:25 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically schedule removal of ports that have been judged to have outlived their usefulness. Often, this is due to a better alternative having become available and/or the cessation of development on the existing port. In some cases, ports are marked for removal because they fail to build and install correctly from their sources, or otherwise fail in operation. The ports, and the reason and date that they have been scheduled for removal, are listed below. If no one has stepped forward before that time to propose a way to fix the problems (such as via a PR), the ports will be deleted. portname: accessibility/linux-atk description: Accessibility Toolkit, Linux/i386 binary maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=accessibility&portname=linux-atk portname: archivers/linux-ucl description: RPM of UCL, a lossless data compression library maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=archivers&portname=linux-ucl portname: archivers/linux-upx description: RPM of UPX, a high-performance executable packer maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=archivers&portname=linux-upx portname: audio/linux-esound description: RPM of esound maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=audio&portname=linux-esound portname: audio/linux-libaudiofile description: RPM of audiofile maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=audio&portname=linux-libaudiofile portname: audio/linux-nas-libs description: Runtime libraries for NAS (Linux Fedora Core 4) maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=audio&portname=linux-nas-libs portname: devel/linux-allegro description: Cross-platform game programming library (linux version) maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=devel&portname=linux-allegro portname: devel/linux-libglade description: RPM of libglade maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=devel&portname=linux-libglade portname: devel/linux-libsigc++20 description: Callback Framework for C++ (linux version) maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=devel&portname=linux-libsigc%2B%2B20 portname: devel/linux-sdl12 description: Cross-platform multi-media development API (linux version) maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=devel&portname=linux-sdl12 portname: emulators/linux_base-fc4 description: Base set of packages needed in Linux mode (for i386/amd64) maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=emulators&portname=linux_base-fc4 portname: graphics/linux-imlib description: RPM of imlib maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=graphics&portname=linux-imlib portname: graphics/linux-jpeg description: RPM of the JPEG lib maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=graphics&portname=linux-jpeg portname: graphics/linux-libGLU description: OpenGL utility library (Linux version) maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=graphics&portname=linux-libGLU portname: graphics/linux-png description: RPM of the PNG lib maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=graphics&portname=linux-png portname: graphics/linux-png10 description: RPM of the PNG lib (old 1.0 version) maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=graphics&portname=linux-png10 portname: graphics/linux-tiff description: TIFF library, Linux/i386 binary maintainer: emulation@FreeBSD.org status: FORBIDDEN deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=graphics&portname=linux-tiff portname: lang/linux-libg2c description: Fortran 77 compatibility runtime maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=lang&portname=linux-libg2c portname: multimedia/linux-libtheora description: Video codec maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=multimedia&portname=linux-libtheora portname: sysutils/linux-procps description: Linux psproc binaries maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=sysutils&portname=linux-procps portname: textproc/linux-expat description: Linux/i386 binary port of Expat XML-parsing library maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=textproc&portname=linux-expat portname: textproc/linux-libxml description: RPM of libxml maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=textproc&portname=linux-libxml portname: x11-fonts/linux-fontconfig description: Linux/i386 binary of Fontconfig maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=x11-fonts&portname=linux-fontconfig portname: x11-toolkits/linux-gtk description: RPM of the Gtk lib maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=x11-toolkits&portname=linux-gtk portname: x11-toolkits/linux-gtk2 description: GTK+ library, version 2.X, Linux binary maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=x11-toolkits&portname=linux-gtk2 portname: x11-toolkits/linux-openmotif description: Motif toolkit Linux libraries maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=x11-toolkits&portname=linux-openmotif portname: x11-toolkits/linux-pango description: Linux pango binary maintainer: emulation@FreeBSD.org status: FORBIDDEN deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=x11-toolkits&portname=linux-pango portname: x11/linux-xorg-libs description: Xorg libraries, linux binaries maintainer: emulation@FreeBSD.org deprecated because: expiration date: 2013-02-28 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=x11&portname=linux-xorg-libs If this problem is one that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 21 08:30:14 2012 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7269279D for ; Sun, 21 Oct 2012 08:30:14 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from portsmonj.FreeBSD.org (portsmonj.freebsd.org [69.147.83.46]) by mx1.freebsd.org (Postfix) with ESMTP id 5E40A8FC1F for ; Sun, 21 Oct 2012 08:30:14 +0000 (UTC) Received: from portsmonj.freebsd.org (portsmonj.freebsd.org [69.147.83.46]) by portsmonj.FreeBSD.org (8.14.5/8.14.4) with ESMTP id q9L8UES9066620 for ; Sun, 21 Oct 2012 08:30:14 GMT (envelope-from linimon@FreeBSD.org) Date: Sun, 21 Oct 2012 08:30:14 GMT Message-Id: <201210210830.q9L8UES9066620@portsmonj.FreeBSD.org> From: linimon@FreeBSD.org To: emulation@FreeBSD.org Subject: FreeBSD ports that you maintain which are currently marked forbidden X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 08:30:14 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically notify users about ports that are marked as "forbidden" in their Makefiles. Often, these ports are so marked due to security concerns, such as known exploits. An overview of each port, including errors seen on the build farm, is included below. portname: graphics/linux-tiff forbidden because: Vulnerable since 2004-10-13, http://portaudit.freebsd.org/8816bf3a-7929-11df-bcce-0018f3e2eb82.html build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=graphics&portname=linux-tiff portname: x11-toolkits/linux-pango forbidden because: Vulnerable since 2009-05-13, http://portaudit.freebsd.org/4b172278-3f46-11de-becb-001cc0377035.html build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=x11-toolkits&portname=linux-pango If this problem is one that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 21 18:49:57 2012 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1F4CD0 for ; Sun, 21 Oct 2012 18:49:57 +0000 (UTC) (envelope-from nobody@amazon.dnscloud.info) Received: from amazon.dnscloud.info (amazon.dnscloud.info [210.48.150.66]) by mx1.freebsd.org (Postfix) with ESMTP id 7929C8FC1A for ; Sun, 21 Oct 2012 18:49:57 +0000 (UTC) Received: from nobody by amazon.dnscloud.info with local (Exim 4.80) (envelope-from ) id 1TQ0au-0007ta-Qi for emulation@freebsd.org; Mon, 22 Oct 2012 02:49:52 +0800 To: emulation@freebsd.org Subject: Online Emplyment Opportunity !! From: Alvin Lichner MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Message-Id: Date: Mon, 22 Oct 2012 02:49:52 +0800 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - amazon.dnscloud.info X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12] X-AntiAbuse: Sender Address Domain - amazon.dnscloud.info X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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, 21 Oct 2012 18:49:58 -0000 Good day, This message is not a junk/spam, please do not ignore if delivered into your spam/junk. I will like to introduce you to this part-time job, It will not take much of your time. This Job has been developed in a way not to affect your present job(if you have any) nor bring you any form of stress but will only help boast your earnings. Now, with the growing number of our customers i do business with in the state i would be needing (for urgent employment) the services of a PAYMENT Dispatcher Representative in the state who would monitor and print out checks to individuals and companies that needed them. Below is a brief description of what your Job entails: 1. Receive Payment From our client's as soon as your sign up for this position 2: Receive the office equipment (CHECK PRINTING SOFTWARE, PRINTER, MICR TONER, PAPER CHECK) 3. Download them on your system and the instruction will be given to you on how to do that 4. Print checks to individuals and company from the company numerous account. 5. Put each check in the different envelope and paste FedEx or UPS label on each which will be provided to you. 6..drop off at the nearest drop off box nearest to you [FedEx or UPS] Note that you are not spending a dime on each check printed/dispatched and after the first week you will be paid $200 weekly bonus and you will be required to have a yahoo messenger id for tim to time update of payment and instructions. Hence your best payment method MUST be made known to me. If you are Interested in working with me, please reply back ASAP Name: Alivin Lichner Contact: auchiner231@hotmail.com From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 22 11:06:30 2012 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E51C232 for ; Mon, 22 Oct 2012 11:06:30 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id D08728FC14 for ; Mon, 22 Oct 2012 11:06:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9MB6TIH044263 for ; Mon, 22 Oct 2012 11:06:29 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9MB6TBZ044261 for emulation@FreeBSD.org; Mon, 22 Oct 2012 11:06:29 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Oct 2012 11:06:29 GMT Message-Id: <201210221106.q9MB6TBZ044261@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: emulation@FreeBSD.org Subject: Current problem reports assigned to emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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, 22 Oct 2012 11:06:30 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/172619 emulation [patch] www/linux-f10-flashplugin11: security update 1 problem total. From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 22 11:06:34 2012 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C726247 for ; Mon, 22 Oct 2012 11:06:34 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 39C6A8FC1A for ; Mon, 22 Oct 2012 11:06:34 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9MB6Y69044380 for ; Mon, 22 Oct 2012 11:06:34 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9MB6XDN044378 for freebsd-emulation@FreeBSD.org; Mon, 22 Oct 2012 11:06:33 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Oct 2012 11:06:33 GMT Message-Id: <201210221106.q9MB6XDN044378@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Subject: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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, 22 Oct 2012 11:06:34 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/169988 emulation [PATCH] Update sysutils/linux-procps to 3.2.7; also up o ports/169896 emulation [patch] audio/linux-f10-alsa-lib: use OSS plugin by de o kern/169814 emulation [linux] ptrace is broken in Linux emulation o kern/169805 emulation [linux] utime() syscall does not work in linuxulator o kern/159646 emulation [linux] [patch] bump Linux version in linuxulator f kern/156691 emulation [vmware] [panic] panic when using hard disks as RAW de o kern/156353 emulation [ibcs2] ibcs2 binaries that execute on 4.x not working o kern/155577 emulation [boot] BTX halted after install. Reboot during install o kern/155040 emulation [linux] [patch] Linux recvfrom doesn't handle proto fa o kern/153990 emulation [hyper-v]: Will not install into Hyper-V on Server 200 o kern/153887 emulation [linux] Linux emulator not understand STB_GNU_UNIQUE b o kern/153243 emulation [ibcs2] Seg fault whne running COFF binary using iBCS2 o kern/151714 emulation [linux] print/acroread9 not usable due to lack of supp a bin/150262 emulation [patch] truss(1) -f doesn't follow descendants of the a kern/150186 emulation [parallels] [panic] Parallels Desktop: CDROM disconnec o ports/148097 emulation [patch] suggested addition to linux_base-* packages to o ports/148096 emulation emulators/linux_base-* can not be built from ports on o kern/147793 emulation [vmware] [panic] cdrom handling, panic, possible race o kern/146237 emulation [linux] Linux binaries not reading directories mounted p kern/144584 emulation [linprocfs][patch] bogus values in linprocfs o ports/142837 emulation [patch] emulators/linux_base-* packages fails to insta o kern/140156 emulation [linux] cdparanoia fails to read drive data f kern/138944 emulation [parallels] [regression] Parallels no longer works in o kern/138880 emulation [linux] munmap segfaults after linux_mmap2 stresstest o ports/135337 emulation [PATCH] emulators/linux_base-f10: incorrect bash usage s kern/133144 emulation [linux] linuxulator 2.6 crashes with nvidias libGL.so. o kern/129169 emulation [linux] [patch] Linux Emulation ENOTCONN error using n o kern/126232 emulation [linux] Linux ioctl TCGETS (0x5401) always fails o kern/86619 emulation [linux] linux emulator interacts oddly with cp a kern/72920 emulation [linux] path "prefixing" is not done on unix domain so o kern/41543 emulation [patch] [request] easier wine/w23 support o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/36952 emulation [patch] [linux] ldd(1) command of linux does not work o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 34 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 22 21:40:14 2012 Return-Path: Delivered-To: emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EAC78CEE; Mon, 22 Oct 2012 21:40:14 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id BB1068FC1A; Mon, 22 Oct 2012 21:40:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9MLeER5098739; Mon, 22 Oct 2012 21:40:14 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9MLeEjS098735; Mon, 22 Oct 2012 21:40:14 GMT (envelope-from edwin) Date: Mon, 22 Oct 2012 21:40:14 GMT Message-Id: <201210222140.q9MLeEjS098735@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, emulation@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/172966: security/linux-f10-gnutls: remove excessive dirrm X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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, 22 Oct 2012 21:40:15 -0000 Synopsis: security/linux-f10-gnutls: remove excessive dirrm Responsible-Changed-From-To: freebsd-ports-bugs->emulation Responsible-Changed-By: edwin Responsible-Changed-When: Mon Oct 22 21:40:14 UTC 2012 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=172966 From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 22 22:00:01 2012 Return-Path: Delivered-To: emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D4EA48AA for ; Mon, 22 Oct 2012 22:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id A538C8FC08 for ; Mon, 22 Oct 2012 22:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9MM01LV099296 for ; Mon, 22 Oct 2012 22:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9MM017U099295; Mon, 22 Oct 2012 22:00:01 GMT (envelope-from gnats) Date: Mon, 22 Oct 2012 22:00:01 GMT Message-Id: <201210222200.q9MM017U099295@freefall.freebsd.org> To: emulation@FreeBSD.org From: Barbara Subject: Re: ports/172966: security/linux-f10-gnutls:A remove excessive dirrm X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Barbara List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 22:00:01 -0000 The following reply was made to PR ports/172966; it has been noted by GNATS. From: Barbara To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/172966: security/linux-f10-gnutls:A remove excessive dirrm Date: Mon, 22 Oct 2012 23:52:31 +0200 Same patch with trimmed headers http://pastebin.com/d5Ji2bDt From owner-freebsd-emulation@FreeBSD.ORG Tue Oct 23 19:06:09 2012 Return-Path: Delivered-To: emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6B4B207; Tue, 23 Oct 2012 19:06:09 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id A744E8FC1C; Tue, 23 Oct 2012 19:06:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9NJ69Zo017147; Tue, 23 Oct 2012 19:06:09 GMT (envelope-from bsam@freefall.freebsd.org) Received: (from bsam@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9NJ69cA017143; Tue, 23 Oct 2012 19:06:09 GMT (envelope-from bsam) Date: Tue, 23 Oct 2012 19:06:09 GMT Message-Id: <201210231906.q9NJ69cA017143@freefall.freebsd.org> To: barbara.xxx1975@libero.it, bsam@FreeBSD.org, emulation@FreeBSD.org From: bsam@FreeBSD.org Subject: Re: ports/172966: security/linux-f10-gnutls: remove excessive dirrm X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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, 23 Oct 2012 19:06:09 -0000 Synopsis: security/linux-f10-gnutls: remove excessive dirrm State-Changed-From-To: open->closed State-Changed-By: bsam State-Changed-When: Tue Oct 23 19:06:08 UTC 2012 State-Changed-Why: Committed, thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=172966 From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 25 19:18:01 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFAB2DB7 for ; Thu, 25 Oct 2012 19:18:01 +0000 (UTC) (envelope-from willyvmm@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id B3D688FC16 for ; Thu, 25 Oct 2012 19:18:01 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so3564833iea.13 for ; Thu, 25 Oct 2012 12:18:00 -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=rhWI1iqUdhBiaqZp+HaVFmMxUnysuW7lUxxfXbQDoH0=; b=hu+rn7vNpe1o+FCaoGJpTQdFeYnT7DNrT/5jN1Kb3som54lnTxYCzvG5Y2nmTI0cdK ETwXLggxs5WauRyidAzSk9X987tjlg87Dt+imadJVbdfjqIikZkUWwy5xMu7TDnM5+DB 8Yi+n62l5Yt66lQZjRIqsAzfIA0YrxReVM/Zox4xSKiqC/L/6RVNuH04k9onbUWC5E63 70jZXheQd5JgYQuHl9/u9PKYED56Zj/9OWsD1JeIiSkeiXlugrX55lXHeB2Jrh8WptiO OzbdxaxbL9QyXExAqDW7IRqjexYW4uAKQizstW+jfFqfVCod2ImRCtLCnXMJ/XsIMkWn Ilsw== Received: by 10.50.51.194 with SMTP id m2mr6993040igo.53.1351192680805; Thu, 25 Oct 2012 12:18:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.33.136 with HTTP; Thu, 25 Oct 2012 12:17:39 -0700 (PDT) From: Marcin Mazur Date: Thu, 25 Oct 2012 21:17:39 +0200 Message-ID: Subject: TCSBRK implementation for linux compat To: freebsd-emulation@freebsd.org Content-Type: multipart/mixed; boundary=14dae93411b3c3349204cce70fdb X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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, 25 Oct 2012 19:18:02 -0000 --14dae93411b3c3349204cce70fdb Content-Type: text/plain; charset=ISO-8859-1 Hi. I needed suport for this feature in FreeBSD linux emulation, because I have to use precompiled linux library/binary that uses it. There was a lot of errors in logs like: "... ioctl fd=52, cmd=0x5409 ('T',9) is not implemented" I could not find any help so I had to do that by myself I found implementation in NetBSD sources, and just 'translated' it to the FreeBSD There is my work: ------------------------- --- linux_ioctl.orig 2012-08-06 01:54:33.000000000 +0200 +++ linux_ioctl.c 2012-10-25 13:59:12.000000000 +0200 @@ -778,8 +778,26 @@ td)); break; - /* LINUX_TCSBRK */ - + case LINUX_TCSBRK: + if (args->arg) + { + args->cmd = TIOCDRAIN; + error = (sys_ioctl(td, (struct ioctl_args *)args)); + break; + } + else + { + if ((error = fo_ioctl(fp, TIOCSBRK, NULL, td->td_ucred,td)) != 0) + break; + error = tsleep(&args->arg, PZERO | PCATCH, "linux_tcsbrk", hz / 4); + if (error == EINTR || error == ERESTART) { + fo_ioctl(fp, TIOCCBRK, NULL, td->td_ucred, td); + error = EINTR; + } else + error = fo_ioctl (fp, TIOCCBRK, NULL, td->td_ucred, td); + break; + } + case LINUX_TCXONC: { switch (args->arg) { case LINUX_TCOOFF: -------------------- Could someone have a look at this if the code is correct? Sorry but I do not have kernel developing experience and this is my first patch I'm testing this patch for over 20 hours now and it seems to work well. No errors, load average dropped from 2.5 to 0.5 Please CC me, I'am not on the list. And sorry for my bad english... --14dae93411b3c3349204cce70fdb Content-Type: application/octet-stream; name="TCSBRK.patch" Content-Disposition: attachment; filename="TCSBRK.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h8q95mg10 LS0tIGxpbnV4X2lvY3RsLm9yaWcgICAgMjAxMi0wOC0wNiAwMTo1NDozMy4wMDAwMDAwMDAgKzAy MDANCisrKyBsaW51eF9pb2N0bC5jICAgICAgIDIwMTItMTAtMjUgMTM6NTk6MTIuMDAwMDAwMDAw ICswMjAwDQpAQCAtNzc4LDggKzc3OCwyNiBAQA0KICAgICAgICAgICAgICAgICAgICB0ZCkpOw0K ICAgICAgICAgICAgICAgIGJyZWFrOw0KDQotICAgICAgIC8qIExJTlVYX1RDU0JSSyAqLw0KLQ0K KyAgICAgICBjYXNlIExJTlVYX1RDU0JSSzoNCisgICAgICAgICAgICAgICBpZiAoYXJncy0+YXJn KQ0KKyAgICAgICAgICAgICAgICAgICB7DQorICAgICAgICAgICAgICAgICAgICAgICBhcmdzLT5j bWQgPSBUSU9DRFJBSU47DQorICAgICAgICAgICAgICAgICAgICAgICBlcnJvciA9IChzeXNfaW9j dGwodGQsIChzdHJ1Y3QgaW9jdGxfYXJncyAqKWFyZ3MpKTsNCisgICAgICAgICAgICAgICAgICAg ICAgIGJyZWFrOw0KKyAgICAgICAgICAgICAgICAgICB9DQorICAgICAgICAgICAgICAgZWxzZQ0K KyAgICAgICAgICAgICAgICAgICB7DQorICAgICAgICAgICAgICAgICAgICAgICBpZiAoKGVycm9y ID0gZm9faW9jdGwoZnAsIFRJT0NTQlJLLCBOVUxMLCB0ZC0+dGRfdWNyZWQsIHRkKSkgIT0gMCkN CisgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhazsNCisgICAgICAgICAgICAgICAgICAg ICAgIGVycm9yID0gdHNsZWVwKCZhcmdzLT5hcmcsIFBaRVJPIHwgUENBVENILCAibGludXhfdGNz YnJrIiwgaHogLyA0KTsNCisgICAgICAgICAgICAgICAgICAgICAgIGlmIChlcnJvciA9PSBFSU5U UiB8fCBlcnJvciA9PSBFUkVTVEFSVCkgew0KKyAgICAgICAgICAgICAgICAgICAgICAgICAgIGZv X2lvY3RsKGZwLCBUSU9DQ0JSSywgTlVMTCwgdGQtPnRkX3VjcmVkLCB0ZCk7DQorICAgICAgICAg ICAgICAgICAgICAgICAgICAgZXJyb3IgPSBFSU5UUjsNCisgICAgICAgICAgICAgICAgICAgICAg IH0gZWxzZQ0KKyAgICAgICAgICAgICAgICAgICAgICAgICAgIGVycm9yID0gZm9faW9jdGwgKGZw LCBUSU9DQ0JSSywgTlVMTCwgdGQtPnRkX3VjcmVkLCB0ZCk7DQorICAgICAgICAgICAgICAgICAg ICAgICBicmVhazsNCisgICAgICAgICAgICAgICAgICAgfQ0KKw0KICAgICAgICBjYXNlIExJTlVY X1RDWE9OQzogew0KICAgICAgICAgICAgICAgIHN3aXRjaCAoYXJncy0+YXJnKSB7DQogICAgICAg ICAgICAgICAgY2FzZSBMSU5VWF9UQ09PRkY6DQo= --14dae93411b3c3349204cce70fdb-- From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 26 05:05:21 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3CDD260 for ; Fri, 26 Oct 2012 05:05:21 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 336AC8FC08 for ; Fri, 26 Oct 2012 05:05:20 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q9Q55Ti2057853; Fri, 26 Oct 2012 08:05:29 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q9Q55Hx4046385; Fri, 26 Oct 2012 08:05:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q9Q55HvU046384; Fri, 26 Oct 2012 08:05:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 26 Oct 2012 08:05:17 +0300 From: Konstantin Belousov To: Marcin Mazur Subject: Re: TCSBRK implementation for linux compat Message-ID: <20121026050517.GM35915@deviant.kiev.zoral.com.ua> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0Oyvl1jN+EoPbLMC" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-emulation@freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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, 26 Oct 2012 05:05:21 -0000 --0Oyvl1jN+EoPbLMC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 25, 2012 at 09:17:39PM +0200, Marcin Mazur wrote: > Hi. >=20 > I needed suport for this feature in FreeBSD linux emulation, because I > have to use precompiled linux library/binary that uses it. There was a > lot of errors in logs like: >=20 >=20 > "... ioctl fd=3D52, cmd=3D0x5409 ('T',9) is not implemented" >=20 > I could not find any help so I had to do that by myself >=20 > I found implementation in NetBSD sources, and just 'translated' it to > the FreeBSD >=20 > There is my work: >=20 > ------------------------- > --- linux_ioctl.orig 2012-08-06 01:54:33.000000000 +0200 > +++ linux_ioctl.c 2012-10-25 13:59:12.000000000 +0200 > @@ -778,8 +778,26 @@ > td)); > break; >=20 > - /* LINUX_TCSBRK */ > - > + case LINUX_TCSBRK: > + if (args->arg) > + { > + args->cmd =3D TIOCDRAIN; > + error =3D (sys_ioctl(td, (struct ioctl_args *)arg= s)); > + break; > + } > + else > + { > + if ((error =3D fo_ioctl(fp, TIOCSBRK, NULL, > td->td_ucred,td)) !=3D 0) > + break; > + error =3D tsleep(&args->arg, PZERO | PCATCH, > "linux_tcsbrk", hz / 4); > + if (error =3D=3D EINTR || error =3D=3D ERESTART) { > + fo_ioctl(fp, TIOCCBRK, NULL, td->td_ucred, td= ); > + error =3D EINTR; > + } else > + error =3D fo_ioctl (fp, TIOCCBRK, NULL, > td->td_ucred, td); > + break; > + } > + > case LINUX_TCXONC: { > switch (args->arg) { > case LINUX_TCOOFF: > -------------------- > Could someone have a look at this if the code is correct? > Sorry but I do not have kernel developing experience and this is my first= patch > I'm testing this patch for over 20 hours now and it seems to work > well. No errors, load average dropped from 2.5 to 0.5 > Please CC me, I'am not on the list. > And sorry for my bad english... This looks good, below is the commit candidate. I did small changes according to style and my taste. The biggest is the removal of PZERO =66rom tsleep flags, which is actually shall not be used, since it changes the thread priority (instead of usual assumption that the value is to preserve the current priority). diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 0a9cd27..5ebf7ed 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -699,7 +699,7 @@ linux_ioctl_termio(struct thread *td, struct linux_ioct= l_args *args) struct linux_termios lios; struct linux_termio lio; struct file *fp; - int error; + int error, error1; =20 if ((error =3D fget(td, args->fd, CAP_IOCTL, &fp)) !=3D 0) return (error); @@ -778,7 +778,27 @@ linux_ioctl_termio(struct thread *td, struct linux_ioc= tl_args *args) td)); break; =20 - /* LINUX_TCSBRK */ + case LINUX_TCSBRK: + /* + * Non-zero argument is interpreted as the request to + * perform tcdrain(). + * Zero argument means tcsendbreak(). + */ + if (args->arg !=3D 0) + error =3D fo_ioctl(fp, TIOCDRAIN, NULL, td->td_ucred, td); + else { + error =3D fo_ioctl(fp, TIOCSBRK, NULL, td->td_ucred, td); + if (error !=3D 0) + break; + error =3D tsleep(&args->arg, PCATCH, "linux_tcsbrk", + hz / 4); + error1 =3D fo_ioctl(fp, TIOCCBRK, NULL, td->td_ucred, td); + if (error =3D=3D EINTR || error =3D=3D ERESTART) + error =3D EINTR; + else + error =3D error1; + } + break; =20 case LINUX_TCXONC: { switch (args->arg) { --0Oyvl1jN+EoPbLMC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlCKGgkACgkQC3+MBN1Mb4j6GACdEEvt9MHDvo746/pMnalJFPik f+8AnRimt1agGAy1m/+VeVDjhe9IJZ7n =izFK -----END PGP SIGNATURE----- --0Oyvl1jN+EoPbLMC--