| Linux - Kernel This forum is for all discussion relating to the Linux kernel. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-26-2007, 05:22 AM
|
#1
|
|
Member
Registered: Jul 2007
Posts: 70
Rep:
|
kernel panic - not syncing: Fatal exception in interrupt
Hello,
Since a few weeks we have the following problem:
Once in a while our hda (Operating System disc) becomes Read Only.
After a reboot the filesystem is writable again.
In logs there are a few errors:
kernel panic - not syncing: Fatal exception in interrupt
BUG: warning at arch/i386/kernel/smp.c:547/smp_call_function()
i have checked different forums but with no concrete result.
Can anyone help me..
Thanks
Jaap
|
|
|
|
09-26-2007, 09:01 AM
|
#2
|
|
Member
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Rep:
|
Looks like you have a problem with smp (symmetric multiprocessing). You can add the following to the kernel stanza in grub 'nosmp'. Restart and test try again. Your os is being mounted readonly because /etc/fstab is configured to mount it that way when there is a problem.
|
|
|
|
09-26-2007, 10:09 AM
|
#3
|
|
Member
Registered: Jul 2007
Posts: 70
Original Poster
Rep:
|
Quote:
Originally Posted by ramram29
Looks like you have a problem with smp (symmetric multiprocessing). You can add the following to the kernel stanza in grub 'nosmp'. Restart and test try again. Your os is being mounted readonly because /etc/fstab is configured to mount it that way when there is a problem.
|
Oke thanks for replying.
i am looking in the /boot/grub/menu.lst so where do i have to put nosmp?
It's a production server so it's a little bit hard to reboot. i will try in the evening and let you know what the result is.
Last edited by sinister1; 09-26-2007 at 10:13 AM.
|
|
|
|
09-26-2007, 03:28 PM
|
#4
|
|
Member
Registered: Jul 2007
Distribution: Gentoo, LFS
Posts: 42
Rep:
|
It should go on the grub line starting with "kernel." If you have a simple kernel line, it may look something like this:
Code:
...
title=Your linux flavor
root (hd0,0)
kernel /boot/vmlinuz
initrd /boot/initrd
...
You would want to change it to look like this:
Code:
...
title=Your Linux flavor
root (hd0,0)
kernel /boot/vmlinuz nosmp
initrd /boot/initrd
...
-TDS-
|
|
|
|
09-27-2007, 02:43 AM
|
#5
|
|
Member
Registered: Jul 2007
Posts: 70
Original Poster
Rep:
|
Quote:
Originally Posted by TheDirtyScreech
It should go on the grub line starting with "kernel." If you have a simple kernel line, it may look something like this:
Code:
...
title=Your linux flavor
root (hd0,0)
kernel /boot/vmlinuz
initrd /boot/initrd
...
You would want to change it to look like this:
Code:
...
title=Your Linux flavor
root (hd0,0)
kernel /boot/vmlinuz nosmp
initrd /boot/initrd
...
-TDS-
|
Oke thanks.
I've edditted the menu.lst and put nosmp in it.
Now i have to plan a downtime for this reboot.
thanks everyone.
|
|
|
|
09-27-2007, 08:59 AM
|
#6
|
|
Member
Registered: Jul 2007
Distribution: Gentoo, LFS
Posts: 42
Rep:
|
Just to clarify and make sure you know what's happening, the "nosmp" option is disabling symmetric multi-processing. This won't matter if your running one CPU, but if your rocking two or more CPUs (multi-cores included), you'll essentially be limiting your machine to one.
If you're fine with only one CPU, booting with nosmp everytime won't matter (conversely, you should be able to just disable SMP in the kernel config and rebuild the kernel). If you need/want the other CPUs (assuming your hardware actually has other CPUs), you should only be booting this "nosmp" option to test for a while to confirm that smp.c is really the problem (should be according to your error messages). You'll then want to fix the problem (upgrading kernel source and recompiling your kernel should do it) and reboot with smp enabled.
I wasn't sure if you knew the full consequences of this solution, so sorry if I just wasted your time.
-TDS-
|
|
|
|
09-27-2007, 10:54 AM
|
#7
|
|
Member
Registered: Jul 2007
Posts: 70
Original Poster
Rep:
|
Quote:
Originally Posted by TheDirtyScreech
Just to clarify and make sure you know what's happening, the "nosmp" option is disabling symmetric multi-processing. This won't matter if your running one CPU, but if your rocking two or more CPUs (multi-cores included), you'll essentially be limiting your machine to one.
If you're fine with only one CPU, booting with nosmp everytime won't matter (conversely, you should be able to just disable SMP in the kernel config and rebuild the kernel). If you need/want the other CPUs (assuming your hardware actually has other CPUs), you should only be booting this "nosmp" option to test for a while to confirm that smp.c is really the problem (should be according to your error messages). You'll then want to fix the problem (upgrading kernel source and recompiling your kernel should do it) and reboot with smp enabled.
I wasn't sure if you knew the full consequences of this solution, so sorry if I just wasted your time.
-TDS-
|
Wasting my time, i think not!
Great that you are taking the time to explain it to me.
Our server has only 1 cpu and last week i upgraded our kernel but probably with smp enabled.
so thanks for your messages. I am going to test and let you know the results.
Sinister1
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:23 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|