Mailinglist Archive: opensuse-kernel (87 mails)

< Previous Next >
Re: [opensuse-kernel] [OT] PathScale packaging bounty
  • From: "C. Bergström" <cbergstrom@xxxxxxxxxxxxx>
  • Date: Mon, 23 Aug 2010 23:34:18 +0700
  • Message-id: <4C72A30A.6030401@xxxxxxxxxxxxx>
Greg KH wrote:
On Mon, Aug 23, 2010 at 11:03:47PM +0700, "C. Bergström" wrote:
Greg KH wrote:
On Mon, Aug 23, 2010 at 10:46:38PM +0700, "C. Bergström" wrote:
Hi all

Apologies for the OT cross post, but I couldn't sort this out and
any help is greatly appreciated.. (Others directed me here)

PathScale needs some packaging help

1) kernel-trace, kernel-default, kernel-sources , kernel-trace-sources
(if they differ) , kernel-trace-sysm (if this needs to be different
from, kernel-sysm)
I've started a package [1] derived from Kernel:HEAD which gets close to
doing what we need, but not quite. The kernel-trace package builds and
boots, but I can't manage to get the corresponding kernel-trace-sources
to correctly match.
The kernel-trace-sources package should be the same as the
kernel-sources package, there is no difference.
That's what I thought, but the results I got disagreed..

What were your results?
kernel driver would build, but not load.. (I assumed it was just mismatched sources..) I took the /proc/config.gz and moved it into /usr/src/linux after creating the appropriate symlink.. ran make oldconfig ; make prepare.. etc and still wouldn't load..
I specifically needed to do two things

1) Build the closed NVIDIA driver (I couldn't get this to work and
after a day of fighting gave up)

Ask nvidia about that.
It should have worked and when I manually built the kernel it did.. So I blame myself and in no way NV
2) Build pscnv (I didn't get to this..

What I ended up resorting to was installing the source package,
using the traces config and manually building the kernel.

Why are you using the trace kernel? What is in it that you want/need
here?
CONFIG_MMIOTRACE=y

For us to get the tracing information we need while running the NVIDIA binaries mmiotrace must be enabled. So technically vanilla/default/anything + that 1 line change is sufficient.. (I couldn't get vanilla to build when I changed the config though.. it kept saying I had to run make oldconfig)

So hopefully that explains how this is all intertwined... I'd really like to get all the tracing packages building so we can even possible make an ISO with it all prepackaged.. Then users could drop the ISO in.. get a trace and upload it without any kernel hassles or messing with their existing install..

Thanks

./C
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >