You are not logged in.

#1 2012-10-15 13:05:53

AlmostSurelyRob
Member
From: UK
Registered: 2012-03-17
Posts: 77

[SOLVED] NFS-root+X-server+VMware Player: X freezes?

Dear All,

after soring out by NFS-VM problems in the post here I am now playing with my network installation. Unfortunately I seem to have run into another difficulty.

Briefly, the setting is the following. I have an NFS server on the network with a root file system. The client is a virtual machine which mounts the file system via NFS. This bit works fine. I can install software and interact with the console. Now I've installed X and its utilities. I am typing startx and I see the clock and two xterm windows but at this stage the machine stops responding. I don't know if this is a keyboard problem... I've already installed xf86-input-{keyboard,mouse} and it didn't help. It might be that the machine freezes completely. For instance I cannot enter any of my virtual consoles. I can only see xclock and two xterms.

I've also tried chrooting on the actual machine, because my working hypothesis was that X connects somehow to the keyboard that is at the actual machine, but there seems to be another problem and after typing startx the screen goes black and doesn't respond at all.

Forgive this grim jocularity, but I would like to welcome you into my NFS Wars Episode 2: The X Menace. Please let me know if you have any thoughts on this.

Last edited by AlmostSurelyRob (2012-10-18 09:01:34)

Offline

#2 2012-10-15 19:51:10

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: [SOLVED] NFS-root+X-server+VMware Player: X freezes?

You need xf86-input-evdev.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3 2012-10-16 08:09:15

AlmostSurelyRob
Member
From: UK
Registered: 2012-03-17
Posts: 77

Re: [SOLVED] NFS-root+X-server+VMware Player: X freezes?

Thanks for the hint, but I am afraid that this was already installed. As I said, I believe it actually freezes. Shouldn't I be still able to open another console by hiting Ctr+Alt+F1-6?

Offline

#4 2012-10-16 12:57:26

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: [SOLVED] NFS-root+X-server+VMware Player: X freezes?

Once you get the diskless client going, the steps to make X work go along with the beginners' guide.  It doesn't matter how many video drivers you install, if you have multiple diskless clients with varying hardware, it will only use the right video driver.  You might want to use the video driver that VMWare is using because it probably won't be the driver that you actual hardware is using that hosts VMWare.  Maybe what you need to debug this situation with is installing the openssh package and ssh into the machine if it is still alive which in this condition probably still is.

Make sure that xf86-input-evdev isn't having this problem: https://bbs.archlinux.org/viewtopic.php?id=147264

Last edited by nomorewindows (2012-10-16 20:24:04)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#5 2012-10-17 10:01:16

AlmostSurelyRob
Member
From: UK
Registered: 2012-03-17
Posts: 77

Re: [SOLVED] NFS-root+X-server+VMware Player: X freezes?

Thanks for the hints. Meanwhile, I have done some more background reading on running Arch in VMWare Player. In particular I followed the guidelines in this article. So it turns out that X requires some special configuration when run from within VMWare.

pacman -S xf86-input-vmmouse xf86-video-vmware xf86-video-vesa svga-dri

and a vmwgfx module is supposed to be loaded. I installed tha packages and tried to load vmwgfx, but when I do lsmod I just can't see it. Then it was pointed out to me that it might be a kernel mismatch problem. The linux installed on nfsroot is 3.6.2 whereas for some reason uname -a gives me version 3.5.6.

I've tried to rebuild initramfs with the new kernel using -k switch of mkinicpio, but it didn't help. It still boots into 3.5.6. It as if the initramfs from the client was taking precedence. So then I went back to the previous image of my VM, updated the system, made appropriate changes to mkinitcpio.conf and run mkinitcpio... and it no longer boots. mount: protocol not supported. I will post the details in my other topic.

Offline

#6 2012-10-18 09:02:43

AlmostSurelyRob
Member
From: UK
Registered: 2012-03-17
Posts: 77

Re: [SOLVED] NFS-root+X-server+VMware Player: X freezes?

Yes, the problem with booting has been solved. In kernel 3.6.2 the modul nfs has to be changed into nfsv3 as pointed out in this post. After that all the modules loaded fine and X flies again.

Offline

Board footer

Powered by FluxBB