LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Anyone having problems with the 3.6.1 kernel? (http://www.linuxquestions.org/questions/fedora-35/anyone-having-problems-with-the-3-6-1-kernel-4175431263/)

Rupadhya 10-09-2012 01:23 AM

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

bathory 10-09-2012 02:52 AM

Quote:

Originally Posted by Rupadhya (Post 4800945)
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

Rupadhya 10-09-2012 02:03 PM

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

syg00 10-09-2012 03:51 PM

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.

bathory 10-09-2012 04:04 PM

@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).

Rupadhya 10-09-2012 04:04 PM

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

Rupadhya 10-09-2012 04:08 PM

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

bathory 10-09-2012 04:38 PM

Quote:

Originally Posted by Rupadhya (Post 4801595)
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

Rupadhya 10-09-2012 05:06 PM

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

bathory 10-10-2012 12:02 AM

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

Rupadhya 10-12-2012 01:14 PM

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


All times are GMT -5. The time now is 06:46 PM.