VirtualBox

Ticket #10614 (new defect)

Opened 23 months ago

Last modified 19 months ago

Guest Win2003 hang after active network card.

Reported by: sazhufa Owned by:
Priority: major Component: virtual disk
Version: VirtualBox 4.1.14 Keywords:
Cc: Guest type: other
Host type: other

Description

Hardware: AMD Phenom(tm) II X6 1055T Processor (AMD-V) Host OS: ScientificLinux 6.2 (2.6.32-220.13.1.el6.x86_64) VirtualBox: 4.1.14 with extpack Guest OS: Windows Server 2003 SP2 SATA-0: 30G vmdk(raw disk using LVM) NIC: (virtio or Intel-MT)

Action:

  1. install Win2003 (vmdk connect as IDE-disk, empty SATA controller)
  2. install vbox-addon, reboot
  3. install kvm-virtio(if pv-nic)
  4. install intel-sata driver (iata_cd.exe), poweroff
  5. vmdk reconnect as SATA-disk (turn off Host I/O cache)
  6. poweron
  7. disable "local network connection"
  8. enable "local network connection", then system hang...

Change NIC type to Intel-Server MT, system hang also...

Attachments

VBox.log Download (81.9 KB) - added by sazhufa 23 months ago.
phpvirtualbox.JPG Download (7.2 KB) - added by sazhufa 23 months ago.
phpvirtualbox console preview
file1.pcap Download (2.0 KB) - added by sazhufa 23 months ago.

Change History

comment:1 Changed 23 months ago by Hachiman

Could you please attach the log file?

Changed 23 months ago by sazhufa

Changed 23 months ago by sazhufa

phpvirtualbox console preview

comment:2 Changed 23 months ago by sazhufa

00:01:05.389 NAT: DHCP offered IP address 10.0.2.15

00:01:05.398 NAT: DHCP offered IP address 10.0.2.15

when active the nic, the two lines added in log, then system hang(rdesktop freeze)

comment:3 follow-up: ↓ 4 Changed 23 months ago by Hachiman

To minimize the by removing variables could you repeat the same test in local environment, without RDP? does it depend which network attachment is used NAT or bridged?

comment:4 in reply to: ↑ 3 ; follow-up: ↓ 5 Changed 23 months ago by sazhufa

Replying to Hachiman:

To minimize the by removing variables could you repeat the same test in local environment, without RDP? does it depend which network attachment is used NAT or bridged?

NAT or Bridged is same.

repeat the same test more than three times.

without RDP could not reActive the NIC, so....

comment:5 in reply to: ↑ 4 ; follow-up: ↓ 6 Changed 23 months ago by Hachiman

Replying to sazhufa:

without RDP could not reActive the NIC, so....

I thought you've meant

# VBoxManage modifyvm vm --cableconnected1 off
# VBoxManage modifyvm vm --cableconnected1 off

under

disable "local network connection"
enable "local network connection"

but looks like you've meaning enabling/disabling interface on the guest, right?

Version 0, edited 23 months ago by Hachiman (next)

comment:6 in reply to: ↑ 5 Changed 23 months ago by sazhufa

Replying to Hachiman:

Replying to sazhufa:

without RDP could not reActive the NIC, so....

I thought you've meant

# VBoxManage modifyvm vm --cableconnected1 off
# VBoxManage modifyvm vm --cableconnected1 oт

under

disable "local network connection"
enable "local network connection"

but looks like you've meaning enabling/disabling interface on the guest, right?

yes

my meaning is disabling/enabling the network interface on windows.

is not push/pop the wired connection for the machine.

comment:7 follow-up: ↓ 8 Changed 23 months ago by aleksey

Can you try to save the state of VM after rdesktop got frozen? You can do it with VBoxManage controlvm <vm> savestate. Then try to start VM again and it will restore the state. Reconnect with rdesktop and check if VM is still frozen. It would be great if you could provide the packet capture file that was produced when restoring the state. Consult here on how to enable the internal packet capture https://www.virtualbox.org/wiki/Network_tips. You can mail the file directly to aleksey dot ilyushin at oracle dot com. If you use NAT attachment the capture file won't contain any packets from your LAN, only ones that go between the guest and NAT.

