VirtualBox

Opened 12 years ago

Closed 10 years ago

#10624 closed defect (fixed)

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

Reported by: macachuto Owned by:
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 (15)

comment:1 by Frank Mehnert, 12 years ago

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

comment:2 by macachuto, 12 years ago

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

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

comment:4 by Aleksey Ilyushin, 12 years ago

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

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

comment:6 by wkr, 12 years ago

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 by VirtualBox User, 12 years ago

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 by VirtualBox User, 12 years ago

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

comment:9 by Aleksey Ilyushin, 12 years ago

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

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 by Frank Mehnert, 12 years ago

Resolution: fixed
Status: newclosed

Fix in VBox 4.1.18.

comment:12 by szx, 10 years ago

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 by z0rn, 10 years ago

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.

in reply to:  12 comment:14 by sergeytsivin, 10 years ago

Resolution: fixed
Status: closedreopened

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 by Frank Mehnert, 10 years ago

Resolution: fixed
Status: reopenedclosed

This is handled in ticket #12264.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use