2001-03-02 22:38:45

by Stephane GARIN

[permalink] [raw]
Subject: 2.2.19pre - Kernel Panic: no init found

Hi,

I have a kernel panic with the patch 2.2.19pre16 that I test. I use a 2.2.18
Kernel very well. I used the last patch on this kernel and make my kernel
with sames parameters without error message. At the boot, I can see this :

...
eth0: RealTek RTL8139 Fast Ethernet at 0xa800, IRQ 10, 00:50:fc:0b:60:70
eth1: RealTek RTL8139 Fast Ethernet at 0xac00, IRQ 11, 00:50:fc:1f:c1:98
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 >
Trying to vfree() noexistent vm area (c00f0000)
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 68k freed
Kernel panic: No init found. Try passing init= option to kernel.



I tried to start with init=3 but no change. I send this information on this
mailing list because I think that could be a bug. Sorry if it is a wrong
action of me...

With Regards,
Stephane Garin


2001-03-03 19:42:29

by Jason Madden

[permalink] [raw]
Subject: Re: 2.2.19pre - Kernel Panic: no init found

On Fri, 2 Mar 2001, St?phane GARIN wrote:

> Hi,
>
> I have a kernel panic with the patch 2.2.19pre16 that I test. I use a 2.2.18
> Kernel very well. I used the last patch on this kernel and make my kernel
> with sames parameters without error message. At the boot, I can see this :
>
> ...
> eth0: RealTek RTL8139 Fast Ethernet at 0xa800, IRQ 10, 00:50:fc:0b:60:70
> eth1: RealTek RTL8139 Fast Ethernet at 0xac00, IRQ 11, 00:50:fc:1f:c1:98
> Partition check:
> hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 >
> Trying to vfree() noexistent vm area (c00f0000)
> VFS: Mounted root (ext2 filesystem) readonly.
> Freeing unused kernel memory: 68k freed
> Kernel panic: No init found. Try passing init= option to kernel.
>

I get similar messages on 2.4.2 and 2.4.2-ac7 :

...
ACPI: Core Subsystem version [20010208]
ACPI: Subsystem enabled
ACPI: System firmware supports: C2 C3
ACPI: plvl2lat=10 plvl3lat=20
ACPI: C2 enter=143 C2 exit=35
ACPI: C3 enter=858 C3 exit=71
ACPI: Not using ACPI idle
ACPI: System firmware supports: S0 S1 S5
ACPI: If experiencing system slowdowns, pass acpi=no-idle #FROM MEMORY
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 232k freed
Kernel panic: No init found. Try passing init= option to kernel.

The solution was to pass acpi=no-idle on the kernel command line. The same
configuration worked fine with 2.4.1

Jason


2001-03-03 21:56:08

by Stephane GARIN

[permalink] [raw]
Subject: RE: 2.2.19pre - Kernel Panic: no init found

I tried it but no change. I don't have ACPI messages during the boot... I
don't understand why there is this trouble...

-----Message d'origine-----
De : [email protected]
[mailto:[email protected]]De la part de Jason Madden
Envoy? : samedi 3 mars 2001 20:44
? : [email protected]
Objet : Re: 2.2.19pre - Kernel Panic: no init found


I get similar messages on 2.4.2 and 2.4.2-ac7 :

...
ACPI: Core Subsystem version [20010208]
ACPI: Subsystem enabled
ACPI: System firmware supports: C2 C3
ACPI: plvl2lat=10 plvl3lat=20
ACPI: C2 enter=143 C2 exit=35
ACPI: C3 enter=858 C3 exit=71
ACPI: Not using ACPI idle
ACPI: System firmware supports: S0 S1 S5
ACPI: If experiencing system slowdowns, pass acpi=no-idle #FROM MEMORY
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 232k freed
Kernel panic: No init found. Try passing init= option to kernel.

The solution was to pass acpi=no-idle on the kernel command line. The same
configuration worked fine with 2.4.1

Jason


2001-03-06 16:08:11

by Stephane GARIN

[permalink] [raw]
Subject: RE: 2.2.19pre - Kernel Panic: no init found

Hi,

I tried with init=/bin/sh but no success. I download a 2.2.18 Kernel and I
use patch 2.2.19pre16 but no success too... I don't know why there is this
error with this 2.2.19 kernel but not with my 2.2.18 kernel. I'm ready to
send all technical information about my computer (PIII 650 with 256Mb and a
ABIT BX133-RAID mothercard).

With Regards,
Stephane Garin

-----Message d'origine-----
De : James Stevenson
Envoy? : samedi 3 mars 2001 18:58
? : [email protected]
Objet : Re: 2.2.19pre - Kernel Panic: no init found


Hi

it would mean pass something like
init=/bin/sh
not the runlevel you want

In local.linux-kernel-list, you wrote:
>Hi,
>
>I have a kernel panic with the patch 2.2.19pre16 that I test. I use a
2.2.18
>Kernel very well. I used the last patch on this kernel and make my kernel
>with sames parameters without error message. At the boot, I can see this :
>
>..
>eth0: RealTek RTL8139 Fast Ethernet at 0xa800, IRQ 10, 00:50:fc:0b:60:70
>eth1: RealTek RTL8139 Fast Ethernet at 0xac00, IRQ 11, 00:50:fc:1f:c1:98
>Partition check:
> hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 >
>Trying to vfree() noexistent vm area (c00f0000)
>VFS: Mounted root (ext2 filesystem) readonly.
>Freeing unused kernel memory: 68k freed
>Kernel panic: No init found. Try passing init= option to kernel.
>
>
>
>I tried to start with init=3 but no change. I send this information on this
>mailing list because I think that could be a bug. Sorry if it is a wrong
>action of me...
>
>With Regards,
>Stephane Garin
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>


--
---------------------------------------------
Check Out: http://stev.org
E-Mail: [email protected]
5:50pm up 4 days, 5:56, 3 users, load average: 0.24, 0.38, 0.47

2001-03-06 16:23:26

by Jeremy Jackson

[permalink] [raw]
Subject: Re: 2.2.19pre - Kernel Panic: no init found

Stephane GARIN wrote:

> Hi,
>
> I tried with init=/bin/sh but no success. I download a 2.2.18 Kernel and I
> use patch 2.2.19pre16 but no success too... I don't know why there is this
> error with this 2.2.19 kernel but not with my 2.2.18 kernel. I'm ready to
> send all technical information about my computer (PIII 650 with 256Mb and a
> ABIT BX133-RAID mothercard).

looks like you have a lot of partitions. maybe the kernel isn't using the
right one
for root filesystem? if using LILO to boot, make sure root= line for your new
kernel is the same as old one. if using redhat on a large disk, it will set up

the first partition as /boot filesystem, so kernel will mount it ok, but won't
find any programs like init or sh on it.

Let me know how this works out.

>
>
> With Regards,
> Stephane Garin
>
> -----Message d'origine-----
> De : James Stevenson
> Envoy? : samedi 3 mars 2001 18:58
> ? : [email protected]
> Objet : Re: 2.2.19pre - Kernel Panic: no init found
>
> Hi
>
> it would mean pass something like
> init=/bin/sh
> not the runlevel you want
>
> In local.linux-kernel-list, you wrote:
> >Hi,
> >
> >I have a kernel panic with the patch 2.2.19pre16 that I test. I use a
> 2.2.18
> >Kernel very well. I used the last patch on this kernel and make my kernel
> >with sames parameters without error message. At the boot, I can see this :
> >
> >..
> >eth0: RealTek RTL8139 Fast Ethernet at 0xa800, IRQ 10, 00:50:fc:0b:60:70
> >eth1: RealTek RTL8139 Fast Ethernet at 0xac00, IRQ 11, 00:50:fc:1f:c1:98
> >Partition check:
> > hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 >
> >Trying to vfree() noexistent vm area (c00f0000)
> >VFS: Mounted root (ext2 filesystem) readonly.
> >Freeing unused kernel memory: 68k freed
> >Kernel panic: No init found. Try passing init= option to kernel.
> >
> >
> >
> >I tried to start with init=3 but no change. I send this information on this
> >mailing list because I think that could be a bug. Sorry if it is a wrong
> >action of me...
> >

2001-03-06 16:54:31

by Stephane GARIN

[permalink] [raw]
Subject: RE: 2.2.19pre - Kernel Panic: no init found

I checked this but there is no error in my lilo configuration file. root
value is the same for my images /boot/vmlinuz-2.2.18 (label=linux) and
/boot/vmlinuz-2.2.19pre (label=linuxpre).

All it's ok if I boot on "linux" but I have this Kernel panic if I boot on
"linuxpre". I used the same .config file (of 2.2.18 kernel) to make my new
2.2.19pre16 kernel.

I have lot of partitions (8). The order is :

/dev/hda1 (mounted on /boot)
/dev/hda2 (extended)
/dev/hda5 (mounted on /usr)
/dev/hda6 (mounted on /home)
/dev/hda7 (swap)
/dev/hda8 (mounted on /)
/dev/hda9 (mounted on /tmp)
/dev/hda10 (mounted on /var)

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Jeremy Jackson
Sent: Tuesday, March 06, 2001 5:18 PM
To: Stephane GARIN
Cc: [email protected]
Subject: Re: 2.2.19pre - Kernel Panic: no init found


Stephane GARIN wrote:

> Hi,
>
> I tried with init=/bin/sh but no success. I download a 2.2.18 Kernel and I
> use patch 2.2.19pre16 but no success too... I don't know why there is this
> error with this 2.2.19 kernel but not with my 2.2.18 kernel. I'm ready to
> send all technical information about my computer (PIII 650 with 256Mb and
a
> ABIT BX133-RAID mothercard).

looks like you have a lot of partitions. maybe the kernel isn't using the
right one
for root filesystem? if using LILO to boot, make sure root= line for your
new
kernel is the same as old one. if using redhat on a large disk, it will set
up

the first partition as /boot filesystem, so kernel will mount it ok, but
won't
find any programs like init or sh on it.

Let me know how this works out.

>
>
> With Regards,
> Stephane Garin
>
> -----Message d'origine-----
> De : James Stevenson
> Envoy? : samedi 3 mars 2001 18:58
> ? : [email protected]
> Objet : Re: 2.2.19pre - Kernel Panic: no init found
>
> Hi
>
> it would mean pass something like
> init=/bin/sh
> not the runlevel you want
>
> In local.linux-kernel-list, you wrote:
> >Hi,
> >
> >I have a kernel panic with the patch 2.2.19pre16 that I test. I use a
> 2.2.18
> >Kernel very well. I used the last patch on this kernel and make my kernel
> >with sames parameters without error message. At the boot, I can see this
:
> >
> >..
> >eth0: RealTek RTL8139 Fast Ethernet at 0xa800, IRQ 10, 00:50:fc:0b:60:70
> >eth1: RealTek RTL8139 Fast Ethernet at 0xac00, IRQ 11, 00:50:fc:1f:c1:98
> >Partition check:
> > hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 >
> >Trying to vfree() noexistent vm area (c00f0000)
> >VFS: Mounted root (ext2 filesystem) readonly.
> >Freeing unused kernel memory: 68k freed
> >Kernel panic: No init found. Try passing init= option to kernel.
> >
> >
> >
> >I tried to start with init=3 but no change. I send this information on
this
> >mailing list because I think that could be a bug. Sorry if it is a wrong
> >action of me...
> >