On Mon, 2011-07-25 at 15:24 -0400, Greg Freemyer wrote:
On Mon, Jul 25, 2011 at 10:52 AM, Roger Oberholtzer
wrote: I have an 11.2 system that I want to use to compile a kernel driver. The kernel that is installed is almost the same as the one I need (same version, but the -desktop version rather then the desired -default version).
I guess I can get the proper version compiled if I install the desired kernel headers. I do not in any way want to replace the existing kernel install. All I want it a parallel install of the headers needed to do my compile.
I have the RPMS that are needed:
kernel-default-devel-2.6.31.14-0.6.1.i586.rpm kernel-source-2.6.31.14-0.6.1.noarch.rpm kernel-syms-2.6.31.14-0.6.1.i586.rpm
Would these be enough? The kernel-source and kernel-syms match the current kernel (I am fairly certain). It is the kernel-default-devel that I think is the issue.
Can I install these so that they do not mess up the installed kernel, but are in the expected directories for their version of the kernel?
Yours sincerely,
Roger Oberholtzer
Roger,
Have you just tried it?
You mean install RPMs for a kernel other than the one installed? And trust that the install does not do anything like replace part of the kernel with this alternate one? Trust that there is no gottcha in one of them that messes something up when installing multiple versions? Nope. Not without doing a bit of checking first. My version of measure twice, cut once.
I would expect the devel packages between -default and -desktop to be near identical if not identical. The fundamental difference between them I believe is the config files. They call for different modules, etc.
But the headers and actual source is the same as far as I know.
I would have thought so as well. I am just worried that one of them might do more than simply install files in some directory. I think I will try to locate the source RPMs so I can check for the running of any scripts or other surprise activity. OOC, what is the minimum set of kernel packages that are needed to compile a kernel module outside the kernel source tree? Is it enough to install kernel-source and kernel-XXX-devel? Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org