From: David F Barrera <dfbp@us.ibm.com>
To: Ian Pratt <Ian.Pratt@cl.cam.ac.uk>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: Kernel panic - not syncing: Attempted to kill init!
Date: Mon, 20 Dec 2004 11:53:10 -0600 [thread overview]
Message-ID: <41C71186.5070808@us.ibm.com> (raw)
In-Reply-To: <E1CfjA6-0005pw-00@mta1.cl.cam.ac.uk>
Ian,
One thing about RHEL 4 is that the devices in /dev seem to be created
dynamically, at boot time. When I mount the 'hdc1' partition and go to
the /dev directory, there is nothing in it, as on a SuSE 9.0 or earlier
Red Hat installs. That is why I need an initrd, I suppose, to make or
create those devices.
David
Ian Pratt wrote:
>>Derrick,
>>
>>I rebuilt the xenU kernel, with the devfs support disabled, and it makes
>>no difference. It behaves in the same manner as the pre-built kernel
>>that's included with the binary pack. I am at a loss. I've been able to
>>boot a kernel under xen on a SuSE Linux 9.0 machine, so I've had a
>>little experience with this:-)
>>
>>
>
>David, earlier in the boot messages do you see the hdc1 partition
>being found when the partition check happens?
>
>You'll need to export the partition 'rw' eventually, but that's
>not your current problem.
>
>You might like to try exporting it as 'sda1' or something to see
>if that helps. Not sure why it would, but I've heard folklore
>along these lines.
>
>Adding some more debugging to the linuxrc nash script might shed
>some light on the problem.
>
>Also, what happens if you skip the initrd and try booting
>directly off the disk. I doubt there's anything in the initrd you
>need.
>
>Ian
>
>
>
>
>>Freeing unused kernel memory: 92k freed
>>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..
>>
>>
>>David Barrera
>>
>>
>>Derrik Pates wrote:
>>
>>
>>
>>>David F Barrera wrote:
>>>
>>>
>>>
>>>>The distro I am using is RHEL 4 Beta 2 (Red Hat Enterprise Linux
>>>>Desktop release 3.90 (Nahant)
>>>>
>>>>
>>>
>>>
>>>>/dev/hdc1 / ext2
>>>>defaults 1 1
>>>>
>>>>
>>>
>>>
>>>>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
>>>>
>>>>
>>>
>>>
>>>># disk = [ 'phy:hda1,hda1,r' ]
>>>>disk = [ 'phy:hdc1,hdc1,r' ]
>>>>
>>>>
>>>Well, the configuration of the virtual disk looks correct; the swap
>>>might disagree with it, but that shouldn't appear until later in the
>>>boot process. Perhaps it's an interaction with devfs? Do you have
>>>devfs enabled in your xenU (unprivileged domain) kernel? This gave me
>>>fits when I first began using Xen, mostly because it seems that the
>>>xenU prebuilt kernel that's included with the binary pack has devfs
>>>support enabled, and this breaks things. The only other possibility I
>>>can think of is that you need to change the block-device import to
>>>read-write.
>>>
>>>
>>>
>>-------------------------------------------------------
>>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/
>>_______________________________________________
>>Xen-devel mailing list
>>Xen-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/xen-devel
>>
>>
>
>
>
>-------------------------------------------------------
>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/
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/xen-devel
>
>
>
-------------------------------------------------------
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/
next prev parent reply other threads:[~2004-12-20 17:53 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-15 20:40 Kernel panic - not syncing: Attempted to kill init! David F Barrera
2004-12-16 0:07 ` Derrik Pates
2004-12-16 14:41 ` David F Barrera
2004-12-16 18:04 ` Derrik Pates
2004-12-16 19:29 ` David F Barrera
2004-12-17 20:39 ` David F Barrera
2004-12-18 18:18 ` Ian Pratt
2004-12-20 16:08 ` David F Barrera
2004-12-20 19:02 ` Ian Pratt
2004-12-20 19:45 ` David F Barrera
2004-12-20 23:22 ` Ian Pratt
2004-12-21 15:43 ` David F Barrera
2004-12-21 18:53 ` David F Barrera
2004-12-20 17:53 ` David F Barrera [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-12-21 21:25 David F Barrera
2004-12-22 2:30 Ian Pratt
2004-12-22 3:13 Ian Pratt
2004-12-22 15:39 ` David F Barrera
2008-04-10 2:07 Kernel Panic " Sreen Tallam
2008-04-10 8:50 ` Sebastian Siewior
2008-04-10 16:53 ` Sreen Tallam
2009-10-16 23:23 2.6.31 kernel for mips compile failure - war.h:12:17: error: war.h: No such file or directory myuboot
2009-10-16 23:50 ` David Daney
2009-11-11 0:22 ` Kernel panic - not syncing: Attempted to kill init! myuboot
2009-11-11 7:45 ` Gaye Abdoulaye Walsimou
2009-11-11 15:48 ` myuboot
2011-07-13 2:57 史星星(研六 福州)
2011-07-13 4:02 ` Vladimir Murzin
2011-07-13 4:16 ` 史星星(研六 福州)
2012-11-22 9:19 Woody Wu
2012-11-22 9:50 ` Jello huang
2012-11-26 7:40 ` Woody Wu
2012-11-26 7:51 ` Baruch Siach
2012-11-26 7:53 ` Woody Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41C71186.5070808@us.ibm.com \
--to=dfbp@us.ibm.com \
--cc=Ian.Pratt@cl.cam.ac.uk \
--cc=xen-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.