linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* command line partition information
@ 2008-11-16 23:43 Joaquin Luna
  2008-11-17 12:45 ` MingLiu
  2008-11-17 16:59 ` Scott Wood
  0 siblings, 2 replies; 7+ messages in thread
From: Joaquin Luna @ 2008-11-16 23:43 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 2116 bytes --]

Hello Linux powerpc community,

 

I am trying to move from 2.6.20 kernel to the new 2.6.27.4 kernel.  I am
not finding my root file system partition with the new kernel.  I am not
sure if I need to change my dts file, or if the problem is some where in
my kernel config.  In either case, it is evident from the boot log that
my partition table is not being used.  Where it says "[    0.917162]
List of all partitions:" it just lists the entire size of my flash, and
none of the partitions listed in the command line.

I do not list any partitions in my dts file, though I tried and not seen
any change in the behavior.  I have enabled the option in the kernel to
parse the partition information from the kernel command line, is there
something else I need to do to set up the mtdblockX devices?

 

Boot Command:

 

mtdparts=mtdparts=nand0:2m(u-boot),3M(kernel),128K(dtb),30M(jffs2),32M(m
ycust),90M(myfs),90M(myfs2)

mtd_args=setenv bootargs root=/dev/mtdblock3 rw rootfstype=jffs2
$mtdparts console=ttyS1,115200

 

Boot Log: 

 

[    0.825229] brd: module loaded

[    0.837681] loop: module loaded

[    0.841404] Driver 'sd' needs updating - please use bus_type methods

[    0.850005] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron
NAND 256MiB 3,3V 8-bit)

[    0.859783] Bad block table found at page 131008, version 0x01

[    0.867779] Bad block table found at page 130944, version 0x01

[    0.875443] RedBoot partition parsing not available

[    0.884431] eLBC NAND device at 0xff800000, bank 0

[    0.890643] i2c /dev entries driver

[    0.899633] Driver for 1-wire Dallas network protocol.

[    0.910115] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

[    0.917162] List of all partitions:

[    0.920856] 1f00     262144 mtdblock0 (driver?)

[    0.925466] No filesystem could mount root, tried:  jffs2

[    0.930952] Kernel panic - not syncing: VFS: Unable to mount root fs
on unknown-block(0,0)

[    0.939294] Rebooting in 180 seconds..

 

 

 

Thanks to all who can help,

Joaquin Luna


[-- Attachment #2: Type: text/html, Size: 7890 bytes --]

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

end of thread, other threads:[~2008-11-18 15:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-16 23:43 command line partition information Joaquin Luna
2008-11-17 12:45 ` MingLiu
2008-11-17 16:59 ` Scott Wood
2008-11-17 18:35   ` Joaquin Luna
2008-11-17 18:38     ` Scott Wood
2008-11-18  0:54       ` AMCC 460EX SATA drive on Canyonlands Henry Bausley
2008-11-18 15:35         ` Ayman El-Khashab

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).