sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
makke
Post subject:   PostPosted: Sep 15, 2008 - 03:31 PM



Joined: Nov 26, 2006
Posts: 171
Location: Hagen
Status: Offline
latest is 2.6.26-5.makke-rt9.4
Code:
apt-get install linux-image-2.6.26-5.makke-rt9.4-sidux-686 linux-headers-2.6.26-5.makke-rt9.4-sidux-686
 
 View user's profile Send private message  
Reply with quote Back to top
blackhole
Post subject:   PostPosted: Oct 01, 2008 - 05:48 PM



Joined: Dec 08, 2006
Posts: 110

Status: Offline
It seems that is impossible to compile the nvidia driver "The debian way" with the last realtime kernel. The nvidia driver is compiling fine with the last official sidux kernel. I am trying this command:
Quote:
m-a a-i -t -k /usr/src/linux-headers-$(uname -r) -l $(uname -r) nvidia

but the log file is:
Quote:

/usr/bin/make -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/Makefile || true
if [ 6 = 6 ]; then \
ln -s Makefile.kbuild Makefile ; \
fi
if [ 6 = 4 ]; then \
ln -s Makefile.nvidia Makefile ; \
fi
if [ -e patch-stamp ]; then \
dpatch deapply-all ; \
rm -rf patch-stamp debian/patched ; \
fi
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel/debian/control.template /usr/src/modules/nvidia-kernel/debian/control; \
fi
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean SYSSRC=/lib/modules/2.6.26-5.makke-rt9.4-sidux-686/build -C /usr/src/modules/nvidia-kernel/ -f Makefile
make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
rm -f /usr/src/modules/nvidia-kernel//Makefile || true;
rm /usr/src/modules/nvidia-kernel//gcc-check
rm /usr/src/modules/nvidia-kernel//cc-sanity-check
dh_clean
rm /usr/src/modules/nvidia-kernel/debian/control
rm /usr/src/modules/nvidia-kernel/debian/dirs
rm /usr/src/modules/nvidia-kernel/debian/override
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
echo "ROOT_CMD = "
ROOT_CMD =
/usr/bin/make -f debian/rules binary_modules
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/Makefile || true
if [ 6 = 6 ]; then \
ln -s Makefile.kbuild Makefile ; \
fi
if [ 6 = 4 ]; then \
ln -s Makefile.nvidia Makefile ; \
fi
if ! gcc-4.3 -v 2> /dev/null ; then \
echo "Compiler gcc-4.3 does not exist on the system" ; \
exit 1; \
fi
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel/debian/control.template /usr/src/modules/nvidia-kernel/debian/control; \
fi
if [ "i686" = "x86_64" ]; then \
cp /usr/src/modules/nvidia-kernel/nv-kernel.o.x86_64 /usr/src/modules/nvidia-kernel/nv-kernel.o ; \
fi
touch configure-stamp
dh_testdir
dh_testroot
PATCHLEVEL = 6
Kernel compiler version : 4.3.2
Detected compiler version : 4.3.2
Using compiler gcc-4.3 version 4.3.2
touch /usr/src/modules/nvidia-kernel//gcc-check
touch /usr/src/modules/nvidia-kernel//cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.3" /usr/bin/make -C /usr/src/modules/nvidia-kernel/ -f Makefile SYSSRC=/lib/modules/2.6.26-5.makke-rt9.4-sidux-686/build KBUILD_PARAMS="-C /lib/modules/2.6.26-5.makke-rt9.4-sidux-686/build SUBDIRS=/usr/src/modules/nvidia-kernel" module;
make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
NVIDIA: calling KBUILD...
make CC=gcc-4.3 -C /lib/modules/2.6.26-5.makke-rt9.4-sidux-686/build SUBDIRS=/usr/src/modules/nvidia-kernel modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.26-5.makke-rt9.4-sidux-686'
CC [M] /usr/src/modules/nvidia-kernel/nv.o
In file included from include/linux/list.h:6,
from include/linux/preempt.h:11,
from include/linux/spinlock.h:85,
from include/linux/seqlock.h:34,
from include/linux/time.h:8,
from include/linux/timex.h:57,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:19,
from /usr/src/modules/nvidia-kernel/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in arithmetic
In file included from include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:92,
from include/linux/pci.h:954,
from /usr/src/modules/nvidia-kernel/nv-linux.h:86,
from /usr/src/modules/nvidia-kernel/nv.c:14:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used in arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:109,
from /usr/src/modules/nvidia-kernel/nv.c:14:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in arithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in arithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in arithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in arithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in arithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in arithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in arithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in arithmetic
/usr/src/modules/nvidia-kernel/nv.c: In function ‘nv_alloc_file_private’:
/usr/src/modules/nvidia-kernel/nv.c:1887: error: implicit declaration of function ‘__SEMAPHORE_INITIALIZER’
/usr/src/modules/nvidia-kernel/nv.c:1887: error: invalid initializer
/usr/src/modules/nvidia-kernel/nv.c: In function ‘nv_lock_init_locks’:
/usr/src/modules/nvidia-kernel/nv.c:3783: error: invalid initializer
/usr/src/modules/nvidia-kernel/nv.c:3784: error: invalid initializer
make[4]: *** [/usr/src/modules/nvidia-kernel/nv.o] Error 1
make[3]: *** [_module_/usr/src/modules/nvidia-kernel] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-5.makke-rt9.4-sidux-686'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
make: *** [kdist_image] Error 2
 
 View user's profile Send private message  
Reply with quote Back to top
blackhole
Post subject:   PostPosted: Oct 02, 2008 - 04:29 PM



Joined: Dec 08, 2006
Posts: 110

Status: Offline
I discovered that, with nvidia 173.14.09, for the realtime kernel I had to change truct semaphore to struct compat_semaphore and __SEMAPHORE_INITIALIZER to __COMPAT_SEMAPHORE_INITIALIZER in the file nv-linux.h of the nvidia source...
 
 View user's profile Send private message  
Reply with quote Back to top
makke
Post subject:   PostPosted: Oct 13, 2008 - 04:14 PM



Joined: Nov 26, 2006
Posts: 171
Location: Hagen
Status: Offline
latest is 2.6.26-6.makke-rt11.1
Code:
apt-get install linux-image-2.6.26-6.makke-rt11.1-sidux-686 linux-headers-2.6.26-6.makke-rt11.1-sidux-686


/edit: now its rt11 instead of rt10
 
 View user's profile Send private message  
Reply with quote Back to top
horo
20 Post subject: 2.6.27.5-26rt11  PostPosted: Nov 28, 2008 - 07:32 AM



Joined: Dec 01, 2006
Posts: 66
Location: Berlin, Gemany
Status: Offline
Hi,

regarding this nice hint from brummer at LAU
Quote:
there is a patch for 2.6.27 avaluable here:

http://opensource1.windriver.com/gitweb ... rt/patches

I dont have test them for now I stay with 2.6.25.9-rt7

I tested the 2.6.27.5-26rt11 snapshot with "make oldconfig" from actual sidux kernel. The compile ended with an error in filesystem ubifs - after disabling that in .config I've got my shiny new kernel. It booted just fine but crashed on my old "labtop" i.e. "laboratory laptop" (snd-cs46xx) just after stopping a running jackd via qjackctl - gkrellm showed that the cpu ate 100% for about 20 seconds. Quitting and restarting qjackctl froze X and finally <ALT><CTRL><F1> resulted in a black screen Sad I had to shutdown with "<ALT><SysRq>REISUB".
I've done no more research - will wait until something new enters http://www.eu.kernel.org/pub/linux/kernel/projects/rt/

Ciao Martin

_________________
omnia vincit pecunia Sad
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio