Ubuntu

Ethernet connectivity lost on W2000 running under VirtualBox 4 on Ubuntu 10.10

Asked by Maarten Jacobs on 2011-02-12

Wondering if anybody else has found the same issue. I've been running Virtualbox on Ubuntu 10.10, with W2k as the Guest OS. Everything generally seems fine - bar the fact that at what seem to be random intervals my W2k OS stops communicating with the network.

While this could be an issue with my W2k installation, this installation is in fact a copy of the installation I had natively running before without this issue.

I therefore believe there might be some disconnect between my W2k and the Virtualbox Ethernet Card driver - but I've not idea where to even start to try and debug this. Current work-around is to restart the guest OS (not much of a WAR if you ask me :))

Anybody who has a similar issue, or some suggestions on how to figure out why this is happening?

Thanks,

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Last query:
2011-02-20
Last reply:
2011-03-08

Where does war come into it?

Do you check in the event manager when the connection drops?

Are there any bugs with Win2000 guest OSes?

Maarten Jacobs (maarten256) said : #2

Sorry - WAR = Work Around.

Didn't find any bugs that seemed to be related to what I'm seeing - hence I decide to pose the question.

thanks for the suggestion on Event Viewer; guess I should've thought about that myself :$. When the problem re-occurs I'll trawl through that to see if there's anything salient to the issue reported there.

Maarten Jacobs (maarten256) said : #3

Alright, couple days later... Been busy so haven't had a chance to look at this again in detail...

I got as far as figuring out that the DHCP service on windows seems to fail to renew IP address when the lease expires. The following error is logged:

Event Type: Warning
Event Source: Dhcp
Event Category: None
Event ID: 1003
Date: 2/17/2011
Time: 22:31:37
User: N/A
Computer: VM-SNELLEBAK
Description:
Your computer was not able to renew its address from the network (from the DHCP Server) for the Network Card with network address 0800271E9F04. The following error occured:
An operation was attempted on something that is not a socket. . Your computer will continue to try and obtain an address on its own from the network address (DHCP) server.
Data:
0000: 36 27 00 00 6'..

Any ideas, anybody?

Try setting the interface as bridged, the system will appear as a system on your LAN and will appear in your routers DHCP client table. It will also be accessible by other system's on your LAN.

Have you posted on the virtualbox forum too, it is more specific to your issue??

Maarten Jacobs (maarten256) said : #5

It's already set to bridged (so I can get to my printer more easily from the W2K guest host). I'll have a look at the virtual Box forum; I was also thinking to try and change the Ethernet Adapter driver - if I remember correctly the Virtual Box extensions come with a couple different ones.

Can you print to the shared printer ok?

Maarten Jacobs (maarten256) said : #7

As long as I have my Ethernet Connection - yes, printing is not an issue. Similarly, I can get to shared drives on my Virtual Machine from other machines on the network.

FYI - I've just installed the new 4.0.4 release of Virtual box and updated my guest additions.

Maarten Jacobs (maarten256) said : #8

Lots of digging later I've found a bug report on VirtualBox that seems to be akin to the problem I've got:

http://www.virtualbox.org/ticket/6563

Although this bug does not seem to have had any new information recently... I've added some data to that bug to see what happens.

Maarten Jacobs (maarten256) said : #9

Here's a short transcript of the latest sequence of events... Not sure if any of this helps but I'll keep plugging away at it.

2/18/11 14:17 Start - IP address assigned; lease through 2/19/11 14:17
2/19/11 02:17 DHCP Request/Reply; lease renewed through 2/20/11 02:17

02:17:59.830960 IP (tos 0x0, ttl 64, id 24785, offset 0, flags [none], proto UDP (17), length 335)
    vm-snellebak.home.bootpc > Wireless_Broadband_Router.home.bootps: BOOTP/DHCP, Request from 08:00:27:1e:9f:04 (oui Unknown), length 307, xid 0x937a7f9a, Flags [none]
02:18:00.642089 IP (tos 0x10, ttl 16, id 0, offset 0, flags [none], proto UDP (17), length 328)
    Wireless_Broadband_Router.home.bootps > vm-snellebak.home.bootpc: BOOTP/DHCP, Reply, length 300, xid 0x937a7f9a, Flags [none]

2/19/11 14:17 DHCP Request/Reply:

14:19:43.983745 IP (tos 0x0, ttl 64, id 26900, offset 0, flags [none], proto UDP (17), length 335)
    vm-snellebak.home.bootpc > Wireless_Broadband_Router.home.bootps: BOOTP/DHCP, Request from 08:00:27:1e:9f:04 (oui Unknown), length 307, xid 0x14dace07, Flags [none]
14:19:45.042701 IP (tos 0x10, ttl 16, id 0, offset 0, flags [none], proto UDP (17), length 328)
    Wireless_Broadband_Router.home.bootps > vm-snellebak.home.bootpc: BOOTP/DHCP, Reply, length 300, xid 0x14dace07, Flags [none]

--> Connectivity Lost; "ipconfig /all" does not report anything. Windows "frozen" - appears a process is using 100% CPU but cannot determine which as Taskmanager cannot be run. ARP packets continue to be exchanged between router and Windows.

System Log documents error when starting ipconfig:

Event Type: Information
Event Source: Application Popup
Event Category: None
Event ID: 26
Date: 2/19/2011
Time: 18:15:20
User: N/A
Computer: VM-SNELLEBAK
Description:
Application popup: ipconfig.exe - Application Error : The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.

--> I have not yet been able to determine conclusively what this error means - it sounds like it is related to a missing file and/or dependency but given the scenario I'm not sure if that makes sense. I do wonder if it is related to the same problem as reported by the dhcp client (see below).

System Log documents repeated errors from dhcp service on Windows, starting at 02:20 on 2/20/11:

Event Type: Warning
Event Source: Dhcp
Event Category: None
Event ID: 1003
Date: 2/20/2011
Time: 02:20:45
User: N/A
Computer: VM-SNELLEBAK
Description:
Your computer was not able to renew its address from the network (from the DHCP Server) for the Network Card with network address 0800271E9F04. The following error occured:
An operation was attempted on something that is not a socket. . Your computer will continue to try and obtain an address on its own from the network address (DHCP) server.
Data:
0000: 36 27 00 00 6'..

Maarten Jacobs (maarten256) said : #10

Here's a short transcript of the latest sequence of events... Not sure if any of this helps but I'll keep plugging away at it.

2/18/11 14:17 Start - IP address assigned; lease through 2/19/11 14:17
2/19/11 02:17 DHCP Request/Reply; lease renewed through 2/20/11 02:17

02:17:59.830960 IP (tos 0x0, ttl 64, id 24785, offset 0, flags [none], proto UDP (17), length 335)
    vm-snellebak.home.bootpc > Wireless_Broadband_Router.home.bootps: BOOTP/DHCP, Request from 08:00:27:1e:9f:04 (oui Unknown), length 307, xid 0x937a7f9a, Flags [none]
02:18:00.642089 IP (tos 0x10, ttl 16, id 0, offset 0, flags [none], proto UDP (17), length 328)
    Wireless_Broadband_Router.home.bootps > vm-snellebak.home.bootpc: BOOTP/DHCP, Reply, length 300, xid 0x937a7f9a, Flags [none]

2/19/11 14:17 DHCP Request/Reply:

14:19:43.983745 IP (tos 0x0, ttl 64, id 26900, offset 0, flags [none], proto UDP (17), length 335)
    vm-snellebak.home.bootpc > Wireless_Broadband_Router.home.bootps: BOOTP/DHCP, Request from 08:00:27:1e:9f:04 (oui Unknown), length 307, xid 0x14dace07, Flags [none]
14:19:45.042701 IP (tos 0x10, ttl 16, id 0, offset 0, flags [none], proto UDP (17), length 328)
    Wireless_Broadband_Router.home.bootps > vm-snellebak.home.bootpc: BOOTP/DHCP, Reply, length 300, xid 0x14dace07, Flags [none]

--> Connectivity Lost; "ipconfig /all" does not report anything. Windows "frozen" - appears a process is using 100% CPU but cannot determine which as Taskmanager cannot be run. ARP packets continue to be exchanged between router and Windows.

System Log documents error when starting ipconfig:

Event Type: Information
Event Source: Application Popup
Event Category: None
Event ID: 26
Date: 2/19/2011
Time: 18:15:20
User: N/A
Computer: VM-SNELLEBAK
Description:
Application popup: ipconfig.exe - Application Error : The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.

--> I have not yet been able to determine conclusively what this error means - it sounds like it is related to a missing file and/or dependency but given the scenario I'm not sure if that makes sense. I do wonder if it is related to the same problem as reported by the dhcp client (see below).

System Log documents repeated errors from dhcp service on Windows, starting at 02:20 on 2/20/11:

Event Type: Warning
Event Source: Dhcp
Event Category: None
Event ID: 1003
Date: 2/20/2011
Time: 02:20:45
User: N/A
Computer: VM-SNELLEBAK
Description:
Your computer was not able to renew its address from the network (from the DHCP Server) for the Network Card with network address 0800271E9F04. The following error occured:
An operation was attempted on something that is not a socket. . Your computer will continue to try and obtain an address on its own from the network address (DHCP) server.
Data:
0000: 36 27 00 00 6'..

Launchpad Janitor (janitor) said : #11

This question was expired because it remained in the 'Open' state without activity for the last 15 days.