From owner-freebsd-emulation@FreeBSD.ORG Sun Mar 8 00:11:12 2009 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 CAC54106564A for ; Sun, 8 Mar 2009 00:11:12 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 649B98FC1B for ; Sun, 8 Mar 2009 00:11:12 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 8800 invoked by uid 399); 8 Mar 2009 00:11:06 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 8 Mar 2009 00:11:06 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <49B30D19.2090203@FreeBSD.org> Date: Sat, 07 Mar 2009 16:11:05 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (X11/20090307) MIME-Version: 1.0 To: Scot Hetzel References: <790a9fff0903070442v66de9f4ar140cf6e2a6f716ac@mail.gmail.com> <49B2F950.9010803@FreeBSD.org> <49B2FE65.6000009@FreeBSD.org> In-Reply-To: <49B2FE65.6000009@FreeBSD.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: Help configuring qemu networking tap mode 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, 08 Mar 2009 00:11:13 -0000 Doug Barton wrote: > So I'm past the Network Install phase and we're now finalizing the > install. :) Well, bad news ... the install is finished, but networking is not working. If I do user mode networking it gets an IP address but can't see the outside world. If I follow your instructions from the previous e-mail it never gets an IP address at all, the network status thing says "limited or no connectivity." Any ideas where to look? > BTW, I forgot to mention that I'm using qemu-devel, and so far I > haven't installed kqemu since I've read some messages where people > have had problems with it recently on -current. > > Couple more quick questions, is there some middle ground between size > of the default window that pops up when I run the command line you > supplied and full screen mode? I found the answer to this one, use the controls inside windows to bump up the resolution. > Finally it looks to me like I'll need to set up samba on the host if I > want the XP guest to have access to files that are not in the image, > correct? The man page mentions the -smb option for the user mode > network stack, will that work for tap too? Doug -- This .signature sanitized for your protection From owner-freebsd-emulation@FreeBSD.ORG Sun Mar 8 02:45:50 2009 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 5215F106564A for ; Sun, 8 Mar 2009 02:45:50 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id D59EB8FC15 for ; Sun, 8 Mar 2009 02:45:49 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 29057 invoked by uid 399); 8 Mar 2009 02:45:44 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 8 Mar 2009 02:45:44 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <49B33157.9040106@FreeBSD.org> Date: Sat, 07 Mar 2009 18:45:43 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (X11/20090307) MIME-Version: 1.0 To: Scot Hetzel References: <790a9fff0903070442v66de9f4ar140cf6e2a6f716ac@mail.gmail.com> <49B2F950.9010803@FreeBSD.org> <49B2FE65.6000009@FreeBSD.org> <49B30D19.2090203@FreeBSD.org> In-Reply-To: <49B30D19.2090203@FreeBSD.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: Help configuring qemu networking tap mode 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, 08 Mar 2009 02:45:50 -0000 Doug Barton wrote: > Doug Barton wrote: >> So I'm past the Network Install phase and we're now finalizing the >> install. :) > > Well, bad news ... the install is finished, but networking is not > working. If I do user mode networking it gets an IP address but can't > see the outside world. If I follow your instructions from the previous > e-mail it never gets an IP address at all, the network status thing > says "limited or no connectivity." Turns out that there is a page on the wiki that has some good suggestions, although it could use a bit of tweaking. I got networking up by doing this in the host: myif=bge0 ifconfig tap create ifconfig bridge create ifconfig bridge0 addm tap0 addm $myif up Then I was able to start qemu with the tap command line and now networking works. I also installed kqemu, but I'm noticing that even with that working it's still pretty slow. I have a pretty fast core 2 duo and qemu is often pegging one of the cpus. Still, it's interesting enough to keep trying to make work ... Doug -- This .signature sanitized for your protection From owner-freebsd-emulation@FreeBSD.ORG Sun Mar 8 08:40:05 2009 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 025FF1065730; Sun, 8 Mar 2009 08:40:04 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id 8B7BE8FC14; Sun, 8 Mar 2009 08:40:04 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so532897ywt.13 for ; Sun, 08 Mar 2009 00:40:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=PNiXePappgMehnbNxCiZxErFmjSZFscYaYkjd3HDSak=; b=ICAApyamhyXOLbnU5x2EsdYNACgMGeLOKMB0VdKU0NFt1TDevqgmwMfIFWtkh7Law5 kOR/EoNUIuMHZn0wT9U4zgRmzKv27lz5ASxZToGltBGs3cUhmaA8MDSUmCT1yollTN1e 0/wwHZnyaLteQMiYFCr4UFX13NT1a3viKcXh0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=sYzkjq8SSMiyfoAgKZJnu/qElAr4Owu6kWooOu6SLthisvu/riLKOTNRCZ9apTm+/V Dm4qgWYXNym/C1rp9jgRvwSX2lHB/+/oYTLFsUKSNbSbIhPqAV3fd6ZCRDpoQnBtgqnL QuRumFfQBYQqOc9anljx2EJnIL7CuW06G6y6M= MIME-Version: 1.0 Received: by 10.220.91.205 with SMTP id o13mr1291692vcm.92.1236501603770; Sun, 08 Mar 2009 00:40:03 -0800 (PST) In-Reply-To: <49B33157.9040106@FreeBSD.org> References: <790a9fff0903070442v66de9f4ar140cf6e2a6f716ac@mail.gmail.com> <49B2F950.9010803@FreeBSD.org> <49B2FE65.6000009@FreeBSD.org> <49B30D19.2090203@FreeBSD.org> <49B33157.9040106@FreeBSD.org> Date: Sun, 8 Mar 2009 02:40:03 -0600 Message-ID: <790a9fff0903080040j7f8548e0ue1d382afcdb74cbe@mail.gmail.com> From: Scot Hetzel To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: Help configuring qemu networking tap mode 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, 08 Mar 2009 08:40:05 -0000 On 3/7/09, Doug Barton wrote: > Doug Barton wrote: > > Doug Barton wrote: > >> So I'm past the Network Install phase and we're now finalizing the > >> install. :) > > > > Well, bad news ... the install is finished, but networking is not > > working. If I do user mode networking it gets an IP address but can't > > see the outside world. If I follow your instructions from the previous > > e-mail it never gets an IP address at all, the network status thing > > says "limited or no connectivity." > > > Turns out that there is a page on the wiki that has some good > suggestions, although it could use a bit of tweaking. I got networking > up by doing this in the host: > The How To was based on that wiki page and several others. Plus my own creation of not depending on the qemu startup/shutdown scripts to add/remove the tap device to/from the bridge. > myif=bge0 > > ifconfig tap create > ifconfig bridge create > ifconfig bridge0 addm tap0 addm $myif up > As you found out you need to add your hosts interface (bge0, rl0) to the bridge. > Then I was able to start qemu with the tap command line and now > networking works. > I was at work and couldn't answer your early questions, but it is good to hear that you were able to make it work. On 3/7/09, Doug Barton wrote: > Finally it looks to me like I'll need to set up samba on the host if I > want the XP guest to have access to files that are not in the image, > correct? The man page mentions the -smb option for the user mode > network stack, will that work for tap too? > You'll need to setup samba to allow the XP guest access to the files on the host system. I haven't tried the -smb option under a tap setup, it might work. Scot From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 9 01:00:29 2009 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 ED5BB106566B for ; Mon, 9 Mar 2009 01:00:29 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 897828FC24 for ; Mon, 9 Mar 2009 01:00:29 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 8437 invoked by uid 399); 9 Mar 2009 01:00:27 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 9 Mar 2009 01:00:27 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <49B46A29.7020500@FreeBSD.org> Date: Sun, 08 Mar 2009 18:00:25 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (X11/20090307) MIME-Version: 1.0 To: freebsd-emulation@FreeBSD.org X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: qemu 0.10.0 - cd/dvd drive access problems 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, 09 Mar 2009 01:00:30 -0000 One of my main reasons for wanting to install qemu was to be able to use Windows tools for things like archiving DVDs. Now that I have qemu working pretty well for most things, I tried to start using it for DVD/CD access and it's not working well at all. I installed XP via a typical installation CD, so I thought I had it made in this area. :( I'm using '-cdrom /dev/acd0' the same way I did for the install. If there is a disc in the drive when I start qemu I can "see" the disc, and copy some small files from it. However trying to copy/read large files (say, 1G) doesn't work at all. I get an error saying that sector of the disc cannot be read (this is with known-good discs). I tried with and without the cd-rom DMA compile-time OPTION, no luck. If I remove the disc from the drive, or if there is no disc in the drive when I start qemu, inserting one after it starts produces no results. Every time I try to access the drive I get the "Please insert a disc into drive D:" error message. I'm using a fairly up to date 8-current as the host, btw. Any suggestions? Doug -- This .signature sanitized for your protection From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 9 03:40:52 2009 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 95FB9106566B for ; Mon, 9 Mar 2009 03:40:52 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id 681F28FC19 for ; Mon, 9 Mar 2009 03:40:52 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id 979FC125422 for ; Mon, 9 Mar 2009 12:40:51 +0900 (JST) Message-ID: <49B48FC3.70105@ongs.co.jp> Date: Mon, 09 Mar 2009 12:40:51 +0900 From: Daichi GOTO User-Agent: Thunderbird 2.0.0.19 (X11/20090201) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: How to config timezone of linux_base-f8 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, 09 Mar 2009 03:40:52 -0000 Title says everything :) I want to use JST as default timezone for linux_base-f8. Anyone has any ideas? -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 9 09:37:08 2009 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 5C0AD106564A; Mon, 9 Mar 2009 09:37:08 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3]) by mx1.freebsd.org (Postfix) with ESMTP id ED88E8FC12; Mon, 9 Mar 2009 09:37:07 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.27] (helo=17.mx.freenet.de) by mout1.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1Lgbv0-00086Z-T7; Mon, 09 Mar 2009 10:37:06 +0100 Received: from tc7b5.t.pppool.de ([89.55.199.181]:61545 helo=ernst.jennejohn.org) by 17.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1Lgbv0-0008T8-K1; Mon, 09 Mar 2009 10:37:06 +0100 Date: Mon, 9 Mar 2009 10:37:06 +0100 From: Gary Jennejohn To: Doug Barton Message-ID: <20090309103706.0a44fb26@ernst.jennejohn.org> In-Reply-To: <49B46A29.7020500@FreeBSD.org> References: <49B46A29.7020500@FreeBSD.org> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: qemu 0.10.0 - cd/dvd drive access problems X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2009 09:37:08 -0000 On Sun, 08 Mar 2009 18:00:25 -0700 Doug Barton wrote: > One of my main reasons for wanting to install qemu was to be able to > use Windows tools for things like archiving DVDs. Now that I have qemu > working pretty well for most things, I tried to start using it for > DVD/CD access and it's not working well at all. I installed XP via a > typical installation CD, so I thought I had it made in this area. :( > > I'm using '-cdrom /dev/acd0' the same way I did for the install. If > there is a disc in the drive when I start qemu I can "see" the disc, > and copy some small files from it. However trying to copy/read large > files (say, 1G) doesn't work at all. I get an error saying that sector > of the disc cannot be read (this is with known-good discs). I tried > with and without the cd-rom DMA compile-time OPTION, no luck. If I > remove the disc from the drive, or if there is no disc in the drive > when I start qemu, inserting one after it starts produces no results. > Every time I try to access the drive I get the "Please insert a disc > into drive D:" error message. > > I'm using a fairly up to date 8-current as the host, btw. > > > Any suggestions? > Do you have vfs_aio in your kernel or as a module? I've run openSUSE in qemu and used the DVD drive with no problems at all; I have vfs_aio in my kernel. However, I don't know how much data were transfered by openSUSE. Since I was merely loading packages from the DVD it may have been only a few MB. One thing I've noticed is that the DVD drive is locked and I can't open the drawer once qemu starts, even if there is no disc in the drive. Apparently openSUSE acceses the drive (i.e. locks it) even when it's empty. --- Gary Jennejohn From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 9 13:46:09 2009 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 5FF591065679; Mon, 9 Mar 2009 13:46:09 +0000 (UTC) (envelope-from phusion2k@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id 29C948FC21; Mon, 9 Mar 2009 13:46:08 +0000 (UTC) (envelope-from phusion2k@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so1811107rvb.43 for ; Mon, 09 Mar 2009 06:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=x1rHCaS6Lq1IIGyrwRTxm7z+dwE1MeP1sfOkNqfUklo=; b=c0HWNUJZLYQhgiDUmbwKeUOxAnYBq9hTsi2z46GUMV5ZylvM1HdLi1i5xLMh8mdulv Yt9f+rsobHxd7tFL1Kh+awN3ySLa5Ib0szDauY0nt664+ebgoTXbFwlXHkXHQtG1Ojyj z3KL1lUKYD/D3VQu33aREiX0e89C5fy+maCsg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dsGarRdDYKvq5n4srnj6m1R2fuNCV8w7ORNQT9xyBc1as+1YN60w94dM5xfx3swqmc jvBnp8JZv7JL/MS/wynLqIBzRSP9J29hJ9oPDC+zMq6Ly06AZOQyGR630GRTHJ/SQdeg 0M1Vr5zda6uTERWJQhE4LCpkE4UL8tOCuzLKk= MIME-Version: 1.0 Received: by 10.141.142.15 with SMTP id u15mr3084240rvn.112.1236606368538; Mon, 09 Mar 2009 06:46:08 -0700 (PDT) In-Reply-To: <790a9fff0903080040j7f8548e0ue1d382afcdb74cbe@mail.gmail.com> References: <790a9fff0903070442v66de9f4ar140cf6e2a6f716ac@mail.gmail.com> <49B2F950.9010803@FreeBSD.org> <49B2FE65.6000009@FreeBSD.org> <49B30D19.2090203@FreeBSD.org> <49B33157.9040106@FreeBSD.org> <790a9fff0903080040j7f8548e0ue1d382afcdb74cbe@mail.gmail.com> Date: Mon, 9 Mar 2009 08:46:08 -0500 Message-ID: From: Phusion To: Scot Hetzel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-emulation@freebsd.org Subject: Re: Help configuring qemu networking tap mode 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, 09 Mar 2009 13:46:09 -0000 On Sun, Mar 8, 2009 at 4:40 AM, Scot Hetzel wrote: > On 3/7/09, Doug Barton wrote: >> Doug Barton wrote: >> =A0> Doug Barton wrote: >> =A0>> So I'm past the Network Install phase and we're now finalizing the >> =A0>> install. :) >> =A0> >> =A0> Well, bad news ... the install is finished, but networking is not >> =A0> working. If I do user mode networking it gets an IP address but can= 't >> =A0> see the outside world. If I follow your instructions from the previ= ous >> =A0> e-mail it never gets an IP address at all, the network status thing >> =A0> says "limited or no connectivity." >> >> >> Turns out that there is a page on the wiki that has some good >> =A0suggestions, although it could use a bit of tweaking. I got networkin= g >> =A0up by doing this in the host: >> > The How To was based on =A0that wiki page and several others. =A0Plus my > own creation of not depending on the qemu startup/shutdown scripts to > add/remove the tap device to/from the bridge. > >> =A0myif=3Dbge0 >> >> =A0ifconfig tap create >> =A0ifconfig bridge create >> =A0ifconfig bridge0 addm tap0 addm $myif up >> > As you found out you need to add your hosts interface (bge0, rl0) to the = bridge. > >> =A0Then I was able to start qemu with the tap command line and now >> =A0networking works. >> > I was at work and couldn't answer your early questions, but it is good > to hear that =A0you were able to make it work. > > On 3/7/09, Doug Barton wrote: >> =A0Finally it looks to me like I'll need to set up samba on the host if = I >> =A0want the XP guest to have access to files that are not in the image, >> =A0correct? The man page mentions the -smb option for the user mode >> =A0network stack, will that work for tap too? >> > You'll need to setup samba to allow the XP guest access to the files > on the host system. =A0I haven't tried the -smb option under a tap > setup, it might work. > > Scot > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.o= rg" > I am curious how your local firewall configuration looks on the host operating system. I am using pf firewall. Let me know. Phusion From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 9 13:50:43 2009 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 B49E11065687 for ; Mon, 9 Mar 2009 13:50:43 +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 6F9328FC32 for ; Mon, 9 Mar 2009 13:50:43 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LgfsP-000Kv4-Fg; Mon, 09 Mar 2009 16:50:41 +0300 To: Daichi GOTO References: <49B48FC3.70105@ongs.co.jp> From: Boris Samorodov Date: Mon, 09 Mar 2009 16:50:42 +0300 In-Reply-To: <49B48FC3.70105@ongs.co.jp> (Daichi GOTO's message of "Mon\, 09 Mar 2009 12\:40\:51 +0900") Message-ID: <80900349@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: How to config timezone of linux_base-f8 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, 09 Mar 2009 13:50:44 -0000 On Mon, 09 Mar 2009 12:40:51 +0900 Daichi GOTO wrote: > Title says everything :) > I want to use JST as default timezone for linux_base-f8. > Anyone has any ideas? There were a thread called "Linux compat 2.6.16 reports time incorrect" back in October 2008 and a workaround. The main problem seems to be an incompatibility between current native and linux timezone versions. 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 Mon Mar 9 17:15:02 2009 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 9A1F31065679 for ; Mon, 9 Mar 2009 17:15:02 +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 8673A8FC20 for ; Mon, 9 Mar 2009 17:15:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n29HF2A6045208 for ; Mon, 9 Mar 2009 17:15:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n29HF2O3045204 for freebsd-emulation@FreeBSD.org; Mon, 9 Mar 2009 17:15:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Mar 2009 17:15:02 GMT Message-Id: <200903091715.n29HF2O3045204@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, 09 Mar 2009 17:15:03 -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/130724 emulation [linprocfs] [patch] cpuinfo in linprocfs is dated, cau o kern/129169 emulation [linux] [patch] Linux Emulation ENOTCONN error using n f ports/127018 emulation Linuxulator incapable of using FreeBSD's LDAP environm o kern/126232 emulation [linux] Linux ioctl TCGETS (0x5401) always fails o ports/121800 emulation x11-toolkits/linux-openmotif - OpenMotif upgrade to 2. o kern/97326 emulation [linux] file descriptor leakage in linux emulation o ports/91318 emulation [fix] graphics/linux_dri: works on amd64 too o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand 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/29698 emulation [linux] [patch] linux ipcs doesn'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 15 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 9 18:05:03 2009 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 0B65E10656E3 for ; Mon, 9 Mar 2009 18:05:03 +0000 (UTC) (envelope-from nox@saturn.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 891A68FC13 for ; Mon, 9 Mar 2009 18:05:02 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 009D7DE8001; Mon, 9 Mar 2009 19:05:00 +0100 (CET) Received: from saturn.kn-bremen.de (noident@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id n29I2noE004572; Mon, 9 Mar 2009 19:02:49 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id n29I2nYK004571; Mon, 9 Mar 2009 19:02:49 +0100 (CET) (envelope-from nox) Date: Mon, 9 Mar 2009 19:02:49 +0100 (CET) From: Juergen Lock Message-Id: <200903091802.n29I2nYK004571@saturn.kn-bremen.de> To: gary.jennejohn@freenet.de X-Newsgroups: local.list.freebsd.emulation In-Reply-To: <20090309103706.0a44fb26@ernst.jennejohn.org> References: <49B46A29.7020500@FreeBSD.org> Organization: home Cc: freebsd-emulation@FreeBSD.org, Doug Barton Subject: Re: qemu 0.10.0 - cd/dvd drive access problems 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, 09 Mar 2009 18:05:05 -0000 In article <20090309103706.0a44fb26@ernst.jennejohn.org> you write: >On Sun, 08 Mar 2009 18:00:25 -0700 >Doug Barton wrote: > >> One of my main reasons for wanting to install qemu was to be able to >> use Windows tools for things like archiving DVDs. Now that I have qemu >> working pretty well for most things, I tried to start using it for >> DVD/CD access and it's not working well at all. I installed XP via a >> typical installation CD, so I thought I had it made in this area. :( >> >> I'm using '-cdrom /dev/acd0' the same way I did for the install. If >> there is a disc in the drive when I start qemu I can "see" the disc, >> and copy some small files from it. However trying to copy/read large >> files (say, 1G) doesn't work at all. I get an error saying that sector >> of the disc cannot be read (this is with known-good discs). Hmm. I wonder if this bug is related to the opensuse installer segfault, have you tried with the (now older, still at the 20080620 snapshot) qemu-devel port thats in the tree? You could also try the new "werror" option for -drive (possible values are: report - report errors to a guest as IO errors ignore - continue as if nothing happened stop - stop VM on any error and retry last command on resume enospc - stop vm on ENOSPC error and retry last command on resume all other errors are reported to a guest. I think the default is "enospc" in 0.10.0 . Yeah -cdrom is readonly but who knows...) And finally you could try disabling aio (untested, I hope the following still works:) Index: Makefile @@ -47,7 +47,7 @@ WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} -CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} +CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} --disable-aio .if defined(WITHOUT_SDL) CONFIGURE_ARGS+= --disable-sdl --disable-gfx-check >> I tried >> with and without the cd-rom DMA compile-time OPTION, no luck. If I >> remove the disc from the drive, or if there is no disc in the drive >> when I start qemu, inserting one after it starts produces no results. >> Every time I try to access the drive I get the "Please insert a disc >> into drive D:" error message. >> Try using the `change' monitor command (`change ide1-cd0 /dev/acd0' in this case.) Also with Windows guests istr people having to click `eject' in the guest too before it would recognize a new disc. >> I'm using a fairly up to date 8-current as the host, btw. >> >> >> Any suggestions? >> > >Do you have vfs_aio in your kernel or as a module? Actually qemu 0.10.0 (and also the last few snapshots I posted updates for) now does its own aio emulation using threads, so the aio(4) kld or kernel option is no longer needed. > I've run openSUSE >in qemu and used the DVD drive with no problems at all; I have vfs_aio >in my kernel. However, I don't know how much data were transfered by >openSUSE. Since I was merely loading packages from the DVD it may have >been only a few MB. > >One thing I've noticed is that the DVD drive is locked and I can't open >the drawer once qemu starts, even if there is no disc in the drive. >Apparently openSUSE acceses the drive (i.e. locks it) even when it's >empty. > Hmm I haven't seen that here... Maybe -current locks the door when the /dev/acd0 device node is open now too, instead of only when its mounted like its here. Good luck, Juergen From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 9 21:08:01 2009 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 D116D106566B for ; Mon, 9 Mar 2009 21:08:01 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 6E8EB8FC15 for ; Mon, 9 Mar 2009 21:08:01 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 23448 invoked by uid 399); 9 Mar 2009 21:07:58 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 9 Mar 2009 21:07:58 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Date: Mon, 9 Mar 2009 14:07:57 -0700 (PDT) From: Doug Barton To: Gary Jennejohn In-Reply-To: <20090309103706.0a44fb26@ernst.jennejohn.org> Message-ID: References: <49B46A29.7020500@FreeBSD.org> <20090309103706.0a44fb26@ernst.jennejohn.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-emulation@FreeBSD.org Subject: Re: qemu 0.10.0 - cd/dvd drive access problems 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, 09 Mar 2009 21:08:02 -0000 On Mon, 9 Mar 2009, Gary Jennejohn wrote: > On Sun, 08 Mar 2009 18:00:25 -0700 > Doug Barton wrote: > >> One of my main reasons for wanting to install qemu was to be able to >> use Windows tools for things like archiving DVDs. Now that I have qemu >> working pretty well for most things, I tried to start using it for >> DVD/CD access and it's not working well at all. I installed XP via a >> typical installation CD, so I thought I had it made in this area. :( >> >> I'm using '-cdrom /dev/acd0' the same way I did for the install. If >> there is a disc in the drive when I start qemu I can "see" the disc, >> and copy some small files from it. However trying to copy/read large >> files (say, 1G) doesn't work at all. I get an error saying that sector >> of the disc cannot be read (this is with known-good discs). I tried >> with and without the cd-rom DMA compile-time OPTION, no luck. If I >> remove the disc from the drive, or if there is no disc in the drive >> when I start qemu, inserting one after it starts produces no results. >> Every time I try to access the drive I get the "Please insert a disc >> into drive D:" error message. >> >> I'm using a fairly up to date 8-current as the host, btw. >> >> >> Any suggestions? >> > > Do you have vfs_aio in your kernel or as a module? I'm running the aio module, which seems to incorporate the vfs_aio stuff, yes. > I've run openSUSE in qemu and used the DVD drive with no problems at > all; I have vfs_aio in my kernel. Are you talking about 'options VFS_AIO'? > One thing I've noticed is that the DVD drive is locked and I can't open > the drawer once qemu starts, even if there is no disc in the drive. > Apparently openSUSE acceses the drive (i.e. locks it) even when it's > empty. I forgot to mention this bit. If I click the eject menu option on the CD/DVD in windows it doesn't actually eject it like native windows does, but it does allow me to remove the disc manually. After that even if I do reinsert a disc the windows guest doesn't "see" it. Thanks for the response, Doug -- This .signature sanitized for your protection From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 9 21:17:02 2009 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 D5E5F1065673 for ; Mon, 9 Mar 2009 21:17:02 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id 7F7EA8FC0C for ; Mon, 9 Mar 2009 21:17:02 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 4210 invoked by uid 399); 9 Mar 2009 21:16:56 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 9 Mar 2009 21:16:56 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Date: Mon, 9 Mar 2009 14:16:54 -0700 (PDT) From: Doug Barton To: Juergen Lock In-Reply-To: <200903091802.n29I2nYK004571@saturn.kn-bremen.de> Message-ID: References: <49B46A29.7020500@FreeBSD.org> <200903091802.n29I2nYK004571@saturn.kn-bremen.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: freebsd-emulation@FreeBSD.org, gary.jennejohn@freenet.de Subject: Re: qemu 0.10.0 - cd/dvd drive access problems 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, 09 Mar 2009 21:17:03 -0000 On Mon, 9 Mar 2009, Juergen Lock wrote: > In article <20090309103706.0a44fb26@ernst.jennejohn.org> you write: >> On Sun, 08 Mar 2009 18:00:25 -0700 >> Doug Barton wrote: >> >>> One of my main reasons for wanting to install qemu was to be able to >>> use Windows tools for things like archiving DVDs. Now that I have qemu >>> working pretty well for most things, I tried to start using it for >>> DVD/CD access and it's not working well at all. I installed XP via a >>> typical installation CD, so I thought I had it made in this area. :( >>> >>> I'm using '-cdrom /dev/acd0' the same way I did for the install. If >>> there is a disc in the drive when I start qemu I can "see" the disc, >>> and copy some small files from it. However trying to copy/read large >>> files (say, 1G) doesn't work at all. I get an error saying that sector >>> of the disc cannot be read (this is with known-good discs). > > Hmm. I wonder if this bug is related to the opensuse installer segfault, Not sure I follow you there, sorry. > have you tried with the (now older, still at the 20080620 snapshot) > qemu-devel port thats in the tree? That's actually what I started with (i.e., I compiled that port and used it to install my windows guest) but I switched to the 0.10.0 before I started goofing around with the CD/DVD stuff. I'll try going back to the older version, but it's not likely I'll be able to get to it today. > You could also try the new "werror" > option for -drive (possible values are: > report - report errors to a guest as IO errors > ignore - continue as if nothing happened > stop - stop VM on any error and retry last command on resume > enospc - stop vm on ENOSPC error and retry last command on resume > all other errors are reported to a guest. > I think the default is "enospc" in 0.10.0 . Yeah -cdrom is readonly > but who knows...) Errrr, -cdrom being read-only is a problem, I need to be able to write CDs and DVDs. Is there way to do that with the -drive option? I looked at the man page but couldn't quite grasp it well enough to get a command line to try. BTW, any hope that we'll have working USB in qemu on -current any time soon? I can't help thinking that some of these issues might be avoided if the windows guest could "see" my external drive directly. It would also allow me to give syncing my iPhone a try, which is another big motivator for me to be trying this at all. > And finally you could try disabling aio (untested, I hope the following > still works:) If I don't have any luck with the other options I'll give this a try as well, thanks. > Actually qemu 0.10.0 (and also the last few snapshots I posted updates > for) now does its own aio emulation using threads, so the aio(4) kld or > kernel option is no longer needed. Ah, interesting. I wonder if it's possible that the kernel module is interfering? Doug -- This .signature sanitized for your protection From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 9 22:21:08 2009 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 A76531065783; Mon, 9 Mar 2009 22:21:08 +0000 (UTC) (envelope-from nox@saturn.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 362618FC19; Mon, 9 Mar 2009 22:21:08 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id C16161E005DD; Mon, 9 Mar 2009 23:21:06 +0100 (CET) Received: from saturn.kn-bremen.de (noident@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id n29MITlC013541; Mon, 9 Mar 2009 23:18:29 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id n29MITcY013540; Mon, 9 Mar 2009 23:18:29 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Mon, 9 Mar 2009 23:18:28 +0100 To: Doug Barton Message-ID: <20090309221828.GA13046@saturn.kn-bremen.de> Mail-Followup-To: Doug Barton , gary.jennejohn@freenet.de, freebsd-emulation@FreeBSD.org References: <49B46A29.7020500@FreeBSD.org> <200903091802.n29I2nYK004571@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-emulation@FreeBSD.org, gary.jennejohn@freenet.de Subject: Re: qemu 0.10.0 - cd/dvd drive access problems 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, 09 Mar 2009 22:21:09 -0000 On Mon, Mar 09, 2009 at 02:16:54PM -0700, Doug Barton wrote: > On Mon, 9 Mar 2009, Juergen Lock wrote: > >> In article <20090309103706.0a44fb26@ernst.jennejohn.org> you write: >>> On Sun, 08 Mar 2009 18:00:25 -0700 >>> Doug Barton wrote: >>> >>>> One of my main reasons for wanting to install qemu was to be able to >>>> use Windows tools for things like archiving DVDs. Now that I have qemu >>>> working pretty well for most things, I tried to start using it for >>>> DVD/CD access and it's not working well at all. I installed XP via a >>>> typical installation CD, so I thought I had it made in this area. :( >>>> >>>> I'm using '-cdrom /dev/acd0' the same way I did for the install. If >>>> there is a disc in the drive when I start qemu I can "see" the disc, >>>> and copy some small files from it. However trying to copy/read large >>>> files (say, 1G) doesn't work at all. I get an error saying that sector >>>> of the disc cannot be read (this is with known-good discs). >> >> Hmm. I wonder if this bug is related to the opensuse installer segfault, > > Not sure I follow you there, sorry. > Sorry I'm talking about a failure experienced by Gary... >> have you tried with the (now older, still at the 20080620 snapshot) >> qemu-devel port thats in the tree? > ...that didn't happen anymore for him after going back to the 20080620 qemu-devel port. > That's actually what I started with (i.e., I compiled that port and used it > to install my windows guest) but I switched to the 0.10.0 before I started > goofing around with the CD/DVD stuff. I'll try going back to the older > version, but it's not likely I'll be able to get to it today. > >> You could also try the new "werror" >> option for -drive (possible values are: >> report - report errors to a guest as IO errors >> ignore - continue as if nothing happened >> stop - stop VM on any error and retry last command on resume >> enospc - stop vm on ENOSPC error and retry last command on resume >> all other errors are reported to a guest. >> I think the default is "enospc" in 0.10.0 . Yeah -cdrom is readonly >> but who knows...) > > Errrr, -cdrom being read-only is a problem, I need to be able to write CDs > and DVDs. Is there way to do that with the -drive option? Not on FreeBSD atm. (this would require the scsi passthru support to be ported at least.) > I looked at the > man page but couldn't quite grasp it well enough to get a command line to > try. > > BTW, any hope that we'll have working USB in qemu on -current any time > soon? Well, the original author of the FreeBSD usb host code is too busy with other stuff now, so it seems we need another volunteer... > I can't help thinking that some of these issues might be avoided if > the windows guest could "see" my external drive directly. Oh its an usb cd drive? Then the read problems you saw could have something to do with usb as well... Anyway, scsi passthru would most likely be faster than usb passthru anyway, if the latter even works at all for burning. > It would also > allow me to give syncing my iPhone a try, which is another big motivator > for me to be trying this at all. > Btw I got a report of a bricked iphone in connection with the old qemu ush host code, although iirc that guy was trying to upgrade the firmware... (which might have made the device drop from the bus for a bit which the current usb host code doesn't really handle, at least thats my theory...) >> And finally you could try disabling aio (untested, I hope the following >> still works:) > > If I don't have any luck with the other options I'll give this a try as > well, thanks. > >> Actually qemu 0.10.0 (and also the last few snapshots I posted updates >> for) now does its own aio emulation using threads, so the aio(4) kld or >> kernel option is no longer needed. > > Ah, interesting. I wonder if it's possible that the kernel module is > interfering? I would very much doubt that, it shouldn't do anything until the aio syscalls are actually used. Cheers, Juergen From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 9 22:38:52 2009 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 B6F98106574D; Mon, 9 Mar 2009 22:38:52 +0000 (UTC) (envelope-from nox@saturn.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 030098FC1C; Mon, 9 Mar 2009 22:38:51 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 231761E005DD; Mon, 9 Mar 2009 23:38:51 +0100 (CET) Received: from saturn.kn-bremen.de (noident@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id n29MZC14014160; Mon, 9 Mar 2009 23:35:12 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id n29MZCFF014159; Mon, 9 Mar 2009 23:35:12 +0100 (CET) (envelope-from nox) Date: Mon, 9 Mar 2009 23:35:12 +0100 (CET) From: Juergen Lock Message-Id: <200903092235.n29MZCFF014159@saturn.kn-bremen.de> To: dougb@FreeBSD.org X-Newsgroups: local.list.freebsd.emulation In-Reply-To: References: <49B46A29.7020500@FreeBSD.org> <20090309103706.0a44fb26@ernst.jennejohn.org> Organization: home Cc: freebsd-emulation@FreeBSD.org, Gary Jennejohn Subject: Re: qemu 0.10.0 - cd/dvd drive access problems 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, 09 Mar 2009 22:38:53 -0000 In article you write: >On Mon, 9 Mar 2009, Gary Jennejohn wrote: > >> On Sun, 08 Mar 2009 18:00:25 -0700 >> Doug Barton wrote: >> >>> One of my main reasons for wanting to install qemu was to be able to >>> use Windows tools for things like archiving DVDs. Now that I have qemu >>> working pretty well for most things, I tried to start using it for >>> DVD/CD access and it's not working well at all. I installed XP via a >>> typical installation CD, so I thought I had it made in this area. :( >>> >>> I'm using '-cdrom /dev/acd0' the same way I did for the install. If >>> there is a disc in the drive when I start qemu I can "see" the disc, >>> and copy some small files from it. However trying to copy/read large >>> files (say, 1G) doesn't work at all. I get an error saying that sector >>> of the disc cannot be read (this is with known-good discs). I tried >>> with and without the cd-rom DMA compile-time OPTION, no luck. If I >>> remove the disc from the drive, or if there is no disc in the drive >>> when I start qemu, inserting one after it starts produces no results. >>> Every time I try to access the drive I get the "Please insert a disc >>> into drive D:" error message. >>> >>> I'm using a fairly up to date 8-current as the host, btw. >>> >>> >>> Any suggestions? >>> >> >> Do you have vfs_aio in your kernel or as a module? > >I'm running the aio module, which seems to incorporate the vfs_aio stuff, >yes. > (Not needed with qemu 0.10.0 anymore as already mentioned.) >> I've run openSUSE in qemu and used the DVD drive with no problems at >> all; I have vfs_aio in my kernel. > >Are you talking about 'options VFS_AIO'? > >> One thing I've noticed is that the DVD drive is locked and I can't open >> the drawer once qemu starts, even if there is no disc in the drive. >> Apparently openSUSE acceses the drive (i.e. locks it) even when it's >> empty. > >I forgot to mention this bit. If I click the eject menu option on the >CD/DVD in windows it doesn't actually eject it like native windows does, >but it does allow me to remove the disc manually. After that even if I do >reinsert a disc the windows guest doesn't "see" it. > Have you tried the mentioned `change ide1-cd0' in qemu's monitor? (This probably would benefit from scsi passthru as well...) HTH, Juergen From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 10 03:28:48 2009 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 BEBB31065676 for ; Tue, 10 Mar 2009 03:28:48 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id 909B08FC12 for ; Tue, 10 Mar 2009 03:28:48 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id 2CCA4125422; Tue, 10 Mar 2009 12:28:47 +0900 (JST) Message-ID: <49B5DE6E.6030905@ongs.co.jp> Date: Tue, 10 Mar 2009 12:28:46 +0900 From: Daichi GOTO User-Agent: Thunderbird 2.0.0.19 (X11/20090201) MIME-Version: 1.0 To: Boris Samorodov References: <49B48FC3.70105@ongs.co.jp> <80900349@bb.ipt.ru> In-Reply-To: <80900349@bb.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: How to config timezone of linux_base-f8 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, 10 Mar 2009 03:28:49 -0000 Boris Samorodov wrote: > On Mon, 09 Mar 2009 12:40:51 +0900 Daichi GOTO wrote: > >> Title says everything :) > >> I want to use JST as default timezone for linux_base-f8. >> Anyone has any ideas? > > There were a thread called "Linux compat 2.6.16 reports time incorrect" > back in October 2008 and a workaround. > > The main problem seems to be an incompatibility between current native > and linux timezone versions. > > > WBR Thanks. I have checked above mails. I understand. TO: bsam, linux_base-f8 maintainer I know :) How about to add tzdata-2008h-1.fc8.noarch.rpm to Ports Collections and dependency of linux_base-f8? If f8 has tzdata there, user can use their own tz just copying it to /compat/linux/etc/localtime. It looks good idea. -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 10 04:04:28 2009 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 EF8071065670 for ; Tue, 10 Mar 2009 04:04:28 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id C12DE8FC17 for ; Tue, 10 Mar 2009 04:04:28 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id 014A7125422; Tue, 10 Mar 2009 13:04:27 +0900 (JST) Message-ID: <49B5E6CB.1010608@ongs.co.jp> Date: Tue, 10 Mar 2009 13:04:27 +0900 From: Daichi GOTO User-Agent: Thunderbird 2.0.0.19 (X11/20090201) MIME-Version: 1.0 To: Boris Samorodov References: <49B48FC3.70105@ongs.co.jp> <80900349@bb.ipt.ru> <49B5DE6E.6030905@ongs.co.jp> In-Reply-To: <49B5DE6E.6030905@ongs.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: How to config timezone of linux_base-f8 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, 10 Mar 2009 04:04:29 -0000 Daichi GOTO wrote: > Boris Samorodov wrote: >> On Mon, 09 Mar 2009 12:40:51 +0900 Daichi GOTO wrote: >> >>> Title says everything :) >> >>> I want to use JST as default timezone for linux_base-f8. >>> Anyone has any ideas? >> >> There were a thread called "Linux compat 2.6.16 reports time incorrect" >> back in October 2008 and a workaround. >> >> The main problem seems to be an incompatibility between current native >> and linux timezone versions. >> >> >> WBR > > Thanks. I have checked above mails. I understand. > > > TO: bsam, linux_base-f8 maintainer I know :) > > How about to add tzdata-2008h-1.fc8.noarch.rpm to Ports Collections > and dependency of linux_base-f8? If f8 has tzdata there, user can > use their own tz just copying it to /compat/linux/etc/localtime. It > looks good idea. > Uh? The tzdata-2008i-1.fc8.noarch.rpm has 3 JST tzdata files. % rpm2cpio tzdata-2008i-1.fc8.noarch.rpm| cpio -idv | grep Tokyo ./usr/share/zoneinfo/right/Asia/Tokyo ./usr/share/zoneinfo/posix/Asia/Tokyo ./usr/share/zoneinfo/Asia/Tokyo 4067 blocks % % md5 ./usr/share/zoneinfo/right/Asia/Tokyo ./usr/share/zoneinfo/posix/Asia/Tokyo ./usr/share/zoneinfo/Asia/Tokyo MD5 (./usr/share/zoneinfo/right/Asia/Tokyo) = 0fce60d78288efb3685c1e2a19fb8e2b MD5 (./usr/share/zoneinfo/posix/Asia/Tokyo) = f17769e8eb35e7a08cfedfe9b2f6b5ef MD5 (./usr/share/zoneinfo/Asia/Tokyo) = f17769e8eb35e7a08cfedfe9b2f6b5ef % Which file should I use? Anyone has any ideas? -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 10 05:19:38 2009 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 D5AE01065686 for ; Tue, 10 Mar 2009 05:19:38 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id 8B6148FC4F for ; Tue, 10 Mar 2009 05:19:31 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by gxk24 with SMTP id 24so4161849gxk.19 for ; Mon, 09 Mar 2009 22:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=gyBDjMs9uieHhYvZxu9Nf3kyBnXgy0X1UuHRIRSbBKA=; b=hfAADMdaydA7Xkz3UepR2HDkbCxWTvPbhkZsobBUqzC3bb0syKyPnREXc2FEHDT7b1 o+KMsso+FbZ+F4etDDpiEx6W1rMUwuKMx9m9UWKYVUvozTTavvycKrVmJ4tIVuZm3M7s rPNB7F2qOFEFRRrqOTVoOE3qqNy5pKneq9Bwk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=k1hyztb0HaguFxh9fnas5rgrNIb7t54NnnRKNm4ANmTa4efxAd2goIZJu0w1E2cl8U ZDvZS+/wy3RmP5WzKiX7An3o5wxuhqzY6cnRU64C5jvTc/Y3Z162r40xaA3eUjnDiDbz aqKYAi+pCw2GMR3rN4Qfkl2zJe4+FBsbMCE3U= MIME-Version: 1.0 Received: by 10.220.46.17 with SMTP id h17mr2239088vcf.9.1236662370757; Mon, 09 Mar 2009 22:19:30 -0700 (PDT) In-Reply-To: References: <790a9fff0903070442v66de9f4ar140cf6e2a6f716ac@mail.gmail.com> <49B2F950.9010803@FreeBSD.org> <49B2FE65.6000009@FreeBSD.org> <49B30D19.2090203@FreeBSD.org> <49B33157.9040106@FreeBSD.org> <790a9fff0903080040j7f8548e0ue1d382afcdb74cbe@mail.gmail.com> Date: Tue, 10 Mar 2009 00:19:30 -0500 Message-ID: <790a9fff0903092219n335e6901s9cde51f06a5e4cec@mail.gmail.com> From: Scot Hetzel To: Phusion Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: Help configuring qemu networking tap mode 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, 10 Mar 2009 05:19:41 -0000 On 3/9/09, Phusion wrote: > I am curious how your local firewall configuration looks on the host > operating system. I am using pf firewall. Let me know. > Currently, I haven't tried using QEMU behind the host firewall. Scot From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 10 05:40:47 2009 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 1FADC106566B for ; Tue, 10 Mar 2009 05:40:47 +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 D098F8FC0C for ; Tue, 10 Mar 2009 05:40:46 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Lguhp-0006OK-KP; Tue, 10 Mar 2009 08:40:45 +0300 To: Daichi GOTO References: <49B48FC3.70105@ongs.co.jp> <80900349@bb.ipt.ru> <49B5DE6E.6030905@ongs.co.jp> From: Boris Samorodov Date: Tue, 10 Mar 2009 08:40:47 +0300 In-Reply-To: <49B5DE6E.6030905@ongs.co.jp> (Daichi GOTO's message of "Tue\, 10 Mar 2009 12\:28\:46 +0900") Message-ID: <11308704@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: How to config timezone of linux_base-f8 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, 10 Mar 2009 05:40:47 -0000 On Tue, 10 Mar 2009 12:28:46 +0900 Daichi GOTO wrote: > How about to add tzdata-2008h-1.fc8.noarch.rpm to Ports Collections > and dependency of linux_base-f8? If f8 has tzdata there, user can > use their own tz just copying it to /compat/linux/etc/localtime. It > looks good idea. It's on my TODO list but not the first one. ATM I'm working on new linux infrastructure ports. And as always patches are welcome. ;-) 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 Tue Mar 10 05:44:30 2009 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 1FF21106566B for ; Tue, 10 Mar 2009 05:44:30 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id E32168FC08 for ; Tue, 10 Mar 2009 05:44:29 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id EEC47125422; Tue, 10 Mar 2009 14:44:28 +0900 (JST) Message-ID: <49B5FE3C.4080104@ongs.co.jp> Date: Tue, 10 Mar 2009 14:44:28 +0900 From: Daichi GOTO User-Agent: Thunderbird 2.0.0.19 (X11/20090201) MIME-Version: 1.0 To: Boris Samorodov References: <49B48FC3.70105@ongs.co.jp> <80900349@bb.ipt.ru> <49B5DE6E.6030905@ongs.co.jp> <11308704@bb.ipt.ru> In-Reply-To: <11308704@bb.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: How to config timezone of linux_base-f8 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, 10 Mar 2009 05:44:30 -0000 Boris Samorodov wrote: > On Tue, 10 Mar 2009 12:28:46 +0900 Daichi GOTO wrote: > >> How about to add tzdata-2008h-1.fc8.noarch.rpm to Ports Collections >> and dependency of linux_base-f8? If f8 has tzdata there, user can >> use their own tz just copying it to /compat/linux/etc/localtime. It >> looks good idea. > > It's on my TODO list but not the first one. ATM I'm working on new > linux infrastructure ports. And as always patches are welcome. ;-) > > > WBR Sure I understand. Thanks ;-) -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 10 07:55:30 2009 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 B37361065670 for ; Tue, 10 Mar 2009 07:55:30 +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 6032D8FC14 for ; Tue, 10 Mar 2009 07:55:30 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E99E.dip.t-dialin.net [217.226.233.158]) by redbull.bpaserver.net (Postfix) with ESMTP id C28252E15C; Tue, 10 Mar 2009 08:55:23 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 8971078EF2; Tue, 10 Mar 2009 08:55:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1236671720; bh=v6kc+QW9haiS+9dnQ0f0mo47ChJlwXiwe c4ARp2G3gQ=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Tz9BPeSXVxRhQ8T27C3+gnwuv9XYkniGeGHHmjOxhwskmr+SoYdqml2Jd8gBAu+hD Flau6EoxJ6ncaze+PQa6O+NC01oB8gOVMDTlbqc+pIewASTpB5pFw9W8OpmFtaJqToy byzjVCaL0AB0uHeP9fRc/NHpQxyOi3Ymxh7lFtpfMZIZa8Y+9XgVgVVP5sqw6PHJafR nqFqmk5KtT0teHLiGEO0VFe4faQTYpZkQy5X6e0Mw0ko4hfwrtLZR88c+yFPqSRofCn kDMzYReGSGUepgMk49lXpLtqwYFjKIsGbGRj3ZWaQms6thWskxTe8GVbV+wx8Ef7o4y 1p8J4MVEQ== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n2A7tJZw084057; Tue, 10 Mar 2009 08:55:19 +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 Framework) with HTTP; Tue, 10 Mar 2009 08:55:18 +0100 Message-ID: <20090310085518.19936d06a3qyy2w4@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Tue, 10 Mar 2009 08:55:18 +0100 From: Alexander Leidinger To: Boris Samorodov References: <49B48FC3.70105@ongs.co.jp> <80900349@bb.ipt.ru> <49B5DE6E.6030905@ongs.co.jp> <11308704@bb.ipt.ru> In-Reply-To: <11308704@bb.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: C28252E15C.1BD70 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.004, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: How to config timezone of linux_base-f8 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, 10 Mar 2009 07:55:31 -0000 Quoting Boris Samorodov (from Tue, 10 Mar 2009 08:40:47 +0300)= : > On Tue, 10 Mar 2009 12:28:46 +0900 Daichi GOTO wrote: > >> How about to add tzdata-2008h-1.fc8.noarch.rpm to Ports Collections >> and dependency of linux_base-f8? If f8 has tzdata there, user can >> use their own tz just copying it to /compat/linux/etc/localtime. It >> looks good idea. > > It's on my TODO list but not the first one. ATM I'm working on new > linux infrastructure ports. And as always patches are welcome. ;-) I want to add that there's still hope that the timezone stuff in =20 -current gets updated soonish (which means we don't need tzdata in f8, =20 as 7.1 will not switch to f8 by default as it would 1. violate POLA =20 and 2. does not have the necessary emulation stuff to be compatible =20 with 2.6.16). Bye, Alexander. --=20 "Eureka!" -Professor "Did you build the Smell-o-scope?" -Fry "No. I remembered that I built one last year." -Professor 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 Tue Mar 10 10:01:19 2009 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 D87BC1065675; Tue, 10 Mar 2009 10:01:19 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout5.freenet.de (mout5.freenet.de [IPv6:2001:748:100:40::2:7]) by mx1.freebsd.org (Postfix) with ESMTP id 7413D8FC14; Tue, 10 Mar 2009 10:01:19 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.17] (helo=7.mx.freenet.de) by mout5.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1Lgyly-0000Is-DW; Tue, 10 Mar 2009 11:01:18 +0100 Received: from tfd00.t.pppool.de ([89.55.253.0]:43879 helo=ernst.jennejohn.org) by 7.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #79) id 1Lgyly-0001PP-5p; Tue, 10 Mar 2009 11:01:18 +0100 Date: Tue, 10 Mar 2009 11:01:17 +0100 From: Gary Jennejohn To: Doug Barton Message-ID: <20090310110117.00fcdf6b@ernst.jennejohn.org> In-Reply-To: References: <49B46A29.7020500@FreeBSD.org> <20090309103706.0a44fb26@ernst.jennejohn.org> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: qemu 0.10.0 - cd/dvd drive access problems X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 10:01:20 -0000 On Mon, 9 Mar 2009 14:07:57 -0700 (PDT) Doug Barton wrote: > On Mon, 9 Mar 2009, Gary Jennejohn wrote: > > I've run openSUSE in qemu and used the DVD drive with no problems at > > all; I have vfs_aio in my kernel. > > Are you talking about 'options VFS_AIO'? > Yes. I wasn't aware that qemu had incorporated this functionality. As Juergen wrote, it doesn't seem to interfere. --- Gary Jennejohn From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 10 18:34:47 2009 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 490011065679 for ; Tue, 10 Mar 2009 18:34:47 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id E6B698FC0C for ; Tue, 10 Mar 2009 18:34:46 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id n2AIYjJe085019; Tue, 10 Mar 2009 13:34:45 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Tue, 10 Mar 2009 13:34:45 -0500 (CDT) From: "Sean C. Farley" To: Alexander Leidinger In-Reply-To: <20090310085518.19936d06a3qyy2w4@webmail.leidinger.net> Message-ID: References: <49B48FC3.70105@ongs.co.jp> <80900349@bb.ipt.ru> <49B5DE6E.6030905@ongs.co.jp> <11308704@bb.ipt.ru> <20090310085518.19936d06a3qyy2w4@webmail.leidinger.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: freebsd-emulation@FreeBSD.org Subject: Re: How to config timezone of linux_base-f8 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, 10 Mar 2009 18:34:47 -0000 On Tue, 10 Mar 2009, Alexander Leidinger wrote: *snip* >> It's on my TODO list but not the first one. ATM I'm working on new >> linux infrastructure ports. And as always patches are welcome. ;-) > > I want to add that there's still hope that the timezone stuff in > -current gets updated soonish (which means we don't need tzdata in f8, > as 7.1 will not switch to f8 by default as it would 1. violate POLA > and 2. does not have the necessary emulation stuff to be compatible > with 2.6.16). Out of curiosity, when you say necessary emulation stuff to be compatible with 2.6.16, how compatible is it? I use it on 7-STABLE quite well with Skype and Acroread8, somewhat well with Flash plugin 9 and not well at all with linux-ut (at least with the nvidia driver). Will all that is necessary to use full 2.6.16 emulation be eventually MFC'd, or will only some of it? Of course, keeping the default at 2.4.2 emulation is perfectly fine. On a related note, would it be possible to be able to run one application under 2.4.2 emulation while another is under 2.6.16 in the future? I thought it may help in some situations. There could be a /compat/linux.f8 (with /compat/linux linking to it) and /compat/linux.fc4 where the application can be told via an environment variable to use a specific install. Sean -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 10 18:47:08 2009 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 C6F45106566C for ; Tue, 10 Mar 2009 18:47:08 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 756DE8FC0A for ; Tue, 10 Mar 2009 18:47:07 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 9D7AB9CB104; Tue, 10 Mar 2009 19:46:57 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s8ZqK8wOxGsK; Tue, 10 Mar 2009 19:46:55 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 4124A9CB12B; Tue, 10 Mar 2009 19:46:55 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n2AIktw6096439; Tue, 10 Mar 2009 19:46:55 +0100 (CET) (envelope-from rdivacky) Date: Tue, 10 Mar 2009 19:46:55 +0100 From: Roman Divacky To: "Sean C. Farley" Message-ID: <20090310184655.GA96302@freebsd.org> References: <49B48FC3.70105@ongs.co.jp> <80900349@bb.ipt.ru> <49B5DE6E.6030905@ongs.co.jp> <11308704@bb.ipt.ru> <20090310085518.19936d06a3qyy2w4@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Alexander Leidinger , freebsd-emulation@FreeBSD.org Subject: Re: How to config timezone of linux_base-f8 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, 10 Mar 2009 18:47:09 -0000 > On a related note, would it be possible to be able to run one > application under 2.4.2 emulation while another is under 2.6.16 in the > future? I thought it may help in some situations. There could be a > /compat/linux.f8 (with /compat/linux linking to it) and > /compat/linux.fc4 where the application can be told via an environment > variable to use a specific install. speaking from top of my head... yes, this could be done, theoretically. the 2.6 sysctl would have to be made per-proc (as netbsd does iirc), and then it should work. noone has done it yet From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 10 20:14:36 2009 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 5CD7B10656D4 for ; Tue, 10 Mar 2009 20:14: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 097248FC29 for ; Tue, 10 Mar 2009 20:14:35 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E99E.dip.t-dialin.net [217.226.233.158]) by redbull.bpaserver.net (Postfix) with ESMTP id 06E752E06D for ; Tue, 10 Mar 2009 21:14:29 +0100 (CET) Received: from unknown (IO.Leidinger.net [192.168.2.103]) by outgoing.leidinger.net (Postfix) with ESMTP id 8C5089E5AF for ; Tue, 10 Mar 2009 21:14:25 +0100 (CET) Date: Tue, 10 Mar 2009 21:14:21 +0100 From: Alexander Leidinger To: freebsd-emulation@freebsd.org Message-ID: <20090310211421.00005a18@unknown> In-Reply-To: <20090310184655.GA96302@freebsd.org> References: <49B48FC3.70105@ongs.co.jp> <80900349@bb.ipt.ru> <49B5DE6E.6030905@ongs.co.jp> <11308704@bb.ipt.ru> <20090310085518.19936d06a3qyy2w4@webmail.leidinger.net> <20090310184655.GA96302@freebsd.org> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.10.13; i586-pc-mingw32msvc) 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-MailScanner-ID: 06E752E06D.C5383 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Subject: Re: How to config timezone of linux_base-f8 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, 10 Mar 2009 20:14:36 -0000 On Tue, 10 Mar 2009 19:46:55 +0100 Roman Divacky wrote: > > On a related note, would it be possible to be able to run one > > application under 2.4.2 emulation while another is under 2.6.16 in > > the future? I thought it may help in some situations. There could > > be a /compat/linux.f8 (with /compat/linux linking to it) and > > /compat/linux.fc4 where the application can be told via an > > environment variable to use a specific install. > > speaking from top of my head... yes, this could be done, > theoretically. > > the 2.6 sysctl would have to be made per-proc (as netbsd does iirc), > and then it should work. How to set it before starting the corresponding linux program? I see a chicken and egg problem here. Bye, Alexander. From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 10 20:26:02 2009 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 C5527106564A for ; Tue, 10 Mar 2009 20:26:02 +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 4F76C8FC23 for ; Tue, 10 Mar 2009 20:26:02 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E99E.dip.t-dialin.net [217.226.233.158]) by redbull.bpaserver.net (Postfix) with ESMTP id EA5882E06D; Tue, 10 Mar 2009 21:25:54 +0100 (CET) Received: from unknown (IO.Leidinger.net [192.168.2.103]) by outgoing.leidinger.net (Postfix) with ESMTP id 564C29EB74; Tue, 10 Mar 2009 21:25:51 +0100 (CET) Date: Tue, 10 Mar 2009 21:25:47 +0100 From: Alexander Leidinger To: "Sean C. Farley" Message-ID: <20090310212547.00004fcd@unknown> In-Reply-To: References: <49B48FC3.70105@ongs.co.jp> <80900349@bb.ipt.ru> <49B5DE6E.6030905@ongs.co.jp> <11308704@bb.ipt.ru> <20090310085518.19936d06a3qyy2w4@webmail.leidinger.net> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.10.13; i586-pc-mingw32msvc) 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-MailScanner-ID: EA5882E06D.C04AB X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-15.4, required 6, autolearn=not spam, BAYES_00 -15.00, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@FreeBSD.org Subject: Re: How to config timezone of linux_base-f8 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, 10 Mar 2009 20:26:03 -0000 On Tue, 10 Mar 2009 13:34:45 -0500 (CDT) "Sean C. Farley" wrote: > On Tue, 10 Mar 2009, Alexander Leidinger wrote: > > *snip* > > >> It's on my TODO list but not the first one. ATM I'm working on new > >> linux infrastructure ports. And as always patches are welcome. ;-) > > > > I want to add that there's still hope that the timezone stuff in > > -current gets updated soonish (which means we don't need tzdata in > > f8, as 7.1 will not switch to f8 by default as it would 1. violate > > POLA and 2. does not have the necessary emulation stuff to be > > compatible with 2.6.16). > > Out of curiosity, when you say necessary emulation stuff to be > compatible with 2.6.16, how compatible is it? I use it on 7-STABLE > quite well with Skype and Acroread8, somewhat well with Flash plugin > 9 and not well at all with linux-ut (at least with the nvidia driver). I would say it is compatible enough to run Skype Acroread8 and a little bit of Flash... ;-) What is missing is for example the *at() funktions. Soon there will be a different futex implementation in -current. There may be more which escapes my memory ATM. > Will all that is necessary to use full 2.6.16 emulation be eventually > MFC'd, or will only some of it? Of course, keeping the default at > 2.4.2 emulation is perfectly fine. The *at() stuff can not be MFCed, as it depends upon VFS stuff which will not be MFCed due to API/ABI concerns. The futex stuff can maybe MFCed, but I don't really know. > On a related note, would it be possible to be able to run one > application under 2.4.2 emulation while another is under 2.6.16 in > the future? I thought it may help in some situations. There could > be a /compat/linux.f8 (with /compat/linux linking to it) and > /compat/linux.fc4 where the application can be told via an > environment variable to use a specific install. Currently it's either 2.4 or 2.6 (don't switch while a linux process is (still) running), and with the current implementation I don't really see an easy way to do this. Someone could make a copy of the current linuxulator and use a different ELF-brand for the copy. The copy would then have to be modified to use a different path for the linux base, and every non-static function/symbol would need to be renamed. Praktically I would say too much work, not enough return of investment. Would be cool to have from a geeky point, but if you really _need_ this (business stuff instead of "I would like to"), take an older version of FreeBSD and let it run on another machine. Bye, Alexander. From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 12 00:14:12 2009 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 85D41106564A for ; Thu, 12 Mar 2009 00:14:12 +0000 (UTC) (envelope-from novembre@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id 3880D8FC20 for ; Thu, 12 Mar 2009 00:14:11 +0000 (UTC) (envelope-from novembre@gmail.com) Received: by yx-out-2324.google.com with SMTP id 31so174363yxl.13 for ; Wed, 11 Mar 2009 17:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=SkGa/Fwb8z5I4lKan5AXSXzZryuHy2WN4L5VDT6l75w=; b=H9BFDQ+BlyIed+zrkRvs7DSFfPSVsIwdsTSs9EojAB/XCK7alV3N6rR3TKk8AOzL4a grKibt0sqtwslUx1hFmcm522+616FcN14l9YjDKJLq1RXxsEIAsgFkmRdswWqkkkQVvX GfYKhFnzFZ8RHXMGET14HF7gGE3GQbuDQ3szk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ki44k06DNFVYYDe9B7KUxCT0tHZRCit7w58Iwm1W3AmMxazT6YhxP/EsJT0DZvLJ6D D5k0GM9BDCZIXXbd1TAYMFt8/bfj+xqdS7JRYckoOI85QFprT6uOqrqxWb7/5MYbpdHo N5tNktr4TR4sStWp0E/s6rGswt15ogEZDIEMA= MIME-Version: 1.0 Received: by 10.220.99.17 with SMTP id s17mr3715451vcn.0.1236816851279; Wed, 11 Mar 2009 17:14:11 -0700 (PDT) In-Reply-To: <20090304084315.587314cev8vm3f34@webmail.leidinger.net> References: <3b47caa90903021351g4ceb832ap866cccd940cfb68b@mail.gmail.com> <20090303083430.64927hdcfxdcmjok@webmail.leidinger.net> <3b47caa90903031841m75eb3553jdd38cc47972990cc@mail.gmail.com> <20090304084315.587314cev8vm3f34@webmail.leidinger.net> Date: Wed, 11 Mar 2009 19:14:11 -0500 Message-ID: <3b47caa90903111714p4b82f672t6597b4fa84cc2ba6@mail.gmail.com> From: Novembre To: Alexander Leidinger Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-emulation@freebsd.org Subject: Re: Flash 9 crash problems 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, 12 Mar 2009 00:14:12 -0000 On Wed, Mar 4, 2009 at 2:43 AM, Alexander Leidinger wrote: > Quoting Novembre (from Tue, 3 Mar 2009 20:41:03 > -0600): > > I found two posts containing patches regarding this issue: >> 1) >> >> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2008/freebsd-emulation/20081228.freebsd-emulation >> 2) >> >> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2009/freebsd-emulation/20090215.freebsd-emulation >> >> The first post contains two patches, of which one is marked specifically >> for >> 7-STABLE (as of Dec 21, 2008 when the patches were made available). The >> second post also has a patch, but I don't know whether it is for 8-CURRENT >> or 7-STABLE. Which one should I apply? >> > > If you do not want to wait: the patch utility has the option "-C" which > just tries to apply the patch but does not really apply it. This way you can > see if a patch is applicable to what you have or not. This way you can test > if one of all those patches applies at all to what you have. In the worst > case it applies, but you get a kernel panic upon use of some linux stuff > (you may lose data because of this). In the best case at least one applies > and it works perfectly. > > Bye, > Alexander. > > -- > If we see the light at the end of the tunnel > It's the light of an oncoming train. > -- Robert Lowell > > > http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 > http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 > I copied both files to /usr/src/sys/ and tried patching with -C option. It asks me a question about which file to patch! Here's the result: #pwd /usr/src/sys #patch -C < futexes_partial_II.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/sys/amd64/amd64/elf_machdep.c b/sys/amd64/amd64/elf_machdep.c |index 4f6d178..0aea61d 100644 |--- a/sys/amd64/amd64/elf_machdep.c |+++ b/sys/amd64/amd64/elf_machdep.c -------------------------- File to patch: # patch -C < mega-st7.linux.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/sys/amd64/include/elf.h b/sys/amd64/include/elf.h |index 0a386be..3c2cd20 100644 |--- a/sys/amd64/include/elf.h |+++ b/sys/amd64/include/elf.h -------------------------- File to patch: I have no idea what to tell it, so I just press Ctrl-C to cancel the command. Any ideas? Thanks From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 12 06:14:58 2009 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 76F271065672 for ; Thu, 12 Mar 2009 06:14:58 +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 2C6578FC12 for ; Thu, 12 Mar 2009 06:14:57 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LheC0-000GrH-Ok; Thu, 12 Mar 2009 09:14:56 +0300 To: Novembre References: <3b47caa90903021351g4ceb832ap866cccd940cfb68b@mail.gmail.com> <20090303083430.64927hdcfxdcmjok@webmail.leidinger.net> <3b47caa90903031841m75eb3553jdd38cc47972990cc@mail.gmail.com> <20090304084315.587314cev8vm3f34@webmail.leidinger.net> <3b47caa90903111714p4b82f672t6597b4fa84cc2ba6@mail.gmail.com> From: Boris Samorodov Date: Thu, 12 Mar 2009 09:14:56 +0300 In-Reply-To: <3b47caa90903111714p4b82f672t6597b4fa84cc2ba6@mail.gmail.com> (novembre@gmail.com's message of "Wed\, 11 Mar 2009 19\:14\:11 -0500") Message-ID: <02319391@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexander Leidinger , freebsd-emulation@freebsd.org Subject: Re: Flash 9 crash problems 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, 12 Mar 2009 06:14:58 -0000 On Wed, 11 Mar 2009 19:14:11 -0500 Novembre wrote: > On Wed, Mar 4, 2009 at 2:43 AM, Alexander Leidinger > wrote: > > Quoting Novembre (from Tue, 3 Mar 2009 20:41:03 > > -0600): > > > > I found two posts containing patches regarding this issue: > >> 1) > >> > >> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2008/freebsd-emulation/20081228.freebsd-emulation > >> 2) > >> > >> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2009/freebsd-emulation/20090215.freebsd-emulation > >> > >> The first post contains two patches, of which one is marked specifically > >> for > >> 7-STABLE (as of Dec 21, 2008 when the patches were made available). The > >> second post also has a patch, but I don't know whether it is for 8-CURRENT > >> or 7-STABLE. Which one should I apply? > >> > > > > If you do not want to wait: the patch utility has the option "-C" which > > just tries to apply the patch but does not really apply it. This way you can > > see if a patch is applicable to what you have or not. This way you can test > > if one of all those patches applies at all to what you have. In the worst > > case it applies, but you get a kernel panic upon use of some linux stuff > > (you may lose data because of this). In the best case at least one applies > > and it works perfectly. > > > I copied both files to /usr/src/sys/ and tried patching with -C option. It > asks me a question about > which file to patch! Here's the result: > #pwd > /usr/src/sys > #patch -C < futexes_partial_II.patch # patch -Cp2 ... > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |diff --git a/sys/amd64/amd64/elf_machdep.c b/sys/amd64/amd64/elf_machdep.c > |index 4f6d178..0aea61d 100644 > |--- a/sys/amd64/amd64/elf_machdep.c > |+++ b/sys/amd64/amd64/elf_machdep.c > -------------------------- > File to patch: > # patch -C < mega-st7.linux.patch The same here. > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |diff --git a/sys/amd64/include/elf.h b/sys/amd64/include/elf.h > |index 0a386be..3c2cd20 100644 > |--- a/sys/amd64/include/elf.h > |+++ b/sys/amd64/include/elf.h > -------------------------- > File to patch: > I have no idea what to tell it, so I just press Ctrl-C to cancel the > command. Any ideas? man patch, please 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 Mar 12 09:18:40 2009 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 03CC41065692 for ; Thu, 12 Mar 2009 09:18:39 +0000 (UTC) (envelope-from c.r.n.a@wanadoo.fr) Received: from smtp2c.orange.fr (smtp2c.orange.fr [80.12.242.154]) by mx1.freebsd.org (Postfix) with ESMTP id B26978FC2C for ; Thu, 12 Mar 2009 09:18:39 +0000 (UTC) (envelope-from c.r.n.a@wanadoo.fr) Received: from smtp20.orange.fr (mwinf2022 [172.22.130.122]) by mwinf2c10.orange.fr (SMTP Server) with ESMTP id 3DE191C03DD9 for ; Thu, 12 Mar 2009 10:02:19 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2022.orange.fr (SMTP Server) with ESMTP id CF782200005B for ; Thu, 12 Mar 2009 10:02:17 +0100 (CET) Received: from [192.168.1.27] (ABordeaux-157-1-39-98.w90-30.abo.wanadoo.fr [90.30.134.98]) by mwinf2022.orange.fr (SMTP Server) with ESMTP id 0D4132000042 for ; Thu, 12 Mar 2009 10:02:16 +0100 (CET) X-ME-UUID: 20090312090217568.0D4132000042@mwinf2022.orange.fr Message-ID: <49B8DDCE.5000904@wanadoo.fr> Date: Thu, 12 Mar 2009 10:02:54 +0000 From: Nicolas User-Agent: Thunderbird 2.0.0.19 (X11/20090218) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org References: 20090304084315.587314cev8vm3f34@webmail.leidinger.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Flash 9 crash problems 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, 12 Mar 2009 09:18:44 -0000 Hi Novembre, If you want to apply this patch, you need to replace all "--- a/sys/" by "--- /sys/", and "+++ b/sys/" by "+++ /sys/" copy the patch on "/usr/src" and apply with command "patch -p0 < nameof patch.diff" This patch does not build on 8-Current ! Niko. From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 12 11:43:08 2009 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 66BD2106568E for ; Thu, 12 Mar 2009 11:43:08 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id 210B18FC12 for ; Thu, 12 Mar 2009 11:43:07 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so548338ywt.13 for ; Thu, 12 Mar 2009 04:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=A2XMZMjc1ef/yhYvpUqZrEk2KyZkgIBLZLjmpbEcHwM=; b=Tpb+GAMlFiVua26BxGR8F4q6FeY8FBzDbouUo/lDTxYI9KuUdaHWDsPIN3VnOR+A73 M6hA94JdEtY1wHU5+WMFgkMv8RlrWhC66Xzp01+wnrHGW/gmLFKkMIYbTXrfI9asKvUk g4n1s1aKEDCQAlm35ZiS3qpA2rtUaoaIQwQJw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Q08uROMZIv5uyT2vufXarA05LZb/yJL/kPU2rm6hQPsKgYE9ulsRUnVFHbc9gTPnxf QwshoXuRpvPtagK29xXFnmpqqKE+/YMMGME7cpsIT1gM3GwgPV4O7fUyR8oJYdUbCzUV Z6THiqz1rOxGc1KbVTqQC4n2rFt+0svWSldaI= MIME-Version: 1.0 Received: by 10.220.77.18 with SMTP id e18mr3857917vck.85.1236858187381; Thu, 12 Mar 2009 04:43:07 -0700 (PDT) In-Reply-To: <49B8DDCE.5000904@wanadoo.fr> References: <49B8DDCE.5000904@wanadoo.fr> Date: Thu, 12 Mar 2009 08:43:07 -0300 Message-ID: <747dc8f30903120443m19e96f62nde5feb6e6fc23870@mail.gmail.com> From: Renato Botelho To: Nicolas Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: Flash 9 crash problems 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, 12 Mar 2009 11:43:09 -0000 On Thu, Mar 12, 2009 at 7:02 AM, Nicolas wrote: > Hi Novembre, > > If you want to apply this patch, you need to replace all "--- a/sys/" by > "--- /sys/", and "+++ b/sys/" by "+++ /sys/" copy the patch on "/usr/src" > and apply with command "patch -p0 < nameof patch.diff" You can use patch -p1 instead of replace path inside patch. -- Renato Botelho