From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@bugzilla.kernel.org
Subject: [Bug 46471] New: udl causes panic on X exit or xrandr action
Date: Mon, 27 Aug 2012 12:23:27 +0000 (UTC)
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from mail.kernel.org (mail.kernel.org [198.145.19.201])
by gabe.freedesktop.org (Postfix) with ESMTP id 268349E710
for ;
Mon, 27 Aug 2012 05:23:33 -0700 (PDT)
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id 35B102027D
for ;
Mon, 27 Aug 2012 12:23:31 +0000 (UTC)
Received: from bugzilla.kernel.org (unknown [198.145.19.217])
by mail.kernel.org (Postfix) with ESMTP id 97FE020278
for ;
Mon, 27 Aug 2012 12:23:29 +0000 (UTC)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugzilla.kernel.org/show_bug.cgi?id=46471
Summary: udl causes panic on X exit or xrandr action
Product: Drivers
Version: 2.5
Kernel Version: 3.5.3
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Video(DRI - non Intel)
AssignedTo: drivers_video-dri@kernel-bugs.osdl.org
ReportedBy: jh+kbugs@daria.co.uk
Regression: No
The DRM UDL driver causes kernel panics / lockups on X termination and other X
related activities, such as xrandr rotation. The following log is from the
standard mainline 3.5.3 tree (using the standard ArchLinux config, hence the
kernel designation). This IS a mainline kernel. Machine is an Atom 1.6Mhz board
with 1GB RAM and is normally outstandingly stable. The following was captured
using netconsole.
[ 116.957651] open /dev/fb1 user=1 fb_info=f42b1800 count=1
[ 117.031397] [drm] write mode info 144
[ 120.984895] [drm] write mode info 144
[ 121.532829] [drm] write mode info 144
[ 212.828371] BUG: unable to handle kernel paging request at 00100104
[ 212.828572] IP: [] __activate_page+0x97/0x130
[ 212.828720] *pde = 00000000
[ 212.828805] Oops: 0002 [#1] PREEMPT SMP
[ 212.828934] Modules linked in: netconsole configfs udl drm_usb syscopyarea
sysfillrect sysimgblt hwmon_vid i915 i2c_algo_bit drm_kms_helper
snd_hda_codec_realtek gpio_ich snd_hda_intel snd_hda_codec drm i2c_i801 lpc_ich
psmouse i2c_core intel_agp intel_gtt agpgart ppdev snd_hwdep snd_pcm
snd_page_alloc snd_timer snd parport_pc parport serio_raw evdev coretemp pcspkr
soundcore e1000e acpi_cpufreq mperf video processor microcode button nfs
nfs_acl auth_rpcgss fscache lockd sunrpc autofs4 sd_mod pata_acpi ata_generic
uhci_hcd ata_piix libata scsi_mod ehci_hcd usbcore usb_common ext4 crc16 jbd2
mbcache
[ 212.830830]
[ 212.830851] Pid: 455, comm: X Not tainted 3.5.3-ARCH #1 MSI
A9830IMS/A9830IMS
[ 212.830851] EIP: 0060:[] EFLAGS: 00010007 CPU: 0
[ 212.830851] EIP is at __activate_page+0x97/0x130
[ 212.830851] EAX: 00200200 EBX: f7464060 ECX: ffffffff EDX: 00100100
[ 212.830851] ESI: f6435da8 EDI: ffffffff EBP: f433be30 ESP: f433be18
[ 212.830851] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 212.830851] CR0: 80050033 CR2: 00100104 CR3: 354dd000 CR4: 000007c0
[ 212.830851] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 212.830851] DR6: ffff0ff0 DR7: 00000400
[ 212.830851] Process X (pid: 455, ti=f433a000 task=f5508aa0 task.ti=f433a000)
[ 212.830851] Stack:
[ 212.830851] 00000002 00000001 00000000 c0638080 00000001 c01f2c90 f433be58
c01f34b2
[ 212.830851] c0638080 00000000 c01f2c90 00000246 f6cde600 f7464200 f6cde600
f5434510
[ 212.830851] f433be68 c01f38e6 f7464200 b7144000 f433be74 c01f394b f7464200
f433bed8
[ 212.830851] Call Trace:
[ 212.830851] [] ? pagevec_move_tail_fn+0x70/0x70
[ 212.830851] [] pagevec_lru_move_fn+0x92/0xe0
[ 212.830851] [] ? pagevec_move_tail_fn+0x70/0x70
[ 212.830851] [] activate_page+0x86/0xb0
[ 212.830851] [] mark_page_accessed+0x3b/0x50
[ 212.830851] [] unmap_single_vma+0x404/0x5f0
[ 212.830851] [] unmap_vmas+0x4c/0x90
[ 212.830851] [] unmap_region+0x63/0xb0
[ 212.830851] [] ? fb_ioctl+0x1/0x60
[ 212.830851] [] do_munmap+0x1d6/0x2e0
[ 212.830851] [] vm_munmap+0x3d/0x60
[ 212.830851] [] sys_munmap+0x1d/0x20
[ 212.830851] [] sysenter_do_call+0x12/0x28
[ 212.830851] Code: 03 89 55 ec 19 d2 83 e2 02 c1 e8 0e 83 e0 01 83 f8 01 89
f0 19 ff 81 cf 00 fc ff ff 89 f9 e8 31 a6 03 00 8b 53 14 89 f9 8b 43 18 <89> 42
04 89 10 8b 55 ec c7 43 14 00 01 10 00 c7 43 18 00 02 20
[ 212.830851] EIP: [] __activate_page+0x97/0x130 SS:ESP
0068:f433be18
[ 212.830851] CR2: 0000000000100104
[ 212.830851] ---[ end trace 338b2b653abfa9ff ]---
[ 212.830851] note: X[455] exited with preempt_count 3
[ 212.859675] BUG: scheduling while atomic: X/455/0x00000004
[ 212.859693] Modules linked in: netconsole configfs udl drm_usb syscopyarea
sysfillrect sysimgblt hwmon_vid i915 i2c_algo_bit drm_kms_helper
snd_hda_codec_realtek gpio_ich snd_hda_intel snd_hda_codec drm i2c_i801 lpc_ich
psmouse i2c_core intel_agp intel_gtt agpgart ppdev snd_hwdep snd_pcm
snd_page_alloc snd_timer snd parport_pc parport serio_raw evdev coretemp pcspkr
soundcore e1000e acpi_cpufreq mperf video processor microcode button nfs
nfs_acl auth_rpcgss fscache lockd sunrpc autofs4 sd_mod pata_acpi ata_generic
uhci_hcd ata_piix libata scsi_mod ehci_hcd usbcore usb_common ext4 crc16 jbd2
mbcache
[ 212.860313] Pid: 455, comm: X Tainted: G D 3.5.3-ARCH #1
[ 212.860336] Call Trace:
[ 212.860365] [] __schedule_bug+0x52/0x5e
[ 212.860396] [] __schedule+0x712/0x7b0
[ 212.860419] [] ? smp_apic_timer_interrupt+0x5e/0x8d
[ 212.860441] [] ? apic_timer_interrupt+0x31/0x38
[ 212.860473] [] schedule+0x23/0x60
[ 212.860495] [] rwsem_down_failed_common+0x95/0xe0
[ 212.860516] [] rwsem_down_read_failed+0x12/0x14
[ 212.860538] [] call_rwsem_down_read_failed+0x7/0xc
[ 212.860568] [] ? down_read+0x12/0x20
[ 212.860589] [] acct_collect+0x42/0x170
[ 212.860607] [] do_exit+0x5ea/0x800
[ 212.860627] [] ? printk+0x3d/0x3f
[ 212.860656] [] ? kmsg_dump+0xbb/0xd0
[ 212.860676] [] oops_end+0x89/0xd0
[ 212.860698] [] no_context+0x18d/0x195
[ 212.860721] [] __bad_area_nosemaphore+0x134/0x13c
[ 212.860754] [] ? zone_watermark_ok+0x34/0x40
[ 212.860773] [] ? spurious_fault+0xbd/0xbd
[ 212.860789] [] bad_area_nosemaphore+0x17/0x19
[ 212.860804] [] do_page_fault+0x440/0x510
[ 212.860829] [] ? __alloc_pages_nodemask+0x139/0x770
[ 212.860846] [] ? spurious_fault+0xbd/0xbd
[ 212.860860] [] error_code+0x67/0x6c
[ 212.860877] [] ? __activate_page+0x97/0x130
[ 212.860900] [] ? pagevec_move_tail_fn+0x70/0x70
[ 212.860915] [] pagevec_lru_move_fn+0x92/0xe0
[ 212.860930] [] ? pagevec_move_tail_fn+0x70/0x70
[ 212.860945] [] activate_page+0x86/0xb0
[ 212.860967] [] mark_page_accessed+0x3b/0x50
[ 212.860984] [] unmap_single_vma+0x404/0x5f0
[ 212.861001] [] unmap_vmas+0x4c/0x90
[ 212.861016] [] unmap_region+0x63/0xb0
[ 212.861039] [] ? fb_ioctl+0x1/0x60
[ 212.861055] [] do_munmap+0x1d6/0x2e0
[ 212.861070] [] vm_munmap+0x3d/0x60
[ 212.861085] [] sys_munmap+0x1d/0x20
[ 212.861107] [] sysenter_do_call+0x12/0x28
[ 218.363337] ------------[ cut here ]------------
[ 218.363337] WARNING: at kernel/watchdog.c:242
watchdog_overflow_callback+0xac/0xd0()
[ 218.363337] Hardware name: A9830IMS
[ 218.363337] Watchdog detected hard LOCKUP on cpu 0
[ 218.363337] Modules linked in:[ 218.363337] netconsole configfs udl
drm_usb syscopyarea sysfillrect sysimgblt hwmon_vid i915 i2c_algo_bit
drm_kms_helper snd_hda_codec_realtek gpio_ich snd_hda_intel snd_hda_codec drm
i2c_i801 lpc_ich psmouse i2c_core intel_agp intel_gtt agpgart ppdev snd_hwdep
snd_pcm snd_page_alloc snd_timer snd parport_pc parport serio_raw evdev
coretemp pcspkr soundcore e1000e acpi_cpufreq mperf video processor microcode
button nfs nfs_acl auth_rpcgss fscache lockd sunrpc autofs4 sd_mod pata_acpi
ata_generic uhci_hcd ata_piix libata scsi_mod ehci_hcd usbcore usb_common ext4
crc16 jbd2 mbcache
Pid: 68, comm: jbd2/sda2-8 Tainted: G D W 3.5.3-ARCH #1
[ 218.363337] Call Trace:
[ 218.363337] [] warn_slowpath_common+0x72/0xa0
[ 218.363337] [] ? watchdog_overflow_callback+0xac/0xd0
[ 218.363337] [] ? watchdog_overflow_callback+0xac/0xd0
[ 218.363337] [] ? touch_nmi_watchdog+0x70/0x70
[ 218.363337] [] warn_slowpath_fmt+0x33/0x40
[ 218.363337] [] watchdog_overflow_callback+0xac/0xd0
[ 218.363337] [] __perf_event_overflow+0xa6/0x280
[ 218.363337] [] perf_event_overflow+0x15/0x20
[ 218.363337] [] intel_pmu_handle_irq+0x154/0x2c0
[ 218.363337] [] ? drive_stat_acct+0xc2/0x190
[ 218.363337] [] ? submit_bio+0x72/0x100
[ 218.363337] [] ? ata_sff_exec_command+0x1e/0x30 [libata]
[ 218.363337] [] perf_event_nmi_handler+0x1b/0x20
[ 218.363337] [] nmi_handle.isra.0+0x41/0x60
[ 218.363337] [] do_nmi+0xe2/0x400
[ 218.363337] [] ? unlock_page+0x1d/0x20
[ 218.363337] [] ? __block_write_full_page+0x229/0x370
[ 218.363337] [] nmi_stack_correct+0x2f/0x34
[ 218.363337] [] ? _raw_spin_lock_irqsave+0x3a/0x50
[ 218.363337] [] pagevec_lru_move_fn+0x72/0xe0
[ 218.363337] [] ? pagevec_move_tail_fn+0x70/0x70
[ 218.363337] [] lru_add_drain_cpu+0x7a/0xc0
[ 218.363337] [] lru_add_drain+0x1e/0x40
[ 218.363337] [] __pagevec_release+0x10/0x30
[ 218.363337] [] write_cache_pages+0x1fe/0x430
[ 218.363337] [] ? bdi_set_max_ratio+0x80/0x80
[ 218.363337] [] ? jbd2_journal_put_journal_head+0xe9/0x1c0 [jbd2]
[ 218.363337] [] ? __jbd2_journal_remove_checkpoint+0x4d/0x170
[jbd2]
[ 218.363337] [] ? update_curr+0x13d/0x210
[ 218.363337] [] ? sched_clock_local+0xb2/0x1a0
[ 218.363337] [] ? journal_clean_one_cp_list+0x79/0xc0 [jbd2]
[ 218.363337] [] generic_writepages+0x37/0x60
[ 218.363337] [] jbd2_journal_commit_transaction+0x37e/0x1730
[jbd2]
[ 218.363337] [] ? __dequeue_entity+0x25/0x40
[ 218.363337] [] ? __switch_to+0xe1/0x290
[ 218.363337] [] ? finish_task_switch+0x41/0xc0
[ 218.363337] [] kjournald2+0x99/0x200 [jbd2]
[ 218.363337] [] ? abort_exclusive_wait+0x80/0x80
[ 218.363337] [] ? commit_timeout+0x10/0x10 [jbd2]
[ 218.363337] [] kthread+0x72/0x80
[ 218.363337] [] ? kthread_freezable_should_stop+0x50/0x50
[ 218.363337] [] kernel_thread_helper+0x6/0x10
[ 218.363337] ---[ end trace 338b2b653abfaa00 ]---
[ 212.863327] ------------[ cut here ]------------
[ 212.863327] WARNING: at kernel/watchdog.c:242
watchdog_overflow_callback+0xac/0xd0()
[ 212.863327] Hardware name: A9830IMS
[ 212.863327] Watchdog detected hard LOCKUP on cpu 1
[ 212.863327] Modules linked in:[ 212.863327] netconsole configfs udl
drm_usb syscopyarea sysfillrect sysimgblt hwmon_vid i915 i2c_algo_bit
drm_kms_helper snd_hda_codec_realtek gpio_ich snd_hda_intel snd_hda_codec drm
i2c_i801 lpc_ich psmouse i2c_core intel_agp intel_gtt agpgart ppdev snd_hwdep
snd_pcm snd_page_alloc snd_timer snd parport_pc parport serio_raw evdev
coretemp pcspkr soundcore e1000e acpi_cpufreq mperf video processor microcode
button nfs[ 212.863327] [] __lru_cache_add+0x6f/0x90
[ 212.863327] [] lru_cache_add_lru+0x23/0x40
[ 212.863327] [] page_add_new_anon_rmap+0x8c/0xa0
[ 212.863327] [] handle_pte_fault+0x724/0x880
[ 212.863327] [] ? pte_alloc_one+0x3a/0x50
[ 212.863327] [] handle_mm_fault+0x167/0x1f0
[ 212.863327] [] ? spurious_fault+0xbd/0xbd
[ 212.863327] [] do_page_fault+0x110/0x510
[ 212.863327] [] ? do_mmap_pgoff+0x1e6/0x2d0
[ 212.863327] [] ? vm_mmap_pgoff+0x70/0x90
[ 212.863327] [] ? sys_mmap_pgoff+0xb1/0x140
[ 212.863327] [] ? spurious_fault+0xbd/0xbd
[ 212.863327] [] error_code+0x67/0x6c
[ 212.863327] ---[ end trace 338b2b653abfaa01 ]---
nfs_acl auth_rpcgss fscache lockd sunrpc autofs4 sd_mod pata_acpi ata_generic
uhci_hcd ata_piix libata scsi_mod ehci_hcd usbcore usb_common ext4 crc16 jbd2
mbcache
Pid: 90, comm: systemd-journal Tainted: G D W 3.5.3-ARCH #1
[ 212.863327] Call Trace:
[ 212.863327] [] warn_slowpath_common+0x72/0xa0
[ 212.863327] [] ? watchdog_overflow_callback+0xac/0xd0
[ 212.863327] [] ? watchdog_overflow_callback+0xac/0xd0
[ 212.863327] [] ? touch_nmi_watchdog+0x70/0x70
[ 212.863327] [] warn_slowpath_fmt+0x33/0x40
[ 212.863327] [] watchdog_overflow_callback+0xac/0xd0
[ 212.863327] [] __perf_event_overflow+0xa6/0x280
[ 212.863327] [] perf_event_overflow+0x15/0x20
[ 212.863327] [] intel_pmu_handle_irq+0x154/0x2c0
[ 212.863327] [] ? __alloc_pages_nodemask+0x139/0x770
[ 212.863327] [] ? __do_page_cache_readahead+0xbb/0x210
[ 212.863327] [] ? kmap_atomic_prot+0xc5/0xe0
[ 212.863327] [] perf_event_nmi_handler+0x1b/0x20
[ 212.863327] [] nmi_handle.isra.0+0x41/0x60
[ 212.863327] [] do_nmi+0xe2/0x400
[ 212.863327] [] ? find_lock_page+0x21/0x70
[ 212.863327] [] nmi_stack_correct+0x2f/0x34
[ 212.863327] [] ? ksm_scan_thread+0x8b/0xab0
[ 212.863327] [] ?
perf_adjust_freq_unthr_context.part.72+0x158/0x180
[ 212.863327] [] ? _raw_spin_lock_irqsave+0x3a/0x50
[ 212.863327] [] pagevec_lru_move_fn+0x72/0xe0
[ 212.863327] [] ? pagevec_lookup+0x30/0x30
[ 212.863327] [] __pagevec_lru_add+0x14/0x20
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.