Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

  1. Follow us on twitter - we shoot all of our new original content out as well as random messages. https://twitter.com/linuxdotorg
    Dismiss Notice

Ubuntu Crashes in Battery Mode

Discussion in 'General Linux' started by gomes9563, Mar 2, 2019.

Tags:
  1. gomes9563

    gomes9563 New Member

    Joined:
    Jan 21, 2019
    Messages:
    13
    Likes Received:
    0
    I have a few serious issues with my Ubuntu installation, all of them only when working with the battery. I have dual boot between W10 and Ubuntu 18.04 lts, and both of them work perfectly when charging, but once using battery only UBUNTU is the only one who doesn't work! The problems:

    1) Random Blinking; 2) Crashes/Frozen WHITE screen after unlocking my session or recovering from suspension mode; 3) The scariest one: Random sounds of electrical shocks, equal to the sound of a hard reset shutdown! 4) More recently whenever I tried to reboot my PC it asks my password and it unlocks to the desktop but just for a few seconds before freezing!

    To prove my idea I tried to reboot my PC and each time after my password Desktop ends up freezing. To restart I use de alt+sysqr+ reisub shortcut but I end up freezing again. BUT at the moment that I turn the power adapter on it goes smooth! In some crash/freezing situation, my PC goes to a command screen (picture below) before going to the password unlock screen again and crashing definitely.

    WIZARD'S EDIT - MODIFIED IMAGE TAGS TO SHOW OP'S SCREENSHOT

    [​IMG]


    (Log in to hide this advertisement)


    I really don't want to re install UBUNTU before exploring all sugestions. I already tried with a live Cd I ran the try Ubuntu, and I was able to initiate and work (both battery mode and plug in), the problem was that every time that I tried to reboot, log out or shut down all my attempts resulted in a crash/freeze. I ran Gparted to check for partition problems and nothing was found.

    I would appreciate more suggestions.

    Hint: A few days ago I installed preload, tlp and cpufreq. But I had everything associated with them removed(I think)

    Specs: SO: Ubuntu 18.04 lts

    PC: MSI GE62 Apache Pro IntelCore I7 NVidea GTX960m
     
    #1 gomes9563, Mar 2, 2019
    Last edited by a moderator: Mar 11, 2019
  2. TechnoJunky

    TechnoJunky Member

    Joined:
    Dec 3, 2018
    Messages:
    45
    Likes Received:
    43
    The first thing I'd try is to boot up using a live CD, in battery mode. This will let you know if it's something wrong with your installation vs a hardware issue. Also while you're booted up to the live CD, do a hard drive scan using Gparted. A hard drive issue wouldn't show up booted to the live CD.
     
  3. gomes9563

    gomes9563 New Member

    Joined:
    Jan 21, 2019
    Messages:
    13
    Likes Received:
    0
    Hi @TechnoJunky , thank for the suggestion.
    I did what you said, and I was able to initiate from live cd, but once open, every time I tried to log out, reboot or to shutdown, it automatically freezes.
    I did a scan with Gparted too, and no error where show.
    It's a very serious problem, is not letting me work, I would appreciate more suggestions.
    Thanks.
     
  4. TechnoJunky

    TechnoJunky Member

    Joined:
    Dec 3, 2018
    Messages:
    45
    Likes Received:
    43
    In your first message you stated that the freezing occurred just after logging in. In this last message, it sounded like you could go in and do all sorts of things and it would only freeze during log out. I too always have a freezing issue when I log out of a Ubuntu based system (but only started when I bought this laptop), when I use the default Nouveau driver. So after each fresh install of Linux, the first thing I do is go and switch to the Nvidia driver for this computer and that freezing stops. Unfortunately, the freezing only stops after I reboot, which freezes one last time. All subsequent boot ups will use the Nvidia driver and I don't experience the freeze anymore. However, you can't do this using the live CD, because it doesn't remember the driver change after rebooting. The main thing I find here is that there's no freezing until you reboot, which means that the hardware seems to be working fine and the issue is the OS. I don't know what others would suggest next. You may want to wait and see what they say first. I would probably go and do a new install myself. This would save a lot of time not having to continue troubleshooting the issue. With that being said, I have a lot of time saving stuff setup for fresh installs. I have a script I run during every new setup, so I don't have to remember all the different apps and libraries that need to be installed. I also have a persistent home drive partition that I never reformat. So when I say that I'd just reinstall, it's because of this. If I didn't do that, I might not be so quick to say reinstall :) .
     
  5. gomes9563

    gomes9563 New Member

    Joined:
    Jan 21, 2019
    Messages:
    13
    Likes Received:
    0
    @TechnoJunky I see what you mean, but since I had a lot of work to achieve this point I will rather wait for more suggestions. But I appreciate your help. ;)
     
  6. gomes9563

    gomes9563 New Member

    Joined:
    Jan 21, 2019
    Messages:
    13
    Likes Received:
    0
    @TechnoJunky I have to correct my observation because it wasn't making sense I decided to try again the live cd test, and I saw that the crashes also happen when plug in.
     
  7. TechnoJunky

    TechnoJunky Member

    Joined:
    Dec 3, 2018
    Messages:
    45
    Likes Received:
    43
    If it crashes plugged in, crashed running on battery, crashes booted to the hard drive and also crashes when booted to a live CD, then I would think it's gotta be a hardware issue. A few months ago my desktop computer would just spontaneously crash like that. It started out that maybe once a day, then it seemed to do it right after logging in. Turned out the power supply was dying. I originally suspected memory because I'd seen that before too. I'm sure you can find some sort of memory scanner for free. I thought I remembered seeing that as a boot option, but if it was, it was some other distro than what I have. I just rebooted to see and it's not there.
     
  8. gomes9563

    gomes9563 New Member

    Joined:
    Jan 21, 2019
    Messages:
    13
    Likes Received:
    0
    More suggestions guys, please!
     
  9. Condobloke

    Condobloke Well-Known Member

    Joined:
    Apr 30, 2017
    Messages:
    647
    Likes Received:
    682
    Try disabling 'suspension mode'....and any other power saving setting you may have enabled.
     
  10. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    2,534
    Likes Received:
    2,124
    Tried it with a USB stick?

    Wizard
     
  11. Condobloke

    Condobloke Well-Known Member

    Joined:
    Apr 30, 2017
    Messages:
    647
    Likes Received:
    682
    ""Try disabling 'suspension mode'....and any other power saving setting you may have enabled."".....??
     
  12. gomes9563

    gomes9563 New Member

    Joined:
    Jan 21, 2019
    Messages:
    13
    Likes Received:
    0
    Hello @Condobloke ,yes I did that through GNU and disable every suspension and saving option.
     
  13. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    2,534
    Likes Received:
    2,124
  14. gomes9563

    gomes9563 New Member

    Joined:
    Jan 21, 2019
    Messages:
    13
    Likes Received:
    0
    Thx @wizardfromoz , so I recently started having pci troubleshooting when crashing:
    And I thinks the answer to the problem is in here but I can't do much with this information.
    [​IMG]
     
  15. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    2,534
    Likes Received:
    2,124
  16. gomes9563

    gomes9563 New Member

    Joined:
    Jan 21, 2019
    Messages:
    13
    Likes Received:
    0
    I tried again the Ubuntu usb test, and I mount it in Ubuntu and windows, and in both cases I wasn't able to try Ubuntu, the first time it frozen, and the second one it crashed.
    In both times I tried the check for disk error, and it got stuck/freeze in ./boot/grub/x86_64-efi/part-gpt-mas:OK

    I'm starting to think that the only option is to do the dual boot all over again... :(
     

Share This Page