VirtualBox

Opened 12 years ago

Closed 8 years ago

#10614 closed defect (obsolete)

Guest Win2003 hang after active network card.

Reported by: sazhufa Owned by:
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 (3)

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

Download all attachments as: .zip

Change History (18)

comment:1 by vasily Levchenko, 12 years ago

Could you please attach the log file?

by sazhufa, 12 years ago

Attachment: VBox.log added

by sazhufa, 12 years ago

Attachment: phpvirtualbox.JPG added

phpvirtualbox console preview

comment:2 by sazhufa, 12 years ago

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 by vasily Levchenko, 12 years ago

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?

in reply to:  3 ; comment:4 by sazhufa, 12 years ago

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....

in reply to:  4 ; comment:5 by vasily Levchenko, 12 years ago

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?

Last edited 12 years ago by vasily Levchenko (previous) (diff)

in reply to:  5 comment:6 by sazhufa, 12 years ago

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 by Aleksey Ilyushin, 12 years ago

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.

in reply to:  7 comment:8 by sazhufa, 12 years ago

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...

by sazhufa, 12 years ago

Attachment: file1.pcap added

comment:9 by sazhufa, 12 years ago

email post failed...

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

comment:10 by Aleksey Ilyushin, 12 years ago

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?

in reply to:  10 comment:11 by sazhufa, 12 years ago

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 by Aleksey Ilyushin, 12 years ago

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?

in reply to:  12 comment:13 by sazhufa, 12 years ago

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 12 years ago by sazhufa (previous) (diff)

comment:14 by sazhufa, 12 years ago

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.

comment:15 by Frank Mehnert, 8 years ago

Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use