Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-22-2008, 05:38 AM   #1
LQ Newbie
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
unable to open an initial console

I am using atmel 9260 and am trying to mount a jffs2 filesystem.
I enabled the mtd feature of the kernel in a way that it creates a
bootloader and filesystem partition in mtd0 and mtd1. I have loaded the
jffs2 image and copied it to a random address in the dataflash 0x40400000.
When the kernel booted up.. it went on until it displayed :

Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init=option to kernel.

I looked at my filesystem and it contained /dev/console. I do not know what
the problem is.
Please help me.


P.S. Here is the console display:

Starting kernel ...

done, booting the kernel.
Linux version (root at dhcp-938-1) (gcc version 4.1.0 20060304
(TimeSys 4.1.0-3)) #23 PREEMPT Wed Nov 29 17:22:52 EST 2006
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
Machine: ATMEL AT91SAM9260
Memory policy: ECC disabled, Data cache writeback
BUG: mapping for 0xfffa4000 at 0xfeda6000 overlaps vmalloc space
CPU0: D VIVT write-back cache
CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists
Kernel command line: console=ttyS0,115200n8 rw ip=off root=/dev/mtdblock1
rootfstype=jffs2 init=linuxrc mem=32M
set_irq_chained_handler 2
set_irq_chained_handler 3
set_irq_chained_handler 4
AT91: 96 gpio irqs in 3 banks
PID hash table entries: 256 (order: 8, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 29532KB available (2312K code, 429K data, 108K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
ttyS0 at MMIO 0xfffff200 (irq = 1) is a AT91_SERIAL
ttyS1 at MMIO 0xfffb0000 (irq = 6) is a AT91_SERIAL
ttyS2 at MMIO 0xfffb4000 (irq = 7) is a AT91_SERIAL
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
eth0: ATMEL MACB rev 1.12 at 0xfffc4000 irq 21
DataFlash Driver init<5>usbmon: debugfs is not available
usb-ohci usb-ohci.0: AT91SAM9260 OHCI
usb-ohci usb-ohci.0: new USB bus registered, assigned bus number 1
usb-ohci usb-ohci.0: irq 20, io mem 0x00500000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
gpio_irq_unmask 101 fee01800
at91_udc version 8 March 2005
udc: at91_udc version 8 March 2005
usb0: Ethernet Gadget, version: May Day 2005
usb0: using at91_udc, OUT ep2 IN ep1 STATUS ep4
usb0: MAC c2:01:e6:99:21:62
usb0: HOST MAC 4a:25:fa:8e:cd:09
mice: PS/2 mouse device common for all mice
spi spi.0: AT91 SPI Interface at 0xfffc8000 irq : 12
<7>spi_adapter spi-0: client [dataflash] attached to adapter
spi_adapter spi-0: Atmel AT45DB642 detected [spi0] (8650752 bytes)
Creating 2 MTD partitions on "Atmel AT45DB642":
0x00000000-0x00039c00 : "bootloader"
rfd_ftl: no RFD magic found in 'bootloader'
0x00039c00-0x00840000 : "filesystem"
spi spi.1: AT91 SPI Interface at 0xfffcc000 irq : 13
<7>spi_adapter spi-1: registered as adapter #1
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 108K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to
Old 08-22-2008, 05:42 AM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Does the init script exist?
Do you have initrd image?

Last edited by Agrouf; 08-22-2008 at 05:43 AM.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to open initial console ayoub Linux - Newbie 9 11-22-2005 11:53 AM
unable to open an initial console (2.6.11) wilu Linux - Software 28 06-17-2005 12:04 AM
error: unable to open an initial console gaco Linux - Newbie 5 08-18-2004 09:30 AM
Unable to open an initial console xanthas12 Linux - General 2 04-23-2003 03:38 AM
unable to open initial console elettrozero Linux - General 2 03-29-2002 12:57 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:28 AM.

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