LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 08-15-2013, 09:21 AM   #1
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 205

Rep: Reputation: 32
notebook keeps freezing after resume - kubuntu 12.04


Dear forum man (I'm in good mood today, sry),

kubuntu 12.04, all up to date, keeps freezing after resume since instalattion, a long time ago.

I'm new to ubuntu, former slackware user, so I dont know yet how to fix things here.

The machine is a asus core i5 notebook, model k45A. Its a good machine.
But sometimes (not every time), when I open the lid and the system is supposed to resume, I get a hard crash to a terminal screen, where only hard reset is possible.

Its very annoying, please help me to fix it.
 
Old 08-19-2013, 01:27 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Hi,

please open a terminal and post the output of
Code:
free -m
and please post the configuration of your bootloader.

Markus
 
Old 08-19-2013, 09:01 AM   #3
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 205

Original Poster
Rep: Reputation: 32
Here:

Code:
erickfis@erickfis-K45A:~$ free -m
             total       used       free     shared    buffers     cached
Mem:          5850       3364       2485          0        260       1697
-/+ buffers/cache:       1407       4443
Swap:         2499          0       2499
erickfis@erickfis-K45A:~$
And this is /boot/grub/grub.cfg:

Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod reiserfs
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod reiserfs
  set root='(hd0,msdos7)'
  search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
  set locale_dir=($root)/boot/grub/locale
  set lang=
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 75,75,75; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.2.0-51-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	linux	/boot/vmlinuz-3.2.0-51-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-51-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-51-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	echo	'Loading Linux 3.2.0-51-generic ...'
	linux	/boot/vmlinuz-3.2.0-51-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-51-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 3.2.0-49-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	linux	/boot/vmlinuz-3.2.0-49-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-49-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-49-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	echo	'Loading Linux 3.2.0-49-generic ...'
	linux	/boot/vmlinuz-3.2.0-49-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-49-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-48-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	linux	/boot/vmlinuz-3.2.0-48-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-48-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-48-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	echo	'Loading Linux 3.2.0-48-generic ...'
	linux	/boot/vmlinuz-3.2.0-48-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-48-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-45-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	linux	/boot/vmlinuz-3.2.0-45-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-45-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-45-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	echo	'Loading Linux 3.2.0-45-generic ...'
	linux	/boot/vmlinuz-3.2.0-45-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-45-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-44-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	linux	/boot/vmlinuz-3.2.0-44-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-44-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-44-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	echo	'Loading Linux 3.2.0-44-generic ...'
	linux	/boot/vmlinuz-3.2.0-44-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-44-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-43-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	linux	/boot/vmlinuz-3.2.0-43-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-43-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-43-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	echo	'Loading Linux 3.2.0-43-generic ...'
	linux	/boot/vmlinuz-3.2.0-43-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-43-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-41-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	linux	/boot/vmlinuz-3.2.0-41-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-41-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-41-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	echo	'Loading Linux 3.2.0-41-generic ...'
	linux	/boot/vmlinuz-3.2.0-41-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-41-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-40-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	linux	/boot/vmlinuz-3.2.0-40-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-40-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-40-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	echo	'Loading Linux 3.2.0-40-generic ...'
	linux	/boot/vmlinuz-3.2.0-40-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-40-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-39-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	linux	/boot/vmlinuz-3.2.0-39-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-39-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-39-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	echo	'Loading Linux 3.2.0-39-generic ...'
	linux	/boot/vmlinuz-3.2.0-39-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-39-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-37-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	linux	/boot/vmlinuz-3.2.0-37-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-37-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-37-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	echo	'Loading Linux 3.2.0-37-generic ...'
	linux	/boot/vmlinuz-3.2.0-37-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-37-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-34-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	linux	/boot/vmlinuz-3.2.0-34-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-34-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-34-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod reiserfs
	set root='(hd0,msdos7)'
	search --no-floppy --fs-uuid --set=root d15595ea-33cd-4d8b-9add-3ac1077e024a
	echo	'Loading Linux 3.2.0-34-generic ...'
	linux	/boot/vmlinuz-3.2.0-34-generic root=UUID=d15595ea-33cd-4d8b-9add-3ac1077e024a ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-34-generic
}
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root F2D4D051D4D019A5
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
How I miss lilo!

Thank you!
 
Old 08-19-2013, 09:57 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
notebook keeps freezing after resume - kubuntu 12.04

There's already one possible problem. The machine suspends into the swapspace and therefore it should have at least twice the size of your RAM. I suppose the freezing occurs when the machine is suspended in a moment when it uses more RAM than there is swapspace available.

Markus

Last edited by markush; 08-19-2013 at 09:58 AM.
 
Old 08-21-2013, 10:40 AM   #5
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 205

Original Poster
Rep: Reputation: 32
So the solution is to repartition my system and fix the swap size? Guess I am screwed...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
VYE S18P Notebook: Installing Kubuntu 8.10 or other Linux Distro johnerskine2009 Linux - Laptop and Netbook 1 04-02-2009 05:18 AM
Kubuntu KDM keeps freezing Ryancleminson Linux - Newbie 1 01-30-2008 01:53 PM
WiFi on Kubuntu (LiveCD) On Notebook Aeoruuk Linux - Newbie 7 10-24-2006 10:14 AM
Kubuntu wireless notebook adapter Problem tom_oa731 Ubuntu 6 08-17-2006 07:59 AM
Microsoft Wireless Notebook Laser Mouse 6000 keeps freezing! EraserHead Linux - Laptop and Netbook 3 06-15-2006 12:13 AM


All times are GMT -5. The time now is 09:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration