PDA

View Full Version : HowTo: Installing and using KernelCheck


Pages : [1] 2

master_kernel
September 21st, 2007, 05:49 PM
http://kcheck.sf.net/images/Lumen.png (http://kcheck.sf.net)

NOTE: THERE IS A BUG IN KERNELCHECK LUMEN AS DESCRIBED AT https://bugs.launchpad.net/kernelcheck/+bug/432732. PATCHING INSTRUCTIONS CAN BE FOUND THERE.

Check out the blog: http://kernelcheck.blogspot.com/

The purpose of this thread is to help KernelCheck users to install, use, and/or hack KernelCheck, a program written by myself. If you do not want to install KernelCheck, an automated kernel builder, please visit the Master Kernel Thread (http://ubuntuforums.org/showthread.php?t=311158) instead. Now, a short description. KernelCheck is a project that is designed to automatically build any 2.6 kernel from the upstream source. KernelCheck can help users fix hardware problems and improve boot time by customising the kernel configuration. KernelCheck is currently under the GNU Public License.

Questions can also be asked via IRC on the #kernelcheck channel on irc.freenode.net or sent to team-kcheck@lists.launchpad.net.

KernelCheck can be used for several purposes:

Fixing hardware issues
Speeding up your computer with a shiny new kernel
Automatically downloading, compiling, and installing the latest kernel

KernelCheck can install any stable 2.6 kernel, the latest stable patch, the latest stable development prepatch, the latest mm patch, a custom patch, or none at all. Usually the prepatch is less stable than the normal performance patch, but it is still widely used.

So, you want to install KernelCheck? There are two versions available:

Stable - 1.2.5 "Lumen"
Development - 1.5.0 "Delta"

What's the difference? Well, the stable version of KernelCheck is a "tried and true" version, a version that has been tested over and over to get rid of as many bugs as possible before going public. The development version contains new features, but is often buggier than the stable version. The development installation method is the last described method on this post. Certain features may not work, such as proprietary video driver installation in the development version.


Recommended Installation Method (Stable)

Download the Ubuntu package for KernelCheck here (http://sourceforge.net/project/showfiles.php?group_id=199755).
Install KernelCheck
cd location of package
sudo dpkg -i kernelcheck_1.2.5-3_all.deb
Use it: Go to Application > System Tools > KernelCheck and read the usage instructions below.


Advanced/Manual Installation Method (Stable)

Download the KernelCheck source here (http://sourceforge.net/project/showfiles.php?group_id=199755).
Unpack the archive
tar -xzf kernelcheck-*.tar.gz
Install KernelCheck
cd kernelcheck-*
sudo python setup.py install
Use it
sudo kernelcheck


Advanced/Manual Installation Method (Development)

Download the KernelCheck source from LaunchPad:
bzr branch lp:kernelcheck
Enter the directory:
cd kernelcheck
Install KernelCheck
sudo python setup.py install
Use it
sudo kernelcheck


Usage
Full documentation for the stable version is available at http://kcheck.sourceforge.net/pool/Documentation-Lumen.pdf. Note that usage may vary if you use the development version of KernelCheck.

KernelCheck can be opened in a variety of ways, either by going to Application > System Tools > KernelCheck, or by opening a terminal and typing in:
sudo kernelcheck

If you don't use sudo (or some other method of authentication, the program will show an error telling you to run it as root. If it does open, the first thing to do is download the kernel information. After doing that, the information the program shows should update.

The basic things the program will show you are:

Your running kernel
The latest kernel
The latest kernel patch


Now on to building the kernel. Under Kernel Patch Options, select the option that you wish to use. Unless you know what you're doing, I strongly recommend using the default selected. Under Advanced Options, you can choose whether you want to configure the kernel options, reconfigure the X server, and install an nVidia module. The nVidia option will remove any nVidia-related packages, any binary version installed, and install the latest one. This will remove nVidia support for older kernels until you run the binary file in /usr/src with the -K option with every new kernel you use, not compiled with KernelCheck. It is strongly recommended that you configure the kernel options yourself, mainly to make sure your hardware is supported. Now to build the kernel, all you have to do is go to Program > Build New Kernel.

Hacking
KernelCheck Lumen Hack #1: Change the name of the kernel

Open up a terminal and type:
sudo nano /usr/lib/python2.5/site-packages/KernelCheck/library/kscript.sh
Find the line that says: KERNELNAME="Candela"
Change the word "Candela" to whatever you want to name your kernel.
Use CTRL+Q to quit and save the changes.
Profit!



Post your questions, comments, requests, etc. here.


Lumen planned features:
Real Fglrx and nVidia support (nVidia via vor's method, Fglrx via kernel source and checker)
Patches for automatic ALSA (added)
Patches for automatic kernel optimization
Old stable kernel support (added)
Proxy update
Fix non-interactive display in Lumen
Dependency python-gnome2 fix

master_kernel
September 25th, 2007, 03:08 PM
There number of KernelCheck downloads has doubled since I posted this topic. Thank you for your support.

FRuMMaGe
September 25th, 2007, 06:05 PM
Compiling as I type this.

+ 1 for hacking section

What theme are you using? The metallic black looks great on the screenshots :lolflag:

az_s_za
September 25th, 2007, 06:19 PM
KernelCheck is a project that is designed to easily build the latest kernel for your distribution
Sounds self-explanatory, but I have to check... can I use KernelCheck (or the instructions in your Master Kernel Thread for that matter) on a different (not Ubuntu) debian-based distro?

I have not compiled a kernel before, but want to try this on another distro which uses an older kernel.

Thanks.

master_kernel
September 25th, 2007, 06:39 PM
Sounds self-explanatory, but I have to check... can I use KernelCheck (or the instructions in your Master Kernel Thread for that matter) on a different (not Ubuntu) debian-based distro?

I have not compiled a kernel before, but want to try this on another distro which uses an older kernel.

Thanks.
I don't see why not. I believe all debian-based system use APT, so it should work. However, I do not know if it will work on a RPM system, but I haven't tried.

master_kernel
September 25th, 2007, 06:40 PM
Compiling as I type this.

+ 1 for hacking section

What theme are you using? The metallic black looks great on the screenshots :lolflag:
You're the second person to ask. I'll add which icon theme and GTK theme I'm using to the Howto.

az_s_za
September 28th, 2007, 06:39 AM
Following the steps above, when I run kernelcheck, I get the following error message:
Traceback (most recent call last):
File "/usr/bin/kernelcheck-stage2", line 23, in ?
pygtk.require('2.0')
File "/var/lib/python-support/python2.4/pygtk.py", line 69, in require
assert not sys.modules.has_key('gtk'), \
AssertionError: pygtk.require() must be called before importing gtk
???

master_kernel
September 28th, 2007, 02:52 PM
Are you using Ubuntu?

It should work, this was tested on a fresh install of Feisty, and Gutsy.

However, if you continue to receive this error do the following:

Open a terminal and enter:
sudo gedit /usr/bin/kernelcheck-stage2
Find the line the reads 'pygtk.require('2.0')'
Remove that line, save, and run kernelcheck

master_kernel
September 29th, 2007, 09:01 PM
Coming in the next release (1.0.6) of KernelCheck:


New security update method
Support for installing several proprietary drivers for the new kernel including, but not limited to:

FGLRX
nVidia
ndiswrapper

Reconfigure X Server option


You can preview (test) these features in KernelCheck Codename HYDRA, KernelCheck 1.0.6 Alpha. Download it from the download page at the KernelCheck website.

Any requests can be posted here.

az_s_za
September 30th, 2007, 05:12 AM
No, I am compiling this new kernel for Elive (debian with Enlightenment desktop).

Since my last post, I used the instructions on your Master Kernel Thread which worked splendidly.
Thank you.

Next time I'll try kernelcheck again, using your instructions. Thanks.

risidoro
October 1st, 2007, 10:44 AM
Hi,
this program looks very promising and cool. I'm guessing which config is used when user press the Build Latest Kernel button. Does it run make oldconfig and then choose the defaults for the new options?

I would like the possibility to run make xconfig to customize all the options (i.e. disable generic x86 support and choose my processor family; build all the drivers i need inside the kernel instead of as modules; etc). Is it already possible to do this or can you add a small checkbox for this?

thanks, bye

master_kernel
October 1st, 2007, 03:11 PM
Hi,
this program looks very promising and cool. I'm guessing which config is used when user press the Build Latest Kernel button. Does it run make oldconfig and then choose the defaults for the new options?

I would like the possibility to run make xconfig to customize all the options (i.e. disable generic x86 support and choose my processor family; build all the drivers i need inside the kernel instead of as modules; etc). Is it already possible to do this or can you add a small checkbox for this?

thanks, bye
Hi, thank you for considering my program.

1. It does run make oldconfig, but it does not automatically choose the default options. You can choose the default options by holding down ENTER when make oldconfig is run.

2. It does automatically run make xconfig for customization.

master_kernel

OffHand
October 3rd, 2007, 05:20 PM
So your application makes and installs a deb file (kernel) which can be removed with Synaptic? It will respect the kernels that are installed already?

master_kernel
October 3rd, 2007, 06:31 PM
So your application makes and install a deb file (kernel) which can be removed with Synaptic? It will respect the kernels that are installed already?
Of course! :)

master_kernel

risidoro
October 4th, 2007, 03:40 AM
Hi Master_kernel,
can you pls tell me what's the difference between:
Latest kernel patch and Posted kernel patch? Or Latest kernel prepatch and Posted kernel prepatch?

Actually, i've found the difference by looking in kernelcheck-stage2 file, Posted kernel is the one listed in master kernel thread, right? But i don't quite understand why this information should be useful...

Moreover: why do you compare posted kernel ver (from the forum) with latest kernel ver (from kernel.org)? Why should i need such an information?

Finally: there is a problem when you compare latest kernel ver (from kernel.org) with installed-kernel ver (with uname -r) to see whether my kernel is up to date or not: the problem is that in gutsy (at least in my system), 'uname -r' returns "2.6.22-12-generic" but the kernel version you get from kernel.org, the latest one, will never contain the tailing string '-generic' so installed kernel version and latest kernel version will never match even if my system is actually up to date. I hope i've been clear enough, my english is not so good.

Anyway, i really like your program, i hope you'll continue developing and improving it!

BTW, before i forget, add me to the list of people asking for hacking features in next version. +1 for me! :)

master_kernel
October 4th, 2007, 03:37 PM
1. The posted kernel patch is just useless information, primarily for me to know when to update the thread. :)
2. In the next release, I will add support for parsing the 2.6.**-generic to read 2.6.**
3. There will be hacking support in the new version, codenamed HYDRA because of the many new features that will be included. This hacking support will only be available to those who put a certain file in a certain folder with a certain line in it, so others who don't want this feature will not have it.

ANNOUNCEMENT:
The next version of KernelCheck (Codename HYDRA) is scheduled to be released by November 1 with MANY new features. Please post any requests for HYDRA to this thread.

OffHand
October 4th, 2007, 05:27 PM
I just used your application to build and install the latest kernel. It worked great! There we still a lot of questions which needed to be answered. Can you recommend a good guide for the options that a not answered by default?

master_kernel
October 4th, 2007, 06:14 PM
I just used your application to build and install the latest kernel. It worked great! There we still a lot of questions which needed to be answered. Can you recommend a good guide for the options that a not answered by default?
I am currently trying to find a way to eliminate those questions. You can usually press and hold Enter to select the defaults for it. Those are part of 'make oldconfig' which uses your current kernel configuration to build the new kernel. The questions to be answered are new options not specified in the old kernel. If you know a way to somehow send the 'Enter' keyboard signal to the terminal, please share it. This would be a great help.

risidoro
October 5th, 2007, 05:15 AM
I am currently trying to find a way to eliminate those questions. You can usually press and hold Enter to select the defaults for it.

I've found this two commands but i've not tested them:

make silentoldconfig OR
make ARCH=i386 nonint_oldconfig

----

A good addition to your next version would be this script i've found on kernel mailing list: http://www.ussg.iu.edu/hypermail/linux/kernel/0503.1/1248.html

The script will automatically disable in the config all the drivers that you're currently not using. To do so it checks the loaded modules (lsmod) and then disable in the confg all the modules that are not loaded in the pc (probably because they're not needed).

With a little change to the perl code you can have a even more useful feature: you set the config so that all the modules you're currently using (lsmod) will be compiled inside the kernel instead of as modules. Usually this is what i manually do when i compile a new kernel: i include all the drivers i need inside the kernel and not as modules.

Bye

master_kernel
October 7th, 2007, 06:22 PM
I've found this two commands but i've not tested them:

make silentoldconfig OR
make ARCH=i386 nonint_oldconfig

----

A good addition to your next version would be this script i've found on kernel mailing list: http://www.ussg.iu.edu/hypermail/linux/kernel/0503.1/1248.html

The script will automatically disable in the config all the drivers that you're currently not using. To do so it checks the loaded modules (lsmod) and then disable in the confg all the modules that are not loaded in the pc (probably because they're not needed).

With a little change to the perl code you can have a even more useful feature: you set the config so that all the modules you're currently using (lsmod) will be compiled inside the kernel instead of as modules. Usually this is what i manually do when i compile a new kernel: i include all the drivers i need inside the kernel and not as modules.

Bye
Wow! This was a great help! I'll test out the make silentoldconfig later, and if it works, I'll include in the HYDRA release. I might add an option to use the script you mentioned if that works too. The downside of this is that if you need hardware support later that is not compiled into the kernel, it won't work. I'll have to do some playing around since I don't know PERL.

Thank you!
master_kernel

OffHand
October 8th, 2007, 06:50 AM
Wow! This was a great help! I'll test out the make silentoldconfig later, and if it works, I'll include in the HYDRA release. I might add an option to use the script you mentioned if that works too. The downside of this is that if you need hardware support later that is not compiled into the kernel, it won't work. I'll have to do some playing around since I don't know PERL.

Thank you!
master_kernel

Might want to make silent mode optional then....

master_kernel
October 8th, 2007, 03:20 PM
Might want to make silent mode optional then....
Of course, if it works.

pek
October 10th, 2007, 06:50 AM
download of the latest kernel source fails. if i download manually it works. is there a way to tell this program to use the sources i have downloaded if the versions are the same?

master_kernel
October 10th, 2007, 02:56 PM
download of the latest kernel source fails. if i download manually it works. is there a way to tell this program to use the sources i have downloaded if the versions are the same?
It works for me running KernelCheck 1.0.5. Can you post the output of the program? It may have something to do with the latest kernel release.

master_kernel
October 10th, 2007, 03:12 PM
I ran into a wall with the development KernelCheck. Apparently, the fglrx-kernel-source package in the Ubuntu Gutsy repo has a different filename than the onee in Feisty. Any help in resolving this is appreciated.

plun
October 11th, 2007, 05:35 PM
Thanks for this script...:)

Hydra is up and running and Gutsy seems to have late trouble with
its kernel... Hydra is a Ferrari... :)

-Free disk space must be included or written in the script, as I can see
at least 2.5 GB is needed.

- nVidia driver was broken...I must manually install it.

plun@dunder:~$ uname -r
2.6.23-hydra

:)

master_kernel
October 13th, 2007, 11:13 AM
Thanks for this script...:)

Hydra is up and running and Gutsy seems to have late trouble with
its kernel... Hydra is a Ferrari... :)

-Free disk space must be included or written in the script, as I can see
at least 2.5 GB is needed.

- nVidia driver was broken...I must manually install it.

plun@dunder:~$ uname -r
2.6.23-hydra

:)

I'm working on the nVidia and ATi drivers... since I don't have an nVidia machine I will need testers. You're right about the disk space: I'll try to add something to the script. Thanks for using KernelCheck!

Frak
October 14th, 2007, 01:54 PM
Thanks for this, its teh roxxors\\:D/

:lolflag:

jaeqladore
October 14th, 2007, 05:46 PM
Hi!

I just installed KernelCheck 1.0.5 on Kubuntu Feisty following this howto, but when it starts it skips the dialog box and i receive the following error:

/usr/bin/kernelcheck: line 434: zenity: command not found

After this the program runs, connects to the internet and diplays the appropriate information about the kernels. However, it doesn't diplay the new kernel options.

Can anyone tell me what this means? Thanks!

Frak
October 14th, 2007, 05:48 PM
Hi!

I just installed KernelCheck 1.0.5 on Kubuntu Feisty following this howto, but when it starts it skips the dialog box and i receive the following error:



After this the program runs, connects to the internet and diplays the appropriate information about the kernels. However, it doesn't diplay the new kernel options.

Can anyone tell me what this means? Thanks!
sudo aptitude install zenity

jaeqladore
October 15th, 2007, 02:43 AM
I figured it was someting obvious that i had missed :D

So, I installed zenity and KernelCheck boots up without errors. It still doesn't diplay the kernel options choice, but i just noticed that there's no prepatch found so I suppose that's why.

I'm still quite new to linux when it comes to all this kernel-stuff but i'm slowly learning... (i hope) :) Thanks for the help Frak!

plun
October 15th, 2007, 05:50 AM
I'm working on the nVidia and ATi drivers... since I don't have an nVidia machine I will need testers. You're right about the disk space: I'll try to add something to the script. Thanks for using KernelCheck!

OK...great little application, I switched to Debian Sid and it works nicely..:)

2.6.23-1-hydra is running, magic speed also with all "bling" running.

Thanks !

Just make a note if nVidia testers are needed...

master_kernel
October 15th, 2007, 03:02 PM
KernelCheck HYDRA Beta is scheduled to be released by Friday, October 19, 2007.

There will be major changes in this version, and it will be the first version where beta testers will be needed. There will be a separate thread for the beta testers, and the link will be posted on the main post and the webpage. Any suggestions for HYDRA must be submitted by Wednesday, October 17, 2007.

colo505
October 16th, 2007, 11:34 AM
If for any reason you wish to uninstall, how do you do it?

OffHand
October 16th, 2007, 12:38 PM
If for any reason you wish to uninstall, how do you do it?

The application or the kernel?

colo505
October 16th, 2007, 01:03 PM
the kernel

OffHand
October 16th, 2007, 01:24 PM
the kernel

Launch synaptic package manager and do a search for 'linux image'. Find the latest kernel and uninstall it.

Frak
October 16th, 2007, 05:04 PM
Launch synaptic package manager and do a search for 'linux image'. Find the latest kernel and uninstall it.
I think you mean, find the latest kernel and install it. It will then overwrite the one you installed.

EDIT
Also, to the OP Master_Kernel, you need to list xterm (apt:xterm) as a dependency.

master_kernel
October 16th, 2007, 06:46 PM
I think you mean, find the latest kernel and install it. It will then overwrite the one you installed.

EDIT
Also, to the OP Master_Kernel, you need to list xterm (apt:xterm) as a dependency.
Thanks, I forgot about this. It will be added in the next release. I am currently debating what the HYDRA release will be: 1.0.6 or 1.1.0. It will be a great milestone for KernelCheck. All the kernels built with it will be 2.6.xx.xx-hydra. I never did find a way to silently make oldconfig, so I guess it won't be included. The speed of information retrieval will also be improved--a whopping 1 second (cable/dsl) versus the old 10 seconds (partly due to the removal of Master Kernel Thread information).

Sayers
October 16th, 2007, 07:24 PM
You should change to the menu, this yes no thing is very annoying.

aktiwers
October 16th, 2007, 09:43 PM
Very Nice work!
+1 for the hacking part :)

Faer
October 17th, 2007, 01:38 AM
I've come across a snag when attempting to build the latest kernel with KernelCheck. As it doesn't want to let me copy and paste the exact log of what it was doing (or maybe it would if I wasn't such a newbie :P), I'll do my best to explain the problem in as concise a manner as possible.

KernelCheck starts installing the latest dependencies.
<long list of Hit's and Ign's here>
KernelCheck finishes reading package lists.
E: Some index files failed to download, they have been ignored, or old ones were used instead.
Unkown Error. Aborting now.

And that's all she wrote. KernelCheck is up to date, and doesn't have any issues until I attempt to build the latest kernel. I'm running the 64bit Feisty Fawn release, with an AMD64 4200+ X2 CPU, an nVidia card, and installed KernelCheck from the terminal (no idea if all that information is relevant, but I figured I'd provide it just in case).

EDIT: I've started compiling the kernel manually via the directions in the Master Kernel Thread (awesome resource), and everything is going fine so far. Maybe it's just a problem with the way I installed KernelCheck.

OffHand
October 17th, 2007, 05:31 AM
You might want to implement that KernelCheck cleans up the source after it has been compiled. It takes up a lot of space and most people do not have a huge /

Sunflower1970
October 17th, 2007, 11:47 AM
This is a great program. Thanks for writing it :D

Installed my very first compiled kernel this morning.

master_kernel
October 17th, 2007, 03:55 PM
You should change to the menu, this yes no thing is very annoying.
What do you mean?

master_kernel
October 17th, 2007, 03:57 PM
I've come across a snag when attempting to build the latest kernel with KernelCheck. As it doesn't want to let me copy and paste the exact log of what it was doing (or maybe it would if I wasn't such a newbie :P), I'll do my best to explain the problem in as concise a manner as possible.

KernelCheck starts installing the latest dependencies.
<long list of Hit's and Ign's here>
KernelCheck finishes reading package lists.
E: Some index files failed to download, they have been ignored, or old ones were used instead.
Unkown Error. Aborting now.

And that's all she wrote. KernelCheck is up to date, and doesn't have any issues until I attempt to build the latest kernel. I'm running the 64bit Feisty Fawn release, with an AMD64 4200+ X2 CPU, an nVidia card, and installed KernelCheck from the terminal (no idea if all that information is relevant, but I figured I'd provide it just in case).

EDIT: I've started compiling the kernel manually via the directions in the Master Kernel Thread (awesome resource), and everything is going fine so far. Maybe it's just a problem with the way I installed KernelCheck.
The problem is that one of the repositories in your /etc/apt/sources.list is not working. Remove this bad entry and try it again. This error comes up because KernelCheck checks to see if there was an error with one command before it goes on to the next one. There is a way to hack around this, I can give it to you if you want it.

master_kernel
October 17th, 2007, 03:58 PM
You might want to implement that KernelCheck cleans up the source after it has been compiled. It takes up a lot of space and most people do not have a huge /
I think I'll add this as an option in HYDRA.

barbro
October 20th, 2007, 06:00 PM
I tried compile the kernel with ipw2200 i followed ipw2000 guide (http://ubuntuforums.org/showthread.php?p=2599422&highlight=ipw2200#post2599422).
I used (firmware version 3.0).
when i boot with 2.6.23.1 i get the following error;

ipw2200: ipw2200:bss-fw request_firmware failed: Reason -2
ipw2200: Unable to load firmware: -2
ipw2200: failed to register network device

Anyone else noticed this problem? Any solution?

and when boot is ready i try to do sudo modprobe ipw2200 i get: FATAL: Module ipw220 not found?
how come? I know i compiled kernel with ipw2200 and put the fireware in /lib/firmware/2.6.23.1/

ravenon
October 21st, 2007, 03:20 PM
I have compiled a custom kernel using KernelCheck (2.6.23) and using the process described on the Master Kernel thread (2.6.22) and am running Gutsy. My reason to turning to a custom built kernel is that in Gutsy, the developers decided to switch to the SLUB allocator, SLAB was used in the past. I have a laptop with ATI 200 Express chipset and X700 graphics card, hence must us the proprietary fglrx drivers for functional use. However, with SLUB a bug appears in these drivers; the machine will no longer suspend or hibernate. This is described in Launchpad bug https://bugs.launchpad.net/bugs/121653

So building a custom kernel with SLAB, I then build the fglrx kernel module and poof, suspend and resume work again as they did in Fiesty.

Now the glitch. My laptop uses Intel Pro 3945 wireless card and the driver for that is provided by Ubuntu as a kernel module in the package linux-ubuntu-modules. My question is if I ge the source for this package, if there a way to build this module as I build the kernel? Or, should I use the source code for iwp3945 with module assistant and build the module? Whats the best approach?

master_kernel
October 21st, 2007, 08:15 PM
I have compiled a custom kernel using KernelCheck (2.6.23) and using the process described on the Master Kernel thread (2.6.22) and am running Gutsy. My reason to turning to a custom built kernel is that in Gutsy, the developers decided to switch to the SLUB allocator, SLAB was used in the past. I have a laptop with ATI 200 Express chipset and X700 graphics card, hence must us the proprietary fglrx drivers for functional use. However, with SLUB a bug appears in these drivers; the machine will no longer suspend or hibernate. This is described in Launchpad bug https://bugs.launchpad.net/bugs/121653

So building a custom kernel with SLAB, I then build the fglrx kernel module and poof, suspend and resume work again as they did in Fiesty.

Now the glitch. My laptop uses Intel Pro 3945 wireless card and the driver for that is provided by Ubuntu as a kernel module in the package linux-ubuntu-modules. My question is if I ge the source for this package, if there a way to build this module as I build the kernel? Or, should I use the source code for iwp3945 with module assistant and build the module? Whats the best approach?
I know that there are patches for this, but there may be an easier approach. I downloaded the source for linux-ubuntu-modules and when I untar-ed it I saw a ubuntu-firmware directory. I think if you copy the contents of the ipw3495 firmware folder to /lib/firmware/2.6.23/ the kernel should detect the firmware on reboot.

Hope this works!
master_kernel

master_kernel
October 21st, 2007, 08:18 PM
I tried compile the kernel with ipw2200 i followed ipw2000 guide (http://ubuntuforums.org/showthread.php?p=2599422&highlight=ipw2200#post2599422).
I used (firmware version 3.0).
when i boot with 2.6.23.1 i get the following error;

ipw2200: ipw2200:bss-fw request_firmware failed: Reason -2
ipw2200: Unable to load firmware: -2
ipw2200: failed to register network device

Anyone else noticed this problem? Any solution?

and when boot is ready i try to do sudo modprobe ipw2200 i get: FATAL: Module ipw220 not found?
how come? I know i compiled kernel with ipw2200 and put the fireware in /lib/firmware/2.6.23.1/
Odd. These wireless problems are popping up all over the place now because the mainstream kernel has switched wireless configurations. Try searching (ctrl +f) in the xconfig for ipw2200 and check anything that comes up. I don't know if this will work, but it's a start.

master_kernel
October 24th, 2007, 03:03 PM
MAJOR NOTE: KERNELCHECK DEVELOPMENT WITH INCLUSION OF PROPRIETARY DRIVERS HAS COME TO A HALT WITH BECAUSE OF THE NEW API IN THE 2.6.23 KERNEL. THIS KERNEL CONTAINS TWO MAJOR CHANGES THAT PREVENT THE PROGRAM TO FUNCTION WITHOUT THE USE OF KERNEL PATCHES. BECAUSE OF THIS, THE RELEASE OF KERNELCHECK IS UNDECIDED. THE SCHEDULED RELEASE FOR NOVEMBER 7, 2007 IS NOW INVALID. THOUGH THIS MAY BE SO, KERNELCHECK HYDRA BETA IS STILL ON SCHEDULE FOR ITS RELEASE TODAY. THE CHANGES TO THE SCRIPT WITH THE INCLUSION OF PATCHES WILL BE INTEGRATED ASAP.

Sorry for the inconvenience.
master_kernel

Frak
October 24th, 2007, 05:04 PM
Thanks for the notice :)

I am really starting to dislike all the big changes to the kernel though, a little heads up (some three months) warning from the kernel devs would be great. I'm going to suggest it on the mailing list.

master_kernel
October 24th, 2007, 05:41 PM
Thanks for the notice :)

I am really starting to dislike all the big changes to the kernel though, a little heads up (some three months) warning from the kernel devs would be great. I'm going to suggest it on the mailing list.
I agree. There are two major changes in the 2.6.23 kernel ABI that do not allow some proprietary video drivers to be compiled into the kernel (including mine!). Looks like I'll have to check how the Ubuntu team works around this problem.

rustybronco
October 26th, 2007, 03:54 PM
What the heck... i've got a spare h.d., a 7.10 iso and they released 2.6.24 rc1, time to give kernel check a go!

master_kernel
October 29th, 2007, 11:34 AM
This would be an option... but the ck patchset ended with the 2.6.22 kernel. Maybe I'll add support for the kamikaze patchset.

master_kernel
October 29th, 2007, 05:05 PM
Good news for fglrx(at least on 64bit)! I have found 3 patches that work together to help the driver compile into the kernel!

DemonBob
November 11th, 2007, 01:42 PM
How about support for the -mm patch. Also was wondering does it copy your current .config to the new kernel and loads it by defualt, for the xconfig

master_kernel
November 11th, 2007, 09:24 PM
How about support for the -mm patch. Also was wondering does it copy your current .config to the new kernel and loads it by defualt, for the xconfig
It does copy the config to the new kernel for default. I will add support for mm patches to HYDRA.

Thanks for your support,
master_kernel

master_kernel
November 11th, 2007, 10:04 PM
If you would like to see a screenshot preview of KernelCheck HYDRA, just say the word. I'm still working on the nVidia drivers. If you can offer any help with this, please contact me.

master_kernel
November 11th, 2007, 10:18 PM
Features to be included in KernelCheck 1.1.0 HYDRA:
As of 11/11/2007, straight from the changelog


Added radio buttons for selecting patch
Added mm patch support***
Added more signal trapping to Python script
Added error identification to script
Added KernelCheck to Applications > System [Tools] and icon
Added help option to script, and majorly updated script
Added Master Kernel Thread button
Added to running kernel checker so 2.6.xx-xxxx is recognized
Added caching support to GREATLY enhance speed (~1.5 sec. vs. ~10 sec. for Cable/DSL)***
Added support for installing the fglrx driver 8.40.1***
Added support for installing the nVidia driver (not legacy)***
Added support for reconfiguring the x server***
Switched internet servers for kernel.org and ubuntuforums.org to speed up script
New, improved, VERY fast network test (thanks to walkerk)
Changed variable names for better understanding

*** - Feature requests integrated


Your opinion matters! Test the new KernelCheck HYDRA Beta and help support KernelCheck!

DemonBob
November 12th, 2007, 05:56 PM
Let me know where to get the latest version. I have a vm i can test it on, and a laptop.

master_kernel
November 12th, 2007, 07:10 PM
Mini HOWTO: Install KernelCheck Testing versions
Use these versions at your own risk. They may or may not work.


Download KernelCheck Testing
wget http://kcheck.sourceforge.net/pool/testing-git/kernelcheck-testing.tar.gz
Untar the archive
tar -xzf kernelcheck-testing.tar.gz
Install KernelCheck Testing
cd kernelcheck-testing && sudo python setup.py install
Run KernelCheck Testing
kernelcheck
OR
Menu [Bar] > Applications > System Tools > KernelCheck
Post feedback at this thread

master_kernel
November 12th, 2007, 07:11 PM
KernelCheck is in dire need of a logo. If you can help, please contact me.

DemonBob
November 13th, 2007, 12:23 AM
Ran the instructions above, ran kernelcheck. It will not build selecting any patch. It seems to not even attempt to build, not poping up an xterm window at all.

Running: 2.6.22-14-generic, Clean install

Laptop: Acer Aspire 5315

funpop
November 13th, 2007, 04:45 PM
hey master kernel!

just want to say thanks for your work! kernelcheck 1.05 worked great with gutsy, in the qtconfig i just changed some stuff like selecting my cpu, that 1000 hz latency (?), disabled some stuff i dont need like wireless. for the nvidia drivers i just used the envy script.

kernelcheck and envy create debs, so its easy to manage those.

im not sure if my desktop is now snappier of faster, might be placebo effect :)

but i got rid of an old annoyance: when i play openarena and amarok switches the track in the background the game was hanging for ~3 seconds. now it doesnt do that anymore, which is great. i think the CFS of 2.6.23 cured this problem :popcorn:

master_kernel
November 13th, 2007, 04:51 PM
Ran the instructions above, ran kernelcheck. It will not build selecting any patch. It seems to not even attempt to build, not poping up an xterm window at all.

Running: 2.6.22-14-generic, Clean install

Laptop: Acer Aspire 5315
Bug fixed. Thanks for the notice.

master_kernel
November 13th, 2007, 04:52 PM
hey master kernel!

just want to say thanks for your work! kernelcheck 1.05 worked great with gutsy, in the qtconfig i just changed some stuff like selecting my cpu, that 1000 hz latency (?), disabled some stuff i dont need like wireless. for the nvidia drivers i just used the envy script.

kernelcheck and envy create debs, so its easy to manage those.

im not sure if my desktop is now snappier of faster, might be placebo effect :)

but i got rid of an old annoyance: when i play openarena and amarok switches the track in the background the game was hanging for ~3 seconds. now it doesnt do that anymore, which is great. i think the CFS of 2.6.23 cured this problem :popcorn:
You're welcome. I'm glad to know my work is appreciated.

master_kernel

lime4x4
November 13th, 2007, 09:18 PM
this is the error i'm getting with the latest version (hydra). I'm running gutsy by the way

john@john-feisty:~$ kernelcheck

Initiating KernelCheck Codename HYDRA
Success.


Testing your network connection...
Test was successful, you are connected to the internet

Begin data retrival. Please be patient as this may take some time.
Traceback (most recent call last):
File "/usr/bin/kernelcheck-stage2", line 942, in <module>
KernelCheck()
File "/usr/bin/kernelcheck-stage2", line 694, in __init__
label.set_text("Latest Kamikaze patchset: "+km_releasedate)
NameError: global name 'km_releasedate' is not defined
john@john-feisty:~$

master_kernel
November 13th, 2007, 10:04 PM
this is the error i'm getting with the latest version (hydra). I'm running gutsy by the way

john@john-feisty:~$ kernelcheck

Initiating KernelCheck Codename HYDRA
Success.


Testing your network connection...
Test was successful, you are connected to the internet

Begin data retrival. Please be patient as this may take some time.
Traceback (most recent call last):
File "/usr/bin/kernelcheck-stage2", line 942, in <module>
KernelCheck()
File "/usr/bin/kernelcheck-stage2", line 694, in __init__
label.set_text("Latest Kamikaze patchset: "+km_releasedate)
NameError: global name 'km_releasedate' is not defined
john@john-feisty:~$
Fixed. The current version of HYDRA is extremely unstable. I have started massive work with the patches, and currently kamikaze is broken. Tomorrow at the end of the day it should be reletively stable. I have not tested the HYDRA release since I changed the patches around.

master_kernel

DemonBob
November 14th, 2007, 02:00 AM
Latest Build:

MM Patch might be a problem. When i select it to build, it pulles in the latest version witch is for the 2.6.24 Kernel, but it pulls in the stable kernel 6.2.23, and tryes to build againts that. It either needs to automaticly download the latest 2.6.24 or (which i know my be more difficult) have an options for

Build MM against latest prepatch kernel
Build MM against latest stable kernel.

I also suggest that since this is a "beta" running the script command first before all the other xterm get/building is initiated, saving the file to ~home directory, or tmp. at the end kill the script, be easier to see where it screwed up, in case the xterm window closes out.

Thanks
DemonBob.

master_kernel
November 14th, 2007, 04:49 PM
Latest Build:

MM Patch might be a problem. When i select it to build, it pulles in the latest version witch is for the 2.6.24 Kernel, but it pulls in the stable kernel 6.2.23, and tryes to build againts that. It either needs to automaticly download the latest 2.6.24 or (which i know my be more difficult) have an options for

Build MM against latest prepatch kernel
Build MM against latest stable kernel.

I also suggest that since this is a "beta" running the script command first before all the other xterm get/building is initiated, saving the file to ~home directory, or tmp. at the end kill the script, be easier to see where it screwed up, in case the xterm window closes out.

Thanks
DemonBob.
I have to figure out a way to program this. It might take a few days...

For now the mm and kamikaze patches don't work.

master_kernel
November 14th, 2007, 05:36 PM
ANNOUNCEMENT: Kamikaze patchset works and is in KernelCheck HYDRA.

corbcox
November 15th, 2007, 08:39 PM
I successfully compiled a new kernel utilizing the kamikaze patch. A big improvement over the gutsy kernel I was using. A thousand thanks for the work that you do.

master_kernel
November 15th, 2007, 09:52 PM
I successfully compiled a new kernel utilizing the kamikaze patch. A big improvement over the gutsy kernel I was using. A thousand thanks for the work that you do.
Always glad to hear from a happy user. Glad to know my work is appreciated.

master_kernel

colo505
November 15th, 2007, 11:27 PM
I successfully compiled a new kernel utilizing the kamikaze patch. A big improvement over the gutsy kernel I was using. A thousand thanks for the work that you do.

Can you post a step-by-step how to? Thanks

jaakan
November 16th, 2007, 10:31 AM
a command line version of Kernelcheck would be nice.or even a boot disc version for cases like what i'm and a lot of people are running in to where we'd like to try a newer kernel but our system has a good case of locking up before the new kernel will even finsh compiling running under the 2.6.22 kernel.

http://ubuntuforums.org/showthread.php?p=3782362&posted=1#post3782362

the main screen is too long, if someone boots up with 800x600 vesa driver they can't even click the build kernel build on the beta

aldeby
November 16th, 2007, 10:47 AM
I just wanted to drop a thank you to the developer of KernelCheck, since it is really a very easy-to-use script which eases a lot the process of upgrading a kernel. Thank you!

As a side note like jaakan said the main windows of the development branch of KernelCheck is a bit too long and needs a vertical scrollbar. In my widescreen with 800pt vertical I barely see the "check for updates" button.
Also if one has issues with accelerated drivers and the screen falls back to low-res mode the application becomes unusable.

DemonBob
November 16th, 2007, 05:21 PM
I agree that something needs to be done. When i was testing it on my virtual machines, i had the same issues, the resolution would only go up to 800x600 at the time. Which meant the last three buttons were cut off. I did a little photoshop mock up, of how this problem could be resolved, and still have room to grow with out going to "page" type program.
http://systemoverload.net/images/Screenshot-Kernel-Information-Test.png

master_kernel
November 16th, 2007, 06:09 PM
I just wanted to drop a thank you to the developer of KernelCheck, since it is really a very easy-to-use script which eases a lot the process of upgrading a kernel. Thank you!

As a side note like jaakan said the main windows of the development branch of KernelCheck is a bit too long and needs a vertical scrollbar. In my widescreen with 800pt vertical I barely see the "check for updates" button.
Also if one has issues with accelerated drivers and the screen falls back to low-res mode the application becomes unusable.
I'll try to add the scrollbar; no guarantees though.

lime4x4
November 16th, 2007, 06:43 PM
I tried it and still getting the same error i redownloaded it as posted in your prior thread
wget http://kcheck.sourceforge.net/pool/testing-git/kernelcheck-testing.tar.gz

john@john-feisty:~/kernelcheck-testing$ kernelcheck

Initiating KernelCheck Codename HYDRA
Success.


Testing your network connection...
Test was successful, you are connected to the internet

Begin data retrival. Please be patient as this may take some time.
Traceback (most recent call last):
File "/usr/bin/kernelcheck-stage2", line 942, in <module>
KernelCheck()
File "/usr/bin/kernelcheck-stage2", line 694, in __init__
label.set_text("Latest Kamikaze patchset: "+km_releasedate)
NameError: global name 'km_releasedate' is not defined
john@john-feisty:~/kernelcheck-testing$

corbcox
November 16th, 2007, 09:33 PM
Can you post a step-by-step how to? Thanks

The KernelCheck Hydra program did all the work for me. I just selected the Kamakize patch and followed the prompts. I have followed Master Kernels thread over the past few months and have made several kernels. I have also had several failures but that is the fun of it. Gutsy is so stable it is almost boring. (Haven't broke it in over a week)

plun
November 18th, 2007, 09:33 AM
Using Kernelcheck Beta and installed prepatch RC3

Works just fine....:)

Virtualbox refuses to build a new driver :confused:

Makefile:76: *** Error: /usr/src/linux (version 2.6.24-rc3) does not match the current kernel (version 2.6.24-rc3-greenhydra). Stop.

Where comes "greenhydra" from... ?

Also is it possible to use more then 1 patch... prepatch and Kamikaze for example.

Thanks !

n00bek
November 18th, 2007, 10:59 AM
i need install linux-restricted-modules-2.6.23.8-greenhydra. How build this?

master_kernel
November 18th, 2007, 08:44 PM
i need install linux-restricted-modules-2.6.23.8-greenhydra. How build this?
I tested the new version I just uploaded and it works fine.

master_kernel
November 18th, 2007, 08:46 PM
i need install linux-restricted-modules-2.6.23.8-greenhydra. How build this?
You have to compile the restricted mods yourself. I hope to implement an auto-build of this by KC2.

master_kernel
November 18th, 2007, 08:48 PM
Using Kernelcheck Beta and installed prepatch RC3

Works just fine....:)

Virtualbox refuses to build a new driver :confused:

Makefile:76: *** Error: /usr/src/linux (version 2.6.24-rc3) does not match the current kernel (version 2.6.24-rc3-greenhydra). Stop.

Where comes "greenhydra" from... ?

Also is it possible to use more then 1 patch... prepatch and Kamikaze for example.

Thanks !
It is, but I doubt I'll have that in by HYDRA on Dec. 1. I'll try to do that by 1.1.1 sometime around Christmas. I'm still having problems with the proprietary drivers and the mm patch.

kalpik
November 18th, 2007, 09:53 PM
You have to compile the restricted mods yourself. I hope to implement an auto-build of this by KC2.
How to build those?

BTW, a BIG thanks for kernelcheck. Just built myself 2.6.23.8 :)

tarasbulba
November 19th, 2007, 03:44 AM
Hi. I have installed kernelcheck on kubuntu 7.10, but i couldn't get it to work.When i selected apply normal patch, reconfigure x server,nVidia option and pressed built latest kernel and pressed ok button but nothing happens.Console says:
Panic option passed, attempt safe halt...
Exiting.

Please help...

kalpik
November 19th, 2007, 05:22 AM
Even I had the same problem.. First select any of the options, other than normal patch (the recommended one) then select back the recommended one, then press build kernel. Then it will start.. And you dont have to press OK..

tarasbulba
November 19th, 2007, 05:52 AM
Thank you very mush this did the trick :D

master_kernel
November 19th, 2007, 04:53 PM
Thank you very mush this did the trick :D
Hmmm... odd. Are you using 1.0.5? I would very much like to reproduce this error so I can fix it.

master_kernel
November 19th, 2007, 05:51 PM
ANNOUNCEMENT: Vote for the KernelCheck logo here: http://ubuntuforums.org/showthread.php?t=617680

kalpik
November 19th, 2007, 10:25 PM
Hmmm... odd. Are you using 1.0.5? I would very much like to reproduce this error so I can fix it.
Im on hydra.. And the same thing happens to me too.

tarasbulba
November 20th, 2007, 05:37 AM
I have the same issue on both stable version of kernelcheck and Hydra.Thanks to kalpik, saved my life :)

master_kernel
November 20th, 2007, 04:19 PM
Thank you, aysiu.

OK, now that KC is separated again, I need to find out why you're having that error with HYDRA.

Billy_McBong
November 20th, 2007, 11:36 PM
kernelcheck.is awesome

but sound doesn't work, it says cant find GStreamer plugins
EDIT:fixed it, just had to enable the HD sound

funpop
November 21st, 2007, 02:23 AM
i used kernelcheck 1.0.5 and im happy with my new kernel as i told here before.
but now i have only 400 mb left on my / partition.

would you please explain, how to remove the unnecessary files left from compilation ? (sources or whatever)

michael

fatmcgav
November 22nd, 2007, 09:53 AM
HI there,

I'm having some issues with the latest KCheck version...

When I try to build the latest prepatch kernel and compile nvidia, it gives me the following error when trying to configure Xserver during Nvidia compile...
/usr/*bin/kernelcheck: line 348: 11997 Segmentation fault (core dumped) sudo nvidia-xconfig

Any ideas?

Cheers
Gavin W

Maulwuff
November 22nd, 2007, 04:15 PM
tried to build a 23 kernel with:
normal performance patch
reconfigure x-server
build nvidia

and it gives me this during install of the nvidia driver:
/usr/bin/kernelcheck: 348 : 8989 segmentation fault (core dumped). sudo nvidia-xconfig

hmmm it's going on. pressed enter once in console, then the ok button was enabled in the small nvidia window, now it is downloading the kernel src.

I don't think this will be of any success?

fatmcgav
November 23rd, 2007, 05:03 AM
tried to build a 23 kernel with:
normal performance patch
reconfigure x-server
build nvidia

and it gives me this during install of the nvidia driver:
/usr/bin/kernelcheck: 348 : 8989 segmentation fault (core dumped). sudo nvidia-xconfig

hmmm it's going on. pressed enter once in console, then the ok button was enabled in the small nvidia window, now it is downloading the kernel src.

I don't think this will be of any success?
No, it builds the kernel and appears to work fine, but when it boots in, the nvidia drivers aren't being used, and get the following error when trying to use restricted drivers manager... "You need to install:
Linux-restricted-modules-2.6.23.8-greenhydra
for this program to work"

Any ideas people???

Cheers
Gav

Maulwuff
November 23rd, 2007, 07:20 AM
seems as there is a bug in hydra: if I don't recheck the options to compile with (ie. compile with recommended patch), building won't start.


hint: don't download the src everytime a build is started. check wether it is present already.

It finally compiled the greenhydra-kernel.
At the end I got stuck with a full /boot -partition and kernelcheck went on as if everything went well.
see attached screenshot. (I don't know how to copy text out of the kernelcheck console)

Benji86
November 23rd, 2007, 05:58 PM
I'm having the same porblem than Maulwuff. It'started after updating KernelCheck :S

elec999
November 24th, 2007, 03:43 AM
Same problem here. Linux-restricted-modules needed.
Thanks

master_kernel
November 25th, 2007, 09:24 PM
Right now the nvidia driver option does not work. I will fix this by the mainstream release next week. You get the restricted driver error because it needs the nvidia driver.

Note: the mm- patchset will not be included in the HYDRA release due to time restrictions.

funpop
November 26th, 2007, 02:01 AM
probably you missed my post..

my root partition went down from ~ 1,8 gig to 800 mb free disk space. could you please explain how to free up some space again ? cant imagine that the new kernel needs the 1 gig it took away..

master_kernel
November 26th, 2007, 04:29 PM
probably you missed my post..

my root partition went down from ~ 1,8 gig to 800 mb free disk space. could you please explain how to free up some space again ? cant imagine that the new kernel needs the 1 gig it took away..
Sorry, I did miss your post.

Usually compiling the kernel takes up 3G, so you must be lucky :).

Anyway, there isn't much you can delete, except for /usr/src/linux-VERSION (i.e. /usr/src/linux-2.6.24-rc3). That should free up some space.

master_kernel

master_kernel
November 26th, 2007, 04:33 PM
Well, lucky me. This is setback #15. The kamikaze patchset has been discontinued. This may affect the release date of KC significantly.

EDIT: The Zen project has replaced Kamikaze. These patches will be integrated into KernelCheck. The earliest release date for KernelCheck HYDRA will be a week after the stable release of the 2.6.24 kernel.

master_kernel

master_kernel
November 26th, 2007, 05:32 PM
KernelCheck has a new face! The winning logo has been attached.

master_kernel
November 26th, 2007, 08:48 PM
kernelcheck.is awesome

but sound doesn't work, it says cant find GStreamer plugins
EDIT:fixed it, just had to enable the HD sound
Yeah, it took me a while to figure this out.

kalpik
November 27th, 2007, 01:20 PM
Just one suggestion, why dont you use "wget -c" instead of plain "wget" inside your script? That way we wont have to re-download the entire kernel source again if we just need to apply a new patch!

master_kernel
November 27th, 2007, 03:55 PM
Just one suggestion, why dont you use "wget -c" instead of plain "wget" inside your script? That way we wont have to re-download the entire kernel source again if we just need to apply a new patch!
This has been implemented into the current HYDRA. Thanks for this suggestion!

fatmcgav
November 28th, 2007, 06:28 AM
Right now the nvidia driver option does not work. I will fix this by the mainstream release next week. You get the restricted driver error because it needs the nvidia driver.

Note: the mm- patchset will not be included in the HYDRA release due to time restrictions.

So whats the easiest way of getting a working nvidia install atm???

Cheers
Gav

funpop
November 28th, 2007, 11:10 AM
envy did the job for me after compiling the kernel with kernelcheck!
http://albertomilone.com/nvidia_scripts1.html

kalpik
November 28th, 2007, 11:50 AM
This has been implemented into the current HYDRA. Thanks for this suggestion!
Thanks! Im also assuming you have removed the "rm -rf" line to remove the downloaded kernel source? Cause otherwise the "wget -c" doesnt make any sense :p

master_kernel
November 28th, 2007, 03:51 PM
Thanks! Im also assuming you have removed the "rm -rf" line to remove the downloaded kernel source? Cause otherwise the "wget -c" doesnt make any sense :p

Why doesn't it make sense? "wget -c" continues downloading the source, but if it is already downloaded, it continues with the script. See below.

me@my-desktop:/usr/src$ wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2
--14:48:11-- http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2
=> `linux-2.6.23.tar.bz2'
Resolving www.kernel.org... 204.152.191.37, 204.152.191.5
Connecting to www.kernel.org|204.152.191.37|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do

Am I missing something?

master_kernel
November 28th, 2007, 03:52 PM
So whats the easiest way of getting a working nvidia install atm???

Cheers
Gav

Like funpop suggested above, try using Envy.

EDIT (below):

BUGFIX: I have updated and hopefully fixed the nVidia driver problem. It will use the nvidia-glx packages in the repos. Also, the bug that caused the kernel not to build unless you recheck the option is now fixed. Thank you for your feedback.

fatmcgav
November 28th, 2007, 07:46 PM
Like funpop suggested above, try using Envy.

EDIT (below):

BUGFIX: I have updated and hopefully fixed the nVidia driver problem. It will use the nvidia-glx packages in the repos. Also, the bug that caused the kernel not to build unless you recheck the option is now fixed. Thank you for your feedback.

Envy did the job first time - cheers for the tip.

Shall give the new KC a try when the next updates out... :)

Cheers
Gavin

xinix
November 28th, 2007, 08:04 PM
I got this error:
E: Opening configuration file libncurses5 - ifstream::ifstream (2 No such file or directory)
Error [500]: apt-get returned exit status 1. Aborting now.

Edit 1:
I found the error. Lines 215 and 573 are apt-get commands that call to install "wget -c" instead of "wget".

Edit 2:
Now I'm getting this error after it does its apt-get stuff:
Please type your password [if asked] to continue:
Performance (normal) patch selected.
E: Broken packages

This happens if I select the nvidia option.

Edit 3:
I don't get this error after reselecting the nvidia option and running the scripts again.

master_kernel
November 28th, 2007, 09:55 PM
I got this error:
E: Opening configuration file libncurses5 - ifstream::ifstream (2 No such file or directory)
Error [500]: apt-get returned exit status 1. Aborting now.

Edit 1:
I found the error. Lines 215 and 573 are apt-get commands that call to install "wget -c" instead of "wget".

Edit 2:
Now I'm getting this error after it does its apt-get stuff:
Please type your password [if asked] to continue:
Performance (normal) patch selected.
E: Broken packages

This happens if I select the nvidia option.

Edit 3:
I don't get this error after reselecting the nvidia option and running the scripts again.
What do you mean by reselecting the nvidia option?

glotz
November 28th, 2007, 10:00 PM
Why do I want the latest kernel if you please? I'm currently on Linux version 2.6.15-29-k7 (buildd@terranova) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 SMP PREEMPT Mon Sep 24 17:31:22 UTC 2007

Frak
November 28th, 2007, 11:26 PM
Why do I want the latest kernel if you please? I'm currently on Linux version 2.6.15-29-k7 (buildd@terranova) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 SMP PREEMPT Mon Sep 24 17:31:22 UTC 2007
If you don't know, then you don't want it.

kalpik
November 29th, 2007, 01:25 AM
Why doesn't it make sense? "wget -c" continues downloading the source, but if it is already downloaded, it continues with the script. See below.

me@my-desktop:/usr/src$ wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2
--14:48:11-- http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2
=> `linux-2.6.23.tar.bz2'
Resolving www.kernel.org... 204.152.191.37, 204.152.191.5
Connecting to www.kernel.org|204.152.191.37|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do

Am I missing something?
If you do "rm -rf", it will delete the downloaded source archive! So wget cannot continue.. It will download again!

xinix
November 29th, 2007, 03:20 PM
BUGFIX: I have updated and hopefully fixed the nVidia driver problem. It will use the nvidia-glx packages in the repos. Also, the bug that caused the kernel not to build unless you recheck the option is now fixed. Thank you for your feedback.

I got it to build the kernel but had no luck with nVidia. This should install when the kernel installs, right?
Just to be sure, where would one download the version of KC with this bug fix? I got mine from http://kcheck.sourceforge.net/pool/testing-git/

master_kernel
November 29th, 2007, 03:22 PM
I got it to build the kernel but had no luck with nVidia. This should install when the kernel installs, right?
Just to be sure, where would one download the version of KC with this bug fix? I got mine from http://kcheck.sourceforge.net/pool/testing-git/
Did you reupdate KernelCheck after I posted the update?

EDIT: That is the right link. Also, I pinpointed and fixed the problem. If you update KernelCheck again, it should work.

master_kernel
November 29th, 2007, 03:25 PM
If you do "rm -rf", it will delete the downloaded source archive! So wget cannot continue.. It will download again!
Sorry, I misunderstood your first post. I thought you asking me to ADD the rm -rf option. Anyway, I fixed it and uploaded the fix.

kalpik
November 29th, 2007, 04:19 PM
Thanks a LOT! You are doing a lot of us here a BIG favour! Keep up the good work :)

master_kernel
November 29th, 2007, 04:22 PM
ANNOUNCEMENT: There are over 1000 KernelCheck users worldwide. This project has expanded greatly after I posted this topic. Thank you for your feedback and support!

xinix
November 29th, 2007, 08:05 PM
I had luck building the kernel and nvidia debs but the driver still doesn't seem to work. When I boot with the new kernel X won't load because it doesn't find the driver. Is there anything special that needs to be done, or should this be a normal install, reboot and go type of thing?

master_kernel
November 29th, 2007, 10:16 PM
I had luck building the kernel and nvidia debs but the driver still doesn't seem to work. When I boot with the new kernel X won't load because it doesn't find the driver. Is there anything special that needs to be done, or should this be a normal install, reboot and go type of thing?
Hmmm... I'll look at Envy and hopefully this will be fixed by tomorrow. At least the debs were built though, thats the main part. Try sudo modprobe nvidia in the new kernel and restart X.

xinix
November 30th, 2007, 10:45 AM
Try sudo modprobe nvidia in the new kernel and restart X.

I did but that failed too.
FATAL: Error running install command for nvidia

master_kernel
November 30th, 2007, 04:08 PM
I did but that failed too.
FATAL: Error running install command for nvidia

Can you post the names of the files KernelCheck created in your /usr/src directory? This will help me greatly in determining what KernelCheck should install.
Also, try running "sudo depmod -a" and then "sudo modprobe nvidia".

xinix
November 30th, 2007, 04:32 PM
here's what KernelCheck added to my /usr/src/


linux
linux-2.6.23
linux-2.6.23.tar.bz2
linux-headers-2.6.23.9-greenhydra
linux-headers-2.6.23.9-greenhydra_2.6.23.9-greenhydra-10.00.Custom_i386.deb
linux-image-2.6.23.9-greenhydra_2.6.23.9-greenhydra-10.00.Custom_i386.deb
modules
nvidia-kernel-2.6.23.9-greenhydra_100.14.19-0ubuntu3+2.6.23.9-greenhydra-10.00.Custom_i386.deb
nvidia-new-kernel-source.tar.gz
rpm

Tried 'depmod -a' but I got the same error.

master_kernel
November 30th, 2007, 07:15 PM
here's what KernelCheck added to my /usr/src/


linux
linux-2.6.23
linux-2.6.23.tar.bz2
linux-headers-2.6.23.9-greenhydra
linux-headers-2.6.23.9-greenhydra_2.6.23.9-greenhydra-10.00.Custom_i386.deb
linux-image-2.6.23.9-greenhydra_2.6.23.9-greenhydra-10.00.Custom_i386.deb
modules
nvidia-kernel-2.6.23.9-greenhydra_100.14.19-0ubuntu3+2.6.23.9-greenhydra-10.00.Custom_i386.deb
nvidia-new-kernel-source.tar.gz
rpm

Tried 'depmod -a' but I got the same error.
Try to see if the nVidia package is installed. Do sudo dpkg -i nvidia-kernel-2.6.23.9-greenhydra_100.14.19-0ubuntu3+2.6.23.9-greenhydra-10.00.Custom_i386.deb to see if it is installed. If it is, reinstall it and tell me if you get the same error.

xinix
November 30th, 2007, 07:20 PM
It is installed and I reinstalled it a couple times. I've even used "kernelcheck -nvidiamod" to rebuild the package while running the greenhydra kernel. In the end I still get the same error.

master_kernel
November 30th, 2007, 08:41 PM
It is installed and I reinstalled it a couple times. I've even used "kernelcheck -nvidiamod" to rebuild the package while running the greenhydra kernel. In the end I still get the same error.
Took this off another site:

Nvidia kernel package

apt-get install nvidia-kernel-source
cd /usr/src
tar -zxf nvidia-kernel-source.tar.gz
cd linux
make-kpkg modules_image
cd /usr/src
dpkg -i nvidia-kernel-KVER*.deb

The debian package also creates a bunch of /dev/nvidia* devices which have a gid of video. You will need to add yourself to the video group. This will also require you to log out and log back in again to gain the new group permissions.

addgroup username video

EDIT: It's pretty much the one command above that's different.

Heazky
December 1st, 2007, 06:02 AM
Also, please use/include the nvidia-glx-new (100.14.19) driver, as most newer cards won't work well with the old driver (96.39). Further more, if I remember correctly, the old driver doesn't even work on 2.6.23 (That might be xinix's problem).
Compiling the newest nvidia driver by hand works like a charm.
The source package is nvidia-new-source.

KernelCheck's has become a nice piece of soft.
Nice work master_kernel!

master_kernel
December 1st, 2007, 10:07 AM
Also, please use/include the nvidia-glx-new (100.14.19) driver, as most newer cards won't work well with the old driver (96.39). Further more, if I remember correctly, the old driver doesn't even work on 2.6.23 (That might be xinix's problem).
Compiling the newest nvidia driver by hand works like a charm.
The source package is nvidia-new-source.

KernelCheck's has become a nice piece of soft.
Nice work master_kernel!
KernelCheck uses both nvidia-glx-new and nvidia-new-source.

Thanks for your support,
master_kernel

master_kernel
December 1st, 2007, 10:17 AM
It is installed and I reinstalled it a couple times. I've even used "kernelcheck -nvidiamod" to rebuild the package while running the greenhydra kernel. In the end I still get the same error.
Edit:

While searching the internet and the modprobe man page, I decided on the following:

Check if the nvidia module is loaded with
lsmod | grep nv

To find out what is causing the problem, post the output of:
sudo modprobe -nv nvidia

As a last resort, run this command that overrides the install:
sudo modprobe -i nvidia

Brando569
December 2nd, 2007, 11:10 PM
I've found this two commands but i've not tested them:

make silentoldconfig OR
make ARCH=i386 nonint_oldconfig

i just tried to use make silentoldconfig in a script i wrote and it still asked me all of the questions :(

as for kernelcheck its a great program and has a ton of potential but as another user noted if you want to recompile the kernel it either does everything over again or you have to do it all yourself (i didnt get this far, i just used my own script) for example, after kernercheck was finished compiling my kernel i tested it out and the kernel would work (probably a problem with my config) so i ran kernelcheck again and it proceeded to download the kernel all over again even though the tarball was in the exact location as it was before! i would suggest that you include some code that would check to see if stuff is already there so i doesnt have to re-download everything each time.

keep up the good work, im looking forward to future versions :)

master_kernel
December 3rd, 2007, 07:51 PM
i just tried to use make silentoldconfig in a script i wrote and it still asked me all of the questions :(

as for kernelcheck its a great program and has a ton of potential but as another user noted if you want to recompile the kernel it either does everything over again or you have to do it all yourself (i didnt get this far, i just used my own script) for example, after kernercheck was finished compiling my kernel i tested it out and the kernel would work (probably a problem with my config) so i ran kernelcheck again and it proceeded to download the kernel all over again even though the tarball was in the exact location as it was before! i would suggest that you include some code that would check to see if stuff is already there so i doesnt have to re-download everything each time.

keep up the good work, im looking forward to future versions :)
Thanks, I hope you continue to use it!

ANNOUNCEMENT: RPM-based systems are planned to be supported by KernelCheck 2.0.

wolfprintAG
December 3rd, 2007, 07:55 PM
Well not sure why but I did... install.... now wish I didn't in a way, can not seem to get my display right and going through the posts do not seem to give me what I am after unless I am missing something (I have your stable version) Ubuntu 7.10 a HP 19" wide, a nVidia GeForce 6150 LE - and I am lost.... should I just try and go back to my old kernel... or ?? thanks


All this cause i wanted to get the other stuff on my tablet to work.... site says make sure you have latest kernel :( found out I didn't so I try updated it now I am stuck with a 800x600 screen :(( any help of any sort would be greatful or just maybe point me in the right direction to get my kernel to the old one before the install of kernelcheck - thanks - would be good prog. if I knew what I was doing

Well problem solved temporary until I figure how to actually solve it... just boot into
Ubuntu 7.10, kernel 2.6.22-14-generic

Please though, tell me how to fix it, remove it, or go back to original... cause even in this "Ubuntu 7.10, kernel 2.6.22-14-generic" is different then what I had. THANKS

Like I said, good program, it just I really not understanding the kernel, and or drivers are giving me headache thanks though.

Frak
December 3rd, 2007, 10:35 PM
Remember that sometimes the newest versions are the most stable.

Also, when Grub appears on boot, choose the option before the latest and you will be back to your old kernel.

@master_kernel
Looking forward to the rpm version :)

wolfprintAG
December 3rd, 2007, 10:48 PM
Remember that sometimes the newest versions are the most stable.

Also, when Grub appears on boot, choose the option before the latest and you will be back to your old kernel.

@master_kernel
Looking forward to the rpm version :)

Yea thanks... heh I almost experienced nightmare but took the chance (hose system) but I didnt... but yea grub can do wonders I think I will leave things as is for now lol dont have time or patience to play wannabe geek ;) -

Thanks again though for the help

master_kernel
December 4th, 2007, 03:43 PM
Well not sure why but I did... install.... now wish I didn't in a way, can not seem to get my display right and going through the posts do not seem to give me what I am after unless I am missing something (I have your stable version) Ubuntu 7.10 a HP 19" wide, a nVidia GeForce 6150 LE - and I am lost.... should I just try and go back to my old kernel... or ?? thanks


All this cause i wanted to get the other stuff on my tablet to work.... site says make sure you have latest kernel :( found out I didn't so I try updated it now I am stuck with a 800x600 screen :(( any help of any sort would be greatful or just maybe point me in the right direction to get my kernel to the old one before the install of kernelcheck - thanks - would be good prog. if I knew what I was doing

Well problem solved temporary until I figure how to actually solve it... just boot into
Ubuntu 7.10, kernel 2.6.22-14-generic

Please though, tell me how to fix it, remove it, or go back to original... cause even in this "Ubuntu 7.10, kernel 2.6.22-14-generic" is different then what I had. THANKS

Like I said, good program, it just I really not understanding the kernel, and or drivers are giving me headache thanks though.
I recently found out that PCLinuxOS has APT, so that should make it easier.

master_kernel
December 4th, 2007, 04:18 PM
http://kcheck.wiki.sourceforge.net/

ANNOUNCEMENT:The KernelCheck Wiki is up.

Maulwuff
December 4th, 2007, 04:47 PM
I think I messed something up, while deleting the greenhydra stuff, because of missing nvidia-stuff.
Synaptic tells me to run sudo dpkg --configure -a

and this gives me:
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.23.8-greenhydra
Cannot find /lib/modules/2.6.23.8-greenhydra
update-initramfs: failed for /boot/initrd.img-2.6.23.8-greenhydra


so, now I can't (un)/install anything. What should I do? Thx for help in advance.

ottoman
December 4th, 2007, 05:00 PM
wow it has been a while since the last post. I too used the kernelcheck and loved it. I am still a newbie in Ubuntu.
Well everything went very smooth during the upgrade and got the new kernel system up and running, but with one problem. When using the old kernel, my wireless was perfectly fine, but with the new one, it is not workign at all. I cannot see wireless option in the network mannager, but I ca see the card in the hardware information under System->pref. ANy thoughts??

Oh btw my card is the intel 3495....

xinix
December 4th, 2007, 05:52 PM
Here are the results of the commands you asked me to try. sorry it took me so long to get to them.

xinix@Vampiro:~$ lsmod | grep nv
xinix@Vampiro:~$ sudo modprobe -nv nvidia
[sudo] password for xinix:
install /sbin/lrm-video nvidia
xinix@Vampiro:~$ sudo modprobe -i nvidia
FATAL: Module nvidia not found.

master_kernel
December 4th, 2007, 06:39 PM
I think I messed something up, while deleting the greenhydra stuff, because of missing nvidia-stuff.
Synaptic tells me to run sudo dpkg --configure -a

and this gives me:


so, now I can't (un)/install anything. What should I do? Thx for help in advance.
If you still have the deb files, you should be able to install those and then uninstall them.

master_kernel
December 4th, 2007, 06:45 PM
wow it has been a while since the last post. I too used the kernelcheck and loved it. I am still a newbie in Ubuntu.
Well everything went very smooth during the upgrade and got the new kernel system up and running, but with one problem. When using the old kernel, my wireless was perfectly fine, but with the new one, it is not workign at all. I cannot see wireless option in the network mannager, but I ca see the card in the hardware information under System->pref. ANy thoughts??

Oh btw my card is the intel 3495....
They removed the 3495 drivers in the 2.6.23 kernels but I can't remember the name of the replacement. Try asking about this on the Master Kernel Thread. I'll try to google for some info.

master_kernel
December 4th, 2007, 06:56 PM
Here are the results of the commands you asked me to try. sorry it took me so long to get to them.

xinix@Vampiro:~$ lsmod | grep nv
xinix@Vampiro:~$ sudo modprobe -nv nvidia
[sudo] password for xinix:
install /sbin/lrm-video nvidia
xinix@Vampiro:~$ sudo modprobe -i nvidia
FATAL: Module nvidia not found.

This is the program that is run when you run the modprobe:
#!/bin/sh

PATH=/sbin:/bin

MODULE="$1"
shift

if [ "$MODULE" = "nvidia" ]; then
if [ -e /lib/linux-restricted-modules/.nvidia_legacy_installed ]; then
MODULE="nvidia_legacy"
fi
if [ -e /lib/linux-restricted-modules/.nvidia_new_installed ]; then
MODULE="nvidia_new"
fi
XORG="nvidia";
elif [ "$MODULE" = "nvidia_legacy" -o "$MODULE" = "nvidia_new" ]; then
XORG="nvidia";
elif [ "$MODULE" = "fglrx" ]; then
XORG="fglrx";
fi

if cat /etc/X11/xorg.conf 2>/dev/null | \
sed -n -e '/^[ \t]*section[ \\t]*"device"/I,/^[ \t]*endsection/I{/^[ \t]*driver[ \t]*/I{s/^[ \t]*driver[ \t]*"*//I;s/"*[ \t]*$//;p}}' | \
grep -q -w $XORG; then
modprobe --ignore-install -Qb $@ $MODULE
else
echo "Not loading $MODULE module; not used in /etc/X11/xorg.conf" 1>&2
fi


For some reason, it is failing at one of these steps. To figure out where, edit it with root and change the #!/bin/sh line at the beginning to #!/bin/sh -x
This will make it verbose. Please post the output of this. I have a hunch, but it may not be correct. The only thing I can think of is that it isn't configured correctly. Try the following commands:
sudo dpkg-reconfigure xserver-xorg
and use the VESA driver; then do:
sudo nvidia-xconfig

I hope this works,
master_kernel

xinix
December 5th, 2007, 12:08 PM
I didn't try the configuration steps because I know that I have X configured properly to work with the nvidia kernel. I think the key lies in the previously requested inclusion of nvidia-glx. I Just used Envy to make a driver for my KernelCheck kernel and everything is working just fine.
The one thing I can see it does that KC isn't doing is updating nvidia-glx. If you look at the versions the package is tied to kernel versions. So If you are using the stock Ubuntu stuff the version would be : 100.14.19+2.6.22.4-14.10 . This is also the package version that is used when you install the driver with KernelCheck. Envy generates a new nvidia-glx package that replaces the one in the repositories with a version number of: 1:100.14.23+2.6.23.9.
Both KernelCheck and Envy seem to create the same nvidia.ko module, but I haven't compared them in depth.

master_kernel
December 5th, 2007, 03:49 PM
I didn't try the configuration steps because I know that I have X configured properly to work with the nvidia kernel. I think the key lies in the previously requested inclusion of nvidia-glx. I Just used Envy to make a driver for my KernelCheck kernel and everything is working just fine.
The one thing I can see it does that KC isn't doing is updating nvidia-glx. If you look at the versions the package is tied to kernel versions. So If you are using the stock Ubuntu stuff the version would be : 100.14.19+2.6.22.4-14.10 . This is also the package version that is used when you install the driver with KernelCheck. Envy generates a new nvidia-glx package that replaces the one in the repositories with a version number of: 1:100.14.23+2.6.23.9.
Both KernelCheck and Envy seem to create the same nvidia.ko module, but I haven't compared them in depth.
This must be it. I'll have to look at how Envy compiles the driver and use that to compile it for KernelCheck.

EDIT: I've downloaded the latest version of the nVidia driver (100.14.23) and took a look at some of the options. This is what I have come up with to run after the kernel is installed:
sudo sh NVIDIA-Linux-x86-100.14.23-pkg2.run -a -X --no-x-check --kernel-name=$KERNELNAME

EisenPM
December 5th, 2007, 08:44 PM
I am using encrypted root, home and swap partitions with cryptsetup and LUKS and the generic kernel.

When I update it with KernelCheck, will the modules for the encryption be still there? I dont' know, if it has something to do with the kernel, but I think so.

The most important thing is that the menu.list is modified. Will these modifications stay? I guess, since they are at:

# kopt

and

# defoptions

And another question: The speed increase comes only with the HYDRA version, if you select it, right? Just updating the kernel doesn't mean a speed increase, or are there any modifications in the 1.0.5 version as well?

EisenPM
December 6th, 2007, 10:59 AM
I have another question concerning the timer frequency in the kernel CPU configuration.

What is the timing for best responsiveness with an dual core CPU?

With single core CPUs it's 1000 Hz. But concerning SMP CPUs the info says the other three settings would be better.

Any ideas? Or how I can find out myself?

master_kernel
December 6th, 2007, 03:45 PM
I am using encrypted root, home and swap partitions with cryptsetup and LUKS and the generic kernel.

When I update it with KernelCheck, will the modules for the encryption be still there? I dont' know, if it has something to do with the kernel, but I think so.

The most important thing is that the menu.list is modified. Will these modifications stay? I guess, since they are at:

# kopt

and

# defoptions

And another question: The speed increase comes only with the HYDRA version, if you select it, right? Just updating the kernel doesn't mean a speed increase, or are there any modifications in the 1.0.5 version as well?
1. Is the encryption program embedded in your kernel?

2. You are correct. Kopt and Defoptions will stay in your menu.lst.

3. Someone in the Master Kernel Thread created a patch for the kernel that sets the best timing for SMP CPUs. I was not sure if it was right so I didn't use it. Here is the link to the post: http://ubuntuforums.org/showpost.php?p=3463403&postcount=629

xinix
December 7th, 2007, 01:16 PM
3. Someone in the Master Kernel Thread created a patch for the kernel that sets the best timing for SMP CPUs. I was not sure if it was right so I didn't use it. Here is the link to the post: http://ubuntuforums.org/showpost.php?p=3463403&postcount=629

Is is possible to use this patch while using KernelCheck? I'm trying it out now but I manually built the kernel.

flipfone
December 7th, 2007, 07:16 PM
I ran this and all went well i now have the latest kernel. (GREAT JOB!) then i tried it again with the prepatch option however i didnt know it was going to write out the same kernel i just booted into. oooops! so i hit ctrl-c and aborted it. now my package manager is complaining. i tried to remove the new kernel but:

jim@jim-desktop:~/kernelcheck-1.0.5$ sudo apt-get remove linux-image-2.6.23.9 --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package linux-image-2.6.23.9 needs to be reinstalled, but I can't find an archive for it.


help?! thank you.

master_kernel
December 7th, 2007, 10:06 PM
I ran this and all went well i now have the latest kernel. (GREAT JOB!) then i tried it again with the prepatch option however i didnt know it was going to write out the same kernel i just booted into. oooops! so i hit ctrl-c and aborted it. now my package manager is complaining. i tried to remove the new kernel but:

jim@jim-desktop:~/kernelcheck-1.0.5$ sudo apt-get remove linux-image-2.6.23.9 --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package linux-image-2.6.23.9 needs to be reinstalled, but I can't find an archive for it.


help?! thank you.
I think you'll have to recompile the 2.6.23.9 kernel (sorry!). I'll have to do some testing with KC over the weekend because this shouldn't happen if you selected prepatch.

master_kernel
December 7th, 2007, 10:07 PM
Is is possible to use this patch while using KernelCheck? I'm trying it out now but I manually built the kernel.
I'll add support for custom patching in HYDRA.

flipfone
December 8th, 2007, 10:52 AM
E: The package linux-image-2.6.23.9 needs to be reinstalled, but I can't find an archive for it.
Unknown Error. Aborting now.


Tried to rebuild it and i get this error.

of_darkness
December 10th, 2007, 08:53 AM
You have to compile the restricted mods yourself. I hope to implement an auto-build of this by KC2.
but they dont exist.. i have googeld for it.. but only questions asking where/howto find and install them.. or are you suposed to youse the ones for the ubuntu kernel version?

Gourgi
December 11th, 2007, 03:40 AM
i just installed kernel 2.6.23.9 using KC
and i installed nvidia drivers using envy
everything looks just fine for the moment

it was tha first time compiling the kernel so i tried to have general module support and i didn't removed much

so I have just a question :
After compiling - instaling the kernel i ended with about 0% of free space at root partition, i freed as much as i could when i realised that
now i see that there is about 3.1GB at /usr/src/linux-2.6.23
and 620MB at /lib/modules
i obviously want to free some space so can i safely remove some of these dirs?
also is there something related to the kernel that i can remove using synaptic ?

@master kernel : i'd propose you to include a big big warning at the first post of this thread saying that at least 4 gigs of freespace is required for compiling the new kernel

P.S. i like the KC screelet a lot ! i already using it
thanks for the KC project , you :guitar: :)

funpop
December 11th, 2007, 12:13 PM
you can delete /usr/src/linux-VERSION (/usr/src/linux-2.6.23)

i asked this qustion some posts earlier :popcorn:

EisenPM
December 11th, 2007, 05:48 PM
1. Is the encryption program embedded in your kernel?



well, I added the needed modules in:

/etc/initramfs-tools/modules

So they are not embedded in the kernel, right?

Does it make any sense to include these in the kernel?

aes_i586
dm-crypt
dm-mod
sha256

Gourgi
December 12th, 2007, 07:43 AM
you can delete /usr/src/linux-VERSION (/usr/src/linux-2.6.23)

i asked this qustion some posts earlier :popcorn:

thanks for replying and apologize for double-asking
i did read the hole thread but i missed that ](*,)

Brando569
December 12th, 2007, 06:15 PM
another request for the kernel hacking section.

plun
December 13th, 2007, 03:24 PM
2.6.24-RC5 up and running :)

nVidia manual install

Virtualbox also works again from trunk
http://www.virtualbox.org/wiki/Linux%20build%20instructions

of_darkness
December 14th, 2007, 12:14 PM
~/truecrypt-4.3a-source-code/Linux ]$ sudo ./build.sh
[sudo] password for blutengel:
Checking build requirements...
Linux kernel (2.6.23.9-greenhydra) source directory [/usr/src/linux]:
Error: Kernel source version in /usr/src/linux is not 2.6.23.9-greenhydra

have tried 2 change linux 2 point 2 linux-2.6.23 and 2 copy linux-2.6.23 to linux-source-2.6.23 and linking linux 2 it.. but no luck.. tried 2 look for some file in the 2.6.23 directory that would be specyfing the version but no luck..

flipfone
December 15th, 2007, 03:09 AM
E: The package linux-image-2.6.23.9 needs to be reinstalled, but I can't find an archive for it.
Unknown Error. Aborting now.


Tried to rebuild it and i get this error.

Anyone please?

flamelab
December 15th, 2007, 01:02 PM
Hello , your program is reaaaaaaaly good .

But ! I really had a problem with the restricted drivers and especially my ATI card !Where can I download the restricted modules ?
Or is there a hack for that ?

Gourgi
December 15th, 2007, 02:17 PM
Hello , your program is reaaaaaaaly good .

But ! I really had a problem with the restricted drivers and especially my ATI card !Where can I download the restricted modules ?
Or is there a hack for that ?

you could try the envy package
http://albertomilone.com/nvidia_scripts1.html
it says it works for ati drivers too

flamelab
December 15th, 2007, 03:14 PM
you could try the envy package
http://albertomilone.com/nvidia_scripts1.html
it says it works for ati drivers too

Oh no no , I don't want THAT driver (8.43 for now ) because it is too slow . I prefer 8.37 that is stable .
Can I install that without problem ?

master_kernel
December 16th, 2007, 08:23 PM
Massive project due -- cannot respond to any questions until Tuesday afternoon.

Sorry,
master_kernel

flipfone
December 17th, 2007, 05:24 AM
Anyone please?

ok i found the solution.

sudo dpkg --remove --force-remove-reinstreq linux-image-2.6.23.9

kalpik
December 19th, 2007, 02:48 AM
Kernel 2.6.23.12 (http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.23.12) released!

master_kernel
December 31st, 2007, 11:09 AM
Sadly, the HYDRA release will be delayed again. Since I have no deadline, I will announce it's release one week in advance.

Sorry,
master_kernel

happycheng
December 31st, 2007, 12:53 PM
hello,
after i use 1.05 kernelcheck to build the new kernel(2.6.23.12), i found there is a error. Every time I boot with the new kernel , there is no sound, the Volume Applet show the red cross , and says no volume control GStreamer plugins and/or devices found." however, when i use the "old" kernel" ( Linux -image-2.6.22.14-generic), everything turn right! what's wrong ? Does someone can help me?

I've already sudo update-modules, but there is still the error!?

I'm using linuxmint 4.0

thanks in advance.

master_kernel
January 2nd, 2008, 04:27 PM
hello,
after i use 1.05 kernelcheck to build the new kernel(2.6.23.12), i found there is a error. Every time I boot with the new kernel , there is no sound, the Volume Applet show the red cross , and says no volume control GStreamer plugins and/or devices found." however, when i use the "old" kernel" ( Linux -image-2.6.22.14-generic), everything turn right! what's wrong ? Does someone can help me?

I've already sudo update-modules, but there is still the error!?

I'm using linuxmint 4.0

thanks in advance.
You have to enable Intel HD Sound in the xconfig.

happycheng
January 3rd, 2008, 01:09 AM
sorry, I'm a newbie.
How to enable Intel HD Sound in the xconfig.
thx

~LoKe
January 3rd, 2008, 02:28 AM
Your other thread worked for me, so I'll give this one a shot!

master_kernel
January 5th, 2008, 11:39 AM
sorry, I'm a newbie.
How to enable Intel HD Sound in the xconfig.
thx
This is what you have to do:

Run KernelCheck -- and when the xconfig window comes up, go to Sound > Advanced Linux Sound Architecture > PCI Devices and make Intel HD Sound a module by highlighting it and pressing "m". There should be a dot in the box beside it when you do this.

shifty2
January 5th, 2008, 02:27 PM
argh nightmare. Computer crashed whilst compiling the new kernel. This means that I don't have the new kernel but still have an extra 2 gig of space being used up on my system. How do I get rid of this before starting to compile again?

master_kernel
January 6th, 2008, 12:58 PM
argh nightmare. Computer crashed whilst compiling the new kernel. This means that I don't have the new kernel but still have an extra 2 gig of space being used up on my system. How do I get rid of this before starting to compile again?
sudo rm -rf /usr/src/linux-2.6.23
Most people, particularly on this forum, are afraid of rm -rf commands, so if you need an alternative that might not delete everything, here it is:
rm -r /usr/src/linux-2.6.23
Note that you must be root to run either of these commands.

master_kernel

Colin The Grey
January 9th, 2008, 12:31 PM
Excellent utility, and the information in this thread has been most useful to a Linux newb like me.

Have managed to update to the latest Kernel with no problems using KernelCheck - very pleased indeed :)

Many thanks.

Washer
January 14th, 2008, 12:10 AM
Does this do a custom patch? That's a deal breaker for me. Shouldn't be too hard to add it using --dry-run or whatever.


Edit:
I'll add support for custom patching in HYDRA.

I see. Any chance you could support some common patches? I recently had some trouble adding reiser4 then truecrypt to gutsy. I could probably contribute a bit if you added a hacking section

happycheng
January 14th, 2008, 10:55 PM
hi,
I have already make the new kernel , but I found some mistakes (forget to add some codepage), and need to remake the kernel manully,
what can I do without doing from the very beginning?(I have save the .config file in my /home directory, and the kernel source and patch haven't deleted)

kernel check 1.05
kernel 2.6.23.-13

thx in advance.

taekr
January 20th, 2008, 09:09 AM
Thanks Zillion!!!

For a user like me.... you are the savior!!

jithin1987
January 24th, 2008, 08:55 PM
I am not able to run kernel checkit gives me following error

/usr/bin/kernelcheck: line 434: zenity: command not found
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)

