Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Either edit the .config file and rebuild, or use 'make menuconfig' and find the setting in the DRM section (somewhere under device drivers). Alternatively, you can try booting with the option 'intel.modeset=1' passed to the kernel, but I'm not really all the familiar with the intel DRM stuff.
To activate the i915 modesetting you indeed need to activate another option, which appears when selecting the i915 driver and is called: Enable modesetting on intel by default.
Recompile your kernel again and activate this option (section 3 from post #20):
Device Drivers -> Graphics support -> Direct Rendering Manager (as M) -> Intel 830M, 845G, 852GM, 855GM, 865G - > i915 driver -> Enable modesetting on intel by default.
Don't forget to reboot.
After the above is done create a new xorg.conf.new file using the cd ~ && Xorg -configure command and test with the X -retro -config ~/xorg.conf.new command.
Assuming that the intel/modesetting driver problem is now solved, it could be that you do not yet have a working keyboard and/or mouse and that you cannot yet exit X using the crtl-alt-bksp combo.
Mouse/keyboard -> Add the following to your ServerLayout section: Option "AllowEmptyInput" "off"
Ctrl-alt-bksp -> Add the following to your InputDevice / keyboard section: Option "XkbOptions" "terminate:ctrl_alt_bksp"
Hope this helps.
Last edited by druuna; 04-11-2011 at 08:52 AM.
Reason: Grammar
WARNING: All config files need .conf: /etc/modprobe.d/usb.config, it will be ignored in a future release.
WARNING: Error inserting video (/lib/modules/2.6.35.4/kernel/drivers/acpi/video.ko): Invalid module format
WARNING: Error inserting i2c_algo_bit (/lib/modules/2.6.35.4/kernel/drivers/i2c/algos/i2c-algo-bit.ko): Invalid module format
WARNING: Error inserting drm (/lib/modules/2.6.35.4/kernel/drivers/gpu/drm/drm.ko): Invalid module format
WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.35.4/kernel/drivers/gpu/drm/drm_kms_helper.ko): Invalid module format
FATAL: Error inserting i915 (/lib/modules/2.6.35.4/kernel/drivers/gpu/drm/i915/i915.ko): Invalid module format
(EE) intel(1): No kernel modesetting driver detected.
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
[ 12378.185]
X.Org X Server 1.9.3
Release Date: 2010-12-13
[ 12378.185] X Protocol Version 11, Revision 0
[ 12378.185] Build Operating System: Linux 2.6.35.4 i686
[ 12378.186] Current Operating System: Linux planet-spike 2.6.35.4 #1 SMP Sun Apr 10 19:29:32 BST 2011 i686
[ 12378.186] Kernel command line: BOOT_IMAGE=/boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/sda1 ro
[ 12378.186] Build Date: 09 April 2011 01:26:03PM
[ 12378.187]
[ 12378.187] Current version of pixman: 0.15.20
[ 12378.187] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 12378.188] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 12378.189] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 11 20:37:42 2011
[ 12378.189] (++) Using config file: "/root/xorg.conf.new"
[ 12378.189] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 12378.190] (==) ServerLayout "X.org Configured"
[ 12378.190] (**) |-->Screen "Screen0" (0)
[ 12378.190] (**) | |-->Monitor "Monitor0"
[ 12378.191] (**) | |-->Device "Card0"
[ 12378.191] (**) |-->Screen "Screen1" (1)
[ 12378.191] (**) | |-->Monitor "Monitor1"
[ 12378.191] (**) | |-->Device "Card1"
[ 12378.191] (**) |-->Input Device "Mouse0"
[ 12378.191] (**) |-->Input Device "Keyboard0"
[ 12378.191] (==) Automatically adding devices
[ 12378.191] (==) Automatically enabling devices
[ 12378.192] (**) FontPath set to:
/usr/share/fonts/X11/misc/,
/usr/share/fonts/X11/TTF/,
/usr/share/fonts/X11/OTF/,
/usr/share/fonts/X11/Type1/,
/usr/share/fonts/X11/100dpi/,
/usr/share/fonts/X11/75dpi/,
/usr/share/fonts/X11/misc/,
/usr/share/fonts/X11/TTF/,
/usr/share/fonts/X11/OTF/,
/usr/share/fonts/X11/Type1/,
/usr/share/fonts/X11/100dpi/,
/usr/share/fonts/X11/75dpi/
[ 12378.192] (**) ModulePath set to "/usr/lib/X11/modules"
[ 12378.192] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 12378.192] (WW) Disabling Mouse0
[ 12378.192] (WW) Disabling Keyboard0
[ 12378.192] (II) Loader magic: 0x81f1480
[ 12378.192] (II) Module ABI versions:
[ 12378.192] X.Org ANSI C Emulation: 0.4
[ 12378.192] X.Org Video Driver: 8.0
[ 12378.192] X.Org XInput driver : 11.0
[ 12378.192] X.Org Server Extension : 4.0
[ 12378.193] (--) PCI:*(0:0:2:0) 8086:3582:1179:0002 rev 1, Mem @ 0xd8000000/134217728, 0xd0000000/524288, I/O @ 0x0000eff8/8
[ 12378.194] (--) PCI: (0:0:2:1) 8086:3582:1179:0002 rev 1, Mem @ 0x10000000/134217728, 0x1c000000/524288
[ 12378.194] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 12378.194] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[ 12378.194] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[ 12378.194] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 12378.194] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[ 12378.194] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[ 12378.194] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[ 12378.194] (II) LoadModule: "dbe"
[ 12378.195] (II) Loading /usr/lib/X11/modules/extensions/libdbe.so
[ 12378.236] (II) Module dbe: vendor="X.Org Foundation"
[ 12378.236] compiled for 1.9.3, module version = 1.0.0
[ 12378.236] Module class: X.Org Server Extension
[ 12378.236] ABI class: X.Org Server Extension, version 4.0
[ 12378.236] (II) Loading extension DOUBLE-BUFFER
[ 12378.236] (II) LoadModule: "record"
[ 12378.237] (II) Loading /usr/lib/X11/modules/extensions/librecord.so
[ 12378.260] (II) Module record: vendor="X.Org Foundation"
[ 12378.260] compiled for 1.9.3, module version = 1.13.0
[ 12378.260] Module class: X.Org Server Extension
[ 12378.260] ABI class: X.Org Server Extension, version 4.0
[ 12378.260] (II) Loading extension RECORD
[ 12378.260] (II) LoadModule: "dri2"
[ 12378.261] (II) Loading /usr/lib/X11/modules/extensions/libdri2.so
[ 12378.276] (II) Module dri2: vendor="X.Org Foundation"
[ 12378.276] compiled for 1.9.3, module version = 1.2.0
[ 12378.276] ABI class: X.Org Server Extension, version 4.0
[ 12378.276] (II) Loading extension DRI2
[ 12378.276] (II) LoadModule: "dri"
[ 12378.276] (II) Loading /usr/lib/X11/modules/extensions/libdri.so
[ 12378.299] (II) Module dri: vendor="X.Org Foundation"
[ 12378.299] compiled for 1.9.3, module version = 1.0.0
[ 12378.299] ABI class: X.Org Server Extension, version 4.0
[ 12378.299] (II) Loading extension XFree86-DRI
[ 12378.299] (II) LoadModule: "glx"
[ 12378.300] (II) Loading /usr/lib/X11/modules/extensions/libglx.so
[ 12378.337] (II) Module glx: vendor="X.Org Foundation"
[ 12378.337] compiled for 1.9.3, module version = 1.0.0
[ 12378.337] ABI class: X.Org Server Extension, version 4.0
[ 12378.358] (==) AIGLX enabled
[ 12378.358] (II) Loading extension GLX
[ 12378.358] (II) LoadModule: "extmod"
[ 12378.359] (II) Loading /usr/lib/X11/modules/extensions/libextmod.so
[ 12378.377] (II) Module extmod: vendor="X.Org Foundation"
[ 12378.377] compiled for 1.9.3, module version = 1.0.0
[ 12378.377] Module class: X.Org Server Extension
[ 12378.377] ABI class: X.Org Server Extension, version 4.0
[ 12378.377] (II) Loading extension MIT-SCREEN-SAVER
[ 12378.377] (II) Loading extension XFree86-VidModeExtension
[ 12378.377] (II) Loading extension XFree86-DGA
[ 12378.377] (II) Loading extension DPMS
[ 12378.377] (II) Loading extension XVideo
[ 12378.377] (II) Loading extension XVideo-MotionCompensation
[ 12378.377] (II) Loading extension X-Resource
[ 12378.377] (II) LoadModule: "intel"
[ 12378.378] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so
[ 12378.379] (II) Module intel: vendor="X.Org Foundation"
[ 12378.379] compiled for 1.9.3, module version = 2.13.0
[ 12378.379] Module class: X.Org Video Driver
[ 12378.379] ABI class: X.Org Video Driver, version 8.0
[ 12378.379] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
Sandybridge, Sandybridge
[ 12378.380] (--) using VT number 7
[ 12378.394] (EE) intel(0): No kernel modesetting driver detected.
[ 12378.399] (EE) intel(1): No kernel modesetting driver detected.
[ 12378.400] (II) UnloadModule: "intel"
[ 12378.400] (II) UnloadModule: "intel"
[ 12378.400] (EE) Screen(s) found, but none have a usable configuration.
[ 12378.400]
Fatal server error:
[ 12378.400] no screens found
[ 12378.400]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 12378.400] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 12378.400]
Based on the "invalid module format" error, it sounds like you're trying to load an intel kernel module that is not compatible with the current running kernel. After rebuilding the kernel, did you boot off the new one you compiled?
This looks to be an interesting problem.... An internet search shows that many people struggle with this driver.
Looking at the .config file you posted, a few of my doubts are already taken away (are these drivers compiled as a module: Yes. Are there any other framebuffer devices present: No). No need to double check that.
You could try adding the following line to the /etc/modprobe.conf file: options i915 modeset=1. I don't think a reboot is needed (not 100% sure).
I also read that the following should be set: Framebuffer Console support and Framebuffer Console Rotation (Device Drivers -> Graphics support -> Console display driver support -> Framebuffer Console support + Framebuffer Console Rotation).
The above need to be static (a *) and _not_ modular (no M)!! Looking at your .config file, the Framebuffer Console support is present, but it is set as a module, not static. The other option is not set in your kernel.
Just to make sure you install a clean module tree add the following step to the compile steps mentioned before:
Code:
mv /lib/modules/2.6.35.4 /lib/modules/2.6.35.4.previous
cd /usr/src/linux-2.6.35.4
# first clean the kernel tree
make mrproper
# as a side effect the .config file is also removed, get the one that is currently used
cp /boot/config-2.6.35.4 .config
# edit kernel options
make menuconfig
# Once the menuconfig menu is shown, go to the sections mentioned in post #16 and enable
# them (they should not be blank, a * or an M should be present)
# exit and safe when done.
# compile kernel
make
# compile modules
make modules_install
# copy files to /boot
cp arch/x86/boot/bzImage /boot/vmlinux-2.6.35.4-lfs-6.7
cp System.map /boot/System.map-2.6.35.4
cp .config /boot/config-2.6.35.4
Ok, that should be enough to keep you busy for a while
Seriously: I hope this will work for you, but like I stated before, a lot of people seem to have problems with this driver and X. We might not be out of the woods yet.....
Ok we have a new problem to start the evening off, turn laptop on grub ran through system then a black screen, no cursor nothing. I booted a live cd changed xorg.conf.new file from INTEL to VESA reboot black screen no cursor again, Typed in user name and password nothing? Typed "startx" as user eventually it started at command prompt as user logged in, with a msg about x.server connection refused. Anyway we back in the system If I reboot same thing again It wont start till I type startx. ANYONE FOR A CHALLENGE LOL
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.