[PlanetCCRMA] Re: [a-users] Re: Rehmudi kernel 2.4.26-1.ll

NGUYEN Ngoc Can cnguyen@redhat.com
Tue Jun 22 11:53:00 2004


--=-y+evemlcltxT7J579jRv
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi,

that means in the initrd, it missed some commands line like insmod etc
.... to perform boot process ...

I think i'm going to make new initrd and let see if it will change
somethings ...

Sorry for the delay ... because i'm on vacation today .... the end of
july ...

best regards

Can

Le lun 21/06/2004 =C3=A0 17:03, Diemo Schwarz a =C3=A9crit :

> I just tried with the PlanetCCRMA low-latency kernel (2.4.24-1.ll.rh80.cc=
rma)=20
> [that's why I'm crossposting to the planetccrma list] for my version 8 of=
=20
> Redhat, but it's giving the same error:  (see below for details)
>=20
> 	kernel panic: no init found. try passing init=3D option to kernel.
>=20
> I have insmod and insmod.old in /sbin, and no /bin, where these kernels s=
eem to=20
> look for it.  So I did a hard link of insmod* to /bin, but the error on b=
ooting=20
> is exactly the same:
>=20
> 	Kernel requires old insmod, but couldn't run /bin/insmod.old: No such fi=
le or=20
> directory
>=20
> Where is the kernel looking for insmod at that stage?  In the init ram di=
sk?
> Shouldn't the file systems be compiled into the kernel?
>=20
> Sorry for bothering you with these problems, but that's where my diving l=
imit=20
> into the kernel is reached.  Cheers...
> 								...Diemo
>=20
>=20
>=20
> Diemo Schwarz wrote:
> > NGUYEN Ngoc Can wrote:
> >=20
> >> Hi ,
> >>
> >> could you replace in /etc/grub.conf :
> >>
> >> / initrd /boot/initrd-2.4.26-1.ll.img/
> >>
> >> by
> >>
> >> initrd /initrd-2.4.26-1.ll.img
> >>
> >> reboot your machine
> >=20
> >=20
> > gives me:
> >=20
> > Error 15: File not found
> >=20
> >=20
> > With the old version (using /initrd/boot/initrd-2.4.26-1.ll.img/), now =
I=20
> > can tell you exactly the boot messages:
> >=20
> > loading jbd module
> > kernel requires old insmod, no file /bin/insmod.old
> > [the same for ext3 module]
> > mounting root filesystem
> > mount: error 19 mounting ext3
> > pivotroot: [...] failed: 2
> > umount /initrd/proc failed:2
> > kernel panic: no init found. try passing init=3D option to kernel.
> >=20
> > Well, seems that when I installed the new modutils for the 2.6 kernel, =
I=20
> > buggered up to keep the old versions around in the right place.
> > I'll have a look immediately.
> >=20
> > B.t.w, I'm on redhat 8.
> >=20
> > Cheers...
> >=20
> >> Le lun 21/06/2004 =C3=A0 14:02, Diemo Schwarz a =C3=A9crit :
> >>
> >>> /NGUYEN Ngoc Can wrote:
> >>>
> >>>> Hi Diemo,
> >>>>
> >>>> Could you please describe me how did you install kernel=20
> >>>> /2.4.26-1.ll/ ??
> >>>
> >>>
> >>> with rpm -i kernel-2.4.26-1.ll.i686.rpm
> >>>
> >>> it gives me
> >>>
> >>> -rw-r--r-- root   590163 May 13 12:11 /boot/System.map-2.4.26-1.ll
> >>> -rw-r--r-- root    42856 May 13 12:11 /boot/config-2.4.26-1.ll
> >>> -rw-r--r-- root   304772 Jun 18 15:40 /boot/initrd-2.4.26-1.ll.img
> >>> -rw-r--r-- root    15438 May 13 12:11 /boot/module-info-2.4.26-1.ll
> >>> -rwxr-xr-x root  3123796 May 13 12:11 /boot/vmlinux-2.4.26-1.ll
> >>> -rw-r--r-- root  1085409 May 13 12:11 /boot/vmlinuz-2.4.26-1.ll
> >>>
> >>> and the grub entry (with loads of options I need to boot my normal=20
> >>> kernel 2.4.21-pre5-ac3-mhp3 on my Compaq Presario 915 laptop)
> >>>
> >>> title AGNULA/RehMuDi low-latency kernel (2.4.26-1.ll)
> >>>     root (hd0,5)
> >>>     kernel /boot/vmlinuz-2.4.26-1.ll ro root=3D/dev/hda6 hdc=3Dide no=
mce=20
> >>> ide=3Dnodma nobiospnp pci=3Dbiosirq nousb hdc=3Dide-scsi  vga=3D792=20
> >>> append=3D"video=3Dradeonfb:mode:1024x768,cmode:32" DISPLAYMANAGER=3DK=
DE
> >>>     initrd /boot/initrd-2.4.26-1.ll.img
> >>>
> >>>
> >>>> thank you
> >>>
> >>>
> >>> Thank *you* for caring...
> >>>                                 ...Diemo
> >>>
> >>>> Le dim 20/06/2004 =C3=A0 22:47, Diemo Schwarz a =C3=A9crit :
> >>>>
> >>>>> /Hi all and especially Can,
> >>>>>
> >>>>> I installed the Rehmudi low-latency kernel 2.4.26-1.ll rpm from the=
=20
> >>>>> update1 directory=20
> >>>>> [//_//_http://download.agnula.org/rehmudi/update1/kernel-2.4.26-1.l=
l.i686.rpm__],=20
> >>>>> but when I boot into it, I get a kernel panic with "no init found,=20
> >>>>> try init=3D option" or similar.
> >>>>>
> >>>>> Everything seems alright, there is a .map and a matching initrd. =20
> >>>>> Any idea what could have gone wrong?
> >>>>>
> >>>>> Cheers...
> >>>>>                                                                    =
   =20
> >>>>>                ...Diemo//
> >>>
> >>>
> >> */_________________________________/*/
> >>
> >> *_NGUYEN Ngoc Can_*_ / Consultant __RHCE_/
> >> *Red Hat* *France*
> >>
> >>
> >>
> >> ----------------------------------------------------------------------=
--
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users@lists.agnula.org
> >> http://lists.agnula.org/cgi-bin/mailman/listinfo/users
> >=20
> >=20
> >=20

_________________________________

NGUYEN Ngoc Can / Consultant RHCE
Red Hat France

--=-y+evemlcltxT7J579jRv
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10">
</HEAD>
<BODY>
Hi,<BR>
<BR>
that means in the initrd, it missed some commands line like insmod etc .... to perform boot process ...<BR>
<BR>
I think i'm going to make new initrd and let see if it will change somethings ...<BR>
<BR>
Sorry for the delay ... because i'm on vacation today .... the end of july ...<BR>
<BR>
best regards<BR>
<BR>
Can<BR>
<BR>
Le lun 21/06/2004 &#224; 17:03, Diemo Schwarz a &#233;crit :
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>I just tried with the PlanetCCRMA low-latency kernel (2.4.24-1.ll.rh80.ccrma) 
[that's why I'm crossposting to the planetccrma list] for my version 8 of 
Redhat, but it's giving the same error:  (see below for details)

	kernel panic: no init found. try passing init= option to kernel.

I have insmod and insmod.old in /sbin, and no /bin, where these kernels seem to 
look for it.  So I did a hard link of insmod* to /bin, but the error on booting 
is exactly the same:

	Kernel requires old insmod, but couldn't run /bin/insmod.old: No such file or 
directory

Where is the kernel looking for insmod at that stage?  In the init ram disk?
Shouldn't the file systems be compiled into the kernel?

Sorry for bothering you with these problems, but that's where my diving limit 
into the kernel is reached.  Cheers...
								...Diemo



Diemo Schwarz wrote:
&gt; NGUYEN Ngoc Can wrote:
&gt; 
&gt;&gt; Hi ,
&gt;&gt;
&gt;&gt; could you replace in /etc/grub.conf :
&gt;&gt;
&gt;&gt; / initrd /boot/initrd-2.4.26-1.ll.img/
&gt;&gt;
&gt;&gt; by
&gt;&gt;
&gt;&gt; initrd /initrd-2.4.26-1.ll.img
&gt;&gt;
&gt;&gt; reboot your machine
&gt; 
&gt; 
&gt; gives me:
&gt; 
&gt; Error 15: File not found
&gt; 
&gt; 
&gt; With the old version (using /initrd/boot/initrd-2.4.26-1.ll.img/), now I 
&gt; can tell you exactly the boot messages:
&gt; 
&gt; loading jbd module
&gt; kernel requires old insmod, no file /bin/insmod.old
&gt; [the same for ext3 module]
&gt; mounting root filesystem
&gt; mount: error 19 mounting ext3
&gt; pivotroot: [...] failed: 2
&gt; umount /initrd/proc failed:2
&gt; kernel panic: no init found. try passing init= option to kernel.
&gt; 
&gt; Well, seems that when I installed the new modutils for the 2.6 kernel, I 
&gt; buggered up to keep the old versions around in the right place.
&gt; I'll have a look immediately.
&gt; 
&gt; B.t.w, I'm on redhat 8.
&gt; 
&gt; Cheers...
&gt; 
&gt;&gt; Le lun 21/06/2004 &#224; 14:02, Diemo Schwarz a &#233;crit :
&gt;&gt;
&gt;&gt;&gt; /NGUYEN Ngoc Can wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Hi Diemo,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Could you please describe me how did you install kernel 
&gt;&gt;&gt;&gt; /2.4.26-1.ll/ ??
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; with rpm -i kernel-2.4.26-1.ll.i686.rpm
&gt;&gt;&gt;
&gt;&gt;&gt; it gives me
&gt;&gt;&gt;
&gt;&gt;&gt; -rw-r--r-- root   590163 May 13 12:11 /boot/System.map-2.4.26-1.ll
&gt;&gt;&gt; -rw-r--r-- root    42856 May 13 12:11 /boot/config-2.4.26-1.ll
&gt;&gt;&gt; -rw-r--r-- root   304772 Jun 18 15:40 /boot/initrd-2.4.26-1.ll.img
&gt;&gt;&gt; -rw-r--r-- root    15438 May 13 12:11 /boot/module-info-2.4.26-1.ll
&gt;&gt;&gt; -rwxr-xr-x root  3123796 May 13 12:11 /boot/vmlinux-2.4.26-1.ll
&gt;&gt;&gt; -rw-r--r-- root  1085409 May 13 12:11 /boot/vmlinuz-2.4.26-1.ll
&gt;&gt;&gt;
&gt;&gt;&gt; and the grub entry (with loads of options I need to boot my normal 
&gt;&gt;&gt; kernel 2.4.21-pre5-ac3-mhp3 on my Compaq Presario 915 laptop)
&gt;&gt;&gt;
&gt;&gt;&gt; title AGNULA/RehMuDi low-latency kernel (2.4.26-1.ll)
&gt;&gt;&gt;     root (hd0,5)
&gt;&gt;&gt;     kernel /boot/vmlinuz-2.4.26-1.ll ro root=/dev/hda6 hdc=ide nomce 
&gt;&gt;&gt; ide=nodma nobiospnp pci=biosirq nousb hdc=ide-scsi  vga=792 
&gt;&gt;&gt; append=&quot;video=radeonfb:mode:1024x768,cmode:32&quot; DISPLAYMANAGER=KDE
&gt;&gt;&gt;     initrd /boot/initrd-2.4.26-1.ll.img
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; thank you
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Thank *you* for caring...
&gt;&gt;&gt;                                 ...Diemo
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Le dim 20/06/2004 &#224; 22:47, Diemo Schwarz a &#233;crit :
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; /Hi all and especially Can,
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I installed the Rehmudi low-latency kernel 2.4.26-1.ll rpm from the 
&gt;&gt;&gt;&gt;&gt; update1 directory 
&gt;&gt;&gt;&gt;&gt; [//_//_</FONT><A HREF="http://download.agnula.org/rehmudi/update1/kernel-2.4.26-1.ll.i686.rpm__"><U>http://download.agnula.org/rehmudi/update1/kernel-2.4.26-1.ll.i686.rpm__</U></A><FONT COLOR="#737373">], 
&gt;&gt;&gt;&gt;&gt; but when I boot into it, I get a kernel panic with &quot;no init found, 
&gt;&gt;&gt;&gt;&gt; try init= option&quot; or similar.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Everything seems alright, there is a .map and a matching initrd.  
&gt;&gt;&gt;&gt;&gt; Any idea what could have gone wrong?
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Cheers...
&gt;&gt;&gt;&gt;&gt;                                                                        
&gt;&gt;&gt;&gt;&gt;                ...Diemo//
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt; */_________________________________/*/
&gt;&gt;
&gt;&gt; *_NGUYEN Ngoc Can_*_ / Consultant __RHCE_/
&gt;&gt; *Red Hat* *France*
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;
&gt;&gt; _______________________________________________
&gt;&gt; Users mailing list
&gt;&gt; Users@lists.agnula.org
&gt;&gt; </FONT><A HREF="http://lists.agnula.org/cgi-bin/mailman/listinfo/users"><U>http://lists.agnula.org/cgi-bin/mailman/listinfo/users</U></A>
<FONT COLOR="#737373">&gt; 
&gt; 
&gt; </I></FONT></PRE>
</BLOCKQUOTE>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<B><I><TT>_________________________________</B><BR>
<FONT COLOR="#0000ff"><BR>
<B><U>NGUYEN Ngoc Can</B> / Consultant </FONT><FONT COLOR="#ff0000">RHCE</U></I><BR>
<B>Red Hat</B></FONT><FONT COLOR="#737373"> </FONT><FONT COLOR="#0000ff"><B>France</TT></B></FONT>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>

--=-y+evemlcltxT7J579jRv--