I am creating a CentOS DomU on Debian lenny. I am following this guide. http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU I created two volume groups. One for swap another for root. I downloaded kernels and initrd from here http://mirror.centos.org/centos/5/os/x86_64/images/xen/vmlinuz http://mirror.centos.org/centos/5/os/x86_64/images/xen/initrd.img I did not wanted to create a kickstart file. Here is centos5.cfg file I created. ------------------------------------------------------------------------------------------------------------------------------- kernel = "/boot/vmlinuz-xen-install" ramdisk = "/boot/initrd-xen-install" #extra = "text ks=http://localhost/minimal-ks-x86_64.cfg" extra = "text" name = "centos5" memory = "1024" root = ''/dev/xvda ro'' disk = [ ''phy:/dev/virtualization/centos5-swap,xvda1,w'', ''phy:/dev/virtualization/centos5-disk,xvda2,w'', ] vif = [ ''bridge=eth2'', ] vnc=1 vnclisten="0.0.0.0" vncpasswd=''boguspasswd'' vcpus=1 on_poweroff=''destroy'' on_reboot = ''destroy'' on_crash = ''destroy'' ------------------------------------------------------------------------------------------------------------------------------- Is this .cfg file wrong. Any help would be appreciated. I am getting some error as Hotplug script not working. How should I proceed ? Some one suggested me to use vnc.I am not running Gnome Display on Dom0 is it still possible install by using vnc? -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, May 17, 2010 at 7:40 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> I am creating a CentOS DomU on Debian lenny. > I am following this guide. > http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomUNo you don''t.> disk = [ > ''phy:/dev/virtualization/centos5-swap,xvda1,w'', > ''phy:/dev/virtualization/centos5-disk,xvda2,w'', > ]> Is this .cfg file wrong.Yes. When following a tutorial, best stick with it all the way, changing something only after you''re sure what it does. Note how the tutorial maps the disk as xvda, instead of xvda1? They do that for a reason. While there are ways to map dom0 LVs as domU partition, that''s not the way to do it. Not by following that tutorial and simply change the disk.> > Any help would be appreciated. > I am getting some error as Hotplug script not working. > How should I proceed ?This is actually a different problem altogether. It could be anything from a broken installation, udevd dead, wrong bridge name, and so on. I''d start by making sure you have a working system first, and that you can create a working domU (any kind will do). After that, /var/log/messages, /var/log/daemon.log, and /var/log/xen/xend.log usually give some more info as to what went wrong. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, May 17, 2010 at 8:16 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Mon, May 17, 2010 at 7:40 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >> I am creating a CentOS DomU on Debian lenny. >> I am following this guide. >> http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU > > No you don''t. > >> disk = [ >> ''phy:/dev/virtualization/centos5-swap,xvda1,w'', >> ''phy:/dev/virtualization/centos5-disk,xvda2,w'', >> ] > >> Is this .cfg file wrong. > > Yes. > When following a tutorial, best stick with it all the way, changing > something only after you''re sure what it does. > > Note how the tutorial maps the disk as xvda, instead of xvda1? They do > that for a reason.Thanks for pointing that out.I am using LVM based Image.I have Debian images running as DomU .Which are running fine. xm list shows Name ID Mem VCPUs State Time(s) Domain-0 0 875 8 r----- 67.0 Domu1 3 2048 1 -b---- 18.1 I read all your posts here http://markmail.org/thread/cvu56ik7n3kplisw http://lists.xensource.com/archives/html/xen-users/2009-05/msg00536.html http://pastebin.com/fb6fe631 http://pastebin.com/f6a5022bf http://pastebin.com/f63285128> While there are ways to map dom0 LVs as domU partition, that''s not the > way to do it. Not by following that tutorial and simply change the > disk.Please let me know what mistake I did and what should I change.>> Any help would be appreciated. >> I am getting some error as Hotplug script not working. >> How should I proceed ? > > This is actually a different problem altogether. > It could be anything from a broken installation, udevd dead, wrong > bridge name, and so on. I''d start by making sure you have a working > system first, and that you can create a working domU (any kind will > do).Yes I do have a working system with Debian Lenny as Dom0 and then 2 DomU are also Debian Lenny.>After that, /var/log/messages, /var/log/daemon.log, and > /var/log/xen/xend.log usually give some more info as to what went > wrong.I have pasted the output of all the above files here /var/log/messages http://pastebin.com/ag1RrgpF and /var/log/xen/xend.log http://pastebin.com/D3GSPNzW /var/log/daemon.log http://pastebin.com/4fpqnBsP Let me also know if I need to search or read some thing more. Thanks for your reply. -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, May 17, 2010 at 10:01 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> Thanks for pointing that out.I am using LVM based Image.I have Debian > images running as DomU .Which are running fine. > xm list shows > Name ID Mem VCPUs State Time(s) > Domain-0 0 875 8 r----- 67.0 > Domu1 3 2048 1 -b---- 18.1I''d start by comparing their config files. Can you paste domu1''s config file?>> While there are ways to map dom0 LVs as domU partition, that''s not the >> way to do it. Not by following that tutorial and simply change the >> disk. > Please let me know what mistake I did and what should I change.Short version, if you follow the Centos tutorial (possibly by changing bridge name or whatever settings specific to your system) and map the disks as xvda, you should get a working centos domU the equivalent of installing-from-HVM-and-convert-to-PV, but with less steps. That is, you''d get one disk (xvda) with partition table on it. If you want to have a domU that doesn''t use partition on domU side (i.e. directly maps the disk as xvda1), you can''t use Centos installer. Some manual process is necessary. Your problem of "hotplug not working", however, should be unrelated to mapping xvda vs xvda1. I''d start by comparing the config files. Perhaps the bridge is incorrect? -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, May 17, 2010 at 8:45 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Mon, May 17, 2010 at 10:01 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >> Thanks for pointing that out.I am using LVM based Image.I have Debian >> images running as DomU .Which are running fine. >> xm list shows >> Name ID Mem VCPUs State Time(s) >> Domain-0 0 875 8 r----- 67.0 >> Domu1 3 2048 1 -b---- 18.1 > > I''d start by comparing their config files. Can you paste domu1''s config file?http://pastebin.com/gZT0icUs>>> While there are ways to map dom0 LVs as domU partition, that''s not the >>> way to do it. Not by following that tutorial and simply change the >>> disk. > Short version, if you follow the Centos tutorial (possibly by changing > bridge name or whatever settings specific to your system)brctl show gives following output /etc/xen# brctl show bridge name bridge id STP enabled interfaces eth2 8000.0026b9824238 no peth2 vif1.0 vif2.0 vif3.0> and map the > disks as xvda,I could not understand this part. Can you give some link to or clue to what you are saying.>you should get a working centos domU the equivalent of > installing-from-HVM-and-convert-to-PV, but with less steps. That is, > you''d get one disk (xvda) with partition table on it.What does xvda refer to where can I get more information about it. I did a fdisk -l # fdisk -l Disk /dev/xvda1: 4294 MB, 4294967296 bytes 255 heads, 63 sectors/track, 522 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/xvda1 doesn''t contain a valid partition table Disk /dev/xvda2: 103.0 GB, 103079215104 bytes 255 heads, 63 sectors/track, 12532 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/xvda2 doesn''t contain a valid partition table> If you want to have a domU that doesn''t use partition on domU side > (i.e. directly maps the disk as xvda1), you can''t use Centos > installer. Some manual process is necessary.What is that manual process some where can I read it.> Your problem of "hotplug not working", however, should be unrelated to > mapping xvda vs xvda1. I''d start by comparing the config files. > Perhaps the bridge is incorrect?Here is /etc/xen/xend-config.sxp http://pastebin.com/MwfAXerv -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I digged a bit more and found http://lists.xensource.com/archives/html/xen-users/2007-03/msg00339.html in this link person has mentioned "xm create with a loopback image" solved the problem.Can you tell me what is he trying to say? -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, May 17, 2010 at 10:58 PM, Tapas Mishra <mightydreams@gmail.com> wrote:>> I''d start by comparing their config files. Can you paste domu1''s config file? > http://pastebin.com/gZT0icUs >>> and map the >> disks as xvda, > I could not understand this part. > Can you give some link to or clue to what you are saying.It means, try use this config file to install your centos domU. Note how the disk is mapped as xvda and xvdb, instead of xvda1 and xvda2? #--------------------------------------------------------------------------------- kernel = "/boot/vmlinuz-xen-install" ramdisk = "/boot/initrd-xen-install" extra = " text" name = "centos5" memory = "1024" disk = [ ''phy:/dev/virtualization/centos5-disk,xvda,w'', ''phy:/dev/virtualization/centos5-swap,xvdb,w'', ] vif = [ ''mac=00:16:3E:2D:B5:80''] vnc=1 vnclisten="0.0.0.0" vncpasswd=''boguspasswd'' vcpus=1 on_poweroff=''destroy'' on_reboot = ''destroy'' on_crash = ''destroy'' #--------------------------------------------------------------------------------- -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I am mentioning all the steps that I have done till now. Step 1) I created lvcreate --name domu3-swap --size 2G virtualization lvcreate --name domu3-root --size 98G virtualization Step 2) wget http://mirror.centos.org/centos/5/os/i386/images/xen/vmlinuz -O /boot/vmlinuz-xen-install wget http://mirror.centos.org/centos/5/os/i386/images/xen/initrd.img -O /boot/initrd-xen-install Step3 ) Created a centos.cfg file. Where gave path to above downloaded vmlinuz and initrd. Probably this file may have some error. You can see the file here This is a working domu cfg file http://pastebin.com/Kzvghk9e This is the file created based on above http://pastebin.com/5ZXqk6xp Step 4) Under section Example kickstart file on http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU I created a kickstart file.(Which later on after I found was not working had discarded the idea of using it and going to a text based install) Step 5) As far as my understanding is for VNC in /etc/xen/xend-config.sxp (vnc-listen ''127.0.0.1'') (vncpasswd ''a'') These two lines are to be there.If there is any thing more then let me know. Step 6) Also in DomU that is CentOS we are trying to install vnc=1 vnclisten="0.0.0.0" vncpasswd=''a'' Step 7) To start installation did xm create /etc/xen/centos.cfg -c After some minutes there was an error Hotplug scripts not working. Which ever step above was wrong let me know.If I have missed some thing then correct me. -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, May 18, 2010 at 11:20 AM, Tapas Mishra <mightydreams@gmail.com> wrote:> This is a working domu cfg file > http://pastebin.com/Kzvghk9e > > This is the file created based on above > http://pastebin.com/5ZXqk6xpNo it''s not. It''s not what I suggest you use, and it''s not like the working config that you have. For example, "vif = [ ''type=ioemu," is only valid on HVM domU. And even then you shouldn''t use it.> Step 6) Also in DomU that is CentOS we are trying to install > > vnc=1 > vnclisten="0.0.0.0" > vncpasswd=''a''Those are for HVM domU. I made an error in my suggestion earlier. For PV domU, it should be something like vfb=[''vnc=1,vnclisten=0.0.0.0'']> > Step 7) To start installation did > xm create /etc/xen/centos.cfg -c > > After some minutes there was an error Hotplug scripts not working.Why don''t you start with actually using the config I suggested, plus the change in vfb #--------------------------------------------------------------------------------- kernel = "/boot/vmlinuz-xen-install" ramdisk = "/boot/initrd-xen-install" extra = " text" name = "centos5" memory = "1024" disk = [ ''phy:/dev/virtualization/centos5-disk,xvda,w'', ''phy:/dev/virtualization/centos5-swap,xvdb,w'', ] vif = [ ''mac=00:16:3E:2D:B5:80''] vfb=[''vnc=1,vnclisten=0.0.0.0''] vcpus=1 on_poweroff=''destroy'' on_reboot = ''destroy'' on_crash = ''destroy'' #--------------------------------------------------------------------------------- Also make sure you have correct LV names. First you said it was "centos5-disk", and then you say "lvcreate --name domu3-root --size 98G virtualization", but your pasted config says "''phy:/dev/virtualization/ocw-disk''" -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, May 18, 2010 at 9:59 AM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Tue, May 18, 2010 at 11:20 AM, Tapas Mishra <mightydreams@gmail.com> wrote: >> This is a working domu cfg file >> http://pastebin.com/Kzvghk9e >> >> This is the file created based on above >> http://pastebin.com/5ZXqk6xp > > No it''s not. > It''s not what I suggest you use, and it''s not like the working config > that you have. > For example, "vif = [ ''type=ioemu," is only valid on HVM domU. A7nd > even then you shouldn''t use it. > >> Step 6) Also in DomU that is CentOS we are trying to install >> >> vnc=1 >> vnclisten="0.0.0.0" >> vncpasswd=''a'' > > Those are for HVM domU. > I made an error in my suggestion earlier. For PV domU, it should be > something like > vfb=[''vnc=1,vnclisten=0.0.0.0''] > >> >> Step 7) To start installation did >> xm create /etc/xen/centos.cfg -c >> >> After some minutes there was an error Hotplug scripts not working. > > Why don''t you start with actually using the config I suggested,Just if you can remind me which one you said I forgot in fact confused.> plus > the change in vfb > > #--------------------------------------------------------------------------------- > kernel = "/boot/vmlinuz-xen-install" > ramdisk = "/boot/initrd-xen-install" > extra = " text" > name = "centos5" > memory = "1024" > > disk = [ > ''phy:/dev/virtualization/centos5-disk,xvda,w'', > ''phy:/dev/virtualization/centos5-swap,xvdb,w'', > ] > > vif = [ ''mac=00:16:3E:2D:B5:80''] > vfb=[''vnc=1,vnclisten=0.0.0.0''] > vcpus=1 > on_poweroff=''destroy'' > on_reboot = ''destroy'' > on_crash = ''destroy'' > #--------------------------------------------------------------------------------- > > Also make sure you have correct LV names. First you said it was > "centos5-disk", and then you say "lvcreate --name domu3-root --size > 98G virtualization", but your pasted config says > "''phy:/dev/virtualization/ocw-disk''" >Yea :) -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ok I am starting again. Before I start just wanted to make sure if this is the cfg file you said http://pastebin.com/sKZGU0eb it is xvda1,xvda2 which are the entries present on DomU''s Should I changed them to some thing like xvda or xvdb -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I got following error Error: configuration option vnc unknown to vfbs this is my cfg fie kernel = "/boot/vmlinuz-xen-install" initrd = "/boot/initrd-xen-install" extra = "text" name = "centos5" memory = "1024" root = ''/dev/xvda2 ro'' disk = [ ''phy:mapper/virtualization/ocw-swap,xvda1,w'', ''phy:mapper/virtualization/ocw-disk,xvda2,w'', ] vif = [ ''bridge=eth2''] vfb = [''vnc=1,vnclisten=0.0.0.0''] sdl=0 vncconsole=1 vncpasswd=''a'' stdvga=0 serial=''pty'' usbdevice=''tablet'' on_poweroff=''destroy'' on_reboot = ''destroy'' on_crash = ''destroy'' On Tue, May 18, 2010 at 10:27 AM, Tapas Mishra <mightydreams@gmail.com> wrote:> Ok I am starting again. > Before I start just wanted to make sure > if this is the cfg file you said > http://pastebin.com/sKZGU0eb > > it is xvda1,xvda2 which are the entries present on DomU''s > Should I changed them to some thing like xvda or xvdb > > -- > Tapas >-- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I am getting this error xenconsole: Could not read tty from store: No such file or directory any idea ? On Tue, May 18, 2010 at 10:45 AM, Tapas Mishra <mightydreams@gmail.com> wrote:> I > got following error > Error: configuration option vnc unknown to vfbs > > this is my cfg fie > > kernel = "/boot/vmlinuz-xen-install" > initrd = "/boot/initrd-xen-install" > extra = "text" > name = "centos5" > memory = "1024" > root = ''/dev/xvda2 ro'' > > disk = [ > ''phy:mapper/virtualization/ocw-swap,xvda1,w'', > ''phy:mapper/virtualization/ocw-disk,xvda2,w'', > ] > vif = [ ''bridge=eth2''] > vfb = [''vnc=1,vnclisten=0.0.0.0''] > sdl=0 > > vncconsole=1 > vncpasswd=''a'' > stdvga=0 > serial=''pty'' > usbdevice=''tablet'' > on_poweroff=''destroy'' > on_reboot = ''destroy'' > on_crash = ''destroy'' > > > On Tue, May 18, 2010 at 10:27 AM, Tapas Mishra <mightydreams@gmail.com> wrote: >> Ok I am starting again. >> Before I start just wanted to make sure >> if this is the cfg file you said >> http://pastebin.com/sKZGU0eb >> >> it is xvda1,xvda2 which are the entries present on DomU''s >> Should I changed them to some thing like xvda or xvdb >> >> -- >> Tapas >> > > > > -- > Tapas >-- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, May 18, 2010 at 12:15 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> I > got following error > Error: configuration option vnc unknown to vfbs > > this is my cfg fieI''ve pasted my recommended config over and over again. Did you actually read my response? Why did you keep insisting on using xvda1 and xvda2 with Centos installer? Here it is, one more time #--------------------------------------------------------------------------------- kernel = "/boot/vmlinuz-xen-install" ramdisk = "/boot/initrd-xen-install" extra = " text" name = "centos5" memory = "1024" disk = [ ''phy:/dev/virtualization/centos5-disk,xvda,w'', ''phy:/dev/virtualization/centos5-swap,xvdb,w'', ] vif = [ ''mac=00:16:3E:2D:B5:80''] vfb=[''vnc=1,vnclisten=0.0.0.0''] vcpus=1 on_poweroff=''destroy'' on_reboot = ''destroy'' on_crash = ''destroy'' #--------------------------------------------------------------------------------- If you still got vnc error with this config file, it''s possible that your xen version does not support vfb for PV guest. In that case you can simply comment it out. When running text-based installer, Centos installer does not need a frame buffer. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, May 18, 2010 at 11:07 AM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Tue, May 18, 2010 at 12:15 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >> I >> got following error >> Error: configuration option vnc unknown to vfbs >> >> this is my cfg fie > > I''ve pasted my recommended config over and over again.Sorry about that. I was not able to understand that. >Did you> actually read my response? Why did you keep insisting on using xvda1 > and xvda2 with Centos installer?Actually on other DomUs it is xvda1 and xvda2 so I thought in one of your responses you said.Any how I have copy pasted the same that you mailed. Once again sorry about this.It was confusing.> Here it is, one more time > > #--------------------------------------------------------------------------------- > kernel = "/boot/vmlinuz-xen-install" > ramdisk = "/boot/initrd-xen-install" > extra = " text" > name = "centos5" > memory = "1024" > > disk = [ > ''phy:/dev/virtualization/centos5-disk,xvda,w'', > ''phy:/dev/virtualization/centos5-swap,xvdb,w'', > ] > > vif = [ ''mac=00:16:3E:2D:B5:80''] > vfb=[''vnc=1,vnclisten=0.0.0.0''] > vcpus=1 > on_poweroff=''destroy'' > on_reboot = ''destroy'' > on_crash = ''destroy'' > #--------------------------------------------------------------------------------- > > If you still got vnc error with this config file,Yes there was error Error: configuration option vnc unknown to vfbs>it''s possible that > your xen version does not support vfb for PV guest. In that case you > can simply comment it out.Yes there was error I have commented it out now.Have used xvda and xvdb not xvda1,xvda2>When running text-based installer, Centos > installer does not need a frame buffer.After this I did xm create t1.cfg -c Where t1 is the new cfg I created after this thread. vfb is commened.xvda and xvdb are there. xm create t1.cfg -c after some time got Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working. after this I do not have any clue/ -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
In /var/log/daemon.log I see these line repeated. Forced to steal lock on /var/run/xen-hotplug/block from 14462: /etc/xen/scripts/xen-hotplu g-cleanup! and also /etc/xen/scripts/xen-hotplug-cleanup: Forced to steal lock on /var/run/xen-hotplug/block from unknown! On Tue, May 18, 2010 at 11:45 AM, Tapas Mishra <mightydreams@gmail.com> wrote:> On Tue, May 18, 2010 at 11:07 AM, Fajar A. Nugraha <fajar@fajar.net> wrote: >> On Tue, May 18, 2010 at 12:15 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >>> I >>> got following error >>> Error: configuration option vnc unknown to vfbs >>> >>> this is my cfg fie >> >> I''ve pasted my recommended config over and over again. > Sorry about that. I was not able to understand that. > >Did you >> actually read my response? Why did you keep insisting on using xvda1 >> and xvda2 with Centos installer? > Actually on other DomUs it is xvda1 and xvda2 so I thought in one of > your responses you said.Any how I have copy pasted the same that you > mailed. > Once again sorry about this.It was confusing. >> Here it is, one more time >> >> #--------------------------------------------------------------------------------- >> kernel = "/boot/vmlinuz-xen-install" >> ramdisk = "/boot/initrd-xen-install" >> extra = " text" >> name = "centos5" >> memory = "1024" >> >> disk = [ >> ''phy:/dev/virtualization/centos5-disk,xvda,w'', >> ''phy:/dev/virtualization/centos5-swap,xvdb,w'', >> ] >> >> vif = [ ''mac=00:16:3E:2D:B5:80''] >> vfb=[''vnc=1,vnclisten=0.0.0.0''] >> vcpus=1 >> on_poweroff=''destroy'' >> on_reboot = ''destroy'' >> on_crash = ''destroy'' >> #--------------------------------------------------------------------------------- >> >> If you still got vnc error with this config file, > Yes there was error > Error: configuration option vnc unknown to vfbs > >>it''s possible that >> your xen version does not support vfb for PV guest. In that case you >> can simply comment it out. > Yes there was error I have commented it out now.Have used xvda and > xvdb not xvda1,xvda2 >>When running text-based installer, Centos >> installer does not need a frame buffer. > After this I did xm create t1.cfg -c > Where t1 is the new cfg I created after this thread. vfb is > commened.xvda and xvdb are there. > > xm create t1.cfg -c after some time got > Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working. > > after this I do not have any clue/ > -- > Tapas >-- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, May 18, 2010 at 1:15 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> Where t1 is the new cfg I created after this thread. vfb is > commened.xvda and xvdb are there. > > xm create t1.cfg -c after some time got > Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working. > > after this I do not have any clue/That''s odd. Look at several last lines (about 100 lines or so) on /var/log/xen/xend.log what does it say about centos5-disk and centos5-swap? Does it say device not found or something like that? Try shutting down your running debian domU, and change centos domU''s disk section line from disk = [ ''phy:/dev/virtualization/centos5-disk,xvda,w'', ''phy:/dev/virtualization/centos5-swap,xvdb,w'', ] to simply disk = [''phy:/dev/virtualization/research-disk,xvda,w''] That is, use a block device from your other domU that''s known to work. If it DOES work, don''t follow through with the install process though. Destroy the domU immediately with "xm destroy". This is simply to isolate whether the problem is in that particular block device or not. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I just changed the installation method of CentOS by using a utility called rinse .To my wonder it started xen-create-image --hostname centos5_domU --ip 192.168.1.50 --install-method rinse --force --dist centos-5 --arch=amd64 when I tried to boot xm create -c /etc/xen/centos5_domU.cfg showed me an error message missing destination file operand after `initrd-xen-install.img'' I had downloaded the files from here http://mirror.centos.org/centos/5/os/i386/images/xen/initrd.img I finally renamed to the initrd to initrd-xen-install.img then did xm create -c centos5_domu5.cfg I am able to see a CentOS welcome screen an image of which I have uploaded here I am not able to understand how now to select the installation things like English et I have done in past text based installations.Selecting space it had not selected the English on screen. The snapshot you can see here. http://www.flickr.com/photos/48996087@N07/4617619327/ and here http://www.flickr.com/photos/48996087@N07/4617619329/ I have no clue as how to proceed and post installation. Please see now it the discussion had been fruitful till here. On Tue, May 18, 2010 at 12:07 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Tue, May 18, 2010 at 1:15 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >> Where t1 is the new cfg I created after this thread. vfb is >> commened.xvda and xvdb are there. >> >> xm create t1.cfg -c after some time got >> Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working. >> >> after this I do not have any clue/ > > That''s odd. Look at several last lines (about 100 lines or so) on > /var/log/xen/xend.log what does it say about centos5-disk and > centos5-swap? Does it say device not found or something like that? > > Try shutting down your running debian domU, and change centos domU''s > disk section line from > > disk = [ > ''phy:/dev/virtualization/centos5-disk,xvda,w'', > ''phy:/dev/virtualization/centos5-swap,xvdb,w'', > ] > > > to simply > > disk = [''phy:/dev/virtualization/research-disk,xvda,w''] > > That is, use a block device from your other domU that''s known to work. > If it DOES work, don''t follow through with the install process though. > Destroy the domU immediately with "xm destroy". This is simply to > isolate whether the problem is in that particular block device or not. > > -- > Fajar >-- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I tried by hosting CentOS on Dom0 and dom0 had a webserver but doing installation it gaves following error Unable to retrieve | | http://http://172.21.100.147/ | | /centos/images/stage2.img. Where as I checked that file is there on the webserver. I have uploaded a snapshot. http://www.flickr.com/photos/48996087@N07/4618251522/ If they are not clear let me know where to upload if any one interested to see them. On Tue, May 18, 2010 at 1:06 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> I just changed the installation method of CentOS by using a utility > called rinse .To my wonder it started > xen-create-image --hostname centos5_domU --ip 192.168.1.50 > --install-method rinse --force --dist centos-5 --arch=amd64 > > when I tried to boot xm create -c /etc/xen/centos5_domU.cfg > showed me an error message > > missing destination file operand after `initrd-xen-install.img'' > > I had downloaded the files from here > http://mirror.centos.org/centos/5/os/i386/images/xen/initrd.img > I finally renamed to the initrd to initrd-xen-install.img > then did > xm create -c centos5_domu5.cfg > > I am able to see a CentOS welcome screen > an image of which I have uploaded here > I am not able to understand how now to select the installation things > like English et > I have done in past text based installations.Selecting space it had > not selected the > English on screen. > The snapshot you can see here. > http://www.flickr.com/photos/48996087@N07/4617619327/ > and here > http://www.flickr.com/photos/48996087@N07/4617619329/ > I have no clue as how to proceed and post installation. > Please see now it the discussion had been fruitful till here. > > > On Tue, May 18, 2010 at 12:07 PM, Fajar A. Nugraha <fajar@fajar.net> wrote: >> On Tue, May 18, 2010 at 1:15 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >>> Where t1 is the new cfg I created after this thread. vfb is >>> commened.xvda and xvdb are there. >>> >>> xm create t1.cfg -c after some time got >>> Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working. >>> >>> after this I do not have any clue/ >> >> That''s odd. Look at several last lines (about 100 lines or so) on >> /var/log/xen/xend.log what does it say about centos5-disk and >> centos5-swap? Does it say device not found or something like that? >> >> Try shutting down your running debian domU, and change centos domU''s >> disk section line from >> >> disk = [ >> ''phy:/dev/virtualization/centos5-disk,xvda,w'', >> ''phy:/dev/virtualization/centos5-swap,xvdb,w'', >> ] >> >> >> to simply >> >> disk = [''phy:/dev/virtualization/research-disk,xvda,w''] >> >> That is, use a block device from your other domU that''s known to work. >> If it DOES work, don''t follow through with the install process though. >> Destroy the domU immediately with "xm destroy". This is simply to >> isolate whether the problem is in that particular block device or not. >> >> -- >> Fajar >> > > > > -- > Tapas >-- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
In /etc/xen/xen-tools I have used kernel and initrd the ones downloaded from CentOS site http://mirrors.kernel.org/centos/5.5/os/x86_64/images is it correct or wrong. In /etc/xen-tools/xen-tools.conf vmlinuz and initrd should point to the downloaded vmlinuz and initrd or the Debian Dom0 vmlinuz and initrd. ---------- Forwarded message ---------- From: Tapas Mishra <mightydreams@gmail.com> Date: Tue, May 18, 2010 at 1:19 PM Subject: Re: [Xen-users] cent os domu creation problem To: "Fajar A. Nugraha" <fajar@fajar.net> Cc: Xen List <xen-users@lists.xensource.com> I tried by hosting CentOS on Dom0 and dom0 had a webserver but doing installation it gaves following error Unable to retrieve | | http://http://172.21.100.147/ | | /centos/images/stage2.img. Where as I checked that file is there on the webserver. I have uploaded a snapshot. http://www.flickr.com/photos/48996087@N07/4618251522/ If they are not clear let me know where to upload if any one interested to see them. On Tue, May 18, 2010 at 1:06 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> I just changed the installation method of CentOS by using a utility > called rinse .To my wonder it started > xen-create-image --hostname centos5_domU --ip 192.168.1.50 > --install-method rinse --force --dist centos-5 --arch=amd64 > > when I tried to boot xm create -c /etc/xen/centos5_domU.cfg > showed me an error message > > missing destination file operand after `initrd-xen-install.img'' > > I had downloaded the files from here > http://mirror.centos.org/centos/5/os/i386/images/xen/initrd.img > I finally renamed to the initrd to initrd-xen-install.img > then did > xm create -c centos5_domu5.cfg > > I am able to see a CentOS welcome screen > an image of which I have uploaded here > I am not able to understand how now to select the installation things > like English et > I have done in past text based installations.Selecting space it had > not selected the > English on screen. > The snapshot you can see here. > http://www.flickr.com/photos/48996087@N07/4617619327/ > and here > http://www.flickr.com/photos/48996087@N07/4617619329/ > I have no clue as how to proceed and post installation. > Please see now it the discussion had been fruitful till here. > > > On Tue, May 18, 2010 at 12:07 PM, Fajar A. Nugraha <fajar@fajar.net> wrote: >> On Tue, May 18, 2010 at 1:15 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >>> Where t1 is the new cfg I created after this thread. vfb is >>> commened.xvda and xvdb are there. >>> >>> xm create t1.cfg -c after some time got >>> Error: Device 51712 (vbd) could not be connected. Hotplug scripts not working. >>> >>> after this I do not have any clue/ >> >> That''s odd. Look at several last lines (about 100 lines or so) on >> /var/log/xen/xend.log what does it say about centos5-disk and >> centos5-swap? Does it say device not found or something like that? >> >> Try shutting down your running debian domU, and change centos domU''s >> disk section line from >> >> disk = [ >> ''phy:/dev/virtualization/centos5-disk,xvda,w'', >> ''phy:/dev/virtualization/centos5-swap,xvdb,w'', >> ] >> >> >> to simply >> >> disk = [''phy:/dev/virtualization/research-disk,xvda,w''] >> >> That is, use a block device from your other domU that''s known to work. >> If it DOES work, don''t follow through with the install process though. >> Destroy the domU immediately with "xm destroy". This is simply to >> isolate whether the problem is in that particular block device or not. >> >> -- >> Fajar >> > > > > -- > Tapas >-- Tapas -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I am installing CentOs 5.5 as DomU on Debian Lenny running amd64 2.6.26-2-xen-amd64 I downloaded two files vmlinuz and initrd from here http://mirrors.kernel.org/centos/5.5...64/images/xen/ copied them to /boot and changed their names to vmlinuz-xen-install and initrd-xen-install In my /etc/xen-tools/xen-tools.conf I made following changes to be able to install centOS domu via rinse method Code: install-method = rinse dist = centos-5 kernel = /boot/vmlinuz-xen-install initrd = /boot/initrd-xen-install I mounted a CentOS5.5. ISO dd if=/dev/cdrom of=/root/centos.iso bs=1024 count=1 mount -t iso9660 -o loop /root/centos.iso /root/inscd/ So /root/inscd/ had the contents of CentOS cd Then I did to create image Code: xen-create-image --hostname=new_centOS --size=96GB --swap=2048 Mb --ip=192.1.100.19 --memory=1024 --arch=amd64 --role=udev --force --install-method=rinse --install-source=/root/inscd/ every thing went fine at the end there was a new_centOS.cfg file Then executed xm create new_centOS.cfg -c the output is following and it hanged in between no more proceeding. Code: Using config file "./new_centOS.cfg". Started domain new_centOS TCP: Hash tables configured (established 262144 bind 65536) TCP reno registered audit: initializing netlink socket (disabled) type=2000 audit(1274202380.846:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) Initializing Cryptographic API alg: No test for crc32c (crc32c-generic) ksign: Installing public key data Loading keyring - Added public key C596239A507DE7FD - User ID: CentOS (Kernel Module GPG key) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 rtc: IRQ 8 is not free. Non-volatile memory driver v1.2 Linux agpgart interface v0.101 (c) Dave Jones brd: module loaded Xen virtual console successfully installed as xvc0 Event-channel device installed. Console: switching to colour frame buffer device 100x37 input: Xen Virtual Keyboard/Mouse as /class/input/input0 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx ide-floppy driver 0.99.newide usbcore: registered new driver hiddev usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 TCP bic registered Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 XENBUS: Device with no driver: device/vbd/51713 XENBUS: Device with no driver: device/vbd/51714 XENBUS: Device with no driver: device/vif/0 XENBUS: Device with no driver: device/console/0 Initalizing network drop monitor service Write protecting the kernel read-only data: 483k Giving only upto this much message it had hanged. What might have gone wrong any guesses? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users