* [Xenomai-help] Version mismatched during xenomai installation
@ 2011-06-09 7:33 nabanjan das
2011-06-09 8:22 ` Stefan Kisdaroczi
0 siblings, 1 reply; 3+ messages in thread
From: nabanjan das @ 2011-06-09 7:33 UTC (permalink / raw)
To: xenomai@xenomai.org
[-- Attachment #1: Type: text/plain, Size: 1551 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 4848 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] Version mismatched during xenomai installation
2011-06-09 7:33 [Xenomai-help] Version mismatched during xenomai installation nabanjan das
@ 2011-06-09 8:22 ` Stefan Kisdaroczi
2011-06-18 17:43 ` nabanjan das
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Kisdaroczi @ 2011-06-09 8:22 UTC (permalink / raw)
To: nabanjan das; +Cc: xenomai
[-- Attachment #1: Type: Text/Plain, Size: 1836 bytes --]
Am Donnerstag 09 Juni 2011, 09.33:04 schrieb nabanjan das:
> 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
> 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
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] Version mismatched during xenomai installation
2011-06-09 8:22 ` Stefan Kisdaroczi
@ 2011-06-18 17:43 ` nabanjan das
0 siblings, 0 replies; 3+ messages in thread
From: nabanjan das @ 2011-06-18 17:43 UTC (permalink / raw)
To: Stefan Kisdaroczi; +Cc: xenomai@xenomai.org
[-- Attachment #1: Type: text/plain, Size: 3251 bytes --]
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 <kisda@hispeed.ch>
To: nabanjan das <nabanjan@domain.hid>
Cc: xenomai@xenomai.org.org
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:
> 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
> 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
[-- Attachment #2: Type: text/html, Size: 5262 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-18 17:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09 7:33 [Xenomai-help] Version mismatched during xenomai installation nabanjan das
2011-06-09 8:22 ` Stefan Kisdaroczi
2011-06-18 17:43 ` nabanjan das
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.