System freezes, some files have zero bytes on reboot

Forums for the Xfce Edition
Forum rules
Before you post please read this

System freezes, some files have zero bytes on reboot

Postby jdsmofo on Fri Nov 22, 2013 11:04 am

I am running Linux Mint 13 with XFCE desktop (I believe). Hardware details are below.

My system now freezes several times a week. The screen is completely frozen. When I restart the computer it will not reboot to the normal XFCE desktop, but I can boot to the XBMC ldesktop, and then ssh to my home directory from another computer. From the remote login, I can see that some files in my home directory have zero bytes, typically .ICEauthority and .Xauthority. If I rename or delete these, I can then boot up fine again. Some software that stores data in my home directory also stops working occasionally, and the software must be reinstalled or files restored from backup.

The home directory is on the same drive as root, so I've not yet done fschk on it (because I am afraid to try that without help).

Any help is greatly appreciated.



System: Host: xxxx Kernel: 3.2.0-23-generic x86_64 (64 bit, gcc: 4.6.3) Desktop: N/A Distro: Linux Mint 13 Maya
Machine: Mobo: ASUSTeK model: P8Z77-V LK version: Rev X.0x Bios: American Megatrends version: 0908 date: 11/16/2012
CPU: Dual core Intel Core i3-3225 CPU (-HT-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 13238.1
Clock Speeds: 1: 1600.00 MHz 2: 1600.00 MHz 3: 1600.00 MHz 4: 1600.00 MHz
Graphics: Card: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
X.Org: 1.11.3 drivers: intel (unloaded: vesa,fbdev) Resolution: 1280x1024@60.0hz
GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 0x300) GLX Version: 2.1 Mesa 8.0.4 Direct Rendering: Yes
Audio: Card: Intel 7 Series/C210 Series Chipset Family High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture ver: 1.0.24
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 ver: 2.3LK-NAPI port: e000 bus-ID: 03:00.0
IF: eth0 state: down mac: <filter>
Card-2: Qualcomm Atheros AR5212/AR5213 Wireless Network Adapter driver: ath5k bus-ID: 05:00.0
IF: wlan0 state: up mac: <filter>
Drives: HDD Total Size: 9121.8GB (30.8% used) 1: /dev/sda WDC_WD30EFRX 3000.6GB
2: /dev/sdb WDC_WD30EFRX 3000.6GB 3: /dev/sdc WDC_WD20EARX 2000.4GB
4: /dev/sdd Samsung_SSD_840 120.0GB 5: /dev/sde FreeAgent 1000.2GB
Partition: ID: / size: 19G used: 6.1G (35%) fs: ext4 ID: /home size: 86G used: 9.0G (11%) fs: ext4
ID: swap-1 size: 4.03GB used: 0.00GB (0%) fs: swap
Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 201 Uptime: 1:42 Memory: 1655.0/7680.8MB Runlevel: 2 Gcc sys: 4.6.3 Client: Shell inxi: 1.7.33
jdsmofo
Level 1
Level 1
 
Posts: 4
Joined: Fri Nov 22, 2013 10:46 am

Linux Mint is funded by ads and donations.
 

Re: System freezes, some files have zero bytes on reboot

Postby karlchen on Fri Nov 22, 2013 11:25 am

Hello, jdsmofo.

Remark in advance:
You're one of the few who cared to remove their MAC addresses from the "inxi -Fx" output. Great! <thumb up>


About your problem:
Telling from the BIOS date, 2012, you have got a pretty recent machine. This is why I am slightly optimistic that the solution offered in this thread, [Solved] Linux mint 13 (mate) freezes on Dell Latitude E6230, might prove helpful in your case as well. I.e. my suggestion is to switch to the kernel and hardware support software which came with Ubuntu 12.04 SP1 at least: => here <=.

Kind regards,
Karl
Image
Enlightened by Lucid Lynx, enchanted by Maya, impressed by Petra.
User avatar
karlchen
Level 9
Level 9
 
Posts: 2512
Joined: Sat Dec 31, 2011 7:21 am

Re: System freezes, some files have zero bytes on reboot

Postby jdsmofo on Sat Nov 23, 2013 5:54 pm

Hi Karl,

Thanks for the response. I have tried the kernel update in that thread, but got dependency problems:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
xserver-xorg-lts-quantal : Depends: xserver-xorg-core-lts-quantal (>= 2:1.11) but it is not going to be installed
Depends: xserver-xorg-input-all-lts-quantal but it is not going to be installed or
xorg-driver-input
Depends: xserver-xorg-input-evdev-lts-quantal but it is not going to be installed
Recommends: xserver-xorg-input-all-lts-quantal but it is not going to be installed
Recommends: xserver-xorg-video-all-lts-quantal but it is not going to be installed
Conflicts: xserver-xorg-core (>= 0~)
E: Unable to correct problems, you have held broken packages.
jdsmofo
Level 1
Level 1
 
Posts: 4
Joined: Fri Nov 22, 2013 10:46 am

Re: System freezes, some files have zero bytes on reboot

Postby karlchen on Sun Nov 24, 2013 6:59 pm

Hello, jdsmofo.

The trick when using "sudo apt-get install" or "sudo apt-get upgrade" is to run "sudo apt-get update" once beforehand. "sudo apt-get update" makes sure that your local cache copy holding the list of all available software packages is absolutely up-to-date.
So in order to get the upgraded kernel and the upgraded hardware support packages you run
Code: Select all
sudo apt-get update
sudo apt-get install --install-recommends linux-generic-lts-quantal xserver-xorg-lts-quantal libgl1-mesa-glx-lts-quantal

Kind regards,
Karl
Image
Enlightened by Lucid Lynx, enchanted by Maya, impressed by Petra.
User avatar
karlchen
Level 9
Level 9
 
Posts: 2512
Joined: Sat Dec 31, 2011 7:21 am

Re: System freezes, some files have zero bytes on reboot

Postby jdsmofo on Wed Nov 27, 2013 2:28 pm

Hi Karl,

No, that is not the issue. I think that the problem is that the Linux Mint repos hold back some versions from the usual Ubuntu fork.

BTW, I did an fsck on a reboot a couple of days ago. I cannot find any logs for that, so don't know what happened. There have been no issues since then, but that is not very conclusive since the issue is intermittent.

jdsmofo
jdsmofo
Level 1
Level 1
 
Posts: 4
Joined: Fri Nov 22, 2013 10:46 am

Re: System freezes, some files have zero bytes on reboot

Postby karlchen on Wed Nov 27, 2013 5:24 pm

jdsmofo wrote:I think that the problem is that the Linux Mint repos hold back some versions from the usual Ubuntu fork.
Hm. The 2 commands that I posted are the same commands that I used to bring my Mint 13 32-bit Cinnamon from K3.2.0-23 to K.3.5.0-xx (where I do not remember the exact build number, would have to look it up). As this succeeded on my Mint 13 this does not support the hypothesis that Mint 13 were incomplete compared to Ubuntu 12.04.
Oh well ... :?

Karl
Image
Enlightened by Lucid Lynx, enchanted by Maya, impressed by Petra.
User avatar
karlchen
Level 9
Level 9
 
Posts: 2512
Joined: Sat Dec 31, 2011 7:21 am

Re: System freezes, some files have zero bytes on reboot

Postby jdsmofo on Fri Nov 29, 2013 12:03 pm

Then I don't know what the issue is. The commands you suggested gave me dependency problem.
jdsmofo
Level 1
Level 1
 
Posts: 4
Joined: Fri Nov 22, 2013 10:46 am

Re: System freezes, some files have zero bytes on reboot

Postby MtnDewManiac on Sun Dec 01, 2013 2:12 pm

jdsmofo wrote:Then I don't know what the issue is. The commands you suggested gave me dependency problem.


Perhaps you two should compare your sources lists? Maybe Karl has a repo that you are lacking (for whatever reason) that, if added to your sources, would allow you to pull in all the files you need for the kernel update process to succeed? Maybe not, if said file is "machine-specific" and, therefore, is simply one that Karl's machine didn't need to download (and, possibly, didn't realize that it didn't have access to in the first place, lol)... But it seems to be worth a shot.

Regards,
MDM
_____
Proud to be a Mint user. Running 32-bit Mint 14 Xfce (with Xfce 4.10 and 4.12 PPAs). I have the best modern OS and it runs on my really old hardware, lol.
"Change should never be your goal but, instead, only a means to reach your goal."
MtnDewManiac
Level 4
Level 4
 
Posts: 417
Joined: Fri Feb 22, 2013 5:18 pm

Linux Mint is funded by ads and donations.
 

Return to Xfce

Who is online

Users browsing this forum: No registered users and 4 guests