From mboxrd@z Thu Jan 1 00:00:00 1970 From: David F Barrera Subject: Re: Kernel panic - not syncing: Attempted to kill init! Date: Thu, 16 Dec 2004 08:41:28 -0600 Message-ID: <41C19E98.9010802@us.ibm.com> References: <41C0A148.2040209@us.ibm.com> <41C0D1BC.7020305@dsdk12.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <41C0D1BC.7020305@dsdk12.net> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Derrik, Thanks for your response. Of course I should have given more details! (my bad). The distro I am using is RHEL 4 Beta 2 (Red Hat Enterprise Linux Desktop release 3.90 (Nahant) >>What does the fstab for the domain's root FS look like? /dev/hdc1 / ext2 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 LABEL=SWAP-hdc2 swap swap defaults 0 0 /dev/hda /media/cdrom auto pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0 /dev/fd0 /media/floppy auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0 >>Also, what does your domain definition file look like? #----------------------------------------------------------------------------START OF DEFINITION FILE # Kernel image file. kernel = "/boot/vmlinuz-2.6.9-xenU" # Optional ramdisk. ramdisk = "/boot/initrd-fc3.img" # The domain build function. Default is 'linux'. builder='linux' # Initial memory allocation (in megabytes) for the new domain. memory = 64 # A name for your domain. All domains must have different names. name = "test1" # disk = [ 'phy:hda1,hda1,r' ] disk = [ 'phy:hdc1,hdc1,r' ] # Set if you want dhcp to allocate the IP address. dhcp="dhcp" # Set root device. root = "/dev/hdc1 ro" # Sets runlevel 4. extra = "4" #---------------------------------------------------------------------------- END OF DEFINITION FILE Derrik Pates wrote: > David F Barrera wrote: > >> I am trying to create an additional domain and have created a >> configuration file based on the examples. When I try to boot the >> domain, it eventually hits a Kernel panic, as follows: >> >> Red Hat nash version 4.1.18 starting >> Mounted /proc filesystem >> Mounting sysfs >> Creating /dev >> Starting udev >> Creating root device >> Mounting root filesystem >> mount: error 6 mounting ext3 >> mount: error 2 mounting none >> Switching to new root >> switchroot: mount failed: 22 >> umount /initrd/dev failed: 2 >> Kernel panic - not syncing: Attempted to kill init! >> <0>Rebooting in 1 seconds.. >> ----------------------------------- > > > Which RH flavor is this? I've so far had Fedora Core 2 and 3, as well > as CentOS, running happily inside a Xen domain. What does the fstab > for the domain's root FS look like? Also, what does your domain > definition file look like? > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/