I followed the book called "Professional Xen Virtualization" written by William von Hagen,and published by Wiley Publishing,Inc. Here are some configuration files: #cat /xen/ubuntu/ubuntu.xen3.cfg kernel = "/boot/vmlinuz-2.6.18-128.1.16.el5xen" ramdisk = "/boot/initrd-2.6.18-128.1.16.el5xen-no-scsi.img" memory = "512" name = "Ubuntu804" vif = [''''] dhcp = "dhcp" disk = [''tap:aio:/home/samuel/VirtualMachines/ubuntu.8-04.img,xvdb,w''] root = "/dev/xvdb ro" The initrd-2.6.18-128.1.16.el5xen-no-scsi.img is created using "mkinitrd --omit-scsi-modules --with=xennet --with=xenblk --preload=xenblk initrd-2.6.18-128.1.16.el5xen-no-scsi.img 2.6.18-128.1.16.el5xen" This is a prebuilt image which is downloaded in Jailtime.org. After do some checks,I start creating. xm create /xen/ubuntu/ubuntu.xen3.cfg -c This starts happily at first,but it hangs at " * Running local boot scripts (/etc/rc.local) [ OK ]" According to some solutions I get from Google,"Try adding ''extra = ''xencons = tty1'''' or ''extra=''console=hvc0 xencons=tty''''"is recommended. So I add this to the "ubuntu.xen3.cfg" and "etc/rc.local"(after mount the img to /mnt/img). However,it also stop there saying "etc/rc.local : 13 :extra : not found." I''m so confused with this,what can I do? Sometimes,I also get another error: error:"kernel.maps_protect" is an unknown key. and "/dev/xvdb:12171/128256 files(1.0%non-contiguous),59907/256256 blocks fsck died with exit status 3 [fail] * The file system check corrected errors on the root partition but requested that the system should be restart. *The system will be restart in 5 seconds. Restarting system " How to solve all the errors that I come across???Can you Help? -- God more,self less. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Edmond Chen
2009-Jul-17 15:52 UTC
Re: [Xen-users] Coming across a problem when using "xm create".
Configure a console for domU. Add this line to domU''s inittab file: co:2345:respawn:/sbin/mingetty console 2009/7/16 程辉 <chenghui2050@gmail.com>> I followed the book called "Professional Xen Virtualization" written by > William von Hagen,and published by Wiley Publishing,Inc. > > Here are some configuration files: > #cat /xen/ubuntu/ubuntu.xen3.cfg > > kernel = "/boot/vmlinuz-2.6.18-128.1.16.el5xen" > ramdisk = "/boot/initrd-2.6.18-128.1.16.el5xen-no-scsi.img" > memory = "512" > name = "Ubuntu804" > vif = [''''] > dhcp = "dhcp" > disk = [''tap:aio:/home/samuel/VirtualMachines/ubuntu.8-04.img,xvdb,w''] > root = "/dev/xvdb ro" > > The initrd-2.6.18-128.1.16.el5xen-no-scsi.img is created using > "mkinitrd --omit-scsi-modules --with=xennet --with=xenblk --preload=xenblk > initrd-2.6.18-128.1.16.el5xen-no-scsi.img 2.6.18-128.1.16.el5xen" > > This is a prebuilt image which is downloaded in Jailtime.org. > > After do some checks,I start creating. > xm create /xen/ubuntu/ubuntu.xen3.cfg -c > This starts happily at first,but it hangs at > " * Running local boot scripts (/etc/rc.local) [ OK ]" > > According to some solutions I get from Google,"Try adding ''extra = ''xencons > = tty1'''' or ''extra=''console=hvc0 xencons=tty''''"is recommended. > So I add this to the "ubuntu.xen3.cfg" and "etc/rc.local"(after mount the > img to /mnt/img). > > However,it also stop there saying "etc/rc.local : 13 :extra : not found." > > I''m so confused with this,what can I do? > > > Sometimes,I also get another error: > > error:"kernel.maps_protect" is an unknown key. > > and > > "/dev/xvdb:12171/128256 files(1.0%non-contiguous),59907/256256 blocks fsck > died with exit status 3 [fail] > * The file system check corrected errors on the root partition but > requested that the system should be restart. > *The system will be restart in 5 seconds. > Restarting system " > > > How to solve all the errors that I come across???Can you Help? > > > > > > -- > God more,self less. > > _______________________________________________ > 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
Anyone who are willing to help me? 2009/7/16 程辉 <chenghui2050@gmail.com>> I followed the book called "Professional Xen Virtualization" written by > William von Hagen,and published by Wiley Publishing,Inc. > > Here are some configuration files: > #cat /xen/ubuntu/ubuntu.xen3.cfg > > kernel = "/boot/vmlinuz-2.6.18-128.1.16.el5xen" > ramdisk = "/boot/initrd-2.6.18-128.1.16.el5xen-no-scsi.img" > memory = "512" > name = "Ubuntu804" > vif = [''''] > dhcp = "dhcp" > disk = [''tap:aio:/home/samuel/VirtualMachines/ubuntu.8-04.img,xvdb,w''] > root = "/dev/xvdb ro" > > The initrd-2.6.18-128.1.16.el5xen-no-scsi.img is created using > "mkinitrd --omit-scsi-modules --with=xennet --with=xenblk --preload=xenblk > initrd-2.6.18-128.1.16.el5xen-no-scsi.img 2.6.18-128.1.16.el5xen" > > This is a prebuilt image which is downloaded in Jailtime.org. > > After do some checks,I start creating. > xm create /xen/ubuntu/ubuntu.xen3.cfg -c > This starts happily at first,but it hangs at > " * Running local boot scripts (/etc/rc.local) [ OK ]" > > According to some solutions I get from Google,"Try adding ''extra = ''xencons > = tty1'''' or ''extra=''console=hvc0 xencons=tty''''"is recommended. > So I add this to the "ubuntu.xen3.cfg" and "etc/rc.local"(after mount the > img to /mnt/img). > > However,it also stop there saying "etc/rc.local : 13 :extra : not found." > > I''m so confused with this,what can I do? > > > Sometimes,I also get another error: > > error:"kernel.maps_protect" is an unknown key. > > and > > "/dev/xvdb:12171/128256 files(1.0%non-contiguous),59907/256256 blocks fsck > died with exit status 3 [fail] > * The file system check corrected errors on the root partition but > requested that the system should be restart. > *The system will be restart in 5 seconds. > Restarting system " > > > How to solve all the errors that I come across???Can you Help? > > > > > > -- > God more,self less. >-- God more,self less. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nicolas Muñoz
2009-Jul-21 08:58 UTC
Re: [Xen-users] Re: Coming across a problem when using "xm create".
Hi, I don''t know anything about your "error:"kernel.maps_protect" is an unknown key." problem, but I don''t see why you add the extra = "xencons=tty" to rc.local, you just have to add this very line to your config file, and it should work. Rgds, Nic 2009/7/21 程辉 <chenghui2050@gmail.com>> Anyone who are willing to help me? > > 2009/7/16 程辉 <chenghui2050@gmail.com> > >> I followed the book called "Professional Xen Virtualization" written by >> William von Hagen,and published by Wiley Publishing,Inc. >> >> Here are some configuration files: >> #cat /xen/ubuntu/ubuntu.xen3.cfg >> >> kernel = "/boot/vmlinuz-2.6.18-128.1.16.el5xen" >> ramdisk = "/boot/initrd-2.6.18-128.1.16.el5xen-no-scsi.img" >> memory = "512" >> name = "Ubuntu804" >> vif = [''''] >> dhcp = "dhcp" >> disk = [''tap:aio:/home/samuel/VirtualMachines/ubuntu.8-04.img,xvdb,w''] >> root = "/dev/xvdb ro" >> >> The initrd-2.6.18-128.1.16.el5xen-no-scsi.img is created using >> "mkinitrd --omit-scsi-modules --with=xennet --with=xenblk --preload=xenblk >> initrd-2.6.18-128.1.16.el5xen-no-scsi.img 2.6.18-128.1.16.el5xen" >> >> This is a prebuilt image which is downloaded in Jailtime.org. >> >> After do some checks,I start creating. >> xm create /xen/ubuntu/ubuntu.xen3.cfg -c >> This starts happily at first,but it hangs at >> " * Running local boot scripts (/etc/rc.local) [ OK ]" >> >> According to some solutions I get from Google,"Try adding ''extra >> ''xencons = tty1'''' or ''extra=''console=hvc0 xencons=tty''''"is recommended. >> So I add this to the "ubuntu.xen3.cfg" and "etc/rc.local"(after mount the >> img to /mnt/img). >> >> However,it also stop there saying "etc/rc.local : 13 :extra : not found." >> >> I''m so confused with this,what can I do? >> >> >> Sometimes,I also get another error: >> >> error:"kernel.maps_protect" is an unknown key. >> >> and >> >> "/dev/xvdb:12171/128256 files(1.0%non-contiguous),59907/256256 blocks fsck >> died with exit status 3 [fail] >> * The file system check corrected errors on the root partition but >> requested that the system should be restart. >> *The system will be restart in 5 seconds. >> Restarting system " >> >> >> How to solve all the errors that I come across???Can you Help? >> >> >> >> >> >> -- >> God more,self less. >> > > > > -- > God more,self less. > > _______________________________________________ > 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