LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "wilbur.chan" <wilbur512@gmail.com>
To: linuxppc-dev@ozlabs.org
Cc: chelly wilbur <wilbur512@gmail.com>
Subject: How to mount rootfs though harddisk when booting?
Date: Thu, 22 Oct 2009 22:08:13 +0800	[thread overview]
Message-ID: <e997b7420910220708i63b85ca1n256f332ddc6819c1@mail.gmail.com> (raw)

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.

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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-22 14:08 wilbur.chan [this message]
2009-10-22 14:22 ` How to mount rootfs though harddisk when booting? Kumar Gala
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=e997b7420910220708i63b85ca1n256f332ddc6819c1@mail.gmail.com \
    --to=wilbur512@gmail.com \
    --cc=linuxppc-dev@ozlabs.org \
    /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