public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joy Almacen <joy@empexis.com>
To: vda <vda@port.imtp.ilyichevsk.odessa.ua>
Cc: Bob Poortinga <bobp@savemail.com>, linux-kernel@vger.kernel.org
Subject: Re: Upgrade to 2.4.16 produces "Kernel panic: No init found"
Date: Tue, 11 Dec 2001 08:10:24 -0500	[thread overview]
Message-ID: <3C1605C0.7453D3CD@empexis.com> (raw)
In-Reply-To: <3C150FD8.290BCBEC@savemail.com> <01121111410200.01012@manta>

Bob,

I have a similar problem.  My distro is RH7.1 and running on aCompaq Proliant
6000.
The original install boots fine, but is only running on UP not SMP. I grabbed
the
latest kernel from RH site and the upgraded utilities, SysVinit and all.
I even compiled into the kernel the scsi_mod and sd_mod as well as my
SCSI card driver sym53c8xx but to no avail.  It seems that for this
pivot_root
call wont work if you do not have dev and loop compiled into the kernel.
I will recompile the kernel with both selected to find out if this is true.

So far however, I have tried both:

1. Creating an initrd for my kernel version that has SCSI drivers as modules,

2. Compiling the drivers into the kernel with basically the same results, the
kernel panicking either
it can not mount the root file system( which is still ext2) or no init being
found.

See the docs on initrd fro your kernel  as you amy have to change your
lilo.conf
to pass parameters to the kernel thru "append" depending on whether you have
devfs support enabled or not.

I have been trying to fix this for 3 days now and have , like you had said "
google'd myself silly".

I  will let you know if I get any luck booting.

I would also appreciate it if you can let me know if you have a known fix or
at least the issue that's causing
this.

Thanks,

Joy






vda wrote:

> On Monday 10 December 2001 17:41, Bob Poortinga wrote:
> > Hello kernel gurus,
> >
> > I have searched the list archives and google'd myself silly, but I
> > can't seem to find a solution to my problem.
> >
> > I am trying to update my 2.4.3 kernel (Mandrake 8.0 distro) to 2.4.16.
> > I did a 'make oldconfig' with my old .config file and added ext3 kernel
> > support in addition to ext2.  My root fs is ext2 (as are all my fs).
> > The new kernel boots but panics when it tries to mount the root fs.
> > Here is the error:
> > --------------------------------------------------------------------
> > Mounting /proc filesystem
> > Creating root device
> > Mounting root filesystem
> > pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
> > Freeing unused kernel memory: 216k freed
> > Kernel panic: No init found.  Try passing init= option to kernel.
>
> Using initrd I guess?
> Please describe your boot process.
>
> Initrd support broke between 2.4.10 and 2.4.12, it does not like romfs and
> minix initrds anymore. I have a testcase.
> --
> vda
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/





  reply	other threads:[~2001-12-11 14:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-10 19:41 Upgrade to 2.4.16 produces "Kernel panic: No init found" Bob Poortinga
2001-12-11 13:41 ` vda
2001-12-11 13:10   ` Joy Almacen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-12-11 16:07 Tyler BIRD
2001-12-11 15:47 ` Joy Almacen

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=3C1605C0.7453D3CD@empexis.com \
    --to=joy@empexis.com \
    --cc=bobp@savemail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vda@port.imtp.ilyichevsk.odessa.ua \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox