Ubuntu frequently freezes

Bug #1167624 reported by beerfan
126
This bug affects 24 people
Affects Status Importance Assigned to Milestone
Dell Sputnik
Confirmed
Undecided
Unassigned

Bug Description

I have a sputnik laptop running the OEM install of Ubuntu 12.04. I've only applied the normal Ubuntu package updates and have no changed anything significant that I can think of. I've had the laptop less than a week.

At least once a day Ubuntu will completely freeze. There doesn't seem to be much pattern for when it will happen. The display just freezes, along with the mouse pointer. Switching to another console doesn't work and the OS never responds.

I don't know how to troubleshoot this or what type of log output might be desired but can provide anything requested.

Revision history for this message
Kent Baxley (kentb) wrote :

If this is a factory-preloaded system I also suggest opening an issue with Dell. You should have had 1 year of ProSupport included with the system. Random freezes haven't been commonly reported with this system and you may have a hardware problem.

That said, I can also point you to a diagnostic tool that will capture everything about your system. You can attach that report here.

To install and run the tool, please do the following:

sudo add-apt-repository ppa:debugmonkeys/sosreport
sudo apt-get update
sudo apt-get install sos

Then run 'sudo sos' from the command line and follow the prompts.

Changed in dell-sputnik:
status: New → Incomplete
Revision history for this message
epervieror (epervieror) wrote :

I have exactly the same problem.

Revision history for this message
Kent Baxley (kentb) wrote :

If you are also experiencing the same problem then please also contact Dell ProSupport if your system has been preloaded, as freezes have (so far) not been widely reported and we cannot reproduce the problems with hardware in our labs.

Revision history for this message
Louis Bouchard (louis) wrote :

FYI the most recent version of sosreport with many plugins now enabled for Ubuntu/Debian can be found here :

sudo add-apt-repository ppa:canonical-support/support-tools
sudo apt-get update
sudo apt-get install sosreport

Please note the modification of the package name which is now sosreport to comply with Debian's Intent to Package (ITP)

Revision history for this message
beerfan (beerfan) wrote :

I ran the sosreport as suggested but then didn't experience any freezes for some time. Recently last 2 days it has started again. Once I was in Gimp and the next time I was just surfing with Chromium. I've upgraded to 12.10 last night so will see if the freezes continue to occur.

Revision history for this message
epervieror (epervieror) wrote :

@kentb Dell redirected me to Canonical..

These freezes are still present with kernel 3.2.0-40 (and below) and 3.5.0-28.

When freezing, I was listening music with Spotify in the browser and it didn't stop when the screen froze.

Audio still running, I suppose Wifi too.
With fn touch, I can turn on/off keyboard backlight and adjust luminosity for the screen.

And that's it.

@beerfan does it happen indifferently surfing with your mouse or with the trackpad ? (I have some doubt)

Revision history for this message
epervieror (epervieror) wrote :

I have the "second" serie of this dell XPS 13 developer edition: L322X (the previous one was L321X)

Revision history for this message
Louis Bouchard (louis) wrote :

@epervieror

After looking at the sosreport output, it looks like you are one BIOS version behind :

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: Dell Inc.
        Version: A07
        Release Date: 01/22/2013

Here is the reference to the latest BIOS : http://goo.gl/iE1ep

This may not be a solution, but it might be better to upgrade to the latest BIOS before investigating any further

Revision history for this message
epervieror (epervieror) wrote :

Thanks, as this one was published recently (25/04/2013) I didn't saw it.

I'm doing the upgrade and will let you know if freezes are still present.

Revision history for this message
epervieror (epervieror) wrote :

After the upgrade to the BIOS A08, still freezing ...

$ sudo dmidecode | grep -A 20 BIOS\ Information

BIOS Information
 Vendor: Dell Inc.
 Version: A08
 Release Date: 04/18/2013
 Address: 0xE0000
 Runtime Size: 128 kB
 ROM Size: 6656 kB

epervieror (epervieror)
Changed in dell-sputnik:
status: Incomplete → Confirmed
Revision history for this message
epervieror (epervieror) wrote :

Also when freezing, sometimes I am losing open files ...

Revision history for this message
Kent Baxley (kentb) wrote :

I still *cannot* reproduce any freezes on my system even with A08. I've been running it for several hours at a time doing various tasks (browsing, streaming video, etc.) and not had any problems. Is there any specific steps that seem to reproduce the problem for those affected?

@epervieror
Did Dell support give any specific reason as to referring you to launchpad?

Revision history for this message
Kent Baxley (kentb) wrote :

Also, does the freeze occur any time you run the Spotify client? I see that you have it installed, and there seem to be numerous reports out there of that software freezing desktops:

http://xeizo.com/blogg/?p=528
http://ubuntuforums.org/showthread.php?t=2104226
http://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Bug-Spotify-freezes-desktop-if-I-search-and-select-a-new-artist/td-p/87421/page/2

Revision history for this message
beerfan (beerfan) wrote :

I do not use spotify, for what it's worth. I also haven't noticed a pattern for reproducing the freeze.

Revision history for this message
epervieror (epervieror) wrote :

@Kent
About Dell, after calling and running all their diagnostics tests with success, they said me to call Canonical. And as there was already a similar bug opened I added me to it.
(By buying a Dell XPS with Linux I was thinking to have a Dell support for it ... but it appears this is not exactly how things work)

The freeze occur at any time (2-3/week) independently of the software running (I have always google chome running and also RubyMine most of the time, as I don't use often Spotify it never happened with it), anyways this is not a software freeze, this is more a "system" freeze. I can't confirm but it seems freeze occur often after at least 4-5 or more hours of running (laptop started at 10 a.m and freeze at 18 p.m) but this is not always the case.
The laptop is running almost 12h/day during the week.

I have a colleague with the same laptop and same freezes problem. He just updated to 13.04 so we will see in 1 week if freezes disappeared.

Revision history for this message
epervieror (epervieror) wrote :

@Kent is there a way to get debug information after this kind of freeze ?

Revision history for this message
epervieror (epervieror) wrote :
Revision history for this message
Eryn O'Neil (eryn-oneil) wrote :

I also experience these hard freezes, always have. I can't recreate them at will.

If it freezes while I'm watching video or listening to audio, the audio does NOT continue normally. It repeats and skips continually at the spot it left off at.

It might be related to heavy video card use; I feel like I see it more often when I'm watching Netflix or switching desktops (it freezes halfway between desktops sometimes).

I think it's only happened after the computer has been put to sleep and awoken at least once, but honestly, I fully shut down my computer so rarely that this might be coincidence.

Revision history for this message
Eryn O'Neil (eryn-oneil) wrote :

Should have said, I also have the Dell XPS 13, Project Sputnik, shipped with 12.04 (and still running it). Fully updated, but original BIOS (A02).

Revision history for this message
Daniel Naber (misc2006) wrote :

Same here, new edition (the one with the better display), BIOS A07, freezes about once a week, in one case the sound looped. No significant changes done to the default installation.

Revision history for this message
Kent Baxley (kentb) wrote :

Thanks everyone for their input. It sounds as if it can be reproduced when doing some multimedia activity (heavy video playback and / or audio). That's starting to look like a common denominator as of late.

I know it seems to be random for folks, but, does there appear to be any average amount of time or activity that seems to trigger this more than others (i.e. how long into listening to audio / watching video) does it happen? Does the CPU fan start revving up at all or does the system get warmer than usual when this happens? I'll also try to replicate this using suspend / resume, etc. The XPSes I have don't lock up on me (yet) after quite a bit of use, but, I'm willing to try and mimic some of you guys' behaviors to see if I can get the same things to happen.

@epervieror: If you have more than one system available, setting up a netconsole would be a good tool to try and catch something from the system: https://wiki.ubuntu.com/Kernel/Netconsole
The REISUB recommendation from the forums is also a good idea to try and un-wedge the system when it gets in this state.

I know at least one of you have run through hardware diags with Dell and not found anything, but, I'd also be curious to see what the following tests yield on some of your systems out there (run the CPU burn test at your own risk as I wouldn't want anyone to fry their machines): https://help.ubuntu.com/community/FaultyHardware

Thanks!

Revision history for this message
Daniel Naber (misc2006) wrote :

@kentb: actually most of the crashes I had so far did *not* involve sound or video, just normal websurfing/email/office activity. Some crashes happened after hours, others a few minutes after booting the system. The maximum time between crashes for me was about 10 days, i.e. it is really difficult to reproduce.

The memory test did not find an error. The disk test says "SMART overall-health self-assessment test result: PASSED" (let me know if you need the full output).

I don't know what might be different about my system that makes it unstable... just some facts: I never use suspend but always power down the system at night. I use an external keyboard, mouse, and monitor. I use wireless (no LAN over USB).

Revision history for this message
Eryn O'Neil (eryn-oneil) wrote :

I'm working from memory, but I know that during some freezes, the machine has been pretty hot and the fan has been running at full speed. It felt those times like the freeze happened at the same time the fan hit full speed, but I can't be sure.

I don't have to be watching video or listening to audio for it to happen, but it definitely seems to exacerbate it. I can go for weeks with no lockup, and then have it happen twice during the same Netflix binge session. (However, I frequently watch hours of streaming video without freezes, too.)

I haven't noticed a pattern about how long I have to be watching before it happens.

(If you want to mimic, this is how I'm watching Netflix: http://www.jeremymorgan.com/tutorials/linux/how-to-netflix-ubuntu-linux/)

Revision history for this message
Brendan Miller (brmiller) wrote :

Just received an XPS 13 Developer Edition 4 days ago and started experiencing random lockups as well. Unfortunately, I have installed/uninstalled quite a few packages from the factory Dell Ubuntu 12.04 load to support my workflow. This is used as a development machine, lots of heavy Java compiles, jetty servers, mysql servers, etc. Running IntelliJ most and chromium most of the time. My suspicion too was that it was getting taxed and locking up as a result of heat issues, but I have been attempting to reproduce tonight and cannot. I'll collect more data as I can, but wanted to communicate the "me too" facet. No audio/video playback involved in my workflows, either, btw.

Revision history for this message
Kent Baxley (kentb) wrote :

Thanks, all, for the information on what you're running into. I've got the FHD model for a few more days and I've also got the original HD model on a more permanent basis. I'll see if I can cause the systems to lock up at all. If anyone has the ability to remote into their systems via ssh (for example) and maybe fire up "top" and then perform some of the activity that seems to cause the system to seize up, then maybe we can get an idea of whether or not there's something eating up CPU, etc. Thanks, again.

Revision history for this message
Kent Baxley (kentb) wrote :

I'm currently putting an XPS 13 through various paces (stress CPU, memory, etc) as well as trying to reproduce with some of what you guys were doing when the system froze (streaming music, video, etc). So far nothing's frozen up on me. I'm also going to use this system as a 'daily driver' for a few days to see if any lockups occur.

Revision history for this message
Brendan Miller (brmiller) wrote :

Try building some huge Java project (hit me up if you need an example), perhaps through IntelliJ. This seems to be the one consistency for *my* lockups. Had another one this morning, spoke to Dell support, and updated BIOS to A08 as a result. Dell's Ubuntu team will be contacting me in the next day for further troubleshooting/diagnostics. The jury is still out.

Revision history for this message
Eryn O'Neil (eryn-oneil) wrote :

Experienced another lockup last night. Was watching Netflix for about 15 minutes, then paused it (leaving the window open) and worked in other windows for at least an hour. Was typing in a form on a webpage when the computer locked up.

Computer got hot really quickly while watching Netflix and never really cooled down. Was very warm and the fan was running loudly when it locked up.

Revision history for this message
Kent Baxley (kentb) wrote :

@Brendan, I'd be interested in trying your java build test. Please send me a info on that to my Canonical email (you'll find it in my launchpad profile) and I'll try and take a look at it this week. Thanks!

Revision history for this message
Dave Tapley (davetapley) wrote :

+1 on this, I see a running theme of Spotify mentions, and I'm also running it.
Since updating to the latest Spotify client I'm now getting a hard lock once every few hours :(

Revision history for this message
Jorge Danoz (jorge-danoz) wrote :

Hi

Same problem.

A07 BIOS.
Machine ordered about one month ago (L322X model).

BIOS info:

BIOS Information
 Vendor: Dell Inc.
 Version: A07
 Release Date: 01/22/2013
 Address: 0xE0000
 Runtime Size: 128 kB
 ROM Size: 6656 kB

Only the updates suggested via the Update Manager, no any other change to the SO.
I don't know what can be the cause, maybe a kernel upgrade.

The current kernel I have installed: 3.2.0-41-generic #66+kamal16~DellXPS

The mine got frozen using Chromium.
Today other freeze just 30 seconds after the startup (cold startup).

Regards

Revision history for this message
Jorge Danoz (jorge-danoz) wrote :

Hello,

I can discard a cpu hardware defect. I installed cpuburn (burnP6) and ran it for almost two or three minutes in the four cores at the same time (four processes running).

Fan started to go at max. speed.
No freezes.

So I discarded a cpu problem.

It should be a graphics problem (hardware or driver) or kernel a bug.

Regards

Revision history for this message
Jorge Danoz (jorge-danoz) wrote :

"or a kernel bug" (just a mistake typing).

Revision history for this message
epervieror (epervieror) wrote :

I tried ALT+PrtScr/Fn+PrtScr and REISUB/RSEINUB but nothing happened.

Revision history for this message
Kent Baxley (kentb) wrote :

Does anyone have capacity to set up a netconsole, especially if you are one of the unlucky ones where the system is freezing up pretty regularly? Plus, at the minimum, if anyone can also ssh in remotely from another system and have the following commands running in remote consoles:

top

tail -f /var/log/kern.log

tail -f /var/log/syslog

...that might help us try and nail any possible OS culprits.

Revision history for this message
Jorge Danoz (jorge-danoz) wrote :

I'm suspecting that is an overheat issue.

I'm not sure, but I suspect that the freezes are caused when you tap/cover the ventilation area under the system, specially the fan area.

I can't confirm. I only had two or three freezes. This week only one, but it happened when I started the system over my legs (and I think covering unintentionally the ventilation area.

Could anyone confirm/check this?

Regards

Revision history for this message
Jorge Danoz (jorge-danoz) wrote :

For more information about my case: the three freezes happened when I was using Chromium browser and watching music or viewing videos in YouTube.

Revision history for this message
Daniel Naber (misc2006) wrote :

@jorge-danoz I cannot confirm this. The system was on my desk with any of the freezes. Also, some freezes happen soon after boot, when there should not be much heat yet.

Revision history for this message
Brendan Miller (brmiller) wrote :

I also cannot confirm heat-related issues. It does seem that on some of the freezes the CPU has been "at load" and the system may be warmer than normal (i.e. with fan running). But I have also had it lock up within 10 minutes of a cold boot.

I called Dell Pro Support last week, who, after normal system diagnostics as well as diagnostics with their Linux team, recommended motherboard replacement. The service technician was here this morning, and within 30 minutes after he left, the system froze again. I have seen system freezes with BIOS versions A06, A07, and A08. So it's not likely a hardware or BIOS issue.

That leaves OS/platform issues . I am re-engaging the Dell Linux support team for assistance as well as any on this channel (Kent?) that can provide assistance. If I cannot resolve this issue, I will have to return the XPS 13, which is sad, because it's a really good laptop otherwise.

The only consistency in my lockups are that I'm generally in the middle of a java/maven build. The meta-elements of this environment are higher CPU load and medium network activity. I have experienced the lockups with both wireless enabled and wireless disabled (using a USB3 ethernet dongle).

Kent: Nothing is written to kern.log / syslog prior to the system freezing; I have run top from another machine via ssh and did not see anything peculiar--the top output simply froze at the time the XPS13 froze and the ssh connection was dropped. I can probably rig up some netconsole at home, but do not have such facilities here in the office. I'll try this next time I can arrange it.

Revision history for this message
Kent Baxley (kentb) wrote :

Just to clarify, I am not Dell support representative. I work for Canonical but do some onsite work at Dell. I am trying to help out as time permits on this problem. The difficulty here is trying to find a reliable reproducer, which seems to be elusive at this point. Brendan has sent me some pointers on how to stress the machine with his java compile and I'm trying to get my sample to hang up using that in different scenarios. Also, if I have some time, I'm going to take the same image we used here for the XPS13 and put it on another Dell laptop to see if any problems reproduce there on different hardware.

Revision history for this message
beerfan (beerfan) wrote :

I've upgraded to Raring 13.04 and I thought for a while that the freeze had been eliminated but then I experienced it once.

Chromium has been running every time I've experienced the freeze. I've heard it mentioned by others here so perhaps that is a common reproducer. I've tried switching to Google's Chrome but the infrequency on Raring is pleasant but not helpful for trying to reproduce the freeze.

Revision history for this message
epervieror (epervieror) wrote :

Next week I will try to set up a net console (if with this is working through the wifi) , hopefully I will have a freeze and so some information that could help to fix it.

Revision history for this message
Brendan Miller (brmiller) wrote :

I tried netconsole this morning. I don't think the iwlwifi driver (or hardware) supports polling, required by netconsole. I got

[11099.284767] netconsole: local port 6666
[11099.284770] netconsole: local IP 172.16.101.121
[11099.284771] netconsole: interface 'wlan0'
[11099.284772] netconsole: remote port 6666
[11099.284773] netconsole: remote IP 172.16.101.121
[11099.284774] netconsole: remote ethernet address xx:xx:xx:xx:xx:xx
[11099.284777] netconsole: wlan0 doesn't support polling, aborting.
[11099.284779] netconsole: cleaning up

My USB-Ethernet dongle yielded the same results.

Revision history for this message
Dave Tapley (davetapley) wrote :

I just got this again.

Kent, I can see log enries for /var/log/kern.log and /var/log/syslog leading right up to the freeze, after holding the power button and restarting. The last line was:

May 17 19:36:48 lexi kernel: [135579.790713] [drm:gen6_sanitize_pm] *ERROR* Power management discrepancy: GEN6_RP_INTERRUPT_LIMITS expected 00070000, was 18000000

(I also tried the ALT PrtScr R S E I N U B thing, to no avail).

Revision history for this message
Jared Dominguez (jared-dominguez) wrote :

I believe this is likely a duplicate of this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1166620

Revision history for this message
Jared Dominguez (jared-dominguez) wrote :

It'd help to see the full kernel log from a system with this problem. Also, in any of the cases, were any customizations made to the grub boot options?

Revision history for this message
Brendan Miller (brmiller) wrote :

I only get the Power management discrepancy in the log--none of the other GPU messages mentioned in 1166620 and no oops. As several have mentioned the SysRq controls do not work either. I believe the CPU/keyboard/OS is completely locked. As far as I know, the GEN6_RP_INTERRUPT_LIMITS messages has always been there, across all the 12.04.2 kernels. I just updated to obtain 3.2.0-43, but haven't booted it yet. I get the GEN6_RP_INTERRUPT_LIMITS frequently and not always followed by a lockup.

Revision history for this message
Dave Tapley (davetapley) wrote :

Perhaps we can start a log of what we're doing and running (off the top of ones head) when we have the freeze somewhere?
I've put an editable Google doc here, but I'm happy for someone to move it if there's a more appropriate place:
https://docs.google.com/spreadsheet/ccc?key=0ArXZTADO2Z54dGhxSnk3dEpuZm1WVGxBc2FLM2ZQTHc&usp=sharing

Revision history for this message
Dave Tapley (davetapley) wrote :

Okay, at least for me, it's looking more and more like Chromium is causing it.
I've switched to using just Firefox and I haven't see it once yet.

Tomorrow I'll start using Chromium (with logging on) for some 'light browsing' (i.e. saying off multimedia where possible) and see if it happens.

Revision history for this message
Eryn O'Neil (eryn-oneil) wrote :

I had a hard lockup a couple days ago. I was using zero multimedia, except for youtube windows opened in Firefox (not playing), so that's sort of new.

Lockup happened while I was I browsing in Firefox, doing nothing special at all.

At the time I was running: ~165 tabs/3 windows open in FF, ~20 tabs/2 windows open in Chromium, Thunderbird, Pidgin, and a couple a terminal windows doing nothing special.

I probably have Chromium open about 50% of the time that I'm using my machine. If you're the sort of user that always has a browser open, it could be a red herring, but I'll watch to see if it's open during future lockups.

Revision history for this message
Sun Seng David TAN (sunix-sunix) wrote :

Same issue,
It really happens randomly ... Once, I wasn't doing anything on it, watching TV on another room, and when I came back it was frozen.
Can't get netconsole working neither:
usb->ethernet and wifi "doesn't support polling"
I'm wondering if it's a hardware issue, i guess only few of xps13 have this issue.

Revision history for this message
Dave Tapley (davetapley) wrote :

Well, it could be just coincidence, but I had no freeze for >24 hours (quite rare for me) while I intentionally didn't use Chromium.
Finally I figured I'd try it again, I got a freeze within a couple of hours (see link above).

There was nothing interesting in the Chromium log, just the same output I'd been getting for a couple of hours prior to the freeze.

Once again, I was running Firefox and Chromium in tandem, which I see eryn-oneil also was.
So I'm going to try just Chromium today, and see if I get a freeze.

Revision history for this message
Dave Tapley (davetapley) wrote :

Also, I just stumbled across this:
http://richxiong89.wordpress.com/2012/11/15/system-freeze-on-ubuntu-12-04-64-bit/

He mentions Chromium, but as eryn-oneil mentions, it could be a red herring (good call on that btw).

Still I'd be curious if anyone's seen similar success with a kernel upgrade.

Revision history for this message
Bill Scoby (co9olguy) wrote :

Just wanted to add that I also experience this unpredictable freezing bug on my XPS 13, bios A07, Ubuntu 12.04 (no significant changes other than automatic updates). I sometimes use an external monitor & keyboard, but I have experienced the freeze both with and without them. I've also had it both when plugged in and on battery.

Contrary to other users, I never run Chromium nor Spotify, so I doubt that it's *directly* caused by these programs. Common programs for me to have open when the freeze occurs are: Firefox, Thunderbird, and Matlab. Unfortunately, I can't find any reproducable pattern. In fact, this morning I even had the freeze at the login screen!

Revision history for this message
epervieror (epervieror) wrote :

I updated one week ago to 13.04 and I have no freezes so far. My coworker, installed (one week ago) a fresh Ubuntu 12.04 (without any changes from the standard Ubuntu image) and doesn't have any freeze so far too.
What kernel guys are you using standard or sputnik ? I suspect freezes occurring only with the sputnik kernel ..

Revision history for this message
rekshaw (maverickmuttoni) wrote :

Just had the XPS 13 (2nd generation 1080p i7 Developer Edition) freeze on me.

The computer was mostly idle, I clicked a link on Google Chrome, and BAM, it froze. The only weird thing that happened prior to the freezing was killing a skype process a couple of minutes before, which sent Unity a bit hay-wire (and had to kill it a second time from the System Monitor).

Let me know if you need any other information.

Revision history for this message
rekshaw (maverickmuttoni) wrote :

May I also add, that I've had it for 4 days. The only modifications I have made are summarized more or less in this article here:

http://labs.vas.it/optimizing-the-dell-xps-13-sputnik-developer-edition/

TL,DR:
- changed I/O scheduler to NOOP (via grub),
- moved tmp to tmpfs,
- added noatime to mount option for SSD
- installed TLP+PowerTOP
- removed some startup applications

Revision history for this message
rekshaw (maverickmuttoni) wrote :

I also forgot to add:
Bios: A07
Dist: 12.04.2
All apt-get updates installed until now (last checked this morning)

Revision history for this message
Eryn O'Neil (eryn-oneil) wrote :

Gah. Experienced this three times in the last few days. Once, I wasn't even using the machine, I just had the display on for about 20 minutes so I could read a recipe. Just now I was at the unlock screen after waking from suspend; it froze halfway through my password. Neither of these times was I using anything particularly processor intensive (but the fan sped up loudly and immediately upon freezing). Yes, Chromium was open in the background every time.

