On Fri, 5 Aug 2005 [EMAIL PROTECTED] wrote:

Small update that might help... taking the setup that works, unloading
the drm and radeon modules, loading the newer drm and radeon modules
(the versions reported by the radeon are 1.15.0 and 1.16.0,
respectively), then restarting X causes the same error message about a
corrupted page table.  My guess therefore is that the problem I'm
seeing is from some change in the DRM code, and not the Mesa drivers or
Xorg.

Brian - I forgot - I always get a message about bad page access from X on amd64.

The reason is that such messages can also be due to unaligned access and are automatically fixed up by the kernel.

So apparently X is doing something not fully by the book during startup
(possibly having to do with video BIOS ?).

                      best

                          Vladimir Dergachev


- Brian

--- [EMAIL PROTECTED] wrote:

I've been following the r300 driver development though I've not done
much with it lately, but while trying the latest version that was
merged into the DRI CVS tree I'm unable to successfully start X.

First, the system:  it's an Athlon 64 laptop with a 128MB Mobilitiy
Radeon 9700 and 2 GB of RAM, running a custom 64-bit Linux with glibc
2.3.5, gcc 3.4.4, and a 2.6.12 kernel with the CKO patchset applied.
The last version of the r300 driver before the merge to the drm and
Mesa CVS repos works (mostly) fine, though I've not done a lot of
testing with it.

Now on to the crashing...

I've gone back to what appears to be when it was first merged in
(doing
a "cvs up -D 2005-07-21 for Mesa, drm, and xc (Xorg CVS repo)) and
get
the same error every time if I have the glx module enabled in the
xorg.conf.

In the terminal (I am sshing into the box since the screen goes black
right before it dies and the console doesn't come back) I see:

X Window System Version 6.8.99.900 (6.9.0 RC 0)
Release Date: 01 August 2005 + cvs
X Protocol Version 11, Revision 0, Release 6.8.99.900
Build Operating System: Linux 2.6.12-cko3 x86_64 [ELF]
Current Operating System: Linux paradys 2.6.12-cko3 #3 Mon Aug 1
17:37:51 EDT 2005 x86_64
Build Date: 03 August 2005
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug  3 19:37:08 2005
(==) Using config file: "/etc/X11/xorg.conf"
(WW) ****INVALID MEM ALLOCATION**** b: 0xd8000000 e: 0xe0000000
correcting
(WW) ****INVALID IO ALLOCATION**** b: 0x2000 e: 0x2100 correcting
Killed


And in dmesg I get:

[drm] Initialized drm 1.0.0 20040925
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 18 (level, low) -> IRQ 209
[drm] Initialized radeon 1.16.0 20050311 on minor 0: ATI Technologies
Inc RV350 [Mobility Radeon 9600 M10]
X: Corrupted page table at address 2aaab5648000
PGD 7d61e067 PUD 7d594067 PMD 7d1e0067 PTE ffffc200002f9037
Bad pagetable: 000f [1]
CPU 0
Modules linked in: radeon drm snd_via82xx snd_ac97_codec
snd_mpu401_uart i2c_viapro i2c_core uhci_hcd yenta_socket
rsrc_nonstatic pcmcia_core r8169 amd64_agp agpgart nls_iso8859_1
nls_cp437 vfat fat nls_base rt2500 snd_usb_audio snd_pcm snd_timer
snd_page_alloc snd_usb_lib snd_rawmidi snd_hwdep snd joydev evdev
Pid: 2075, comm: X Tainted: G   M  2.6.12-cko3
RIP: 0033:[<00002aaaab100470>] [<00002aaaab100470>]
RSP: 002b:00007fffffb12cb8  EFLAGS: 00013283
RAX: 0000000000000080 RBX: 0000000000000007 RCX: 00002aaab5648000
RDX: 0000000000002000 RSI: 0000000000000000 RDI: 00002aaab5648000
RBP: 00000000007696b0 R08: 0000000000000000 R09: ffffc200002f9000
R10: 0000000000400200 R11: 00000000004605f0 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000769040 R15: 0000000000000002
FS:  00002aaaab2e7ef0(0000) GS:ffffffff80449340(0000)
knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00002aaab5648000 CR3: 000000007dabc000 CR4: 00000000000006e0
Process X (pid: 2075, threadinfo ffff81007d7c4000, task
ffff81007e0fd7b0)

RIP [<00002aaaab100470>] RSP <00007fffffb12cb8>


and the last few lines of the Xorg log file (which I've attached as
Xorg-crashed.0.log) are:

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid
"pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xffffc200002f9000


Now, as I said, it works fine with the last version of the r300
driver
from before the merge (using Mesa, xc, and r300_driver trees last
updated I think on 2005-07-15).

At the terminal when I start X:

X Window System Version 6.8.99.14
Release Date: 03 July 2005 + cvs
X Protocol Version 11, Revision 0, Release 6.8.99.14
Build Operating System: Linux 2.6.12-cko3 x86_64 [ELF]
Current Operating System: Linux paradys 2.6.12-cko3 #3 Mon Aug 1
17:37:51 EDT 2005 x86_64
Build Date: 03 August 2005
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug  3 19:47:01 2005
(==) Using config file: "/etc/X11/xorg.conf"
(WW) ****INVALID MEM ALLOCATION**** b: 0xd8000000 e: 0xe0000000
correcting
(WW) ****INVALID IO ALLOCATION**** b: 0x2000 e: 0x2100 correcting
Synaptics DeviceInit called
SynapticsCtrl called.
Synaptics DeviceOn called


In dmesg:

[drm] Initialized drm 1.0.0 20040925
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 18 (level, low) -> IRQ 209
[drm] Initialized radeon 1.15.0 20050208 on minor 0: ATI Technologies
Inc RV350 [Mobility Radeon 9600 M10]
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 4x mode
[drm] Loading R300 Microcode


And glxgears runs fine, at about 1466 FPS on the bare X server (no
window manager or anything else)--in contrast, under the same
conditions but with DRI disabled it runs at just shy of 158 FPS.
I've
attached the X log as Xorg-good.0.log. (Note: both logs and the
xorg.conf I've used are gzipped to save space and bandwidth.)

Any ideas?  Or suggestions for hunting down the problem?

Thanks,
Brian



____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to