Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd November 2010, 15:21
j.smith1981 j.smith1981 is offline
Member
 
Join Date: Nov 2008
Posts: 63
Thanks: 0
Thanked 3 Times in 3 Posts
Question Kernel Panic mm/swap_state.c:316:spinlock(mm/swap_state..

I was wondering if anyones good with kernel errors on here?

I have the following coming up as a message when my system crashed (I am running centos 4.8, dont have the system requirements for centos 5).

I dont think (infact I am pretty sure) its not the health of the PC I am running on, as its temperatures fine, doesnt get above 35c at all, when I last went into the health diagnosis nothing came up problematic with the hardware etc.

So it must be something to do with the memory mangement possibly?

Here's the quote of the error I got:
Quote:
kernel panic Not syncing

mm/swap_state.c:316:spin lock(mm/swap_state.c:038a8b0) already locked by mm/page_writeback.c/675
Any ideas?
Reply With Quote
Sponsored Links
  #2  
Old 24th November 2010, 15:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

That looks as if your hardware is not supported...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 24th November 2010, 19:13
j.smith1981 j.smith1981 is offline
Member
 
Join Date: Nov 2008
Posts: 63
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Sorry just out of a logic question when it says:

Quote:
already locked by mm/page_writeback.c/675
Doesnt that mean it has written that already?

Sounds to me (not a kernel knowledged guy but..) when it says that hasnt it got have written to that to have said already locked?

So to me that doesnt sound like a hardware issue as it works perfectly at other times.
Reply With Quote
  #4  
Old 3rd December 2010, 15:21
j.smith1981 j.smith1981 is offline
Member
 
Join Date: Nov 2008
Posts: 63
Thanks: 0
Thanked 3 Times in 3 Posts
Question

Scratch that, its just locked up again, grrr!!

But I am going to try and see if I can perhaps clean the insides out using a can of compressed air, just some physical maintenance on it as such.

Maybe even see if there's anyway of maybe using a 2 hard drive system on it, perhaps its the new hd thats causing the problem but I dont see how.

I just think perhaps its maybe not up to part for centos 4.8, really worrying, do you know any Linux distro's that I would be able to use as a web, dns and email server for now?

That I can use with your tutorials that would work with the basic following spec:

1Ghz CPU from Pentium its a Celeron processor
256mb of ram (I know its not much but it was a freebie from some charity work I did for some kids, who got computers free of charge and I got one back for them saying thank you to me).

Any help is greatly appreciated,
Jeremy

PS If all else fails, I am going to have to get a refurbed computer (what I was hoping I wouldnt have to do), any good advice from anyone whos brought one from the UK? I want to try and see if I can go for virtualization but what kind of computer would I need for that?

Just maybe so I can seperate the DNS and web service on the 1st virtual and use the email on a seperate one to the main one, also I would like to use DHCP with the DNS (as I dont like the settings in my router, and my newer one kept crashing all the time, typical virgin media eh?).

As I said any helps much appreciated,
Jeremy.
Reply With Quote
  #5  
Old 6th December 2010, 10:11
j.smith1981 j.smith1981 is offline
Member
 
Join Date: Nov 2008
Posts: 63
Thanks: 0
Thanked 3 Times in 3 Posts
Lightbulb

Ahh my server seems to be working fine from now on.

What it is, is like I said its fine the hardware, not sure why most people are so concerned with it being the hardware as that works perfectly fine.

But its the size of the swap partition, just repartitioned Linux to use a 1GB swap file, so it can have enough space to save to a like the paging file in Windows, but Linux uses a RAM drive in the hard drive as system primary memory.

It was obviously going by the error trying to write to an already locked file, so thats why creating a bigger swap file makes sense, sorry swap partition as its technically appreciated by the old windows systems of a RAM drive (the ones you can load windows into whilst you reinstall it), can actually still do that in XP, as I used to do that in lab sessions at University and at college.

Just thought I'd give a heads up to anyone else having trouble with this dilemma, its actually quite common for real servers, whether it be a tiered server or a base system (like a normal tower processor as such), to have a 1 maybe 2 GB swap file and not the Centos or whatever system default.

Thanks for your time and hope this helps anyone else out having trouble with locked files in their swap system.

Jez.
Reply With Quote
The Following User Says Thank You to j.smith1981 For This Useful Post:
falko (7th December 2010)
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
domains not accessible gillesdevals Installation/Configuration 3 17th June 2009 09:12
Ispconfig IE7 Xen aurelius Installation/Configuration 8 19th October 2008 10:46
Google Apps dayjahone General 19 29th March 2008 17:25
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
WG311v2 almost working with Edgy (w/o ndiswrapper) need help with the rest caudata Server Operation 11 13th November 2006 20:02


All times are GMT +2. The time now is 10:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.