Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #61  
Old 19th May 2006, 16:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

I don't know if this works...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #62  
Old 3rd June 2006, 06:46
thctlo thctlo is offline
Junior Member
 
Join Date: Jun 2006
Posts: 9
Thanks: 2
Thanked 1 Time in 1 Post
Default

Well I think i can give the solution for this problem.

http://www.van-belle.nl/?Debian_howt...0_-_the_kernel
here are the steps your missing.
Reply With Quote
  #63  
Old 19th June 2006, 20:09
Qrup Qrup is offline
Member
 
Join Date: Feb 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default Make menuconfig

Hi,

I've followed this guide completely. I'ts the first time I'm doing this, so I can't fugure out what I'm doing wrong.
When selecting "Load an Alternate Configuration File" under "make menuconfig" I'm getting alot of warnings. Here are some of them:

/usr/src/config-2.6.8-2-386:13:warning: trying to assign nonexistent symbol CLEAN_COMPILE
/usr/src/config-2.6.8-2-386:48:warning: trying to assign nonexistent symbol OBSOLETE_MODPARM
/usr/src/config-2.6.8-2-386:84:warning: trying to assign nonexistent symbol X86_EMU486
/usr/src/config-2.6.8-2-386:120:warning: trying to assign nonexistent symbol PM_DISK
/usr/src/config-2.6.8-2-386:126:warning: trying to assign nonexistent symbol ACPI_BOOT
/usr/src/config-2.6.8-2-386:127:warning: trying to assign nonexistent symbol ACPI_INTERPRETER
/usr/src/config-2.6.8-2-386:139:warning: trying to assign nonexistent symbol ACPI_BUS
/usr/src/config-2.6.8-2-386:142:warning: trying to assign nonexistent symbol ACPI_PCI
/usr/src/config-2.6.8-2-386:162:warning: trying to assign nonexistent symbol CPU_FREQ_PROC_INTF
/usr/src/config-2.6.8-2-386:168:warning: trying to assign nonexistent symbol CPU_FREQ_24_API
/usr/src/config-2.6.8-2-386:203:warning: trying to assign nonexistent symbol PCI_LEGACY_PROC
/usr/src/config-2.6.8-2-386:204:warning: trying to assign nonexistent symbol PCI_NAMES
/usr/src/config-2.6.8-2-386:307:warning: trying to assign nonexistent symbol MTD_CFI_AMDSTD_RETRY
/usr/src/config-2.6.8-2-386:327:warning: trying to assign nonexistent symbol MTD_ELAN_104NC
/usr/src/config-2.6.8-2-386:350:warning: trying to assign nonexistent symbol MTD_BLKMTD
/usr/src/config-2.6.8-2-386:379:warning: trying to assign nonexistent symbol PARPORT_PC_CML1
/usr/src/config-2.6.8-2-386:384:warning: trying to assign nonexistent symbol PARPORT_OTHER
/usr/src/config-2.6.8-2-386:470:warning: trying to assign nonexistent symbol IDE_TASKFILE_IO
/usr/src/config-2.6.8-2-386:478:warning: symbol value 'm' invalid for BLK_DEV_IDEPNP


Now.. I don't think that any of this went ok and I don't know what to configure in the menusystem. I guess I need to specify what modules I need..??

Anyway I proceed with the guide, but when all is done I can see that the kernel seems not to be installed properly. It is not in the Grub menu. I tried to alter the menu.1st file. It now has these menu items:

title Debian GNU/Linux, kernel 2.6.17
root (hd0,0)
kernel /boot/vmlinuz-2.6.17 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.17
savedefault
boot

title Debian GNU/Linux, kernel 2.6.17 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.17 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.17
savedefault
boot

title Debian GNU/Linux, kernel 2.6.8-2-386
root (hd0,0)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot

title Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot


I also needed to generate the "initrd.img-2.6.8-2-386" file, since it was not created during my walkthrough of the guide. Was it supposed to be created?

I hope what I told can help you help me... I an puzzled

/Qrup
Reply With Quote
  #64  
Old 20th June 2006, 15:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by Qrup
/usr/src/config-2.6.8-2-386:13:warning: trying to assign nonexistent symbol CLEAN_COMPILE
/usr/src/config-2.6.8-2-386:48:warning: trying to assign nonexistent symbol OBSOLETE_MODPARM
/usr/src/config-2.6.8-2-386:84:warning: trying to assign nonexistent symbol X86_EMU486
/usr/src/config-2.6.8-2-386:120:warning: trying to assign nonexistent symbol PM_DISK
/usr/src/config-2.6.8-2-386:126:warning: trying to assign nonexistent symbol ACPI_BOOT
/usr/src/config-2.6.8-2-386:127:warning: trying to assign nonexistent symbol ACPI_INTERPRETER
/usr/src/config-2.6.8-2-386:139:warning: trying to assign nonexistent symbol ACPI_BUS
/usr/src/config-2.6.8-2-386:142:warning: trying to assign nonexistent symbol ACPI_PCI
/usr/src/config-2.6.8-2-386:162:warning: trying to assign nonexistent symbol CPU_FREQ_PROC_INTF
/usr/src/config-2.6.8-2-386:168:warning: trying to assign nonexistent symbol CPU_FREQ_24_API
/usr/src/config-2.6.8-2-386:203:warning: trying to assign nonexistent symbol PCI_LEGACY_PROC
/usr/src/config-2.6.8-2-386:204:warning: trying to assign nonexistent symbol PCI_NAMES
/usr/src/config-2.6.8-2-386:307:warning: trying to assign nonexistent symbol MTD_CFI_AMDSTD_RETRY
/usr/src/config-2.6.8-2-386:327:warning: trying to assign nonexistent symbol MTD_ELAN_104NC
/usr/src/config-2.6.8-2-386:350:warning: trying to assign nonexistent symbol MTD_BLKMTD
/usr/src/config-2.6.8-2-386:379:warning: trying to assign nonexistent symbol PARPORT_PC_CML1
/usr/src/config-2.6.8-2-386:384:warning: trying to assign nonexistent symbol PARPORT_OTHER
/usr/src/config-2.6.8-2-386:470:warning: trying to assign nonexistent symbol IDE_TASKFILE_IO
/usr/src/config-2.6.8-2-386:478:warning: symbol value 'm' invalid for BLK_DEV_IDEPNP
These are just warnings, I'd try to go on.

Quote:
Originally Posted by Qrup
I also needed to generate the "initrd.img-2.6.8-2-386" file, since it was not created during my walkthrough of the guide. Was it supposed to be created?
Why do you want to create an initrd for 2.6.8 when you install a 2.6.17 kernel?

What's the output of
Code:
ls -la /boot
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #65  
Old 20th June 2006, 20:17
Qrup Qrup is offline
Member
 
Join Date: Feb 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply..

I copied "initrd.img-2.6.8-2-386" in by misatke.. I ment "initrd.img-2.6.17"

The output of "ls -la /boot" is:
totalt 12388
drwxr-xr-x 3 root root 4096 2006-06-19 11:39 .
drwxr-xr-x 21 root root 4096 2006-06-19 09:14 ..
-rw-r--r-- 1 root root 63867 2006-06-19 11:00 config-2.6.17
-rw-r--r-- 1 root root 55809 2005-08-16 14:41 config-2.6.8-2-386
drwxr-xr-x 2 root root 4096 2006-06-19 11:39 grub
-rw-r--r-- 1 root root 4317184 2006-06-19 12:19 initrd.img-2.6.17
-rw-r--r-- 1 root root 4317184 2006-05-01 11:37 initrd.img-2.6.8-2-386
-rw-r--r-- 1 root root 713448 2006-06-19 11:32 System.map-2.6.17
-rw-r--r-- 1 root root 865767 2005-08-16 17:14 System.map-2.6.8-2-386
-rw-r--r-- 1 root root 1182291 2006-06-19 11:32 vmlinuz-2.6.17
-rw-r--r-- 1 root root 1097554 2005-08-16 17:14 vmlinuz-2.6.8-2-386
darth:~#


Is there something I did not do, that I should have done.. maby something about modules or HW drivers or something?
I can see that the kernel 2.6.17 is not included in the Grub bootloader.

/Qrup
Reply With Quote
  #66  
Old 21st June 2006, 02:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

The output looks ok. The lines you added to menu.lst, too. Have you tried to reboot?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #67  
Old 21st June 2006, 10:22
Qrup Qrup is offline
Member
 
Join Date: Feb 2006
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes, several times... when ever I tried something new. I have tried to load make menuconfig a couple of times, because I thought that was where my problem was. After installation of the kernel I have rebooted.

You write, "It is normally a good idea to take the configuration of your existing (working!) kernel 2.6 as a starting point for the configuration of your new kernel.". But if I get all the previouly metioned Warnings.. does it still accept my configuration?

I've heard talking about exotic HDDs somewhere. Well, I have an onboard raid system.. whish I'm not using. I have an IDE controller.. which I assume 2.6.17 is familiar with. I have several HDDs, but no scsi,, just IDE.

fstab:

# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro,usrquota,grpquota 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hde1 /mnt/musik auto defaults 0 0
/dev/hdf1 /mnt/film auto defaults 0 0
/dev/hdh1 /mnt/misc auto defaults 0 0
/dev/hdd1 /mnt/hdd auto defaults 0 0


I really need to learn how to make a kernel. I'm planning to compile cool'n'quiet into the kernel.. and later MythTV, so u see it's very urgent

Last edited by Qrup; 21st June 2006 at 10:29.
Reply With Quote
  #68  
Old 21st June 2006, 21:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by Qrup
You write, "It is normally a good idea to take the configuration of your existing (working!) kernel 2.6 as a starting point for the configuration of your new kernel.". But if I get all the previouly metioned Warnings.. does it still accept my configuration?
A lot of things have changed from 2.6.8 to 2.6.17, so it's possible that your old configuration is a problem, but I'm not sure...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #69  
Old 24th June 2006, 20:51
nowsurfing nowsurfing is offline
Junior Member
 
Join Date: Jun 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Missing another command

The last post is right that is what causes the error to solve it just mek the folowwing

Quote:
system@user# cd /boot/
system@user/boot/# mkinitrd -o /boot/initrd.img-yourkernelvesion
system@user/boot/# update-grub
that should sove the problem
Reply With Quote
  #70  
Old 24th June 2006, 20:56
nowsurfing nowsurfing is offline
Junior Member
 
Join Date: Jun 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default I got a problem

I did evryting, and as I didnt want bad surprises y used my old config file with some adittions however I got another error mesage at boot time:

modprobe:FATAL: Could not load /lib/modules/2.6.17.1/modules.dep: No such a file or directory
modprobe:FATAL: Could not load /lib/modules/2.6.17.1/modules.dep: No such a file or directory
modprobe:FATAL: Could not load /lib/modules/2.6.17.1/modules.dep: No such a file or directory

umount: devfs: not mounted
pivot_root: No such a file or directory
/sbin/init: 432: cannot open dev/console:No such a file
Kernel panic - not syncing : Attemped to kill init!


Im guessing that the problem is of devfs, causethe file /lib/modules/2.6.17.1/modules.dep is in there and is fine, any idea?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.