From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MBaq7-0000pY-Nu for qemu-devel@nongnu.org; Tue, 02 Jun 2009 16:44:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MBaq1-0000it-V6 for qemu-devel@nongnu.org; Tue, 02 Jun 2009 16:44:06 -0400 Received: from [199.232.76.173] (port=43276 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBaq1-0000ib-Q8 for qemu-devel@nongnu.org; Tue, 02 Jun 2009 16:44:01 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:33791) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MBaq0-00017P-SR for qemu-devel@nongnu.org; Tue, 02 Jun 2009 16:44:01 -0400 Message-ID: <4A258F0C.9030705@web.de> Date: Tue, 02 Jun 2009 22:43:56 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <20090602175833.GA26882@amd.home.annexia.org> <4A257890.3000706@redhat.com> In-Reply-To: <4A257890.3000706@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8DE284FA9A6D91310335C1BA" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: i586 TCG: boot hangs intermittently on cryptomgr_test at doublefault_fn List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: "Richard W.M. Jones" , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8DE284FA9A6D91310335C1BA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Avi Kivity wrote: > Richard W.M. Jones wrote: >> I have this bug[1] apparently in qemu which I'm trying to track down: >> >> ----------------------------------------------------------------------= >> apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac) >> apm: overridden by ACPI. >> audit: initializing netlink socket (disabled) >> type=3D2000 audit(1243614582.002:1): initialized >> HugeTLB registered 4 MB page size, pre-allocated 0 pages >> VFS: Disk quotas dquot_6.5.2 >> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) >> msgmni has been set to 680 >> BUG: unable to handle kernel NULL pointer dereference at 00000014 >> IP: [] doublefault_fn+0xd/0x108 >> *pde =3D 00000000 Oops: 0000 [#1] SMP last sysfs file: Modules linked = in: >> >> Pid: 26, comm: cryptomgr_test Not tainted >> (2.6.30-0.91.rc7.git1.fc12.i586 #1) EIP: 0060:[] EFLAGS: >> f8d8409e CPU: 0 >> EIP is at doublefault_fn+0xd/0x108 >> EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000 >> ESI: 00000000 EDI: 00000000 EBP: c0be1e2c ESP: c0be1e18 >> DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 >> Process cryptomgr_test (pid: 26, ti=3Dc0be0000 task=3Dd5418000 >> task.ti=3Dd5b88000) >> Stack: >> 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000= 00 >> 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000= 00 >> 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000= 00 >> Call Trace: >> Code: c2 eb 00 ba b8 dd 41 c0 ff e2 8d 15 e4 61 99 c0 8b 0a 51 8d 15 >> e0 61 99 >> c0 8b 0a 51 c3 90 55 89 e5 56 53 83 ec 0c 0f 1f 44 00 00 <65> a1 14 00= >> 00 00 89 >> 45 f4 31 c0 8d 45 ee 66 c7 45 ee 00 00 c7 EIP: [] >> doublefault_fn+0xd/0x108 SS:ESP 0068:c0be1e18 >> CR2: 0000000000000014 >> ---[ end trace 6d450e935ee1897c ]--- >> cryptomgr_test used greatest stack depth: 7348 bytes left >> ----------------------------------------------------------------------= >> >> It seems to be: i386 architecture only, software emulation, and >> intermittent, quite hard to reproduce reliably. >> >> So my questions are: Has anyone seen anything like this before? >> Is there anything I can set or enable to track down which instructions= >> are failing? >> =20 >=20 > The faulting instruction accesses gs:0x14. Can you expand the register= > printout code to include the full information for the segment cache > (base, limit, type, etc.)? >=20 "qemu -d int ..." can be helpful here, specifically to collect the cpu state on exceptions. Jan --------------enig8DE284FA9A6D91310335C1BA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkoljwwACgkQniDOoMHTA+kBPwCfVhcIVft4Li8+mC8phLBJVYG0 7mEAnj9KsgJzZbmFdvnwpj83UnL83Z85 =kyRn -----END PGP SIGNATURE----- --------------enig8DE284FA9A6D91310335C1BA--