Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751948AbZIHRgP (ORCPT ); Tue, 8 Sep 2009 13:36:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751784AbZIHRgP (ORCPT ); Tue, 8 Sep 2009 13:36:15 -0400 Received: from mga02.intel.com ([134.134.136.20]:45165 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751494AbZIHRgN (ORCPT ); Tue, 8 Sep 2009 13:36:13 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,353,1249282800"; d="scan'208";a="446719678" Subject: Re: [Bug #13819] system freeze when switching to console From: reinette chatre To: Linus Torvalds Cc: "Rafael J. Wysocki" , Linux Kernel Mailing List , Kernel Testers List , Eric Anholt , "Ma, Ling" , "bugzilla-daemon@bugzilla.kernel.org" In-Reply-To: References: <2ehA7xoGvXL.A.4PB.3eBpKB@chimera> <1252427375.14735.130.camel@rc-desk> Content-Type: text/plain Date: Tue, 08 Sep 2009 10:36:15 -0700 Message-Id: <1252431375.14735.139.camel@rc-desk> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8955 Lines: 142 On Tue, 2009-09-08 at 10:00 -0700, Linus Torvalds wrote: > > On Tue, 8 Sep 2009, reinette chatre wrote: > > > On Sun, 2009-09-06 at 10:24 -0700, Rafael J. Wysocki wrote: > > > Please verify if it still should be listed and let me know > > > (either way). > > > > Issue is still present in 2.6.31-rc8. > > Is there any chance that you could connect a serial line to the machine? The system does not have a serial console, but I was able to set up netconsole. For what it is worth, I did not do this until now because (1) I was able to bisect the problem, and (2) I asked driver developers directly how I can help to debug this and I received no response. As you can see from the kernel version it is not a build of a vanilla kernel. It only contains changes related to the wireless networking work I am doing. Here is the output: [ 352.803652] render error detected, EIR: 0x00000010 [ 352.803684] IPEIR: 0x00000000 [ 352.803709] IPEHR: 0x01000000 [ 352.803732] INSTDONE: 0xfffffffe [ 352.803754] INSTPS: 0x0001e000 [ 352.803776] INSTDONE1: 0xffffffff [ 352.803801] ACTHD: 0x0480a3c8 [ 352.803823] page table error [ 352.803846] PGTBL_ER: 0x00100000 [ 352.803870] [drm:i915_handle_error] *ERROR* EIR stuck: 0x00000010, masking [ 352.803960] BUG: unable to handle kernel NULL pointer dereference at 0000000000000084 [ 352.804006] IP: [] i915_driver_irq_handler+0x26b/0xd20 [i915] [ 352.804006] PGD b5d00067 PUD b9753067 PMD 0 [ 352.804006] Oops: 0000 [#1] SMP [ 352.804006] last sysfs file: /sys/class/power_supply/BAT0/energy_full [ 352.804006] CPU 0 [ 352.804006] Modules linked in: i915 drm i2c_algo_bit i2c_core ipv6 acpi_cpufreq cpufreq_userspace cpufreq_powersave cpufreq_ondemand cpufreq_conservative cpufreq_stats freq_table container sbs sbshc arc4 ecb joydev af_packet pcmcia psmouse sony_laptop serio_raw yenta_socket rsrc_nonstatic pcmcia_core pcspkr iTCO_wdt iTCO_vendor_support rfkill intel_agp button battery tpm_infineon tpm tpm_bios processor video output ac evdev ext3 jbd mbcache sr_mod sg cdrom sd_mod ahci libata scsi_mod ehci_hcd uhci_hcd usbcore thermal fan thermal_sys [last unloaded: cfg80211] [ 352.804006] Pid: 4424, comm: Xorg Not tainted 2.6.31-rc8-wl-50925-gdcecd82-dirty #57 VGN-Z540N [ 352.804006] RIP: 0010:[] [] i915_driver_irq_handler+0x26b/0xd20 [i915] [ 352.804006] RSP: 0018:ffff880001e9de58 EFLAGS: 00010082 [ 352.804006] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 352.804006] RDX: ffffc9000007d898 RSI: 0000000000000001 RDI: ffffffff8132f0f8 [ 352.804006] RBP: ffff880001e9dee8 R08: 0000000000000002 R09: ffff880037373c38 [ 352.804006] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8800b57fe000 [ 352.804006] R13: 000000000000001f R14: ffff8800b57fe000 R15: ffff8800b9746000 [ 352.804006] FS: 00007fcc05d20700(0000) GS:ffff880001e9a000(0000) knlGS:0000000000000000 [ 352.804006] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 352.804006] CR2: 0000000000000084 CR3: 00000000b50c3000 CR4: 00000000000006f0 [ 352.804006] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 352.804006] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 352.804006] Process Xorg (pid: 4424, threadinfo ffff8800b6b1a000, task ffff880037373c00) [ 352.804006] Stack: [ 352.804006] ffffffff8106db7d 0000000000000086 ffff88009a5ce040 ffff8800b57fe158 [ 352.804006] <0> ffff8800b57fe1a8 ffff8800b57fe110 0004000000008000 0000000400440202 [ 352.804006] <0> 0000000000000086 0044020200000000 0000001000040000 0000000000000040 [ 352.804006] Call Trace: [ 352.804006] [ 352.804006] [] ? mark_held_locks+0x6d/0x90 [ 352.804006] [] handle_IRQ_event+0x68/0x170 [ 352.804006] [] handle_edge_irq+0xc1/0x160 [ 352.804006] [] handle_irq+0x1f/0x30 [ 352.804006] [] do_IRQ+0x6a/0xf0 [ 352.804006] [] ret_from_intr+0x0/0xf [ 352.804006] [ 352.804006] [] ? lock_acquire+0xe8/0x100 [ 352.804006] [] ? drm_irq_uninstall+0x65/0x180 [drm] [ 352.804006] [] ? mutex_lock_nested+0x45/0x320 [ 352.804006] [] ? drm_irq_uninstall+0x65/0x180 [drm] [ 352.804006] [] ? trace_hardirqs_on_caller+0x145/0x190 [ 352.804006] [] ? trace_hardirqs_on+0xd/0x10 [ 352.804006] [] ? drm_irq_uninstall+0x65/0x180 [drm] [ 352.804006] [] ? i915_gem_idle+0x225/0x330 [i915] [ 352.804006] [] ? i915_gem_leavevt_ioctl+0x37/0x50 [i915] [ 352.804006] [] ? drm_ioctl+0x17d/0x3c0 [drm] [ 352.804006] [] ? i915_gem_leavevt_ioctl+0x0/0x50 [i915] [ 352.804006] [] ? do_wp_page+0x185/0x7a0 [ 352.804006] [] ? __up_read+0x23/0xb0 [ 352.804006] [] ? vfs_ioctl+0x7d/0xa0 [ 352.804006] [] ? do_vfs_ioctl+0x8a/0x5c0 [ 352.804006] [] ? up_read+0x26/0x30 [ 352.804006] [] ? retint_swapgs+0xe/0x13 [ 352.804006] [] ? sys_ioctl+0x99/0xa0 [ 352.804006] [] ? system_call_fastpath+0x16/0x1b [ 352.804006] Code: 00 8b 18 49 8b 87 b0 05 00 00 48 8b 80 20 02 00 00 48 85 c0 74 21 48 8b 80 00 01 00 00 48 8b 50 08 48 85 d2 74 11 49 8b 44 24 78 <8b> 80 84 00 00 00 89 82 08 08 00 00 f6 45 a0 02 0f 85 47 03 00 [ 352.804006] RIP [] i915_driver_irq_handler+0x26b/0xd20 [i915] [ 352.804006] RSP [ 352.804006] CR2: 0000000000000084 [ 352.804006] ---[ end trace 756dbe26c2f29fdd ]--- [ 352.804006] Kernel panic - not syncing: Fatal exception in interrupt [ 352.804006] Pid: 4424, comm: Xorg Tainted: G D 2.6.31-rc8-wl-50925-gdcecd82-dirty #57 [ 352.804006] Call Trace: [ 352.804006] [] panic+0xa0/0x170 [ 352.804006] [] ? _spin_unlock_irqrestore+0x58/0x60 [ 352.804006] [] ? release_console_sem+0x1f5/0x240 [ 352.804006] [] ? console_unblank+0x75/0x90 [ 352.804006] [] oops_end+0xd4/0xe0 [ 352.804006] [] no_context+0xe8/0x260 [ 352.804006] [] __bad_area_nosemaphore+0x155/0x1f0 [ 352.804006] [] ? trace_hardirqs_off+0xd/0x10 [ 352.804006] [] ? _spin_unlock_irqrestore+0x58/0x60 [ 352.804006] [] ? try_to_wake_up+0xe8/0x210 [ 352.804006] [] bad_area_nosemaphore+0xe/0x10 [ 352.804006] [] do_page_fault+0x29e/0x350 [ 352.804006] [] page_fault+0x1f/0x30 [ 352.804006] [] ? _spin_unlock_irqrestore+0x58/0x60 [ 352.804006] [] ? i915_driver_irq_handler+0x26b/0xd20 [i915] [ 352.804006] [] ? i915_driver_irq_handler+0x18b/0xd20 [i915] [ 352.804006] [] ? mark_held_locks+0x6d/0x90 [ 352.804006] [] handle_IRQ_event+0x68/0x170 [ 352.804006] [] handle_edge_irq+0xc1/0x160 [ 352.804006] [] handle_irq+0x1f/0x30 [ 352.804006] [] do_IRQ+0x6a/0xf0 [ 352.804006] [] ret_from_intr+0x0/0xf [ 352.804006] [] ? lock_acquire+0xe8/0x100 [ 352.804006] [] ? drm_irq_uninstall+0x65/0x180 [drm] [ 352.804006] [] ? mutex_lock_nested+0x45/0x320 [ 352.804006] [] ? drm_irq_uninstall+0x65/0x180 [drm] [ 352.804006] [] ? trace_hardirqs_on_caller+0x145/0x190 [ 352.804006] [] ? trace_hardirqs_on+0xd/0x10 [ 352.804006] [] ? drm_irq_uninstall+0x65/0x180 [drm] [ 352.804006] [] ? i915_gem_idle+0x225/0x330 [i915] [ 352.804006] [] ? i915_gem_leavevt_ioctl+0x37/0x50 [i915] [ 352.804006] [] ? drm_ioctl+0x17d/0x3c0 [drm] [ 352.804006] [] ? i915_gem_leavevt_ioctl+0x0/0x50 [i915] [ 352.804006] [] ? do_wp_page+0x185/0x7a0 [ 352.804006] [] ? __up_read+0x23/0xb0 [ 352.804006] [] ? vfs_ioctl+0x7d/0xa0 [ 352.804006] [] ? do_vfs_ioctl+0x8a/0x5c0 [ 352.804006] [] ? up_read+0x26/0x30 [ 352.804006] [] ? retint_swapgs+0xe/0x13 [ 352.804006] [] ? sys_ioctl+0x99/0xa0 [ 352.804006] [] ? system_call_fastpath+0x16/0x1b -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/