comment:8 in reply to: ↑ 7 Changed 23 months ago by sazhufa

Replying to aleksey:

Can you try to save the state of VM after rdesktop got frozen? You can do it with VBoxManage controlvm <vm> savestate. Then try to start VM again and it will restore the state. Reconnect with rdesktop and check if VM is still frozen. It would be great if you could provide the packet capture file that was produced when restoring the state. Consult here on how to enable the internal packet capture https://www.virtualbox.org/wiki/Network_tips. You can mail the file directly to aleksey dot ilyushin at oracle dot com. If you use NAT attachment the capture file won't contain any packets from your LAN, only ones that go between the guest and NAT.

after VM savestate then resume, rdesktop could connect the console, but still frozen.

the email was sent...

Changed 23 months ago by sazhufa

comment:9 Changed 23 months ago by sazhufa

email post failed...

The Reasons For Bounce: connect to rcsinet11.oracle.com[148.87.113.123]: Connection refused

comment:10 follow-up: ↓ 11 Changed 23 months ago by aleksey

Thanks for the capture file! The guest appears to obtain an IP address from DHCP server properly, so the network adapter in VM works fine. Moreover VM process is executing as well. Can you move the mouse around the screen in the guest or is it completely unresponsive? And if you don't disable/enable "local network connection" everything works fine for a considerable amount of time? I assume that this file1.pcap was created during the last run when VM was restoring the state, right? Not before when it was saving the state?

comment:11 in reply to: ↑ 10 Changed 23 months ago by sazhufa

Replying to aleksey:

Thanks for the capture file! The guest appears to obtain an IP address from DHCP server properly, so the network adapter in VM works fine. Moreover VM process is executing as well. Can you move the mouse around the screen in the guest or is it completely unresponsive? And if you don't disable/enable "local network connection" everything works fine for a considerable amount of time? I assume that this file1.pcap was created during the last run when VM was restoring the state, right? Not before when it was saving the state?

If use IDE disk, there are no problam for this case.

If don't disable/enable NIC, all work fine.

It is completely unresponsive (I am using Win2003 Simp-Chinese). I try to install an english edition, the desktop prompt that "Can not save data to disk" after the same operation(this case mouse can around the screen)

File1.pcap is create from VM poweroff -> savestat -> resume, because VM in savestat can not modify it.

comment:12 follow-up: ↓ 13 Changed 23 months ago by aleksey

That is important to have in the capture file only the packets that are being sent or received after the state was restored. How do you restore the state exactly? You "run" VM from VirtualBox GUI or start VM from the command line with -startvm option?

comment:13 in reply to: ↑ 12 Changed 23 months ago by sazhufa

Replying to aleksey:

That is important to have in the capture file only the packets that are being sent or received after the state was restored. How do you restore the state exactly? You "run" VM from VirtualBox GUI or start VM from the command line with -startvm option?

I just do a test for this case on an other phy-machine, VBox 4.1.16 with extpack running in Fedora16(Desktop is LXDE, newest kernel), using VDI disk(dyn-Size) connected as SATA-disk, when disabled/enabled "local network connection" in the guestOS(WINXPSP3) the screen frozen.

so, there are two method to test this case:

First: VBox-4.1.16 in SL6, phpVirtualBox control the VM(VBoxHeadless --startvm).

Second: VBox-4.1.16 in F16, VirtualBox GUI control the VM.

They got the same problam: when disabled/enabled "local network connection" in the guestOS(WIN2003 or WINXP), the screen frozen when using SATA-disk.

I am too busy to do more test, or reponse in time, sorry.....

Last edited 23 months ago by sazhufa (previous) (diff)

comment:14 Changed 19 months ago by sazhufa

This problam is still in VirtualBox 4.2.0

host: Intel I7-2670QM, 16G, ubuntu 12.04 x86_64

guest: Windows 2003 x86, virtio-net(RedHat virtIO driver), SATA VDisk, install Guest-Addon

When DISABLE the nic in guest, just ENABLE it, then the guest system hang.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use