ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Warning: unable to open an initial console


From: Stuart Hughes
Subject: Re: [Ltib] Warning: unable to open an initial console
Date: Wed, 30 Jul 2008 10:37:00 +0100

Hi Vijay,

It's hard to tell what's happened.  All you can say is that there's
something wrong with the root filesystem.  One thing that can cause this
is missing device nodes (/dev/console).  Make sure you have these.

Maybe you could boot NFS and then mount the NAND rootfs.  You can then
take a look.  If that seems okay, try to chroot to it.

Is this the default configuration for this BSP? maybe it's worth trying
Freescale support.  I don't have this board, nor have I tried a NAND
Flash boot, so I'm afraid I can't help that much here.

Regards, Stuart

On Wed, 2008-07-30 at 14:22 +0530, Vijay Nikam wrote:
> Hello Stuart,
>  
> I am trying to boot the linux kernel from NAND ... It is booting fine
> but it hangs at the following place and the system hangs ... it does
> not go further anymore ... ;
>  
> Warning: unable to open an initial console.
> Kernel panic - not syncing: No init found.  Try passing init= option
> to kernel.
>  
> I am sending the log as well ... 
> ################################## LOG START
> ##################################################
>  
> NAND SPL - U-Boot 1.1.6 (Jul 28 2008 - 21:40:02) MPC83XX
> Loading from NAND : ........................
> 
> U-Boot 1.1.6 (Jul 28 2008 - 21:39:41) MPC83XX
> 
> Clock configuration:
>   Coherent System Bus:  166 MHz
>   Core:                 333 MHz
>   Local Bus Controller: 166 MHz
>   Local Bus:             41 MHz
>   DDR:                  333 MHz
>   SEC:                   55 MHz
>   I2C1:                 166 MHz
>   I2C2:                 166 MHz
>   TSEC1:                166 MHz
>   TSEC2:                166 MHz
>   USB MPH:                0 MHz
>   USB DR:                55 MHz
> CPU: MPC8313E, Rev: 10 at 333.333 MHz
> Board: Freescale MPC8313ERDB
> I2C:   ready
> DRAM:  Initializing
>    DDR RAM: 128 MB
> FLASH:  8 MB
> NAND:  32 MiB
> In:    serial
> Out:   serial
> Err:   serial
> Net:   TSEC0, TSEC1 [PRIME]
> Hit any key to stop autoboot:  0
> 
> Loading from NAND 32MiB 3,3V 8-bit, offset 0x100000
>    Image Name:   Linux-2.6.20
>    Created:      2008-07-28  16:15:15 UTC
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    1716719 Bytes =  1.6 MB
>    Load Address: 00000000
>    Entry Point:  00000000
> ## Booting image at 00200000 ...
>    Image Name:   Linux-2.6.20
>    Created:      2008-07-28  16:15:15 UTC
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    1716719 Bytes =  1.6 MB
>    Load Address: 00000000
>    Entry Point:  00000000
>    Verifying Checksum ... OK
>    Uncompressing Kernel Image ... OK
>    Booting using flat device tree at 0x400000
> setup_arch: bootmem
> mpc8313_rdb_setup_arch()
> arch: exit
> 
> Using MPC8313 RDB machine description
> Linux version 2.6.20 (address@hidden) (gcc version 4.0.2
> 20060628 (Wasabi)) #8 Mon Jul 28 21:45:12 IST 2008
> Found MPC83xx PCI host bridge at 0x00000000e0008500. Firmware bus
> number: 0->0
> Zone PFN ranges:
>   DMA             0 ->    32768
>   Normal      32768 ->    32768
> early_node_map[1] active PFN ranges
>     0:        0 ->    32768
> Built 1 zonelists.  Total pages: 32512
> Kernel command line: root=/dev/mtdblock3 rootfstype=jffs2 rw
> console=ttyS0,115200
> mtdparts=nand0:1M(u-boot),3M(kernel),256K(devtb),-(jffs)
> IPIC (128 IRQ sources) at fdefa700
> PID hash table entries: 512 (order: 9, 2048 bytes)
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> Memory: 126164k/131072k available (2988k kernel code, 4764k reserved,
> 464k data, 96k bss, 144k init)
> Mount-cache hash table entries: 512
> NET: Registered protocol family 16
> PCI: Probing PCI hardware
> Generic PHY: Registered new driver
> 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: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 4096 (order: 2, 16384 bytes)
> TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> TCP: Hash tables configured (established 4096 bind 2048)
> TCP reno registered
> JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
> io scheduler noop registered
> io scheduler anticipatory registered (default)
> io scheduler deadline registered
> io scheduler cfq registered
> Generic RTC Driver v1.07
> WDT driver for MPC83xx initialized. mode:reset timeout=65535 (25
> seconds)
> Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing
> disabled
> serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A
> serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A
> RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
> loop: loaded (max 8 devices)
> Intel(R) PRO/1000 Network Driver - version 7.3.15-k2-NAPI
> Copyright (c) 1999-2006 Intel Corporation.
> Gianfar MII Bus: probed
> eth0: Gianfar Ethernet Controller Version 1.4, 00:04:9f:ef:23:33
> eth0: MTU = 1500 (frame size=1540,truesize=2296)
> eth0: Running with NAPI enabled
> eth0: 64/64 RX/TX BD ring size
> eth0: Socket buffer recycling mode enabled
> eth1: Gianfar Ethernet Controller Version 1.4, 00:e0:0c:00:7e:21
> eth1: MTU = 1500 (frame size=1540,truesize=2296)
> eth1: Running with NAPI enabled
> eth1: 64/64 RX/TX BD ring size
> eth1: Socket buffer recycling mode enabled
> SKB Handler initialized(max=64)
> Marvell 88E1101: Registered new driver
> Marvell 88E1111: Registered new driver
> Marvell 88E1145: Registered new driver
> MPC8313ERDB Ethernet Switch: Registered new driver
> MPC8313RDB flash device: 800000 at fe000000 Partition number 4
> MPC8313RDB Flash Map Info: Found 1 x16 devices at 0x0 in 16-bit bank
>  Amd/Fujitsu Extended Query Table at 0x0040
> MPC8313RDB Flash Map Info: Swapping erase regions for broken CFI
> table.
> number of CFI chips: 1
> cfi_cmdset_0002: Disabling erase-suspend-program due to code
> brokenness.
> Creating 4 MTD partitions on "MPC8313RDB Flash Map Info":
> 0x00000000-0x00100000 : "U-Boot"
> 0x00100000-0x00300000 : "Kernel"
> 0x00300000-0x00700000 : "JFFS2"
> 0x00700000-0x00800000 : "dtb"
> MPC8313RDB flash device (MPC8313RDB Flash Map Info) initialized
> Freescale eLBC NAND Driver (C) 2006 Freescale
> NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB
> 3,3V 8-bit)
> Scanning device for bad blocks
> 4 cmdlinepart partitions found on MTD device nand0
> Creating 4 MTD partitions on "nand0":
> 0x00000000-0x00100000 : "u-boot"
> 0x00100000-0x00400000 : "kernel"
> 0x00400000-0x00440000 : "devtb"
> 0x00440000-0x02000000 : "jffs"
> usbmon: debugfs is not available
> fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
> fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
> fsl-ehci fsl-ehci.0: irq 38, io base 0xe0023000
> fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
> usb usb1: configuration #1 chosen from 1 choice
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 1 port detected
> Initializing USB Mass Storage driver...
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> Freescale High-Speed USB SOC Device Controller driver (Feb 5, 2007)
> i2c /dev entries driver
> TCP cubic registered
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> VFS: Mounted root (jffs2 filesystem).
> Freeing unused kernel memory: 144k init
> Warning: unable to open an initial console.
> Kernel panic - not syncing: No init found.  Try passing init= option
> to kernel.
>  <0>Rebooting in 180 seconds..
>  
> ########################################## LOG END
> ############################################################
> 
> Why this error is occuring ... ? ? ? what I should pass init= xxxx Any
> Suggesstions ...
> 
> Kindly please acknowledge ... thank you ... 
> 
> Kind Regards,
> 
> Vijay Nikam 
> 
>  
> 
>  
> 
>  
> 
> 
> _______________________________________________
> LTIB home page: http://bitshrine.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

[Prev in Thread] Current Thread [Next in Thread]