Results 1 to 8 of 8

Thread: get nvidia to work on XEN Kernel

  1. #1
    Join Date
    Oct 2008
    Posts
    11

    Angry get nvidia to work on XEN Kernel

    Hi fellas,

    I'm using OpenSuSE 11, 2.6.25-18 kernel version. Recently I installed The package for Virtualization via Yast Control Panel. It installed the modified kernel (with support for Xen) that is the same version of the one I have on the main system (host).

    The problem is that when I boot up the system after having selected the Xen Boot option (on grub menu) it can't load the graphical environment because of graphical driver issues.
    Even though both host kernel and Xen kernel have the same kernel version (2.6.25-18) it is not able to use the nvidia driver already available on the system. I've tried to load the nvidia module manually but it was not possible (it shows a message about something regarding error in one line on the module).
    I also reinstalled the nvidia driver (via Yast), it didn't help though. I download the nvidia driver source from nvidia official website, but i didn't compiled it running Xen kernel cause any change on this affects the normal kernel, and i don't want to mess that up.
    I'm only able to run the graphical environment if I set, on the xorg.conf file, the "vesa" driver, instead of "nvidia".

    Is it possible to get NVIDIA to work on the XEN kernel ?

    Any help will be appreciated.

  2. #2
    diahedrial NNTP User

    Default Re: get nvidia to work on XEN Kernel

    Two problems with this, XEN installs a different kernel, so it has a separate directory where drivers are installed. It won't use any of the drivers from the directory tree for the previous kernel version, (the non-XEN kernel). Drivers are stored under the /lib/modules/ directories.
    Second problem, last I knew, the nvidia driver is Not supported on XEN. You would need to use the opensource 'nv' driver. You can reconfigure X to use the nv driver with the command:
    Code:
    sax2 -m 0=nv
    or manually edit the /etc/X11/xorg.conf file, but probably safer to just use the sax2 command. If you find that you are switching between the XEN and non-XEN kernel frequently, you might want to make backup copies of the xorg.conf file with each configuration, then just copy the correct one to /etc/X11/xorg.conf before rebooting to the kernel you want to run, just a thought.
    HTH.

  3. #3

    Default Re: get nvidia to work on XEN Kernel

    problem: Ati Radeon, or nvidia, and XEN
    opensuse11.0

    Wish: booting from Grubnmenue with different xorg.conf
    I found a good solution for this problen

    1.) install system normal with the suse nv driver
    2.) test if xen is working
    3.)copy the /etc/X11/xorg.conf to /etc/X11/xorg.conf.xen
    4.) install your ati or nvidia driver
    like descr. in ATI Radeon Xpress - openSUSE

    edit /boot/grub/menu.1st at
    title Xen-- opensuse 11.0 26.25xxxxx
    blablabla .....
    resume=blbla... splash=bla showopts x11radeon vga=blabla
    **************************************
    put showopts x11radeonhd (or x11nvidea) into menu.1st

    Then go to /etc/init.d and first copy the xdm file and make the copy nowrite noo ex, r-r-r

    then open /etc/init.d/xdm with a text editor

    find the line for failsafe start:

    # Graphical failsafe mode
    #
    # bla bla bla


    # COPY THE SKRIPT FROM here(from if cat) TO "startproc" line
    if cat /proc/cmdline gerp -q x11failsave, then

    blabla

    ***************
    then paste it bevor the startproc line
    and edit the new part put x11radeonhd or what ever you wrote in /grub/menu.1st
    and modify /etc/X11/xorg.conf.install
    to
    /etc/X11/xorg.conf.xen
    or what else you mamed it

    take care that the startproc line appears only once, two startproc lines
    will make trouble

    then save the file
    ready to start
    now you can start your suse-default with the nvidia or ati-driver
    and XEN with nv or vga or whatever

  4. #4
    inotifyAPI NNTP User

    Default Re: get nvidia to work on XEN Kernel


    problem: Ati Radeon, or nvidia, and XEN
    opensuse11.0

    Wish: booting from Grubnmenue with different xorg.conf
    I found a good solution for this problen

    1.) install system normal with the suse nv driver
    2.) test if xen is working
    3.)copy the /etc/X11/xorg.conf to /etc/X11/xorg.conf.xen
    4.) install your ati or nvidia driver
    like descr. in 'ATI Radeon Xpress - openSUSE'
    (http://en.opensuse.org/ATI_Radeon_Xpress)

    edit /boot/grub/menu.1st at
    title Xen-- opensuse 11.0 26.25xxxxx
    blablabla .....
    resume=blbla... splash=bla showopts x11radeon vga=blabla
    **************************************
    put showopts x11radeonhd (or x11nvidea) into menu.1st

    Then go to /etc/init.d and first copy the xdm file and make the copy
    nowrite noo ex, r-r-r

    then open /etc/init.d/xdm with a text editor

    find the line for failsafe start:

    # Graphical failsafe mode
    #
    # bla bla bla


    # COPY THE SKRIPT FROM here(from if cat) TO "startproc" line
    if cat /proc/cmdline gerp -q x11failsave, then

    blabla

    ***************
    then paste it bevor the startproc line
    and edit the new part put x11radeonhd or what ever you wrote in
    /grub/menu.1st
    and modify /etc/X11/xorg.conf.install
    to
    /etc/X11/xorg.conf.xen
    or what else you mamed it

    take care that the startproc line appears only once, two startproc
    lines
    will make trouble

    then save the file
    ready to start
    now you can start your suse-default with the nvidia or ati-driver
    and XEN with nv or vga or whatever


    --
    inotifyAPI
    ------------------------------------------------------------------------
    inotifyAPI's Profile: http://forums.opensuse.org/member.php?userid=16478
    View this thread: http://forums.opensuse.org/showthread.php?t=398600


  5. #5
    Join Date
    Oct 2008
    Posts
    11

    Thumbs up Re: get nvidia to work on XEN Kernel

    Quote Originally Posted by inotifyAPI View Post
    problem: Ati Radeon, or nvidia, and XEN
    opensuse11.0

    Wish: booting from Grubnmenue with different xorg.conf
    I found a good solution for this problen

    1.) install system normal with the suse nv driver
    2.) test if xen is working
    3.)copy the /etc/X11/xorg.conf to /etc/X11/xorg.conf.xen
    4.) install your ati or nvidia driver
    like descr. in ATI Radeon Xpress - openSUSE

    edit /boot/grub/menu.1st at
    title Xen-- opensuse 11.0 26.25xxxxx
    blablabla .....
    resume=blbla... splash=bla showopts x11radeon vga=blabla
    **************************************
    put showopts x11radeonhd (or x11nvidea) into menu.1st

    Then go to /etc/init.d and first copy the xdm file and make the copy nowrite noo ex, r-r-r

    then open /etc/init.d/xdm with a text editor

    find the line for failsafe start:

    # Graphical failsafe mode
    #
    # bla bla bla


    # COPY THE SKRIPT FROM here(from if cat) TO "startproc" line
    if cat /proc/cmdline gerp -q x11failsave, then

    blabla

    ***************
    then paste it bevor the startproc line
    and edit the new part put x11radeonhd or what ever you wrote in /grub/menu.1st
    and modify /etc/X11/xorg.conf.install
    to
    /etc/X11/xorg.conf.xen
    or what else you mamed it

    take care that the startproc line appears only once, two startproc lines
    will make trouble

    then save the file
    ready to start
    now you can start your suse-default with the nvidia or ati-driver
    and XEN with nv or vga or whatever
    Have you done this before? it seems to work but it's kinda complex (i don't master linux ).

    Thanks for helping, i'll try it.

  6. #6
    caop NNTP User

    Default Re: get nvidia to work on XEN Kernel


    inotifyAPI;1903753 Wrote:
    > problem: Ati Radeon, or nvidia, and XEN
    > opensuse11.0
    >
    > Wish: booting from Grubnmenue with different xorg.conf
    > I found a good solution for this problen
    >
    > 1.) install system normal with the suse nv driver
    > 2.) test if xen is working
    > 3.)copy the /etc/X11/xorg.conf to /etc/X11/xorg.conf.xen
    > 4.) install your ati or nvidia driver
    > like descr. in 'ATI Radeon Xpress - openSUSE'
    > (http://en.opensuse.org/ATI_Radeon_Xpress)
    >
    > edit /boot/grub/menu.1st at
    > title Xen-- opensuse 11.0 26.25xxxxx
    > blablabla .....
    > resume=blbla... splash=bla showopts x11radeon vga=blabla
    > **************************************
    > put showopts x11radeonhd (or x11nvidea) into menu.1st
    >
    > Then go to /etc/init.d and first copy the xdm file and make the copy
    > nowrite noo ex, r-r-r
    >
    > then open /etc/init.d/xdm with a text editor
    >
    > find the line for failsafe start:
    >
    > # Graphical failsafe mode
    > #
    > # bla bla bla
    >
    >
    > # COPY THE SKRIPT FROM here(from if cat) TO "startproc" line
    > if cat /proc/cmdline gerp -q x11failsave, then
    >
    > blabla
    >
    > ***************
    > then paste it bevor the startproc line
    > and edit the new part put x11radeonhd or what ever you wrote in
    > /grub/menu.1st
    > and modify /etc/X11/xorg.conf.install
    > to
    > /etc/X11/xorg.conf.xen
    > or what else you mamed it
    >
    > take care that the startproc line appears only once, two startproc
    > lines
    > will make trouble
    >
    > then save the file
    > ready to start
    > now you can start your suse-default with the nvidia or ati-driver
    > and XEN with nv or vga or whatever


    Have you done this before? it seems to work but it's kinda complex (i
    don't master linux ).

    Thanks for helping, i'll try it.


    --
    caop
    ------------------------------------------------------------------------
    caop's Profile: http://forums.opensuse.org/member.php?userid=12953
    View this thread: http://forums.opensuse.org/showthread.php?t=398600


  7. #7

    Default Re: get nvidia to work on XEN Kernel

    yes I ve done it, it works fine,
    this was only a short description, i also wrote it for step by step
    use. but i have no chance to load up the text. and i m to lazy to write itdown again.
    But i think this text will help enough

  8. #8
    inotifyAPI NNTP User

    Default Re: get nvidia to work on XEN Kernel


    yes I ve done it, it works fine,
    this was only a short description, i also wrote it for step by step
    use. but i have no chance to load up the text. and i m to lazy to write
    itdown again.
    But i think this text will help enough


    --
    inotifyAPI
    ------------------------------------------------------------------------
    inotifyAPI's Profile: http://forums.opensuse.org/member.php?userid=16478
    View this thread: http://forums.opensuse.org/showthread.php?t=398600


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •