task vminfo:xxxx blocked for more than 120 seconds.

Discussions about using Linux guests in VirtualBox.

task vminfo:xxxx blocked for more than 120 seconds.

Postby zebul6 » 27. Nov 2014, 16:27

hello,

I have installed Kali Linux 1.0.9 in a virtualbox VM inside an Ubuntu 14.10 host using virtualbox 4.3.18 from ubuntu repo.

I have an usb wifi key TL-WN722N that I have declared in a filter on the usb configuration to be able to use it inside the VM.
I was first using the virtualbox guest addition form kali repo but they were for 4.3.10 so I used the vbox guest addition from the cd/dvd now.

But I still have that problem that the network, say every one hour, hangs both for the virtual ethernet (bridged) and the usb wifi card.
When this happens, if I run ifconfig in a new terminal, it blocks and never output anything.

I have found out that it stops to hang if I unplug the usb key !
And later I found in /var/log/syslog the following error:
Code: Select all   Expand viewCollapse view
[ 8280.748310] INFO: task vminfo:2168 blocked for more than 120 seconds.
[ 8280.748321]       Tainted: G           O 3.14-kali1-amd64 #1
[ 8280.748325] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 8280.748331] vminfo          D ffff880069b74868     0  2168      1 0x00000000
[ 8280.748339]  ffff880069b74450 0000000000000086 0000000000000001 ffffffff81813480
[ 8280.748346]  0000000000014340 ffff88006a45ffd8 0000000000014340 ffff880069b74450
[ 8280.748352]  0000000000000000 ffffffff81888980 ffffffff81888984 ffff880069b74450
[ 8280.748359] Call Trace:
[ 8280.748375]  [<ffffffff814ec719>] ? schedule_preempt_disabled+0x9/0x10
[ 8280.748385]  [<ffffffff814ee252>] ? __mutex_lock_slowpath+0x142/0x1c0
[ 8280.748394]  [<ffffffff814ee2e6>] ? mutex_lock+0x16/0x25
[ 8280.748405]  [<ffffffff81412b4a>] ? dev_ioctl+0x33a/0x560
[ 8280.748417]  [<ffffffff8117e966>] ? kmem_cache_alloc+0x1a6/0x1c0
[ 8280.748428]  [<ffffffff813e3ac5>] ? sock_do_ioctl+0x55/0x60
[ 8280.748438]  [<ffffffff813e3d90>] ? sock_ioctl+0x70/0x2b0
[ 8280.748449]  [<ffffffff811985c6>] ? alloc_file+0x26/0xe0
[ 8280.748459]  [<ffffffff811a8b4e>] ? do_vfs_ioctl+0x7e/0x500
[ 8280.748469]  [<ffffffff813e4a3a>] ? sock_alloc_file+0x9a/0x130
[ 8280.748479]  [<ffffffff811b2d13>] ? __fd_install+0x23/0x60
[ 8280.748488]  [<ffffffff811a9069>] ? SyS_ioctl+0x99/0xb0
[ 8280.748499]  [<ffffffff813e6d1b>] ? SyS_socket+0x3b/0x70
[ 8280.748509]  [<ffffffff814f7879>] ? system_call_fastpath+0x16/0x1b


I have been told to use
Code: Select all   Expand viewCollapse view
vm.dirty_background_ratio = 5
vm.dirty_ratio = 10

but this is already the value I use (by default).

As this goes away as I unplug the usb key, I am thinking of a problem with virtualbox ??

Note: I have blacklisted the ath9k_htc module in the host so that it does not interfere with the guest using the usb key.
Note #2: I have installed the oracle extension to get usb pass-throguh; it is matching the versio of virtualbox
zebul6
 
Posts: 12
Joined: 2. Feb 2008, 19:37

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby socratis » 27. Nov 2014, 18:31

zebul6 wrote:using virtualbox 4.3.18 from ubuntu repo

You'll need to uninstall the distro-specific version and download and install the official version from https://www.virtualbox.org/wiki/Downloads. It's the only one "supported" in these forums. And you don't have to download the guest additions, they're included. You may mean the Extension Pack, which provides USB2 support and other goodies. You'll need to download the matching version from the link above as well.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 26934
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby zebul6 » 27. Nov 2014, 21:32

so i installed instead virtualbox from official oracle repo (no utopic package ???)

And I still see this same lock-up, but no call (stack) trace in the log when this happens. It stops too when I unplugged the usb key.
Except that I was still using the 4.3.18 vbox guest addtitions.
So i instlled the 4.3.20 and rebooted.

I wait and see.
zebul6
 
Posts: 12
Joined: 2. Feb 2008, 19:37

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby zebul6 » 28. Nov 2014, 13:58

I does continue to freeze but I don't see anymore the call (stack) trace in the log.

Also I was already using 2048M of RAM in the VM, so I doubt it was missing any RAM ?

I tried my favorite distribution, archlinux, in another VM in virtualbox, and it worked really well. no freeze
zebul6
 
Posts: 12
Joined: 2. Feb 2008, 19:37

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby socratis » 28. Nov 2014, 15:42

Please post 'Vbox.log' (after you've shutdown the guest VM) and '<YourVM>.vbox' as zipped attachments.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 26934
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby zebul6 » 28. Nov 2014, 20:26

what's new now is that the VM is crashing when I remove the usb wifi card after the network freezes.

Also I am wondering if the freeze is not related to the screensaver ??
Attachments
kali.zip
(20.13 KiB) Downloaded 31 times
zebul6
 
Posts: 12
Joined: 2. Feb 2008, 19:37

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby Perryg » 28. Nov 2014, 20:49

Code: Select all   Expand viewCollapse view
00:00:39.511816 OHCI: USB Resume
00:00:39.522309 EHCI: USB Suspended
00:00:39.550387 OHCI: USB Operational


There are multiple lines that show you are having issues with the USB and or device you have attached. Have you tried/used this device with previous versions of VirtualBox and was it successful?
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby zebul6 » 29. Nov 2014, 02:36

no it's the first time I am using it in virtualbox
zebul6
 
Posts: 12
Joined: 2. Feb 2008, 19:37

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby Perryg » 29. Nov 2014, 03:31

I would first try a simple test by using a USB memory stick and see if those line continue to repeat themselves in the log. Of course you would need to make sure that the USB wifi was not plugged in first. If the log still show this error I would try a previous version and matching extpack and see if it works without errors.
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby mpack » 29. Nov 2014, 13:07

I'm concerned that you're assigning both cores (of a dual core host) to the guest. That could well play havoc with scheduling of tasks.
mpack
Site Moderator
 
Posts: 29976
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby zebul6 » 29. Nov 2014, 22:46

@mapck: the host has 4 cores. but I can reduce to one core if it matters

@Perryg: ok. I will try that too
zebul6
 
Posts: 12
Joined: 2. Feb 2008, 19:37

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby zebul6 » 29. Nov 2014, 22:55

the USB Suspended ... USB operational thing happens even if I am not pluging in any usb device. This happen when I login in.
and this happens only to this guest. no other VM shows log like this.

and this happens in the log early.
as the network lock-up happens after one hour or more so it might unrelated.
zebul6
 
Posts: 12
Joined: 2. Feb 2008, 19:37

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby mpack » 30. Nov 2014, 13:34

zebul6 wrote:@mapck: the host has 4 cores.

Not according to the log file, "00:00:00.762131 Physical host cores: 2".

And not according to Intel.
mpack
Site Moderator
 
Posts: 29976
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby roundthecorner » 17. Feb 2015, 20:21

Did anyone find a solution to the problem? I am facing the same problem with the same log entries with Kali Linux 1.1.0 as guest and Ubuntu 14.04 as host. Virtual box version is 4.3.10.
roundthecorner
 
Posts: 1
Joined: 17. Feb 2015, 20:19

Re: task vminfo:xxxx blocked for more than 120 seconds.

Postby mpack » 17. Feb 2015, 20:53

You need to post the VM log (zipped) if you want help from us. Instructions already given above.
mpack
Site Moderator
 
Posts: 29976
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 11 guests