From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 26 09:29:09 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A375416A403; Mon, 26 Mar 2007 09:29:09 +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 301DD13C44B; Mon, 26 Mar 2007 09:29:09 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5E49D.dip.t-dialin.net [84.165.228.157]) by redbull.bpaserver.net (Postfix) with ESMTP id 355CA2E167; Mon, 26 Mar 2007 11:29:03 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 62D5A5B4817; Mon, 26 Mar 2007 11:29:00 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l2Q9T0qX063377; Mon, 26 Mar 2007 11:29:00 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 26 Mar 2007 11:29:00 +0200 Message-ID: <20070326112900.g0kr4fgy8coowso4@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 26 Mar 2007 11:29:00 +0200 From: Alexander Leidinger To: Vladimir Grebenschikov References: <1174822267.1170.21.camel@localhost> In-Reply-To: <1174822267.1170.21.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@freebsd.org, multimedia@freebsd.org Subject: Re: Something wron in sound under linux emulation under recent current 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, 26 Mar 2007 09:29:09 -0000 Quoting Vladimir Grebenschikov (from Sun, 25 Mar 2007 =20 15:31:07 +0400): > Hi > > After upgrade to recent current (previous was in February 2007). > > I have notice that heroes3 (linux game) stop working, after some > investigation I've found that it blocks on start just after opening > sound device (truss output below). > > If I start it with disabled sound - it works as expected. > > It works fine several months ago. > > Other Linux sound software looks ok (skype). > > $ truss /usr/local/games/Heroes3.Linux/heroes3 -l > ... > linux_open("/home/vova/.loki/heroes3/game.log",0x241,0666) =3D 9 (0x9) > linux_newfstat(9,0xbfbfcb24) =3D 0 (0x0) > linux_mmap(0xbfbfcb70) =3D 675188736 > (0x283e9000) > write(9,"LogFile initialized.\n",21) =3D 21 (0x15) > close(9) =3D 0 (0x0) > munmap(0x283e9000,4096) =3D 0 (0x0) > linux_newstat("/dev/sound",0xbfbfc904) ERR#2 'No such file or > directory' > linux_open("/dev/dsp",0x801,00) =3D 9 (0x9) > linux_ioctl(0x9,0x8004500b,0xbfbfce14) =3D 0 (0x0) > linux_ioctl(0x9,0xc0045005,0xbfbfce14) =3D 0 (0x0) > linux_ioctl(0x9,0xc0045006,0xbfbfce14) =3D 0 (0x0) > close(9) =3D 0 (0x0) > linux_open("/dev/dsp",0x1,00) =3D 9 (0x9) > linux_ioctl(0x9,0xc004500a,0xbfbfcde0) =3D 0 (0x0) > linux_ioctl(0x9,0xc0045005,0xbfbfcddc) =3D 0 (0x0) > linux_ioctl(0x9,0xc0045006,0xbfbfcddc) =3D 0 (0x0) > linux_ioctl(0x9,0xc0045002,0xbfbfcddc) =3D 0 (0x0) > linux_brk(0x847c000) =3D 138919936 (0x847c000) > linux_getpid() =3D 4447 (0x115f) > linux_brk(0x847d000) =3D 138924032 (0x847d000) > linux_rt_sigprocmask(0x2,0x0,0xbfbfd114,0x8) =3D 0 (0x0) > write(8," D@\b\0\0\0\0\M-P\M-Q\M-?\M-?$"...,148) =3D 148 (0x94) > linux_rt_sigprocmask(0x2,0x0,0xbfbfd080,0x8) > > And then it sleeps forever here. The linuxulator does not handle the sound stuff in a special way. So =20 it is either a problem because of a recent change to the soundsystem =20 (I don't remember one, and we would need the output of "dmesg | grep =20 pcm" and "cat /dev/sndstat" as a start), or because of a recent change =20 in some linuxulator code not related to sound. There where several =20 changes in the linuxulator since Feb, so if you could do a binary =20 search to nail down the change we could take a look at that change. Bye, Alexander. --=20 Remember to say hello to your bank teller. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137