Skip to contentSkip to conversation

Version mismatched during xenomai installation

Xenomai-help nabanjan das 2 participants 3 messages Jun 9, 2011 – Jun 18, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I have this issue of version mismatch during xenomai installation in debian linux.

I followed the steps in:

http://www.xenomai.org/index.php/Building_Debian_packages

Info of my server is:

prototype:~/merchant/linux-2.6.35.9# uname -a
Linux prototype 2.6.26-2-xen-686 #1 SMP Thu Jan 27 05:44:37 UTC 2011 i686 GNU/Linux

The error message in a step at end for which I want a solution:

prototype:~/merchant/linux-2.6.35.9# CONCURRENCY_LEVEL=2 CLEAN_SOURCE=no fakeroot make-kpkg --initrd --append-to-version -xenomai-2.5.6 --revision 1.0 kernel_image kernel_headers
exec debian/rules  DEBIAN_REVISION=1.0  APPEND_TO_VERSION=-xenomai-2.5.6  INITRD=YES  kernel_image kernel_headers 
/usr/bin/make -f ./debian/rules         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'
====== making target debian/stamp/install/linux-image-2.6.35.9-xenomai-2.5.6 [new prereqs: ]======
This is kernel package version 11.015.
echo "The UTS Release version in include/linux/version.h"; echo "          \"\" "; echo "does not match current version:"; echo "          \"2.6.35.9-xenomai-2.5.6\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
           "" 
does not match current version:
           "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/merchant/linux-2.6.35.9'
make: *** [kernel_image] Error 2
#1 lore raw

Am Donnerstag 09 Juni 2011, 09.33:04 schrieb nabanjan das:

Quoted 19 lines

Hi,

[...]

The error message in a step at end for which I want a solution:

prototype:~/merchant/linux-2.6.35.9# CONCURRENCY_LEVEL=2 CLEAN_SOURCE=no
fakeroot make-kpkg --initrd --append-to-version -xenomai-2.5.6 --revision
1.0 kernel_image kernel_headers exec debian/rules  DEBIAN_REVISION=1.0
 APPEND_TO_VERSION=-xenomai-2.5.6  INITRD=YES  kernel_image kernel_headers
/usr/bin/make -f ./debian/rules        
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'
====== making target
debian/stamp/install/linux-image-2.6.35.9-xenomai-2.5.6 [new prereqs:
]====== This is kernel package version 11.015.
echo "The UTS Release version in include/linux/version.h"; echo "        
 \"\" "; echo "does not match current version:"; echo "        
 \"2.6.35.9-xenomai-2.5.6\" "; echo "Please correct this."; exit 2 The UTS
Quoted 8 lines
Release version in include/linux/version.h
           "" 
does not match current version:
           "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/merchant/linux-2.6.35.9'
make: *** [kernel_image] Error 2

Please run "make-kpkg clean" and retry to build the kernel after that.

This looks like debian 5.0 lenny (released February 2009). The last time i checked 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).

Sidenote: don't build packages/kernels as root.

Stefan

#2 lore raw

Hi All,

First of all thanks to Stefan,

But I had already fixed this issue. I am faced with a different issue now during reboot and here is the log ( I NEED HELP ):

Loading, please wait...
Begin: Loading essential drivers ... done.
Begin: Running /scripts/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:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did 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 (Debian 1:1.10.2-2) built-in shell (ash) Enter 'help' for a list of built-in commands.

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

Thanks,
Nabanjan

________________________________
From: Stefan Kisdaroczi <[email protected]>
To: nabanjan das <[email protected]>
Cc: [email protected]
Sent: Thursday, June 9, 2011 1:22 AM
Subject: Re: [Xenomai-help] Version mismatched during xenomai installation

Am Donnerstag 09 Juni 2011, 09.33:04 schrieb nabanjan das:

Quoted 19 lines

Hi,

[...]

The error message in a step at end for which I want a solution:

prototype:~/merchant/linux-2.6.35.9# CONCURRENCY_LEVEL=2 CLEAN_SOURCE=no
fakeroot make-kpkg --initrd --append-to-version -xenomai-2.5.6 --revision
1.0 kernel_image kernel_headers exec debian/rules  DEBIAN_REVISION=1.0
  APPEND_TO_VERSION=-xenomai-2.5.6  INITRD=YES  kernel_image kernel_headers
/usr/bin/make -f ./debian/rules        
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'
====== making target
debian/stamp/install/linux-image-2.6.35.9-xenomai-2.5.6 [new prereqs:
]====== This is kernel package version 11.015.
echo "The UTS Release version in include/linux/version.h"; echo "        
  \"\" "; echo "does not match current version:"; echo "        
  \"2.6.35.9-xenomai-2.5.6\" "; echo "Please correct this."; exit 2 The UTS
Quoted 8 lines
Release version in include/linux/version.h
            "" 
does not match current version:
            "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/merchant/linux-2.6.35.9'
make: *** [kernel_image] Error 2

Please run "make-kpkg clean" and retry to build the kernel after that.

This looks like debian 5.0 lenny (released February 2009). The last time i checked 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).

Sidenote: don't build packages/kernels as root.

Stefan