Google
  Web www.spinics.net

Problem with booting linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,

While the linux is booting on the arm board, the boot process stops by
givign the following error..

VFS: Cannot open root device
"mtdblock0=mtdparts=armflash0:19232k@2C0000(cramfs)
" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)

I am following the exact syntax as you have told. Please let me know How to
proceed further. Is the cramfs file system not matching by any chance???

I am using an ARM VP board and using 2.6.12 pre built binary provided on the
arm's website
Along with cramfs supplied by them.

Please let me know how to proceed further.

Thanks and Regards,
-Sai.


_____________________________________________________

VersatilePB # printenv
bootdelay=2
baudrate=38400
bootfile="/tftpboot/uImage"
stdin=serial
stdout=serial
stderr=serial
verify=n
bootargs=root=/dev/mtdblock0=mtdparts=armflash0:19232k@2C0000(cramfs)
console=tt yAMA0 mem=128M bootcmd=cp=0x34080000 0x7FC0 0x81000

Environment size: 237/65532 bytes
VersatilePB # bootm
## Booting image at 00007fc0 ...
Bad Magic Number
VersatilePB # cp 0x34080000 0x7FC0 0x81000
VersatilePB # bootm
## Booting image at 00007fc0 ...
   Image Name:   uzImage
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1122216 Bytes =  1.1 MB
   Load Address: 00007fc0
   Entry Point:  00008000
   XIP Kernel Image ... OK

Starting kernel ...

Uncompressing
Linux.............................................................
.............. done, booting the kernel.
Linux version 2.6.12-arm1 (cmarinas@pc1117) (gcc version 3.4.3 (release)
(CodeSo urcery ARM Q1B 2005)) #7 Fri Jun 24 15:35:43 BST 2005
CPU: ARM926EJ-Sid(wb) [41069263] revision 3 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
Machine: ARM-Versatile PB
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line:
root=/dev/mtdblock0=mtdparts=armflash0:19232k@2C0000(cramfs
) console=ttyAMA0 mem=128M
PID hash table entries: 1024 (order: 10, 16384 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache
hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB = 128MB total
Memory: 127360KB available (1931K code, 401K data, 84K init) Mount-cache
hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
NetWinder Floating Point Emulator V0.97 (double precision) JFFS2 version
2.2. (C) 2001-2003 Red Hat, Inc.
CLCD: Versatile hardware, VGA display
Clock CLCDCLK: setting VCO reg params: S=1 R=99 V=98
Console: switching to colour frame buffer device 80x30
Serial: AMBA PL011 UART driver
ttyAMA0 at MMIO 0x101f1000 (irq = 12) is a AMBA/PL011
ttyAMA1 at MMIO 0x101f2000 (irq = 13) is a AMBA/PL011
ttyAMA2 at MMIO 0x101f3000 (irq = 14) is a AMBA/PL011
ttyAMA3 at MMIO 0x10009000 (irq = 38) is a AMBA/PL011
io scheduler noop registered
io scheduler deadline registered
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@xxxxxxx>
eth0: SMC91C11xFD (rev 1) at c886c000 IRQ 25 [nowait]
eth0: Ethernet addr: 00:02:f7:00:11:9f
armflash.0: Found 2 x16 devices at 0x0 in 32-bit bank  Intel/Sharp Extended
Query Table at 0x0031 Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
RedBoot partition parsing not available
afs partition parsing not available
armflash: probe of armflash.0 failed with error -22
mice: PS/2 mouse device common for all mice
mmc0: MMCI rev 0 cfg 00 at 0x10005000 irq 22,33
mmc1: MMCI rev 0 cfg 00 at 0x1000b000 irq 23,34
Advanced Linux Sound Architecture Driver Version 1.0.9rc2  (Thu Mar 24
10:33:39 2005 UTC). ALSA device list:
  #0: ARM AC'97 Interface at 0x10004000, irq 24
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind
hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 1
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device
"mtdblock0=mtdparts=armflash0:19232k@2C0000(cramfs)
" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)



-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Site Home]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux ARM Kernel]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux