Page 1 of 1

PS2 Keyboard fails after using Host Interface Networking

Posted: 16. Jan 2009, 05:46
by Lawbayly
When I run an Operating System in VirtualBox using NAT Everything works fine

It's when I change it to Host Interface Networking it seems to just completely shut off my keyboard, both in the VM and outside, shutting down the VM doesn't fix it either, I have to reboot the host to restart the keyboard

It mentions in the manual I need access to /dev/net/tun, if thats the issue, how do I get access?

I'm using Debian Etch if that helps!

Posted: 18. Jan 2009, 19:57
by Sasquatch
/dev/net/tun is only needed if you need the virtual interfaces in HIF mode. Since 2.1.0, that's no longer needed as VB can use the physical interface directly.

Posted: 19. Jan 2009, 15:52
by Lawbayly
So what could be causing my keyboard to cut out when I Choose the direct interface networking?

That maybe a question you can't answer anyways, but is there a command I can type in using SSH to reinitialise the keyboard?

Posted: 20. Jan 2009, 11:57
by jesseNL
So Guys,

Is there a way to fix this problem ?

I have a Debian 4.0 Etch with Virtualbox on it !

Posted: 20. Jan 2009, 17:04
by jesseNL
Ok after a wile searching on google + 6 cups of coffee and almost no hair on my head i fount this in my messages

# tail -f /var/log/messeges

kernel: EIP: vboxNetFltLinuxXmitTask+0x17/0x178

I googled and googled and found the fix! hope you will like it too

Start the Debian Etch host and b4 starting VB just go to /usr/share/virtualbox/src/vboxnetflt/linux/VBoxNetFlt-linux.c and look for the line

--> INIT_WORK(&pThis->u.s.XmitTask, vboxNetFltLinuxXmitTask, NULL);

and change it to

--> INIT_WORK(&pThis->u.s.XmitTask, vboxNetFltLinuxXmitTask, &pThis->u.s.XmitTask);


And then run the command #/etc/init.d/vboxdrv setup to rebuild the kernel module...

Reboot the system and everything seem to work just fine!

Thank god now i can go and finish up the w2k3 installation :)

Cheers,

--
Jesse Mirza
IT Consultant
JAMESNET
Opensource Business Solutions

Posted: 20. Jan 2009, 20:03
by Lawbayly
Works Flawlessly now, thanks for the help jesseNL