From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 5 07:20:15 2008 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 3A9851065688; Sun, 5 Oct 2008 07:20:15 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id E0A1F8FC13; Sun, 5 Oct 2008 07:20:14 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id E201820313E; Sun, 5 Oct 2008 11:20:11 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from dchagin.dialup.corbina.ru ([78.107.232.239] verified) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1262089343; Sun, 05 Oct 2008 11:20:11 +0400 Received: from dchagin.dialup.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.dialup.corbina.ru (8.14.3/8.14.2) with ESMTP id m957KBeP001616; Sun, 5 Oct 2008 11:20:11 +0400 (MSD) (envelope-from root@dchagin.dialup.corbina.ru) Received: (from root@localhost) by dchagin.dialup.corbina.ru (8.14.3/8.14.2/Submit) id m957K6DO001615; Sun, 5 Oct 2008 11:20:06 +0400 (MSD) (envelope-from root) Date: Sun, 5 Oct 2008 11:20:06 +0400 From: Chagin Dmitry To: "Sean C. Farley" Message-ID: <20081005072006.GA1450@dchagin.dialup.corbina.ru> References: 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: freebsd-emulation@freebsd.org, Alexander Logvinov Subject: Re: SEGV with games/linux-ut 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, 05 Oct 2008 07:20:15 -0000 On Sat, Oct 04, 2008 at 11:55:45AM -0500, Sean C. Farley wrote: > Alexander and I are getting SEGV's when trying to run games/linux-ut. > He also sees problems with Serious Sam. It does not occur for him with > an FC4 base. > What about Serious Sam ktrace/linux_kdump? -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 5 07:33:43 2008 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 27F521065687; Sun, 5 Oct 2008 07:33:43 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id B2A0D8FC15; Sun, 5 Oct 2008 07:33:42 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id A6191206507; Sun, 5 Oct 2008 11:33:41 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from dchagin.dialup.corbina.ru ([78.107.232.239] verified) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1262104235; Sun, 05 Oct 2008 11:33:41 +0400 Received: from dchagin.dialup.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.dialup.corbina.ru (8.14.3/8.14.2) with ESMTP id m957Xfno001671; Sun, 5 Oct 2008 11:33:41 +0400 (MSD) (envelope-from root@dchagin.dialup.corbina.ru) Received: (from root@localhost) by dchagin.dialup.corbina.ru (8.14.3/8.14.2/Submit) id m957XaqM001670; Sun, 5 Oct 2008 11:33:36 +0400 (MSD) (envelope-from root) Date: Sun, 5 Oct 2008 11:33:36 +0400 From: Chagin Dmitry To: "Sean C. Farley" Message-ID: <20081005073336.GB1450@dchagin.dialup.corbina.ru> References: <20081004211850.GA44165@dchagin.dialup.corbina.ru> 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: freebsd-emulation@freebsd.org, Alexander Logvinov Subject: Re: SEGV with games/linux-ut 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, 05 Oct 2008 07:33:43 -0000 On Sat, Oct 04, 2008 at 05:49:23PM -0500, Sean C. Farley wrote: > On Sun, 5 Oct 2008, Chagin Dmitry wrote: > > >On Sat, Oct 04, 2008 at 11:55:45AM -0500, Sean C. Farley wrote: > >>Alexander and I are getting SEGV's when trying to run games/linux-ut. > >>He also sees problems with Serious Sam. It does not occur for him > >>with an FC4 base. > >> > >>Criteria for SEGV: > >>1. linux_base-f8-8_{4,6} > >>2. compat.linux.osrelease: 2.6.16 > >>3. RELENG_7 (r183556) with or without patches for Flash 9 support > >>4. nvidia-driver-173.14.12 > >> > >>ktrace: > >> > >> 7055 ut-bin CALL geteuid > >> 7055 ut-bin RET geteuid 1001/0x3e9 > >> 7055 ut-bin CALL geteuid > >> 7055 ut-bin RET geteuid 1001/0x3e9 > >> 7055 ut-bin CALL linux_open(0xbfbfc628,0x8002,0) > >> 7055 ut-bin NAMI "/compat/linux/dev/nvidiactl" > >> 7055 ut-bin NAMI "/dev/nvidiactl" > >> 7055 ut-bin RET linux_open 50/0x32 > >> 7055 ut-bin CALL linux_ioctl(0x32,0xc04846d2 ,0xbfbfc588) > >> 7055 ut-bin RET linux_ioctl 0 > >> 7055 ut-bin CALL linux_ioctl(0x32,0xc0e046c8 ,0x2bab5700) > >> 7055 ut-bin RET linux_ioctl 0 > >> 7055 ut-bin CALL linux_ioctl(0x32,0xc00c4622 ,0xbfbfc6d8) > >> 7055 ut-bin RET linux_ioctl 0 > >> 7055 ut-bin CALL geteuid > >> 7055 ut-bin RET geteuid 1001/0x3e9 > >> 7055 ut-bin CALL linux_open(0xbfbfc528,0x8002,0) > >> 7055 ut-bin NAMI "/compat/linux/dev/nvidia0" > >> 7055 ut-bin NAMI "/dev/nvidia0" > >> 7055 ut-bin RET linux_open 51/0x33 > >> 7055 ut-bin CALL linux_ioctl(0x32,0xc040464d ,0xbfbfc338) > >> 7055 ut-bin RET linux_ioctl 0 > > > >0xc040464d = _IOWR('F', 77, xxxxx), aka FrameBuffer which never > >supported in linuxulator (as far as I understand) > > Maybe new functionality in linuxulator encouraged the code to try > farther? > agree 100% > Here is the entire trace minus the I/O data: > http://people.freebsd.org/~scf/ut-ktrace.log.bz2 > > >please, show /compat/linux/bin/sh /usr/bin/ldd /path_to/ut-bin > > Is this what you want? > # ll /compat/linux/bin/{ba,}sh /usr/bin/ldd /compat/linux/usr/bin/ldd > /usr/local/bin/ut /usr/local/share/linux-ut/System/ut-bin > -rwxr-xr-x 1 root wheel 729352 Oct 3 17:09 /compat/linux/bin/bash* > lrwxrwxrwx 1 root wheel 4 Oct 3 17:10 /compat/linux/bin/sh@ -> bash > -rwxr-xr-x 1 root wheel 5770 Oct 3 17:09 /compat/linux/usr/bin/ldd* > -r-xr-xr-x 1 root wheel 16596 Oct 2 18:56 /usr/bin/ldd* > -r-xr-xr-x 1 root wheel 1727 Sep 15 19:23 /usr/local/bin/ut* > -r-xr-xr-x 1 root wheel 91336 Sep 15 19:23 > /usr/local/share/linux-ut/System/ut-bin* > no, output of /compat/linux/bin/sh /usr/bin/ldd /usr/local/share/linux-ut/System/ut-bin I can't find the specification of framebuffer ioctl's -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 5 11:53:37 2008 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 DCEC01065688; Sun, 5 Oct 2008 11:53:37 +0000 (UTC) (envelope-from ports@logvinov.com) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id C1DF78FC1A; Sun, 5 Oct 2008 11:53:37 +0000 (UTC) (envelope-from ports@logvinov.com) Received: from jankymail-a5.g.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by hapkido.dreamhost.com (Postfix) with ESMTP id 6FD271783A1; Sun, 5 Oct 2008 04:21:34 -0700 (PDT) Received: from ADMIN (blg.akavia.ru [92.50.210.250]) by jankymail-a5.g.dreamhost.com (Postfix) with ESMTP id C246C13ED9; Sun, 5 Oct 2008 04:21:31 -0700 (PDT) Date: Sun, 5 Oct 2008 21:21:24 +1000 From: Alexander Logvinov Organization: AKA X-Priority: 3 (Normal) Message-ID: <1962364299.20081005212124@logvinov.com> To: Chagin Dmitry In-Reply-To: <20081005072006.GA1450@dchagin.dialup.corbina.ru> References: <20081005072006.GA1450@dchagin.dialup.corbina.ru> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="----------AD136CA1B9CA502" Cc: freebsd-emulation@freebsd.org Subject: Re[2]: SEGV with games/linux-ut X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Logvinov List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 11:53:38 -0000 ------------AD136CA1B9CA502 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Hello Dmitry! Sunday, October 5, 2008, 5:20:06 PM, you wrote: > On Sat, Oct 04, 2008 at 11:55:45AM -0500, Sean C. Farley wrote: >> Alexander and I are getting SEGV's when trying to run games/linux-ut. >> He also sees problems with Serious Sam. It does not occur for him with >> an FC4 base. >>=20 > What about Serious Sam ktrace/linux_kdump? # ktrace -t cnstu /usr/local/share/ssamtfe/Bin/ssam_lnx STUB: load window icon in SeriousSam/MainWindow.cpp, line 153. STUB: Need SDL invisible window or something in SeriousSam/MainWindow.cpp, = line 356. Segmentation fault (core dumped) http://www.logvinov.ru/files/ssamtfe.tar.gz -- Best regards, Alexander mailto:ports@logvinov.com ------------AD136CA1B9CA502 Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: GnuPG v1.4.9 (MingW32) iQEcBAEBAgAGBQJI6KM0AAoJECvkNOkwqtvMfDcH/RZx9eF4BgRwnKncqr+R7xmx kyf8xeyFD27dQr7yQn/k6x04pLPGNuSntyWh/99VYBPT6WlZ4fWtl0d3oMWcWX0m /gbCAJ4f1Dbb2dpaYxXv6vikFjgERc7FZ009XhtNsgudFu56o3RM8QFvT2FHJPc6 TcZM5aUNUpSMbJH2ungOwjWKteuf3YtD2cl/9/JgaIvKeWui8RuaczcW3J8gQiae aL+JJ8aJCPubSkuT+woK4Ad2F9Yem+XdOBHQFpbM1KqN+d/QPK0VBeHptPUNCftr zLTf3xzBEap+BxkiEjadGvA4+viAPNwbdn0l/Qt2FW+Jf/P9Fk5r7XlL3PALiMI= =b6aP -----END PGP MESSAGE----- ------------AD136CA1B9CA502-- From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 5 14:22:00 2008 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 DA215106568F; Sun, 5 Oct 2008 14:22:00 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id 9339C8FC15; Sun, 5 Oct 2008 14:22:00 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id m95ELvt7086285; Sun, 5 Oct 2008 09:21:57 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Sun, 5 Oct 2008 09:21:57 -0500 (CDT) From: "Sean C. Farley" To: Chagin Dmitry In-Reply-To: <20081005073336.GB1450@dchagin.dialup.corbina.ru> Message-ID: References: <20081004211850.GA44165@dchagin.dialup.corbina.ru> <20081005073336.GB1450@dchagin.dialup.corbina.ru> 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.4 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_DOB,RCVD_IN_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: freebsd-emulation@FreeBSD.org, Alexander Logvinov Subject: Re: SEGV with games/linux-ut 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, 05 Oct 2008 14:22:00 -0000 On Sun, 5 Oct 2008, Chagin Dmitry wrote: > On Sat, Oct 04, 2008 at 05:49:23PM -0500, Sean C. Farley wrote: >> On Sun, 5 Oct 2008, Chagin Dmitry wrote: >>> On Sat, Oct 04, 2008 at 11:55:45AM -0500, Sean C. Farley wrote: >>>> Alexander and I are getting SEGV's when trying to run >>>> games/linux-ut. He also sees problems with Serious Sam. It does >>>> not occur for him with an FC4 base. >>>> >>>> Criteria for SEGV: >>>> 1. linux_base-f8-8_{4,6} >>>> 2. compat.linux.osrelease: 2.6.16 >>>> 3. RELENG_7 (r183556) with or without patches for Flash 9 support >>>> 4. nvidia-driver-173.14.12 >>>> >>>> ktrace: >>>> >>>> 7055 ut-bin CALL geteuid >>>> 7055 ut-bin RET geteuid 1001/0x3e9 >>>> 7055 ut-bin CALL geteuid >>>> 7055 ut-bin RET geteuid 1001/0x3e9 >>>> 7055 ut-bin CALL linux_open(0xbfbfc628,0x8002,0) >>>> 7055 ut-bin NAMI "/compat/linux/dev/nvidiactl" >>>> 7055 ut-bin NAMI "/dev/nvidiactl" >>>> 7055 ut-bin RET linux_open 50/0x32 >>>> 7055 ut-bin CALL linux_ioctl(0x32,0xc04846d2 ,0xbfbfc588) >>>> 7055 ut-bin RET linux_ioctl 0 >>>> 7055 ut-bin CALL linux_ioctl(0x32,0xc0e046c8 ,0x2bab5700) >>>> 7055 ut-bin RET linux_ioctl 0 >>>> 7055 ut-bin CALL linux_ioctl(0x32,0xc00c4622 ,0xbfbfc6d8) >>>> 7055 ut-bin RET linux_ioctl 0 >>>> 7055 ut-bin CALL geteuid >>>> 7055 ut-bin RET geteuid 1001/0x3e9 >>>> 7055 ut-bin CALL linux_open(0xbfbfc528,0x8002,0) >>>> 7055 ut-bin NAMI "/compat/linux/dev/nvidia0" >>>> 7055 ut-bin NAMI "/dev/nvidia0" >>>> 7055 ut-bin RET linux_open 51/0x33 >>>> 7055 ut-bin CALL linux_ioctl(0x32,0xc040464d ,0xbfbfc338) >>>> 7055 ut-bin RET linux_ioctl 0 >>> >>> 0xc040464d = _IOWR('F', 77, xxxxx), aka FrameBuffer which never >>> supported in linuxulator (as far as I understand) >> >> Maybe new functionality in linuxulator encouraged the code to try >> farther? > > agree 100% > >> Here is the entire trace minus the I/O data: >> http://people.freebsd.org/~scf/ut-ktrace.log.bz2 >> >>> please, show /compat/linux/bin/sh /usr/bin/ldd /path_to/ut-bin >> >> Is this what you want? >> # ll /compat/linux/bin/{ba,}sh /usr/bin/ldd /compat/linux/usr/bin/ldd >> /usr/local/bin/ut /usr/local/share/linux-ut/System/ut-bin >> -rwxr-xr-x 1 root wheel 729352 Oct 3 17:09 /compat/linux/bin/bash* >> lrwxrwxrwx 1 root wheel 4 Oct 3 17:10 /compat/linux/bin/sh@ -> bash >> -rwxr-xr-x 1 root wheel 5770 Oct 3 17:09 /compat/linux/usr/bin/ldd* >> -r-xr-xr-x 1 root wheel 16596 Oct 2 18:56 /usr/bin/ldd* >> -r-xr-xr-x 1 root wheel 1727 Sep 15 19:23 /usr/local/bin/ut* >> -r-xr-xr-x 1 root wheel 91336 Sep 15 19:23 >> /usr/local/share/linux-ut/System/ut-bin* > > no, output of > /compat/linux/bin/sh /usr/bin/ldd /usr/local/share/linux-ut/System/ut-bin > > I can't find the specification of framebuffer ioctl's Ah, it was a moment of no coffee. Here it is: # /compat/linux/bin/sh /usr/bin/ldd /usr/local/share/linux-ut/System/ut-bin not a dynamic executable The native ldd works better: # ldd /usr/local/share/linux-ut/System/ut-bin libdl.so.2 => /lib/libdl.so.2 (0x2807a000) libnsl.so.1 => /lib/libnsl.so.1 (0x28080000) libpthread.so.0 => /lib/libpthread.so.0 (0x28099000) Engine.so => not found Core.so => not found libSDL-1.1.so.0 => /usr/lib/libSDL-1.1.so.0 (0x280b1000) libm.so.6 => /lib/libm.so.6 (0x28138000) libc.so.6 => /lib/libc.so.6 (0x28161000) /lib/ld-linux.so.2 (0x2805a000) Sean -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 5 16:43:33 2008 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 C5AAC1065690; Sun, 5 Oct 2008 16:43:33 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 99C938FC13; Sun, 5 Oct 2008 16:43:32 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 13337191AA2; Sun, 5 Oct 2008 18:43:29 +0200 (CEST) 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 m95GfIvG068957; Sun, 5 Oct 2008 18:41:18 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id m95GfIOQ068956; Sun, 5 Oct 2008 18:41:18 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 5 Oct 2008 18:41:18 +0200 To: Tijl Coosemans Message-ID: <20081005164118.GA68613@saturn.kn-bremen.de> Mail-Followup-To: Tijl Coosemans , freebsd-emulation@freebsd.org, Chagin Dmitry References: <200810011852.45247.tijl@ulyssis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810011852.45247.tijl@ulyssis.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: firefox & flash9 patches - linprocfs patch for 6.x 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, 05 Oct 2008 16:43:34 -0000 On Wed, Oct 01, 2008 at 06:52:37PM +0200, Tijl Coosemans wrote: > On Monday 29 September 2008 22:02:37 Chagin Dmitry wrote: > > please, test following patches (just -current). > > with them firefox && flash9 forks for me, > > I tested only on ia32@amd64 with 2.6.16 enabled, > > firefox 2.0.0.16 and flash9 plugin. > > > > If all is good, I will ask des@ and kib@ to review&commit them. thnx! > > On 7.1-PRERELEASE, linux 2.4, fc4, the linprocfs patch seems to improve > things a lot. I'm still having crashes from time to time, but overall > flash9 works much better. Great work! > > I've attached the patch for RELENG_7 (patch-linprocfs) and another > patch for libflashsupport [1]. It should improve OSS support, A/V sync > etc. For those without a linux box, I've attached a compiled version of > the lib as well. You can drop it in /compat/linux/usr/lib. > > [1] http://sourceforge.net/projects/flashsupport/ I still have one box on 6.3, so today I tried the updated RELENG_7 linprocfs_doprocmaps() and libflashsupport there (using linux-base-fc4), and got youtube working on there as well. I'll append the patch, which should also apply on RELENG_6 and _6_4, tho with offset. (also at http://people.freebsd.org/~nox/linprocfs-6.3.patch ) Thanx again, Juergen Index: linprocfs.c @@ -934,48 +934,47 @@ linprocfs_doprocenviron(PFS_FILL_ARGS) static int linprocfs_doprocmaps(PFS_FILL_ARGS) { - char mebuffer[512]; vm_map_t map = &p->p_vmspace->vm_map; - vm_map_entry_t entry; + vm_map_entry_t entry, tmp_entry; vm_object_t obj, tobj, lobj; + vm_offset_t saved_end; vm_ooffset_t off = 0; char *name = "", *freename = NULL; - size_t len; ino_t ino; + unsigned int last_timestamp; int ref_count, shadow_count, flags; int error; struct vnode *vp; struct vattr vat; int locked; - + PROC_LOCK(p); error = p_candebug(td, p); PROC_UNLOCK(p); if (error) return (error); - + if (uio->uio_rw != UIO_READ) return (EOPNOTSUPP); - - if (uio->uio_offset != 0) - return (0); - + error = 0; - if (map != &curthread->td_proc->p_vmspace->vm_map) - vm_map_lock_read(map); - for (entry = map->header.next; - ((uio->uio_resid > 0) && (entry != &map->header)); + vm_map_lock_read(map); + for (entry = map->header.next; entry != &map->header; entry = entry->next) { name = ""; freename = NULL; if (entry->eflags & MAP_ENTRY_IS_SUB_MAP) continue; + saved_end = entry->end; obj = entry->object.vm_object; - for (lobj = tobj = obj; tobj; tobj = tobj->backing_object) + for (lobj = tobj = obj; tobj; tobj = tobj->backing_object) { + VM_OBJECT_LOCK(tobj); + if (lobj != obj) + VM_OBJECT_UNLOCK(lobj); lobj = tobj; + } ino = 0; if (lobj) { - VM_OBJECT_LOCK(lobj); off = IDX_TO_OFF(lobj->size); if (lobj->type == OBJT_VNODE) { vp = lobj->handle; @@ -984,10 +983,12 @@ linprocfs_doprocmaps(PFS_FILL_ARGS) } else vp = NULL; + if (lobj != obj) + VM_OBJECT_UNLOCK(lobj); flags = obj->flags; ref_count = obj->ref_count; shadow_count = obj->shadow_count; - VM_OBJECT_UNLOCK(lobj); + VM_OBJECT_UNLOCK(obj); if (vp) { vn_fullpath(td, vp, &name, &freename); locked = VFS_LOCK_GIANT(vp->v_mount); @@ -1007,7 +1008,7 @@ linprocfs_doprocmaps(PFS_FILL_ARGS) * format: * start, end, access, offset, major, minor, inode, name. */ - snprintf(mebuffer, sizeof mebuffer, + error = sbuf_printf(sb, "%08lx-%08lx %s%s%s%s %08lx %02x:%02x %lu%s%s\n", (u_long)entry->start, (u_long)entry->end, (entry->protection & VM_PROT_READ)?"r":"-", @@ -1023,19 +1024,23 @@ linprocfs_doprocmaps(PFS_FILL_ARGS) ); if (freename) free(freename, M_TEMP); - len = strlen(mebuffer); - if (len > uio->uio_resid) - len = uio->uio_resid; /* - * XXX We should probably return - * EFBIG here, as in procfs. - */ - error = uiomove(mebuffer, len, uio); - if (error) - break; - } - if (map != &curthread->td_proc->p_vmspace->vm_map) + last_timestamp = map->timestamp; vm_map_unlock_read(map); - + if (error == -1) + return (0); + vm_map_lock_read(map); + if (last_timestamp + 1 != map->timestamp) { + /* + * Look again for the entry because the map was + * modified while it was unlocked. Specifically, + * the entry may have been clipped, merged, or deleted. + */ + vm_map_lookup_entry(map, saved_end - 1, &tmp_entry); + entry = tmp_entry; + } + } + vm_map_unlock_read(map); + return (error); } From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 6 11:06:53 2008 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 792C91065686 for ; Mon, 6 Oct 2008 11:06:53 +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 67F0F8FC27 for ; Mon, 6 Oct 2008 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m96B6rP7035445 for ; Mon, 6 Oct 2008 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m96B6qDd035441 for freebsd-emulation@FreeBSD.org; Mon, 6 Oct 2008 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Oct 2008 11:06:52 GMT Message-Id: <200810061106.m96B6qDd035441@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, 06 Oct 2008 11:06:53 -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/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 12 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 6 12:24:57 2008 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 155471065697 for ; Mon, 6 Oct 2008 12:24:57 +0000 (UTC) (envelope-from chd@dchagin.dialup.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id BC7728FC13 for ; Mon, 6 Oct 2008 12:24:56 +0000 (UTC) (envelope-from chd@dchagin.dialup.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 8D5A020D424; Mon, 6 Oct 2008 16:24:54 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from dchagin.dialup.corbina.ru ([78.107.232.239] verified) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1270507643; Mon, 06 Oct 2008 16:24:54 +0400 Received: from dchagin.dialup.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.dialup.corbina.ru (8.14.3/8.14.2) with ESMTP id m96COrxh004322; Mon, 6 Oct 2008 16:24:53 +0400 (MSD) (envelope-from chd@dchagin.dialup.corbina.ru) Received: (from root@localhost) by dchagin.dialup.corbina.ru (8.14.3/8.14.2/Submit) id m96COmUJ004321; Mon, 6 Oct 2008 16:24:48 +0400 (MSD) (envelope-from chd) Date: Mon, 6 Oct 2008 16:24:48 +0400 From: Chagin Dmitry To: Alexander Logvinov Message-ID: <20081006122448.GA4279@dchagin.dialup.corbina.ru> References: <20081005072006.GA1450@dchagin.dialup.corbina.ru> <1962364299.20081005212124@logvinov.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1962364299.20081005212124@logvinov.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: SEGV with games/linux-ut 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, 06 Oct 2008 12:24:57 -0000 On Sun, Oct 05, 2008 at 09:21:24PM +1000, Alexander Logvinov wrote: > Hello Dmitry! > > Sunday, October 5, 2008, 5:20:06 PM, you wrote: > > > On Sat, Oct 04, 2008 at 11:55:45AM -0500, Sean C. Farley wrote: > >> Alexander and I are getting SEGV's when trying to run games/linux-ut. > >> He also sees problems with Serious Sam. It does not occur for him with > >> an FC4 base. > >> > > What about Serious Sam ktrace/linux_kdump? > # ktrace -t cnstu /usr/local/share/ssamtfe/Bin/ssam_lnx > STUB: load window icon in SeriousSam/MainWindow.cpp, line 153. > STUB: Need SDL invisible window or something in SeriousSam/MainWindow.cpp, line 356. > Segmentation fault (core dumped) > > http://www.logvinov.ru/files/ssamtfe.tar.gz > Hi, the same problem, undocumented _IOWR('F', 4d, xxxx) called from nvidia_drv.so Strange that it worked with fc-4 base... I think that it is necessary to write to NVIDIA about it. -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 6 15:24:14 2008 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 7872B106568D; Mon, 6 Oct 2008 15:24:14 +0000 (UTC) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by mx1.freebsd.org (Postfix) with ESMTP id 394B48FC14; Mon, 6 Oct 2008 15:24:14 +0000 (UTC) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (localhost [127.0.0.1]) by scotth.emsphone.com (8.14.2/8.14.2) with ESMTP id m96EruSs002667; Mon, 6 Oct 2008 09:53:56 -0500 (CDT) (envelope-from shildret@scotth.emsphone.com) Received: (from shildret@localhost) by scotth.emsphone.com (8.14.2/8.14.2/Submit) id m96Eruit002666; Mon, 6 Oct 2008 09:53:56 -0500 (CDT) (envelope-from shildret@scotth.emsphone.com) From: "Scott T. Hildreth" To: Tijl Coosemans In-Reply-To: <200810041252.49105.tijl@ulyssis.org> References: <200810011852.45247.tijl@ulyssis.org> <48E674C9.1060908@pcbsd.com> <200810041252.49105.tijl@ulyssis.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 06 Oct 2008 09:53:55 -0500 Message-Id: <1223304835.1353.5.camel@scotth.emsphone.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: firefox & flash9 patches X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shildreth@allantgroup.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 15:24:14 -0000 On Sat, 2008-10-04 at 12:52 +0200, Tijl Coosemans wrote: > On Friday 03 October 2008 21:38:49 Kris Moore wrote: > > I'm testing flash9 on i386 FreeBSD 7.1PR, and amd64 7.1PR, and it > > seems to be working nicely now! Would it be possible to update the > > www/linux-flashplugin9 port with your improved libflashsupport > > library? I installed the linux_procfs patch, rebuilt the kernel and installed it. I installed missing linux ports, including the flash9 port. Then I copied your libflashsupport library over the installed one. I ran the command "nspluginwrapper -v -a -i" and rebooted. My flash9 is not working, the npviewer.bin is segfaulting. Did I miss a step? Thanks. > I filed a PR for the port: > http://www.freebsd.org/cgi/query-pr.cgi?pr=127839 > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org" From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 6 15:42:48 2008 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 4DBC4106568B for ; Mon, 6 Oct 2008 15:42:48 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from mailrelay012.isp.belgacom.be (mailrelay012.isp.belgacom.be [195.238.6.179]) by mx1.freebsd.org (Postfix) with ESMTP id E11728FC0A for ; Mon, 6 Oct 2008 15:42:47 +0000 (UTC) (envelope-from tijl@ulyssis.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAA/N6UhR9Nve/2dsb2JhbAC7eIFq Received: from unknown (HELO kalimero.kotnet.org) ([81.244.219.222]) by relay.skynet.be with ESMTP; 06 Oct 2008 17:42:45 +0200 Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.14.3/8.14.3) with ESMTP id m96Fgi2k004213; Mon, 6 Oct 2008 17:42:44 +0200 (CEST) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: shildreth@allantgroup.com, freebsd-emulation@freebsd.org Date: Mon, 6 Oct 2008 17:42:41 +0200 User-Agent: KMail/1.9.10 References: <200810011852.45247.tijl@ulyssis.org> <200810041252.49105.tijl@ulyssis.org> <1223304835.1353.5.camel@scotth.emsphone.com> In-Reply-To: <1223304835.1353.5.camel@scotth.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810061742.43367.tijl@ulyssis.org> Cc: Subject: Re: firefox & flash9 patches 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, 06 Oct 2008 15:42:48 -0000 On Monday 06 October 2008 16:53:55 Scott T. Hildreth wrote: > I installed the linux_procfs patch, rebuilt the kernel and installed > it. I installed missing linux ports, including the flash9 port. Then > I copied your libflashsupport library over the installed one. I ran > the command "nspluginwrapper -v -a -i" and rebooted. My flash9 is > not working, the npviewer.bin is segfaulting. Did I miss a step? Did you mount linprocfs? mount -t linprocfs linprocfs /compat/linux/proc You can add the following line to /etc/fstab to have it mounted at boot. linprocfs /compat/linux/proc linprocfs rw 0 0 From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 6 16:52:28 2008 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 9FEF610656B8 for ; Mon, 6 Oct 2008 16:52:28 +0000 (UTC) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by mx1.freebsd.org (Postfix) with ESMTP id 618018FC12 for ; Mon, 6 Oct 2008 16:52:28 +0000 (UTC) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (localhost [127.0.0.1]) by scotth.emsphone.com (8.14.2/8.14.2) with ESMTP id m96GqRcQ008711; Mon, 6 Oct 2008 11:52:27 -0500 (CDT) (envelope-from shildret@scotth.emsphone.com) Received: (from shildret@localhost) by scotth.emsphone.com (8.14.2/8.14.2/Submit) id m96GqRtI008710; Mon, 6 Oct 2008 11:52:27 -0500 (CDT) (envelope-from shildret@scotth.emsphone.com) From: "Scott T. Hildreth" To: Tijl Coosemans In-Reply-To: <200810061742.43367.tijl@ulyssis.org> References: <200810011852.45247.tijl@ulyssis.org> <200810041252.49105.tijl@ulyssis.org> <1223304835.1353.5.camel@scotth.emsphone.com> <200810061742.43367.tijl@ulyssis.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 06 Oct 2008 11:52:27 -0500 Message-Id: <1223311947.1353.10.camel@scotth.emsphone.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Cc: freebsd-emulation@freebsd.org Subject: Re: firefox & flash9 patches X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shildreth@allantgroup.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 16:52:28 -0000 On Mon, 2008-10-06 at 17:42 +0200, Tijl Coosemans wrote: > On Monday 06 October 2008 16:53:55 Scott T. Hildreth wrote: > > I installed the linux_procfs patch, rebuilt the kernel and installed > > it. I installed missing linux ports, including the flash9 port. Then > > I copied your libflashsupport library over the installed one. I ran > > the command "nspluginwrapper -v -a -i" and rebooted. My flash9 is > > not working, the npviewer.bin is segfaulting. Did I miss a step? > > Did you mount linprocfs? > > mount -t linprocfs linprocfs /compat/linux/proc > > You can add the following line to /etc/fstab to have it mounted at > boot. > > linprocfs /compat/linux/proc linprocfs rw 0 0 That did it, thanks Tijl! I had that in my fstab before, I must have lost in an update. Thanks again. Scott From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 11 21:43:01 2008 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 80BFF106568C for ; Sat, 11 Oct 2008 21:43:01 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 011A28FC16 for ; Sat, 11 Oct 2008 21:43:00 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id CE051191A4E; Sat, 11 Oct 2008 23:42:58 +0200 (CEST) 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 m9BLfpQ9058425; Sat, 11 Oct 2008 23:41:51 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id m9BLfmsU058424; Sat, 11 Oct 2008 23:41:48 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 11 Oct 2008 23:41:48 +0200 To: Juergen Lock Message-ID: <20081011214148.GA57939@saturn.kn-bremen.de> Mail-Followup-To: Juergen Lock , unixmania@gmail.com, qemu-devel@nongnu.org, Anthony Liguori , freebsd-emulation@freebsd.org References: <20080921204025.GA81055@saturn.kn-bremen.de> <200809242210.m8OMAcSZ021572@saturn.kn-bremen.de> <48DCF9FC.2070708@codemonkey.ws> <20080926220445.GA13099@saturn.kn-bremen.de> <20080927204729.GA52209@saturn.kn-bremen.de> <200809302233.m8UMXdca045408@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200809302233.m8UMXdca045408@saturn.kn-bremen.de> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: unixmania@gmail.com, freebsd-emulation@freebsd.org, qemu-devel@nongnu.org, Anthony Liguori Subject: Re: [Qemu-devel] Re: qemu svn r5281 on FreeBSD - slow usb, vmwarevga, screen updates... (now updated to r5457) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 21:43:01 -0000 On Wed, Oct 01, 2008 at 12:33:39AM +0200, Juergen Lock wrote: > In article you write: > >On Sat, Sep 27, 2008 at 5:47 PM, Juergen Lock wrote: > >> On Sat, Sep 27, 2008 at 12:04:45AM +0200, I wrote: > >>>[...] > >>> I'll see if I can prepare another update over the weekend and then go > >>> thru more of the patches that have accumulated in the port... > >> > >> OK, here we go :) First the update: (at r5331 now) > >> http://people.freebsd.org/~nox/qemu/qemu-devel-20080927.patch > >[...] > > > >I suggest applying the following patch (on top of yours). It includes > >options to build additional sound emulators. > > > >--- Makefile.orig 2008-09-28 00:11:29.000000000 -0300 > >+++ Makefile 2008-09-28 00:53:03.000000000 -0300 > >@@ -38,6 +38,10 @@ > > GNUTLS "gnutls dependency (vnc encryption)" On \ > > PCAP "pcap dependency (networking with bpf)" On \ > > CDROM_DMA "IDE CDROM DMA" On \ > >+ AC97 "Intel 82801AA AC97 sound card" Off \ > >+ ADLIB "Adlib card with Yamaha YM3812 (OPL2) chip" Off \ > >+ CS4231A "CS4231A sound card (Windows Sound System)" Off \ > >+ GUS "Gravis Ultrasound GF1 sound card" Off \ > > ALL_TARGETS "Also build dyngen targets (requires gcc34)" On > > > > .include > >@@ -76,6 +80,35 @@ > > CONFIGURE_ARGS+= --enable-pcap > > .endif > > > >+.if defined(WITH_AC97) > >+AUDIO_CARD_LIST= ac97 > >+.endif > >+ > >+.if defined(WITH_ADLIB) > >+.if defined(AUDIO_CARD_LIST) > >+AUDIO_CARD_LIST+= , > >+.endif > >+AUDIO_CARD_LIST+= adlib > >+.endif > >+ > >+.if defined(WITH_CS4231A) > >+.if defined(AUDIO_CARD_LIST) > >+AUDIO_CARD_LIST+= , > >+.endif > >+AUDIO_CARD_LIST+= cs4231a > >+.endif > >+ > >+.if defined(WITH_GUS) > >+.if defined(AUDIO_CARD_LIST) > >+AUDIO_CARD_LIST+= , > >+.endif > >+AUDIO_CARD_LIST+= gus > >+.endif > >+ > >+.if defined(AUDIO_CARD_LIST) > >+CONFIGURE_ARGS+= --audio-card-list="${AUDIO_CARD_LIST}" > >+.endif > >+ > > .if defined(WITH_SAMBA) > > RUN_DEPENDS+= ${LOCALBASE}/sbin/smbd:${PORTSDIR}/net/samba3 > > .endif > > > >Signed-off-by: Carlos Santos > > Hmm. I might just add one knob to compile in all of these instead, > they are still to be enabled individually at runtime, right? Ok, new update at: http://people.freebsd.org/~nox/qemu/qemu-devel-20081011.patch I have added an ADD_AUDIO knob to enable all of the above, and I have also added the aio emulation patch that makes qemu still work when aio is not loaded (although usually slower.) I have noticed tho that -soundhw ac97 together with -usb -drive if=scsi,... and -net nic,model=rtl8139 causes scsi resets and timeouts at least for my sidux-2008-03-ourea-pre1-kde-lite-i386-200809142136.iso livecd guest, can anyone reproduce this? A FreeBSD 7.1-BETA-i386-livefs.iso guest with the same parameters also hangs at boot with scsi problems... Oh and the other problems I mentioned also still seem to exist. Thanx, Juergen