From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=32947 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFV44-0004Zg-KX for qemu-devel@nongnu.org; Fri, 21 May 2010 12:27:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFV0G-00035z-MU for qemu-devel@nongnu.org; Fri, 21 May 2010 12:23:18 -0400 Received: from goliath.siemens.de ([192.35.17.28]:23604) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFV0F-00035f-DI for qemu-devel@nongnu.org; Fri, 21 May 2010 12:23:16 -0400 Message-ID: <4BF6B36B.6060909@siemens.com> Date: Fri, 21 May 2010 18:23:07 +0200 From: Jan Kiszka MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: lsi: Handle removal of selected devices References: <20100521154926.GA22706@hall.aurel32.net> <20100521161736.GA27745@hall.aurel32.net> <4BF6B25B.7080508@siemens.com> In-Reply-To: <4BF6B25B.7080508@siemens.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: "qemu-devel@nongnu.org" Jan Kiszka wrote: > Aurelien Jarno wrote: >> On Fri, May 21, 2010 at 05:49:26PM +0200, Aurelien Jarno wrote: >>> This patch: >>> >>> 64d564094cac5f72eeaeb950c442b773a00d3586 is the first bad commit >>> commit 64d564094cac5f72eeaeb950c442b773a00d3586 >>> Author: Jan Kiszka >>> Date: Tue May 4 14:21:03 2010 +0200 >>> >>> lsi: Handle removal of selected devices >>> >>> We must not store references to selected devices as they may be >>> hot-removed. Instead, look up the device based on its tag right before >>> using it. If the device disappeared, throw an interrupt and disconnect. >>> >>> Signed-off-by: Jan Kiszka >>> Signed-off-by: Anthony Liguori >>> >>> breaks the versatile machine. qemu-system-arm segfaults during the boot. >> Actually it only seems to be the case with old kernels. I have put the >> material to reproduce the bug here: >> >> http://temp.aurel32.net/qemu-versatile/ >> > > Ah, perfect. Will have a look. > Boots fine up to "Waiting for root file system". That's on a 64-bit host. Are you on 32 bits? Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux