DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello all,
I am using kernel 2.6.24-amd64 on Lenny/Testing.
I have noticed that there are security updates(kernel)available for Etchnhalf using the 2.6.24 kernel.
My question is am i still ok to be using this kernel version as it has been removed from the Debian testing repositories?.
I can't use the latest kernel version 2.6.26 at the moment,see previous thread:
Am i being over cautious? or should i be not using this machine to connect to the internet until i have this kernel issue sorted.
I hope i have been clear in explaining the problem.
Your opinions please.
If truly interested in how this stuff works, download 2.6.27.2 from kernel.org, configure it, compile it, install it, and go. You'll learn a lot about linux along the way.
If truly interested in how this stuff works, download 2.6.27.2 from kernel.org, configure it, compile it, install it, and go. You'll learn a lot about linux along the way.
Although that is not answering the question,it is at least one possibility.
As you appear to be running the 2.6.27 kernel, what do you do for additional packages needed for installing the Nvidia driver?
Packages such as kbuild,kernel headers-common etc.
Until the kernel is accepted into the Debian repositories surely these packages will not be available?.Or are they available from another resource?
Although that is not answering the question,it is at least one possibility.
As you appear to be running the 2.6.27 kernel, what do you do for additional packages needed for installing the Nvidia driver?
Packages such as kbuild,kernel headers-common etc.
Until the kernel is accepted into the Debian repositories surely these packages will not be available?.Or are they available from another resource?
Kbuild is in the source package. The kernel-headers package is not needed, because you have the actual sources. The kernel-headers packages is just a subset of the source containing only the header files. It is linked out of either /lib/modules/kernelversion/source or /lib/modules/kernelversion/build. I'd have to look it up to see which one the nvidia driver needs. In any case, when building an nvidia driver from a .run file, it looks in the appropriate place and the headers are there.
OTOH, you will need to expend some effort installing packages to build the kernel, as well as going through the effort of configuring and installing it. If this interests you, then read through this link. Ignore the symlink instruction in 2.2. And, it would be better on your first effort to use "make oldconfig" rather than using "make menuconfig".
Oh, yeah, and a caveat regarding nvidia's downloaded drivers. After installing a new kernel, you will have to reinstall the driver. In the case of 2.6.27, you may have to install a beta version. I've been using 177.67. I haven't looked lately to see if they have a 2.6.27 driver out of beta, yet. For "shipped" drivers, I dunno. It's been too long since I used "nv".
Strange,when i have installed the Nvidia driver i have always had to install this package.But i'll take your word for it.
That's because you haven't compiled your own kernel. When compiling your own, you have the complete source code, including the headers, so don't need the kernel-headers package.
That's because you haven't compiled your own kernel. When compiling your own, you have the complete source code, including the headers, so don't need the kernel-headers package.
That would make sense.......
Fingers crossed for my first kernel build!
Something else to consider is if the newest kernel is even necessary. If you have a functional kernel, and aren't adding new hardware (unsupported by your current kernel), what is the point? Yes, etchandahalf has 2.6.24, etch uses 2.6.18. 2.6.18 is older, and probably "not as good", but you may be adding a ton of trouble to yourself for no appreciable gain. Many of the kernel flaws that have been found are indeed flaws, but if the flaw impacts say, vsftp server, and you don't run vsftp server on your machine, then you have no issue. Odds are very high if this is your desktop machine, that a good number of the found kernel flaws can't touch you. That is why reading the release notes for each upgrade becomes important. If it has no baring on you, don't sweat it.
That being said, I frequently do make my own kernel, and enjoy doing it! I just don't like the microsoftian, "there is new software, you must by the new software immediately" vibe that seems to accompany new kernel updates.
Well i have started to build the kernel from the guide,and have hit my first problem.
Here is a quote from the guide:
Quote:
2.5 Build The Kernel
To build the kernel, execute these two commands:
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
After --append-to-version= you can write any string that helps you identify the kernel, but it must begin with a minus (-) and must not contain whitespace.
Now be patient, the kernel compilation can take some hours, depending on your kernel configuration and your processor speed.
Error: The extended version may only contain
lowercase alphanumerics and the characters - + .
The current value is: -linux-image-2.6.27.2-custom_2.6.27.2-custom-10.00.custom_amd64.deb
Aborting.
So my question is,is it just a question of changing the underscores for a minus?
Or have i made a complete blunder with the command?.
Being a cautious kind of guy i would just like to check i am doing things the right way before i go any further.
Thanks Quakeboy02 that helped!
Got the kernel built and installed after several attempts at the compiling stage.
My next problem is when i boot the new kernel it hangs and gives me an error message of:
Code:
waiting for root filesystem....
So i'm now off to google the problem.
Just thought i would post an update.
BTW if anyone else has seen this problem before please post any suggestions in the meantime.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.