[uClinux-dev] romfs help?

Greg Ungerer gerg at snapgear.com
Sun Jan 21 20:43:10 EST 2007


Hi Brandon,

Brandon Fosdick wrote:
> 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

For one thing there are no serial devices found.
So "console=ttyS0" won't be possible.

Regards
Greg




> 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 
> ______________________________________________________________________
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 

-- 
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg at snapgear.com
SnapGear -- a Secure Computing Company      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com



More information about the uClinux-dev mailing list