NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/48105: panic at shutdown from NULL pointer dereference caused by virtio_detach()
The following reply was made to PR kern/48105; it has been noted by GNATS.
From: Richard Hansen <rhansen%bbn.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/48105: panic at shutdown from NULL pointer dereference caused
by virtio_detach()
Date: Wed, 07 Aug 2013 14:02:32 -0400
On 2013-08-07 08:25, Izumi Tsutsui wrote:
> Probably already fixed in 6.1 and 6.0.2?
Sadly, no. I just tried 6.1 and the problem still exists.
The instructions above for reproducing the problem are incorrect. Here
are the correct instructions:
1. On an amd64 Ubuntu 13.04 host system, install the following
packages (and their dependencies):
* libvirt-bin
* ubuntu-virt
* python-spice-client-gtk
2. Set up libvirt (see
<https://help.ubuntu.com/community/KVM/Installation>)
3. Using virt-manager, create a new i386 guest machine. Select the
defaults everywhere except on the last page of the wizard:
a. expand Advanced options
b. change Architecture from x86_64 to i686
4. Install i386 NetBSD 6.1 on the guest
5. Shut down the guest
6. Using virt-manager, modify the VM settings to add a "Controller
Virtio Serial" PCI device. You can't manually add that device via
the 'Add Hardware' button for some reason, so you have to follow
these steps:
a. select 'Display VNC'
b. change Type from VNC to Spice
c. click Apply
d. when it asks "You are switching graphics type to spice, would
you like to add Spice agent channels?" click Yes
e. change Type back to VNC
f. click Apply
g. when it says "You are switching graphics type to vnc, would
you like to remove Spice agent channels?" click Yes
7. Boot the guest VM
8. As root, run 'shutdown -p now'
9. Watch it panic and reboot rather than power off
To confirm that the problem goes away when the 0x10031af4 PCI
device is removed from the guest VM:
1. Using virt-manager, edit the guest VM settings
2. Select 'Controller Virtio Serial'
3. Click Remove. When it asks for confirmation hit Yes.
4. Boot the VM
5. As root, run 'shutdown -p now'
6. The VM will power off as expected
-Richard
Home |
Main Index |
Thread Index |
Old Index