Summary: | x11-drm-20050104 borks on xorg startup | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Kurek <morgoth6> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED UPSTREAM | ||
Severity: | critical | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
X11 log from faulty start with new drm radeon module
drm-loading.log glxinfo.log xorg.conf |
Description
Marcin Kurek
2005-01-22 15:20:57 UTC
Can you attach /var/log/Xorg.0.log please? Reopen when you do. Also, if you comment out Load "dri" in your xorg.conf, does that work around this? Closing. Created attachment 50491 [details]
X11 log from faulty start with new drm radeon module
And yes, this problem is solved when I comment out the dri extension in the
configuration file.
I wonder can this be a PCI related problem. My card currently works as PCI one
(Forced by BusType "PCI" option)
Log added This is interesting, although not sure of its relation: (WW) ****INVALID IO ALLOCATION**** b: 0x1000 e: 0x10ff correcting BTW, I've got a Pegasos with the same setup except Radeon 9200 SE, with x11-base/x11-drm-20050104 and x11-base/xorg-x11-6.8.1.902, and it works great. Kernel's 2.6.10-pegasos-r1. This InvalidIO allocation is "normal" I mean it's present in all X11 versions and no one knows why, but this cause no side effects. And about drm. Are you sure it's working ? First take a look at logs and try to figure out what version is loaded 1.11.0 means old version and on my system if I have drm enabled in kernel (as module) X always load the old version and don't touch new one. If you see 1.13.0 it means it loads new version for you, which doesn't work for me. The line with version can be located in syslog when starting X. Look for something like this: kernel: [drm] Initialized radeon 1.11.0 20020828 on minor 0 Second thing. If you have not BusType "PCI" option drm will be loaded on startup but because missing AGPGart it wont be used (In that case it works for me, works mean no crash on startup but no DRI of coz). Run glxinfo command and look at line direct rendering: It should be 'Yes' Is it ? Created attachment 50569 [details]
drm-loading.log
Ah yeah, it shows in my Pegasos log too.
Heh, trust me it's working. You don't get direct rendering without a working
DRM.
Anyhow, your proof is attached, despite some error messages.
Created attachment 50570 [details]
glxinfo.log
Created attachment 50571 [details]
xorg.conf
I installed 2.6.11 kernel from www.kernel.org which has already new DRM incorporated. And it still fails when starting X with similar error message as with snapshoot. Fixed in recent version of DRM. Fix included in 2.6.11.3 Hmmmm, I marked it as resolved too fast. The error is still there but DRM works fine. Now I can use it but when DRm initialization I'v got following message in logs: ======== pegasos kernel: Linux agpgart interface v0.100 (c) Dave Jones pegasos kernel: [drm] Initialized drm 1.0.0 20040925 pegasos kernel: [drm] Initialized radeon 1.14.0 20050125 on minor 0: ATI Technologies Inc Radeon RV250 If [Radeon 9000] pegasos kernel: [drm] Loading R200 Microcode pegasos kernel: [drm] Loading R200 Microcode pegasos kernel: Trying to vfree() nonexistent vm area (e246e000) pegasos kernel: Badness in __vunmap at mm/vmalloc.c:368 pegasos kernel: Call trace: pegasos kernel: [c0005214] check_bug_trap+0x98/0xdc pegasos kernel: [c0005404] ProgramCheckException+0x1ac/0x268 pegasos kernel: [c00049d4] ret_from_except_full+0x0/0x4c pegasos kernel: [c004fb64] __vunmap+0xf8/0x100 pegasos kernel: [c000fe58] iounmap+0x5c/0x60 pegasos kernel: [e2357340] radeon_do_cleanup_cp+0x254/0x418 [radeon] pegasos kernel: [e2361c20] radeon_driver_pretakedown+0x10/0x20 [radeon] pegasos kernel: [e2347980] drm_takedown+0x378/0x53c [drm] pegasos kernel: [e2348b6c] drm_release+0x4cc/0x57c [drm] pegasos kernel: [c005a52c] __fput+0x188/0x1ac pegasos kernel: [c005891c] filp_close+0x6c/0xd8 pegasos kernel: [c0004360] ret_from_syscall+0x0/0x44 pegasos kernel: [drm] Loading R200 Microcode pegasos kernel: [drm] Loading R200 Microcode pegasos kernel: [drm] Loading R200 Microcode pegasos kernel: Trying to vfree() nonexistent vm area (e246e000) pegasos kernel: Badness in __vunmap at mm/vmalloc.c:368 pegasos kernel: Call trace: pegasos kernel: [c0005214] check_bug_trap+0x98/0xdc pegasos kernel: [c0005404] ProgramCheckException+0x1ac/0x268 pegasos kernel: [c00049d4] ret_from_except_full+0x0/0x4c pegasos kernel: [c004fb64] __vunmap+0xf8/0x100 pegasos kernel: [c000fe58] iounmap+0x5c/0x60 pegasos kernel: [e2357340] radeon_do_cleanup_cp+0x254/0x418 [radeon] pegasos kernel: [e2361c20] radeon_driver_pretakedown+0x10/0x20 [radeon] pegasos kernel: [e2347980] drm_takedown+0x378/0x53c [drm] pegasos kernel: [e2348b6c] drm_release+0x4cc/0x57c [drm] pegasos kernel: [c005a52c] __fput+0x188/0x1ac pegasos kernel: [c005891c] filp_close+0x6c/0xd8 pegasos kernel: [c0004360] ret_from_syscall+0x0/0x44 pegasos kernel: [drm] Loading R200 Microcode ======== Please try a CVS snapshot from http://dri.freedesktop.org/wiki/Download -- read the "Snapshots" section. The result is realy funny. The X'es wont start when I try to use recent cvs snap. In the log's I can found a infinite messages like that: ======== Mar 23 17:45:44 pegasos entrance: entrance_ipc_init: Success Mar 23 17:45:47 pegasos kernel: Linux agpgart interface v0.100 (c) Dave Jones Mar 23 17:45:47 pegasos kernel: [drm] Initialized drm 1.0.0 20040925 Mar 23 17:45:47 pegasos kernel: [drm] Initialized radeon 1.16.0 20050311 on minor 0: ATI Technologies Inc Radeon RV250 If [Radeon 9000] Mar 23 17:45:47 pegasos kernel: [drm] Used old pci detect: framebuffer loaded Mar 23 17:45:47 pegasos kernel: Oops: kernel access of bad area, sig: 11 [#1] Mar 23 17:45:47 pegasos kernel: NIP: E2359DD8 LR: E2359C68 SP: DBE5DE00 REGS: dbe5dd50 TRAP: 0300 Not tainted Mar 23 17:45:47 pegasos kernel: MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11 Mar 23 17:45:47 pegasos kernel: DAR: 0000003C, DSISR: 40000000 Mar 23 17:45:47 pegasos kernel: TASK = df45e110[9314] 'X' THREAD: dbe5c000 Mar 23 17:45:47 pegasos kernel: Last syscall: 54 Mar 23 17:45:47 pegasos kernel: GPR00: E2493000 DBE5DE00 DF45E110 E2D80000 E2F7F000 DC605500 00306400 00800000 Mar 23 17:45:47 pegasos kernel: GPR08: C4000000 E2380000 00000000 DC605D80 84042444 102047D0 101A0000 101A0000 Mar 23 17:45:47 pegasos kernel: GPR16: 101A0000 10200000 10200000 107BCA2C 7FFFF474 00000007 7FFFF000 DC605D80 Mar 23 17:45:47 pegasos kernel: GPR24: E2350000 E2350000 FFFFFFEA E2493000 DBE5DE10 00000040 DC7FA000 DBED9800 Mar 23 17:45:47 pegasos kernel: NIP [e2359dd8] radeon_cp_init+0x888/0xdc8 [radeon] Mar 23 17:45:47 pegasos kernel: LR [e2359c68] radeon_cp_init+0x718/0xdc8 [radeon] Mar 23 17:45:47 pegasos kernel: Call trace: Mar 23 17:45:47 pegasos kernel: [e2348a00] drm_ioctl+0x1c4/0x22c [drm] Mar 23 17:45:47 pegasos kernel: [c006e280] do_ioctl+0x68/0x9c Mar 23 17:45:47 pegasos kernel: [c006e36c] vfs_ioctl+0xb8/0x400 Mar 23 17:45:47 pegasos kernel: [c006e6f4] sys_ioctl+0x40/0x74 Mar 23 17:45:47 pegasos kernel: [c0004360] ret_from_syscall+0x0/0x44 Mar 23 17:45:47 pegasos kernel: [drm:drm_release] *ERROR* Device busy: 1 0 Mar 23 17:45:47 pegasos entranced: The X server was terminated with signal 11. Mar 23 17:45:47 pegasos entranced: Attempting to restart X server. ======== In that case, please file a DRI bug at bugs.freedesktop.org and post the URL here. Thanks! |