Skip to contentSkip to conversation

Modules are missed while compiling the same version of kernel

DISCUSSION Neo Jia 3 participants 5 messages Nov 12, 2005 – Nov 14, 2005

lore
Share & tools
lore

Neo Jia

author
#0 lore raw

hi,

Today, I am going to recompile the kernel by adding the support of RTLinux. The current kernel version is 2..6.9-1.677smp (my processor is P4 with HT) from Fedora Core 3. The target new kernel is also the 2.6.9 from www.kernel.org after patching by RTLinux. Everything goes smoothly while building the kernel. But when I check the modules generated by this build, there are a lot of them missed comparing the number of I have from the original Fedora Core 3.

Could you give me any hint about this?

Thanks,
Neo

Signature · 2 lines
I would remember that if researchers were not ambitions
probably today we haven't the technology we are using!
author
#1 lore raw

hi,

I am not sure I describe the problem clearly or I am sending to the correct mailing list. But I think this problem might be just a How-to level question for your, kernel gurus.

Your help will be appreciated!

Thanks,
Neo

Quoted 9 lines · Neo Jia

hi,

Today, I am going to recompile the kernel by adding the support of RTLinux. The current kernel version is 2..6.9-1.677smp (my processor is P4 with HT) from Fedora Core 3. The target new kernel is also the 2.6.9 from www.kernel.org after patching by RTLinux. Everything goes smoothly while building the kernel. But when I check the modules generated by this build, there are a lot of them missed comparing the number of I have from the original Fedora Core 3.

Could you give me any hint about this?

Thanks,
Neo

Signature · 2 lines
I would remember that if researchers were not ambitions
probably today we haven't the technology we are using!
#2 lore raw
In reply to Neo Jia
Quoted 6 lines · Neo Jia

hi,

Today, I am going to recompile the kernel by adding the support of RTLinux. The current kernel version is 2..6.9-1.677smp (my processor is P4 with HT) from Fedora Core 3. The target new kernel is also the 2.6.9 from www.kernel.org after patching by RTLinux.

Fedora adds their own patches to the kernel, so your kernel source from Fedora Core 3 and the one from kernel.org are not equivalent.

Quoted 5 lines

Everything goes smoothly
while building the kernel. But when I check the modules generated by this build, there are a lot of them missed comparing the number of I have from the original Fedora Core 3.

Did you copy in your original .config and run "make oldconfig" so the two kernels are configured as closely as possible?

Have you chompared the .config from the old and new kernel to see if you have the same amount of modules enabled?

Could it be that the Fedora kernels patches add or remove drivers compared to what's in mainline (I don't use Fedora so I don't know exactely what patches they add) ?

You are adding the -rt patchset, the changes in there could also account for some of the difference although I must admit I don't know exactely what changes the -rt patchset makes - I've never really looked at it.

Quoted 1 line

Could you give me any hint about this?

You are using two different versions of the kernel source and have not told us if they are even configured identically. Frankly I'd be surprised if they did not have their differences.

--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

#3 lore raw
Quoted 4 lines · Jesper Juhl

You are adding the -rt patchset, the changes in there could also account for some of the difference although I must admit I don't know exactely what changes the -rt patchset makes - I've never really looked at it.

Actually he's talking about RTLinux, which is a commercial product. He needs to contact his support rep. Or depending on the nature of his RT constraints, consider the -rt kernel.

Lee

#4 lore raw
Quoted 10 lines · Lee Revell
Quoted 4 lines · Jesper Juhl

You are adding the -rt patchset, the changes in there could also account for some of the difference although I must admit I don't know exactely what changes the -rt patchset makes - I've never really looked at it.

Actually he's talking about RTLinux, which is a commercial product. He needs to contact his support rep. Or depending on the nature of his RT constraints, consider the -rt kernel.

Ohh, whoopsie, I thought he was talking about Ingo's -rt patches. Thank you for clearing that up.

--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html