Skip to contentSkip to conversation

kvm_run: Invalid argument

DISCUSSION Ben Collins 2 participants 3 messages Jan 12, 2007 1 message not in the archive KVM

lore
Share & tools
lore
#0 lore raw

Trying to test out kvm for Ubuntu, and am running into problems. I've used kvm-11 and 2.6.20-git plus the 5 patches sent to lkml today. Result is the same:

# kvm -hda vdisk.img -cdrom Edgy-i386-Desktop.iso -boot d -m 384
kvm_run: Invalid argument

Dmesg only shows:

[ 3440.904376] kvm: msrs: 2

Any ideas, what to try? I'm using qemu 0.8.2.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#1 lore raw
Quoted 7 lines · Ben Collins

Trying to test out kvm for Ubuntu, and am running into problems. I've used kvm-11 and 2.6.20-git plus the 5 patches sent to lkml today. Result is the same:

# kvm -hda vdisk.img -cdrom Edgy-i386-Desktop.iso -boot d -m 384
kvm_run: Invalid argument
Quoted 8 lines

Dmesg only shows:

[ 3440.904376] kvm: msrs: 2

Any ideas, what to try? I'm using qemu 0.8.2.

Are you using 32-bit userspace on a 64-bit kernel? Perhaps we broke it on the last API change.

Otherwise, an strace would be nice.

Signature · 8 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

A message that is not in the archive (sent off-list or not yet received): 45A73A93.3030509-atKUWr5tajBWk0Htik3J/[email protected]

#3 lore raw
Quoted 13 lines · Avi Kivity
Quoted 12 lines · Ben Collins

Trying to test out kvm for Ubuntu, and am running into problems. I've used kvm-11 and 2.6.20-git plus the 5 patches sent to lkml today. Result is the same:

# kvm -hda vdisk.img -cdrom Edgy-i386-Desktop.iso -boot d -m 384
kvm_run: Invalid argument

Dmesg only shows:

[ 3440.904376] kvm: msrs: 2
Quoted 8 lines
Quoted 3 lines

Any ideas, what to try? I'm using qemu 0.8.2.

Are you using 32-bit userspace on a 64-bit kernel? Perhaps we broke it on the last API change.

Otherwise, an strace would be nice.

A combination of problems caused it. For one, conflicting userspace and kernel modules. Second, livecd boot (with bootsplash).

Using another CD, things work fine. Are there any plans to emulate the real mode stuff? Any work started on it yet?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV