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] Ubuntu: DomU hangs on boot

To: Emre Erenoglu <erenoglu@xxxxxxxxx>, "C.J. Adams-Collier" <cjcollier@xxxxxxxxx>
Subject: Re: [Xen-users] Ubuntu: DomU hangs on boot
From: Allen Fowler <allen.fowler@xxxxxxxxx>
Date: Mon, 26 Nov 2007 21:22:50 -0800 (PST)
Cc: Allen Unrau <allen.unrau@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 26 Nov 2007 21:23:53 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=bYLhNnbMqF9gdG705eTbY0iEGSauppTtMIaR1uDst7YsJJQxK+ntmvkdQKhUbxE6+4z2z++QzEvcN0FrcbFJ8/zuc2IuULMJEYSkzwdg5IVu26T791FGHnqzvMx9Di94gNTxvzBYfGQhYVtdk9F4oIoxLWBR+pjAMLqy2LsaS8I=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Well... If the Ubuntu repo does not provide a good Xen kernel, maybe I should build my own, too. 

How would I go about doing this?

Do I still use the xen-tools from the repo, or do I need to compile those too?

How should I do this? Is there a how-to? 

(Keep in mind I've never built a kernel before....)

Thank you...


----- Original Message ----
From: Emre Erenoglu <erenoglu@xxxxxxxxx>
To: C.J. Adams-Collier <cjcollier@xxxxxxxxx>
Cc: Allen Unrau <allen.unrau@xxxxxxx>; xen-users@xxxxxxxxxxxxxxxxxxx
Sent: Monday, November 26, 2007 8:38:32 PM
Subject: Re: [Xen-users] Ubuntu: DomU hangs on boot

Hi, I also have Ubuntu Gutsy 7.10 and having lots of problems with its xen version and 2.6.22-14-xen kernel, including HVM domains hanging at boot. I don't suggest it for use. Unfortunately, the Ubuntu development guys look so busy that they can't also close the bugs that I've submitted (at least an explanation) 1 month ago.

Br, Emre

On Nov 27, 2007 1:13 AM, C.J. Adams-Collier <cjcollier@xxxxxxxxx> wrote:
I'm using the pae hypervisor from gutsy.  I built my own dom0 and domU
kernels, though


On Mon, 2007-11-26 at 15:28 -0700, Allen Unrau wrote:
> I managed to get Xen running with Ubuntu Gutsy dom0 and domU's BUT
> with many problems. In the end it was just too much hassle for my
> tastes, so I switched to Debian Etch.
>
>
>
>
> ______________________________________________________________________
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx ] On Behalf Of Allen
> Fowler
> Sent: Monday, November 26, 2007 3:45 PM
> To: Allen Fowler; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] Ubuntu: DomU hangs on boot
>
>
>
>
> *bump*
>
> Has anyone been able to get Xen working from the Ubuntu Gutsy repos?
>
> Or, am I just doing something wrong?
>
>
>
>
> ----- Original Message ----
> From: Allen Fowler <allen.fowler@xxxxxxxxx>
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Sent: Sunday, November 25, 2007 10:50:14 PM
> Subject: Re: [Xen-users] Ubuntu: DomU hangs on boot
>
>
> Mitch <mitchkelly@xxxxxxxxxxxxxx > wrote:
>
> It could be you ran out of ram, i see you only have 383, try reducing
> the xen to use 64 and see how that goes,
>
>
>
> Mitch,
>
> Hmm.. OK i tried allocating 64MB of ram, but the results are the same.
>
>
> Here is what xen list shows then:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Name                                      ID   Mem VCPUs      State
> Time(s)
> Domain-0                                   0   239     1     r-----
> 417.5
> xendomu                                   10    64     1     -b----
> 11.0
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>          Also be quick in going to xm console xenname it could be
>         freezing on something when it boots
>
>
>
> I can see the backlog when I type xen console, I just can't type
> anything there.  See log attached below in original message. (Is that
> what you meant?)
>
>
>
>
>
>                 ----- Original Message -----
>
>
>                 From: Allen Fowler
>
>
>                 To: Allen Fowler ; xen-users@xxxxxxxxxxxxxxxxxxx
>
>
>                 Sent: Monday, November 26, 2007 6:53 AM
>
>
>                 Subject: Re: [Xen-users] Ubuntu: DomU hangs on boot
>
>
>
>
>
>                 To clarify:
>
>                 After I issue the "xm create xen_domu_name" command,
>                 no errors are returned, and the "xm list" command
>                 shows something like this:
>
>
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                 Name                                      ID   Mem
>                 VCPUs      State   Time(s)
>                 Domain-0                                   0   239
>                 1     r-----    279.0
>                 xendomu                                    7   128
>                 1     -b----     27.5
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>                 However, I am unable to ssh into the VM, and typing
>                 anything at the "xm console" screen yields no
>                 response.  (Though, the "xm console" does show the
>                 scroll back listed below.)
>
>                 Also, here is the output of "xm info":
>
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~
>                 host                   : server2
>                 release                : 2.6.22-14-xen
>                 version                : #1 SMP Mon Oct 15 00:35:38
>                 GMT 2007
>                 machine                : i686
>                 nr_cpus                : 1
>                 nr_nodes               : 1
>                 sockets_per_node       : 1
>                 cores_per_socket       : 1
>                 threads_per_core       : 1
>                 cpu_mhz                : 996
>                 hw_caps                :
>                 0383f9ff:00000000:00000000:00000040
>                 total_memory           : 383
>                 free_memory            : 0
>                 xen_major              : 3
>                 xen_minor              : 1
>                 xen_extra              : .0
>                 xen_caps               : xen-3.0-x86_32p
>                 xen_scheduler          : credit
>                 xen_pagesize           : 4096
>                 platform_params        : virt_start=0xf5800000
>                 xen_changeset          : unavailable
>                 cc_compiler            : gcc version 4.1.3 20070929
>                 (prerelease) (Ubuntu 4.1.2-16ubuntu2
>                 cc_compile_by          : buildd
>                 cc_compile_domain      : buildd
>                 cc_compile_date        : Fri Oct 12 15:08:23 GMT 2007
>                 xend_config_format     : 4
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>                 Thank you again...
>
>
>                 Allen Fowler <allen.fowler@xxxxxxxxx> wrote:
>
>                 Hello,
>
>                 I followed the directions at:
>                 http://www.howtoforge.com/ubuntu-7.10-server-install-xen-from-ubuntu-repositories
>
>                 Dom0 boots fine.
>
>                 However, I can't seem to get any DomU to start.
>
>                 Any help would be appreciated.
>
>                 Thank you,
>                 Allen
>
>                 Various outputs attached below:
>
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                 DomU config
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                 #
>                 # Configuration file for the Xen instance xendomu,
>                 created
>                 # by xen-tools 3.5 on Fri Nov 23 15:19:59 2007.
>                 #
>
>                 #
>                 #  Kernel + memory size
>                 #
>                 kernel      = '/boot/vmlinuz-2.6.22-14-xen'
>                 ramdisk     = '/boot/initrd.img- 2.6.22-14-xen'
>                 memory      = '128'
>
>                 #
>                 #  Disk device(s).
>                 #
>                 root        = '/dev/hda1 ro'
>                 disk        =
>                 [ 'file:/home/xen/domains/xendomu/disk.img,hda1,w',
>                 'file:/home/xen/domains/xendomu/swap.img,hda2,w' ]
>
>                 #
>                 #  Hostname
>                 #
>                 name        = 'xendomu'
>
>                 #
>                 #  Networking
>                 #
>                 vif         = [ 'ip= 10.0.0.71' ]
>
>                 #
>                 #  Behaviour
>                 #
>                
>                 on_reboot   = 'restart'
>                 on_crash    = 'restart'
>
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                 xm dmesg
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                 [SNIP]
>                 (XEN) System RAM: 383MB (392572kB)
>                 (XEN) Xen heap: 10MB (10276kB)
>                 (XEN) Domain heap initialised: DMA width 32 bits
>                 (XEN) PAE enabled, limit: 16 GB
>                 (XEN) Local APIC disabled by BIOS -- you can enable it
>                 with "lapic"
>                 (XEN) Using scheduler: SMP Credit Scheduler (credit)
>                 (XEN) Detected 996.791 MHz processor.
>                 (XEN) CPU0: Intel Pentium III (Coppermine) stepping 0a
>                 (XEN) Mapping cpu 0 to node 255
>                 (XEN) Platform timer is 1.193MHz PIT
>                 (XEN) Brought up 1 CPUs
>                 (XEN) *** LOADING DOMAIN 0 ***
>                 (XEN)  Xen  kernel: 32-bit, PAE, lsb
>                 (XEN)  Dom0 kernel: 32-bit, PAE, lsb, paddr 0xc0100000
>                 -> 0xc04c0000
>                 (XEN) PHYSICAL MEMORY ARRANGEMENT:
>                 (XEN)  Dom0 alloc.:
>                 0000000014000000->0000000016000000 (80008 pages to be
>                 allocated)
>                 (XEN) VIRTUAL MEMORY ARRANGEMENT:
>                 (XEN)  Loaded kernel: c0100000->c04c0000
>                 (XEN)  Init. ramdisk: c04c0000->c145e800
>                 (XEN)  Phys-Mach map: c145f000->c14b5220
>                 (XEN)  Start info:    c14b6000->c14b646c
>                 (XEN)  Page tables:   c14b7000->c14c8000
>                 (XEN)  Boot stack:    c14c8000->c14c9000
>                 (XEN)  TOTAL:         c0000000->c1800000
>                 (XEN)  ENTRY ADDRESS: c0100000
>                 (XEN) Dom0 has maximum 1 VCPUs
>                 (XEN) Initrd len 0xf9e800, start at 0xc04c0000
>                 (XEN) Scrubbing Free RAM: done.
>                 (XEN) Xen trace buffers: disabled
>                 (XEN) Std. Loglevel: Errors and warnings
>                 (XEN) Guest Loglevel: Nothing (Rate-limited: Errors
>                 and warnings)
>                 (XEN) Xen is relinquishing VGA console.
>                 (XEN) *** Serial input -> DOM0 (type \047CTRL-a\047
>                 three times to switch input to Xen).
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                 xm console xendomu
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                 [15785.652879] xen_mem: Initialising balloon driver.
>                 [15785.660761] Setting mem allocation to 131072 kiB
>                 [15785.661268] PCI: System does not support PCI
>                 [15785.661371] PCI: System does not support PCI
>                 [15785.661489] NET: Registered protocol family 8
>                 [15785.661541] NET: Registered protocol family 20
>                 [15785.662582] NET: Registered protocol family 2
>                 [15785.662767] Time: xen clocksource has been
>                 installed.
>                 [15785.704611] IP route cache hash table entries: 2048
>                 (order: 1, 8192 bytes)
>                 [15785.704753] TCP established hash table entries:
>                 8192 (order: 4, 98304 bytes)
>                 [15785.705029] TCP bind hash table entries: 8192
>                 (order: 4, 65536 bytes)
>                 [15785.705237] TCP: Hash tables configured
>                 (established 8192 bind 8192)
>                 [15785.705252] TCP reno registered
>                 [15785.734838] checking if image is initramfs... it is
>                 [15785.973231] Freeing initrd memory: 15996k freed
>                 [15785.974312] audit: initializing netlink socket
>                 (disabled)
>                 [15785.974572] audit(1196015716.968:1): initialized
>                 [15785.980115] VFS: Disk quotas dquot_6.5.1
>                 [15785.980729] Dquot-cache hash table entries: 1024
>                 (order 0, 4096 bytes)
>                 [15785.981277] io scheduler noop registered
>                 [15785.981404] io scheduler anticipatory registered
>                 [15785.981455 ] io scheduler deadline registered
>                 [15785.981569] io scheduler cfq registered (default)
>                 [15786.075774] Real Time Clock Driver v1.12ac
>                 [15786.077525] RAMDISK driver initialized: 16 RAM
>                 disks of 65536K size 1024 blocksize
>                 [15786.078314] input: Macintosh mouse button emulation
>                 as /class/input/input0
>                 [15786.078818 ] xencons_init: Initializing xen vfb;
>                 pass xencons=tty to prevent this
>                 [15786.079520] Xen virtual console successfully
>                 installed as xvc0
>                 [ 15786.079866] Event-channel device installed.
>                 [15786.147564] netfront: Initialising virtual ethernet
>                 driver.
>                 [15786.149571] PNP: No PS/2 controller found. Probing
>                 ports directly.
>                 [15786.150636] i8042.c: No controller found.
>                 [15786.150879] mice: PS/2 mouse device common for all
>                 mice
>                 [ 15786.151222] TCP cubic registered
>                 [15786.151276] NET: Registered protocol family 1
>                 [15786.151350] Using IPI No-Shortcut mode
>                 [15786.152801] xen-vbd: registered block device major
>                 3
>                 [15786.152855] blkfront: hda1: barriers enabled
>                 [15786.155045] blkfront: hda2: barriers enabled
>                 [15786.163005] netfront: device eth0 has copying
>                 receive path.
>                 [15786.244504] XENBUS: Device with no driver:
>                 device/console/0
>                 [15786.244975] Freeing unused kernel memory: 200k
>                 freed
>                 [15786.839976] AppArmor: AppArmor
>                 initialized<5>audit(1196015717.836:2):  type=1505
>                 info="AppArmor initialized" pid=992
>                 [15786.864141] fuse init (API version 7.8)
>                 [15786.887322] Failure registering capabilities with
>                 primary security module.
>                 [15786.986664 ] thermal: Unknown symbol
>                 acpi_processor_set_thermal_limit
>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>
>
>                 ______________________________________________________
>                 Never miss a thing. Make Yahoo your homepage.
>                 _______________________________________________
>                 Xen-users mailing list
>                 Xen-users@xxxxxxxxxxxxxxxxxxx
>                 http://lists.xensource.com/xen-users
>
>
>
>
>                 ______________________________________________________
>                 Be a better pen pal. Text or chat with friends inside
>                 Yahoo! Mail. See how.
>
>                 _______________________________________________
>                 Xen-users mailing list
>                 Xen-users@xxxxxxxxxxxxxxxxxxx
>                 http://lists.xensource.com/xen-users
>
>                 No virus found in this incoming message.
>                 Checked by AVG Free Edition.
>                 Version: 7.5.503 / Virus Database: 269.16.6/1150 -
>                 Release Date: 11/24/2007 5:58 PM
>
>
>         _______________________________________________
>         Xen-users mailing list
>         Xen-users@xxxxxxxxxxxxxxxxxxx
>         http://lists.xensource.com/xen-users
>
>
>
>
>
> ______________________________________________________________________
> Be a better sports nut! Let your teams follow you with Yahoo Mobile.
> Try it now.
>
>
>
>
>
>
>
>
> ______________________________________________________________________
> Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See
> how.
>
>
> _______________________________________________
> 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



--
Emre Erenoglu
erenoglu@xxxxxxxxx



Never miss a thing. Make Yahoo your homepage.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users