Skip to contentSkip to conversation

system_powerdown and OpenBSD 4.8

DISCUSSION Daniel Bareiro 3 participants 5 messages Dec 18, 2010 – Dec 19, 2010 KVM

lore
Share & tools
lore
#0 lore raw

Hi all!

Does system_powedown work with OpenBSD 4.8? When I run this command from Qemu Monitor, the VM freezes using both bsd and bsd.mp stock kernel.

Thanks in advance for your replies.

Regards,
Daniel

Signature · 2 lines
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
#1 lore raw
Quoted 3 lines · Daniel Bareiro

Does system_powedown work with OpenBSD 4.8? When I run this command from Qemu Monitor, the VM freezes using both bsd and bsd.mp stock kernel.

I forgot to mention that the VMHost is Debian GNU/Linux Lenny with Linux 2.6.34.5 manually compiled with the kernel.org source code and qemu-kvm 0.12.4 from Backports repositories.

Regards,
Daniel

Signature · 2 lines
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
#2 lore raw
Quoted 10 lines · Daniel Bareiro
Quoted 3 lines · Daniel Bareiro

Does system_powedown work with OpenBSD 4.8? When I run this command from Qemu Monitor, the VM freezes using both bsd and bsd.mp stock kernel.

I forgot to mention that the VMHost is Debian GNU/Linux Lenny with Linux 2.6.34.5 manually compiled with the kernel.org source code and qemu-kvm 0.12.4 from Backports repositories.

Fwiw, that version of qemu-kvm does not have a fix for system_powerdown, this one:

http://git.debian.org/?p=collab-maint/qemu-kvm.git;a=commitdiff;h=e05434807329e1ee0c03090e61f37bce8f2f74c0;hp=2c9b9525f8d0eff259117ca033b7522118877eaf

which went into one of the latest squeeze qemu-kvm releases, and which is also available on bpo.

/mjt

#3 lore raw

Hi, Michael.

Quoted 8 lines · Michael Tokarev
Quoted 7 lines
Quoted 3 lines

Does system_powedown work with OpenBSD 4.8? When I run this command from Qemu Monitor, the VM freezes using both bsd and bsd.mp stock kernel.

I forgot to mention that the VMHost is Debian GNU/Linux Lenny with Linux 2.6.34.5 manually compiled with the kernel.org source code and qemu-kvm 0.12.4 from Backports repositories.

Quoted 7 lines

Fwiw, that version of qemu-kvm does not have a fix for system_powerdown, this one:

http://git.debian.org/?p=collab-maint/qemu-kvm.git;a=commitdiff;h=e05434807329e1ee0c03090e61f37bce8f2f74c0;hp=2c9b9525f8d0eff259117ca033b7522118877eaf

which went into one of the latest squeeze qemu-kvm releases, and which is also available on bpo.

I just upgraded to 0.12.5 qemu-kvm from Backports repositories. I turn off the virtual machine, then I boot it and I tried again with system_powerdown from Qemu Monitor, but I get the same result: the VM freezes when running the command.

As I was reading in the comments of the patch, it was due to problems with system_powerdown with FreeBSD.

Maybe OpenBSD behaves differently. Is there some debug command that I can use to provide more data?

Thanks for your reply.

Regards,
Daniel

Signature · 2 lines
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
#4 lore raw
Quoted 13 lines · Daniel Bareiro
Quoted 7 lines

Fwiw, that version of qemu-kvm does not have a fix for system_powerdown, this one:

http://git.debian.org/?p=collab-maint/qemu-kvm.git;a=commitdiff;h=e05434807329e1ee0c03090e61f37bce8f2f74c0;hp=2c9b9525f8d0eff259117ca033b7522118877eaf

which went into one of the latest squeeze qemu-kvm releases, and which is also available on bpo.

I just upgraded to 0.12.5 qemu-kvm from Backports repositories. I turn off the virtual machine, then I boot it and I tried again with system_powerdown from Qemu Monitor, but I get the same result: the VM freezes when running the command.

Quoted 7 lines

As I was reading in the comments of the patch, it was due to problems with system_powerdown with FreeBSD.

Maybe OpenBSD behaves differently. Is there some debug command that I can use to provide more data?

Yes, as far as I remember OpenBSD completely freaks out when it gets SCI interrupt. I was not able to find out why. Does it work on physical HW?

--
Gleb.