* Re: 2.6.30-rc6: i915: Xserver crash - oops after rmmod
[not found] <4A11B52E.7080808@gmail.com>
@ 2009-05-28 0:14 ` Andrew Morton
2009-05-28 5:13 ` Niel Lambrechts
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2009-05-28 0:14 UTC (permalink / raw)
To: Niel Lambrechts; +Cc: linux-kernel, eric, jbarnes, linux-acpi
On Mon, 18 May 2009 21:21:18 +0200
Niel Lambrechts <niel.lambrechts@gmail.com> wrote:
> Hi,
Huge response, huh?
> I use s2disk on a daily basis, and I recently tried to switch to UXA in
> xorg.conf in anticipation of KMS, for my Lenovo W500 with the integrated
> Intel card active:
> 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series
> Chipset Integrated Graphics Controller (rev 07)
>
> Resuming worked just fine the last couple of days using UXA but I
> admittedly frequently update Mesa/Xorg/git kernel.
>
> Tonight the X server crashed on resume and I was placed back at the KDM
> prompt. I thought "$%^&$ the one time I actually had real applications
> open! I am switching back to EXA!", so I changed AccelMethod back to
> "exa" and decided to unload all i915 modules - i915, drm, and video.
>
> The latter unexpectedly returned "Killed", although none of these
> modules showed any 'used by' count.
>
> I then did 'init 5' upon which I had a black screen, and decided to
> reboot. I then noticed that the following OOPS occurred prior to the
> reboot, likely the result of my "rmmod drm" or "rmmod output".
>
> May 18 19:35:56 linux-7vph kernel: Restarting tasks ... done.
> May 18 19:36:07 linux-7vph kdm[2882]: X server for display :0 terminated
> unexpectedly
> May 18 19:36:18 linux-7vph bonobo-activation-server (niella-10440):
> could not associate with desktop session: Failed to connect to socket
> /tmp/dbus-snlESQlAbp: Connection refused
> May 18 19:36:32 linux-7vph kernel: [drm:gm45_get_vblank_counter] *ERROR*
> trying to get vblank count for disabled pipe 0
> May 18 19:37:01 linux-7vph kernel: [drm:gm45_get_vblank_counter] *ERROR*
> trying to get vblank count for disabled pipe 0
> May 18 19:37:03 linux-7vph init: Switching to runlevel: 3
> May 18 19:37:34 linux-7vph kernel: mtrr: MTRR 4 not used
> May 18 19:37:34 linux-7vph kernel: [drm] Module unloaded
> May 18 19:37:47 linux-7vph kernel: BUG: unable to handle kernel NULL
> pointer dereference at 00000010
> May 18 19:37:47 linux-7vph kernel: IP: [<c02fbbef>] klist_put+0x12/0x6f
> May 18 19:37:47 linux-7vph kernel: *pde = 00000000
> May 18 19:37:47 linux-7vph kernel: Oops: 0000 [#1] SMP
> May 18 19:37:47 linux-7vph kernel: last sysfs file:
> /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/rfkill/rfkill1/state
> May 18 19:37:47 linux-7vph kernel: Modules linked in: usbhid hid tun
> i2c_algo_bit af_packet ip6t_LOG xt_tcpudp xt_pkttype ipt_LOG xt_limit
> snd_pcm_oss snd_mixer_oss snd_seq binfmt_misc ip6t_REJECT
> nf_conntrack_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT xt_state
> cpufreq_conservative cpufreq_userspace iptable_raw cpufreq_powersave
> iptable_filter acpi_cpufreq speedstep_lib ip6table_mangle
> nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4
> ip_tables ip6table_filter ip6_tables x_tables ipv6 microcode fuse loop
> dm_mod snd_usb_audio snd_usb_lib snd_rawmidi snd_seq_device arc4 ecb
> iwlagn iwlcore thinkpad_acpi rfkill led_class snd_hda_codec_conexant
> video(-) mac80211 ohci1394 battery ac output nvram ieee1394 rtc_cmos
> snd_hda_intel wmi snd_hda_codec rtc_core button snd_hwdep snd_pcm
> snd_timer snd i2c_i801 soundcore iTCO_wdt snd_page_alloc
> iTCO_vendor_support intel_agp cfg80211 rtc_lib e1000e i2c_core agpgart
> sr_mod cdrom joydev sg ehci_hcd uhci_hcd sd_mod usbcore ext4 jbd2 crc16
> edd ext3 mbcache jbd fan ahci l
> May 18 19:37:47 linux-7vph kernel: ibata scsi_mod thermal processor
> [last unloaded: drm]
> May 18 19:37:47 linux-7vph kernel:
> May 18 19:37:47 linux-7vph kernel: Pid: 10594, comm: rmmod Not tainted
> (2.6.30-rc6-pae #47) 40622XG
> May 18 19:37:47 linux-7vph kernel: EIP: 0060:[<c02fbbef>] EFLAGS:
> 00010246 CPU: 1
> May 18 19:37:47 linux-7vph kernel: EIP is at klist_put+0x12/0x6f
> May 18 19:37:47 linux-7vph kernel: EAX: f5c281f8 EBX: 00000001 ECX:
> 00000004 EDX: 00000001
> May 18 19:37:47 linux-7vph kernel: ESI: 00000000 EDI: f5c281f8 EBP:
> f44adef0 ESP: f44adedc
> May 18 19:37:47 linux-7vph kernel: DS: 007b ES: 007b FS: 00d8 GS: 0033
> SS: 0068
> May 18 19:37:47 linux-7vph kernel: Process rmmod (pid: 10594,
> ti=f44ac000 task=f5c7f0b0 task.ti=f44ac000)
> May 18 19:37:47 linux-7vph kernel: Stack:
> May 18 19:37:47 linux-7vph kernel: c0134d30 00000000 00000002 00000000
> c04297b4 f44adef8 c02fbc77 f44adf18
> May 18 19:37:47 linux-7vph kernel: c02fbd7b c04376d0 c04376d0 f5c281f8
> f5c7f0b0 00000000 f85e08c0 f44adf2c
> May 18 19:37:47 linux-7vph kernel: c026d83e 00000000 f85e08c0 00000000
> f44adf3c c026e6e1 f85e0980 bf994ca0
> May 18 19:37:47 linux-7vph kernel: Call Trace:
> May 18 19:37:47 linux-7vph kernel: [<c0134d30>] ? insert_work+0x78/0x81
> May 18 19:37:47 linux-7vph kernel: [<c02fbc77>] ? klist_del+0xd/0xf
> May 18 19:37:47 linux-7vph kernel: [<c02fbd7b>] ? klist_remove+0x58/0x81
> May 18 19:37:47 linux-7vph kernel: [<c026d83e>] ?
> bus_remove_driver+0x5c/0x89
> May 18 19:37:47 linux-7vph kernel: [<c026e6e1>] ?
> driver_unregister+0x2a/0x2e
> May 18 19:37:47 linux-7vph kernel: [<c0226253>] ?
> acpi_bus_unregister_driver+0xd/0xf
> May 18 19:37:47 linux-7vph kernel: [<f85de371>] ?
> cleanup_module+0xd/0x25 [video]
> May 18 19:37:47 linux-7vph kernel: [<c01477d5>] ?
> sys_delete_module+0x18a/0x1e3
> May 18 19:37:47 linux-7vph kernel: [<c017b9be>] ? remove_vma+0x46/0x4c
> May 18 19:37:47 linux-7vph kernel: [<c017c5d2>] ? do_munmap+0x20a/0x225
> May 18 19:37:47 linux-7vph kernel: [<c01029d4>] ?
> sysenter_do_call+0x12/0x28
> May 18 19:37:47 linux-7vph kernel: Code: 90 83 7d f0 00 74 09 85 ff 74
> 05 89 f8 ff 55 f0 8b 46 04 5a 5b 5e 5f 5d c3 55 89 e5 57 89 c7 56 53 89
> d3 83 ec 08 8b 30 83 e6 fe <8b> 46 10 89 45 f0 89 f0 e8 0b f4 00 00 84
> db 74 17 f6 07 01 74
> May 18 19:37:47 linux-7vph kernel: EIP: [<c02fbbef>] klist_put+0x12/0x6f
> SS:ESP 0068:f44adedc
> May 18 19:37:47 linux-7vph kernel: CR2: 0000000000000010
> May 18 19:37:47 linux-7vph kernel: ---[ end trace c76e3f0980caa485 ]---
> May 18 19:38:41 linux-7vph sudo: niella : TTY=tty2 ; PWD=/home/niella
> ; USER=root ; COMMAND=/sbin/reboot
>
The wordwrapping makes this painful to read.
rmmod crashed under drivers/acpi/video.c:acpi_video_exit()'s call to
acpi_bus_unregister_driver(). So it might be an acpi-related bug.
If it's reproducible at all, please raise a (non-wordwrapped!) report
against acpi at bugzilla.kernel.org, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.30-rc6: i915: Xserver crash - oops after rmmod
2009-05-28 0:14 ` 2.6.30-rc6: i915: Xserver crash - oops after rmmod Andrew Morton
@ 2009-05-28 5:13 ` Niel Lambrechts
2009-06-11 16:37 ` Jesse Barnes
2009-06-12 0:49 ` yakui_zhao
0 siblings, 2 replies; 4+ messages in thread
From: Niel Lambrechts @ 2009-05-28 5:13 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, eric, jbarnes, linux-acpi
Hi Andrew,
On 05/28/2009 02:14 AM, Andrew Morton wrote:
> On Mon, 18 May 2009 21:21:18 +0200
> Niel Lambrechts <niel.lambrechts@gmail.com> wrote:
>
>
>> Hi,
>>
> Huge response, huh?
>
Yeah, no one fell for the humour coating... ;-)
> The wordwrapping makes this painful to read.
>
> rmmod crashed under drivers/acpi/video.c:acpi_video_exit()'s call to
> acpi_bus_unregister_driver(). So it might be an acpi-related bug.
>
> If it's reproducible at all, please raise a (non-wordwrapped!) report
> against acpi at bugzilla.kernel.org, thanks.
>
Ugh, Thunderbird doesn't format it like this when you preview - but when
I save it to a file it looks horrible...
I don't think I would easily be able to reproduce this, but I still had
a copy of my kernel log for that date. The bug is filed at:
http://bugzilla.kernel.org/show_bug.cgi?id=13396
Also, if you do have a moment, I'd love to hear your opinion on my post
"2.6.29.4: hibernation fails with large kernel trace"!
Thanks for the response!
Niel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.30-rc6: i915: Xserver crash - oops after rmmod
2009-05-28 5:13 ` Niel Lambrechts
@ 2009-06-11 16:37 ` Jesse Barnes
2009-06-12 0:49 ` yakui_zhao
1 sibling, 0 replies; 4+ messages in thread
From: Jesse Barnes @ 2009-06-11 16:37 UTC (permalink / raw)
To: Niel Lambrechts; +Cc: Andrew Morton, linux-kernel, eric, linux-acpi
On Thu, 28 May 2009 07:13:57 +0200
Niel Lambrechts <niel.lambrechts@gmail.com> wrote:
> Hi Andrew,
>
> On 05/28/2009 02:14 AM, Andrew Morton wrote:
> > On Mon, 18 May 2009 21:21:18 +0200
> > Niel Lambrechts <niel.lambrechts@gmail.com> wrote:
> >
> >
> >> Hi,
> >>
> > Huge response, huh?
> >
> Yeah, no one fell for the humour coating... ;-)
>
> > The wordwrapping makes this painful to read.
> >
> > rmmod crashed under drivers/acpi/video.c:acpi_video_exit()'s call to
> > acpi_bus_unregister_driver(). So it might be an acpi-related bug.
> >
> > If it's reproducible at all, please raise a (non-wordwrapped!)
> > report against acpi at bugzilla.kernel.org, thanks.
> >
> Ugh, Thunderbird doesn't format it like this when you preview - but
> when I save it to a file it looks horrible...
>
> I don't think I would easily be able to reproduce this, but I still
> had a copy of my kernel log for that date. The bug is filed at:
> http://bugzilla.kernel.org/show_bug.cgi?id=13396
>
> Also, if you do have a moment, I'd love to hear your opinion on my
> post "2.6.29.4: hibernation fails with large kernel trace"!
>
> Thanks for the response!
Btw I think this is fixed now (I noticed it recently but it's gone
now). IIRC it was a bug caused by trying to uninit the ACPI video
portion of the driver twice at unload time.
--
Jesse Barnes, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.30-rc6: i915: Xserver crash - oops after rmmod
2009-05-28 5:13 ` Niel Lambrechts
2009-06-11 16:37 ` Jesse Barnes
@ 2009-06-12 0:49 ` yakui_zhao
1 sibling, 0 replies; 4+ messages in thread
From: yakui_zhao @ 2009-06-12 0:49 UTC (permalink / raw)
To: Niel Lambrechts
Cc: Andrew Morton, linux-kernel@vger.kernel.org, eric@anholt.net,
jbarnes@virtuousgeek.org, linux-acpi@vger.kernel.org
On Thu, 2009-05-28 at 13:13 +0800, Niel Lambrechts wrote:
> Hi Andrew,
>
> On 05/28/2009 02:14 AM, Andrew Morton wrote:
> > On Mon, 18 May 2009 21:21:18 +0200
> > Niel Lambrechts <niel.lambrechts@gmail.com> wrote:
> >
> >
> >> Hi,
> >>
> > Huge response, huh?
> >
> Yeah, no one fell for the humour coating... ;-)
>
> > The wordwrapping makes this painful to read.
> >
> > rmmod crashed under drivers/acpi/video.c:acpi_video_exit()'s call to
> > acpi_bus_unregister_driver(). So it might be an acpi-related bug.
> >
> > If it's reproducible at all, please raise a (non-wordwrapped!) report
> > against acpi at bugzilla.kernel.org, thanks.
> >
> Ugh, Thunderbird doesn't format it like this when you preview - but when
> I save it to a file it looks horrible...
>
> I don't think I would easily be able to reproduce this, but I still had
> a copy of my kernel log for that date. The bug is filed at:
> http://bugzilla.kernel.org/show_bug.cgi?id=13396
>
> Also, if you do have a moment, I'd love to hear your opinion on my post
> "2.6.29.4: hibernation fails with large kernel trace"!
>
> Thanks for the response!
Yes. This bug can be reproduced very easily.
I attach one patch in bug
http://bugzilla.kernel.org/show_bug.cgi?id=13396#C5.
And the issue should be fixed by the patch.
In the patch the reference count is added to avoid loading/unloading the
ACPI video bus twice.
Thanks.
>
> Niel
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-06-12 0:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <4A11B52E.7080808@gmail.com>
2009-05-28 0:14 ` 2.6.30-rc6: i915: Xserver crash - oops after rmmod Andrew Morton
2009-05-28 5:13 ` Niel Lambrechts
2009-06-11 16:37 ` Jesse Barnes
2009-06-12 0:49 ` yakui_zhao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).