Sylvain Chevalier
2013-Feb-16 11:30 UTC
Can''t boot dom0 after upgrading to non-modified kernel
Hi, I am migrating my gentoo server from the modified kernel 2.6.38 modified to the plain 3.6.11 kernel from the distribution. domUs all work fine with the new kernel, after a few changes in the configs (such as changing /dev/sd... to /dev/xvd...) but dom0 won''t boot when using the new kernel. It fails saying something like "please append a correct root=" (It reboots right away, I barely have time to read). In other words, this grub entry works fine (kernel is xen-sources): root (hd0,1) kernel /boot/xen.gz dom0_mem=4096M dom0_max_vcpus=1 dom0_vcpus_pin module /boot/kernel-2.6.38-xen-dom0 root=/dev/sda6 This grub setting fails (kernel is gentoo-sources): root (hd0,1) kernel /boot/xen.gz dom0_mem=4096M dom0_max_vcpus=1 dom0_vcpus_pin module /boot/kernel-3.6.11-gentoo root=/dev/sda6 I have compiled the kernel with all options mentioned in the gentoo xen doc, do you know of anything I might be missing? Thanks a lot in advance, Sylvain _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Ian Campbell
2013-Feb-18 10:22 UTC
Re: Can''t boot dom0 after upgrading to non-modified kernel
On Sat, 2013-02-16 at 11:30 +0000, Sylvain Chevalier wrote:> > This grub setting fails (kernel is gentoo-sources): > root (hd0,1) > kernel /boot/xen.gz dom0_mem=4096M dom0_max_vcpus=1 dom0_vcpus_pin > module /boot/kernel-3.6.11-gentoo root=/dev/sda6Does this kernel boot natively? Are you sure you have all the necessary drivers etc? Given the lack of logs it is rather hard to give any more specific advice. Ian.
Christian Holpert
2013-Feb-18 10:53 UTC
Re: Can''t boot dom0 after upgrading to non-modified kernel
At 12:30 16.02.2013, you wrote:>domUs all work fine with the new kernel, after a few changes in the >configs (such as changing /dev/sd... to /dev/xvd...) but dom0 won''t >boot when using the new kernel. It fails saying something like >"please append a correct root=" (It reboots right away, I barely >have time to read).use a camera and rewind the movie ;-)>This grub setting fails (kernel is gentoo-sources): >root (hd0,1) >kernel /boot/xen.gz dom0_mem=4096M dom0_max_vcpus=1 dom0_vcpus_pin >module /boot/kernel-3.6.11-gentoo root=/dev/sda6 > >I have compiled the kernel with all options mentioned in the gentoo >xen doc, do you know of anything I might be missing?doesn''t sound like a xen-problem in first place. Did you double-check all FS-Options and all drivers for your chipset/HD-Controllers? Christian -- Markt-Apotheke Christian Holpert e.K., Mömbris http://www.marktapotheke.org - info@marktapotheke.org http://www.blue-essentials-shop.de - info@blue-essentials-shop.de Apotheker Christian Holpert Im Markthof 5 63776 Mömbris Tel.: 06029-1379 Fax: 9986589 Amtsgericht Aschaffenburg, HR.A, Registernummer 2165
Ian Campbell
2013-Feb-18 10:59 UTC
Re: Can''t boot dom0 after upgrading to non-modified kernel
On Mon, 2013-02-18 at 10:53 +0000, Christian Holpert wrote:> At 12:30 16.02.2013, you wrote: > >domUs all work fine with the new kernel, after a few changes in the > >configs (such as changing /dev/sd... to /dev/xvd...) but dom0 won''t > >boot when using the new kernel. It fails saying something like > >"please append a correct root=" (It reboots right away, I barely > >have time to read). > > use a camera and rewind the movie ;-)Or add "noreboot" to your hypervisor command line. Ian.
Sylvain Chevalier
2013-Feb-19 11:34 UTC
Re: Can''t boot dom0 after upgrading to non-modified kernel
Thanks Ian, I am embarrassed, it was indeed a missing driver that was dropped when migrating the .config. It now works well, it really makes things way more convenient to use the kernel directly from the distrib''s main tree. On Mon, Feb 18, 2013 at 6:22 PM, Ian Campbell <Ian.Campbell@citrix.com>wrote:> On Sat, 2013-02-16 at 11:30 +0000, Sylvain Chevalier wrote: > > > > > This grub setting fails (kernel is gentoo-sources): > > root (hd0,1) > > kernel /boot/xen.gz dom0_mem=4096M dom0_max_vcpus=1 dom0_vcpus_pin > > module /boot/kernel-3.6.11-gentoo root=/dev/sda6 > > Does this kernel boot natively? Are you sure you have all the necessary > drivers etc? > > Given the lack of logs it is rather hard to give any more specific > advice. > > Ian. > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users