LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-12-2008, 10:16 AM   #1
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Rep: Reputation: 30
Kernel Panic in Ubuntu 7.10


I've been trying to get my 2.6.24.2 kernel up and running, but had no success. I've done a lot of searching around and tried the following:

I installed the kernel as shown here. After that I ran the following command to update GRUB:

Code:
sudo update-grub
After doing that, this is how /boot/grub/menu.1st looked:

Code:
title           Ubuntu 7.10, kernel 2.6.24.2 Default
root            (hd0,4)
kernel          /boot/vmlinuz root=UUID=97f69d92-ee47-41a7-92b6-c37e3a942561 ro quiet splash
quiet

title           Ubuntu 7.10, kernel 2.6.24.2 Default (recovery mode)
root            (hd0,4)
kernel          /boot/vmlinuz root=UUID=97f69d92-ee47-41a7-92b6-c37e3a942561 ro single

title           Ubuntu 7.10, kernel 2.6.24.2
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.24.2 root=UUID=97f69d92-ee47-41a7-92b6-c37e3a942561 ro quiet splash
quiet

title           Ubuntu 7.10, kernel 2.6.24.2 (recovery mode)
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.24.2 root=UUID=97f69d92-ee47-41a7-92b6-c37e3a942561 ro single

title           Ubuntu 7.10, kernel 2.6.22-14-generic
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.22-14-generic root=UUID=97f69d92-ee47-41a7-92b6-c37e3a942561 ro quiet splash
initrd          /boot/initrd.img-2.6.22-14-generic
quiet

title           Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.22-14-generic root=UUID=97f69d92-ee47-41a7-92b6-c37e3a942561 ro single
initrd          /boot/initrd.img-2.6.22-14-generic

title           Ubuntu 7.10, memtest86+
root            (hd0,4)
kernel          /boot/memtest86+.bin
quiet

But every time I got the following error:

Code:
[- 29.172344] pnpacpi: exceeded the max number of mom resources: 12
[  29.791290] kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
There is no initrd image for the 2.6.24.2 kernel in /boot. I was told that this is not always neccessary, but as I could not get the kernel to work anyway, I figured I'll make a initrd image to see if it works.

I used the following command to make the initrd image:

Code:
sudo mkinitrd -o /boot/initrd-2.6.24.2.img 2.6.24.2
Then I edited grub so that it uses the initrd image:

Code:
title           Ubuntu 7.10, kernel 2.6.24.2 Default
root            (hd0,4)
kernel          /boot/vmlinuz root=UUID=97f69d92-ee47-41a7-92b6-c37e3a942561 ro quiet splash
initrd          /boot/initrd-2.6.24.2.img
quiet

title           Ubuntu 7.10, kernel 2.6.24.2 Default (recovery mode)
root            (hd0,4)
kernel          /boot/vmlinuz root=UUID=97f69d92-ee47-41a7-92b6-c37e3a942561 ro single

title           Ubuntu 7.10, kernel 2.6.24.2
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.24.2 root=UUID=97f69d92-ee47-41a7-92b6-c37e3a942561 ro quiet splash
initrd          /boot/initrd-2.6.24.2.img
quiet

title           Ubuntu 7.10, kernel 2.6.24.2 (recovery mode)
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.24.2 root=UUID=97f69d92-ee47-41a7-92b6-c37e3a942561 ro single

title           Ubuntu 7.10, kernel 2.6.22-14-generic
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.22-14-generic root=UUID=97f69d92-ee47-41a7-92b6-c37e3a942561 ro quiet splash
initrd          /boot/initrd.img-2.6.22-14-generic
quiet

title           Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.22-14-generic root=UUID=97f69d92-ee47-41a7-92b6-c37e3a942561 ro single
initrd          /boot/initrd.img-2.6.22-14-generic

title           Ubuntu 7.10, memtest86+
root            (hd0,4)
kernel          /boot/memtest86+.bin
quiet
But then I got this error:

Code:
[13.701198]pnpacpi: exceeded the max number of mem recources: 12
initrd-tools" 0.1842
mount: unknown filesystem type 'devfs'
umount: devfs: not mounted
scripts/ext3-add-journal.sh: 27: arith: syntax error. "0x"
[14.784127] kernel panic - not syncing: Attempted to kill init!
I've seen a website where it said to set the following to "Y" when configiring the kernel:

Code:
Device Drivers->Multi-device support (RAID and LVM)
Device Drivers->Multi-device support (RAID and LVM)->Device mapper support
Device Drivers->Block devices->RAM disk support->Initial RAM disk (initrd) support
I found a place to enable RAID support, but not LVM support.

So, nothing I tried worked and believe me I tried. Can someone please help me with this?

Additional info:
Duel Booting with Vista
Dell Latitude D630

Thanks,
LT
 
Old 02-13-2008, 03:19 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Your going to probably have to switch your root=UUID... to a root=/dev/hdXY to use the kernel that you have built. Either that or you are missing drivers or file systems in your kernel configuration. If you compile drivers or file system support needed to get your system booted as modules you must make an initrd image so that the kernel can get to these drivers before it mounts the root file system.
 
Old 02-13-2008, 03:40 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Find a better distro to build your kernel against - too many roadblocks with the "mega" distros.
I use (variously) Arch, Gentoo, Slack - in that order.

There is a "sanctioned" way to do a Ubuntu build - have a look here. There is a link at the bottom for kernel.org source trees that will serve you (much) better than that you tried.
 
Old 02-13-2008, 05:39 AM   #4
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Okay I am completely confused here now. I already have the source installed and now that site is telling me to get it via apt. I can't get the 2.6.24.2 kernel via apt.
 
Old 02-13-2008, 06:55 AM   #5
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Sorry syg00. Started looking at that site instead of the site listed at the bottom of it. Compiling now.
 
Old 02-13-2008, 08:41 AM   #6
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Great! Thanks Syg00. Got it up and running. But now my sound aint working. Is there a command I can run or something to fix the problems that comes with installing a new kernel?
 
Old 02-13-2008, 12:36 PM   #7
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Ok problem. Now I can't get my Vodafone app to start up. It just does nothing. Even if I go alt-f2 and run as terminal, the terminal opens and then closes again before anything can be displayed. Idiotic old me have already uninstalled the old kernel. I've got ADSL at work that works fine, but now I'm home and for the time being I'm uing a USB 3G modem till I get my internal card to work. So at this stage I need that app. I tried installing the app using the live cd, but there is dependency problems that it needs to go online to fix! So I was forced to boot Windoze up! Hating it! Anyone here feel my pain? Lol! Help will be appreciated!

I'm still getting this error when starting up too: pnpacpi: exceeded the max number of mem recources: 12, but it goes past it and starts up anyway.

Thanks,
Conrad

Last edited by CrownAmbassador; 02-13-2008 at 12:40 PM. Reason: More probs.
 
Old 02-14-2008, 04:15 AM   #8
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Okay... I guess nobody knows. Can some one tell me how to change all the 2.6.22 packages in my repositories to 2.6.24 please?
 
Old 02-14-2008, 06:46 AM   #9
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Reinstalled my kernel to the newest one off this Ubuntu website. Gives awesome instructions on how to update without compiling and fixes the sound issues too!

But I still have the problem of the Vodafone app not starting up. When the modem is in it doesn't start, but when it is out it does!
 
  


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
kernel panic while installing fc4 or ubuntu newborn Linux - Hardware 2 05-01-2007 09:30 PM
(K)Ubuntu kernel panic draggin Ubuntu 2 02-12-2006 07:08 AM
ubuntu, kernel panic and bad EIP value. Psychobiker Ubuntu 1 11-16-2005 02:01 PM
Ubuntu + Debian: Kernel Panic when booting jonathanm Linux - Newbie 2 10-14-2005 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:37 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
Open Source Consulting | Domain Registration