Quote:
Originally Posted by nixcraft
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:
Find out if problem with PCI cards
Find out what device drivers loaded (if something is missing then your driver will not get loaded)
Get memory info (is memory detected correctly?)
Code:
free
cat /proc/meminfo
Get CPU info (see if your CPU hit by any bug):
Find out your kernel version:
If kernel is old then update it to latest stable release from RHN using up2date command
|
i had big bad time with a faulty mother board. its ram went for a toss, motherboard went for a toss, ide cables were rat chewed and smps was choking for fresh oxygen.
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.