Zachary Amsden
2007-Apr-18 13:02 UTC
lhype on 2.6.20-rc2: Guest didn't handle trap 6 at c071b594 (cr2=00000000, err=0)
bert hubert wrote:> Hi everybody, > > Attracted by the puppies, I'm trying to run lhype. The patch applies cleanly > 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=192.168.19.1 --block=linux.img root=/dev/lhba > lhype_add: Failed to get DMA buffer from 0xb7fff008: No such file or directory > 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=00000000,err=0) > 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), statically 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
bert hubert
2007-Apr-18 13:02 UTC
lhype on 2.6.20-rc2: Guest didn't handle trap 6 at c071b594 (cr2=00000000, err=0)
Hi everybody, Attracted by the puppies, I'm trying to run lhype. The patch applies cleanly 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=192.168.19.1 --block=linux.img root=/dev/lhba lhype_add: Failed to get DMA buffer from 0xb7fff008: No such file or directory 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=00000000,err=0) 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), statically linked, not stripped Any clues? I think I've followed lhype.txt to the letter. Thanks! -- http://www.PowerDNS.com Open source, database driven DNS Software http://netherlabs.nl Open and Closed source services
Rusty Russell
2007-Apr-18 13:02 UTC
lhype on 2.6.20-rc2: Guest didn't handle trap 6 at c071b594 (cr2=00000000,err=0)
On Wed, 2006-12-27 at 14:25 +0100, bert hubert wrote:> Hi everybody, > > Attracted by the puppies, I'm trying to run lhype. The patch applies cleanly > 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=192.168.19.1 --block=linux.img root=/dev/lhba > lhype_add: Failed to get DMA buffer from 0xb7fff008: No such file or directory > 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=00000000,err=0) > Guest 0 dead drivers/lhype/init.c:424Hi Bert! Ah, this is your clue, here: looks like the kernel ran BUG() or otherwise failed at address 0xc071b594... can you send your .config and I can see if I can reproduce? Your System.map should indicate what's at that address, to... I should really try to read out the BUG info in this case; I'll patch something up today (I'm chasing James Morris' initrd bug at the moment). Thanks! Rusty.
Reasonably Related Threads
- lhype on 2.6.20-rc2: Guest didn't handle trap 6 at c071b594 (cr2=00000000, err=0)
- lhype booting debootstrapped debian image over nfsroot, partial success
- lhype booting debootstrapped debian image over nfsroot, partial success
- lhype guest oops
- lhype guest oops