Are patches being accepted for the linux-2.6.27-xen.hg tree? Changing the defconfigs so that the proper Xen config options default to on seems like a good start. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 23/12/2008 22:44, "Dan Magenheimer" <dan.magenheimer@oracle.com> wrote:> Are patches being accepted for the linux-2.6.27-xen.hg tree?Yes, patches are welcome. -- Keir> Changing the defconfigs so that the proper Xen config options > default to on seems like a good start._______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir, Dan, is there a way to get download linux-2.6.18-xen.hg sources without using the hg command? I''m facing aborts with the hg command. Plus how do I download linux-2.6.27.hg sources? Bhaskar. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 24/12/2008 08:12, "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@lsi.com> wrote:> Keir, Dan, is there a way to get download linux-2.6.18-xen.hg sources without > using the hg command? I''m facing aborts with the hg command. Plus how do I > download linux-2.6.27.hg sources? > Bhaskar.Mercurial is the only way to get the latest version of the linux-xen trees. There''s a tarball available at http://www.xen.org/download/ but it''s a couple of months old. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thanks Keir, how do I switch off hg clone in make though? I see that simply changing name of the downloaded linux-xen to linux-2.6.18-xen.hg doesn''t help. -----Original Message----- From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] Sent: Wednesday, December 24, 2008 2:26 PM To: Jayaraman, Bhaskar; Dan Magenheimer; Xen-Devel (E-mail) Subject: Re: linux-2.6.18-xen.hg On 24/12/2008 08:12, "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@lsi.com> wrote:> Keir, Dan, is there a way to get download linux-2.6.18-xen.hg sources without > using the hg command? I''m facing aborts with the hg command. Plus how do I > download linux-2.6.27.hg sources? > Bhaskar.Mercurial is the only way to get the latest version of the linux-xen trees. There''s a tarball available at http://www.xen.org/download/ but it''s a couple of months old. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
If you have a linux-2.6.18-xen.hg adjacent to your Xen tree then that should avoid an ''hg clone''. I have a permanently checked out linux tree and never trigger hg clone during build. -- Keir On 24/12/2008 09:16, "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@lsi.com> wrote:> Thanks Keir, how do I switch off hg clone in make though? I see that simply > changing name of the downloaded linux-xen to linux-2.6.18-xen.hg doesn''t help. > > -----Original Message----- > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > Sent: Wednesday, December 24, 2008 2:26 PM > To: Jayaraman, Bhaskar; Dan Magenheimer; Xen-Devel (E-mail) > Subject: Re: linux-2.6.18-xen.hg > > On 24/12/2008 08:12, "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@lsi.com> wrote: > >> Keir, Dan, is there a way to get download linux-2.6.18-xen.hg sources without >> using the hg command? I''m facing aborts with the hg command. Plus how do I >> download linux-2.6.27.hg sources? >> Bhaskar. > > Mercurial is the only way to get the latest version of the linux-xen trees. > > There''s a tarball available at http://www.xen.org/download/ but it''s a > couple of months old. > > -- Keir > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2008-Dec-24 09:32 UTC
[Xen-devel] Attempt of straightforward install Intrepid Server PV DomU at Xen 3.3.1-rc4 CentOS 5.2 Dom0
[root@ServerXen34 vm]# cat intrepid.cfg name="IntrepidPV" memory=2048 disk = [''file:/etc/xen/isos/intrepid.iso,xvdb:cdrom,r'', ''phy:/dev/sda6,xvda,w'' ] vif = [ ''bridge=eth0'' ] bootloader = "/usr/bin/pygrub" kernel = "/install/vmlinuz" ramdisk = "/install/initrd.gz" vcpus=1 on_reboot = "restart" on_crash = "restart" [root@ServerXen34 vm]# xm create -c intrepid.cfg Using config file "./intrepid.cfg". Started domain IntrepidPV [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.27-7-generic (buildd@yellow) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu10) ) #1 SMP Fri Oct 24 06:40:41 UTC 2008 (Ubuntu 2.6.27-7.14-generic) [ 0.000000] Command line: [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] ACPI in unprivileged domain disabled [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable) [ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved) [ 0.000000] Xen: 0000000000100000 - 000000000193a000 (usable) [ 0.000000] Xen: 000000000193a000 - 0000000001d3d000 (reserved) [ 0.000000] Xen: 0000000001d3d000 - 0000000080000000 (usable) [ 0.000000] last_pfn = 0x80000 max_arch_pfn = 0x3ffffffff [ 0.000000] init_memory_mapping [ 0.000000] last_map_addr: 80000000 end: 80000000 [ 0.000000] RAMDISK: 008b9000 - 0193a000 [ 0.000000] DMI not present or invalid. [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at 0000000000000000-0000000080000000 [ 0.000000] Bootmem setup node 0 0000000000000000-0000000080000000 [ 0.000000] NODE_DATA [0000000000001000 - 0000000000005fff] [ 0.000000] bootmap [0000000000008000 - 0000000000017fff] pages 10 [ 0.000000] (6 early reservations) ==> bootmem [0000000000 - 0080000000] [ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] [ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000] [ 0.000000] #2 [0001d3d000 - 0001d50000] XEN PAGETABLES ==> [0001d3d000 - 0001d50000] [ 0.000000] #3 [0000200000 - 00008b8f9c] TEXT DATA BSS ==> [0000200000 - 00008b8f9c] [ 0.000000] #4 [00008b9000 - 000193a000] RAMDISK ==> [00008b9000 - 000193a000] [ 0.000000] #5 [0001d50000 - 000213d000] PGTABLE ==> [0001d50000 - 000213d000] [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000000 -> 0x00001000 [ 0.000000] DMA32 0x00001000 -> 0x00100000 [ 0.000000] Normal 0x00100000 -> 0x00100000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[3] active PFN ranges [ 0.000000] 0: 0x00000000 -> 0x000000a0 [ 0.000000] 0: 0x00000100 -> 0x0000193a [ 0.000000] 0: 0x00001d3d -> 0x00080000 [ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs [ 0.000000] No local APIC present [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000 [ 0.000000] PM: Registered nosave memory: 000000000193a000 - 0000000001d3d000 [ 0.000000] Allocating PCI resources starting at 88000000 (gap: 80000000:80000000) [ 0.000000] PERCPU: Allocating 64928 bytes of per cpu data [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 513250 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: [ 0.000000] Initializing CPU#0 [ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes) [ 0.000000] Detected 3005.554 MHz processor. [ 0.004000] Console: colour dummy device 80x25 [ 0.004000] console [tty0] enabled [ 0.004000] console [hvc0] enabled [ 0.004000] Checking aperture... [ 0.004000] No AGP bridge found [ 0.004000] Memory: 2031704k/2097152k available (3112k kernel code, 60956k reserved, 1575k data, 536k init) [ 0.004000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.004000] installing Xen timer for CPU 0 [ 0.004000] Calibrating delay loop (skipped), value calculated using timer frequency.. 6011.10 BogoMIPS (lpj=12022216) [ 0.004000] Security Framework initialized [ 0.004000] SELinux: Disabled at boot. [ 0.004000] AppArmor: AppArmor initialized [ 0.004000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.004000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.004000] Mount-cache hash table entries: 256 [ 0.004000] Initializing cgroup subsys ns [ 0.004000] Initializing cgroup subsys cpuacct [ 0.004000] Initializing cgroup subsys memory [ 0.004000] CPU: L1 I cache: 32K, L1 D cache: 32K [ 0.004000] CPU: L2 cache: 6144K [ 0.004000] CPU 0/0 -> Node 0 [ 0.004000] CPU: Physical Processor ID: 0 [ 0.004000] CPU: Processor Core ID: 0 [ 0.004000] SMP alternatives: switching to UP code [ 0.015314] Freeing SMP alternatives: 24k freed [ 0.015367] cpu 0 spinlock event irq 1 [ 0.015437] Brought up 1 CPUs [ 0.015716] net_namespace: 1552 bytes [ 0.015722] Booting paravirtualized kernel on Xen [ 0.015725] Xen version: 3.3.1-rc4 (preserve-AD) [ 0.015828] Grant table initialized [ 0.035676] Time: 165:165:165 Date: 165/165/65 [ 0.035700] NET: Registered protocol family 16 [ 0.036127] PCI: Fatal: No config space access function found [ 0.036791] ACPI: Interpreter disabled. [ 0.036796] Linux Plug and Play Support v0.97 (c) Adam Belay [ 0.036829] pnp: PnP ACPI: disabled [ 0.036838] xen_balloon: Initialising balloon driver. [ 0.036838] PCI: System does not support PCI [ 0.036838] PCI: System does not support PCI [ 0.048048] NET: Registered protocol family 8 [ 0.048052] NET: Registered protocol family 20 [ 0.048085] NetLabel: Initializing [ 0.048089] NetLabel: domain hash size = 128 [ 0.048092] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.048105] NetLabel: unlabeled traffic allowed by default [ 0.048111] PCI-GART: No AMD northbridge found. [ 0.048430] tracer: 1286 pages allocated for 65536 entries of 80 bytes [ 0.048434] actual entries 65586 [ 0.048498] AppArmor: AppArmor Filesystem Enabled [ 0.048886] NET: Registered protocol family 2 [ 0.084094] IP route cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.084747] TCP established hash table entries: 262144 (order: 10, 4194304 bytes) [ 0.086045] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [ 0.086353] TCP: Hash tables configured (established 262144 bind 65536) [ 0.086358] TCP reno registered [ 0.096065] NET: Registered protocol family 1 [ 0.096143] checking if image is initramfs... it is [ 0.111423] Freeing initrd memory: 16900k freed [ 0.116756] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.117163] audit: initializing netlink socket (disabled) [ 0.117178] type=2000 audit(1230110523.385:1): initialized [ 0.121228] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.123254] VFS: Disk quotas dquot_6.5.1 [ 0.123321] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.123401] msgmni has been set to 4129 [ 0.123487] io scheduler noop registered [ 0.123491] io scheduler anticipatory registered [ 0.123495] io scheduler deadline registered [ 0.184152] io scheduler cfq registered (default) [ 0.210999] Linux agpgart interface v0.103 [ 0.211043] Serial: 8250/16550 driver4 ports, IRQ sharing enabled [ 0.213209] brd: module loaded [ 0.213272] input: Macintosh mouse button emulation as /devices/virtual/input/input0 [ 0.213418] PNP: No PS/2 controller found. Probing ports directly. [ 0.214240] i8042.c: No controller found. [ 0.220124] mice: PS/2 mouse device common for all mice [ 0.220168] rtc_cmos: probe of rtc_cmos failed with error -16 [ 0.220239] cpuidle: using governor ladder [ 0.220243] cpuidle: using governor menu Entering installer and proceed until :- In order to access your CD-ROM drive, please enter the device file │ that should be used. Non-standard CD-ROM drives use non-standard │ device files (such as /dev/mcdx). │ │ You may switch to the shell on the second terminal (ALT+F2) to check │ the available devices in /dev with "ls /dev". You can return to this │ screen by pressing ALT+F1. │ │ Device file for accessing the CD-ROM: │ │ /dev/xvdb______________________________ │ <Continue> At this point, regardless "xm list -l IntrepidPV" shows :- (device (vbd (protocol x86_64-abi) (uuid 36c7e8ad-3698-cbac-120c-6ffaf96c3be1) (dev xvdb:cdrom) (uname file:/etc/xen/isos/intrepid.iso) (mode r) (backend 0) (bootable 1) (VDI ) ) Installer fails to detect CD-ROM device. Droping to shell and "ls -l /dev" also doesn''t report device /dev/xvdb present. Hardware - C2D box. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir, so far I''ve been putting the linux-2.6.18-xen.hg directory inside the xen directory. With your suggestion I tried it having adjacent to it, i.e. in the same level as the xen directory is, if that''s what you meant. That also resulted in make dist trying to do an "hg clone", which isn''t working in my case and hence all the pain that I''m going through. So I did the next best thing commented out the following lines from "xen-3.3.0/buildconfigs/src.hg-clone": #XEN_LINUX_HGREV ?= tip #__repo=$(XEN_LINUX_HGREPO) ; \ #ln -s $${__repo} $(LINUX_SRCDIR) ; \ #$(HG) clone $${__repo#file://} $(LINUX_SRCDIR) ; \ #__parent=$$($(HG) -R $(LINUX_SRCDIR) path default) ; \ #$(HG) -R $(LINUX_SRCDIR) pull $${__parent} ; \ The build is proceeding fine now. Thanks, Bhaskar. -----Original Message----- From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] Sent: Wednesday, December 24, 2008 2:51 PM To: Jayaraman, Bhaskar; Dan Magenheimer; Xen-Devel (E-mail) Subject: Re: linux-2.6.18-xen.hg If you have a linux-2.6.18-xen.hg adjacent to your Xen tree then that should avoid an ''hg clone''. I have a permanently checked out linux tree and never trigger hg clone during build. -- Keir On 24/12/2008 09:16, "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@lsi.com> wrote:> Thanks Keir, how do I switch off hg clone in make though? I see that simply > changing name of the downloaded linux-xen to linux-2.6.18-xen.hg doesn''t help. > > -----Original Message----- > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > Sent: Wednesday, December 24, 2008 2:26 PM > To: Jayaraman, Bhaskar; Dan Magenheimer; Xen-Devel (E-mail) > Subject: Re: linux-2.6.18-xen.hg > > On 24/12/2008 08:12, "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@lsi.com> wrote: > >> Keir, Dan, is there a way to get download linux-2.6.18-xen.hg sources without >> using the hg command? I''m facing aborts with the hg command. Plus how do I >> download linux-2.6.27.hg sources? >> Bhaskar. > > Mercurial is the only way to get the latest version of the linux-xen trees. > > There''s a tarball available at http://www.xen.org/download/ but it''s a > couple of months old. > > -- Keir > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I''ve also had success by using something like: HG=echo make ...> -----Original Message----- > From: Jayaraman, Bhaskar [mailto:Bhaskar.Jayaraman@lsi.com] > Sent: Wednesday, December 24, 2008 2:38 AM > To: Keir Fraser; Dan Magenheimer; Xen-Devel (E-mail) > Subject: RE: linux-2.6.18-xen.hg > > > Keir, so far I''ve been putting the linux-2.6.18-xen.hg > directory inside the xen directory. With your suggestion I > tried it having adjacent to it, i.e. in the same level as the > xen directory is, if that''s what you meant. That also > resulted in make dist trying to do an "hg clone", which isn''t > working in my case and hence all the pain that I''m going through. > > So I did the next best thing commented out the following > lines from "xen-3.3.0/buildconfigs/src.hg-clone": > > #XEN_LINUX_HGREV ?= tip > #__repo=$(XEN_LINUX_HGREPO) ; \ > #ln -s $${__repo} $(LINUX_SRCDIR) ; \ > #$(HG) clone $${__repo#file://} $(LINUX_SRCDIR) ; \ > #__parent=$$($(HG) -R $(LINUX_SRCDIR) path default) ; \ > #$(HG) -R $(LINUX_SRCDIR) pull $${__parent} ; \ > > The build is proceeding fine now. > > Thanks, > Bhaskar. > > -----Original Message----- > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > Sent: Wednesday, December 24, 2008 2:51 PM > To: Jayaraman, Bhaskar; Dan Magenheimer; Xen-Devel (E-mail) > Subject: Re: linux-2.6.18-xen.hg > > If you have a linux-2.6.18-xen.hg adjacent to your Xen tree > then that should > avoid an ''hg clone''. I have a permanently checked out linux > tree and never > trigger hg clone during build. > > -- Keir > > On 24/12/2008 09:16, "Jayaraman, Bhaskar" > <Bhaskar.Jayaraman@lsi.com> wrote: > > > Thanks Keir, how do I switch off hg clone in make though? I > see that simply > > changing name of the downloaded linux-xen to > linux-2.6.18-xen.hg doesn''t help. > > > > -----Original Message----- > > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > > Sent: Wednesday, December 24, 2008 2:26 PM > > To: Jayaraman, Bhaskar; Dan Magenheimer; Xen-Devel (E-mail) > > Subject: Re: linux-2.6.18-xen.hg > > > > On 24/12/2008 08:12, "Jayaraman, Bhaskar" > <Bhaskar.Jayaraman@lsi.com> wrote: > > > >> Keir, Dan, is there a way to get download > linux-2.6.18-xen.hg sources without > >> using the hg command? I''m facing aborts with the hg > command. Plus how do I > >> download linux-2.6.27.hg sources? > >> Bhaskar. > > > > Mercurial is the only way to get the latest version of the > linux-xen trees. > > > > There''s a tarball available at http://www.xen.org/download/ > but it''s a > > couple of months old. > > > > -- Keir > > > > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Also, if you are having problems with hg, one likely failure for which the symptoms do not clearly point to the problem is if your proxy is not properly set. Try firefox or mozilla (or if you have no GUI wget or elinks) or something like that... if none of those work, its likely a proxy problem. If you can identify a working proxy, do: export http_proxy=http://my.proxy.com:nnnn and try again and hg might work fine. (I always put this in /bin/bashrc of every VM I create as I kept thinking my network was down everytime hg clone seemed to hang :-)> -----Original Message----- > From: Jayaraman, Bhaskar [mailto:Bhaskar.Jayaraman@lsi.com] > Sent: Wednesday, December 24, 2008 2:38 AM > To: Keir Fraser; Dan Magenheimer; Xen-Devel (E-mail) > Subject: RE: linux-2.6.18-xen.hg > > > Keir, so far I''ve been putting the linux-2.6.18-xen.hg > directory inside the xen directory. With your suggestion I > tried it having adjacent to it, i.e. in the same level as the > xen directory is, if that''s what you meant. That also > resulted in make dist trying to do an "hg clone", which isn''t > working in my case and hence all the pain that I''m going through. > > So I did the next best thing commented out the following > lines from "xen-3.3.0/buildconfigs/src.hg-clone": > > #XEN_LINUX_HGREV ?= tip > #__repo=$(XEN_LINUX_HGREPO) ; \ > #ln -s $${__repo} $(LINUX_SRCDIR) ; \ > #$(HG) clone $${__repo#file://} $(LINUX_SRCDIR) ; \ > #__parent=$$($(HG) -R $(LINUX_SRCDIR) path default) ; \ > #$(HG) -R $(LINUX_SRCDIR) pull $${__parent} ; \ > > The build is proceeding fine now. > > Thanks, > Bhaskar. > > -----Original Message----- > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > Sent: Wednesday, December 24, 2008 2:51 PM > To: Jayaraman, Bhaskar; Dan Magenheimer; Xen-Devel (E-mail) > Subject: Re: linux-2.6.18-xen.hg > > If you have a linux-2.6.18-xen.hg adjacent to your Xen tree > then that should > avoid an ''hg clone''. I have a permanently checked out linux > tree and never > trigger hg clone during build. > > -- Keir > > On 24/12/2008 09:16, "Jayaraman, Bhaskar" > <Bhaskar.Jayaraman@lsi.com> wrote: > > > Thanks Keir, how do I switch off hg clone in make though? I > see that simply > > changing name of the downloaded linux-xen to > linux-2.6.18-xen.hg doesn''t help. > > > > -----Original Message----- > > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > > Sent: Wednesday, December 24, 2008 2:26 PM > > To: Jayaraman, Bhaskar; Dan Magenheimer; Xen-Devel (E-mail) > > Subject: Re: linux-2.6.18-xen.hg > > > > On 24/12/2008 08:12, "Jayaraman, Bhaskar" > <Bhaskar.Jayaraman@lsi.com> wrote: > > > >> Keir, Dan, is there a way to get download > linux-2.6.18-xen.hg sources without > >> using the hg command? I''m facing aborts with the hg > command. Plus how do I > >> download linux-2.6.27.hg sources? > >> Bhaskar. > > > > Mercurial is the only way to get the latest version of the > linux-xen trees. > > > > There''s a tarball available at http://www.xen.org/download/ > but it''s a > > couple of months old. > > > > -- Keir > > > > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dan Magenheimer
2008-Dec-24 16:20 UTC
[Xen-devel] [PATCHl] [linux-2.6.27-xen.hg] default config should enable needed xen config parameters
There''s probably a better way to do this but the attached one-line change works. My goal is to be able to do: yes "" | make config CONFIGMODE=oldconfig make on a freshly cloned tree. (I know this isn''t recommended but it saves blindly hitting enter a million times, which is what I otherwise do anyway :-) Dan> -----Original Message----- > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > Sent: Wednesday, December 24, 2008 12:59 AM > To: Dan Magenheimer; Xen-Devel (E-mail) > Subject: Re: [Xen-devel] linux-2.6.27-xen.hg > > > On 23/12/2008 22:44, "Dan Magenheimer" > <dan.magenheimer@oracle.com> wrote: > > > Are patches being accepted for the linux-2.6.27-xen.hg tree? > > Yes, patches are welcome. > > -- Keir > > > Changing the defconfigs so that the proper Xen config options > > default to on seems like a good start. > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thanks Dan, my proxy is working fine with everything else like yum etc. but hg alone fails. I think the server''s taking too many connections. Bhaskar. ________________________________________ From: Dan Magenheimer [dan.magenheimer@oracle.com] Sent: Wednesday, December 24, 2008 8:50 AM To: Jayaraman, Bhaskar; Keir Fraser; Xen-Devel (E-mail) Subject: RE: linux-2.6.18-xen.hg I''ve also had success by using something like: HG=echo make ...> -----Original Message----- > From: Jayaraman, Bhaskar [mailto:Bhaskar.Jayaraman@lsi.com] > Sent: Wednesday, December 24, 2008 2:38 AM > To: Keir Fraser; Dan Magenheimer; Xen-Devel (E-mail) > Subject: RE: linux-2.6.18-xen.hg > > > Keir, so far I''ve been putting the linux-2.6.18-xen.hg > directory inside the xen directory. With your suggestion I > tried it having adjacent to it, i.e. in the same level as the > xen directory is, if that''s what you meant. That also > resulted in make dist trying to do an "hg clone", which isn''t > working in my case and hence all the pain that I''m going through. > > So I did the next best thing commented out the following > lines from "xen-3.3.0/buildconfigs/src.hg-clone": > > #XEN_LINUX_HGREV ?= tip > #__repo=$(XEN_LINUX_HGREPO) ; \ > #ln -s $${__repo} $(LINUX_SRCDIR) ; \ > #$(HG) clone $${__repo#file://} $(LINUX_SRCDIR) ; \ > #__parent=$$($(HG) -R $(LINUX_SRCDIR) path default) ; \ > #$(HG) -R $(LINUX_SRCDIR) pull $${__parent} ; \ > > The build is proceeding fine now. > > Thanks, > Bhaskar. > > -----Original Message----- > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > Sent: Wednesday, December 24, 2008 2:51 PM > To: Jayaraman, Bhaskar; Dan Magenheimer; Xen-Devel (E-mail) > Subject: Re: linux-2.6.18-xen.hg > > If you have a linux-2.6.18-xen.hg adjacent to your Xen tree > then that should > avoid an ''hg clone''. I have a permanently checked out linux > tree and never > trigger hg clone during build. > > -- Keir > > On 24/12/2008 09:16, "Jayaraman, Bhaskar" > <Bhaskar.Jayaraman@lsi.com> wrote: > > > Thanks Keir, how do I switch off hg clone in make though? I > see that simply > > changing name of the downloaded linux-xen to > linux-2.6.18-xen.hg doesn''t help. > > > > -----Original Message----- > > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > > Sent: Wednesday, December 24, 2008 2:26 PM > > To: Jayaraman, Bhaskar; Dan Magenheimer; Xen-Devel (E-mail) > > Subject: Re: linux-2.6.18-xen.hg > > > > On 24/12/2008 08:12, "Jayaraman, Bhaskar" > <Bhaskar.Jayaraman@lsi.com> wrote: > > > >> Keir, Dan, is there a way to get download > linux-2.6.18-xen.hg sources without > >> using the hg command? I''m facing aborts with the hg > command. Plus how do I > >> download linux-2.6.27.hg sources? > >> Bhaskar. > > > > Mercurial is the only way to get the latest version of the > linux-xen trees. > > > > There''s a tarball available at http://www.xen.org/download/ > but it''s a > > couple of months old. > > > > -- Keir > > > > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi, Did you set as follows in .hgrc file? [http_proxy] host = http://localhost:8000/ http://www.selenic.com/pipermail/mercurial/2006-May/008450.html Thanks Atsushi SAKAI "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@lsi.com> wrote:> Thanks Dan, my proxy is working fine with everything else like yum etc. but hg alone fails. I think the server''s taking too many connections. > Bhaskar. > ________________________________________ > From: Dan Magenheimer [dan.magenheimer@oracle.com] > Sent: Wednesday, December 24, 2008 8:50 AM > To: Jayaraman, Bhaskar; Keir Fraser; Xen-Devel (E-mail) > Subject: RE: linux-2.6.18-xen.hg > > I''ve also had success by using something like: > > HG=echo make ... > > > -----Original Message----- > > From: Jayaraman, Bhaskar [mailto:Bhaskar.Jayaraman@lsi.com] > > Sent: Wednesday, December 24, 2008 2:38 AM > > To: Keir Fraser; Dan Magenheimer; Xen-Devel (E-mail) > > Subject: RE: linux-2.6.18-xen.hg > > > > > > Keir, so far I''ve been putting the linux-2.6.18-xen.hg > > directory inside the xen directory. With your suggestion I > > tried it having adjacent to it, i.e. in the same level as the > > xen directory is, if that''s what you meant. That also > > resulted in make dist trying to do an "hg clone", which isn''t > > working in my case and hence all the pain that I''m going through. > > > > So I did the next best thing commented out the following > > lines from "xen-3.3.0/buildconfigs/src.hg-clone": > > > > #XEN_LINUX_HGREV ?= tip > > #__repo=$(XEN_LINUX_HGREPO) ; \ > > #ln -s $${__repo} $(LINUX_SRCDIR) ; \ > > #$(HG) clone $${__repo#file://} $(LINUX_SRCDIR) ; \ > > #__parent=$$($(HG) -R $(LINUX_SRCDIR) path default) ; \ > > #$(HG) -R $(LINUX_SRCDIR) pull $${__parent} ; \ > > > > The build is proceeding fine now. > > > > Thanks, > > Bhaskar. > > > > -----Original Message----- > > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > > Sent: Wednesday, December 24, 2008 2:51 PM > > To: Jayaraman, Bhaskar; Dan Magenheimer; Xen-Devel (E-mail) > > Subject: Re: linux-2.6.18-xen.hg > > > > If you have a linux-2.6.18-xen.hg adjacent to your Xen tree > > then that should > > avoid an ''hg clone''. I have a permanently checked out linux > > tree and never > > trigger hg clone during build. > > > > -- Keir > > > > On 24/12/2008 09:16, "Jayaraman, Bhaskar" > > <Bhaskar.Jayaraman@lsi.com> wrote: > > > > > Thanks Keir, how do I switch off hg clone in make though? I > > see that simply > > > changing name of the downloaded linux-xen to > > linux-2.6.18-xen.hg doesn''t help. > > > > > > -----Original Message----- > > > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > > > Sent: Wednesday, December 24, 2008 2:26 PM > > > To: Jayaraman, Bhaskar; Dan Magenheimer; Xen-Devel (E-mail) > > > Subject: Re: linux-2.6.18-xen.hg > > > > > > On 24/12/2008 08:12, "Jayaraman, Bhaskar" > > <Bhaskar.Jayaraman@lsi.com> wrote: > > > > > >> Keir, Dan, is there a way to get download > > linux-2.6.18-xen.hg sources without > > >> using the hg command? I''m facing aborts with the hg > > command. Plus how do I > > >> download linux-2.6.27.hg sources? > > >> Bhaskar. > > > > > > Mercurial is the only way to get the latest version of the > > linux-xen trees. > > > > > > There''s a tarball available at http://www.xen.org/download/ > > but it''s a > > > couple of months old. > > > > > > -- Keir > > > > > > > > > > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, Dec 24, 2008 at 7:59 AM, Keir Fraser <keir.fraser@eu.citrix.com> wrote:> On 23/12/2008 22:44, "Dan Magenheimer" <dan.magenheimer@oracle.com> wrote: > >> Are patches being accepted for the linux-2.6.27-xen.hg tree? > > Yes, patches are welcome.Does the 2.6.27-xen.hg kernel tree include all of the kernel patches that novell uses, or just the ones for Xen dom0 support? Andy> > -- Keir > >> Changing the defconfigs so that the proper Xen config options >> default to on seems like a good start. > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 29/12/2008 09:04, "Andrew Lyon" <andrew.lyon@gmail.com> wrote:>>> Are patches being accepted for the linux-2.6.27-xen.hg tree? >> >> Yes, patches are welcome. > > Does the 2.6.27-xen.hg kernel tree include all of the kernel patches > that novell uses, or just the ones for Xen dom0 support?It has everything. It''s a complete novell kernel tree. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Dec-29 14:17 UTC
Re: [Xen-devel] [PATCHl] [linux-2.6.27-xen.hg] default config should enable needed xen config parameters
On 24/12/2008 16:20, "Dan Magenheimer" <dan.magenheimer@oracle.com> wrote:> There''s probably a better way to do this but the attached one-line > change works. > > My goal is to be able to do: > > yes "" | make config CONFIGMODE=oldconfig > make > > on a freshly cloned tree. (I know this isn''t recommended > but it saves blindly hitting enter a million times, which > is what I otherwise do anyway :-)We''d be better to just supply a sensible defconfig than hack the Kconfigs to allow the above to work, wouldn''t we? -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jan Beulich
2009-Jan-05 10:25 UTC
Re: [Xen-devel] [PATCHl] [linux-2.6.27-xen.hg] default config shouldenable needed xen config parameters
>>> Dan Magenheimer <dan.magenheimer@oracle.com> 24.12.08 17:20 >>> >There''s probably a better way to do this but the attached one-line >change works.I fail to see how this can work, or why it''s needed. All the pv-ops stuff is useless in the Xen-ified kernels, and hence the config option shouldn''t even be presented if XEN is enabled.>My goal is to be able to do: > >yes "" | make config CONFIGMODE=oldconfig >make > >on a freshly cloned tree. (I know this isn''t recommended >but it saves blindly hitting enter a million times, which >is what I otherwise do anyway :-)Perhaps the Xen configs we use should simply also be added? Unfortunately these are no longer part of kernel-source-*.<arch>.rpm, so they''d need to be grabbed out of the binary RPMs (which certainly makes updating that tree more cumbersome). Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dan Magenheimer
2009-Jan-05 13:34 UTC
RE: [Xen-devel] [PATCHl] [linux-2.6.27-xen.hg] default config shouldenable needed xen config parameters
> >>> Dan Magenheimer <dan.magenheimer@oracle.com> 24.12.08 17:20 >>> > >There''s probably a better way to do this but the attached one-line > >change works. > > I fail to see how this can work, or why it''s needed. All the > pv-ops stuff is > useless in the Xen-ified kernels, and hence the config option > shouldn''t > even be presented if XEN is enabled.Indeed it does not... or rather just seemed to work once. I''m afraid my knowledge of kernel configuration is poor (and/or dated).> >My goal is to be able to do: > > > >yes "" | make config CONFIGMODE=oldconfig > >make > > > >on a freshly cloned tree. (I know this isn''t recommended > >but it saves blindly hitting enter a million times, which > >is what I otherwise do anyway :-) > > Perhaps the Xen configs we use should simply also be added? > Unfortunately > these are no longer part of kernel-source-*.<arch>.rpm, so they''d need > to be grabbed out of the binary RPMs (which certainly makes > updating that > tree more cumbersome). > > Jan> We''d be better to just supply a sensible defconfig than hack > the Kconfigs to > allow the above to work, wouldn''t we? > > -- KeirAgreed. Unless someone (who knows what they''re doing :-) beats me to it, I''ll take a look after getting unburied from the holiday break. Dan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-Jan-05 13:54 UTC
RE: [Xen-devel] [PATCHl] [linux-2.6.27-xen.hg] default config shouldenable needed xen config parameters
Following bellow are just the samples of tuning Novell''s Kernel to support Xen Dom0 and DomU at a time in order to setup Ubuntu Intrepid Server Xen 3.3.0 Dom0. Intrepid Server PV DomU is utilizing vmlinuz-2.6.27-9-server as pv_ops enabled kernel. http://bderzhavets.wordpress.com/2009/01/03/setup-xen-330-ubuntu-intrepid-server-dom0-via-build-xen-kernel-based-on-httpxenbitsxensourcecomextlinux-2627-xenhg/ http://bderzhavets.wordpress.com/2009/01/05/setup-intrepid-server-pv-domu-via-xen-image-createdebootstrap-at-xen-33-intrepid-server-dom0-with-novells-xen-ified-kernel-2627-5/ --- On Mon, 1/5/09, Dan Magenheimer <dan.magenheimer@oracle.com> wrote: From: Dan Magenheimer <dan.magenheimer@oracle.com> Subject: RE: [Xen-devel] [PATCHl] [linux-2.6.27-xen.hg] default config shouldenable needed xen config parameters To: "Jan Beulich" <jbeulich@novell.com>, "Keir Fraser" <keir.fraser@eu.citrix.com> Cc: xen-devel@lists.xensource.com Date: Monday, January 5, 2009, 8:34 AM> >>> Dan Magenheimer <dan.magenheimer@oracle.com> 24.12.0817:20 >>>> >There''s probably a better way to do this but the attached one-line > >change works. > > I fail to see how this can work, or why it''s needed. All the > pv-ops stuff is > useless in the Xen-ified kernels, and hence the config option > shouldn''t > even be presented if XEN is enabled.Indeed it does not... or rather just seemed to work once. I''m afraid my knowledge of kernel configuration is poor (and/or dated).> >My goal is to be able to do: > > > >yes "" | make config CONFIGMODE=oldconfig > >make > > > >on a freshly cloned tree. (I know this isn''t recommended > >but it saves blindly hitting enter a million times, which > >is what I otherwise do anyway :-) > > Perhaps the Xen configs we use should simply also be added? > Unfortunately > these are no longer part of kernel-source-*.<arch>.rpm, sothey''d need> to be grabbed out of the binary RPMs (which certainly makes > updating that > tree more cumbersome). > > Jan> We''d be better to just supply a sensible defconfig than hack > the Kconfigs to > allow the above to work, wouldn''t we? > > -- KeirAgreed. Unless someone (who knows what they''re doing :-) beats me to it, I''ll take a look after getting unburied from the holiday break. Dan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hmmm... I had thought that the linux-2.6.27-xen.hg tree was essentially an hg equivalent of upstream kernel.org 2.6.27, but it appears there are more differences (and not just bug fixes). Can someone explain the difference and the purpose of the linux-2.6.27-xen.hg tree (if other than to have a private non-kernel.org copy for xen-related development that hasn''t yet made it upstream)? Why, for example, are the hypercall source files in a different place? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
As far as i understand it''s Novell''s patched tree. Suse performed Xen forward porting to 2.6.27. Canonical gave up on this task and picked up KVM, obviously unable to compete with Xen Hypervisor on Server''s platform. If i am wrong about that , please advise. --- On Mon, 1/5/09, Dan Magenheimer <dan.magenheimer@oracle.com> wrote: From: Dan Magenheimer <dan.magenheimer@oracle.com> Subject: RE: [Xen-devel] linux-2.6.27-xen.hg To: "Jan Beulich" <jbeulich@novell.com>, "Keir Fraser" <keir.fraser@eu.citrix.com> Cc: xen-devel@lists.xensource.com Date: Monday, January 5, 2009, 3:25 PM Hmmm... I had thought that the linux-2.6.27-xen.hg tree was essentially an hg equivalent of upstream kernel.org 2.6.27, but it appears there are more differences (and not just bug fixes). Can someone explain the difference and the purpose of the linux-2.6.27-xen.hg tree (if other than to have a private non-kernel.org copy for xen-related development that hasn''t yet made it upstream)? Why, for example, are the hypercall source files in a different place? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Yes, see 00-README at the root of the linux-2.6.27-xen.hg repo. -- Keir On 05/01/2009 21:13, "Boris Derzhavets" <bderzhavets@yahoo.com> wrote:> As far as i understand it''s Novell''s patched tree. > Suse performed Xen forward porting to 2.6.27. > Canonical gave up on this task and picked up KVM, obviously > unable to compete with Xen Hypervisor on Server''s platform. > If i am wrong about that , please advise. > > --- On Mon, 1/5/09, Dan Magenheimer <dan.magenheimer@oracle.com> wrote: >> From: Dan Magenheimer <dan.magenheimer@oracle.com> >> Subject: RE: [Xen-devel] linux-2.6.27-xen.hg >> To: "Jan Beulich" <jbeulich@novell.com>, "Keir Fraser" >> <keir.fraser@eu.citrix.com> >> Cc: xen-devel@lists.xensource.com >> Date: Monday, January 5, 2009, 3:25 PM >> >> Hmmm... I had thought that the linux-2.6.27-xen.hg tree was >> essentially an hg equivalent of upstream >> kernel.org 2.6.27, >> but it appears there are more differences (and not just bug >> fixes). >> >> Can someone explain the difference and the purpose of >> the linux-2.6.27-xen.hg tree (if other than to have a private >> non-kernel.org copy for xen-related development that >> hasn''t yet made it upstream)? Why, for example, are >> the hypercall source files in a different place? >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel