You are not logged in.

#1 2012-10-18 05:19:33

Quill
Member
Registered: 2012-08-30
Posts: 37

Frequent system freezing - Hard reboot

Hi everyone. Since my last upgrade I've been experiencing frequent freezing which forces me to hard reboot my computer. My uptime is sometimes for only a couple hours to (last) about a day before it freezes again. Something to point out. I've looked in my /var/log/everything.log, but it doesn't display any strange errors before the time it froze. I'm noticing some wierd errors in my boot logs as well, 'clearing orphaned inode', 'recovering journal' etc..

Snip from /var/log/everything.log

Oct 18 00:01:01 localhost anacron[14695]: Anacron started on 2012-10-18
Oct 18 00:01:01 localhost anacron[14695]: Normal exit (0 jobs run)
Oct 18 00:21:01 localhost -- MARK --
Oct 18 00:41:02 localhost -- MARK --

{Oct 18 00:57:** is when my system froze}

Oct 18 00:57:47 localhost kernel: [    0.000000] Initializing cgroup subsys cpuset
Oct 18 00:57:47 localhost kernel: [    0.000000] Initializing cgroup subsys cpu
Oct 18 00:57:47 localhost kernel: [    0.000000] Linux version 3.6.2-1-ARCH (tobias@T-POWA-LX) (gcc version 4.7.2 (GCC) ) #1 SMP PREEMPT Fri Oct 12 23:58:58 CEST 2012
Oct 18 00:57:47 localhost kernel: [    0.000000] Command line: root=/dev/sda1 ro initrd=../initramfs-linux.img BOOT_IMAGE=../vmlinuz-linux 
Oct 18 00:57:47 localhost kernel: [    0.000000] e820: BIOS-provided physical RAM map:
Oct 18 00:57:47 localhost kernel: [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
Oct 18 00:57:47 localhost kernel: [    0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
Oct 18 00:57:47 localhost kernel: [    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
Oct 18 00:57:47 localhost kernel: [    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000ddfdafff] usable
Oct 18 00:57:47 localhost kernel: [    0.000000] BIOS-e820: [mem 0x00000000ddfdb000-0x00000000ddfddfff] reserved

/var/log/boot

Thu Oct 18 00:57:46 2012: :: Setting hostname: onett    [BUSY]    [DONE] 
Thu Oct 18 00:57:46 2012: :: Adjusting system time and setting kernel time zone    [BUSY]    [DONE] 
Thu Oct 18 00:57:46 2012: :: Starting udev daemon    [BUSY]    [DONE] 
Thu Oct 18 00:57:46 2012: :: Triggering udev uevents    [BUSY]    [DONE] 
Thu Oct 18 00:57:46 2012: :: Loading user-specified modules    [BUSY]    [DONE] 
Thu Oct 18 00:57:46 2012: :: Waiting for udev uevents to be processed    [BUSY]    [DONE] 
Thu Oct 18 00:57:46 2012: :: Configuring virtual consoles    [BUSY] %G   [DONE] 
Thu Oct 18 00:57:46 2012: :: Bringing up loopback interface    [BUSY]    [DONE] 
Thu Oct 18 00:57:46 2012: :: Checking filesystems    [BUSY] /dev/sda2: recovering journal
Thu Oct 18 00:57:46 2012: /dev/sda2: clean, 3259/786432 files, 683653/3145728 blocks
Thu Oct 18 00:57:46 2012: /dev/sda3: recovering journal
Thu Oct 18 00:57:46 2012: /dev/sda3: Clearing orphaned inode 45880951 (uid=1000, gid=100, mode=0100700, size=24281088)
Thu Oct 18 00:57:46 2012: /dev/sda3: clean, 27796/58957824 files, 5497537/235801600 blocks
Thu Oct 18 00:57:46 2012:    [DONE] 
Thu Oct 18 00:57:46 2012: :: Remounting root and API filesystems    [BUSY]    [DONE] 
Thu Oct 18 00:57:46 2012: :: Mounting local filesystems    [BUSY]    [DONE] 
Thu Oct 18 00:57:46 2012: :: Activating swap    [BUSY]    [DONE] 
Thu Oct 18 00:57:46 2012: :: Initializing random seed    [BUSY]    [DONE] 
Thu Oct 18 00:57:46 2012: :: Removing leftover files    [BUSY]    [DONE] 
Thu Oct 18 00:57:46 2012: :: Saving dmesg log    [BUSY]    [DONE] 
Thu Oct 18 00:57:46 2012: INIT: Entering runlevel: 3
Thu Oct 18 00:57:47 2012: :: Starting Syslog-NG    [BUSY]    [DONE] 
Thu Oct 18 00:57:47 2012: :: Starting network    [BUSY]    [DONE] 
Thu Oct 18 00:57:54 2012: :: Starting crond daemon    [BUSY]    [DONE] 

This started happening when I upgraded to the 3.6.2-1 Kernel. However, since there's no error's showing in the everything.log I'm starting to guess it's something else causing the system freeze. If anyone could help me out I would greatly appreciate it.. also if I need some other logs on here, I'll just update this post.

Offline

#2 2012-10-18 05:37:52

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Frequent system freezing - Hard reboot

If you are hard rebooting, I would certainly hope that it would be recovering a journal and removing orphaned inodes.  The journal is what makes it so you don't totally f* up your filesystem when you do that (or have to wait for ages to check to make sure that everything is okay).

Offline

#3 2012-10-18 05:40:41

Quill
Member
Registered: 2012-08-30
Posts: 37

Re: Frequent system freezing - Hard reboot

WonderWoofy wrote:

If you are hard rebooting, I would certainly hope that it would be recovering a journal and removing orphaned inodes.  The journal is what makes it so you don't totally f* up your filesystem when you do that (or have to wait for ages to check to make sure that everything is okay).

Umm..  I didn't know that hard rebooting would cause that message.... I actually have to hard reboot when this happens, my system is completely frozen so there's no real work-around.

Are there any logs in particular I should check that I may not know about?

Offline

#4 2012-10-18 05:48:32

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: Frequent system freezing - Hard reboot

The first thing you need to know how to do is REISUB:

https://wiki.archlinux.org/index.php/Ke … uts#Kernel

If you can do that, from a frozen system, then it will greatly minimize - but not eliminate - the potential corruption to your filesystem.

While you are doing each letter, R, E, I, S, U, B, pause a second with each one as you do them to give the kernel the time to do it.

You will also, as on the page, need to enable the SysRq key.

Last edited by headkase (2012-10-18 05:50:51)

Offline

#5 2012-10-18 06:04:11

Quill
Member
Registered: 2012-08-30
Posts: 37

Re: Frequent system freezing - Hard reboot

headkase wrote:

The first thing you need to know how to do is REISUB:
https://wiki.archlinux.org/index.php/Ke … uts#Kernel

Great thanks. I've enabled the SysRq key (at least until this problem clears). I'll definately try this method next time. I was nervous the couple times I had to hard reboot.

Offline

#6 2012-10-18 06:05:41

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: Frequent system freezing - Hard reboot

You're welcome.  Hopefully REISUB will prevent filesystem corruption until you get to the root cause of the freezing itself.

Offline

#7 2012-10-18 15:39:49

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Frequent system freezing - Hard reboot

Does the same happen with the linux-lts kernel?


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB