LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-29-2012, 06:46 PM   #1
CalvinZA
LQ Newbie
 
Registered: Jan 2012
Location: South Africa
Distribution: Fedora
Posts: 4

Rep: Reputation: Disabled
Upgraded kernel to 3.2.2-1, Error "Kernel configuration is invalid"


Hi guys,

I posted earlier on the forum, trying to get my Marvell-Yukon 88E8072, I decided to update the kernel to 3.2.2-1 and retry the module install.
Earlier post:
http://www.linuxquestions.org/questi...7-i686-926301/

Now however, when running the installation, I receive an error at :
Compile the kernel (error) [Failed]

I consulted the installation log:
Quote:
make: Entering directory `/usr/src/kernels/3.2.2-1.fc16.i686.PAE'
make -C /lib/modules/3.2.2-1.fc16.i686.PAE/build \
KBUILD_SRC=/usr/src/kernels/3.2.2-1.fc16.i686.PAE \
KBUILD_EXTMOD="/tmp/Sk98IhbBLmfUQKITZrKaaNAZl/all" -f /usr/src/kernels/3.2.2-1.fc16.i686.PAE/Makefile \

test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
I did install glibc, kernel-PAE-devel.i686 and kernel-headers.i686

I would appreciate any help as I am relatively lost as I've just started using linux as a desktop/developing platform and have little experience and understanding in the inner workings of Unix(like) environments.

Last edited by CalvinZA; 01-29-2012 at 06:50 PM.
 
Old 01-29-2012, 09:44 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
before you go to far on fedora with using a non standard kernel NOT from the fedora 16 repo

have you blacklisted the kernel and ALL kernel-mods AND xorg
1) kernel
2)kernel-devel
3) akmod-????? or kmod-????
4) *x11*

you do NOT want any of those updating without a matching kernel
nor do you want fedora replacing your custom built one .


ok i had to google what a "Marvell-Yukon 88E8072" is
it would have been nice to know in your post that it is a "Gigabit Ethernet Controller"

http://www.marvell.com/support/downl...sX4!1151680137
has a kernel 2.6 version for a old fedora guessing fedora 14 or older added on "9/19/2011"



but a LOT of new hardware was added to the 3 kernel
are you positive that it is not already supported

it should be listed in the hardware
Code:
su -
lspci | grep Ethernet
 
Old 01-29-2012, 11:22 PM   #3
CalvinZA
LQ Newbie
 
Registered: Jan 2012
Location: South Africa
Distribution: Fedora
Posts: 4

Original Poster
Rep: Reputation: Disabled
EDIT:
I have successfully found the solution to my network interface, the problem lay in gnome 3 popping up errors for DHCP not being present, I apologise for the confusion I may have caused. However I am still interested in fixing the kernel module builds. Should I revert back to the stock kernel that came with Fedora 16 release or can this be fixed for 3.2.2-1?

For the kernel upgrade I executed the following code into the terminal:
Quote:
#yum install kernel-PAE.i686 kernel-PAE-devel.i686 kernel-headers.i686
Doing a quick double check on that:
Quote:
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Package kernel-PAE-3.2.2-1.fc16.i686 already installed and latest version
Package kernel-PAE-devel-3.2.2-1.fc16.i686 already installed and latest version
Package kernel-headers-3.2.2-1.fc16.i686 already installed and latest version
Nothing to do
These are from the fedora-updates repo I believe.

How do I go about blacklisting the following and also what would are the implications or purpose there of? I'd like to better my understanding so that in the future I'd be more likely to diagnose a problem as the one I've been experiencing.

Quote:
have you blacklisted the kernel and ALL kernel-mods AND xorg
1) kernel
2)kernel-devel
3) akmod-????? or kmod-????
4) *x11*
Regarding lspci |grep:
Due to running the install script from Realtek which removes the current module installed, "sk98lin" is not currently installed so I cannot modprobe it,

Here is the output showing the existence of the hardware from lspci:
Quote:
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8072 PCI-E Gigabit Ethernet Controller (rev 16
I suppose this is not the proper thread location to discuss my networking problem, hence why I have the other thread. However, the problem with the adapter was not that it did not pick up the hardware, rather Gnome 3 displayed the message "Activation of network controller failed" which is mentioned in the other thread.

Last edited by CalvinZA; 01-29-2012 at 11:47 PM.
 
Old 01-30-2012, 12:11 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
as long as the current running kernel IS installed with yum and not one you built from source
there is no need to "Should I revert back to the stock kernel that came with Fedora 16 "

the pae is just fine for a old 32 bit computer with 4 gig of ram 32 bit normally sees only 3.3 gig of the 4
or a 64 bit with ONLY the small amount of ram ,4 gig is not much ram


however i would recommend using the fedora 64 bit if this IS a 64 bit cpu
and if you have More than 4 gig of ram

as to blacklisting something in yum
Please read the man page
Code:
man yum
and use the exclude=??????? ???????
to /etc/yum.conf
example
Code:
exclude=openoffice.org*
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] upgraded to 10.10 .Rec' error message "invalid RT chipset detected" davefrank Linux - Desktop 6 12-05-2010 09:45 AM
[SOLVED] "invalid module format" error for Bluetooth modules with -current kernel 2.6.33.1 cgorac Slackware 13 04-02-2010 03:02 PM
grub2 returns a "invalid magic number" error when booting slackware 13.0's kernel baji Slackware - Installation 4 03-09-2010 06:15 PM
What is the error "invalid module format" and "insert kernel module"? shayori Linux - Newbie 8 02-25-2010 03:48 AM
[SOLVED] booting a newly compiled kernel error :"invalid or unsupported executable format" shivanth Linux - Kernel 1 09-16-2009 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration