From owner-freebsd-emulation@FreeBSD.ORG Sat Aug 30 11:35: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 7AD821065670 for ; Sat, 30 Aug 2008 11:35:33 +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 2A0B28FC19 for ; Sat, 30 Aug 2008 11:35:32 +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 63AFE18F023 for ; Sat, 30 Aug 2008 15:35:31 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.dialup.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1042714188 for freebsd-emulation@freebsd.org; Sat, 30 Aug 2008 15:35:31 +0400 Received: from dchagin.dialup.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.dialup.corbina.ru (8.14.2/8.14.2) with ESMTP id m7UBYrPx002231 for ; Sat, 30 Aug 2008 15:34:53 +0400 (MSD) (envelope-from root@dchagin.dialup.corbina.ru) Received: (from root@localhost) by dchagin.dialup.corbina.ru (8.14.2/8.14.2/Submit) id m7UBYm66002230 for freebsd-emulation@freebsd.org; Sat, 30 Aug 2008 15:34:48 +0400 (MSD) (envelope-from root) Date: Sat, 30 Aug 2008 15:34:48 +0400 From: Chagin Dmitry To: freebsd-emulation@freebsd.org Message-ID: <20080830113448.GA2152@dchagin.dialup.corbina.ru> Mail-Followup-To: freebsd-emulation@freebsd.org 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 Subject: Re: Linux applications core if running (k)qemu 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, 30 Aug 2008 11:35:33 -0000 On Fri, Aug 29, 2008 at 05:29:09PM -0500, Sean C. Farley wrote: > I am having trouble with kqemu.ko and linux.ko. If I run qemu with the > following command, Linux applications (chroot, acroread, ls) will start > core dumping: > qemu-system-x86_64 -m 512 \ > -drive file=/usr/QEMU/WinXP/c.img,if=ide,media=disk -boot c \ > -std-vga -parallel none -serial none -monitor stdio \ > -net nic,model=e1000 -net tap,ifname=tap0,script=no -localtime > > Loading kqemu.ko does not cause the problem, but the cores start a > little after WinXP starts running. Unloading kqemu.ko does not help; > the cores still happen but more randomly. I even tried unloading all > linux modules and reloading them without luck. It takes a reboot. > > Packages: > qemu-devel-0.9.1s.20080620_1 > kqemu-kmod-devel-1.4.0.p1 > linux_base-f8-8_4 > > sysctl: > compat.linux.osrelease: 2.6.16 > > dmesg: > kqemu version 0x00010400 > kqemu: KQEMU installed, max_locked_mem=1792492kB. > > System is 7-STABLE as of r181963 with or without the patch to fix RT > signals from Chagin. > Interestingly... Sean, can you provide ktrace/kdump log of coring apps? thnx! -- Have fun! chd