CS_E9301: Linux: Root fs problem

I have compiled linux kernel 2.6.19 and everything looks good. Kernel started and send standard msgs to serial port but kernel panic during attempt to mount root fs. Standard included to CS_E9301 board ram disk image is loaded to ram (0x00800000). But kernel can’t recognize it and mount as a root partition. In configuration file (ep93xxxx_defconfig) I got

CONFIG_BLK_DEV_RAM=y

CONFIG_BLK_DEV_RAM_SIZE=16384

CONFIG_BLK_DEV_INITRD=y

NOTE: I don’t see messages about RAMDISK in my kernel ouput, during execute 2.6.8 kernel delivered by olimex RAMDISK messages exists.

Kernel boot output:

RedBoot> Uncompressing Linux…

… done, booting

the kernel.

Linux version 2.6.19.6 (root@goolbiiLx) (gcc version 4.1.1) #6 T

hu Jun 14 11:53:27 CEST 2007

CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177

Machine: Olimex CS-E9301

Memory policy: ECC disabled, Data cache writeback

CPU0: D VIVT write-back cache

CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 s

ets

CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 s

ets

Built 1 zonelists. Total pages: 8016

Kernel command line: console=ttyAM root=/dev/ram

PID hash table entries: 128 (order: 7, 512 bytes)

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

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

Memory: 8MB 8MB 8MB 8MB = 32MB total

Memory: 29704KB available (2224K code, 433K data, 84K init)

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

NET: Registered protocol family 16

ep93xx: PLL1 running at 331 MHz, PLL2 at 192 MHz

ep93xx: FCLK 165 MHz, HCLK 66 MHz, PCLK 33 MHz

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

NET: Registered protocol family 2

IP route cache hash table entries: 256 (order: -2, 1024 bytes)

TCP established hash table entries: 1024 (order: 2, 16384 bytes)

TCP bind hash table entries: 512 (order: 1, 10240 bytes)

TCP: Hash tables configured (established 1024 bind 512)

TCP reno registered

NetWinder Floating Point Emulator V0.97 (extended precision)

JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.

io scheduler noop registered

io scheduler deadline registered (default)

ep93xx_wdt: EP93XX watchdog, driver version 0.3 (nCS1 disable de

tected)

Serial: AMBA driver $Revision: 1.41 $

apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA

apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA

apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA

physmap platform flash device: 01000000 at 60000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

Intel/Sharp Extended Query Table at 0x0031

Using buffer write method

cfi_cmdset_0001: Erase suspend on write enabled

cmdlinepart partition parsing not available

Searching for RedBoot partition table in physmap-flash.0 at offs

et 0xfe0000

7 RedBoot partitions found on MTD device physmap-flash.0

Creating 7 MTD partitions on “physmap-flash.0”:

0x00000000-0x00040000 : “RedBoot”

0x00040000-0x00540000 : “netbsd”

0x00540000-0x00a40000 : “netbsd_install”

0x00a40000-0x00d40000 : “ramdisk.gz”

0x00d40000-0x00e20000 : “zImage”

0x00fc0000-0x00fc1000 : “RedBoot config”

mtd: partition “RedBoot config” doesn’t end on an erase block –

force read-only

0x00fe0000-0x01000000 : “FIS directory”

ep93xx-ohci ep93xx-ohci: EP93xx OHCI

ep93xx-ohci ep93xx-ohci: new USB bus registered, assigned bus nu

mber 1

ep93xx-ohci ep93xx-ohci: irq 56, io mem 0x80020000

usb usb1: Product: EP93xx OHCI

usb usb1: Manufacturer: Linux 2.6.19.6 ohci_hcd

usb usb1: SerialNumber: ep93xx

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 3 ports detected

Initializing USB Mass Storage driver…

usb 1-3: new full speed USB device using ep93xx-ohci and address

2

usb 1-3: Product: USB 2.0(FS) FLASH DISK

usb 1-3: SerialNumber: USB 2.0(FS) FLASH DISK

usb 1-3: configuration #1 chosen from 1 choice

scsi0 : SCSI emulation for USB Mass Storage devices

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

drivers/usb/net/rtl8150.c: rtl8150 based usb-ethernet driver v0.

6.2 (2004/08/27)

usbcore: registered new interface driver rtl8150

usbcore: registered new interface driver usbserial

drivers/usb/serial/usb-serial.c: USB Serial Driver core

drivers/usb/serial/usb-serial.c: USB Serial support registered f

or pl2303

usbcore: registered new interface driver pl2303

drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adapt

or driver

ep93xx-rtc ep93xx-rtc: rtc intf: sysfs

ep93xx-rtc ep93xx-rtc: rtc intf: proc

ep93xx-rtc ep93xx-rtc: rtc intf: dev (254:0)

ep93xx-rtc ep93xx-rtc: rtc core: registered ep93xx as rtc0

i2c /dev entries driver

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

NET: Registered protocol family 15

ep93xx-rtc ep93xx-rtc: setting the system clock to 1970-01-01 08

:25:02 (30302)

VFS: Cannot open root device “ram” or unknown-block(1,0)

Please append a correct “root=” boot option

Kernel panic - not syncing: VFS: Unable to mount root fs on unkn

own-block(1,0)

:frowning:

Regards Michal