Testing your network connection...
Test was successful, you are connected to the internet
/usr/bin/kernelcheck-stage2:288: Warning: invalid (NULL) pointer instance
self.window=gtk.Window(gtk.WINDOW_TOPLEVEL)
/usr/bin/kernelcheck-stage2:288: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
self.window=gtk.Window(gtk.WINDOW_TOPLEVEL)
/usr/bin/kernelcheck-stage2:291: GtkWarning: gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
gtk.ICON_SIZE_DIALOG)
/usr/bin/kernelcheck-stage2:291: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
gtk.ICON_SIZE_DIALOG)
/usr/bin/kernelcheck-stage2:291: GtkWarning: gtk_icon_size_lookup_for_settings: assertion `GTK_IS_SETTINGS (settings)' failed
gtk.ICON_SIZE_DIALOG)
/usr/bin/kernelcheck-stage2:291: GtkWarning: Invalid icon size 6

gtk.ICON_SIZE_DIALOG)
/usr/bin/kernelcheck-stage2:291: GtkWarning: gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
gtk.ICON_SIZE_DIALOG)
/usr/bin/kernelcheck: line 444: 9732 Segmentation fault (core dumped) kernelcheck-stage2

master_kernel
January 27th, 2008, 05:26 PM
You have to install zenity.

sudo apt-get install zenity

master_kernel
January 27th, 2008, 05:29 PM
ANNOUNCEMENT: Too many new features are being integrated into KernelCheck HYDRA. Also, I have failed the deadline several times. For these and several other reasons, I am continuing on to KernelCheck 2 -- Silver.

costis
January 28th, 2008, 07:32 PM
Hello to all from the windy Greece: wind speed reaches 70km/h :guitar:

Well, I am using http_proxy. While using kernelcheck-1.0.5 kernelcheck works and finds internet connection, in kernelcheck-testing, this doesn't happen.
What should I do for the recovery of the issue?

Washer
January 30th, 2008, 06:26 PM
master_kernel; I've been reading through the code & I got some ideas I wanted to bounce off you. Is there any way to contact you other than gmail? IM or IRC?

Washer
February 10th, 2008, 07:37 PM
Or you could just ignore the post, yeah that works too.

Nirevus
February 11th, 2008, 09:51 AM
Washer, there have been several times that master_kernel has been unable to reply for a week or several weeks at a time in this thread. It's likely that he's working on a project or otherwise busy.

He may not have email notification turned on for this thread, so I'd suggest sending a PM from the forums to him in the hope it will notify him by email.

Fred_E _krugar
February 18th, 2008, 03:30 PM
Or you could just ignore the post, yeah that works too.

LOL dude that is freaking funny. LOL

master_kernel
February 23rd, 2008, 04:07 PM
sorry for not replying for so long, ive been incredibly busy with school

master_kernel
February 23rd, 2008, 04:21 PM
Washer: Gmail is master.kernel.contact@gmail.com

ANNOUNCEMENT: I was contacted by a Debian maintainer who wanted to package KernelCheck for the repositories. He said it will eventually make it into Ubuntu repositories. I just wanted to let everyone know the great progress KernelCheck is making even though my development of it has almost completely stopped at the moment. I will try to continue development and a completely revamped version will be released this summer.

master_kernel
March 15th, 2008, 01:29 PM
ANNOUNCEMENT: KernelCheck HopeStar. 06.30.08.

la5zl
March 30th, 2008, 08:10 AM
Thanks !

Having just installed 2.6.24.4, Ubuntu 7.10,
works perfect!

Had to compile ndiswrapper for my wlan card - rt2500pci -
but becoming used to it since the kernel driver almost
stopped working since kernel introduced around august
2007 - can't remember version though.
Well - it works, but very s l o w .., so ndiswrapper (1.52)is the
only solution.

Again - Thanks!

Bjorn

master_kernel
March 30th, 2008, 04:52 PM
DEVELOPMENT ANNOUNCEMENT: KernelCheck 06.30.08 is being developed using Anjuta.

larryfroot
April 6th, 2008, 02:43 PM
thank you so much for all the hard work you are putting into this as it enables newbies like me the opportunity to enjoy the benefits of recompiling without the time investment needed to achieve this goal by other means.

I have downloaded and used version 1.0.5 to really good effect, but I do have one question. Back last year there was a perl script drawn to your attention that removed unused modules from the kernel. Did you ever include this feature in kernelcheck, or should I give the instructions on the link to the script a go?

Mind you, they are instructions from someone in the know to others in the know! And a little knowledge can be a dangerous thing! Just that I am running gutsy on an old laptop with low specs. Anything that can increase performance is very, very welcome. At the moment it is just about OK...but only just.

well, thank you once again for a great tool and dedicated follow up with all the feedback you get.

master_kernel
April 7th, 2008, 09:51 AM
thank you so much for all the hard work you are putting into this as it enables newbies like me the opportunity to enjoy the benefits of recompiling without the time investment needed to achieve this goal by other means.

I have downloaded and used version 1.0.5 to really good effect, but I do have one question. Back last year there was a perl script drawn to your attention that removed unused modules from the kernel. Did you ever include this feature in kernelcheck, or should I give the instructions on the link to the script a go?

Mind you, they are instructions from someone in the know to others in the know! And a little knowledge can be a dangerous thing! Just that I am running gutsy on an old laptop with low specs. Anything that can increase performance is very, very welcome. At the moment it is just about OK...but only just.

well, thank you once again for a great tool and dedicated follow up with all the feedback you get.
I did not include this in 1.0.5, but it is planned in HopeStar.

master_kernel
April 7th, 2008, 11:22 AM
Annoucement: Check out the new website (http://kcheck.sourceforge.net).

Kaohuz
April 21st, 2008, 10:06 AM
I've just wanted to say that it is thanks to people like you that make Ubuntu and this community such a wonderfull place to be part of.
You guys always "pushing it to the next level" in order to people like me trough a few clicks can enjoy the power and goods of a new kernel.

Thank You!

traxk
April 27th, 2008, 01:42 PM
Hi,
I am running ubuntu 8.04-rc.
I have today run the kernelcheck to latest kernel 2.6.25 (5 hours to build)
Every thing seems to be ok except for sound no plug-ins found. Is there a quick way to fix this issue? Dell dimension 2400.
Suggestions welcome.
Thanks
Ps.:With above new kernel firefox 3.0 is not hunting anymore for memory and is low on cpu load. Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9pre) Gecko/2008042704 Minefield/3.0pre

master_kernel
April 28th, 2008, 03:54 PM
Hi,
I am running ubuntu 8.04-rc.
I have today run the kernelcheck to latest kernel 2.6.25 (5 hours to build)
Every thing seems to be ok except for sound no plug-ins found. Is there a quick way to fix this issue? Dell dimension 2400.
Suggestions welcome.
Thanks
Ps.:With above new kernel firefox 3.0 is not hunting anymore for memory and is low on cpu load. Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9pre) Gecko/2008042704 Minefield/3.0pre

In xconfig (where you configure the kernel), go to Sound > Advanced Linux Sound Architecture (press M to make it a module) > PCI Devices > Intel HD Audio (press M to make it a module, there should be a dot inside the box) and then let KernelCheck continue.

traxk
April 30th, 2008, 05:24 AM
Thanks for your reply,
I cannot wake-up xconfig on my Pc, have tried all commands i found on the web no success. Boot time [2.6.25] is 310 and boot screen shows three progress bars instead of one. Printing does not work either cd/dvd do.
Besides the above kernel 2.6.25 feels great and swift at handling tasks. I will have to wait for an update. Any other suggestion welcome, thanks.

I am using kernel 2.6.24-16 in case of...
Thanks.
Iakop

jonlowe
April 30th, 2008, 09:42 AM
In xconfig (where you configure the kernel), go to Sound > Advanced Linux Sound Architecture (press M to make it a module) > PCI Devices > Intel HD Audio (press M to make it a module, there should be a dot inside the box) and then let KernelCheck continue.


Does this mean I need to do a complete rebuild of the kernel if I forgot something? Or is there a way to start xconfig and just build that portion? Fi so, how? Ubuntu 8.04 has the drivers for my Syntek webcam built in, but the kernelcheck script doesn't build them automatically. It doesn't do the drivers for my Intel 3945 wireless card either, but I coaght that one before I built the kernel.

Also, the firmware libraries for things such as my wireless card didn't get created for 2.6.25. I copied the one I have for 2.6.24-16 and renamed them to 2.6.25, and got it started. However I had to find and manually add the firmware for my TV card. Is there a way that kernelcheck can do this automagically?

Finally, I am getting a bios bug report on booting with 2.6.25 that I don't get with 2.6.24-16. something about a pci memory reservation problem. Any ideas why this would happen with 2.6.25? It does boot up ok.

Thanks!

Jon

traxk
May 3rd, 2008, 06:10 AM
Hi,
Have updated to 2.6.25.1 see attachment copy conf.
Sound still down no gstreamer plug-in found . Boot time now 190 seconds, printer works now. Good sound with 2.6.24-16 kernel don`t know where it stalls in 2.6.25.1. Maybe you can give me a hint, thanks.
Iakop

Adahn
May 20th, 2008, 10:35 PM
I have folders in usr/src for old kernels taking up over 6GB of space on my hdd.
How do I purge these?

sdm_cacto
May 22nd, 2008, 05:01 PM
sudo nautilus

then you go to /usr/src/ and delete everything

gimmic
May 23rd, 2008, 11:21 AM
Thank you for making this process painless

defconoii
June 1st, 2008, 03:54 AM
I compiled my own 2.6.25 kernel in hardy heron and noticed pulseaudio didnt work, does kernelcheck somehow fix this?

Adahn
June 1st, 2008, 09:17 AM
sudo nautilus

then you go to /usr/src/ and delete everything

I did this and things were fine for a while, even through several updates.
Yesterday, update and synaptic stopped working.
Update tries to do a partial update; synaptic tells me to sudo dpkg --configure -a
which gives me:

Setting up initramfs-tools (0.85eubuntu39) ...
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.25.2
Cannot find /lib/modules/2.6.25.2
update-initramfs: failed for /boot/initrd.img-2.6.25.2
dpkg: subprocess post-installation script returned error exit status 1

I had deleted that /lib folder to save space.
Suggestions?

ForksHolder
June 1st, 2008, 10:13 AM
Hello master-kernel,

The main problem i had with your longer How-to, is to configure the kernel to my computer (You know, the one i need to say what Pentium i have and stuff).

I thouth that in this Kernel-Check it will do it itself by seeking my computer information, but if i have to configure it myself again, i prefer using this kernel.

If you can make an update with will auto-configure itself, it'll be great. :)

Thanks,
Forks Holder

ukripper
June 6th, 2008, 05:24 AM
Compilation and installation worked great but looks like i have to load ATI drivers by myself.

Thanks for this great app saved me some compilation and installtion time as i dont have to sit in front of my machine when it is compiling.

10/10 for this app from me!:KS

master_kernel
June 12th, 2008, 02:27 PM
I did this and things were fine for a while, even through several updates.
Yesterday, update and synaptic stopped working.
Update tries to do a partial update; synaptic tells me to sudo dpkg --configure -a
which gives me:

Setting up initramfs-tools (0.85eubuntu39) ...
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.25.2
Cannot find /lib/modules/2.6.25.2
update-initramfs: failed for /boot/initrd.img-2.6.25.2
dpkg: subprocess post-installation script returned error exit status 1

I had deleted that /lib folder to save space.
Suggestions?

1. Did you uninstall the 2.6.25.6 kernel?

master_kernel
June 12th, 2008, 02:27 PM
Hello master-kernel,

The main problem i had with your longer How-to, is to configure the kernel to my computer (You know, the one i need to say what Pentium i have and stuff).

I thouth that in this Kernel-Check it will do it itself by seeking my computer information, but if i have to configure it myself again, i prefer using this kernel.

If you can make an update with will auto-configure itself, it'll be great. :)

Thanks,
Forks Holder
This will be integrated by 2.0.

master_kernel
June 12th, 2008, 02:29 PM
Compilation and installation worked great but looks like i have to load ATI drivers by myself.

Thanks for this great app saved me some compilation and installtion time as i dont have to sit in front of my machine when it is compiling.

10/10 for this app from me!:KS
Thanks for the rating; It seems that since ATI is never up-to-date with the latest kernel, I won't be able to integrate support for it in HopeStar. I'll try to add an option for users to install Envy since it's in the repos now.

Adahn
June 12th, 2008, 02:39 PM
1. Did you uninstall the 2.6.25.6 kernel?

I solved this last week. I had forgotten to delete the file in /var/lib/initramfs-tools associated with 2.6.25.6

ukripper
June 13th, 2008, 05:14 AM
Thanks for the rating; It seems that since ATI is never up-to-date with the latest kernel, I won't be able to integrate support for it in HopeStar. I'll try to add an option for users to install Envy since it's in the repos now.

really is envy in repos? Damn where i have been living:lolflag: Problem is i am still supporting gutsy for certain users it will take time for me to get used to Hardy myself.

master_kernel
June 13th, 2008, 01:35 PM
ANNOUNCEMENT: KernelCheck HopeStar is really coming along. Some of the new features include:

- All the 1.0.5 features you've grown to love :)
- Envy installation support
- New graphical design
- Expandable menus
- Connection button (to download information)
- Integrated terminal for viewing building process
- Status bar
- Progress bar
- Autodefaults for config (NO MORE USER INTERACTION :) (but still not recommended))

Since I pretty much rewrote the code from 1.0.5, there are still some bugs for me to catch up on, but I plan to add custom patching support as well as a patch system and error trapping.

txnec
June 15th, 2008, 11:30 PM
Just wanted to mention - great program.

I'm still a linux newb so here goes: how do i access the kernel options (the screen that pops up from "make xconfig") after i've compiled the kernel?

I can't seem to get my wireless (Atheros) or my sound working. I thought I had set the right configurations prior to compiling. I suppose it takes a little bit more tweaking on my end..

master_kernel
June 16th, 2008, 10:02 AM
Just wanted to mention - great program.

I'm still a linux newb so here goes: how do i access the kernel options (the screen that pops up from "make xconfig") after i've compiled the kernel?

I can't seem to get my wireless (Atheros) or my sound working. I thought I had set the right configurations prior to compiling. I suppose it takes a little bit more tweaking on my end..
Check out the Master Kernel Thread in my signature. I'm not entirely sure about your wireless, but your sound is probably due to ALSA not being enabled in your kernel.

txnec
June 16th, 2008, 10:39 AM
well, for the wireless, I had enabled Ath5k and looked at all the requirements in the xconfig. For ALSA, I had actually enabled it along with my chipset driver.

The other thing is, I tried using EnvyNG to install proprietary drivers for my vidcard, ATI Radeon Xpress, and nothing was installed. Is there anyway to reconfigure xconfig without having to go back and recompile the kernel?? It's a pain in the butt to troubleshoot when you have to wait 3...4 hours for results... lol

master_kernel
June 16th, 2008, 12:54 PM
well, for the wireless, I had enabled Ath5k and looked at all the requirements in the xconfig. For ALSA, I had actually enabled it along with my chipset driver.

The other thing is, I tried using EnvyNG to install proprietary drivers for my vidcard, ATI Radeon Xpress, and nothing was installed. Is there anyway to reconfigure xconfig without having to go back and recompile the kernel?? It's a pain in the butt to troubleshoot when you have to wait 3...4 hours for results... lol
An ATI user I see. Well, I have an ATI Radeon Xpress also, and because of changes in the kernel API, Envy will not work for the latest kernel. You have to download the latest binary from the ATI site and install it. That one has 2.6.25 support. But sorry, I do not know of a way to reconfigure the configuration w/o recompiling it.

MK

txnec
June 16th, 2008, 11:58 PM
lol... that's too bad cause i'm stubborn enough to recompile this thing a thousand times simply because 2.6.24 isn't really stable for me unless i'm running RT which is ***..... What drivers did you download from the ATI site? I have xpress 1100.. and it's not on their site....................... and if there's really no help for me... sounds like i'm f***ed until the next release in a few weeks...............

Payteer
June 17th, 2008, 03:38 AM
Hello, I am having real problems, I did the master kernal stuff, and been a noob, I think I messed up a few things. Anyway, no sound or wireless now also the boot up ubuntu screen has two bars on it now, not just the one.
I want to be able to sort this out in a clear way as this is really annoying. Anyway, I have the built in intel sound card and a built in wireless in my lenovo 3000 V100. Please can some one help me get the drivers that used to work with the old hardy. Thanks

master_kernel
June 17th, 2008, 12:07 PM
lol... that's too bad cause i'm stubborn enough to recompile this thing a thousand times simply because 2.6.24 isn't really stable for me unless i'm running RT which is ***..... What drivers did you download from the ATI site? I have xpress 1100.. and it's not on their site....................... and if there's really no help for me... sounds like i'm f***ed until the next release in a few weeks...............
Catalyst 8.5 Download
http://ati.amd.com/support/drivers/linux/linux-radeon.html

Directions for Hardy Installation
http://wiki.cchtml.com/index.php/Ubuntu_Hardy_Installation_Guide (http://wiki.cchtml.com/index.php/Ubuntu_Hardy_Installation_Guide#Method_2:_Manual_M ethod_.28installing_Catalyst_8.5.29)

Hope this helps!
MK

master_kernel
June 17th, 2008, 12:09 PM
Hello, I am having real problems, I did the master kernal stuff, and been a noob, I think I messed up a few things. Anyway, no sound or wireless now also the boot up ubuntu screen has two bars on it now, not just the one.
I want to be able to sort this out in a clear way as this is really annoying. Anyway, I have the built in intel sound card and a built in wireless in my lenovo 3000 V100. Please can some one help me get the drivers that used to work with the old hardy. Thanks
I'm not quite sure how to do this, but it sounds like you may have to compile the linux-restricted-drivers package. Head over to the Master Kernel Thread and there should be some directions there.

Sorry I couldn't be of more help,
MK

master_kernel
June 17th, 2008, 02:31 PM
ANNOUNCEMENT: KernelCheck HopeStar Beta is now available. The deb file is attached to the first post.
ANNOUNCEMENT: Beta 3 is now out. The first release candidate will be released Monday afternoon.
ANNOUNCEMENT: Beta 4 is out with a minor bug fix.
ANNOUNCEMENT: Release candidate 1 has been released. Do not check for updates in this release.
ANNOUNCEMENT: Release candidate 2 has been released. Do not check for updates in this release.
ANNOUNCEMENT: Release candidate 3 has been released. RC2 has been removed because it was no different from RC1. Apparently I forgot to build the package with the correct files. There are fixes in this release. Do not check for updates yet.

Bug reports (6/19):

