Argyro Andreou
2008-Feb-13 20:35 UTC
[Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic - Attempted to kill init
Hi all, I compiled and installed Xen 3.2 source on FC8. Compilation and installation completed with no errors. However when I try to load Xen I get an error: Kernel panic - Attempted to kill init !!! This is my grub configuration: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/sda default=0 timeout=15 splashimage=(hd0,0)/grub/splash.xpm.gz #hiddenmenu title Fedora (2.6.23.1-42.fc8) root (hd0,0) kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.23.1-42.fc8.img title Fedora Core 8 + Xen 3.2.0 root (hd0,0) kernel /xen-3.2.1-rc1-pre.gz module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet module /initrd-2.6.18.8-xen.img I tried loading Xen without initrd also. But I get the same error. Please can anyone help me. I''ve trying to solve this problem since last Friday and I can''t see any light at the end of the tunnel Regards Argyro _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
weiming
2008-Feb-13 20:46 UTC
Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic - Attempted to kill init
I just compiled xen 3.2 on F8 64bit today. Here is my grub title Xen 3.2 (2.6.18.8-64) root (hd0,3) kernel /boot/xen.gz console=vga module /boot/vmlinuz-2.6.18.8-xen ro root=LABEL=/dom0 console=tty0 module /boot/initrd-2.6.18.8-xen.img Did you include the sata drivers into img? like - cd /boot - sudo /sbin/depmod 2.6.18.8-xen - sudo /sbin/mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.18.8-xen.img 2.6.18.8-xen weiming On Feb 13, 2008 3:35 PM, Argyro Andreou <argyro.andreou@gmail.com> wrote:> Hi all, > > I compiled and installed Xen 3.2 source on FC8. Compilation and > installation completed with no errors. However when I try to load Xen I get > an error: Kernel panic - Attempted to kill init !!! > > This is my grub configuration: > > # grub.conf generated by anaconda > # > # Note that you do not have to rerun grub after making changes to this > file > # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd0,0) > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > # initrd /initrd-version.img > #boot=/dev/sda > default=0 > timeout=15 > splashimage=(hd0,0)/grub/splash.xpm.gz > #hiddenmenu > title Fedora (2.6.23.1-42.fc8) > root (hd0,0) > kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb > quiet > initrd /initrd-2.6.23.1-42.fc8.img > > title Fedora Core 8 + Xen 3.2.0 > root (hd0,0) > kernel /xen-3.2.1-rc1-pre.gz > module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb > quiet > module /initrd-2.6.18.8-xen.img > > I tried loading Xen without initrd also. But I get the same error. > > Please can anyone help me. I''ve trying to solve this problem since last > Friday and I can''t see any light at the end of the tunnel > > > Regards > Argyro > > _______________________________________________ > 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
Tait Clarridge
2008-Feb-13 20:48 UTC
RE: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
Hi Argyro, Could you take out the "quiet" switch in the Xen kernel boot args and tell us exactly what it says? You might also want to add a "noreboot" in that section so you can write down exactly what it says. Thanks, -Tait From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Argyro Andreou Sent: Wednesday, February 13, 2008 3:36 PM To: xen-users@lists.xensource.com Subject: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init Hi all, I compiled and installed Xen 3.2 source on FC8. Compilation and installation completed with no errors. However when I try to load Xen I get an error: Kernel panic - Attempted to kill init !!! This is my grub configuration: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/sda default=0 timeout=15 splashimage=(hd0,0)/grub/splash.xpm.gz #hiddenmenu title Fedora (2.6.23.1-42.fc8) root (hd0,0) kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.23.1-42.fc8.img title Fedora Core 8 + Xen 3.2.0 root (hd0,0) kernel /xen-3.2.1-rc1-pre.gz module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet module /initrd-2.6.18.8-xen.img I tried loading Xen without initrd also. But I get the same error. Please can anyone help me. I''ve trying to solve this problem since last Friday and I can''t see any light at the end of the tunnel Regards Argyro _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Argyro Andreou
2008-Feb-13 21:09 UTC
Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
Hey Tait, When I remove the quiet flag it says the following: Scanning logical volumes Reading all physical volumes No volume groups found Activating logical volumes Volume group VolGroup00 not found Creating root device Mounting root filesystem mount: could not find filesystem /dev/root Setting up other filesystems Setting up new root fs setuproot: moving /dev failed: No such file pr directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file ot directory seturoot: error mounting /sys: No such file to directory Switching to new root and running init unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory Booting has failed Kernel panic-not synching: Attempted to kill init! When installing Fedora Core 8 I didn''t do custom partitioning I used the default option. If custom partitioning is need can you please tell me exactly what partitions are needed? Thanks Argyro On Feb 13, 2008 3:48 PM, Tait Clarridge <Tait.Clarridge@lavalife.com> wrote:> Hi Argyro, > > > > Could you take out the "quiet" switch in the Xen kernel boot args and tell > us exactly what it says? You might also want to add a "noreboot" in that > section so you can write down exactly what it says. > > > > Thanks, > > -Tait > > > > *From:* xen-users-bounces@lists.xensource.com [mailto: > xen-users-bounces@lists.xensource.com] *On Behalf Of *Argyro Andreou > *Sent:* Wednesday, February 13, 2008 3:36 PM > *To:* xen-users@lists.xensource.com > *Subject:* [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic > -Attempted to kill init > > > > Hi all, > > I compiled and installed Xen 3.2 source on FC8. Compilation and > installation completed with no errors. However when I try to load Xen I get > an error: Kernel panic - Attempted to kill init !!! > > This is my grub configuration: > > # grub.conf generated by anaconda > # > # Note that you do not have to rerun grub after making changes to this > file > # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd0,0) > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > # initrd /initrd-version.img > #boot=/dev/sda > default=0 > timeout=15 > splashimage=(hd0,0)/grub/splash.xpm.gz > #hiddenmenu > title Fedora (2.6.23.1-42.fc8) > root (hd0,0) > kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb > quiet > initrd /initrd-2.6.23.1-42.fc8.img > > title Fedora Core 8 + Xen 3.2.0 > root (hd0,0) > kernel /xen-3.2.1-rc1-pre.gz > module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb > quiet > module /initrd-2.6.18.8-xen.img > > I tried loading Xen without initrd also. But I get the same error. > > Please can anyone help me. I''ve trying to solve this problem since last > Friday and I can''t see any light at the end of the tunnel > > > Regards > Argyro >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
weiming
2008-Feb-13 21:23 UTC
Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
I guess some device driver for your sata driver was not loaded, so the kernel can''t find the /dev/root device. Did you change the .config of linux kernel? By default, it should include most of the drivers. On Feb 13, 2008 4:09 PM, Argyro Andreou <argyro.andreou@gmail.com> wrote:> Hey Tait, > > > When I remove the quiet flag it says the following: > > Scanning logical volumes > Reading all physical volumes > No volume groups found > Activating logical volumes > Volume group VolGroup00 not found > Creating root device > Mounting root filesystem > mount: could not find filesystem /dev/root > Setting up other filesystems > Setting up new root fs > setuproot: moving /dev failed: No such file pr directory > no fstab.sys, mounting internal defaults > setuproot: error mounting /proc: No such file ot directory > seturoot: error mounting /sys: No such file to directory > Switching to new root and running init > unmounting old /dev > unmounting old /proc > unmounting old /sys > switchroot: mount failed: No such file or directory > Booting has failed > Kernel panic-not synching: Attempted to kill init! > > > When installing Fedora Core 8 I didn''t do custom partitioning I used the > default option. If custom partitioning is need can you please tell me > exactly what partitions are needed? > > Thanks > Argyro > > On Feb 13, 2008 3:48 PM, Tait Clarridge <Tait.Clarridge@lavalife.com> > wrote: > > > Hi Argyro, > > > > > > > > Could you take out the "quiet" switch in the Xen kernel boot args and > > tell us exactly what it says? You might also want to add a "noreboot" in > > that section so you can write down exactly what it says. > > > > > > > > Thanks, > > > > -Tait > > > > > > > > *From:* xen-users-bounces@lists.xensource.com [mailto: > > xen-users-bounces@lists.xensource.com] *On Behalf Of *Argyro Andreou > > *Sent:* Wednesday, February 13, 2008 3:36 PM > > *To:* xen-users@lists.xensource.com > > *Subject:* [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel > > panic -Attempted to kill init > > > > > > > > Hi all, > > > > I compiled and installed Xen 3.2 source on FC8. Compilation and > > installation completed with no errors. However when I try to load Xen I get > > an error: Kernel panic - Attempted to kill init !!! > > > > This is my grub configuration: > > > > # grub.conf generated by anaconda > > # > > # Note that you do not have to rerun grub after making changes to this > > file > > # NOTICE: You have a /boot partition. This means that > > # all kernel and initrd paths are relative to /boot/, eg. > > # root (hd0,0) > > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > > # initrd /initrd-version.img > > #boot=/dev/sda > > default=0 > > timeout=15 > > splashimage=(hd0,0)/grub/splash.xpm.gz > > #hiddenmenu > > title Fedora (2.6.23.1-42.fc8) > > root (hd0,0) > > kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 > > rhgb quiet > > initrd /initrd-2.6.23.1-42.fc8.img > > > > title Fedora Core 8 + Xen 3.2.0 > > root (hd0,0) > > kernel /xen-3.2.1-rc1-pre.gz > > module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb > > quiet > > module /initrd-2.6.18.8-xen.img > > > > I tried loading Xen without initrd also. But I get the same error. > > > > Please can anyone help me. I''ve trying to solve this problem since last > > Friday and I can''t see any light at the end of the tunnel > > > > > > Regards > > Argyro > > > > > _______________________________________________ > 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
Tait Clarridge
2008-Feb-13 21:27 UTC
RE: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
I remember that I had to compile all the RAID + LVM section of the kernel config directly into the kernel, and not as modules. As well I had to have each of the USB host sections as modules and the AHCI support built as a module. Then I compiled my initrd with sd_mod, sg, ahci (I think) to get it to find my logical volumes. From: weiming [mailto:zephyr.zhao@gmail.com] Sent: Wednesday, February 13, 2008 4:24 PM To: Argyro Andreou Cc: Tait Clarridge; xen-users@lists.xensource.com Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init I guess some device driver for your sata driver was not loaded, so the kernel can''t find the /dev/root device. Did you change the .config of linux kernel? By default, it should include most of the drivers. On Feb 13, 2008 4:09 PM, Argyro Andreou <argyro.andreou@gmail.com> wrote: Hey Tait, When I remove the quiet flag it says the following: Scanning logical volumes Reading all physical volumes No volume groups found Activating logical volumes Volume group VolGroup00 not found Creating root device Mounting root filesystem mount: could not find filesystem /dev/root Setting up other filesystems Setting up new root fs setuproot: moving /dev failed: No such file pr directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file ot directory seturoot: error mounting /sys: No such file to directory Switching to new root and running init unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory Booting has failed Kernel panic-not synching: Attempted to kill init! When installing Fedora Core 8 I didn''t do custom partitioning I used the default option. If custom partitioning is need can you please tell me exactly what partitions are needed? Thanks Argyro On Feb 13, 2008 3:48 PM, Tait Clarridge <Tait.Clarridge@lavalife.com> wrote: Hi Argyro, Could you take out the "quiet" switch in the Xen kernel boot args and tell us exactly what it says? You might also want to add a "noreboot" in that section so you can write down exactly what it says. Thanks, -Tait From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Argyro Andreou Sent: Wednesday, February 13, 2008 3:36 PM To: xen-users@lists.xensource.com Subject: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init Hi all, I compiled and installed Xen 3.2 source on FC8. Compilation and installation completed with no errors. However when I try to load Xen I get an error: Kernel panic - Attempted to kill init !!! This is my grub configuration: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/sda default=0 timeout=15 splashimage=(hd0,0)/grub/splash.xpm.gz #hiddenmenu title Fedora (2.6.23.1-42.fc8) root (hd0,0) kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.23.1-42.fc8.img title Fedora Core 8 + Xen 3.2.0 root (hd0,0) kernel /xen-3.2.1-rc1-pre.gz module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet module /initrd-2.6.18.8-xen.img I tried loading Xen without initrd also. But I get the same error. Please can anyone help me. I''ve trying to solve this problem since last Friday and I can''t see any light at the end of the tunnel Regards Argyro _______________________________________________ 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
Argyro Andreou
2008-Feb-14 14:49 UTC
Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
no I didn''t change anything in .config of the linux kernel. I''m running FC8 on a DELL OptiPlex 755, 2.33GHz Core Duo processor, 4 GB RAM and 160 GB HD Thanks Argyro On Wed, Feb 13, 2008 at 4:23 PM, weiming <zephyr.zhao@gmail.com> wrote:> I guess some device driver for your sata driver was not loaded, so the > kernel can''t find the /dev/root device. > Did you change the .config of linux kernel? By default, it should include > most of the drivers. > > On Feb 13, 2008 4:09 PM, Argyro Andreou <argyro.andreou@gmail.com> wrote: > > > Hey Tait, > > > > > > When I remove the quiet flag it says the following: > > > > Scanning logical volumes > > Reading all physical volumes > > No volume groups found > > Activating logical volumes > > Volume group VolGroup00 not found > > Creating root device > > Mounting root filesystem > > mount: could not find filesystem /dev/root > > Setting up other filesystems > > Setting up new root fs > > setuproot: moving /dev failed: No such file pr directory > > no fstab.sys, mounting internal defaults > > setuproot: error mounting /proc: No such file ot directory > > seturoot: error mounting /sys: No such file to directory > > Switching to new root and running init > > unmounting old /dev > > unmounting old /proc > > unmounting old /sys > > switchroot: mount failed: No such file or directory > > Booting has failed > > Kernel panic-not synching: Attempted to kill init! > > > > > > When installing Fedora Core 8 I didn''t do custom partitioning I used the > > default option. If custom partitioning is need can you please tell me > > exactly what partitions are needed? > > > > Thanks > > Argyro > > > > On Feb 13, 2008 3:48 PM, Tait Clarridge <Tait.Clarridge@lavalife.com> > > wrote: > > > > > Hi Argyro, > > > > > > > > > > > > Could you take out the "quiet" switch in the Xen kernel boot args and > > > tell us exactly what it says? You might also want to add a "noreboot" in > > > that section so you can write down exactly what it says. > > > > > > > > > > > > Thanks, > > > > > > -Tait > > > > > > > > > > > > *From:* xen-users-bounces@lists.xensource.com [mailto: > > > xen-users-bounces@lists.xensource.com] *On Behalf Of *Argyro Andreou > > > *Sent:* Wednesday, February 13, 2008 3:36 PM > > > *To:* xen-users@lists.xensource.com > > > *Subject:* [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel > > > panic -Attempted to kill init > > > > > > > > > > > > Hi all, > > > > > > I compiled and installed Xen 3.2 source on FC8. Compilation and > > > installation completed with no errors. However when I try to load Xen I get > > > an error: Kernel panic - Attempted to kill init !!! > > > > > > This is my grub configuration: > > > > > > # grub.conf generated by anaconda > > > # > > > # Note that you do not have to rerun grub after making changes to this > > > file > > > # NOTICE: You have a /boot partition. This means that > > > # all kernel and initrd paths are relative to /boot/, eg. > > > # root (hd0,0) > > > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > > > # initrd /initrd-version.img > > > #boot=/dev/sda > > > default=0 > > > timeout=15 > > > splashimage=(hd0,0)/grub/splash.xpm.gz > > > #hiddenmenu > > > title Fedora (2.6.23.1-42.fc8) > > > root (hd0,0) > > > kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 > > > rhgb quiet > > > initrd /initrd-2.6.23.1-42.fc8.img > > > > > > title Fedora Core 8 + Xen 3.2.0 > > > root (hd0,0) > > > kernel /xen-3.2.1-rc1-pre.gz > > > module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb > > > quiet > > > module /initrd-2.6.18.8-xen.img > > > > > > I tried loading Xen without initrd also. But I get the same error. > > > > > > Please can anyone help me. I''ve trying to solve this problem since > > > last Friday and I can''t see any light at the end of the tunnel > > > > > > > > > Regards > > > Argyro > > > > > > > > > _______________________________________________ > > 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
Argyro Andreou
2008-Feb-14 14:59 UTC
Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
So then what type of changes would I have to make to the config file to compile the kernel the way you describe? I took a look at it and I it seems to me that the write options are enabled. Thanks for your help !!! Argyro On Wed, Feb 13, 2008 at 4:27 PM, Tait Clarridge <Tait.Clarridge@lavalife.com> wrote:> I remember that I had to compile all the RAID + LVM section of the kernel > config directly into the kernel, and not as modules. As well I had to have > each of the USB host sections as modules and the AHCI support built as a > module. > > Then I compiled my initrd with sd_mod, sg, ahci (I think) to get it to > find my logical volumes. > > > > From: weiming [mailto:zephyr.zhao@gmail.com] > Sent: Wednesday, February 13, 2008 4:24 PM > To: Argyro Andreou > Cc: Tait Clarridge; xen-users@lists.xensource.com > Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel > panic -Attempted to kill init > > I guess some device driver for your sata driver was not loaded, so the > kernel can''t find the /dev/root device. > Did you change the .config of linux kernel? By default, it should include > most of the drivers. > On Feb 13, 2008 4:09 PM, Argyro Andreou <argyro.andreou@gmail.com> wrote: > Hey Tait, > > > When I remove the quiet flag it says the following: > > Scanning logical volumes > Reading all physical volumes > No volume groups found > Activating logical volumes > Volume group VolGroup00 not found > Creating root device > Mounting root filesystem > mount: could not find filesystem /dev/root > Setting up other filesystems > Setting up new root fs > setuproot: moving /dev failed: No such file pr directory > no fstab.sys, mounting internal defaults > setuproot: error mounting /proc: No such file ot directory > seturoot: error mounting /sys: No such file to directory > Switching to new root and running init > unmounting old /dev > unmounting old /proc > unmounting old /sys > switchroot: mount failed: No such file or directory > Booting has failed > Kernel panic-not synching: Attempted to kill init! > > > When installing Fedora Core 8 I didn''t do custom partitioning I used the > default option. If custom partitioning is need can you please tell me > exactly what partitions are needed? > > Thanks > Argyro > On Feb 13, 2008 3:48 PM, Tait Clarridge <Tait.Clarridge@lavalife.com> > wrote: > Hi Argyro, > > Could you take out the "quiet" switch in the Xen kernel boot args and tell > us exactly what it says? You might also want to add a "noreboot" in that > section so you can write down exactly what it says. > > Thanks, > -Tait > > From: xen-users-bounces@lists.xensource.com [mailto: > xen-users-bounces@lists.xensource.com] On Behalf Of Argyro Andreou > Sent: Wednesday, February 13, 2008 3:36 PM > To: xen-users@lists.xensource.com > Subject: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic > -Attempted to kill init > > Hi all, > > I compiled and installed Xen 3.2 source on FC8. Compilation and > installation completed with no errors. However when I try to load Xen I get > an error: Kernel panic - Attempted to kill init !!! > > This is my grub configuration: > > # grub.conf generated by anaconda > # > # Note that you do not have to rerun grub after making changes to this > file > # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd0,0) > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > # initrd /initrd-version.img > #boot=/dev/sda > default=0 > timeout=15 > splashimage=(hd0,0)/grub/splash.xpm.gz > #hiddenmenu > title Fedora (2.6.23.1-42.fc8) > root (hd0,0) > kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb > quiet > initrd /initrd-2.6.23.1-42.fc8.img > > title Fedora Core 8 + Xen 3.2.0 > root (hd0,0) > kernel /xen-3.2.1-rc1-pre.gz > module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb > quiet > module /initrd-2.6.18.8-xen.img > > I tried loading Xen without initrd also. But I get the same error. > > Please can anyone help me. I''ve trying to solve this problem since last > Friday and I can''t see any light at the end of the tunnel > > > Regards > Argyro > > > _______________________________________________ > 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
Argyro Andreou
2008-Feb-14 15:20 UTC
Fwd: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
Any ideas how to get it included? Or what I''m doing wrong and it''s not compiling the sata controller? LEt me know if you need me to post any info to figure out what''s happening. Thanks !!! Argyro On Thu, Feb 14, 2008 at 10:12 AM, weiming <zephyr.zhao@gmail.com> wrote:> I guess it''s related with the sata controller driver which should be > included in your initrd file. > > > On Thu, Feb 14, 2008 at 9:59 AM, Argyro Andreou <argyro.andreou@gmail.com> > wrote: > > > So then what type of changes would I have to make to the config file to > > compile the kernel the way you describe? I took a look at it and I it seems > > to me that the write options are enabled. > > > > Thanks for your help !!! > > Argyro > > > > On Wed, Feb 13, 2008 at 4:27 PM, Tait Clarridge < > > Tait.Clarridge@lavalife.com> wrote: > > > > > I remember that I had to compile all the RAID + LVM section of the > > > kernel config directly into the kernel, and not as modules. As well I had to > > > have each of the USB host sections as modules and the AHCI support built as > > > a module. > > > > > > Then I compiled my initrd with sd_mod, sg, ahci (I think) to get it to > > > find my logical volumes. > > > > > > > > > > > > From: weiming [mailto:zephyr.zhao@gmail.com] > > > Sent: Wednesday, February 13, 2008 4:24 PM > > > To: Argyro Andreou > > > Cc: Tait Clarridge; xen-users@lists.xensource.com > > > Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel > > > panic -Attempted to kill init > > > > > > I guess some device driver for your sata driver was not loaded, so the > > > kernel can''t find the /dev/root device. > > > Did you change the .config of linux kernel? By default, it should > > > include most of the drivers. > > > On Feb 13, 2008 4:09 PM, Argyro Andreou <argyro.andreou@gmail.com> > > > wrote: > > > Hey Tait, > > > > > > > > > When I remove the quiet flag it says the following: > > > > > > Scanning logical volumes > > > Reading all physical volumes > > > No volume groups found > > > Activating logical volumes > > > Volume group VolGroup00 not found > > > Creating root device > > > Mounting root filesystem > > > mount: could not find filesystem /dev/root > > > Setting up other filesystems > > > Setting up new root fs > > > setuproot: moving /dev failed: No such file pr directory > > > no fstab.sys, mounting internal defaults > > > setuproot: error mounting /proc: No such file ot directory > > > seturoot: error mounting /sys: No such file to directory > > > Switching to new root and running init > > > unmounting old /dev > > > unmounting old /proc > > > unmounting old /sys > > > switchroot: mount failed: No such file or directory > > > Booting has failed > > > Kernel panic-not synching: Attempted to kill init! > > > > > > > > > When installing Fedora Core 8 I didn''t do custom partitioning I used > > > the default option. If custom partitioning is need can you please tell me > > > exactly what partitions are needed? > > > > > > Thanks > > > Argyro > > > On Feb 13, 2008 3:48 PM, Tait Clarridge <Tait.Clarridge@lavalife.com> > > > wrote: > > > Hi Argyro, > > > > > > Could you take out the "quiet" switch in the Xen kernel boot args and > > > tell us exactly what it says? You might also want to add a "noreboot" in > > > that section so you can write down exactly what it says. > > > > > > Thanks, > > > -Tait > > > > > > From: xen-users-bounces@lists.xensource.com [mailto: > > > xen-users-bounces@lists.xensource.com] On Behalf Of Argyro Andreou > > > Sent: Wednesday, February 13, 2008 3:36 PM > > > To: xen-users@lists.xensource.com > > > Subject: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel > > > panic -Attempted to kill init > > > > > > Hi all, > > > > > > I compiled and installed Xen 3.2 source on FC8. Compilation and > > > installation completed with no errors. However when I try to load Xen I get > > > an error: Kernel panic - Attempted to kill init !!! > > > > > > This is my grub configuration: > > > > > > # grub.conf generated by anaconda > > > # > > > # Note that you do not have to rerun grub after making changes to this > > > file > > > # NOTICE: You have a /boot partition. This means that > > > # all kernel and initrd paths are relative to /boot/, eg. > > > # root (hd0,0) > > > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > > > # initrd /initrd-version.img > > > #boot=/dev/sda > > > default=0 > > > timeout=15 > > > splashimage=(hd0,0)/grub/splash.xpm.gz > > > #hiddenmenu > > > title Fedora (2.6.23.1-42.fc8) > > > root (hd0,0) > > > kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 > > > rhgb quiet > > > initrd /initrd-2.6.23.1-42.fc8.img > > > > > > title Fedora Core 8 + Xen 3.2.0 > > > root (hd0,0) > > > kernel /xen-3.2.1-rc1-pre.gz > > > module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb > > > quiet > > > module /initrd-2.6.18.8-xen.img > > > > > > I tried loading Xen without initrd also. But I get the same error. > > > > > > Please can anyone help me. I''ve trying to solve this problem since > > > last Friday and I can''t see any light at the end of the tunnel > > > > > > > > > Regards > > > Argyro > > > > > > > > > _______________________________________________ > > > 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
Argyro Andreou
2008-Feb-14 18:39 UTC
Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
I did a comparison of the drivers included in the linux-zen kernel and the drivers FC8 has. The only difference is that the linux-xen drivers do not include the ata drivers. Is the linux-kernel downloaded inclomplete? How do I get it to download the ata drivers as well? Thanks Argyro On Thu, Feb 14, 2008 at 10:20 AM, Argyro Andreou <argyro.andreou@gmail.com> wrote:> > > Any ideas how to get it included? Or what I''m doing wrong and it''s not > compiling the sata controller? LEt me know if you need me to post any info > to figure out what''s happening. > > Thanks !!! > Argyro > > On Thu, Feb 14, 2008 at 10:12 AM, weiming <zephyr.zhao@gmail.com> wrote: > > > I guess it''s related with the sata controller driver which should be > > included in your initrd file. > > > > > > On Thu, Feb 14, 2008 at 9:59 AM, Argyro Andreou < > > argyro.andreou@gmail.com> wrote: > > > > > So then what type of changes would I have to make to the config file > > > to compile the kernel the way you describe? I took a look at it and I it > > > seems to me that the write options are enabled. > > > > > > Thanks for your help !!! > > > Argyro > > > > > > On Wed, Feb 13, 2008 at 4:27 PM, Tait Clarridge < > > > Tait.Clarridge@lavalife.com> wrote: > > > > > > > I remember that I had to compile all the RAID + LVM section of the > > > > kernel config directly into the kernel, and not as modules. As well I had to > > > > have each of the USB host sections as modules and the AHCI support built as > > > > a module. > > > > > > > > Then I compiled my initrd with sd_mod, sg, ahci (I think) to get it > > > > to find my logical volumes. > > > > > > > > > > > > > > > > From: weiming [mailto:zephyr.zhao@gmail.com] > > > > Sent: Wednesday, February 13, 2008 4:24 PM > > > > To: Argyro Andreou > > > > Cc: Tait Clarridge; xen-users@lists.xensource.com > > > > Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: > > > > Kernel panic -Attempted to kill init > > > > > > > > I guess some device driver for your sata driver was not loaded, so > > > > the kernel can''t find the /dev/root device. > > > > Did you change the .config of linux kernel? By default, it should > > > > include most of the drivers. > > > > On Feb 13, 2008 4:09 PM, Argyro Andreou <argyro.andreou@gmail.com> > > > > wrote: > > > > Hey Tait, > > > > > > > > > > > > When I remove the quiet flag it says the following: > > > > > > > > Scanning logical volumes > > > > Reading all physical volumes > > > > No volume groups found > > > > Activating logical volumes > > > > Volume group VolGroup00 not found > > > > Creating root device > > > > Mounting root filesystem > > > > mount: could not find filesystem /dev/root > > > > Setting up other filesystems > > > > Setting up new root fs > > > > setuproot: moving /dev failed: No such file pr directory > > > > no fstab.sys, mounting internal defaults > > > > setuproot: error mounting /proc: No such file ot directory > > > > seturoot: error mounting /sys: No such file to directory > > > > Switching to new root and running init > > > > unmounting old /dev > > > > unmounting old /proc > > > > unmounting old /sys > > > > switchroot: mount failed: No such file or directory > > > > Booting has failed > > > > Kernel panic-not synching: Attempted to kill init! > > > > > > > > > > > > When installing Fedora Core 8 I didn''t do custom partitioning I used > > > > the default option. If custom partitioning is need can you please tell me > > > > exactly what partitions are needed? > > > > > > > > Thanks > > > > Argyro > > > > On Feb 13, 2008 3:48 PM, Tait Clarridge <Tait.Clarridge@lavalife.com> > > > > wrote: > > > > Hi Argyro, > > > > > > > > Could you take out the "quiet" switch in the Xen kernel boot args > > > > and tell us exactly what it says? You might also want to add a "noreboot" in > > > > that section so you can write down exactly what it says. > > > > > > > > Thanks, > > > > -Tait > > > > > > > > From: xen-users-bounces@lists.xensource.com [mailto: > > > > xen-users-bounces@lists.xensource.com] On Behalf Of Argyro Andreou > > > > Sent: Wednesday, February 13, 2008 3:36 PM > > > > To: xen-users@lists.xensource.com > > > > Subject: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel > > > > panic -Attempted to kill init > > > > > > > > Hi all, > > > > > > > > I compiled and installed Xen 3.2 source on FC8. Compilation and > > > > installation completed with no errors. However when I try to load Xen I get > > > > an error: Kernel panic - Attempted to kill init !!! > > > > > > > > This is my grub configuration: > > > > > > > > # grub.conf generated by anaconda > > > > # > > > > # Note that you do not have to rerun grub after making changes to > > > > this file > > > > # NOTICE: You have a /boot partition. This means that > > > > # all kernel and initrd paths are relative to /boot/, eg. > > > > # root (hd0,0) > > > > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > > > > # initrd /initrd-version.img > > > > #boot=/dev/sda > > > > default=0 > > > > timeout=15 > > > > splashimage=(hd0,0)/grub/splash.xpm.gz > > > > #hiddenmenu > > > > title Fedora (2.6.23.1-42.fc8) > > > > root (hd0,0) > > > > kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 > > > > rhgb quiet > > > > initrd /initrd-2.6.23.1-42.fc8.img > > > > > > > > title Fedora Core 8 + Xen 3.2.0 > > > > root (hd0,0) > > > > kernel /xen-3.2.1-rc1-pre.gz > > > > module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 > > > > rhgb quiet > > > > module /initrd-2.6.18.8-xen.img > > > > > > > > I tried loading Xen without initrd also. But I get the same error. > > > > > > > > Please can anyone help me. I''ve trying to solve this problem since > > > > last Friday and I can''t see any light at the end of the tunnel > > > > > > > > > > > > Regards > > > > Argyro > > > > > > > > > > > > _______________________________________________ > > > > 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
weiming
2008-Feb-14 18:53 UTC
Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
I guess it''s close. ata driver may matter! how do you check the drivers? Maybe I can check the settings on my machine On Thu, Feb 14, 2008 at 1:39 PM, Argyro Andreou <argyro.andreou@gmail.com> wrote:> I did a comparison of the drivers included in the linux-zen kernel and the > drivers FC8 has. The only difference is that the linux-xen drivers do not > include the ata drivers. Is the linux-kernel downloaded inclomplete? How do > I get it to download the ata drivers as well? > > Thanks > Argyro > > On Thu, Feb 14, 2008 at 10:20 AM, Argyro Andreou <argyro.andreou@gmail.com> > wrote: > > > > > > > Any ideas how to get it included? Or what I''m doing wrong and it''s not > > compiling the sata controller? LEt me know if you need me to post any info > > to figure out what''s happening. > > > > Thanks !!! > > Argyro > > > > On Thu, Feb 14, 2008 at 10:12 AM, weiming <zephyr.zhao@gmail.com> > > wrote: > > > > > I guess it''s related with the sata controller driver which should be > > > included in your initrd file. > > > > > > > > > On Thu, Feb 14, 2008 at 9:59 AM, Argyro Andreou < > > > argyro.andreou@gmail.com> wrote: > > > > > > > So then what type of changes would I have to make to the config file > > > > to compile the kernel the way you describe? I took a look at it and I it > > > > seems to me that the write options are enabled. > > > > > > > > Thanks for your help !!! > > > > Argyro > > > > > > > > On Wed, Feb 13, 2008 at 4:27 PM, Tait Clarridge < > > > > Tait.Clarridge@lavalife.com> wrote: > > > > > > > > > I remember that I had to compile all the RAID + LVM section of the > > > > > kernel config directly into the kernel, and not as modules. As well I had to > > > > > have each of the USB host sections as modules and the AHCI support built as > > > > > a module. > > > > > > > > > > Then I compiled my initrd with sd_mod, sg, ahci (I think) to get > > > > > it to find my logical volumes. > > > > > > > > > > > > > > > > > > > > From: weiming [mailto:zephyr.zhao@gmail.com] > > > > > Sent: Wednesday, February 13, 2008 4:24 PM > > > > > To: Argyro Andreou > > > > > Cc: Tait Clarridge; xen-users@lists.xensource.com > > > > > Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: > > > > > Kernel panic -Attempted to kill init > > > > > > > > > > I guess some device driver for your sata driver was not loaded, so > > > > > the kernel can''t find the /dev/root device. > > > > > Did you change the .config of linux kernel? By default, it should > > > > > include most of the drivers. > > > > > On Feb 13, 2008 4:09 PM, Argyro Andreou <argyro.andreou@gmail.com> > > > > > wrote: > > > > > Hey Tait, > > > > > > > > > > > > > > > When I remove the quiet flag it says the following: > > > > > > > > > > Scanning logical volumes > > > > > Reading all physical volumes > > > > > No volume groups found > > > > > Activating logical volumes > > > > > Volume group VolGroup00 not found > > > > > Creating root device > > > > > Mounting root filesystem > > > > > mount: could not find filesystem /dev/root > > > > > Setting up other filesystems > > > > > Setting up new root fs > > > > > setuproot: moving /dev failed: No such file pr directory > > > > > no fstab.sys, mounting internal defaults > > > > > setuproot: error mounting /proc: No such file ot directory > > > > > seturoot: error mounting /sys: No such file to directory > > > > > Switching to new root and running init > > > > > unmounting old /dev > > > > > unmounting old /proc > > > > > unmounting old /sys > > > > > switchroot: mount failed: No such file or directory > > > > > Booting has failed > > > > > Kernel panic-not synching: Attempted to kill init! > > > > > > > > > > > > > > > When installing Fedora Core 8 I didn''t do custom partitioning I > > > > > used the default option. If custom partitioning is need can you please tell > > > > > me exactly what partitions are needed? > > > > > > > > > > Thanks > > > > > Argyro > > > > > On Feb 13, 2008 3:48 PM, Tait Clarridge < > > > > > Tait.Clarridge@lavalife.com> wrote: > > > > > Hi Argyro, > > > > > > > > > > Could you take out the "quiet" switch in the Xen kernel boot args > > > > > and tell us exactly what it says? You might also want to add a "noreboot" in > > > > > that section so you can write down exactly what it says. > > > > > > > > > > Thanks, > > > > > -Tait > > > > > > > > > > From: xen-users-bounces@lists.xensource.com [mailto: > > > > > xen-users-bounces@lists.xensource.com] On Behalf Of Argyro Andreou > > > > > Sent: Wednesday, February 13, 2008 3:36 PM > > > > > To: xen-users@lists.xensource.com > > > > > Subject: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel > > > > > panic -Attempted to kill init > > > > > > > > > > Hi all, > > > > > > > > > > I compiled and installed Xen 3.2 source on FC8. Compilation and > > > > > installation completed with no errors. However when I try to load Xen I get > > > > > an error: Kernel panic - Attempted to kill init !!! > > > > > > > > > > This is my grub configuration: > > > > > > > > > > # grub.conf generated by anaconda > > > > > # > > > > > # Note that you do not have to rerun grub after making changes to > > > > > this file > > > > > # NOTICE: You have a /boot partition. This means that > > > > > # all kernel and initrd paths are relative to /boot/, eg. > > > > > # root (hd0,0) > > > > > # kernel /vmlinuz-version ro > > > > > root=/dev/VolGroup00/LogVol00 > > > > > # initrd /initrd-version.img > > > > > #boot=/dev/sda > > > > > default=0 > > > > > timeout=15 > > > > > splashimage=(hd0,0)/grub/splash.xpm.gz > > > > > #hiddenmenu > > > > > title Fedora (2.6.23.1-42.fc8) > > > > > root (hd0,0) > > > > > kernel /vmlinuz-2.6.23.1-42.fc8 ro > > > > > root=/dev/VolGroup00/LogVol00 rhgb quiet > > > > > initrd /initrd-2.6.23.1-42.fc8.img > > > > > > > > > > title Fedora Core 8 + Xen 3.2.0 > > > > > root (hd0,0) > > > > > kernel /xen-3.2.1-rc1-pre.gz > > > > > module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 > > > > > rhgb quiet > > > > > module /initrd-2.6.18.8-xen.img > > > > > > > > > > I tried loading Xen without initrd also. But I get the same error. > > > > > > > > > > Please can anyone help me. I''ve trying to solve this problem since > > > > > last Friday and I can''t see any light at the end of the tunnel > > > > > > > > > > > > > > > Regards > > > > > Argyro > > > > > > > > > > > > > > > _______________________________________________ > > > > > 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
Argyro Andreou
2008-Feb-14 18:58 UTC
Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
I just go into /lib/modules There you will see two directories one for the xen-linux-kernel and one for your standard linux distro in my case FC8. By going into those 2 directories then going into /kernel/drivers I see that the ata driver directory is missing from the xen-linux whereas it''s present for FC8 Thanks Argyro On Thu, Feb 14, 2008 at 1:53 PM, weiming <zephyr.zhao@gmail.com> wrote:> I guess it''s close. ata driver may matter! > how do you check the drivers? Maybe I can check the settings on my machine > > On Thu, Feb 14, 2008 at 1:39 PM, Argyro Andreou <argyro.andreou@gmail.com> > wrote: > > > I did a comparison of the drivers included in the linux-zen kernel and > > the drivers FC8 has. The only difference is that the linux-xen drivers do > > not include the ata drivers. Is the linux-kernel downloaded inclomplete? How > > do I get it to download the ata drivers as well? > > > > Thanks > > Argyro > > > > On Thu, Feb 14, 2008 at 10:20 AM, Argyro Andreou < > > argyro.andreou@gmail.com> wrote: > > > > > > > > > > > Any ideas how to get it included? Or what I''m doing wrong and it''s not > > > compiling the sata controller? LEt me know if you need me to post any info > > > to figure out what''s happening. > > > > > > Thanks !!! > > > Argyro > > > > > > On Thu, Feb 14, 2008 at 10:12 AM, weiming <zephyr.zhao@gmail.com> > > > wrote: > > > > > > > I guess it''s related with the sata controller driver which should be > > > > included in your initrd file. > > > > > > > > > > > > On Thu, Feb 14, 2008 at 9:59 AM, Argyro Andreou < > > > > argyro.andreou@gmail.com> wrote: > > > > > > > > > So then what type of changes would I have to make to the config > > > > > file to compile the kernel the way you describe? I took a look at it and I > > > > > it seems to me that the write options are enabled. > > > > > > > > > > Thanks for your help !!! > > > > > Argyro > > > > > > > > > > On Wed, Feb 13, 2008 at 4:27 PM, Tait Clarridge < > > > > > Tait.Clarridge@lavalife.com> wrote: > > > > > > > > > > > I remember that I had to compile all the RAID + LVM section of > > > > > > the kernel config directly into the kernel, and not as modules. As well I > > > > > > had to have each of the USB host sections as modules and the AHCI support > > > > > > built as a module. > > > > > > > > > > > > Then I compiled my initrd with sd_mod, sg, ahci (I think) to get > > > > > > it to find my logical volumes. > > > > > > > > > > > > > > > > > > > > > > > > From: weiming [mailto:zephyr.zhao@gmail.com] > > > > > > Sent: Wednesday, February 13, 2008 4:24 PM > > > > > > To: Argyro Andreou > > > > > > Cc: Tait Clarridge; xen-users@lists.xensource.com > > > > > > Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: > > > > > > Kernel panic -Attempted to kill init > > > > > > > > > > > > I guess some device driver for your sata driver was not loaded, > > > > > > so the kernel can''t find the /dev/root device. > > > > > > Did you change the .config of linux kernel? By default, it > > > > > > should include most of the drivers. > > > > > > On Feb 13, 2008 4:09 PM, Argyro Andreou < > > > > > > argyro.andreou@gmail.com> wrote: > > > > > > Hey Tait, > > > > > > > > > > > > > > > > > > When I remove the quiet flag it says the following: > > > > > > > > > > > > Scanning logical volumes > > > > > > Reading all physical volumes > > > > > > No volume groups found > > > > > > Activating logical volumes > > > > > > Volume group VolGroup00 not found > > > > > > Creating root device > > > > > > Mounting root filesystem > > > > > > mount: could not find filesystem /dev/root > > > > > > Setting up other filesystems > > > > > > Setting up new root fs > > > > > > setuproot: moving /dev failed: No such file pr directory > > > > > > no fstab.sys, mounting internal defaults > > > > > > setuproot: error mounting /proc: No such file ot directory > > > > > > seturoot: error mounting /sys: No such file to directory > > > > > > Switching to new root and running init > > > > > > unmounting old /dev > > > > > > unmounting old /proc > > > > > > unmounting old /sys > > > > > > switchroot: mount failed: No such file or directory > > > > > > Booting has failed > > > > > > Kernel panic-not synching: Attempted to kill init! > > > > > > > > > > > > > > > > > > When installing Fedora Core 8 I didn''t do custom partitioning I > > > > > > used the default option. If custom partitioning is need can you please tell > > > > > > me exactly what partitions are needed? > > > > > > > > > > > > Thanks > > > > > > Argyro > > > > > > On Feb 13, 2008 3:48 PM, Tait Clarridge < > > > > > > Tait.Clarridge@lavalife.com> wrote: > > > > > > Hi Argyro, > > > > > > > > > > > > Could you take out the "quiet" switch in the Xen kernel boot > > > > > > args and tell us exactly what it says? You might also want to add a > > > > > > "noreboot" in that section so you can write down exactly what it says. > > > > > > > > > > > > Thanks, > > > > > > -Tait > > > > > > > > > > > > From: xen-users-bounces@lists.xensource.com [mailto: > > > > > > xen-users-bounces@lists.xensource.com] On Behalf Of Argyro > > > > > > Andreou > > > > > > Sent: Wednesday, February 13, 2008 3:36 PM > > > > > > To: xen-users@lists.xensource.com > > > > > > Subject: [Xen-users] Xen 3.2 is not loading on FC8 - Error: > > > > > > Kernel panic -Attempted to kill init > > > > > > > > > > > > Hi all, > > > > > > > > > > > > I compiled and installed Xen 3.2 source on FC8. Compilation and > > > > > > installation completed with no errors. However when I try to load Xen I get > > > > > > an error: Kernel panic - Attempted to kill init !!! > > > > > > > > > > > > This is my grub configuration: > > > > > > > > > > > > # grub.conf generated by anaconda > > > > > > # > > > > > > # Note that you do not have to rerun grub after making changes > > > > > > to this file > > > > > > # NOTICE: You have a /boot partition. This means that > > > > > > # all kernel and initrd paths are relative to /boot/, > > > > > > eg. > > > > > > # root (hd0,0) > > > > > > # kernel /vmlinuz-version ro > > > > > > root=/dev/VolGroup00/LogVol00 > > > > > > # initrd /initrd-version.img > > > > > > #boot=/dev/sda > > > > > > default=0 > > > > > > timeout=15 > > > > > > splashimage=(hd0,0)/grub/splash.xpm.gz > > > > > > #hiddenmenu > > > > > > title Fedora (2.6.23.1-42.fc8) > > > > > > root (hd0,0) > > > > > > kernel /vmlinuz-2.6.23.1-42.fc8 ro > > > > > > root=/dev/VolGroup00/LogVol00 rhgb quiet > > > > > > initrd /initrd-2.6.23.1-42.fc8.img > > > > > > > > > > > > title Fedora Core 8 + Xen 3.2.0 > > > > > > root (hd0,0) > > > > > > kernel /xen-3.2.1-rc1-pre.gz > > > > > > module /vmlinuz-2.6.18.8-xen ro > > > > > > root=/dev/VolGroup00/LogVol00 rhgb quiet > > > > > > module /initrd-2.6.18.8-xen.img > > > > > > > > > > > > I tried loading Xen without initrd also. But I get the same > > > > > > error. > > > > > > > > > > > > Please can anyone help me. I''ve trying to solve this problem > > > > > > since last Friday and I can''t see any light at the end of the tunnel > > > > > > > > > > > > > > > > > > Regards > > > > > > Argyro > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > 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
weiming
2008-Feb-14 19:10 UTC
Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
I find that most of those in ata directory are moved to scsi directory in xen-linux On Thu, Feb 14, 2008 at 1:58 PM, Argyro Andreou <argyro.andreou@gmail.com> wrote:> I just go into /lib/modules > > There you will see two directories one for the xen-linux-kernel and one > for your standard linux distro in my case FC8. By going into those 2 > directories then going into /kernel/drivers I see that the ata driver > directory is missing from the xen-linux whereas it''s present for FC8 > > Thanks > Argyro > > On Thu, Feb 14, 2008 at 1:53 PM, weiming <zephyr.zhao@gmail.com> wrote: > > > I guess it''s close. ata driver may matter! > > how do you check the drivers? Maybe I can check the settings on my > > machine > > > > On Thu, Feb 14, 2008 at 1:39 PM, Argyro Andreou < > > argyro.andreou@gmail.com> wrote: > > > > > I did a comparison of the drivers included in the linux-zen kernel and > > > the drivers FC8 has. The only difference is that the linux-xen drivers do > > > not include the ata drivers. Is the linux-kernel downloaded inclomplete? How > > > do I get it to download the ata drivers as well? > > > > > > Thanks > > > Argyro > > > > > > On Thu, Feb 14, 2008 at 10:20 AM, Argyro Andreou < > > > argyro.andreou@gmail.com> wrote: > > > > > > > > > > > > > > > Any ideas how to get it included? Or what I''m doing wrong and it''s > > > > not compiling the sata controller? LEt me know if you need me to post any > > > > info to figure out what''s happening. > > > > > > > > Thanks !!! > > > > Argyro > > > > > > > > On Thu, Feb 14, 2008 at 10:12 AM, weiming <zephyr.zhao@gmail.com> > > > > wrote: > > > > > > > > > I guess it''s related with the sata controller driver which should > > > > > be included in your initrd file. > > > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 9:59 AM, Argyro Andreou < > > > > > argyro.andreou@gmail.com> wrote: > > > > > > > > > > > So then what type of changes would I have to make to the config > > > > > > file to compile the kernel the way you describe? I took a look at it and I > > > > > > it seems to me that the write options are enabled. > > > > > > > > > > > > Thanks for your help !!! > > > > > > Argyro > > > > > > > > > > > > On Wed, Feb 13, 2008 at 4:27 PM, Tait Clarridge < > > > > > > Tait.Clarridge@lavalife.com> wrote: > > > > > > > > > > > > > I remember that I had to compile all the RAID + LVM section of > > > > > > > the kernel config directly into the kernel, and not as modules. As well I > > > > > > > had to have each of the USB host sections as modules and the AHCI support > > > > > > > built as a module. > > > > > > > > > > > > > > Then I compiled my initrd with sd_mod, sg, ahci (I think) to > > > > > > > get it to find my logical volumes. > > > > > > > > > > > > > > > > > > > > > > > > > > > > From: weiming [mailto:zephyr.zhao@gmail.com] > > > > > > > Sent: Wednesday, February 13, 2008 4:24 PM > > > > > > > To: Argyro Andreou > > > > > > > Cc: Tait Clarridge; xen-users@lists.xensource.com > > > > > > > Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - > > > > > > > Error: Kernel panic -Attempted to kill init > > > > > > > > > > > > > > I guess some device driver for your sata driver was not > > > > > > > loaded, so the kernel can''t find the /dev/root device. > > > > > > > Did you change the .config of linux kernel? By default, it > > > > > > > should include most of the drivers. > > > > > > > On Feb 13, 2008 4:09 PM, Argyro Andreou < > > > > > > > argyro.andreou@gmail.com> wrote: > > > > > > > Hey Tait, > > > > > > > > > > > > > > > > > > > > > When I remove the quiet flag it says the following: > > > > > > > > > > > > > > Scanning logical volumes > > > > > > > Reading all physical volumes > > > > > > > No volume groups found > > > > > > > Activating logical volumes > > > > > > > Volume group VolGroup00 not found > > > > > > > Creating root device > > > > > > > Mounting root filesystem > > > > > > > mount: could not find filesystem /dev/root > > > > > > > Setting up other filesystems > > > > > > > Setting up new root fs > > > > > > > setuproot: moving /dev failed: No such file pr directory > > > > > > > no fstab.sys, mounting internal defaults > > > > > > > setuproot: error mounting /proc: No such file ot directory > > > > > > > seturoot: error mounting /sys: No such file to directory > > > > > > > Switching to new root and running init > > > > > > > unmounting old /dev > > > > > > > unmounting old /proc > > > > > > > unmounting old /sys > > > > > > > switchroot: mount failed: No such file or directory > > > > > > > Booting has failed > > > > > > > Kernel panic-not synching: Attempted to kill init! > > > > > > > > > > > > > > > > > > > > > When installing Fedora Core 8 I didn''t do custom partitioning > > > > > > > I used the default option. If custom partitioning is need can you please > > > > > > > tell me exactly what partitions are needed? > > > > > > > > > > > > > > Thanks > > > > > > > Argyro > > > > > > > On Feb 13, 2008 3:48 PM, Tait Clarridge < > > > > > > > Tait.Clarridge@lavalife.com> wrote: > > > > > > > Hi Argyro, > > > > > > > > > > > > > > Could you take out the "quiet" switch in the Xen kernel boot > > > > > > > args and tell us exactly what it says? You might also want to add a > > > > > > > "noreboot" in that section so you can write down exactly what it says. > > > > > > > > > > > > > > Thanks, > > > > > > > -Tait > > > > > > > > > > > > > > From: xen-users-bounces@lists.xensource.com [mailto: > > > > > > > xen-users-bounces@lists.xensource.com] On Behalf Of Argyro > > > > > > > Andreou > > > > > > > Sent: Wednesday, February 13, 2008 3:36 PM > > > > > > > To: xen-users@lists.xensource.com > > > > > > > Subject: [Xen-users] Xen 3.2 is not loading on FC8 - Error: > > > > > > > Kernel panic -Attempted to kill init > > > > > > > > > > > > > > Hi all, > > > > > > > > > > > > > > I compiled and installed Xen 3.2 source on FC8. Compilation > > > > > > > and installation completed with no errors. However when I try to load Xen I > > > > > > > get an error: Kernel panic - Attempted to kill init !!! > > > > > > > > > > > > > > This is my grub configuration: > > > > > > > > > > > > > > # grub.conf generated by anaconda > > > > > > > # > > > > > > > # Note that you do not have to rerun grub after making changes > > > > > > > to this file > > > > > > > # NOTICE: You have a /boot partition. This means that > > > > > > > # all kernel and initrd paths are relative to /boot/, > > > > > > > eg. > > > > > > > # root (hd0,0) > > > > > > > # kernel /vmlinuz-version ro > > > > > > > root=/dev/VolGroup00/LogVol00 > > > > > > > # initrd /initrd-version.img > > > > > > > #boot=/dev/sda > > > > > > > default=0 > > > > > > > timeout=15 > > > > > > > splashimage=(hd0,0)/grub/splash.xpm.gz > > > > > > > #hiddenmenu > > > > > > > title Fedora (2.6.23.1-42.fc8) > > > > > > > root (hd0,0) > > > > > > > kernel /vmlinuz-2.6.23.1-42.fc8 ro > > > > > > > root=/dev/VolGroup00/LogVol00 rhgb quiet > > > > > > > initrd /initrd-2.6.23.1-42.fc8.img > > > > > > > > > > > > > > title Fedora Core 8 + Xen 3.2.0 > > > > > > > root (hd0,0) > > > > > > > kernel /xen-3.2.1-rc1-pre.gz > > > > > > > module /vmlinuz-2.6.18.8-xen ro > > > > > > > root=/dev/VolGroup00/LogVol00 rhgb quiet > > > > > > > module /initrd-2.6.18.8-xen.img > > > > > > > > > > > > > > I tried loading Xen without initrd also. But I get the same > > > > > > > error. > > > > > > > > > > > > > > Please can anyone help me. I''ve trying to solve this problem > > > > > > > since last Friday and I can''t see any light at the end of the tunnel > > > > > > > > > > > > > > > > > > > > > Regards > > > > > > > Argyro > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > 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
Argyro Andreou
2008-Feb-14 19:21 UTC
Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
When I try to create my inirtd image the way you said yesterday it says that there is no ata_generic driver for the kernel. So to actually succeed in creating my initrd image I need to ommit the scsi modules which I think it''s creating the problem. FC8 has it ata_generic but it''s no where to be found in the xen-linux. How do I get it to compile with the ata drivers? Any ideas??? Thanks Argyro On Thu, Feb 14, 2008 at 2:10 PM, weiming <zephyr.zhao@gmail.com> wrote:> I find that most of those in ata directory are moved to scsi directory in > xen-linux > > > > On Thu, Feb 14, 2008 at 1:58 PM, Argyro Andreou <argyro.andreou@gmail.com> > wrote: > > > I just go into /lib/modules > > > > There you will see two directories one for the xen-linux-kernel and one > > for your standard linux distro in my case FC8. By going into those 2 > > directories then going into /kernel/drivers I see that the ata driver > > directory is missing from the xen-linux whereas it''s present for FC8 > > > > Thanks > > Argyro > > > > On Thu, Feb 14, 2008 at 1:53 PM, weiming <zephyr.zhao@gmail.com> > > wrote: > > > > > I guess it''s close. ata driver may matter! > > > how do you check the drivers? Maybe I can check the settings on my > > > machine > > > > > > On Thu, Feb 14, 2008 at 1:39 PM, Argyro Andreou < > > > argyro.andreou@gmail.com> wrote: > > > > > > > I did a comparison of the drivers included in the linux-zen kernel > > > > and the drivers FC8 has. The only difference is that the linux-xen drivers > > > > do not include the ata drivers. Is the linux-kernel downloaded inclomplete? > > > > How do I get it to download the ata drivers as well? > > > > > > > > Thanks > > > > Argyro > > > > > > > > On Thu, Feb 14, 2008 at 10:20 AM, Argyro Andreou < > > > > argyro.andreou@gmail.com> wrote: > > > > > > > > > > > > > > > > > > > Any ideas how to get it included? Or what I''m doing wrong and it''s > > > > > not compiling the sata controller? LEt me know if you need me to post any > > > > > info to figure out what''s happening. > > > > > > > > > > Thanks !!! > > > > > Argyro > > > > > > > > > > On Thu, Feb 14, 2008 at 10:12 AM, weiming <zephyr.zhao@gmail.com> > > > > > wrote: > > > > > > > > > > > I guess it''s related with the sata controller driver which > > > > > > should be included in your initrd file. > > > > > > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 9:59 AM, Argyro Andreou < > > > > > > argyro.andreou@gmail.com> wrote: > > > > > > > > > > > > > So then what type of changes would I have to make to the > > > > > > > config file to compile the kernel the way you describe? I took a look at it > > > > > > > and I it seems to me that the write options are enabled. > > > > > > > > > > > > > > Thanks for your help !!! > > > > > > > Argyro > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 4:27 PM, Tait Clarridge < > > > > > > > Tait.Clarridge@lavalife.com> wrote: > > > > > > > > > > > > > > > I remember that I had to compile all the RAID + LVM section > > > > > > > > of the kernel config directly into the kernel, and not as modules. As well I > > > > > > > > had to have each of the USB host sections as modules and the AHCI support > > > > > > > > built as a module. > > > > > > > > > > > > > > > > Then I compiled my initrd with sd_mod, sg, ahci (I think) to > > > > > > > > get it to find my logical volumes. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > From: weiming [mailto:zephyr.zhao@gmail.com] > > > > > > > > Sent: Wednesday, February 13, 2008 4:24 PM > > > > > > > > To: Argyro Andreou > > > > > > > > Cc: Tait Clarridge; xen-users@lists.xensource.com > > > > > > > > Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - > > > > > > > > Error: Kernel panic -Attempted to kill init > > > > > > > > > > > > > > > > I guess some device driver for your sata driver was not > > > > > > > > loaded, so the kernel can''t find the /dev/root device. > > > > > > > > Did you change the .config of linux kernel? By default, it > > > > > > > > should include most of the drivers. > > > > > > > > On Feb 13, 2008 4:09 PM, Argyro Andreou < > > > > > > > > argyro.andreou@gmail.com> wrote: > > > > > > > > Hey Tait, > > > > > > > > > > > > > > > > > > > > > > > > When I remove the quiet flag it says the following: > > > > > > > > > > > > > > > > Scanning logical volumes > > > > > > > > Reading all physical volumes > > > > > > > > No volume groups found > > > > > > > > Activating logical volumes > > > > > > > > Volume group VolGroup00 not found > > > > > > > > Creating root device > > > > > > > > Mounting root filesystem > > > > > > > > mount: could not find filesystem /dev/root > > > > > > > > Setting up other filesystems > > > > > > > > Setting up new root fs > > > > > > > > setuproot: moving /dev failed: No such file pr directory > > > > > > > > no fstab.sys, mounting internal defaults > > > > > > > > setuproot: error mounting /proc: No such file ot directory > > > > > > > > seturoot: error mounting /sys: No such file to directory > > > > > > > > Switching to new root and running init > > > > > > > > unmounting old /dev > > > > > > > > unmounting old /proc > > > > > > > > unmounting old /sys > > > > > > > > switchroot: mount failed: No such file or directory > > > > > > > > Booting has failed > > > > > > > > Kernel panic-not synching: Attempted to kill init! > > > > > > > > > > > > > > > > > > > > > > > > When installing Fedora Core 8 I didn''t do custom > > > > > > > > partitioning I used the default option. If custom partitioning is need can > > > > > > > > you please tell me exactly what partitions are needed? > > > > > > > > > > > > > > > > Thanks > > > > > > > > Argyro > > > > > > > > On Feb 13, 2008 3:48 PM, Tait Clarridge < > > > > > > > > Tait.Clarridge@lavalife.com> wrote: > > > > > > > > Hi Argyro, > > > > > > > > > > > > > > > > Could you take out the "quiet" switch in the Xen kernel boot > > > > > > > > args and tell us exactly what it says? You might also want to add a > > > > > > > > "noreboot" in that section so you can write down exactly what it says. > > > > > > > > > > > > > > > > Thanks, > > > > > > > > -Tait > > > > > > > > > > > > > > > > From: xen-users-bounces@lists.xensource.com [mailto: > > > > > > > > xen-users-bounces@lists.xensource.com] On Behalf Of Argyro > > > > > > > > Andreou > > > > > > > > Sent: Wednesday, February 13, 2008 3:36 PM > > > > > > > > To: xen-users@lists.xensource.com > > > > > > > > Subject: [Xen-users] Xen 3.2 is not loading on FC8 - Error: > > > > > > > > Kernel panic -Attempted to kill init > > > > > > > > > > > > > > > > Hi all, > > > > > > > > > > > > > > > > I compiled and installed Xen 3.2 source on FC8. Compilation > > > > > > > > and installation completed with no errors. However when I try to load Xen I > > > > > > > > get an error: Kernel panic - Attempted to kill init !!! > > > > > > > > > > > > > > > > This is my grub configuration: > > > > > > > > > > > > > > > > # grub.conf generated by anaconda > > > > > > > > # > > > > > > > > # Note that you do not have to rerun grub after making > > > > > > > > changes to this file > > > > > > > > # NOTICE: You have a /boot partition. This means that > > > > > > > > # all kernel and initrd paths are relative to > > > > > > > > /boot/, eg. > > > > > > > > # root (hd0,0) > > > > > > > > # kernel /vmlinuz-version ro > > > > > > > > root=/dev/VolGroup00/LogVol00 > > > > > > > > # initrd /initrd-version.img > > > > > > > > #boot=/dev/sda > > > > > > > > default=0 > > > > > > > > timeout=15 > > > > > > > > splashimage=(hd0,0)/grub/splash.xpm.gz > > > > > > > > #hiddenmenu > > > > > > > > title Fedora (2.6.23.1-42.fc8) > > > > > > > > root (hd0,0) > > > > > > > > kernel /vmlinuz-2.6.23.1-42.fc8 ro > > > > > > > > root=/dev/VolGroup00/LogVol00 rhgb quiet > > > > > > > > initrd /initrd-2.6.23.1-42.fc8.img > > > > > > > > > > > > > > > > title Fedora Core 8 + Xen 3.2.0 > > > > > > > > root (hd0,0) > > > > > > > > kernel /xen-3.2.1-rc1-pre.gz > > > > > > > > module /vmlinuz-2.6.18.8-xen ro > > > > > > > > root=/dev/VolGroup00/LogVol00 rhgb quiet > > > > > > > > module /initrd-2.6.18.8-xen.img > > > > > > > > > > > > > > > > I tried loading Xen without initrd also. But I get the same > > > > > > > > error. > > > > > > > > > > > > > > > > Please can anyone help me. I''ve trying to solve this problem > > > > > > > > since last Friday and I can''t see any light at the end of the tunnel > > > > > > > > > > > > > > > > > > > > > > > > Regards > > > > > > > > Argyro > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > 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
weiming
2008-Feb-14 19:26 UTC
Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
maybe you need to explicitly compile them make linux-2.6-xen-config CONFIGMODE=menuconfig select the related drivers On Thu, Feb 14, 2008 at 2:21 PM, Argyro Andreou <argyro.andreou@gmail.com> wrote:> When I try to create my inirtd image the way you said yesterday it says > that there is no ata_generic driver for the kernel. So to actually succeed > in creating my initrd image I need to ommit the scsi modules which I think > it''s creating the problem. FC8 has it ata_generic but it''s no where to be > found in the xen-linux. How do I get it to compile with the ata > drivers? Any ideas??? > > Thanks > > Argyro > > On Thu, Feb 14, 2008 at 2:10 PM, weiming <zephyr.zhao@gmail.com> wrote: > > > I find that most of those in ata directory are moved to scsi directory > > in xen-linux > > > > > > > > On Thu, Feb 14, 2008 at 1:58 PM, Argyro Andreou < > > argyro.andreou@gmail.com> wrote: > > > > > I just go into /lib/modules > > > > > > There you will see two directories one for the xen-linux-kernel and > > > one for your standard linux distro in my case FC8. By going into those 2 > > > directories then going into /kernel/drivers I see that the ata driver > > > directory is missing from the xen-linux whereas it''s present for FC8 > > > > > > Thanks > > > Argyro > > > > > > On Thu, Feb 14, 2008 at 1:53 PM, weiming <zephyr.zhao@gmail.com> > > > wrote: > > > > > > > I guess it''s close. ata driver may matter! > > > > how do you check the drivers? Maybe I can check the settings on my > > > > machine > > > > > > > > On Thu, Feb 14, 2008 at 1:39 PM, Argyro Andreou < > > > > argyro.andreou@gmail.com> wrote: > > > > > > > > > I did a comparison of the drivers included in the linux-zen kernel > > > > > and the drivers FC8 has. The only difference is that the linux-xen drivers > > > > > do not include the ata drivers. Is the linux-kernel downloaded inclomplete? > > > > > How do I get it to download the ata drivers as well? > > > > > > > > > > Thanks > > > > > Argyro > > > > > > > > > > On Thu, Feb 14, 2008 at 10:20 AM, Argyro Andreou < > > > > > argyro.andreou@gmail.com> wrote: > > > > > > > > > > > > > > > > > > > > > > > Any ideas how to get it included? Or what I''m doing wrong and > > > > > > it''s not compiling the sata controller? LEt me know if you need me to post > > > > > > any info to figure out what''s happening. > > > > > > > > > > > > Thanks !!! > > > > > > Argyro > > > > > > > > > > > > On Thu, Feb 14, 2008 at 10:12 AM, weiming < > > > > > > zephyr.zhao@gmail.com> wrote: > > > > > > > > > > > > > I guess it''s related with the sata controller driver which > > > > > > > should be included in your initrd file. > > > > > > > > > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 9:59 AM, Argyro Andreou < > > > > > > > argyro.andreou@gmail.com> wrote: > > > > > > > > > > > > > > > So then what type of changes would I have to make to the > > > > > > > > config file to compile the kernel the way you describe? I took a look at it > > > > > > > > and I it seems to me that the write options are enabled. > > > > > > > > > > > > > > > > Thanks for your help !!! > > > > > > > > Argyro > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 4:27 PM, Tait Clarridge < > > > > > > > > Tait.Clarridge@lavalife.com> wrote: > > > > > > > > > > > > > > > > > I remember that I had to compile all the RAID + LVM > > > > > > > > > section of the kernel config directly into the kernel, and not as modules. > > > > > > > > > As well I had to have each of the USB host sections as modules and the AHCI > > > > > > > > > support built as a module. > > > > > > > > > > > > > > > > > > Then I compiled my initrd with sd_mod, sg, ahci (I think) > > > > > > > > > to get it to find my logical volumes. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > From: weiming [mailto:zephyr.zhao@gmail.com] > > > > > > > > > Sent: Wednesday, February 13, 2008 4:24 PM > > > > > > > > > To: Argyro Andreou > > > > > > > > > Cc: Tait Clarridge; xen-users@lists.xensource.com > > > > > > > > > Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - > > > > > > > > > Error: Kernel panic -Attempted to kill init > > > > > > > > > > > > > > > > > > I guess some device driver for your sata driver was not > > > > > > > > > loaded, so the kernel can''t find the /dev/root device. > > > > > > > > > Did you change the .config of linux kernel? By default, it > > > > > > > > > should include most of the drivers. > > > > > > > > > On Feb 13, 2008 4:09 PM, Argyro Andreou < > > > > > > > > > argyro.andreou@gmail.com> wrote: > > > > > > > > > Hey Tait, > > > > > > > > > > > > > > > > > > > > > > > > > > > When I remove the quiet flag it says the following: > > > > > > > > > > > > > > > > > > Scanning logical volumes > > > > > > > > > Reading all physical volumes > > > > > > > > > No volume groups found > > > > > > > > > Activating logical volumes > > > > > > > > > Volume group VolGroup00 not found > > > > > > > > > Creating root device > > > > > > > > > Mounting root filesystem > > > > > > > > > mount: could not find filesystem /dev/root > > > > > > > > > Setting up other filesystems > > > > > > > > > Setting up new root fs > > > > > > > > > setuproot: moving /dev failed: No such file pr directory > > > > > > > > > no fstab.sys, mounting internal defaults > > > > > > > > > setuproot: error mounting /proc: No such file ot directory > > > > > > > > > seturoot: error mounting /sys: No such file to directory > > > > > > > > > Switching to new root and running init > > > > > > > > > unmounting old /dev > > > > > > > > > unmounting old /proc > > > > > > > > > unmounting old /sys > > > > > > > > > switchroot: mount failed: No such file or directory > > > > > > > > > Booting has failed > > > > > > > > > Kernel panic-not synching: Attempted to kill init! > > > > > > > > > > > > > > > > > > > > > > > > > > > When installing Fedora Core 8 I didn''t do custom > > > > > > > > > partitioning I used the default option. If custom partitioning is need can > > > > > > > > > you please tell me exactly what partitions are needed? > > > > > > > > > > > > > > > > > > Thanks > > > > > > > > > Argyro > > > > > > > > > On Feb 13, 2008 3:48 PM, Tait Clarridge < > > > > > > > > > Tait.Clarridge@lavalife.com> wrote: > > > > > > > > > Hi Argyro, > > > > > > > > > > > > > > > > > > Could you take out the "quiet" switch in the Xen kernel > > > > > > > > > boot args and tell us exactly what it says? You might also want to add a > > > > > > > > > "noreboot" in that section so you can write down exactly what it says. > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > -Tait > > > > > > > > > > > > > > > > > > From: xen-users-bounces@lists.xensource.com [mailto: > > > > > > > > > xen-users-bounces@lists.xensource.com] On Behalf Of Argyro > > > > > > > > > Andreou > > > > > > > > > Sent: Wednesday, February 13, 2008 3:36 PM > > > > > > > > > To: xen-users@lists.xensource.com > > > > > > > > > Subject: [Xen-users] Xen 3.2 is not loading on FC8 - > > > > > > > > > Error: Kernel panic -Attempted to kill init > > > > > > > > > > > > > > > > > > Hi all, > > > > > > > > > > > > > > > > > > I compiled and installed Xen 3.2 source on FC8. > > > > > > > > > Compilation and installation completed with no errors. However when I try to > > > > > > > > > load Xen I get an error: Kernel panic - Attempted to kill init !!! > > > > > > > > > > > > > > > > > > This is my grub configuration: > > > > > > > > > > > > > > > > > > # grub.conf generated by anaconda > > > > > > > > > # > > > > > > > > > # Note that you do not have to rerun grub after making > > > > > > > > > changes to this file > > > > > > > > > # NOTICE: You have a /boot partition. This means that > > > > > > > > > # all kernel and initrd paths are relative to > > > > > > > > > /boot/, eg. > > > > > > > > > # root (hd0,0) > > > > > > > > > # kernel /vmlinuz-version ro > > > > > > > > > root=/dev/VolGroup00/LogVol00 > > > > > > > > > # initrd /initrd-version.img > > > > > > > > > #boot=/dev/sda > > > > > > > > > default=0 > > > > > > > > > timeout=15 > > > > > > > > > splashimage=(hd0,0)/grub/splash.xpm.gz > > > > > > > > > #hiddenmenu > > > > > > > > > title Fedora (2.6.23.1-42.fc8) > > > > > > > > > root (hd0,0) > > > > > > > > > kernel /vmlinuz-2.6.23.1-42.fc8 ro > > > > > > > > > root=/dev/VolGroup00/LogVol00 rhgb quiet > > > > > > > > > initrd /initrd-2.6.23.1-42.fc8.img > > > > > > > > > > > > > > > > > > title Fedora Core 8 + Xen 3.2.0 > > > > > > > > > root (hd0,0) > > > > > > > > > kernel /xen-3.2.1-rc1-pre.gz > > > > > > > > > module /vmlinuz-2.6.18.8-xen ro > > > > > > > > > root=/dev/VolGroup00/LogVol00 rhgb quiet > > > > > > > > > module /initrd-2.6.18.8-xen.img > > > > > > > > > > > > > > > > > > I tried loading Xen without initrd also. But I get the > > > > > > > > > same error. > > > > > > > > > > > > > > > > > > Please can anyone help me. I''ve trying to solve this > > > > > > > > > problem since last Friday and I can''t see any light at the end of the tunnel > > > > > > > > > > > > > > > > > > > > > > > > > > > Regards > > > > > > > > > Argyro > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > 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
Argyro Andreou
2008-Feb-15 13:44 UTC
Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
So I finally got it to load the xen-kernel by copying ata_generic.ko and libdata.ko from /lib/modules/2.6.23.1-42.fc8/kernel/drivers/ata to /lib/modules/2.6.18.8-xen/kernel/drivers and adding them into the modules.dep file located in /lib/modules/2.6.18.8-xen in the same manner the exist in the corresponding file in fedora. Thanks for your help Argyro On Thu, Feb 14, 2008 at 2:26 PM, weiming <zephyr.zhao@gmail.com> wrote:> maybe you need to explicitly compile them > > make linux-2.6-xen-config CONFIGMODE=menuconfig > > select the related drivers > > > On Thu, Feb 14, 2008 at 2:21 PM, Argyro Andreou <argyro.andreou@gmail.com> > wrote: > > > When I try to create my inirtd image the way you said yesterday it says > > that there is no ata_generic driver for the kernel. So to actually succeed > > in creating my initrd image I need to ommit the scsi modules which I think > > it''s creating the problem. FC8 has it ata_generic but it''s no where to be > > found in the xen-linux. How do I get it to compile with the ata > > drivers? Any ideas??? > > > > Thanks > > > > Argyro > > > > On Thu, Feb 14, 2008 at 2:10 PM, weiming <zephyr.zhao@gmail.com> > > wrote: > > > > > I find that most of those in ata directory are moved to scsi directory > > > in xen-linux > > > > > > > > > > > > On Thu, Feb 14, 2008 at 1:58 PM, Argyro Andreou < > > > argyro.andreou@gmail.com> wrote: > > > > > > > I just go into /lib/modules > > > > > > > > There you will see two directories one for the xen-linux-kernel and > > > > one for your standard linux distro in my case FC8. By going into those 2 > > > > directories then going into /kernel/drivers I see that the ata driver > > > > directory is missing from the xen-linux whereas it''s present for FC8 > > > > > > > > Thanks > > > > Argyro > > > > > > > > On Thu, Feb 14, 2008 at 1:53 PM, weiming <zephyr.zhao@gmail.com> > > > > wrote: > > > > > > > > > I guess it''s close. ata driver may matter! > > > > > how do you check the drivers? Maybe I can check the settings on my > > > > > machine > > > > > > > > > > On Thu, Feb 14, 2008 at 1:39 PM, Argyro Andreou < > > > > > argyro.andreou@gmail.com> wrote: > > > > > > > > > > > I did a comparison of the drivers included in the linux-zen > > > > > > kernel and the drivers FC8 has. The only difference is that the linux-xen > > > > > > drivers do not include the ata drivers. Is the linux-kernel downloaded > > > > > > inclomplete? How do I get it to download the ata drivers as well? > > > > > > > > > > > > Thanks > > > > > > Argyro > > > > > > > > > > > > On Thu, Feb 14, 2008 at 10:20 AM, Argyro Andreou < > > > > > > argyro.andreou@gmail.com> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > Any ideas how to get it included? Or what I''m doing wrong and > > > > > > > it''s not compiling the sata controller? LEt me know if you need me to post > > > > > > > any info to figure out what''s happening. > > > > > > > > > > > > > > Thanks !!! > > > > > > > Argyro > > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 10:12 AM, weiming < > > > > > > > zephyr.zhao@gmail.com> wrote: > > > > > > > > > > > > > > > I guess it''s related with the sata controller driver which > > > > > > > > should be included in your initrd file. > > > > > > > > > > > > > > > > > > > > > > > > On Thu, Feb 14, 2008 at 9:59 AM, Argyro Andreou < > > > > > > > > argyro.andreou@gmail.com> wrote: > > > > > > > > > > > > > > > > > So then what type of changes would I have to make to the > > > > > > > > > config file to compile the kernel the way you describe? I took a look at it > > > > > > > > > and I it seems to me that the write options are enabled. > > > > > > > > > > > > > > > > > > Thanks for your help !!! > > > > > > > > > Argyro > > > > > > > > > > > > > > > > > > On Wed, Feb 13, 2008 at 4:27 PM, Tait Clarridge < > > > > > > > > > Tait.Clarridge@lavalife.com> wrote: > > > > > > > > > > > > > > > > > > > I remember that I had to compile all the RAID + LVM > > > > > > > > > > section of the kernel config directly into the kernel, and not as modules. > > > > > > > > > > As well I had to have each of the USB host sections as modules and the AHCI > > > > > > > > > > support built as a module. > > > > > > > > > > > > > > > > > > > > Then I compiled my initrd with sd_mod, sg, ahci (I > > > > > > > > > > think) to get it to find my logical volumes. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > From: weiming [mailto:zephyr.zhao@gmail.com] > > > > > > > > > > Sent: Wednesday, February 13, 2008 4:24 PM > > > > > > > > > > To: Argyro Andreou > > > > > > > > > > Cc: Tait Clarridge; xen-users@lists.xensource.com > > > > > > > > > > Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - > > > > > > > > > > Error: Kernel panic -Attempted to kill init > > > > > > > > > > > > > > > > > > > > I guess some device driver for your sata driver was not > > > > > > > > > > loaded, so the kernel can''t find the /dev/root device. > > > > > > > > > > Did you change the .config of linux kernel? By default, > > > > > > > > > > it should include most of the drivers. > > > > > > > > > > On Feb 13, 2008 4:09 PM, Argyro Andreou < > > > > > > > > > > argyro.andreou@gmail.com> wrote: > > > > > > > > > > Hey Tait, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > When I remove the quiet flag it says the following: > > > > > > > > > > > > > > > > > > > > Scanning logical volumes > > > > > > > > > > Reading all physical volumes > > > > > > > > > > No volume groups found > > > > > > > > > > Activating logical volumes > > > > > > > > > > Volume group VolGroup00 not found > > > > > > > > > > Creating root device > > > > > > > > > > Mounting root filesystem > > > > > > > > > > mount: could not find filesystem /dev/root > > > > > > > > > > Setting up other filesystems > > > > > > > > > > Setting up new root fs > > > > > > > > > > setuproot: moving /dev failed: No such file pr directory > > > > > > > > > > no fstab.sys, mounting internal defaults > > > > > > > > > > setuproot: error mounting /proc: No such file ot > > > > > > > > > > directory > > > > > > > > > > seturoot: error mounting /sys: No such file to directory > > > > > > > > > > Switching to new root and running init > > > > > > > > > > unmounting old /dev > > > > > > > > > > unmounting old /proc > > > > > > > > > > unmounting old /sys > > > > > > > > > > switchroot: mount failed: No such file or directory > > > > > > > > > > Booting has failed > > > > > > > > > > Kernel panic-not synching: Attempted to kill init! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > When installing Fedora Core 8 I didn''t do custom > > > > > > > > > > partitioning I used the default option. If custom partitioning is need can > > > > > > > > > > you please tell me exactly what partitions are needed? > > > > > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > Argyro > > > > > > > > > > On Feb 13, 2008 3:48 PM, Tait Clarridge < > > > > > > > > > > Tait.Clarridge@lavalife.com> wrote: > > > > > > > > > > Hi Argyro, > > > > > > > > > > > > > > > > > > > > Could you take out the "quiet" switch in the Xen kernel > > > > > > > > > > boot args and tell us exactly what it says? You might also want to add a > > > > > > > > > > "noreboot" in that section so you can write down exactly what it says. > > > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > -Tait > > > > > > > > > > > > > > > > > > > > From: xen-users-bounces@lists.xensource.com [mailto: > > > > > > > > > > xen-users-bounces@lists.xensource.com] On Behalf Of > > > > > > > > > > Argyro Andreou > > > > > > > > > > Sent: Wednesday, February 13, 2008 3:36 PM > > > > > > > > > > To: xen-users@lists.xensource.com > > > > > > > > > > Subject: [Xen-users] Xen 3.2 is not loading on FC8 - > > > > > > > > > > Error: Kernel panic -Attempted to kill init > > > > > > > > > > > > > > > > > > > > Hi all, > > > > > > > > > > > > > > > > > > > > I compiled and installed Xen 3.2 source on FC8. > > > > > > > > > > Compilation and installation completed with no errors. However when I try to > > > > > > > > > > load Xen I get an error: Kernel panic - Attempted to kill init !!! > > > > > > > > > > > > > > > > > > > > This is my grub configuration: > > > > > > > > > > > > > > > > > > > > # grub.conf generated by anaconda > > > > > > > > > > # > > > > > > > > > > # Note that you do not have to rerun grub after making > > > > > > > > > > changes to this file > > > > > > > > > > # NOTICE: You have a /boot partition. This means that > > > > > > > > > > # all kernel and initrd paths are relative to > > > > > > > > > > /boot/, eg. > > > > > > > > > > # root (hd0,0) > > > > > > > > > > # kernel /vmlinuz-version ro > > > > > > > > > > root=/dev/VolGroup00/LogVol00 > > > > > > > > > > # initrd /initrd-version.img > > > > > > > > > > #boot=/dev/sda > > > > > > > > > > default=0 > > > > > > > > > > timeout=15 > > > > > > > > > > splashimage=(hd0,0)/grub/splash.xpm.gz > > > > > > > > > > #hiddenmenu > > > > > > > > > > title Fedora (2.6.23.1-42.fc8) > > > > > > > > > > root (hd0,0) > > > > > > > > > > kernel /vmlinuz-2.6.23.1-42.fc8 ro > > > > > > > > > > root=/dev/VolGroup00/LogVol00 rhgb quiet > > > > > > > > > > initrd /initrd-2.6.23.1-42.fc8.img > > > > > > > > > > > > > > > > > > > > title Fedora Core 8 + Xen 3.2.0 > > > > > > > > > > root (hd0,0) > > > > > > > > > > kernel /xen-3.2.1-rc1-pre.gz > > > > > > > > > > module /vmlinuz-2.6.18.8-xen ro > > > > > > > > > > root=/dev/VolGroup00/LogVol00 rhgb quiet > > > > > > > > > > module /initrd-2.6.18.8-xen.img > > > > > > > > > > > > > > > > > > > > I tried loading Xen without initrd also. But I get the > > > > > > > > > > same error. > > > > > > > > > > > > > > > > > > > > Please can anyone help me. I''ve trying to solve this > > > > > > > > > > problem since last Friday and I can''t see any light at the end of the tunnel > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Regards > > > > > > > > > > Argyro > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > > 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
Tait Clarridge
2008-Feb-15 15:01 UTC
RE: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
Argyro, When you are in the xen-3.2.0 directory type "make linux-2.6-xen-config CONFIGMODE=menuconfig" Then scroll down to the device drivers section and look for RAID + LVM and press "y" so a star appears beside them. You can do a search for the AHCI and USB host sections. There is information on how to do so when the configuration menu pops up. Also, make sure you save it. Then type "make linux-2.6-xen-build" followed by "make linux-2.6-xen-install". After that you will have to make the ram disk. "mkinitrd /boot/initrd.img-2.6.18.8-xen 2.6.18.8-xen -preload=ahci -preload=sd_mod" and you can add other modules you think will need to be loaded on boot for the system to find the filesystem. Some of those commands may not work as I haven''t done an install in over 2 weeks. So let me know if they don''t and I''ll go try myself. Thanks, Tait From: Argyro Andreou [mailto:argyro.andreou@gmail.com] Sent: Thursday, February 14, 2008 10:00 AM To: Tait Clarridge Cc: weiming; xen-users@lists.xensource.com Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init So then what type of changes would I have to make to the config file to compile the kernel the way you describe? I took a look at it and I it seems to me that the write options are enabled. Thanks for your help !!! Argyro On Wed, Feb 13, 2008 at 4:27 PM, Tait Clarridge <Tait.Clarridge@lavalife.com> wrote: I remember that I had to compile all the RAID + LVM section of the kernel config directly into the kernel, and not as modules. As well I had to have each of the USB host sections as modules and the AHCI support built as a module. Then I compiled my initrd with sd_mod, sg, ahci (I think) to get it to find my logical volumes. From: weiming [mailto:zephyr.zhao@gmail.com] Sent: Wednesday, February 13, 2008 4:24 PM To: Argyro Andreou Cc: Tait Clarridge; xen-users@lists.xensource.com Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init I guess some device driver for your sata driver was not loaded, so the kernel can''t find the /dev/root device. Did you change the .config of linux kernel? By default, it should include most of the drivers. On Feb 13, 2008 4:09 PM, Argyro Andreou <argyro.andreou@gmail.com> wrote: Hey Tait, When I remove the quiet flag it says the following: Scanning logical volumes Reading all physical volumes No volume groups found Activating logical volumes Volume group VolGroup00 not found Creating root device Mounting root filesystem mount: could not find filesystem /dev/root Setting up other filesystems Setting up new root fs setuproot: moving /dev failed: No such file pr directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file ot directory seturoot: error mounting /sys: No such file to directory Switching to new root and running init unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory Booting has failed Kernel panic-not synching: Attempted to kill init! When installing Fedora Core 8 I didn''t do custom partitioning I used the default option. If custom partitioning is need can you please tell me exactly what partitions are needed? Thanks Argyro On Feb 13, 2008 3:48 PM, Tait Clarridge <Tait.Clarridge@lavalife.com> wrote: Hi Argyro, Could you take out the "quiet" switch in the Xen kernel boot args and tell us exactly what it says? You might also want to add a "noreboot" in that section so you can write down exactly what it says. Thanks, -Tait From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Argyro Andreou Sent: Wednesday, February 13, 2008 3:36 PM To: xen-users@lists.xensource.com Subject: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init Hi all, I compiled and installed Xen 3.2 source on FC8. Compilation and installation completed with no errors. However when I try to load Xen I get an error: Kernel panic - Attempted to kill init !!! This is my grub configuration: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/sda default=0 timeout=15 splashimage=(hd0,0)/grub/splash.xpm.gz #hiddenmenu title Fedora (2.6.23.1-42.fc8) root (hd0,0) kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.23.1-42.fc8.img title Fedora Core 8 + Xen 3.2.0 root (hd0,0) kernel /xen-3.2.1-rc1-pre.gz module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet module /initrd-2.6.18.8-xen.img I tried loading Xen without initrd also. But I get the same error. Please can anyone help me. I''ve trying to solve this problem since last Friday and I can''t see any light at the end of the tunnel Regards Argyro _______________________________________________ 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
Argyro Andreou
2008-Feb-15 16:23 UTC
Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
I tried that but it would still compain about missing the ata_generic module. So I just copied ata_generic.ko and libdata.ko from fc8 to the drivers in linux-kernel and added them to the modules.dep file also and now it''s loading the kernel fine. Thanks for your help !!! Argyro On Fri, Feb 15, 2008 at 10:01 AM, Tait Clarridge < Tait.Clarridge@lavalife.com> wrote:> Argyro, > > When you are in the xen-3.2.0 directory type "make linux-2.6-xen-configCONFIGMODE=menuconfig" > Then scroll down to the device drivers section and look for RAID + LVM and > press "y" so a star appears beside them. > You can do a search for the AHCI and USB host sections. There is > information on how to do so when the configuration menu pops up. Also, make > sure you save it. > > Then type "make linux-2.6-xen-build" followed by "make > linux-2.6-xen-install". > > After that you will have to make the ram disk. "mkinitrd /boot/initrd.img- > 2.6.18.8-xen 2.6.18.8-xen -preload=ahci -preload=sd_mod" and you can add > other modules you think will need to be loaded on boot for the system to > find the filesystem. > > Some of those commands may not work as I haven''t done an install in over 2 > weeks. So let me know if they don''t and I''ll go try myself. > > Thanks, > Tait > > > > From: Argyro Andreou [mailto:argyro.andreou@gmail.com] > Sent: Thursday, February 14, 2008 10:00 AM > To: Tait Clarridge > Cc: weiming; xen-users@lists.xensource.com > Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel > panic -Attempted to kill init > > So then what type of changes would I have to make to the config file to > compile the kernel the way you describe? I took a look at it and I it seems > to me that the write options are enabled. > > Thanks for your help !!! > Argyro > On Wed, Feb 13, 2008 at 4:27 PM, Tait Clarridge < > Tait.Clarridge@lavalife.com> wrote: > I remember that I had to compile all the RAID + LVM section of the kernel > config directly into the kernel, and not as modules. As well I had to have > each of the USB host sections as modules and the AHCI support built as a > module. > > Then I compiled my initrd with sd_mod, sg, ahci (I think) to get it to > find my logical volumes. > > > > From: weiming [mailto:zephyr.zhao@gmail.com] > Sent: Wednesday, February 13, 2008 4:24 PM > To: Argyro Andreou > Cc: Tait Clarridge; xen-users@lists.xensource.com > Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel > panic -Attempted to kill init > > I guess some device driver for your sata driver was not loaded, so the > kernel can''t find the /dev/root device. > Did you change the .config of linux kernel? By default, it should include > most of the drivers. > On Feb 13, 2008 4:09 PM, Argyro Andreou <argyro.andreou@gmail.com> wrote: > Hey Tait, > > > When I remove the quiet flag it says the following: > > Scanning logical volumes > Reading all physical volumes > No volume groups found > Activating logical volumes > Volume group VolGroup00 not found > Creating root device > Mounting root filesystem > mount: could not find filesystem /dev/root > Setting up other filesystems > Setting up new root fs > setuproot: moving /dev failed: No such file pr directory > no fstab.sys, mounting internal defaults > setuproot: error mounting /proc: No such file ot directory > seturoot: error mounting /sys: No such file to directory > Switching to new root and running init > unmounting old /dev > unmounting old /proc > unmounting old /sys > switchroot: mount failed: No such file or directory > Booting has failed > Kernel panic-not synching: Attempted to kill init! > > > When installing Fedora Core 8 I didn''t do custom partitioning I used the > default option. If custom partitioning is need can you please tell me > exactly what partitions are needed? > > Thanks > Argyro > On Feb 13, 2008 3:48 PM, Tait Clarridge <Tait.Clarridge@lavalife.com> > wrote: > Hi Argyro, > > Could you take out the "quiet" switch in the Xen kernel boot args and tell > us exactly what it says? You might also want to add a "noreboot" in that > section so you can write down exactly what it says. > > Thanks, > -Tait > > From: xen-users-bounces@lists.xensource.com [mailto: > xen-users-bounces@lists.xensource.com] On Behalf Of Argyro Andreou > Sent: Wednesday, February 13, 2008 3:36 PM > To: xen-users@lists.xensource.com > Subject: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic > -Attempted to kill init > > Hi all, > > I compiled and installed Xen 3.2 source on FC8. Compilation and > installation completed with no errors. However when I try to load Xen I get > an error: Kernel panic - Attempted to kill init !!! > > This is my grub configuration: > > # grub.conf generated by anaconda > # > # Note that you do not have to rerun grub after making changes to this > file > # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd0,0) > # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 > # initrd /initrd-version.img > #boot=/dev/sda > default=0 > timeout=15 > splashimage=(hd0,0)/grub/splash.xpm.gz > #hiddenmenu > title Fedora (2.6.23.1-42.fc8) > root (hd0,0) > kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb > quiet > initrd /initrd-2.6.23.1-42.fc8.img > > title Fedora Core 8 + Xen 3.2.0 > root (hd0,0) > kernel /xen-3.2.1-rc1-pre.gz > module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb > quiet > module /initrd-2.6.18.8-xen.img > > I tried loading Xen without initrd also. But I get the same error. > > Please can anyone help me. I''ve trying to solve this problem since last > Friday and I can''t see any light at the end of the tunnel > > > Regards > Argyro > > > _______________________________________________ > 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