Thanks Net Llama,
You were right, it was something to do with using make oldconfig. I tried it 
from scratch using xconfig and no kernel panic happened. Now I just need to 
figure out the right choices when doing it. I had no idea it was so detailed. 

> Going from 2.4.8 to 2.4.17 is a fairly significant upgrade, and I know
> that some kernel options changed along the way.  On top of that, you'll
> most likely need to upgrade some of the items in
> /usr/src/linux/Documentation/Changes .
>
> I think the safest thing to do is not use an old (and questionable)
> config file.  THe only way to learn is to do it from scratch.
>
> --- Vern W Heesch <[EMAIL PROTECTED]> wrote:
> > Yes, I see those errors as it boots up.
> > I didn't look to see if devfs was turned on. I copied the .config from
> >
> > /usr/src/linux to /root/linux where I was doing the new kernel and
> > used make
> > oldconfig to make sure it had the same parameters as the original
> > kernel,
> > which works fine.
> > I am running Mandrake8.1 with kernel 2.4.8-26mdk and am trying to get
> > kernel
> > 2.4.17 to work. This is all on ext2.
> >
> > > You're seeing those errors at boot??  That looks quite odd to say
> >
> > the
> >
> > > least, especially 'creating root device'.  Did you turn on devfs
> > > perchance (a bad idea, especially for someone inexperienced with
> >
> > kernel
> >
> > > builds).  Some info additional info here would be useful, such as
> >
> > which
> >
> > > kernel you've been running, which version your'e trying to build
> >
> > etc.
> >
> > > What kind of filesystem / sits on (ext2, ext3, Reiser, XFS).
> > >
> > > --- Vern W Heesch <[EMAIL PROTECTED]> wrote:
> > > > I have been trying to compile a newer kernel and now I get a
> >
> > Kernel
> >
> > > > panic
> > > > error on boot. I should note that this was my first attempt at
> > > > kernels, also
> > > > I can boot just fine with the original kernel. The error is:
> > > >
> > > > creating root device
> > > > mkrootdev: mknod failed: 17
> > > > mounting root filesystem with flags noatime
> > > > mount: error 16 mounting ext2 flgs noatime
> > > > well, retrying without the option flags
> > > > mount: error 16 mounting ext2
> > > > well, retrying read-only without any flag
> > > > mount: error 16 mounting ext2
> > > > pivotroot: pivot_root(/sysroot, /sysroot//initrd) failed: 2
> > > > remounting devfs at correct place if necessary
> > > > Freeing unused kernel memory: 236k freed
> > > > Kernel panic: No init found. Try passing init= option to kernel
> > > >
> > > > I really don't know where I went wrong. I even did the kernel with
> > > > 'make
> > > > oldconfig' to make sure the parameters were the same. Any help
> >
> > would
> >
> > > > be
> > > > greatly appreciated.
>
> =====
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Lonni J. Friedman                     [EMAIL PROTECTED]
>
> Linux Step-by-step help:           http://netllama.ipfox.com
>
>                                                  .
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
> _______________________________________________
> Linux-users mailing list -
> http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe
> info, Archives,and Digests are located at the above URL.
_______________________________________________
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Reply via email to