Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Need help updating my kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
donald3.heckel
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2013
Posts: 84

PostPosted: Thu May 08, 2014 8:57 pm    Post subject: [SOLVED] Need help updating my kernel Reply with quote

Hello,

I am having trouble updating my kernel. I would like to know how I can update my kernel. When I boot into grub, I boot with the new kernel and I receive a kernel panic. Right now, my bzImage is 3.7.10 and I am using genkernel. I would like to update my bzImage to 3.12.14 and emerge kde-meta to update kde-meta.

all help will be greatly appreciated.

Sincerely,

donald3.heckel
_________________
Believing is seeing.


Last edited by donald3.heckel on Mon Jul 14, 2014 4:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
leifbk
Guru
Guru


Joined: 05 Jan 2004
Posts: 367
Location: Bærum, Norway

PostPosted: Thu May 08, 2014 9:56 pm    Post subject: Reply with quote

Can you post the output of "ls -l /boot" and "cat /boot/grub/grub.conf" for us, please?

It would also be helpful to know the file system of the boot partition, as well as if you have compiled in proper support for that file system in the kernel.
_________________
Grumpy old man
Back to top
View user's profile Send private message
donald3.heckel
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2013
Posts: 84

PostPosted: Sat May 10, 2014 3:21 am    Post subject: Reply Reply with quote

Hello,

My grub.conf file can be seen here: http://bpaste.net/show/266443/

also, my ls -l boot can be seen here: http://bpaste.net/show/266445/

thank you for your reply.


sincerely,

donald3heckel
Added a space to the second link for easy clicking - NeddySeagoon
_________________
Believing is seeing.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42592
Location: 56N 3W

PostPosted: Sat May 10, 2014 8:57 am    Post subject: Reply with quote

donald3.heckel,

Code:
-rw-r--r-- 1 root root 3228416 Jan 16 22:03 bzImage
shows that your bzImage is about 3Mb
Code:
-rw-r--r-- 1 root root 3128320 Jun  7  2013 kernel-genkernel-x86-3.7.10-gentoo
so is your last working genkernel bzImage.

Code:
title Gentoo Linux New Kernel
root (hd0,0)
kernel /boot/bzImage root=/dev/sda3 net.ifnames=0
shows you are trying to start your new kernel without am initrd.
I suspect that some of the things you need for that to work are either missing from your kernel or are built as modules, so they are not available until after root is mounted.

Please post your kernel .config file, the output of lspci and tell the filesystem on /dev/sda5
An image of the panic message may be useful too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
donald3.heckel
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2013
Posts: 84

PostPosted: Sat May 10, 2014 3:22 pm    Post subject: Reply Reply with quote

Hello,

Thank you for the reply Neddyseagoon. I have a multiboot with my grub. I am booting ubuntu 12.10 /dev/sda6 linux mint 14 /dev/sda5 extended partition /dev/sda4 root for gentoo /dev/sda3 linux swap /dev/sda2 and /boot /dev/sda1. The filesystem on my Linux Mint MATE (/dev/sda5) is ext4. The kernel panic mentioned about VFS not being mounted.



I will provide a picture if necessary.


Thank you all.

Sincerely,

donald3heckel
_________________
Believing is seeing.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42592
Location: 56N 3W

PostPosted: Sat May 10, 2014 3:47 pm    Post subject: Reply with quote

donald3.heckel,

Your multiboot is fine. The problem is that your gentoo kernel does not match your hardware.
Code:
lspci
will tell us about your hardware. All your distros have that command.
Run that command and post the output.

To fix your kernel we need to see its .config file.
Mount your gentoo root then put the file <gentoo-root>/usr/src/linux-3.12.14-gentoo/.config onto a pastebin.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
donald3.heckel
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2013
Posts: 84

PostPosted: Fri May 23, 2014 1:14 am    Post subject: Reply Reply with quote

Hello,

sorry for the long wait. Here are the results of my lspci: http://bpaste.net/show/292809/

thanks.

Sincerely,

donald3.heckel
_________________
Believing is seeing.
Back to top
View user's profile Send private message
pidsley
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2012
Posts: 80

PostPosted: Fri May 23, 2014 9:47 pm    Post subject: Reply with quote

We still need to see your kernel config file.
NeddySeagoon wrote:
To fix your kernel we need to see its .config file.
Mount your gentoo root then put the file <gentoo-root>/usr/src/linux-3.12.14-gentoo/.config onto a pastebin.
Back to top
View user's profile Send private message
donald3.heckel
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2013
Posts: 84

