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
  #111  
Old 7th March 2007, 13:53
boom84 boom84 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default hi

maybe you could help me i have some troubles with compiling debian kernel 2.6.18.3. as i read the flip has the same problem with sbin/init cannot open dev/console. we tried to do it in differnt way but did not help.

thanks
Reply With Quote
Sponsored Links
  #112  
Old 7th March 2007, 14:07
boom84 boom84 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

haloo anybody here?
Reply With Quote
  #113  
Old 7th March 2007, 14:24
boom84 boom84 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hello so i am here....
Reply With Quote
  #114  
Old 7th March 2007, 14:31
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Bumping a post every 30 minutes is not going to help you. Personally I think this is abusive. You're adding a vague question to the end of a long thread and the entry before yours is giving a solution. I suggest you start a new thread in which you explain what exactly is your problem. Expect you need to wait around 1-2 days. If you need quicker answers, consider paid support and/or hiring someone.
Reply With Quote
  #115  
Old 7th March 2007, 14:40
boom84 boom84 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok i already did
Reply With Quote
  #116  
Old 29th February 2008, 21:26
sayad sayad is offline
Junior Member
 
Join Date: Feb 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by boom84
maybe you could help me i have some troubles with compiling debian kernel 2.6.18.3. as i read the flip has the same problem with sbin/init cannot open dev/console. we tried to do it in differnt way but did not help.

thanks
Hey i need help with the same thing...i have had the same kinda trouble...

thanks.




--
Webkinz Recipes
Reply With Quote
  #117  
Old 25th May 2009, 05:08
shae marks shae marks is offline
Junior Member
 
Join Date: May 2009
Location: usa
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compile Kernel 2.6 under Debian Sarge

I have problem and I do not know how to solve it myself. Last weekend I tried ( I said tried ) to recompile kernel on my Debian Sarge machine, but I encountered some problems.

After compilation and rebooting my macnine and choosing new kernel to boot I got error as follows:
modprobe: FATAL: Could not load /lib/modules/2.6.15.4/modules.dep : No such file or directory
umount devfs: not mounted
pivot_root: No such file or directory
/sbin/init:432 cannot open dev/console
kernel panic-Not syncing: Attempted to kill init

I really do not what to do in order to compile kernel, I have many manuals, and I read them as you can see I made procedure of compilation on right way ( Tell me if I am wrong ) but still I cannot solve above mentioned errors.

Please show me what I did wrong and what I should correct in order to make my 2.6.15.4 works.

Thank you in advance

The procedure I used to compile kernel and files I got after cmpilation is as follows.

I run make-kpkg kernel-image and after 20 minutes
DeusEtMachine:/usr/src# ls -l
total 52228
-rw-r--r-- 1 root src 13558552 2006-03-19 17:33 kernel-image-2.6.15.4_10.00.Custom_i386.deb
drwxrwxrwx 21 root root 4096 2006-03-19 17:44 linux-2.6.15.4
-rwx------ 1 root src 39846379 2006-03-18 16:11 linux-2.6.15.4.tar.bz2
DeusEtMachine:/usr/src#

In /lib/modules I have

DeusEtMachine:/lib/modules# ls -l
total 8
drwxr-xr-x 3 root root 4096 2006-03-19 17:34 2.6.15.4
drwxr-xr-x 5 root root 4096 2006-02-25 10:11 2.6.8-2-386
DeusEtMachine:/lib/modules#

In /lib/modules/2.6.15.4 there are next files

DeusEtMachine:/lib/modules/2.6.15.4# ls -l
total 1008
lrwxrwxrwx 1 root root 23 2006-03-19 17:34 build -> /usr/src/linux-2.6.15.4
drwxr-xr-x 10 root root 4096 2006-03-19 17:34 kernel
-rw-r--r-- 1 root root 201018 2006-03-19 17:34 modules.alias
-rw-r--r-- 1 root root 69 2006-03-19 17:34 modules.ccwmap
-rw-r--r-- 1 root root 212744 2006-03-19 17:34 modules.dep
-rw-r--r-- 1 root root 813 2006-03-19 17:34 modules.ieee1394map
-rw-r--r-- 1 root root 394 2006-03-19 17:34 modules.inputmap
-rw-r--r-- 1 root root 21025 2006-03-19 17:34 modules.isapnpmap
-rw-r--r-- 1 root root 182827 2006-03-19 17:34 modules.pcimap
-rw-r--r-- 1 root root 98846 2006-03-19 17:34 modules.symbols
-rw-r--r-- 1 root root 264449 2006-03-19 17:34 modules.usbmap
lrwxrwxrwx 1 root root 23 2006-03-19 17:34 source -> /usr/src/linux-2.6.15.4
DeusEtMachine:/lib/modules/2.6.15.4#

In /boot/ I have as follows

DeusEtMachine:/boot# ls -l
total 12964
-rw-r--r-- 1 root root 63903 2006-03-04 15:51 config-2.6.15.4
-rw-r--r-- 1 root root 55809 2005-05-19 10:38 config-2.6.8-2-386
drwxr-xr-x 2 root root 4096 2006-03-19 17:38 grub
-rw-r--r-- 1 root root 4317184 2006-03-19 17:35 initrd.img-2.6.15.4
-rw-r--r-- 1 root root 4317184 2006-02-25 10:35 initrd.img-2.6.8-2-386
-rw-r--r-- 1 root root 814523 2006-03-19 17:33 System.map-2.6.15.4
-rw-r--r-- 1 root root 865733 2005-05-19 11:26 System.map-2.6.8-2-386
-rw-r--r-- 1 root root 1680929 2006-03-19 17:33 vmlinuz-2.6.15.4
-rw-r--r-- 1 root root 1097419 2005-05-19 11:25 vmlinuz-2.6.8-2-386
DeusEtMachine:/boot#

In /grub/menu.lst I have the next output
title Debian GNU/Linux, kernel 2.6.15.4
root (hd0,1)
kernel /boot/vmlinuz-2.6.15.4 root=/dev/hda2 ro
initrd /boot/initrd.img-2.6.15.4
savedefault
boot

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

title Debian GNU/Linux, kernel 2.6.8-2-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda2 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,1)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot
__________________
shae marks
Reply With Quote
  #118  
Old 28th September 2009, 13:03
matey matey is offline
Member
 
Join Date: Feb 2009
Posts: 93
Thanks: 13
Thanked 3 Times in 3 Posts
 
Default

I have seen this happen in Grub many times where it (for some strange reasons) changes the (hd 0,0) to (hd 1,0) or another form of it.
I even had a server with hd 2,0 in the menu.lst file which changed itself to hd0,0 after an upgrade! then no boot!

so always make backup copy of your (Working) menu.lst file BEFORE doing any updates/upgrades or recompiling kernel.
2 cents worth from a noob!
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 05:00.


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