http://bugs.xfree86.org/show_bug.cgi?id=314
------- Additional Comments From [EMAIL PROTECTED] 2003-22-07 07:21 -------
Thank you Hui for doing this,
The kernel patch does not apply cleanly to vanilla 2.4.18 neither 2.4.19. I
applied it by hand against 2.4.18(*) whitch is the most close with your patch.
The patch against xfree-cvs does not applied cleanly too (obviously as it's
against a cvs version) against cvs of yesterday (2003-07-21), so I applied it
by hand too.
Now the kernel during boot gives me this nice info :) :
Jul 22 02:35:51 matrix kernel: Linux agpgart interface v0.99 (c) Jeff Hartmann
Jul 22 02:35:51 matrix kernel: agpgart: Maximum main memory to use for agp
memory: 409M
Jul 22 02:35:51 matrix kernel: agpgart: Detected ATI IGP330/340/345/350/M
chipset
Jul 22 02:35:51 matrix kernel: agpgart: AGP aperture is 64M @ 0xf4000000
Jul 22 02:35:51 matrix kernel: [drm] AGP 0.99 on Unknown @ 0xf4000000 64MB
Jul 22 02:35:51 matrix kernel: [drm] Initialized radeon 1.1.1 20010405 on
minor 0
But unfortunately after compiling xfree with the patch too, when starting X I
get an kernel oops:
Jul 22 02:36:17 matrix modprobe: modprobe: Can't locate module
char-major-10-134
Jul 22 02:36:22 matrix modprobe: modprobe: Can't locate module char-major-81
Jul 22 02:36:22 matrix kernel: [drm:radeon_do_init_cp] *ERROR* could not find
framebuffer!
Jul 22 02:36:22 matrix kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000010
Jul 22 02:36:22 matrix kernel: printing eip:
Jul 22 02:36:22 matrix kernel: c01c72e7
Jul 22 02:36:22 matrix kernel: *pde = 1b721067
Jul 22 02:36:22 matrix kernel: *pte = 00000000
Jul 22 02:36:22 matrix kernel: Oops: 0000
Jul 22 02:36:22 matrix kernel: CPU: 0
Jul 22 02:36:22 matrix kernel: EIP: 0010:[radeon_do_cleanup_cp+55/320]
Not tainted
Jul 22 02:36:22 matrix kernel: EIP: 0010:[<c01c72e7>] Not tainted
Jul 22 02:36:22 matrix kernel: EFLAGS: 00013246
Jul 22 02:36:22 matrix kernel: eax: 00000000 ebx: dd588180 ecx: 00000000
edx: 00000000
Jul 22 02:36:22 matrix kernel: esi: c1757800 edi: dc1b7f08 ebp: c1757800
esp: dc1b7eb8
Jul 22 02:36:22 matrix kernel: ds: 0018 es: 0018 ss: 0018
Jul 22 02:36:22 matrix kernel: Process X (pid: 1071, stackpage=dc1b7000)
Jul 22 02:36:22 matrix kernel: Stack: c01c38b0 c170f388 dc61db80 dc61db80
dd588180 c01c6af6 c1757800 00000000
Jul 22 02:36:22 matrix kernel: 000000c4 00000138 dc1b7f04 dc61dc40
dc1b7f08 c1757800 dcfb4c80 dc292400
Jul 22 02:36:22 matrix kernel: c01c7466 c1757800 dc1b7f08 00000054
00000001 00000898 00000000 40000000
Jul 22 02:36:22 matrix kernel: Call Trace: [radeon_alloc+80/128]
[radeon_do_init_cp+134/2112] [radeon_cp_init+118/128] [rade
on_ioctl+205/304] [sys_ioctl+185/448]
Jul 22 02:36:22 matrix kernel: Call Trace: [<c01c38b0>] [<c01c6af6>]
[<c01c7466>] [<c01c1e0d>] [<c0143e39>]
Jul 22 02:36:22 matrix kernel: [system_call+51/56]
Jul 22 02:36:22 matrix kernel: [<c0107337>]
Jul 22 02:36:22 matrix kernel:
Jul 22 02:36:22 matrix kernel: Code: 8b 50 10 85 d2 74 0b 8b 40 04 85 c0 0f 85
8a 00 00 00 8b 83
Maybe I've forgotten to include something in the kernel build? I have the
framebuffer compiled in the kernel (not modular), the selected driver is
radeon, but the same happens with vesafb too. But FWIK the kernel's
framebuffer driver is not used by xfree so I can not understand this oops. Any
sugestions welkomed. BTW, as for your comments about the patch working in agp4
only I added this in my XF86Config-4 (Including all the Device section for
completeness):
Section "Device"
Identifier "device1"
VendorName "ATI Technologies Inc"
BoardName "ATI Radeon"
Driver "radeon"
Option "DPMS"
Option "AGPMode" "4" <- This is what I added
EndSection
I tried agptool too and here's the output with your patch:
agptool by Dave Jones. <[EMAIL PROTECTED]>
Found AGP host bridge.
1002:cab2 :-1002:cab2
Host capabilities:
Compliant with version 2.0 of the AGP standard.
It is capable of doing x4 AGP, but AGP transfers are currently disabled.
Found AGP graphics card.
1002:4337 :-1002:4337
Card capabilities:
Compliant with version 2.0 of the AGP standard.
It is capable of doing x4 AGP, but AGP transfers are currently disabled.
System is capable of doing x4 AGP.
rate before: f000217
setting rate to f000214
Here's the output without your patch:
agptool by Dave Jones. <[EMAIL PROTECTED]>
Found AGP host bridge.
1002:cab2 :-1002:cab2
Host capabilities:
Compliant with version 2.0 of the AGP standard.
It is capable of doing x4 AGP, but is not initialised.
Found AGP graphics card.
1002:4337 :-1002:4337
Card capabilities:
Compliant with version 2.0 of the AGP standard.
It is capable of doing x4 AGP, but is not initialised.
System is capable of doing x4 AGP.
Couldn't open /dev/agpgart
(*) I tried the kernel patch to apply to vanilla 2.4.22-pre7 too but from
kernel 2.4.21 there is no num_of_masks member to the agp_bridge_data struct.
I'll look at the conversion of the other drivers, the change in the kernel
happened during 2.4.21.
Hope this helps, and of course if you need some test being done, just ask.
Bye,
Fredi
--
Configure bugmail: http://bugs.xfree86.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel