Skip to contentSkip to conversation

unable to mount root

U-Boot-Users cpjzjut 3 participants 3 messages Jun 21, 2006

lore
Share & tools
lore

cpjzjut

author
#0 lore raw

hi,all

when mount root there throws a exception,can anyone help me?

thanks,

best regards,

*** Warning - bad CRC, using default environment

In: serial

Out: serial

Err: serial

Hit any key to stop autoboot: 0

TFTP from server 10.0.0.155; our IP address is 10.0.0.110

Filename 'uimage.bin'.

Load address: 0x30007fc0

Loading: #################################################################

         #################################################################

         ############

done

Bytes transferred = 723556 (b0a64 hex)

## Booting image at 30007fc0 ...

Image Name: linux kerne

Created: 2006-06-08 21:45:38 UTC

Image Type: ARM Linux Kernel Image (uncompressed)

Data Size: 723492 Bytes = 706.5 kB

Load Address: 30007fc0

Entry Point: 30008000

Verifying Checksum ... OK

XIP Kernel Image ... OK

## Loading Ramdisk Image at 00030000 ...

Image Name: init ramdisk

Created: 2006-06-20 7:15:26 UTC

Image Type: ARM Linux RAMDisk Image (uncompressed)

Data Size: 1269760 Bytes = 1.2 MB

Load Address: 00000000

Entry Point: 00000000

Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux...................................................... done,.

Linux version 2.4.18-rmk7-pxa1 (Huangrx at huangrx) (gcc version 2.95.3 20010315 (5

CPU: ARM/CIRRUS Arm920Tsid(wb) revision 0

Machine: Embest S3CEB2410 (S3C2410x)

On node 0 totalpages: 16384

zone(0): 16384 pages.

zone(1): 0 pages.

zone(2): 0 pages.

Kernel command line: initrd=0x30800000,0x200000 root=/dev/mtdblock/2 init=/linu0

DEBUG: timer count 15626

Console: colour dummy device 80x30

Calibrating delay loop... 99.94 BogoMIPS

Memory: 64MB = 64MB total

Memory: 62664KB available (1416K code, 310K data, 76K init)

Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)

Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)

Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)

Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)

Page-cache hash table entries: 16384 (order: 4, 65536 bytes)

POSIX conformance testing by UNIFIX

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

CPU clock = 200.000 Mhz, HCLK = 100.000 Mhz, PCLK = 50.000 Mhz

Initializing S3C2410 buffer pool for DMA workaround

Starting kswapd

devfs: v1.10 (20020120) Richard Gooch (rgooch at atnf.csiro.au)

devfs: boot_options: 0x1

ttyS%d0 at I/O 0x50000000 (irq = 52) is a S3C2410

ttyS%d1 at I/O 0x50004000 (irq = 55) is a S3C2410

ttyS%d2 at I/O 0x50008000 (irq = 58) is a S3C2410

Console: switching to colour frame buffer device 80x60

Installed S3C2410 frame buffer

pty: 256 Unix98 ptys configured

s3c2410-ts initialized

S3C2410 Real Time Clock Driver v0.1

block: 128 slots per queue, batch=32

eth0: cs8900 rev K(3.3 Volts) found at 0xd0000300

cs89x0 media RJ-45, IRQ 37

loop: loaded (max 8 devices)

SCSI subsystem driver Revision: 1.00

request_module[scsi_hostadapter]: Root fs not mounted

NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)

bon0: 00000000-00030000 (00030000) 00000000

bon1: 00030000-00100000 (000d0000) 00000000

bon2: 00100000-03ff8000 (03ef8000) 00000000

usb.c: registered new driver usbdevfs

usb.c: registered new driver hub

usb-ohci.c: USB OHCI at membase 0xe9000000, IRQ 26

usb.c: new USB bus registered, assigned bus number 1

hub.c: USB hub found

port #1 suspened!

port #0 alived!

hub.c: 1 port detected

usb.c: registered new driver usb_mouse

usbmouse.c: v1.6:USB HID Boot Protocol mouse driver

usb.c: registered new driver keyboard

usbkbd.c: :USB HID Boot Protocol keyboard driver

Initializing USB Mass Storage driver...

usb.c: registered new driver usb-storage

USB Mass Storage support registered.

mice: PS/2 mouse device common for all mice

NET4: Linux TCP/IP 1.0 for NET4.0

IP Protocols: ICMP, UDP, TCP, IGMP

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 4096 bind 4096)

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com

cramfs: wrong magic

FAT: bogus logical sector size 25322

Kernel panic: VFS: Unable to mount root fs on 1f:00  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060621/d3ae5b47/attachment.htm

#1 lore raw
Quoted 3 lines · cpjzjut

hi,all
when mount root there throws a exception,can anyone help me?

(off topic for the u-boot list; this is a Linux problem. You really should ask on the arm linux mailing list)

Technically it's a kernel panic (the kernel doesn't know what it should do, so it stops). It cannot mount the root filesystem image that you've given it. Throwing an exception is something else.

What format are you using for your initrd? ext2? Do you have the filesystem configured into your kernel?

Cheers,
g.

Signature · 4 lines
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195
#2 lore raw
In reply to cpjzjut
Quoted 2 lines · In message <[email protected]> you wrote:

when mount root there throws a exception,can anyone help me?

As mentioned before, this is off topic here.

A few comments anyway:

Quoted 1 line

## Booting image at 30007fc0 ...

...

Quoted 1 line

## Loading Ramdisk Image at 00030000 ...

Uou boot with a ramdisk image...

Quoted 4 lines
   Image Name:   init ramdisk
   Created:      2006-06-20   7:15:26 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    1269760 Bytes =  1.2 MB

For an uncompressed image the size if very small. Are you sure this is OK?

Quoted 1 line

Linux version 2.4.18-rmk7-pxa1 (Huangrx at huangrx) (gcc version 2.95.3 20010315 (5

This kernel version is extremely old. You will not find much support for it any more.

Quoted 1 line

Kernel command line: initrd=0x30800000,0x200000 root=/dev/mtdblock/2 init=/linu0

You boot with a ramdisk, but put the root file system on a MTD device? Strange.

The "/dev/mtdblock/2" suggests that you are attemptiong to use devfs. IMHO not a good idea.

Also, the "init=/linu0" is strange.

Quoted 3 lines

ttyS%d0 at I/O 0x50000000 (irq = 52) is a S3C2410 ttyS%d1 at I/O 0x50004000 (irq = 55) is a S3C2410 ttyS%d2 at I/O 0x50008000 (irq = 58) is a S3C2410

Your kernel seems to have a bug when printing the serial port names.

Quoted 3 lines

cramfs: wrong magic
FAT: bogus logical sector size 25322

Kernel panic: VFS: Unable to mount root fs on 1f:00  

Are you sure there is actually a root file system in your MTD partition?

Quoted 5 lines

--Boundary-=_ELFRGmRbeaYKlQHgUhIykzBuuTGc
Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<div>hi,all<br>

Please never post HTML here!

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Computers are not intelligent.  They only think they are.