LinuxQuestions.org
Review your favorite Linux distribution.
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 10-09-2012, 01:23 AM   #1
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Rep: Reputation: Disabled
Anyone having problems with the 3.6.1 kernel?


Hello all,
I downloaded the tarball source of 3.6.1 from http://www.kernel.org and built it according to the directions. I rebooted to test it, and it is unable to boot because it fails to mount my filesystems. It seems to get hung up trying to scan the USB ports. I have reverted to 3.6.0 kernel and that is working fine. Anyone having similar problems? Any ideas?

- Raj Upadhyaya
 
Old 10-09-2012, 02:52 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,905

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Quote:
Originally Posted by Rupadhya View Post
Hello all,
I downloaded the tarball source of 3.6.1 from http://www.kernel.org and built it according to the directions. I rebooted to test it, and it is unable to boot because it fails to mount my filesystems. It seems to get hung up trying to scan the USB ports. I have reverted to 3.6.0 kernel and that is working fine. Anyone having similar problems? Any ideas?

- Raj Upadhyaya
Hi,

Since 3.6.0 works fine for you, copy the .config file from that kernel into the new 3.6.1 and run:
Code:
make oldconfig
before anything else. Then compile your new kernel as usual.

Cheers
 
1 members found this post helpful.
Old 10-09-2012, 02:03 PM   #3
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Original Poster
Rep: Reputation: Disabled
I decided to re-make kernel 3.6.0 to make a .config file for it. The problem of booting on the kernel has now come up on 3.6.0. I have reverted to 3.3.4-5.fc17.i686 which is the last version I received via yum.

I will disable options in the 3.6.1 kernel until it works. Thanks for your ideas!


- Raj
 
Old 10-09-2012, 03:51 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,201

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Would have been better to have done as was suggested.
No harm done - unless things have changed recently, Fedora should have (at least) 3 config files in /boot.
 
Old 10-09-2012, 04:04 PM   #5
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,905

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
@OP
Quote:
I decided to re-make kernel 3.6.0 to make a .config file for it.
You shouldn't. You could find the 3.6.0 kernel configuration file under /proc/config.gz, if the kernel was compiled with the IKCONFIG and IKCONFIG_PROC options set (the usual).
 
Old 10-09-2012, 04:04 PM   #6
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Original Poster
Rep: Reputation: Disabled
Initially I looked in the boot directory for a config file... I only had one.
Quote:
ls -al config*.i686
-rw-r--r--. 1 root root 118540 May 7 12:51 config-3.3.4-5.fc17.i686
I don't think building from source copies a config file there when you build. I will copy my config files from now on!
- Raj
 
Old 10-09-2012, 04:08 PM   #7
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Original Poster
Rep: Reputation: Disabled
bathory, check this out.. What am I doing wrong?
Quote:
[root@rajhome2 ~]# cd /proc
[root@rajhome2 proc]# ls -al config.gz
ls: cannot access config.gz: No such file or directory
[root@rajhome2 proc]# ls -al config*
ls: cannot access config*: No such file or directory
- Raj
 
Old 10-09-2012, 04:38 PM   #8
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,905

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Quote:
Originally Posted by Rupadhya View Post
bathory, check this out.. What am I doing wrong?

- Raj
Well, that means that your currently running kernel is not configured with the IKCONFIG* options.
You can use config-3.3.4-5.fc17.i686 as a starting point. Copy it under the 3.6.1 source tree as .config, run "make oldconfig" and continue from there

Cheers
 
2 members found this post helpful.
Old 10-09-2012, 05:06 PM   #9
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Original Poster
Rep: Reputation: Disabled
I am totally confused.. (Nothing new here!) I recompiled the kernel with just the option to add the version and a custom trailer to the version.

CONFIG_LOCALVERSION="RajTest1"
CONFIG_LOCALVERSION_AUTO=y

I now get
Quote:
uname -r
3.6.1RajTest1
It boots!!! Seems to work perfectly! I looked in the config file, and I saw # CONFIG_IKCONFIG is not set. I will figure out how to set it from menuconfig or gconfig. I will take some time to examine the configs. Using MELD (a diff tool) there are a ton of insertions and deletions.

Thanks for the help!
- Raj
 
Old 10-10-2012, 12:02 AM   #10
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,905

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Quote:
It boots!!! Seems to work perfectly! I looked in the config file, and I saw # CONFIG_IKCONFIG is not set. I will figure out how to set it from menuconfig or gconfig.
Cool!
Regarding IKCONFIG* you need to go in "General Setup" and set "Kernel .config support" and "Enable access to .config through /proc/config.gz".

Cheers
 
2 members found this post helpful.
Old 10-12-2012, 01:14 PM   #11
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Original Poster
Rep: Reputation: Disabled
Fedora released a yum released 3.6.1 kernel, so I am solved.
Code:
# yum list kernel
Loaded plugins: downloadonly, fastestmirror, langpacks, presto, refresh-
              : packagekit, tidy-cache
Loading mirror speeds from cached hostfile
 * fedora: mirrors.servercentral.net
 * livna: rpm.livna.org
 * rpmfusion-free: mirror.web-ster.com
 * rpmfusion-free-updates: mirror.web-ster.com
 * rpmfusion-nonfree: mirror.web-ster.com
 * rpmfusion-nonfree-updates: mirror.web-ster.com
 * updates: mirror.unl.edu
Installed Packages
kernel.i686                        3.6.1-1.fc17                         @updates
[root@rajhome2 ~]# uname -r
3.6.1RajTest3
- Raj
 
  


Reply

Tags
kernel 3, kernel compile, kernel config


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Non-smp kernel not sane - problems with a compilation of the kernel modules igadoter Slackware 2 09-05-2012 04:45 PM
problems installing custom 2.6.14 kernel (for SATA problems) Ekkume Ubuntu 0 12-29-2005 02:39 PM
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 10:53 PM
Problems building a simple kernel module for kernel 2.6.7 atticman Linux - Software 2 12-13-2004 03:35 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM


All times are GMT -5. The time now is 08:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration