From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zachary Amsden Subject: Re: lhype on 2.6.20-rc2: Guest didn't handle trap 6 at c071b594 (cr2=00000000, err=0) Date: Wed, 27 Dec 2006 16:43:55 -0800 Message-ID: <4593134B.6030104@vmware.com> References: <20061227132520.GA32685@outpost.ds9a.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20061227132520.GA32685@outpost.ds9a.nl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.osdl.org Errors-To: virtualization-bounces@lists.osdl.org To: bert hubert Cc: virtualization@lists.osdl.org List-Id: virtualization@lists.linuxfoundation.org bert hubert wrote: > Hi everybody, > > Attracted by the puppies, I'm trying to run lhype. The patch applies clea= nly > to 2.6.20-rc2, my .config is in accord with lhype.txt, but when I try to > launch an instance, I get this: > > $ sudo drivers/lhype/lhype_add 64m 0 vmlinux --tunnet=3D192.168.19.1 --bl= ock=3Dlinux.img root=3D/dev/lhba > lhype_add: Failed to get DMA buffer from 0xb7fff008: No such file or dire= ctory > lhype_add: network: no dma buffer!: No such file or directory > lhype_add: Running guest failed: No such file or directory > > When I subsequently retry, I get the same, but third and following tries > only give: > > lhype_add: Running guest failed: No such file or directory > > $ dmesg | tail > lhype: mapped hypervisor at ffc00000 > (...) > Guest didn't handle trap 6 at c071b594 (cr2=3D00000000,err=3D0) > Guest 0 dead drivers/lhype/init.c:424 > > $ file linux.img > linux.img: x86 boot sector, LInux i386 boot LOader > > $ file vmlinux > vmlinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), static= ally linked, not stripped > > Any clues? I think I've followed lhype.txt to the letter. > = Well, I'm not an lhype expert, but the messages indicate a #UD, likely a = BUG_ON assertion firing somewhere. I'd try tracking down what function = was at c071b594 in your kernel and look for assertions there and also at = drivers/lhype/init.c to see what might have gone wrong. Zach