You are not logged in.
Hello all,
My issue is that I sometimes get a kernel panic when I remove my power cord or plug it in to my laptop. I say "sometimes" because this only happens every once in a while and I cannot discern any specific circumstances that make it panic vs. not panic when the cord is plugged in or unplugged. I apologize that I cannot provide any specific error message; the kernel panic screen seems to me to be fairly generic (it lists some information about processes; as far as I can tell none of it actually describes what caused the panic) and I cannot find any errors in the system logs.
I have had this happen across multiple Kernel versions on the same laptop (Lenovo Ideapad z560).
System info:
uname -a:
Linux clap 3.3.7-1-ARCH #1 SMP PREEMPT Mon May 21 22:39:59 UTC 2012 i686 GNU/Linuxlspci:
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 05)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
05:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)lsmod:
Module Size Used by
fuse 59284 2
joydev 7663 0
uvcvideo 60797 0
videobuf2_vmalloc 1736 1 uvcvideo
videobuf2_memops 1562 1 videobuf2_vmalloc
videobuf2_core 18103 1 uvcvideo
videodev 72205 1 uvcvideo
media 8513 2 videodev,uvcvideo
btusb 10047 0
i915 383758 8
i2c_algo_bit 4583 1 i915
bluetooth 150114 1 btusb
drm_kms_helper 23303 1 i915
arc4 1118 2
drm 166804 4 drm_kms_helper,i915
iwlwifi 222424 0
mac80211 336883 1 iwlwifi
mei 27639 0
snd_hda_codec_hdmi 21760 1
snd_hda_codec_conexant 39484 1
i2c_i801 6992 0
intel_agp 8688 1 i915
i2c_core 16845 6 i2c_i801,drm,drm_kms_helper,i2c_algo_bit,i915,videodev
cfg80211 153196 2 mac80211,iwlwifi
r8169 41800 0
intel_gtt 11193 3 intel_agp,i915
mii 3439 1 r8169
snd_hda_intel 20112 5
snd_hda_codec 79405 3 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi
snd_pcm 60499 4 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
snd_page_alloc 5901 2 snd_pcm,snd_hda_intel
snd_hwdep 4970 1 snd_hda_codec
snd_timer 15158 1 snd_pcm
iTCO_wdt 10773 0
iTCO_vendor_support 1545 1 iTCO_wdt
snd_mixer_oss 13088 0
agpgart 22159 3 intel_gtt,intel_agp,drm
intel_ips 9923 0
pcspkr 1423 0
serio_raw 3709 0
psmouse 69902 0
ideapad_laptop 7070 0
sparse_keymap 2532 1 ideapad_laptop
evdev 7310 9
processor 23476 0
snd 45013 17 snd_mixer_oss,snd_timer,snd_hwdep,snd_pcm,snd_hda_codec,snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi
thermal 6563 0
rfkill 12600 3 ideapad_laptop,cfg80211,bluetooth
wmi 7259 0
battery 5053 0
video 9819 1 i915
ac 1796 0
button 3614 1 i915
soundcore 4986 1 snd
loop 14979 0
ext4 384604 2
crc16 1091 2 ext4,bluetooth
jbd2 60590 1 ext4
mbcache 4345 1 ext4
aes_i586 6940 19
cryptd 7023 0
aes_generic 26054 1 aes_i586
xts 2441 8
gf128mul 5982 1 xts
dm_crypt 13724 1
dm_mod 60658 3 dm_crypt
sr_mod 13148 0
cdrom 30504 1 sr_mod
sd_mod 25867 3
ahci 17689 2
libahci 16783 1 ahci
ehci_hcd 38640 0
libata 145743 2 libahci,ahci
scsi_mod 112765 3 libata,sd_mod,sr_mod
usbcore 122783 4 ehci_hcd,btusb,uvcvideo
usb_common 622 1 usbcoreOffline
It might be helpful if you add some information about what kind of power management you have installed (pm-utils, uswsusp,..), if any. Also which desktop you use and if any power-relevant daemons are in rc.conf (acpid?).
Maybe some bios options to set for cpu powermanagement?
Offline
Really the only power management tool I use is something called batti which sits in the tray and shows charging state and such. No acpid, nothing in rc.conf regarding power tools at all. I use awesome window manager so there are no wm/de-specific applications at play.
I looked at my BIOS setup and cannot find anything which might affect this issue... the only thing there to do with power is a setting which makes the computer beep when the power state is changed.
It might also be worth noting that there is a potential problem with my laptop's PSU/battery. It won't charge past 78% (most of the time... sometimes it will charge fully. It's finicky.), but otherwise it works fine.
Offline
I read Lenovo did a recall of Ideapad Y560 for some Intel chipset 6(?) problem, but thats a different model is it?
Maybe un-/plug that cord repetitively and watch what happens in the logs (dmesg, kernel, Xorg, error).
Don't have a real other suggestion for you, sorry.
Offline
I managed to snap an image after it panicked this last time:
(sorry for the slight blurriness, but I think most of the text is legible)
Perhaps some of this is useful? Some of the text near the bottom mentions "error" and "acpi" which may be relevant, but I can't quite make sense of it all.
Offline
You might want to see if you have pm-utils installed, which may have been pulled as a dependency for another package. If you do try creating empty files in /etc/pm/power.d that match the ones in /usr/lib/pm-utils/power.d and see if that still happens.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
You might want to see if you have pm-utils installed, which may have been pulled as a dependency for another package. If you do try creating empty files in /etc/pm/power.d that match the ones in /usr/lib/pm-utils/power.d and see if that still happens.
This appears to have worked! I say "appears" because I can't really know if it will randomly panic again in the future, but as far as I've tested it, it has not panicked.
Thanks very much R00KIE and Strike0.
Offline
You should try to figure out which script is causing the problem, you never know when it will come in handy trying to figure out some related problem in the future.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline