Wrong size at boot when loading partition

Staale.Aakermann at kongsberg.com Staale.Aakermann at kongsberg.com
Tue May 8 04:28:38 EDT 2007


Dear All,
I am trying to upgrade an Arcom Vulcan kernel from 2.6.11 to 2.6.21. The
kernel is almost vanilla, except some pci-bridge issues. It is an IXP425
based board with 16/32MB AMD MirrorBit flash. I'm newbie when it comes
to MTD/JFFS2 so I am not sure what causes the wrong partition allocation
on boot. 

Could anybody help me on this issue?

I've posted the kernel boot messages below:

NET: Registered protocol family 2 
IP route cache hash table entries: 1024 (order: 0, 4096 bytes) 
TCP established hash table entries: 2048 (order: 2, 16384 bytes) 
TCP bind hash table entries: 2048 (order: 1, 8192 bytes) 
TCP: Hash tables configured (established 2048 bind 2048) 
TCP reno registered 
PCI: enabling device 0000:00:02.1 (0140 -> 0143) 
NetWinder Floating Point Emulator V0.97 (double precision) 
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. 
io scheduler noop registered 
io scheduler cfq registered (default) 
Non-volatile memory driver v1.2 
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled

serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale 
serial8250.0: ttyS1 at MMIO 0x53000000 (irq = 21) is a 16550A 
serial8250.0: ttyS2 at MMIO 0x53000008 (irq = 21) is a 16550A 
loop: loaded (max 8 devices) 
MTD Sharp chip driver <ds at lineo.com> 
IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank 
Amd/Fujitsu Extended Query Table at 0x0040 
IXP4XX-Flash.0: CFI does not contain boot bank location. Assuming top. 
number of CFI chips: 1 
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.

Searching for RedBoot partition table in IXP4XX-Flash.0 at offset
0xff0000 
4 RedBoot partitions found on MTD device IXP4XX-Flash.0 
Creating 4 MTD partitions on "IXP4XX-Flash.0": 
0xb0000000-0xb0060000 : "RedBoot" 
mtd: partition "RedBoot" is out of reach -- disabled 
0xb0060000-0xb0ff0000 : "filesystem" 
mtd: partition "filesystem" is out of reach -- disabled 
0xb0ff0000-0xb0fff000 : "FIS directory" 
mtd: partition "FIS directory" is out of reach -- disabled 
0xb0fff000-0xb1000000 : "RedBoot config" 
mtd: partition "RedBoot config" is out of reach -- disabled 
TCP cubic registered 
NET: Registered protocol family 1 
XScale DSP coprocessor detected. 
drivers/rtc/hctosys.c: unable to open rtc device (rtc0) 
jffs2: Too few erase blocks (0) 
No filesystem could mount root, tried: jffs2 
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(31,1) 


Staale Aakermann




More information about the linux-mtd mailing list