Hi, I installed Xen 3.0 and managed to get it to work without too many problems, I got several working domains using linux-2.6.16-xenU. I''m trying to set up a domain with linux-2-4.30 (to run IPCop on) but I keep getting Error: (22, ''Invalid argument''). I started with a stock 2.4.30 kernel, patched it with linux-2.4.30-xen.patch and configured it for a guest, then did: # make ARCH=xen dep # make ARCH=xen clean # make ARCH=xen bzImage # cp arch/xen/boot/bzImage /boot/vmlinuz-2.4.30-xenU # xm create -c ipcop.sxp Using config file "/etc/xen/ipcop.sxp". Error: (22, ''Invalid argument'') My config is: name = "ipcop" kernel = "/boot/vmlinuz-2.4.30-xenU" root = "/dev/hda4" memory = 128 disk = [ ''phy:system/ipcop-boot,hda1,w'', ''phy:system/ipcop-log,hda2,w'', ''phy:system/ipcop-root,hda4,w'' ] The same config, with the kernel changed to vmlinuz-2.6.16-xenU works fine. Any ideas? TIA, Itai _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2006-Apr-24 09:06 UTC
RE: [Xen-users] Xen 3 + kernel 2.4.30 = failure, why oh why
I believe there''s no patch for kernel 2.4.x to work with Xen 3. It would of course be possible to create such a thing, but it''s a fair amount of work checking that nothing got missed and/or something hasn''t been broken. Of course, with new processors that support Hardware Virtualization, you could probably support just about ANY kernel - Linux kernels should definitely work quite well, other OS kernels may find the odd bug left to find in the HVM support routines... ;-) -- Mats> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Itai Tavor > Sent: 23 April 2006 09:53 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Xen 3 + kernel 2.4.30 = failure, why oh why > > Hi, > > I installed Xen 3.0 and managed to get it to work without too > many problems, I got several working domains using > linux-2.6.16-xenU. I''m trying to set up a domain with > linux-2-4.30 (to run IPCop on) but I keep getting Error: (22, > ''Invalid argument''). I started with a stock 2.4.30 kernel, > patched it with linux-2.4.30-xen.patch and configured it for > a guest, then did: > > # make ARCH=xen dep > # make ARCH=xen clean > # make ARCH=xen bzImage > # cp arch/xen/boot/bzImage /boot/vmlinuz-2.4.30-xenU # xm > create -c ipcop.sxp Using config file "/etc/xen/ipcop.sxp". > Error: (22, ''Invalid argument'') > > My config is: > > name = "ipcop" > kernel = "/boot/vmlinuz-2.4.30-xenU" > root = "/dev/hda4" > memory = 128 > disk = [ ''phy:system/ipcop-boot,hda1,w'', > ''phy:system/ipcop-log,hda2,w'', > ''phy:system/ipcop-root,hda4,w'' ] > > The same config, with the kernel changed to > vmlinuz-2.6.16-xenU works fine. > > Any ideas? > > TIA, Itai > > _______________________________________________ > 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
Itai Tavor
2006-Apr-24 09:39 UTC
Re: [Xen-users] Xen 3 + kernel 2.4.30 = failure, why oh why
Ok... thanks, Mats. I thought domain 0 couldn''t be 2.4, didn''t realize I couldn''t even use 2.4 in a guest. No 2.4 in Xen, no 2.6 in IPCop... oh well, IPCop stays in its box. Itai On 24/04/2006, at 7:06 PM, Petersson, Mats wrote:> I believe there''s no patch for kernel 2.4.x to work with Xen 3. > > It would of course be possible to create such a thing, but it''s a fair > amount of work checking that nothing got missed and/or something > hasn''t > been broken. > > Of course, with new processors that support Hardware > Virtualization, you > could probably support just about ANY kernel - Linux kernels should > definitely work quite well, other OS kernels may find the odd bug left > to find in the HVM support routines... ;-) > > -- > Mats > >> -----Original Message----- >> From: xen-users-bounces@lists.xensource.com >> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Itai >> Tavor >> Sent: 23 April 2006 09:53 >> To: xen-users@lists.xensource.com >> Subject: [Xen-users] Xen 3 + kernel 2.4.30 = failure, why oh why >> >> Hi, >> >> I installed Xen 3.0 and managed to get it to work without too >> many problems, I got several working domains using >> linux-2.6.16-xenU. I''m trying to set up a domain with >> linux-2-4.30 (to run IPCop on) but I keep getting Error: (22, >> ''Invalid argument''). I started with a stock 2.4.30 kernel, >> patched it with linux-2.4.30-xen.patch and configured it for >> a guest, then did: >> >> # make ARCH=xen dep >> # make ARCH=xen clean >> # make ARCH=xen bzImage >> # cp arch/xen/boot/bzImage /boot/vmlinuz-2.4.30-xenU # xm >> create -c ipcop.sxp Using config file "/etc/xen/ipcop.sxp". >> Error: (22, ''Invalid argument'') >> >> My config is: >> >> name = "ipcop" >> kernel = "/boot/vmlinuz-2.4.30-xenU" >> root = "/dev/hda4" >> memory = 128 >> disk = [ ''phy:system/ipcop-boot,hda1,w'', >> ''phy:system/ipcop-log,hda2,w'', >> ''phy:system/ipcop-root,hda4,w'' ] >> >> The same config, with the kernel changed to >> vmlinuz-2.6.16-xenU works fine. >> >> Any ideas? >> >> TIA, Itai >> >> _______________________________________________ >> 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_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users