[pocket-linux] v2.1 Chapter 3 - Unable to open initial console

Stefan.Siedler at t-online.de Stefan.Siedler at t-online.de
Wed Jul 7 03:01:29 CDT 2004




-----Original Message-----
Date: Tue,  6 Jul 2004 19:00:10 +0200
Subject: Pocket-Linux Digest, Vol 12, Issue 1
From: pocket-linux-request at ufo.chicago.il.us
To: pocket-linux at ufo.chicago.il.us

Send Pocket-Linux mailing list submissions to
	pocket-linux at ufo.chicago.il.us

To subscribe or unsubscribe via the World Wide Web, visit
	http://ufo.chicago.il.us/cgi-bin/mailman/listinfo/pocket-linux
or, via email, send a message with subject or body 'help' to
	pocket-linux-request at ufo.chicago.il.us

You can reach the person managing the list at
	pocket-linux-owner at ufo.chicago.il.us

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pocket-Linux digest..."


Today's Topics:

   1. v2.1 Chapter 3 - Unable to open initial console (Siedler Stefan)
   2. Re: v2.1 Chapter 3 - Unable to open initial console (Bettes)
   3. Chapter 3 - Unable to open initial console
      (Stefan.Siedler at t-online.de)
   4. Re: Chapter 3 - Unable to open initial console (Bettes)


----------------------------------------------------------------------

Message: 1
Date: Mon, 5 Jul 2004 17:00:41 +0200
From: "Siedler Stefan" <Stefan.Siedler at tr-systemtechnik.de>
Subject: [pocket-linux] v2.1 Chapter 3 - Unable to open initial
	console
To: <pocket-linux at ufo.chicago.il.us>
Message-ID:
	<1B440F659796034EA44A75AC8E831A39E740C3 at mail01.tr-gruppe.de>
Content-Type: text/plain;	charset="iso-8859-1"


Hi there!

I know the same problem was discussed here already in April, but
I did not find any solution.

Can anybody tell me what to do ?
I get the following messages:

	VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER
	RAMDISK: Compressed Image found at block 0
	VFS: Mounted root (ext2 filesystem) readonly.
	Freeing unused kernel memory: 72k freed
	Waring unable to open an initial console.
	Kernel panic: No init found. Try passing init= option to kernel.

I don't know if I did something wrong with the libraries,
because the output of "ldd bash" is

        linux-gate.so.1 =>  (0xffffe000)
        libdl.so.2 => /lib/libdl.so.2 (0x40022000)
        libc.so.6 => /lib/tlc/libc.so.6 (0x40025000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

and i don't know what to do with linux-gate.so.1

I am working on a SuSE 9.1 system with kernel 2.6
My target is a Celeron Coppermine CPU, and the kernel should be 2.4

Thank you for any help

Stefan




------------------------------

Message: 2
Date: Mon, 5 Jul 2004 20:32:03 +0200
From: Bettes <bettes at freegates.be>
Subject: Re: [pocket-linux] v2.1 Chapter 3 - Unable to open initial
	console
To: Support for Pocket Linux Guide <pocket-linux at ufo.chicago.il.us>
Message-ID: <200407052032.03967.bettes at freegates.be>
Content-Type: text/plain;  charset="iso-8859-1"

Hi Stefan,

>From my experience, this error has nothing to do with using the wrong
libraries. (but of course I can be wrong)

I got the message :
> 	Kernel panic: No init found. Try passing init= option to kernel.
when I really forgot to pass the option init=/bin/sh in the menu.lst
file

Be also sure that you have created the device /dev/console


If it is after all the libraries, you can find precompiled for old
machines at
David Hortons Website

> I think the quickest solution is to use libraries that are known to be
> compatible with older systems.  For pre-built, i386 compatible
libraries
> you can get glibc from my web site.
>
[http://www.happy-monkey.net/architect/bin-pkgs/glibc-2.3.2.i386.tar.gz]
>     I also think the Slackware distro uses i486 compatible libraries.
>

Bettes

On Monday 05 July 2004 17:00, Siedler Stefan wrote:
> Hi there!
>
> I know the same problem was discussed here already in April, but
> I did not find any solution.
>
> Can anybody tell me what to do ?
> I get the following messages:
>
> 	VFS: Insert root floppy disk to be loaded into RAM disk and press
ENTER
> 	RAMDISK: Compressed Image found at block 0
> 	VFS: Mounted root (ext2 filesystem) readonly.
> 	Freeing unused kernel memory: 72k freed
> 	Waring unable to open an initial console.
> 	Kernel panic: No init found. Try passing init= option to kernel.
>
> I don't know if I did something wrong with the libraries,
> because the output of "ldd bash" is
>
>         linux-gate.so.1 =>  (0xffffe000)
>         libdl.so.2 => /lib/libdl.so.2 (0x40022000)
>         libc.so.6 => /lib/tlc/libc.so.6 (0x40025000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> and i don't know what to do with linux-gate.so.1
>
> I am working on a SuSE 9.1 system with kernel 2.6
> My target is a Celeron Coppermine CPU, and the kernel should be 2.4
>
> Thank you for any help
>
> Stefan
>
>
> _______________________________________________
> Pocket-Linux mailing list
> Pocket-Linux at ufo.chicago.il.us
> http://ufo.chicago.il.us/cgi-bin/mailman/listinfo/pocket-linux




------------------------------

Message: 3
Date: Tue,  6 Jul 2004 09:38:10 +0200
From: Stefan.Siedler at t-online.de
Subject: [pocket-linux] Chapter 3 - Unable to open initial console
To: pocket-linux at ufo.chicago.il.us
Message-ID: <1BhkWo-2Hvz8K0 at cmpmail06.bbul.t-online.de>
Content-Type: text/plain; charset="ISO-8859-1"

Hi there!

I know the same problem was discussed here already in April, but
I did not find any solution.

Can anybody tell me what to do ?
I get the following messages:

	VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER
	RAMDISK: Compressed Image found at block 0
	VFS: Mounted root (ext2 filesystem) readonly.
	Freeing unused kernel memory: 72k freed
	Waring unable to open an initial console.
	Kernel panic: No init found. Try passing init= option to kernel.

I don't know if I did something wrong with the libraries,
because the output of "ldd bash" is

        linux-gate.so.1 =>  (0xffffe000)
        libdl.so.2 => /lib/libdl.so.2 (0x40022000)
        libc.so.6 => /lib/tlc/libc.so.6 (0x40025000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

and i don't know what to do with linux-gate.so.1

I am working on a SuSE 9.1 system with kernel 2.6
My target is a Celeron Coppermine CPU, and the kernel should be 2.4

Thank you for any help

Stefan







------------------------------

Message: 4
Date: Tue, 6 Jul 2004 15:48:22 +0200
From: Bettes <bettes at freegates.be>
Subject: Re: [pocket-linux] Chapter 3 - Unable to open initial console
To: Support for Pocket Linux Guide <pocket-linux at ufo.chicago.il.us>
Message-ID: <200407061548.22563.bettes at freegates.be>
Content-Type: text/plain;  charset="iso-8859-1"

Hi Stefan,
Did you already checked the things in my previous mail.

Oh yeah,  the library
>         linux-gate.so.1 =>  (0xffffe000)
is not needed at all.


On Monday 05 July 2004 20:32, Bettes wrote:
> Hi Stefan,
>
> From my experience, this error has nothing to do with using the wrong
> libraries. (but of course I can be wrong)
>
> I got the message :
> > 	Kernel panic: No init found. Try passing init= option to kernel.
>
> when I really forgot to pass the option init=/bin/sh in the menu.lst
file
>
> Be also sure that you have created the device /dev/console
>
>
> If it is after all the libraries, you can find them precompiled for
old
> machines at David Hortons Website
>
> > I think the quickest solution is to use libraries that are known to
be
> > compatible with older systems.  For pre-built, i386 compatible
libraries
> > you can get glibc from my web site.
> >
[http://www.happy-monkey.net/architect/bin-pkgs/glibc-2.3.2.i386.tar.gz]
> >     I also think the Slackware distro uses i486 compatible
libraries.
>

Bettes


On Tuesday 06 July 2004 09:38, Stefan.Siedler at t-online.de wrote:
> Hi there!
>
> I know the same problem was discussed here already in April, but
> I did not find any solution.
>
> Can anybody tell me what to do ?
> I get the following messages:
>
> 	VFS: Insert root floppy disk to be loaded into RAM disk and press
ENTER
> 	RAMDISK: Compressed Image found at block 0
> 	VFS: Mounted root (ext2 filesystem) readonly.
> 	Freeing unused kernel memory: 72k freed
> 	Waring unable to open an initial console.
> 	Kernel panic: No init found. Try passing init= option to kernel.
>
> I don't know if I did something wrong with the libraries,
> because the output of "ldd bash" is
>
>         linux-gate.so.1 =>  (0xffffe000)
>         libdl.so.2 => /lib/libdl.so.2 (0x40022000)
>         libc.so.6 => /lib/tlc/libc.so.6 (0x40025000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> and i don't know what to do with linux-gate.so.1
>
> I am working on a SuSE 9.1 system with kernel 2.6
> My target is a Celeron Coppermine CPU, and the kernel should be 2.4
>
> Thank you for any help
>
> Stefan
>
>
>
>
>
> _______________________________________________
> Pocket-Linux mailing list
> Pocket-Linux at ufo.chicago.il.us
> http://ufo.chicago.il.us/cgi-bin/mailman/listinfo/pocket-linux




------------------------------

_______________________________________________
Pocket-Linux mailing list
Pocket-Linux at ufo.chicago.il.us
http://ufo.chicago.il.us/cgi-bin/mailman/listinfo/pocket-linux


End of Pocket-Linux Digest, Vol 12, Issue 1
*******************************************


Hi Bettes,

You were right. It was no problem with the libraries.
I tried to create the ramdisk using the bash with statical linked
libraries  and still
had the same problem.
My problem was the ramdisk. My ramdisk did not work when I tried to
create it
as described in section 3.3.1. 
Instead I did it the following way:

   dd if=/dev/zero of=~/ramdisk bs= 1k count=4096
   mke2fs -m0 ~/ramdisk
   mount -o loop ~/ramdisk /mnt

All the rest is the same as written in chapter 3.
So now I can go on and try chapter 4.

Thank you for your help
Stefan





More information about the Pocket-Linux mailing list