Blocking File System

This section covers everything that is related to VMware on Linux hosts and VMs with Linux as guest OS

Blocking File System

Postby rachel » Wed Mar 26, 2008 5:24 pm

OK, I was having problems installing vmware tools on Ubuntu Hardy Beta (up-to-date today) in VMWare Fusion and tried installing the patched versions at http://projects.tuxx-home.at/?id=vmware_updates.

It all seemed to go well until the end of the vmware config process when it actually tries to start the vmware tools. It hangs at "Blocking file system:"

A forced reboot brought the machine back up but it said vmware tools wasn't configured properly so I re-ran it; same thing.

Earlier in the process it did say that the vmblock module loaded perfectly.

Screenshot, for what it's worth, is attached. :-) In this state the virtual machine is no longer responding. When the host's mouse pointer enters that window it just disappears. Network is dead (to the guest, obviously).

Guest's kernel is:
Linux benu 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686 GNU/Linux

The next thing I'm going to do is restore the original non-building vmblock and do the install letting that fail so hopefully i get everything else working. :-) What is it anyway? :-)

(edit: Answered the last question anyway - it told me when it failed to build: host<>guest drag and drop. Don't need it where I'm going.)
Attachments
blocking.jpg
rachel
Private
Private
 
Posts: 1
Joined: Wed Mar 26, 2008 5:10 pm

Re: Blocking File System

Postby tuxx-home.at » Thu Mar 27, 2008 10:03 am

It hangs at "Blocking file system:"


You're getting a kernel panic, right?
I'm getting this too and I still have to figure out why this happens.
Is your Fusion installed on a real Mac or on a hackintosh?

The next thing I'm going to do is restore the original non-building vmblock and do the install letting that fail so hopefully i get everything else working


That's exactly what I did to at least get the VM up and running.

Stay tuned, I'll boot my machine and have a look at why it panics the kernel.
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Re: Blocking File System

Postby tuxx-home.at » Thu Mar 27, 2008 10:44 am

OK, I found out what causes the kernel BUG.
The module vmblock.o loads perfectly into the running kernel and it can be unloaded without problems too.
What bug()s afterwards is the vmware tools init script that tries to mount the blocking device, see /etc/init.d/vmware-tools line 306 for details:

Code: Select all
# Start the blocking file system. This consists of loading the module and
# mounting the file system.
vmware_start_vmblock() {
   mkdir -p /tmp/VMwareDnD && chmod 1777 /tmp/VMwareDnD
   vmware_exec 'Loading module' vmware_load_module $vmblock
   exitcode=`expr $exitcode + $?`
   vmware_exec_selinux "mount -t vmblock none /proc/fs/vmblock/mountPoint"
}


I don't know exactly why mounting the vmblock fs crashes the kernel currently, but as long as there's no solution to it, you might want to replace the vmware_exec_selinux line in the above block with the following line:

Code: Select all
vmware_exec_selinux "true"


That way, the init script completes successfully and lets you use VMware tools.

To be continued...
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Re: Blocking File System

Postby tuxx-home.at » Sun Apr 27, 2008 1:35 pm

I finally managed to get rid of this nasty bug.
I updated all the diffs and tar-balls at [http://projects.tuxx-home.at/vmware/tools/7.6.2-72241/], please give them a try and tell me what you experience now.

Sorry for the delay, was quite hard to find out the real reason for the panics.
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe


Return to VMware

Who is online

Users browsing this forum: No registered users and 0 guests

cron