Bug 22440

Summary: [915GM KMS] Booting with i915 modeset=1 results in [drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module
Product: xorg Reporter: Sven Arvidsson <sa>
Component: Driver/intelAssignee: Gordon Jin <gordon.jin>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: NEEDINFO
Version: 7.4 (2008.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Sven Arvidsson 2009-06-23 11:10:17 UTC
I'm trying to enable KMS directly from boot on my Asus Eee PC 701 4G by passing the kernel parameter video=i915:modeset=1. This works fine on my G45 system, but on the Eee I get two error messages:

 [drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module.
 DRM: Fill_in_dev failed.

The i915 module is loaded (but without KMS) and booting continues, but starting X causes the screen to go black.

Loading the i915 module later during boot (via /etc/modules for example) works fine.

Kernel 2.6.29 does not print this error, but the i915 module isn't loaded at all, so I guess there's some sort of problem in this version too.

I'm not sure if this is a bug, or a problem with the order in which Debian's initramfs loads the modules?

System environment:
-- chipset: 910GML 
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- Machine or mobo model: Asus Eee PC 701 4G (using latest BIOS from Asus)
-- Display connector: LVDS
-- xf86-video-intel: 52367847087206b92f18c40d356d36ab9ee89d39
-- mesa: 7.4
-- xserver: 1.6.1.901
-- drm: 07646002c6835537c6ae44ef9b3f8480762279b8
-- kernel: 2.6.30 (from debian)
Comment 1 Gordon Jin 2009-06-23 18:54:44 UTC
This seems a kernel config issue, and likely to be dup with bug#22358.

Could you make sure agpgart built in, or this patch helps:
http://git.kernel.org/?p=linux/kernel/git/anholt/drm-intel.git;a=commit;h=8c52da503b7e4cf961807f11824e3258ef9f7f1c
Comment 2 Julien Cristau 2009-06-24 01:54:17 UTC
make sure the intel_agp module is included in your initramfs, if i915 is
there.
Comment 3 Sven Arvidsson 2009-06-24 06:39:32 UTC
Thanks for the help. 

The difference between the two systems was that on the G45 I had manually added intel-agp as a requirement for i915 in the initramfs scripts, but not on the Eee, it works fine on both now.

(I'm closing this bug as INVALID)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.