Kernel Panic mm/swap_state.c:316:spinlock(mm/swap_state..

Discussion in 'Kernel Questions' started by j.smith1981, Nov 23, 2010.

  1. j.smith1981

    j.smith1981 New Member

    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:
    Any ideas?
  2. falko

    falko Super Moderator ISPConfig Developer

    That looks as if your hardware is not supported...
  3. j.smith1981

    j.smith1981 New Member

    Sorry just out of a logic question when it says:

    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.
  4. j.smith1981

    j.smith1981 New Member

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

    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,

    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,
  5. j.smith1981

    j.smith1981 New Member

    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.


Share This Page