Hi all, a newbie question. I''m trying to install lenny guest image (in an img file) on my lenny Dom0 by following the http://wiki.debian.org/Xen: xm create -c xm-debian.cfg install=true install-mirror=ftp://ftp.XX.debian.org/debian i created the xen-lenny-image.img using dd, format is ext3. disk is defined as (cfg file): disk = [''tap:aio:/xen/images/xen-lenny-image.img,xvda,w''] once i start the installation everything looks good until the point where installation process asks to specify disk driver? which driver to use as guest image is a file? i would assume some generic driver like virtio_blk but it didn''t work (installation won''t proceed). am i missing something? any help is appreciated. thanks. __________________________________________________________________ The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thiago Camargo Martins Cordeiro
2009-Jul-02 20:12 UTC
Re: [Xen-users] debian lenny domU installation
Hi! I have read this wiki and put it to work, plus instructions in how to use it, on the new Xen Live CD v2.0. Just boot the Xen LiveCD on your machine and read the README file at the section 3.4, as follows: 3.4 - Booting the Debian Installer within a PVM Cheers! Thiago 2009/7/2 George Pitich <george_pitich@yahoo.com>> Hi all, a newbie question. > > I''m trying to install lenny guest image (in an img file) on my lenny Dom0 > by following the http://wiki.debian.org/Xen: > > xm create -c xm-debian.cfg install=true install-mirror=ftp://ftp.XX.debian.org/debian > > i created the xen-lenny-image.img using dd, format is ext3. disk is defined as (cfg file): > > disk = [''tap:aio:/xen/images/xen-lenny-image.img,xvda,w''] > > once i start the installation everything looks good until the point where installation process asks to specify disk driver? > which driver to use as guest image is a file? i would assume some generic driver like virtio_blk but it didn''t work (installation won''t proceed). > am i missing something? > > any help is appreciated. > > thanks. > > > ------------------------------ > Looking for the perfect gift?* Give the gift of Flickr!*<http://www.flickr.com/gift/> > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks, but I''m running lenny dom0 from my hdd, with liveCD you boot from CD. what is the difference in terms of disk drivers when domU is a file image? __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You can use this command to create a lenny guest. This is some simpler way. xen-create-image --hostname=lenny-guest --size=7Gb --swap=1Gb \--ip=xx.xx.xx.xx --netmask=255.255.254.0 --gateway=xx.xx.xx.xx \--dir=/home/xen \--debootstrap --dist=lenny --mirror=http://ftp.us.debian.org/debian/ --passwd You can get some more help from this link http://www.punknix.com/virtualization_xen Fasiha Ashraf --- On Fri, 3/7/09, George Pitich <george_pitich@yahoo.com> wrote: From: George Pitich <george_pitich@yahoo.com> Subject: [Xen-users] debian lenny domU installation To: xen-users@lists.xensource.com Date: Friday, 3 July, 2009, 12:38 AM Hi all, a newbie question. I''m trying to install lenny guest image (in an img file) on my lenny Dom0 by following the http://wiki.debian.org/Xen: xm create -c xm-debian.cfg install=true install-mirror=ftp://ftp.XX.debian.org/debian i created the xen-lenny-image.img using dd, format is ext3. disk is defined as (cfg file): disk = [''tap:aio:/xen/images/xen-lenny-image.img,xvda,w''] once i start the installation everything looks good until the point where installation process asks to specify disk driver? which driver to use as guest image is a file? i would assume some generic driver like virtio_blk but it didn''t work (installation won''t proceed). am i missing something? any help is appreciated. thanks. Looking for the perfect gift? Give the gift of Flickr! -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello:> I''m trying to install lenny guest image (in an img file) on my lenny Dom0 by following the http://wiki.debian.org/Xen: > xm create -c xm-debian.cfg install=true install-mirror=ftp://ftp.XX.debian.org/debian> i created the xen-lenny-image.img using dd, format is ext3. disk is defined as (cfg file):> disk = [''tap:aio:/xen/images/xen-lenny-image.img,xvda,w'']> once i start the installation everything looks good until the point where installation process asks to specify disk driver? > which driver to use as guest image is a file? i would assume some generic driver like virtio_blk but it didn''t work (installation won''t proceed). > am i missing something?change tap:aio: to file: then debian installer can find the disk -- Louie July 03, 2009 23:29:37 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I''m trying to install lenny guest image (in an img file) on my lenny Dom0 by following the http://wiki.debian.org/Xen: > xm create -c xm-debian.cfg install=true install-mirror=ftp://ftp.XX.debian.org/debian> i created the xen-lenny-image.img using dd, format is ext3. disk is defined as (cfg file):> disk = [''tap:aio:/xen/images/xen-lenny-image.img,xvda,w'']> once i start the installation everything looks good until the point where installation process asks to specify disk driver? > which driver to use as guest image is a file? i would assume some generic driver like virtio_blk but it didn''t work (installation won''t proceed). > am i missing something?change tap:aio: to file: then debian installer can find the disk I think I initially specified that but it didn''t work for me? Finally I configured xen-tools.conf and used xen-create-image to create the image and it worked. Once I checked vm config file id did actually have: file:/home/xen/domains/test-vm/swap.img,sda1,w'', ''file:/home/xen/domains/test-vm/disk.img,sda2,w'' Thanks all for your help! __________________________________________________________________ Make your browsing faster, safer, and easier with the new Internet Explorer® 8. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
using the below line to install a debian guest: xm create -c xm-debian.cfg install=true install-mirror=ftp://ftp.XX.debian.org/debian I got a kernel BUG --------------------- Installer: http://people.debian.org/~joeyh/d-i/images/daily WARNING: Installer kernel and ramdisk are not authenticated. Fetching http://people.debian.org/~joeyh/d-i/images/daily/netboot/xen/vmlinuz Fetching http://people.debian.org/~joeyh/d-i/images/daily/netboot/xen/initrd.gz command line is "debian-installer/exit/always_halt=true -- quiet console=hvc0" Started domain ExampleDomain [ 0.004000] 1 multicall(s) failed: cpu 0 [ 0.004000] ------------[ cut here ]------------ [ 0.004000] kernel BUG at /build/buildd-linux-2.6_2.6.29-5-i386-xtBC0n/linux-2.6-2.6.29/debian/build/source_i386_none/arch/x86/xen/multicalls.c:180! [ 0.004000] invalid opcode: 0000 [#1] SMP [ 0.004000] last sysfs file: [ 0.004000] Modules linked in: [ 0.004000] [ 0.004000] Pid: 0, comm: swapper Not tainted (2.6.29-2-686-bigmem #1) [ 0.004000] EIP: e019:[<c01048cc>] EFLAGS: 00010002 CPU: 0 [ 0.004000] EIP is at xen_mc_flush+0x135/0x13f [ 0.004000] EAX: 00000001 EBX: 00000000 ECX: c0401f1c EDX: c034aa5b [ 0.004000] ESI: 00000001 EDI: 00000001 EBP: c1104054 ESP: c0401f30 [ 0.004000] DS: e021 ES: e021 FS: 00d8 GS: 0000 SS: e021 [ 0.004000] Process swapper (pid: 0, ti=c0400000 task=c03aa2fc task.ti=c0400000) [ 0.004000] Stack: [ 0.004000] 00000000 00000001 00000000 c03d9000 0045c001 c0104eb1 33c27001 c01056ce [ 0.004000] 2c82e000 00000000 33c27001 00000000 c03d9000 c03da000 00000000 c011b601 [ 0.004000] 33c27001 f51fe000 c03da000 c0476000 00000154 c0419429 0000055b c8800000 [ 0.004000] Call Trace: [ 0.004000] [<c0104eb1>] xen_mc_issue+0x11/0x23 [ 0.004000] [<c01056ce>] xen_set_pud_hyper+0x5d/0x64 [ 0.004000] [<c011b601>] zap_low_mappings+0x2f/0x44 [ 0.004000] [<c0419429>] mem_init+0x2af/0x2b7 [ 0.004000] [<c0405732>] start_kernel+0x236/0x2de [ 0.004000] [<c040adca>] xen_start_kernel+0x7fb/0x803 ny Installer: http://people.debian.org/~joeyh/d-i/images/daily WARNING: Installer kernel and ramdisk are not authenticated. Fetching http://people.debian.org/~joeyh/d-i/images/daily/netboot/xen/vmlinuz Fetching http://people.debian.org/~joeyh/d-i/images/daily/netboot/xen/initrd.gz command line is "debian-installer/exit/always_halt=true -- quiet console=hvc0" Started domain ExampleDomain [ 0.004000] 1 multicall(s) failed: cpu 0 [ 0.004000] ------------[ cut here ]------------ [ 0.004000] kernel BUG at /build/buildd-linux-2.6_2.6.29-5-i386-xtBC0n/linux-2.6-2.6.29/debian/build/source_i386_none/arch/x86/xen/multicalls.c:180! [ 0.004000] invalid opcode: 0000 [#1] SMP [ 0.004000] last sysfs file: [ 0.004000] Modules linked in: [ 0.004000] [ 0.004000] Pid: 0, comm: swapper Not tainted (2.6.29-2-686-bigmem #1) [ 0.004000] EIP: e019:[<c01048cc>] EFLAGS: 00010002 CPU: 0 [ 0.004000] EIP is at xen_mc_flush+0x135/0x13f [ 0.004000] EAX: 00000001 EBX: 00000000 ECX: c0401f1c EDX: c034aa5b [ 0.004000] ESI: 00000001 EDI: 00000001 EBP: c1104054 ESP: c0401f30 [ 0.004000] DS: e021 ES: e021 FS: 00d8 GS: 0000 SS: e021 [ 0.004000] Process swapper (pid: 0, ti=c0400000 task=c03aa2fc task.ti=c0400000) [ 0.004000] Stack: [ 0.004000] 00000000 00000001 00000000 c03d9000 0045c001 c0104eb1 33c27001 c01056ce [ 0.004000] 2c82e000 00000000 33c27001 00000000 c03d9000 c03da000 00000000 c011b601 [ 0.004000] 33c27001 f51fe000 c03da000 c0476000 00000154 c0419429 0000055b c8800000 [ 0.004000] Call Trace: [ 0.004000] [<c0104eb1>] xen_mc_issue+0x11/0x23 [ 0.004000] [<c01056ce>] xen_set_pud_hyper+0x5d/0x64 [ 0.004000] [<c011b601>] zap_low_mappings+0x2f/0x44 [ 0.004000] [<c0419429>] mem_init+0x2af/0x2b7 [ 0.004000] [<c0405732>] start_kernel+0x236/0x2de [ 0.004000] [<c040adca>] xen_start_kernel+0x7fb/0x803 ode: 5a 59 31 db eb 0f 8b 84 dd 04 0a 00 00 ff 94 dd 00 0a 00 00 43 3b 9d 08 0b 00 00 72 e9 85 ff c7 85 08 0b 00 00 00 00 00 00 74 04 <0f> 0b eb fe 58 5b 5e 5f 5d c3 57 89 d7 56 89 c6 53 b8 54 30 45 [ 0.004000] EIP: [<c01048cc>] xen_mc_flush+0x135/0x13f SS:ESP e021:c0401f30 [ 0.004000] ---[ end trace 4eaa2a86a8e2da22 ]--- [ 0.004000] Kernel panic - not syncing: Attempted to kill the idle task! [ 0.004000] ------------[ cut here ]------------ [ 0.004000] WARNING: at /build/buildd-linux-2.6_2.6.29-5-i386-xtBC0n/linux-2.6-2.6.29/debian/build/source_i386_none/kernel/smp.c:329 smp_call_funct Looks like this is a very old bug, and somebody said it was gone. But I still can see it at the sid/lenny/squeeze. my dom0 is CentOS 5.3 # uname -a Linux jzhu.cn.corp.sa 2.6.18-128.el5xen #1 SMP Wed Jan 21 11:12:42 EST 2009 x86_64 x86_64 x86_64 GNU/Linux I wonder if anybody has ever installed debian domU successfully? -- View this message in context: http://www.nabble.com/debian-lenny-domU-installation-tp24312833p24384542.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You can use this command to create a lenny guest. This is some simpler way. xen-create-image --hostname=lenny-guest --size=7Gb --swap=1Gb \--ip=xx.xx.xx.xx --netmask=255.255.254.0 --gateway=xx.xx.xx.xx \--dir=/home/xen \--debootstrap --dist=lenny --mirror=http://ftp.us.debian.org/debian/ --passwd You can get some more help from this link http://www.punknix.com/virtualization_xen Regards, Fasiha Ashraf --- On Wed, 8/7/09, Wei Jiang <talk90091e@gmail.com> wrote: From: Wei Jiang <talk90091e@gmail.com> Subject: Re: [Xen-users] debian lenny domU installation To: xen-users@lists.xensource.com Date: Wednesday, 8 July, 2009, 7:55 AM using the below line to install a debian guest: xm create -c xm-debian.cfg install=true install-mirror=ftp://ftp.XX.debian.org/debian I got a kernel BUG --------------------- Installer: http://people.debian.org/~joeyh/d-i/images/daily WARNING: Installer kernel and ramdisk are not authenticated. Fetching http://people.debian.org/~joeyh/d-i/images/daily/netboot/xen/vmlinuz Fetching http://people.debian.org/~joeyh/d-i/images/daily/netboot/xen/initrd.gz command line is "debian-installer/exit/always_halt=true -- quiet console=hvc0" Started domain ExampleDomain [ 0.004000] 1 multicall(s) failed: cpu 0 [ 0.004000] ------------[ cut here ]------------ [ 0.004000] kernel BUG at /build/buildd-linux-2.6_2.6.29-5-i386-xtBC0n/linux-2.6-2.6.29/debian/build/source_i386_none/arch/x86/xen/multicalls.c:180! [ 0.004000] invalid opcode: 0000 [#1] SMP [ 0.004000] last sysfs file: [ 0.004000] Modules linked in: [ 0.004000] [ 0.004000] Pid: 0, comm: swapper Not tainted (2.6.29-2-686-bigmem #1) [ 0.004000] EIP: e019:[<c01048cc>] EFLAGS: 00010002 CPU: 0 [ 0.004000] EIP is at xen_mc_flush+0x135/0x13f [ 0.004000] EAX: 00000001 EBX: 00000000 ECX: c0401f1c EDX: c034aa5b [ 0.004000] ESI: 00000001 EDI: 00000001 EBP: c1104054 ESP: c0401f30 [ 0.004000] DS: e021 ES: e021 FS: 00d8 GS: 0000 SS: e021 [ 0.004000] Process swapper (pid: 0, ti=c0400000 task=c03aa2fc task.ti=c0400000) [ 0.004000] Stack: [ 0.004000] 00000000 00000001 00000000 c03d9000 0045c001 c0104eb1 33c27001 c01056ce [ 0.004000] 2c82e000 00000000 33c27001 00000000 c03d9000 c03da000 00000000 c011b601 [ 0.004000] 33c27001 f51fe000 c03da000 c0476000 00000154 c0419429 0000055b c8800000 [ 0.004000] Call Trace: [ 0.004000] [<c0104eb1>] xen_mc_issue+0x11/0x23 [ 0.004000] [<c01056ce>] xen_set_pud_hyper+0x5d/0x64 [ 0.004000] [<c011b601>] zap_low_mappings+0x2f/0x44 [ 0.004000] [<c0419429>] mem_init+0x2af/0x2b7 [ 0.004000] [<c0405732>] start_kernel+0x236/0x2de [ 0.004000] [<c040adca>] xen_start_kernel+0x7fb/0x803 ny Installer: http://people.debian.org/~joeyh/d-i/images/daily WARNING: Installer kernel and ramdisk are not authenticated. Fetching http://people.debian.org/~joeyh/d-i/images/daily/netboot/xen/vmlinuz Fetching http://people.debian.org/~joeyh/d-i/images/daily/netboot/xen/initrd.gz command line is "debian-installer/exit/always_halt=true -- quiet console=hvc0" Started domain ExampleDomain [ 0.004000] 1 multicall(s) failed: cpu 0 [ 0.004000] ------------[ cut here ]------------ [ 0.004000] kernel BUG at /build/buildd-linux-2.6_2.6.29-5-i386-xtBC0n/linux-2.6-2.6.29/debian/build/source_i386_none/arch/x86/xen/multicalls.c:180! [ 0.004000] invalid opcode: 0000 [#1] SMP [ 0.004000] last sysfs file: [ 0.004000] Modules linked in: [ 0.004000] [ 0.004000] Pid: 0, comm: swapper Not tainted (2.6.29-2-686-bigmem #1) [ 0.004000] EIP: e019:[<c01048cc>] EFLAGS: 00010002 CPU: 0 [ 0.004000] EIP is at xen_mc_flush+0x135/0x13f [ 0.004000] EAX: 00000001 EBX: 00000000 ECX: c0401f1c EDX: c034aa5b [ 0.004000] ESI: 00000001 EDI: 00000001 EBP: c1104054 ESP: c0401f30 [ 0.004000] DS: e021 ES: e021 FS: 00d8 GS: 0000 SS: e021 [ 0.004000] Process swapper (pid: 0, ti=c0400000 task=c03aa2fc task.ti=c0400000) [ 0.004000] Stack: [ 0.004000] 00000000 00000001 00000000 c03d9000 0045c001 c0104eb1 33c27001 c01056ce [ 0.004000] 2c82e000 00000000 33c27001 00000000 c03d9000 c03da000 00000000 c011b601 [ 0.004000] 33c27001 f51fe000 c03da000 c0476000 00000154 c0419429 0000055b c8800000 [ 0.004000] Call Trace: [ 0.004000] [<c0104eb1>] xen_mc_issue+0x11/0x23 [ 0.004000] [<c01056ce>] xen_set_pud_hyper+0x5d/0x64 [ 0.004000] [<c011b601>] zap_low_mappings+0x2f/0x44 [ 0.004000] [<c0419429>] mem_init+0x2af/0x2b7 [ 0.004000] [<c0405732>] start_kernel+0x236/0x2de [ 0.004000] [<c040adca>] xen_start_kernel+0x7fb/0x803 ode: 5a 59 31 db eb 0f 8b 84 dd 04 0a 00 00 ff 94 dd 00 0a 00 00 43 3b 9d 08 0b 00 00 72 e9 85 ff c7 85 08 0b 00 00 00 00 00 00 74 04 <0f> 0b eb fe 58 5b 5e 5f 5d c3 57 89 d7 56 89 c6 53 b8 54 30 45 [ 0.004000] EIP: [<c01048cc>] xen_mc_flush+0x135/0x13f SS:ESP e021:c0401f30 [ 0.004000] ---[ end trace 4eaa2a86a8e2da22 ]--- [ 0.004000] Kernel panic - not syncing: Attempted to kill the idle task! [ 0.004000] ------------[ cut here ]------------ [ 0.004000] WARNING: at /build/buildd-linux-2.6_2.6.29-5-i386-xtBC0n/linux-2.6-2.6.29/debian/build/source_i386_none/kernel/smp.c:329 smp_call_funct Looks like this is a very old bug, and somebody said it was gone. But I still can see it at the sid/lenny/squeeze. my dom0 is CentOS 5.3 # uname -a Linux jzhu.cn.corp.sa 2.6.18-128.el5xen #1 SMP Wed Jan 21 11:12:42 EST 2009 x86_64 x86_64 x86_64 GNU/Linux I wonder if anybody has ever installed debian domU successfully? -- View this message in context: http://www.nabble.com/debian-lenny-domU-installation-tp24312833p24384542.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users Looking for local information? Find it on Yahoo! Local http://in.local.yahoo.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Wei Jiang <talk90091e@gmail.com> writes:> using the below line to install a debian guest: > > xm create -c xm-debian.cfg install=true > install-mirror=ftp://ftp.XX.debian.org/debian > > I got a kernel BUG > --------------------- > Installer: http://people.debian.org/~joeyh/d-i/images/dailyYou''re trying the daily snapshot of the installer, not the official Lenny one.> I wonder if anybody has ever installed debian domU successfully?Yes, several. -- Feri. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > xm create -c xm-debian.cfg install=true > > install-mirror=ftp://ftp.XX.debian.org/debian > > > > I got a kernel BUG > > --------------------- > > Installer: http://people.debian.org/~joeyh/d-i/images/daily > > You''re trying the daily snapshot of the installer, not the official > Lenny one.The offical Lenny has the same problem. Details as below: # xm create -c xm-debian.cfg install=true install-mirror=ftp://ftp.uk.debian.org/debian Using config file "./xm-debian.cfg". Install Mirror: ftp://ftp.uk.debian.org/debian Install Suite: lenny Installer: ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images WARNING: Installer kernel and ramdisk are not authenticated. Fetching ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/xen/vmlinuz Fetching ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/xen/initrd.gz command line is "debian-installer/exit/always_halt=true -- quiet console=hvc0" Started domain ExampleDomain [ 0.004000] 1 multicall(s) failed: cpu 0 [ 0.004000] ------------[ cut here ]------------ [ 0.004000] kernel BUG at arch/x86/xen/multicalls.c:103! [ 0.004000] EIP is at xen_mc_flush+0x131/0x13b [ 0.004000] EAX: 00000001 EBX: c262ea60 ECX: 00000000 EDX: 00000000 [ 0.004000] ESI: 00000000 EDI: 00000001 EBP: c262e060 ESP: c0391f78 [ 0.004000] DS: e021 ES: e021 FS: 00d8 GS: 0000 SS: e021 [ 0.004000] Process swapper (pid: 0, ti=c0390000 task=c0361300 task.ti=c0390000) [ 0.004000] Stack: 00000000 00381000 00000000 30023001 00000000 c010577d 3007b000 00000000 [ 0.004000] 30023001 00000000 30023001 00000000 00000000 c0381000 c011aaa6 c03a77cc [ 0.004000] 30023001 00000000 00000020 c0391fe4 00000000 00000000 c03977be c03bbc80 [ 0.004000] Call Trace: [ 0.004000] [<c010577d>] xen_set_pud_hyper+0x8e/0xa6 [ 0.004000] [<c011aaa6>] zap_low_mappings+0x46/0x60 [ 0.004000] [<c03a77cc>] mem_init+0x324/0x340 [ 0.004000] [<c03977be>] start_kernel+0x22f/0x2d7 [ 0.004000] [<c039cd64>] xen_start_kernel+0x276/0x27c [ 0.004000] ======================[ 0.004000] Code: 5a 59 31 f6 8d 9d 00 0a 00 00 eb 09 8b 43 04 46 ff 13 83 c3 08 3b b5 08 0b 00 00 72 ef 85 ff c7 85 08 0b00 00 00 00 00 00 74 04 <0f> 0b eb fe 5b 5b 5e 5f 5d c3 57 89 d7 56 89 c6 53 b8 60 e0 3c [ 0.004000] EIP: [<c0104de7>] xen_mc_flush+0x131/0x13b SS:ESP e021:c0391f78 [ 0.004000] ---[ end trace 4eaa2a86a8e2da22 ]--- [ 0.004000] Kernel panic - not syncing: Attempted to kill the idle task! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Wei Jiang <talk90091e@gmail.com> writes:>>> xm create -c xm-debian.cfg install=true >>> install-mirror=ftp://ftp.XX.debian.org/debian >>> >>> I got a kernel BUG >>> --------------------- >>> Installer: http://people.debian.org/~joeyh/d-i/images/daily >> >> You''re trying the daily snapshot of the installer, not the official >> Lenny one. > > The offical Lenny has the same problem. Details as below: > > # xm create -c xm-debian.cfg install=true install-mirror=ftp://ftp.uk.debian.org/debian > Using config file "./xm-debian.cfg". > Install Mirror: ftp://ftp.uk.debian.org/debian > Install Suite: lenny > Installer: ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images > > WARNING: Installer kernel and ramdisk are not authenticated. > > Fetching ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/xen/vmlinuz > Fetching ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/xen/initrd.gz > command line is "debian-installer/exit/always_halt=true -- quiet console=hvc0" > Started domain ExampleDomain > [ 0.004000] 1 multicall(s) failed: cpu 0 > [ 0.004000] ------------[ cut here ]------------ > [ 0.004000] kernel BUG at arch/x86/xen/multicalls.c:103! > [ 0.004000] EIP is at xen_mc_flush+0x131/0x13b > [ 0.004000] EAX: 00000001 EBX: c262ea60 ECX: 00000000 EDX: 00000000 > [ 0.004000] ESI: 00000000 EDI: 00000001 EBP: c262e060 ESP: c0391f78 > [ 0.004000] DS: e021 ES: e021 FS: 00d8 GS: 0000 SS: e021 > [ 0.004000] Process swapper (pid: 0, ti=c0390000 task=c0361300 task.ti=c0390000) > [ 0.004000] Stack: 00000000 00381000 00000000 30023001 00000000 c010577d 3007b000 00000000 > [ 0.004000] 30023001 00000000 30023001 00000000 00000000 c0381000 c011aaa6 c03a77cc > [ 0.004000] 30023001 00000000 00000020 c0391fe4 00000000 00000000 c03977be c03bbc80 > [ 0.004000] Call Trace: > [ 0.004000] [<c010577d>] xen_set_pud_hyper+0x8e/0xa6 > [ 0.004000] [<c011aaa6>] zap_low_mappings+0x46/0x60 > [ 0.004000] [<c03a77cc>] mem_init+0x324/0x340 > [ 0.004000] [<c03977be>] start_kernel+0x22f/0x2d7 > [ 0.004000] [<c039cd64>] xen_start_kernel+0x276/0x27c > [ 0.004000] ======================> [ 0.004000] Code: 5a 59 31 f6 8d 9d 00 0a 00 00 eb 09 8b 43 04 46 ff 13 83 c3 08 3b b5 08 0b 00 00 72 ef 85 ff c7 85 08 0b00 00 00 00 00 00 74 04 <0f> 0b eb fe 5b 5b 5e 5f 5d c3 57 89 d7 56 89 c6 53 b8 60 e0 3c > [ 0.004000] EIP: [<c0104de7>] xen_mc_flush+0x131/0x13b SS:ESP e021:c0391f78 > [ 0.004000] ---[ end trace 4eaa2a86a8e2da22 ]--- > [ 0.004000] Kernel panic - not syncing: Attempted to kill the idle task!That''s most interesting. Precisely what kernel/hypervisor/xen-tools version is this? On what type of machine? I never had such problems. -- Feri. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Jul 20, 2009 at 02:43:00PM +0200, Ferenc Wagner wrote:> Wei Jiang <talk90091e@gmail.com> writes: > > >>> xm create -c xm-debian.cfg install=true > >>> install-mirror=ftp://ftp.XX.debian.org/debian > >>> > >>> I got a kernel BUG > >>> --------------------- > >>> Installer: http://people.debian.org/~joeyh/d-i/images/daily > >> > >> You''re trying the daily snapshot of the installer, not the official > >> Lenny one. > > > > The offical Lenny has the same problem. Details as below: > > > > # xm create -c xm-debian.cfg install=true install-mirror=ftp://ftp.uk.debian.org/debian > > Using config file "./xm-debian.cfg". > > Install Mirror: ftp://ftp.uk.debian.org/debian > > Install Suite: lenny > > Installer: ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images > > > > WARNING: Installer kernel and ramdisk are not authenticated. > > > > Fetching ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/xen/vmlinuz > > Fetching ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/xen/initrd.gz > > command line is "debian-installer/exit/always_halt=true -- quiet console=hvc0" > > Started domain ExampleDomain > > [ 0.004000] 1 multicall(s) failed: cpu 0 > > [ 0.004000] ------------[ cut here ]------------ > > [ 0.004000] kernel BUG at arch/x86/xen/multicalls.c:103! > > [ 0.004000] EIP is at xen_mc_flush+0x131/0x13b > > [ 0.004000] EAX: 00000001 EBX: c262ea60 ECX: 00000000 EDX: 00000000 > > [ 0.004000] ESI: 00000000 EDI: 00000001 EBP: c262e060 ESP: c0391f78 > > [ 0.004000] DS: e021 ES: e021 FS: 00d8 GS: 0000 SS: e021 > > [ 0.004000] Process swapper (pid: 0, ti=c0390000 task=c0361300 task.ti=c0390000) > > [ 0.004000] Stack: 00000000 00381000 00000000 30023001 00000000 c010577d 3007b000 00000000 > > [ 0.004000] 30023001 00000000 30023001 00000000 00000000 c0381000 c011aaa6 c03a77cc > > [ 0.004000] 30023001 00000000 00000020 c0391fe4 00000000 00000000 c03977be c03bbc80 > > [ 0.004000] Call Trace: > > [ 0.004000] [<c010577d>] xen_set_pud_hyper+0x8e/0xa6 > > [ 0.004000] [<c011aaa6>] zap_low_mappings+0x46/0x60 > > [ 0.004000] [<c03a77cc>] mem_init+0x324/0x340 > > [ 0.004000] [<c03977be>] start_kernel+0x22f/0x2d7 > > [ 0.004000] [<c039cd64>] xen_start_kernel+0x276/0x27c > > [ 0.004000] ======================> > [ 0.004000] Code: 5a 59 31 f6 8d 9d 00 0a 00 00 eb 09 8b 43 04 46 ff 13 83 c3 08 3b b5 08 0b 00 00 72 ef 85 ff c7 85 08 0b00 00 00 00 00 00 74 04 <0f> 0b eb fe 5b 5b 5e 5f 5d c3 57 89 d7 56 89 c6 53 b8 60 e0 3c > > [ 0.004000] EIP: [<c0104de7>] xen_mc_flush+0x131/0x13b SS:ESP e021:c0391f78 > > [ 0.004000] ---[ end trace 4eaa2a86a8e2da22 ]--- > > [ 0.004000] Kernel panic - not syncing: Attempted to kill the idle task! > > That''s most interesting. Precisely what kernel/hypervisor/xen-tools > version is this? On what type of machine? I never had such problems.My box is run CentOS 5.3 on x86_64, the xen is 3.1.2. I did some changes from original xm-debian.cfg, which replace the original disk with a specified file. [root@jzhu debian]# diff -up xm-debian.cfg.orig xm-debian.cfg --- xm-debian.cfg.orig 2009-07-02 11:45:20.000000000 +0800 +++ xm-debian.cfg 2009-07-02 11:47:08.000000000 +0800 @@ -72,7 +72,8 @@ vif = [''''] # # NB: Only xvd devices are supported by the kernel in Debian Lenny and later. -disk = [''phy:hda1,xvda,w''] +#disk = [''phy:hda1,xvda,w''] +disk = [''file:/workspace/vms/tvb.img,xvda,w''] #---------------------------------------------------------------------------- # Define frame buffer device. [root@jzhu debian]# cat /etc/redhat-release CentOS release 5.3 (Final) [root@jzhu debian]# uname -r -m 2.6.18-128.el5xen x86_64 [root@jzhu debian]# xm info host : mybox release : 2.6.18-128.el5xen version : #1 SMP Wed Jan 21 11:12:42 EST 2009 machine : x86_64 nr_cpus : 2 nr_nodes : 1 sockets_per_node : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2793 hw_caps : bfebfbff:20100800:00000000:00000180:0000e49d:00000000:00000001 total_memory : 1015 free_memory : 0 node_to_cpu : node0:0-1 xen_major : 3 xen_minor : 1 xen_extra : .2-128.el5 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) cc_compile_by : mockbuild cc_compile_domain : centos.org cc_compile_date : Wed Jan 21 10:33:49 EST 2009 xend_config_format : 2> -- > Feri._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Wei Jiang <talk90091e@gmail.com> writes:> On Mon, Jul 20, 2009 at 02:43:00PM +0200, Ferenc Wagner wrote: >> Wei Jiang <talk90091e@gmail.com> writes: >> >>>>> xm create -c xm-debian.cfg install=true >>>>> install-mirror=ftp://ftp.XX.debian.org/debian >>>>> >>>>> I got a kernel BUG >>>>> --------------------- >>>>> Installer: http://people.debian.org/~joeyh/d-i/images/daily >>>> >>>> You''re trying the daily snapshot of the installer, not the official >>>> Lenny one. >>> >>> The offical Lenny has the same problem. Details as below: >>> >>> # xm create -c xm-debian.cfg install=true install-mirror=ftp://ftp.uk.debian.org/debian >>> Using config file "./xm-debian.cfg". >>> Install Mirror: ftp://ftp.uk.debian.org/debian >>> Install Suite: lenny >>> Installer: ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images >>> >>> WARNING: Installer kernel and ramdisk are not authenticated. >>> >>> Fetching ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/xen/vmlinuz >>> Fetching ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/xen/initrd.gz >>> command line is "debian-installer/exit/always_halt=true -- quiet console=hvc0" >>> Started domain ExampleDomain >>> [ 0.004000] 1 multicall(s) failed: cpu 0 >>> [ 0.004000] ------------[ cut here ]------------ >>> [ 0.004000] kernel BUG at arch/x86/xen/multicalls.c:103! >>> [ 0.004000] EIP is at xen_mc_flush+0x131/0x13b >>> [ 0.004000] EAX: 00000001 EBX: c262ea60 ECX: 00000000 EDX: 00000000 >>> [ 0.004000] ESI: 00000000 EDI: 00000001 EBP: c262e060 ESP: c0391f78 >>> [ 0.004000] DS: e021 ES: e021 FS: 00d8 GS: 0000 SS: e021 >>> [ 0.004000] Process swapper (pid: 0, ti=c0390000 task=c0361300 task.ti=c0390000) >>> [ 0.004000] Stack: 00000000 00381000 00000000 30023001 00000000 c010577d 3007b000 00000000 >>> [ 0.004000] 30023001 00000000 30023001 00000000 00000000 c0381000 c011aaa6 c03a77cc >>> [ 0.004000] 30023001 00000000 00000020 c0391fe4 00000000 00000000 c03977be c03bbc80 >>> [ 0.004000] Call Trace: >>> [ 0.004000] [<c010577d>] xen_set_pud_hyper+0x8e/0xa6 >>> [ 0.004000] [<c011aaa6>] zap_low_mappings+0x46/0x60 >>> [ 0.004000] [<c03a77cc>] mem_init+0x324/0x340 >>> [ 0.004000] [<c03977be>] start_kernel+0x22f/0x2d7 >>> [ 0.004000] [<c039cd64>] xen_start_kernel+0x276/0x27c >>> [ 0.004000] ======================>>> [ 0.004000] Code: 5a 59 31 f6 8d 9d 00 0a 00 00 eb 09 8b 43 04 46 ff 13 83 c3 08 3b b5 08 0b 00 00 72 ef 85 ff c7 85 08 0b00 00 00 00 00 00 74 04 <0f> 0b eb fe 5b 5b 5e 5f 5d c3 57 89 d7 56 89 c6 53 b8 60 e0 3c >>> [ 0.004000] EIP: [<c0104de7>] xen_mc_flush+0x131/0x13b SS:ESP e021:c0391f78 >>> [ 0.004000] ---[ end trace 4eaa2a86a8e2da22 ]--- >>> [ 0.004000] Kernel panic - not syncing: Attempted to kill the idle task! >> >> That''s most interesting. Precisely what kernel/hypervisor/xen-tools >> version is this? On what type of machine? I never had such problems. > > My box is run CentOS 5.3 on x86_64, the xen is 3.1.2. I did some > changes from original xm-debian.cfg, which replace the original disk > with a specified file. > > [root@jzhu debian]# diff -up xm-debian.cfg.orig xm-debian.cfg > --- xm-debian.cfg.orig 2009-07-02 11:45:20.000000000 +0800 > +++ xm-debian.cfg 2009-07-02 11:47:08.000000000 +0800 > @@ -72,7 +72,8 @@ vif = [''''] > # > # NB: Only xvd devices are supported by the kernel in Debian Lenny > and later. > > -disk = [''phy:hda1,xvda,w''] > +#disk = [''phy:hda1,xvda,w''] > +disk = [''file:/workspace/vms/tvb.img,xvda,w'']This sounds OK, so it must be your specific architecture and version combination. I always used 32-bit hosts and Xen 3.2, so can''t report on anything else. At least your problem is not the Debian installer, but something more fundamental: starting the guest kernel. Can you start any 2.6.26 PV kernel at all? I can''t be of much further help, I''m afraid. -- Feri. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > > > -disk = [''phy:hda1,xvda,w''] > > +#disk = [''phy:hda1,xvda,w''] > > +disk = [''file:/workspace/vms/tvb.img,xvda,w''] > > This sounds OK, so it must be your specific architecture and version > combination. I always used 32-bit hosts and Xen 3.2, so can''t report > on anything else. At least your problem is not the Debian installer, > but something more fundamental: starting the guest kernel. Can you > start any 2.6.26 PV kernel at all? >I have not tried any 2.6.26 PV kernel. I will update Xen to newer later. Anyway, thanks you very much. -Wei> I can''t be of much further help, I''m afraid. > -- > Feri._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Wei Jiang <talk90091e@gmail.com> writes:>>> -disk = [''phy:hda1,xvda,w''] >>> +#disk = [''phy:hda1,xvda,w''] >>> +disk = [''file:/workspace/vms/tvb.img,xvda,w''] >> >> This sounds OK, so it must be your specific architecture and version >> combination. I always used 32-bit hosts and Xen 3.2, so can''t report >> on anything else. At least your problem is not the Debian installer, >> but something more fundamental: starting the guest kernel. Can you >> start any 2.6.26 PV kernel at all? >> > > I have not tried any 2.6.26 PV kernel.You must have, because the Lenny Xen installer is based on that. -- Feri. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Apparently Analagous Threads
- Xen 3.2.1-rc1: ptwr_emulate: could not get_page_from_l1e()
- (XEN) mm.c:707:d49 Error getting mfn 2fef3 (pfn 6aef3) from L1 entry
- latest pv_ops dom0 (2.6.29-rc6) crashes / unhandled page fault
- 2.6.26-rc8 pv_ops causes Unhandled invalid opcode fault/trap
- Loading FreeBSD in an HVM-domain on Intel-based host with GRUB