VirtualBox

Ticket #10624 (closed defect: fixed)

Opened 23 months ago

Last modified 5 months ago

kernel: unregister_netdevice: waiting for vboxnet1 ... => Fixed in SVN

Reported by: macachuto Owned by:
Priority: major Component: other
Version: VirtualBox 4.1.16 Keywords:
Cc: Guest type: other
Host type: other

Description

Story is here:  https://forums.virtualbox.org/viewtopic.php?f=7&t=49763&sid=d7faa7a4d50269fc72a18fbfda58a954

In short: When I shutdown system or execute: /etc/init.d/vboxdrv stop I got: kernel:[ 2157.199178] unregister_netdevice: waiting for vboxnet1 to become free. Usage count = -2

In dmesg also there is: dev_remove_pack: ffff8802100c10d8 not found.

Current vbox version: 4.1.16, but this problem started before. I thought it started when I updated kernel, because normally I do not update vbox often, but in bugzilla.redhat.com, where I opened bug about this problem, I got suggestion that this is problem with vbox, and I should write there.

So, please review my thread.

Change History

comment:1 Changed 23 months ago by frank

Which kernel did you use before? I'm not that certain that this is really a VirtualBox problem.

comment:2 Changed 23 months ago by macachuto

This is history of my kernel updates:

May 06 09:54:27 Installed: kernel-3.3.4-1.fc16.x86_64 May 19 00:08:04 Installed: kernel-3.3.5-2.fc16.x86_64 May 26 11:33:03 Installed: kernel-3.3.6-3.fc16.x86_64 May 28 21:51:22 Installed: kernel-3.3.7-1.fc16.x86_64

I really do not remember since when I start to have this issue, but I had this with kernel-3.3.6-3.fc16.x86_64 and kernel-3.3.7-1.fc16.x86_64.

So it may starts from 3.3.5-2.

This is my bug for Fedora:  https://bugzilla.redhat.com/show_bug.cgi?id=825518

comment:3 Changed 23 months ago by aleksey

  • Summary changed from kernel: unregister_netdevice: waiting for vboxnet1 ... to kernel: unregister_netdevice: waiting for vboxnet1 ... => Fixed in SVN

comment:4 Changed 23 months ago by aleksey

Starting with Linux kernel 3.2.18 notification handler gets called for all devices when this handler is being unregistered. This caused vboxnetflt to decrease twice the reference count of the device it was attached to.

comment:5 Changed 23 months ago by emisca

I have the same problem. I cannot shutdown cleanly my machine anymore.

my machine is fedora 16 x86_64, latest kernel 3.3.7-1.fc16.x86_64.

kernel:[31089.065000] unregister_netdevice: waiting for vboxnet0 to become free. Usage count = -1

please attach patch so we can patch the 4.1.16 version until the next version is released.

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

comment:6 Changed 23 months ago by wkr

Same problem in Ubuntu 12.04 with an upgrade to 3.2.0.25 Kernel version. Fixed with the use of previous kernel version.

comment:7 Changed 23 months ago by VirtualBox User

Ubuntu bug report:  https://bugs.launchpad.net/bugs/1009156

Bug seen in 3.2-25.40 (which is upstream 3.2.18 with some Ubuntu modifications)

NOT seen in 3.2-24.39 (which is upstream 3.2.16 with some Ubuntu modifications)

comment:8 Changed 23 months ago by VirtualBox User

Is r41548 the commit that fixed this in svn? The commit message for that commit says #6225, which appears unrealted.

comment:9 Changed 23 months ago by aleksey

Yes, you are correct. r41548 contains the fix. 6225 is an internal tracking number and has no relation to the public bug tracker indeed.

comment:10 Changed 22 months ago by Infra_HDC

Same problem, S/W Versions are:

  1. Package info is

dpkg -s virtualbox ... Version: 4.1.16-dfsg-1 ...

  1. Real Version is

VirtualBox 4.1.16_Debian r78094

  1. System is

# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux testing (wheezy) Release: testing Codename: wheezy

  1. Kernel is

# uname -a Linux xxxxxxx 3.2.0-2-amd64 #1 SMP Fri Jun 1 17:49:08 UTC 2012 x86_64 GNU/Linux

  1. After command

/etc/init.d/virtualbox stop and due to halt or reboot -- Error log is Message from syslogd@romand at Jun 20 10:31:51 ...

kernel:[140940.016074] unregister_netdevice: waiting for vboxnet0 to become free. Usage count = -1

Message from syslogd@romand at Jun 20 10:32:02 ...

kernel:[140950.256055] unregister_netdevice: waiting for vboxnet0 to become free. Usage count = -1

Message from syslogd@romand at Jun 20 10:32:12 ...

kernel:[140960.496039] unregister_netdevice: waiting for vboxnet0 to become free. Usage count = -1

Message from syslogd@romand at Jun 20 10:32:22 ...

kernel:[140970.736039] unregister_netdevice: waiting for vboxnet0 to become free. Usage count = -1

comment:11 Changed 22 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix in VBox 4.1.18.

comment:12 follow-up: ↓ 14 Changed 6 months ago by szx

I have a similar problem with VirtualBox 4.3 on Ubuntu 13.10 64-bit (Linux 3.11.0-13-generic). On every reboot I see this message:

unregister_netdevice: warting for vboxnet0 to become free. usage_count = 1

comment:13 Changed 6 months ago by z0rn

unregister_netdevice: warting for vboxnet0 to become free. usage_count = 1

Same problem here with Ubuntu 12.04 using kernel 3.11.6-031106-generic #201310181453 and VirtualBox 4.3.0.

comment:14 in reply to: ↑ 12 Changed 5 months ago by sergeytsivin

  • Status changed from closed to reopened
  • Resolution fixed deleted

Replying to szx:

I have a similar problem with VirtualBox 4.3 on Ubuntu 13.10 64-bit (Linux 3.11.0-13-generic). On every reboot I see this message:

unregister_netdevice: warting for vboxnet0 to become free. usage_count = 1

I also have exactly the same problem on Ubuntu 13.10 64-bit and latest VirtualBox. System configuration:

$ dpkg -l | grep virtualbox
ii  virtualbox-4.3                            4.3.2-90405~Ubuntu~raring               amd64        Oracle VM VirtualBox
$ uname -a
Linux stsivin-box 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 07:38:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

comment:15 Changed 5 months ago by frank

  • Status changed from reopened to closed
  • Resolution set to fixed

This is handled in ticket #12264.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use