LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 05-22-2012, 05:07 PM   #1
Vita
Member
 
Registered: May 2012
Distribution: Debian 6, CentOS 6
Posts: 39

Rep: Reputation: Disabled
Problem Kernel Panic error 3.3.6 ZEN kernel Debian 6 Squeeze?


Hi all,

I have a problem, I've managed to compile Zen 3.3.6 kernel on Debain 6 Squeeze, but when I start the system and select from grub menu the 3.3.6-zen+ kernel the system freezes and displays:
Code:
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
and some other info.

I have HP ProLiant DL580 G2 server, SCSI disks. I've included SCSI drivers and all HDD drivers when used make menuconfig. Also I've set the system on 1000Hz beacuse I need that.

This error was displayed even when I compiled newer vanilla version of the kernel.

I still have the ordinary kernel, which was installed when I normally installed Debian Squeeze it's normal i686 kernel as I have Intel Xeon MP 2 GHz processors.

How can I solve this problem as I need to try different versions of kernels on this machine so I can see what works best.

Thanks in advance!
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-22-2012, 05:18 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
You not only need the drivers for the disk controllers, you also need to compile in the filesystem drivers.
That or just use an initrd.
 
2 members found this post helpful.
Old 05-22-2012, 06:05 PM   #3
Vita
Member
 
Registered: May 2012
Distribution: Debian 6, CentOS 6
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
You not only need the drivers for the disk controllers, you also need to compile in the filesystem drivers.
That or just use an initrd.
Sorry for bothering but I'm quite new to linux and kernel configuration and optimizing, can you explain me what should I do in more details. Say I want to use initrd how can I do that what should I do?

Thanks in advance!
 
Old 05-22-2012, 07:06 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
The easiest way to solve your problem would be to compile the filesystem-driver for the file-system you use into the kernel. Just change that when you are configuring the kernel.
Regarding creating an initrd: http://kernel-handbook.alioth.debian.org/ch-initrd.html
 
1 members found this post helpful.
Old 05-22-2012, 07:09 PM   #5
Vita
Member
 
Registered: May 2012
Distribution: Debian 6, CentOS 6
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
The easiest way to solve your problem would be to compile the filesystem-driver for the file-system you use into the kernel. Just change that when you are configuring the kernel.
Regarding creating an initrd: http://kernel-handbook.alioth.debian.org/ch-initrd.html
If I remember I included all filesystem drivers ext3,ext4,ext2 etc. in kernel I changed them from module to included [M]->[*], but still it does not work. The same message appears.

Last edited by Vita; 05-22-2012 at 07:11 PM.
 
Old 05-22-2012, 07:28 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Are you sure that you have compiled the correct driver for your disk controller into the kernel?
 
1 members found this post helpful.
Old 05-22-2012, 08:01 PM   #7
Vita
Member
 
Registered: May 2012
Distribution: Debian 6, CentOS 6
Posts: 39

Original Poster
Rep: Reputation: Disabled
can i somehow check that? also can i check which drivers i need to include? and the last question is can i load the config for the default i686 kernel that works and change the hz to 1000hz, are drivers are the driveers going to be included so i can compile it and use it?

thanks in advance!
sorry for typos i'm on mobile
 
Old 05-23-2012, 04:39 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
I don't know much about SCSI controllers, but if you have compiled in all SCSI drivers and the file-systems it should work.
Also, if you do it the way Debian describes in their documentation you should not have any problem.

A side-question: Why in the first place do you need a custom kernel?
 
1 members found this post helpful.
Old 05-23-2012, 05:11 PM   #9
Vita
Member
 
Registered: May 2012
Distribution: Debian 6, CentOS 6
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
I don't know much about SCSI controllers, but if you have compiled in all SCSI drivers and the file-systems it should work.
Also, if you do it the way Debian describes in their documentation you should not have any problem.

A side-question: Why in the first place do you need a custom kernel?
I need custom kernel beacuse I run HLDS game servers and they require stable FPS, to achieve stable FPS I need to optimize the kernel to run almost realtime on 1000Hz with 1ms delay max. It will increase the gameplay.

Best Regards!
 
Old 05-25-2012, 08:05 PM   #10
Vita
Member
 
Registered: May 2012
Distribution: Debian 6, CentOS 6
Posts: 39

Original Poster
Rep: Reputation: Disabled
Sorry for late reply, i managed to create initrd image file for the kernel and added it to the grub.cfg
Everything works now!

Thanks for support TobiSGD !

Last edited by Vita; 05-27-2012 at 02:00 PM. Reason: typo
 
Old 05-25-2012, 08:27 PM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Nice that you got it working. Please mark this thread as solved using the thread tools at the top of this thread.
 
1 members found this post helpful.
  


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
Debian Squeeze(6.0.2) First Boot Kernel panic. WhateverLinux Linux - Software 3 10-06-2011 01:36 PM
Oops & Kernel Panic on Debian Squeeze Dudinin Debian 2 05-16-2011 05:44 AM
[SOLVED] Radeon Xpress 200 problem on Debian squeeze (kernel 2.6.30) kaz2100 Debian 7 11-24-2009 07:16 AM
Kernel panic and VFS error with new kernel on debian liptaka Linux - Kernel 1 02-19-2008 12:38 PM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 05:59 AM


All times are GMT -5. The time now is 02:18 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration