How to Stop lightdm Display Manager and X.org X Server in UBUNTU 11.10 and Unload nouveau Kernel Module? (Xen VGA Passthrough)
Teo En Ming (Zhang Enming)
ubuntu.fan.2012 at gmail.com
Wed Mar 21 04:18:35 UTC 2012
Hi,
How do I stop lightdm display manager and X.org server in Ubuntu
_*11.10*_ and unload the nouveau vga driver?
I can certainly run "sudo killall lightdm" and of course lightdm and
X.org X server will be terminated successfully, but I cannot force
nouveau vga driver to unload at all. It always say nouveau module is in
use even if I use "sudo modprobe --force --remove nouveau".
I need to unload the following kernel modules for successful Xen VGA
passthrough.
rmmod nouveau
rmmod ttm
rmmod drm_kms_helper
rmmod drm
Please read*_Deactivating KMS and unloading Nouveau_* athttp://nouveau.freedesktop.org/wiki/KernelModeSetting
***But setting "echo 0 > /sys/class/vtconsole/vtcon1/bind" causes the
display to _hang_ and I can't do anything more at all.***
I can also "sudo apt-get remove lightdm" but I still _*can't*_ get
nouveau vga driver to unload!!!
I can't force nouveau,ttm,drm_kms_helper,drm kernel modules to unload. Help!!!
Also, if I add xen-pciback.hide=(01:00.0) to the module line in GRUB2, the display turns blank while booting and I can't do anything at all, because the monitor turns black during booting. Any ideas?
David Techer,
You are using Debian 6.0.2 while I am using_Ubuntu 11.10!_
See my difficulties?
There is no /etc/inittab in Ubuntu 11.10 and no runlevels 3,4,5 in Ubuntu 11.10.
Thank you very much.
Yours sincerely,
Teo En Ming (Zhang Enming)
On 21/03/2012 00:36, Casey DeLorme wrote:
> Hello,
>
> Supposedly both the board & CPU must have VT-d, the E6300 does not:
> http://ark.intel.com/products/41493/Intel-Pentium-Processor-E6300-(2M-Cache-2_80-GHz-1066-MHz-FSB)
> <http://ark.intel.com/products/41493/Intel-Pentium-Processor-E6300-%282M-Cache-2_80-GHz-1066-MHz-FSB%29>
>
> If pciback was compiled into your kernel (not a module) then you can
> add "xen-pciback.hide=(01:00.0)" to the module line in your grub.cfg,
> substituting your lspci device names.
>
> nVidia supposedly requires patches and only works in Windows XP, there
> are a few Windows 7 success stories, but they seem rare. Most people
> have success without patches using AMD cards.
>
> Best of luck.
>
> ~Casey DeLorme
>
>
> On Tue, Mar 20, 2012 at 11:39 AM, Teo En Ming (Zhang Enming)
> <singapore.mr.teo.en.ming at gmail.com
> <mailto:singapore.mr.teo.en.ming at gmail.com>> wrote:
>
> Dear David Techer and others,
>
> I thought Intel H61 chipset and MSI motherboards officially don't
> support VT-x and VT-d? There is no VT-d enabling option in MSI
> motherboard BIOS.
>
> I want to test Xen VGA passthrough for Windows 8 Consumer Preview
> 64-bit English HVM domU with my Intel DQ45CB motherboard and Intel
> Pentium Dual Core E6300 2800 MHz.
>
> By the way, I am using Linux kernel 3.3.0 Final. Should I use
> PCIBACK or PCI-STUB? If I use pciback, what arguments should I
> parse to the kernel command line in GRUB2? Please point me to the
> documentation for kernel command line arguments in the linux
> kernel source tree.
>
> My graphics card: Palit NVIDIA Geforce 8400 GS PCI Express x16 SGD$44
>
>
> Thank you very much.
>
> Yours sincerely,
>
> Teo En Ming (Zhang Enming)
>
>
> On 20/03/2012 23:17, David TECHER wrote:
>> You're welcome.
>>
>> Keep in mind that if you are going to upgrade BIOS for your
>> motherboard, those values for your card may changed.
>>
>> I was in this situation last time BIOS was upgraded.
>>
>> It does mean that those values will changed each time you upgrade
>> your motherboad BIOS but having thos values changed after a BIOS
>> upgrade could occur for a specific upgrade.
>>
>> Don't ask me why...I do not know.
>>
>> So you will be well advised to heck those values for each BIOS
>> upgrade.
>>
>> Moreover don't waste your time to test VGA PassThrough for NVIDIA
>> for Windows 7. For Windows 7 use ATI.
>>
>> I did my tests for playing with wine 1.4/1.5 on domU Ubuntu Lucid
>> 10.04.4 PV HVM (game like Crysis 2) and it rocks :)
>>
>> My configuration:
>>
>> Manufacturer: MSI / Product Name: H61MU-E35 (MS-7680)
>> Bios version: V10.11
>>
>>
>>
>> ------------------------------------------------------------------------
>> *De :* Teo En Ming (Zhang Enming)
>> <singapore.mr.teo.en.ming at gmail.com>
>> <mailto:singapore.mr.teo.en.ming at gmail.com>
>> *À :* David TECHER <davidtecher at yahoo.fr>
>> <mailto:davidtecher at yahoo.fr>
>> *Cc :* "xen-users at lists.xen.org" <mailto:xen-users at lists.xen.org>
>> <xen-users at lists.xen.org> <mailto:xen-users at lists.xen.org>; Teo
>> En Ming (Zhang Enming) <singapore.mr.teo.en.ming at gmail.com>
>> <mailto:singapore.mr.teo.en.ming at gmail.com>
>> *Envoyé le :* Mardi 20 mars 2012 16h02
>> *Objet :* Re: Re : Xen VGA Passthrough Questions
>>
>> Dear David Techer,
>>
>> Thank you.
>>
>> I think the following command is sufficient.
>>
>> dmesg | grep 01:00.0 | grep "pci.*mem"
>>
>> Yours sincerely,
>>
>> Teo En Ming (Zhang Enming)
>>
>> On 20/03/2012 17:54, David TECHER wrote:
>>> Hi Teo,
>>>
>>> The 3 first lines with pattern 'pci.*mem' need to be returned
>>>
>>> U need to use somethign like
>>>
>>> root at gemini:~# lspci |grep VGA
>>> 02:00.0 VGA compatible controller: nVidia Corporation Device
>>> 0ca2 (rev a2)
>>> root at gemini:~# dmesg|grep 02:00.0 |grep ' pci [0-9].*mem'|head -n3
>>> [ 0.174458] pci 0000:02:00.0: reg 10: [mem 0xfb000000-0xfbffffff]
>>> [ 0.174466] pci 0000:02:00.0: reg 14: [mem
>>> 0xd0000000-0xdfffffff 64bit pref]
>>> [ 0.174475] pci 0000:02:00.0: reg 1c: [mem
>>> 0xee000000-0xefffffff 64bit pref]
>>>
>>> Kind regards
>>>
>>>
>>> ------------------------------------------------------------------------
>>> *De :* Teo En Ming (Zhang Enming)
>>> <singapore.mr.teo.en.ming at gmail.com>
>>> <mailto:singapore.mr.teo.en.ming at gmail.com>
>>> *À :* "xen-users at lists.xen.org" <mailto:xen-users at lists.xen.org>
>>> <xen-users at lists.xen.org> <mailto:xen-users at lists.xen.org>;
>>> David TECHER <davidtecher at yahoo.fr>
>>> <mailto:davidtecher at yahoo.fr>; Teo En Ming (Zhang Enming)
>>> <singapore.mr.teo.en.ming at gmail.com>
>>> <mailto:singapore.mr.teo.en.ming at gmail.com>
>>> *Envoyé le :* Mardi 20 mars 2012 8h39
>>> *Objet :* Xen VGA Passthrough Questions
>>>
>>> Dear David Techer,
>>>
>>> I have read through your article on Xen VGA passthrough on
>>> http://www.davidgis.fr.
>>>
>>> It appears that the following command on your blog doesn't work.
>>>
>>> dmesg | grep 01:00.0 | grep BAR
>>>
>>> The above command shows nothing at all. Is there an alternative
>>> solution?
>>>
>>> Thank you very much.
>>>
>>> Yours sincerely,
>>>
>>> Teo En Ming (Zhang Enming)
>>>
>>>
>>
>>
>>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users at lists.xen.org <mailto:Xen-users at lists.xen.org>
> http://lists.xen.org/xen-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120321/37976b21/attachment.html>
More information about the ubuntu-users
mailing list