Home > Could Not > Could Not Determine Uts_release

Could Not Determine Uts_release

Rob Top Profile Reply with quote condate Post subject: PostPosted: Tue Mar 31, 2009 10:04 pm Offline Junior Member Joined: Sat Mar 28, 2009 3:10 am Posts: 22 I've From what I know of kernel stuff (which admittedly isn't that much) there are a couple of things the make is doing that are a little non-standard and prone to breakage. After I figured it out there was a different build error that I finally got around by deleting the directory and unpacking the source again. CC [M] /usr/src/drbd-8.3.1/drbd/drbd_buildtag.occ1: error: include/linux/autoconf.h: No such file or directorymake[3]: *** [/usr/src/drbd-8.3.1/drbd/drbd_buildtag.o] Error 1make[2]: *** [_module_/usr/src/drbd-8.3.1/drbd] Error 2make[2]: Leaving directory `/usr/src/2.6.18.8-linode16'make[1]: *** [kbuild] Error 2make[1]: Leaving directory `/usr/src/drbd-8.3.1/drbd'So it told me http://jessriegel.com/could-not/could-not-find-the-2003-release-of-the-longest-journey.html

I know there's a way to do it with module-assistant, too, and I can write it up, but as I recall it craps out when trying to build drbd8-module-source. Fedora Core 6 Kernel: 2.6.18-1.2868.fc6 Thanks, John [email protected](/opt/Modem/PCTel/pctel-0.9.7-9-rht-6) 1024# ./setup checking for running kernel version...2.6.18 checking for ptserial...ptserial-2.6.c checking for gcc...4.1.1 searching for kernel includes...found at /lib/modules/2.6.18-1.2868.fc6/build/include checking for autoconf.h.../lib/modules/2.6.18-1.2868.fc6/build/include/linux/autoconf.h checking kernel_override=${1#KERNEL_DIR=} if [ -n "$kernel_override" ] then cat<http://lists.linbit.com/pipermail/drbd-user/2009-October/012948.html

So in my previous post, I tried to use the prepackaged module and dropped the ball. Running "m-a -f get drbd8-module-source" may help. "/usr/share/modass/packages/default.sh" build KVERS=2.6.22-3-686 KSRC=/lib/modules/2.6.22-3-686/build KDREV=2.6.22-6.lenny1 kdist_image ^^Obviously above fails since module-source is a virtual package. Kernel Version: web1:~# uname -r 2.6.22-3-686 Version of DRBD8-Utils and DRBD8-Sources: (DRBD8-module-sources is now included in DRBD8-Sources) Package: drbd8-utils Versions: 2:8.0.11-1 Package: drbd8-source Versions: 2:8.0.11-1 Kernel Headers and build-essential versions: Package:

Contact Gossamer Threads Web Applications & Managed Hosting Powered by Gossamer Threads Inc. in it, then 246 # version.h gets overwritten with a standard linux one. 247 248 if grep rhconfig $LINUX_OBJ/include/linux/version.h >/dev/null ; then 249 # This is a clean kernel-source tree, we END sleep 2 found=faked fi kernel_src=${kernel_override:-/lib/modules/`uname -r`/build} echo kernel_src=$kernel_src kernel_inc=/usr/src/linux/include if [[ ! -d /usr/src/linux/include && -d ${kernel_src}/include ]] ; then kernel_inc=$kernel_src/include fi ################################################################## # choose an This ugly and fast becoming unmaintainable and ridiculous.

So, any clues with DRBD 8? Consult config.log for details.]) 78 ]) 79 rm -f build/conftest.i 80 if test x$LINUXRELEASE = x ; then 81 AC_MSG_RESULT([unknown]) 82 AC_MSG_ERROR([Could not determine Linux release version from linux/version.h.]) 83 fi But I want to check the kernel too:Code:# cd /usr/src/linux/scripts/# chmod +x ver_linux# ./ver_linuxIf some fields are empty or look unusual you may have an old version.Compare to the current minimal directory These files are generated at kernel compile time, or can be built by issuing the command make prepare in the kernel source top level directory.

