LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2007, 02:17 PM   #1
andrewjamesp
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Rep: Reputation: 0
Kernel panic after updating to 2.6.9-42


I used yum update to install the 2.6.9-42.0.10.EL kernel. When I reboot, if I select this kernel, I end up with this error message:

ERROR: /bin/lvm exited abnormally! (pid 338)
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!

I'm using CentOS on Monarch desktop (AMD Athon 64 4000+)

The old kernel, 2.6.9-34.0.2, still works fine

Any help would be much appreciated
 
Old 04-24-2007, 03:27 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Your / filesystem is under LVM? I would use the old kernel and check the new kernel if all the LVM modules are present.

-twantrd
 
Old 04-24-2007, 03:46 PM   #3
andrewjamesp
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Original Poster
Rep: Reputation: 0
please see following post

Last edited by andrewjamesp; 04-24-2007 at 04:37 PM.
 
Old 04-24-2007, 04:36 PM   #4
andrewjamesp
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by twantrd
Your / filesystem is under LVM? I would use the old kernel and check the new kernel if all the LVM modules are present.

-twantrd
Correct. It is under LVM. How can I check the new kernel to see if all the LVM modules are present?
 
Old 04-24-2007, 09:43 PM   #5
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Go to your new kernel's source tree and run a 'make menuconfig'. You'll find out right there.

-twantrd
 
Old 04-25-2007, 09:57 AM   #6
andrewjamesp
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Original Poster
Rep: Reputation: 0
I see the text-based menu (see below), but I can't tell if the LVM modules are truly present. I don't see anything that mentions LVM or logical volumes, but I might not be looking in the right place.

thanks,

andrewjamesp

Linux Kernel v2.6.9-42.0.10.EL Configuration
──────────────────────────────────────────────────────────────────────────────
┌────────────────────── Linux Kernel Configuration ───────────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus --->. │
│ Highlighted letters are hotkeys. Pressing <Y> includes, <N> excludes, │
│ <M> modularizes features. Press <Esc><Esc> to exit, <?> for Help, </> │
│ for Search. Legend:[*] built-in [ ] excluded <M> module < > │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ Code maturity level options ---> │ │
│ │ General setup ---> │ │
│ │ Loadable module support ---> │ │
│ │ Processor type and features ---> │ │
│ │ Power management options (ACPI, APM) ---> │ │
│ │ Bus options (PCI, PCMCIA, EISA, MCA, ISA) ---> │ │
│ │ Executable file formats ---> │ │
│ │ Device Drivers ---> │ │
│ │ File systems ---> │ │
│ │ Profiling support ---> │ │
│ └────────┴(+)─────────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────────────────────┤
│ <Select> < Exit > < Help > │
└─────────────────────────────────────────────────────────────────────────┘
 
Old 04-25-2007, 09:36 PM   #7
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
It's a subsection. Look under Device Drivers.

-twantrd
 
Old 04-26-2007, 09:37 AM   #8
andrewjamesp
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Original Poster
Rep: Reputation: 0
OK, it seems like the LVM modules are present. Am I missing anything?

I should probably add that I did a update to the same kernel on another, similarly configured machine and everything was fine.


Linux Kernel v2.6.9-42.0.10.EL Configuration
─────────────────────────────────────────────────────────────────────────────────────────────── ─────
┌───────────────────────────── Multi-device support (RAID and LVM) ─────────────────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus --->. Highlighted letters are │
│ hotkeys. Pressing <Y> includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> │
│ to exit, <?> for Help, </> for Search. Legend:[*] built-in [ ] excluded <M> module < > │
│ module capable │
│ ┌───────────────────────────────────────────────────────────────────────────────────────────┐ │
│ │[*] Multiple devices driver support (RAID and LVM) │ │
│ │ <*> RAID support │ │
│ │ <M> Linear (append) mode │ │
│ │ <M> RAID-0 (striping) mode │ │
│ │ <M> RAID-1 (mirroring) mode │ │
│ │ <M> RAID-10 (mirrored striping) mode (EXPERIMENTAL) │ │
│ │ <M> RAID-4/RAID-5 mode │ │
│ │ <M> RAID-6 mode (EXPERIMENTAL) │ │
│ │ <M> Multipath I/O support │ │
│ │ <M> Device mapper support │ │
│ │ <M> Crypt target support │ │
│ │ <M> Snapshot target (EXPERIMENTAL) │ │
│ │ <M> Mirror target (EXPERIMENTAL) │ │
│ │ <M> Zero target (EXPERIMENTAL) │ │
│ │ <M> Multipath target (EXPERIMENTAL) │ │
│ │ <M> EMC CX/AX multipath support (EXPERIMENTAL) │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ └───────────────────────────────────────────────────────────────────────────────────────────┘ │
├────────────────────────────────────────────────────────────────────────────────────────────── ─┤
│ <Select> < Exit > < Help > │
└────────────────────────────────────────────────────────────────────────────────────────────── ─┘
 
Old 04-26-2007, 02:52 PM   #9
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Hmm, strange then. If the hardware is completely identical, copy an upgraded working kernel over and redo the mappings.

-twantrd
 
Old 04-26-2007, 06:54 PM   #10
andrewjamesp
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Unfortunately there are not exactly the same. Same video card, but
1GB vs 2GB memory
Athlon 3500+ vs Athlon 4000+
other things are probably slightly different as well. Both came from Monarch Computer, a recently defunct manufacturer. (don't get me started about them!)

Is it still worth copying over the kernel?

thanks
 
Old 04-26-2007, 06:58 PM   #11
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Well, from what your posted, the only difference is processor speed and physical memory. I'm more concerned with hardware such as motherboard, raid controller, and so forth. Sure, it's in a broken state with the new kernel anyways. Copy it over and see how that goes.

If anything, you can always go to single user mode and load up the original working kernel.

-twantrd
 
  


Reply


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
Fedora Core 6, Updating Kernel = Kernel panic anon1234 Linux - Newbie 2 05-01-2007 03:21 PM
Kernel Panic in FC3 after updating packages... jfontecha Fedora 4 08-15-2005 06:32 AM
Kernel panic after updating to 2.6.10 hkec Linux - Newbie 1 08-02-2005 01:32 AM
kernel panic error while updating BIOS and Firmware chamanrana Linux - Software 1 11-22-2004 11:56 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration