From owner-freebsd-emulation@FreeBSD.ORG Sun Jan 7 08:00:17 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C83B16A40F for ; Sun, 7 Jan 2007 08:00:17 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.236]) by mx1.freebsd.org (Postfix) with ESMTP id E6D9713C442 for ; Sun, 7 Jan 2007 08:00:16 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so3419637nzh for ; Sun, 07 Jan 2007 00:00:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tab4sm/6soTd+WFLhlXzXrUitogjEuyeSWnBzw3Rt4szXiItp1doU2v+SPxentvjZLRVj5tHMSdjUVSvnYmBgVjiaSEG+dBPqhrOfk4U2IFUwC9euNdl953xI5ogtB3uFXy3M4GG8KhILoGGnObdKlcpyI/sfIZ9LrEWrO3XFKE= Received: by 10.65.176.7 with SMTP id d7mr717454qbp.1168156816318; Sun, 07 Jan 2007 00:00:16 -0800 (PST) Received: by 10.65.61.1 with HTTP; Sun, 7 Jan 2007 00:00:16 -0800 (PST) Message-ID: <790a9fff0701070000r4755202fy58e89565dc3edfc9@mail.gmail.com> Date: Sun, 7 Jan 2007 02:00:16 -0600 From: "Scot Hetzel" To: "Alexander Leidinger" In-Reply-To: <20070106170237.066f1ec7@Magellan.Leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <790a9fff0612290911t5ae69715gd2bf0dda0f9228f2@mail.gmail.com> <20061229213509.GA86839@stud.fit.vutbr.cz> <790a9fff0612291424g4ecbd088i7846d248851b3e63@mail.gmail.com> <20061230120722.GA36814@stud.fit.vutbr.cz> <790a9fff0612301926n1562d560r1f3fff9af4bdb138@mail.gmail.com> <790a9fff0612301955r35b16472r2429fbe3fce78228@mail.gmail.com> <20061231144257.61520dc8@Magellan.Leidinger.net> <20061231142412.GA28462@stud.fit.vutbr.cz> <790a9fff0612311121l662736e0ud6d3220382af072a@mail.gmail.com> <20070106170237.066f1ec7@Magellan.Leidinger.net> Cc: freebsd-emulation@freebsd.org Subject: Re: linuxolator: amd64 Linux Test Project failures 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, 07 Jan 2007 08:00:17 -0000 On 1/6/07, Alexander Leidinger wrote: > Quoting "Scot Hetzel" (Sun, 31 Dec 2006 13:21:27 -0600): > > > That patch to mmap fixes the problems with mmap on amd64, and brings > > the failed LTP testcases closer to the i386 failed testcases. > > I committed this with the unconditional addition of PROT_EXEC like we > did before. This should fix the LTP tests and keep the behavior as > described in the comment as before. > > I assume you will update the amd64 part in the LTP table in the wiki > with the results. I'm looking forward to this. > Running a full LTP tests right now, and will be updating the table when it completes. 2.6.16 - 156/831 I'm also looking into testing whether PROT_EXEC is needed, just need to get a linux java, and a java program installed to test it. Tried using emerge on the gentoo base to install azureus, but it failed as it couldn't build binutils-2.16.1-r3 (linux.ko without PROT_EXEC in mmap). Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised. From owner-freebsd-emulation@FreeBSD.ORG Sun Jan 7 12:06:42 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 611AB16A407 for ; Sun, 7 Jan 2007 12:06:42 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 18B7913C441 for ; Sun, 7 Jan 2007 12:06:41 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5D977.dip.t-dialin.net [84.165.217.119]) by redbull.bpaserver.net (Postfix) with ESMTP id A8E902E194; Sun, 7 Jan 2007 13:11:43 +0100 (CET) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by outgoing.leidinger.net (Postfix) with ESMTP id 39B145B497E; Sun, 7 Jan 2007 13:06:32 +0100 (CET) Date: Sun, 7 Jan 2007 13:06:31 +0100 From: Alexander Leidinger To: "Scot Hetzel" Message-ID: <20070107130631.5419ea16@Magellan.Leidinger.net> In-Reply-To: <790a9fff0701070000r4755202fy58e89565dc3edfc9@mail.gmail.com> References: <790a9fff0612290911t5ae69715gd2bf0dda0f9228f2@mail.gmail.com> <20061229213509.GA86839@stud.fit.vutbr.cz> <790a9fff0612291424g4ecbd088i7846d248851b3e63@mail.gmail.com> <20061230120722.GA36814@stud.fit.vutbr.cz> <790a9fff0612301926n1562d560r1f3fff9af4bdb138@mail.gmail.com> <790a9fff0612301955r35b16472r2429fbe3fce78228@mail.gmail.com> <20061231144257.61520dc8@Magellan.Leidinger.net> <20061231142412.GA28462@stud.fit.vutbr.cz> <790a9fff0612311121l662736e0ud6d3220382af072a@mail.gmail.com> <20070106170237.066f1ec7@Magellan.Leidinger.net> <790a9fff0701070000r4755202fy58e89565dc3edfc9@mail.gmail.com> X-Mailer: Claws Mail 2.6.1 (GTK+ 2.10.6; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 6, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: linuxolator: amd64 Linux Test Project failures 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, 07 Jan 2007 12:06:42 -0000 Quoting "Scot Hetzel" (Sun, 7 Jan 2007 02:00:16 -0600): > On 1/6/07, Alexander Leidinger wrote: > > Quoting "Scot Hetzel" (Sun, 31 Dec 2006 13:21:27 -0600): > > > > > That patch to mmap fixes the problems with mmap on amd64, and brings > > > the failed LTP testcases closer to the i386 failed testcases. > > > > I committed this with the unconditional addition of PROT_EXEC like we > > did before. This should fix the LTP tests and keep the behavior as > > described in the comment as before. > > > > I assume you will update the amd64 part in the LTP table in the wiki > > with the results. I'm looking forward to this. > > > Running a full LTP tests right now, and will be updating the table > when it completes. > > 2.6.16 - 156/831 Yeah, great! Thanks! > I'm also looking into testing whether PROT_EXEC is needed, just need > to get a linux java, and a java program installed to test it. Tried > using emerge on the gentoo base to install azureus, but it failed as > it couldn't build binutils-2.16.1-r3 (linux.ko without PROT_EXEC in > mmap). If you can build binutils with PROT_EXEC in mmap, we already have a winner for the PROT_EXEC stuff (= I may MFC this commit next WE). Bye, Alexander. -- The sun never sets on those who ride into it. -- RKO 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 Sun Jan 7 20:51:50 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 378E316A403 for ; Sun, 7 Jan 2007 20:51:50 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.233]) by mx1.freebsd.org (Postfix) with ESMTP id EA01013C43E for ; Sun, 7 Jan 2007 20:51:49 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so3491748nzh for ; Sun, 07 Jan 2007 12:51:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eb1JGjZ9FQKwJaLvOUUtAhBVIy7ND/1ZVU+PR7QAEh5WtSv5nl5K4519f160l3tdi1RLHWDTpT/UpmS9+H63tGJvNj3a+odWqNrAGdKRmVN9n9F68c+hHwM3RpEuJsJjWieH7M7KHiiFdCtIsdty0gFfHg0v5xqgsLz0OXC8BJ8= Received: by 10.65.177.6 with SMTP id e6mr1365382qbp.1168203109177; Sun, 07 Jan 2007 12:51:49 -0800 (PST) Received: by 10.65.61.1 with HTTP; Sun, 7 Jan 2007 12:51:49 -0800 (PST) Message-ID: <790a9fff0701071251h2c25b52cjeb4061746a8e459@mail.gmail.com> Date: Sun, 7 Jan 2007 14:51:49 -0600 From: "Scot Hetzel" To: "Alexander Leidinger" In-Reply-To: <20070107130631.5419ea16@Magellan.Leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <790a9fff0612290911t5ae69715gd2bf0dda0f9228f2@mail.gmail.com> <20061230120722.GA36814@stud.fit.vutbr.cz> <790a9fff0612301926n1562d560r1f3fff9af4bdb138@mail.gmail.com> <790a9fff0612301955r35b16472r2429fbe3fce78228@mail.gmail.com> <20061231144257.61520dc8@Magellan.Leidinger.net> <20061231142412.GA28462@stud.fit.vutbr.cz> <790a9fff0612311121l662736e0ud6d3220382af072a@mail.gmail.com> <20070106170237.066f1ec7@Magellan.Leidinger.net> <790a9fff0701070000r4755202fy58e89565dc3edfc9@mail.gmail.com> <20070107130631.5419ea16@Magellan.Leidinger.net> Cc: freebsd-emulation@freebsd.org Subject: Re: linuxolator: amd64 Linux Test Project failures 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, 07 Jan 2007 20:51:50 -0000 On 1/7/07, Alexander Leidinger wrote: > If you can build binutils with PROT_EXEC in mmap, we already have a > winner for the PROT_EXEC stuff (= I may MFC this commit next WE). > When I try to build binutils, it stops building with the following error: make[3]: Entering directory `/var/tmp/portage/binutils-2.16.1-r3/work/build/ld' /bin/sh /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/ld/../ylwrap "bison -y" /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/ld/ldgram.y y.tab.c ldgram.c y.tab.h ldgram.h -- -d /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/ld/../ylwrap: line 86: 33833 Broken pipe $prog ${1+"@"} "$input" make[3]: *** [ldgram.c] Error 1 make[3]: Leaving directory `/var/tmp/portage/binutils-2.16.1-r3/work/build/ld' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/binutils-2.16.1-r3/work/build/ld' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/binutils-2.16.1-r3/work/build/ld' make: *** [all-ld] Error 2 !!! ERROR: sys-devel/binutils-2.16.1-r3 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 1255: Called toolchain-binutils_src_compile toolchain-binutils.eclass, line 199: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. I checked the build, and it built most of binutils (bfd, binutils, etc, gas, gprof, intl, libiberty, opcodes), except for ld. This failure always occurs, doesn't matter if PROT_EXEC is in the mmap code or not. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised. From owner-freebsd-emulation@FreeBSD.ORG Sun Jan 7 17:13:43 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF7D716A403; Sun, 7 Jan 2007 17:13:43 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.freebsd.org (Postfix) with ESMTP id 3012813C459; Sun, 7 Jan 2007 17:13:43 +0000 (UTC) (envelope-from max@love2party.net) Received: from [88.64.178.23] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1H3bLY3dEq-0000Pz; Sun, 07 Jan 2007 17:58:13 +0100 From: Max Laier Organization: FreeBSD To: bushman@freebsd.org, cdjones@freebsd.org, clem1@freebsd.org, dongmei@freebsd.org, emulation@freebsd.org, hselasky@freebsd.org, ivoras@freebsd.org, m@freebsd.org, multimedia@freebsd.org, pisati@freebsd.org, randall@freebsd.org, rdivacky@freebsd.org, re@freebsd.org, ryanb@freebsd.org, security-officer@freebsd.org, security-team@freebsd.org, shteryana@freebsd.org, tisco@freebsd.org, yuanjue@freebsd.org Date: Sun, 7 Jan 2007 17:58:02 +0100 User-Agent: KMail/1.9.5 X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<%}*_BD U_or=\mOZf764&nYj=JYbR1PW0ud>|!~, , CPC.1-D$FG@0h3#'5"k{V]a~. X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 X-Mailman-Approved-At: Sun, 07 Jan 2007 21:32:12 +0000 Cc: Subject: Fwd: Call for FreeBSD Status Reports X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: monthly@freebsd.org List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2007 17:13:43 -0000 You receive this, because you sent in a report for last round. I hope you had a good start to 2007 and would really like to hear about the progress on you project. ---------- Forwarded Message ---------- Subject: Call for FreeBSD Status Reports Date: Sunday 07 January 2007 17:34 From: Max Laier To: freebsd-hackers@freebsd.org Cc: freebsd-current@freebsd.org Hi, and a good 2007 to everyone! It's time to reminisce about last year, in particular about the last three month aka. forth quarter. This is the call for Status Reports covering this timeframe! Submission due has just been moved to January 14th. Submissions must be in the report xml format. You can either use the template[1] or the generator cgi[2]. Please mail the result of either to monthly@ by January 14th. Every project related to FreeBSD should submit a report. Past reports can be browsered from the Status Report homepage[3]. Looking forward to your submissions! I'd also like to remind you that the BSDCan Call for Papers ends at January 19th. While you are writting a Status Report - consider submitting a talk about your work, too! [1] http://www.freebsd.org/news/status/report-sample.xml [2] http://www.freebsd.org/cgi/monthly.cgi [3] http://www.freebsd.org/news/status/ -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News ------------------------------------------------------- From owner-freebsd-emulation@FreeBSD.ORG Mon Jan 8 07:55:45 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9125A16A403 for ; Mon, 8 Jan 2007 07:55:45 +0000 (UTC) (envelope-from pldrouin@pldrouin.net) Received: from smtp.cyberfingers.net (smtp.cyberfingers.net [198.177.254.227]) by mx1.freebsd.org (Postfix) with ESMTP id 72E7113C46A for ; Mon, 8 Jan 2007 07:55:45 +0000 (UTC) (envelope-from pldrouin@pldrouin.net) Received: from [192.168.1.100] (modemcable090.40-56-74.mc.videotron.ca [74.56.40.90]) by smtp.cyberfingers.net (Postfix) with ESMTP id 2DFAE1703C1 for ; Mon, 8 Jan 2007 02:37:28 -0500 (EST) Message-ID: <45A1F4B3.3000204@pldrouin.net> Date: Mon, 08 Jan 2007 02:37:23 -0500 From: Pierre-Luc Drouin User-Agent: Thunderbird 1.5.0.9 (X11/20061230) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: QEMU: Disk Access Abnormally Slow with Linux Guests (DSC timeout) 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, 08 Jan 2007 07:55:45 -0000 I have tried to boot many different Linux boot CD images with QEMU under FreeBSD 6-stable. With all the boot CD images I have tried, I always see a lot of "hdb: DSC timeout" messages and it takes forever to boot (~45 minutes). The CPU usage is very low most of the time, and the hard drive does not seam to work very hard... I am using the latest qemu + kqemu-kmod ports and did not experience that kind of problem with a Win2k guest Thanks! From owner-freebsd-emulation@FreeBSD.ORG Mon Jan 8 08:09:36 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F64716A403 for ; Mon, 8 Jan 2007 08:09:36 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id B731413C45B for ; Mon, 8 Jan 2007 08:09:33 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5D130.dip.t-dialin.net [84.165.209.48]) by redbull.bpaserver.net (Postfix) with ESMTP id 3368E2E18F; Mon, 8 Jan 2007 09:14:48 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id A1CE55B497E; Mon, 8 Jan 2007 09:09:23 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l0889KE9089890; Mon, 8 Jan 2007 09:09:20 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 08 Jan 2007 09:09:20 +0100 Message-ID: <20070108090920.c9huw83tw4wck8sg@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 08 Jan 2007 09:09:20 +0100 From: Alexander Leidinger To: Scot Hetzel References: <790a9fff0612290911t5ae69715gd2bf0dda0f9228f2@mail.gmail.com> <20061230120722.GA36814@stud.fit.vutbr.cz> <790a9fff0612301926n1562d560r1f3fff9af4bdb138@mail.gmail.com> <790a9fff0612301955r35b16472r2429fbe3fce78228@mail.gmail.com> <20061231144257.61520dc8@Magellan.Leidinger.net> <20061231142412.GA28462@stud.fit.vutbr.cz> <790a9fff0612311121l662736e0ud6d3220382af072a@mail.gmail.com> <20070106170237.066f1ec7@Magellan.Leidinger.net> <790a9fff0701070000r4755202fy58e89565dc3edfc9@mail.gmail.com> <20070107130631.5419ea16@Magellan.Leidinger.net> <790a9fff0701071251h2c25b52cjeb4061746a8e459@mail.gmail.com> In-Reply-To: <790a9fff0701071251h2c25b52cjeb4061746a8e459@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 6, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: linuxolator: amd64 Linux Test Project failures 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, 08 Jan 2007 08:09:36 -0000 Quoting Scot Hetzel (from Sun, 7 Jan 2007 =20 14:51:49 -0600): > On 1/7/07, Alexander Leidinger wrote: >> If you can build binutils with PROT_EXEC in mmap, we already have a >> winner for the PROT_EXEC stuff (=3D I may MFC this commit next WE). >> > When I try to build binutils, it stops building with the following error: > > make[3]: Entering directory > `/var/tmp/portage/binutils-2.16.1-r3/work/build/ld' > /bin/sh /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/ld/../ylw= rap > "bison -y" > /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/ld/ldgram.y > y.tab.c ldgram.c y.tab.h ldgram.h -- -d > /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/ld/../ylwrap: > line 86: > 33833 Broken pipe $prog ${1+"@"} "$input" This is independent of the osversion used? Bye, Alexander. --=20 BOFH excuse #174: Backbone adjustment http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Mon Jan 8 08:15:37 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1041116A403 for ; Mon, 8 Jan 2007 08:15:37 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.228]) by mx1.freebsd.org (Postfix) with ESMTP id C3ADF13C428 for ; Mon, 8 Jan 2007 08:15:36 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so3567686nzh for ; Mon, 08 Jan 2007 00:15:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=C9SwHC6uOlTWgu0FqCzXs76rC2UctAIWwmhWYRYpRbKXzf3C6vbb3HX2gjEpMdp9baZVZ6putQyI+BkMScSHlNmmKm3HX2y8rInr6QFl+UASi36BAoB0+pbG5HHYFYFvSxDgJOzYse5HNv2Kqb5xBT1ZhbfQlCbPnTNilf9z9qk= Received: by 10.64.10.2 with SMTP id 2mr1855971qbj.1168244136181; Mon, 08 Jan 2007 00:15:36 -0800 (PST) Received: by 10.65.61.1 with HTTP; Mon, 8 Jan 2007 00:15:36 -0800 (PST) Message-ID: <790a9fff0701080015u6d40fd29p3d195c24f93a22f9@mail.gmail.com> Date: Mon, 8 Jan 2007 02:15:36 -0600 From: "Scot Hetzel" To: "Alexander Leidinger" In-Reply-To: <20070108090920.c9huw83tw4wck8sg@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <790a9fff0612290911t5ae69715gd2bf0dda0f9228f2@mail.gmail.com> <790a9fff0612301955r35b16472r2429fbe3fce78228@mail.gmail.com> <20061231144257.61520dc8@Magellan.Leidinger.net> <20061231142412.GA28462@stud.fit.vutbr.cz> <790a9fff0612311121l662736e0ud6d3220382af072a@mail.gmail.com> <20070106170237.066f1ec7@Magellan.Leidinger.net> <790a9fff0701070000r4755202fy58e89565dc3edfc9@mail.gmail.com> <20070107130631.5419ea16@Magellan.Leidinger.net> <790a9fff0701071251h2c25b52cjeb4061746a8e459@mail.gmail.com> <20070108090920.c9huw83tw4wck8sg@webmail.leidinger.net> Cc: freebsd-emulation@freebsd.org Subject: Re: linuxolator: amd64 Linux Test Project failures 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, 08 Jan 2007 08:15:37 -0000 On 1/8/07, Alexander Leidinger wrote: > Quoting Scot Hetzel (from Sun, 7 Jan 2007 > 14:51:49 -0600): > > > On 1/7/07, Alexander Leidinger wrote: > >> If you can build binutils with PROT_EXEC in mmap, we already have a > >> winner for the PROT_EXEC stuff (= I may MFC this commit next WE). > >> > > When I try to build binutils, it stops building with the following error: > > > > make[3]: Entering directory > > `/var/tmp/portage/binutils-2.16.1-r3/work/build/ld' > > /bin/sh /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/ld/../ylwrap > > "bison -y" > > /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/ld/ldgram.y > > y.tab.c ldgram.c y.tab.h ldgram.h -- -d > > /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/ld/../ylwrap: > > line 86: > > 33833 Broken pipe $prog ${1+"@"} "$input" > > This is independent of the osversion used? > Same failure with osversion set to either 2.4.2 or 2.6.16. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised. From owner-freebsd-emulation@FreeBSD.ORG Mon Jan 8 08:41:01 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5757216A40F for ; Mon, 8 Jan 2007 08:41:01 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.freebsd.org (Postfix) with ESMTP id A56F013C44B for ; Mon, 8 Jan 2007 08:40:58 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id l088et0X013961 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Jan 2007 09:40:55 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id l088etu1013959; Mon, 8 Jan 2007 09:40:55 +0100 (CET) Date: Mon, 8 Jan 2007 09:40:55 +0100 From: Divacky Roman To: Scot Hetzel Message-ID: <20070108084055.GA13851@stud.fit.vutbr.cz> References: <20061230120722.GA36814@stud.fit.vutbr.cz> <790a9fff0612301926n1562d560r1f3fff9af4bdb138@mail.gmail.com> <790a9fff0612301955r35b16472r2429fbe3fce78228@mail.gmail.com> <20061231144257.61520dc8@Magellan.Leidinger.net> <20061231142412.GA28462@stud.fit.vutbr.cz> <790a9fff0612311121l662736e0ud6d3220382af072a@mail.gmail.com> <20070106170237.066f1ec7@Magellan.Leidinger.net> <790a9fff0701070000r4755202fy58e89565dc3edfc9@mail.gmail.com> <20070107130631.5419ea16@Magellan.Leidinger.net> <790a9fff0701071251h2c25b52cjeb4061746a8e459@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <790a9fff0701071251h2c25b52cjeb4061746a8e459@mail.gmail.com> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: Alexander Leidinger , freebsd-emulation@freebsd.org Subject: Re: linuxolator: amd64 Linux Test Project failures 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, 08 Jan 2007 08:41:01 -0000 On Sun, Jan 07, 2007 at 02:51:49PM -0600, Scot Hetzel wrote: > On 1/7/07, Alexander Leidinger wrote: > >If you can build binutils with PROT_EXEC in mmap, we already have a > >winner for the PROT_EXEC stuff (= I may MFC this commit next WE). > > > When I try to build binutils, it stops building with the following error: I wouldn't be surprised if it didnt work in "real linux" too. this looks like a normal build error. can someone confirm it CAN be built on real gentoo? From owner-freebsd-emulation@FreeBSD.ORG Mon Jan 8 11:08:17 2007 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B1DA716A47B for ; Mon, 8 Jan 2007 11:08:17 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9BC6213C44C for ; Mon, 8 Jan 2007 11:08:17 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l08B8HpH016439 for ; Mon, 8 Jan 2007 11:08:17 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l08B8GhW016435 for freebsd-emulation@FreeBSD.org; Mon, 8 Jan 2007 11:08:16 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Jan 2007 11:08:16 GMT Message-Id: <200701081108.l08B8GhW016435@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jan 2007 11:08:17 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/77710 emulation [linux] Linux page fault sigcontext information is wro o kern/101453 emulation [linux] [patch] linprocfs disallows non-zero file offs f ports/102474 emulation linux_base-fc-4_8 appears broken, does not allow to ru o kern/102956 emulation [linux] [patch] Add partial support for SO_PEERCRED in 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/41543 emulation [patch] feature request: easier wine/w23 support o kern/55835 emulation [linux] [patch] Linux IPC emulation missing SETALL sys a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula 8 problems total. From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 9 21:15:15 2007 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98F1C16A416 for ; Tue, 9 Jan 2007 21:15:15 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 4AB4113C469 for ; Tue, 9 Jan 2007 21:15:15 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 7A2CB197F94; Tue, 9 Jan 2007 22:15:14 +0100 (CET) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id l09LCLLh099672; Tue, 9 Jan 2007 22:12:21 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id l09LCKUt099671; Tue, 9 Jan 2007 22:12:20 +0100 (CET) (envelope-from nox) Date: Tue, 9 Jan 2007 22:12:20 +0100 (CET) From: Juergen Lock Message-Id: <200701092112.l09LCKUt099671@saturn.kn-bremen.de> To: pldrouin@pldrouin.net X-Newsgroups: local.list.freebsd.emulation In-Reply-To: <45A1F4B3.3000204@pldrouin.net> Organization: home Cc: freebsd-emulation@FreeBSD.org Subject: Re: QEMU: Disk Access Abnormally Slow with Linux Guests (DSC timeout) 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, 09 Jan 2007 21:15:15 -0000 In article <45A1F4B3.3000204@pldrouin.net> you write: >I have tried to boot many different Linux boot CD images with QEMU under >FreeBSD 6-stable. With all the boot CD images I have tried, I always see >a lot of "hdb: DSC timeout" messages and it takes forever to boot (~45 >minutes). The CPU usage is very low most of the time, and the hard drive >does not seam to work very hard... > >I am using the latest qemu + kqemu-kmod ports and did not experience >that kind of problem with a Win2k guest Hmm, it seems this is fallout from the -disk patch, which has been backed out in qemu in the meantime: -----snip--- Date: 2007-01-07 20:42:14 +0000 Revert -disk patch, as requested by Fabrice. The general idea of this patch is sound, but the implementation is just too ugly. -----snip--- So this should be fixed with the next update. (Tho that may still take a bit since I'm still waiting for resolution on another bug, slirp `sometimes' not working right anymore, see other post.) Actually... If this takes longer than expected I'm thinking of adding back qemu 0.8.2 as a qemu-stable port, do people want that? Two bugs in such a short time is a bit much I'd say... :/ Juergen From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 9 21:18:44 2007 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C810116A403 for ; Tue, 9 Jan 2007 21:18:44 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 3043713C442 for ; Tue, 9 Jan 2007 21:18:44 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id B25BE1322E2; Tue, 9 Jan 2007 21:50:53 +0100 (CET) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id l09KlfWN098968; Tue, 9 Jan 2007 21:47:41 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id l09Klfgw098967; Tue, 9 Jan 2007 21:47:41 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Tue, 9 Jan 2007 21:47:40 +0100 To: qemu-devel@nongnu.org, freebsd-emulation@FreeBSD.org Message-ID: <20070109204740.GA98620@saturn.kn-bremen.de> Mail-Followup-To: qemu-devel@nongnu.org, freebsd-emulation@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: weird slirp problems (dns lookups stopped working, and maybe more) 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, 09 Jan 2007 21:18:44 -0000 Hi! I'm not sure why I didn't notice signs of this earlier (using the Dec 25 snapshot, I'm on FreeBSD), maybe I really only talked to the host (10.0.2.2) from inside guests. Anyway, after I first saw it yesterday night, today I sniffed on the external interface and saw dns requests of a `host google.com' going out to 224.0.0.251, port 5353, instead of the dns in resolv.conf. Hmm? And when I patched slirp like this: Index: qemu/slirp/slirp.c @@ -130,6 +130,7 @@ void slirp_init(void) { // debug_init("/tmp/slirp.log", DEBUG_DEFAULT); + debug_init("/usr/tmp/slirp.log", DEBUG_DEFAULT); #ifdef _WIN32 { Index: qemu/slirp/udp.c @@ -104,6 +104,9 @@ */ ip = mtod(m, struct ip *); uh = (struct udphdr *)((caddr_t)ip + iphlen); +#if 1 + DEBUG_MISC((dfd, " udp_input(), ip_dst.s_addr=0x%x, uh_dport=%d\n", ntohl(ip->ip_dst.s_addr), ntohs(uh->uh_dport))); +#endif /* * Make mbuf data length reflect UDP length. it indeed shows slirp is getting the dest ip + port correctly and then sends them out wrong: ... m_get... m = 9bd7800 ip_input... m = 9bd7800 m_len = 56 udp_input... m = 9bd7800 iphlen = 20 udp_input(), ip_dst.s_addr=0xa000203, uh_dport=53 sosendto... so = 9b39b80 m = 9bd7800 sendto()ing, addr.sin_port=5353, addr.sin_addr.s_addr=224.0.0.251 m_free... m = 9bd7000 ip_slowtimo... tcp_slowtimo... ... In between I see these which I'm not sure where they are coming from: ... m_get... m = 9bd7800 ip_input... m = 9bd7800 m_len = 74 udp_input... m = 9bd7800 iphlen = 20 udp_input(), ip_dst.s_addr=0xe00000fb, uh_dport=5353 sosendto... so = 9b39b80 m = 9bd7800 sendto()ing, addr.sin_port=5353, addr.sin_addr.s_addr=224.0.0.251 m_free... m = 9bd7000 ip_slowtimo... tcp_slowtimo... m_get... m = 9bd7000 ip_input... m = 9bd7000 m_len = 74 udp_input... m = 9bd7000 iphlen = 20 udp_input(), ip_dst.s_addr=0xe00000fb, uh_dport=5353 sosendto... so = 9b39b80 m = 9bd7000 sendto()ing, addr.sin_port=5353, addr.sin_addr.s_addr=224.0.0.251 m_free... m = 9bd7800 ip_slowtimo... tcp_slowtimo... ip_slowtimo... tcp_slowtimo... And this is my try giving the real dns (which worked yesterday btw): m_get... m = 9bd7800 ip_input... m = 9bd7800 m_len = 56 udp_input... m = 9bd7800 iphlen = 20 udp_input(), ip_dst.s_addr=0xd9ed958e, uh_dport=53 sosendto... so = 9b39b80 m = 9bd7800 sendto()ing, addr.sin_port=5353, addr.sin_addr.s_addr=224.0.0.251 m_free... m = 9bd7000 ip_slowtimo... tcp_slowtimo... ... I also got a report which stated that for him also tcp stopped working, while I still can do http:// and get the expected page, and as said I can also ssh (and scp) to the host (10.0.2.2). Soo, does anyone know slirp enough to have an idea whats going on here? The puzzling thing is I don't see recent slirp commits that could be relevant either... Thanx, Juergen From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 9 23:05:42 2007 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 73E8716A407 for ; Tue, 9 Jan 2007 23:05:42 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 31A4913C458 for ; Tue, 9 Jan 2007 23:05:42 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 35BD713683D; Wed, 10 Jan 2007 00:05:41 +0100 (CET) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id l09N4377004913; Wed, 10 Jan 2007 00:04:03 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id l09N43g2004912; Wed, 10 Jan 2007 00:04:03 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Wed, 10 Jan 2007 00:04:03 +0100 To: qemu-devel@nongnu.org, freebsd-emulation@FreeBSD.org Message-ID: <20070109230403.GA4552@saturn.kn-bremen.de> Mail-Followup-To: qemu-devel@nongnu.org, freebsd-emulation@FreeBSD.org References: <20070109204740.GA98620@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070109204740.GA98620@saturn.kn-bremen.de> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Re: weird slirp problems (dns lookups stopped working, and maybe more) 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, 09 Jan 2007 23:05:42 -0000 On Tue, Jan 09, 2007 at 09:47:40PM +0100, Juergen Lock wrote: > Hi! > > I'm not sure why I didn't notice signs of this earlier (using the > Dec 25 snapshot, I'm on FreeBSD), maybe I really only talked to the host > (10.0.2.2) from inside guests. Anyway, after I first saw it yesterday > night, today I sniffed on the external interface and saw dns requests > of a `host google.com' going out to 224.0.0.251, port 5353, instead > of the dns in resolv.conf. [...] > In between I see these which I'm not sure where they are coming from: > > ... > m_get... > m = 9bd7800 > ip_input... > m = 9bd7800 > m_len = 74 > udp_input... > m = 9bd7800 > iphlen = 20 > udp_input(), ip_dst.s_addr=0xe00000fb, uh_dport=5353 > sosendto... > so = 9b39b80 > m = 9bd7800 > sendto()ing, addr.sin_port=5353, addr.sin_addr.s_addr=224.0.0.251 > m_free... > m = 9bd7000 > ip_slowtimo... > tcp_slowtimo... > ... Ok, garrison on irc just helped solve this mystery: This (the same) one actually goes out first, before the 10.0.2.3 one (I didn't notice at first), and since slirp reuses the socket because the source ip and port hasnt changed (slirp/udp.c lines 172 and up, it doesn't check the dest ip), the second packet with the 10.0.2.3 dest ip (which gets replaced with the hosts's dns) goes out wrong. And the reason this worked previously with the same guest is multicast started working only recently... (Now why tcp stopped working for the other guy I still don't know...) Thanx, Juergen From owner-freebsd-emulation@FreeBSD.ORG Fri Jan 12 01:43:34 2007 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD0D416A40F for ; Fri, 12 Jan 2007 01:43:34 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 898F113C459 for ; Fri, 12 Jan 2007 01:43:34 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id D14091993E9; Fri, 12 Jan 2007 02:43:32 +0100 (CET) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id l0C1fie5050664; Fri, 12 Jan 2007 02:41:44 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id l0C1fhiY050663; Fri, 12 Jan 2007 02:41:43 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Fri, 12 Jan 2007 02:41:43 +0100 To: qemu-devel@nongnu.org, freebsd-emulation@FreeBSD.org Message-ID: <20070112014143.GA50646@saturn.kn-bremen.de> Mail-Followup-To: qemu-devel@nongnu.org, freebsd-emulation@FreeBSD.org References: <20070109204740.GA98620@saturn.kn-bremen.de> <20070109230403.GA4552@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070109230403.GA4552@saturn.kn-bremen.de> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Re: weird slirp problems (dns lookups stopped working, and maybe more) 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, 12 Jan 2007 01:43:34 -0000 On Wed, Jan 10, 2007 at 12:04:03AM +0100, Juergen Lock wrote: >... > Ok, garrison on irc just helped solve this mystery: This (the same) > one actually goes out first, before the 10.0.2.3 one (I didn't notice > at first), and since slirp reuses the socket because the source ip and > port hasnt changed (slirp/udp.c lines 172 and up, it doesn't check the > dest ip), the second packet with the 10.0.2.3 dest ip (which gets > replaced with the hosts's dns) goes out wrong. And the reason this > worked previously with the same guest is multicast started working > only recently... And here's the fix I just added to the FreeBSD qemu port: (thanx garrison!) Index: qemu/slirp/udp.c @@ -205,8 +208,6 @@ /* udp_last_so = so; */ so->so_laddr = ip->ip_src; so->so_lport = uh->uh_sport; - so->so_faddr = ip->ip_dst; /* XXX */ - so->so_fport = uh->uh_dport; /* XXX */ if ((so->so_iptos = udp_tos(so)) == 0) so->so_iptos = ip->ip_tos; @@ -216,6 +217,15 @@ * and if it is, do the fork_exec() etc. */ } + + /* + * Assign destination unconditionally + * + * This fixes the case where packets are sent from the same + * source ip/port to different destination ips/ports + */ + so->so_faddr = ip->ip_dst; /* XXX */ + so->so_fport = uh->uh_dport; /* XXX */ iphlen += sizeof(struct udphdr); m->m_len -= iphlen; From owner-freebsd-emulation@FreeBSD.ORG Fri Jan 12 04:10:17 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6FB9616A415 for ; Fri, 12 Jan 2007 04:10:17 +0000 (UTC) (envelope-from jason.wessel@windriver.com) Received: from mail.wrs.com (mail.windriver.com [147.11.1.11]) by mx1.freebsd.org (Postfix) with ESMTP id 460B913C461 for ; Fri, 12 Jan 2007 04:10:17 +0000 (UTC) (envelope-from jason.wessel@windriver.com) Received: from ALA-MAIL03.corp.ad.wrs.com (ala-mail03 [147.11.57.144]) by mail.wrs.com (8.13.6/8.13.6) with ESMTP id l0C3bxRs018584; Thu, 11 Jan 2007 19:37:59 -0800 (PST) Received: from ala-mail06.corp.ad.wrs.com ([147.11.57.147]) by ALA-MAIL03.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 11 Jan 2007 19:37:59 -0800 Received: from [128.224.62.66] ([128.224.62.66]) by ala-mail06.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 11 Jan 2007 19:37:59 -0800 Message-ID: <45A70296.9010705@windriver.com> Date: Thu, 11 Jan 2007 21:37:58 -0600 From: Jason Wessel User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org References: <20070109204740.GA98620@saturn.kn-bremen.de> <20070109230403.GA4552@saturn.kn-bremen.de> <20070112014143.GA50646@saturn.kn-bremen.de> In-Reply-To: <20070112014143.GA50646@saturn.kn-bremen.de> Content-Type: multipart/mixed; boundary="------------030905060207030201020006" X-OriginalArrivalTime: 12 Jan 2007 03:37:59.0359 (UTC) FILETIME=[0E230CF0:01C735FB] Cc: Subject: Re: [Qemu-devel] Re: weird slirp problems (dns lookups stopped working, and maybe more) [PATCH] 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, 12 Jan 2007 04:10:17 -0000 This is a multi-part message in MIME format. --------------030905060207030201020006 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I posted a similar patch last year, but it was not accepted for some reason. Making this change allows UDP nfs to work to a remote file server as well. I would recommend, making one further change as included in this patch. It allows KGDBOE to operate on the local host or from a remote host because it allow the special 10.0.2.2 address to be translated. I have included the patch in the e-mail once again. signed-off-by: jason.wessel@windriver.com Jason. Juergen Lock wrote: > On Wed, Jan 10, 2007 at 12:04:03AM +0100, Juergen Lock wrote: > >> ... >> Ok, garrison on irc just helped solve this mystery: This (the same) >> one actually goes out first, before the 10.0.2.3 one (I didn't notice >> at first), and since slirp reuses the socket because the source ip and >> port hasnt changed (slirp/udp.c lines 172 and up, it doesn't check the >> dest ip), the second packet with the 10.0.2.3 dest ip (which gets >> replaced with the hosts's dns) goes out wrong. And the reason this >> worked previously with the same guest is multicast started working >> only recently... >> > > And here's the fix I just added to the FreeBSD qemu port: (thanx garrison!) > > Index: qemu/slirp/udp.c > @@ -205,8 +208,6 @@ > /* udp_last_so = so; */ > so->so_laddr = ip->ip_src; > so->so_lport = uh->uh_sport; > - so->so_faddr = ip->ip_dst; /* XXX */ > - so->so_fport = uh->uh_dport; /* XXX */ > > if ((so->so_iptos = udp_tos(so)) == 0) > so->so_iptos = ip->ip_tos; > @@ -216,6 +217,15 @@ > * and if it is, do the fork_exec() etc. > */ > } > + > + /* > + * Assign destination unconditionally > + * > + * This fixes the case where packets are sent from the same > + * source ip/port to different destination ips/ports > + */ > + so->so_faddr = ip->ip_dst; /* XXX */ > + so->so_fport = uh->uh_dport; /* XXX */ > > iphlen += sizeof(struct udphdr); > m->m_len -= iphlen; > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > --------------030905060207030201020006 Content-Type: text/plain; name="always_set_udp_faddr.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="always_set_udp_faddr.patch" Index: qemu/slirp/udp.c =================================================================== --- qemu.orig/slirp/udp.c +++ qemu/slirp/udp.c @@ -205,8 +205,6 @@ udp_input(m, iphlen) /* udp_last_so = so; */ so->so_laddr = ip->ip_src; so->so_lport = uh->uh_sport; - so->so_faddr = ip->ip_dst; /* XXX */ - so->so_fport = uh->uh_dport; /* XXX */ if ((so->so_iptos = udp_tos(so)) == 0) so->so_iptos = ip->ip_tos; @@ -216,6 +214,13 @@ udp_input(m, iphlen) * and if it is, do the fork_exec() etc. */ } + /* Always reset the from address as it can change, + * as with NFS for example where it will talk to + * the same destination port with multiple source + * addresses. Or different gdb session to kgdboe. + */ + so->so_faddr = ip->ip_dst; /* XXX */ + so->so_fport = uh->uh_dport; /* XXX */ iphlen += sizeof(struct udphdr); m->m_len -= iphlen; @@ -312,7 +317,8 @@ int udp_output(struct socket *so, struct struct sockaddr_in saddr, daddr; saddr = *addr; - if ((so->so_faddr.s_addr & htonl(0xffffff00)) == special_addr.s_addr) { + if ((so->so_faddr.s_addr & htonl(0xffffff00)) == special_addr.s_addr && + addr->sin_addr.s_addr == htonl(0x7f000001)) { saddr.sin_addr.s_addr = so->so_faddr.s_addr; if ((so->so_faddr.s_addr & htonl(0x000000ff)) == htonl(0xff)) saddr.sin_addr.s_addr = alias_addr.s_addr; --------------030905060207030201020006-- From owner-freebsd-emulation@FreeBSD.ORG Sat Jan 13 19:17:11 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7327716A415 for ; Sat, 13 Jan 2007 19:17:11 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [210.51.165.237]) by mx1.freebsd.org (Postfix) with ESMTP id A701213C428 for ; Sat, 13 Jan 2007 19:17:10 +0000 (UTC) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Sun, 14 Jan 2007 03:17:05 +0800 id 0011F802.45A93031.00011F2C From: "Intron is my alias on the Internet" To: freebsd-emulation@freebsd.org Date: Sun, 14 Jan 2007 03:17:05 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Subject: What Video Capture Card Are You Using? 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, 13 Jan 2007 19:17:11 -0000 I'd like to know what video capture cards need to be supported by FreeBSD firstly, especially for their TV tuners. Please fill in the following form and send it back to me. This survey is temporarily limited in analogue TV capture cards. There are not many digital TV capture cards on the market so far. Card Vendor: ___________________________ Card Model: ___________________________ Country: ___________________________ Chip Vendor: ___________________________ (e.g. Conexant or Philips) Chip Model: ___________________________ (e.g. BT878A or SAA7134) Hardware Interface: _______ (PCI/USB) PCI/USB vendor/device IDs (both chip's and card's, indicated by "pciconf -lv" or "usbdevs -v"): _________________________________ Supported TV Standards: _______________________ (PAL/NTSC/SECAM) Remote Controller: _______ (Yes/No) Self-supported Audio Capture: _______ (Yes/No) Where to Download the Driver for Microsoft Windows 2000/XP/Vista (the complete URL, VERY IMPORTANT): ___________________________________________________________________ ------------------------------------------------------------------------ From Beijing, China From owner-freebsd-emulation@FreeBSD.ORG Sat Jan 13 20:15:48 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 254EE16A57A for ; Sat, 13 Jan 2007 20:15:48 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id D470F13C54B for ; Sat, 13 Jan 2007 20:15:42 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so948936uge for ; Sat, 13 Jan 2007 12:15:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ETZhWmi2g8JXti2llurBdIe7k0wtaVTbE30ykL/nDHer66YbLPVxefokIdy5rpINRl2iXBGeBxbnmzj5TkLyBDbn+ma/e9s/Yv5Lbqui4t30W0hiS2o5xavOybnonhqKmEFiPbFtG9R+ZgZkHwWXOIzkfc6MnX33PtIoxBqb0M0= Received: by 10.78.193.19 with SMTP id q19mr1357418huf.1168719333481; Sat, 13 Jan 2007 12:15:33 -0800 (PST) Received: by 10.78.164.20 with HTTP; Sat, 13 Jan 2007 12:15:33 -0800 (PST) Message-ID: Date: Sat, 13 Jan 2007 23:15:33 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Mark Linimon" In-Reply-To: <20061224113035.GA25941@soaustin.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <21940630@bsam.ru> <20061223211725.GB24163@soaustin.net> <20061224120420.0542dfdb@Magellan.Leidinger.net> <20061224113035.GA25941@soaustin.net> X-Google-Sender-Auth: 5e70fcc1aa357bdc Cc: emulation@freebsd.org, Alexander Leidinger Subject: Re: Overlong mailing-list maintainer address in ports 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, 13 Jan 2007 20:15:48 -0000 On 12/24/06, Mark Linimon wrote: > On Sun, Dec 24, 2006 at 12:04:20PM +0100, Alexander Leidinger wrote: > > If I read this right: in Makefiles we should use emulation@FreeBSD.org > > and in PRs freebsd-emulation, right? > > Checking the existing ports, they are all assigned to freebsd-emulation@. Right. The question is, should we stick to shorter form for maintainership or allow both forms being used on a case-by-case basis. From owner-freebsd-emulation@FreeBSD.ORG Sat Jan 13 20:54:19 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 51BAB16A412; Sat, 13 Jan 2007 20:54:19 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 0BBFE13C46B; Sat, 13 Jan 2007 20:54:19 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5DEEC.dip.t-dialin.net [84.165.222.236]) by redbull.bpaserver.net (Postfix) with ESMTP id 30D122E1AE; Sat, 13 Jan 2007 22:01:01 +0100 (CET) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by outgoing.leidinger.net (Postfix) with ESMTP id 1FBE65B497E; Sat, 13 Jan 2007 21:54:12 +0100 (CET) Date: Sat, 13 Jan 2007 21:54:11 +0100 From: Alexander Leidinger To: "Andrew Pantyukhin" Message-ID: <20070113215411.6a80a04f@Magellan.Leidinger.net> In-Reply-To: References: <21940630@bsam.ru> <20061223211725.GB24163@soaustin.net> <20061224120420.0542dfdb@Magellan.Leidinger.net> <20061224113035.GA25941@soaustin.net> X-Mailer: Claws Mail 2.7.0 (GTK+ 2.10.7; i686-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 6, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@freebsd.org, Mark Linimon Subject: Re: Overlong mailing-list maintainer address in ports 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, 13 Jan 2007 20:54:19 -0000 Quoting "Andrew Pantyukhin" (Sat, 13 Jan 2007 23:15:33 +0300): > On 12/24/06, Mark Linimon wrote: > > On Sun, Dec 24, 2006 at 12:04:20PM +0100, Alexander Leidinger wrote: > > > If I read this right: in Makefiles we should use emulation@FreeBSD.org > > > and in PRs freebsd-emulation, right? > > > > Checking the existing ports, they are all assigned to freebsd-emulation@. > > Right. The question is, should we stick to shorter > form for maintainership or allow both forms being > used on a case-by-case basis. If you use both kinds of addressing you create 2 maintenance groups in automated tools (portsmon, automated PR mailing, ...). This can be used on purpose, but is highly confusing to people which don't use this on a daily basis (= confusing to people which have ot assign a PR to the right group). Bye, Alexander. -- Yes! Oh, yes! Read it and weep! In your face -- I got more chicken bone! -- Homer Simpson When Flanders Failed http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137