Hello, I want to apply this patch: http://wiki.xen.org/wiki/Linux_3.0_bugs_impacting_Xen#32-bit_graphic_cards_.28AGP.2C_or_server_ones:_ATI_ES1000.29_can.27t_do_Xorg I downloaded the patch from: http://darnok.org/xen/vga.patch and I did this to apply it: patch < vga.patch It asks for a file to patch, and it may be obvious, but I don''t know which is the file. Also, I think that it may be a more recent version in the git tree, but I am not sure how to download just the patch, or all the code (git clone?). So what would be the best way to proceed? Thank you
On Mon, 2012-05-21 at 09:55 +0100, eva wrote:> Hello, > > I want to apply this patch: > > http://wiki.xen.org/wiki/Linux_3.0_bugs_impacting_Xen#32-bit_graphic_cards_.28AGP.2C_or_server_ones:_ATI_ES1000.29_can.27t_do_Xorg > > I downloaded the patch from: > > http://darnok.org/xen/vga.patch > > and I did this to apply it: > > patch < vga.patch > > It asks for a file to patch, and it may be obvious, but I don''t know > which is the file.Apply it with "patch -p1 < vga.patch" instead and it''ll do the right thing.> Also, I think that it may be a more recent version in the git tree, > but I am not sure how to download just the patch, or all the code (git > clone?). > > So what would be the best way to proceed? > > Thank you > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
On 21 May 2012 11:02, Ian Campbell <Ian.Campbell@citrix.com> wrote:> On Mon, 2012-05-21 at 09:55 +0100, eva wrote: >> Hello, >> >> I want to apply this patch: >> >> http://wiki.xen.org/wiki/Linux_3.0_bugs_impacting_Xen#32-bit_graphic_cards_.28AGP.2C_or_server_ones:_ATI_ES1000.29_can.27t_do_Xorg >> >> I downloaded the patch from: >> >> http://darnok.org/xen/vga.patch >> >> and I did this to apply it: >> >> patch < vga.patch >> >> It asks for a file to patch, and it may be obvious, but I don''t know >> which is the file. > > Apply it with "patch -p1 < vga.patch" instead and it''ll do the right > thing. >It says exactly the same thing: can''t find file to patch at input line 22 Perhaps you used the wrong -p or --strip option? And then asks me for the file to patch again..
On 21 May 2012 11:18, eva <evammg@gmail.com> wrote:> On 21 May 2012 11:02, Ian Campbell <Ian.Campbell@citrix.com> wrote: >> On Mon, 2012-05-21 at 09:55 +0100, eva wrote: >>> Hello, >>> >>> I want to apply this patch: >>> >>> http://wiki.xen.org/wiki/Linux_3.0_bugs_impacting_Xen#32-bit_graphic_cards_.28AGP.2C_or_server_ones:_ATI_ES1000.29_can.27t_do_Xorg >>> >>> I downloaded the patch from: >>> >>> http://darnok.org/xen/vga.patch >>> >>> and I did this to apply it: >>> >>> patch < vga.patch >>> >>> It asks for a file to patch, and it may be obvious, but I don''t know >>> which is the file. >> >> Apply it with "patch -p1 < vga.patch" instead and it''ll do the right >> thing. >> > > It says exactly the same thing: > > can''t find file to patch at input line 22 > Perhaps you used the wrong -p or --strip option? > > And then asks me for the file to patch again..I attach a screenshot.. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On Mon, 2012-05-21 at 10:18 +0100, eva wrote:> On 21 May 2012 11:02, Ian Campbell <Ian.Campbell@citrix.com> wrote: > > On Mon, 2012-05-21 at 09:55 +0100, eva wrote: > >> Hello, > >> > >> I want to apply this patch: > >> > >> http://wiki.xen.org/wiki/Linux_3.0_bugs_impacting_Xen#32-bit_graphic_cards_.28AGP.2C_or_server_ones:_ATI_ES1000.29_can.27t_do_Xorg > >> > >> I downloaded the patch from: > >> > >> http://darnok.org/xen/vga.patch > >> > >> and I did this to apply it: > >> > >> patch < vga.patch > >> > >> It asks for a file to patch, and it may be obvious, but I don''t know > >> which is the file. > > > > Apply it with "patch -p1 < vga.patch" instead and it''ll do the right > > thing. > > > > It says exactly the same thing: > > can''t find file to patch at input line 22 > Perhaps you used the wrong -p or --strip option? > > And then asks me for the file to patch again..Are you running this command from the root of a Linux kernel source tree? Ian.
On 21 May 2012 11:25, Ian Campbell <Ian.Campbell@citrix.com> wrote:> On Mon, 2012-05-21 at 10:18 +0100, eva wrote: >> On 21 May 2012 11:02, Ian Campbell <Ian.Campbell@citrix.com> wrote: >> > On Mon, 2012-05-21 at 09:55 +0100, eva wrote: >> >> Hello, >> >> >> >> I want to apply this patch: >> >> >> >> http://wiki.xen.org/wiki/Linux_3.0_bugs_impacting_Xen#32-bit_graphic_cards_.28AGP.2C_or_server_ones:_ATI_ES1000.29_can.27t_do_Xorg >> >> >> >> I downloaded the patch from: >> >> >> >> http://darnok.org/xen/vga.patch >> >> >> >> and I did this to apply it: >> >> >> >> patch < vga.patch >> >> >> >> It asks for a file to patch, and it may be obvious, but I don''t know >> >> which is the file. >> > >> > Apply it with "patch -p1 < vga.patch" instead and it''ll do the right >> > thing. >> > >> >> It says exactly the same thing: >> >> can''t find file to patch at input line 22 >> Perhaps you used the wrong -p or --strip option? >> >> And then asks me for the file to patch again.. > > Are you running this command from the root of a Linux kernel source > tree? > > Ian. > >Ian, do you mean I have to recompile the kernel after applying the patch?
On Mon, 2012-05-21 at 11:24 +0100, eva wrote:> On 21 May 2012 11:25, Ian Campbell <Ian.Campbell@citrix.com> wrote: > > On Mon, 2012-05-21 at 10:18 +0100, eva wrote: > >> On 21 May 2012 11:02, Ian Campbell <Ian.Campbell@citrix.com> wrote: > >> > On Mon, 2012-05-21 at 09:55 +0100, eva wrote: > >> >> Hello, > >> >> > >> >> I want to apply this patch: > >> >> > >> >> http://wiki.xen.org/wiki/Linux_3.0_bugs_impacting_Xen#32-bit_graphic_cards_.28AGP.2C_or_server_ones:_ATI_ES1000.29_can.27t_do_Xorg > >> >> > >> >> I downloaded the patch from: > >> >> > >> >> http://darnok.org/xen/vga.patch > >> >> > >> >> and I did this to apply it: > >> >> > >> >> patch < vga.patch > >> >> > >> >> It asks for a file to patch, and it may be obvious, but I don''t know > >> >> which is the file. > >> > > >> > Apply it with "patch -p1 < vga.patch" instead and it''ll do the right > >> > thing. > >> > > >> > >> It says exactly the same thing: > >> > >> can''t find file to patch at input line 22 > >> Perhaps you used the wrong -p or --strip option? > >> > >> And then asks me for the file to patch again.. > > > > Are you running this command from the root of a Linux kernel source > > tree? > > > > Ian. > > > > > > Ian, do you mean I have to recompile the kernel after applying the patch?Well, it''s a kernel patch, so yes -- obviously! You seem to be rather unfamiliar with kernels and patching etc. I would highly recommend that you consume a suitable kernel direct from your distro rather than try to path/build it yourself unless you have some pressing need to do so. You don''t say which distro you are using but many of the popular ones have a Xen dom0 kernel available these days, including ones newer than 3.0 which have this patch already applied. Ian.
On 21 May 2012 12:55, Ian Campbell <Ian.Campbell@citrix.com> wrote:> On Mon, 2012-05-21 at 11:24 +0100, eva wrote: >> On 21 May 2012 11:25, Ian Campbell <Ian.Campbell@citrix.com> wrote: >> > On Mon, 2012-05-21 at 10:18 +0100, eva wrote: >> >> On 21 May 2012 11:02, Ian Campbell <Ian.Campbell@citrix.com> wrote: >> >> > On Mon, 2012-05-21 at 09:55 +0100, eva wrote: >> >> >> Hello, >> >> >> >> >> >> I want to apply this patch: >> >> >> >> >> >> http://wiki.xen.org/wiki/Linux_3.0_bugs_impacting_Xen#32-bit_graphic_cards_.28AGP.2C_or_server_ones:_ATI_ES1000.29_can.27t_do_Xorg >> >> >> >> >> >> I downloaded the patch from: >> >> >> >> >> >> http://darnok.org/xen/vga.patch >> >> >> >> >> >> and I did this to apply it: >> >> >> >> >> >> patch < vga.patch >> >> >> >> >> >> It asks for a file to patch, and it may be obvious, but I don''t know >> >> >> which is the file. >> >> > >> >> > Apply it with "patch -p1 < vga.patch" instead and it''ll do the right >> >> > thing. >> >> > >> >> >> >> It says exactly the same thing: >> >> >> >> can''t find file to patch at input line 22 >> >> Perhaps you used the wrong -p or --strip option? >> >> >> >> And then asks me for the file to patch again.. >> > >> > Are you running this command from the root of a Linux kernel source >> > tree? >> > >> > Ian. >> > >> > >> >> Ian, do you mean I have to recompile the kernel after applying the patch? > > Well, it''s a kernel patch, so yes -- obviously! > > You seem to be rather unfamiliar with kernels and patching etc. I would > highly recommend that you consume a suitable kernel direct from your > distro rather than try to path/build it yourself unless you have some > pressing need to do so. You don''t say which distro you are using but > many of the popular ones have a Xen dom0 kernel available these days, > including ones newer than 3.0 which have this patch already applied. > > Ian. >Thanks Ian. My fault!! That is not the patch.. the patch is a few lines below.. and it''s a git repository.. And yes, I haven''t applied a patch in ages.. So to end this issue with my ATI card, how do I apply this patch with git? I haven''t done it before, and googling it says maybe with "git clone" or "git apply", but there''s no luck with any.. (see attachment) Sorry, I forgot to say this is an Ubuntu 12.04, the last one, updated. Kernel 3.2. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On Mon, 2012-05-21 at 12:29 +0100, eva wrote:> Sorry, I forgot to say this is an Ubuntu 12.04, the last one, updated. > Kernel 3.2.If you are running 3.2 then I believe you already have this patch, since that kernel did already. If you are having a bug with your card then I suspect it is something different. Ian.
> Thanks Ian. My fault!! That is not the patch.. the patch is a few lines below.. > > and it''s a git repository.. And yes, I haven''t applied a patch in ages.. > > So to end this issue with my ATI card, how do I apply this patch with git? > > I haven''t done it before, and googling it says maybe with "git clone" > or "git apply", but there''s no luck with any.. (see attachment) > > Sorry, I forgot to say this is an Ubuntu 12.04, the last one, updated. > Kernel 3.2.What is the ATI problem you have? The vga patch is for VGA "text" mode not for graphical.> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
On 21 May 2012 16:32, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:> > > Thanks Ian. My fault!! That is not the patch.. the patch is a few lines below.. > > > > and it''s a git repository.. And yes, I haven''t applied a patch in ages.. > > > > So to end this issue with my ATI card, how do I apply this patch with git? > > > > I haven''t done it before, and googling it says maybe with "git clone" > > or "git apply", but there''s no luck with any.. (see attachment) > > > > Sorry, I forgot to say this is an Ubuntu 12.04, the last one, updated. > > Kernel 3.2. > > What is the ATI problem you have? The vga patch is for VGA "text" mode > not for graphical. >Hello, sorry for the delay. I wanted to do a bit more of a research. I have tried so many things I can''t even remember, but I couldn''t make work dom0 with Ubuntu 12.04 on this server. I reported a bug some time ago on launchpad, and I have just updated it https://bugs.launchpad.net/ubuntu/+source/xen/+bug/903124 Also I have found it''s been reported a bug for the ATI card.. https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/1002562 It says exactly the same things in the log file of Xorg. --- I describe the problem: when loading Ubuntu normally the graphical performance is not very good, but it''s ok. But when trying to load dom0 the GUI completely crashes. Thanks
On Wed, May 23, 2012 at 12:22:26PM +0200, eva wrote:> On 21 May 2012 16:32, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote: > > > > > Thanks Ian. My fault!! That is not the patch.. the patch is a few lines below.. > > > > > > and it''s a git repository.. And yes, I haven''t applied a patch in ages.. > > > > > > So to end this issue with my ATI card, how do I apply this patch with git? > > > > > > I haven''t done it before, and googling it says maybe with "git clone" > > > or "git apply", but there''s no luck with any.. (see attachment) > > > > > > Sorry, I forgot to say this is an Ubuntu 12.04, the last one, updated. > > > Kernel 3.2. > > > > What is the ATI problem you have? The vga patch is for VGA "text" mode > > not for graphical. > > > > Hello, sorry for the delay. I wanted to do a bit more of a research. > > I have tried so many things I can''t even remember, but I couldn''t make > work dom0 with Ubuntu 12.04 on this server. > > I reported a bug some time ago on launchpad, and I have just updated it > > https://bugs.launchpad.net/ubuntu/+source/xen/+bug/903124You need to attach the full serial console. Here are some links to help you get that information: http://wiki.xen.org/wiki/XenParavirtOps#I_have_graphics_card_.28DRM.2FTTM.2FKMS.2FXorg.29_related_problems_with_the_pv_ops_dom0_kernel.. http://wiki.xen.org/wiki/XenSerialConsole> > Also I have found it''s been reported a bug for the ATI card.. > > https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/1002562Which talks about not doing 3D rendering. That is expected on ATI ES1000 which can''t do 3D rendering. It can only do 2D. But that is not the problem you are describing? In your case the machine crashes, right?> > It says exactly the same things in the log file of Xorg. > > --- > > I describe the problem: when loading Ubuntu normally the graphical > performance is not very good, but it''s ok. But when trying to load > dom0 the GUI completely crashes.crashes.. In what way? What do you see on the screen? What is in your serial console? Is the machine still running? Can you SSH in it?
On 23 May 2012 16:35, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:> On Wed, May 23, 2012 at 12:22:26PM +0200, eva wrote: >> On 21 May 2012 16:32, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote: >> > >> > > Thanks Ian. My fault!! That is not the patch.. the patch is a few lines below.. >> > > >> > > and it''s a git repository.. And yes, I haven''t applied a patch in ages.. >> > > >> > > So to end this issue with my ATI card, how do I apply this patch with git? >> > > >> > > I haven''t done it before, and googling it says maybe with "git clone" >> > > or "git apply", but there''s no luck with any.. (see attachment) >> > > >> > > Sorry, I forgot to say this is an Ubuntu 12.04, the last one, updated. >> > > Kernel 3.2. >> > >> > What is the ATI problem you have? The vga patch is for VGA "text" mode >> > not for graphical. >> > >> >> Hello, sorry for the delay. I wanted to do a bit more of a research. >> >> I have tried so many things I can''t even remember, but I couldn''t make >> work dom0 with Ubuntu 12.04 on this server. >> >> I reported a bug some time ago on launchpad, and I have just updated it >> >> https://bugs.launchpad.net/ubuntu/+source/xen/+bug/903124 > > You need to attach the full serial console. Here are some > links to help you get that information: > > http://wiki.xen.org/wiki/XenParavirtOps#I_have_graphics_card_.28DRM.2FTTM.2FKMS.2FXorg.29_related_problems_with_the_pv_ops_dom0_kernel.. > > http://wiki.xen.org/wiki/XenSerialConsole >> >> Also I have found it''s been reported a bug for the ATI card.. >> >> https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/1002562 > > Which talks about not doing 3D rendering. That is expected > on ATI ES1000 which can''t do 3D rendering. It can only do 2D. > > But that is not the problem you are describing? In your case the machine > crashes, right? > >> >> It says exactly the same things in the log file of Xorg. >> >> --- >> >> I describe the problem: when loading Ubuntu normally the graphical >> performance is not very good, but it''s ok. But when trying to load >> dom0 the GUI completely crashes. > > crashes.. In what way? What do you see on the screen? What is in your > serial console? Is the machine still running? Can you SSH in it?Sorry for the misunderstanding, I mean the GUI doesn''t work when dom0 is loaded. That is, at the login screen it freezes so I can''t go on. dom0 works fine without the GUI. I tried to start X manually and the GUI loads but it''s frozen so there''s no possible use of it.
On Thu, May 24, 2012 at 09:10:51AM +0200, eva wrote:> On 23 May 2012 16:35, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote: > > On Wed, May 23, 2012 at 12:22:26PM +0200, eva wrote: > >> On 21 May 2012 16:32, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote: > >> > > >> > > Thanks Ian. My fault!! That is not the patch.. the patch is a few lines below.. > >> > > > >> > > and it''s a git repository.. And yes, I haven''t applied a patch in ages.. > >> > > > >> > > So to end this issue with my ATI card, how do I apply this patch with git? > >> > > > >> > > I haven''t done it before, and googling it says maybe with "git clone" > >> > > or "git apply", but there''s no luck with any.. (see attachment) > >> > > > >> > > Sorry, I forgot to say this is an Ubuntu 12.04, the last one, updated. > >> > > Kernel 3.2. > >> > > >> > What is the ATI problem you have? The vga patch is for VGA "text" mode > >> > not for graphical. > >> > > >> > >> Hello, sorry for the delay. I wanted to do a bit more of a research. > >> > >> I have tried so many things I can''t even remember, but I couldn''t make > >> work dom0 with Ubuntu 12.04 on this server. > >> > >> I reported a bug some time ago on launchpad, and I have just updated it > >> > >> https://bugs.launchpad.net/ubuntu/+source/xen/+bug/903124 > > > > You need to attach the full serial console. Here are some > > links to help you get that information: > > > > http://wiki.xen.org/wiki/XenParavirtOps#I_have_graphics_card_.28DRM.2FTTM.2FKMS.2FXorg.29_related_problems_with_the_pv_ops_dom0_kernel.. > > > > http://wiki.xen.org/wiki/XenSerialConsole > >> > >> Also I have found it''s been reported a bug for the ATI card.. > >> > >> https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/1002562 > > > > Which talks about not doing 3D rendering. That is expected > > on ATI ES1000 which can''t do 3D rendering. It can only do 2D. > > > > But that is not the problem you are describing? In your case the machine > > crashes, right? > > > >> > >> It says exactly the same things in the log file of Xorg. > >> > >> --- > >> > >> I describe the problem: when loading Ubuntu normally the graphical > >> performance is not very good, but it''s ok. But when trying to load > >> dom0 the GUI completely crashes. > > > > crashes.. In what way? What do you see on the screen? What is in your > > serial console? Is the machine still running? Can you SSH in it? > > Sorry for the misunderstanding, I mean the GUI doesn''t work when dom0 > is loaded. That is, at the login screen it freezes so I can''t go on. > > dom0 works fine without the GUI. I tried to start X manually and the > GUI loads but it''s frozen so there''s no possible use of it.OK. Pls collect the data that I''ve asked for. And also bootup your kernel with ''drm.debug=255 loglevel=8 debug initcall_debug'' and send me your ''dmesg''. Oh, and can you also attach the lspci -vvv output pls?