PostPosted: Tue Jun 03, 2014 10:26 pm    Post subject: Reply Reply with quote

I forgot to mention before that I was updating to 3.10.17 before 3.12.14 came out. Will I need to remove 3.10.17 before updating to 3.12.14? Here is my kernel's .config file: http://bpaste.net/show/338304/




Thank you.

All help will be greatly appreciated.

lspci from above pastebin:
00:00.0 Host bridge: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx DMI Bridge
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
00:02.1 Display controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 02)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 02)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)


lspci added above before the pastebin expires, by NeddySeagoon
_________________
Believing is seeing.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42592
Location: 56N 3W

PostPosted: Wed Jun 04, 2014 8:25 pm    Post subject: Reply with quote

donald3.heckel,

Your HDD controller is
Code:
00:1f.2 SATA controller: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] (rev 02)


In your kernel you have
Code:
CONFIG_SATA_AHCI=m
CONFIG_ATA_PIIX=m
one of which in the driver for that chip set.
The =m means the code is placed into /lib/modules/ on the root filesystem. Thats unfortunate, as the code is needed to mount the root filesystem before /lib/modules/ can be read.

These options must be set as <*> in menuconfig, so the code is built into the kernel binary loaded by grub.
Your kernel can then talk to the hard drive without needing any modules.

There may be other things too - I just checked a few common issues..

There is no need te remove an old kernel before adding a new one - unless you run out of space somewhere.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
donald3.heckel
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2013
Posts: 84

PostPosted: Sun Jun 22, 2014 10:42 pm    Post subject: Reply Reply with quote

Hello,

I am sorry for the delay.

I am having trouble in selecting the two options:

Code:
CONFIG_SATA_AHCI=<*>


and

Code:
CONFIG_ATA_PIIX=<*>


in my kernel because I cannot find these two options. Can you please clarify the destination of these options?

Thank you.

All help is greatly appreciated.

Sincerely,

donald3.heckel
_________________
Believing is seeing.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sun Jun 22, 2014 11:48 pm    Post subject: Re: Reply Reply with quote

donald3.heckel wrote:
Code:
CONFIG_SATA_AHCI=<*>

Device Drivers => Serial ATA and Parallel ATA drivers

donald3.heckel wrote:
Code:
CONFIG_ATA_PIIX=<*>

Device Drivers => Serial ATA and Parallel ATA drivers => ATA SFF support (for legacy IDE and PATA) => ATA BMDMA support

The latter you shouldn't enable as PATA was made obsolete by SATA.

EDIT TO ADD: teach a man to fish:

When in menuconfig hit "/" ... enter a search term, and you will be provided with all the items matching that term, included in the information will be the location of the item.

HTH & best ... khay
Back to top
View user's profile Send private message
donald3.heckel
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2013
Posts: 84

PostPosted: Mon Jul 14, 2014 1:41 am    Post subject: Reply Reply with quote

Hello,

It has been a while. I apologize for any inconvinience caused. I was on vacation for some time and when I got back, I was unable to come to the forums.

I have successfully installed kernel 3.12.21-r1 and used genkernel to set it up. Unfortunately, I encountered this problem that does not occur on kernel version 3.7.10. In 3.7.10, it processes uevents and the screen resizes as it starts the system. while on kernel version 3.12.21-r1, It processes uevents and the display does not resize like it should therefore not allowing the login screen to appear.

All help will be greatly appreciated.

Sincerely,

donald3.heckel
_________________
Believing is seeing.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Mon Jul 14, 2014 1:11 pm    Post subject: Reply with quote

donald ...

its not really clear what's happening other than your video mode is set at a lower resolution. So, what card, driver, etc, and are the configs for both these kernels comparible?

best ... khay
Back to top
View user's profile Send private message
donald3.heckel
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2013
Posts: 84

PostPosted: Mon Jul 14, 2014 4:41 pm    Post subject: Reply Reply with quote

Hello Everyone,

I decided the best solution was for me to use my working kernel config from kernel version 3.7.10 in place of 3.12.21-r1 by copying the 3.7.10 configuration files over in place of 3.12.21-r1 and compiled it using genkernel. It was a way for me to get it working.

My Kernel is now working and booting like I want it to with the updated kernel. Thank you very much for your support everyone.

Sincerely,

donald3.heckel
_________________
Believing is seeing.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum