From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <744344.82258.qm@domain.hid> References: <67271.69338.qm@domain.hid> <201106091022.30083.kisda@domain.hid> Date: Sat, 18 Jun 2011 10:43:37 -0700 (PDT) From: nabanjan das In-Reply-To: <201106091022.30083.kisda@domain.hid> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2017627443-1308419017=:82258" Subject: Re: [Xenomai-help] Version mismatched during xenomai installation Reply-To: nabanjan das List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Kisdaroczi Cc: "xenomai@xenomai.org" --0-2017627443-1308419017=:82258 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi All,=0A=0AFirst of all thanks to Stefan,=0A=0ABut I had already fixed th= is issue. I am faced with a different issue now during reboot and here is t= he log ( I NEED HELP ):=0A=0ALoading, please wait...=0ABegin: Loading essen= tial drivers ... done.=0ABegin: Running /scripts/init-premount ... FATAL: E= rror inserting fan (/lib/modules/2.6.3=0A5.9-xenomai-2.5.6/kernel/drivers/a= cpi/fan.ko): No such device=0AFATAL: Error inserting thermal (/lib/modules/= 2.6.35.9-xenomai-2.5.6/kernel/drivers/acpi/=0Athermal.ko): No such device= =0Adone.=0ABegin: Mounting root file system ... Begin: Running /scripts/loc= al-top ... done.=0ABegin: Waiting for root file system ... done.=0AGave up = waiting for root device. =A0Common problems:=0A=A0- Boot args (cat /proc/cm= dline)=0A=A0 =A0- Check rootdelay=3D (did the system wait long enough?)=0A= =A0 =A0- Check root=3D (did the system wait for the right device?)=0A=A0- M= issing modules (cat /proc/modules; ls /dev)=0AALERT! does not exist. Droppi= ng to a shell!=0A=0A=0ABusyBox v1.10.2 (Debian 1:1.10.2-2) built-in shell (= ash)=0AEnter 'help' for a list of built-in commands.=0A=0A/bin/sh: can't ac= cess tty; job control turned off=0A(initramfs)=0A=0A=0A=0AThanks,=0ANabanja= n=0A=0A=0A________________________________=0AFrom: Stefan Kisdaroczi =0ATo: nabanjan das =0ACc: xenomai@xenomai.org= .org=0ASent: Thursday, June 9, 2011 1:22 AM=0ASubject: Re: [Xenomai-help] V= ersion mismatched during xenomai installation=0A=0AAm Donnerstag 09 Juni 20= 11, 09.33:04 schrieb nabanjan das:=0A> Hi,=0A> =0A> [...]=0A> =0A> The erro= r message in a step at end for which I want a solution:=0A> =0A> prototype:= ~/merchant/linux-2.6.35.9# CONCURRENCY_LEVEL=3D2 CLEAN_SOURCE=3Dno=0A> fake= root make-kpkg --initrd --append-to-version -xenomai-2.5.6 --revision=0A> 1= .0 kernel_image kernel_headers exec debian/rules=A0 DEBIAN_REVISION=3D1.0= =0A>=A0 APPEND_TO_VERSION=3D-xenomai-2.5.6=A0 INITRD=3DYES=A0 kernel_image = kernel_headers=0A> /usr/bin/make -f ./debian/rules=A0 =A0 =A0 =A0 =0A> debi= an/stamp/binary/pre-linux-image-2.6.35.9-xenomai-2.5.6 make[1]:=0A> Enterin= g directory `/root/merchant/linux-2.6.35.9'=0A> =3D=3D=3D=3D=3D=3D making t= arget=0A> debian/stamp/install/linux-image-2.6.35.9-xenomai-2.5.6 [new prer= eqs:=0A> ]=3D=3D=3D=3D=3D=3D This is kernel package version 11.015.=0A> ech= o "The UTS Release version in include/linux/version.h"; echo "=A0 =A0 =A0 = =A0 =0A>=A0 \"\" "; echo "does not match current version:"; echo "=A0 =A0 = =A0 =A0 =0A>=A0 \"2.6.35.9-xenomai-2.5.6\" "; echo "Please correct this."; = exit 2 The UTS=0A> Release version in include/linux/version.h=0A>=A0 =A0 = =A0 =A0 =A0 =A0 "" =0A> does not match current version:=0A>=A0 =A0 =A0 =A0 = =A0 =A0 "2.6.35.9-xenomai-2.5.6" =0A> Please correct this.=0A> make[1]: ***= [debian/stamp/install/linux-image-2.6.35.9-xenomai-2.5.6]=0A> Error 2 make= [1]: Leaving directory `/root/merchant/linux-2.6.35.9'=0A> make: *** [kerne= l_image] Error 2=0A=0APlease run "make-kpkg clean" and retry to build the k= ernel after that.=0A=0AThis looks like debian 5.0 lenny (released February = 2009). The last time i =0Achecked with (old) lenny was in January 2011 with= kernel 2.6.32 and it worked. =0AMaybe there is a incompatibility between k= ernel-package 11.015 from lenny and =0Anewer kernels.=0A=0AIf "make-kpkg cl= ean" doesnt help consider upgrading to debian 6.0 squeeze =0A(released Febr= uary 2011).=0A=0ASidenote: don't build packages/kernels as root.=0A=0AStefa= n --0-2017627443-1308419017=:82258 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi All,

First of all thanks to Stefan,
But I had already fixed this issue. I a= m faced with a different issue now during reboot and here is the log ( I NE= ED HELP ):

Loading, please wait...
Begin: Loading essential drivers ... done.
Begin: Running /scrip= ts/init-premount ... FATAL: Error inserting fan (/lib/modules/2.6.3
5.9-xenomai-2.5.6/kernel/drivers/acpi/fan.ko): No such device
= FATAL: Error inserting thermal (/lib/modules/2.6.35.9-xenomai-2.5.6/kernel/= drivers/acpi/
thermal.ko): No such device
done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top .= .. done.
Begin: Waiting for root file system ... done.
= Gave up waiting for root device.  Common problems:
 - B= oot args (cat /proc/cmdline)
   - Check rootdelay=3D (d= id the system wait long enough?)
   - Check root=3D (di= d the system wait for the right device?)
 - Missing modules = (cat /proc/modules; ls /dev)
ALERT! does not exist. Dropping to a shell!


BusyBox v1.10.2 (Debia= n 1:1.10.2-2) built-in shell (ash)
Enter 'help' for a list of bui= lt-in commands.

/bin/sh: can't access tty; job con= trol turned off
(initramfs)



Thanks,
Nabanjan


From: S= tefan Kisdaroczi <kisda@domain.hid>
To: nabanjan das <nabanjan@domain.hid>
Cc: xenomai@xenomai.org
Sent: Thursday, June 9, 2011 1:22 = AM
Subject: Re: [Xenoma= i-help] Version mismatched during xenomai installation

=0AAm = Donnerstag 09 Juni 2011, 09.33:04 schrieb nabanjan das:
> Hi,
>=
> [...]
>
> The error message in a step at end for whi= ch I want a solution:
>
> prototype:~/merchant/linux-2.6.35.9#= CONCURRENCY_LEVEL=3D2 CLEAN_SOURCE=3Dno
> fakeroot make-kpkg --initr= d --append-to-version -xenomai-2.5.6 --revision
> 1.0 kernel_image ke= rnel_headers exec debian/rules  DEBIAN_REVISION=3D1.0
>  AP= PEND_TO_VERSION=3D-xenomai-2.5.6  INITRD=3DYES  kernel_image kern= el_headers
> /usr/bin/make -f ./debian/rules      &nbs= p;
> debian/stamp/binary/pre-linux-image-2.6.35.9-xenomai-2.5.6 make= [1]:
> Entering directory `/root/merchant/linux-2.6.35.9'
> =3D= =3D=3D=3D=3D=3D making target
> debian/stamp/install/linux-image-2.6.= 35.9-xenomai-2.5.6 [new prereqs:
> ]=3D=3D=3D=3D=3D=3D This is kernel= package version 11.015.
> echo "The UTS Release version in include/l= inux/version.h"; echo "       
>  \"\" "; echo "does not match c= urrent version:"; echo "       
>  \"2.6.35= .9-xenomai-2.5.6\" "; echo "Please correct this."; exit 2 The UTS
> R= elease version in include/linux/version.h
>       = ;     ""
> does not match current version:
>  &= nbsp;         "2.6.35.9-xenomai-2.5.6"
> Please = correct this.
> make[1]: *** [debian/stamp/install/linux-image-2.6.35= .9-xenomai-2.5.6]
> Error 2 make[1]: Leaving directory `/root/merchan= t/linux-2.6.35.9'
> make: *** [kernel_image] Error 2

Please ru= n "make-kpkg clean" and retry to build the kernel after that.

This l= ooks like debian 5.0 lenny (released February 2009). The last time i
ch= ecked with (old) lenny was in January 2011 with kernel 2.6.32 and it worked= .
Maybe there is a incompatibility between kernel-package 11.015 from lenny and
newer kernels.

If "make-kpkg clean" doesnt help = consider upgrading to debian 6.0 squeeze
(released February 2011).
<= br>Sidenote: don't build packages/kernels as root.

Stefan

--0-2017627443-1308419017=:82258--