Confused about "generic" vs. "386" linux kernel
After recent updates, I have several copies of the vmlinuz... file in my /boot folder. Each file name includes a version identifies with either "-386" or "-generic". What is the difference between these kernels and do I need both?
My workstation is an Intel Core-2 Duo processor. Some kernels do not enable the 2nd CPU at boot -- I don't remember which. Can someone direct me to where I can learn about this? I've tried reading the linux kernel HOWTO but only got more confused. |
One is specialized for 386-based computers and one is more.. generic. The Linux kernel can run on many different architectures (x86 (386, 486, 686, k7..), x86_64, PowerPC, ...) but you don't need the code to run any other architecture than the one you have. The indicators usually correspond to the type of CPU you have.
Quote:
SMP (symmetric multiprocessing) is needed to use more than one core. xref Wikipedia |
Quote:
While "uname --machine" reports i686, and "uname --kernel-version" reports "#1 SMP PREEMPT" and a date. It looks like SMP is in there somewhere. The -386 and -generic files appeared following synaptic update runs. If I use any of them, some of my laptop features do not work. Does this mean that I need to gen my own kernel? If so, how do I know which parts I already have enabled in the running+working kernel so that I can generate an up-to-date kernel that runs and works? |
Try uname -a
also sysctl -a to check kernel settings. You'll prob need to be root. |
You have an Intel Core-2 Duo? -386 should be fine. I don't see a -686 and I don't normally use Ubuntu.
|
Quote:
Given kernel edition nn.nnn.nnn-nn, can I take a kernel-config file and build a new-and-improved kernel with the same configuration settings? ~~~ 0;-Dan |
Quote:
However, note that nowadays, a lot of people use 386 when they really mean x86, or any other thing. There are lot of names containing "386" when they really mean anything else above that. So that's not reliable. I don't know about the Ubuntu policies though. Quote:
Quote:
Code:
$ cd ~ After that, you can use "make menuconfig" if you want to check or fine tune something. And then just compile and install as you wish. I use "make && make install modules_install". After that you need to set up your boot manager to include the new kernel. That's the general picture. |
All times are GMT -5. The time now is 05:05 PM. |