This is a discussion on kernal panic in redhat enterprise linux as4.0 within the Linux software forums, part of the Linux Getting Started category; while i am booting the linux i am getting kernal panic error.what are the possible ways to troubleshoot this problem.thanx ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
while i am booting the linux i am getting kernal panic error.what are the possible ways to troubleshoot this problem.thanx in advance.
with rgds, ramjimh |
| Sponsored Links | ||
|
|
|
|||
|
Resolving a kernel panic is not a simple task. You need to provide us exact error message. For example few days back my new kernel stop at boot up with the error message
Kernel panic: VFS: Unable to mount root fs on… What message do you see? Please post message so that we can help you further |
|
||||
|
Are you using 64 bit AMD/Intel EM64T based kernel? Many servers have problem to boot 64bit SMP servers so boot into single UP mode server. Type following two parameters at Grub prompt
Code:
nosmp maxcpu=1 Also as pointed by tom it is better if you give us exact kernel panic message. Otherwise, we cannot guess your message and it will make delay for you to get solution
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
can you give me general troubleshooting guide lines for kernal panic errors.i don't know the exact errors.if you give general troubleshooting for linux it will be useful for future purpose.
with rgds, ramjimh |
|
||||
|
If you see mysterious kernel hangs/ kernel Freezes at boot time then enable sysrq support in kernel See doc how to enable Reboot or halt Linux system in emergency http://www.cyberciti.biz/nixcraft/vi...system-in.html
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
||||
|
You need to enter nosmp and maxcpus parameter at Grub or Lilo boot prompt. For example if you are using Grub as a boot loader, at Grub prompt press 'e' to edit command before booting.
1) Select second line 2) Again, press 'e' to edit selected command 3) Go to end of line and type two parameters nosmp maxcpus 4) Press enter twice and b to boot system 5) This will prevent the kernel panic and system hang scenario. Once your system is up using single CPU then you can run diagnostic commands such as: Get all boot message: Code:
dmesg | less Code:
lspci –vv Code:
lsmod Code:
free cat /proc/meminfo Code:
cat /proc/cpuinfo Code:
uname -a |
|
|||
|
Quote:
check the motherboard for tight connection setup. check smps for proper power supply. thats why i got decent UPS and had to redo the wiring. change ide/sata cables if cable gets chewed ram is tossed? then run memtest86 or memtest86+ if these arent issues? then check for the health of the harddrive. run a check on IO status of the cylinders of harddrive. run fsck with real verbose mode. in ext2/3 we dont have any defragment option. and defragment is not necessary, because it got -j option in mkfs.conf which stands for journaling. when issuing fsck check for cylinder error and also bad blocks. and make sure bad blocks are not in the boot sector. else? kiss it bye bye. KIBB. if everything is fine? run gdb if you are a little advanced user and if you are a little advanced than a little advanced user? "then kdb, because once is kernel? YOU START TO PANIC." run a kdb trace. and locate the exact source of the error and fix it. scramble, search, shoot, execute and fix! happy rebooting. |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Redhat Enterprise Linux RHEL - Start service on boot | chimu | Getting started tutorials | 0 | 01-26-2007 07:29 PM |
| Upgrading Perl in redhat Enterprise Linux | raj | Linux software | 1 | 01-03-2007 08:07 AM |
| Turn on Telnet for a Red Hat Enterprise Linux | raj | Linux software | 1 | 12-20-2006 02:40 AM |
| Migrate a web server to Red Hat Enterprise Linux 4 from 3 | chimu | Linux software | 2 | 12-19-2006 12:08 AM |
| redhat linux as4.0 kernal panic | ramjimh | Linux software | 1 | 04-25-2006 02:37 PM |