my computer would reboot automatically after i do a system shutdown
My computer would reboot automatically after i do a system shutdown. I have to manually push and hold the power button down to get complete shutdown.
Here is my System information...
Natty/Oneiric ubuntu 11.10 (64 bit)
My system is an HP Compaq dc5750 Microtower pc
Processor: amd Athlon 64 X2 4800+ x2
Memory: 1 Gb
Graphic: none
Earlier I install the 32 bit Natty/Oneiric ubuntu 11.10 and it worked flawessly. Please help. Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu acpi Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- privateer
- Solved:
- 2012-02-27
- Last query:
- 2012-02-27
- Last reply:
- 2012-02-25
Jeet (gour-jitendrasingh) said : | #1 |
Tell me how exactly you are doing shut-down and by which method you are facing problem!!
privateer (privateer3221) said : | #2 |
when shutting down... i usually go to the launch button on the top far right hand corner, bring the drop down menu up and click on shut down from there. From there the system go into shut down mode and even turn off machine completely, but almost
immediately will reboot again. It work as if you are trying to do a restart except the machine was turn off completely. The only thing I can do from there is to hold the power button manually as the machine tries to reboot... inorder to completely shut it off.
hope this helps... thanks
Jeet (gour-jitendrasingh) said : | #3 |
Ok just double check if it is OS problem.
do one thing one terminal and give command
sudo shutdown -h 0
Lets see if this reboot computer
one more thing you can check .. give command
sudo init 0
see if it reboot or not .. den we will go for another aspect.
cheers
privateer (privateer3221) said : | #4 |
Hi Jeet,
Thanks for showing me... in anycase I execute both commands in the terminal - they both do a complete system and hardware shut down but almost immediately rebooting everything on again... Could it be a corrupt copy of ubuntu 64 that is downloaded????
Jeet (gour-jitendrasingh) said : | #5 |
I don't think it is a corrupt copy ... but question is what went wrong .. if both commands are not solving your problem ... so it can be a OS Error.
Neways Keep this question open (i'll try to check) and again download a fresh Ubuntu and burn as slow as you can. then try again with shutdown.
lets check if media is corrupt.
Cheers
Jeet (gour-jitendrasingh) said : | #6 |
Sorry and
Hi again,
<<Hold on>> do not uninstall your current Ubuntu
Give me out-put of
uname -a
lsb_release -a
and check your Grub.cfg file
if you find these line
"linux /boot/vmlinuz-
Please add "acpi_osi=Linux" after "acpi=force" lets see if it can help.
please let me know
privateer (privateer3221) said : | #7 |
Hi Jeet,
Here is the out put you requested..
privateer@
Linux privateer-
privateer@
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
privateer@
Below is the Grub.cfg file
I don't see the.. "linux /boot/vmlinuz-
#
# 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.
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_
set 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_
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 ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 6aadfead-
if loadfont /usr/share/
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 6aadfead-
set locale_
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.
### BEGIN /etc/grub.
set menu_color_
set menu_color_
if background_color 44,0,30; then
clear
fi
### END /etc/grub.
### BEGIN /etc/grub.
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}
if hwmatch ${prefix}
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.0.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 6aadfead-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 3.0.0-16-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 6aadfead-
echo 'Loading Linux 3.0.0-16-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 6aadfead-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 6aadfead-
echo 'Loading Linux 3.0.0-12-generic ...'
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
}
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 6aadfead-
linux16 /boot/memtest86
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 6aadfead-
linux16 /boot/memtest86
}
### END /etc/grub.
### BEGIN /etc/grub.
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.
### BEGIN /etc/grub.
# 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.
### BEGIN /etc/grub.
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.
Jeet (gour-jitendrasingh) said : | #8 |
enter "acpi_osi=Linux" code after this block of your /boot/grub/grub.cfg
"""""""
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.0.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 6aadfead-
linux /boot/vmlinuz-
initrd /boot/initrd.
"""""""
one more thing if it would not help you out you can update your grub by "update-grub" command.
please let me know the result hoping it will work for you ...
Cheers.
Jeet (gour-jitendrasingh) said : | #9 |
Have you done this. .sorry I forgot. . Put this code a these lines. Eh are starting from linux. /boot/vmlinuz
privateer (privateer3221) said : | #10 |
Hi Jeet,
I apologize for not being in touch sooner.... In anycase just to be sure (being a noobie) I tried to add the line in the text editor (Grub.cfg) file but it would not let me chane or save the change. Do i do the change in the terminal???
Thank you
privateer (privateer3221) said : | #11 |
Here is something interesting... I haven't got a chance to implement the codes in the grub box... but today I was finally able to add another 3 gb memory to my machine - bought it from ebay. When I reboot the machine and shut it off (completely power down)... it worked perfectly. Of course I have 4 gb of memory now compare to just 1 gb before. Thought that was interesting and weird. Thanks a million again for your help.