From: Steven Rostedt <rostedt@goodmis.org>
To: "Márcio Oliveira" <moliveira@rhla.com>
Cc: linux-kernel@vger.kernel.org, moliveira@latinsourcetech.com
Subject: Re: Problems in kernel migration from 2.4 to 2.6
Date: Fri, 14 Oct 2005 13:41:45 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.58.0510141336430.23643@localhost.localdomain> (raw)
In-Reply-To: <434FBF3F.2040604@rhla.com>
On Fri, 14 Oct 2005, Márcio Oliveira wrote:
> Hi there!
>
> I am migrating my linux laptop from a kernel 2.4.27-2 to a 2.6.12.6
> one. Since I compiled the 2.6.12.6 kernel and booted my laptop, I am
> receiving the following message when chose the 2.6.12.6 entry in the
> grub menu:
>
> mount: mount point dev does not exist
> pivot_root: No such file or directory
> /sbin/init: 432: cannot open dev/console: No such file
> Kernel panic - not syncing: Attempted to kill init!
>
> But when I chose the 2.4.27 entry in the grub meno, my laptop boots ok!
>
> My laptop is running Debian Sarge 3.1a, kernel 2.4.27-2 (that it is
> booting ok) and kernel 2.4.6.12.6 (kernel.org kernel). I compiled the
> 2.6.12.6 kernel with all needed modules (sata disk, ext3 ... including
> devfs support), maked a initrd image with the necessary modules to mount
> the / partition (sata modules, file system modules...) and changed the
> disks names in the /etc/fstab from hda to sda (as it is recognized at
> 2.6.12.6 kernel bootup process). The laptop model is IBM Thinkpad T43.
That hda to sda looks funny. I didn't know the T43 has a SCSI (which I'm
pretty sure it doesn't).
>
> Any ideia? Anybody knows why it is happen?
>
Are you sure the initrd was correctly made. That pivot_root seems to
suggest that it wasn't. You're using Debian. When I went from 2.4 to 2.6
I just used aptitude (or apt-get) to get the 2.6 kernel first, and let the
package manager make all the necessary changes for me. I also usually
don't use an initrd and just compile in the drivers for my ide and
filesystems.
-- Steve
next prev parent reply other threads:[~2005-10-14 17:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-14 14:22 Márcio Oliveira
2005-10-14 17:41 ` Steven Rostedt [this message]
2005-10-14 17:46 ` Problems in kernel migration from 2.4 to 2.6+ Randy.Dunlap
2005-10-14 18:24 ` Márcio Oliveira
2005-10-14 18:31 ` Randy.Dunlap
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=Pine.LNX.4.58.0510141336430.23643@localhost.localdomain \
--to=rostedt@goodmis.org \
--cc=linux-kernel@vger.kernel.org \
--cc=moliveira@latinsourcetech.com \
--cc=moliveira@rhla.com \
/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
all inboxes | Powered by JetHome®