LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-06-2006, 04:13 AM   #1
sarajevo
Member
 
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228
Blog Entries: 1

Rep: Reputation: 31
Kernel Panic...I did something wrong, but I do not know what?


Hi all,

I compiled kernel 2.6.15 last weekend and some problems occurred during my work
Distribution is Debian Sarge

in /lib modules is as follows


tdebian:/lib/modules/2.6.15-new# ls -l
total 992
lrwxrwxrwx 1 root root 36 2006-02-05 09:52 build -> /usr/local/src/kernel/linux-2.6.15.1
drwxr-xr-x 10 root root 4096 2006-02-05 09:53 kernel
-rw-r--r-- 1 root root 195650 2006-02-05 09:53 modules.alias
-rw-r--r-- 1 root root 69 2006-02-05 09:53 modules.ccwmap
-rw-r--r-- 1 root root 220991 2006-02-05 09:53 modules.dep
-rw-r--r-- 1 root root 813 2006-02-05 09:53 modules.ieee1394map
-rw-r--r-- 1 root root 394 2006-02-05 09:53 modules.inputmap
-rw-r--r-- 1 root root 21025 2006-02-05 09:53 modules.isapnpmap
-rw-r--r-- 1 root root 175911 2006-02-05 09:53 modules.pcimap
-rw-r--r-- 1 root root 96337 2006-02-05 09:53 modules.symbols
-rw-r--r-- 1 root root 259743 2006-02-05 09:53 modules.usbmap
lrwxrwxrwx 1 root root 36 2006-02-05 09:52 source -> /usr/local/src/kernel/linux-2.6.15.1


when I start new kernel chosing it in grub, after 5 sec I got output like bellow

modprobe: FATAL: Could not load /lib/modules/2.6.16-new/modules/dep
No such file or directory
umount: defs: not mounted
pivot-root: No such file or directory
/sbin/init: 432: cannot open dev/console : No such file
Kernel Panic  not syncing: Attemped to kill init

.....I cannot understand what I did wrong

in /boot directory are following folders
tdebian:/boot# ls -l
total 12916
-rw-r--r-- 1 root root 512 2006-01-27 23:02 boot.0200
-rw-r--r-- 1 root root 308326 2006-01-27 22:29 coffee.bmp
-rwxr--r-- 1 root root 55809 2005-05-19 10:38 config-2.6.8-2-386
lrwxrwxrwx 1 root root 15 2006-01-27 22:29 debian.bmp -> /boot/sarge.bmp
-rw-r--r-- 1 root root 153720 2006-01-27 22:29 debianlilo.bmp
drwxr-xr-x 2 root root 4096 2006-02-05 10:02 grub
-rw-r--r-- 1 root root 4317184 2006-02-05 09:58 initrd-2.6.15.1-new
-rw-r--r-- 1 root root 4317184 2006-01-12 20:52 initrd.img-2.6.8-2-386
-rw-r--r-- 1 root root 23662 2006-01-27 22:29 sarge.bmp
-rw-r--r-- 1 root root 24116 2006-01-27 22:29 sid.bmp
-rw-r--r-- 1 root root 698046 2006-02-05 09:57 System.map-2.6.15.1-new
-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 1157420 2006-02-05 09:56 vmlinuz-2.6.15.1-new
-rw-r--r-- 1 root root 1097419 2005-05-19 11:25 vmlinuz-2.6.8-2-386

for my old kernel (still working ) /lib/modules is as follows
tdebian:/lib/modules/2.6.8-2-386# ls -l
total 828
drwxr-xr-x 2 root root 4096 2006-01-12 20:52 boot
drwxr-xr-x 2 root root 4096 2006-01-12 20:52 initrd
drwxr-xr-x 10 root root 4096 2006-01-12 20:52 kernel
-rw-r--r-- 1 root root 138720 2006-01-12 20:35 modules.alias
-rw-r--r-- 1 root root 69 2006-01-12 20:35 modules.ccwmap
-rw-r--r-- 1 root root 235506 2006-01-12 20:35 modules.dep
-rw-r--r-- 1 root root 517 2006-01-12 20:35 modules.ieee1394map
-rw-r--r-- 1 root root 1061 2006-01-12 20:35 modules.inputmap
-rw-r--r-- 1 root root 16427 2006-01-12 20:35 modules.isapnpmap
-rw-r--r-- 1 root root 131958 2006-01-12 20:35 modules.pcimap
-rw-r--r-- 1 root root 104676 2006-01-12 20:35 modules.symbols
-rw-r--r-- 1 root root 157116 2006-01-12 20:35 modules.usbmap
lrwxrwxrwx 1 root root 100 2006-01-12 20:52 source -> /home/horms/tmp/debian-kernel-test/kernel-image-2.6.8-i386/kernel-image-2.6.8-i386
-2.6.8/install-386

If somebody know what I did wrong acording to my outputs above, please write it down, I would pritiete that.


Thank you
 
Old 02-06-2006, 04:52 AM   #2
esje
Member
 
Registered: Mar 2004
Location: Holland
Distribution: Debian Etch, Gentoo 2005.1/SUSE 10
Posts: 52

Rep: Reputation: 15
Do you have udev? If not, apt-get it. Kernels >2.6.12 depend on it. Somehow, the apt dependencies in this area are a bit of a maze
 
Old 02-06-2006, 05:05 AM   #3
sarajevo
Member
 
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228

Original Poster
Blog Entries: 1

Rep: Reputation: 31
I did not installed udev unfortunately and you think udev will solve this problem?


I will install latest release of udev and try again, but should I install udev before kernel compilation or after kernel compilation....
I mean is it possible to install udev now, without kernel recompilation?

Thank you for your help
 
Old 02-06-2006, 05:27 AM   #4
esje
Member
 
Registered: Mar 2004
Location: Holland
Distribution: Debian Etch, Gentoo 2005.1/SUSE 10
Posts: 52

Rep: Reputation: 15
Don't remember exactly what I did, sorry According to my dpkg.log, I first installed udev and then the newer kernel image (2.6.12, with apt), but according to apt-cache, udev requires the newer kernel. Like I said, it's a maze
Maybe you should try to first upgrade to the 2.6.12 version (linux-image-2.6.12-you-architecture-here), reboot to that newer kernel, install udev, and after that install the 2.6.15?
 
  


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
Something wrong when I try to rpm -e *.. rpmdb: PANIC: fatal region error dete... brynjarh Linux - Newbie 8 10-24-2007 02:08 PM
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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