Hi :) all I wanted to do was to build kernel 2.6.31.12-rt20 for Karmic x86, but I noticed that since yesterday the current rt patch for 2.6.31.12 is rt21, so I started building kernel 2.6.31.12-rt21. My 64 Studio 3.0-beta3 amd64 still runs kernel 2.6.31.12-rt20. My next step should be to build kernel 2.6.31.12-rt21 for 64 Studio too, but before I'll do this, I like to clarify some issues that occurred for Karmic. I guess it will be the same for 64 Studio.
The first issue I noticed is, that I might have set up the kernels configs bad, also for 64 Studio's kernel: t...@openartist:~$ cat /media/studio3.0/boot/config-2.6.31.12-rt20 | grep NR_CPUS CONFIG_NR_CPUS=2 t...@openartist:~$ cat /media/studio3.0/boot/config-2.6.31.12-rt20 | grep SPLIT_PTLOCK_CPUS CONFIG_SPLIT_PTLOCK_CPUS=4 Does anybody know what SPLIT_PTLOCK_CPUS is for and if this set up is correctly? NR_CPUS is set up to fit to my machine, but I wonder if the value for SPLIT_PTLOCK_CPUS is okay. The other issue is, that building a kernel with patch-2.6.31.12-rt21 there's trouble because of the comedi drivers, the rt2870 driver, the rt3070 driver [1] and perhaps there will be some additional issues, compiling still is in progress. Scroogleing [2] for issues because of this drivers it seems to be, that ever now and again this is an issue because of rt patches. Did someone build kernel 2.6.31.12-rt21? Cheers! Ralf [1] [snip] drivers/staging/comedi/drivers/quatech_daqp_cs.c: In function ‘daqp_interrupt’: drivers/staging/comedi/drivers/quatech_daqp_cs.c:308: error: implicit declaration of function ‘up’ drivers/staging/comedi/drivers/quatech_daqp_cs.c: In function ‘daqp_ai_insn_read’: drivers/staging/comedi/drivers/quatech_daqp_cs.c:421: error: implicit declaration of function ‘sema_init’ drivers/staging/comedi/drivers/quatech_daqp_cs.c:434: error: implicit declaration of function ‘down_interruptible’ make[5]: *** [drivers/staging/comedi/drivers/quatech_daqp_cs.o] Error 1 make[4]: *** [drivers/staging/comedi/drivers] Error 2 make[3]: *** [drivers/staging/comedi] Error 2 make[2]: *** [drivers/staging] Error 2 make[1]: *** [drivers] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.31.12-rt21/linux' make: *** [debian/stamp/build/kernel] Error 2 t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ cat .config | grep COMEDI CONFIG_COMEDI=m # CONFIG_COMEDI_DEBUG is not set CONFIG_COMEDI_PCI_DRIVERS=m CONFIG_COMEDI_PCMCIA_DRIVERS=m CONFIG_COMEDI_USB_DRIVERS=m t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ gedit .config t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ cat .config | grep COMEDI # CONFIG_COMEDI is not set # CONFIG_COMEDI_DEBUG is not set # CONFIG_COMEDI_PCI_DRIVERS is not set # CONFIG_COMEDI_PCMCIA_DRIVERS is not set # CONFIG_COMEDI_USB_DRIVERS is not set t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ make oldconfig scripts/kconfig/conf -o arch/x86/Kconfig # # configuration written to .config # t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ make-kpkg clean [snip] t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ echo $MAKEFLAGS CONCURRENCY-LEVEL=2 t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ make-kpkg --rootcmd fakeroot --initrd --append-to-version=-1 kernel-image kernel-headers kernel-source [snip] drivers/staging/rt2870/common/2870_rtmp_init.c: In function ‘CreateThreads’: drivers/staging/rt2870/common/2870_rtmp_init.c:754: error: implicit declaration of function ‘semaphore_init_locked’ make[4]: *** [drivers/staging/rt2870/common/2870_rtmp_init.o] Error 1 make[3]: *** [drivers/staging/rt2870] Error 2 make[2]: *** [drivers/staging] Error 2 make[1]: *** [drivers] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.31.12-rt21/linux' make: *** [debian/stamp/build/kernel] Error 2 t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ cat .config | grep 2870 CONFIG_RT2870=m t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ gedit .config t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ cat .config | grep 2870 # CONFIG_RT2870 is not set t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ make oldconfig scripts/kconfig/conf -o arch/x86/Kconfig # # configuration written to .config # t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ make-kpkg clean [snip] t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ echo $MAKEFLAGS CONCURRENCY-LEVEL=2 t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ make-kpkg --rootcmd fakeroot --initrd --append-to-version=-1 kernel-image kernel-headers kernel-source [snip] In file included from drivers/staging/rt3070/common/2870_rtmp_init.c:1: drivers/staging/rt3070/common/../../rt2870/common/2870_rtmp_init.c: In function ‘CreateThreads’: drivers/staging/rt3070/common/../../rt2870/common/2870_rtmp_init.c:754: error: implicit declaration of function ‘semaphore_init_locked’ make[4]: *** [drivers/staging/rt3070/common/2870_rtmp_init.o] Error 1 make[3]: *** [drivers/staging/rt3070] Error 2 make[2]: *** [drivers/staging] Error 2 make[1]: *** [drivers] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.31.12-rt21/linux' make: *** [debian/stamp/build/kernel] Error 2 t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ cat .config | grep 3070 CONFIG_RT3070=m t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ gedit .config t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ cat .config | grep 3070 # CONFIG_RT3070 is not set t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ make oldconfig scripts/kconfig/conf -o arch/x86/Kconfig # # configuration written to .config # t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ make-kpkg clean [snip] t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ sudo ntpdate ntp.favey.ch [sudo] password for tux: 19 Feb 13:23:00 ntpdate[2891]: adjust time server 195.34.89.227 offset -0.245167 sec t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ echo $MAKEFLAGS CONCURRENCY-LEVEL=2 t...@openartist:/usr/src/linux-2.6.31.12-rt21/linux$ make-kpkg --rootcmd fakeroot --initrd --append-to-version=-1 kernel-image kernel-headers kernel-source [2] http://www.scroogle.org/cgi-bin/scraper.htm _______________________________________________ 64studio-users mailing list [email protected] http://lists.64studio.com/mailman/listinfo/64studio-users