I'm at such a loss for how to help diagnose this issue. I'm going to avoid using Chromium entirely to see if we can eliminate that variable.

Revision history for this message
Kent Baxley (kentb) wrote :

Not sure what this is, either. Does anyone happen to know if resuming from suspend seems to make the issue occur more often? If so, if someone that has recently been bitten by this coming out of suspend can post their pm-suspend log that (might) help.

Revision history for this message
Daniel Naber (misc2006) wrote :

To analyze the crash, I installed package linux-crashdump, as described here: https://wiki.ubuntu.com/Kernel/CrashdumpRecipe

However, when the next crash occurred, I did not find any dump in /var/crash. Maybe someone who has more regular crashes can try this and report if it helps. I'm seeing crashes now less than once a week.

Revision history for this message
Jorge Danoz (jorge-danoz) wrote :

Hello:

I'm checking, but for me some update maybe has solved the problem.
I'm not facing freezes right now (two weeks with no freezes).

Do you know any program to "take a snapshot" of my system (list of packages with versions, kernel updates, and so on) so that I can upload it here and share with all people facing the issue?

If no program can do it, then I will upload my last updates or list of packages using dkpg or something similar.

I'm almost sure that my system is stable right now (I cross my fingers).

Regards,
Jorge

Revision history for this message
Eryn O'Neil (eryn-oneil) wrote :

Jorge, I had another hard freeze yesterday. Unfortunately, I forgot to inspect the crash dump from the linux-crashdump packages. Oops.

I'm fully up to date except for a mountain of X updates that came through today-- I'll install them and cross my fingers.

As for a snapshotting tool, I cannot help you there.

Revision history for this message
Jorge Danoz (jorge-danoz) wrote :

I applied last updates right now.
I will check during the next days.

Revision history for this message
Jorge Danoz (jorge-danoz) wrote :

A new freeze right now.
I think some update from yesterday came back to the "unstable system".

I don't know...

Revision history for this message
Dave Tapley (davetapley) wrote :

kentb, I just had this approx 80 mins after coming out of suspend, log of the resume is here:
https://gist.github.com/dukedave/5758181

Revision history for this message
Jorge Danoz (jorge-danoz) wrote :

No more freezes by the moment.
I think is not a hardware issue.

Revision history for this message
Brendan Miller (brmiller) wrote :

For those still experiencing lockups without any log messages/traces/kernel panics, I suggest updating to the https://wiki.ubuntu.com/Kernel/LTSEnablementStack for those that are still on 12.04:

sudo apt-get install --install-recommends linux-generic-lts-quantal

I had two weeks without random hangs under that kernel.

Revision history for this message
Miguel A. Martinez (migmartri) wrote :

Just got latest dell updates and my laptop freezes almost all the times I start a Google hangout video conversation.

Using Google chrome 27.0.1453.110 and Ubuntu 12.04.

uname -a returns

Linux Dell-XPS-L322X 3.2.0-48-generic #74+kamal16~DellXPS-Ubuntu SMP Mon Jun 10 22:13:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Daniel García (danielgarciaaubert) wrote : Re: [Bug 1167624] Re: Ubuntu frequently freezes

One question:

How many of us were using chrome during the freezes??

I think it is possible that chrome is freezing the system when it has a lot
of memory in use. When it has a lot of open tabs or when it is reproducing
video or app with intensive use of javascript (like gmail or hangouts).

Regards!

2013/6/14 Miguel A. Martinez <email address hidden>

> Just got latest dell updates and my laptop freezes almost all the times
> I start a Google hangout video conversation.
>
> Using Google chrome 27.0.1453.110 and Ubuntu 12.04.
>
> uname -a returns
>
> Linux Dell-XPS-L322X 3.2.0-48-generic #74+kamal16~DellXPS-Ubuntu SMP Mon
> Jun 10 22:13:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
>
> --
> You received this bug notification because you are subscribed to Dell
> Sputnik.
> Matching subscriptions: sputnik
> https://bugs.launchpad.net/bugs/1167624
>
> Title:
> Ubuntu frequently freezes
>
> Status in Dell Sputnik:
> Confirmed
>
> Bug description:
> I have a sputnik laptop running the OEM install of Ubuntu 12.04. I've
> only applied the normal Ubuntu package updates and have no changed
> anything significant that I can think of. I've had the laptop less
> than a week.
>
> At least once a day Ubuntu will completely freeze. There doesn't seem
> to be much pattern for when it will happen. The display just freezes,
> along with the mouse pointer. Switching to another console doesn't
> work and the OS never responds.
>
> I don't know how to troubleshoot this or what type of log output might
> be desired but can provide anything requested.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dell-sputnik/+bug/1167624/+subscriptions
>

--
Daniel García Aubert
www.dgaubert.com
---
Ingeniero Técnico en Informática de Gestión
Universidad Carlos III de Madrid.
http://www.uc3m.es
---
Desarrollador Software en Paradigma Tecnológico
http://www.paradigmatecnologico.com/

Revision history for this message
Miguel A. Martinez (migmartri) wrote :

Hello.

Another system hang doing exactly the same thing than yesterday. A G+ Video hangout using Chrome.

I have also noticed that the freeze occurs when I am using the Battery not the AC adaptor.

Revision history for this message
epervieror (epervieror) wrote :

As I already said, my coworker has switched for a standard Ubuntu 12.04 (ubuntu kernel 3.2 without any another repository) and doesn't have any freezes since.
I switched to a standard Ubuntu 13.04 (ubuntu kernel 3.9) and I have no freezes since.

This is clearly a Sputnik (kernel) bug related and not software related.

Revision history for this message
Andrew Bradley (arbradley1967) wrote :

I see this freeze occasionally. It only occurs when I have Chrome (not Chromium) running, most frequently (perhaps all the time) when Chrome is obscured by another window. So if I bring up Spotify, or a Libre Office document, or whatever to the front, Chrome seems to cause a problem. G+ updating with a "+1" notification could be relevant?

Revision history for this message
Miguel A. Martinez (migmartri) wrote :

Hello.

Yesterday I upgraded to 13.04 and tried to reproduce the Google+ Hangout freeze on Chrome but I did not get any hang.

So, so far everything is working fine.

My kernel is:

Linux Dell-XPS-L322X 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:07 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Tommy Persson (tompe17) wrote :

I get these hangs and I only remember them getting them when using Chrome. The one I got galf an our ago happened when clicking on a link in Chrome.

Revision history for this message
Daniel García (danielgarciaaubert) wrote :

BTW in other PC which I use with Win7 I had the same issue (no freezes but
it reboot the system), and I'm using other browser, Firefox, I don't get
hangs yet.

I don't know if it is the same problem. I don't think that, but it seems
the same bug and coincide in time.

Lately I haven't had more freezes on my XPS13, but my use isn't intensive.
I'm still using Chrome.

2013/6/19 Tommy Persson <email address hidden>

> I get these hangs and I only remember them getting them when using
> Chrome. The one I got galf an our ago happened when clicking on a link
> in Chrome.
>
> --
> You received this bug notification because you are subscribed to Dell
> Sputnik.
> Matching subscriptions: sputnik
> https://bugs.launchpad.net/bugs/1167624
>
> Title:
> Ubuntu frequently freezes
>
> Status in Dell Sputnik:
> Confirmed
>
> Bug description:
> I have a sputnik laptop running the OEM install of Ubuntu 12.04. I've
> only applied the normal Ubuntu package updates and have no changed
> anything significant that I can think of. I've had the laptop less
> than a week.
>
> At least once a day Ubuntu will completely freeze. There doesn't seem
> to be much pattern for when it will happen. The display just freezes,
> along with the mouse pointer. Switching to another console doesn't
> work and the OS never responds.
>
> I don't know how to troubleshoot this or what type of log output might
> be desired but can provide anything requested.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dell-sputnik/+bug/1167624/+subscriptions
>

--
Daniel García Aubert
www.dgaubert.com
---
Ingeniero Técnico en Informática de Gestión
Universidad Carlos III de Madrid.
http://www.uc3m.es
---
Desarrollador Software en Paradigma Tecnológico
http://www.paradigmatecnologico.com/

Revision history for this message
Bill Scoby (co9olguy) wrote :

I just want to reiterate that I do not use Chrome/Chromium, but I am still getting this freezing bug (even once at the login screen!).

Like epervieror, I suspect it is probably a system bug and not (directly) related to any individual piece of software...

Revision history for this message
Brendan Miller (brmiller) wrote :

I'd like to "bump" the comment I made in #70 about upgrading to the 3.5 kernel series. I really think the bug may be in the special sputnik kernel (which is somewhat ironic). At least, if you do experience hangs, please include what kernel version (uname -r) you're using. This will help the kernel/Canonical people.

Revision history for this message
Sun Seng David TAN (sunix-sunix) wrote :

kernel change didn't help for me:
- Yesterday, I updated the kernel to use the linux-image-3.2.0-48-generic 3.2.0-48.74
- I WAS using the +kamal16~DellXPS
- just got a freeze with the new kernel.

I'm currently trying the BIOS update A09 (I was using the A07 previously).

I'll try the quantal kernel version if it doesn't work

Revision history for this message
Brendan Miller (brmiller) wrote :

Yes, try the linux-generic-lts-quantal package - that's the one that I enjoyed success with.

Revision history for this message
wroscoe (wroscoe) wrote :

Also having the same issue. Most often happens using Google hangout on chromium.

Kernal: 3.2.0-48-generic

Revision history for this message
Sun Seng David TAN (sunix-sunix) wrote :

linux-image-3.2.0-48-generic 3.2.0-48.74 + A09 bios update => Freeze

I've installed the linux-image-generic-lts-quantal package and have now this kernel version: linux-image-3.5.0-34-generic 3.5.0-34.55~precise1
2 days without any freeze so far,

Thanks for the tip

Revision history for this message
Flyte (o-launchpad-net) wrote :

I got my XPS Dev Edition 1080p yesterday and had two lockups. Both were while watching a streaming video on twitch.tv with Chrome and chatting on TeamSpeak. All four cores were sitting around 50% at the time (no hardware decoding of video streams?) so the fan was loud anyway.

The laptop was sitting on a laptop stand with about 7 inches of clear space beneath it (the stand consists of two 1.5" wide surfaces, so it doesn't block airflow).

I'm running BIOS version A09 and had the system fully apt-get upgraded.

Revision history for this message
Timo Ewalds (timo-ewalds) wrote :

I had crashing problems for months, with uptimes as short as a few minutes but never more than a couple days. I happened to be browsing the net most times, but there wasn't any good pattern. Based on suggestions above I upgraded my kernel to: 3.10.0-031000rc6-generic from http://kernel.ubuntu.com/~kernel-ppa/mainline/ , and have gone almost two weeks without a single crash. The only problem with this kernel is the backlight doesn't work properly out of the box, but can be fixed with: echo 0 > /sys/class/backlight/intel_backlight/brightness . This is annoying, but at least it no longer crashes. Does anyone know of a kernel version that works perfectly?

Revision history for this message
Sun Seng David TAN (sunix-sunix) wrote :

Timo: The suggestion was to use the standard 3.5 kernel version, not the 3.10

As far as i'm concerned, almost 2 weeks without any freeze :)

Revision history for this message
mattcole (mattcole3) wrote :

I'd like to chime in saying this happens to me, on a fully updated 12.04 system. It is a 2-3x per day occurrence at this point. I upgraded to the 3.5 kernel as suggested above and we'll see how this works.

Revision history for this message
Andrew Bradley (arbradley1967) wrote :

I've narrowed this down. All of the times that this happens for me is when I have Chrome open, and I receive an incoming "+1" in Google Plus. Not every "+1" triggers this, so I suspect that there is a secondary part to the trigger; possibly switching tabs.

Revision history for this message
Dave Tapley (davetapley) wrote :

Andrew: Hmm, well now you mention it do *always* have GMail open in another tab in Chromium.
So it certainly not impossible that's a cause.

... I'm done with this, I'm back up to multiple freezes per day, time to try the kernel change.

Revision history for this message
Andrew Bradley (arbradley1967) wrote :

I've had no freezes for a couple of weeks now. Changes to the Chrome Stable channel, Ubuntu updates, or coincidence? Time will tell.

Revision history for this message
Eryn O'Neil (eryn-oneil) wrote :

Back to report: I have had hard freezes happen when I wasn't running Chromium. I even had one happen within a minute of rebooting the machine. There may be something about Chromium that makes freezes more likely, but it's definitely not the only way to trigger them.

Dell replaced my motherboard with an A09 bios version (most updated Sputnik bios) a couple weeks ago, and I've had fewer hard freezes since-- but they still happen.

Revision history for this message
Jared Dominguez (jared-dominguez) wrote :

Eryn: Are you sure Chromium isn't running at all? (c.f. http://askubuntu.com/questions/125357/chrome-puts-itself-on-startup-applications)

Revision history for this message
Eryn O'Neil (eryn-oneil) wrote :

Daniel Jared Dominguez: Interesting, I did not know that. I did have the "background apps" setting checked. So I can't be sure that it wasn't running.

I'm still skeptical that we can be sure it's Chromium causing the freezes-- yes, we all have it installed and use it, but I think you'd be hard-pressed to find someone who uses Linux to the point that they post bugs on launchpad and DOESN'T have Chromium installed. If that's the criteria, we could just as easily say it's caused by X, or Firefox, or bash, or Compiz (well, it might reasonably be caused by Compiz), or anything else everyone is likely to have installed.

However, Chromium could certainly could be the cause. I'm just trying to be cautious before we stop thinking outside the box. I've unchecked the background apps option (as well as the hardware acceleration setting-- my freezes have correlated with high processor and/or graphic card use, so it seemed like a reasonable thing to try), and I'll report back about my experience.

Revision history for this message
Jared Dominguez (jared-dominguez) wrote :

Eryn: (By the way, you can call me Jared.) I agree that, even if the problem is caused by Chromium/Chrome, the end goal isn't to tell you to stop using that browser but only to triage so we can isolate the bug. Also, I've lost track, which kernel version are you running? Have you tried upgrading to either the linux-image-generic-lts-raring or linux-image-generic-lts-quantal kernels (assuming you're still running Ubuntu 12.04)?

Revision history for this message
Sun Seng David TAN (sunix-sunix) wrote :

hi all, I had no freeze for a month but recently, i got freezes again ... not as often as before, but still ...
Once I tried to switch to console tty by pressing ctrl alt f1 and got these messages (picture i took + tesseract + hand fixes)
couldn't go back to X and make other switch:

Ubuntu 12.04.3 LTS xps tty1

xps login: [30104.389129] BUG: soft lockup - CPU#1 stuck for 22s! [gnome—settings
[30104.403381] BUG: soft lockup - CPU#2 stuck for 22s! [gdu-notificatio:2581]
[30104.417515] BUG: soft lockup - CPU#3 stuck for 22s! [gnome—fallback-:2169]
[3D104.558466] BUG: soft lockup - CPU#0 stuck for 23s! [console-kit—dae:1340]
[3D132.352914] BUG: soft lockup - CPU#1 stuck for 22s! [gnome-settings-:2142]
[30132.387168] BUG: soft lockup - CPU#2 stuck for 22s! [gdu-notificatio:2581]
[30132.381302] BUG: soft lockup - CPU#3 stuck for 22s! [gnome—fallback-:2169]
[30132.522255] BUG: soft lockup - CPU#0 stuck for 23s! [console-kit—dae:1340]
[30140.228272] INFO: rcu_sched self-detected stall on CPU { 2} (t=15000 jiffies)
[30164.311528] BUG: soft lockup - CPU#1 stuck for 22s! [gnome-settings-:2142]
[30164.32578E] BUG: soft lockup - CPU#2 stuck for 22s! [gdu-notificatio:2581]
[30164.339918] BUG: soft lockup - CPU#3 stuck for 22s! [gnome—fallback-:2169]
[30164.480869] BUG: soft lockup - CPU#0 stuck for 22s! [console-kit—dae:1340]

Revision history for this message
Jared Dominguez (jared-dominguez) wrote :

Sun: What is your kernel version?

Revision history for this message
Sun Seng David TAN (sunix-sunix) wrote :

Linux xps 3.5.0-39-generic #60~precise1-Ubuntu SMP Wed Aug 14 15:38:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Sun Seng David TAN (sunix-sunix) wrote :

I'm currently downgrading, got freezed so far with:
- 3.5.0-39-generic
- 3.5.0-38-generic

Currently testing with 3.5.0-37-generic

Revision history for this message
Sun Seng David TAN (sunix-sunix) wrote :

No freeze with
 3.5.0-37-generic

Revision history for this message
Krzysztof P (qreesp) wrote :

3.5.0-37-generic - also freezes.

Revision history for this message
Adam Crownoble (adam-obledesign) wrote :

I've noticed that running the new OpenGL Google Maps on Chromium or starting up Virtual Box seem to cause my XPS 13 to freeze on Ubuntu 13.04.

Has anybody else noticed the same thing?

Revision history for this message
Daniel García (danielgarciaaubert) wrote :

No, Adam. I haven't noticed about that

It will be interesting to know how many sputnik's users we are, and how many of us got freezes. We've tried many kernels and others workarounds but we still don't know what is the cause of freezes. It's possible to think about a hardware issue. Graphic card, maybe or motherboard, I don't know.

My freezes haven't any pattern. Using chrome or not, developing or not, streaming or not, high or low CPU rate. Using the laptop for hours or seconds.

One question, how many of us have the SSD encrypted? Could be a possibility...

Revision history for this message
Krzysztof P (qreesp) wrote :

Tested on:
3.2.0-53-generic #81-Ubuntu SMP Thu Aug 22 21:01:03 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

and not working.

Revision history for this message
Daniel Naber (misc2006) wrote :

Everything went fine (i.e. not a single crash) for two months with this kernel: 3.5.0-36-generic #57~precise1-Ubuntu SMP

Now the crashes are back (two crashes in two days), current kernel: 3.5.0-40-generic #62~precise1-Ubuntu SMP

@Daniel García: my SSD is encrypted

Revision history for this message
epervieror (epervieror) wrote :

4 month with kernel 3.8 and all is working.

Revision history for this message
Ryan Riegel (rriegs) wrote :

I just wanted to add my two cents regarding this problem. In summary, I suspect the problem at hand is caused by the device running out of video memory, which in my case may be caused by using an external monitor. This leads to X crashing with no pathway for recovery. I've reduced the resolution of my external monitor and the crash seems to have been resolved. My observations are as follows:

I started experiencing crashes shortly after obtaining my XPS 13. I do not use nor have I installed Chrome/Chromium or Spotify, which seem to be the leading culprits above, but I do have an external monitor with equal resolution to the built-in screen (1920x1080). Otherwise, I have current updates, both 64-bit and 32-bit versions of both openjdk-6 and 7, and a handful of other tools I use for development such as emacs. I have not installed a more recent kernel (currently 3.2.0-53), nor have I updated the BIOS (though dmidecode reports it as A09).

The context of the first crashes I saw were situations where I ran out of *system* memory. While failure in this circumstance is understandable, the failure was complete: the mouse wouldn't move, I couldn't switch to other ttys, etc. Later, however, I noticed crashes occuring when the system shouldn't have been burdened. I installed indicator-multiload to keep an eye on my system memory and observed a crash (which conveniently froze the system monitor history) that occured at a time of minimal CPU usage, normal memory load, and no noticeable disk activity (at the time, I wasn't monitoring network, swap space, or "system load").

I observed several further similar crashes, some of which occured even when I was AFK, with no activity other than running remote tasks via ssh (and thankfully a remote screen). I mentioned the problem to my resident hardware expert and, after noticing X failures in my system log, his instinct was that I was running out of video memory. I don't have a means of monitoring video memory (any recommendations?), though with two 1920x1080 displays plus compiz (default installation plus compizconfig-settings-manager, with a few tweaks), firefox, and half a dozen terminal/emacs/etc. windows open this seemed at least plausible.

I've since reduced the resolution of my external monitor to 1440x900, and I've seen no further crashes. I would *like* to instead reduce the resolution of my laptop monitor, but it seems I cannot, at least not through Ubuntu system settings. Alternately, I wouldn't mind increasing the amount of system memory allocated to my Intel HD Graphics processor, but I cannot find any way to do so through the BIOS or otherwise. Right now it seems to be using around half a gigabyte (my system reports 640MB less than the 8GB it actually has); I'd be happy to let it use twice as much if it means I can run my external monitor at its full resolution.

Revision history for this message
Krzysztof P (qreesp) wrote :

Well, I experienced the crashes without attaching secondary monitor and there were no X errors in logs in my so i thinks it's not related to X server.

You can reduce laptop resolution this way (to 1600x900):

    # gtf 1600 900 60
   xrandr --newmode "1600x900" 119.00 1600 1696 1864 2128 900 901 904 932 -HSync +Vsync
   xrandr --addmode eDP1 1600x900
   xrandr --output eDP1 --mode 1600x900

But this solution is not permanent.

Anyway, currently testing kernel:

3.5.0-36-generic #57~precise1-Ubuntu SMP Thu Jun 20 18:21:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

No crashes for over a week.

Revision history for this message
Sun Seng David TAN (sunix-sunix) wrote :

Hi all,
Testing with Linux xps 3.5.0-41-generic -> no freeze so far

So to summarise my experience
OK 3.5.0-38-generic
KO 3.5.0-38-generic
KO 3.5.0-39-generic
OK 3.5.0-41-generic

Revision history for this message
Sun Seng David TAN (sunix-sunix) wrote :

sorry this is the right one:

OK 3.5.0-37-generic
KO 3.5.0-38-generic
KO 3.5.0-39-generic
OK 3.5.0-41-generic

Revision history for this message
Marcos (golodhros) wrote :

Hi there!

Thanks all for the support! I have suffered this bug for quite a while, but now everything works fine with:

3.8.0-31-generic #46~precise1-Ubuntu SMP Wed Sep 11 18:21:16 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Bill Scoby (co9olguy) wrote :

Got this freeze again today, but in a new twist, the hardware power switch was also completely unresponsive. The fan was going crazy, but I couldn't get the unit to shut off. I could still adjust the keyboard backlight and check the battery level using the external control, but otherwise the unit did not respond.

All I could do was unplug it and wait for the battery to run out. Once that happened, I plugged it back in and it started up again as if nothing was wrong (the external power switch works again).

If it helps a diagnosis, I had put the unit in suspend while I went to lunch. Not sure exactly when it happened, but it was frozen when I came back 30 mins later.

Revision history for this message
Sean Burlington (sean-practicalweb) wrote :

I get occasional crashes - every couple of weeks or so I guess

power button reset works for me

I use chromium and an external monitor

sean@sputnick:~$ xrandr
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 294mm x 165mm
   1920x1080 60.0*+ 40.0
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080 60.0*+

The problem is that absolutely nothing gets logged, the system just crashes hard

The screen freezes continuing to show what was displayed before and the fan goes on full speed.

Revision history for this message
Sean Burlington (sean-practicalweb) wrote :

I have upgraded to a newer kernel

3.8.0-34-generic #49~precise1-Ubuntu SMP Wed Nov 13 18:05:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

and have not suffered a crash for a week

Revision history for this message
Ryan Riegel (rriegs) wrote :

I want to ammend my previous comment (#109) to add that I ultimately upgraded to the 3.8.0 kernel and, more recently, to the 3.11.0 kernel available in the Ubuntu 12.04 repositories. I have not seen the crash since upgrading (months ago), even with my external monitor at full resolution (and, indeed, I did still see some crashes in 3.2.0 when not at full resolution), so it seems that upgrading the kernel is the real workarround for this problem.

Revision history for this message
Felix Griewald (tiiunder) wrote :

I still have this problem with newest kernel 3.16 on Ubuntu 14.04.1

Looks like it only crashes if an external monitor is connected. Sometimes it helps to restart compiz using command line.

I also tried the official Intel drivers (Intel Graphics installer) and newest open source drivers. Same problem here.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.