Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Realtime kernel build quickie + bootsplash (or not)
Sure, you just need the appropriate realtime patch to match the kernel version you wish to build.alidh wrote:Hi,
Is it possible to do this with another kernel?
(I want to have is good but stable...., using testing).
Just skip the bootsplash patch of course!What are the commands if you don't want a bootsplash?
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
What should I have installed to be able to run unp?
make menuconfig give a whole lot of errors:
and:
Code: Select all
~/kernel$ unp linux-2.6.24.tar.bz2
bash: unp: command not found
Code: Select all
/home/dirk/kernel/linux-2.6.23.11-rt14# make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: Bestand of map bestaat niet
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: expected specifier-qualifier-list before ‘chtype’
scripts/kconfig/lxdialog/dialog.h:187: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:194: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:196: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:197: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:198: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:199: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:201: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:31: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:59: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:95: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c: In function ‘dialog_checklist’:
scripts/kconfig/lxdialog/checklist.c:116: error: ‘WINDOW’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: (Each undeclared identifier is reported only once
scripts/kconfig/lxdialog/checklist.c:116: error: for each function it appears in.)
scripts/kconfig/lxdialog/checklist.c:116: error: ‘dialog’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: ‘list’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: warning: left-hand operand of comma expression has no effect
scripts/kconfig/lxdialog/checklist.c:129: warning: implicit declaration of function ‘getmaxy’
scripts/kconfig/lxdialog/checklist.c:129: error: ‘stdscr’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:130: error: ‘KEY_MAX’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:131: warning: implicit declaration of function ‘getmaxx’
scripts/kconfig/lxdialog/checklist.c:137: error: ‘COLS’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:138: error: ‘LINES’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:140: warning: implicit declaration of function ‘draw_shadow’
scripts/kconfig/lxdialog/checklist.c:142: warning: implicit declaration of function ‘newwin’
scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function ‘keypad’
scripts/kconfig/lxdialog/checklist.c:143: error: ‘TRUE’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function ‘draw_box’
scripts/kconfig/lxdialog/checklist.c:146: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:146: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:147: warning: implicit declaration of function ‘wattrset’
scripts/kconfig/lxdialog/checklist.c:147: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of function ‘mvwaddch’
scripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of function ‘waddch’
scripts/kconfig/lxdialog/checklist.c:151: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:154: warning: implicit declaration of function ‘print_title’
scripts/kconfig/lxdialog/checklist.c:156: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:157: warning: implicit declaration of function ‘print_autowrap’
scripts/kconfig/lxdialog/checklist.c:164: warning: implicit declaration of function ‘subwin’
scripts/kconfig/lxdialog/checklist.c:171: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:171: error: ‘struct dialog_color’ has no member named ‘atr’
scripts/kconfig/lxdialog/checklist.c:189: warning: implicit declaration of function ‘print_item’
scripts/kconfig/lxdialog/checklist.c:192: warning: implicit declaration of function ‘print_arrows’
scripts/kconfig/lxdialog/checklist.c:195: warning: implicit declaration of function ‘print_buttons’
scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of function ‘wnoutrefresh’
scripts/kconfig/lxdialog/checklist.c:199: warning: implicit declaration of function ‘doupdate’
scripts/kconfig/lxdialog/checklist.c:202: warning: implicit declaration of function ‘wgetch’
scripts/kconfig/lxdialog/checklist.c:210: error: ‘KEY_UP’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:210: error: ‘KEY_DOWN’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:220: error: ‘FALSE’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:221: warning: implicit declaration of function ‘scrollok’
scripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of function ‘wscrl’
scripts/kconfig/lxdialog/checklist.c:232: warning: implicit declaration of function ‘wrefresh’
scripts/kconfig/lxdialog/checklist.c:293: warning: implicit declaration of function ‘delwin’
scripts/kconfig/lxdialog/checklist.c:297: error: ‘KEY_LEFT’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:298: error: ‘KEY_RIGHT’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:310: warning: implicit declaration of function ‘on_key_esc’
scripts/kconfig/lxdialog/checklist.c:312: error: ‘KEY_RESIZE’ undeclared (first use in this function)
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Fout 1
make: *** [menuconfig] Fout 2
studio32:/home/dirk/kernel/linux-2.6.23.11-rt14#
Code: Select all
/home/dirk/kernel/linux-2.6.23.11-rt14# Processor type and features> Preemption Mode (Complete Preemption (Real-Time))
bash: syntax error near unexpected token `('
Code: Select all
apt-get install unp libncurses5-dev
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
It's there.
Code: Select all
# apt-cache policy libncurses5-dev
libncurses5-dev:
Installed: 5.6+20080203-1
Candidate: 5.6+20080203-1
Version table:
*** 5.6+20080203-1 0
500 http://ftp.us.debian.org testing/main Packages
500 http://ftp.us.debian.org unstable/main Packages
100 /var/lib/dpkg/status
5.5-5 0
500 http://ftp.us.debian.org etch/main Packages
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
[/code]# Processor type and features> Preemption Mode (Complete Preemption (Real-Time))
bash: syntax error near unexpected token `('
[/code]
I'll keep having this message although I've install:
bash: syntax error near unexpected token `('
[/code]
Code: Select all
# Processor type and features>Timer frequency (1000 HZ)
bash: syntax error near unexpected token `('
Code: Select all
# apt-cache policy libncurses5-dev
libncurses5-dev:
Geïnstalleerd (installed): 5.6+20080203-1
Not sure why you get that error. Did you apply the proper patch to the proper kernel source? The last good rt kernel that I have used is 2.6.23.1-rt5. I already have the patched source available here should you care to try it.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
patched source? So I can skip these commands?mzilikazi wrote:Not sure why you get that error. Did you apply the proper patch to the proper kernel source? The last good rt kernel that I have used is 2.6.23.1-rt5. I already have the patched source available here should you care to try it.
Code: Select all
wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
wget ftp://ftp.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.24-rt1.bz2
wget http://fatcat.ftj.agh.edu.pl/~przyboro/other/bootsplash/bootsplash-3.1.6-2.6.24.diff
unp linux-2.6.24.tar.bz2
cd linux-2.6.24
patch -p1 <../bootsplash-3.1.6-2.6.24.diff
bzcat ../patch-2.6.24-rt1.bz2|patch -p1
cd ..
mv linux-2.6.24/ linux-2.6.24-rt1
Code: Select all
:~/kernels/linux-2.6.23.1-rt5$ make menuconfig
make: *** Er is geen regel om doel 'menuconfig' te maken. Gestopt.
Code: Select all
make: *** There's no line to make goal 'menuconfig'. Stopped
Use wget to fetch the source.
Then continue on as usual.
Code: Select all
wget http://www.hotlinkfiles.com/files/646109_jx15j/linux-2.6.23.1-rt5.bz2
unp linux-2.6.23.1-rt5.bz2
cd linux-2.6.23.1-rt5
make oldconfig
make menuconfig
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
It's not a quickie build for me
When I want to unpack the file I'll get:
When I want to unpack the file I'll get:
Code: Select all
bzcat: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzcat: Success
Input file = linux-2.6.23.1-rt5.bz2, output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
linux-2.6.23.1-rt5/fs/nfs/nfs4state.c
linux-2.6.23.1-rt5/fs/nfs/nfs4proc.c
tar: Onverwacht einde-van-bestand in archief
tar: Onverwacht einde-van-bestand in archief
tar: Fout is niet herstelbaar -- tar sluit nu af.
studio32:/home/dirk/kernels#
I just downloaded and extracted the tarball and it was fine. Did you use wget to download the file or a web browser? wget is the preferred method. Also you can check the md5sum:
Result should be:
Then just extract it
Code: Select all
md5sum linux-2.6.23.1-rt5.bz2
Code: Select all
0d4b48f1a0890d2bccd58ad4eb862980 linux-2.6.23.1-rt5.bz2
Code: Select all
tar xjvf linux-2.6.23.1-rt5.bz2
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
Looks like it was skipped but I see that 2.6.24.7 & 2.6.25.4 just showed upjongi wrote:typically how long does it take for a rt patch? I see 2.6.24.5 has no rt patches.
http://www.kernel.org/pub/linux/kernel/projects/rt/
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
So, I tried compiling once more, without result. Here's what I do:
1) Get kernel source
2) Patch it with RT
3) Compile kernel
4) Install kernel
5) Restart computer and chose new kernel on boot time
6) I do install NVIDIA drivers (without any problem) [m-a a-i nvidia]
7) I restart computer once more
X.org doesn't start - I get only black screen
What is wrong? Is realtime prempt patch x86 only? Or there's something else?
1) Get kernel source
2) Patch it with RT
3) Compile kernel
4) Install kernel
5) Restart computer and chose new kernel on boot time
6) I do install NVIDIA drivers (without any problem) [m-a a-i nvidia]
7) I restart computer once more
X.org doesn't start - I get only black screen
What is wrong? Is realtime prempt patch x86 only? Or there's something else?
Hadret wrote: What is wrong? Is realtime prempt patch x86 only? Or there's something else?
Code: Select all
modprobe nvidia
/etc/init.d/gdm start
Code: Select all
/etc/init.d/kdm start
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
I don't use any of these (rungetty r0xx). In kernel 2.6.25 from repositories, NVIDIA drivers are working just fine, only when I compile my own kernel they doesn't workmzilikazi wrote:orCode: Select all
modprobe nvidia /etc/init.d/gdm start
Code: Select all
/etc/init.d/kdm start
I'll give it a try, thank you! (:mzilikazi wrote:]I always thought it easier to build the nvidia module against your new kernel before booting into it. To do this, you must be in the same dir as your kernel source. See the bottom of the howto for that.