WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] 2.6.30.1 dom0 Xen patches

To: xen-users@xxxxxxxxxxxxxxxxxxx, Michael Ralston <michael@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] 2.6.30.1 dom0 Xen patches
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Sat, 11 Jul 2009 22:42:01 -0700 (PDT)
Cc:
Delivery-date: Sat, 11 Jul 2009 22:43:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1247377321; bh=piuWD1sW4PpDI64s4Spv3Qfp8evCi5SD7UiWN/lsSGE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=UI9BBfFj2k1QpPs62WS1OVpOqQACc9pjMdR7IB6uR9z6SYLeqCcWofoC32LXjwWONLjq5vVyTDStXJ2+Qkluku5MiE0KczLzNmoY/Q3oEhVjzckWkV1L6dJk4SBFrvaHjPDiu6tsVWDliwBrLJtjiPKJTYWzqsyvhsyJ1y0f9yQ=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=XAnt9TS6REb9JknQmdY1Fa/bSOnS1eYP7rTGNOzKS1QZkc0JthjDQXT5oPcWfTWjeBBVnzr+HFWeenlMQ1g5G+kfOqj+CmsiP6cSnGlIrDTlH/Pn4hhIQZvt77uhSkm5lb5DTkdI9sda9W0qwNIlIF2wEXjS90tTNEXA1gpYhJI=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
************************************************************************
I am forwarding to you the most recent posts  to Jan's  Beulich thread
************************************************************************
Two replacements CONFIG_SPARSE_IRQ by CONFIG_GENERIC_HARDIRQS

60035_xen3-patch-2.6.29.patch1 line 11568

+#ifdef CONFIG_SPARSE_IRQ
+ irq_to_desc(irq)->kstat_irqs[cpu] = 0;
+#else
kstat_cpu(cpu).irqs[irq] = 0;

60036_xen3-patch-2.6.30.patch1 line 18283

+#ifdef CONFIG_SPARSE_IRQ
+int __init arch_probe_nr_irqs(void)
+{
+ int nr;
+
+ if (nr_irqs > (NR_VECTORS * nr_cpu_ids))
+ nr_irqs = NR_VECTORS * nr_cpu_ids;


in 2.6.30 Andy's patch set allows to build working xenified 2.6.30.1 kernel
been tested on Q9550,C2D E8400 boxes.

Boris.

--- On Fri, 7/10/09, Jan Beulich <JBeulich@xxxxxxxxxx> wrote:

From: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] 2.6.30 dom0 Xen patches
To: "Andrew Lyon" <andrew.lyon@xxxxxxxxx>, "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Friday, July 10, 2009, 8:52 AM

>>> Boris Derzhavets <bderzhavets@xxxxxxxxx> 10.07.09 14:40 >>>
>I still believe in 60035_xen3-patch-2.6.29.patch1 line 11568 
>
>+#ifdef CONFIG_SPARSE_IRQ
>+                       irq_to_desc(irq)->kstat_irqs[cpu] = 0;
>+#else
>                        kstat_cpu(cpu).irqs[irq] = 0;
>
>causes a problem.

Sure - that's what I keep telling you: This needs to be replaced by
CONFIG_GENERIC_HARDIRQS in the .30 patch.

Oh, I think I now understand what you first did: You apparently replaced
the *other* +#ifdef CONFIG_SPARSE_IRQ in the .30 patch - that's wrong.
You need to make the .30 patch *additionally* make the change indicated
above. (Of course, you could do that in the .29 patch right away, but then
your .29 patch will no longer properly reflect what's needed for that version
to build and/or work right.)

Jan

--- On Sat, 7/11/09, Michael Ralston <michael@xxxxxxxxxxxxx> wrote:

From: Michael Ralston <michael@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] 2.6.30.1 dom0 Xen patches
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Saturday, July 11, 2009, 10:11 PM

I've tried it with the 2.6.30-50 patches and your config, with
hypervisor 3.3.0, 3.3.1, 3.4.0, 3.4.1-rc6, and also with suse kernel
2.6.30-53.

None of those options work on my system. Only working configs I've
found so far is:
2.6.27.26-6.1 from a suse src.rpm (however didn't support the version
of ext4 on my hard drive)
2.6.29.6-xen.aka.suse-xenified-2.6.29-62.1-rebased.patches.by.andrew.lyon
w/ hypervisor 3.3 and 3.4
2.6-xen.pv_ops by jeremy w/ hypervisor 3.4.0 and 3.4.1-rc6

I also tried 2.6.18-157.el5 but couldn't get it to build. It is meant
to support the current version of ext4.

It's curious that nvidia drivers worked for andrew lyon in this
mailing list post: http://markmail.org/thread/hdqec5ocwfsnrxkh

-- Michael


On Thu, Jul 9, 2009 at 8:03 PM, Boris Derzhavets<bderzhavets@xxxxxxxxx> wrote:
> No dependency changing ,apply Andy's 2.6.30 patch set as it is.
> Tune 2.6.30.1 kernel to support Xen Dom0 per Suse
> Set mannualy  CONFIG_SPARSE_IRQ=y in .config. Build and see what happens.
> I'll send my working .config from Q9550 box by the end of the day
>
> Boris
>
> --- On Thu, 7/9/09, Michael Ralston <michael@xxxxxxxxxxxxx> wrote:
>
> From: Michael Ralston <michael@xxxxxxxxxxxxx>
> Subject: Re: [Xen-users] 2.6.30.1 dom0 Xen patches
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Date: Thursday, July 9, 2009, 4:10 AM
>
> This is my desktop PC and i'm trying to run linux, solaris, and xp
> together. It's horribly slow with kvm so I thought I'd try xen. I'm
> running 64bit ubuntu 9.04.
>
> I eventually got the rebased suse 2.6.29.6 to boot. Not sure why the
> 2.6.30.1 won't work as I'm using the same kernel config.
>
> However with 2.6.29.6 I still couldn't get my X server to start. I
> just know you're going to tell me you can't help much with that... as
> the video I'm using is a nvidia geforce 7900... and I can't bring
> myself to use the nv driver either :P
>
> I have seen other people that have gotten earlier kernel/xen/nvidia
> drivers to work together.
> http://www.nvnews.net/vbulletin/showthread.php?t=60125   and
> http://www.nvnews.net/vbulletin/showthread.php?t=122900
>
> I'll keep trying!
>
> -- Michael
>
> On Thu, Jul 9, 2009 at 5:18 PM, Boris Derzhavets<bderzhavets@xxxxxxxxx>
> wrote:
>>> I have been able to boot Jeremy Fitzhardinge's pv_ops kernel under
>>> xen, but my X server wouldn't start so I've been trying to get Andrew
>>> Lyon's rebased opensuse patches to work.
>>
>> Why you want local X-server ? Remote one would work via Xvnc.
>>
>> ****************************************
>> 1. Work with PVOPS kernel via VNC
>> ****************************************
>> 1.Install Ubuntu Desktop via tasksel
>> 2. apt-get install vnc4server
>> 3. su - user1
>> 4. vncserver
>> 5. Modify .vnc/xstartup to run /usr/bin/gnome-session and comment out
>> xterm
>> 6. Modify /etc/rc.local
>>    export HOME=/home/user1
>>    vncserver :1 -geometry 1280x1024 -depth 16
>>    exit(0)
>> 7.Reboot into Xen Dom0 with PVOPS kernel
>> 8 Connect via remote desktop :-
>>    vncviewer IP-Dom0:1
>>
>> Would you have problem with network switch install light weight X-windows
>> system . Details here:-
>>
>>
>> http://bderzhavets.wordpress.com/2009/05/30/light-weight-x-windows-system-for-xen-3-5-unstable-dom0-on-top-of-xubuntu-9-04-server/
>>
>> This link is good only for X-windows setup in meantime ( UDEV patches are
>> already in xen-3.4-testing.hg , so the rest of blog is outdated )
>>
>> ***********************************
>> 2. Try Andy's 2.6.29.4 patch set
>> ***********************************
>>
>> Andy is doing very good job. However, it wouldn't be acceptable
>> for production, unless Suse would decide to support him :( .
>> Andy is trying to rebase every next Suse's src rpm for vanilla on his own.
>>
>> Citrix will be always behind PVOPS kernel. That's a point
>>
>> Boris.
>>
>> --- On Thu, 7/9/09, Michael Ralston <michael@xxxxxxxxxxxxx> wrote:
>>
>> From: Michael Ralston <michael@xxxxxxxxxxxxx>
>> Subject: [Xen-users] 2.6.30.1 dom0 Xen patches
>> To: xen-users@xxxxxxxxxxxxxxxxxxx
>> Date: Thursday, July 9, 2009, 12:42 AM
>>
>> I've been trying for several days to get a xen dom0 booting as
>> described on Boris Derzhavets blog.
>>
>> I have been able to boot Jeremy Fitzhardinge's pv_ops kernel under
>> xen, but my X server wouldn't start so I've been trying to get Andrew
>> Lyon's rebased opensuse patches to work.
>>
>> I have asked for help in the freenode ##xen channel but they haven't
>> been able to solve anything. I did find another person experiencing
>> the same problems as me though.
>>
>> I've recorded the boot process on a camera so I could see what was
>> happening as it was so quick. When I boot the 2.6.30.1 patched kernel,
>> it gets up to "Scrubbing Free RAM:..." then reboots. I've tried
>> booting with the noreboot option, and the screen goes black when it
>> reaches "Scrubbing Free RAM:..."
>>
>> It has been suggested to use a serial console to debug my problem, but
>> I don't have access to a pc with a serial port.
>>
>> Attached is my kernel config, and below is the output of cpuinfo and
>> lspci. Let me know if there is anything else I can provide to help.
>>
>> -- /proc/cpuinfo
>> processor    : 0
>> vendor_id    : GenuineIntel
>> cpu family    : 6
>> model        : 15
>> model name    : Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
>> stepping    : 6
>> cpu MHz        : 1596.000
>> cache size    : 2048 KB
>> physical id    : 0
>> siblings    : 2
>> core id        : 0
>> cpu cores    : 2
>> apicid        : 0
>> initial apicid    : 0
>> fpu        : yes
>> fpu_exception    : yes
>> cpuid level    : 10
>> wp        : yes
>> flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
>> cmov
>> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm
>> constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl
>> vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow
>> bogomips    : 4274.06
>> clflush size    : 64
>> cache_alignment    : 64
>> address sizes    : 36 bits physical, 48 bits virtual
>> power management:
>>
>> processor    : 1
>> vendor_id    : GenuineIntel
>> cpu family    : 6
>> model        : 15
>> model name    : Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
>> stepping    : 6
>> cpu MHz        : 1596.000
>> cache size    : 2048 KB
>> physical id    : 0
>> siblings    : 2
>> core id        : 1
>> cpu cores    : 2
>> apicid        : 1
>> initial apicid    : 1
>> fpu        : yes
>> fpu_exception    : yes
>> cpuid level    : 10
>> wp        : yes
>> flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
>> cmov
>> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm
>> constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl
>> vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow
>> bogomips    : 4158.02
>> clflush size    : 64
>> cache_alignment    : 64
>> address sizes    : 36 bits physical, 48 bits virtual
>> power management:
>>
>> -- lspci
>> 00:00.0 Host bridge: Intel Corporation 82975X Memory Controller Hub (rev
>> c0)
>> 00:01.0 PCI bridge: Intel Corporation 82975X PCI Express Root Port (rev
>> c0)
>> 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
>> Definition Audio Controller (rev 01)
>> 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
>> Port 1 (rev 01)
>> 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
>> Port 4 (rev 01)
>> 00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI
>> Express Port 5 (rev 01)
>> 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
>> UHCI Controller #1 (rev 01)
>> 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
>> UHCI Controller #2 (rev 01)
>> 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
>> UHCI Controller #3 (rev 01)
>> 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
>> UHCI Controller #4 (rev 01)
>> 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2
>> EHCI Controller (rev 01)
>> 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
>> 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC
>> Interface Bridge (rev 01)
>> 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE
>> Controller (rev 01)
>> 00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family)
>> SATA AHCI Controller (rev 01)
>> 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller
>> (rev
>> 01)
>> 01:02.0 Multimedia controller: Philips Semiconductors
>> SAA7134/SAA7135HL Video Broadcast Decoder (rev 01)
>> 02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053
>> PCI-E Gigabit Ethernet Controller (rev 20)
>> 03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053
>> PCI-E Gigabit Ethernet Controller (rev 20)
>> 05:00.0 VGA compatible controller: nVidia Corporation G71 [GeForce
>> 7900 GT/GTO] (rev a1)
>>
>>
>> -- Michael
>>
>> -----Inline Attachment Follows-----
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>