[opensuse-kernel] [OT] PathScale packaging bounty
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. 2) pscnv (Built against the kernel-default and kernel-trace from above) http://github.com/pathscale/pscnv (There's existing nouveau packages which could possibly be a good base start.. https://build.opensuse.org/project/repositories?project=home%3Ajobermayr ) Q - Why the hassle and why Kernel:HEAD? A - We're not currently able to backport and test our compiler on the loads of different kernels so want a 2.6.35 kernel that we can get packaged everywhere. (Vanilla would be 2nd choice) Q - What's the benefit? A - The end result once these packages are done will be open source NVIDIA drivers across all the distributions that we can get this kernel package to build for. The kernel-trace packages will allow us to also have an officially supported developer kernel to make it easier for people to get us mmiotraces. Overall we hope it'll allow greater testing and developer interest. Q - What's pscnv? A - http://wiki.github.com/pathscale/pscnv/ Q - How much is the bounty? A - Contact me off list #pathscale - freenode (I'm codestr0m) Best, Christopher [1] https://build.opensuse.org/project/packages?project=home%3Apathscale -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
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.
2) pscnv (Built against the kernel-default and kernel-trace from above) http://github.com/pathscale/pscnv (There's existing nouveau packages which could possibly be a good base start.. https://build.opensuse.org/project/repositories?project=home%3Ajobermayr )
That's an opensolaris driver, why would you want to build it on Linux? confused, greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
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.. 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) 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. By doing that I got the running kernel to match the sources at /usr/src/linux and was able to achieve both #1 and #2 from above..
2) pscnv (Built against the kernel-default and kernel-trace from above) http://github.com/pathscale/pscnv (There's existing nouveau packages which could possibly be a good base start.. https://build.opensuse.org/project/repositories?project=home%3Ajobermayr )
That's an opensolaris driver, why would you want to build it on Linux?
That README and the COPYING file needs to be updated.. It builds against the traces source 2.6.35 and also I believe newer kernel versions.. Thanks ./C -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
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?
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.
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? thanks, greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
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@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On 23.8.2010 18:03, "C. Bergström" wrote:
What I ended up resorting to was installing the source package, using the traces config and manually building the kernel. By doing that I got the running kernel to match the sources at /usr/src/linux and was able to achieve both #1 and #2 from above..
zypper in kernel-trace kernel-trace-devel kernel-source should be all you need (make sure all of them are at the same version). Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Michal Marek wrote:
On 23.8.2010 18:03, "C. Bergström" wrote:
What I ended up resorting to was installing the source package, using the traces config and manually building the kernel. By doing that I got the running kernel to match the sources at /usr/src/linux and was able to achieve both #1 and #2 from above..
zypper in kernel-trace kernel-trace-devel kernel-source
should be all you need (make sure all of them are at the same version). Yeah that's the next problem, but don't I also need kernel-syms to build drivers?
Current versions.. kernel-trace-2.6.36-rc2.19.1.x86_64.rpm https://build.opensuse.org/package/binary?arch=x86_64&filename=kernel-trace-2.6.36-rc2.19.1.x86_64.rpm&package=kernel-trace&project=home%3Apathscale&repository=SLE_11 kernel-syms-2.6.36-rc2.25.1.x86_64.rpm https://build.opensuse.org/package/binary?arch=x86_64&filename=kernel-syms-2.6.36-rc2.25.1.x86_64.rpm&package=kernel-syms&project=home%3Apathscale&repository=SLE_11 kernel-source-2.6.36-rc2.12.1.noarch.rpm https://build.opensuse.org/package/binary?arch=x86_64&filename=kernel-source-2.6.36-rc2.12.1.noarch.rpm&package=kernel-source&project=home%3Apathscale&repository=SLE_11 home:pathscale/kernel-syms also has <bcntsynctag>kernel-source</bcntsynctag>, but it doesn't appear to help even after a manual trigger.. Should I just be patient because build service is busy or how to get all packages in sync? Thanks ./C -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On 24.8.2010 14:40, "C. Bergström" wrote:
Michal Marek wrote:
On 23.8.2010 18:03, "C. Bergström" wrote:
What I ended up resorting to was installing the source package, using the traces config and manually building the kernel. By doing that I got the running kernel to match the sources at /usr/src/linux and was able to achieve both #1 and #2 from above..
zypper in kernel-trace kernel-trace-devel kernel-source
should be all you need (make sure all of them are at the same version). Yeah that's the next problem, but don't I also need kernel-syms to build drivers?
No, kernel-syms is just a metapackage that pulls kernel-*-devel packages. And since you only want to build against the trace flavor, kernel-trace-devel is enough.
Current versions..
kernel-trace-2.6.36-rc2.19.1.x86_64.rpm https://build.opensuse.org/package/binary?arch=x86_64&filename=kernel-trace-2.6.36-rc2.19.1.x86_64.rpm&package=kernel-trace&project=home%3Apathscale&repository=SLE_11 kernel-syms-2.6.36-rc2.25.1.x86_64.rpm https://build.opensuse.org/package/binary?arch=x86_64&filename=kernel-syms-2.6.36-rc2.25.1.x86_64.rpm&package=kernel-syms&project=home%3Apathscale&repository=SLE_11 kernel-source-2.6.36-rc2.12.1.noarch.rpm https://build.opensuse.org/package/binary?arch=x86_64&filename=kernel-source-2.6.36-rc2.12.1.noarch.rpm&package=kernel-source&project=home%3Apathscale&repository=SLE_11
home:pathscale/kernel-syms also has <bcntsynctag>kernel-source</bcntsynctag>, but it doesn't appear to help even after a manual trigger.. Should I just be patient because build service is busy or how to get all packages in sync?
The _link files need to have cicount="copy" in them. But I am wondering why are you rebuilding the kernel packages at all? You are not adding any patches, so why don't you simply use the packages from Kernel:HEAD? Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Michal Marek wrote:
The _link files need to have cicount="copy" in them. But I am wondering why are you rebuilding the kernel packages at all? You are not adding any patches, so why don't you simply use the packages from Kernel:HEAD?
We need packages for SLE11 and pretty much everywhere.. I realize the deb based distro probably can't use this, but everything else somewhat sane should be able to (I think) -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On 24.8.2010 15:02, "C. Bergström" wrote:
Michal Marek wrote:
The _link files need to have cicount="copy" in them. But I am wondering why are you rebuilding the kernel packages at all? You are not adding any patches, so why don't you simply use the packages from Kernel:HEAD?
We need packages for SLE11 and pretty much everywhere.. I realize the deb based distro probably can't use this, but everything else somewhat sane should be able to (I think)
The kernel <-> userspace ABI does not change and does not depend on the compiler used. You can run a kernel built in a Factory chroot on SLE11 as well. Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (3)
-
"C. Bergström"
-
Greg KH
-
Michal Marek