[uClinux-dev] romfs help?
Brandon Fosdick
brandon at teslamotors.com
Fri Jan 19 13:54:24 EST 2007
Alright, I've given up on romfs. I've switched to using initramfs and a
cpio archive. Now the kernel says it's mounting the filesystem, but it
seems that it can't find anything in it. I get the warning about not
opening an initial console, a kernel panic, and then it can't find init.
Any suggestions?
The cpio archive has a /dev/console and a /sbin/init and works just fine
with a 2.6.11 kernel.
Here's my cmdline:
---
CONFIG_CMDLINE="rootfstype=ramfs initrd=0x812000000 keepinitrd
console=ttyS0"
---
and here's the boot output:
---
Linux version 2.6.19-uc1-0.4.0 (bfoz at zoot.teslamotors.com) (gcc
version 3.4.4) #4 Fri Jan 19 10:49:14 PST 2007
CPU: Philips-LPC22xx [22000000] revision 0 (ARMvundefined/unknown),
cr=81000000
Machine: LPC22xx, PHILIPS ELECTRONICS Co., Ltd.
Built 1 zonelists. Total pages: 2032
Kernel command line: rootfstype=ramfs initrd=0x802000000 keepinitrd
console=ttyS0
PID hash table entries: 32 (order: 5, 128 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 8MB = 8MB total
Memory: 7060KB available (892K code, 92K data, 64K init)
Mount-cache hash table entries: 512
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered (default)
io scheduler cfq registered
Serial: 8250/16550 driver $Revision: 1.90 $ 0 ports, IRQ sharing disabled
RAMDISK driver initialized: 1 RAM disks of 4096K size 1024 blocksize
usbmon: debugfs is not available
sl811: driver sl811-hcd, 19 May 2005
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
VFS: Mounted root (ramfs filesystem) readonly.
Freeing init memory: 64K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to
kernel.
---
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
More information about the uClinux-dev
mailing list