Bug 6893

Summary: kernel oops with radeon and mythfrontend
Product: Drivers Reporter: bluez
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: REJECTED INSUFFICIENT_DATA    
Severity: normal CC: protasnb, stuarta
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.18-rc2 Subsystem:
Regression: --- Bisected commit-id:
Attachments: kernel config 2.6.18-rc2
gathering info patch
corrected patch
finally the correct patch
here is the full dmesg corresponding to the last oops
strace -e open,ioctl mythbackend >& mythbackend.strace
strace -e open,ioctl mythfrontend >& mythfrontend.strace
Test patch

Description bluez 2006-07-24 13:29:38 UTC
Most recent kernel where this bug did not occur: 2.6.15.5
Distribution: debian
Hardware Environment: IBM Thinkpad R50, ATI Radeon Mobility 9000 M9, Wideview
DVB-T USB
Software Environment: mythtv 0.19-0.10, xorg 7.0.22
Problem Description:

I am getting the kernel oops shown below, when trying to watch live-TV
or recordings with mythfrontend. I tried with different pre-compiled mythtv
binaries on a debian linux (0.19-0.6sarge1, 0.19-0.7 and 0.19-0.10), with
vanilla kernels 2.6.17.4 and 2.6.18-rc2.
The oops doesn't occur with a 2.6.15.5 kernel.

Jul 24 22:05:26 tyron kernel: BUG: unable to handle kernel NULL pointer
dereference at virtual address 00000004
Jul 24 22:05:26 tyron kernel:  printing eip:
Jul 24 22:05:26 tyron kernel: c0124851
Jul 24 22:05:26 tyron kernel: *pde = 00000000
Jul 24 22:05:26 tyron kernel: Oops: 0002 [#5]
Jul 24 22:05:26 tyron kernel: Modules linked in: videodev v4l1_compat
v4l2_common radeon drm bnep rfcomm hidp l2cap pcmcia autofs4 yenta_socket
rsrc_nonstatic pcmcia_core 8250_pci 8250 serial_core snd_intel8x0 snd_ac97_codec
snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd snd_page_alloc
ehci_hcd dvb_usb_dtt200u dvb_usb dvb_core firmware_class dvb_pll i2c_core
hci_usb bluetooth uhci_hcd usbcore sg ide_scsi scsi_mod evdev ibm_acpi thermal
ac button battery fan processor e1000
Jul 24 22:05:26 tyron kernel: CPU:    0
Jul 24 22:05:26 tyron kernel: EIP:    0060:[add_wait_queue+13/29]    Not tainted VLI
Jul 24 22:05:26 tyron kernel: EFLAGS: 00210046   (2.6.18-rc2 #1) 
Jul 24 22:05:26 tyron kernel: EIP is at add_wait_queue+0xd/0x1d
Jul 24 22:05:26 tyron kernel: eax: df4fe1f8   ebx: 00000000   ecx: d00c3ed0  
edx: d00c3ec4
Jul 24 22:05:26 tyron kernel: esi: 00200246   edi: 0011c80b   ebp: 00000000  
esp: d00c3e94
Jul 24 22:05:26 tyron kernel: ds: 007b   es: 007b   ss: 0068
Jul 24 22:05:26 tyron kernel: Process mythfrontend (pid: 24512, ti=d00c2000
task=d2765550 task.ti=d00c2000)Jul 24 22:05:26 tyron kernel: Stack: df4fe000
d00c3eb8 e0a9899e c61db140 00000000 d2765550 c01128c6 00000000 
Jul 24 22:05:26 tyron kernel:        00000000 00000000 00000000 c014d4d1
00000000 d2765550 c01128c6 00000000 
Jul 24 22:05:26 tyron kernel:        00000000 d00c3f08 b0bd20f0 00000010
0000003a df4fe000 df4fe000 00000000 
Jul 24 22:05:26 tyron kernel: Call Trace:
Jul 24 22:05:26 tyron kernel:  [pg0+544074142/1069827072]
radeon_driver_vblank_wait+0xa5/0x126 [radeon]
Jul 24 22:05:26 tyron kernel:  [default_wake_function+0/18]
default_wake_function+0x0/0x12
Jul 24 22:05:26 tyron kernel:  [chrdev_open+234/259] chrdev_open+0xea/0x103
Jul 24 22:05:26 tyron kernel:  [default_wake_function+0/18]
default_wake_function+0x0/0x12
Jul 24 22:05:26 tyron kernel:  [pg0+543886485/1069827072]
drm_wait_vblank+0x182/0x1c6 [drm]
Jul 24 22:05:26 tyron kernel:  [handle_IRQ_event+33/73] handle_IRQ_event+0x21/0x49
Jul 24 22:05:26 tyron kernel:  [pg0+543881309/1069827072] drm_ioctl+0x13a/0x175
[drm]
Jul 24 22:05:26 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 24 22:05:26 tyron kernel:  [pg0+543886099/1069827072]
drm_wait_vblank+0x0/0x1c6 [drm]
Jul 24 22:05:26 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 24 22:05:26 tyron kernel:  [do_ioctl+73/79] do_ioctl+0x49/0x4f
Jul 24 22:05:26 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 24 22:05:26 tyron kernel:  [vfs_ioctl+368/381] vfs_ioctl+0x170/0x17d
Jul 24 22:05:26 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 24 22:05:26 tyron kernel:  [sys_ioctl+43/69] sys_ioctl+0x2b/0x45
Jul 24 22:05:26 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 24 22:05:26 tyron kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Jul 24 22:05:26 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 24 22:05:26 tyron kernel: Code: 9c d8 30 c0 e8 7f 0d 18 00 89 d8 5b c3 90 83
ec 10 8b 44 24 14 89 00 89 40 04 83 c4 10 c3 56 53 83 22 fe 9c 5e fa 8b 18 8d 4a
0c <89> 4b 04 89 5a 0c 89 41 04 89 08 56 9d 5b 5e c3 56 53 83 0a 01 
Jul 24 22:05:26 tyron kernel: EIP: [add_wait_queue+13/29]
add_wait_queue+0xd/0x1d SS:ESP 0068:d00c3e94

Steps to reproduce:

mythfrontend->Watch TV
Comment 1 Jiri Slaby 2006-07-24 15:34:29 UTC
Please post the Oops #1 and .config.
Comment 2 bluez 2006-07-25 12:01:33 UTC
Created attachment 8616 [details]
kernel config 2.6.18-rc2
Comment 3 bluez 2006-07-25 12:05:32 UTC
Here comes an oops #1 (since it is non-locking, I guessed I'd send any in the
first place). Kernel config was attached. Please note that I also tried without
CONFIG_FB_RADEON, to no avail.

Jul 25 20:58:36 tyron kernel: mtrr: 0xe0000000,0x8000000 overlaps existing
0xe0000000,0x2000000
Jul 25 20:58:36 tyron kernel: BUG: unable to handle kernel NULL pointer
dereference at virtual address 00000004
Jul 25 20:58:36 tyron kernel:  printing eip:
Jul 25 20:58:36 tyron kernel: c0124851
Jul 25 20:58:36 tyron kernel: *pde = 00000000
Jul 25 20:58:36 tyron kernel: Oops: 0002 [#1]
Jul 25 20:58:36 tyron kernel: Modules linked in: dvb_usb_dtt200u dvb_usb
dvb_core dvb_pll radeon drm bnep rfcomm hidp l2cap pcmcia firmware_class autofs4
yenta_socket rsrc_nonstatic pcmcia_core 8250_pci 8250 serial_core snd_intel8x0
snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd
snd_page_alloc ehci_hcd hci_usb bluetooth uhci_hcd usbcore sg ide_scsi scsi_mod
evdev ibm_acpi thermal ac button battery fan processor e1000 radeonfb
i2c_algo_bit i2c_core
Jul 25 20:58:36 tyron kernel: CPU:    0
Jul 25 20:58:36 tyron kernel: EIP:    0060:[add_wait_queue+13/29]    Not tainted VLI
Jul 25 20:58:36 tyron kernel: EFLAGS: 00210046   (2.6.18-rc2 #1) 
Jul 25 20:58:36 tyron kernel: EIP is at add_wait_queue+0xd/0x1d
Jul 25 20:58:36 tyron kernel: eax: df468df8   ebx: 00000000   ecx: d450bed0  
edx: d450bec4
Jul 25 20:58:36 tyron kernel: esi: 00200246   edi: ffff99a0   ebp: 00000000  
esp: d450be94
Jul 25 20:58:36 tyron kernel: ds: 007b   es: 007b   ss: 0068
Jul 25 20:58:36 tyron kernel: Process mythfrontend (pid: 5190, ti=d450a000
task=d3d73a70 task.ti=d450a000)
Jul 25 20:58:36 tyron kernel: Stack: df468c00 d450beb8 e1a7f99e ffffffed
00000000 d3d73a70 c01128c6 00000000 
Jul 25 20:58:36 tyron kernel:        00000000 00000000 00000000 c014d4d1
00000000 d3d73a70 c01128c6 00000000 
Jul 25 20:58:36 tyron kernel:        00000000 d450bf08 b0aff0f0 00000010
0000003a df468c00 df468c00 00000000 
Jul 25 20:58:36 tyron kernel: Call Trace:
Jul 25 20:58:36 tyron kernel:  [pg0+560748958/1069827072]
radeon_driver_vblank_wait+0xa5/0x126 [radeon]
Jul 25 20:58:36 tyron kernel:  [default_wake_function+0/18]
default_wake_function+0x0/0x12
Jul 25 20:58:36 tyron kernel:  [chrdev_open+234/259] chrdev_open+0xea/0x103
Jul 25 20:58:36 tyron kernel:  [default_wake_function+0/18]
default_wake_function+0x0/0x12
Jul 25 20:58:36 tyron kernel:  [pg0+560561301/1069827072]
drm_wait_vblank+0x182/0x1c6 [drm]
Jul 25 20:58:36 tyron kernel:  [pg0+560556125/1069827072] drm_ioctl+0x13a/0x175
[drm]
Jul 25 20:58:36 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 25 20:58:36 tyron kernel:  [pg0+560560915/1069827072]
drm_wait_vblank+0x0/0x1c6 [drm]
Jul 25 20:58:36 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 25 20:58:36 tyron kernel:  [do_ioctl+73/79] do_ioctl+0x49/0x4f
Jul 25 20:58:36 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 25 20:58:36 tyron kernel:  [vfs_ioctl+368/381] vfs_ioctl+0x170/0x17d
Jul 25 20:58:36 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 25 20:58:36 tyron kernel:  [sys_ioctl+43/69] sys_ioctl+0x2b/0x45
Jul 25 20:58:36 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 25 20:58:36 tyron kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Jul 25 20:58:36 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 25 20:58:36 tyron kernel: Code: 9c d8 30 c0 e8 7f 0d 18 00 89 d8 5b c3 90 83
ec 10 8b 44 24 14 89 00 89 40 04 83 c4 10 c3 56 53 83 22 fe 9c 5e fa 8b 18 8d 4a
0c <89> 4b 04 89 5a 0c 89 41 04 89 08 56 9d 5b 5e c3 56 53 83 0a 01 
Jul 25 20:58:36 tyron kernel: EIP: [add_wait_queue+13/29]
add_wait_queue+0xd/0x1d SS:ESP 0068:d450be94
Comment 4 Jiri Slaby 2006-07-29 06:37:42 UTC
Created attachment 8635 [details]
gathering info patch

Could you apply this patch and post the results? It seems init_queue_head is
called after irq came, or not called either.
Comment 5 bluez 2006-07-29 11:56:25 UTC
Here is the oops with a 2.6.18-rc2 with the patch applied:

Jul 29 20:48:56 tyron kernel: mtrr: 0xe0000000,0x8000000 overlaps existing
0xe0000000,0x2000000
Jul 29 20:48:56 tyron kernel: radeon_driver_vblank_wait: WAIT
Jul 29 20:48:56 tyron kernel: BUG: unable to handle kernel NULL pointer
dereference at virtual address 00000004
Jul 29 20:48:56 tyron kernel:  printing eip:
Jul 29 20:48:56 tyron kernel: c0124851
Jul 29 20:48:56 tyron kernel: *pde = 00000000
Jul 29 20:48:56 tyron kernel: Oops: 0002 [#1]
Jul 29 20:48:56 tyron kernel: Modules linked in: radeon drm bnep rfcomm hidp
l2cap pcmcia autofs4 yenta_socket rsrc_nonstatic pcmcia_core 8250_pci 8250
serial_core snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss
snd_pcm snd_timer snd snd_page_alloc ehci_hcd dvb_usb_dtt200u dvb_usb dvb_core
hci_usb firmware_class dvb_pll bluetooth uhci_hcd usbcore sg ide_scsi scsi_mod
evdev ibm_acpi thermal ac button battery fan processor e1000 radeonfb
i2c_algo_bit i2c_core
Jul 29 20:48:56 tyron kernel: CPU:    0
Jul 29 20:48:56 tyron kernel: EIP:    0060:[add_wait_queue+13/29]    Not tainted VLI
Jul 29 20:48:56 tyron kernel: EFLAGS: 00210046   (2.6.18-rc2-radpatch #1) 
Jul 29 20:48:56 tyron kernel: EIP is at add_wait_queue+0xd/0x1d
Jul 29 20:48:56 tyron kernel: eax: ded339f8   ebx: 00000000   ecx: d068ded0  
edx: d068dec4
Jul 29 20:48:56 tyron kernel: esi: 00200246   edi: 00000ff8   ebp: 00000000  
esp: d068de94
Jul 29 20:48:56 tyron kernel: ds: 007b   es: 007b   ss: 0068
Jul 29 20:48:56 tyron kernel: Process mythfrontend (pid: 5261, ti=d068c000
task=d4b73550 task.ti=d068c000)
Jul 29 20:48:56 tyron kernel: Stack: ded33800 d068deb8 e1ab49f0 ffffffed
00000000 d4b73550 c01128c6 00000000 
Jul 29 20:48:56 tyron kernel:        00000000 00000000 00000000 c014d4d1
00000000 d4b73550 c01128c6 00000000 
Jul 29 20:48:56 tyron kernel:        00000000 d068df08 b1d320f0 00000010
0000003a ded33800 ded33800 00000000 
Jul 29 20:48:56 tyron kernel: Call Trace:
Jul 29 20:48:56 tyron kernel:  [pg0+560966128/1069827072]
radeon_driver_vblank_wait+0xbf/0x15a [radeon]
Jul 29 20:48:56 tyron kernel:  [default_wake_function+0/18]
default_wake_function+0x0/0x12
Jul 29 20:48:56 tyron kernel:  [chrdev_open+234/259] chrdev_open+0xea/0x103
Jul 29 20:48:56 tyron kernel:  [default_wake_function+0/18]
default_wake_function+0x0/0x12
Jul 29 20:48:56 tyron kernel:  [pg0+560774332/1069827072]
drm_wait_vblank+0x182/0x1c6 [drm]
Jul 29 20:48:56 tyron kernel:  [pg0+560769117/1069827072] drm_ioctl+0x13a/0x175
[drm]
Jul 29 20:48:56 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 29 20:48:56 tyron kernel:  [pg0+560773946/1069827072]
drm_wait_vblank+0x0/0x1c6 [drm]
Jul 29 20:48:56 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 29 20:48:56 tyron kernel:  [do_ioctl+73/79] do_ioctl+0x49/0x4f
Jul 29 20:48:56 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 29 20:48:56 tyron kernel:  [vfs_ioctl+368/381] vfs_ioctl+0x170/0x17d
Jul 29 20:48:58 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 29 20:48:58 tyron kernel:  [sys_ioctl+43/69] sys_ioctl+0x2b/0x45
Jul 29 20:48:58 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 29 20:48:58 tyron kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Jul 29 20:48:58 tyron kernel:  [mask_and_ack_8259A+110/173]
mask_and_ack_8259A+0x6e/0xad
Jul 29 20:48:58 tyron kernel: Code: 9c d8 30 c0 e8 7f 0d 18 00 89 d8 5b c3 90 83
ec 10 8b 44 24 14 89 00 89 40 04 83 c4 10 c3 56 53 83 22 fe 9c 5e fa 8b 18 8d 4a
0c <89> 4b 04 89 5a 0c 89 41 04 89 08 56 9d 5b 5e c3 56 53 83 0a 01 
Jul 29 20:48:58 tyron kernel: EIP: [add_wait_queue+13/29]
add_wait_queue+0xd/0x1d SS:ESP 0068:d068de94


Something else in the syslog caught my eye:

Jul 29 20:45:07 tyron kernel: [drm] Initialized drm 1.0.1 20051102
Jul 29 20:45:07 tyron kernel: [drm] Initialized radeon 1.25.0 20060524 on minor 0
Jul 29 20:45:07 tyron kernel: mtrr: 0xe0000000,0x8000000 overlaps existing
0xe0000000,0x2000000
Jul 29 20:45:09 tyron last message repeated 3 times
Jul 29 20:45:09 tyron kernel: [drm:radeon_cp_init] *ERROR* radeon_cp_init called
without lock heldJul 29 20:45:09 tyron kernel: [drm:drm_unlock] *ERROR* Process
4893 using kernel context 0

This occurs both with a patched and a vanilla 2.6.18-rc2.

And something else: If I don't load the glx module (comment it in xorg.conf),
the oops does not occur any longer.
Comment 6 bluez 2006-07-29 12:02:08 UTC
By the way, I hit 'Edit' on the 'gathering info patch' out of curiosity, but
didn't (mean to) modify it. Now it shows as edited.

I had to clean up the patch from things like ^[1;36m before I could apply it.
Did you make a mistake when submitting it did I when downloading it? 
Comment 7 Jiri Slaby 2006-07-29 12:35:31 UTC
Comment on attachment 8635 [details]
gathering info patch

Bad formating.
Comment 8 Jiri Slaby 2006-07-29 12:36:39 UTC
Created attachment 8638 [details]
corrected patch

Sure, I am an asshole, it was colored patch.
Comment 9 Jiri Slaby 2006-07-29 12:37:37 UTC
Anyway, I need whole dmesg after applying the patch, because I need to know
lines above your oops post.
Comment 10 Jiri Slaby 2006-07-29 12:39:12 UTC
Comment on attachment 8638 [details]
corrected patch

huh, I need to slow down :(
Comment 11 Jiri Slaby 2006-07-29 12:40:04 UTC
Created attachment 8639 [details]
finally the correct patch
Comment 12 bluez 2006-07-29 14:02:17 UTC
Created attachment 8641 [details]
here is the full dmesg corresponding to the last oops
Comment 13 Jiri Slaby 2006-07-29 15:21:36 UTC
Cool, no init called, seems to be wrong in userspace, could you 'strace -e
open,ioctl' it?
Comment 14 bluez 2006-07-30 02:47:55 UTC
Created attachment 8642 [details]
strace -e open,ioctl mythbackend >& mythbackend.strace
Comment 15 bluez 2006-07-30 02:50:31 UTC
Created attachment 8643 [details]
strace -e open,ioctl mythfrontend >& mythfrontend.strace

didn't know if you need mythfrontend or -backend, attached both.

Is that what you need?
Comment 16 jonwanderer 2007-01-31 20:59:33 UTC
I've encountered the same issue as the original bug reporter. I'm using 2.6.18.3
with a Radeon 9800 card. I get the error whenever I use live tv or play a
recording via mythfrontend. I was previously using 2.6.10 with the same
hardware/software and did not encounter this error. Removing the radeon kernel
module makes the error go away but also takes away my hardware acceleration,
etc. Here's the oops, please let me know if I can provide more information:

BUG: unable to handle kernel NULL pointer dereference at virtual address 00000004
 printing eip:
c0120ff4
*pde = 00000000
Oops: 0002 [#1]
Modules linked in: radeonfb radeon joydev usbhid usbkbd ivtv saa7127 msp3400
saa7115 tuner bttv video_buf ir_common btcx_risc firmware_class cx2341x tveeprom
ati_remote usbvnetr i2c_ali15x3 snd_pcm_oss snd_mixer_oss snd_cmipci gameport
snd_opl3_lib snd_hwdep
CPU:    0
EIP:    0060:[<c0120ff4>]    Tainted: P      VLI
EFLAGS: 00010046   (2.6.18.3 #15)
EIP is at add_wait_queue+0x10/0x1d
eax: c49d59f8   ebx: 00000000   ecx: c2913ef0   edx: c2913ee4
esi: 00000246   edi: 0005b1bf   ebp: 00000000   esp: c2913eb0
ds: 007b   es: 007b   ss: 0068
Process mythfrontend (pid: 9204, ti=c2912000 task=c15ab030 task.ti=c2912000)
Stack: c2913ee4 c49d5800 d15ec7b0 c2913f28 00000246 00000000 c15ab030 c010fea5
       00000000 00000000 cf455620 ca10f398 c029a3aa 00000000 c15ab030 c010fea5
       00000000 00000000 cf455620 c2913f24 b00bd130 0000003a c49d5800 c49d5800
Call Trace:
 [<d15ec7b0>] radeon_driver_vblank_wait+0xa7/0x126 [radeon]
 [<c010fea5>] default_wake_function+0x0/0xc
 [<c029a3aa>] drm_stub_open+0xa5/0x113
 [<c010fea5>] default_wake_function+0x0/0xc
 [<c029b3e7>] drm_wait_vblank+0x16c/0x1ad
 [<c029a079>] drm_ioctl+0x145/0x17c
 [<c029b27b>] drm_wait_vblank+0x0/0x1ad
 [<c010643a>] dma_release_declared_memory+0x2c/0x2e
 [<c0150591>] do_ioctl+0x3d/0x42
 [<c01507b1>] vfs_ioctl+0x178/0x186
 [<c01507e9>] sys_ioctl+0x2a/0x41
 [<c0102399>] sysenter_past_esp+0x56/0x79
 [<c010643a>] dma_release_declared_memory+0x2c/0x2e
Code: 00 00 00 00 e8 83 84 25 00 89 d8 5b c3 90 90 83 ec 10 89 00 89 40 04 83 c4
10 c3 56 83 22 fe 53 9c 5e fa 8b 18 8d 4a 0c 89 5a 0c <89> 4b 04 89 08 89 41 04
56 9d 5b
Comment 17 Michel D 2007-02-01 02:58:57 UTC
Created attachment 10247 [details]
Test patch

Not sure how this can happen with the !dev->irq_enabled test in
drm_wait_vblank()... Does this patch make a difference?

The dmesg output looks like the DRI doesn't initialize fully, so you probably
want to fix your setup anyway.
Comment 18 Neil Schemenauer 2007-07-13 21:22:11 UTC
The "2007-02-01 02:58:57" patch from Michel don't help me.  
Comment 19 Natalie Protasevich 2008-03-27 23:09:02 UTC
Any updates on this problem please,
thanks.
Comment 20 Michel D 2008-03-28 01:27:30 UTC
(In reply to comment #19)
> Any updates on this problem please,

Per comment #17, I suspect that mythfrontend is trying to use the DRM sync-to-vblank facilities without the DRM having been properly initialized by the X server. Attaching an X log file might help clarify this.