LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-22-2009, 08:28 AM   #1
linux_mani
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
Kernel panic - not syncing: VFS: Unable to mount root fs ?


Hi ALL,

I am porting Linux Kernel 2.6.27 to my Development Board(PXA255,64M RAM,128M Flash) with UBOOT support.

My kernel is starting and sending PANIC - " Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0.. " . I am also posting complete log via Hyperterminal, which will give information about my boot flow and settings on kernel.

We have kernel with initramfs built together.
With thanks

Regards,
mani

Here is the copy of log :


U-Boot 1.1.6 (Jan 22 2009 - 17:16:32)

DRAM: 64 MB
Flash: 32 MB
Hit any key to stop autoboot: 0
$ printenv
bootcmd=bootm 80000
bootdelay=3
baudrate=115200
ethaddr=08:00:3e:26:0a:5b
ipaddr=192.168.0.21
serverip=192.168.0.250
netmask=255.255.0.0
bootargs=console=ttyS0,115200n8 mem=32M root=/dev/ram0 init=/init
stdin=serial
stdout=serial
stderr=serial

Environment size: 244/16380 bytes
$ bootm 0xa2000000
## Booting image at a2000000 ...
Image Name: Linux-2.6.27
Created: 2009-01-22 11:41:56 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4413000 Bytes = 4.2 MB
Load Address: a0008000
Entry Point: a0008000
Verifying Checksum ... OK
OK

Starting kernel ...

linux cleanedUncompressing Linux................................................
................................................................................
....................................................... done, booting the kernel
<5>Linux version 2.6.27 (root@bmphm5s438) (gcc version 4.3.2 (Sourcery G++ Lite
2008q3-41) ) #6 Thu Jan 22 17:11:45 IST 2009
<3>setup_arch Function Entered
CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE), cr=0000397f
Machine: <NULL>
<3> machine_arch_type: 89<3> machine_name: <NULL><4>Ignoring unrecognised tag 0x
54410008
Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages:
<7>free_area_init_node: node 0, pgdat c05a3a20, node_mem_map c05bb000
<7> DMA zone: 8128 pages, LIFO batch:0
<6>Memory clock: 99.53MHz (*27)
<6>Run Mode clock: 199.07MHz
<6>Turbo Mode clock: 199.07MHz (*1.0, inactive)
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
<5>Kernel command line: console=ttyS0,115200n8 mem=32M root=/dev/ram0 init=/init
Console: colour dummy device 80x30
<6>Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
<6>Memory: 32MB = 32MB total
<5>Memory: 26616KB available (2580K code, 205K data, 3040K init)
<6>SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nod
<6>Calibrating delay loop... 397.31 BogoMIPS (lpj=1986560)
Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
<6>net_namespace: 288 bytes
<6>NET: Registered protocol family 16
<5>Lubbock configured to boot from Flash (bank 1)
<7>SA1111 not detected: ID = c2800000
<6>NET: Registered protocol family 2
<6>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>TCP established hash table entries: 1024 (order: 1, 8192 bytes)
<6>TCP bind hash table entries: 1024 (order: 0, 4096 by
<6>TCP: Hash tables configured (established 1024 bind 1024)
<6>TCP reno registered
<6>NET: Registered protocol family 1
<4>NetWinder Floating Point Emulator V0.97 (double precision)
<6>JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
<6>JFS: nTxBlock = 207, nTxLock = 1663
<6>msgmni has been set to 51
<6>io scheduler noop registered
<6>io scheduler anticipatory registered
<6>io scheduler deadline registered
<6>io scheduler cfq registered (default)
<6>Serial: 8250/16550 driver4 ports, IRQ sharing disabled
<6>brd: module loaded
smc91x: not found (-19).
<6>NAND device: Manufacturer ID: 0x98, Chip ID: 0x39 (Toshiba NAND 128MiB 1,8V 8
-bit)
flash size: 128 MiB
page size: 512 bytes
OOB area size: 16 bytes
sector size: 16 KiB
pages number: 262144
pages per sector: 32
bus width: 8
bits in sector size: 14
bits in page size: 9
bits in OOB size: 4
flash size with OOB: 135168 KiB
page address bytes: 4
sector address bytes: 3
options: 0x62
<6>Scanning device for bad blocks
<5>Creating 1 MTD partitions on "NAND 128MiB 1,8V 8-bit":
<5>0x00000000-0x08000000 : "NAND simulator partition 0"
<6>pxa25x_udc: version 30-June-2007
<3>g_serial gadget: acm/c1f98e40: can't bind, err -19
<6>mice: PS/2 mouse device common for all mice
<6>TCP cubic registered
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<6>XScale DSP coprocessor detected.
VFS: Cannot open root device "ram0" or unknown-block(1,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 131072 mtdblock0 (driver?)
<0>Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0
)





 
Old 01-23-2009, 04:25 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
You are getting the error because the ramdisk /dev/ram0 is not being created.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) OR13 Linux - Kernel 18 01-12-2008 09:23 AM
Kernel panic - not syncing: VFS: unable to mount root.... nelad Ubuntu 2 04-14-2007 12:42 PM
kernel panic - not syncing: VFS: Unable to mount root fs on unknown ... nelad Ubuntu 1 04-13-2007 02:20 AM
kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(3,2) o2bfishn Slackware 5 04-28-2006 03:51 PM


All times are GMT -5. The time now is 04:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration