Re: [Fedora-xen] rc3 kernel and xen

2011-02-04 Thread Boris Derzhavets
Yes, it works now. But qemu upstream blkback performance is unacceptable slow 
during F14 PV DomU install :-

name="VF14"
memory=2048
disk = ['file:/usr/tmp/disk.img,xvda,w',]
vif = [ 'bridge=br0' ]
kernel = "/home/boris/fedora/vmlinuz"
ramdisk = "/home/boris/fedora/initrd.img"
vcpus=2
on_reboot = 'restart'
on_crash = 'restart'
# xl create -c f14.install
Parsing config file f14.install
Daemon running with PID 3589
    [    0.00] Initializing cgroup subsys cpuset
[    0.00] Initializing cgroup subsys cpu
[    0.00] Linux version 2.6.35.6-45.fc14.x86_64 
(mockbu...@x86-02.phx2.fedoraproject.org) (gcc version 4.5.1 20100924 (Red Hat 
4.5.1-4) (GCC) ) #1 SMP Mon Oct 18 23:57:44 UTC 2010
[    0.00] Command line: 
[    0.00] ACPI in unprivileged domain disabled
[    0.00] BIOS-provided physical RAM map:
[    0.00]  Xen:  - 000a (usable)
[    0.00]  Xen: 000a - 0010 (reserved)
[    0.00]  Xen: 0010 - 8000 (usable)
[    0.00] NX (Execute Disable) protection: active
[    0.00] DMI not present or invalid.
[    0.00] No AGP bridge found
[    0.00] last_pfn = 0x8 max_arch_pfn = 0x4
[    0.00] init_memory_mapping: -8000
[    0.00] RAMDISK: 01e63000 - 058c
[    0.00] No NUMA configuration found
[    0.00] Faking a node at -8000
[    0.00] Initmem setup node 0 -8000
[    0.00]   NODE_DATA [01e42880 - 01e5687f]
[    0.00]   bootmap [05cf6000 -  05d05fff] pages 10
[    0.00] (9/32 early reservations) ==> bootmem [00 - 008000]
[    0.00]   #0 [0005cc3000 - 0005cf6000]   XEN PAGETABLES ==> [0005cc3000 
- 0005cf6000]
[    0.00]   #1 [000100 - 0001e42878]    TEXT DATA BSS ==> [000100 
- 0001e42878]
[    0.00]   #2 [0001e63000 - 00058c]  RAMDISK ==> [0001e63000 
- 00058c]
[    0.00]   #3 [00058c - 0005cc3000]   XEN START INFO ==> [00058c 
- 0005cc3000]
[    0.00]   #4 [001000 - 003000]   TRAMPOLINE ==> [001000 
- 003000]
[    0.00]   #5 [003000 - 007000]  ACPI WAKEUP ==> [003000 
- 007000]
[    0.00]   #6 [10 - 4cd000]  PGTABLE ==> [10 
- 4cd000]
[    0.00]   #7 [0001e42880 - 0001e56880]    NODE_DATA ==> [0001e42880 
- 0001e56880]
[    0.00]   #8 [0005cf6000 - 0005d06000]  BOOTMAP ==> [0005cf6000 
- 0005d06000]
[    0.00] Zone PFN ranges:
[    0.00]   DMA  0x0001 -> 0x1000
[    0.00]   DMA32    0x1000 -> 0x0010
[    0.00]   Normal   empty
[    0.00] Movable zone start PFN for each node
[    0.00] early_node_map[2] active PFN ranges
[    0.00] 0: 0x0001 -> 0x00a0
[    0.00] 0: 0x0100 -> 0x0008
[    0.00] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.00] SMP: Allowing 2 CPUs, 0 hotplug CPUs
[    0.00] No local APIC present
[    0.00] APIC: disable apic facility
[    0.00] APIC: switched to apic NOOP
[    0.00] PM: Registered nosave memory: 000a - 0010
[    0.00] Allocating PCI resources starting at 8000 (gap: 
8000:8000)
[    0.00] Booting paravirtualized kernel on Xen
[    0.00] Xen version: 4.1.0-rc3-pre (preserve-AD)
[    0.00] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:2 
nr_node_ids:1
[    0.00] PERCPU: Embedded 30 pages/cpu @880005d3c000 s90496 r8192 
d24192 u122880
[    0.00] pcpu-alloc: s90496 r8192 d24192 u122880 alloc=30*4096
[    0.00] pcpu-alloc: [0] 0 [0] 1 
[    0.00] Xen: using vcpu_info placement
[    0.00] Built 1 zonelists in Node order, mobility grouping on.  Total 
pages: 516044
[    0.00] Policy zone: DMA32
[    0.00] Kernel command line: 
[    0.00] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.00] Checking aperture...
[    0.00] No AGP bridge found
[    0.00] Memory: 1984848k/2097152k available (4548k kernel code, 388k 
absent, 111916k reserved, 7261k data, 944k init)
[    0.00] SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 
Nodes=1
[    0.00] Hierarchical RCU implementation.
[    0.00]     RCU dyntick-idle grace-period acceleration is enabled.
[    0.00]     RCU-based detection of stalled CPUs is disabled.
[    0.00]     Verbose stalled-CPUs detection is disabled.
[    0.00] NR_IRQS:16640 nr_irqs:288
[    0.00] Console: colour dummy device 80x25
[    0.00] console [tty0] enabled
[    0.00] console [hvc0] enabled
[    0.00] allocated 20971520 bytes of page_cgroup
[    0.00] please try 'cgroup_disable=memory' option if you don't want 
memory cgroups
[    0.00] installing Xen timer for CPU 0
[    0.00] Detected 2833.038 MH

Re: [Fedora-xen] rc3 kernel and xen

2011-02-03 Thread M A Young
On Wed, 2 Feb 2011, Itamar Reis Peixoto wrote:

> it doesn`t install well in my fc15 box.
>
> I have tried to rebuild it and fails.
>
> are you able to build it for fc15 for me ?

I had no problems rebuilding it for F15. The result is at 
http://koji.fedoraproject.org/koji/taskinfo?taskID=2760578

Michael Young
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] rc3 kernel and xen

2011-02-03 Thread Digimer
On 02/03/2011 10:10 AM, Digimer wrote:
>> Try with kernel-2.6.38-0.rc3.git0.1.fc15 at
>> http://koji.fedoraproject.org/koji/buildinfo?buildID=216558 (the latest
>> regular rawhide kernel, though a later was is currently being built).
>> If that shows the same behaviour you can probably file a bug somewhere
>> (eg. http://bugzilla.redhat.com/ ) because it will be a Fedora or
>> mainline kernel issue.
>>
>> Michael Young
> 
> Will do, and will report.

Booted the stock kernel above, and it slept and powered off cleanly, no
jitters and cpu frequency scaling worked. Same with your xen'ified
kernel when /not/ running through kernel=xen.gz.

-- 
Digimer
E-Mail: digi...@alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] rc3 kernel and xen

2011-02-03 Thread Digimer
On 02/03/2011 10:04 AM, M A Young wrote:
> On Thu, 3 Feb 2011, Digimer wrote:
> 
>> On 02/03/2011 08:28 AM, Digimer wrote:
>>> On 02/02/2011 11:02 PM, Digimer wrote:
>>> Another note; When I tried to sleep the machine, it hung. Screen went
>>> dark and the power button pulsed. I had to hard-reset the machine. :)
>>
>> Yet another; Normal power-off hung as well. Had to cold-boot the laptop.
>> In case it matters, it's a Thinkpad T400s.
>>
>> note: taken under the plain kernel, not while booting via xen.
>>
>> lspci: http://pastebin.com/D5QJpb2b
>> dmidecode: http://pastebin.com/mRMhragn
>> cpuinfo: http://pastebin.com/P1hS8AYa
>> uname: Linux lework.alteeve.com 2.6.38-0.rc3.git0.1.xendom0.fc15.x86_64
>> #1 SMP Tue Feb 1 23:35:33 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
> 
> Try with kernel-2.6.38-0.rc3.git0.1.fc15 at
> http://koji.fedoraproject.org/koji/buildinfo?buildID=216558 (the latest
> regular rawhide kernel, though a later was is currently being built).
> If that shows the same behaviour you can probably file a bug somewhere
> (eg. http://bugzilla.redhat.com/ ) because it will be a Fedora or
> mainline kernel issue.
> 
> Michael Young

I should mention; running the same kernel without the Xen microkernel
works fine. I can suspend, power off and I don't experience the jitters.
I'll still install this though, to be certain.

-- 
Digimer
E-Mail: digi...@alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] rc3 kernel and xen

2011-02-03 Thread Digimer
On 02/03/2011 10:04 AM, M A Young wrote:
> On Thu, 3 Feb 2011, Digimer wrote:
> 
>> On 02/03/2011 08:28 AM, Digimer wrote:
>>> On 02/02/2011 11:02 PM, Digimer wrote:
>>> Another note; When I tried to sleep the machine, it hung. Screen went
>>> dark and the power button pulsed. I had to hard-reset the machine. :)
>>
>> Yet another; Normal power-off hung as well. Had to cold-boot the laptop.
>> In case it matters, it's a Thinkpad T400s.
>>
>> note: taken under the plain kernel, not while booting via xen.
>>
>> lspci: http://pastebin.com/D5QJpb2b
>> dmidecode: http://pastebin.com/mRMhragn
>> cpuinfo: http://pastebin.com/P1hS8AYa
>> uname: Linux lework.alteeve.com 2.6.38-0.rc3.git0.1.xendom0.fc15.x86_64
>> #1 SMP Tue Feb 1 23:35:33 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
> 
> Try with kernel-2.6.38-0.rc3.git0.1.fc15 at
> http://koji.fedoraproject.org/koji/buildinfo?buildID=216558 (the latest
> regular rawhide kernel, though a later was is currently being built).
> If that shows the same behaviour you can probably file a bug somewhere
> (eg. http://bugzilla.redhat.com/ ) because it will be a Fedora or
> mainline kernel issue.
> 
> Michael Young

Will do, and will report.

-- 
Digimer
E-Mail: digi...@alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] rc3 kernel and xen

2011-02-03 Thread M A Young
On Thu, 3 Feb 2011, Digimer wrote:

> On 02/03/2011 08:28 AM, Digimer wrote:
>> On 02/02/2011 11:02 PM, Digimer wrote:
>> Another note; When I tried to sleep the machine, it hung. Screen went
>> dark and the power button pulsed. I had to hard-reset the machine. :)
>
> Yet another; Normal power-off hung as well. Had to cold-boot the laptop.
> In case it matters, it's a Thinkpad T400s.
>
> note: taken under the plain kernel, not while booting via xen.
>
> lspci: http://pastebin.com/D5QJpb2b
> dmidecode: http://pastebin.com/mRMhragn
> cpuinfo: http://pastebin.com/P1hS8AYa
> uname: Linux lework.alteeve.com 2.6.38-0.rc3.git0.1.xendom0.fc15.x86_64
> #1 SMP Tue Feb 1 23:35:33 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Try with kernel-2.6.38-0.rc3.git0.1.fc15 at 
http://koji.fedoraproject.org/koji/buildinfo?buildID=216558 (the latest 
regular rawhide kernel, though a later was is currently being built).
If that shows the same behaviour you can probably file a bug somewhere 
(eg. http://bugzilla.redhat.com/ ) because it will be a Fedora or mainline 
kernel issue.

Michael Young
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] rc3 kernel and xen

2011-02-03 Thread Digimer
On 02/03/2011 08:28 AM, Digimer wrote:
> On 02/02/2011 11:02 PM, Digimer wrote:
>> First blush (no domUs yet)
>> - dom0 boots with >2GB RAM
>> - dom0 boots with encrypted root partition.
>> - CPU frequency scaling /doesn't/ work (Intel Core2Duo P9400)
>> - There seems to be a UI lag somewhere. Windows and key-presses seem to
>> occasionally "stall" (<1 sec at worst). Not serious, and possibly my
>> imagination.
>>
>> All in all, this is the first 2.6.37+ dom0 that even booted using the
>> xen hypervisor. That makes it, for me, a huge improvement. :D I'll try
>> provisioning a couple domUs for further testing.
>>
>> Thanks for the hard work, it really is appreciated!
> 
> Another note; When I tried to sleep the machine, it hung. Screen went
> dark and the power button pulsed. I had to hard-reset the machine. :)

Yet another; Normal power-off hung as well. Had to cold-boot the laptop.
In case it matters, it's a Thinkpad T400s.

note: taken under the plain kernel, not while booting via xen.

lspci: http://pastebin.com/D5QJpb2b
dmidecode: http://pastebin.com/mRMhragn
cpuinfo: http://pastebin.com/P1hS8AYa
uname: Linux lework.alteeve.com 2.6.38-0.rc3.git0.1.xendom0.fc15.x86_64
#1 SMP Tue Feb 1 23:35:33 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

-- 
Digimer
E-Mail: digi...@alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] rc3 kernel and xen

2011-02-03 Thread Digimer
On 02/02/2011 11:02 PM, Digimer wrote:
> First blush (no domUs yet)
> - dom0 boots with >2GB RAM
> - dom0 boots with encrypted root partition.
> - CPU frequency scaling /doesn't/ work (Intel Core2Duo P9400)
> - There seems to be a UI lag somewhere. Windows and key-presses seem to
> occasionally "stall" (<1 sec at worst). Not serious, and possibly my
> imagination.
> 
> All in all, this is the first 2.6.37+ dom0 that even booted using the
> xen hypervisor. That makes it, for me, a huge improvement. :D I'll try
> provisioning a couple domUs for further testing.
> 
> Thanks for the hard work, it really is appreciated!

Another note; When I tried to sleep the machine, it hung. Screen went
dark and the power button pulsed. I had to hard-reset the machine. :)

-- 
Digimer
E-Mail: digi...@alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] rc3 kernel and xen

2011-02-02 Thread Digimer
On 02/02/2011 05:43 PM, M A Young wrote:
> I have builds of a new dom0 kernel (2.6.38-0.rc3.git0.1.xendom0.fc15) at
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2755802 and xen 
> (4.1.0-0.1.rc3.fc14) at 
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2753907
> 
> You may need one or both of the following hacks
> 
> Edit /etc/init.d/xenstored replacing the line
> XENSTORED_PID="/var/run/xenstore.pid"
> with
> XENSTORED_PID="/var/run/xenstored.pid"
> (I didn't notice they had changed the name of this file until after I 
> tested the xen packages)
> 
> Edit /etc/sysconfig/modules/xen.modules to remove xen-netback from the 
> list of modules in the for loop then add
> modprobe xen-netback netback_kthread=1
> to the end of the file. The xen-netback module in xen/next-2.6.38 when I 
> built the kernel still needed some work and setting this value makes it 
> less likely to throw up backtraces if you try to use it.
> 
>   Michael Young

First blush (no domUs yet)
- dom0 boots with >2GB RAM
- dom0 boots with encrypted root partition.
- CPU frequency scaling /doesn't/ work (Intel Core2Duo P9400)
- There seems to be a UI lag somewhere. Windows and key-presses seem to
occasionally "stall" (<1 sec at worst). Not serious, and possibly my
imagination.

All in all, this is the first 2.6.37+ dom0 that even booted using the
xen hypervisor. That makes it, for me, a huge improvement. :D I'll try
provisioning a couple domUs for further testing.

Thanks for the hard work, it really is appreciated!

-- 
Digimer
E-Mail: digi...@alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] rc3 kernel and xen

2011-02-02 Thread W. Michael Petullo
On Wed, Feb 02, 2011 at 10:43:18PM +, M A Young wrote:
> I have builds of a new dom0 kernel (2.6.38-0.rc3.git0.1.xendom0.fc15) at
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2755802 and xen 
> (4.1.0-0.1.rc3.fc14) at 
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2753907

Here is some feedback.

Seems fixed:

Red Hat bug #669484, Xen's network-route and vif-route scripts broken

Rsync crash (sent a photograph of kernel panic, but didn't see
it get to the list)

Still broken:

Xen bug #1733, vif-route does not support IPv6

Power management and halt,
http://lists.fedoraproject.org/pipermail/xen/2011-January/005328.html

-- 
Mike

:wq
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] rc3 kernel and xen

2011-02-02 Thread Itamar Reis Peixoto
>>
>> why the kernel is fc15 and xen is fc14 ?
>
> You are right, it isn't very consistent. The kernel is fc15 because it is
> actually a xenified version of current fc15 kernel, though it should work on
> other Fedora versions, and I use it on fc14 without any obvious additional
> problems. The xen package is fc14 because I am guessing that most people are
> still using fc14 and haven't switched to rawhide yet. I haven't tried the
> fc14 xen packages on rawhide, but I am not aware of any big differences that
> would cause them to break.
>
>        Michael Young
>

it doesn`t install well in my fc15 box.

I have tried to rebuild it and fails.

are you able to build it for fc15 for me ?


-- 


Itamar Reis Peixoto
msn, google talk: ita...@ispbrasil.com.br
+55 11 4063 5033 (FIXO SP)
+55 34 9158 9329 (TIM)
+55 34 8806 3989 (OI)
+55 34 3221 8599 (FIXO MG)
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] rc3 kernel and xen

2011-02-02 Thread M A Young
On Wed, 2 Feb 2011, Itamar Reis Peixoto wrote:

> On Wed, Feb 2, 2011 at 8:43 PM, M A Young  wrote:
>> I have builds of a new dom0 kernel (2.6.38-0.rc3.git0.1.xendom0.fc15) at
>> http://koji.fedoraproject.org/koji/taskinfo?taskID=2755802 and xen
>> (4.1.0-0.1.rc3.fc14) at
>> http://koji.fedoraproject.org/koji/taskinfo?taskID=2753907
>>
>> You may need one or both of the following hacks
>>
>
> why the kernel is fc15 and xen is fc14 ?

You are right, it isn't very consistent. The kernel is fc15 because it is 
actually a xenified version of current fc15 kernel, though it should work 
on other Fedora versions, and I use it on fc14 without any 
obvious additional problems. The xen package is fc14 because I am guessing 
that most people are still using fc14 and haven't switched to rawhide yet. 
I haven't tried the fc14 xen packages on rawhide, but I am not aware of 
any big differences that would cause them to break.

Michael Young
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] rc3 kernel and xen

2011-02-02 Thread Itamar Reis Peixoto
On Wed, Feb 2, 2011 at 8:43 PM, M A Young  wrote:
> I have builds of a new dom0 kernel (2.6.38-0.rc3.git0.1.xendom0.fc15) at
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2755802 and xen
> (4.1.0-0.1.rc3.fc14) at
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2753907
>
> You may need one or both of the following hacks
>

why the kernel is fc15 and xen is fc14 ?





Itamar Reis Peixoto
msn, google talk: ita...@ispbrasil.com.br
+55 11 4063 5033 (FIXO SP)
+55 34 9158 9329 (TIM)
+55 34 8806 3989 (OI)
+55 34 3221 8599 (FIXO MG)
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen