kernel crash after suspend and resume, Intel VT gets disabled

Bug #255788 reported by Ravindran K
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Kernel looks like crashing after resume.

ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 22
[ 8.115556] PM: Finishing wakeup.
[ 8.115557] Restarting tasks ... <6>usb 3-2: USB disconnect, address 4
[ 8.120513] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000074
[ 8.120516] printing eip: f90e4dd2 *pdpt = 000000003547e001 *pde = 0000000000000000
[ 8.120521] Oops: 0000 [#1] SMP
[ 8.120523] Modules linked in: i915 drm vmnet(P) binfmt_misc vmmon(P) rfcomm l2cap bluetooth tun ppdev acpi_cpufreq dock cpufreq_stats video output cpufreq_ondemand freq_table cpufreq_powersave container cpufreq_conservative sbs cpufreq_userspace sbshc battery iptable_filter ip_tables x_tables ac loop sbp2 parport_pc lp parport snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device serio_raw intel_agp snd agpgart psmouse button soundcore evdev heci iTCO_wdt iTCO_vendor_support pcspkr shpchp pci_hotplug ext3 jbd mbcache pata_acpi sg sr_mod sd_mod cdrom usb_storage usbhid hid libusual pata_marvell floppy ohci1394 ieee1394 ahci ata_generic libata scsi_mod ehci_hcd uhci_hcd usbcore thermal processor fan fuse vesafb fbcon tileblit font bitblit softcursor
[ 8.120563]
[ 8.120564] Pid: 6954, comm: apcupsd Tainted: P (2.6.24-20-server #1)
[ 8.120566] EIP: 0060:[<f90e4dd2>] EFLAGS: 00210286 CPU: 0
[ 8.120573] EIP is at hiddev_ioctl+0x42/0xb30 [usbhid]
[ 8.120575] EAX: 00000000 EBX: f61e6000 ECX: df8ab000 EDX: df8a98c0
[ 8.120576] ESI: f6ccb0c0 EDI: 400c4807 EBP: 00000000 ESP: f595beb8
[ 8.120578] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 8.120580] Process apcupsd (pid: 6954, ti=f595a000 task=f60db700 task.ti=f595a000)
[ 8.120581] Stack: f58fdbc0 000000ef df8ab000 f595bfb8 f595bf90 f60dbb94 00000005 00000000
[ 8.120585] f595bfb8 f595a000 c0107903 00000000 c019d819 f595bf64 00000811 00000000
[ 8.120589] 00000000 0003fa6c 000081a4 f60dbb94 00000000 00000000 00000000 00000000
[ 8.120593] Call Trace:
[ 8.120606] [<c0107903>] do_notify_resume+0x93/0x730
[ 8.120614] [<c019d819>] cp_new_stat64+0xf9/0x110
[ 8.120641] [<f90e4b49>] hiddev_read+0xd9/0x230 [usbhid]
[ 8.120657] [<c01a69f8>] do_ioctl+0x78/0x90
[ 8.120667] [<c01a6c3e>] vfs_ioctl+0x22e/0x2b0
[ 8.120676] [<c01a6d16>] sys_ioctl+0x56/0x70
[ 8.120684] [<c010839a>] sysenter_past_esp+0x6b/0xa1
[ 8.120707] =======================
[ 8.120708] Code: b4 24 a8 00 00 00 89 ac 24 b0 00 00 00 8b 5a 70 8b 93 10 06 00 00 8b 42 14 89 44 24 08 89 c1 8b 80 4c 0c 00 00 8b a9 7c 0d 00 00 <8b> 70 74 c7 44 24 04 fb ff ff ff 8b 02 85 c0 0f 84 d9 00 00 00
[ 8.120729] EIP: [<f90e4dd2>] hiddev_ioctl+0x42/0xb30 [usbhid] SS:ESP 0068:f595beb8
[ 8.120736] ---[ end trace 8d850c0bef8a62a4 ]---
[ 8.131080] done.
[ 8.396616] usb 3-2: new low speed USB device using uhci_hcd and address 5
[ 8.417444] e1000e: Intel(R) PRO/1000 Network Driver - 0.2.0
[ 8.417446] e1000e: Copyright (c) 1999-2007 Intel Corporation.
[ 8.417478] ACPI: PCI Interrupt 0000:00:19.0[A] -> GSI 20 (level, low) -> IRQ 17
[ 8.417487] PCI: Setting latency timer of device 0000:00:19.0 to 64
[ 8.578225] 0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) 00:19:d1:a8:73:fa
[ 8.578228] 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
[ 8.578248] 0000:00:19.0: eth0: MAC: 5, PHY: 6, PBA No: ffffff-0ff
[ 8.604077] usb 3-2: configuration #1 chosen from 1 choice
[ 8.647752] bridge-eth0: enabling the bridge
[ 8.647756] bridge-eth0: up
[ 9.146540] hiddev97hidraw3: USB HID v1.10 Device [American Power Conversion Back-UPS BR 800 FW:9.o4 .I USB FW:o4 ] on usb-0000:00:1a.2-2
[ 9.146619] usb 5-1: USB disconnect, address 2
[ 9.533044] usb 5-1: new low speed USB device using uhci_hcd and address 4
[ 9.722046] usb 5-1: configuration #1 chosen from 1 choice
[ 9.739135] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.1/usb5/5-1/5-1:1.0/input/input7
[ 9.882015] input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.1-1
[ 9.882071] usb 5-2: USB disconnect, address 3
[ 10.225286] 0000:00:19.0: eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
[ 10.225288] 0000:00:19.0: eth0: 10/100 speed: disabling TSO
[ 10.412232] usb 5-2: new low speed USB device using uhci_hcd and address 5
[ 10.595251] usb 5-2: configuration #1 chosen from 1 choice
[ 10.613363] input: BTC USB Multimedia Keyboard as /devices/pci0000:00/0000:00:1d.1/usb5/5-2/5-2:1.0/input/input8
[ 10.744468] input,hidraw1: USB HID v1.10 Keyboard [BTC USB Multimedia Keyboard] on usb-0000:00:1d.1-2
[ 10.785042] input: BTC USB Multimedia Keyboard as /devices/pci0000:00/0000:00:1d.1/usb5/5-2/5-2:1.1/input/input9
[ 10.934306] input,hiddev96,hidraw2: USB HID v1.10 Device [BTC USB Multimedia Keyboard] on usb-0000:00:1d.1-2

Tags: cft-2.6.27
Revision history for this message
Ravindran K (ravindran-k) wrote :

Hardware is a Intel DG33TL.

Also, found the VT is disabled after resume. VMware reports the same.

Revision history for this message
Ravindran K (ravindran-k) wrote :
Download full text (6.1 KiB)

More info..

# uname -a
Linux ravi-desktop 2.6.24-20-server #1 SMP Mon Jul 28 14:31:02 UTC 2008 i686 GNU/Linux

# lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82G33/G31/P35/P31 Express MEI Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DC-2 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6101 single-port PATA133 interface (rev b1)
06:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 70)

# lsmod
Module Size Used by
i915 32512 2
drm 82580 3 i915
vmnet 38700 13
binfmt_misc 12808 1
vmmon 113772 0
rfcomm 41744 2
l2cap 25600 13 rfcomm
bluetooth 60900 4 rfcomm,l2cap
tun 12544 0
ppdev 10372 0
acpi_cpufreq 10668 0
dock 11280 0
cpufreq_stats 7104 0
video 19856 0
output 4736 1 video
cpufreq_ondemand 9740 2
freq_table 5536 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
cpufreq_powersave 2688 0
container 5632 0
cpufreq_conservative 8712 0
sbs 15112...

Read more...

Revision history for this message
Ravindran K (ravindran-k) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in linux the kernel package in Launchpad.

Revision history for this message
Ravindran K (ravindran-k) wrote :

Moreover, after the suspend-resume, when I try to boot 64bit Intrepid Ibex in VMware , I get a message that the processor is not 64 bit. Screenshot attached. My preprocessor is a Intel Core2Duo E6750 2.66 Ghz .

Before the Suspend to RAM, everythign works as expected

Revision history for this message
Nick Ellery (nick.ellery) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it, because your description does not yet have enough information.

Please include the following additional information, if you have not already done so (pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
1. Please run the command "dmesg > dmesg.log" after a fresh boot and attach the resulting file "dmesg.log" to this bug report.
2. Please run the command "sudo lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.

For your reference, the full description of procedures for kernel-related bug reports is available at https://wiki.ubuntu.com/KernelTeamBugPolicies Thanks in advance!

Changed in linux:
status: New → Incomplete
Revision history for this message
Ravindran K (ravindran-k) wrote :
Revision history for this message
Ravindran K (ravindran-k) wrote :

here it is..

Revision history for this message
Ravindran K (ravindran-k) wrote :

Hey.. I also notice that there are no crashes today. Of course, the Intel VT disabling issues are still there..

Revision history for this message
Nick Ellery (nick.ellery) wrote :

Thanks for attaching those files.

Changed in linux:
importance: Undecided → Low
status: Incomplete → Confirmed
assignee: nobody → ubuntu-kernel-team
status: Confirmed → Triaged
Revision history for this message
Ravindran K (ravindran-k) wrote :

Greetings.

I have tried out 2.6.26-5 kernel and there are no crashes. However, Intel Virt. Tech still gets disabled post suspend and resume. Attaching some more logs/files.

OT: I also successfully configured vmware 1.06 under 2.6.26-15 kernel using patches for vmmon and vmnet. please check http://lenrek.wordpress.com/2008/08/09/vmware-server-106-for-linux-kernel-2626x

Revision history for this message
Ravindran K (ravindran-k) wrote :
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Ravindran K (ravindran-k) wrote :

Hi Leanne.

Unfortunately I'm unable to test (the VT part) this in 2.6.26-1-server as VMWare server 1.06 is not yet working in this kernel .

Will keep you posted ;)

Cheers!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Ravindran,

There is a serious bug which may affect you so I wanted to pass along the information. Due to an unresolved bug in the e1000e driver in the 2.6.27 Linux kernel, this driver/kernel should not be used on Intel ethernet hardware supported by the e1000e driver (Intel GigE). Doing so may render your network hardware permanently inoperable.

Older Intel ethernet hardware which uses the e1000 driver is not affected by this; however, some hardware which used the e1000 driver in previous Ubuntu releases, such as hardware that uses a PCI Express bus, has been moved from e1000 to e1000e in the latest kernel releases. If in doubt, do not use this driver/kernel and subscribe to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/263555 to be notified when the bug is fixed.

Thanks.

Revision history for this message
Ravindran K (ravindran-k) wrote :

hey Thanks Leann :),

BTW I tested SUSPEND on my current kernel 2.6.26-5-generic. No luck.. Exactly same behaviour.
Waiting for VMWare patches for 2.6.27-x..

Revision history for this message
childerik (childerik) wrote :

Hello.

I experienced the same problem with my Intel DG33TL.

I solved it with Intel customer service and here is the solution :

"Thank you for contacting Intel(R) Technical Support. We understand you are having problems with Intel(R) Virtualization Technology. Remove the RTC (Real Time Clock) battery and leave it out for 20 minutes. After this period of time, insert the battery back in and turn the system back on; if it displays POST messages, go into BIOS Setup Utility by pressing <F2> during the boot process. Once in the BIOS setup utility, press <F9> to restore BIOS default settings. Reset any customized BIOS settings. Clear all DMI event logs, which are located in the Advanced/Event Log Configuration section of the BIOS Setup utility. Press <F10> to save the new settings and reboot the system".

Bye.

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Ravindran,

Just curious if you saw the comment posted by @childerik and if it helped you at all? Thanks.

Changed in linux:
status: Triaged → Incomplete
Revision history for this message
Ravindran K (ravindran-k) wrote : Re: [Bug 255788] Re: kernel crash after suspend and resume, Intel VT gets disabled
Download full text (5.9 KiB)

Hi Leanne,

Unfortunately I'm working far from home from past 3 months so I was unable
to try the steps. Also, I have moved to VMware 2.0 so not sure whether the
issue is occurring with vmware 2.0

I will check the status at the earliest (the next time I get back home) and
let you know.

Thanks :)
Regs
Ravi

On Tue, Jan 13, 2009 at 5:11 PM, Leann Ogasawara <
<email address hidden>> wrote:

> Hi Ravindran,
>
> Just curious if you saw the comment posted by @childerik and if it
> helped you at all? Thanks.
>
> ** Changed in: linux (Ubuntu)
> Status: Triaged => Incomplete
>
> --
> kernel crash after suspend and resume, Intel VT gets disabled
> https://bugs.launchpad.net/bugs/255788
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "linux" source package in Ubuntu: Incomplete
>
> Bug description:
> Kernel looks like crashing after resume.
>
> ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 22
> [ 8.115556] PM: Finishing wakeup.
> [ 8.115557] Restarting tasks ... <6>usb 3-2: USB disconnect, address 4
> [ 8.120513] BUG: unable to handle kernel NULL pointer dereference at
> virtual address 00000074
> [ 8.120516] printing eip: f90e4dd2 *pdpt = 000000003547e001 *pde =
> 0000000000000000
> [ 8.120521] Oops: 0000 [#1] SMP
> [ 8.120523] Modules linked in: i915 drm vmnet(P) binfmt_misc vmmon(P)
> rfcomm l2cap bluetooth tun ppdev acpi_cpufreq dock cpufreq_stats video
> output cpufreq_ondemand freq_table cpufreq_powersave container
> cpufreq_conservative sbs cpufreq_userspace sbshc battery iptable_filter
> ip_tables x_tables ac loop sbp2 parport_pc lp parport snd_hda_intel
> snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_hwdep snd_seq_dummy
> snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer
> snd_seq_device serio_raw intel_agp snd agpgart psmouse button soundcore
> evdev heci iTCO_wdt iTCO_vendor_support pcspkr shpchp pci_hotplug ext3 jbd
> mbcache pata_acpi sg sr_mod sd_mod cdrom usb_storage usbhid hid libusual
> pata_marvell floppy ohci1394 ieee1394 ahci ata_generic libata scsi_mod
> ehci_hcd uhci_hcd usbcore thermal processor fan fuse vesafb fbcon tileblit
> font bitblit softcursor
> [ 8.120563]
> [ 8.120564] Pid: 6954, comm: apcupsd Tainted: P (2.6.24-20-server
> #1)
> [ 8.120566] EIP: 0060:[<f90e4dd2>] EFLAGS: 00210286 CPU: 0
> [ 8.120573] EIP is at hiddev_ioctl+0x42/0xb30 [usbhid]
> [ 8.120575] EAX: 00000000 EBX: f61e6000 ECX: df8ab000 EDX: df8a98c0
> [ 8.120576] ESI: f6ccb0c0 EDI: 400c4807 EBP: 00000000 ESP: f595beb8
> [ 8.120578] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> [ 8.120580] Process apcupsd (pid: 6954, ti=f595a000 task=f60db700
> task.ti=f595a000)
> [ 8.120581] Stack: f58fdbc0 000000ef df8ab000 f595bfb8 f595bf90 f60dbb94
> 00000005 00000000
> [ 8.120585] f595bfb8 f595a000 c0107903 00000000 c019d819 f595bf64
> 00000811 00000000
> [ 8.120589] 00000000 0003fa6c 000081a4 f60dbb94 00000000 00000000
> 00000000 00000000
> [ 8.120593] Call Trace:
> [ 8.120606] [<c0107903>] do_notify_resume+0x93/0x730
> [ 8.120614] [<c019d819>] cp_new_stat64+0xf9/0x11...

Read more...

Revision history for this message
Ravindran K (ravindran-k) wrote :

Greeting Leanne

I'm @ Home (Bangalore) and I had the oppurtunity to test this with the latest kernel:
  2.6.28-5-server #15-Ubuntu SMP Thu Jan 22 22:22:22 UTC 2009 i686 GNU/Linux

and Vmware Server 2.0 latest Build 122956.

I'm happy to say that all 64-bit OSes inside VmWare work as expected :) So you can close this.

Also attached the dmesg log (to check suspend/resume info).
Thanks for all the support.

Revision history for this message
Ravindran K (ravindran-k) wrote :

Just to clarify.. I didnt try the Hardware reset steps.. Only this I did was upgrade the VmWare server 2.0 to latest Build and also install the latest kernel from Jaunty. I did a Suspend and Resume. Then I started the 64 bit OSes, which worked as expected without throwing up any strange errors.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Thanks for the feedback. I'll go ahead and close this for now. Thanks.

Changed in linux:
status: Incomplete → Fix Released
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.