From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 10 05:32:23 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE123106564A for ; Sun, 10 Apr 2011 05:32:23 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 6F4F58FC08 for ; Sun, 10 Apr 2011 05:32:23 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p3A4jnYO084127 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 9 Apr 2011 21:45:53 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <4DA13620.7060407@freebsd.org> Date: Sat, 09 Apr 2011 21:46:24 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Chris Richardson References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: Kernel Tracking Question.. regarding kernel and boot files X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 05:32:23 -0000 On 4/9/11 2:51 PM, Chris Richardson wrote: > On Sat, Apr 9, 2011 at 10:34 PM, Chuck Swiger wrote: > >> Hi, Chris-- >> >> [ ...Reply-to: set to direct towards the most appropriate list... ] >> >> On Apr 9, 2011, at 8:31 AM, Chris Richardson wrote: >>> I am totally new to FreeBSD. I was involved within project which will >>> trace the kernel. I used ktrace but I could not get appropriate results >>> about the files being opened. I don't see any of the boot files boot0-1 >> or 2 >>> in the ktrace.out file. Where did they go? >> The bootstrap loader stages are what loads and runs the kernel. >> ktrace isn't available until afterwards, when the kernel is running. >> >>> Is ktrace the best "trace suite" for freebsd kernel? >> Kinda depends on what you are doing. Setting up good logging and making >> userland >> interfaces for getting to useful information (cf vmstat, ps, iostat, etc) >> is >> more likely to be useful over the longer run. >> >> > What about if I wanna see the interaction between boot process and kernel > loading. either you run it under an emulator that allows you to single step it. or you just add a lot of printf() to the boot loader. (some parts are required to fit in small code sizes to adding prints will cause overflow..) best to read the docs and then the sources. then it wil become apparent to you what you want to find out. > >>> What about going through source code .. Is it better to >>> use Combination of Ecllipse/Qemu and FreeBSD Source tree? >> Eclipse is an editor. If you like it in particular, free free to use it, >> otherwise pick something else you'd prefer to use for C code. >> >>> Does this method will provide us with someway to see how booting process >> invokes >>> the kernel to memory ? Any help will be appreciated. >> You're asking about the process here: >> >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html >> >> ...? Frankly, none of these are especially big, start by reviewing the >> source >> code for 'em. >> >> > Yeah. this file provides me with the stages in theoretical way. How about > implementing it using qemu to emulate livecd to see what is going on boot0. > Do you have an idea about that ? > > Good Luck, > > >> Regards, >> -- >> -Chuck >> >> >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 10 07:15:34 2011 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 008E31065670; Sun, 10 Apr 2011 07:15:33 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D13FB8FC16; Sun, 10 Apr 2011 07:15:32 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA03366; Sun, 10 Apr 2011 10:15:29 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Q8orp-000Npb-7Z; Sun, 10 Apr 2011 10:15:29 +0300 Message-ID: <4DA15910.4070600@FreeBSD.org> Date: Sun, 10 Apr 2011 10:15:28 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110308 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Chris Richardson References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: Kernel Tracking Question.. regarding kernel and boot files X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 07:15:34 -0000 on 10/04/2011 00:51 Chris Richardson said the following: > Yeah. this file provides me with the stages in theoretical way. How about > implementing it using qemu to emulate livecd to see what is going on boot0. > Do you have an idea about that ? Yes, that's perfectly possible. You have to be familiar with assembly and know basic behavior of BIOS booting (supposing we talk about x86) and FreeBSD boot blocks, e.g. what is loaded at what address. Here's an example of something related: http://lists.freebsd.org/pipermail/freebsd-fs/2010-May/008580.html -- Andriy Gapon From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 10 07:49:49 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9809106564A; Sun, 10 Apr 2011 07:49:49 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 8CB298FC1A; Sun, 10 Apr 2011 07:49:49 +0000 (UTC) Received: from sbhfislrext01.fnfis.com ([192.168.249.167]) by SCSFISLTC02 (8.14.3/8.14.3) with ESMTP id p3A7SnvB023344; Sun, 10 Apr 2011 02:28:49 -0500 Received: from SBHFISLTCGW04.FNFIS.COM (Not Verified[10.132.248.123]) by sbhfislrext01.fnfis.com with MailMarshal (v6, 5, 4, 7535) id ; Sun, 10 Apr 2011 02:29:00 -0500 Received: from SBHFISLTCGW04.FNFIS.COM ([10.132.248.123]) by SBHFISLTCGW04.FNFIS.COM with Microsoft SMTPSVC(6.0.3790.4675); Sun, 10 Apr 2011 02:28:49 -0500 Received: from [127.0.0.1] ([10.132.254.135]) by SBHFISLTCGW04.FNFIS.COM over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 10 Apr 2011 02:28:48 -0500 References: <4DA13620.7060407@freebsd.org> In-Reply-To: <4DA13620.7060407@freebsd.org> Mime-Version: 1.0 (iPad Mail 8G4) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPad Mail (8G4) From: Devin Teske Date: Sun, 10 Apr 2011 00:28:51 -0700 To: Julian Elischer X-OriginalArrivalTime: 10 Apr 2011 07:28:48.0742 (UTC) FILETIME=[EEE1F060:01CBF750] Cc: "freebsd-hackers@freebsd.org" , "freebsd-current@freebsd.org" , "freebsd-emulation@freebsd.org" Subject: Re: Kernel Tracking Question.. regarding kernel and boot files X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 07:49:49 -0000 On Apr 9, 2011, at 9:46 PM, Julian Elischer wrote: > On 4/9/11 2:51 PM, Chris Richardson wrote: >> On Sat, Apr 9, 2011 at 10:34 PM, Chuck Swiger wrote: >>=20 >>> Hi, Chris-- >>>=20 >>> [ ...Reply-to: set to direct towards the most appropriate list... ] >>>=20 >>> On Apr 9, 2011, at 8:31 AM, Chris Richardson wrote: >>>> I am totally new to FreeBSD. I was involved within project which will >>>> trace the kernel. I used ktrace but I could not get appropriate results >>>> about the files being opened. I don't see any of the boot files boot0-1 >>> or 2 >>>> in the ktrace.out file. Where did they go? >>> The bootstrap loader stages are what loads and runs the kernel. >>> ktrace isn't available until afterwards, when the kernel is running. >>>=20 >>>> Is ktrace the best "trace suite" for freebsd kernel? >>> Kinda depends on what you are doing. Setting up good logging and making >>> userland >>> interfaces for getting to useful information (cf vmstat, ps, iostat, et= c) >>> is >>> more likely to be useful over the longer run. >>>=20 >>>=20 >> What about if I wanna see the interaction between boot process and kernel >> loading. >=20 > either you run it under an emulator that allows you to single step it. > or you just add a lot of printf() to the boot loader. > (some parts are required to fit in small code sizes to adding prints will= cause overflow..) > best to read the docs and then the sources. then it wil become apparent t= o you > what you want to find out. You also have the option of writing Forth modules for the boot-loader. Even= dropping to the "ok" prompt is enough to give you full access to the built= -in Forth interpreter. You can query the variables that are set in the "env= ironment" (which are different depending whether you've booted via pxeboot,= cdboot, or other method). You can even do some limited device poking and f= ile-io (both read and write). The benefit of the forth modules is that you can use it to produce the nece= ssary debug output whilst avoiding the overflow issue. That is to say, that= one technique I've used is to add code to the loader to export some string= or value of interest to a variable in the environment that I would then ad= d something like 'echo "debug =3D=3D $debug"' to loader.rc. Keeps the loade= r small and the human fluff off to the interpreter. >=20 >>=20 >>>> What about going through source code .. Is it better to >>>> use Combination of Ecllipse/Qemu and FreeBSD Source tree? >>> Eclipse is an editor. If you like it in particular, free free to use i= t, >>> otherwise pick something else you'd prefer to use for C code. I use a combination of vim (as my editor) and CVSweb (URL is in the handboo= k) for historical research as necessary. Just my "tuppence." --=20 Devin >>>=20 >>>> Does this method will provide us with someway to see how booting proce= ss >>> invokes >>>> the kernel to memory ? Any help will be appreciated. >>> You're asking about the process here: >>>=20 >>>=20 >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.h= tml >>>=20 >>> ...? Frankly, none of these are especially big, start by reviewing the >>> source >>> code for 'em. >>>=20 >>>=20 >> Yeah. this file provides me with the stages in theoretical way. How about >> implementing it using qemu to emulate livecd to see what is going on boo= t0. >> Do you have an idea about that ? >>=20 >> Good Luck, >>=20 >>=20 >>> Regards, >>> -- >>> -Chuck >>>=20 >>>=20 >>>=20 >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or= g" >>=20 >=20 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. _____________ From owner-freebsd-emulation@FreeBSD.ORG Mon Apr 11 08:41:42 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6ACA106564A for ; Mon, 11 Apr 2011 08:41:42 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id 43FAF8FC08 for ; Mon, 11 Apr 2011 08:41:42 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 08150D; Mon, 11 Apr 2011 10:41:48 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Mon, 11 Apr 2011 10:41:41 +0200 From: Bernhard Froehlich To: Tobias Oberstein In-Reply-To: <634914A010D0B943A035D226786325D422B7561FFC@EXVMBX020-12.exch020.serverdata.net> References: <634914A010D0B943A035D226786325D422B64120E5@EXVMBX020-12.exch020.serverdata.net> <977389f91bc1fbdb0c9a85db243e210c@bluelife.at> <634914A010D0B943A035D226786325D422B7561FFC@EXVMBX020-12.exch020.serverdata.net> Message-ID: <7a647eab76b73fd68df8153eaaf9104a@bluelife.at> X-Sender: decke@bluelife.at User-Agent: Roundcube Webmail/0.5.1 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0204.4DA2BEC5.009F,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: freebsd-emulation@freebsd.org Subject: Re: AW: VBox 4.0.4 testing : keyboard layout issue X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 08:41:42 -0000 On Sat, 9 Apr 2011 06:10:46 -0700, Tobias Oberstein wrote: > Hello Bernhard, > >> No it should just work but I admit that i haven't tested it for quite a few >> months. Does it work fine in virtualbox 3.2.x ? Probably it's some upstream > > I did not test it with 3.x, because we need 4.x .. > >> bug because they changed quite a lot in that area and it's contributed code. >> > > ok. I see. > > Would you have time / be willing to accept a small sponsorship to fix > the issue - regardless if it's upstream or a port issue? If so, send > me a private mail .. would be cool;) Sorry that won't help here at the moment. It would be better to find out if it is a client issue or a client configuration issue. If you are sure that you can reproduce the problem with different clients we can go on checking if it is a 4.0 regression or FreeBSD specific. It is a bit complicated to create a bugreport without that information and if it is FreeBSD specific we cannot create a bugreport at all so we need to find out first. -- Bernhard Fröhlich http://www.bluelife.at/ From owner-freebsd-emulation@FreeBSD.ORG Mon Apr 11 08:47:32 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B3E1106564A for ; Mon, 11 Apr 2011 08:47:32 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id 37E248FC15 for ; Mon, 11 Apr 2011 08:47:31 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 19D4A2; Mon, 11 Apr 2011 10:47:37 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Mon, 11 Apr 2011 10:47:31 +0200 From: Bernhard Froehlich To: Mario Lobo In-Reply-To: <201104091334.43547.lobo@bsd.com.br> References: <20110409155640.CB5B81CC0D@ptavv.es.net> <201104091334.43547.lobo@bsd.com.br> Message-ID: <1725a888e4a644aed3e6ffb0845185e1@bluelife.at> X-Sender: decke@bluelife.at User-Agent: Roundcube Webmail/0.5.1 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0207.4DA2C022.0285,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: freebsd-emulation@freebsd.org Subject: Re: AW: VBox 4.0.4 testing : keyboard layout issue X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 08:47:32 -0000 On Sat, 9 Apr 2011 13:34:43 -0300, Mario Lobo wrote: > On Saturday 09 April 2011 12:56:40 Kevin Oberman wrote: >> > From: Tobias Oberstein >> > Date: Sat, 9 Apr 2011 06:10:46 -0700 >> > Sender: owner-freebsd-emulation@freebsd.org >> > >> > Hello Bernhard, >> > >> > > No it should just work but I admit that i haven't tested it for quite a >> > > few months. Does it work fine in virtualbox 3.2.x ? Probably it's some >> > > upstream >> > >> > I did not test it with 3.x, because we need 4.x .. >> > >> > > bug because they changed quite a lot in that area and it's contributed >> > > code. >> > >> > ok. I see. >> > >> > Would you have time / be willing to accept a small sponsorship to fix >> > the issue - regardless if it's upstream or a port issue? If so, send >> > me a private mail .. would be cool;) >> >> I am not at all comfortable with 4.0.4 on the up-stream side. I have it >> installed on my personal Windows7 system (previously running 3.2.12 with >> an Ubuntu client and I a seeing the keyboard lock-ups there. >> >> I ma also having LOT of crashes of the VM. I just get a Win7 popup >> telling my that the VM has unexpectedly exited and do I want to report >> it to Microsoft. After the stability of the v3 B, this is very >> disappointing. >> >> I'll admit to being very nervous about 4.0.4. > > Man, besides a few resolved problems with previous nvidia drivers and vbox > 3.x, I am yet to see issues on VBox and FBSD amd64 host! It's great if it works for you but fact is that 4.0.4 has some regressions that make it unstable for a lot of users. Some of the problems seem to be FreeBSD specific but it does also not look great on other platforms. From what i've seen they are currently fixing lots of bugs upstream so I expect that the situation improves a lot with 4.0.6. See the Buglist on the bottom: http://wiki.freebsd.org/VirtualBox/ToDo -- Bernhard Fröhlich http://www.bluelife.at/ From owner-freebsd-emulation@FreeBSD.ORG Mon Apr 11 11:06:59 2011 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAE741065670 for ; Mon, 11 Apr 2011 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7FD218FC26 for ; Mon, 11 Apr 2011 11:06:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BB6xnq025851 for ; Mon, 11 Apr 2011 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BB6wC9025849 for freebsd-emulation@FreeBSD.org; Mon, 11 Apr 2011 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Apr 2011 11:06:58 GMT Message-Id: <201104111106.p3BB6wC9025849@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:06:59 -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 kern/155577 emulation [boot] BTX halted after install. Reboot during install o kern/155238 emulation 20 minute time jumps in VirtualBox 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 ports/151714 emulation print/acroread9 not usable due to lack of support in t 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 f kern/144763 emulation [linux] [panic] Kernel panic when start linux binaries 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 s ports/136321 emulation x11-toolkits/linux-pango: please update linux based po 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 s 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/21463 emulation [linux] Linux compatability mode should not allow setu o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 31 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Apr 11 18:34:49 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55B771065670; Mon, 11 Apr 2011 18:34:49 +0000 (UTC) (envelope-from eng.mufic@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 143B88FC15; Mon, 11 Apr 2011 18:34:48 +0000 (UTC) Received: by pvg11 with SMTP id 11so2800800pvg.13 for ; Mon, 11 Apr 2011 11:34:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=yj7OxTifM7Iso8t5iG69RTFyZz/hxRn/cFpLKqfGW4Y=; b=rxdosvUbXB1mt1trWP/ct/BEzvsXhWgsLNpBrsv/4myHxHxMWkWiOImot0F7MOIau7 vmqGUL9vpabGQ0np7zoupSIPA72JX3OAuXHZEUwnGp9zJpoWL3XgJum4tT6UHkUe0XuS 5nYAXeEQfdluGYtwgZDfT9E/PcFSJhIx1xKTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=pYCVzm67ZKN10/4qjO8FqezmHQiiIZyPYh1WvJ7NHBeJND3mZ9RXSm0kuQgOhCgK6m Nc3f4rG4yg/LqWFuwAHIAMrcXVgoQsy9itFzRV6noD5rBiWkaBKhSCT9agiXxSFA++Kf mPKUpytWmsGv/jPiM7JIiPn8aZQ3sYNfGKDUQ= MIME-Version: 1.0 Received: by 10.142.150.32 with SMTP id x32mr5646118wfd.287.1302545300458; Mon, 11 Apr 2011 11:08:20 -0700 (PDT) Sender: eng.mufic@gmail.com Received: by 10.68.65.200 with HTTP; Mon, 11 Apr 2011 11:08:20 -0700 (PDT) In-Reply-To: References: <4DA13620.7060407@freebsd.org> Date: Mon, 11 Apr 2011 20:08:20 +0200 X-Google-Sender-Auth: MP6NfP0IpqboLpRddkefuhVOdGs Message-ID: From: Mohammed Farrag To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-hackers@freebsd.org" , "freebsd-current@freebsd.org" , Julian Elischer , "freebsd-emulation@freebsd.org" Subject: Re: Kernel Tracking Question.. regarding kernel and boot files X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 18:34:49 -0000 Hey All, Please check this. Check this to use Eclipse/Qemu for Kernel Debugging. http://issaris.blogspot.com/2007/12/download-linux-kernel-sourcecode-from.html It was designed to debug linux kernel. Regards, Mohammed On Sun, Apr 10, 2011 at 9:28 AM, Devin Teske wrote: > On Apr 9, 2011, at 9:46 PM, Julian Elischer wrote: > > > On 4/9/11 2:51 PM, Chris Richardson wrote: > >> On Sat, Apr 9, 2011 at 10:34 PM, Chuck Swiger wrote: > >> > >>> Hi, Chris-- > >>> > >>> [ ...Reply-to: set to direct towards the most appropriate list... ] > >>> > >>> On Apr 9, 2011, at 8:31 AM, Chris Richardson wrote: > >>>> I am totally new to FreeBSD. I was involved within project which > will > >>>> trace the kernel. I used ktrace but I could not get appropriate > results > >>>> about the files being opened. I don't see any of the boot files > boot0-1 > >>> or 2 > >>>> in the ktrace.out file. Where did they go? > >>> The bootstrap loader stages are what loads and runs the kernel. > >>> ktrace isn't available until afterwards, when the kernel is running. > >>> > >>>> Is ktrace the best "trace suite" for freebsd kernel? > >>> Kinda depends on what you are doing. Setting up good logging and > making > >>> userland > >>> interfaces for getting to useful information (cf vmstat, ps, iostat, > etc) > >>> is > >>> more likely to be useful over the longer run. > >>> > >>> > >> What about if I wanna see the interaction between boot process and > kernel > >> loading. > > > > either you run it under an emulator that allows you to single step it. > > or you just add a lot of printf() to the boot loader. > > (some parts are required to fit in small code sizes to adding prints will > cause overflow..) > > best to read the docs and then the sources. then it wil become apparent > to you > > what you want to find out. > > You also have the option of writing Forth modules for the boot-loader. Even > dropping to the "ok" prompt is enough to give you full access to the > built-in Forth interpreter. You can query the variables that are set in the > "environment" (which are different depending whether you've booted via > pxeboot, cdboot, or other method). You can even do some limited device > poking and file-io (both read and write). > > The benefit of the forth modules is that you can use it to produce the > necessary debug output whilst avoiding the overflow issue. That is to say, > that one technique I've used is to add code to the loader to export some > string or value of interest to a variable in the environment that I would > then add something like 'echo "debug == $debug"' to loader.rc. Keeps the > loader small and the human fluff off to the interpreter. > > > > >> > >>>> What about going through source code .. Is it better to > >>>> use Combination of Ecllipse/Qemu and FreeBSD Source tree? > >>> Eclipse is an editor. If you like it in particular, free free to use > it, > >>> otherwise pick something else you'd prefer to use for C code. > > I use a combination of vim (as my editor) and CVSweb (URL is in the > handbook) for historical research as necessary. > > Just my "tuppence." > -- > Devin > > >>> > >>>> Does this method will provide us with someway to see how booting > process > >>> invokes > >>>> the kernel to memory ? Any help will be appreciated. > >>> You're asking about the process here: > >>> > >>> > >>> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html > >>> > >>> ...? Frankly, none of these are especially big, start by reviewing the > >>> source > >>> code for 'em. > >>> > >>> > >> Yeah. this file provides me with the stages in theoretical way. How > about > >> implementing it using qemu to emulate livecd to see what is going on > boot0. > >> Do you have an idea about that ? > >> > >> Good Luck, > >> > >> > >>> Regards, > >>> -- > >>> -Chuck > >>> > >>> > >>> > >> _______________________________________________ > >> freebsd-current@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-current > >> To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > >> > > > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to " > freebsd-hackers-unsubscribe@freebsd.org" > > _____________ > > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete the > message and all copies; (ii) do not disclose, distribute or use the message > in any manner; and (iii) notify the sender immediately. In addition, please > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > _____________ > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > -- *Mohammed Farrag* *FreeBSD Contributor* From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 12 17:42:26 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63A97106564A for ; Tue, 12 Apr 2011 17:42:26 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id E27228FC1E for ; Tue, 12 Apr 2011 17:42:25 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 31F501E00230; Tue, 12 Apr 2011 19:24:20 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p3CHMSKJ046707; Tue, 12 Apr 2011 19:22:28 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p3CHMRM0046706; Tue, 12 Apr 2011 19:22:27 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 12 Apr 2011 19:22:27 +0200 To: multimedia@FreeBSD.org, emulation@FreeBSD.org Message-ID: <20110412172227.GA45105@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: netchild@FreeBSD.org, olli@FreeBSD.org, avg@FreeBSD.org, hselasky@FreeBSD.org Subject: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 17:42:26 -0000 Hi! After Olli successfully tested the version for 8 with a Logitech C210 camera and the versions of skype and webcamd in ports [1] I guess it's time to post the patches in public: http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-8-test.patch (for 8) http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch (for head, untested) These also contain my previously posted Linuxolator dvb patches that I still need to turn into a seperate kld because I got no response from the Linux guy wrt the header file license (the Linux dvb headers are lgpl2), so atm they are only for testing. Note: At least the version of skype in ports still won't work with all cameras supported by webcamd because skype wants yuv 4:2:0 pixel format and some webcams only support jpeg (like a gspca zc3xx one I dug up here), maybe the newer skype version that Andriy got working, http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-February/011696.html will have support for such cameras, or if not maybe a solution like this Linux post linked, http://lists.mandriva.com/bugs/2009-03/msg03382.php could be ported (unfortunately the main posting, http://forum.mandriva.com/viewtopic.php?t=100986 is in french); gstfakevideo that he used seems to be here: https://code.google.com/p/gstfakevideo/source/checkout I'll leave porting that to others as I don't really use skype myself here, I just thought I could add some v4l2 support to my Linuxolator patches. :) Enjoy! Juergen [1] He didn't get the cam's internal mic working yet but that of course has nothing to do with my Linuxolator patches. (see other thread.) From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 12 19:15:41 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9B1C106566C for ; Tue, 12 Apr 2011 19:15:41 +0000 (UTC) (envelope-from tobias.oberstein@tavendo.de) Received: from EXHUB020-1.exch020.serverdata.net (exhub020-1.exch020.serverdata.net [206.225.164.28]) by mx1.freebsd.org (Postfix) with ESMTP id 6C7198FC0C for ; Tue, 12 Apr 2011 19:15:40 +0000 (UTC) Received: from EXVMBX020-12.exch020.serverdata.net ([169.254.3.111]) by EXHUB020-1.exch020.serverdata.net ([206.225.164.28]) with mapi; Tue, 12 Apr 2011 12:15:01 -0700 From: Tobias Oberstein To: "freebsd-emulation@freebsd.org" Date: Tue, 12 Apr 2011 12:15:37 -0700 Thread-Topic: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf Thread-Index: Acv5Q7czafX+Kwl7QwWlIYOzgsH65w== Message-ID: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: multipart/mixed; boundary="_002_634914A010D0B943A035D226786325D422B76F91CAEXVMBX02012ex_" MIME-Version: 1.0 Subject: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 19:15:41 -0000 --_002_634914A010D0B943A035D226786325D422B76F91CAEXVMBX02012ex_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I wanted to configure multiple VirtualBox VMs to startup automatically at b= oot time and generally be a nice citizen to the FreeBSD way of starting up = stuff. Using that rc.d script (see attached) you can configure starting up multipl= e VirtualBox VMs from /etc/rc.conf: ## VirtualBox VMs vboxvm_enable=3D"YES" vboxvm_machines=3D"vm1 vm2" ## VM1 vboxvm_vm1_enable=3D"YES" vboxvm_vm1_name=3D"vm1" vboxvm_vm1_user=3D"vbox_vm1" vboxvm_vm1_log=3D"vboxvm.log" vboxvm_vm1_vncport=3D"5901" vboxvm_vm1_vncpassword=3D"secret1" ## VM2 vboxvm_vm2_enable=3D"YES" vboxvm_vm2_name=3D"vm2" vboxvm_vm2_user=3D"vbox_vm2" vboxvm_vm2_log=3D"vboxvm.log" vboxvm_vm2_vncport=3D"5902" vboxvm_vm2_vncpassword=3D"secret2" =3D=3D The script must be put to /usr/local/etc/rc.d/vboxvm and understands three commands: start, stop and status. You can use it on all VMs configured (and enabled) $ /usr/local/etc/rc.d/vboxvm status VBox machine 'vm1' is running. VBox machine 'vm2' is running. or on a specific VM $ /usr/local/etc/rc.d/vboxvm stop vm1 =3D=3D The parameters: vboxvm__enable =3D> mandatory : enable/disable the VM vboxvm__name =3D> mandatory : VirtualBox name of the VM vboxvm__user =3D> mandatory : the Unix user under which the VM will be run (using VBoxHe= adless) vboxvm__log =3D> optional : log file when VBoxHeadless runs the VM vboxvm__vncport =3D> optional : when given, VBoxHeadless with active VNC server embedded vboxvm__vncpassword =3D> optional : when VNC is active, a password =3D=3D bugs/limits: 1) the restart/rcvar commands do now work 2) when the system shuts down, it doesnt wait for "stop" to finish graceful= shutdown of VMs I'm new to writing rc.d on FreeBSD, so if someone knows how to fix those, I= 'd be interested. =3D=3D credits: the script skeleton was shamelessly stolen from /usr/local/etc/rc.= d/apache22 ;) cheers, Tobias --_002_634914A010D0B943A035D226786325D422B76F91CAEXVMBX02012ex_ Content-Type: text/plain; name="vboxvm.txt" Content-Description: vboxvm.txt Content-Disposition: attachment; filename="vboxvm.txt"; size=2999; creation-date="Tue, 12 Apr 2011 11:51:34 GMT"; modification-date="Tue, 12 Apr 2011 11:51:34 GMT" Content-Transfer-Encoding: base64 IyEvYmluL3NoCgojIFBST1ZJREU6IHZib3h2bQojIFJFUVVJUkU6IExPR0lOCiMgS0VZV09SRDog c2h1dGRvd24KCi4gL2V0Yy9yYy5zdWJyCgpuYW1lPSJ2Ym94dm0iCnJjdmFyPWBzZXRfcmN2YXJg Cgpsb2FkX3JjX2NvbmZpZyAkbmFtZQoKaWYgWyAtbiAiJDIiIF07IHRoZW4KCW1hY2hpbmU9IiQy IgoJaWYgWyAieCR7dmJveHZtX21hY2hpbmVzfSIgIT0gIngiIF07IHRoZW4KCQlldmFsIHZib3h2 bV9uYW1lPSJcJHt2Ym94dm1fJHttYWNoaW5lfV9uYW1lOi19IgoJCWlmIFsgIngke3Zib3h2bV9u YW1lfSIgPSAieCIgXTsgdGhlbgoJCQllY2hvICJZb3UgbXVzdCBkZWZpbmUgYSBWTSBuYW1lICh2 Ym94dm1fJHttYWNoaW5lfV9uYW1lKSIKCQkJZXhpdCAxCgkJZmkKCQlldmFsIHZib3h2bV91c2Vy PSJcJHt2Ym94dm1fJHttYWNoaW5lfV91c2VyOi19IgoJCWlmIFsgIngke3Zib3h2bV91c2VyfSIg PSAieCIgXTsgdGhlbgoJCQllY2hvICJZb3UgbXVzdCBkZWZpbmUgYSBWTSBleGVjdXRpb24gdXNl ciAodmJveHZtXyR7bWFjaGluZX1fdXNlcikiCgkJCWV4aXQgMQoJCWZpCgkJZXZhbCB2Ym94dm1f bG9nPSJcJHt2Ym94dm1fJHttYWNoaW5lfV9sb2c6LSR7dmJveHZtX25hbWV9LmxvZ30iCgkJZXZh bCB2Ym94dm1fdm5jcG9ydD0iXCR7dmJveHZtXyR7bWFjaGluZX1fdm5jcG9ydDotfSIKCQlldmFs IHZib3h2bV92bmNwYXNzd29yZD0iXCR7dmJveHZtXyR7bWFjaGluZX1fdm5jcGFzc3dvcmQ6LX0i CgkJaWYgWyAieCR7dmJveHZtX3ZuY3BvcnR9IiA9ICJ4IiAtYSAieCR7dmJveHZtX3ZuY3Bhc3N3 b3JkfSIgIT0gIngiIF07IHRoZW4KCQkJZWNobyAiV2FybmluZzogVk5DIHBhc3N3b3JkLCBidXQg bm8gVk5DIHBvcnQgc3BlY2lmaWVkIGZvciBtYWNoaW5lICcke21hY2hpbmV9JyAtIFZOQyB3aWxs IGJlIGRpc2FibGVkLiIKCQlmaQoJZWxzZQoJCWVjaG8gIiQwOiBleHRyYSBhcmd1bWVudCBpZ25v cmVkIgoJZmkKZWxzZQoJaWYgWyAieCR7dmJveHZtX21hY2hpbmVzfSIgIT0gIngiIC1hICJ4JDEi ICE9ICJ4IiBdOyB0aGVuCgkJZm9yIG1hY2hpbmUgaW4gJHt2Ym94dm1fbWFjaGluZXN9OyBkbwoJ CQlldmFsIF9lbmFibGU9Ilwke3Zib3h2bV8ke21hY2hpbmV9X2VuYWJsZX0iCgkJCWNhc2UgIngk e19lbmFibGU6LSR7dmJveHZtX2VuYWJsZX19IiBpbgoJCQl4fHhbTm5dW09vXXx4W05uXVtPb11b Tm5dW0VlXSkKICAgICAgICAgICAgZWNobyAiVkJveCBtYWNoaW5lICcke21hY2hpbmV9JyBza2lw cGVkIChkaXNhYmxlZCkuIgoJCQkJY29udGludWUKCQkJCTs7CgkJCXhbWXldW0VlXVtTc10pCgkJ CQk7OwoJCQkqKQoJCQkJaWYgdGVzdCAteiAiJF9lbmFibGUiOyB0aGVuCgkJCQkJX3Zhcj12Ym94 dm1fZW5hYmxlCgkJCQllbHNlCgkJCQkJX3Zhcj12Ym94dm1fIiR7bWFjaGluZX0iX2VuYWJsZQoJ CQkJZmkKCQkJCWVjaG8gIkJhZCB2YWx1ZSIgXAoJCQkJICAgICInJHtfZW5hYmxlOi0ke3Zib3h2 bV9lbmFibGV9fSciIFwKCQkJCSAgICAiZm9yICR7X3Zhcn0uICIgXAoJCQkJICAgICJWQm94IG1h Y2hpbmUgJyR7bWFjaGluZX0nIHNraXBwZWQuIgoJCQkJY29udGludWUKCQkJCTs7CgkJCWVzYWMK CQkJL3Vzci9sb2NhbC9ldGMvcmMuZC92Ym94dm0gJDEgJHttYWNoaW5lfQoJCQlyZXRjb2RlPSIk PyIKCQkJaWYgWyAiMCR7cmV0Y29kZX0iIC1uZSAwIF07IHRoZW4KCQkJCWZhaWxlZD0iJHttYWNo aW5lfSAoJHtyZXRjb2RlfSkgJHtmYWlsZWQ6LX0iCgkJCWVsc2UKCQkJCXN1Y2Nlc3M9IiR7bWFj aGluZX0gJHtzdWNjZXNzOi19IgoJCQlmaQoJCWRvbmUKCQlleGl0IDAKCWZpCmZpCgpzdGFydF9j bWQ9InZib3h2bV9zdGFydCIKc3RvcF9jbWQ9InZib3h2bV9zdG9wIgpzdGF0dXNfY21kPSJ2Ym94 dm1fc3RhdHVzIgpleHRyYV9jb21tYW5kcz0ic3RhdHVzIgoKdmJveHZtX3N0YXJ0KCkKewogICAg ZWNobyAiVkJveCBtYWNoaW5lICcke3Zib3h2bV9uYW1lfScgcG93ZXJpbmcgdXAuIgogICAgaWYg WyAieCR7dmJveHZtX3ZuY3BvcnR9IiAhPSAieCIgXTsgdGhlbgogICAgICAgaWYgWyAieCR7dmJv eHZtX3ZuY3Bhc3N3b3JkfSIgPSAieCIgXTsgdGhlbgogICAgICAgICAgdm5jb3B0cz0iLS12bmMg LS12bmNwb3J0ICR7dmJveHZtX3ZuY3BvcnR9IgogICAgICAgZWxzZQogICAgICAgICAgdm5jb3B0 cz0iLS12bmMgLS12bmNwb3J0ICR7dmJveHZtX3ZuY3BvcnR9IC0tdm5jcGFzcyAke3Zib3h2bV92 bmNwYXNzd29yZH0iCiAgICAgICBmaQogICAgZmkKICAgIGlmIFsgIngke3Zib3h2bV9sb2d9IiAh PSAieCIgXTsgdGhlbgogICAgICAgbG9nb3B0cz0iMT4ke3Zib3h2bV9sb2d9IDI+JjEiCiAgICBm aQogICAgY21kPSJleGVjIC91c3IvbG9jYWwvYmluL1ZCb3hIZWFkbGVzcyAke3ZuY29wdHN9IC1z ICR7dmJveHZtX25hbWV9ICR7bG9nb3B0c30gJiIKICAgIHN1IC1sICR7dmJveHZtX3VzZXJ9IC1j ICIke2NtZH0iCn0KCnZib3h2bV9zdG9wKCkKewogICAgZWNobyAiVkJveCBtYWNoaW5lICcke3Zi b3h2bV9uYW1lfScgcG93ZXJpbmcgZG93bi4iCiAgICBzdSAtbCAke3Zib3h2bV91c2VyfSAtYyAi ZXhlYyAvdXNyL2xvY2FsL2Jpbi9WQm94TWFuYWdlIGNvbnRyb2x2bSAke3Zib3h2bV9uYW1lfSBh Y3BpcG93ZXJidXR0b24iCn0KCnZib3h2bV9zdGF0dXMoKQp7CiAgICBydW5uaW5ndm1zPSJgc3Ug LWwgJHt2Ym94dm1fdXNlcn0gLWMgJ2V4ZWMgL3Vzci9sb2NhbC9iaW4vVkJveE1hbmFnZSBsaXN0 IHJ1bm5pbmd2bXMnYCIKICAgIG15dm09ImBlY2hvICR7cnVubmluZ3Ztc30gfCBncmVwIC1jICR7 dmJveHZtX25hbWV9YCIKICAgIGlmIFsgIiR7bXl2bX0iIC1uZSAiMCIgXTsgdGhlbgogICAgICAg ZWNobyAiVkJveCBtYWNoaW5lICcke3Zib3h2bV9uYW1lfScgaXMgcnVubmluZy4iCiAgICBlbHNl CiAgICAgICBlY2hvICJWQm94IG1hY2hpbmUgJyR7dmJveHZtX25hbWV9JyBpcyBwb3dlcmVkIGRv d24uIgogICAgZmkKfQoKcnVuX3JjX2NvbW1hbmQgIiQxIgo= --_002_634914A010D0B943A035D226786325D422B76F91CAEXVMBX02012ex_-- From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 12 19:17:15 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0292C106564A; Tue, 12 Apr 2011 19:17:15 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward9.mail.yandex.net (forward9.mail.yandex.net [77.88.61.48]) by mx1.freebsd.org (Postfix) with ESMTP id 2A6018FC15; Tue, 12 Apr 2011 19:17:13 +0000 (UTC) Received: from smtp6.mail.yandex.net (smtp6.mail.yandex.net [77.88.61.56]) by forward9.mail.yandex.net (Yandex) with ESMTP id 28269CE2332; Tue, 12 Apr 2011 23:02:05 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1302634925; bh=sQ8EDH9YdEGdKTfZ2yIBDH67pRZIbEHXhx3cwQssphg=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=d5QM082EYAGS0l4+AGQSQq/2Lc+aGVewhhFhHBkYG9w0K145GR0t3ulduiS3zxNpJ 9+IjbLJDXPV/IKL5zrhlQiwC7z2a3D0Kun/hYrEYdG9FmJCzlYU/RgxzNtl9W7uOLe A1AnM9jUbJKdNtZc4hXWtw7WF6RdorqkeIyKHAcg= Received: from [178.141.5.215] (dynamic-178-141-5-215.kirov.comstar-r.ru [178.141.5.215]) by smtp6.mail.yandex.net (Yandex) with ESMTPSA id D4C122A8050; Tue, 12 Apr 2011 23:02:04 +0400 (MSD) Message-ID: <4DA4A1AC.90601@yandex.ru> Date: Tue, 12 Apr 2011 23:02:04 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Thunderbird/3.1.9 MIME-Version: 1.0 To: Juergen Lock References: <20110412172227.GA45105@triton8.kn-bremen.de> In-Reply-To: <20110412172227.GA45105@triton8.kn-bremen.de> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: emulation@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 19:17:15 -0000 On 12.04.2011 21:22, Juergen Lock wrote: > > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch > (for head, untested) I updated the patch for head/ http://people.freebsd.org/~ae/v4l2.diff > Note: At least the version of skype in ports still won't work with > all cameras supported by webcamd because skype wants yuv 4:2:0 pixel > format and some webcams only support jpeg (like a gspca zc3xx one > I dug up here), maybe the newer skype version that Andriy got working, > > http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-February/011696.html > > will have support for such cameras, or if not maybe a solution like > this Linux post linked, I did some tests and it does not make my skype working. Also i tried install linux version of libv4l and with preloaded v4l1compat.so now skype can turn camera on, but it shows only green screen :( -- WBR, Andrey V. Elsukov From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 12 19:23:50 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 64D08106566C for ; Tue, 12 Apr 2011 19:23:50 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 467ED14E79F; Tue, 12 Apr 2011 19:23:50 +0000 (UTC) Message-ID: <4DA4A6C7.6050803@FreeBSD.org> Date: Tue, 12 Apr 2011 12:23:51 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Tobias Oberstein References: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> In-Reply-To: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-emulation@freebsd.org" Subject: Re: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 19:23:50 -0000 On 4/12/2011 12:15 PM, Tobias Oberstein wrote: > I wanted to configure multiple VirtualBox VMs to startup automatically at boot time and generally be a nice citizen to the FreeBSD way of starting up stuff. Thanks for providing this, however there are several problems, some of which you outlined in your post. The canonical way to do what you're suggesting is to copy the script so that you have one script per process you want to start, each with a different $name. That way you avoid a lot of the complexity that you've created, and everything works. hth, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 12 19:35:57 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 513D7106567D for ; Tue, 12 Apr 2011 19:35:57 +0000 (UTC) (envelope-from tobias.oberstein@tavendo.de) Received: from EXHUB020-4.exch020.serverdata.net (exhub020-4.exch020.serverdata.net [206.225.164.31]) by mx1.freebsd.org (Postfix) with ESMTP id 189728FC0A for ; Tue, 12 Apr 2011 19:35:56 +0000 (UTC) Received: from EXVMBX020-12.exch020.serverdata.net ([169.254.3.111]) by EXHUB020-4.exch020.serverdata.net ([206.225.164.31]) with mapi; Tue, 12 Apr 2011 12:35:17 -0700 From: Tobias Oberstein To: Doug Barton Date: Tue, 12 Apr 2011 12:35:54 -0700 Thread-Topic: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf Thread-Index: Acv5RxDrWuazsI8RRRmiosyizGb2hgAAH15A Message-ID: <634914A010D0B943A035D226786325D422B76F9205@EXVMBX020-12.exch020.serverdata.net> References: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> <4DA4A6C7.6050803@FreeBSD.org> In-Reply-To: <4DA4A6C7.6050803@FreeBSD.org> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-emulation@freebsd.org" Subject: AW: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 19:35:57 -0000 > > I wanted to configure multiple VirtualBox VMs to startup automatically = at > boot time and generally be a nice citizen to the FreeBSD way of starting = up > stuff. >=20 > Thanks for providing this, however there are several problems, some of > which you outlined in your post. >=20 > The canonical way to do what you're suggesting is to copy the script so t= hat > you have one script per process you want to start, each with a different I've tried that first .. but for me it gets unwieldy when you need to manag= e i.e. a dozen VMs > $name. That way you avoid a lot of the complexity that you've created, an= d > everything works. Could you explain how doing it in separate scripts will solve i.e. > 2) when the system shuts down, it doesnt wait for "stop" to finish gracef= ul shutdown of VMs ? The problem is, that=20 VBoxManage controlvm ${vboxvm_name} acpipowerbutton does exit immediately. It does not wait until the VM is actually powered down. Is there i.e. a rc.d "hook" which allows me to make the shutdown process wa= it for some condition (at least up to say a limit of 20s)? What is the canonical way of doing that kind of stuff? Or is there a way of just making the shutdown delayed for 30s independent = of any of above? Thanks, Tobias >=20 >=20 > hth, >=20 > Doug >=20 > -- >=20 > Nothin' ever doesn't change, but nothin' changes much. > -- OK Go >=20 > Breadth of IT experience, and depth of knowledge in the DNS. > Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 12 19:42:02 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C63B41065672 for ; Tue, 12 Apr 2011 19:42:02 +0000 (UTC) (envelope-from rnejdl@ringofsaturn.com) Received: from tethys.ringofsaturn.com (tethys.ringofsaturn.com [71.252.219.43]) by mx1.freebsd.org (Postfix) with ESMTP id 99CA28FC16 for ; Tue, 12 Apr 2011 19:42:02 +0000 (UTC) Received: from ASSP.nospam (tethys [71.252.219.43]) (authenticated bits=0) by tethys.ringofsaturn.com (8.14.4/8.14.4) with ESMTP id p3CJg12M014543 for ; Tue, 12 Apr 2011 14:42:01 -0500 (CDT) (envelope-from rnejdl@ringofsaturn.com) Received: from mail.ringofsaturn.com ([71.252.219.43] helo=mail.ringofsaturn.com) with IPv4:25 by ASSP.nospam; 12 Apr 2011 14:42:00 -0500 MIME-Version: 1.0 Date: Tue, 12 Apr 2011 14:42:00 -0500 From: Rusty Nejdl To: Mail-Reply-To: In-Reply-To: <634914A010D0B943A035D226786325D422B76F9205@EXVMBX020-12.exch020.serverdata.net> References: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> <4DA4A6C7.6050803@FreeBSD.org> <634914A010D0B943A035D226786325D422B76F9205@EXVMBX020-12.exch020.serverdata.net> Message-ID: X-Sender: rnejdl@ringofsaturn.com User-Agent: Roundcube Webmail/0.6-svn X-Assp-Intended-For-IP: 71.252.219.43 X-Assp-Passing: authenticated X-Assp-ID: ASSP.nospam (m-30263-06500) X-Assp-Version: 1.8.5.6(1.0.05) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: AW: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rnejdl@ringofsaturn.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 19:42:02 -0000 =20 On Tue, 12 Apr 2011 12:35:54 -0700, Tobias Oberstein wrote:=20 >>> I wanted to configure multiple VirtualBox VMs to startup automatically at >> boot time and generally be a nice citizen to the FreeBSD way of starting up stuff. Thanks for providing this, however there are several problems, some of which you outlined in your post. The canonical way to do what you're suggesting is to copy the script so that you have one script per process you want to start, each with a different >=20 > I've tried that first .. but for me it gets unwieldy when you need to manage i.e. a dozen VMs >=20 >> $name. That way you avoid a lot of the complexity that you've created, and everything works. >=20 > Could you explain how doing it in separate scripts will solve i.e. > 2) when the system shuts down, it doesnt wait for "stop" to finish graceful shutdown of VMs=20 > >> It does not wait until the VM is actually powered down. Is there i.e. a rc.d "hook" wh > to make the shutdown process wait for some condition (at least up to say a limit of 20s)? What is the canonical way of doing that kind of stuff? Or is there a way of just making the shutdown delayed for 30s independent of any of above? Thanks, Tobias hth, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://Su >=20 >> freebsd-emulation@freebsd.org">freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation [1] To unsubscribe, send any ma > f=3D"mailto:freebsd-emulation-unsubscribe@freebsd.org">freebsd-emulation-un= subscribe@freebsd.org" Tobias, While I was developing a port for ASSP2, I had to have it do a wait while it was shutting that down: stop_cmd=3Dassp2_daemon_stop command=3D/usr/local/sbin/assp2 command_interpreter=3D/usr/local/bin/perl pidfile=3D/var/db/assp2/pid assp2_daemon_stop() { if test -f /var/db/assp2/pid; then checkyesno assp_enable && echo "Stopping assp2." &&=20 cat /var/db/assp2/pid | xargs kill -3 while ps -axoargs | grep "assp2" | grep "perl" | grep -v "stop" | grep -v "grep" > /dev/null 2>&1; do sleep 1; done else echo "assp2 is not running." fi } =EF=BB=BF=20 That may solve your problem.=20 Rusty Nejdl=20 =20 Links: ------ [1] http://lists.freebsd.org/mailman/listinfo/freebsd-emulation From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 12 19:54:02 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC84F106566B; Tue, 12 Apr 2011 19:54:01 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward10.mail.yandex.net (forward10.mail.yandex.net [77.88.61.49]) by mx1.freebsd.org (Postfix) with ESMTP id 2CAEB8FC12; Tue, 12 Apr 2011 19:53:56 +0000 (UTC) Received: from smtp6.mail.yandex.net (smtp6.mail.yandex.net [77.88.61.56]) by forward10.mail.yandex.net (Yandex) with ESMTP id 98EDF1021FB8; Tue, 12 Apr 2011 23:53:50 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1302638030; bh=kzBGXIB7LBAfYqPhZID6V5bWZ3QpcUAYuHuFH20FsmE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=sv9mMCGZv04HeukziIGZ16PlixkhB6DiwubxUV3ia3sbanGmhj582arjSxYBJ1xZD lIhFESsArR9/5WsqFl/VXCTUGurVtf+wMjgkh+UaW4f1mUIVXgxG3RGgKjukeoxYGf x60g66PEXQpwgyftqAU8Q4+fkWS7ldOcRGjDdyIU= Received: from [178.141.5.215] (dynamic-178-141-5-215.kirov.comstar-r.ru [178.141.5.215]) by smtp6.mail.yandex.net (Yandex) with ESMTPSA id 38E932A805E; Tue, 12 Apr 2011 23:53:50 +0400 (MSD) Message-ID: <4DA4ADC7.6020101@yandex.ru> Date: Tue, 12 Apr 2011 23:53:43 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Thunderbird/3.1.9 MIME-Version: 1.0 To: Ivan Klymenko References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> In-Reply-To: <20110412222945.39b7a47b@ukr.net> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2B6B16AE044CBE92785A509D" Cc: emulation@FreeBSD.org, Juergen Lock , multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 19:54:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2B6B16AE044CBE92785A509D Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 12.04.2011 23:29, Ivan Klymenko wrote: > =F7 Tue, 12 Apr 2011 23:02:04 +0400 > "Andrey V. Elsukov" =D0=C9=DB=C5=D4: >=20 >> On 12.04.2011 21:22, Juergen Lock wrote: >>> >>> http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch >>> (for head, untested) >> >> I updated the patch for head/ >> http://people.freebsd.org/~ae/v4l2.diff >> >>> Note: At least the version of skype in ports still won't work with >>> all cameras supported by webcamd because skype wants yuv 4:2:0 pixel >>> format and some webcams only support jpeg (like a gspca zc3xx one >>> I dug up here), maybe the newer skype version that Andriy got >>> working, >>> >>> http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-February/= 011696.html >>> >>> will have support for such cameras, or if not maybe a solution like >>> this Linux post linked, >> >> I did some tests and it does not make my skype working. >> Also i tried install linux version of libv4l and with preloaded >> v4l1compat.so now skype can turn camera on, but it shows only >> green screen :( >> >=20 > Thank you all for your good work! >=20 > export XLIB_SKIP_ARGB_VISUALS=3D1 > /usr/local/share/skype/skype --resources=3D/usr/local/share/skype $@ > helps eliminate the green screen Yeah :) Now it is pink with some green motions :) > I have the same problem - skype displays on the console: > Skype V4L2: Could not find a suitable capture format > Skype V4L2: Could not find a suitable capture format > Starting the process... Yes. Without libv4l it displays the same message. Try to find libv4l-0.6.2-1.fc10.i386.rpm and install it like described here: http://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html You can use: export LD_PRELOAD=3D/usr/lib/libv4l/v4l2convert.so # export LD_PRELOAD=3D/usr/lib/libv4l/v4l1compat.so /usr/local/share/skype/skype --resources=3D/usr/local/share/skype $@ --=20 WBR, Andrey V. Elsukov --------------enig2B6B16AE044CBE92785A509D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJNpK3NAAoJEAHF6gQQyKF6KNUIAKrHUma2kfrLoEQ45ObuybiM HZ4CWWtCF57itl0BVZ964lt2WNiga5j6Bkth3GF/GCwbDlDDjX0iAlTFhGoUt1GK n8vLCwUVHXWs4erWiUXmQbQqoKI2d5qgC/lbeiJvelX/h+O9r9FOeSP+TBs/4+eU zeWgE5LayLM074+5QClKyWF8VP5VsE9afhjlqbj3fLz2QJ+k1iC7BulI2NJqwbwa f7YgBXDEXfTnblJRAYqnfEyEd+LFyANgZtOcnNcC+ayCmvn8IxwdaLl6c1PxDphr IA1Cijva9Ofk+dZOj8oq0WD5UxQuX2BZrHI86j9ob+JUX4LqO0KhZ3B/Hr3o9V0= =WvdD -----END PGP SIGNATURE----- --------------enig2B6B16AE044CBE92785A509D-- From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 12 19:56:56 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id E977C1065670 for ; Tue, 12 Apr 2011 19:56:56 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id C4DA014E832; Tue, 12 Apr 2011 19:56:56 +0000 (UTC) Message-ID: <4DA4AE8A.6020308@FreeBSD.org> Date: Tue, 12 Apr 2011 12:56:58 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Tobias Oberstein References: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> <4DA4A6C7.6050803@FreeBSD.org> <634914A010D0B943A035D226786325D422B76F9205@EXVMBX020-12.exch020.serverdata.net> In-Reply-To: <634914A010D0B943A035D226786325D422B76F9205@EXVMBX020-12.exch020.serverdata.net> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-emulation@freebsd.org" Subject: Re: AW: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 19:56:57 -0000 On 4/12/2011 12:35 PM, Tobias Oberstein wrote: >>> I wanted to configure multiple VirtualBox VMs to startup >>> automatically at >> boot time and generally be a nice citizen to the FreeBSD way of >> starting up stuff. >> >> Thanks for providing this, however there are several problems, some >> of which you outlined in your post. >> >> The canonical way to do what you're suggesting is to copy the >> script so that you have one script per process you want to start, >> each with a different > > I've tried that first .. but for me it gets unwieldy when you need to > manage i.e. a dozen VMs I don't see how it would be "unwieldy." The rc.conf stuff would be the same, the only difference would be the number of rc.d scripts. What problems does having multiple scripts cause for you? >> 2) when the system shuts down, it doesnt wait for "stop" to finish >> graceful shutdown of VMs > > ? > > The problem is, that > > VBoxManage controlvm ${vboxvm_name} acpipowerbutton > > does exit immediately. > > It does not wait until the VM is actually powered down. > > Is there i.e. a rc.d "hook" which allows me to make the shutdown > process wait for some condition (at least up to say a limit of 20s)? By "shutdown process" are you referring to system shutdown? If so, what you probably want to do is modify your _stop method to find the pid of the vm and run wait_for_pids() on it. Reading through the comments in /etc/rc.subr may be helpful for you in this regard. Good luck, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 12 19:59:14 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 255E8106566B; Tue, 12 Apr 2011 19:59:14 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.120]) by mx1.freebsd.org (Postfix) with ESMTP id CFE6B8FC1B; Tue, 12 Apr 2011 19:59:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=UK/buWeRM7bKFVnE440zQOxHyhpm6oYzq1Npkrf7yq4=; b=EICrHJ/e3FzZHrIAi1Z/GabtBbIGyt7lqq1cta7Rt0b2RQWTUz4UBelhudsbbE2/aT6cJyGvoPOKLsZVdSpbwEn50/dnVggaZ01EW/zVW0orLjfes7FtlCEGQJNw6HijfvDjM8sX76wOld4Y6n7q6GKVe7nqnjzX4tY1XfCaNzE=; Received: from [46.185.0.93] (helo=localhost) by fsm1.ukr.net with esmtps ID 1Q9jHM-0003DL-J1 ; Tue, 12 Apr 2011 22:29:36 +0300 Date: Tue, 12 Apr 2011 22:29:45 +0300 From: Ivan Klymenko To: "Andrey V. Elsukov" Message-ID: <20110412222945.39b7a47b@ukr.net> In-Reply-To: <4DA4A1AC.90601@yandex.ru> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: emulation@FreeBSD.org, Juergen Lock , multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 19:59:14 -0000 =D0=92 Tue, 12 Apr 2011 23:02:04 +0400 "Andrey V. Elsukov" =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On 12.04.2011 21:22, Juergen Lock wrote: > >=20 > > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch > > (for head, untested) >=20 > I updated the patch for head/ > http://people.freebsd.org/~ae/v4l2.diff >=20 > > Note: At least the version of skype in ports still won't work with > > all cameras supported by webcamd because skype wants yuv 4:2:0 pixel > > format and some webcams only support jpeg (like a gspca zc3xx one > > I dug up here), maybe the newer skype version that Andriy got > > working, > >=20 > > http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-February/01= 1696.html > >=20 > > will have support for such cameras, or if not maybe a solution like > > this Linux post linked, >=20 > I did some tests and it does not make my skype working. > Also i tried install linux version of libv4l and with preloaded > v4l1compat.so now skype can turn camera on, but it shows only > green screen :( >=20 Thank you all for your good work! export XLIB_SKIP_ARGB_VISUALS=3D1 /usr/local/share/skype/skype --resources=3D/usr/local/share/skype $@ helps eliminate the green screen I have the same problem - skype displays on the console: Skype V4L2: Could not find a suitable capture format Skype V4L2: Could not find a suitable capture format Starting the process... .... From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 12 20:00:20 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 85B26106566C for ; Tue, 12 Apr 2011 20:00:20 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 59B70153AC8; Tue, 12 Apr 2011 20:00:20 +0000 (UTC) Message-ID: <4DA4AF55.10603@FreeBSD.org> Date: Tue, 12 Apr 2011 13:00:21 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: rnejdl@ringofsaturn.com References: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> <4DA4A6C7.6050803@FreeBSD.org> <634914A010D0B943A035D226786325D422B76F9205@EXVMBX020-12.exch020.serverdata.net> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: AW: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 20:00:20 -0000 On 4/12/2011 12:42 PM, Rusty Nejdl wrote: > While I was developing a port for ASSP2, I had to have it do a wait > while it was shutting that down: > > > stop_cmd=assp2_daemon_stop > > command=/usr/local/sbin/assp2 > command_interpreter=/usr/local/bin/perl > pidfile=/var/db/assp2/pid > > assp2_daemon_stop() > { > if test -f /var/db/assp2/pid; then > checkyesno assp_enable&& FYI, whether or not the service is enabled is irrelevant to running the stop method. rc.subr has been modified to run stop unconditionally for some time now. hth, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 12 20:04:30 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 291641065670; Tue, 12 Apr 2011 20:04:30 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm2.ukr.net (fsm2.ukr.net [195.214.192.121]) by mx1.freebsd.org (Postfix) with ESMTP id D0CA78FC0C; Tue, 12 Apr 2011 20:04:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=hIVZkczcx8KnqHC605a86k5L6livLJ87i15JVLTHs9M=; b=gfYq7Pw08gGhQN3jk2ZttvJ6pOtfNq22cKjywOanvAiOC0lKXO3XzFjJ8/Ao4nn50VcN9hjOccHzG/x4K636Nl1KNLQZY0NX3XJgNpIjCBt9ebEaMXxuCEG7yrRhn77wgK0uM4XcZfR1kTVE9I54oMgEH/CFr6Vl8BRN8FyX+Sk=; Received: from [46.185.0.93] (helo=localhost) by fsm2.ukr.net with esmtps ID 1Q9jp5-0006AL-IL ; Tue, 12 Apr 2011 23:04:27 +0300 Date: Tue, 12 Apr 2011 23:04:26 +0300 From: Ivan Klymenko To: "Andrey V. Elsukov" Message-ID: <20110412230426.550e8155@ukr.net> In-Reply-To: <4DA4ADC7.6020101@yandex.ru> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: emulation@FreeBSD.org, Juergen Lock , multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 20:04:30 -0000 =D0=92 Tue, 12 Apr 2011 23:53:43 +0400 "Andrey V. Elsukov" =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On 12.04.2011 23:29, Ivan Klymenko wrote: > > =D0=92 Tue, 12 Apr 2011 23:02:04 +0400 > > "Andrey V. Elsukov" =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >=20 > >> On 12.04.2011 21:22, Juergen Lock wrote: > >>> > >>> http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch > >>> (for head, untested) > >> > >> I updated the patch for head/ > >> http://people.freebsd.org/~ae/v4l2.diff > >> > >>> Note: At least the version of skype in ports still won't work > >>> with all cameras supported by webcamd because skype wants yuv > >>> 4:2:0 pixel format and some webcams only support jpeg (like a > >>> gspca zc3xx one I dug up here), maybe the newer skype version > >>> that Andriy got working, > >>> > >>> http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-February/= 011696.html > >>> > >>> will have support for such cameras, or if not maybe a solution > >>> like this Linux post linked, > >> > >> I did some tests and it does not make my skype working. > >> Also i tried install linux version of libv4l and with preloaded > >> v4l1compat.so now skype can turn camera on, but it shows only > >> green screen :( > >> > >=20 > > Thank you all for your good work! > >=20 > > export XLIB_SKIP_ARGB_VISUALS=3D1 > > /usr/local/share/skype/skype --resources=3D/usr/local/share/skype $@ > > helps eliminate the green screen >=20 > Yeah :) > Now it is pink with some green motions :) Oops :( it's true... >=20 > > I have the same problem - skype displays on the console: > > Skype V4L2: Could not find a suitable capture format > > Skype V4L2: Could not find a suitable capture format > > Starting the process... >=20 > Yes. Without libv4l it displays the same message. > Try to find libv4l-0.6.2-1.fc10.i386.rpm and install it like > described here: > http://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html >=20 > You can use: > export LD_PRELOAD=3D/usr/lib/libv4l/v4l2convert.so > # export LD_PRELOAD=3D/usr/lib/libv4l/v4l1compat.so > /usr/local/share/skype/skype --resources=3D/usr/local/share/skype $@ >=20 In this version of skype with the message: libv4l2: error setting pixformat: Invalid argument Starting the process... Skype Xv: Xv ports available: 32 Skype XShm: XShm support enabled Skype Xv: Using Xv port 310 libv4l2: error dequeuing buf: Invalid argument From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 12 20:52:37 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5473A106566C; Tue, 12 Apr 2011 20:52:37 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.120]) by mx1.freebsd.org (Postfix) with ESMTP id 0A3A08FC1E; Tue, 12 Apr 2011 20:52:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=4mwybhuDuLy/AHTIUmyTVFUWQRowCGJ6HQK/K8Jmx7Q=; b=SqaeYSqrvIH3vBwR3e4/V4ofdSpLfSZbpKaQIohrmw8EHuYXMK+Otu55Hr4LTqaXPu2VVKkwnzF0RsRQ5x+iornnrse0Ky63RC66pJwTE/y93KH6Hb2XBLE9FT/wEtRHv38Rt8NP/QTy2fUePh/8GOkndUe2Y0gY839TqXG/rWo=; Received: from [46.185.0.93] (helo=localhost) by fsm1.ukr.net with esmtps ID 1Q9kZV-000D3K-60 ; Tue, 12 Apr 2011 23:52:25 +0300 Date: Tue, 12 Apr 2011 23:52:34 +0300 From: Ivan Klymenko To: Ivan Klymenko Message-ID: <20110412235234.6c38aba5@ukr.net> In-Reply-To: <20110412230426.550e8155@ukr.net> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: emulation@FreeBSD.org, Lock , multimedia@FreeBSD.org, Juergen Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 20:52:37 -0000 =D0=92 Tue, 12 Apr 2011 23:04:26 +0300 Ivan Klymenko =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > =D0=92 Tue, 12 Apr 2011 23:53:43 +0400 > "Andrey V. Elsukov" =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >=20 > > On 12.04.2011 23:29, Ivan Klymenko wrote: > > > =D0=92 Tue, 12 Apr 2011 23:02:04 +0400 > > > "Andrey V. Elsukov" =D0=BF=D0=B8=D1=88=D0=B5=D1= =82: > > >=20 > > >> On 12.04.2011 21:22, Juergen Lock wrote: > > >>> > > >>> http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch > > >>> (for head, untested) > > >> > > >> I updated the patch for head/ > > >> http://people.freebsd.org/~ae/v4l2.diff > > >> > > >>> Note: At least the version of skype in ports still won't work > > >>> with all cameras supported by webcamd because skype wants yuv > > >>> 4:2:0 pixel format and some webcams only support jpeg (like a > > >>> gspca zc3xx one I dug up here), maybe the newer skype version > > >>> that Andriy got working, > > >>> > > >>> http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-Februar= y/011696.html > > >>> > > >>> will have support for such cameras, or if not maybe a solution > > >>> like this Linux post linked, > > >> > > >> I did some tests and it does not make my skype working. > > >> Also i tried install linux version of libv4l and with preloaded > > >> v4l1compat.so now skype can turn camera on, but it shows only > > >> green screen :( > > >> > > >=20 > > > Thank you all for your good work! > > >=20 > > > export XLIB_SKIP_ARGB_VISUALS=3D1 > > > /usr/local/share/skype/skype --resources=3D/usr/local/share/skype $@ > > > helps eliminate the green screen > >=20 > > Yeah :) > > Now it is pink with some green motions :) >=20 > Oops :( it's true... >=20 > >=20 > > > I have the same problem - skype displays on the console: > > > Skype V4L2: Could not find a suitable capture format > > > Skype V4L2: Could not find a suitable capture format > > > Starting the process... > >=20 > > Yes. Without libv4l it displays the same message. > > Try to find libv4l-0.6.2-1.fc10.i386.rpm and install it like > > described here: > > http://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html > >=20 > > You can use: > > export LD_PRELOAD=3D/usr/lib/libv4l/v4l2convert.so > > # export LD_PRELOAD=3D/usr/lib/libv4l/v4l1compat.so > > /usr/local/share/skype/skype --resources=3D/usr/local/share/skype $@ > >=20 >=20 > In this version of skype with the message: >=20 > libv4l2: error setting pixformat: Invalid argument > Starting the process... > Skype Xv: Xv ports available: 32 > Skype XShm: XShm support enabled > Skype Xv: Using Xv port 310 > libv4l2: error dequeuing buf: Invalid argument Wow, i looked dmesg string: linux: pid 14356 (skype): ioctl fd=3D13, cmd=3D0x8b01 ('\M^K',1) is not implemented Probably still need some system calls in linuxator? From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 12 21:09:28 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B30E71065787; Tue, 12 Apr 2011 21:09:28 +0000 (UTC) (envelope-from tobias.oberstein@tavendo.de) Received: from EXHUB020-2.exch020.serverdata.net (exhub020-2.exch020.serverdata.net [206.225.164.29]) by mx1.freebsd.org (Postfix) with ESMTP id 611EE8FC12; Tue, 12 Apr 2011 21:09:28 +0000 (UTC) Received: from EXVMBX020-12.exch020.serverdata.net ([169.254.3.111]) by EXHUB020-2.exch020.serverdata.net ([206.225.164.29]) with mapi; Tue, 12 Apr 2011 14:08:48 -0700 From: Tobias Oberstein To: Doug Barton Date: Tue, 12 Apr 2011 14:09:24 -0700 Thread-Topic: AW: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf Thread-Index: Acv5S7BCYMWpFarEShWxKgXd6BU7WwACGkOw Message-ID: <634914A010D0B943A035D226786325D422B76F9275@EXVMBX020-12.exch020.serverdata.net> References: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> <4DA4A6C7.6050803@FreeBSD.org> <634914A010D0B943A035D226786325D422B76F9205@EXVMBX020-12.exch020.serverdata.net> <4DA4AE8A.6020308@FreeBSD.org> In-Reply-To: <4DA4AE8A.6020308@FreeBSD.org> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: multipart/mixed; boundary="_002_634914A010D0B943A035D226786325D422B76F9275EXVMBX02012ex_" MIME-Version: 1.0 Cc: "freebsd-emulation@freebsd.org" Subject: AW: AW: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 21:09:28 -0000 --_002_634914A010D0B943A035D226786325D422B76F9275EXVMBX02012ex_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > >> The canonical way to do what you're suggesting is to copy the script > >> so that you have one script per process you want to start, each with > >> a different > > > > I've tried that first .. but for me it gets unwieldy when you need to > > manage i.e. a dozen VMs >=20 > I don't see how it would be "unwieldy." The rc.conf stuff would be the sa= me, > the only difference would be the number of rc.d scripts. What problems > does having multiple scripts cause for you? No, it's the number of scripts. For me, it's just more clearly arranged to = edit everything in one place (/etc/rc.conf) and with minimum edits. And I like factoring code. Also, I can use the rc.d script to get status for one or for all VMs at one= time or start/stop all at once. But it's not that important. Lets call it an personal taste question. It's just that I've read the FreeBSD manual on rc.d, which doesnt talk abou= t multiple instances of daemons (if I've not overlooked s.th.). And I thought that the way the Apache rc.d script does it would be somehow sanctioned / canonical. >=20 > >> 2) when the system shuts down, it doesnt wait for "stop" to finish > >> graceful shutdown of VMs > > > > ? > > > > The problem is, that > > > > VBoxManage controlvm ${vboxvm_name} acpipowerbutton > > > > does exit immediately. > > > > It does not wait until the VM is actually powered down. > > > > Is there i.e. a rc.d "hook" which allows me to make the shutdown > > process wait for some condition (at least up to say a limit of 20s)? >=20 > By "shutdown process" are you referring to system shutdown? If so, what Yeah, "shutdown -r now". > you probably want to do is modify your _stop method to find the pid of th= e > vm and run wait_for_pids() on it. Reading through the comments in > /etc/rc.subr may be helpful for you in this regard. Ok. I'll look into that. Thanks. In the meantime, I've implemented stop_cmd as synchronous (it does not return until VM is stopped) and also restart_cmd. I somehow works .. but there seems to be a watchdog in place: I get "watchdog timeout 30s expired ... shutodown NOW" Is it possible to override the 30s watchdog? My current solution is not optimal, since it shuts down VMs sequentially and synchronously. Ideal would be: trigger shutdown of all VMs at once and in parallel, but th= en wait until all have stopped for the final system shutdown. Would that be possible with the wait_for_pids() you've mentioned? Thanks again, Tobias --_002_634914A010D0B943A035D226786325D422B76F9275EXVMBX02012ex_ Content-Type: text/plain; name="vboxvm.txt" Content-Description: vboxvm.txt Content-Disposition: attachment; filename="vboxvm.txt"; size=3819; creation-date="Tue, 12 Apr 2011 14:06:45 GMT"; modification-date="Tue, 12 Apr 2011 14:06:45 GMT" Content-Transfer-Encoding: base64 IyEvYmluL3NoCgojIFBST1ZJREU6IHZib3h2bQojIFJFUVVJUkU6IExPR0lOCiMgS0VZV09SRDog c2h1dGRvd24KCi4gL2V0Yy9yYy5zdWJyCgpuYW1lPSJ2Ym94dm0iCnJjdmFyPWBzZXRfcmN2YXJg Cgpsb2FkX3JjX2NvbmZpZyAkbmFtZQoKaWYgWyAtbiAiJDIiIF07IHRoZW4KCW1hY2hpbmU9IiQy IgoJaWYgWyAieCR7dmJveHZtX21hY2hpbmVzfSIgIT0gIngiIF07IHRoZW4KCQlldmFsIHZib3h2 bV9uYW1lPSJcJHt2Ym94dm1fJHttYWNoaW5lfV9uYW1lOi19IgoJCWlmIFsgIngke3Zib3h2bV9u YW1lfSIgPSAieCIgXTsgdGhlbgoJCQllY2hvICJZb3UgbXVzdCBkZWZpbmUgYSBWTSBuYW1lICh2 Ym94dm1fJHttYWNoaW5lfV9uYW1lKSIKCQkJZXhpdCAxCgkJZmkKCQlldmFsIHZib3h2bV91c2Vy PSJcJHt2Ym94dm1fJHttYWNoaW5lfV91c2VyOi19IgoJCWlmIFsgIngke3Zib3h2bV91c2VyfSIg PSAieCIgXTsgdGhlbgoJCQllY2hvICJZb3UgbXVzdCBkZWZpbmUgYSBWTSBleGVjdXRpb24gdXNl ciAodmJveHZtXyR7bWFjaGluZX1fdXNlcikiCgkJCWV4aXQgMQoJCWZpCgkJZXZhbCB2Ym94dm1f bG9nPSJcJHt2Ym94dm1fJHttYWNoaW5lfV9sb2c6LSR7dmJveHZtX25hbWV9LmxvZ30iCgkJZXZh bCB2Ym94dm1fdm5jcG9ydD0iXCR7dmJveHZtXyR7bWFjaGluZX1fdm5jcG9ydDotfSIKCQlldmFs IHZib3h2bV92bmNwYXNzd29yZD0iXCR7dmJveHZtXyR7bWFjaGluZX1fdm5jcGFzc3dvcmQ6LX0i CgkJaWYgWyAieCR7dmJveHZtX3ZuY3BvcnR9IiA9ICJ4IiAtYSAieCR7dmJveHZtX3ZuY3Bhc3N3 b3JkfSIgIT0gIngiIF07IHRoZW4KCQkJZWNobyAiV2FybmluZzogVk5DIHBhc3N3b3JkLCBidXQg bm8gVk5DIHBvcnQgc3BlY2lmaWVkIGZvciBtYWNoaW5lICcke21hY2hpbmV9JyAtIFZOQyB3aWxs IGJlIGRpc2FibGVkLiIKCQlmaQoJZWxzZQoJCWVjaG8gIiQwOiBleHRyYSBhcmd1bWVudCBpZ25v cmVkIgoJZmkKZWxzZQoJaWYgWyAieCR7dmJveHZtX21hY2hpbmVzfSIgIT0gIngiIC1hICJ4JDEi ICE9ICJ4IiBdOyB0aGVuCgkJZm9yIG1hY2hpbmUgaW4gJHt2Ym94dm1fbWFjaGluZXN9OyBkbwoJ CQlldmFsIF9lbmFibGU9Ilwke3Zib3h2bV8ke21hY2hpbmV9X2VuYWJsZX0iCgkJCWNhc2UgIngk e19lbmFibGU6LSR7dmJveHZtX2VuYWJsZX19IiBpbgoJCQl4fHhbTm5dW09vXXx4W05uXVtPb11b Tm5dW0VlXSkKICAgICAgICAgICAgZWNobyAiVkJveCBtYWNoaW5lICcke21hY2hpbmV9JyBza2lw cGVkIChkaXNhYmxlZCkuIgoJCQkJY29udGludWUKCQkJCTs7CgkJCXhbWXldW0VlXVtTc10pCgkJ CQk7OwoJCQkqKQoJCQkJaWYgdGVzdCAteiAiJF9lbmFibGUiOyB0aGVuCgkJCQkJX3Zhcj12Ym94 dm1fZW5hYmxlCgkJCQllbHNlCgkJCQkJX3Zhcj12Ym94dm1fIiR7bWFjaGluZX0iX2VuYWJsZQoJ CQkJZmkKCQkJCWVjaG8gIkJhZCB2YWx1ZSIgXAoJCQkJICAgICInJHtfZW5hYmxlOi0ke3Zib3h2 bV9lbmFibGV9fSciIFwKCQkJCSAgICAiZm9yICR7X3Zhcn0uICIgXAoJCQkJICAgICJWQm94IG1h Y2hpbmUgJyR7bWFjaGluZX0nIHNraXBwZWQuIgoJCQkJY29udGludWUKCQkJCTs7CgkJCWVzYWMK CQkJL3Vzci9sb2NhbC9ldGMvcmMuZC92Ym94dm0gJDEgJHttYWNoaW5lfQoJCQlyZXRjb2RlPSIk PyIKCQkJaWYgWyAiMCR7cmV0Y29kZX0iIC1uZSAwIF07IHRoZW4KCQkJCWZhaWxlZD0iJHttYWNo aW5lfSAoJHtyZXRjb2RlfSkgJHtmYWlsZWQ6LX0iCgkJCWVsc2UKCQkJCXN1Y2Nlc3M9IiR7bWFj aGluZX0gJHtzdWNjZXNzOi19IgoJCQlmaQoJCWRvbmUKCQlleGl0IDAKCWZpCmZpCgpzdGFydF9j bWQ9InZib3h2bV9zdGFydCIKc3RvcF9jbWQ9InZib3h2bV9zdG9wIgpzdGF0dXNfY21kPSJ2Ym94 dm1fc3RhdHVzIgpleHRyYV9jb21tYW5kcz0ic3RhdHVzIgoKaXNfcnVubmluZygpCnsKICAgIHJ1 bm5pbmd2bXM9ImBzdSAtbCAke3Zib3h2bV91c2VyfSAtYyAnZXhlYyAvdXNyL2xvY2FsL2Jpbi9W Qm94TWFuYWdlIGxpc3QgcnVubmluZ3ZtcydgIgogICAgbXl2bT0iYGVjaG8gJHtydW5uaW5ndm1z fSB8IGdyZXAgLWMgJHt2Ym94dm1fbmFtZX1gIgogICAgaWYgWyAiJHtteXZtfSIgLW5lICIwIiBd OyB0aGVuCiAgICAgICByZXR1cm4gMQogICAgZWxzZQogICAgICAgcmV0dXJuIDAKICAgIGZpCn0K CndhaXRfZm9yX3Bvd2VyZG93bigpCnsKICAgIGlzX3J1bm5pbmcKICAgIGlmIFsgIiQ/IiAtbmUg MCBdIDsgdGhlbgogICAgICAgc2xlZXAgNQogICAgICAgd2FpdF9mb3JfcG93ZXJkb3duCiAgICBm aQp9Cgp2Ym94dm1fc3RhcnQoKQp7CiAgICBpc19ydW5uaW5nCiAgICBpZiBbICIkPyIgLW5lIDAg XSA7IHRoZW4KICAgICAgIGVjaG8gIlZCb3ggbWFjaGluZSAnJHt2Ym94dm1fbmFtZX0nIGlzIGFs cmVhZHkgcnVubmluZy4iCiAgICBlbHNlCiAgICAgICBlY2hvICJWQm94IG1hY2hpbmUgJyR7dmJv eHZtX25hbWV9JyBwb3dlcmluZyB1cC4iCiAgICAgICBpZiBbICJ4JHt2Ym94dm1fdm5jcG9ydH0i ICE9ICJ4IiBdOyB0aGVuCiAgICAgICAgICBpZiBbICJ4JHt2Ym94dm1fdm5jcGFzc3dvcmR9IiA9 ICJ4IiBdOyB0aGVuCiAgICAgICAgICAgICB2bmNvcHRzPSItLXZuYyAtLXZuY3BvcnQgJHt2Ym94 dm1fdm5jcG9ydH0iCiAgICAgICAgICBlbHNlCiAgICAgICAgICAgICB2bmNvcHRzPSItLXZuYyAt LXZuY3BvcnQgJHt2Ym94dm1fdm5jcG9ydH0gLS12bmNwYXNzICR7dmJveHZtX3ZuY3Bhc3N3b3Jk fSIKICAgICAgICAgIGZpCiAgICAgICBmaQogICAgICAgaWYgWyAieCR7dmJveHZtX2xvZ30iICE9 ICJ4IiBdOyB0aGVuCiAgICAgICAgICBsb2dvcHRzPSIxPiR7dmJveHZtX2xvZ30gMj4mMSIKICAg ICAgIGZpCiAgICAgICBjbWQ9ImV4ZWMgL3Vzci9sb2NhbC9iaW4vVkJveEhlYWRsZXNzICR7dm5j b3B0c30gLXMgJHt2Ym94dm1fbmFtZX0gJHtsb2dvcHRzfSAmIgogICAgICAgc3UgLWwgJHt2Ym94 dm1fdXNlcn0gLWMgIiR7Y21kfSIKICAgIGZpCn0KCnZib3h2bV9zdG9wKCkKewogICAgaXNfcnVu bmluZwogICAgaWYgWyAiJD8iIC1uZSAwIF0gOyB0aGVuCiAgICAgICBlY2hvICJWQm94IG1hY2hp bmUgJyR7dmJveHZtX25hbWV9JyBwb3dlcmluZyBkb3duLiIKICAgICAgIHN1IC1sICR7dmJveHZt X3VzZXJ9IC1jICJleGVjIC91c3IvbG9jYWwvYmluL1ZCb3hNYW5hZ2UgY29udHJvbHZtICR7dmJv eHZtX25hbWV9IGFjcGlwb3dlcmJ1dHRvbiIKICAgICAgIHdhaXRfZm9yX3Bvd2VyZG93bgogICAg ZWxzZQogICAgICAgZWNobyAiVkJveCBtYWNoaW5lICcke3Zib3h2bV9uYW1lfScgbm90IHJ1bm5p bmcuIgogICAgZmkKfQoKdmJveHZtX3Jlc3RhcnQoKQp7CiAgICBpc19ydW5uaW5nCiAgICBpZiBb ICIkPyIgLW5lIDAgXSA7IHRoZW4KICAgICAgIGVjaG8gIlZCb3ggbWFjaGluZSAnJHt2Ym94dm1f bmFtZX0nIHBvd2VyaW5nIGRvd24uIgogICAgICAgc3UgLWwgJHt2Ym94dm1fdXNlcn0gLWMgImV4 ZWMgL3Vzci9sb2NhbC9iaW4vVkJveE1hbmFnZSBjb250cm9sdm0gJHt2Ym94dm1fbmFtZX0gYWNw aXBvd2VyYnV0dG9uIgogICAgICAgd2FpdF9mb3JfcG93ZXJkb3duCiAgICBmaQogICAgdmJveHZt X3N0YXJ0Cn0KCnZib3h2bV9zdGF0dXMoKQp7CiAgICBpc19ydW5uaW5nCiAgICBpZiBbICIkPyIg LW5lIDAgXSA7IHRoZW4KICAgICAgIGVjaG8gIlZCb3ggbWFjaGluZSAnJHt2Ym94dm1fbmFtZX0n IGlzIHJ1bm5pbmcuIgogICAgZWxzZQogICAgICAgZWNobyAiVkJveCBtYWNoaW5lICcke3Zib3h2 bV9uYW1lfScgaXMgcG93ZXJlZCBkb3duLiIKICAgIGZpCn0KCnJ1bl9yY19jb21tYW5kICIkMSIK --_002_634914A010D0B943A035D226786325D422B76F9275EXVMBX02012ex_-- From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 08:45:22 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 896F51065673 for ; Wed, 13 Apr 2011 08:45:22 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id 103528FC17 for ; Wed, 13 Apr 2011 08:45:21 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 13BBBD; Wed, 13 Apr 2011 10:45:29 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Wed, 13 Apr 2011 10:45:21 +0200 From: Bernhard Froehlich To: Tobias Oberstein In-Reply-To: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> References: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> Message-ID: <41b7269d367ea0d98c3bd4071358d3ab@bluelife.at> X-Sender: decke@bluelife.at User-Agent: Roundcube Webmail/0.5.1 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B020B.4DA562A0.0203,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: freebsd-emulation@freebsd.org Subject: Re: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 08:45:22 -0000 On Tue, 12 Apr 2011 12:15:37 -0700, Tobias Oberstein wrote: > I wanted to configure multiple VirtualBox VMs to startup > automatically at boot time and generally be a nice citizen to the > FreeBSD way of starting up stuff. > > Using that rc.d script (see attached) you can configure starting up > multiple VirtualBox VMs from /etc/rc.conf: Sorry it's probably my fault because you're the 3rd one who has written such a script but we already have one for 4.0. http://svn.bluelife.at/index.cgi/blueports/view/emulators/virtualbox-ose-devel/files/vboxheadless.in It is a bit less complicated and can also manage multiple VMs but it does not have separated flags per VM. # vboxheadless_enable (bool): Set to "NO" by default. # Set it to "YES" to enable vboxheadless. # vboxheadless_user (str): User account to run with # vboxheadless_list (str): Space Separated VBox Hostnames # vboxheadless_flags (str): Custom flags for VBoxHeadless -- Bernhard Fröhlich http://www.bluelife.at/ From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 11:53:46 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EEEF106564A; Wed, 13 Apr 2011 11:53:46 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id EFAF58FC0A; Wed, 13 Apr 2011 11:53:45 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 37C7EA; Wed, 13 Apr 2011 13:38:48 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Wed, 13 Apr 2011 13:38:40 +0200 From: Bernhard Froehlich To: , Message-ID: X-Sender: decke@FreeBSD.org User-Agent: Roundcube Webmail/0.5.1 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0206.4DA58B3F.01CD,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: Subject: Future direction of virtualbox-ose port on FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 11:53:46 -0000 Hi VirtualBox users. I'm sending this because there are a few problems in how we currently maintain the emulators/virtualbox-ose ports on FreeBSD. I want to outline my main concerns and propose a better way to solve that. The VirtualBox port is already very critical for many users and very complex at the same time so it gets harder and harder to update the port to new major versions without getting too much negative feedback from users. In the past we did a call for testers when upstream released a new major version (3.1.0, 3.2.0, 4.0.0) and got the update in the tree after their first patch release (3.1.2, 3.2.2) but now for the 4.0 release cycle we need at least to wait for 4.0.6 to get a useable state. Because of this long delay more and more people are using the cft and our development ports. We do not want that average users use that ports just to get to a newer version because they contain additional risks and are usually unstable versions (no support, irregular updates, broken ...). But we also do not want to make it harder for our testers to provide feedback because your feedback is very valuable to us and we need each tester we have. So we currently have these problems: 1) we need a stable version around if you hit a problem at the new version 2) we need to get new major versions out earlier to testers 3) we need to attract more testers We could solve this problems with "unstable" ports and people can use them if they care about it but we don't have that infrastructure in FreeBSD yet. We could also create -devel ports but that only solves one part of the problem and generates an huge amount of work on our side. Our internal -devel ports are most of the time built with "trunk" code so more or less alpha quality code. So that's not going to fly either. Instead we came up with two improvements: 1) Before a major version hits the tree we do a repocopy with the current version. So in case you have a problem with the major version you can fallback to the old version. It will be marked DEPRECATED with the next major update and removed 2 months after that. Major updates for vbox are 3.1.x, 3.2.x, 4.0.x 2) We provide binary packages and PBIs for virtualbox when we do a Call for Testers and probably also on a regular basis to lower the burden to test it. That only works for FreeBSD releases because the kernel module needs to be build for a specific kernel. So if you use a STABLE kernel you won't benefit from that. That means for us that we can bring in a new major version a bit earlier than now but we will continue to do extensive testing first. So you will still not see a .0 release in the ports. What do you think about it? Any better ideas? Your VirtualBox on FreeBSD Team, decke@, bapt@, (i. a. beat@) -- Bernhard Froehlich http://www.bluelife.at/ From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 12:28:48 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B4941065670 for ; Wed, 13 Apr 2011 12:28:48 +0000 (UTC) (envelope-from tobias.oberstein@tavendo.de) Received: from EXHUB020-3.exch020.serverdata.net (exhub020-3.exch020.serverdata.net [206.225.164.30]) by mx1.freebsd.org (Postfix) with ESMTP id 408E38FC17 for ; Wed, 13 Apr 2011 12:28:48 +0000 (UTC) Received: from EXVMBX020-12.exch020.serverdata.net ([169.254.3.111]) by EXHUB020-3.exch020.serverdata.net ([206.225.164.30]) with mapi; Wed, 13 Apr 2011 05:28:06 -0700 From: Tobias Oberstein To: Bernhard Froehlich Date: Wed, 13 Apr 2011 05:28:44 -0700 Thread-Topic: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf Thread-Index: Acv5twjpKG1ElYcHRm2estD10dkzfgAHeogg Message-ID: <634914A010D0B943A035D226786325D422B76F9354@EXVMBX020-12.exch020.serverdata.net> References: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> <41b7269d367ea0d98c3bd4071358d3ab@bluelife.at> In-Reply-To: <41b7269d367ea0d98c3bd4071358d3ab@bluelife.at> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "freebsd-emulation@freebsd.org" Subject: AW: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 12:28:48 -0000 SGkgQmVybmhhcmQsDQoNCj4gPiBJIHdhbnRlZCB0byBjb25maWd1cmUgbXVsdGlwbGUgVmlydHVh bEJveCBWTXMgdG8gc3RhcnR1cCBhdXRvbWF0aWNhbGx5DQo+ID4gYXQgYm9vdCB0aW1lIGFuZCBn ZW5lcmFsbHkgYmUgYSBuaWNlIGNpdGl6ZW4gdG8gdGhlIEZyZWVCU0Qgd2F5IG9mDQo+ID4gc3Rh cnRpbmcgdXAgc3R1ZmYuDQo+ID4NCj4gPiBVc2luZyB0aGF0IHJjLmQgc2NyaXB0IChzZWUgYXR0 YWNoZWQpIHlvdSBjYW4gY29uZmlndXJlIHN0YXJ0aW5nIHVwDQo+ID4gbXVsdGlwbGUgVmlydHVh bEJveCBWTXMgZnJvbSAvZXRjL3JjLmNvbmY6DQo+IA0KPiBTb3JyeSBpdCdzIHByb2JhYmx5IG15 IGZhdWx0IGJlY2F1c2UgeW91J3JlIHRoZSAzcmQgb25lIHdobyBoYXMgd3JpdHRlbiBzdWNoDQo+ IGEgc2NyaXB0IGJ1dCB3ZSBhbHJlYWR5IGhhdmUgb25lIGZvciA0LjAuDQoNCkFoLCBvazspDQoN Cj4gDQo+IGh0dHA6Ly9zdm4uYmx1ZWxpZmUuYXQvaW5kZXguY2dpL2JsdWVwb3J0cy92aWV3L2Vt dWxhdG9ycy92aXJ0dWFsYm94LW9zZS0NCj4gZGV2ZWwvZmlsZXMvdmJveGhlYWRsZXNzLmluDQo+ IA0KPiBJdCBpcyBhIGJpdCBsZXNzIGNvbXBsaWNhdGVkIGFuZCBjYW4gYWxzbyBtYW5hZ2UgbXVs dGlwbGUgVk1zIGJ1dCBpdCBkb2VzIG5vdA0KPiBoYXZlIHNlcGFyYXRlZCBmbGFncyBwZXIgVk0u DQoNCk1pbmUgaXMgbW9yZSBjb21wbGljYXRlZCwgeWVzIC4uIGJ1dCBpdCdzIG1vcmUgb3IgbGVz cyBhIGRpcmVjdCBhZGFwdGlvbiBvZiB0aGUgc2NyaXB0IGZvciBhcGFjaGUyMi4NCg0KQWxzbywg SSBkZWZpbml0ZWx5IG5lZWQgZmxhZ3MgcGVyIFZNLCBzaW5jZSB3ZSBydW4gZWFjaCBWTQ0KDQpp KSB1bmRlciBhIGRlZGljYXRlZCB1c2VyDQppaSkgb24gYSBzZXBhcmF0ZSBaRlMgZmlsZXN5c3Rl bQ0KaWlpKSB3aXRoIHNwZWNpZmljIFZOQyBwb3J0L3Bhc3N3b3JkDQoNCmkraWlpIHJlcXVpcmVz IGZsYWdzIHBlciBWTS4NCg0KaWlpKSBpcyBmb3Igb2J2aW91cyByZWFzb25zIC4uIG5lZWQgdG8g Y29ubmVjdCB0byBlYWNoIFZNIG9uIGEgZGlzdGluY3QgcG9ydC4NCg0KaSkgaXMgZm9yIGEpIHNl Y3VyaXR5IGFuZCBiKSBtYW5hZ2VtZW50IG9mIFZNcyBieSBkaWZmZXJlbnQgIlZNIGFkbWlucyIg d2hpY2ggZG9uJ3QgaGF2ZSB0byBiZSByb290IG9yIGhhdmUgYSB1c2VyIHdoaWNoIHdvdWxkIG1h bmFnZSBhbGwgVk1zLg0KDQo9PQ0KDQpJIHRoZXJlIGludGVyZXN0IHRvIGNvbnNvbGlkYXRlIG91 ciBzY3JpcHRzPw0KDQpUb2JpYXMNCg0KPiANCj4gIyB2Ym94aGVhZGxlc3NfZW5hYmxlIChib29s KTogICBTZXQgdG8gIk5PIiBieSBkZWZhdWx0Lg0KPiAjICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIFNldCBpdCB0byAiWUVTIiB0byBlbmFibGUgdmJveGhlYWRsZXNzLg0KPiAjIHZib3ho ZWFkbGVzc191c2VyIChzdHIpOiAgICAgIFVzZXIgYWNjb3VudCB0byBydW4gd2l0aA0KPiAjIHZi b3hoZWFkbGVzc19saXN0IChzdHIpOiAgICAgIFNwYWNlIFNlcGFyYXRlZCBWQm94IEhvc3RuYW1l cw0KPiAjIHZib3hoZWFkbGVzc19mbGFncyAoc3RyKTogICAgIEN1c3RvbSBmbGFncyBmb3IgVkJv eEhlYWRsZXNzDQo+IA0KPiAtLQ0KPiBCZXJuaGFyZCBGcsO2aGxpY2gNCj4gaHR0cDovL3d3dy5i bHVlbGlmZS5hdC8NCg== From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 12:36:42 2011 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0134D106566B; Wed, 13 Apr 2011 12:36:42 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id 7BCE98FC15; Wed, 13 Apr 2011 12:36:41 +0000 (UTC) Received: from [192.168.0.237] (87-194-64-74.dsl.cnl.uk.net [87.194.64.74]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id p3DCOFO2084520; Wed, 13 Apr 2011 13:24:15 +0100 (BST) (envelope-from rb@gid.co.uk) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Bob Bishop In-Reply-To: Date: Wed, 13 Apr 2011 13:24:09 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <3095B667-A2DD-40A6-95FE-0A59DEF853CF@gid.co.uk> References: To: Bernhard Froehlich X-Mailer: Apple Mail (2.1084) Cc: emulation@freebsd.org, ports@freebsd.org Subject: Re: Future direction of virtualbox-ose port on FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 12:36:42 -0000 Hi, On 13 Apr 2011, at 12:38, Bernhard Froehlich wrote: > Hi VirtualBox users. >=20 > I'm sending this because there are a few problems in how we currently > maintain the emulators/virtualbox-ose ports on FreeBSD. [etc] A question: woud there be any advantage in separating out the kernel = module from the rest of it? Just asking, because I have no idea about = the stability of the components and interfaces. -- Bob Bishop +44 (0)118 940 1243 rb@gid.co.uk fax +44 (0)118 940 1295 mobile +44 (0)783 626 4518 From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 14:46:34 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3631D106566C for ; Wed, 13 Apr 2011 14:46:34 +0000 (UTC) (envelope-from martin@lispworks.com) Received: from lwfs1-cam.cam.lispworks.com (mail.lispworks.com [193.34.186.230]) by mx1.freebsd.org (Postfix) with ESMTP id C687A8FC13 for ; Wed, 13 Apr 2011 14:46:33 +0000 (UTC) Received: from higson.cam.lispworks.com (higson [192.168.1.7]) by lwfs1-cam.cam.lispworks.com (8.14.3/8.14.3) with ESMTP id p3DEaPQm031630; Wed, 13 Apr 2011 15:36:25 +0100 (BST) (envelope-from martin@lispworks.com) Received: from higson.cam.lispworks.com (localhost.localdomain [127.0.0.1]) by higson.cam.lispworks.com (8.14.4) id p3DEaPuL019978; Wed, 13 Apr 2011 15:36:25 +0100 Received: (from martin@localhost) by higson.cam.lispworks.com (8.14.4/8.14.4/Submit) id p3DEaPmO019975; Wed, 13 Apr 2011 15:36:25 +0100 Date: Wed, 13 Apr 2011 15:36:25 +0100 Message-Id: <201104131436.p3DEaPmO019975@higson.cam.lispworks.com> From: Martin Simmons To: freebsd-emulation@freebsd.org In-reply-to: <634914A010D0B943A035D226786325D422B76F9275@EXVMBX020-12.exch020.serverdata.net> (message from Tobias Oberstein on Tue, 12 Apr 2011 14:09:24 -0700) References: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> <4DA4A6C7.6050803@FreeBSD.org> <634914A010D0B943A035D226786325D422B76F9205@EXVMBX020-12.exch020.serverdata.net> <4DA4AE8A.6020308@FreeBSD.org> <634914A010D0B943A035D226786325D422B76F9275@EXVMBX020-12.exch020.serverdata.net> Subject: Re: AW: AW: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 14:46:34 -0000 >>>>> On Tue, 12 Apr 2011 14:09:24 -0700, Tobias Oberstein said: > > In the meantime, I've implemented stop_cmd as synchronous (it does not > return until VM is stopped) and also restart_cmd. > > I somehow works .. but there seems to be a watchdog in place: I get > > "watchdog timeout 30s expired ... shutodown NOW" > > Is it possible to override the 30s watchdog? Maybe set rcshutdown_timeout (see man rc.conf)? __Martin From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 15:50:32 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C516106566C for ; Wed, 13 Apr 2011 15:50:32 +0000 (UTC) (envelope-from tobias.oberstein@tavendo.de) Received: from EXHUB020-5.exch020.serverdata.net (exhub020-5.exch020.serverdata.net [206.225.164.32]) by mx1.freebsd.org (Postfix) with ESMTP id 1CA578FC0A for ; Wed, 13 Apr 2011 15:50:31 +0000 (UTC) Received: from EXVMBX020-12.exch020.serverdata.net ([169.254.3.111]) by EXHUB020-5.exch020.serverdata.net ([206.225.164.32]) with mapi; Wed, 13 Apr 2011 08:49:49 -0700 From: Tobias Oberstein To: Martin Simmons , "freebsd-emulation@freebsd.org" Date: Wed, 13 Apr 2011 08:50:28 -0700 Thread-Topic: AW: AW: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf Thread-Index: Acv56YdWQx7aMzuWTaCLsx+t5X3Y2QACJ8GQ Message-ID: <634914A010D0B943A035D226786325D422B76F94CA@EXVMBX020-12.exch020.serverdata.net> References: <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net> <4DA4A6C7.6050803@FreeBSD.org> <634914A010D0B943A035D226786325D422B76F9205@EXVMBX020-12.exch020.serverdata.net> <4DA4AE8A.6020308@FreeBSD.org> <634914A010D0B943A035D226786325D422B76F9275@EXVMBX020-12.exch020.serverdata.net> <201104131436.p3DEaPmO019975@higson.cam.lispworks.com> In-Reply-To: <201104131436.p3DEaPmO019975@higson.cam.lispworks.com> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: AW: AW: AW: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 15:50:32 -0000 > > In the meantime, I've implemented stop_cmd as synchronous (it does not > > return until VM is stopped) and also restart_cmd. > > > > I somehow works .. but there seems to be a watchdog in place: I get > > > > "watchdog timeout 30s expired ... shutodown NOW" > > > > Is it possible to override the 30s watchdog? >=20 > Maybe set rcshutdown_timeout (see man rc.conf)? Ah, ok. Thank you! It works .. Note: after reading up, above rc.conf variable is the "shutdown soft limit"= . There is also a "shutdown hard limit", which can be set kern.init_shutdown_timeout and which defaults to 120s. So when using rcshutdown_timeout > 120 one needs to set kern.init_shutdown_timeout >=3D rcshutdown_timeout also. http://people.freebsd.org/~rse/work/shutdown-timeout.txt From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 17:05:03 2011 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 741061065672; Wed, 13 Apr 2011 17:05:03 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id 035CF8FC21; Wed, 13 Apr 2011 17:05:02 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 3C647D; Wed, 13 Apr 2011 18:49:34 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Wed, 13 Apr 2011 18:49:26 +0200 From: Bernhard Froehlich To: Bob Bishop In-Reply-To: <3095B667-A2DD-40A6-95FE-0A59DEF853CF@gid.co.uk> References: <3095B667-A2DD-40A6-95FE-0A59DEF853CF@gid.co.uk> Message-ID: X-Sender: decke@bluelife.at User-Agent: Roundcube Webmail/0.5.1 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0209.4DA5D415.0111,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: emulation@freebsd.org, ports@freebsd.org Subject: Re: Future direction of virtualbox-ose port on FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 17:05:03 -0000 On Wed, 13 Apr 2011 13:24:09 +0100, Bob Bishop wrote: > Hi, > > On 13 Apr 2011, at 12:38, Bernhard Froehlich wrote: > >> Hi VirtualBox users. >> >> I'm sending this because there are a few problems in how we currently >> maintain the emulators/virtualbox-ose ports on FreeBSD. [etc] > > A question: woud there be any advantage in separating out the kernel > module from the rest of it? Just asking, because I have no idea about > the stability of the components and interfaces. You mean a separate port for the kernel module? Yes, emulators/virtualbox-ose-kmod is exactly that. Sorry if I was not clear enough but everyone will be able to use the binary packages but if he has a STABLE kernel he will have to compile the corresponding -kmod port nevertheless. Using old kernel modules with newer VirtualBox versions is not supported (especially not between major versions which we are talking about here). -- Bernhard Fröhlich http://www.bluelife.at/ From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 17:08:54 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71A10106566C; Wed, 13 Apr 2011 17:08:54 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 00E1C8FC1E; Wed, 13 Apr 2011 17:08:53 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id ABED81E00228; Wed, 13 Apr 2011 19:08:52 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p3DH4kgl084591; Wed, 13 Apr 2011 19:04:46 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p3DH4k3m084590; Wed, 13 Apr 2011 19:04:46 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 13 Apr 2011 19:04:46 +0200 To: Ivan Klymenko Message-ID: <20110413170446.GA84392@triton8.kn-bremen.de> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110412230426.550e8155@ukr.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: emulation@FreeBSD.org, Juergen Lock , multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 17:08:54 -0000 On Tue, Apr 12, 2011 at 11:04:26PM +0300, Ivan Klymenko wrote: > ?? Tue, 12 Apr 2011 23:53:43 +0400 > "Andrey V. Elsukov" ??????????: > > > On 12.04.2011 23:29, Ivan Klymenko wrote: > > > ?? Tue, 12 Apr 2011 23:02:04 +0400 > > > "Andrey V. Elsukov" ??????????: > > > > > >> On 12.04.2011 21:22, Juergen Lock wrote: > > >>> > > >>> http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch > > >>> (for head, untested) > > >> > > >> I updated the patch for head/ > > >> http://people.freebsd.org/~ae/v4l2.diff > > >> > > >>> Note: At least the version of skype in ports still won't work > > >>> with all cameras supported by webcamd because skype wants yuv > > >>> 4:2:0 pixel format and some webcams only support jpeg (like a > > >>> gspca zc3xx one I dug up here), maybe the newer skype version > > >>> that Andriy got working, > > >>> > > >>> http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-February/011696.html > > >>> > > >>> will have support for such cameras, or if not maybe a solution > > >>> like this Linux post linked, > > >> > > >> I did some tests and it does not make my skype working. > > >> Also i tried install linux version of libv4l and with preloaded > > >> v4l1compat.so now skype can turn camera on, but it shows only > > >> green screen :( > > >> > > > > > > Thank you all for your good work! > > > > > > export XLIB_SKIP_ARGB_VISUALS=1 > > > /usr/local/share/skype/skype --resources=/usr/local/share/skype $@ > > > helps eliminate the green screen > > > > Yeah :) > > Now it is pink with some green motions :) > > Oops :( it's true... > > > > > > I have the same problem - skype displays on the console: > > > Skype V4L2: Could not find a suitable capture format > > > Skype V4L2: Could not find a suitable capture format > > > Starting the process... > > > > Yes. Without libv4l it displays the same message. > > Try to find libv4l-0.6.2-1.fc10.i386.rpm and install it like > > described here: > > http://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html > > > > You can use: > > export LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so > > # export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so > > /usr/local/share/skype/skype --resources=/usr/local/share/skype $@ > > > > In this version of skype with the message: > > libv4l2: error setting pixformat: Invalid argument > Starting the process... > Skype Xv: Xv ports available: 32 > Skype XShm: XShm support enabled > Skype Xv: Using Xv port 310 > libv4l2: error dequeuing buf: Invalid argument > Sorry about that, I guess Olli tested on i386, there still were 32 -> 64 bit struct conversions wrong/missing. I just updated the patches, now skype's video test also works for my camera using this Linux libv4l like mentioned above: http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11/Fedora/i386/os/Packages/libv4l-0.5.9-1.fc11.i586.rpm Links to the patches again: http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-8-test.patch (for 8, this is what I tested) http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch (for head, should at least apply now) Enjoy! :) Juergen From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 17:44:02 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 2327D106566B; Wed, 13 Apr 2011 17:44:02 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 70E44150DA2; Wed, 13 Apr 2011 17:44:00 +0000 (UTC) Message-ID: <4DA5E0DB.2020009@FreeBSD.org> Date: Wed, 13 Apr 2011 21:43:55 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Thunderbird/3.1.9 MIME-Version: 1.0 To: Juergen Lock References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> In-Reply-To: <20110413170446.GA84392@triton8.kn-bremen.de> X-Enigmail-Version: 1.1.2 OpenPGP: id=10C8A17A Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC9C61AFCAB8CED93294B58E6" Cc: Ivan Klymenko , emulation@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 17:44:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC9C61AFCAB8CED93294B58E6 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 13.04.2011 21:04, Juergen Lock wrote: > Sorry about that, I guess Olli tested on i386, there still were 32 > -> 64 bit struct conversions wrong/missing. I just updated the > patches, now skype's video test also works for my camera using this > Linux libv4l like mentioned above: >=20 > http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11= /Fedora/i386/os/Packages/libv4l-0.5.9-1.fc11.i586.rpm >=20 > Links to the patches again: >=20 > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-8-test.patch > (for 8, this is what I tested) >=20 > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch > (for head, should at least apply now) Hi, thank you very much for your work! Now it works! 9.0-CURRENT amd64 --=20 WBR, Andrey V. Elsukov --------------enigC9C61AFCAB8CED93294B58E6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJNpeDeAAoJEAHF6gQQyKF6yjoIAMGJJV8AF+oK+UgbcN/qwqoV LfEgskWl5O1v4A0svVTyLtFU9ameQmkyLV3b03bvBRzfkf9Nyi1tt9ZSMm69F7Y6 REBajHtoJ0Btkci8Y7/UJEcJiJuoDYV40buOszBzRxdUF40biQPLXQB4ISZL2gEQ VanQwYs72FNjSgUOkFj9wXA7OoXt5wY4XN7GuaIQL5ymANEPVuD+COk1VWT7GXVr ZFieC9r81IM8quZtpaLLHSoG9xPOW1MXEllQ8i5ZjIh3h+xNBT+GbJFYTox4EjeR A6mXLv8xmbAisihPnQkW6N17uoMi4HyVXD5uOsbrtsCX69nspifYb/MZYoBcus4= =elIP -----END PGP SIGNATURE----- --------------enigC9C61AFCAB8CED93294B58E6-- From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 18:16:47 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66D0F1065670; Wed, 13 Apr 2011 18:16:47 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (unknown [IPv6:2001:aa8:ffff:2::fff0:2]) by mx1.freebsd.org (Postfix) with ESMTP id E92248FC0A; Wed, 13 Apr 2011 18:16:46 +0000 (UTC) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.4/8.14.4) with ESMTP id p3DIGivr098820; Wed, 13 Apr 2011 20:16:44 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.4/8.14.4/Submit) id p3DIGiEp098596; Wed, 13 Apr 2011 20:16:44 +0200 (CEST) (envelope-from lars) Date: Wed, 13 Apr 2011 20:16:44 +0200 From: Lars Engels To: "Andrey V. Elsukov" Message-ID: <20110413181644.GE56437@e-new.0x20.net> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> <4DA5E0DB.2020009@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7cXxibKNEnJOqEg4" Content-Disposition: inline In-Reply-To: <4DA5E0DB.2020009@FreeBSD.org> X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.1-RELEASE User-Agent: Mutt/1.5.21 (2010-09-15) Cc: emulation@FreeBSD.org, Juergen Lock , multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 18:16:47 -0000 --7cXxibKNEnJOqEg4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 13, 2011 at 09:43:55PM +0400, Andrey V. Elsukov wrote: > On 13.04.2011 21:04, Juergen Lock wrote: > > Sorry about that, I guess Olli tested on i386, there still were 32 > > -> 64 bit struct conversions wrong/missing. I just updated the > > patches, now skype's video test also works for my camera using this > > Linux libv4l like mentioned above: > >=20 > > http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11= /Fedora/i386/os/Packages/libv4l-0.5.9-1.fc11.i586.rpm > >=20 > > Links to the patches again: > >=20 > > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-8-test.patch > > (for 8, this is what I tested) > >=20 > > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch > > (for head, should at least apply now) >=20 > Hi, >=20 > thank you very much for your work! Now it works! > 9.0-CURRENT amd64 Dito! :-) --7cXxibKNEnJOqEg4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk2l6IwACgkQKc512sD3afhEKACePfSq2SaVxZ69kq6yVg/3mgot VP4An1dISo7h9GRfgaoeumxKcly/cHkV =563f -----END PGP SIGNATURE----- --7cXxibKNEnJOqEg4-- From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 18:24:23 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 434E6106564A; Wed, 13 Apr 2011 18:24:23 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id E53C88FC16; Wed, 13 Apr 2011 18:24:22 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 075881E0022F; Wed, 13 Apr 2011 20:24:21 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p3DILvX2087739; Wed, 13 Apr 2011 20:21:57 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p3DILvv6087738; Wed, 13 Apr 2011 20:21:57 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 13 Apr 2011 20:21:57 +0200 To: "Andrey V. Elsukov" Message-ID: <20110413182157.GA87724@triton8.kn-bremen.de> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> <4DA5E0DB.2020009@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DA5E0DB.2020009@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Ivan Klymenko , emulation@FreeBSD.org, Juergen Lock , multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 18:24:23 -0000 On Wed, Apr 13, 2011 at 09:43:55PM +0400, Andrey V. Elsukov wrote: > On 13.04.2011 21:04, Juergen Lock wrote: > > Sorry about that, I guess Olli tested on i386, there still were 32 > > -> 64 bit struct conversions wrong/missing. I just updated the > > patches, now skype's video test also works for my camera using this > > Linux libv4l like mentioned above: > > > > http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11/Fedora/i386/os/Packages/libv4l-0.5.9-1.fc11.i586.rpm > > > > Links to the patches again: > > > > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-8-test.patch > > (for 8, this is what I tested) > > > > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch > > (for head, should at least apply now) > > Hi, > > thank you very much for your work! Now it works! > 9.0-CURRENT amd64 Yay! :) Thanx for testing, Juergen From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 19:17:24 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CE10106566B; Wed, 13 Apr 2011 19:17:24 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.120]) by mx1.freebsd.org (Postfix) with ESMTP id C1F988FC14; Wed, 13 Apr 2011 19:17:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=XFYfH7tDAV8Nf61PfVruxvUuf6kvqlwBFzM5LyWmMJY=; b=atqg6wM7BxCr1kiT/qcKhOLzEJaXzf1gipM6oI7wGPSUouWRzHa3l+lWay+WcBT/62RV7QvnKTbwJWRNPf8kWCRiKvOjfvl8QvRXTMwNWpbG9laiFRG0fCmv0mxuwaa7Gubu2d6aBQRGM/YBRohzTqxNpk+MWg6kGWJ/rS8DyrQ=; Received: from [46.185.0.93] (helo=localhost) by fsm1.ukr.net with esmtps ID 1QA5Yq-000Evz-Rt ; Wed, 13 Apr 2011 22:17:09 +0300 Date: Wed, 13 Apr 2011 22:17:21 +0300 From: Ivan Klymenko To: Juergen Lock Message-ID: <20110413221721.05e7cb50@ukr.net> In-Reply-To: <20110413170446.GA84392@triton8.kn-bremen.de> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: emulation@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 19:17:24 -0000 =D0=92 Wed, 13 Apr 2011 19:04:46 +0200 Juergen Lock =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Tue, Apr 12, 2011 at 11:04:26PM +0300, Ivan Klymenko wrote: > > ?? Tue, 12 Apr 2011 23:53:43 +0400 > > "Andrey V. Elsukov" ??????????: > >=20 > > > On 12.04.2011 23:29, Ivan Klymenko wrote: > > > > ?? Tue, 12 Apr 2011 23:02:04 +0400 > > > > "Andrey V. Elsukov" ??????????: > > > >=20 > > > >> On 12.04.2011 21:22, Juergen Lock wrote: > > > >>> > > > >>> http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch > > > >>> (for head, untested) > > > >> > > > >> I updated the patch for head/ > > > >> http://people.freebsd.org/~ae/v4l2.diff > > > >> > > > >>> Note: At least the version of skype in ports still won't > > > >>> work with all cameras supported by webcamd because skype > > > >>> wants yuv 4:2:0 pixel format and some webcams only support > > > >>> jpeg (like a gspca zc3xx one I dug up here), maybe the newer > > > >>> skype version that Andriy got working, > > > >>> > > > >>> http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-Febru= ary/011696.html > > > >>> > > > >>> will have support for such cameras, or if not maybe a solution > > > >>> like this Linux post linked, > > > >> > > > >> I did some tests and it does not make my skype working. > > > >> Also i tried install linux version of libv4l and with preloaded > > > >> v4l1compat.so now skype can turn camera on, but it shows only > > > >> green screen :( > > > >> > > > >=20 > > > > Thank you all for your good work! > > > >=20 > > > > export XLIB_SKIP_ARGB_VISUALS=3D1 > > > > /usr/local/share/skype/skype --resources=3D/usr/local/share/skype > > > > $@ helps eliminate the green screen > > >=20 > > > Yeah :) > > > Now it is pink with some green motions :) > >=20 > > Oops :( it's true... > >=20 > > >=20 > > > > I have the same problem - skype displays on the console: > > > > Skype V4L2: Could not find a suitable capture format > > > > Skype V4L2: Could not find a suitable capture format > > > > Starting the process... > > >=20 > > > Yes. Without libv4l it displays the same message. > > > Try to find libv4l-0.6.2-1.fc10.i386.rpm and install it like > > > described here: > > > http://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html > > >=20 > > > You can use: > > > export LD_PRELOAD=3D/usr/lib/libv4l/v4l2convert.so > > > # export LD_PRELOAD=3D/usr/lib/libv4l/v4l1compat.so > > > /usr/local/share/skype/skype --resources=3D/usr/local/share/skype $@ > > >=20 > >=20 > > In this version of skype with the message: > >=20 > > libv4l2: error setting pixformat: Invalid argument > > Starting the process... > > Skype Xv: Xv ports available: 32 > > Skype XShm: XShm support enabled > > Skype Xv: Using Xv port 310 > > libv4l2: error dequeuing buf: Invalid argument > >=20 > Sorry about that, I guess Olli tested on i386, there still were 32 > -> 64 bit struct conversions wrong/missing. I just updated the > patches, now skype's video test also works for my camera using this > Linux libv4l like mentioned above: >=20 > http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11/F= edora/i386/os/Packages/libv4l-0.5.9-1.fc11.i586.rpm >=20 > Links to the patches again: >=20 > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-8-test.patch > (for 8, this is what I tested) >=20 > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch > (for head, should at least apply now) >=20 > Enjoy! :) > Juergen >=20 >=20 Hi! Thank you very, very, very much for your work! Now it works! :D 9.0-CURRENT amd64 From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 20:32:47 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FBD8106566C; Wed, 13 Apr 2011 20:32:47 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id C04738FC0A; Wed, 13 Apr 2011 20:32:46 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 751251E000EB; Wed, 13 Apr 2011 22:32:45 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p3DKUoEV091526; Wed, 13 Apr 2011 22:30:50 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p3DKUoqQ091525; Wed, 13 Apr 2011 22:30:50 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 13 Apr 2011 22:30:50 +0200 To: Juergen Lock Message-ID: <20110413203050.GA91509@triton8.kn-bremen.de> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> <4DA5E0DB.2020009@FreeBSD.org> <20110413182157.GA87724@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110413182157.GA87724@triton8.kn-bremen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Ivan Klymenko , "Andrey V. Elsukov" , emulation@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 20:32:47 -0000 On Wed, Apr 13, 2011 at 08:21:57PM +0200, Juergen Lock wrote: > On Wed, Apr 13, 2011 at 09:43:55PM +0400, Andrey V. Elsukov wrote: > > On 13.04.2011 21:04, Juergen Lock wrote: > > > Sorry about that, I guess Olli tested on i386, there still were 32 > > > -> 64 bit struct conversions wrong/missing. I just updated the > > > patches, now skype's video test also works for my camera using this > > > Linux libv4l like mentioned above: > > > > > > http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11/Fedora/i386/os/Packages/libv4l-0.5.9-1.fc11.i586.rpm > > > > > > Links to the patches again: > > > > > > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-8-test.patch > > > (for 8, this is what I tested) > > > > > > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch > > > (for head, should at least apply now) > > > > Hi, > > > > thank you very much for your work! Now it works! > > 9.0-CURRENT amd64 > > Yay! :) And I just found my cam now also works with flash should anyone ever need that: http://www.testmycam.com/ :), Juergen From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 14 04:09:22 2011 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4127B1065673 for ; Thu, 14 Apr 2011 04:09:22 +0000 (UTC) (envelope-from mnorwick@centurytel.net) Received: from mail941c35.nsolutionszone.com (mail941c35.nsolutionszone.com [209.235.152.131]) by mx1.freebsd.org (Postfix) with ESMTP id CD6A28FC0A for ; Thu, 14 Apr 2011 04:09:21 +0000 (UTC) X-Authenticated-User: mnorwick.centurytel.net Received: from [192.168.1.21] (174-124-40-201.dyn.centurytel.net [174.124.40.201]) (authenticated bits=0) by mail941c35.nsolutionszone.com (8.13.6/8.13.1) with ESMTP id p3E21geH031548 for ; Thu, 14 Apr 2011 02:01:43 GMT Message-ID: <4DA60F14.2020305@centurytel.net> Date: Wed, 13 Apr 2011 21:01:08 +0000 From: "Michael D. Norwick" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110408 Thunderbird/3.1.9 MIME-Version: 1.0 To: emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CSC: 0 X-CHA: v=1.1 cv=XVqAJr2ZWwfBSsdk4FzlBzxyf3pguIMXINWh6VweC0M= c=1 sm=1 a=9dbVxmVYL3YA:10 a=_5ESjSmzeWsA:10 a=3WPTVEtZbjMA:10 a=8nJEP1OIZ-IA:10 a=DdGbPI0R7PnZIep1j1DHgw==:17 a=CBhLC7AOcYRxz5f4QK4A:9 a=wPNLvfGTeEIA:10 a=DdGbPI0R7PnZIep1j1DHgw==:117 Cc: Subject: setting up a virtualbox 4.0.4 svn repository X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 04:09:22 -0000 Good Day; I hope to test VirtualBox 4.0.4 on FreeBSD 8.2 amd64. I have subversion 1.6 installed from ports. I have googled and scanned svn.pdf but I require some help on importing virtualbox_4.0.4 source or the virtualbox_4.0.4 port to my local repository. I appear to be lacking the appropriate URL. Some basic steps on how to import this source and the correct URL would be greatly appreciated. Also, I downloaded the source tar.gz from Oracle's web site and 'make configure' halts because of the lack of the as86 assembler. I believe it is required for i386 builds on linux but do not understand what port or package provides this functionality on FreeBSD amd64. I installed NASM from ports but that does not seem to be what the VirtualBox configure script wants. Thank You, michael From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 14 06:44:13 2011 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70F3A1065670 for ; Thu, 14 Apr 2011 06:44:13 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id 0E0708FC0C for ; Thu, 14 Apr 2011 06:44:12 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 246893; Thu, 14 Apr 2011 08:44:21 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Thu, 14 Apr 2011 08:44:12 +0200 From: Bernhard Froehlich To: "Michael D. Norwick" In-Reply-To: <4DA60F14.2020305@centurytel.net> References: <4DA60F14.2020305@centurytel.net> Message-ID: X-Sender: decke@FreeBSD.org User-Agent: Roundcube Webmail/0.5.1 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0203.4DA697BB.0203,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: emulation@freebsd.org Subject: Re: setting up a virtualbox 4.0.4 svn repository X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 06:44:13 -0000 On Wed, 13 Apr 2011 21:01:08 +0000, Michael D. Norwick wrote: > Good Day; > > I hope to test VirtualBox 4.0.4 on FreeBSD 8.2 amd64. I have > subversion 1.6 installed from ports. I have googled and scanned > svn.pdf but I require some help on importing virtualbox_4.0.4 source > or the virtualbox_4.0.4 port to my local repository. I appear to be > lacking the appropriate URL. Some basic steps on how to import this > source and the correct URL would be greatly appreciated. > > Also, I downloaded the source tar.gz from Oracle's web site and 'make > configure' halts because of the lack of the as86 assembler. I believe > it is required for i386 builds on linux but do not understand what > port or package provides this functionality on FreeBSD amd64. I > installed NASM from ports but that does not seem to be what the > VirtualBox configure script wants. Sorry, I don't understand what you want to do. Why don't you just take the 4.0.4 port? http://home.bluelife.at/ports/virtualbox-cft-20110218.tar.gz -- Bernhard Froehlich http://www.bluelife.at/ From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 14 07:07:35 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9614106564A; Thu, 14 Apr 2011 07:07:35 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (unknown [IPv6:2001:aa8:ffff:2::fff0:2]) by mx1.freebsd.org (Postfix) with ESMTP id 6932A8FC17; Thu, 14 Apr 2011 07:07:35 +0000 (UTC) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.4/8.14.4) with ESMTP id p3E77YCc098094; Thu, 14 Apr 2011 09:07:34 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.4/8.14.4/Submit) id p3E77YIr096789; Thu, 14 Apr 2011 09:07:34 +0200 (CEST) (envelope-from lars) Date: Thu, 14 Apr 2011 09:07:34 +0200 From: Lars Engels To: Juergen Lock Message-ID: <20110414070733.GF56437@e-new.0x20.net> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> <4DA5E0DB.2020009@FreeBSD.org> <20110413182157.GA87724@triton8.kn-bremen.de> <20110413203050.GA91509@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XrjDSOQsS4AlGTKt" Content-Disposition: inline In-Reply-To: <20110413203050.GA91509@triton8.kn-bremen.de> X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.1-RELEASE User-Agent: Mutt/1.5.21 (2010-09-15) Cc: emulation@FreeBSD.org, "Andrey V. Elsukov" , multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 07:07:35 -0000 --XrjDSOQsS4AlGTKt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 13, 2011 at 10:30:50PM +0200, Juergen Lock wrote: > On Wed, Apr 13, 2011 at 08:21:57PM +0200, Juergen Lock wrote: > > On Wed, Apr 13, 2011 at 09:43:55PM +0400, Andrey V. Elsukov wrote: > > > On 13.04.2011 21:04, Juergen Lock wrote: > > > > Sorry about that, I guess Olli tested on i386, there still were 32 > > > > -> 64 bit struct conversions wrong/missing. I just updated the > > > > patches, now skype's video test also works for my camera using this > > > > Linux libv4l like mentioned above: > > > >=20 > > > > http://archives.fedoraproject.org/pub/archive/fedora/linux/release= s/11/Fedora/i386/os/Packages/libv4l-0.5.9-1.fc11.i586.rpm > > > >=20 > > > > Links to the patches again: > > > >=20 > > > > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-8-test.patch > > > > (for 8, this is what I tested) > > > >=20 > > > > http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test.patch > > > > (for head, should at least apply now) > > >=20 > > > Hi, > > >=20 > > > thank you very much for your work! Now it works! > > > 9.0-CURRENT amd64 > >=20 > > Yay! :) >=20 > And I just found my cam now also works with flash should anyone ever > need that: >=20 > http://www.testmycam.com/ >=20 > :), That should work with all the IM-Services at meebo.com :) --XrjDSOQsS4AlGTKt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk2mnTUACgkQKc512sD3afjHpACgy18OCPjHHmQ36TDWcASM126Q R1UAn1KGnI08la8IQ2J3jDsD2eK0VlDk =Y/Nc -----END PGP SIGNATURE----- --XrjDSOQsS4AlGTKt-- From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 14 08:38:14 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5FB2106564A for ; Thu, 14 Apr 2011 08:38:14 +0000 (UTC) (envelope-from tedm@mittelstaedt.us) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 6DCB18FC1A for ; Thu, 14 Apr 2011 08:38:14 +0000 (UTC) Received: from [192.168.1.64] (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.14.3/8.14.3) with ESMTP id p3E8FsbB004941 for ; Thu, 14 Apr 2011 01:15:54 -0700 (PDT) (envelope-from tedm@mittelstaedt.us) Message-ID: <4DA6AD3D.7040607@mittelstaedt.us> Date: Thu, 14 Apr 2011 01:15:57 -0700 From: Ted Mittelstaedt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Future direction of virtualbox-ose port on FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 08:38:14 -0000 On 4/13/2011 4:38 AM, Bernhard Froehlich wrote: > Hi VirtualBox users. > > I'm sending this because there are a few problems in how we currently > maintain the emulators/virtualbox-ose ports on FreeBSD. I want to > outline my main concerns and propose a better way to solve that. > > The VirtualBox port is already very critical for many users and very > complex at the same time so it gets harder and harder to update the port > to new major versions without getting too much negative feedback from > users. In the past we did a call for testers when upstream released a > new major version (3.1.0, 3.2.0, 4.0.0) and got the update in the tree > after their first patch release (3.1.2, 3.2.2) but now for the 4.0 > release cycle we need at least to wait for 4.0.6 to get a useable state. > > Because of this long delay more and more people are using the cft and > our development ports. We do not want that average users use that ports > just to get to a newer version because they contain additional risks and > are usually unstable versions (no support, irregular updates, broken > ...). But we also do not want to make it harder for our testers to > provide feedback because your feedback is very valuable to us and we > need each tester we have. > > So we currently have these problems: > 1) we need a stable version around if you hit a problem at the new > version > 2) we need to get new major versions out earlier to testers > 3) we need to attract more testers > > > We could solve this problems with "unstable" ports and people can use > them if they care about it but we don't have that infrastructure in > FreeBSD yet. We could also create -devel ports but that only solves one > part of the problem and generates an huge amount of work on our side. > Our internal -devel ports are most of the time built with "trunk" code > so more or less alpha quality code. So that's not going to fly either. > > > Instead we came up with two improvements: > 1) Before a major version hits the tree we do a repocopy with the > current version. So in case you have a problem with the major version > you can fallback to the old version. It will be marked DEPRECATED with > the next major update and removed 2 months after that. Major updates for > vbox are 3.1.x, 3.2.x, 4.0.x > > 2) We provide binary packages and PBIs for virtualbox when we do a Call > for Testers and probably also on a regular basis to lower the burden to > test it. That only works for FreeBSD releases because the kernel module > needs to be build for a specific kernel. So if you use a STABLE kernel > you won't benefit from that. > > That means for us that we can bring in a new major version a bit > earlier than now but we will continue to do extensive testing first. So > you will still not see a .0 release in the ports. > > > What do you think about it? Any better ideas? > I vote for binary releases for the testers. From a test standpoint there is a huge benefit for you guys to have everyone running the same build, built the same way. Currently FreeBSD development snapshots are released binary, this isn't much different. Granted you may have some testers with weird systems setup that won't like it, but they can always keep the last RELEASE kernel around and boot their system on it temporarily for testing purposes only. Anyone running vbox in production is very likely NOT testing on their production servers. Ideally they are imaging their production boxes and booting the image on a spare box and testing on that - so worrying about fallback is kind of pointless - if the new version doesn't work, then they don't need to fall back to a prior one. Ted > > Your VirtualBox on FreeBSD Team, > decke@, bapt@, (i. a. beat@) > From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 14 08:48:10 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2724B106564A for ; Thu, 14 Apr 2011 08:48:10 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id D378B8FC0C for ; Thu, 14 Apr 2011 08:48:09 +0000 (UTC) Received: from gate.ipt.ru ([194.62.233.123] helo=h30.sp.ipt.ru) by services.ipt.ru with esmtps (TLSv1:AES128-SHA:128) (Exim 4.54 (FreeBSD)) id 1QAIDg-000C2D-2O; Thu, 14 Apr 2011 12:48:08 +0400 From: Boris Samorodov To: Juergen Lock References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> Date: Thu, 14 Apr 2011 12:48:07 +0400 In-Reply-To: <20110413170446.GA84392@triton8.kn-bremen.de> (Juergen Lock's message of "Wed, 13 Apr 2011 19:04:46 +0200") Message-ID: <24412648@h30.sp.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ivan Klymenko , emulation@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 08:48:10 -0000 On Wed, 13 Apr 2011 19:04:46 +0200 Juergen Lock wrote: > now skype's video test also works for my camera using this > Linux libv4l like mentioned above: > http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11/Fedora/i386/os/Packages/libv4l-0.5.9-1.fc11.i586.rpm I've created a relevant port of Fedora 10 distro: ftp://ftp.bsam.ru/pub/tmp/linux-f10-libv4l.shar Fetch the shar file, then: % cd /usr/ports/multimedia % sudo sh ... and install the port. If it works for you, please let me know. I'll commit the port. -- WBR, bsam From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 14 12:23:38 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E057106564A; Thu, 14 Apr 2011 12:23:38 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 36D408FC17; Thu, 14 Apr 2011 12:23:37 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 3036F1E00072; Thu, 14 Apr 2011 14:23:37 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p3ECDorw039481; Thu, 14 Apr 2011 14:13:50 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p3ECDoje039480; Thu, 14 Apr 2011 14:13:50 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Thu, 14 Apr 2011 14:13:50 +0200 To: Boris Samorodov Message-ID: <20110414121350.GA39072@triton8.kn-bremen.de> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> <24412648@h30.sp.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <24412648@h30.sp.ipt.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Ivan Klymenko , emulation@FreeBSD.org, Juergen Lock , multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 12:23:38 -0000 On Thu, Apr 14, 2011 at 12:48:07PM +0400, Boris Samorodov wrote: > On Wed, 13 Apr 2011 19:04:46 +0200 Juergen Lock wrote: > > > now skype's video test also works for my camera using this > > Linux libv4l like mentioned above: > > > http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11/Fedora/i386/os/Packages/libv4l-0.5.9-1.fc11.i586.rpm > > I've created a relevant port of Fedora 10 distro: > ftp://ftp.bsam.ru/pub/tmp/linux-f10-libv4l.shar > > Fetch the shar file, then: > % cd /usr/ports/multimedia > % sudo sh > ... and install the port. > > If it works for you, please let me know. I'll commit the port. Working indeed, thanx! Juergen From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 14 14:01:34 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E76031065677; Thu, 14 Apr 2011 14:01:34 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 9B5888FC19; Thu, 14 Apr 2011 14:01:34 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtps (TLSv1:AES128-SHA:128) (Exim 4.54 (FreeBSD)) id 1QAN6z-000CS4-8P; Thu, 14 Apr 2011 18:01:33 +0400 From: Boris Samorodov To: Juergen Lock References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> <24412648@h30.sp.ipt.ru> <20110414121350.GA39072@triton8.kn-bremen.de> Date: Thu, 14 Apr 2011 18:01:32 +0400 In-Reply-To: <20110414121350.GA39072@triton8.kn-bremen.de> (Juergen Lock's message of "Thu, 14 Apr 2011 14:13:50 +0200") Message-ID: <26171699@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ivan Klymenko , emulation@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 14:01:35 -0000 On Thu, 14 Apr 2011 14:13:50 +0200 Juergen Lock wrote: > On Thu, Apr 14, 2011 at 12:48:07PM +0400, Boris Samorodov wrote: > > On Wed, 13 Apr 2011 19:04:46 +0200 Juergen Lock wrote: > > > > > now skype's video test also works for my camera using this > > > Linux libv4l like mentioned above: > > > > > http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11/Fedora/i386/os/Packages/libv4l-0.5.9-1.fc11.i586.rpm > > > > I've created a relevant port of Fedora 10 distro: > > ftp://ftp.bsam.ru/pub/tmp/linux-f10-libv4l.shar > > > > Fetch the shar file, then: > > % cd /usr/ports/multimedia > > % sudo sh > > ... and install the port. > > > > If it works for you, please let me know. I'll commit the port. > Working indeed, thanx! Committed, thanks for testing! -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 14 17:30:15 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20BAA106564A; Thu, 14 Apr 2011 17:30:15 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1A5BA8FC17; Thu, 14 Apr 2011 17:30:13 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA12819; Thu, 14 Apr 2011 20:13:11 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4DA72B26.7010009@FreeBSD.org> Date: Thu, 14 Apr 2011 20:13:10 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Juergen Lock References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> <4DA5E0DB.2020009@FreeBSD.org> <20110413182157.GA87724@triton8.kn-bremen.de> In-Reply-To: <20110413182157.GA87724@triton8.kn-bremen.de> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: emulation@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 17:30:15 -0000 BTW, just in case: http://www.quickcamteam.net/documentation/faq/logitech-webcam-linux-usb-incompatibilities P.S. http://blogs.skype.com/linux/2011/04/2_2_beta.html -- Andriy Gapon From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 14 21:36:12 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23DC81065670 for ; Thu, 14 Apr 2011 21:36:12 +0000 (UTC) (envelope-from mnorwick@centurytel.net) Received: from mail940c35.nsolutionszone.com (mail940c35.nsolutionszone.com [209.235.152.130]) by mx1.freebsd.org (Postfix) with ESMTP id B15AE8FC16 for ; Thu, 14 Apr 2011 21:36:11 +0000 (UTC) X-Authenticated-User: mnorwick.centurytel.net Received: from [192.168.1.21] (174-124-40-201.dyn.centurytel.net [174.124.40.201]) (authenticated bits=0) by mail940c35.nsolutionszone.com (8.13.6/8.13.1) with ESMTP id p3ELa8sX007571 for ; Thu, 14 Apr 2011 21:36:10 GMT Message-ID: <4DA72258.5000903@centurytel.net> Date: Thu, 14 Apr 2011 16:35:36 +0000 From: "Michael D. Norwick" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110408 Thunderbird/3.1.9 MIME-Version: 1.0 To: emulation@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CSC: 0 X-CHA: v=1.1 cv=4JSZwFbTLKO36TlkcVUHJUs4fiAFncqPKy8bWJ9Udmc= c=1 sm=1 a=9dbVxmVYL3YA:10 a=3WPTVEtZbjMA:10 a=8nJEP1OIZ-IA:10 a=DdGbPI0R7PnZIep1j1DHgw==:17 a=jJSEoD67AAAA:8 a=2zyXuG3C3JPdQP5NwmsA:9 a=wPNLvfGTeEIA:10 a=DdGbPI0R7PnZIep1j1DHgw==:117 Cc: Subject: virtualbox_4.0.4 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 21:36:12 -0000 Thank You, > port or package provides this functionality on FreeBSD amd64. I > installed NASM from ports but that does not seem to be what the > VirtualBox configure script wants. >> Sorry, I don't understand what you want to do. Why don't you just take >> the 4.0.4 port? >> http://home.bluelife.at/ports/virtualbox-cft-20110218.tar.gz No I am sorry. I guess I didn't know what I wanted. The link I had, downloaded and extracted to directories labeled emulators and www. This confused me. I forgot these were to go into folders under /usr/ports. I was expecting a tar.gz of the source package. I need to do more study on how to setup a local SVN repository not only for VirtualBox_4.0.4 but other programs as well. VirtualBox, kmod and Guest Additions are building as I write this. Thanks Again, Michael From owner-freebsd-emulation@FreeBSD.ORG Fri Apr 15 17:52:41 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82BD9106566B; Fri, 15 Apr 2011 17:52:41 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 1492D8FC15; Fri, 15 Apr 2011 17:52:40 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 69CC01E002B9; Fri, 15 Apr 2011 19:52:39 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p3FHkKLx033347; Fri, 15 Apr 2011 19:46:20 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p3FHkKLI033346; Fri, 15 Apr 2011 19:46:20 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Fri, 15 Apr 2011 19:46:20 +0200 To: Andriy Gapon Message-ID: <20110415174620.GA31480@triton8.kn-bremen.de> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> <4DA5E0DB.2020009@FreeBSD.org> <20110413182157.GA87724@triton8.kn-bremen.de> <4DA72B26.7010009@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DA72B26.7010009@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: emulation@FreeBSD.org, akirchhoff135014@comcast.net, netchild@FreeBSD.org, Juergen Lock , multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 17:52:41 -0000 On Thu, Apr 14, 2011 at 08:13:10PM +0300, Andriy Gapon wrote: > > BTW, just in case: > http://www.quickcamteam.net/documentation/faq/logitech-webcam-linux-usb-incompatibilities > > P.S. > http://blogs.skype.com/linux/2011/04/2_2_beta.html Ok I just tested that version and found another bug in the patches, but even after fixing that I couldn't get video to work with my gspca camera that doesn't do yuv video. :( Maybe the f10 version of libv4l that is now in ports is just too old? (Does anyone else get that version to work with a cam that does do yuv like a uvc?) netchild, you said you have an f10 build env iirc, could you try building the latest libv4l on there for me to test? The new patches are here: http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-8-test-split.patch (for 8, this is what I tested) http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test-split.patch (for head, again untested) I have now split the dvb handling into a seperate kld because of the LGPL'd header it uses (linux_dvbwrapper.ko), but it looks like I'll have to make that a port as netchild still had concerns putting that version in base... I also couldn't get audio input to work with that skype version but maybe that just was because I am on 8 and used a Linux alsa oss plugin, http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/10/i386/alsa-plugins-oss-1.0.21-3.fc10.i386.rpm with this /compat/linux/etc/asound.conf: -----snip-------- # # FreeBSD/OSS # pcm.!default { type oss device /dev/dsp } ctl.!default { type oss device /dev/mixer } pcm.!dsp4 { type oss device /dev/dsp4 } ctl.!dsp4 { type oss device /dev/mixer4 } # # Remap all possible surround stuffs. # pcm.!surround40 { type oss device /dev/dsp } pcm.!surround41 { type oss device /dev/dsp } pcm.!surround50 { type oss device /dev/dsp } pcm.!surround51 { type oss device /dev/dsp } pcm.!surround71 { type oss device /dev/dsp } # # Pulseaudio # # pcm.!default { # type pulse # } # # ctl.!default { # type pulse # } -----snip-------- ...instead of messing with pulseaudio and the patches it needs like you posted here: http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-February/011696.html (I did hear skype's sounds that way btw, just the webcam's builtin mic on /dev/dsp4 wouldn't want to record anything even tho skype allowed me to select `dsp4' as mic input.) And now I also tested the version you tested in that posting which I found to be still available here, http://download.skype.com/linux/skype_static-2.1.0.81.tar.bz2 and with _that_ version the webcam did work with my updated patch. (the mic didn't, probably for the same reason as above.) For those that want to try, I just extracted the tarball below my homedir and then ran: LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so ./skype_static-2.1.0.81/skype --resources=$PWD/skype_static-2.1.0.81 And the latest beta I tested the same way: LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so ./skype_static-2.2.0.25/skype --resources=$PWD/skype_static-2.2.0.25 Enjoy, :) Juergen From owner-freebsd-emulation@FreeBSD.ORG Sat Apr 16 00:24:09 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 280B8106564A for ; Sat, 16 Apr 2011 00:24:09 +0000 (UTC) (envelope-from woodshop2300@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id ABC468FC18 for ; Sat, 16 Apr 2011 00:24:08 +0000 (UTC) Received: by bwz12 with SMTP id 12so3493498bwz.13 for ; Fri, 15 Apr 2011 17:24:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=OYthzLm7seFvyDE3k2X0NJKglS0Kj7xzTlm7BtLFzCg=; b=cKpGvpji2mvUn7/MNaNUwIrTgKbNp5GMbGeH4ywvKD3xvb+Z/BQywd1E0M4FhaBM7C HhYNy8CK3trBJYsb+oC/xUF5pnka+fRPxuivLU6vJzaiT4NyeZAlMHih24gIVIK+fzN/ tcJPgH5FTVTY8BNEP6f4cayAUAfky3Omx+BlQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=PaEMQjZp5ikdRhZzcBej5tD6P5fmw7dl9OSu5HMQjT8yQB/I4PtpsO/hIAtc/rBHrL uvlpfVmkUr8NtyjWZToCHx1hAzRh48qyQnxkOHOMbC0KRWlMQpqZdCqKIkJEO/dvKosy iPs2Y37A55Ido6eRFPjhHuF+ajZGtiEbq3BZ8= MIME-Version: 1.0 Received: by 10.204.49.87 with SMTP id u23mr529966bkf.171.1302911839027; Fri, 15 Apr 2011 16:57:19 -0700 (PDT) Received: by 10.204.39.15 with HTTP; Fri, 15 Apr 2011 16:57:19 -0700 (PDT) Date: Fri, 15 Apr 2011 18:57:19 -0500 Message-ID: From: Alex Anagnos To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Networking frame loss in transmission X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 00:24:09 -0000 FreeBSD 8.0-RELEASE w/ VirtualBox 3.2.12. The setup is a small application in a Guest OS that is sending UDP Ethernet frames. I Am capturing on FreeBSD on the device with both Wireshark, and a custom written program that uses BPF zero copy. What i'm seeing is that when the application send data that is beyond the MTU the data is fragmented. However, sometimes, the first few fragments never show up in the capture, and indeed the receiving app never gets the message (reassembly fails). So when I call send with an 8192 payload, i see,=A0 frames 1 and 2 go missing, but 3, 4, and , 5 get out fine. (1500 MTU) When calling send 2 times in rapid succession, all fragments of the first send go missing as well as 1, and 2 of the 2nd send. 3, 4, and 5 get out fine. When calling send 3 times in rapid succession, all fragments of send 1 & 2 get lost as well as fragment 1 & 2 of the 3rd send. Frags 3, 4, and 5 are fine. When sending this at like 1 Message per second, things occasionally don't w= ork. When going at 3000FPS, it has so far always been the first few frames, after that the rest of the stream gets through ok almost like the driver has to warm up or something.. The issue happens sending from both a Linux guest and from a Windows Guest. The issue does not care about the speed of the traffic, it happens at 1FPS and at 3000FPS. The issue does seam to occur less often the smaller the message sent. When the message does not require fragmentation I have not seen the issue happen but i'm not going to guarantee it does not happen. The problem happens using Bridged, VDE, and Host-Only. The problem happens using the FastPCI driver, intel e1000, and para-virtual= ized. The problem happens with any number of the above 3 combos. The problem happens in Version 3.2.6 and inversion 3.2.12. The problem looks to be somewhere in the VirtualBox box code, or maybe in the VirtualBox kernel module integration with FreeBSD From owner-freebsd-emulation@FreeBSD.ORG Sat Apr 16 09:32:54 2011 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 783791065675; Sat, 16 Apr 2011 09:32:54 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 1053E8FC13; Sat, 16 Apr 2011 09:32:53 +0000 (UTC) Received: from outgoing.leidinger.net (p5B156001.dip.t-dialin.net [91.21.96.1]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 53525844010; Sat, 16 Apr 2011 11:32:38 +0200 (CEST) Received: from unknown (IO.Leidinger.net [192.168.2.110]) by outgoing.leidinger.net (Postfix) with ESMTP id 950E31A73; Sat, 16 Apr 2011 11:32:35 +0200 (CEST) Date: Sat, 16 Apr 2011 11:32:37 +0200 From: Alexander Leidinger To: Juergen Lock Message-ID: <20110416113237.000035c9@unknown> In-Reply-To: <20110415174620.GA31480@triton8.kn-bremen.de> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> <4DA5E0DB.2020009@FreeBSD.org> <20110413182157.GA87724@triton8.kn-bremen.de> <4DA72B26.7010009@FreeBSD.org> <20110415174620.GA31480@triton8.kn-bremen.de> X-Mailer: Claws Mail 3.7.8cvs47 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 53525844010.ADFA7 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.323, required 6, autolearn=disabled, ALL_TRUSTED -1.00, J_CHICKENPOX_41 0.60, TW_DV 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1303551161.47881@ypPLKq/boB8BV1ijdqsNEA X-EBL-Spam-Status: No Cc: emulation@FreeBSD.org, akirchhoff135014@comcast.net, multimedia@FreeBSD.org, Andriy Gapon Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 09:32:54 -0000 On Fri, 15 Apr 2011 19:46:20 +0200 Juergen Lock wrote: > On Thu, Apr 14, 2011 at 08:13:10PM +0300, Andriy Gapon wrote: > > > > BTW, just in case: > > http://www.quickcamteam.net/documentation/faq/logitech-webcam-linux-usb-incompatibilities > > > > P.S. > > http://blogs.skype.com/linux/2011/04/2_2_beta.html > > Ok I just tested that version and found another bug in the patches, > but even after fixing that I couldn't get video to work with my > gspca camera that doesn't do yuv video. :( Maybe the f10 version > of libv4l that is now in ports is just too old? (Does anyone else > get that version to work with a cam that does do yuv like a uvc?) > > netchild, you said you have an f10 build env iirc, could you try > building the latest libv4l on there for me to test? Can you give me please some URLs? One where to download the source, and one of the spec file (and patches if any). > I have now split the dvb handling into a seperate kld because of > the LGPL'd header it uses (linux_dvbwrapper.ko), but it looks like > I'll have to make that a port as netchild still had concerns putting > that version in base... It's more a "I do not want to be the one to put LGPLed stuff into a kernel module", even if the common believe is that such a LGPLed header does make the rest derived code / tainted. Currently I do not intend to spend the time which is necessary to explain the issues to core@ and discuss it with them. If someone else is willing to spend time for this and if core@ tells me they are ok with this header entering the src/sys tree, I shut up and commit it. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Sat Apr 16 10:09:15 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BDFF106566B; Sat, 16 Apr 2011 10:09:15 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3AFAE8FC08; Sat, 16 Apr 2011 10:09:13 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA09590; Sat, 16 Apr 2011 13:09:08 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1QB2RA-000JMl-JR; Sat, 16 Apr 2011 13:09:08 +0300 Message-ID: <4DA96AC2.5020302@FreeBSD.org> Date: Sat, 16 Apr 2011 13:09:06 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110308 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Juergen Lock References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> <4DA5E0DB.2020009@FreeBSD.org> <20110413182157.GA87724@triton8.kn-bremen.de> <4DA72B26.7010009@FreeBSD.org> <20110415174620.GA31480@triton8.kn-bremen.de> In-Reply-To: <20110415174620.GA31480@triton8.kn-bremen.de> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: emulation@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 10:09:15 -0000 on 15/04/2011 20:46 Juergen Lock said the following: > I also couldn't get audio input to work with that skype version > but maybe that just was because I am on 8 and used a Linux alsa > oss plugin, > > http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/10/i386/alsa-plugins-oss-1.0.21-3.fc10.i386.rpm > > with this /compat/linux/etc/asound.conf: > > -----snip-------- [snip] > -----snip-------- > > ...instead of messing with pulseaudio and the patches it needs like > you posted here: > > http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-February/011696.html > > (I did hear skype's sounds that way btw, just the webcam's builtin > mic on /dev/dsp4 wouldn't want to record anything even tho skype > allowed me to select `dsp4' as mic input.) I think that this is a well known and still unresolved issue. As far as I know nobody has been able to get a microphone working with any non-OSS version of Skype via ALSA emulation. That's exactly the reason why I started looking at PulseAudio. Not sure if it's worth debugging alsalib input issue further. It's open source after all, so a determined person with proper test environment could go to far length. But I am sticking to pulseaudio for time being. BTW, to update on the link that you quoted: - the kernel patches are already in head and stable/[78] - libasyncns in the ports - pulseaudio-libs is in the PR db - for pulse communication via local sockets one has to create an additional link in ~/.pulse directory: "${hostname}:runtime" which should point to the same location as "${hostname}-runtime" created by native pulseaudio daemon. This is because of different pulseaudio versions. - input and output sources have to be set via pulseaudio config, e.g.: default-sink = oss_output.dsp4 default-source = oss_input.dsp1 in client.conf. -- Andriy Gapon From owner-freebsd-emulation@FreeBSD.ORG Sat Apr 16 13:23:48 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0DE6106566B; Sat, 16 Apr 2011 13:23:48 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 683F28FC13; Sat, 16 Apr 2011 13:23:48 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 5687C1E002BE; Sat, 16 Apr 2011 15:23:47 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p3GDLeEo062396; Sat, 16 Apr 2011 15:21:40 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p3GDLefh062395; Sat, 16 Apr 2011 15:21:40 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 16 Apr 2011 15:21:39 +0200 To: Alexander Leidinger Message-ID: <20110416132139.GA61818@triton8.kn-bremen.de> References: <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> <4DA5E0DB.2020009@FreeBSD.org> <20110413182157.GA87724@triton8.kn-bremen.de> <4DA72B26.7010009@FreeBSD.org> <20110415174620.GA31480@triton8.kn-bremen.de> <20110416113237.000035c9@unknown> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110416113237.000035c9@unknown> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: emulation@FreeBSD.org, akirchhoff135014@comcast.net, Juergen Lock , Andriy Gapon , multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 13:23:48 -0000 On Sat, Apr 16, 2011 at 11:32:37AM +0200, Alexander Leidinger wrote: > On Fri, 15 Apr 2011 19:46:20 +0200 Juergen Lock > wrote: > > > On Thu, Apr 14, 2011 at 08:13:10PM +0300, Andriy Gapon wrote: > > > > > > BTW, just in case: > > > http://www.quickcamteam.net/documentation/faq/logitech-webcam-linux-usb-incompatibilities > > > > > > P.S. > > > http://blogs.skype.com/linux/2011/04/2_2_beta.html > > > > Ok I just tested that version and found another bug in the patches, > > but even after fixing that I couldn't get video to work with my > > gspca camera that doesn't do yuv video. :( Maybe the f10 version > > of libv4l that is now in ports is just too old? (Does anyone else > > get that version to work with a cam that does do yuv like a uvc?) > > > > netchild, you said you have an f10 build env iirc, could you try > > building the latest libv4l on there for me to test? > > Can you give me please some URLs? One where to download the > source, and one of the spec file (and patches if any). > Looks like libv4l now is part of v4l-utils: http://freshmeat.net/projects/libv4l http://linuxtv.org/downloads/v4l-utils/v4l-utils-0.8.3.tar.bz2 f14 has a bit older source rpm: (libv4l.spec inside) http://ftp.tu-chemnitz.de/pub/linux/fedora/linux/releases/14/Everything/source/SRPMS/libv4l-0.8.1-1.fc14.src.rpm and I found a newer one too: http://people.fedoraproject.org/~jwrdegoede/v4l-utils-0.8.3-2.fc15.src.rpm > > > I have now split the dvb handling into a seperate kld because of > > the LGPL'd header it uses (linux_dvbwrapper.ko), but it looks like > > I'll have to make that a port as netchild still had concerns putting > > that version in base... > > It's more a "I do not want to be the one to put LGPLed stuff into a > kernel module", even if the common believe is that such a LGPLed > header does make the rest derived code / tainted. Currently I do not > intend to spend the time which is necessary to explain the issues to > core@ and discuss it with them. If someone else is willing to spend > time for this and if core@ tells me they are ok with this header > entering the src/sys tree, I shut up and commit it. OK. I guess not that many ppl will need this kld and those that do should be able to install it from ports then too, I just wanted to keep things a little easier but oh well, it's not _that_ important. Cheers, Juergen From owner-freebsd-emulation@FreeBSD.ORG Sat Apr 16 20:27:17 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BC2D106567C for ; Sat, 16 Apr 2011 20:27:17 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id DA26E8FC1D for ; Sat, 16 Apr 2011 20:27:16 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p3GKREUx021785 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 16 Apr 2011 13:27:15 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <4DA9FBCE.2060106@freebsd.org> Date: Sat, 16 Apr 2011 13:27:58 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org References: <20110416120030.457A510656DF@hub.freebsd.org> In-Reply-To: <20110416120030.457A510656DF@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Networking frame loss in transmission X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 20:27:17 -0000 > Message: 2 > Date: Fri, 15 Apr 2011 18:57:19 -0500 > From: Alex Anagnos > Subject: Networking frame loss in transmission > To: freebsd-emulation@freebsd.org > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1 > > FreeBSD 8.0-RELEASE w/ VirtualBox 3.2.12. > > The setup is a small application in a Guest OS that is sending UDP > Ethernet frames. > I Am capturing on FreeBSD on the device with both Wireshark, and a > custom written program that uses BPF zero copy. > > What i'm seeing is that when the application send data that is beyond > the MTU the data is fragmented. > However, sometimes, the first few fragments never show up in the > capture, and indeed the receiving app never gets the message > (reassembly fails). maybe it was waiting for arp? > So when I call send with an 8192 payload, i see, frames 1 and 2 go > missing, but 3, 4, and , 5 get out fine. (1500 MTU) do you see an arp reply wbetween 2 and 3? > When calling send 2 times in rapid succession, all fragments of the > first send go missing as well as 1, and 2 of the 2nd send. 3, 4, and 5 > get out fine. > When calling send 3 times in rapid succession, all fragments of send 1 > & 2 get lost as well as fragment 1& 2 of the 3rd send. Frags 3, 4, > and 5 are fine. makes arp less likely but not impossible. > When sending this at like 1 Message per second, things occasionally don't work. > When going at 3000FPS, it has so far always been the first few frames, > after that the rest of the stream gets through ok almost like the > driver has to warm up or something.. > > The issue happens sending from both a Linux guest and from a Windows Guest. > The issue does not care about the speed of the traffic, it happens at > 1FPS and at 3000FPS. have you tried a freebsd guest? at least we can debug that.. :-) > The issue does seam to occur less often the smaller the message sent. > When the message does not require fragmentation I have not seen the > issue happen but i'm not going to guarantee it does not happen. > > The problem happens using Bridged, VDE, and Host-Only. > The problem happens using the FastPCI driver, intel e1000, and para-virtualized. > The problem happens with any number of the above 3 combos. > > The problem happens in Version 3.2.6 and inversion 3.2.12. > > The problem looks to be somewhere in the VirtualBox box code, or maybe > in the VirtualBox kernel module integration with FreeBSD From owner-freebsd-emulation@FreeBSD.ORG Sat Apr 16 20:49:15 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1778B106566B for ; Sat, 16 Apr 2011 20:49:15 +0000 (UTC) (envelope-from woodshop2300@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id CEC7D8FC0A for ; Sat, 16 Apr 2011 20:49:14 +0000 (UTC) Received: by iyj12 with SMTP id 12so3912715iyj.13 for ; Sat, 16 Apr 2011 13:49:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=MEk0roLLa6nN8AX7oX7C0Xe2/X102sefxYl992ZHLss=; b=cR+sYvRzCy0pca6ayxne/N0+NwfGu3JOdqU+8QDvFRw+n6aHTMEx1qqUAXDKy1BkBc tgbtn252ecSpPwfSNIIylEtIdbCjl6IBbcfbet9k8luOTWJ8tvu75KHcP8aiHIdVHadT oVvRjGUo7OPEVfboLN67a3mdJ4T63VUDAcQVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=b9jHIybff+wYFX7GuXlGsUhlqnvU8DJ1UxIO69UQPsVXl+rVtNQtB3VYrYmBSYqogG U/lEMCPoFvnsmovGHmYK/PXiOTK8FF9I/JDeePmEpd36NC9zPrmhMYW0Z5dfzHJP4aaO lRXJ33boNr6LaaZqrfnv3Sb4Vzcg/yiYnQ7Ok= Received: by 10.42.221.3 with SMTP id ia3mr2102808icb.508.1302986953917; Sat, 16 Apr 2011 13:49:13 -0700 (PDT) Received: from [192.200.0.247] (cpe-173-89-38-154.wi.res.rr.com [173.89.38.154]) by mx.google.com with ESMTPS id hc41sm2171722ibb.13.2011.04.16.13.49.11 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 16 Apr 2011 13:49:12 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Alex Anagnos In-Reply-To: <4DA9FBCE.2060106@freebsd.org> Date: Sat, 16 Apr 2011 15:49:10 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <608E001D-14AF-4025-80D0-58369BE95773@gmail.com> References: <20110416120030.457A510656DF@hub.freebsd.org> <4DA9FBCE.2060106@freebsd.org> To: Julian Elischer X-Mailer: Apple Mail (2.1084) Cc: freebsd-emulation@freebsd.org Subject: Re: Networking frame loss in transmission X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 20:49:15 -0000 I sometime see arps int the beginning of the captures. They are followed by the the frames, sometimes the error happens = sometime not. Other times i see arps in the middle of the stream, with nothing wrong. I'm running this test with short 20-30 second gaps between them (to = reset captures).. So the arp table is not even expiring between runs. So on shorter run, i = don't see arps at all, and the problem still sometimes occurs.. I have not tried a FreeBSD guest, but i don't think the guest is the = issue here. I'v taken the same linux Guest, and run it temporally on a Windows host, = and the problem never manifests. On Apr 16, 2011, at 3:27 PM, Julian Elischer wrote: >=20 >> Message: 2 >> Date: Fri, 15 Apr 2011 18:57:19 -0500 >> From: Alex Anagnos >> Subject: Networking frame loss in transmission >> To: freebsd-emulation@freebsd.org >> Message-ID: >> Content-Type: text/plain; charset=3DISO-8859-1 >>=20 >> FreeBSD 8.0-RELEASE w/ VirtualBox 3.2.12. >>=20 >> The setup is a small application in a Guest OS that is sending UDP >> Ethernet frames. >> I Am capturing on FreeBSD on the device with both Wireshark, and a >> custom written program that uses BPF zero copy. >>=20 >> What i'm seeing is that when the application send data that is beyond >> the MTU the data is fragmented. >> However, sometimes, the first few fragments never show up in the >> capture, and indeed the receiving app never gets the message >> (reassembly fails). >=20 > maybe it was waiting for arp? >> So when I call send with an 8192 payload, i see, frames 1 and 2 go >> missing, but 3, 4, and , 5 get out fine. (1500 MTU) > do you see an arp reply wbetween 2 and 3? >=20 >> When calling send 2 times in rapid succession, all fragments of the >> first send go missing as well as 1, and 2 of the 2nd send. 3, 4, and = 5 >> get out fine. >> When calling send 3 times in rapid succession, all fragments of send = 1 >> & 2 get lost as well as fragment 1& 2 of the 3rd send. Frags 3, 4, >> and 5 are fine. >=20 > makes arp less likely but not impossible. >> When sending this at like 1 Message per second, things occasionally = don't work. >> When going at 3000FPS, it has so far always been the first few = frames, >> after that the rest of the stream gets through ok almost like the >> driver has to warm up or something.. >>=20 >> The issue happens sending from both a Linux guest and from a Windows = Guest. >> The issue does not care about the speed of the traffic, it happens at >> 1FPS and at 3000FPS. > have you tried a freebsd guest? at least we can debug that.. :-) >=20 >> The issue does seam to occur less often the smaller the message sent. >> When the message does not require fragmentation I have not seen the >> issue happen but i'm not going to guarantee it does not happen. >>=20 >> The problem happens using Bridged, VDE, and Host-Only. >> The problem happens using the FastPCI driver, intel e1000, and = para-virtualized. >> The problem happens with any number of the above 3 combos. >>=20 >> The problem happens in Version 3.2.6 and inversion 3.2.12. >>=20 >> The problem looks to be somewhere in the VirtualBox box code, or = maybe >> in the VirtualBox kernel module integration with FreeBSD >=20 > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to = "freebsd-emulation-unsubscribe@freebsd.org"