Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Laptop going into kernel panic when it sleeps.

  1. #1

    Default Laptop going into kernel panic when it sleeps.

    Hi,
    I am having a strange problem with an Asus s200e and opensuse 13.1 64bit.
    Sometimes when I resume the laptop from sleep on battery power I get a screen full of text and it says kernal panic watchdog detected hard lockup on cpu1.
    The only thing I can do is hold the power button till it turns off.
    Please help.
    Thanks in advance.

  2. #2

    Default Re: Laptop going into kernel panic when it sleeps.

    Anybody there?

  3. #3
    Join Date
    Aug 2008
    Location
    Little Exuma, Bahamas
    Posts
    731

    Default Re: Laptop going into kernel panic when it sleeps.

    Quote Originally Posted by ozzyofpi View Post
    Anybody there?
    I have a similar issue with a Lenovo P580 and was going to post when I saw yours, so I'm lurking in hopes you get a response.
    MS user 1988-2008, Linux user 1998-present, openSUSE user since 2004
    (The first computer I used had a punch card reader)

  4. #4
    Join Date
    Jul 2008
    Location
    Toronto, Canada
    Posts
    1,255

    Default Re: Laptop going into kernel panic when it sleeps.

    It could a problem with the nouveau driver.

    Can you please post the results of:
    Code:
    cat /proc/cpuinfo
    My Linux Box
    OS:
    openSUSE 52.2 - Plasma 5.18.9
    OS:
    Tumbleweed Plasma 5.22
    ASUS P5Q | Intel Quad 6600 @3.02 GHz | 8GB G.SKILL RAM | Nvidia GeForce 750 Ti

  5. #5
    Join Date
    Jul 2008
    Location
    Toronto, Canada
    Posts
    1,255

    Default Re: Laptop going into kernel panic when it sleeps.

    Interesting formation about the kernel's hard lockups and soft lockups pulled from the kernelnewbies website's email archive.

    What are the Differences between CPU Hard-lockup and Soft-lockup

    When the watchdog is enabled, there is a HW timer that counts down. If the HW timer reaches 0, then it asserts (triggers an NMI or processor RESET).
    Normally, the watchdog has something like a 30 second timeout, and there is a watchdog thread which runs with a low real-time priority.
    So that places it at a higher priority than all of the normal threads.

    The watchdog normally kicks (resets) the timer once per second. When the timer reaches zero, then the hardlockup has considered to occur.
    On some architectures, this will cause an NMI (non-maskable interrupt) to fire.
    On architectures which don't support NMI, a reset will occur (in the reset case you get no reporting of hard lockup - the processor just reboots).

    If the watchdog timer interrupt is running, but the watchdog thread is not running for some period of time, then this is considered a soft lockup.
    Because the watchdog timer interrupt is running, we know that interrupts are enabled.

    The fact that the watchdog thread is not running means either that context switching has been disabled, or some interrupt or higher priority
    real-time thread is consuming 100% of the CPU.

    One common reason for hard-lockup is to disable interrupts and not reenable them.
    One common reason for soft lockup is when interrupts fire continuously (typically happens when writing a new drive and you forgot to deal with a particular interrupt source).
    My Linux Box
    OS:
    openSUSE 52.2 - Plasma 5.18.9
    OS:
    Tumbleweed Plasma 5.22
    ASUS P5Q | Intel Quad 6600 @3.02 GHz | 8GB G.SKILL RAM | Nvidia GeForce 750 Ti

  6. #6
    Join Date
    Aug 2008
    Location
    Little Exuma, Bahamas
    Posts
    731

    Default Re: Laptop going into kernel panic when it sleeps.

    Quote Originally Posted by Romanator View Post
    It could a problem with the nouveau driver.

    Can you please post the results of:
    Code:
    cat /proc/cpuinfo
    Code:
    :~ # cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 58
    model name      : Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
    stepping        : 9
    microcode       : 0x19
    cpu MHz         : 1856.000
    cache size      : 4096 KB
    physical id     : 0
    siblings        : 4
    core id         : 0
    cpu cores       : 2
    apicid          : 0
    initial apicid  : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 13
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
    bogomips        : 5786.97
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
    
    
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 58
    model name      : Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
    stepping        : 9
    microcode       : 0x19
    cpu MHz         : 1711.000
    cache size      : 4096 KB
    physical id     : 0
    siblings        : 4
    core id         : 0
    cpu cores       : 2
    apicid          : 1
    initial apicid  : 1
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 13
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
    bogomips        : 5786.97
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
    
    
    processor       : 2
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 58
    model name      : Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
    stepping        : 9
    microcode       : 0x19
    cpu MHz         : 1653.000
    cache size      : 4096 KB
    physical id     : 0
    siblings        : 4
    core id         : 1
    cpu cores       : 2
    apicid          : 2
    initial apicid  : 2
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 13
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
    bogomips        : 5786.97
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
    
    
    processor       : 3
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 58
    model name      : Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
    stepping        : 9
    microcode       : 0x19
    cpu MHz         : 1885.000
    cache size      : 4096 KB
    physical id     : 0
    siblings        : 4
    core id         : 1
    cpu cores       : 2
    apicid          : 3
    initial apicid  : 3
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 13
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
    bogomips        : 5786.97
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
    In my case the panic occurs whenever the lid is closed with settings for either "sleep" or "hibernate", with line power & with battery.
    MS user 1988-2008, Linux user 1998-present, openSUSE user since 2004
    (The first computer I used had a punch card reader)

  7. #7
    Join Date
    Aug 2008
    Location
    Little Exuma, Bahamas
    Posts
    731

    Default Re: Laptop going into kernel panic when it sleeps.

    Here is a screenshot taken upon opening the lid.
    MS user 1988-2008, Linux user 1998-present, openSUSE user since 2004
    (The first computer I used had a punch card reader)

  8. #8

    Default Re: Laptop going into kernel panic when it sleeps.

    Quote Originally Posted by Romanator View Post
    It could a problem with the nouveau driver.

    Can you please post the results of:
    Code:
    cat /proc/cpuinfo
    Code:
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 42
    model name      : Intel(R) Pentium(R) CPU 987 @ 1.50GHz
    stepping        : 7
    microcode       : 0x28
    cpu MHz         : 1140.000
    cache size      : 2048 KB
    physical id     : 0
    siblings        : 2
    core id         : 0
    cpu cores       : 2
    apicid          : 0
    initial apicid  : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 13
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave lahf_lm arat epb xsaveopt pln pts dtherm
    bogomips        : 2993.06
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
    
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 42
    model name      : Intel(R) Pentium(R) CPU 987 @ 1.50GHz
    stepping        : 7
    microcode       : 0x28
    cpu MHz         : 1140.000
    cache size      : 2048 KB
    physical id     : 0
    siblings        : 2
    core id         : 1                                                                                                                                                     
    cpu cores       : 2                                                                                                                                                     
    apicid          : 2                                                                                                                                                     
    initial apicid  : 2
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 13
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave lahf_lm arat epb xsaveopt pln pts dtherm
    bogomips        : 2993.06
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Laptop going into kernel panic when it sleeps.

    On 2013-12-24 19:46, Romanator wrote:
    >
    > Interesting formation about the kernel's hard lockups and soft lockups
    > pulled from the 'kernelnewbies' (http://tinyurl.com/mkyrchh) website's
    > email archive.
    >
    > *What are the Differences between CPU Hard-lockup and Soft-lockup
    > *


    Interesting feature.

    There is also a hardware watchdog, implemented on a PCI card or some other hardware chip. When that
    hardware is activated, a process has to do something to the card every while. After a certain time
    of no activity from the cpu, the chip or card pulls the hardware reset line of the motherboard,
    forcing a real hardware reboot. No messages, unless the watchdog keeps a log of its own.

    It is used on standalone or remote computers, where keeping the machine running is vital.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" (Elessar))

  10. #10
    Join Date
    Jul 2008
    Location
    Toronto, Canada
    Posts
    1,255

    Default Re: Laptop going into kernel panic when it sleeps.

    I've always been fascinated how the kernel interrupts interact with the hardware. The kernelnewbies website has a lot of info.

    @ozzyofpi

    Please check Configure Desktop:
    System Settings -> Power Management -> Energy Saving->check the tabs "On AC Power", "On Battery", "On Low Battery" for the following settings:
    • - "Button events handling" checked
    • - "When laptop lid closed" -> "Sleep"

    Also, for "Input Devices" try changing the keyboard to Asus laptop.

    Can you replicate this every time or more than once in a row.? If you can I would submit a bug report with Bugzilla.
    Check .xsession-errors for more info.
    My Linux Box
    OS:
    openSUSE 52.2 - Plasma 5.18.9
    OS:
    Tumbleweed Plasma 5.22
    ASUS P5Q | Intel Quad 6600 @3.02 GHz | 8GB G.SKILL RAM | Nvidia GeForce 750 Ti

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •