(Solved) Random Shutdowns

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

(Solved) Random Shutdowns

Postby alkanator on Tue Mar 20, 2012 7:21 pm

Hello. I am new to Linux, but I wasn't sure this fit the provided description of "newbie topics" and I wasn't really sure what else it could go under.

So, on my laptop (Acer Aspire 5315), I have Windows Vista, which had become unbearably sloggish, so I decided to try Linux. I did a little bit of research and tried a few LiveCDs. First, I tried Ubuntu, then Linux Mint 12 GNOME, and then Linux Mint 12 KDE. These all loaded fine, but for some reason, 7 out of the 10 times I booted from any one of these, I would be looking around at some of the basic features, and then I would click on something to open it, (sometimes "computer", sometimes a program, etc.) and the computer would pause for a second, and then the monitor would turn black, and the power light would go off. If I rebooted, and clicked on the same thing, it worked, and no shutdown would occur, but then later I would click something else, and it would shut down again. I thought that it might have had something to do with the fact of it being run from a CD, so I installed Mint GNOME on a separate partition (I sat on the installer for at least an hour, so I don't think it has to do with some sort of timed shutdown).

However, all three times I have booted it up since the installation, it has done the same thing. (twice while I was selecting a desktop background and once while browsing through files on the hard drive)

I hope this was not too rambling. Any diagnostic help would be appreciated.
Last edited by alkanator on Tue Apr 24, 2012 8:52 pm, edited 1 time in total.
alkanator
Level 1
Level 1
 
Posts: 17
Joined: Mon Mar 19, 2012 6:52 pm

Linux Mint is funded by ads and donations.
 

Re: Random Shutdowns

Postby Tuxi on Tue Mar 20, 2012 8:51 pm

Running linux from an live session not causes this problems (but some operations are not recommended).

Probably you have trouble via your notebook cooler or with a mother driver, becasue i search on the hardware compatibility and the Acer 5315 generrally run well LM. Rarely is that on Win your laptop dont shutdown.

Type Brand Model name Release Status
Laptop or Netbook Acer Acer Aspire 5315 Helena Works perfectly
Laptop or Netbook Acer Acer Aspire 5315 Helena Works perfectly
Laptop or Netbook Acer Acer Aspire 5315 Gloria Works fine with some minor problems
Laptop or Netbook Acer Acer Aspire 5315z Debian Works fine with some minor problems
Laptop or Netbook Acer Aspire 5315 Isadora Works perfectly
Laptop or Netbook Acer Aspire 5315 Julia Works perfectly
Laptop or Netbook Acer Aspire 5315 Julia Works fine with some minor problems
Laptop or Netbook Acer Aspire 5315 Isadora Works fine with some minor problems
Laptop or Netbook Acer Aspire 5315 Elyssa Works perfectly
Laptop or Netbook Acer Aspire 5315 Lisa Works fine with some minor problems
Laptop or Netbook Acer aspire 5315 Julia Works perfectly
Laptop or Netbook Acer Aspire 5315-2381 Debian Works perfectly
Laptop or Netbook Acer Aspire 5315-2381 Gloria Works perfectly

Your laptop come with intel video chipset?
free, libre: GNU community
User avatar
Tuxi
Level 2
Level 2
 
Posts: 64
Joined: Wed Mar 14, 2012 4:10 pm

Re: Random Shutdowns

Postby alkanator on Tue Mar 20, 2012 10:29 pm

It probably wouldn't be the cooling system. When I boot it on Mint (Lisa), the computer runs rather quietly, seems to growl less, and seems a lot cooler.
It does have an Intel chipset.
This never occurs when I boot on windows, although it occasionally has random total freeze-ups, where the only way to escape is to remove the battery, but this doesn't happen very often.
So, if it is a motherboard driver, how would I go about fixing that?
Also, where do find lists like that. Thanks.
alkanator
Level 1
Level 1
 
Posts: 17
Joined: Mon Mar 19, 2012 6:52 pm

Re: Random Shutdowns

Postby Tuxi on Wed Mar 21, 2012 12:09 am

alkanator wrote:It probably wouldn't be the cooling system. When I boot it on Mint (Lisa), the computer runs rather quietly, seems to growl less, and seems a lot cooler.
It does have an Intel chipset.
This never occurs when I boot on windows, although it occasionally has random total freeze-ups, where the only way to escape is to remove the battery, but this doesn't happen very often.
So, if it is a motherboard driver, how would I go about fixing that?
Also, where do find lists like that. Thanks.


Mmm is rarely , the list of hardware compatibilty is here: http://community.linuxmint.com/hardware, respect your problem if your laptop cooler runs weel and on linux the temperature is standard, i do not have idea.
Have you proven running linux with your laptop conected to energy (without using battery) ?
free, libre: GNU community
User avatar
Tuxi
Level 2
Level 2
 
Posts: 64
Joined: Wed Mar 14, 2012 4:10 pm

Re: Random Shutdowns

Postby AlbertP on Wed Mar 21, 2012 4:49 am

You'd better list some hardware within your computer with the following command if you want to know about drivers:
Code: Select all
lspci
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6513
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Random Shutdowns

Postby alkanator on Wed Apr 11, 2012 5:47 pm

Here is the lspci list:

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
05:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
06:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)

Sorry about the really long wait between posts.
alkanator
Level 1
Level 1
 
Posts: 17
Joined: Mon Mar 19, 2012 6:52 pm

Re: Random Shutdowns

Postby AlbertP on Thu Apr 12, 2012 5:08 am

Looks good. This hardware shouldn't cause any problems. I also have GL960+ICH8M chipset in my laptop.

Have you already tried upgrading the kernel on Mint? You can find it in Synaptic Package Manager, at the left Status > Installed (upgradeable), then mark linux-headers (twice) and linux-image for upgrading and click Apply at the top.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6513
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Random Shutdowns

Postby alkanator on Fri Apr 13, 2012 11:39 pm

Thank you. I will try upgrading the kernel. It is currently in the 3.0 range. Once I have upgraded, I will try using it for a while, and I will report back whether or not the problem persists.
alkanator
Level 1
Level 1
 
Posts: 17
Joined: Mon Mar 19, 2012 6:52 pm

Re: Random Shutdowns

Postby alkanator on Sat Apr 14, 2012 11:09 am

Uh oh. Now I can't boot either of my systems. I was going to upgrade the kernel, but at the moment I was doing some cleaning on the Windows partition, in order to unclog it a bit, and free up some room. I have four partitions on my hard drive: a Windows recovery partition, the Windows partition, an empty (completely empty, except for the "$Recycle", ".trashes", etc.) 28 GB partition, and the Linux partition. In cleaning up, I deleted the empty partition, and expanded the Windows partition to use the unallocated 28 GB. It seemed to work perfectly fine, while I was on Windows. However, I shut down, and when I started it up again, I got this:

error: no such partition.
grub rescue>

I looked at some other threads about this problem, but on trying a lot of the suggestions, I just got "Unknown command",
Please tell me what I did wrong, and how I can fix this, or direct me to a thread with instructions that should work for this version.

P.S. Should this be posted in a different thread instead?
alkanator
Level 1
Level 1
 
Posts: 17
Joined: Mon Mar 19, 2012 6:52 pm

Re: Random Shutdowns

Postby wayne128 on Sat Apr 14, 2012 11:21 am

I deleted the empty partition, and expanded the Windows partition to use the unallocated 28 GB. It seemed to work perfectly fine, while I was on Windows. However, I shut down, and when I started it up again, I got this:

error: no such partition.
grub rescue>

I looked at some other threads about this problem, but on trying a lot of the suggestions, I just got "Unknown command",
Please tell me what I did wrong, and how I can fix this, or direct me to a thread with instructions that should work for this version.



Each time you play with partition, such as delete one partition, depending on which software/program you use, most likely it will re-designate a new partition number to those partitions that are higher number than the deleted one.
As a result, those partitions higher will now have different ( new number).
grub, being still with old number, will not find your new partition and thus ask you to help with 'grub rescue prompt'.

To try recover,
boot and run live on your Linux CD
open a terminal, type these commands

sudo os-prober

and post its result, it will tell you what OS were installed in which partition.. hopefully..
then next command will follow to reinstall grub
wayne128
Level 10
Level 10
 
Posts: 3285
Joined: Tue Jul 13, 2010 12:15 am

Re: Random Shutdowns

Postby alkanator on Sat Apr 14, 2012 11:47 am

How do I shutdown from the grub rescue in order to boot from the cd?
alkanator
Level 1
Level 1
 
Posts: 17
Joined: Mon Mar 19, 2012 6:52 pm

Re: Random Shutdowns

Postby AlbertP on Sat Apr 14, 2012 11:49 am

Just power down your computer. Booting from CD should be done by your BIOS and not Grub.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6513
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Random Shutdowns

Postby alkanator on Sat Apr 14, 2012 12:03 pm

I am wondering how to power off. The power button won't respond, and I can't find a command that will shut it off. Is there some command that will shut off in Grub Rescue, or is taking the battery out safe? (It's a laptop)
alkanator
Level 1
Level 1
 
Posts: 17
Joined: Mon Mar 19, 2012 6:52 pm

Re: Random Shutdowns

Postby AlbertP on Sat Apr 14, 2012 12:21 pm

Holding the power button for some longer should power it off.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6513
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Random Shutdowns

Postby alkanator on Sat Apr 14, 2012 12:45 pm

Thank you for the quick replies, but I was able to restore the grub manager using the command prompt. (In between posts I was still searching the internet.) I was able to fix it using this page: https://help.ubuntu.com/community/Grub2, in the rescue mode section. It was like what wayne128 said. When I edited the partitions, the partition that grub manager was located on changed its name from from msdos4 to msdos3. I instructed grub to look in the new directory, and it boots now.
Thank you for your help. I almost had a panic attack at first, thinking I had corrupted my computer. Now, back to the original problem. I can try upgrading the linux kernel. I will report back after I have upgraded and tested it.
alkanator
Level 1
Level 1
 
Posts: 17
Joined: Mon Mar 19, 2012 6:52 pm

Re: Random Shutdowns

Postby alkanator on Sun Apr 15, 2012 2:20 pm

I jumped to the conclusion that GRUB was fixed. Apparently doing the grub rescue doesn't permanently change anything, so I will still need your help on that matter. However, since I was able to boot linux from my hard drive, I didn't need to use the liveCD to use the terminal.

sudo os-prober gave me this:

/dev/sda1:Windows Recovery Environment (loader):Windows:chain
/dev/sda2:Windows Vista (loader):Windows1:chain

Thank you.
alkanator
Level 1
Level 1
 
Posts: 17
Joined: Mon Mar 19, 2012 6:52 pm

Re: Random Shutdowns

Postby wayne128 on Sun Apr 15, 2012 8:17 pm

alkanator wrote:I jumped to the conclusion that GRUB was fixed. Apparently doing the grub rescue doesn't permanently change anything, so I will still need your help on that matter. However, since I was able to boot linux from my hard drive, I didn't need to use the liveCD to use the terminal.

sudo os-prober gave me this:

/dev/sda1:Windows Recovery Environment (loader):Windows:chain
/dev/sda2:Windows Vista (loader):Windows1:chain

Thank you.


Boot from installed Mint, then on terminal , do this

sudo grub-install /dev/sda

sudo update-grub

then , reboot to see what happen
wayne128
Level 10
Level 10
 
Posts: 3285
Joined: Tue Jul 13, 2010 12:15 am

Re: Random Shutdowns

Postby alkanator on Mon Apr 16, 2012 6:05 pm

It works! Thank you ever so much! It boots properly now. That was a lot simpler than I was expecting. (Simpler than a Windows command-line)
Now I can try upgrading the kernel. I will report back when possible.
alkanator
Level 1
Level 1
 
Posts: 17
Joined: Mon Mar 19, 2012 6:52 pm

Re: Random Shutdowns

Postby alkanator on Sat Apr 21, 2012 4:29 pm

I upgraded the kernel, but it still shuts off. I am thinking, though, that it probably is the cooling fan. At first I thought it was running cooler, but maybe I was just checking near the air-out duct (or whatever it's called). This wouldn't have helped much, because the fan doesn't blow when I'm on Linux. (This is probably why it was a lot quieter.) When the computer first boots up, and when I run Windows, the fan blows, but it doesn't on Linux. If I either do a bunch of stuff that requires a fair bit of processor power, or leave it on for a while (presumably building up heat over time), it will make a loud click (like a circuit-breaker) and shut down instantly. This had just begun to happen on Windows, until I opened up the bottom of the laptop and cleaned the dust off the duct (about a quarter-inch of thick dust blocking the airflow. This stopped the problem on Windows, since the fan could blow. On Linux, I am now able to go a bit longer without it shutting off, probably because air can now seep out a bit quicker. When it does shut off, it feels mildly warm around the duct, but rather hot on the main removable panel. It was also very hot on the hard drive panel, but I changed swappiness from 60 to 10, and now it is a lot cooler there.
So I am guessing the whole problem is that Linux doesn't communicate with my cooling fan. How could this get fixed? Or is there still some other possible problem?
alkanator
Level 1
Level 1
 
Posts: 17
Joined: Mon Mar 19, 2012 6:52 pm

Re: Random Shutdowns

Postby AlbertP on Sun Apr 22, 2012 10:08 am

Windows doesn't drive the cooling fan either on some 5315 varieties and BIOS versions. There is a program from Acer preinstalled on Acer's Windows, that controls your fan.

Could you try upgrading your BIOS (using Windows)?
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6513
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Linux Mint is funded by ads and donations.
 
Next

Return to Other topics

Who is online

Users browsing this forum: No registered users and 1 guest