I''m on ther verge of giving up... Am I doing something wrong here? here are the steps I followed to get xen running on an HP Proliant DL360 4 CPU system. : *Native kernel 2.6.11.x (FC4) * Downloaded xen-unstable sources and compiled an SMP enabled kernel (cause the default xen kernels that came with FC4 just gave up before boot....phooofff...it just reboots the system after splashing the grub screen!) * dom0 booted fine * xend start gave the following error but was up and running : # xend start error connecting to xcs(ctrl)! (2) Exception in thread ChannelFactory: Traceback (most recent call last): File "/usr/lib/python2.4/threading .py", line 442, in __bootstrap self.run() File "/usr/lib/python2.4/threading.py", line 422, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.4/site-packages/xen/xend/server/channel.py", line 185, in main port = self.notifier.read() IOError: [Errno 9] Bad file descriptor ..... again... it''s not predictable.. sometimes it gives this error sometimes it doesnt! * tried booting a VBD domain which worked fine on a UP box but failed on the SMP box my config file looks like: kernel ="/boot/vmlinuz-2.6.12-xenU" memory = 256 name = "rhas" nics = 1 disk = [''file:/root/rhas.img,sda1,w''] root = "/dev/sda1" extra = "ro selinux=0 3" * Also tried the yum base install which is mentioned in the fedora Quickstart guide... but the domain wont start. * all my attempts in creating any domain results in the following error: # xm create -c rhas Using config file "/etc/xen/rhas". Error: Error creating domain: (14, ''Bad address'') * I have tried creating suse,FC and RHAS domains but all resulted in the same error. ...... Is there something that I''m doing wrong here? -Sweekar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, 2005-10-04 at 12:34 +0530, Sweekar Pinto wrote:> I''m on ther verge of giving up... > Am I doing something wrong here? here are the steps I followed to get > xen running on an HP Proliant DL360 4 CPU system. : > > *Native kernel 2.6.11.x (FC4) > > * Downloaded xen-unstable sources and compiled an SMP enabled kernel > (cause the default xen kernels that came with FC4 just gave up before > boot....phooofff...it just reboots the system after splashing the grub > screen!) > * dom0 booted fine > * xend start gave the following error but was up and running : > > # xend start > error connecting to xcs(ctrl)! (2) > Exception in thread ChannelFactory: > Traceback (most recent call last): > File "/usr/lib/python2.4/threading > .py", line 442, in __bootstrap > self.run() > File "/usr/lib/python2.4/threading.py", line 422, in run > self.__target(*self.__args, **self.__kwargs) > File "/usr/lib/python2.4/site-packages/xen/xend/server/channel.py", > line 185, in main > port = self.notifier.read() > IOError: [Errno 9] Bad file descriptor > ..... > again... it''s not predictable.. sometimes it gives this error > sometimes it doesnt! > > * tried booting a VBD domain which worked fine on a UP box but failed > on the SMP box > my config file looks like: > > kernel ="/boot/vmlinuz-2.6.12-xenU" > memory = 256 > name = "rhas" > nics = 1 > disk = [''file:/root/rhas.img,sda1,w''] > root = "/dev/sda1" > extra = "ro selinux=0 3" > > * Also tried the yum base install which is mentioned in the fedora > Quickstart guide... but the domain wont start. > > * all my attempts in creating any domain results in the following > error: > > # xm create -c rhas > Using config file "/etc/xen/rhas". > Error: Error creating domain: (14, ''Bad address'') > > * I have tried creating suse,FC and RHAS domains but all resulted in > the same error. > > ...... Is there something that I''m doing wrong here? > > -Sweekar >Post your domU config for starters. One of the recent changesets appears to be toasted for one user anyway, check the dev archive for more details. Regards, Ted _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, This is what my domU config file looks like kernel = "/boot/vmlinuz-2.6.12-xen0" memory = 256 name = "rhas" nics = 1 disk = [''file:/root/fedora.img,sda1,w''] root = "/dev/sda1" extra = "ro selinux=0 3" xend-log: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 78, in op_create dominfo = self.xd.domain_create(config) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 292, in domain_create dominfo = XendDomainInfo.create(self.dbmap, config) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 161, in create vm.construct(config) File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 558, in construct self.init_domain() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 741, in init_domain id = self.image.initDomain(self.id <http://self.id>, self.memory, self.ssidref, cpu, self.cpu_weight) File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 159, in initDomain xc.domain_memory_increase_reservation(dom, mem_kb) error: (14, ''Bad address'') Thanks, Sweekar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 2005-10-05 at 09:52 +0530, Sweekar Pinto wrote:> Hi, > This is what my domU config file looks like > > kernel = "/boot/vmlinuz-2.6.12-xen0" > memory = 256 > name = "rhas" > nics = 1 > disk = [''file:/root/fedora.img,sda1,w''] > root = "/dev/sda1" > extra = "ro selinux=0 3" > > xend-log: > > Traceback (most recent call last): > File > "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", > line 78, in op_create > dominfo = self.xd.domain_create(config) > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line > 292, in domain_create > dominfo = XendDomainInfo.create(self.dbmap, config) > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 161, in create > vm.construct(config) > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 558, in construct > self.init_domain() > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 741, in init_domain > id = self.image.initDomain(self.id, self.memory, self.ssidref, > cpu, self.cpu_weight) > File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 159, > in initDomain > xc.domain_memory_increase_reservation(dom, mem_kb) > error: (14, ''Bad address'') > > Thanks, > SweekarMake sure xm info says you have free memory. The xc.domain_memory_increase_reservation(dom, mem_kb) ???? How much memory does your box have and how much is assigned to the domO? Regards, Ted _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 10/5/05, Ted Kaczmarek <tedkaz@optonline.net> wrote:> > On Wed, 2005-10-05 at 09:52 +0530, Sweekar Pinto wrote: > > Hi, > > This is what my domU config file looks like > > > > kernel = "/boot/vmlinuz-2.6.12-xen0" > > memory = 256 > > name = "rhas" > > nics = 1 > > disk = [''file:/root/fedora.img,sda1,w''] > > root = "/dev/sda1" > > extra = "ro selinux=0 3" > > > > xend-log: > > > > Traceback (most recent call last): > > File > > "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", > > line 78, in op_create > > dominfo = self.xd.domain_create(config) > > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line > > 292, in domain_create > > dominfo = XendDomainInfo.create(self.dbmap, config) > > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", > > line 161, in create > > vm.construct(config) > > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", > > line 558, in construct > > self.init_domain() > > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", > > line 741, in init_domain > > id = self.image.initDomain(self.id <http://self.id>, self.memory, > self.ssidref, > > cpu, self.cpu_weight) > > File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 159, > > in initDomain > > xc.domain_memory_increase_reservation(dom, mem_kb) > > error: (14, ''Bad address'') > > > > Thanks, > > Sweekar > > Make sure xm info says you have free memory. > > The xc.domain_memory_increase_reservation(dom, mem_kb) ???? > > How much memory does your box have and how much is assigned to the domO? > > Regards, > Ted > > > Hi,Well, I had enough memory (2 GB) and was being over generous by giving dom0 512M! Anyway, I reformatted the whole dammn thing and started again from srcatch.... and guesss what ... It worked! Thanks for the support, I''m sure I''ll be back with another problem soon! :)) Regards, Sweekar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users