Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >System Management


    

Blue Forest http://www.lslnet.com at 12:28 on August 21, 2006

"Unable to open an initial console" what is the solution?

Motorola MX1ADS 2.6.7 to transplant, but a final launch Kernel
"Warning : unable to open an initial console. "
Launched into the content as follows :


Uncompressing Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Not specified.
Linux version 2.6.7-imx1-mx1ads_0406251704 (root@iken) (gcc version 3.3.2) # 1 M4
CPU : ARM920Tid (wb) [41129200] revision 0 (ARMv4T)
CPU cache : D VIVT write-back
CPU : I cache : 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU : D cache : 16384 bytes, associativity 64, 32 byte lines, 8 sets
Motorola MX1ADS Machine :
Warning : bad configuration page, trying to continue
Memory policy : ECC disabled, Data cache writeback
On node 0 totalpages : 12288
DMA zone : 12288 pages, LIFO batch:3
Normal zone : 0 pages, LIFO batch:1
HighMem zone : 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line : root=/dev/mtdblock2 console=ttySMX0,115200n8 mem=48M
PID hash table entries : 256 (order 8 : 2048 bytes)
Memory : 48MB = 48MB total
Memory : 46848KB available (1522K code, 222K data, 52K init)
Calibrating delay loop. . . 77.00 BogoMIPS
Dentry cache hash table entries : 8192 (order : 3, 32,768 bytes)
Inode-cache hash table entries : 4096 (order : 2, 16384 bytes)
Mount-cache hash table entries : 512 (order : 0, 4096 bytes)
CPU : Testing write buffer coherency : ok
NET : Registered protocol family 16
Mx1ads_init:59
NetWinder Floating Point Emulator V0.97 (extended precision)
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
Serial : 8250/16550 driver $Revision : $ 1.90 0 ports, IRQ sharing enabled
Serial : IMX driver
TtySMX0 at MMIO 0xe0006000 (irq = 30) is a IMX
TtySMX1 at MMIO 0xe0007000 (irq = 24) is a IMX
Loop : loaded (max 8 devices)
PPP generic driver version 2.4.2
Compression module registered PPP Deflate
PPP BSD Compression module registered
Using deadline scheduler Dean
Probing scb9328_flash at physical address 0x10000000 (16 bit buswidth)
Cfi_cmdset_0001 : Erase suspend on write enabled
Using buffer write method
Cmdlinepart partition parsing not available
Using static partitions on scb9328_flash
Creating 4 MTD partitions on "scb9328_flash" :
0x00000000-0x00020000 : "Bootloader"
0x00020000-0x00120000 : "Kernel"
0x00120000-0x00520000 : "Rootfs"
0x00520000-0x00800000 : "Filesystem"
NET : Registered protocol family 2
IP : routing cache hash table of 512 buckets, 4Kbytes
TCP : Hash tables configured (established 4096 bind 8192)
NET : Registered protocol family 1
VFS : Mounted root (cramfs filesystem) readonly.
Freeing init memory : 52K
Warning : unable to open an initial console.

Re : "unable to open an initial console" what is the solution?

Another :
Warning : bad configuration page, trying to continue
I will be back to the wrong state?

Report :
Serial part of the allocation :
#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=0
CONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not set
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
# CONFIG_SERIAL_8250_MULTIPORT is not set
# CONFIG_SERIAL_8250_RSA is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_IMX=y
CONFIG_SERIAL_IMX_CONSOLE=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
# CONFIG_QIC02_TAPE is not set

Here warning code :
If (sys_open ((const char __user *) "/dev/console", O_RDWR, 0) "0)
Printk ( "Warning : unable to open an initial console.\n");



Re : "unable to open an initial console" what is the solution?

You need to build the root file system /dev/console

Re : "unable to open an initial console" what is the solution?

Thank you!
I should have used the root file system /dev/console in 2.4.x kernel when no such problem!
It is likely to be a problem here!


Re : "unable to open an initial console" what is the solution?

"Console=ttySMX0,115200n8

I set up some questions, so you are also installed in 2.4? Generally console=ttyS0,115200?

Hope help!

Re : "unable to open an initial console" what is the solution?

"Console=ttySMX0" is the name of the serial mx1, free to change!
And I also used console=ttyS0,115200 reform, but the results are the same!


Re : "unable to open an initial console" what is the solution?

2.6.x. you believe in the 82xx Motorola MX1ADS Samsung normal work?

100% I DOUBT! Perhaps this is a hacker 's job.

Pls try to send your problem to linuxppc-dev maillist to make sure about it. It should be better.

Https://ozlabs.org/mailman/listinfo/linuxppc-dev

Note : send your mail in plain text way Rather Than HTML.

Have a nice day!

Re : "unable to open an initial console" what is the solution?

Cramfs rootfs you really? If jffs2, to establish a command line to see what rootfstype=jffs2

Re : "unable to open an initial console" what is the solution?

Thank you!
"You believe in 82xx 2.6.x. the Motorola MX1ADS Samsung normal work?

Mc9328mx1 is conducted, it was that it is acceptable.


Re : "unable to open an initial console" what is the solution?

"You really cramfs the rootfs? If jffs2, to establish a command line to see what rootfstype=jffs2
This is indeed cramfs;
I for jffs2 try!

Re : "unable to open an initial console" what is the solution?

Actually, the problem is I would very much like to find out. I do a file system, network loading is a good, if I ended up under ramfs document image into memory (also Kernel Memory), the command line : root=/dev/ram0 rootfstype=ramfs console=ttyS0. 115,200, when it is in the guide, is also said to open console, the network carrying Why can open? Anyway, I was not always understand. . . . . . . . . . . . . . .

Promotion of the Ziyisheng ah.

Re : "unable to open an initial console" what is the solution?

Jffs2 replaced, could not even installed! Ha ha
Kernel panic : VFS : Unable to mount root fs on mtdblock2

Re : "unable to open an initial console" what is the solution?

If the cramfs filesystem is being used, you can mount it on you host machine.
Then you can check if /dev/console have correct properties.
Maybe, if not complicated, using devfs will solve your problem.

Re : "unable to open an initial console" what is the solution?

"If the cramfs filesystem is being used, you can mount it on you host machine.
, "Then you can check if /dev/console have correct properties.
"Maybe, if not complicated, using devfs will solve your problem.

Now, I have also added a compiler support devfs nuclear option, which is not activated :
Warning:unable to open an initial console
More than :
Mounted devfs on /dev
Just like other on the back, nothing has been! Equipment is a mess reflect the characters!

Then I think the issue should be rootfs image to see the contents of the /etc/securetty found really no ttySMX0
Thus read ttySMX0 ttyS0, ttyS1 ttySMX1 to re-generated after downloading, but still I am disappointed, and
Just the same!
Beatit heroes also requested further guidance of any kind!


Re : "unable to open an initial console" what is the solution?

I do not know if you said
"This is the only difference on the back Nothing!
What is the situation?
"Equipment is a mess reflect the characters!
At what stage via ah?
I should also like to /dev/console /etc/securetty in China!

Re : "unable to open an initial console" what is the solution?

What is the meaning behind no :
. . . Here with the same front. . .
NET : Registered protocol family 1
VFS : Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing init memory : 56K

"Freeing init memory : 56K" after they did not show that
Then I stroke back significantly on the distortion!


/etc/securetty A console, which reads as follows :
Tty0
Tty1
Tty2
Tty3
Tty4
Tty5
Tty6
Tty7
Tty8
TtySMX0
TtySMX1
TtyAM0
TtyAM1
Console


Re : "unable to open an initial console" what is the solution?

What is the meaning behind no :
. . . Here with the same front. . .
NET : Registered protocol family 1
VFS : Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing init memory : 56K

"Freeing init memory : 56K" after they did not show that
Then I stroke back significantly on the distortion!


/etc/securetty A console, which reads as follows :
Tty0
Tty1
Tty2
Tty3
Tty4
Tty5
Tty6
Tty7
Tty8
TtySMX0
TtySMX1
TtyAM0
TtyAM1
Console


Re : "unable to open an initial console" what is the solution?

Init is how you like?
SysVInit If it is, then you may be the /etc/inittab be a problem.
Console getty process of a problem.

Re : "unable to open an initial console" what is the solution?

Thank you.



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com