rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Wed Jun 19, 2013 2:32 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Nov 13, 2007 9:15 pm 
Offline

Joined: Wed Aug 23, 2006 9:16 am
Posts: 37
Apparently the current GIT kernel is broken:

http://lkml.org/lkml/2007/10/25/127
Code:
> >   LD      init/built-in.o
> >   LD      .tmp_vmlinux1
> > arch/x86/kernel/built-in.o: In function `machine_crash_shutdown':
> > (.text+0x191c8): undefined reference to `genapic'
> > make: *** [.tmp_vmlinux1] Error 1


I got exactly that error when compiling.
git clone date: 2007-11-12 18:37

+ i cant even get the latest patches from linux-2.6 (linus) anymore.

Code:
$ git pull ../linux-2.6

remote: Generating pack...
remote: Done counting 10283 objects.
remote: Result has 7087 objects.
remote: Deltifying 7087 objects.
remote:  100% (7087/7087) done
Unpacking 7087 objects
remote: Total 7087, written 7087 (delta 5908), reused 6500 (delta 5341)
 100% (7087/7087) done
Merging HEAD with 325d22df7b19e0116aff3391d3a03f73d0634ded
Merging:
39e0501 rt2x00: Allow rt61 to catch up after a missing tx report
325d22d sigwait eats blocked default-ignore signals
found 2 common ancestor(s):
6ef89d0 [PATCH] iwl3945: fix direct scan problem
ddd6858 [PATCH] mac80211: fix printk warning on 64-bit
  Merging:
  6ef89d0 [PATCH] iwl3945: fix direct scan problem
  ddd6858 [PATCH] mac80211: fix printk warning on 64-bit
  found 1 common ancestor(s):
  c9927c2 Linux 2.6.24-rc1
merging of trees 365bfcf0aa2b166f849c7c4343f91f8a300a57f4 and 1b1576ed774d34b7575e492195af75cfe3894668 resulted in 04d45f54012e35d8057ee381f786f99b167ccff9
fatal: Entry 'Documentation/SubmittingPatches' not uptodate. Cannot merge.
No merge strategy handled the merge.


Ideas how to patch the kernel?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 13, 2007 11:10 pm 
Offline

Joined: Wed May 17, 2006 10:03 pm
Posts: 264
Using the patch from the post referenced at the link you gave I decided the easiest option was to just edit arch/x86/kernel/crash.c and change every line that said

#ifdef X86_32
to
#ifdef CONFIG_X86_32

There should be 3 of them to fix.

Automated patching tools are great for big patches but for small ones it is often easier to just read the diff and make the change manually.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 14, 2007 5:28 am 
Offline

Joined: Wed Aug 23, 2006 9:16 am
Posts: 37
AdamBaker wrote:
Using the patch from the post referenced at the link you gave I decided the easiest option was to just edit arch/x86/kernel/crash.c and change every line that said

#ifdef X86_32
to
#ifdef CONFIG_X86_32

There should be 3 of them to fix.

Automated patching tools are great for big patches but for small ones it is often easier to just read the diff and make the change manually.


Could we just follow the newer code & update to 2.6.24-rc2?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 14, 2007 8:18 am 
Offline

Joined: Wed May 17, 2006 10:03 pm
Posts: 264
Not easily. Rt2x00 has to follow wireless-2.6 and even updating to the latest version of that is a reasonable amount of work for Ivo.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 15, 2007 7:16 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
Well actually I did merge the tree, but forgot to push it to the server. ;)

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group