Kernel 2.6.23

Mike Martin redtux1 at googlemail.com
Tue Sep 11 23:14:49 UTC 2007


On 11/09/2007, gjohnson5 <tonyjohn5 at yahoo.com> wrote:
>
> The kernel builds succeed.
> Adding kmods to this kernel fail due to arch mismatch
>
> [gjohnson at localhost ~]$ rpmbuild --rebuild
> madwifi-kmod-0.9.3.1-2.2.6.22.4_65.fc7.src.rpm
> Installing madwifi-kmod-0.9.3.1-2.2.6.22.4_65.fc7.src.rpm
> warning: user mockbuild does not exist - using root
> warning: group mockbuild does not exist - using root
> warning: user mockbuild does not exist - using root
> warning: group mockbuild does not exist - using root
> warning: user mockbuild does not exist - using root
> warning: group mockbuild does not exist - using root
> warning: user mockbuild does not exist - using root
> warning: group mockbuild does not exist - using root
> warning: user mockbuild does not exist - using root
> warning: group mockbuild does not exist - using root
> error: Architecture is not included: i386   <---------------------------
> arch mismatch
> [gjohnson at localhost ~]$ rpmbuild --rebuild
> nvidia-kmod-100.14.11-1.2.6.22.4_65.fc7.src.rpm
> Installing nvidia-kmod-100.14.11-1.2.6.22.4_65.fc7.src.rpm
> warning: user mockbuild does not exist - using root
> warning: group mockbuild does not exist - using root
> warning: user mockbuild does not exist - using root
> warning: group mockbuild does not exist - using root
> warning: user mockbuild does not exist - using root
> warning: group mockbuild does not exist - using root
> warning: user mockbuild does not exist - using root
> warning: group mockbuild does not exist - using root
> error: Architecture is not included: i386  <-------------------------  arch
> mismatch
>
> I'll have to see if I can find ones that work.
> But I think one problem is that these are expecting an i686 kernel.
> So things are changing (not sure what) but things a are definitely in a
> state of flux
> [gjohnson at localhost ~]$ uname -a
> Linux localhost.localdomain 2.6.23-0.170.rc5.git1.GAJ3 #1 SMP Tue Sep 11
> 02:02:51 EDT 2007 i686 i686 i386 GNU/Linux
> [gjohnson at localhost ~]$
>
> Christopher Brown-10 wrote:
> >
> > On 11/09/2007, gjohnson5 <tonyjohn5 at yahoo.com> wrote:
> >>
> >>
> >> And I wish I had full understanding of where this is going.  With the new
> >> kernels follow the document for building a custom kernel
> >>
> >> 1. su -c 'yum-builddep kernel-2.6.23-0.171.rc5.git1.fc8.src.rpm'
> >> 2. rpm -Uvh kernel-2.6.23-0.171.rc5.git1.fc8.src.rpm
> >> 3. rpmbuild -bp --target=i686 (or `uname -m`)
> >> kernel-2.6.23-0.171.rc5.git1.fc8.src.rpm
> >> go to source tree
> >> 4. cd /home/gjohnson/rpmbuild/BUILD/kernel-2.6.22/linux-2.6.22.i686
> >> /configs
> >> 5.  head the config file
> >> [gjohnson at localhost configs]$ head kernel-2.6.23-i686-PAE.config
> >> # i386  <------------------  (Here's the issue)
> >>
> >
> > Why is that an issue? That is the optimization flag for gcc. Is your build
> > failing for some reason?
> >
> > Chris
> >
> > --
> > http://www.chruz.com
> >
> > --
> > fedora-test-list mailing list
> > fedora-test-list at redhat.com
> > To unsubscribe:
> > https://www.redhat.com/mailman/listinfo/fedora-test-list
> >
>
> --

I have a related wierd problem

I have a kernel source 2.6.23-2 (src RPM) updated to 2.6.22.5 (fine)

However when I patch to 2.6.23.rc5 from ftp.kernel.org I get when I
try to make config variations of

 scripts/kconfig/gconf arch/i386/Kconfig
init/Kconfig:695: unexpected end statement
drivers/misc/Kconfig:211: unexpected 'endmenu' within if block
drivers/Kconfig:94: 'endmenu' in different file than 'menu'
drivers/misc/Kconfig:16: location of the 'menu'
make[1]: *** [gconfig] Error 1
make: *** [gconfig] Error 2

never came across this before




More information about the fedora-test-list mailing list