Distribution: Debian testing Hardware Environment: Intel865GBF motherboard, 1GB RAM, Intel865G integrated graphics card. Software Environment: Xorg-6.9.0, console intelfb framebuffer, Problem Description: I upgrade my debian to new xorg server. After upgrade is not console with framebuffer and HW acceleration in xorg server working. Console is blinking with random character and color - totally unusable. I do'nt know, that this is dri or agp or frammebuffer error. Steps to reproduce: Boot the PC. This messages from log may be usefull. Feb 20 18:05:09 prog3 kernel: Linux agpgart interface v0.101 (c) Dave Jones Feb 20 18:05:09 prog3 kernel: agpgart: Detected an Intel 865 Chipset. Feb 20 18:05:09 prog3 kernel: agpgart: Detected 16252K stolen memory. Feb 20 18:05:09 prog3 kernel: agpgart: AGP aperture is 128M @ 0xf0000000 Feb 20 18:05:09 prog3 kernel: [drm] Initialized drm 1.0.1 20051102 ...... Feb 20 20:06:23 prog3 kernel: mtrr: base(0xf0020000) is not aligned on a size(0x800000) boundary Feb 20 20:06:23 prog3 kernel: [drm:drm_unlock] *ERROR* Process 2443 using kernel context 0 ..... Feb 20 18:13:34 prog3 kernel: ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 19 Feb 20 18:13:34 prog3 kernel: [drm] Initialized i830 1.3.2 20021108 on minor 0 Feb 20 18:13:45 prog3 kernel: intelfb: intelfb_init Feb 20 18:13:45 prog3 kernel: intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM chipsets Feb 20 18:13:45 prog3 kernel: intelfb: Version 0.9.2 Feb 20 18:13:45 prog3 kernel: intelfb: intelfb_pci_register Feb 20 18:13:45 prog3 kernel: ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 19 Feb 20 18:13:45 prog3 kernel: intelfb: fb aperture: 0xf0000000/0x8000000, MMIO region: 0xffa00000/0x80000 Feb 20 18:13:45 prog3 kernel: intelfb: 00:02.0: Intel(R) 865G, aperture size 128MB, stolen memory 16252kB Feb 20 18:13:45 prog3 kernel: intelfb: cannot acquire agp Feb 20 18:13:45 prog3 kernel: intelfb: cleanup Feb 20 18:14:07 prog3 kernel: mtrr: base(0xf0020000) is not aligned on a size(0x800000) boundary Feb 20 18:14:07 prog3 kernel: [drm:drm_unlock] *ERROR* Process 2610 using kernel context 0 Feb 20 19:26:05 prog3 kernel: [drm] Module unloaded Feb 20 19:26:08 prog3 kernel: intelfb: intelfb_exit Feb 20 19:26:12 prog3 kernel: intelfb: intelfb_init ...... goldenfish@prog3:~$ cat /proc/mtrr reg00: base=0x00000000 ( 0MB), size=1024MB: write-back, count=1 reg01: base=0xf0000000 (3840MB), size= 128MB: write-combining, count=2 goldenfish@prog3:~$ For testing and more information, contact me. Thank you.
I assume it's a DRM problem. David, can you confirm? Pavel, do you know if any earlier kernels worked OK?
are you building your own kernels? if so then you are using the wrong DRM driver more than likely... you have the i830 driver loaded when it should be the i915, this doesn't happen if you use distro kernels or read the DRM module help in Kconfig..
Latest version, that i was tested, is 2.6.15-rc7. No problem with mtrr. More info about hardware from previous report: http://bugme.osdl.org/show_bug.cgi?id=4738
Created attachment 7423 [details] kernel log information and tip usefull info: Feb 20 20:06:01 prog3 kernel: PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0 ^^^^^^^^^^^^ Feb 20 20:06:01 prog3 kernel: PCI: Bridge: 0000:00:1e.0 Feb 20 20:06:01 prog3 kernel: IO window: a000-bfff Feb 20 20:06:01 prog3 kernel: MEM window: ff900000-ff9fffff Feb 20 20:06:01 prog3 kernel: PREFETCH window: disabled. Feb 20 20:06:01 prog3 kernel: PCI: Setting latency timer of device 0000:00:1e.0 to 64 lspci -tv -s '0000:02.0' -[00]---02.0 Intel Corporation 82865G Integrated Graphics Controller
Looks like something acquired agp but did not release it (drm?) which caused intelfb to fail. You can try these: 1. Make sure that intelfb gets loaded first (ie by compiling intelfb statically and DRM as a module). 2. Disable acceleration in intelfb (video=intelfb:accel=0 or modprobe intelfb accel=0)
Created attachment 7439 [details] detailed info. Bug more described. Hi, i was create tests and i found possible error. Booting with intelfb framebuffer compiled statically with parameters: accel=0/1, mtrr=0/1 working --> intelfb loaded first than i830 module and xorg. Only intel-dri acceleration not working - tested with glxinfo. Intelfb is working. If xorg loaded before intelfb driver, console is after switching X->console blinking with random chars. I look in the log: kernel.log : Feb 20 18:14:07 prog3 kernel: mtrr: base(0xf0020000) is not aligned on a size(0x800000) boundary Xorg.log : (II) I810(0): [drm] framebuffer handle = 0xf0020000 (II) I810(0): [drm] added 1 reserved context for kernel (WW) I810(0): i830 Kernel module detected, Use the i915 Kernel module instead, aborting DRI init. (II) I810(0): [drm] removed 1 reserved context for kernel Xorg logfile is attached.
> (WW) I810(0): i830 Kernel module detected, Use the i915 Kernel module > instead, > aborting DRI init. It's telling you what to do, use the 1915 module. So do not compile the i830 kernel module but grab the drm module instead from http://dri.sf.net and compile that.
Hi, sorry for late answer. I test latest linux-2.6.git with new X-server (7.x - debian testing), new drm(i915) module and actual intelfb module. Some things working, some not. 0) intelfb driver working for me 1) a) modprobe intelfb, modprobe i915, start xorg server -> working b) modprobe i915, start xorg server, modprobe intelfb -> crash computer. no log, computer freeze, monitor has yellow led light 2) dri acceleration working. i must use cvs version of i915_drv.so file. 3) AGP Aperature size - BIOS - i have set 256MB. kernel report me 128MB. Jun 24 16:03:54 prog3 kernel: agpgart: Detected an Intel 865 Chipset. Jun 24 16:03:54 prog3 kernel: Linux agpgart interface v0.101 (c) Dave Jones Jun 24 16:03:54 prog3 kernel: agpgart: Detected an Intel 865 Chipset. Jun 24 16:03:54 prog3 kernel: agpgart: Detected 16252K stolen memory. Jun 24 16:03:54 prog3 kernel: agpgart: AGP aperture is 128M @ 0xf0000000 Jun 24 16:03:54 prog3 kernel: [drm] Initialized drm 1.0.1 20051102 os - 256MB with my matroxg550 i have 256MB. Jun 23 10:41:30 prog3 kernel: Linux agpgart interface v0.101 (c) Dave Jones Jun 23 10:41:30 prog3 kernel: agpgart: Detected an Intel 865 Chipset. Jun 23 10:41:30 prog3 kernel: agpgart: AGP aperture is 256M @ 0xe0000000 Jun 23 10:41:30 prog3 kernel: [drm] Initialized drm 1.0.1 20051102 i don't know, that this is error or not. I close this bug. Thanks goldenfish