Re: 2.6.35.10-74 compilation (and build) problems

2011-01-06 Thread Jarod Wilson
On Thu, Jan 06, 2011 at 12:15:51AM -0500, Don Zickus wrote: On Wed, Jan 05, 2011 at 11:47:41PM -0500, Jarod Wilson wrote: So, what do I do? I simply prep from source (rpmbuild -bp kernel.spec) and then cd to ~/rpmbuild/BUILD/kernel-2.6.35.10-74/linux-2.6.35.i686, copy my current

Re: 2.6.35.10-74 compilation (and build) problems

2011-01-06 Thread Don Zickus
On Thu, Jan 06, 2011 at 10:18:42AM -0500, Jarod Wilson wrote: We could probably mimic the old linux-kernel-test.patch which was a stub patch to allow developers to quickly test their patches without mucking with the spec file, but instead for config files (like the %rhel thing). I think

Re: applesmc patch in rawhide

2011-01-06 Thread Ozan Çağlayan
On 06.01.2011 17:20, Matthew Garrett wrote: On Thu, Jan 06, 2011 at 08:46:07AM +0200, Ozan Çağlayan wrote: Well, that's good. Can you open a bug? Well I'm not a fedora user, but I'm frequently digging into Fedora patches and grabbing them occasionally. If it will help tracking the problem

Re: applesmc patch in rawhide

2011-01-06 Thread Matthew Garrett
On Thu, Jan 06, 2011 at 07:55:02PM +0200, Ozan Çağlayan wrote: On 06.01.2011 17:20, Matthew Garrett wrote: On Thu, Jan 06, 2011 at 08:46:07AM +0200, Ozan Çağlayan wrote: Well, that's good. Can you open a bug? Well I'm not a fedora user, but I'm frequently digging into Fedora patches and

Re: 2.6.35.10-74 compilation (and build) problems

2011-01-06 Thread JD
On 01/06/2011 07:12 AM, Jarod Wilson wrote: On Wed, Jan 05, 2011 at 09:21:16PM -0800, JD wrote: On 01/05/2011 08:47 PM, Jarod Wilson wrote: From the kernel spec: # Dynamically generate kernel .config files from config-* files make -f %{SOURCE20} VERSION=%{version} configs And Source20 is

Re: 2.6.35.10-74 compilation (and build) problems

2011-01-06 Thread JD
On 01/06/2011 07:18 AM, Jarod Wilson wrote: On Thu, Jan 06, 2011 at 12:15:51AM -0500, Don Zickus wrote: On Wed, Jan 05, 2011 at 11:47:41PM -0500, Jarod Wilson wrote: So, what do I do? I simply prep from source (rpmbuild -bp kernel.spec) and then cd to

Re: 2.6.35.10-74 compilation (and build) problems

2011-01-06 Thread JD
On 01/06/2011 12:45 PM, Don Zickus wrote: On Thu, Jan 06, 2011 at 10:53:24AM -0800, JD wrote: as a base config file (such as ~/rpmbuild/SOURCES/config-x86-generic (my arch is i686), when building from a new source rpm release. It never yielded a kernel with my drivers enabled. Try

Re: 2.6.35.10-74 compilation (and build) problems

2011-01-06 Thread Jarod Wilson
On Thu, Jan 06, 2011 at 01:13:41PM -0800, JD wrote: ... I think this would suffice: # This file is empty in stock builds, but can be populated with local # config option overrides for custom local builds Source1000: config-local Then, in %prep, in a loop similar to the if rhel one:

Re: 2.6.35.10-74 compilation (and build) problems

2011-01-06 Thread JD
On 01/06/2011 01:23 PM, Jarod Wilson wrote: On Thu, Jan 06, 2011 at 01:13:41PM -0800, JD wrote: ... I think this would suffice: # This file is empty in stock builds, but can be populated with local # config option overrides for custom local builds Source1000: config-local Then, in %prep,

Re: 2.6.35.10-74 compilation (and build) problems

2011-01-06 Thread Mr Dash Four
I added the loop as you suggest (without the if conditional) just after the if rhel conditional's endif I also added it after the loop within the debuginfo block. It is building now. Will let you know. I've also done the above, but what am I supposed to do with it?! Do I just run make

Re: 2.6.35.10-74 compilation (and build) problems

2011-01-06 Thread Mr Dash Four
What I did, is described below. However, it did not work. rpmbuild exited with error. The output file kernel.build,out is attached. Strange error that! After you do make oldconfig, do these steps: Do I copy my .34 config as .config first, prior to running make oldconfig (so that I could

Re: 2.6.35.10-74 compilation (and build) problems

2011-01-06 Thread JD
On 01/06/2011 04:42 PM, Mr Dash Four wrote: What I did, is described below. However, it did not work. rpmbuild exited with error. The output file kernel.build,out is attached. Strange error that! After you do make oldconfig, do these steps: Do I copy my .34 config as .config first, prior

Re: 2.6.35.10-74 compilation (and build) problems

2011-01-06 Thread JD
On 01/06/2011 01:23 PM, Jarod Wilson wrote: On Thu, Jan 06, 2011 at 01:13:41PM -0800, JD wrote: ... ... Would this loop in the spec file do it? . . for i in %{all_arch_configs} do mv $i $i.tmp ./merge.pl %{Source1000} $i.tmp $i rm $i.tmp done Yep. In

Re: [SOLVED] 2.6.35.10-74 compilation (and build) problems

2011-01-06 Thread Mr Dash Four
Well, our good advisor did not indicate that I need to use the absolute pathname for the config-local :) Will retry. Thanx for the good observation. I can't believe I haven't thought of this earlier!!! It has been staring me in the face all this time! Here it is - the solution to *my*

Compilation error in kernel-2.6.35.10-74

2011-01-06 Thread JD
The last few lines of the build output: vour=PAE + InstallName=vmlinuz + Config=kernel-2.6.35.10-i686-PAE.config + DevelDir=/usr/src/kernels/2.6.35.10-74.i686.PAE + '[' arch/x86/boot/bzImage = vmlinux ']' + CopyKernel=cp + KernelVer=2.6.35.10-74.i686.PAE + echo BUILDING A KERNEL FOR PAE i686...