command line partition information
Joaquin Luna
Joaquin.Luna at jdsu.com
Mon Nov 17 10:43:40 EST 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20081116/93d12acb/attachment.htm>
More information about the Linuxppc-embedded
mailing list