LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-11-2007, 09:07 AM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Rep: Reputation: 30
kernel compilation problem


Hi there,
I want to compile a new kernel(2.6.21.4) for Suse Enterprise Server 9.

I choose sata and reiserfs to be buit in the kernel not as module.

Code:
 /sbin/mkinitrd -k vmlinuz-2.6.21.4 -i initrd-2.6.21.4
gives the following warning/error
Code:
Root device:    /dev/hda2 (mounted on / as reiserfs)
Module list:    sata_via reiserfs

Kernel image:   /boot/vmlinuz-2.6.21.4
Initrd image:   /boot/initrd-2.6.21.4
Shared libs:    lib/ld-2.3.3.so lib/libc.so.6 lib/libselinux.so.1 
Cannot determine dependencies of module sata_via. Is modules.dep up to date?
Cannot determine dependencies of module reiserfs. Is modules.dep up to date?
Modules:
none
Bootsplash:     SuSE-SLES (1024x768)
The initrd file is created in /boot, but the new kernel doesn't boot.

It gives the error: "/dev/hda2 not found, waiting for hda2 to appear" and it waits....

There is no kernel panic.

Please tell me what have I done wrong.

I got a similar error at mkinitrd on Fedora (following the same kernel compilation procedure). It said "No module sata_nv found for kernel“ but I solved it with "mkinitrd --builtin=ata_piix <path-to-initrd-file> <kernel-version>"


Many thanks.
 
Old 06-12-2007, 05:39 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
kernel 2.6.21 is buggy i think
try it with 2.6.22-rc4
 
Old 06-12-2007, 06:07 AM   #3
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Original Poster
Rep: Reputation: 30
Thanks,
I could install it on Fedora Core 6 without problem.

I'll try another version.

Could it be something else?

Thanks
 
  


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 2.6.9 compilation problem Dhaval_Gajjar Linux - Distributions 3 01-25-2007 05:44 AM
kernel compilation problem amw2320 Linux - Kernel 2 09-07-2006 02:39 PM
Kernel compilation problem JJX Linux - Software 4 08-31-2005 05:50 AM
Kernel Compilation Problem 2.6.7 ultrix Slackware 4 08-11-2004 05:31 AM
Problem after 2.6.3 kernel compilation frzburn Linux - General 3 03-11-2004 07:12 AM

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

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