Bug 6110
Summary: | mtrr: base(0xf0020000) is not aligned | ||
---|---|---|---|
Product: | Drivers | Reporter: | Pavel Kysilka (goldenfish) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | high | CC: | adaplas, airlied, akpm, davej |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.16-rc3 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
kernel log information and tip
detailed info. Bug more described. |
Description
Pavel Kysilka
2006-02-20 11:45:56 UTC
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 |