LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-23-2004, 02:39 PM   #1
Itsu
Member
 
Registered: Jan 2004
Location: Gladstone, Oregon
Distribution: Gentoo 2005; FreeBSD 5.3
Posts: 32

Rep: Reputation: 15
2.6.9 Kernel Problem


I'm finally getting around to compiling my own kernel. I've got it all done, it's compiled, and everythings in place. When I give the following command, it gives me some error messages about modules.dep not being up to date:

Code:
 # mkinitrd -k vmlinux-2.6.9 -i initrd-2.6.9
Root device:    /dev/hda3 (mounted on / as reiserfs)
Module list:    reiserfs
 
Kernel image:   /boot/vmlinux-2.6.9
Initrd image:   /boot/initrd-2.6.9
Shared libs:    lib/ld-2.3.3.so lib/libc.so.6 lib/libselinux.so.1
 
Cannot determine dependencies of module reiserfs. Is modules.dep up to date?
Cannot determine dependencies of module ide-disk. Is modules.dep up to date?
Cannot determine dependencies of module ide-floppy. Is modules.dep up to date?
Modules:        kernel/drivers/ide/pci/piix.ko kernel/drivers/cdrom/cdrom.ko kernel/drivers/ide/ide-cd.ko
Bootsplash:     SuSE (800x600)
When I try booting from the kernel, I get an error message about not being able to mount the filesystem, and then my system halts.

A friend suggested I try typing the command 'depmod -a' in the shell, then the above command again, but I'm still having the same problem.

This is on SuSE 9.1. Thanks in advance for any help.

Last edited by Itsu; 10-23-2004 at 03:17 PM.
 
Old 10-24-2004, 10:08 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
The error message comes from mkinitrd, which is asked to load drivers into initrd, that are not there/not properly defined.


I assume one of the following possibilities:

1. you did not compile reiserfs at all, so it cannot be found by mkinitrd and thus the system will not boot. Recompile the kernel with reiserfs support.

2. you compiled reiserfs into the kernel (and not as module), but /etc/sysconfig/kernel still tells mkinitrd to include the module into the ramdisk. In this case, simply delete the entry 'reiserfs' from /etc/sysconfig/kernel. But in this case, there must be another problem, that prevents the kernel from booting.
 
Old 10-24-2004, 11:37 AM   #3
Itsu
Member
 
Registered: Jan 2004
Location: Gladstone, Oregon
Distribution: Gentoo 2005; FreeBSD 5.3
Posts: 32

Original Poster
Rep: Reputation: 15
Yeah, I figured out that not compiling them as modules caused mkinitrd to give me errors. I fixed that, but GRUB is still giving me a stupid error message. Error 17 I believe. "Cannot mount select partition" or something similar. The partition is there, and it works, but GRUB won't mount it.

Any ideas?
 
Old 10-24-2004, 11:51 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Maybe you need to make changes in /boot/grub/device.map

Sometimes S-ATA HDD's are detected as sdx instead of hdx

No better ideas so far...
 
  


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
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?) Arodef Linux - Kernel 3 11-30-2007 02:55 PM
kernel 2.6.9 Kernel panic problem salahuddin_66 Slackware 2 08-11-2007 03:17 AM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 09:48 PM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM
Linux Kernel Problem -- Kernel panic: CPU context corrupt crcooney Linux - Distributions 0 01-15-2004 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:57 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