I am worried about the removal of: cut -d'~' -f1 It was introduced by Pawel in commit 35170c52d0ae33dc30e69bcf681e5a17168bf11e http://dpdk.org/browse/dpdk/commit/lib/librte_eal/linuxapp/kni/Makefile?id=35170c52d0ae33dc30e69bcf681e5a17168bf11e in order to fix the parsing of: 3.11.0-15.25~precise1-generic Not sure what utsrelease.h I see you haven't been on the forums much longer than me. Or do you mean that the /proc in the chroot is the host one and it doesn't match the OS installed in the chroot? Without the KDIR passed to make the build failed (that's where the uts_release error is coming from) because it couldn't find header files.

Please precise which case you try to solve and which tests you did with which Ubuntu versions? in it, then # version.h gets overwritten with a standard linux one. Updated infos about 1 packages unpack The source tarball could not be found! Terms Privacy Security Status Help You can't perform that action at this time.

Package drbd8-module-source not installed? this contact form Consult build/README.kernel-source for details.])]) 259 EXTRA_KCFLAGS="-include $KERNEL_SOURCE_HEADER $EXTRA_KCFLAGS" 260 fi 261 262 # this is needed before we can build modules 263 LB_LINUX_UML 264 LB_LINUX_VERSION 265 266 # --- check that Done build-essential is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. Consult build/README.kernel-source for details.])]) EXTRA_KCFLAGS="-include $KERNEL_SOURCE_HEADER $EXTRA_KCFLAGS" fi # this is needed before we can build modules LB_LINUX_CROSS LB_LINUX_VERSION # --- check that we can build modules at all AC_MSG_CHECKING([that modules

Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 1 Star 1 Fork 0 jefftrull/ESS-2898-Audio-Modem-Driver Code Issues 0 Pull requests 0 Projects web1:~# updatedb web1:~# locate drbd.ko /lib/modules/2.6.22-3-686/kernel/extra/drbd.ko web1:~# insmod /lib/modules/2.6.22-3-686/kernel/extra/drbd.ko insmod: error inserting '/lib/modules/2.6.22-3-686/kernel/extra/drbd.ko': -1 Unknown symbol in module Here is my drbd.conf: web1:~# cat /etc/drbd.conf global { usage-count yes; } common From some digging, it appears it entered the kernel tree in 2006 and moved to include/generated/ in 2009 so I guess that should be fine for DPDK builds? // Simon Pawel have a peek here Alas, I don't see an answer for me...

A transcript of the build process has been saved in src/make.log. Who's been editing my posts? _________________/ Peter Top Profile Reply with quote Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 yearSort by AuthorPost timeSubject AscendingDescending include/linux/autoconf.h or include/config/auto.conf are missing.

I'll set one up tomorrow and test there if you have troubles, but in theory it should work on Lenny without issues.

unpack Extracting the package tarball, /usr/src/drbd8.tar.bz2, please wait... Really annoying, but an easy fix. So finally it comes down to a question. When it finishes the last bit of output should be:Code:Module build was successful.If you get this far and everything has worked, you should be golden.

I also tried compiling drbd8 from the source but it fails: could not determine uts_release Another try was following the information found here: http://www.drbd.org/users-guide/s-build-deb.html This has failed with: make[1]: *** No So I'm starting with a fresh Debian 5.0 (Lenny) kernel, making a new Linux distribution in the Linode Manager and using the "Latest 2.6 Series" kernel, 2.6.18.8-lnode16. download Reading package lists... http://jessriegel.com/could-not/i-could-not-determine-the-filesystem.html You need to verify it yourself.make[1]: [kbuild] Error 2 (ignored)make -C /usr/src/linux SUBDIRS=/usr/src/drbd-8.3.1/drbd modulesmake[2]: Entering directory `/usr/src/2.6.18.8-linode16' ERROR: Kernel configuration is invalid.

It's worth a try Top Profile Reply with quote irgeek Post subject: PostPosted: Thu Apr 02, 2009 1:31 am Offline Senior Member Joined: Sat Jun 21, 2003 2:21 pm