From owner-freebsd-multimedia@FreeBSD.ORG Sun Mar 25 11:47:08 2007 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB81516A400 for ; Sun, 25 Mar 2007 11:47:08 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.freebsd.org (Postfix) with ESMTP id 3472913C44C for ; Sun, 25 Mar 2007 11:47:08 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HVQwF-0001AV-MH; Sun, 25 Mar 2007 15:31:07 +0400 From: Vladimir Grebenschikov To: emulation@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Sun, 25 Mar 2007 15:31:07 +0400 Message-Id: <1174822267.1170.21.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: multimedia@freebsd.org Subject: Something wron in sound under linux emulation under recent current X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2007 11:47:08 -0000 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) = 9 (0x9) linux_newfstat(9,0xbfbfcb24) = 0 (0x0) linux_mmap(0xbfbfcb70) = 675188736 (0x283e9000) write(9,"LogFile initialized.\n",21) = 21 (0x15) close(9) = 0 (0x0) munmap(0x283e9000,4096) = 0 (0x0) linux_newstat("/dev/sound",0xbfbfc904) ERR#2 'No such file or directory' linux_open("/dev/dsp",0x801,00) = 9 (0x9) linux_ioctl(0x9,0x8004500b,0xbfbfce14) = 0 (0x0) linux_ioctl(0x9,0xc0045005,0xbfbfce14) = 0 (0x0) linux_ioctl(0x9,0xc0045006,0xbfbfce14) = 0 (0x0) close(9) = 0 (0x0) linux_open("/dev/dsp",0x1,00) = 9 (0x9) linux_ioctl(0x9,0xc004500a,0xbfbfcde0) = 0 (0x0) linux_ioctl(0x9,0xc0045005,0xbfbfcddc) = 0 (0x0) linux_ioctl(0x9,0xc0045006,0xbfbfcddc) = 0 (0x0) linux_ioctl(0x9,0xc0045002,0xbfbfcddc) = 0 (0x0) linux_brk(0x847c000) = 138919936 (0x847c000) linux_getpid() = 4447 (0x115f) linux_brk(0x847d000) = 138924032 (0x847d000) linux_rt_sigprocmask(0x2,0x0,0xbfbfd114,0x8) = 0 (0x0) write(8," D@\b\0\0\0\0\M-P\M-Q\M-?\M-?$"...,148) = 148 (0x94) linux_rt_sigprocmask(0x2,0x0,0xbfbfd080,0x8) And then it sleeps forever here. Any hints ? # sysctl -a | fgrep linux compat.linux.oss_version: 198144 compat.linux.osrelease: 2.4.2 compat.linux.osname: Linux # pkg_info -I linux_bas\* linux_base-fc-4_9 Base set of packages needed in Linux mode (for i386/amd64) # uname -a FreeBSD vbook.fbsd.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #9: Thu Mar 15 18:18:59 MSK 2007 root@vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK i386 # (kernel was built just after cvsup). -- Vladimir B. Grebenschikov SWsoft Inc. vova@swsoft.com