Help button has no function [FIXED]
Patch system needed [FIXED]
MM patch support is broken [FIXED]
Expanders are sensitive when there is no kernel information [FIXED]

dementic
June 25th, 2008, 07:05 PM
Hello!

I use your program, fantastic very easy (even if I don't understand what is it asking about sometimes during the installation). But what I noticed is that it took 6 GB to update, where is all that space gone??? How can I recover it?

Another point, I have a Core2Duo processor, so I would need 686 kernel, right? How do I know which one is installed?


Thank you!

master_kernel
June 26th, 2008, 03:56 PM
Hello!

I use your program, fantastic very easy (even if I don't understand what is it asking about sometimes during the installation). But what I noticed is that it took 6 GB to update, where is all that space gone??? How can I recover it?

Another point, I have a Core2Duo processor, so I would need 686 kernel, right? How do I know which one is installed?


Thank you!
1. One way you can recover some space is by deleting /usr/src/linux-2.6.25 using:
sudo rm -rf /usr/src/linux-2.6.25

2. You can select your machine architecture in the xconfig window that comes up.

3. Use 'uname -r' to find out what kernel is running.

MK

dementic
June 26th, 2008, 08:00 PM
Thank you I will try that :)

Another question, if I delete the source can I have problems when compiling some others drivers or something like that?

Megatog615
June 27th, 2008, 01:45 AM
Whoops, nevermind.

mond0
June 27th, 2008, 03:10 AM
I'm a big linux newb, (just got Ubuntu like 3 days ago) and i tried to up my kernel from the default to the latest stable version (2.6.25.9) using KernelCheck Hopestar v 1.1-beta3 build 17 (i clicked on the 2nd to last link on the origional post -- i did not click the final link, the RC version, because it was much smaller and the announcement said "do not check for updates in this version") -but I never got to running off the new kernel :(

1:did i mis-interprit? can i still use the rc1 version to update the kernel?
2: why is it so much smaller smaller? :)

3: So i run kernelchecker, and it goes through, scrolling things that give "warning: .........." i dont know, i just saw them, something about changing files around, i figured that's fine because that's what the program is meant to do.. eventually it comes up with a box to configure the kernel, I add some features (.config support for the kernal config, and mac80211 drivers for my intel 4965 wireless) and then hit save and close the config file, just hoping that closing it is the right choice to proceed, which it apparently was because the install continued, saying it might take 2-4 hours. When I come back, it asks me about booting and menu.ls (i think) and i didn't want to mess with changing that so i chose not to. Then it continues, installing kernel updates to .9 i think? then finally it ended up with a line going something like: "packages installed:0 packages upgraded:0 packages xxxx:0 packages unchanged:0" --i really should have taken a screenshot cause i know i'm getting it wrong, but all 4 of them said "0". I figured maybe i needed to re-boot before any changes would take effect, but after i got back in uname -r showed the old kernel (2.6.24-16-generic) and so did kernelcheck. I go look in usr/src, and there are indeed a bunch of new files there for 2.6.25. Is I'm sorry if this post is going on too long just trying to provide what info I can, if there is a log pls tell me i will post it.

Is there some step i missed or like i have to manually tell the system to switch over to using the new one? Did refusing to update the boot menu mean it just didn't load the correct kernel? (just thought of that.. lol) Thanks for any help (and i hope this info helps you if there is indeed some bug), i hope it wasnt just me being dumb about the boot menu.ls..

Chris

master_kernel
June 27th, 2008, 12:00 PM
Thank you I will try that :)

Another question, if I delete the source can I have problems when compiling some others drivers or something like that?

It depends on if the drivers need the kernel source or not. Most good drivers use dkms though, so it shouldn't matter.

I'm a big linux newb, (just got Ubuntu like 3 days ago) and i tried to up my kernel from the default to the latest stable version (2.6.25.9) using KernelCheck Hopestar v 1.1-beta3 build 17 (i clicked on the 2nd to last link on the origional post -- i did not click the final link, the RC version, because it was much smaller and the announcement said "do not check for updates in this version") -but I never got to running off the new kernel

1:did i mis-interprit? can i still use the rc1 version to update the kernel?
2: why is it so much smaller smaller?

3: So i run kernelchecker, and it goes through, scrolling things that give "warning: .........." i dont know, i just saw them, something about changing files around, i figured that's fine because that's what the program is meant to do.. eventually it comes up with a box to configure the kernel, I add some features (.config support for the kernal config, and mac80211 drivers for my intel 4965 wireless) and then hit save and close the config file, just hoping that closing it is the right choice to proceed, which it apparently was because the install continued, saying it might take 2-4 hours. When I come back, it asks me about booting and menu.ls (i think) and i didn't want to mess with changing that so i chose not to. Then it continues, installing kernel updates to .9 i think? then finally it ended up with a line going something like: "packages installed:0 packages upgraded:0 packages xxxx:0 packages unchanged:0" --i really should have taken a screenshot cause i know i'm getting it wrong, but all 4 of them said "0". I figured maybe i needed to re-boot before any changes would take effect, but after i got back in uname -r showed the old kernel (2.6.24-16-generic) and so did kernelcheck. I go look in usr/src, and there are indeed a bunch of new files there for 2.6.25. Is I'm sorry if this post is going on too long just trying to provide what info I can, if there is a log pls tell me i will post it.

Is there some step i missed or like i have to manually tell the system to switch over to using the new one? Did refusing to update the boot menu mean it just didn't load the correct kernel? (just thought of that.. lol) Thanks for any help (and i hope this info helps you if there is indeed some bug), i hope it wasnt just me being dumb about the boot menu.ls..

Chris

Here's your fix:
cd /usr/src
sudo dpkg -i *.deb
If it asks you to update your menu.lst, do it, or else your bootup menu will not be updated to include the new kernel.

On another note, the release candidate is so much smaller because the pdf file with the documentation has been removed from the package and instead posted on the KC website.

MK

mond0
June 27th, 2008, 01:26 PM
Hey thanks for the reply, I used the command above and it ran through, asked me to write over a file (new kernel module, i saved a backup, as it suggested just in case) and it said it was updating boot/grub/menu.lst, but I go into menu.lst and it is still the same. Here is the relevant part of menu.lst:

## ## End Default Options ##

title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=40223ebe-1286-4eb7-bb4f-5ccbefd4ecee ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet

title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=40223ebe-1286-4eb7-bb4f-5ccbefd4ecee ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

and here is what it gave me during install:

christopher@USB-Ubuntu:/usr/src$ sudo dpkg -i *.deb
[sudo] password for christopher:
(Reading database ... 138089 files and directories currently installed.)
Preparing to replace linux-headers-2.6.25.9-ultimate 2.6.25.9-ultimate-10.00.Custom (using linux-headers-2.6.25.9-ultimate_2.6.25.9-ultimate-10.00.Custom_i386.deb) ...
Unpacking replacement linux-headers-2.6.25.9-ultimate ...
Preparing to replace linux-image-2.6.25.9-ultimate 2.6.25.9-ultimate-10.00.Custom (using linux-image-2.6.25.9-ultimate_2.6.25.9-ultimate-10.00.Custom_i386.deb) ...
Done.
Unpacking replacement linux-image-2.6.25.9-ultimate ...
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.25.9-ultimate
Found kernel: /boot/vmlinuz-2.6.24-19-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Setting up linux-headers-2.6.25.9-ultimate (2.6.25.9-ultimate-10.00.Custom) ...

Setting up linux-image-2.6.25.9-ultimate (2.6.25.9-ultimate-10.00.Custom) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.25.9-ultimate-10.00.Custom was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.25.9-ultimate-10.00.Custom was configured last, according to dpkg)
Running postinst hook script update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.25.9-ultimate
Found kernel: /boot/vmlinuz-2.6.24-19-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

christopher@USB-Ubuntu:/usr/src$


I noticed also that i have another kernel update installed (2.6.24-19-generic) but i am not running on that either. Still on 16, the one i installed with (after installing i ran all suggested updates, including new kernel apparently). I noticed the install looked for a "splash image" and didn't find any when under my menu.lst it says "quiet splash" is this normal?

Is there another way to edit menu.lst? I would try myself but I don't know what UUID to use.

Thanks again master_kernel for your help earlier this seems to be my problem not one with kernelcheck.

Chris

shinji257
June 27th, 2008, 01:37 PM
Any chance you might be able to post your entire menu.lst file?

mond0
June 27th, 2008, 02:17 PM
Here it is:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=40223ebe-1286-4eb7-bb4f-5ccbefd4ecee ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=40223ebe-1286-4eb7-bb4f-5ccbefd4ecee ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet

title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=40223ebe-1286-4eb7-bb4f-5ccbefd4ecee ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda3
title Windows Vista/Longhorn (loader)
root (hd0,2)
savedefault
chainloader +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda5
title Microsoft Windows XP Embedded
root (hd0,4)
savedefault
chainloader +1


When I installed, i actually had to do some maneuvering. I'm running off a SDHC card connected via USB. After installing, I would get to the boot menu, but nothing would happen when i hit to boot. I checked out the problem online and found that i needed to manually edit menu.lst to point to: groot=(hd0,0), and root (hd0,0) for each of the kernel entries. When i installed, these numbers were (hd1.0) because the install assumed i was on a hard drive?? (i think this was the reason, i looked around, followed the advice, and it worked, so that was good enough for me) then, when i tried to log into the desktop, the background would remain and nothing would load. I found i had to manually update gnome-keyring, because something about USBs prevented a proper load in the 8.04 release, so i did that from the terminal too, though i don't know if that would affect the current problem. But then even after running all the updates i was giver, (like 200) it never switched over to the new kernel, I've always been on the default install one. I just found another thread http://ubuntuforums.org/showthread.php?t=499596 do you guys think this could be my problem somehow?

Thanks for all the help
Chris

mond0
June 27th, 2008, 03:09 PM
A little more info: i installed everything to the USB. I installed grub to USB and nothing is on my harddrive, my bios is set to boot to USB if it is found.

Chris

mond0
June 27th, 2008, 06:10 PM
Ok - i didn't really fix the problem, but i got it working. I used qgrubedit (made me feel more comfortable) to edit menu.lst to add an option including the new kernel version, and it booted up to the new kernel fine. I just cant use my wireless on it yet..

Thanks to you guys for the help I'm glad there are people here that can offer some info to those like me just starting up :)

-btw, great program master_kernel, i surely wouldn't be able to upgrade otherwise

Chris

master_kernel
June 27th, 2008, 11:05 PM
Ok - i didn't really fix the problem, but i got it working. I used qgrubedit (made me feel more comfortable) to edit menu.lst to add an option including the new kernel version, and it booted up to the new kernel fine. I just cant use my wireless on it yet..

Thanks to you guys for the help I'm glad there are people here that can offer some info to those like me just starting up :)

-btw, great program master_kernel, i surely wouldn't be able to upgrade otherwise

Chris
Thanks. :)

master_kernel
June 29th, 2008, 08:04 PM
ANNOUNCEMENT: KernelCheck 1.1.4 HopeStar released!

Brando569
June 30th, 2008, 05:36 PM
never mind i found the python bindings for libvte, testing now ill let you know how it goes when im done. ive been waiting for this for about 4 months :D

edit:

i just got done compiling and it worked flawlessly! get yourself a beer, smoke a cigar or do whatever you do to celebrate something because you did an amazing job, apparently kernelcheck does something different when compiling a kernel then the script that i wrote awhile ago (which im pretty sure was initially based off your master kernel thread :confused:) because my intel hd audio worked perfectly immediately after i logged into kde. i was extremely skeptical at first because i tried pretty much everything and nothing worked. i used various tweaks that i found on here and other boards, i tried compiling a vanilla kernel, i tried disabling all audio devices except for the intel hd audio module under alsa, i tried recompiling alsa (which wouldnt compile for some reason) and nothing worked. i had pretty much given up hope and was about to buy a soundcard just so i could compile new kernels lol

once again great job, im glad i had to wait 4+ months for this to come out because it was definitely worth it.

erginemr
July 2nd, 2008, 01:46 AM
@master_kernel,

Kudos for this masterpiece!

This program has really made kernel compilation, which is traditionally regarded as a high-tech task for Linux geeks, a child's play. Thank you very much for all the effort you have put into the development of kernelcheck.

Harpoon
July 3rd, 2008, 10:49 PM
First, let me say this looks like a great piece of work. Add me as a +1 on that score.

However, I have a few (embarrassing) questions concerning the meaning/use of some gui options.

My intention was to compile the 2.6.26 kernel after disabling a truckload of things I do not/will never have use for on this laptop--e.g., LVM, NFS, Acorn support, Touchscreen,...etc). After getting the kernel information updated properly, I set the checkbox to "Confingure the kernel" (or similar), and left configure X unchecked. Invoking "build kernel" started the process, which continued to the point of asking how to handle the grub menu list (that is a separate question, below). After selecting (something) there, the build continued to the end, but without any option to change the kernel configuration (no makemenu appeared). I apparently have a compiled 2.6.25 kernel with all options including a cold fusion powered toilet compiled into the kernel (from a post compile inspection). (ugh)

This begs the question, "did I err in making this menu selection, is the description misleading, or is there some other problem I am not smart enough to see?" Any help here would be greatly appreciated.

As to the grub menu list option, I must admit embarrassment that my best efforts to parse the displayed options to figure out what to choose was utterly depressing. If I want the newly compiled kernel to show up in the list, which is the correct choice? Grub did not update for me, the program crashed, and required a system restart. I can fix this by updating grub manually, but I am curious where my error is.

Apart from the above (and the grub menu thing is probably just me not being able to shift my thinking), I think you are on to one of the biggest advances in usability that we have seen in a long, long, time.

If expecting to trim the fat out of the kernel using this tool is more than it was intended to do, no problem. There is a case to be made for doing it the old-fashioned way.

Again, thanks for any insights. I will slink into lurk mode to preserve what little dignity I have left.


Lenovo 3000/N100 core2duo laptop; intel graphics, sound, and wifi.

Brando569
July 6th, 2008, 01:26 AM
also kernelcheck wont run on kubuntu unless you know or already have the libraries that it needs. I forget what I did to fix this before but I keep getting this error:

Traceback (most recent call last):
File "/usr/bin/kernelcheck", line 9, in <module>
import KernelCheck.main, os, gtk, sys
File "/usr/lib/python2.5/site-packages/KernelCheck/main.py", line 20, in <module>
import gnome.ui
ImportError: No module named gnome.ui

could you add something in the next version (or maybe a minor update) that checks to see if you have the correct dependencies? sometimes hunting down these dependencies is harder then compiling the kernel itself :?