2.6.31-10-rt image does not match source

Bug #593025 reported by Invalid Opcode
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-rt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

In Lucid, I expected that I should be able to download the source code for the linux-rt kernel image and recompile my own version that matches the image supplied in the repository. However, it appears that the source for the linux-image-rt is not the same that is found in the linux-headers-rt. So the binaries created do not match the ones supplied in the repository packages.

I submitted a post to the community hoping it was just operator error but nobody has responded,

http://ubuntuforums.org/showthread.php?p=9447341#post9447341

My particular problem is that I need to compile some of the staging drivers and install in a stock Ubuntu Lucid linux-rt kernel.

If I download the source for the linux-image-rt, the staging drivers compile but fail on the insmod because of symbol table mismatches.

If I compile the staging drivers as an external module using the linux-headers-rt, the compile fails due to differences in the include directories.

Of course, this does not even address the problem that the linux-rt packages are revision behind the -generic...

Revision history for this message
Alessio Igor Bogani (abogani) wrote :

apt-get source linux-image-2.6.31-10-rt

[ -e linux-rt-2.6.31/debian/ ]
echo $?
0

cd linux-rt-2.6.31
fakeroot debian/rules apply-patchset
cp /boot/config-2.6.31-10-rt .config
make oldconfig
echo $?
0

Changed in linux-rt (Ubuntu):
status: New → Invalid
Revision history for this message
Invalid Opcode (jeff-angielski) wrote :

I agree that this bug should be invalidated. It was caused by two operator errors:

1) Not running the apply-patchset
2) Not having /debian in the linux-rt source tree (while the rest of the source tree was there).

Following Alessio's steps above, I do get the debian directory that then allows me to run the apply-patchset. And the configs do match from there.

Revision history for this message
Invalid Opcode (jeff-angielski) wrote :

Just a quick follow up on how the /debian in the linux-rt source tree went missing - it gets cleaned out when your run a 'make distclean'. So I guess the fundamental problem all along is mixing kernel.org style kernel building with debian kernel building.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.