I am currently running kernel 2.6.18-6-686 on Debian Etch 40r3. I am trying to install xen on it. I tried installing linux-image-2.6.18-6- xen-686, but when I restarted, it doesn''t boot instead shows a kernel panic. I ran #apt-get install linux-image-2.6.18-6-xen-686 and changed /boot/grub/menu.lst file to point to current xen kernel. While rebooting it showed kernel panic and never boots with the new xen kernel. Has anyone problem similar to it? Thanks, gorkhe _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2008-Feb-21 09:19 UTC
RE: [Xen-users] problem installing xen kernel on Debian etch
> > I am currently running kernel 2.6.18-6-686 on Debian Etch 40r3. I am > trying to install xen on it. I tried installinglinux-image-2.6.18-6-xen-> 686, but when I restarted, it doesn''t boot instead shows a kernelpanic.> > I ran #apt-get install linux-image-2.6.18-6-xen-686 > and changed /boot/grub/menu.lst file to point to current xen kernel. > > While rebooting it showed kernel panic and never boots with the newxen> kernel. >It might help if you post the results of the kernel panic, and the contents of your menu.lst. I suspect you haven''t specified a Xen hypervisor in your menu.lst. The Xen entry should look like: title Xen 3.1-1-amd64 / Debian GNU/Linux, kernel 2.6.18-6-xen-amd64 root (hd0,0) kernel /xen-3.1-1-amd64.gz dom0_mem=524288 module /vmlinuz-2.6.18-6-xen-amd64 root=/dev/mapper/vg00-root ro console=tty0 module /initrd.img-2.6.18-6-xen-amd64 savedefault update-grub will generate it correctly if you have installed a hypervisor. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
edu gargiulo
2008-Feb-21 15:29 UTC
Re: [Xen-users] problem installing xen kernel on Debian etch
On Thu, Feb 21, 2008 at 7:19 AM, James Harper <james.harper@bendigoit.com.au> wrote:> > > > I am currently running kernel 2.6.18-6-686 on Debian Etch 40r3. I am > > trying to install xen on it. I tried installing > linux-image-2.6.18-6-xen- > > 686, but when I restarted, it doesn''t boot instead shows a kernel > panic. > > > > I ran #apt-get install linux-image-2.6.18-6-xen-686 > > and changed /boot/grub/menu.lst file to point to current xen kernel. > > > > While rebooting it showed kernel panic and never boots with the new > xen > > kernel. > > > > It might help if you post the results of the kernel panic, and the > contents of your menu.lst. > > I suspect you haven''t specified a Xen hypervisor in your menu.lst. The > Xen entry should look like: > > title Xen 3.1-1-amd64 / Debian GNU/Linux, kernel > 2.6.18-6-xen-amd64 > root (hd0,0) > kernel /xen-3.1-1-amd64.gz dom0_mem=524288 > module /vmlinuz-2.6.18-6-xen-amd64 root=/dev/mapper/vg00-root > ro console=tty0 > module /initrd.img-2.6.18-6-xen-amd64 > savedefault > > update-grub will generate it correctly if you have installed a > hypervisor.I''m having the same problem, so now I''m trying to install xen from sources. Looking at James answer, I need to ask about amd64 kernel version, because I have this architecture and I would like to use HVM. Did you install this kernel from packages or compiled yourself? I''m still trying without success to start using xen on my debian amd64 (stable version). When I try to compile xen I''m getting the following error ejg@amd64x2:/usr/src/xen/xen-3.2-testing.hg$ make dist make -C xen install make[1]: se ingresa al directorio `/usr/src/xen/xen-3.2-testing.hg/xen'' make -f Rules.mk _install make[2]: se ingresa al directorio `/usr/src/xen/xen-3.2-testing.hg/xen'' make -C include/public/foreign make[3]: se ingresa al directorio `/usr/src/xen/xen-3.2-testing.hg/xen/include/public/foreign'' gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -m64 -Wdeclaration-after-statement -o checker checker.c /usr/bin/ld: saltando el /usr/bin/../lib/libc.so incompatible mientras se buscaba -lc /usr/bin/ld: saltando el /usr/bin/../lib/libc.a incompatible mientras se buscaba -lc /usr/bin/ld: saltando el /usr/lib/libc.so incompatible mientras se buscaba -lc /usr/bin/ld: saltando el /usr/lib/libc.a incompatible mientras se buscaba -lc /usr/bin/ld: no se puede encontrar -lc collect2: ld returned 1 exit status make[3]: *** [checker] Error 1 make[3]: se sale del directorio `/usr/src/xen/xen-3.2-testing.hg/xen/include/public/foreign'' make[2]: *** [build-headers] Error 2 make[2]: se sale del directorio `/usr/src/xen/xen-3.2-testing.hg/xen'' make[1]: *** [install] Error 2 make[1]: se sale del directorio `/usr/src/xen/xen-3.2-testing.hg/xen'' make: *** [install-xen] Error 2 Any help would be appreciated, regards -- edu gargiulo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users