LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: "wilbur.chan" <wilbur512@gmail.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: How to mount rootfs though harddisk when booting?
Date: Thu, 22 Oct 2009 09:22:42 -0500	[thread overview]
Message-ID: <CAEDEFF6-55D3-43AA-BA6C-92D14CBA8A79@kernel.crashing.org> (raw)
In-Reply-To: <e997b7420910220708i63b85ca1n256f332ddc6819c1@mail.gmail.com>


On Oct 22, 2009, at 9:08 AM, wilbur.chan wrote:

> mpc85xx with sata harddisk,which has a rootfs on sda3.
>
> I ' ve tried to use  freescale's kernel image , which is  togehther
> with the mpc85xx board, to successfully mount the sda3 filesystem when
> booting,
>
>
> But when I used my own kernle, it failed:
>
>
>
> I am using  kernel 2.6.21.7 to mount the harddisk as the rootfs.
>
> However, it failed in booting and print:
>
>
> VFS: Cannot open root device "sda3" or unknown-block(0,0)
>
> My kernel's bootargs are as followed:
>
>
> root=/dev/sda3 rw console=ttyS0,115200 console=tty0
>
>
> I guess there were some incorrect configs when doing kernel
> menuconfig,  I' ve set "ext2,ext3", and some "sata" ,"scsi" configs,
>
> but that might be  not enough.
>
>
> May anyone please give me some  suggestions?
>
> THX in advance.
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev

Post the full kernel boot log.

- k

  reply	other threads:[~2009-10-22 14:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-22 14:08 How to mount rootfs though harddisk when booting? wilbur.chan
2009-10-22 14:22 ` Kumar Gala [this message]
2009-10-24  7:20   ` wilbur.chan
2009-10-24  7:25   ` wilbur.chan
2009-10-24 15:44     ` Kumar Gala
2009-10-25  3:27       ` wilbur.chan
2009-10-25  3:43         ` wilbur.chan
2009-10-26  6:49           ` swdebug

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=CAEDEFF6-55D3-43AA-BA6C-92D14CBA8A79@kernel.crashing.org \
    --to=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=wilbur512@gmail.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