Hello, I try to get a Nvidia Quadro PCI-E graphics card to work with xen in Dom0 with the binary nivida-drivers. I use the xen-2.0-testing tarball with kernel 2.6.12 and the nvidia driver package NVIDIA-Linux-x86-1.0-7676-pkg1. The nvidia kernel module compiles without errors but when I try to load it segfaults. Is it possibly because the tls-libs are disabled? Has anyone managed to get the nvidia drivers to work with xen? Or is there a general problem with xen + nvidia? Thanks, Frank _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
bregulla wrote:> Hello, > > I try to get a Nvidia Quadro PCI-E graphics card to work with xen in > Dom0 with the binary nivida-drivers. > I use the xen-2.0-testing tarball with kernel 2.6.12 and the nvidia > driver package NVIDIA-Linux-x86-1.0-7676-pkg1. > The nvidia kernel module compiles without errors but when I try to load > it segfaults. > Is it possibly because the tls-libs are disabled? > Has anyone managed to get the nvidia drivers to work with xen? Or is > there a general problem with xen + nvidia?Not sure I can help, but there''s been general problems with nvidia driver for a looong time. Check the threads on nvnews.com . Many still use the old 6629 driver, though it doesn''t have as many fancy features as later drivers. Then again, you may not need 8x AA and AF... Of cause those problems are not normally related to Xen, but you may wan''t to give 6629 a try. -- Kind regards, Mogens Valentin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mogens Valentin wrote:> bregulla wrote: > >> Hello, >> >> I try to get a Nvidia Quadro PCI-E graphics card to work with xen in >> Dom0 with the binary nivida-drivers. >> I use the xen-2.0-testing tarball with kernel 2.6.12 and the nvidia >> driver package NVIDIA-Linux-x86-1.0-7676-pkg1. >> The nvidia kernel module compiles without errors but when I try to >> load it segfaults. >> Is it possibly because the tls-libs are disabled? >> Has anyone managed to get the nvidia drivers to work with xen? Or is >> there a general problem with xen + nvidia? >This is a recipe for disaster. The nVidia kernel driver has a binary layer that it not Xen-ready. It''s very likely that it''s going to be doing something it''s not supposed to do in Xen. You''re out of luck until nVidia releases a Xen driver. You can also use the Open Source driver (or even just Vesa). This is why binary modules are so evil... Regards, Anthony Liguori> Not sure I can help, but there''s been general problems with nvidia > driver for a looong time. Check the threads on nvnews.com . > Many still use the old 6629 driver, though it doesn''t have as many > fancy features as later drivers. Then again, you may not need 8x AA > and AF... > > Of cause those problems are not normally related to Xen, but you may > wan''t to give 6629 a try. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Anthony, that''s weird, i did compile my own (xen 2 based) dom0 kernel from source, then proceeded in installing the nvidia drivers (using the .sh script they provide) Obviously, no pre-made kernel modules were available, but the script was able to compile its own module (with the correct links in /usr/src). I can''t say i''ve used the graphic features of this system much (it''s my server), but i did not hit any issues with this, works like a breeze. Ban -----Original Message----- From: Anthony Liguori [mailto:aliguori@us.ibm.com] Sent: 17 November 2005 20:08 To: mogensv@vip.cybercity.dk Cc: bregulla; xen-users@lists.xensource.com Subject: Re: [Xen-users] Xen + Nvidia drivers Mogens Valentin wrote:> bregulla wrote: > >> Hello, >> >> I try to get a Nvidia Quadro PCI-E graphics card to work with xen in >> Dom0 with the binary nivida-drivers. >> I use the xen-2.0-testing tarball with kernel 2.6.12 and the nvidia >> driver package NVIDIA-Linux-x86-1.0-7676-pkg1. >> The nvidia kernel module compiles without errors but when I try to >> load it segfaults. >> Is it possibly because the tls-libs are disabled? >> Has anyone managed to get the nvidia drivers to work with xen? Or is >> there a general problem with xen + nvidia? >This is a recipe for disaster. The nVidia kernel driver has a binary layer that it not Xen-ready. It''s very likely that it''s going to be doing something it''s not supposed to do in Xen. You''re out of luck until nVidia releases a Xen driver. You can also use the Open Source driver (or even just Vesa). This is why binary modules are so evil... Regards, Anthony Liguori> Not sure I can help, but there''s been general problems with nvidia > driver for a looong time. Check the threads on nvnews.com . > Many still use the old 6629 driver, though it doesn''t have as many > fancy features as later drivers. Then again, you may not need 8x AA > and AF... > > Of cause those problems are not normally related to Xen, but you may > wan''t to give 6629 a try. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users **************************************************************************** Disclaimer: This electronic transmission and any files attached to it are strictly confidential and intended solely for the addressee. If you are not the intended addressee, you must not disclose, copy or take any action in reliance of this transmission. If you have received this transmission in error, please notify the sender by return and delete the transmission. Although the sender endeavors to maintain a computer virus free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. Thank You. **************************************************************************** _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Nov 18, 2005 at 01:12:54PM +0100, Waeyenbergh, Sven wrote:> Anthony, > > that''s weird, i did compile my own (xen 2 based) dom0 kernel from > source, then proceeded in installing the nvidia drivers (using the .sh > script they provide) Obviously, no pre-made kernel modules were > available, but the script was able to compile its own module (with the > correct links in /usr/src). I can''t say i''ve used the graphic > features of this system much (it''s my server), but i did not hit any > issues with this, works like a breeze.Are you absolutely sure that you are using the proprietry driver, now? grep Driver /etc/X11/{xorg.conf,XF86Config}|grep nv; where ''nv'' means no, ''nvidia'' means yes. -- Jon Dowland http://jon.dowland.name/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Waeyenbergh, Sven wrote:>Anthony, > >that''s weird, i did compile my own (xen 2 based) dom0 kernel from source, >then proceeded in installing the nvidia drivers (using the .sh script they provide) >Obviously, no pre-made kernel modules were available, >but the script was able to compile its own module (with the correct links in /usr/src). > >The kernel module uses a binary layer with some open source code that uses the binary layer. This allows them to not have to recompile the binary layer for every tiny driver change.>I can''t say i''ve used the graphic features of this system much (it''s my server), >but i did not hit any issues with this, works like a breeze. > >It''s likely that you''re not actually using the module. Check lsmod and see what the ref count is. Regards, Anthony Liguori>Ban > >-----Original Message----- >From: Anthony Liguori [mailto:aliguori@us.ibm.com] >Sent: 17 November 2005 20:08 >To: mogensv@vip.cybercity.dk >Cc: bregulla; xen-users@lists.xensource.com >Subject: Re: [Xen-users] Xen + Nvidia drivers > > >Mogens Valentin wrote: > > > >>bregulla wrote: >> >> >> >>>Hello, >>> >>>I try to get a Nvidia Quadro PCI-E graphics card to work with xen in >>>Dom0 with the binary nivida-drivers. >>>I use the xen-2.0-testing tarball with kernel 2.6.12 and the nvidia >>>driver package NVIDIA-Linux-x86-1.0-7676-pkg1. >>>The nvidia kernel module compiles without errors but when I try to >>>load it segfaults. >>>Is it possibly because the tls-libs are disabled? >>>Has anyone managed to get the nvidia drivers to work with xen? Or is >>>there a general problem with xen + nvidia? >>> >>> >This is a recipe for disaster. The nVidia kernel driver has a binary >layer that it not Xen-ready. It''s very likely that it''s going to be >doing something it''s not supposed to do in Xen. > >You''re out of luck until nVidia releases a Xen driver. You can also use >the Open Source driver (or even just Vesa). > >This is why binary modules are so evil... > >Regards, > >Anthony Liguori > > > >>Not sure I can help, but there''s been general problems with nvidia >>driver for a looong time. Check the threads on nvnews.com . >>Many still use the old 6629 driver, though it doesn''t have as many >>fancy features as later drivers. Then again, you may not need 8x AA >>and AF... >> >>Of cause those problems are not normally related to Xen, but you may >>wan''t to give 6629 a try. >> >> >> > > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users >**************************************************************************** >Disclaimer: >This electronic transmission and any files attached to it are strictly >confidential and intended solely for the addressee. If you are not >the intended addressee, you must not disclose, copy or take any >action in reliance of this transmission. If you have received this >transmission in error, please notify the sender by return and delete >the transmission. Although the sender endeavors to maintain a >computer virus free network, the sender does not warrant that this >transmission is virus-free and will not be liable for any damages >resulting from any virus transmitted. >Thank You. >**************************************************************************** > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Anthony Liguori wrote:> Mogens Valentin wrote: > >> bregulla wrote: >> >>> Hello, >>> >>> I try to get a Nvidia Quadro PCI-E graphics card to work with xen in >>> Dom0 with the binary nivida-drivers. >>> I use the xen-2.0-testing tarball with kernel 2.6.12 and the nvidia >>> driver package NVIDIA-Linux-x86-1.0-7676-pkg1. >>> The nvidia kernel module compiles without errors but when I try to >>> load it segfaults. >>> Is it possibly because the tls-libs are disabled? >>> Has anyone managed to get the nvidia drivers to work with xen? Or is >>> there a general problem with xen + nvidia? >> >> > This is a recipe for disaster. The nVidia kernel driver has a binary > layer that it not Xen-ready. It''s very likely that it''s going to be > doing something it''s not supposed to do in Xen. > > You''re out of luck until nVidia releases a Xen driver. You can also use > the Open Source driver (or even just Vesa). > > This is why binary modules are so evil...Well, Nvidia seems to be interested in Xen support. On nvnews.net, I wrote a polite request for Xen support. Please see the thread at: http://www.nvnews.net/vbulletin/showthread.php?t=60125 Unfortunately, due to major HW/SW upgrades, it''ll be a short while before I can participate on the forum myself. Often, vendors are accused of not showing interest in Linux, so since Nvidia has now shown Xen interest, I believe it''ll be A Good Thing if some from this list would signup on nvnews and participate. -- Kind regards, Mogens Valentin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mogens Valentin wrote:> Well, Nvidia seems to be interested in Xen support. On nvnews.net, I > wrote a polite request for Xen support. Please see the thread at: > http://www.nvnews.net/vbulletin/showthread.php?t=60125 > > Unfortunately, due to major HW/SW upgrades, it''ll be a short while > before I can participate on the forum myself. > > Often, vendors are accused of not showing interest in Linux, so since > Nvidia has now shown Xen interest, I believe it''ll be A Good Thing if > some from this list would signup on nvnews and participate.I''m not familiar at all with how the Nvidia community stuff works at all. If Nvidia developers are interested in supporting Xen, you should direct them to xen-devel and they are certain to get the help they need. Regards, Anthony Liguori _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Anthony Liguori wrote:> Mogens Valentin wrote: > >> Well, Nvidia seems to be interested in Xen support. On nvnews.net, I >> wrote a polite request for Xen support. Please see the thread at: >> http://www.nvnews.net/vbulletin/showthread.php?t=60125 >> >> Unfortunately, due to major HW/SW upgrades, it''ll be a short while >> before I can participate on the forum myself. >> >> Often, vendors are accused of not showing interest in Linux, so since >> Nvidia has now shown Xen interest, I believe it''ll be A Good Thing if >> some from this list would signup on nvnews and participate. > > > I''m not familiar at all with how the Nvidia community stuff works at > all. If Nvidia developers are interested in supporting Xen, you should > direct them to xen-devel and they are certain to get the help they need.Of cause! Why I didn''t think of it is beyond my capacity ;) Anyways, I''ll do just that. To be fair, I merely asked Nvidia to think (alot) about Xen support; the thread on nvnews is still in it''s infantry. -- Kind regards, Mogens Valentin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello list, I am just at the beginning of installing Xen. After two days of trying I finally managed to boot the xen0 kernel. Now I am trying to create my first domain. Since the system is a Raid system, I know there is a problem with my root entry (I had these problems with the xen0 kernel as well in the beginning) I receive this error message when trying to create the domain with "xm create -c xmjan1 vmid=1" (system is FC4 on Dell 450 WS, 2 CPUs, SATA Raid, 2GB RAM): --------------------------8<--------------------------------- Making device-mapper control node Unable to find device-mapper major/minor Scanning logical volumes Reading all physical volumes. This may take a while... Found volume group "VolGroup00" using metadata type lvm2 Activating logical volumes /proc/misc: No entry for device-mapper found Is device-mapper driver missing from kernel? Failure to communicate with kernel device-mapper driver. 0 logical volume(s) in volume group "VolGroup00" now active Creating root device Mounting root filesystem mount: error 6 mounting ext3 Switching to new root ERROR opening /dev/console!!!!: 2 error dup2''ing fd of 0 to 0 error dup2''ing fd of 0 to 1 error dup2''ing fd of 0 to 2 unmounting old /proc unmounting old /sys switchroot: mount failed: 22 Kernel panic - not syncing: Attempted to kill init! ---------------------8<-------------------------------- The config file looks as follows: ---------------------8<-------------------------------- # Kernel image file. kernel = "/boot/vmlinuz-2.6.12.6-xenU" # Optional ramdisk. ramdisk = "/boot/xen-3.0.jan.img" # The domain build function. Default is ''linux''. #builder=''linux'' # Initial memory allocation (in megabytes) for the new domain. memory = 128 # A name for your domain. All domains must have different names. name = "FirstDomain" # Which CPU to start domain on? #cpu = -1 # leave to Xen to pick # Number of Virtual CPUS to use, default is 1 #vcpus 1 #---------------------------------------------------------------------------- # Define network interfaces. # Number of network interfaces. Default is 1. #nics=1 # Optionally define mac and/or bridge for the network interfaces. # Random MACs are assigned if not given. #vif = [ ''mac=aa:00:00:00:00:11, bridge=xenbr0'' ] #---------------------------------------------------------------------------- # Define the disk devices you want the domain to have access to, and # what you want them accessible as. # Each disk entry is of the form phy:UNAME,DEV,MODE # where UNAME is the device, DEV is the device name the domain will see, # and MODE is r for read-only, w for read-write. disk = [ ''phy:/dev/sda2,/dev/sda2,w'' ] #---------------------------------------------------------------------------- # Define to which TPM instance the user domain should communicate. # The vtpm entry is of the form ''instance=INSTANCE,backend=DOM'' # where INSTANCE indicates the instance number of the TPM the VM # should be talking to and DOM provides the domain where the backend # is located. # Note that no two virtual machines should try to connect to the same # TPM instance. The handling of all TPM instances does require # some management effort in so far that VM configration files (and thus # a VM) should be associated with a TPM instance throughout the lifetime # of the VM / VM configuration file. The instance number must be # greater or equal to 1. #vtpm = [ ''instance=1,backend=0'' ] #---------------------------------------------------------------------------- # Set the kernel command line for the new domain. # You only need to define the IP parameters and hostname if the domain''s # IP config doesn''t, e.g. in ifcfg-eth0 or via DHCP. # You can use ''extra'' to set the runlevel and custom environment # variables used by custom rc scripts (e.g. VMID=, usr= ). # Set if you want dhcp to allocate the IP address. dhcp="dhcp" # Set netmask. #netmask# Set default gateway. #gateway# Set the hostname. #hostname= "vm%d" % vmid # Set root device. root = "/dev/mapper/VolGroup00-LogVol00 ro" # Root device for nfs. #root = "/dev/nfs" # The nfs server. #nfs_server = ''169.254.1.0'' # Root directory on the nfs server. #nfs_root = ''/full/path/to/root/directory'' # Sets runlevel 4. extra = "4" -----------------------------------8<----------------------- Can anyone point me to a solution, e.g. where to look to determine the correct root drive/dev in a Raid system? Since this is my first machine with a Raid system installed, I am a bit stuck here... Thanks in advance Jan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
my understanding is that you want to hide the complexities from domU systems... so if you want the domU to have a raid1 filesystem, you export the raid1 device to the domU but call it /dev/sda1 or something like that... so the domU just sees a block device, it doesn''t need to know that it is actually a raid1 mirror. Obviously, you can go the other way, and let it see both partitions and do the mirroring itself, but it is _much_ simpler to just show the domU a simple block device. -Tom On Mon, 21 Nov 2005, Jan Peters-Anders wrote:> Hello list, > > I am just at the beginning of installing Xen. After two days of trying I > finally managed to boot the xen0 kernel. Now I am trying to create my first > domain. Since the system is a Raid system, I know there is a problem with my > root entry (I had these problems with the xen0 kernel as well in the > beginning) I receive this error message when trying to create the domain > with "xm create -c xmjan1 vmid=1" (system is FC4 on Dell 450 WS, 2 CPUs, > SATA Raid, 2GB RAM): ><snip> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tom, thanks for the reply. My problem is not quite what you expected, though. I just do not know, what my root entry in the conifg file should look like, so that the domain is able to boot. I am at a somewhat lower level than you expected me to be ;-). BTW: This is a raid5 filesystem and I just do not know what the correct entry is so that the xen domain is actually _able_ to _find_ the device in the first place. Or do I misunderstand something very fundamental here? Thanks again Jan> --- Ursprüngliche Nachricht --- > Von: Tom Brown <tbrown@baremetal.com> > An: xen-users@lists.xensource.com > Betreff: Re: [Xen-users] Raidproblem booting dom0 > Datum: Sun, 20 Nov 2005 16:07:59 -0800 (PST) > > > my understanding is that you want to hide the complexities from domU > systems... so if you want the domU to have a raid1 filesystem, you export > the raid1 device to the domU but call it /dev/sda1 or something like > that... so the domU just sees a block device, it doesn''t need to know that > it is actually a raid1 mirror. > > Obviously, you can go the other way, and let it see both partitions and do > the mirroring itself, but it is _much_ simpler to just show the domU a > simple block device. > > -Tom > > On Mon, 21 Nov 2005, Jan Peters-Anders wrote: > > > Hello list, > > > > I am just at the beginning of installing Xen. After two days of trying I > > finally managed to boot the xen0 kernel. Now I am trying to create my > first > > domain. Since the system is a Raid system, I know there is a problem > with my > > root entry (I had these problems with the xen0 kernel as well in the > > beginning) I receive this error message when trying to create the domain > > with "xm create -c xmjan1 vmid=1" (system is FC4 on Dell 450 WS, 2 > CPUs, > > SATA Raid, 2GB RAM): > > > > <snip> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Life´s too short for reboots. ...and don''t forget: There are only 10 kind of people. Those who understand binary and those who don´t. . Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yeah, but at least Lonni (netllama) seems interested in getting the right people involved. That''s a huge step in and of itself. --David On Sun, 20 Nov 2005 23:22:31 +0100 Mogens Valentin <mogensv@vip.cybercity.dk> wrote:> To be fair, I merely asked Nvidia to think (alot) about Xen support; > the thread on nvnews is still in it''s infantry._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users