View Full Version : How To Compile the new 2.6.16 kernel from kernel.org
xXx 0wn3d xXx
April 9th, 2006, 01:07 PM
I just finished compiling the newest 2.6.16 kernel from kernel.org and I am getting much better performance. In what follows, I will show you how to compile and configure the latest kernel. You do not need to use the 2.6.16 kernel but it is the first kernel of the release kernel and performance patches are only made for these releases. (ex: 2.6.16, 2.6.17 NOT 2.6.16.20) Feel free to compile a kernel besides the first release cycle kernel. You do not need the patch and you can configure the kernel for maxium speed in xconfig. A tutorial to optimize the kernel you are building can be found here. (http://ubuntuforums.org/showpost.php?p=1174954&postcount=507)
Before you begin, you will need to get a kernel
Download the 2.6.16 kernel and it's performance patch: The 2.6.16 kernel (http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2)
Latest Kernel Patch (http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/2.6.16/2.6.16-ck12/patch-2.6.16-ck12.bz2) Don't apply the patch if you are compiling a kernel other then 2.6.16 otherwise the kernel will not compile.
Check out kernel.org for the latest stable/release canidate kernel.
1. Install needed utilities to configure the kernel
sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev
2. Now we are going to move the kernel and unpack it.
sudo cp linux-2.6.16.tar.bz2 /usr/src
3. Now we are going to move to /usr/src
cd /usr/src
4. Now unpack it:
sudo tar -xvjf linux-2.6.16.tar.bz2
5. Rename the folder: ONLY needed for 2.6.16 kernel ! You don't need to do this.
sudo mv linux-2.6.16/ linux-2.6.16ck12
6. Now we are going to remove the link to the linux directory:
sudo rm -rf linux
7. Make a new link to the new kernel:
sudo ln -s /usr/src/linux-2.6.16ck12 linux
8. Move to the Linux directory:
cd /usr/src/linux
9. Make yourself root:
sudo -s -H
10. Apply the performance patch: Don't use if you are not patching the 2.6.16 kernel !
bzcat /home/$USER/patch-2.6.16-ck12.bz2| patch -p1
11. Now we are going to import your current kernel configuration:
uname -r
12. Now import it: Make sure to replace the kernel version in this following command from the one from uname -r.
sudo cp /boot/config-2.6.14-ck1 .config
13.Configure the kernel:
make xconfig
Here are some performance tips from this thread. (http://ubuntuforums.org/showthread.php?t=84174&highlight=compile+kernels)
In "General Setup" activate:
-Support for paging of anonymous memory (swap)
--Support for prefetching swapped memory
In "Processor type and features":
-Processor family Choose the model of your processor.
Activate:
-Preemption Model
--Voluntary Kernel Preemption (Desktop)
-High Memory Support
--off -if you have less than 1 GB of RAM
--1GB Low Memory Support -if you have 1GB of RAM
--4GB -if you have more than 1GB of RAM
-Timer frequency
--1000 Hz
In "Device drivers" go to "Block devices" and in "IO Schedulers" leave only the "CFQ I/O scheduler" activated, which provides the best performance.
In "Kernel hacking" uncheck "Kernel debugging".
Ctrl+S to save the kernel configuration and then close the window.
Note: Not all the options will be the same in newer kernels.
14. Let's build the kernel: Make sure that you are in /usr/src/linux with full root access. Make sure that you are. This will build a debian file that you can install.
Now, in terminal do the following:
make-kpkg clean
make-kpkg -initrd --revision=ck12 kernel_image kernel_headers modules_image
Note: You can replace "ck12" with anything you want. Like "k7" or "686."
15. Install the .deb fine in /usr/src. In terminal do
sudo dpkg -i <name of the file>
Now reboot and you will have a much faster system !
-------------------------------------------------------------------------
How I learned to do this:
2.6.14 Vanilla Kernel (http://ubuntuforums.org/showthread.php?t=84174&highlight=compile+kernels) I based my tutorial on this thread. Thank you for writing this tutorial RubenGonc !
And I also learned some stuff from this thread (http://ubuntuforums.org/showthread.php?t=85064&highlight=compile+kernel)
-------------------------------------------------------------------------
Troubleshooting:
Q: My Wifi Doesn't work !
A:To get wifi working, compile the new ndiswrapper from source. Follow the tutorial. (http://ubuntuforums.org/showthread.php?t=104539&highlight=compile+ndiswrapper+source)
Q: When I reboot I get Grub Error 22 ! WTF ???
A: You may have missed a step or messed something up. When it says Grub Loading..... press esc and you will be able to boot with another kernel. Then you should go into synaptic and uninstall the broken kernel and then reompile it.
--------------------------------------------------------------------------------
Q: How can I get fglrx and DRI working on my new kernel ?
A: Type this in terminal:
sudo apt-get install fglrx-kernel-source
Reboot and if that does not work, make sure fglrx is in the Driver section.
---------------------------------------------------------------------------------
Q: I need kernel headers for my custom kernel.
A: I updated the howto and edited the last step to build a kernel image, kernel module image, and kernel headers. Thank you to tseliot for his kernel thread because I found the command there. You can view the thread here. (http://ubuntuforums.org/showthread.php?t=85064&highlight=custom+compile)
------------------------------------------------------------------------------------
Q: I want to optimize my kernel ! What do I select ???
A: I just wrote this tutorial (http://ubuntuforums.org/showpost.php?p=1174954&postcount=507) on how to configure your kernel for enhanced performance. I hope it (http://ubuntuforums.org/showpost.php?p=1174954&postcount=507) helps.
----------------------------------------------------------------------------------------
Q: Why did you write this tutorial ?
A: I wrote this tutorial to help give back to the Ubuntu community. I've had such a good expericence with ubuntu that I want to help others. This community is great :)
dicecca112
April 9th, 2006, 04:37 PM
should be name of file for 16th step
also didn't work for me, there is no option to boot the 2.6.16 kernel in my grub
Juanito
April 9th, 2006, 05:41 PM
Did you try manually adding the parameters to /boot/grub/menu.lst?
xXx 0wn3d xXx
April 9th, 2006, 05:52 PM
Did you try manually adding the parameters to /boot/grub/menu.lst?
or sudo update-grub. I just ran through the tutorial again and I compilied the kernel and the set it up and it worked.
dicecca112
April 9th, 2006, 06:43 PM
weird, it shows in the menu.lst. but not in my grub. ran update-grub too and it shows up there, but not on boot
xXx 0wn3d xXx
April 9th, 2006, 07:04 PM
weird, it shows in the menu.lst. but not in my grub. ran update-grub too and it shows up there, but not on boot
That's weird...check if it's hidden. Also, after upgrading up to this kernel, my sound works and it never did before !
dicecca112
April 9th, 2006, 07:42 PM
how come the path reads number-cks3 and on step 8 it says sudo ln -s /usr/src/linux-2.6.16ck3 linux
Juanito
April 9th, 2006, 08:17 PM
I copied and pasted everything and succeeded! now I can suspend and resume!!!!! but I still don't have wifi.
dpicker
April 9th, 2006, 08:23 PM
To get usplash you need to make sure you enable this in the config:
Graphics support:
-VGA 16-color graphics support - module (m)
-VESA VGA graphics support - build in kernel (y)
Console display driver support:
-VGA text console and Video mode selection support- build in kernel (y)
-MDA text console-module (m)
-Framebuffer Console and Framebuffer Console Rotation support-build in kernel (y)
Not sure how to change from "m" to "y" and vice versa in xconfig so I opened the .config file in gedit and checked it manually.
Archck patch includes the Con Kolivas patch but with lots of other cool things too like acpi updates and suspend2 but I had trouble compiling it.
It's here if you wanna hava a go: http://iphitus.loudas.com/archck.php
berserker
April 9th, 2006, 08:39 PM
EDIT: Code corrected.
Thios
April 9th, 2006, 08:48 PM
Hi... Would anyone happen to know how to enable iptables support for the 2.6.16-ck3 kernel? Firestarter won't start without it...
R3linquish3r
April 9th, 2006, 08:54 PM
Thats not a link to the patchset thats a link to the folder that the kernel is in before you compile it.
dicecca112
April 9th, 2006, 09:04 PM
That's weird...check if it's hidden. Also, after upgrading up to this kernel, my sound works and it never did before !
how do I do that?
xXx 0wn3d xXx
April 9th, 2006, 09:15 PM
Hi... Would anyone happen to know how to enable iptables support for the 2.6.16-ck3 kernel? Firestarter won't start without it...
Iptables starts but firestarter doesn't reconize it. Youb don't need firestarter anyway.
R3linquish3r
April 9th, 2006, 10:00 PM
K well that completely drove me away from kernal compilation....
I dont know what I messed up but when I booted into the kernel it started in Failsafe. I logged in and when I went to start X it panicked. I booted my old kernel (2.6.12 ancient!) and THAT started in failsafe but X started at least. I uninstalled the package and now everything is back to normal. Think I'll wait till Dapper is released then do a fresh install of that so I have the latest kernel.
xXx 0wn3d xXx
April 9th, 2006, 10:23 PM
K well that completely drove me away from kernal compilation....
I dont know what I messed up but when I booted into the kernel it started in Failsafe. I logged in and when I went to start X it panicked. I booted my old kernel (2.6.12 ancient!) and THAT started in failsafe but X started at least. I uninstalled the package and now everything is back to normal. Think I'll wait till Dapper is released then do a fresh install of that so I have the latest kernel.
Very well, I would try and get comfortable with compiling kernels, once you compile your first one, the rest are simple. I origionally broke my system when I tried to install the 2.14.2 kernel but I got it the second time. I also tried to compile this kernel but it didn't work. I then compiled it again and it works great.
dxdemetriou
April 9th, 2006, 10:59 PM
It's time to start my first community :)
I have followed all steps and the Kernel is building..
If something goes wrong, what must I do to rebuild the deb package?
What must I do for "make clean"?
I have build the Kernel in the past but not on the Debian based system, and I haven't try to rebuild the same kernel.
shorty0927
April 9th, 2006, 11:02 PM
*new to linux*
Well, things were going along smoothly until step 11. Since I downloaded the kernel and patch to my desktop, I had to put that into the path. Apparently, I must have forgotten to type in the pipe and everything after, because nothing happened. Then when I got to step 15, I got an error (but I don't know what it was, because it scrolled off the terminal). So after realizing I missed some things after the pipe, I tried re-typing it and I got launched into some program that wanted me to verify every little element of the patch (I think). This wasn't in your instructions, so I'm panicking. A snippet from the program that started up is below. If anyone can get me out of whatever hole I've dug myself into.
can't find file to patch at input line 7819
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: linux-2.6.16-ck3/arch/x86_64/Makefile
|================================================= ==================
|--- linux-2.6.16-ck3.orig/arch/x86_64/Makefile 2006-04-02 13:04:38.000000000 +1000
|+++ linux-2.6.16-ck3/arch/x86_64/Makefile 2006-04-02 13:05:11.000000000 +1000
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 7834
Perhaps you used the wrong -p or --strip option?
etc, etc, etc....
Juanito
April 9th, 2006, 11:26 PM
For future reference, you can copy and paste things into Konsole or Yakuake ;)
****+ins
dxdemetriou
April 9th, 2006, 11:52 PM
The new kernel works fine
The problem I have is with the motherboard
I don't know why, but it can't show the name of cards, or show other names
I have tested my tvcard on Athlon PC, and it works, but no on Intel PC the same tvcard.
I have upgraded my kernel beliving that it can recognize my motherboard
I don't know what goes wrong (and sorry if this is not the thread for that :)), but if somebody had the same problem and can help...
I have seen the names from lspci
-----------------------------------------------
0000:00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0259
0000:00:00.1 Host bridge: VIA Technologies, Inc.: Unknown device 1259
0000:00:00.2 Host bridge: VIA Technologies, Inc.: Unknown device 2259
0000:00:00.3 Host bridge: VIA Technologies, Inc.: Unknown device 3259
0000:00:00.4 Host bridge: VIA Technologies, Inc.: Unknown device 4259
0000:00:00.7 Host bridge: VIA Technologies, Inc.: Unknown device 7259
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
0000:00:09.0 Multimedia controller: Philips Semiconductors SAA7130 Video Broadcast Decoder (rev 01)
0000:00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78 )
0000:01:00.0 VGA compatible controller: VIA Technologies, Inc.: Unknown device 3118 (rev 02)
-----------------------------------------
Thanks
Dropknee
April 10th, 2006, 12:37 AM
In "Device drivers" go to "Block devices" and in "IO Schedulers" leave only the "CFQ I/O scheduler" activated, which provides the best performance.
Dont know why I dont have in "Device drivers" the opcion IO Schedulers.
anyone have this same prob??
dxdemetriou
April 10th, 2006, 01:15 AM
Another problem.. ;)
--------------------------------
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.
----------------------------------
I have checked all kernel directories in /usr/src/linux(version)/include, but nothing
Dropknee
April 10th, 2006, 02:00 AM
Well new kernel up and running but need the splash screen :( Im goint to work with my wireless now, the strage thing is the default Ubuntu kernel have my Wireless drivers, and only with sudo ifconfig wlan up make my wireless appear, but now this dont work, I still have the drivers, but need to enable.....
Time to work lol
Rizado
April 10th, 2006, 02:05 AM
To get usplash you need to make sure you enable this in the config:
Graphics support:
-VGA 16-color graphics support - module (m)
-VESA VGA graphics support - build in kernel (y)
Console display driver support:
-VGA text console and Video mode selection support- build in kernel (y)
-MDA text console-module (m)
-Framebuffer Console and Framebuffer Console Rotation support-build in kernel (y)
Not sure how to change from "m" to "y" and vice versa in xconfig so I opened the .config file in gedit and checked it manually.
Archck patch includes the Con Kolivas patch but with lots of other cool things too like acpi updates and suspend2 but I had trouble compiling it.
It's here if you wanna hava a go: http://iphitus.loudas.com/archck.phpCould this (http://dev.gentoo.org/~spock/projects/vesafb-tng/) work with usplash? I've tried it but I never got the usplash picture but I don't think I enabled the other stuff. Regular vesa doesn't work at all.
I see you recommend archck and vesafb-tng is included in that.
There's nothing called MDA text console-module in this kernel...
atlas95
April 10th, 2006, 04:14 AM
I have the spalsh but my ethernet doesn't work and my FAT32 partitions doesn't work too :/
Do you know how to resolve this ?
Thanks
Thios
April 10th, 2006, 07:19 AM
Iptables starts but firestarter doesn't reconize it. Youb don't need firestarter anyway.
Thanks for the reply.
After running xconfing I can see the option networking support/networking options/TCPIP networking/network paket filtering/core netfilter configuration/netfilter xtables support, which is unchecked. Its description says "This is required if you intend to use any of ip_tables,
ip6_tables or arp_tables."
It seems to me that my make oldconfig misses it...
So, my question is: how can I tell if iptables does actually work? And if it doesn't, how can I make it work?
Eazy©
April 10th, 2006, 07:50 AM
I have the spalsh but my ethernet doesn't work and my FAT32 partitions doesn't work too :/
Do you know how to resolve this ?
Thanks
Think you need to do this: http://doc.gwos.org/index.php/Mount_filesystem_new_kernel
in order to mount your local filesystem. When I compiled kernel 2.6.15 this worked anyway. Haven't tested with the latest kernel. So I'm afraid you have to compile again.
IsSuE
April 10th, 2006, 07:55 AM
i tried compiling the source, but i always get an error when i try to install the created .deb package:
Richte kernel-image-2.6.16-cks3 ein (kiwiv1) ...
Cannot find /lib/modules/2.6.16-cks3
Failed to create initrd image.
dpkg: Fehler beim Bearbeiten von kernel-image-2.6.16-cks3 (--install):
Unterprozess post-installation script gab den Fehlerwert 2 zurück
Fehler traten auf beim Bearbeiten von:
kernel-image-2.6.16-cks3
sorry that it is in german, but the main error is in english
magnusbb
April 10th, 2006, 09:13 AM
Have the pmount issues from earlier kernel compilations been fixed?
sYs^
April 10th, 2006, 09:43 AM
Hi!
Is this patch working with the latest version kernel? (2.6.16.2)?
When I tried to apply the patch I got these lines:
sudo bzcat /home/dani/patch-2.6.16-cks3.bz2| patch -p1
patching file include/linux/sched.h
patching file kernel/sched.c
Hunk #6 FAILED at 153.
Hunk #7 succeeded at 203 (offset 1 line).
Hunk #8 succeeded at 212 (offset 1 line).
Hunk #9 succeeded at 222 (offset 1 line).
Hunk #10 succeeded at 248 (offset 1 line).
Hunk #11 succeeded at 270 (offset 1 line).
Hunk #12 succeeded at 407 (offset 1 line).
Hunk #13 succeeded at 445 (offset 1 line).
Hunk #14 succeeded at 504 (offset 1 line).
Hunk #15 succeeded at 638 (offset 1 line).
Hunk #16 succeeded at 647 (offset 1 line).
Hunk #17 succeeded at 831 (offset 1 line).
Hunk #18 succeeded at 844 (offset 1 line).
Hunk #19 succeeded at 873 (offset 1 line).
Hunk #20 succeeded at 910 (offset 1 line).
Hunk #21 succeeded at 930 (offset 1 line).
Hunk #22 succeeded at 938 (offset 1 line).
Hunk #23 succeeded at 968 (offset 1 line).
Hunk #24 succeeded at 993 (offset 1 line).
Hunk #25 succeeded at 1005 (offset 1 line).
Hunk #26 succeeded at 1014 (offset 1 line).
Hunk #27 succeeded at 1051 (offset 1 line).
Hunk #28 succeeded at 1105 (offset 1 line).
Hunk #29 succeeded at 1116 (offset 1 line).
Hunk #30 succeeded at 1138 (offset 1 line).
Hunk #31 succeeded at 1190 (offset 1 line).
Hunk #32 succeeded at 1213 (offset 1 line).
Hunk #33 succeeded at 1257 (offset 1 line).
Hunk #34 succeeded at 1274 (offset 1 line).
Hunk #35 succeeded at 1319 (offset 1 line).
Hunk #36 succeeded at 1365 (offset 1 line).
Hunk #37 succeeded at 1374 (offset 1 line).
Hunk #38 succeeded at 1385 (offset 1 line).
Hunk #39 succeeded at 1415 (offset 1 line).
Hunk #40 succeeded at 1432 (offset 1 line).
Hunk #41 succeeded at 1442 (offset 1 line).
Hunk #42 succeeded at 1452 (offset 1 line).
Hunk #43 succeeded at 1463 (offset 1 line).
Hunk #44 succeeded at 1493 (offset 1 line).
Hunk #45 succeeded at 1675 with fuzz 2 (offset 4 lines).
Hunk #46 FAILED at 1689.
Hunk #47 FAILED at 1725.
Hunk #48 succeeded at 1740 (offset 4 lines).
Hunk #49 succeeded at 1783 (offset 4 lines).
Hunk #50 succeeded at 1834 (offset 4 lines).
Hunk #51 succeeded at 1886 (offset 4 lines).
Hunk #52 succeeded at 1915 (offset 4 lines).
Hunk #53 succeeded at 1943 (offset 4 lines).
Hunk #54 succeeded at 1963 (offset 4 lines).
Hunk #55 succeeded at 1976 (offset 4 lines).
Hunk #56 succeeded at 1996 (offset 4 lines).
Hunk #57 succeeded at 2010 (offset 4 lines).
Hunk #58 succeeded at 2038 (offset 4 lines).
Hunk #59 succeeded at 2085 (offset 4 lines).
Hunk #60 succeeded at 2109 (offset 4 lines).
Hunk #61 succeeded at 2157 (offset 4 lines).
Hunk #62 succeeded at 2242 (offset 4 lines).
Hunk #63 succeeded at 2276 (offset 4 lines).
Hunk #64 succeeded at 2302 (offset 4 lines).
Hunk #65 succeeded at 2324 (offset 4 lines).
Hunk #66 succeeded at 2357 (offset 4 lines).
Hunk #67 succeeded at 2378 (offset 4 lines).
Hunk #68 succeeded at 2409 (offset 4 lines).
Hunk #69 succeeded at 2466 (offset 4 lines).
Hunk #70 succeeded at 2489 (offset 4 lines).
Hunk #71 succeeded at 2503 (offset 4 lines).
Hunk #72 succeeded at 2536 (offset 4 lines).
Hunk #73 succeeded at 2563 (offset 4 lines).
Hunk #74 succeeded at 2610 (offset 4 lines).
Hunk #75 succeeded at 2684 (offset 4 lines).
Hunk #76 succeeded at 2730 (offset 4 lines).
Hunk #77 succeeded at 2769 (offset 4 lines).
Hunk #78 succeeded at 2778 (offset 4 lines).
Hunk #79 succeeded at 2797 (offset 4 lines).
Hunk #80 succeeded at 2832 (offset 4 lines).
Hunk #81 succeeded at 2863 (offset 4 lines).
Hunk #82 succeeded at 2877 (offset 4 lines).
Hunk #83 succeeded at 2901 (offset 4 lines).
Hunk #84 succeeded at 2939 (offset 4 lines).
Hunk #85 succeeded at 2970 (offset 4 lines).
Hunk #86 succeeded at 2993 (offset 4 lines).
Hunk #87 succeeded at 3009 (offset 4 lines).
Hunk #88 succeeded at 3146 (offset 4 lines).
Hunk #89 succeeded at 3438 (offset 4 lines).
Hunk #90 succeeded at 3461 (offset 4 lines).
Hunk #91 succeeded at 3575 (offset 4 lines).
Hunk #92 succeeded at 3584 (offset 4 lines).
Hunk #93 succeeded at 3593 (offset 4 lines).
Hunk #94 succeeded at 3622 (offset 4 lines).
Hunk #95 succeeded at 3651 (offset 4 lines).
Hunk #96 succeeded at 3662 (offset 4 lines).
Hunk #97 succeeded at 3677 (offset 4 lines).
Hunk #98 succeeded at 3697 (offset 4 lines).
Hunk #99 succeeded at 3711 (offset 4 lines).
Hunk #100 succeeded at 3720 (offset 4 lines).
Hunk #101 succeeded at 3748 (offset 4 lines).
Hunk #102 succeeded at 3763 (offset 4 lines).
Hunk #103 succeeded at 3773 (offset 4 lines).
Hunk #104 succeeded at 3800 (offset 4 lines).
Hunk #105 succeeded at 3836 (offset 4 lines).
Hunk #106 succeeded at 3892 (offset 4 lines).
Hunk #107 succeeded at 3920 (offset 4 lines).
Hunk #108 succeeded at 3951 (offset 4 lines).
Hunk #109 succeeded at 3972 (offset 4 lines).
Hunk #110 succeeded at 4127 (offset 4 lines).
Hunk #111 succeeded at 4138 (offset 4 lines).
Hunk #112 succeeded at 4153 (offset 4 lines).
Hunk #113 succeeded at 4164 (offset 4 lines).
Hunk #114 succeeded at 4180 (offset 4 lines).
Hunk #115 succeeded at 4201 (offset 4 lines).
Hunk #116 succeeded at 4318 (offset 4 lines).
Hunk #117 succeeded at 4421 (offset 4 lines).
Hunk #118 succeeded at 4440 (offset 4 lines).
Hunk #119 succeeded at 4451 (offset 4 lines).
Hunk #120 succeeded at 4665 (offset 4 lines).
Hunk #121 succeeded at 6007 (offset 4 lines).
Hunk #122 FAILED at 6024.
Hunk #123 succeeded at 6079 (offset 5 lines).
Hunk #124 succeeded at 6090 (offset 5 lines).
4 out of 124 hunks FAILED -- saving rejects to file kernel/sched.c.rej
patching file fs/proc/array.c
patching file include/linux/sysctl.h
patching file kernel/exit.c
patching file kernel/sysctl.c
patching file include/linux/init_task.h
patching file block/Kconfig.iosched
patching file include/linux/ioprio.h
patching file mm/page-writeback.c
patching file arch/ia64/configs/tiger_defconfig
patching file arch/ia64/configs/zx1_defconfig
patching file arch/ppc/configs/common_defconfig
patching file arch/ppc/configs/pmac_defconfig
patching file kernel/Kconfig.hz
patching file Documentation/sysctl/vm.txt
patching file include/linux/swap.h
patching file init/Kconfig
patching file mm/Makefile
patching file mm/swap.c
patching file mm/swap_prefetch.c
patching file mm/swap_state.c
patching file mm/vmscan.c
patching file include/linux/mm_inline.h
patching file include/linux/swap-prefetch.h
patching file include/linux/mmzone.h
patching file mm/page_alloc.c
patching file fs/buffer.c
patching file kernel/power/disk.c
patching file drivers/block/loop.c
patching file fs/mpage.c
patching file fs/nfsd/vfs.c
patching file include/linux/fs.h
patching file include/linux/mm.h
patching file include/linux/page-flags.h
patching file include/linux/radix-tree.h
patching file include/linux/writeback.h
patching file lib/radix-tree.c
patching file mm/Kconfig
patching file mm/filemap.c
patching file mm/memory.c
patching file mm/readahead.c
patching file Documentation/DocBook/Makefile
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 20 hunks FAILED -- saving rejects to file Makefile.rej
patching file arch/arm/Makefile
patching file arch/arm/boot/Makefile
patching file arch/arm/boot/bootp/Makefile
patching file arch/arm26/Makefile
patching file arch/arm26/boot/Makefile
patching file arch/i386/Makefile
patching file arch/ia64/Makefile
patching file arch/m32r/Makefile
patching file arch/powerpc/Makefile
patching file arch/ppc/Makefile
patching file arch/ppc/boot/Makefile
patching file arch/ppc/boot/openfirmware/Makefile
patching file arch/sh/Makefile
patching file arch/um/Makefile
patching file arch/x86_64/Makefile
patching file scripts/Kbuild.include
patching file scripts/Makefile.build
patching file scripts/Makefile.clean
patching file scripts/Makefile.modinst
patching file scripts/Makefile.modpost
patching file scripts/kconfig/Makefile
patching file scripts/kconfig/lxdialog/Makefile
patching file scripts/package/Makefile
patching file arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
Reversed (or previously applied) patch detected! Assume -R? [n]
What should I do? Thanks!
oxEz
April 10th, 2006, 09:44 AM
Dont know why I dont have in "Device drivers" the opcion IO Schedulers.
anyone have this same prob??
Don't go in Devices Drivers first, go in "Block layers". I looked in the .config file, and it's where I learned where IO schedulers were hidden.
sYs^
April 10th, 2006, 09:48 AM
i tried compiling the source, but i always get an error when i try to install the created .deb package:
Richte kernel-image-2.6.16-cks3 ein (kiwiv1) ...
Cannot find /lib/modules/2.6.16-cks3
Failed to create initrd image.
dpkg: Fehler beim Bearbeiten von kernel-image-2.6.16-cks3 (--install):
Unterprozess post-installation script gab den Fehlerwert 2 zurück
Fehler traten auf beim Bearbeiten von:
kernel-image-2.6.16-cks3
sorry that it is in german, but the main error is in english
Is that directory exists? /lib/modules/2.6.16-cks3
IsSuE
April 10th, 2006, 10:42 AM
the .deb file creates a dir called 2.6.16-cks3kiwiv1. i tried removing the kiwiv1 and reinstalling the .deb, that works, but if i reboot, modprobe complains about not finding the modules...
strange thing
sYs^
April 10th, 2006, 01:41 PM
try something like this:
cd /boot/
sudo mkinitrd -o /boot/initrd.img-2.6.16-cks3 2.6.16-cks3kiwiv1
Do not rename the module directory after compiling the kernel.
I'm not sure it'll help but it worth a try.
mechatronic
April 10th, 2006, 01:57 PM
This is my problem when I build 2.6.16.2:
make-kpkg -initrd --revision=2 kernel_image
.......<some things>.....
kernel/sched.c: In function ‘sched_init’:
kernel/sched.c:6031: error: ‘array’ undeclared (first use in this function)
kernel/sched.c:6031: error: (Each undeclared identifier is reported only once
kernel/sched.c:6031: error: for each function it appears in.)
kernel/sched.c:6031: error: ‘struct runqueue’ has no member named ‘arrays’
kernel/sched.c:6032: error: ‘k’ undeclared (first use in this function)
make[2]: *** [kernel/sched.o] Error 1
make[1]: *** [kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.2'
make: *** [stamp-build] Error 2
I'm newbie:confused: and I see number 6031](*,) ... How can I solve them? Thanks.
R3linquish3r
April 10th, 2006, 04:30 PM
Well I managed to get it running this time but I dont have splash (didnt read the post later about how to get it) and my wireless doesnt work. Is there a way I can get splash working without re-compiling?
xXx 0wn3d xXx
April 10th, 2006, 04:37 PM
Well I managed to get it running this time but I dont have splash (didnt read the post later about how to get it) and my wireless doesnt work. Is there a way I can get splash working without re-compiling?
Do you really need the usplash ? Anyway look under troubleshooting for a way to get the wifi to work.
R3linquish3r
April 10th, 2006, 04:39 PM
i like usplash :P wanna know when something fails to load personally.
R3linquish3r
April 10th, 2006, 04:41 PM
i dont think that way wil help me because u still need to download the headers for that kernel in uname -r. im not on the net on that kernel.....
atlas95
April 10th, 2006, 06:45 PM
Think you need to do this: http://doc.gwos.org/index.php/Mount_filesystem_new_kernel
in order to mount your local filesystem. When I compiled kernel 2.6.15 this worked anyway. Haven't tested with the latest kernel. So I'm afraid you have to compile again.
Yes I thinks It is that !
Thanks you, I will retry ;) !
R3linquish3r
April 10th, 2006, 06:52 PM
I just instaled ndiswrapper (went downstairs and plugged in) and i rebooted after isntall and my wireless card still isnt showing up.... incase its needed it is a linksys wireless g card.
xXx 0wn3d xXx
April 10th, 2006, 06:54 PM
This is my problem when I build 2.6.16.2:
I'm newbie:confused: and I see number 6031](*,) ... How can I solve them? Thanks.
Try redownloading the kernel and patch. I had that error the first time I tried to compile it but I just redownloaded the patch and the kernel and the install returned no errors. The kernel works great.
rajesh
April 10th, 2006, 06:58 PM
This is my problem when I build 2.6.16.2:
I'm newbie:confused: and I see number 6031](*,) ... How can I solve them? Thanks.
I am getting compilation errors in sched.h also. My error is
/include/linux/sched.h:483: error: "SCHED_LOAD_SCALE" undeclared (first use in this function).
Any pointers on how to solve this ?
Thanks
R3linquish3r
April 10th, 2006, 07:41 PM
Quote:
Originally Posted by Thios
Hi... Would anyone happen to know how to enable iptables support for the 2.6.16-ck3 kernel? Firestarter won't start without it...
Iptables starts but firestarter doesn't reconize it. Youb don't need firestarter anyway.
If you can find a fix for that it would be cool :) i like having firestarter just so i no whats going on :)
dcstar
April 10th, 2006, 08:35 PM
I just finished compiling the newest 2.6.16 kernel from kernel.org and I am getting much better performance. In what follows, I will show you how to compile and configure the latest kernel. I don't have a splash screen at start up but the kernel works great. It is much faster. ;) This is my first How-To.
......
12. Now we are going to import your current kernel configuration:
13. Now import it: Make sure to replace the kernel version in this following command from the one from uname -r.
14. Configure the kernel:
......
And a little tip for anyone who makes a few too many modifications and ends up with a compiled kernel that won't boot:
Delete the .configure file created by make xconfig, and run this again to start afresh (don't ask me how I know to do this..... :oops: )
Skarjoko
April 10th, 2006, 09:06 PM
Ok i'm not sure whats wrong, but this happened with both 2.6.14 and 2.6.16 kernels, when i'm packaging them.
My laptop just shuts down. I'm guessing its near the end, and it suddenly just turns off, and its completely gone. This happened with both kernels, trying to make them into a .deb package. Whats wrong?
Thanks in advance.
benplaut
April 10th, 2006, 10:47 PM
i tried this (before the howto, but i did the same basic thing) with dapper and MadWifi, but madwifi module makes the boot hang on 'loading hardware drivers'. Ctrl+C'ing it makes everything work just fine.
I'm using the 2.6.15-686 right now
towsonu2003
April 11th, 2006, 12:05 AM
I got this a little while after make-kpkg -initrd --revision=ck3 kernel_image
kernel/sched.c: In function ‘sched_init’:
kernel/sched.c:6031: error: ‘array’ undeclared (first use in this function)
kernel/sched.c:6031: error: (Each undeclared identifier is reported only once
kernel/sched.c:6031: error: for each function it appears in.)
kernel/sched.c:6031: error: ‘struct runqueue’ has no member named ‘arrays’
kernel/sched.c:6032: error: ‘k’ undeclared (first use in this function)
make[2]: *** [kernel/sched.o] Error 1
make[1]: *** [kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.2ck3'
make: *** [stamp-build] Error 2
root@bla:/usr/src/linux#
any idea why this might be?
mechatronic
April 11th, 2006, 10:45 AM
Ok! I have compiled kernel 2.6.16.3 from kernel.org. It's cool, as fast as a rabbit, but no splash screen. I hope to found the way to solve soon...
xXx 0wn3d xXx
April 11th, 2006, 04:48 PM
Ok! I have compiled kernel 2.6.16.3 from kernel.org. It's cool, as fast as a rabbit, but no splash screen. I hope to found the way to solve soon...
I'm glad it worked for someone :) Is your internet any faster to ? It seems alot faster to me.
towsonu2003
April 11th, 2006, 06:05 PM
For people having troubles compiling the kernel:
The ck patch website says you are supposed to use 2.6.16 as base. I just found out that this means you are supposed to download 2.6.16, not 2.6.16.x and patch ckx (x-> 4 as of today, because the latest stable kernel is 2.6.16.4) that.
The OP might wanna specify that in the original howto ;)
the append -R and sched error seem to occur because we (I) were applying the patch (which adds features of 2.6.16.x + ck features to 2.6.16) to 2.6.16.x (double patching and thus breaking things)...
Sorry for the bold stuff. It took me a day to understand this.
Harold P
April 11th, 2006, 07:25 PM
I keep on getting things like this, and it's been going for about a two hours.
et/ipv4/ipvs/ip_vs_lblcr.o
CC [M] net/ipv4/ipvs/ip_vs_dh.o
CC [M] net/ipv4/ipvs/ip_vs_sh.o
CC [M] net/ipv4/ipvs/ip_vs_sed.o
CC [M] net/ipv4/ipvs/ip_vs_nq.o
CC [M] net/ipv4/ipvs/ip_vs_ftp.o
CC [M] net/ipv4/netfilter/ip_conntrack_standalone.o
CC [M] net/ipv4/netfilter/ip_conntrack_core.o
CC [M] net/ipv4/netfilter/ip_conntrack_proto_generic.o
CC [M] net/ipv4/netfilter/ip_conntrack_proto_tcp.o
CC [M] net/ipv4/netfilter/ip_conntrack_proto_udp.o
CC [M] net/ipv4/netfilter/ip_conntrack_proto_icmp.o
LD [M] net/ipv4/netfilter/ip_conntrack.o
CC [M] net/ipv4/netfilter/ip_conntrack_proto_sctp.o
CC [M] net/ipv4/netfilter/ip_conntrack_amanda.o
Is it almost done?
towsonu2003
April 11th, 2006, 07:31 PM
don't worry, it's gonna go like that for a while. you're good as long as it doesn't crap out with some error.
Harold P
April 11th, 2006, 07:33 PM
Alright, thanks. I thought it was just looping or something, and you can't really check back because terminal only shows so many lines...
towsonu2003
April 11th, 2006, 07:36 PM
Alright, thanks. I thought it was just looping or something, and you can't really check back because terminal only shows so many lines...
you're welcome. I guess those are the name of the modules it just built or something. good luck. now, I'm gonna reboot mine and see if I'll survive ;)
Harold P
April 11th, 2006, 07:52 PM
Haha,
root@ubuntu:/usr/src# sudo dpkg -i kernel-image-2.6.16-cks3_ck3_i386.deb
Selecting previously deselected package kernel-image-2.6.16-cks3.
(Reading database ... 95616 files and directories currently installed.)
Unpacking kernel-image-2.6.16-cks3 (from kernel-image-2.6.16-cks3_ck3_i386.deb) ...
Setting up kernel-image-2.6.16-cks3 (ck3) ...
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file... found: /boot/grub/menu.lst .
Searching for splash image... none found, skipping...
Found kernel: /boot/vmlinuz-2.6.16-cks3
Found kernel: /boot/vmlinuz-2.6.12-10-386
Found kernel: /boot/vmlinuz-2.6.12-9-386
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
root@ubuntu:/usr/src#
It's done! :)
Harold P
April 11th, 2006, 09:11 PM
Sorry for the double post, but it's absolutely great. It works fine for me. I was a little concerned when I didn't see anything after it booted the Kernel. Black screens are scary. As soon as I got into the GUI I was happy. Logged, and everything pretty much loaded twice as fast... (Panels, Gaim, GDesklets, etc.)
I definately recommend to upgrade. :)
towsonu2003
April 11th, 2006, 09:11 PM
weird. I rebooted (and survived), but I got too many errors about "you should upgrade your iptables or your kernel now" when I shut down the computer -> so I chickened out bc I like my iptables (firewall, firestarter) and uninstalled the new kernel. something is wrong/missing in the howto, but I don't know what... may be you need to recompile iptables too?? am clueless thought. [I used ubuntu's config w/ mentioned tweaks and ck4 w/ 2.6.16 source.] weird stuff...
massivevoid
April 11th, 2006, 09:52 PM
When using this new kernel, it converted back to the default video driver. ](*,)
Other than that, I noticed an increase in speed. :)
xXx 0wn3d xXx
April 11th, 2006, 10:14 PM
When using this new kernel, it converted back to the default video driver. ](*,)
Other than that, I noticed an increase in speed. :)
sudo dpkg-reconfigure xserver-xorg
then select the driver.
dcstar
April 11th, 2006, 10:51 PM
When using this new kernel, it converted back to the default video driver. ](*,)
Other than that, I noticed an increase in speed. :)
I had to recompile my Via and DRM modules with the new headers to restore my Via Unichrome Direct Rendering, after that everything worked fine.
ignorance
April 11th, 2006, 10:54 PM
well if any reads the lines that the kernel shows someone should have figured out that he isn't giving a splash screen because he can't find one.
Searching for splash image... none found, skipping...
here's a link how to get one, duno if it works will try for myself to later:
http://www.ubuntuforums.org/showthread.php?t=83009&highlight=bluebuntu
Rizado
April 12th, 2006, 03:19 AM
ck4 is out, but ck3 is still the one on the main page. And in the announce it says it's the patches from 2.6.16.2?
Then what is ck1, 2 and 3? 2.6.16.4 is out...
http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/2.6.16/
dcstar
April 12th, 2006, 04:31 AM
I had to recompile my Via and DRM modules with the new headers to restore my Via Unichrome Direct Rendering, after that everything worked fine.
And of course, I found that I could have these items compiled in my new kernel anyway.... so I did it!
Also removed many (many) items from the configuration that were not necessary for my setup, this cut down the compile time as well as the size of the created kernel - well worth the effort if anybody can be bothered (and knows what they are doing.......)
dcstar
April 12th, 2006, 05:17 AM
I just finished compiling the newest 2.6.16 kernel from kernel.org and I am getting much better performance. In what follows, I will show you how to compile and configure the latest kernel. I don't have a splash screen at start up but the kernel works great. It is much faster. ;) This is my first How-To.
1. Download the latest stable kernel and it's performance patch:
The latest kernel (http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2)
Latest Kernel Patch (http://ck.kolivas.org/patches/2.6/2.6.16/2.6.16-ck3/patch-2.6.16-cks3.bz2)
.......
I note from the patch README that the cks patches are optimised for Servers, where the ck patches are for Desktops.
Perhaps in future people should choose the desktop version?
towsonu2003
April 12th, 2006, 10:47 AM
Another problem.. ;)
--------------------------------
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.
----------------------------------
I have checked all kernel directories in /usr/src/linux(version)/include, but nothing
this is vmware? uninstall and reinstall vmware...
towsonu2003
April 12th, 2006, 10:48 AM
Hi!
Is this patch working with the latest version kernel? (2.6.16.2)?
When I tried to apply the patch I got these lines:
sudo bzcat /home/dani/patch-2.6.16-cks3.bz2| patch -p1
patching file include/linux/sched.h
patching file kernel/sched.c
Hunk #6 FAILED at 153.
Hunk #7 succeeded at 203 (offset 1 line).
Hunk #8 succeeded at 212 (offset 1 line).
Hunk #9 succeeded at 222 (offset 1 line).
Hunk #10 succeeded at 248 (offset 1 line).
Hunk #11 succeeded at 270 (offset 1 line).
Hunk #12 succeeded at 407 (offset 1 line).
Hunk #13 succeeded at 445 (offset 1 line).
Hunk #14 succeeded at 504 (offset 1 line).
Hunk #15 succeeded at 638 (offset 1 line).
Hunk #16 succeeded at 647 (offset 1 line).
Hunk #17 succeeded at 831 (offset 1 line).
Hunk #18 succeeded at 844 (offset 1 line).
Hunk #19 succeeded at 873 (offset 1 line).
Hunk #20 succeeded at 910 (offset 1 line).
Hunk #21 succeeded at 930 (offset 1 line).
Hunk #22 succeeded at 938 (offset 1 line).
Hunk #23 succeeded at 968 (offset 1 line).
Hunk #24 succeeded at 993 (offset 1 line).
Hunk #25 succeeded at 1005 (offset 1 line).
Hunk #26 succeeded at 1014 (offset 1 line).
Hunk #27 succeeded at 1051 (offset 1 line).
Hunk #28 succeeded at 1105 (offset 1 line).
Hunk #29 succeeded at 1116 (offset 1 line).
Hunk #30 succeeded at 1138 (offset 1 line).
Hunk #31 succeeded at 1190 (offset 1 line).
Hunk #32 succeeded at 1213 (offset 1 line).
Hunk #33 succeeded at 1257 (offset 1 line).
Hunk #34 succeeded at 1274 (offset 1 line).
Hunk #35 succeeded at 1319 (offset 1 line).
Hunk #36 succeeded at 1365 (offset 1 line).
Hunk #37 succeeded at 1374 (offset 1 line).
Hunk #38 succeeded at 1385 (offset 1 line).
Hunk #39 succeeded at 1415 (offset 1 line).
Hunk #40 succeeded at 1432 (offset 1 line).
Hunk #41 succeeded at 1442 (offset 1 line).
Hunk #42 succeeded at 1452 (offset 1 line).
Hunk #43 succeeded at 1463 (offset 1 line).
Hunk #44 succeeded at 1493 (offset 1 line).
Hunk #45 succeeded at 1675 with fuzz 2 (offset 4 lines).
Hunk #46 FAILED at 1689.
Hunk #47 FAILED at 1725.
Hunk #48 succeeded at 1740 (offset 4 lines).
Hunk #49 succeeded at 1783 (offset 4 lines).
Hunk #50 succeeded at 1834 (offset 4 lines).
Hunk #51 succeeded at 1886 (offset 4 lines).
Hunk #52 succeeded at 1915 (offset 4 lines).
Hunk #53 succeeded at 1943 (offset 4 lines).
Hunk #54 succeeded at 1963 (offset 4 lines).
Hunk #55 succeeded at 1976 (offset 4 lines).
Hunk #56 succeeded at 1996 (offset 4 lines).
Hunk #57 succeeded at 2010 (offset 4 lines).
Hunk #58 succeeded at 2038 (offset 4 lines).
Hunk #59 succeeded at 2085 (offset 4 lines).
Hunk #60 succeeded at 2109 (offset 4 lines).
Hunk #61 succeeded at 2157 (offset 4 lines).
Hunk #62 succeeded at 2242 (offset 4 lines).
Hunk #63 succeeded at 2276 (offset 4 lines).
Hunk #64 succeeded at 2302 (offset 4 lines).
Hunk #65 succeeded at 2324 (offset 4 lines).
Hunk #66 succeeded at 2357 (offset 4 lines).
Hunk #67 succeeded at 2378 (offset 4 lines).
Hunk #68 succeeded at 2409 (offset 4 lines).
Hunk #69 succeeded at 2466 (offset 4 lines).
Hunk #70 succeeded at 2489 (offset 4 lines).
Hunk #71 succeeded at 2503 (offset 4 lines).
Hunk #72 succeeded at 2536 (offset 4 lines).
Hunk #73 succeeded at 2563 (offset 4 lines).
Hunk #74 succeeded at 2610 (offset 4 lines).
Hunk #75 succeeded at 2684 (offset 4 lines).
Hunk #76 succeeded at 2730 (offset 4 lines).
Hunk #77 succeeded at 2769 (offset 4 lines).
Hunk #78 succeeded at 2778 (offset 4 lines).
Hunk #79 succeeded at 2797 (offset 4 lines).
Hunk #80 succeeded at 2832 (offset 4 lines).
Hunk #81 succeeded at 2863 (offset 4 lines).
Hunk #82 succeeded at 2877 (offset 4 lines).
Hunk #83 succeeded at 2901 (offset 4 lines).
Hunk #84 succeeded at 2939 (offset 4 lines).
Hunk #85 succeeded at 2970 (offset 4 lines).
Hunk #86 succeeded at 2993 (offset 4 lines).
Hunk #87 succeeded at 3009 (offset 4 lines).
Hunk #88 succeeded at 3146 (offset 4 lines).
Hunk #89 succeeded at 3438 (offset 4 lines).
Hunk #90 succeeded at 3461 (offset 4 lines).
Hunk #91 succeeded at 3575 (offset 4 lines).
Hunk #92 succeeded at 3584 (offset 4 lines).
Hunk #93 succeeded at 3593 (offset 4 lines).
Hunk #94 succeeded at 3622 (offset 4 lines).
Hunk #95 succeeded at 3651 (offset 4 lines).
Hunk #96 succeeded at 3662 (offset 4 lines).
Hunk #97 succeeded at 3677 (offset 4 lines).
Hunk #98 succeeded at 3697 (offset 4 lines).
Hunk #99 succeeded at 3711 (offset 4 lines).
Hunk #100 succeeded at 3720 (offset 4 lines).
Hunk #101 succeeded at 3748 (offset 4 lines).
Hunk #102 succeeded at 3763 (offset 4 lines).
Hunk #103 succeeded at 3773 (offset 4 lines).
Hunk #104 succeeded at 3800 (offset 4 lines).
Hunk #105 succeeded at 3836 (offset 4 lines).
Hunk #106 succeeded at 3892 (offset 4 lines).
Hunk #107 succeeded at 3920 (offset 4 lines).
Hunk #108 succeeded at 3951 (offset 4 lines).
Hunk #109 succeeded at 3972 (offset 4 lines).
Hunk #110 succeeded at 4127 (offset 4 lines).
Hunk #111 succeeded at 4138 (offset 4 lines).
Hunk #112 succeeded at 4153 (offset 4 lines).
Hunk #113 succeeded at 4164 (offset 4 lines).
Hunk #114 succeeded at 4180 (offset 4 lines).
Hunk #115 succeeded at 4201 (offset 4 lines).
Hunk #116 succeeded at 4318 (offset 4 lines).
Hunk #117 succeeded at 4421 (offset 4 lines).
Hunk #118 succeeded at 4440 (offset 4 lines).
Hunk #119 succeeded at 4451 (offset 4 lines).
Hunk #120 succeeded at 4665 (offset 4 lines).
Hunk #121 succeeded at 6007 (offset 4 lines).
Hunk #122 FAILED at 6024.
Hunk #123 succeeded at 6079 (offset 5 lines).
Hunk #124 succeeded at 6090 (offset 5 lines).
4 out of 124 hunks FAILED -- saving rejects to file kernel/sched.c.rej
patching file fs/proc/array.c
patching file include/linux/sysctl.h
patching file kernel/exit.c
patching file kernel/sysctl.c
patching file include/linux/init_task.h
patching file block/Kconfig.iosched
patching file include/linux/ioprio.h
patching file mm/page-writeback.c
patching file arch/ia64/configs/tiger_defconfig
patching file arch/ia64/configs/zx1_defconfig
patching file arch/ppc/configs/common_defconfig
patching file arch/ppc/configs/pmac_defconfig
patching file kernel/Kconfig.hz
patching file Documentation/sysctl/vm.txt
patching file include/linux/swap.h
patching file init/Kconfig
patching file mm/Makefile
patching file mm/swap.c
patching file mm/swap_prefetch.c
patching file mm/swap_state.c
patching file mm/vmscan.c
patching file include/linux/mm_inline.h
patching file include/linux/swap-prefetch.h
patching file include/linux/mmzone.h
patching file mm/page_alloc.c
patching file fs/buffer.c
patching file kernel/power/disk.c
patching file drivers/block/loop.c
patching file fs/mpage.c
patching file fs/nfsd/vfs.c
patching file include/linux/fs.h
patching file include/linux/mm.h
patching file include/linux/page-flags.h
patching file include/linux/radix-tree.h
patching file include/linux/writeback.h
patching file lib/radix-tree.c
patching file mm/Kconfig
patching file mm/filemap.c
patching file mm/memory.c
patching file mm/readahead.c
patching file Documentation/DocBook/Makefile
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 20 hunks FAILED -- saving rejects to file Makefile.rej
patching file arch/arm/Makefile
patching file arch/arm/boot/Makefile
patching file arch/arm/boot/bootp/Makefile
patching file arch/arm26/Makefile
patching file arch/arm26/boot/Makefile
patching file arch/i386/Makefile
patching file arch/ia64/Makefile
patching file arch/m32r/Makefile
patching file arch/powerpc/Makefile
patching file arch/ppc/Makefile
patching file arch/ppc/boot/Makefile
patching file arch/ppc/boot/openfirmware/Makefile
patching file arch/sh/Makefile
patching file arch/um/Makefile
patching file arch/x86_64/Makefile
patching file scripts/Kbuild.include
patching file scripts/Makefile.build
patching file scripts/Makefile.clean
patching file scripts/Makefile.modinst
patching file scripts/Makefile.modpost
patching file scripts/kconfig/Makefile
patching file scripts/kconfig/lxdialog/Makefile
patching file scripts/package/Makefile
patching file arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
Reversed (or previously applied) patch detected! Assume -R? [n]
What should I do? Thanks!
patch and compile 2.6.16 instead of 2.6.16.2
towsonu2003
April 12th, 2006, 10:49 AM
This is my problem when I build 2.6.16.2:
I'm newbie:confused: and I see number 6031](*,) ... How can I solve them? Thanks.
use 2.6.16 to compile (sorry for me being repetitious).
towsonu2003
April 12th, 2006, 10:52 AM
ck4 is out, but ck3 is still the one on the main page. And in the announce it says it's the patches from 2.6.16.2?
Then what is ck1, 2 and 3? 2.6.16.4 is out...
http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/2.6.16/
you use 2.6.16 as base. ck1 gives you patched 2.6.16.1, ck2 gives 2.6.16.2 etc... so for latest kernel, you download 2.6.16, check the x in 2.6.16.x in kernel.org main page (latest), and you download ckx as your patch. that's my understanding of this thing.
decebal
April 12th, 2006, 03:25 PM
I compiled and installed the kernel apparently without problems but it killed my fglrx driver and no matter what I did (reinstall, reconfigure, etc) I couldn't get rid of the mesa thing!
The other problem I had was with my fat partition - it just wouldn't let me mount it at all with the new kernel - it would say "device already mounted or busy" and if I tried to unmount it would say "device not mounted".
On the other hand, I didn't notice any major speed improvement with the new kernel - but I'm on a fast machine and the "old" kernel was already pretty fast.
And by the way, if you want to make the splash image work with the new kernel all you need to do is reinstall usplash in synaptic.
So .... back to 2.6.15 for me.
xXx 0wn3d xXx
April 12th, 2006, 05:08 PM
ok, I linked to the desktop patch. Should I rewrite the tutorial for the newest kernel or should I wait until a new kernel comes out ?
massivevoid
April 12th, 2006, 05:38 PM
How do you apply the cks4 patch?
root@crafford:/usr/src/linux# sudo bzcat /home/william/patch-2.6.16-cks4.bz2| patch -p1
patching file include/linux/sched.h
Reversed (or previously applied) patch detected! Assume -R? [n]
ludzter
April 12th, 2006, 06:22 PM
Hi and thnx for a nice howto. :D
But here comes som newbie questions:
If i take just 2.6.16.4 without patch, am i in trubble then? (like always)
Why install 2.6.16, when 2.6.16.4 is out there?
what is the patch doing?
Just trying to understand what i am doing, not always so esay ;)
//Ludz
xXx 0wn3d xXx
April 12th, 2006, 06:38 PM
Hi and thnx for a nice howto. :D
But here comes som newbie questions:
If i take just 2.6.16.4 without patch, am i in trubble then? (like always)
Why install 2.6.16, when 2.6.16.4 is out there?
what is the patch doing?
Just trying to understand what i am doing, not always so esay ;)
//Ludz
The patch is improving proformance. You can use the 2.6.16.4 kernel without the patch. Also, this tutorial is about 4 days old and 2.6.16.4 was just released. I'm getting ready to compile and install it right now. You can use my tutorial for the new kernel. Just replace the 2.6.16 name in the command with the 2.6.16.4 one.
ludzter
April 12th, 2006, 06:51 PM
ok, nice. i am about to reinstall my system anyway, so i will give it a try. Thanks again for the nice howto and the fast replay.
Now time to break my system ;)
xXx 0wn3d xXx
April 12th, 2006, 07:04 PM
omg ! A new kernel was just released ! Wow..5 minutes ago it was 2.6.16.4.
gabng
April 12th, 2006, 07:13 PM
Hi, I've been using Ubuntu for about a week now, and I've just done my very first kernel compile and intall, which was a success! Thanks to MasterChief1234 :).
Now I'm running on 2.6.16 with ck4 patch but my wireless card isn't showing up in Networking. I tried lspci and it does recognize it as
Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)
, which is correct.
So my question is how can I get it to show up in Networks so I can activate it and get online with it again?
xXx 0wn3d xXx
April 12th, 2006, 07:17 PM
Hi, I've been using Ubuntu for about a week now, and I've just done my very first kernel compile and intall, which was a success! Thanks to MasterChief1234 :).
Now I'm running on 2.6.16 with ck4 patch but my wireless card isn't showing up in Networking. I tried lspci and it does recognize it as
Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)
, which is correct.
So my question is how can I get it to show up in Networks so I can activate it and get online with it again?
Look under Troubleshooting ;)
massivevoid
April 12th, 2006, 07:19 PM
How do you apply the cks4 patch?
root@crafford:/usr/src/linux# sudo bzcat /home/william/patch-2.6.16-cks4.bz2| patch -p1
patching file include/linux/sched.h
Reversed (or previously applied) patch detected! Assume -R? [n]
How do I apply a patch?
xXx 0wn3d xXx
April 12th, 2006, 07:22 PM
How do I apply a patch?
do just what I said. Sometimes you will need to redownload the kernel + patch and then everything should work.
Ob1
April 12th, 2006, 08:01 PM
How do i see what my current kernel is?
ErikTheRed
April 12th, 2006, 08:03 PM
Sweet guide, it's always nice to a have a guide to show you how easy compiling a new kernel is.
towsonu2003
April 12th, 2006, 08:04 PM
no matter what I do, iptables won't work (even when enabled it in xconfig). :-k ](*,) + ndiswrapper won't compile + many device-mapper errors... I guess I'm not ready for this stuff yet...
towsonu2003
April 12th, 2006, 08:05 PM
How do i see what my current kernel is?
uname -r
massivevoid
April 12th, 2006, 08:06 PM
do just what I said. Sometimes you will need to redownload the kernel + patch and then everything should work.
So I have to recompile the kernel over again, just to apply the new patch?
towsonu2003
April 12th, 2006, 08:07 PM
So I have to recompile the kernel over again, just to apply the new patch?
yep
massivevoid
April 12th, 2006, 08:11 PM
yep
Ok, I got it now. Thanks. :D
Justbill
April 12th, 2006, 11:23 PM
So, I gave this a whirl. Here is my output, after I ran make-kpkg -initrd --revision=ck3 kernel_image:
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b /usr/src/linux/debian/tmp-image -r 2.6.16-cks4; fi
make[2]: Leaving directory `/usr/src/linux-2.6.16ck3'
test ! -e debian/tmp-image/lib/modules/2.6.16-cks4/source || \
mv debian/tmp-image/lib/modules/2.6.16-cks4/source ./debian/source-link
test ! -e debian/tmp-image/lib/modules/2.6.16-cks4/build || \
mv debian/tmp-image/lib/modules/2.6.16-cks4/build ./debian/build-link
depmod -q -FSystem.map -b debian/tmp-image 2.6.16-cks4;
test ! -e ./debian/source-link || \ mv ./debian/source-link debian/tmp-image/lib/modules/2.6.16-cks4/source
test ! -e ./debian/build-link || \ mv ./debian/build-link debian/tmp-image/lib/modules/2.6.16-cks4/build
cp arch/i386/boot/bzImage debian/tmp-image/boot/vmlinuz-2.6.16-cks4
chmod 644 debian/tmp-image/boot/vmlinuz-2.6.16-cks4;
if test -d /usr/src/linux/debian/image.d ; then \
IMAGE_TOP=debian/tmp-image version=2.6.16-cks4 \
run-parts --verbose /usr/src/linux/debian/image.d ; \
fi
if [ -x debian/post-install ]; then \
IMAGE_TOP=debian/tmp-image STEM=kernel version=2.6.16-cks4 \
debian/post-install; \
fi
test ! -s applied_patches || cp applied_patches \
debian/tmp-image/boot/patches-2.6.16-cks4
test ! -s applied_patches || chmod 644 \
debian/tmp-image/boot/patches-2.6.16-cks4
test ! -f System.map || cp System.map \
debian/tmp-image/boot/System.map-2.6.16-cks4;
test ! -f System.map || chmod 644 \
debian/tmp-image/boot/System.map-2.6.16-cks4;
# For LKCD enabled kernels
test ! -f Kerntypes || cp Kerntypes \
debian/tmp-image/boot/Kerntypes-2.6.16-cks4
test ! -f Kerntypes || chmod 644 \
debian/tmp-image/boot/Kerntypes-2.6.16-cks4
dpkg-gencontrol -DArchitecture=i386 -isp \
-pkernel-image-2.6.16-cks4 -Pdebian/tmp-image/
chmod -R og=rX debian/tmp-image
chown -R root:root debian/tmp-image
dpkg --build debian/tmp-image ..
dpkg-deb: building package `kernel-image-2.6.16-cks4' in `../kernel-image-2.6.16-cks4_ck3_i386.deb'.
rm -f -r debian/tmp-image
echo done > stamp-image
make[1]: Leaving directory `/usr/src/linux-2.6.16ck3'
root@Goliath:/usr/src/linux# dpkg -i kernel-image-2.6.16-cks4
dpkg: error processing kernel-image-2.6.16-cks4 (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
kernel-image-2.6.16-cks4
of course, it did all the other stuff, this was just the end. Anyhow, I can't seem to install the new kernel. I'm thinking it put it in a directory, and I can't seem to find it (that or I'm just stupid, and shouldn't be trying this).
Can anyone give me a clue here what to do?
Thanks in advance
Justbill
xXx 0wn3d xXx
April 12th, 2006, 11:34 PM
So, I gave this a whirl. Here is my output, after I ran make-kpkg -initrd --revision=ck3 kernel_image:
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b /usr/src/linux/debian/tmp-image -r 2.6.16-cks4; fi
make[2]: Leaving directory `/usr/src/linux-2.6.16ck3'
test ! -e debian/tmp-image/lib/modules/2.6.16-cks4/source || \
mv debian/tmp-image/lib/modules/2.6.16-cks4/source ./debian/source-link
test ! -e debian/tmp-image/lib/modules/2.6.16-cks4/build || \
mv debian/tmp-image/lib/modules/2.6.16-cks4/build ./debian/build-link
depmod -q -FSystem.map -b debian/tmp-image 2.6.16-cks4;
test ! -e ./debian/source-link || \ mv ./debian/source-link debian/tmp-image/lib/modules/2.6.16-cks4/source
test ! -e ./debian/build-link || \ mv ./debian/build-link debian/tmp-image/lib/modules/2.6.16-cks4/build
cp arch/i386/boot/bzImage debian/tmp-image/boot/vmlinuz-2.6.16-cks4
chmod 644 debian/tmp-image/boot/vmlinuz-2.6.16-cks4;
if test -d /usr/src/linux/debian/image.d ; then \
IMAGE_TOP=debian/tmp-image version=2.6.16-cks4 \
run-parts --verbose /usr/src/linux/debian/image.d ; \
fi
if [ -x debian/post-install ]; then \
IMAGE_TOP=debian/tmp-image STEM=kernel version=2.6.16-cks4 \
debian/post-install; \
fi
test ! -s applied_patches || cp applied_patches \
debian/tmp-image/boot/patches-2.6.16-cks4
test ! -s applied_patches || chmod 644 \
debian/tmp-image/boot/patches-2.6.16-cks4
test ! -f System.map || cp System.map \
debian/tmp-image/boot/System.map-2.6.16-cks4;
test ! -f System.map || chmod 644 \
debian/tmp-image/boot/System.map-2.6.16-cks4;
# For LKCD enabled kernels
test ! -f Kerntypes || cp Kerntypes \
debian/tmp-image/boot/Kerntypes-2.6.16-cks4
test ! -f Kerntypes || chmod 644 \
debian/tmp-image/boot/Kerntypes-2.6.16-cks4
dpkg-gencontrol -DArchitecture=i386 -isp \
-pkernel-image-2.6.16-cks4 -Pdebian/tmp-image/
chmod -R og=rX debian/tmp-image
chown -R root:root debian/tmp-image
dpkg --build debian/tmp-image ..
dpkg-deb: building package `kernel-image-2.6.16-cks4' in `../kernel-image-2.6.16-cks4_ck3_i386.deb'.
rm -f -r debian/tmp-image
echo done > stamp-image
make[1]: Leaving directory `/usr/src/linux-2.6.16ck3'
root@Goliath:/usr/src/linux# dpkg -i kernel-image-2.6.16-cks4
dpkg: error processing kernel-image-2.6.16-cks4 (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
kernel-image-2.6.16-cks4
of course, it did all the other stuff, this was just the end. Anyhow, I can't seem to install the new kernel. I'm thinking it put it in a directory, and I can't seem to find it (that or I'm just stupid, and shouldn't be trying this).
Can anyone give me a clue here what to do?
Thanks in advance
Justbill
look in usr/src/ for the kernel image. It should be something like linux-image-2.16.6cks3_i386. The open terminal and type sudo dpkg -i then drag the kernel image which is a .deb into the terminal and it will automatically put it's location. Then press enter.
Justbill
April 12th, 2006, 11:45 PM
I'm sorry, I didn't quite understand what you meant there. Here is the output from cd /usr/src , and then ls -l :
root@Goliath:/home/bill# cd /usr/src
root@Goliath:/usr/src# ls
kernel-image-2.6.16-cks4_ck3_i386.deb linux-2.6.16.tar.bz2
linux linux-headers-2.6.12-10
linux-2.6.16ck3 linux-headers-2.6.12-10-386
root@Goliath:/usr/src# dpkg -i kernel-image-2.6.16-cks_ck3_i386.deb
dpkg: error processing kernel-image-2.6.16-cks_ck3_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
kernel-image-2.6.16-cks_ck3_i386.deb
root@Goliath:/usr/src# ls -l
total 54160
-rw-r--r-- 1 root src 14534526 2006-04-12 21:55 kernel-image-2.6.16-cks4_ck3_i386.deb
lrwxrwxrwx 1 root src 24 2006-04-12 20:54 linux -> /usr/src/linux-2.6.16ck3
drwxrwxrwx 21 root root 4096 2006-04-12 21:55 linux-2.6.16ck3
-rw-r--r-- 1 root src 40845005 2006-04-12 20:51 linux-2.6.16.tar.bz2
drwxr-xr-x 18 root root 4096 2006-04-09 13:23 linux-headers-2.6.12-10
drwxr-xr-x 4 root root 4096 2006-04-09 13:23 linux-headers-2.6.12-10-386
root@Goliath:/usr/src#
does kernel-image-2.6.16-cks4_ck3_i386.deb need to have permisions changed? and, is that what I want to install?
Thanks
Justbill
dcstar
April 13th, 2006, 12:50 AM
.....
does kernel-image-2.6.16-cks4_ck3_i386.deb need to have permisions changed? and, is that what I want to install?
Thanks
Justbill
Just make sure you type the exact same .deb name in, or make sure you only have your latest compiled .deb in that directory and type:
sudo dpkg -i *deb
Phlod
April 13th, 2006, 01:50 AM
I can't make xconfig? When I try it puts out this perplexing output:
root@zim:/usr/src/linux# make xconfig
scripts/kconfig/qconf arch/i386/Kconfig
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
qconf: cannot connect to X server :0.0
make[1]: *** [xconfig] Error 1
make: *** [xconfig] Error 2
No idea why it wouldn't be able to connect to the server. It's running, I'm using it right now.
dcstar
April 13th, 2006, 02:35 AM
ok, I linked to the desktop patch. Should I rewrite the tutorial for the newest kernel or should I wait until a new kernel comes out ?
Rewrite it so people have to find the latest patch, and then tweak the scripts to use it themselves.
dcstar
April 13th, 2006, 02:41 AM
I can't make xconfig? When I try it puts out this perplexing output:
root@zim:/usr/src/linux# make xconfig
scripts/kconfig/qconf arch/i386/Kconfig
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
qconf: cannot connect to X server :0.0
make[1]: *** [xconfig] Error 1
make: *** [xconfig] Error 2
No idea why it wouldn't be able to connect to the server. It's running, I'm using it right now.
I believe xconfig is a KDE app, do you have the various kdelibs packages installed?
ludzter
April 13th, 2006, 03:09 AM
I now have about 6 diffrent Kernels in my menu.lst , but how do i completly remove a old or non working kernel, i figure it might be pretty stupid to something wrong here, and have to it all over again.
title Ubuntu, kernel 2.6.16-cks3
kernel /boot/vmlinuz-2.6.16-cks3
initrd /boot/initrd.img-2.6.16-cks3
Only these 2 that i have to remove? ill think i need a step by step howto here :-k
Justbill
April 13th, 2006, 07:46 AM
Just make sure you type the exact same .deb name in, or make sure you only have your latest compiled .deb in that directory and type:
sudo dpkg -i *deb
Thanks dcstar! One of these days I'll learn to NOT try this stuff when half asleep! Thanks for noticing the typo in my last attempt (do I feel stupid).
New Kernel is working great!
Thanks Again!
Justbill
towsonu2003
April 13th, 2006, 09:50 AM
12. Now we are going to import your current kernel configuration:
13. Now import it: Make sure to replace the kernel version in this following command from the one from uname -r.
14. Configure the kernel:
It seems the imported /boot/config-blabla is not very "compatible" with the latest kernels. It misses a lot of options originally present in Ubuntu's kernel (the output on the terminal when typed "sudo make xconfig" shows the incompatible arguments in .config I guess). And you have to manually go in there and double check everything (which I can't do, bc I'm clueless :) )
One example is iptables. The new config made from the old one totally misses the iptables configuration in the kernel. With the new kernel, you don't have a firewall anymore. To fix that, check out: http://ubuntuforums.org/showthread.php?t=151824
xXx 0wn3d xXx
April 13th, 2006, 04:35 PM
I now have about 6 diffrent Kernels in my menu.lst , but how do i completly remove a old or non working kernel, i figure it might be pretty stupid to something wrong here, and have to it all over again.
title Ubuntu, kernel 2.6.16-cks3
kernel /boot/vmlinuz-2.6.16-cks3
initrd /boot/initrd.img-2.6.16-cks3
Only these 2 that i have to remove? ill think i need a step by step howto here :-k
Synaptic. Then search for kernel and find it. The name should be something like "linux-image-2.6.**.*" Where the * are the name then click the box on the left and select "Remove Completly."
towsonu2003
April 13th, 2006, 04:43 PM
Synaptic. Then search for kernel and find it. The name should be something like "linux-image-2.6.**.*" Where the * are the name then click the box on the left and select "Remove Completly."
just to correct, it will say kernel-image-blabla. Just make sure you're not uninstalling the wrong kernel, and I think you shouldn't uninstall a kernel while you are running on it ;) :P
To make sure you're not removing the kernel you're using, use uname -r.
plush
April 15th, 2006, 03:00 PM
Great thread... however I ran into some problems, which I'm sure are powerpc-related, who knows... I was hoping someone could shed some light on this.
I followed your directions, except I didn't implement the patch or rename the directory, though I don't think that should matter. After doing "make kpkg-clean", and then the command to "make-kpkg -initrd kernel_image", it starts doing it's thing for quite some time (15-20 min) and then it stops with at the following:
ld: drivers/built-in.o section .init.text exceeds stub group size
ld: arch/powerpc/kernel/built-in.o section .init.text exceeds stub group size
ld: init/built-in.o section .init.text exceeds stub group size
ld: net/built-in.o section .text exceeds stub group size
ld: drivers/built-in.o section .text exceeds stub group size
ld: block/built-in.o section .text exceeds stub group size
ld: security/built-in.o section .text exceeds stub group size
ld: ipc/built-in.o section .text exceeds stub group size
ld: fs/built-in.o section .text exceeds stub group size
ld: mm/built-in.o section .text exceeds stub group size
ld: kernel/built-in.o section .text exceeds stub group size
ld: arch/powerpc/platforms/built-in.o section .text exceeds stub group size
ld: arch/powerpc/kernel/built-in.o section .text exceeds stub group size
ld: arch/powerpc/kernel/head_64.o section .text exceeds stub group size
drivers/built-in.o: In function `.platinumfb_probe':platinumfb.c:(.text+0x84a0c): undefined reference to `.nvram_read_byte'
:platinumfb.c:(.text+0x84ab0): undefined reference to `.nvram_read_byte'
drivers/built-in.o: In function `.imsttfb_probe':imsttfb.c:(.text+0x88334): undefined reference to `.nvram_read_byte'
:imsttfb.c:(.text+0x88358): undefined reference to `.nvram_read_byte'
drivers/built-in.o: In function `.control_init':controlfb.c:(.init.text+0x52ec): undefined reference to `.nvram_read_byte'
drivers/built-in.o:controlfb.c:(.init.text+0x54dc): more undefined references to `.nvram_read_byte' follow
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.16'
make: *** [stamp-build] Error 2
I used the old config from my config-2.6.15-19-powerpc64-smp. And I used gconfig.
plush
April 15th, 2006, 03:08 PM
K now it does that right away when I try to type "make-kpkg -initrd kernel_image" again... is it trying to compile from where I left off? Should I erase everything and start over?
geearf
April 15th, 2006, 03:42 PM
Hello,
I'm using dapper with the 2.6.15 patched for reiser4 and a little tweaked, is this kernel + patchset really better than the almost 'official' one ?
Thanks
xXx 0wn3d xXx
April 15th, 2006, 03:54 PM
Hello,
I'm using dapper with the 2.6.15 patched for reiser4 and a little tweaked, is this kernel + patchset really better than the almost 'official' one ?
Thanks
I don't think that you should upgrade. You won't really get that much better performance in my opinion.
geearf
April 15th, 2006, 04:02 PM
Allright then, I will just tweak it a little more, is there any specific patch I should try ?
Thanks
xXx 0wn3d xXx
April 15th, 2006, 04:05 PM
Allright then, I will just tweak it a little more, is there any specific patch I should try ?
Thanks
I don't think there is a specific patch you could use but I just compilied the new 2.6.16.5 kernel and I tried to customize it for speed. I also didn't use any patch...let's see how fast it is...
eRoot
April 15th, 2006, 04:29 PM
I was hoping I could get the newest kernel on my slowish computer, but alas, I have encountered a problem.
When I'm building the kernel I get the following error:
...
...
...
CC kernel/posix-timers.o
CC kernel/kthread.o
CC kernel/wait.o
CC kernel/kfifo.o
CC kernel/sys_ni.o
CC kernel/posix-cpu-timers.o
kernel/posix-cpu-timers.c: In function ‘run_posix_cpu_timers’:
kernel/posix-cpu-timers.c:1275: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
make[2]: *** [kernel/posix-cpu-timers.o] Error 1
make[1]: *** [kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16ck3'
make: *** [stamp-build] Error 2
root@box:/usr/src/linux#
I noticed that if I start building it again, it starts off where the error occured and continues until it reaches the next "Segment fault".
This can't good, can it?
xXx 0wn3d xXx
April 15th, 2006, 04:38 PM
I was hoping I could get the newest kernel on my slowish computer, but alas, I have encountered a problem.
When I'm building the kernel I get the following error:
...
...
...
CC kernel/posix-timers.o
CC kernel/kthread.o
CC kernel/wait.o
CC kernel/kfifo.o
CC kernel/sys_ni.o
CC kernel/posix-cpu-timers.o
kernel/posix-cpu-timers.c: In function ‘run_posix_cpu_timers’:
kernel/posix-cpu-timers.c:1275: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
make[2]: *** [kernel/posix-cpu-timers.o] Error 1
make[1]: *** [kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16ck3'
make: *** [stamp-build] Error 2
root@box:/usr/src/linux#
I noticed that if I start building it again, it starts off where the error occured and continues until it reaches the next "Segment fault".
This can't good, can it?
ok, this can be the result of a bad patch. Try re-compiling the kernel and skip the patch step. Also compile the 2.6.16.5 kernel from kernel.org. Just follow the tutorial but replace the old kernel name (2.6.16) with the new one (2.6.16.5).
IsKall
April 15th, 2006, 04:42 PM
what do you mean with <name of the fine> ?
xXx 0wn3d xXx
April 15th, 2006, 04:55 PM
what do you mean with <name of the fine> ?
I mean name of file. Sorry, typo. Are you installing the kernel now ? If so I hope it works.
geearf
April 15th, 2006, 05:12 PM
I don't think there is a specific patch you could use but I just compilied the new 2.6.16.5 kernel and I tried to customize it for speed. I also didn't use any patch...let's see how fast it is...
Good, please tell us later about how it feels :)
kleeman
April 15th, 2006, 05:23 PM
I upgraded to the 2.6.17-rc1 kernel on dapper to fix a scsi problem. Seems to work quite well so far.
xXx 0wn3d xXx
April 15th, 2006, 05:28 PM
Good, please tell us later about how it feels :)
Here are some speed tests:
My Old 2.6.12-10 Kernel:
Boot (No InitNG): 1 min 4 sec.
Boot With InitNG: 54.26 seconds
Internet Test (Tested at testmy.net)
Test 1: 387 kb/s
Test 2: 393 kb/s
Test 3: 369 kb/s
--------------------------------------------------
My new 2.6.16.5 Customized Kernel-Unpatched
Boot (No InitNG): 54.46 seconds
Boot With InitNG: 43.58 seconds
Internet Test (Tested at testmy.net about the same time as the last test)
Test 1: 718 kb/s
Test 2: 711 kb/s
Test 3: 720 kb/s
---------------------------------------------------
I will now compare the 2.6.16.5 kernel - unpatched to 2.6.16 patched kernel.
My observations for 2.16.5 up (compared to 2.6.16 p)
1. It seems to be much more stable- true, no apps have crashed
2. Apps load quicker - From a cold boot, swiftfox loads in 3 seconds compared to 4.3 on the old one.
3. My net seems a little faster - semi-true. Download speed is down 20 kb/s (this could be because alot of people are on now) but page rendering is much faster.
4. Not much difference between patched and unpatched except for those above.
My observations for 2.6.16p compared to 2.6.16.5up
1. Gives the impression of being faster - this is untrue.
2. Much more unstable. I had a few apps crash on 2.6.16p
----------------------------------------------------
There the tests are in.
plush
April 15th, 2006, 05:29 PM
Any clues on my nvram issue? I'm trying everything I can to compile this thing...
eRoot
April 15th, 2006, 05:47 PM
ok, this can be the result of a bad patch. Try re-compiling the kernel and skip the patch step. Also compile the 2.6.16.5 kernel from kernel.org. Just follow the tutorial but replace the old kernel name (2.6.16) with the new one (2.6.16.5).
Thank you for your advice, but unfortunately it didn't help. I'm still getting the same message.
xXx 0wn3d xXx
April 15th, 2006, 05:56 PM
Thank you for your advice, but unfortunately it didn't help. I'm still getting the same message.
ok go under /usr/src as root and delete the 2.6.16 folders. Then just do the tutorial again and skip the patch. I also just thought of something, redownload the kernel. I have a feeling that your download may be corrupt. Good luck.
eRoot
April 15th, 2006, 07:10 PM
ok go under /usr/src as root and delete the 2.6.16 folders. Then just do the tutorial again and skip the patch. I also just thought of something, redownload the kernel. I have a feeling that your download may be corrupt. Good luck.
Hmm, that still didn't do the trick. It did actually compile somewhat longer, but it assume that's just coincidence. You said I might have a corrupt download. well, I used the following link and downloaded it for a second time, as you suggested: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.5.tar.bz2 That is the correct one, right?
Anyway, It's past 01.00, so I should problaby go to bed. I'll try to figure it out tomorrow. Good night :)
geearf
April 15th, 2006, 07:17 PM
Thanks for the feedback, it's strange to get worse perfomance with the ck patchset, but I'll stay with just the ubuntu patches then :)
dcstar
April 15th, 2006, 07:40 PM
I now have about 6 diffrent Kernels in my menu.lst , but how do i completly remove a old or non working kernel, i figure it might be pretty stupid to something wrong here, and have to it all over again.
.......
Just some little hints to those getting used to all the arcane things that go with compiling new kernels:
1/ Always (ALWAYS!) leave the existing "Official" kernel on your system and available to boot up from if things go "Pear-shaped"!
2/ If you want to recompile and re-install the new kernel multiple times (for instance, you may want to remove unnecessary config items that don't apply to your hardware/environment to make the kernel smaller - as well as compile quicker) - then you need to not be running the new kernel of you want to replace it. Once, you have recompiled a new .deb file, reboot you old kernel to then remove the old "new" kernel, and then do the dkpg step to install your new "new" kernel.
Just out of interest, removing many (many) items from my config gave me a generated .deb file of 4.0 MB, and the complie time was a fraction of the full config. My new kernel still does everything it should on my system but uses less memory because it has less never (ever) used code.
BTW, my boot time with old K7 kernel, 70 seconds, with new kernel (cut down items compile), 52 seconds and yes, it does seem faster in so many other areas........
geearf
April 15th, 2006, 08:12 PM
I've never had any troubles reinstalling the already running kernel.. maybe I was just lucky ?
bunnieofdoom
April 15th, 2006, 11:01 PM
i followed this guide exactly and xserver wont start. it says Fatal cant load module nvidia.
all nvidia related modules are updated to latest version allready anythoughts?
towsonu2003
April 15th, 2006, 11:15 PM
i followed this guide exactly and xserver wont start. it says Fatal cant load module nvidia.
all nvidia related modules are updated to latest version allready anythoughts?
aren't you supposed to recompile nvidia module everytime you change the kernel? have a look at an nvidia howto on how to recompile it. In the meantime, change your xorg.conf: instead of nvidia, use nv.
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bustedcopy04152006
sudo nano /etc/X11/xorg.conf
Navigate with arrows and page up-down. replace nvidia with nv (and if that doesn't work, replace that with vesa). save with ctrl + o (letter O), say yes. Exit with ctrl + x. Start X with startx (command). Once X is up and running, go to your favorite nvidia howto, check out how to recompile driver (?if needed?) etc.
Well, another alternative is to wait for an nvidia expert to reply :)
kalifi
April 16th, 2006, 11:46 AM
Hi,
after compilling the new kernel, lots of these
device-mapper: error adding target to table
errors appeared.
I have no clue what caused them. I've googled something about LVM, but in my case I have only one hdd and I think that LVM is useless for me.
Any ideas?
Miro
Abild
April 16th, 2006, 01:09 PM
Thanks a lot for the howto. It worked great and i got a significant speed improvement.
I have only one problem: When i try to install vmware i get the following error:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.
Can anyone help me out?
xXx 0wn3d xXx
April 16th, 2006, 01:13 PM
Thanks a lot for the howto. It worked great and i got a significant speed improvement.
I have only one problem: When i try to install vmware i get the following error:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.
Can anyone help me out?
Try backing up your configuration, remove it, then try getting the latest version an compile it from source. Then it should work.
Abild
April 16th, 2006, 01:37 PM
Try backing up your configuration, remove it, then try getting the latest version an compile it from source. Then it should work.
Should i remove the old vmware configuration or the kernel configuration?
xXx 0wn3d xXx
April 16th, 2006, 01:38 PM
Should i remove the old vmware configuration or the kernel configuration?
You should/can remove your vmware configuration. DON'T Delete your kernel config.
Abild
April 16th, 2006, 01:53 PM
You should/can remove your vmware configuration. DON'T Delete your kernel config.
Ok. Now i have uninstalled vmware with the vmware-uninstall.pl script and i have deleted the .vmware dir in my home folder but i still get the same error... :(
Thanks for your help so far :)
xXx 0wn3d xXx
April 16th, 2006, 01:58 PM
Ok. Now i have uninstalled vmware with the vmware-uninstall.pl script and i have deleted the .vmware dir in my home folder but i still get the same error... :(
Thanks for your help so far :)
Sorry that I'm not of much help. Let's see if anyone else knows.
greenbmw530i
April 16th, 2006, 02:22 PM
MasterChief1234, I greatly appreciate your HowTo! But, one thing, my wifi isn't working, so I read the bottom of your HowTo and followed the ndiswrapper installation, but I'm stuck on the last step:
5. Install
sudo dpkg -i ndiswrapper-modules-[your kernel]_[current version]-1_i386.deb ndiswrapper-utils_[current version]-1_i386.deb
I'm not sure as to what I put in each bracket. An example would be incredibly helpful to me.
2.6.16 is my kernel version (thanks to MasterChief1234 :D )
1.13 is my ndiswrapper version
Thanks a lot in advance,
greenbmw
xXx 0wn3d xXx
April 16th, 2006, 02:40 PM
MasterChief1234, I greatly appreciate your HowTo! But, one thing, my wifi isn't working, so I read the bottom of your HowTo and followed the ndiswrapper installation, but I'm stuck on the last step:
I'm not sure as to what I put in each bracket. An example would be incredibly helpful to me.
2.6.16 is my kernel version (thanks to MasterChief1234 :D )
1.13 is my ndiswrapper version
Thanks a lot in advance,
greenbmw
ok, the brackets mean to put the name of the file in there. Assuming that you compilied ndiswrapper in your home directory:
1. Open terminal
2. in terminal type
sudo dpkg NAME HERE
then
sudo dpkg -i OTHER NAME HERE
3. You may need to install one package before the other.
What I like to do is drag the .deb file into terminal so I don't need to do anything else so do this.
sudo dpkg -i then put a space and drag the .deb file into terminal.
greenbmw530i
April 16th, 2006, 02:52 PM
The thing is, is that I'm on kernel 2.6.12 right now (since my wifi doesn't work on 2.6.16)
What should I do in this case?
For instance:
mike@Jamestown:~$ sudo dpkg -i ndiswrapper-modules-2.6.12-10-386_1.13-1_i386.deb ndiswrapper-utils_1.8-1_i386.deb
OR
mike@Jamestown:~$ sudo dpkg -i ndiswrapper-modules-2.6.16-cks4_ck3_1.13-1_i386.deb ndiswrapper-utils_1.8-1_i386.deb
xXx 0wn3d xXx
April 16th, 2006, 03:06 PM
The thing is, is that I'm on kernel 2.6.12 right now (since my wifi doesn't work on 2.6.16)
What should I do in this case?
For instance:
mike@Jamestown:~$ sudo dpkg -i ndiswrapper-modules-2.6.12-10-386_1.13-1_i386.deb ndiswrapper-utils_1.8-1_i386.deb
OR
mike@Jamestown:~$ sudo dpkg -i ndiswrapper-modules-2.6.16-cks4_ck3_1.13-1_i386.deb ndiswrapper-utils_1.8-1_i386.deb
Do this, one may need to be installed before the other:
sudo dpkg -i ndiswrapper-modules-2.6.16-cks4_ck3_1.13-1_i386.deb
If that one ^ returns an error, install the other one first.
sudo dpkg -i ndiswrapper-utils_1.8-1_i386.deb
ashrack
April 16th, 2006, 03:09 PM
Thanks a lot for the howto. It worked great and i got a significant speed improvement.
I have only one problem: When i try to install vmware i get the following error:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.
Can anyone help me out?
Just to let U know, that Ure not alone. I get the same thing with my 2.6.15 CUSTOM COMPILED KERNEL.
I started a new thread here, so please post there from now on about VMWARE error.
http://ubuntuforums.org/showthread.php?p=927789#post927789
ashrack
April 16th, 2006, 03:11 PM
The thing is, is that I'm on kernel 2.6.12 right now (since my wifi doesn't work on 2.6.16)
What should I do in this case?
For instance:
mike@Jamestown:~$ sudo dpkg -i ndiswrapper-modules-2.6.12-10-386_1.13-1_i386.deb ndiswrapper-utils_1.8-1_i386.deb
OR
mike@Jamestown:~$ sudo dpkg -i ndiswrapper-modules-2.6.16-cks4_ck3_1.13-1_i386.deb ndiswrapper-utils_1.8-1_i386.deb
4 2.6.16 kernel U must use:
mike@Jamestown:~$ sudo dpkg -i ndiswrapper-modules-2.6.16-cks4_ck3_1.13-1_i386.deb ndiswrapper-utils_1.8-1_i386.deb
since the other one is meant for kernel 2.6.12
xXx 0wn3d xXx
April 16th, 2006, 07:04 PM
I'm getting ready to compile the latest 2.6.17-rc1. Has anyone used it ? How stable is it/how does it run ?
kleeman
April 16th, 2006, 07:13 PM
You missed my comment above. 2.6.17-rc1 runs fine on my dapper install.
xXx 0wn3d xXx
April 16th, 2006, 07:19 PM
You missed my comment above. 2.6.17-rc1 runs fine on my dapper install.
ok, well let's see how it runs on breezy...
zapcojake
April 16th, 2006, 11:27 PM
I seem to be having trouble getting fglrx working after the recompile. If I do the xorg reconfigure command I can select the driver but the 3d is horrid and 3ddesk won't work. I tried a couple of the ATI howto's but apt can't find restricted modules for the kernel. I'm sure somebody here has cured this if they can just point me in the right direction that would be great. Thanks.
meepy
April 17th, 2006, 04:03 PM
Oh god. I'm in trouble atm.
I did all what the guide said, but I think I got a serious problem. It was building for hours and then it gave me an error with it could not access a file because it was a read-only filesystem (stamp-error?). I could not start firefox or anything else, nothing worked so I tried reboot in hope it would be fixed, grub loaded, and I chose my kernel (the new wasent listed) It began loading and then at "Checking filesystem" it said it still was a read-only filesystem and I should fix it manually with "mount -n -o remount,rw /" I did that but it dident work. I tried in fail-safe enviroment aswell - no luck?
What happened and how can I save my system, I'm sitting on a horrible Windows system atm. Hoping for some help. Thanks in advance. :( :(
xXx 0wn3d xXx
April 17th, 2006, 06:14 PM
I just added some mirrors for the new kernels. I uploaded the 2.6.16, 2.6.16.5, and 2.6.17-rc1 kernels. The mirrors are hosted on rapidshare.
xXx 0wn3d xXx
April 17th, 2006, 06:18 PM
Oh god. I'm in trouble atm.
I did all what the guide said, but I think I got a serious problem. It was building for hours and then it gave me an error with it could not access a file because it was a read-only filesystem (stamp-error?). I could not start firefox or anything else, nothing worked so I tried reboot in hope it would be fixed, grub loaded, and I chose my kernel (the new wasent listed) It began loading and then at "Checking filesystem" it said it still was a read-only filesystem and I should fix it manually with "mount -n -o remount,rw /" I did that but it dident work. I tried in fail-safe enviroment aswell - no luck?
What happened and how can I save my system, I'm sitting on a horrible Windows system atm. Hoping for some help. Thanks in advance. :( :(
What kernel did you compile ? Did it return any errors when it was compiling it ?
meepy
April 17th, 2006, 06:28 PM
The only error was something with ns/some file (or something) that it could not access it because it was read-only.
I compiled the kernel in your first topic, top link incl. the patch. And followed the guide all the way, is there anyway to save my system?
xXx 0wn3d xXx
April 17th, 2006, 06:39 PM
The only error was something with ns/some file (or something) that it could not access it because it was read-only.
I compiled the kernel in your first topic, top link incl. the patch. And followed the guide all the way, is there anyway to save my system?
Did you get any errors while applying the patch ?
meepy
April 17th, 2006, 06:45 PM
No errors during patching. :(
xXx 0wn3d xXx
April 17th, 2006, 06:49 PM
No errors during patching. :(
Well, since the error came when compiling the kernel, it doesn't seem to be the kernel that caused the problem. Did you do anything else before compiling the kernel ? Like tweak your filesystem ?
xXx 0wn3d xXx
April 17th, 2006, 06:58 PM
A new kernel is out ! The 2.6.16.7 is now the latest stable kernel.
Kibbo
April 17th, 2006, 07:42 PM
Hi all,
Trying to follow the HowTo, and the patching and compiling both seemed to go smoothly.
I dpkg'ed the file, and it hangs at "Setting up kernel-image (version) ..."
Here is the last few lines in the terminal:
dpkg-deb: building package `kernel-image-2.6.16-cks4' in `../kernel-image-2.6.16-cks4_ck3_i386.deb'.
rm -f -r debian/tmp-image
echo done > stamp-image
make[1]: Leaving directory `/usr/src/linux-2.6.16ck3'
root@ubuntu:/usr/src/linux# cd /usr/src/
root@ubuntu:/usr/src# sudo dpkg -i kernel-image-2.6.16-cks4_ck3_i386.deb
Selecting previously deselected package kernel-image-2.6.16-cks4.
(Reading database ... 96070 files and directories currently installed.)
Unpacking kernel-image-2.6.16-cks4 (from kernel-image-2.6.16-cks4_ck3_i386.deb) ...
Setting up kernel-image-2.6.16-cks4 (ck3) ...
xXx 0wn3d xXx
April 17th, 2006, 07:44 PM
Hi all,
Trying to follow the HowTo, and the patching and compiling both seemed to go smoothly.
I dpkg'ed the file, and it hangs at "Setting up kernel-image (version) ..."
Here is the last few lines in the terminal:
dpkg-deb: building package `kernel-image-2.6.16-cks4' in `../kernel-image-2.6.16-cks4_ck3_i386.deb'.
rm -f -r debian/tmp-image
echo done > stamp-image
make[1]: Leaving directory `/usr/src/linux-2.6.16ck3'
root@ubuntu:/usr/src/linux# cd /usr/src/
root@ubuntu:/usr/src# sudo dpkg -i kernel-image-2.6.16-cks4_ck3_i386.deb
Selecting previously deselected package kernel-image-2.6.16-cks4.
(Reading database ... 96070 files and directories currently installed.)
Unpacking kernel-image-2.6.16-cks4 (from kernel-image-2.6.16-cks4_ck3_i386.deb) ...
Setting up kernel-image-2.6.16-cks4 (ck3) ...
It takes a while to set up the kernel. On my 2.2 ghz, 512 of ram system it can take as long as 4 minutes. Sometimes longer.
aktiwers
April 17th, 2006, 08:04 PM
Thanks for a great guide! This worked out easy and painless for me :)
I have been running Linux for about a month now, and never thought I would compile a kernel so fast!
Thanks again! :)
Kibbo
April 17th, 2006, 08:05 PM
Thanks for the quick reply, Chief.
I've left it running now for 30 mins, on a PIV@2.0 Ghz with a gig of ram. And my system monitor is pretty quiet on both the proccessor and the HD activity.
Barring other suggestions, I think I'm going to cancel the proccess and try to redownload and recompile the kernel. Based on what you see in my previous post, does it seem that i've downloaded the right files?
Thanks for any help and suggestions.
Edit: Is there anything that I should delete or uninstall before I try again?
xXx 0wn3d xXx
April 17th, 2006, 08:23 PM
You should go under /usr/src and delete the directory that you extracted the faulty kernel to. Right now I'm compiling the newly released (as of 1 hour ago) 2.6.16.7 kernel. I uploaded it to rapidshare because when a new kernel is released, lol download speeds on kernel.org get slow. I spent 30 minutes disabling uneeded modules and filesystems in xconfig x_x I hope it boots.
timczer
April 18th, 2006, 12:16 AM
I have successfully compiled and am using the 2.6.16.7 kernel. I am trying to now get the latest Nvidia drivers installed and working (8756 I believe). When I get to running the nvidia installer, I get to where it is going to compile the module but it errors out saying
" /lib/modules/2.6.16.7/build/include/linux/version.h does not exist. The most likely reason for this is that the kernel source files in /lib/modules/2.6.16.7/build have not been configured."
What am I doing wrong? How do I get the Nvidia drivers to install?
ashrack
April 18th, 2006, 01:31 AM
Oh god. I'm in trouble atm.
It began loading and then at "Checking filesystem" it said it still was a read-only filesystem and I should fix it manually with "mount -n -o remount,rw /" I did that but it dident work. I tried in fail-safe enviroment aswell - no luck?
Could U copy paste your errors here.
Kibbo
April 18th, 2006, 02:10 AM
The deb file completed its setup this time. I'm not going to reboot tonight, I'm in the middle of a movie and I expect to have to tinker with ndiswrapper to get online tomorrow.
Good luck with your kernel, Chief, and thanks for the great guide.
dvader
April 18th, 2006, 06:24 AM
MC
followed your "howto" , and nothing as happened , didn't even crash my OS Uname -r gives the original kernel , did run the grub command . Printed out all the imfo ane will go over it again. Used the copy/paste operation to eliminate any typos ...
What is next to see what went wrong ????
dvader
Ps where do I find avatars ?????
xXx 0wn3d xXx
April 18th, 2006, 07:37 AM
MC
followed your "howto" , and nothing as happened , didn't even crash my OS Uname -r gives the original kernel , did run the grub command . Printed out all the imfo ane will go over it again. Used the copy/paste operation to eliminate any typos ...
What is next to see what went wrong ????
dvader
Ps where do I find avatars ?????
Did you install the .deb ? It is in /usr/src. If you did install it try running "sudo update-grub" then it should show up. If it doesn't, you compilied a bad kernel. It can and does happen. Just delete the .deb, .tar.bz2, and the 2.6.16.7 kernel folder from under /urs/src. Then re-download and recompile. Did you try using the patch on 2.6.16.7 or a newer kernel then 2.6.16 ? It only works on 2.6.16.
timczer
April 18th, 2006, 09:07 AM
still having issues getting the nvidia driver to work. I went back to the "nv" driver in xorg.conf, works fine. Using synaptic I installed the nvidia-glx driver (7667) and enabled the driver. Restarted and get can't start the x server. it says it can't find or load the nvidia kernel module. Is there an issue with how the kernel was compiled, is it an issue with the 2.6.16.7 kernel? Any help would be appreciated.