linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ppcboot, linux , hang  at the last step
@ 2002-11-25 10:59 caixupeng
  2002-11-25 15:09 ` Marius Groeger
  2002-11-25 16:10 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: caixupeng @ 2002-11-25 10:59 UTC (permalink / raw)
  To: linuxppc-embedded


Dear all,

When I boot a linux image use "bootm ffa00000 ffb00000"
the linux hang at the last step:

VFS: Cannot open root device "" or 16:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 16:01

I have set the "bootargs=root=/dev/ram"

what's wrong ?

Is my linux kernel's erro or ppcboot's problem?
Does ppcboot send the bootargs to linux kernel correctly?

Where can set the boot params in the linux source code ?
I want to set the params in code to force it correctly.

I use linux-2.4-develop-rc1 which download from bitkeeper.

my board is Ebony.

thanks!

                    edmoon

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: ppcboot, linux , hang at the last step
@ 2002-11-26  8:38 Omanakuttan
  2002-11-26 10:00 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Omanakuttan @ 2002-11-26  8:38 UTC (permalink / raw)
  To: linuxppc-embedded


caixupeng wrote:
 > but, can you tell me the detail?
 >
 > Does it mean  the kernel has build in ramdisk ?
No. The kernel does not have a built in ramdisk. but it uses the ramdisk
image passed for modules and the like. correct me if I am wrong.
 > or you have to give a ramdisk separately to the kernel boot args?
initrd='ramdisk image' is the option I gave.
I am not very much conversant with linux booting procedure, but I
believe that the initrd image takes all the dependent modules and link
them properly when the kernel is booting up. So even if you choose fs
support in modular format, it will be loaded by the initrd image.

 >>when I passed the initrd option into the kernel.
 >
 > the option is " root=/dev/ram ",  right?
Frankly, I am not sure. someone else might be able to help you.

Thanks and regards,
Om.

caixupeng wrote:
 > very very thanks.
 >
 > but, can you tell me the detail?
 >
 > I didn't choose advanced partion features.
 >
 > and I chose ext2 fs support, and initrd support too.
 >
 > there is a size of ramdisk set in linux config,
 >
 > Does it mean  the kernel has build in ramdisk ?
 > or you have to give a ramdisk separately to the kernel boot args?
 >
 >
 >>when I passed the initrd option into the kernel.
 >
 > the option is " root=/dev/ram ",  right?
 >
 > thank you very much!
 >
 >             edmoon
 >
 > ----- Original Message -----
 > From: "Omanakuttan" <omanakuttan@tataelxsi.co.in>
 > To: "caixupeng" <edmoon@huawei.com>
 > Sent: Tuesday, November 26, 2002 1:03 PM
 > Subject: Re: ppcboot, linux , hang at the last step
 >
 >
 >
 >>caixupeng wrote:
 >>
 >>>When I boot a linux image use "bootm ffa00000 ffb00000"
 >>>
 >>>VFS: Cannot open root device "" or 16:01
 >>>Please append a correct "root=" boot option
 >>>Kernel panic: VFS: Unable to mount root fs on 16:01
 >>>
 >>>I have set the "bootargs=root=/dev/ram"
 >>
 >>I faced the same problem, not on ebony.
 >>My configuration was wrong.
 >>1. i did not compile in the advanced partition features and consequently
 >>kernel could not recognize my hda.
 >>2. The problem still persisted. I found out the file system support was
 >>absent. I compiled ext2 fs support into the kernel and tried.
 >>3. I had to create an initrd image using mkinitrd, and all worked fine
 >>when I passed the initrd option into the kernel.
 >>
 >>HTH.
 >>Om.
 >>
 >
 >


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-11-26 10:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-25 10:59 ppcboot, linux , hang at the last step caixupeng
2002-11-25 15:09 ` Marius Groeger
2002-11-25 16:10 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2002-11-26  8:38 Omanakuttan
2002-11-26 10:00 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).