Bug#561552: linux-image-2.6.32-trunk-amd64: [agp/drm] agp + dri unavailable with testing X.org 1.6.5
Bob Calhoun wrote: Mr. Schorpp, On Wed, 27 Jan 2010, you wrote, "This has already been triaged to the broken firmware-loader if built as module, radeon cannot work without r300_cp.bin here, it is not built into debian kernels but in /lib/firmware/radeon, report it upstream, there's no config issue:" Now, I do not know what the problem is but the only Debian kernel I have ever had difficulties with is linux-image-2.6.32-trunk-amd64. My machine runs well with linux-image-2.6.30-2-amd64 but not with linux-image-2.6.32-trunk-amd64; according to the Xorg log, AGP failed to initialize. Over on Debian User Forums, a number of posters are rejecting linux-image-2.6.32-trunk-amd64. http://forums.debian.net/viewtopic.php?f=5&t=48790 We don't work with webforums here, they're inefficent and unergonomical for managing and using SW-QA-Processes. As I said, I don't know where the problem is, but as things sit I cannot use this new kernel. Regards, Bob Calhoun Don't call me 'Mr.' , don't mail me off-list and pls provide qualified extra info from Your machine using reportbug and tell the other guys in that forum to do so, thank You cu y tom -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#561552: linux-image-2.6.32-trunk-amd64: [agp/drm] agp + dri unavailable with testing X.org 1.6.5
Julien Cristau wrote: 23:52:41 < Ghworg> Debian have changed the kernel config CONFIG_AGP from 'y' to 'm' going from 31 to 32, that could be affecting it 00:07:29 <@airlied> jcristau: could be the AGP DMA changes I suppose The first is probably easier to check. Otherwise a bisection would probably help narrow it down. Cheers, Julien This has already been triaged to the broken firmware-loader if built as module, radeon cannot work without r300_cp.bin here, it is not built into debian kernels but in /lib/firmware/radeon, report it upstream, there's no config issue: Module load order is correct: radeon449055 0 ttm31484 1 radeon drm_kms_helper 18883 1 radeon drm 137190 3 radeon,ttm,drm_kms_helper i2c_algo_bit4225 1 radeon ... amd64_agp 6814 0 ... agpgart24733 3 ttm,drm,amd64_agp No issue visible with kernel config? : tom1:~# diff -U3 /usr/src/linux-headers-2.6.32-trunk-amd64/.config /usr/src/linux/.config |grep -i radeon CONFIG_DRM_RADEON=m CONFIG_FB_RADEON=m CONFIG_FB_RADEON_I2C=y CONFIG_FB_RADEON_BACKLIGHT=y # CONFIG_FB_RADEON_DEBUG is not set -# CONFIG_DRM_RADEON_KMS is not set tom1:~# tom1:~# diff -U3 /usr/src/linux-headers-2.6.32-trunk-amd64/.config /usr/src/linux/.config |grep -i agp -CONFIG_AGP=m -CONFIG_AGP_AMD64=m -CONFIG_AGP_INTEL=m -CONFIG_AGP_SIS=m +CONFIG_AGP=y +CONFIG_AGP_AMD64=y +# CONFIG_AGP_INTEL is not set +# CONFIG_AGP_SIS is not set CONFIG_AGP_VIA=m tom1:~# tom1:~# diff -U3 /usr/src/linux-headers-2.6.32-trunk-amd64/.config /usr/src/linux/.config |grep -i drm CONFIG_DRM=m CONFIG_DRM_KMS_HELPER=m CONFIG_DRM_TTM=m CONFIG_DRM_TDFX=m -CONFIG_DRM_R128=m +# CONFIG_DRM_R128 is not set CONFIG_DRM_RADEON=m -CONFIG_DRM_I810=m -CONFIG_DRM_I830=m -CONFIG_DRM_I915=m -# CONFIG_DRM_I915_KMS is not set -CONFIG_DRM_MGA=m -CONFIG_DRM_SIS=m -CONFIG_DRM_VIA=m +# CONFIG_DRM_MGA is not set +# CONFIG_DRM_SIS is not set +# CONFIG_DRM_VIA is not set CONFIG_DRM_SAVAGE=m -# CONFIG_DRM_RADEON_KMS is not set tom1:~# tom1:~# diff -U3 /usr/src/linux-headers-2.6.32-trunk-amd64/.config /usr/src/linux/.config |grep -i firmware CONFIG_PREVENT_FIRMWARE_BUILD=y -# CONFIG_FIRMWARE_IN_KERNEL is not set +CONFIG_FIRMWARE_IN_KERNEL=y CONFIG_EXTRA_FIRMWARE="" CONFIG_HOSTAP_FIRMWARE=y -# CONFIG_HOSTAP_FIRMWARE_NVRAM is not set +CONFIG_HOSTAP_FIRMWARE_NVRAM=y CONFIG_RT2X00_LIB_FIRMWARE=y CONFIG_FIRMWARE_EDID=y # Firmware Drivers CONFIG_FIRMWARE_MEMMAP=y tom1:~# tom1:~# dmesg |grep -i drm [ 58.696061] [drm] Initialized drm 1.1.0 20060810 [ 58.850988] [drm] radeon defaulting to userspace modesetting. [ 58.852842] [drm] Initialized radeon 1.31.0 20080528 for :01:00.0 on minor 0 tom1:~# The radeon firmware request tom1:~# grep -i firmware /var/log/syslog.0 Jan 27 11:32:39 tom1 kernel: dvb-usb: found a 'LITE-ON USB2.0 DVB-T Tuner' in cold state, will try to load a firmware Jan 27 11:32:39 tom1 kernel: usb 1-4: firmware: requesting dvb-usb-dibusb-6.0.0.8.fw Jan 27 11:32:39 tom1 kernel: dvb-usb: downloading firmware from file 'dvb-usb-dibusb-6.0.0.8.fw' Jan 27 11:32:39 tom1 kernel: dvb :00:07.0: firmware: requesting dvb-ttpci-01.fw Jan 27 11:32:39 tom1 kernel: dvb :00:07.0: firmware: requesting av7110/bootcode.bin Jan 27 11:32:39 tom1 kernel: dvb-ttpci: firmware @ card 1 supports CI link layer interface Jan 27 11:32:39 tom1 kernel: [Firmware Bug]: powernow-k8: No PSB or ACPI _PSS objects Jan 27 11:32:59 tom1 kernel: platform radeon_cp.0: firmware: requesting radeon/R300_cp.bin <--- tom1:~# is missing with the debian kernel: tom1:~# dmesg |grep -i firmware [ 11.747973] dvb :00:07.0: firmware: requesting dvb-ttpci-01.fw [ 11.915455] dvb :00:07.0: firmware: requesting av7110/bootcode.bin [ 12.392179] dvb-ttpci: firmware @ card 2 supports CI link layer interface [ 31.489350] [Firmware Bug]: powernow-k8: No PSB or ACPI _PSS objects tom1:~# tom1:~# dmesg |grep -i agp [0.00] AGP bridge at 00:00:00 [0.00] Aperture from AGP @ e400 old size 32 MB [0.00] Aperture from AGP @ e400 size 64 MB (APSIZE f30) [0.727490] Linux agpgart interface v0.103 tom1:~# y tom -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#561552: linux-image-2.6.32-trunk-amd64: [agp/drm] agp + dri unavailable with testing X.org 1.6.5
On Fri, Dec 18, 2009 at 06:06:52 +0100, tom schorpp wrote: > Package: linux-2.6 > Version: 2.6.32-2 > Severity: normal > > At least tvtime works in indirect mode only, high CPU. > > Does not look like missing Firmware, no FW err messages in dmesg or syslog: > > --- /var/log/Xorg.0.log 2009-12-18 05:10:10.0 +0100 > +++ /var/log/Xorg.0.log.old 2009-12-18 05:06:14.0 +0100 > @@ -3,7 +3,7 @@ > Release Date: 2009-10-11 > X Protocol Version 11, Revision 0 > Build Operating System: Linux 2.6.30-2-amd64 x86_64 Debian > -Current Operating System: Linux tom1 2.6.31-1-amd64 #1 SMP Mon Nov 16 > 04:44:38 UTC 2009 x86_64 > +Current Operating System: Linux tom1 2.6.32-trunk-amd64 #1 SMP Thu Dec 17 > 06:29:18 UTC 2009 x86_64 > Build Date: 13 October 2009 09:39:10AM > xorg-server 2:1.6.5-1 (jcris...@debian.org) > Before reporting problems, check http://wiki.x.org > @@ -1018,35 +1018,18 @@ > (II) RADEON(0): [drm] added 1 reserved context for kernel > (II) RADEON(0): X context handle = 0x1 > (II) RADEON(0): [drm] installed DRM signal handler > -(**) RADEON(0): Using AGP 4x > -(II) RADEON(0): [agp] Mode 0x1f000a09 [AGP 0x1106/0x0282; Card 0x1002/0x4152 > 0x17af/0x2016] > -(II) RADEON(0): [agp] 65536 kB allocated with handle 0x0001 > -(II) RADEON(0): [agp] ring handle = 0xd000 > -(II) RADEON(0): [agp] Ring mapped at 0x7f7f9fcc1000 > -(II) RADEON(0): [agp] ring read ptr handle = 0xd0101000 > -(II) RADEON(0): [agp] Ring read ptr mapped at 0x7f7f9fde7000 > -(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xd0102000 > -(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x7f7f9318a000 > -(II) RADEON(0): [agp] GART texture map handle = 0xd0302000 > -(II) RADEON(0): [agp] GART Texture map mapped at 0x7f7f8f58a000 > -(II) RADEON(0): [drm] register handle = 0x2fff8000 > -(II) RADEON(0): [dri] Visual configs initialized > +(WW) RADEON(0): [agp] AGP not available > +(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI. > +(II) RADEON(0): [agp] You may want to make sure the agpgart kernel module > +is loaded before the radeon kernel module. > +(II) RADEON(0): [drm] removed 1 reserved context for kernel > +(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0x1b7ff000 at > 0x7f757345f000 > +(II) RADEON(0): [drm] Closed DRM master. So this came up a while back on #radeon, and today again on #debian-x. Two possible leads: 23:45:18 < jcristau> airlied: does the above ring a bell? (agp failure with 2.6.32, works with .31) 23:52:41 < Ghworg> Debian have changed the kernel config CONFIG_AGP from 'y' to 'm' going from 31 to 32, that could be affecting it 00:07:29 <@airlied> jcristau: could be the AGP DMA changes I suppose The first is probably easier to check. Otherwise a bisection would probably help narrow it down. Cheers, Julien -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#561552: linux-image-2.6.32-trunk-amd64: [agp/drm] agp + dri unavailable with testing X.org 1.6.5
Package: linux-2.6 Version: 2.6.32-2 Severity: normal At least tvtime works in indirect mode only, high CPU. Does not look like missing Firmware, no FW err messages in dmesg or syslog: --- /var/log/Xorg.0.log 2009-12-18 05:10:10.0 +0100 +++ /var/log/Xorg.0.log.old 2009-12-18 05:06:14.0 +0100 @@ -3,7 +3,7 @@ Release Date: 2009-10-11 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.30-2-amd64 x86_64 Debian -Current Operating System: Linux tom1 2.6.31-1-amd64 #1 SMP Mon Nov 16 04:44:38 UTC 2009 x86_64 +Current Operating System: Linux tom1 2.6.32-trunk-amd64 #1 SMP Thu Dec 17 06:29:18 UTC 2009 x86_64 Build Date: 13 October 2009 09:39:10AM xorg-server 2:1.6.5-1 (jcris...@debian.org) Before reporting problems, check http://wiki.x.org @@ -11,7 +11,7 @@ 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: Fri Dec 18 05:08:46 2009 +(==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 18 04:11:44 2009 (==) Using config file: "/etc/X11/xorg.conf" (==) ServerLayout "Default Layout" (**) |-->Screen "Default Screen" (0) @@ -1018,35 +1018,18 @@ (II) RADEON(0): [drm] added 1 reserved context for kernel (II) RADEON(0): X context handle = 0x1 (II) RADEON(0): [drm] installed DRM signal handler -(**) RADEON(0): Using AGP 4x -(II) RADEON(0): [agp] Mode 0x1f000a09 [AGP 0x1106/0x0282; Card 0x1002/0x4152 0x17af/0x2016] -(II) RADEON(0): [agp] 65536 kB allocated with handle 0x0001 -(II) RADEON(0): [agp] ring handle = 0xd000 -(II) RADEON(0): [agp] Ring mapped at 0x7f7f9fcc1000 -(II) RADEON(0): [agp] ring read ptr handle = 0xd0101000 -(II) RADEON(0): [agp] Ring read ptr mapped at 0x7f7f9fde7000 -(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xd0102000 -(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x7f7f9318a000 -(II) RADEON(0): [agp] GART texture map handle = 0xd0302000 -(II) RADEON(0): [agp] GART Texture map mapped at 0x7f7f8f58a000 -(II) RADEON(0): [drm] register handle = 0x2fff8000 -(II) RADEON(0): [dri] Visual configs initialized +(WW) RADEON(0): [agp] AGP not available +(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI. +(II) RADEON(0): [agp] You may want to make sure the agpgart kernel module +is loaded before the radeon kernel module. +(II) RADEON(0): [drm] removed 1 reserved context for kernel +(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0x1b7ff000 at 0x7f757345f000 +(II) RADEON(0): [drm] Closed DRM master. (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0xf7fff000 0x1fff (II) RADEON(0): MC_AGP_LOCATION : 0xffc0 (==) RADEON(0): Backing store disabled -(II) RADEON(0): [DRI] installation complete -(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers -(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers -(II) RADEON(0): [drm] dma control initialized, using IRQ 16 -(II) RADEON(0): [drm] Initialized kernel GART heap manager, 62914560 -(WW) RADEON(0): DRI init changed memory map, adjusting ... -(WW) RADEON(0): MC_FB_LOCATION was: 0xf7fff000 is: 0xf7fff000 -(WW) RADEON(0): MC_AGP_LOCATION was: 0xffc0 is: 0xd3ffd000 -(II) RADEON(0): RADEONRestoreMemMapRegisters() : -(II) RADEON(0): MC_FB_LOCATION : 0xf7fff000 0xf7fff000 -(II) RADEON(0): MC_AGP_LOCATION : 0xd3ffd000 -(II) RADEON(0): Direct rendering enabled +(WW) RADEON(0): Direct rendering disabled (II) RADEON(0): XAA Render acceleration unsupported on Radeon 9500/9700 and newer. Please use EXA instead. (II) RADEON(0): Render acceleration disabled (II) RADEON(0): num quad-pipes is 1 @@ -1094,7 +1077,7 @@ restore memmap (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0xf7fff000 0xf7fff000 -(II) RADEON(0): MC_AGP_LOCATION : 0xd3ffd000 +(II) RADEON(0): MC_AGP_LOCATION : 0xffc0 restore common restore crtc1 restore pll1 @@ -1123,19 +1106,9 @@ (II) Initializing built-in extension DAMAGE SELinux: Disabled on system, not enabling in X server (II) AIGLX: Screen 0 is not DRI2 capable -drmOpenDevice: node name is /dev/dri/card0 -drmOpenDevice: open result is 10, (OK) -drmOpenByBusid: Searching for BusID pci::01:00.0 -drmOpenDevice: node name is /dev/dri/card0 -drmOpenDevice: open result is 10, (OK) -drmOpenByBusid: drmOpenMinor returns 10 -drmOpenByBusid: drmGetBusid reports pci::01:00.0 -(II) AIGLX: enabled GLX_MESA_copy_sub_buffer -(II) AIGLX: enabled GLX_SGI_make_current_read -(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control -(II) AIGLX: enabled GLX_texture_from_pixmap with driver support -(II) AIGLX: Loaded and initialized /usr/lib/dri/r300_dri.so -(II) GLX: Initialized DRI GL provider for screen 0 +(II) AIGLX: Screen 0 is not DRI capable +(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so +(II) GLX: