LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Creating an X11R6 Compatibility Symlink (https://www.linuxquestions.org/questions/linux-from-scratch-13/creating-an-x11r6-compatibility-symlink-874031/)

spiky0011 04-09-2011 03:56 PM

Creating an X11R6 Compatibility Symlink
 
OK I,m here now http://www.linuxfromscratch.org/blfs...x/x-setup.html
I ran
Code:

ln -vsf <$XORG_PREFIX> /usr/X11R6
I got, "ln: missing file operand". There is an empty file in /usr/X11R6. Also I take it these commands can be run from anywhere.

Coelacanth 04-09-2011 04:08 PM

I guess my first two questions would be:

(1) Is $XORG_PREFIX defined? What is the output of `echo $XORG_PREFIX'?

(2) You're not actually typing the '<' and '>' characters, are you?

spiky0011 04-09-2011 04:14 PM

Opps Sorry

spiky0011 04-09-2011 04:33 PM

Ok swiftly moving on, I ran the next command and nothing it created the xorg.conf.new but no screen "Fatal server error no screen found" as reported in /var/log/Xorg.0.log, I am using a laptop if this helps
Code:

[ 39922.533] (--) using VT number 7

[ 39922.542] (WW) Falling back to old probe method for vesa
[ 39922.542] (WW) Falling back to old probe method for fbdev
[ 39922.542] (II) Loading sub module "fbdevhw"
[ 39922.542] (II) LoadModule: "fbdevhw"
[ 39922.542] (II) Loading /usr/lib/X11/modules/libfbdevhw.so
[ 39922.558] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 39922.558]    compiled for 1.9.3, module version = 0.0.2
[ 39922.558]    ABI class: X.Org Video Driver, version 8.0
[ 39922.558] (EE) open /dev/fb0: No such file or directory
[ 39922.561] (EE) intel(0): No kernel modesetting driver detected.
[ 39922.562] (II) UnloadModule: "intel"
[ 39922.562] (EE) Screen(s) found, but none have a usable configuration.
[ 39922.562]
Fatal server error:
[ 39922.562] no screens found
[ 39922.562]
Please consult the The X.Org Foundation support
        at http://wiki.x.org
 for help.
[ 39922.562] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 39922.562]

Last part of xorg.conf.new

spiky0011 04-10-2011 02:14 AM

This is the results of running
Code:

X -retro -config ~/xorg.conf.new
Code:

(==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr 10 08:02:13 2011
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
WARNING: All config files need .conf: /etc/modprobe.d/usb.config, it will be ignored in a future release.
FATAL: Could not load /lib/modules/2.6.35.4/modules.dep: No such file or directory
(EE) intel(0): No kernel modesetting driver detected.
WARNING: All config files need .conf: /etc/modprobe.d/usb.config, it will be ignored in a future release.
FATAL: Could not load /lib/modules/2.6.35.4/modules.dep: No such file or directory
(EE) intel(1): No kernel modesetting driver detected.
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Also results of
Code:

lspci -k|grep -A3 VGA
Code:

00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 01)
        Subsystem: Toshiba America Info Systems Device 0002
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 01)
        Subsystem: Toshiba America Info Systems Device 0002


druuna 04-10-2011 02:51 AM

Hi,

Just to make sure:
- You ran the cd ~ && Xorg -configure step, which created a ~/xorg.conf.new file in ~
- You tested the created xorg.conf.new file with the X -retro -config ~/xorg.conf.new command and that one gave you the above mentioned error(s)?

It looks like the intel driver is loaded and rejected. Find the Section "Device" part and look for the Driver "xyz" line. xyz is probably intel in your case. Try changing that to vesa and see if that works. This vesa driver is very generic and you do want to change that to the driver that is specific for your hardware (probably intel), but you might need to change some kernel settings.

Also: All the available drivers can be found in /usr/lib/X11/modules/drivers, check to see if the inte driver is present.

PS: The ctrl-alt-backspace might not work unless you add/edit the xorg.conf file, solution was mentioned by me in your previous post: (this post).

Hope this helps.

PPSS: Just noticed your newest reply, which seems to strengthen my believe that the intel driver is missing/misconfigured.

spiky0011 04-10-2011 03:26 AM

Right I added "Option" as stated in post,
Code:

Section "InputClass"
    Identifier          "Keyboard0"
    Driver                "kbd"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

mine is slightly different. Still wont go back to term?.
You were correct with Vesa got me a black screen, Nothing on it No mouse!! is this correct or still more probs?

druuna 04-10-2011 03:52 AM

Hi,

Quote:

Originally Posted by spiky0011 (Post 4319752)
Right I added "Option" as stated in post,
Code:

Section "InputClass"
    Identifier          "Keyboard0"
    Driver                "kbd"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

mine is slightly different. Still wont go back to term?.
You were correct with Vesa got me a black screen, Nothing on it No mouse!! is this correct or still more probs?

I don't think that is correct. When you start X using the X -retro ... line you should get a gray/grid-like screen with an X (the mouse pointer, which should be working). You cannot do anything yet, but that should prove a working, be it very basic, X.

Depending on the option in the Section "InputClass" you should be able to use ctrl-alt-bksp to exit X. If that is not possible you can always open a second terminal (ctrl-alt-F2) and kill the associated process from there.

Can you post the original xorg.conf.new file and the /var/log/Xorg.0.log file that goes with it (re-run the cd ~ && Xorg -configure and X -retro -config ~/xorg.conf.new steps to make sure we look at the original, unedited file).

Hope this helps.

spiky0011 04-10-2011 04:21 AM

Xorg.0.log
Code:

[  433.112]
X.Org X Server 1.9.3
Release Date: 2010-12-13
[  433.112] X Protocol Version 11, Revision 0
[  433.112] Build Operating System: Linux 2.6.35.4 i686
[  433.112] Current Operating System: Linux planet-spike 2.6.35.4 #1 SMP Sun Feb 20 19:11:29 GMT 2011 i686
[  433.112] Kernel command line: BOOT_IMAGE=/boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/sda1 ro
[  433.112] Build Date: 09 April 2011  01:26:03PM
[  433.113] 
[  433.113] Current version of pixman: 0.15.20
[  433.113]        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  433.113] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  433.114] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr 10 09:58:10 2011
[  433.114] (II) Loader magic: 0x81f1480
[  433.114] (II) Module ABI versions:
[  433.114]        X.Org ANSI C Emulation: 0.4
[  433.114]        X.Org Video Driver: 8.0
[  433.114]        X.Org XInput driver : 11.0
[  433.115]        X.Org Server Extension : 4.0
[  433.116] (--) PCI:*(0:0:2:0) 8086:3582:1179:0002 rev 1, Mem @ 0xd8000000/134217728, 0xd0000000/524288, I/O @ 0x0000eff8/8
[  433.116] (--) PCI: (0:0:2:1) 8086:3582:1179:0002 rev 1, Mem @ 0x10000000/134217728, 0x1c000000/524288
[  433.224] List of video drivers:
[  433.225]        s3virge
[  433.225]        intel
[  433.225]        mach64
[  433.225]        cirrus
[  433.226]        ast
[  433.226]        ark
[  433.226]        r128
[  433.226]        sisusb
[  433.227]        radeon
[  433.227]        ati
[  433.227]        voodoo
[  433.227]        apm
[  433.227]        mga
[  433.228]        nv
[  433.228]        sis
[  433.228]        i128
[  433.228]        rendition
[  433.228]        savage
[  433.229]        v4l
[  433.229]        tdfx
[  433.229]        i740
[  433.229]        neomagic
[  433.230]        dummy
[  433.230]        xgi
[  433.230]        glint
[  433.230]        siliconmotion
[  433.231]        trident
[  433.231]        s3
[  433.231]        tga
[  433.231]        tseng
[  433.231]        fbdev
[  433.232]        vesa
[  433.232] (II) LoadModule: "s3virge"
[  433.281] (II) Loading /usr/lib/X11/modules/drivers/s3virge_drv.so
[  433.305] (II) Module s3virge: vendor="X.Org Foundation"
[  433.305]        compiled for 1.9.3, module version = 1.10.4
[  433.305]        Module class: X.Org Video Driver
[  433.305]        ABI class: X.Org Video Driver, version 8.0
[  433.305] (II) LoadModule: "intel"
[  433.306] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so
[  433.461] (II) Module intel: vendor="X.Org Foundation"
[  433.461]        compiled for 1.9.3, module version = 2.13.0
[  433.461]        Module class: X.Org Video Driver
[  433.461]        ABI class: X.Org Video Driver, version 8.0
[  433.461] (II) LoadModule: "mach64"
[  433.462] (II) Loading /usr/lib/X11/modules/drivers/mach64_drv.so
[  433.501] (II) Module mach64: vendor="X.Org Foundation"
[  433.501]        compiled for 1.9.3, module version = 6.8.2
[  433.501]        Module class: X.Org Video Driver
[  433.501]        ABI class: X.Org Video Driver, version 8.0
[  433.501] (II) LoadModule: "cirrus"
[  433.502] (II) Loading /usr/lib/X11/modules/drivers/cirrus_drv.so
[  433.515] (II) Module cirrus: vendor="X.Org Foundation"
[  433.515]        compiled for 1.9.3, module version = 1.3.2
[  433.515]        Module class: X.Org Video Driver
[  433.515]        ABI class: X.Org Video Driver, version 8.0
[  433.515] (II) LoadModule: "ast"
[  433.516] (II) Loading /usr/lib/X11/modules/drivers/ast_drv.so
[  433.527] (II) Module ast: vendor="X.Org Foundation"
[  433.527]        compiled for 1.9.3, module version = 0.91.10
[  433.527]        Module class: X.Org Video Driver
[  433.527]        ABI class: X.Org Video Driver, version 8.0
[  433.527] (II) LoadModule: "ark"
[  433.528] (II) Loading /usr/lib/X11/modules/drivers/ark_drv.so
[  433.552] (II) Module ark: vendor="X.Org Foundation"
[  433.552]        compiled for 1.9.3, module version = 0.7.3
[  433.552]        Module class: X.Org Video Driver
[  433.552]        ABI class: X.Org Video Driver, version 8.0
[  433.552] (II) LoadModule: "r128"
[  433.553] (II) Loading /usr/lib/X11/modules/drivers/r128_drv.so
[  433.577] (II) Module r128: vendor="X.Org Foundation"
[  433.577]        compiled for 1.9.3, module version = 6.8.1
[  433.577]        Module class: X.Org Video Driver
[  433.577]        ABI class: X.Org Video Driver, version 8.0
[  433.577] (II) LoadModule: "sisusb"
[  433.578] (II) Loading /usr/lib/X11/modules/drivers/sisusb_drv.so
[  433.593] (II) Module sisusb: vendor="X.Org Foundation"
[  433.593]        compiled for 1.9.3, module version = 0.9.4
[  433.593]        Module class: X.Org Video Driver
[  433.593]        ABI class: X.Org Video Driver, version 8.0
[  433.593] (II) LoadModule: "radeon"
[  433.594] (II) Loading /usr/lib/X11/modules/drivers/radeon_drv.so
[  433.734] (II) Module radeon: vendor="X.Org Foundation"
[  433.735]        compiled for 1.9.3, module version = 6.13.2
[  433.735]        Module class: X.Org Video Driver
[  433.735]        ABI class: X.Org Video Driver, version 8.0
[  433.747] (II) LoadModule: "ati"
[  433.748] (II) Loading /usr/lib/X11/modules/drivers/ati_drv.so
[  433.757] (II) Module ati: vendor="X.Org Foundation"
[  433.757]        compiled for 1.9.3, module version = 6.13.2
[  433.757]        Module class: X.Org Video Driver
[  433.757]        ABI class: X.Org Video Driver, version 8.0
[  433.757] (II) LoadModule: "voodoo"
[  433.758] (II) Loading /usr/lib/X11/modules/drivers/voodoo_drv.so
[  433.779] (II) Module voodoo: vendor="X.Org Foundation"
[  433.779]        compiled for 1.9.3, module version = 1.1.0
[  433.779]        Module class: X.Org Video Driver
[  433.779]        ABI class: X.Org Video Driver, version 8.0
[  433.779] (II) LoadModule: "apm"
[  433.780] (II) Loading /usr/lib/X11/modules/drivers/apm_drv.so
[  433.817] (II) Module apm: vendor="X.Org Foundation"
[  433.817]        compiled for 1.9.3, module version = 1.2.3
[  433.817]        Module class: X.Org Video Driver
[  433.817]        ABI class: X.Org Video Driver, version 8.0
[  433.817] (II) LoadModule: "mga"
[  433.818] (II) Loading /usr/lib/X11/modules/drivers/mga_drv.so
[  433.848] (II) Module mga: vendor="X.Org Foundation"
[  433.848]        compiled for 1.9.3, module version = 1.4.13
[  433.848]        Module class: X.Org Video Driver
[  433.848]        ABI class: X.Org Video Driver, version 8.0
[  433.848] (II) LoadModule: "nv"
[  433.849] (II) Loading /usr/lib/X11/modules/drivers/nv_drv.so
[  433.869] (II) Module nv: vendor="X.Org Foundation"
[  433.869]        compiled for 1.9.3, module version = 2.1.18
[  433.869]        Module class: X.Org Video Driver
[  433.869]        ABI class: X.Org Video Driver, version 8.0
[  433.869] (II) LoadModule: "sis"
[  433.871] (II) Loading /usr/lib/X11/modules/drivers/sis_drv.so
[  433.945] (II) Module sis: vendor="X.Org Foundation"
[  433.945]        compiled for 1.9.3, module version = 0.10.3
[  433.945]        Module class: X.Org Video Driver
[  433.945]        ABI class: X.Org Video Driver, version 8.0
[  433.945] (II) LoadModule: "i128"
[  433.946] (II) Loading /usr/lib/X11/modules/drivers/i128_drv.so
[  433.961] (II) Module i128: vendor="X.Org Foundation"
[  433.961]        compiled for 1.9.3, module version = 1.3.4
[  433.961]        Module class: X.Org Video Driver
[  433.961]        ABI class: X.Org Video Driver, version 8.0
[  433.961] (II) LoadModule: "rendition"
[  433.962] (II) Loading /usr/lib/X11/modules/drivers/rendition_drv.so
[  433.984] (II) Module rendition: vendor="X.Org Foundation"
[  433.984]        compiled for 1.9.3, module version = 4.2.4
[  433.984]        Module class: X.Org Video Driver
[  433.984]        ABI class: X.Org Video Driver, version 8.0
[  433.984] (II) LoadModule: "savage"
[  433.986] (II) Loading /usr/lib/X11/modules/drivers/savage_drv.so
[  434.021] (II) Module savage: vendor="X.Org Foundation"
[  434.021]        compiled for 1.9.3, module version = 2.3.1
[  434.021]        Module class: X.Org Video Driver
[  434.021]        ABI class: X.Org Video Driver, version 8.0
[  434.021] (II) LoadModule: "v4l"
[  434.023] (II) Loading /usr/lib/X11/modules/drivers/v4l_drv.so
[  434.039] (II) Module v4l: vendor="X.Org Foundation"
[  434.039]        compiled for 1.9.3, module version = 0.1.1
[  434.039]        ABI class: X.Org Video Driver, version 8.0
[  434.040] (II) LoadModule: "tdfx"
[  434.041] (II) Loading /usr/lib/X11/modules/drivers/tdfx_drv.so
[  434.061] (II) Module tdfx: vendor="X.Org Foundation"
[  434.061]        compiled for 1.9.3, module version = 1.4.3
[  434.061]        Module class: X.Org Video Driver
[  434.061]        ABI class: X.Org Video Driver, version 8.0
[  434.061] (II) LoadModule: "i740"
[  434.062] (II) Loading /usr/lib/X11/modules/drivers/i740_drv.so
[  434.089] (II) Module i740: vendor="X.Org Foundation"
[  434.089]        compiled for 1.9.3, module version = 1.3.2
[  434.089]        Module class: X.Org Video Driver
[  434.089]        ABI class: X.Org Video Driver, version 8.0
[  434.089] (II) LoadModule: "neomagic"
[  434.090] (II) Loading /usr/lib/X11/modules/drivers/neomagic_drv.so
[  434.114] (II) Module neomagic: vendor="X.Org Foundation"
[  434.114]        compiled for 1.9.3, module version = 1.2.5
[  434.114]        Module class: X.Org Video Driver
[  434.114]        ABI class: X.Org Video Driver, version 8.0
[  434.114] (II) LoadModule: "dummy"
[  434.115] (II) Loading /usr/lib/X11/modules/drivers/dummy_drv.so
[  434.145] (II) Module dummy: vendor="X.Org Foundation"
[  434.145]        compiled for 1.9.3, module version = 0.3.4
[  434.145]        Module class: X.Org Video Driver
[  434.145]        ABI class: X.Org Video Driver, version 8.0
[  434.145] (II) LoadModule: "xgi"
[  434.146] (II) Loading /usr/lib/X11/modules/drivers/xgi_drv.so
[  434.177] (EE) LoadModule: Module xgi does not have a xgiModuleData data object.
[  434.178] (II) UnloadModule: "xgi"
[  434.178] (II) Unloading /usr/lib/X11/modules/drivers/xgi_drv.so
[  434.178] (EE) Failed to load module "xgi" (invalid module, 0)
[  434.178] (II) LoadModule: "glint"
[  434.179] (II) Loading /usr/lib/X11/modules/drivers/glint_drv.so
[  434.226] (II) Module glint: vendor="X.Org Foundation"
[  434.226]        compiled for 1.9.3, module version = 1.2.5
[  434.226]        Module class: X.Org Video Driver
[  434.226]        ABI class: X.Org Video Driver, version 8.0
[  434.226] (II) LoadModule: "siliconmotion"
[  434.228] (II) Loading /usr/lib/X11/modules/drivers/siliconmotion_drv.so
[  434.262] (II) Module siliconmotion: vendor="X.Org Foundation"
[  434.262]        compiled for 1.9.3, module version = 1.7.4
[  434.263]        Module class: X.Org Video Driver
[  434.263]        ABI class: X.Org Video Driver, version 8.0
[  434.263] (II) LoadModule: "trident"
[  434.264] (II) Loading /usr/lib/X11/modules/drivers/trident_drv.so
[  434.284] (II) Module trident: vendor="X.Org Foundation"
[  434.284]        compiled for 1.9.3, module version = 1.3.4
[  434.284]        Module class: X.Org Video Driver
[  434.284]        ABI class: X.Org Video Driver, version 8.0
[  434.285] (II) LoadModule: "s3"
[  434.286] (II) Loading /usr/lib/X11/modules/drivers/s3_drv.so
[  434.314] (II) Module s3: vendor="X.Org Foundation"
[  434.314]        compiled for 1.9.3, module version = 0.6.3
[  434.314]        Module class: X.Org Video Driver
[  434.314]        ABI class: X.Org Video Driver, version 8.0
[  434.314] (II) LoadModule: "tga"
[  434.315] (II) Loading /usr/lib/X11/modules/drivers/tga_drv.so
[  434.330] (II) Module tga: vendor="X.Org Foundation"
[  434.330]        compiled for 1.9.3, module version = 1.2.1
[  434.331]        Module class: X.Org Video Driver
[  434.331]        ABI class: X.Org Video Driver, version 8.0
[  434.331] (II) LoadModule: "tseng"
[  434.332] (II) Loading /usr/lib/X11/modules/drivers/tseng_drv.so
[  434.358] (II) Module tseng: vendor="X.Org Foundation"
[  434.358]        compiled for 1.9.3, module version = 1.1.0
[  434.358]        Module class: X.Org Video Driver
[  434.358]        ABI class: X.Org Video Driver, version 8.0
[  434.358] (II) LoadModule: "fbdev"
[  434.359] (II) Loading /usr/lib/X11/modules/drivers/fbdev_drv.so
[  434.381] (II) Module fbdev: vendor="X.Org Foundation"
[  434.381]        compiled for 1.9.3, module version = 0.4.2
[  434.381]        ABI class: X.Org Video Driver, version 8.0
[  434.381] (II) LoadModule: "vesa"
[  434.383] (II) Loading /usr/lib/X11/modules/drivers/vesa_drv.so
[  434.416] (II) Module vesa: vendor="X.Org Foundation"
[  434.416]        compiled for 1.9.3, module version = 2.3.0
[  434.416]        Module class: X.Org Video Driver
[  434.416]        ABI class: X.Org Video Driver, version 8.0
[  434.416] (WW) Falling back to old probe method for s3virge
[  434.416] (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
[  434.417] (WW) Falling back to old probe method for cirrus
[  434.417] (II) Loading sub module "cirrus_laguna"
[  434.417] (II) LoadModule: "cirrus_laguna"
[  434.418] (II) Loading /usr/lib/X11/modules/drivers/cirrus_laguna.so
[  434.430] (II) Module cirrus_laguna: vendor="X.Org Foundation"
[  434.430]        compiled for 1.9.3, module version = 1.0.0
[  434.430]        ABI class: X.Org Video Driver, version 8.0
[  434.430] (II) Loading sub module "cirrus_alpine"
[  434.430] (II) LoadModule: "cirrus_alpine"
[  434.431] (II) Loading /usr/lib/X11/modules/drivers/cirrus_alpine.so
[  434.455] (II) Module cirrus_alpine: vendor="X.Org Foundation"
[  434.455]        compiled for 1.9.3, module version = 1.0.0
[  434.455]        ABI class: X.Org Video Driver, version 8.0
[  434.455] (WW) Falling back to old probe method for ast
[  434.455] (WW) Falling back to old probe method for ark
[  434.455] (WW) Falling back to old probe method for sisusb
[  434.455] (WW) Falling back to old probe method for voodoo
[  434.455] (WW) Falling back to old probe method for apm
[  434.456] (WW) Falling back to old probe method for sis
[  434.456] (WW) Falling back to old probe method for i128
[  434.456] (WW) Falling back to old probe method for v4l
[  434.456] (II) v4l driver for Video4Linux
[  434.456] (WW) Falling back to old probe method for i740
[  434.456] (WW) Falling back to old probe method for neomagic
[  434.456] (WW) Falling back to old probe method for dummy
[  434.456] (WW) Falling back to old probe method for glint
[  434.456] (WW) Falling back to old probe method for siliconmotion
[  434.456] (WW) Falling back to old probe method for trident
[  434.456] (WW) Falling back to old probe method for s3
[  434.456] (WW) Falling back to old probe method for tga
[  434.456] (WW) Falling back to old probe method for tseng
[  434.456] (II) FBDEV: driver for framebuffer: fbdev
[  434.456] (II) VESA: driver for VESA chipsets: vesa
[  434.602] (++) Using config file: "/root/xorg.conf.new"
[  434.602] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  434.640] (==) ServerLayout "X.org Configured"
[  434.641] (**) |-->Screen "Screen0" (0)
[  434.641] (**) |  |-->Monitor "Monitor0"
[  434.641] (**) |  |-->Device "Card0"
[  434.641] (**) |-->Screen "Screen1" (1)
[  434.641] (**) |  |-->Monitor "Monitor1"
[  434.641] (**) |  |-->Device "Card1"
[  434.641] (**) |-->Input Device "Mouse0"
[  434.641] (**) |-->Input Device "Keyboard0"
[  434.641] (==) Automatically adding devices
[  434.641] (==) Automatically enabling devices
[  434.808] (**) 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/
[  434.808] (**) ModulePath set to "/usr/lib/X11/modules"
[  434.808] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  434.808] (WW) Disabling Mouse0
[  434.808] (WW) Disabling Keyboard0
[  434.812] (EE) intel(0): No kernel modesetting driver detected.
[  434.816] (EE) intel(1): No kernel modesetting driver detected.
[  434.817]
[  434.817]
Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.
[  434.818]
Xorg has configured a multihead system, please check your config.
[  434.819]
Your xorg.conf file is /root/xorg.conf.new

[  434.819] To test the server, run 'X -config /root/xorg.conf.new'

xorg.conf.new
Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath  "/usr/lib/X11/modules"
        FontPath    "/usr/share/fonts/X11/misc/"
        FontPath    "/usr/share/fonts/X11/TTF/"
        FontPath    "/usr/share/fonts/X11/OTF/"
        FontPath    "/usr/share/fonts/X11/Type1/"
        FontPath    "/usr/share/fonts/X11/100dpi/"
        FontPath    "/usr/share/fonts/X11/75dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "record"
        Load  "dri2"
        Load  "dri"
        Load  "glx"
        Load  "extmod"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Monitor"
        Identifier  "Monitor1"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "AccelMethod"                # [<str>]
        #Option    "DRI"                        # [<bool>]
        #Option    "ColorKey"                  # <i>
        #Option    "VideoKey"                  # <i>
        #Option    "FallbackDebug"              # [<bool>]
        #Option    "Tiling"                    # [<bool>]
        #Option    "Shadow"                    # [<bool>]
        #Option    "SwapbuffersWait"            # [<bool>]
        #Option    "XvMC"                      # [<bool>]
        #Option    "XvPreferOverlay"            # [<bool>]
        #Option    "DebugFlushBatches"          # [<bool>]
        #Option    "DebugFlushCaches"          # [<bool>]
        #Option    "DebugWait"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        BusID      "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "AccelMethod"                # [<str>]
        #Option    "DRI"                        # [<bool>]
        #Option    "ColorKey"                  # <i>
        #Option    "VideoKey"                  # <i>
        #Option    "FallbackDebug"              # [<bool>]
        #Option    "Tiling"                    # [<bool>]
        #Option    "Shadow"                    # [<bool>]
        #Option    "SwapbuffersWait"            # [<bool>]
        #Option    "XvMC"                      # [<bool>]
        #Option    "XvPreferOverlay"            # [<bool>]
        #Option    "DebugFlushBatches"          # [<bool>]
        #Option    "DebugFlushCaches"          # [<bool>]
        #Option    "DebugWait"                  # [<bool>]
        Identifier  "Card1"
        Driver      "intel"
        BusID      "PCI:0:2:1"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device    "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

output of X-retro
Code:

(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
WARNING: All config files need .conf: /etc/modprobe.d/usb.config, it will be ignored in a future release.
FATAL: Could not load /lib/modules/2.6.35.4/modules.dep: No such file or directory
(EE) intel(0): No kernel modesetting driver detected.
WARNING: All config files need .conf: /etc/modprobe.d/usb.config, it will be ignored in a future release.
FATAL: Could not load /lib/modules/2.6.35.4/modules.dep: No such file or directory
(EE) intel(1): No kernel modesetting driver detected.
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
        at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.


spiky0011 04-10-2011 05:09 AM

I just tried it again still no screen but I did find that Ctrl+alt+F2,F3 etc wont work either? As if it,s not changing TTY

druuna 04-10-2011 05:22 AM

Hi,

The Xorg.0.log shows that:

1 - Multiple screens/monitors and devices are found (2 of each to be precise),
2 - intel is used as driver, but that one is not valid. You do eventually need the intel driver, the lspci output does show 82852/855GM. You probably need to configure this in the kernel, I'll focus on the vesa driver for the moment.
3 - there is a problem with xgi (ignore for now).

I removed the second device/screen/monitor from your xorg.conf.new, edited the ServerLayout and changed the intel driver to vesa, try this one:
Code:

Section "ServerLayout"
  Identifier  "X.org Configured"
  InputDevice  "Mouse0" "CorePointer"
  InputDevice  "Keyboard0" "CoreKeyboard"
  Screen      0  "Screen0" 0 0
  Option      "Xinerama" "off"
  Option      "AllowEmptyInput" "off"

EndSection

Section "Files"
    ModulePath  "/usr/lib/X11/modules"
    FontPath    "/usr/share/fonts/X11/misc/"
    FontPath    "/usr/share/fonts/X11/TTF/"
    FontPath    "/usr/share/fonts/X11/OTF/"
    FontPath    "/usr/share/fonts/X11/Type1/"
    FontPath    "/usr/share/fonts/X11/100dpi/"
    FontPath    "/usr/share/fonts/X11/75dpi/"
EndSection

Section "Module"
    Load  "dbe"
    Load  "record"
    Load  "dri2"
    Load  "dri"
    Load  "glx"
    Load  "extmod"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "CoreKeyboard"
    Option      "XkbOptions" "terminate:ctrl_alt_bksp"

EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "CorePointer"
    Option      "Protocol" "auto"
    Option      "Device" "/dev/input/mice"
    Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier  "Monitor0"
    VendorName  "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "vesa"
    BusID      "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device    "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
          Viewport  0 0
          Depth    1
    EndSubSection
    SubSection "Display"
          Viewport  0 0
          Depth    4
    EndSubSection
    SubSection "Display"
          Viewport  0 0
          Depth    8
    EndSubSection
    SubSection "Display"
          Viewport  0 0
          Depth    15
    EndSubSection
    SubSection "Display"
          Viewport  0 0
          Depth    16
    EndSubSection
    SubSection "Display"
          Viewport  0 0
          Depth    24
    EndSubSection
EndSection

I added the Option "AllowEmptyInput" "off" entry due to this message from the Xorg.0.log:
Quote:

[ 434.808] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 434.808] (WW) Disabling Mouse0
[ 434.808] (WW) Disabling Keyboard0
The Option "Xinerama" "off" makes sure that no dual screen or twin view is activated.

I do believe the blue entry is the correct one, although your lspci output does show 2 entries. If you still have problems try changing it to BusID "PCI:0:2:1" or remove that line altogether.

Hope this helps.

druuna 04-10-2011 05:27 AM

Edit: I added the Option "XkbOptions" "terminate:ctrl_alt_bksp" line to the keyboard Section "InputClass" section.

adamk75 04-10-2011 07:56 AM

The error from the log files is quite clear. You do not have kernel modesetting enabled. Did you build the kernel with CONFIG_DRM_I915_KMS=y ?

Adam

spiky0011 04-10-2011 09:07 AM

Hi adamk75
Quote:

Did you build the kernel with CONFIG_DRM_I915_KMS=y ?
Proberbly not I have stuck to the book and I dont remember it. In opinions which way do I go? Druuna is a great help I like all advice, All advice and direction has got me this far,

spiky0011 04-10-2011 09:29 AM

I have tried the modded xorg.conf.new still end up with the same result. Also changed the BUS:ID 0.2.0 >0:2:1

druuna 04-10-2011 09:30 AM

Hi,

Assuming you use a 2.6.37.X kernel and looking at your lspci output I do believe these should be activated in the kernel:

- AGP support for intel [855GM]:
Device Drivers -> Graphics support -> /dev/agpgart -> Intel 440LX/BX/GX, I8xx and E7x05 chipset support

- DRM/DRI suipport for intel [855GM]:
Device Drivers -> Graphics support -> Direct Rendering Manager -> Intel 830M, 845G, 852GM, 855GM, 865G

Also choose the i915 driver (this one is for the newer xorg version)

After you made the kernel changes, compiled and moved the appropriate files into place you do need to reboot for them to take effect. If all went well you should be able to use the intel driver instead of the vesa driver (xorg.conf file).

I first wanted to make sure you have a running X using vesa (the "easy one") that has a working keyboard and mouse, before going into this but my hand got forced ;)

Anyway, hope this helps.

spiky0011 04-10-2011 09:35 AM

I have 2.6.35.4 kernel as per LFS6.7

druuna 04-10-2011 09:42 AM

Hi,

I just checked, the options and location are the same for the 2.6.35 kernel.

spiky0011 04-10-2011 11:32 AM

Ok this is beyond me I will need help, never done this before, I have tried with google but cant get the hang of it :confused:

druuna 04-10-2011 11:56 AM

Hi,

You have done this before ;)

When building LFS, this chapter: 8.3. Linux-2.6.35.4.

If that is the only time you tinkered with the kernel I would suggest doing the following:

1) Unpack the kernel source at the proper location.
Code:

cd /usr/src
cp /path/to/the/kernel/source/file/linux-2.6.35.4.tar.bz2 .
tar jxf linux-2.6.35.4.tar.bz2
rm linux-2.6.35.4.tar.bz2
chown -R root:root linux-2.6.35.4

2) Safe the current kernel files. You can boot from these at the moment so they work and you can fall back on them if something goes wrong.
Code:

cd /boot
cp vmlinux-2.6.35.4-lfs-6.7 vmlinux-2.6.35.4-lfs-6.7.org
cp System.map-2.6.35.4 System.map-2.6.35.4.org
cp config-2.6.35.4 config-2.6.35.4.org

3) Edit kernel options and compile kernel.
Code:

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

At the next boot the newly configured kernel will be booted.

I created an extra entry in grub so I can always boot from a working kernel. The entry is almost identical to the LFS line that is present, but instead of vmlinux-2.6.35.4-lfs-6.7 the original vmlinux-2.6.35.4-lfs-6.7.org is used. Post your grub.conf if you want this and don't know how to add this.

All steps mentioned as root user.

Hope this helps.

EDIT: Steps 1 and 2 are only needed once. Step 3 is all you need from now on to (re)compile your kernel.

spiky0011 04-10-2011 11:59 AM

I have been reading that amongst others when I did it I dont think I got to involved Not Brave enough

druuna 04-10-2011 12:09 PM

Hi,
Quote:

Originally Posted by spiky0011 (Post 4320114)
I have been reading that amongst others when I did it I dont think I got to involved Not Brave enough

LOL

I still remember my first kernel compile, took a lot longer then it does nowadays (8-9 hours vs less then half an hour, depending on your hardware). Boy, was I nervous during that long wait.....

But if you have a working kernel (you do, the ".org" version) on the side, you can edit/try as much as you want. That is the main reason I have a second LFS entry in grub. If the new kernel does not boot: Start the original one and try again.

If you don't have the extra entry in grub you can always use a liveCD to copy the .org files over the new files and reboot (the long way around, but it is a valid option).

Hope this helps.

spiky0011 04-10-2011 02:11 PM

Ok got through that rebooted ran x window commands again still no screen, I checked the xorg.log file still same error "No Kernel modesetting driver detected" xorg.conf.new shows the same as before

spiky0011 04-10-2011 02:31 PM

I have a thought I have a hard drive that I think boots this lappy with Ubuntu on, Is it worth getting information off the files that run that system?

druuna 04-10-2011 02:31 PM

Hi,

Without knowing which xorg.conf.new you are using at the moment I cannot comment.

I would start with the version I posted in post #11. Do change the Driver "vesa" into Driver "intel". Then run the X -retro -config ~/xorg.conf.new command.

Please post the output of the Xorg.0.log file after that (and possibly what is printed to screen by the X -retro ... command).

If you do get an X as prompt:
- does the mouse work?
- can you exit using ctrl-alt-bksp?

druuna 04-10-2011 02:42 PM

Hi,
Quote:

Originally Posted by spiky0011 (Post 4320226)
I have a thought I have a hard drive that I think boots this lappy with Ubuntu on, Is it worth getting information off the files that run that system?

The Xorg.0.log file should give us enough information (for now).

In general: It is always good to know what hardware you are using. X and the kernel both benefit when having this information (other parts do as well, but those 2 benefit the most). Both can/should be tailored to your hardware. It also means you need to feel comfortable with editing and compiling the kernel options.

spiky0011 04-10-2011 03:18 PM

Before I ran cd && I deleted old xorg.conf file xorg.conf.new
Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath  "/usr/lib/X11/modules"
        FontPath    "/usr/share/fonts/X11/misc/"
        FontPath    "/usr/share/fonts/X11/TTF/"
        FontPath    "/usr/share/fonts/X11/OTF/"
        FontPath    "/usr/share/fonts/X11/Type1/"
        FontPath    "/usr/share/fonts/X11/100dpi/"
        FontPath    "/usr/share/fonts/X11/75dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "record"
        Load  "dri2"
        Load  "dri"
        Load  "glx"
        Load  "extmod"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Monitor"
        Identifier  "Monitor1"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "AccelMethod"                # [<str>]
        #Option    "DRI"                        # [<bool>]
        #Option    "ColorKey"                  # <i>
        #Option    "VideoKey"                  # <i>
        #Option    "FallbackDebug"              # [<bool>]
        #Option    "Tiling"                    # [<bool>]
        #Option    "Shadow"                    # [<bool>]
        #Option    "SwapbuffersWait"            # [<bool>]
        #Option    "XvMC"                      # [<bool>]
        #Option    "XvPreferOverlay"            # [<bool>]
        #Option    "DebugFlushBatches"          # [<bool>]
        #Option    "DebugFlushCaches"          # [<bool>]
        #Option    "DebugWait"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        BusID      "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "AccelMethod"                # [<str>]
        #Option    "DRI"                        # [<bool>]
        #Option    "ColorKey"                  # <i>
        #Option    "VideoKey"                  # <i>
        #Option    "FallbackDebug"              # [<bool>]
        #Option    "Tiling"                    # [<bool>]
        #Option    "Shadow"                    # [<bool>]
        #Option    "SwapbuffersWait"            # [<bool>]
        #Option    "XvMC"                      # [<bool>]
        #Option    "XvPreferOverlay"            # [<bool>]
        #Option    "DebugFlushBatches"          # [<bool>]
        #Option    "DebugFlushCaches"          # [<bool>]
        #Option    "DebugWait"                  # [<bool>]
        Identifier  "Card1"
        Driver      "intel"
        BusID      "PCI:0:2:1"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device    "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Xorg.0.log
Code:

[  3952.234]
X.Org X Server 1.9.3
Release Date: 2010-12-13
[  3952.235] X Protocol Version 11, Revision 0
[  3952.235] Build Operating System: Linux 2.6.35.4 i686
[  3952.235] Current Operating System: Linux planet-spike 2.6.35.4 #1 SMP Sun Apr 10 19:29:32 BST 2011 i686
[  3952.236] Kernel command line: BOOT_IMAGE=/boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/sda1 ro
[  3952.236] Build Date: 09 April 2011  01:26:03PM
[  3952.236] 
[  3952.236] Current version of pixman: 0.15.20
[  3952.237]        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  3952.237] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3952.238] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr 10 20:55:55 2011
[  3952.239] (++) Using config file: "/root/xorg.conf.new"
[  3952.239] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3952.240] (==) ServerLayout "X.org Configured"
[  3952.240] (**) |-->Screen "Screen0" (0)
[  3952.240] (**) |  |-->Monitor "Monitor0"
[  3952.240] (**) |  |-->Device "Card0"
[  3952.240] (**) |-->Screen "Screen1" (1)
[  3952.240] (**) |  |-->Monitor "Monitor1"
[  3952.241] (**) |  |-->Device "Card1"
[  3952.241] (**) |-->Input Device "Mouse0"
[  3952.241] (**) |-->Input Device "Keyboard0"
[  3952.241] (==) Automatically adding devices
[  3952.241] (==) Automatically enabling devices
[  3952.241] (**) 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/
[  3952.241] (**) ModulePath set to "/usr/lib/X11/modules"
[  3952.241] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  3952.241] (WW) Disabling Mouse0
[  3952.241] (WW) Disabling Keyboard0
[  3952.241] (II) Loader magic: 0x81f1480
[  3952.241] (II) Module ABI versions:
[  3952.241]        X.Org ANSI C Emulation: 0.4
[  3952.241]        X.Org Video Driver: 8.0
[  3952.241]        X.Org XInput driver : 11.0
[  3952.241]        X.Org Server Extension : 4.0
[  3952.243] (--) PCI:*(0:0:2:0) 8086:3582:1179:0002 rev 1, Mem @ 0xd8000000/134217728, 0xd0000000/524288, I/O @ 0x0000eff8/8
[  3952.243] (--) PCI: (0:0:2:1) 8086:3582:1179:0002 rev 1, Mem @ 0x10000000/134217728, 0x1c000000/524288
[  3952.243] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  3952.243] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[  3952.243] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[  3952.243] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  3952.244] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[  3952.244] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[  3952.244] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[  3952.244] (II) LoadModule: "dbe"
[  3952.245] (II) Loading /usr/lib/X11/modules/extensions/libdbe.so
[  3952.245] (II) Module dbe: vendor="X.Org Foundation"
[  3952.245]        compiled for 1.9.3, module version = 1.0.0
[  3952.245]        Module class: X.Org Server Extension
[  3952.245]        ABI class: X.Org Server Extension, version 4.0
[  3952.245] (II) Loading extension DOUBLE-BUFFER
[  3952.245] (II) LoadModule: "record"
[  3952.246] (II) Loading /usr/lib/X11/modules/extensions/librecord.so
[  3952.246] (II) Module record: vendor="X.Org Foundation"
[  3952.246]        compiled for 1.9.3, module version = 1.13.0
[  3952.246]        Module class: X.Org Server Extension
[  3952.246]        ABI class: X.Org Server Extension, version 4.0
[  3952.246] (II) Loading extension RECORD
[  3952.246] (II) LoadModule: "dri2"
[  3952.247] (II) Loading /usr/lib/X11/modules/extensions/libdri2.so
[  3952.247] (II) Module dri2: vendor="X.Org Foundation"
[  3952.248]        compiled for 1.9.3, module version = 1.2.0
[  3952.248]        ABI class: X.Org Server Extension, version 4.0
[  3952.248] (II) Loading extension DRI2
[  3952.248] (II) LoadModule: "dri"
[  3952.248] (II) Loading /usr/lib/X11/modules/extensions/libdri.so
[  3952.249] (II) Module dri: vendor="X.Org Foundation"
[  3952.249]        compiled for 1.9.3, module version = 1.0.0
[  3952.249]        ABI class: X.Org Server Extension, version 4.0
[  3952.249] (II) Loading extension XFree86-DRI
[  3952.249] (II) LoadModule: "glx"
[  3952.250] (II) Loading /usr/lib/X11/modules/extensions/libglx.so
[  3952.250] (II) Module glx: vendor="X.Org Foundation"
[  3952.250]        compiled for 1.9.3, module version = 1.0.0
[  3952.250]        ABI class: X.Org Server Extension, version 4.0
[  3952.250] (==) AIGLX enabled
[  3952.250] (II) Loading extension GLX
[  3952.250] (II) LoadModule: "extmod"
[  3952.251] (II) Loading /usr/lib/X11/modules/extensions/libextmod.so
[  3952.252] (II) Module extmod: vendor="X.Org Foundation"
[  3952.252]        compiled for 1.9.3, module version = 1.0.0
[  3952.252]        Module class: X.Org Server Extension
[  3952.252]        ABI class: X.Org Server Extension, version 4.0
[  3952.252] (II) Loading extension MIT-SCREEN-SAVER
[  3952.252] (II) Loading extension XFree86-VidModeExtension
[  3952.252] (II) Loading extension XFree86-DGA
[  3952.252] (II) Loading extension DPMS
[  3952.252] (II) Loading extension XVideo
[  3952.252] (II) Loading extension XVideo-MotionCompensation
[  3952.252] (II) Loading extension X-Resource
[  3952.252] (II) LoadModule: "intel"
[  3952.253] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so
[  3952.254] (II) Module intel: vendor="X.Org Foundation"
[  3952.254]        compiled for 1.9.3, module version = 2.13.0
[  3952.254]        Module class: X.Org Video Driver
[  3952.254]        ABI class: X.Org Video Driver, version 8.0
[  3952.254] (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
[  3952.254] (--) using VT number 7

[  3952.265] (EE) intel(0): No kernel modesetting driver detected.
[  3952.269] (EE) intel(1): No kernel modesetting driver detected.
[  3952.269] (II) UnloadModule: "intel"
[  3952.269] (II) UnloadModule: "intel"
[  3952.269] (EE) Screen(s) found, but none have a usable configuration.
[  3952.269]
Fatal server error:
[  3952.269] no screens found
[  3952.269]
Please consult the The X.Org Foundation support
        at http://wiki.x.org
 for help.
[  3952.269] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  3952.269]

Output from retro
Code:

        to make sure that you have the latest version.
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: Sun Apr 10 20:55:55 2011
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
WARNING: All config files need .conf: /etc/modprobe.d/usb.config, it will be ignored in a future release.
(EE) intel(0): No kernel modesetting driver detected.
WARNING: All config files need .conf: /etc/modprobe.d/usb.config, it will be ignored in a future release.
(EE) intel(1): No kernel modesetting driver detected.
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
        at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.


adamk75 04-10-2011 03:24 PM

What's the output of 'dmesg | grep drm'?

spiky0011 04-10-2011 03:42 PM

dmesg
Code:

[    0.270639] [drm] Initialized drm 1.1.0 20060810
[  124.416517] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0


adamk75 04-10-2011 03:43 PM

OK, sounds like your kernel still isn't compiled with the correct options. Why not pastebin or attach your .config file?

Adam

spiky0011 04-10-2011 04:11 PM

http://pastebin.com/xcxm1TVS

adamk75 04-10-2011 04:13 PM

Code:

# CONFIG_DRM_I915_KMS is not set
Isn't that what I said needs to be enabled?

spiky0011 04-10-2011 04:23 PM

Ok so I have do rebuild the kernel again? If so where do I change the setting

adamk75 04-10-2011 04:28 PM

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.

Adam

spiky0011 04-10-2011 04:32 PM

Ok thks That will have to wait till tomorro now tho

druuna 04-11-2011 02:50 AM

Hi,

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.

spiky0011 04-11-2011 03:20 PM

Ok I,m loosing the wil to live retro output
Code:

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

xorg.conf.new
Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath  "/usr/lib/X11/modules"
        FontPath    "/usr/share/fonts/X11/misc/"
        FontPath    "/usr/share/fonts/X11/TTF/"
        FontPath    "/usr/share/fonts/X11/OTF/"
        FontPath    "/usr/share/fonts/X11/Type1/"
        FontPath    "/usr/share/fonts/X11/100dpi/"
        FontPath    "/usr/share/fonts/X11/75dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "record"
        Load  "dri2"
        Load  "dri"
        Load  "glx"
        Load  "extmod"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Monitor"
        Identifier  "Monitor1"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "AccelMethod"                # [<str>]
        #Option    "DRI"                        # [<bool>]
        #Option    "ColorKey"                  # <i>
        #Option    "VideoKey"                  # <i>
        #Option    "FallbackDebug"              # [<bool>]
        #Option    "Tiling"                    # [<bool>]
        #Option    "Shadow"                    # [<bool>]
        #Option    "SwapbuffersWait"            # [<bool>]
        #Option    "XvMC"                      # [<bool>]
        #Option    "XvPreferOverlay"            # [<bool>]
        #Option    "DebugFlushBatches"          # [<bool>]
        #Option    "DebugFlushCaches"          # [<bool>]
        #Option    "DebugWait"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        BusID      "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "AccelMethod"                # [<str>]
        #Option    "DRI"                        # [<bool>]
        #Option    "ColorKey"                  # <i>
        #Option    "VideoKey"                  # <i>
        #Option    "FallbackDebug"              # [<bool>]
        #Option    "Tiling"                    # [<bool>]
        #Option    "Shadow"                    # [<bool>]
        #Option    "SwapbuffersWait"            # [<bool>]
        #Option    "XvMC"                      # [<bool>]
        #Option    "XvPreferOverlay"            # [<bool>]
        #Option    "DebugFlushBatches"          # [<bool>]
        #Option    "DebugFlushCaches"          # [<bool>]
        #Option    "DebugWait"                  # [<bool>]
        Identifier  "Card1"
        Driver      "intel"
        BusID      "PCI:0:2:1"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device    "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Xorg.0.log
Code:

[ 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]


Xorg.0.log
http://pastebin.com/Z3dihzJf

CONFIG_DRM_I915=m
CONFIG_DRM_I915_KMS=y

adamk75 04-11-2011 03:38 PM

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?

Adam

spiky0011 04-11-2011 03:44 PM

Yes made as per instructions In earlier post "Druuna" then rebooted. I deleted the 3 files in boot then copied new ones over.

spiky0011 04-11-2011 04:25 PM

lsmod shows nothing?

lspci -v
Code:

00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 01) (prog-if 00 [VGA controller])
        Subsystem: Toshiba America Info Systems Device 0002
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at d8000000 (32-bit, prefetchable) [size=128M]
        Memory at d0000000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at eff8 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [d0] Power Management version 1
        Kernel modules: i915

00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 01)
        Subsystem: Toshiba America Info Systems Device 0002
        Flags: fast devsel
        Memory at 10000000 (32-bit, prefetchable) [disabled] [size=128M]
        Memory at 1c000000 (32-bit, non-prefetchable) [disabled] [size=512K]
        Capabilities: [d0] Power Management version 1


adamk75 04-11-2011 04:44 PM

Sorry, but I'm out of ideas. I don't know why your recompiled kernel would have this problem loading the i915 kernel module.

Adam

spiky0011 04-11-2011 04:57 PM

A thought. 1 try another kernel? 2 another intel driver?

druuna 04-12-2011 12:37 AM

Hi,

@spiky0011: I'm on my way to work and don't have time to look at this right now. I'll have a look when I get back home.

PS: I would not recommend using another kernel yet.

PPSS: You might want to try getting X to work using the vesa driver, this way you can create a working xorg.conf. The intel part can be done later.

Got to go, my train is about to arrive at my stop.....

druuna 04-12-2011 12:34 PM

Hi,

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.....

spiky0011 04-12-2011 12:37 PM

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

druuna 04-12-2011 12:51 PM

Hi,

X and booting don't (shouldn't...) influence each other. At the moment you boot into runlevel 3 (CLI) and to start X you need to run startx. So changing xorg.conf won't change anything in this case (it is only used when starting X).

Have you tried restoring the .org kernel files? As root, after booting from liveCD and mounting lfs
Code:

# safe current kernel files:
cd $LFS/boot
cp vmlinux-2.6.35.4-lfs-6.7 vmlinux-2.6.35.4-lfs-6.7.new
cp System.map-2.6.35.4 System.map-2.6.35.4.new
cp config-2.6.35.4 config-2.6.35.4.new

# restore original files:
cp vmlinux-2.6.35.4-lfs-6.7.org vmlinux-2.6.35.4-lfs-6.7
cp System.map-2.6.35.4.org System.map-2.6.35.4

reboot.

If your machine boots normally you now know that one of the options in the .new kernel is either missing or wrong (do have a look at my previous reply about the framebuffer settings).

BTW: You can use the liveCD to compile anew kernel, just make sure you copy the files to the appropriate location ($LFS/boot and not /boot).

You probably noticed that you are now doing the fun stuff :D Playing with the kernel and setting up X can be a challenge, which I see as "Fun!" Hopefully you look at it the same way, although you might not have the full skill-set to understand it all yet. I do hope you do learn from all this and start to feel more comfortable compiling a kernel (to name just one).

Hope this helps.

spiky0011 04-12-2011 01:35 PM

I did think of restoring old files earlier but didn't know if I had to redo kernel, You have cleared that up. Do I have to use live cd to replace old kernel files or can it be done while booted into system as root?

druuna 04-12-2011 01:51 PM

Hi,

If you can still boot into LFS you can do it from there. But......

If you are able to use your current LFS, you might first want to try recompiling the kernel with the Framebuffer Console Rotation and the added modprobe entry (see post #44 for details). That might solve the problem.

At the moment I'm not sure what it is you can/cannot do with your current system.

Hope this helps.

spiky0011 04-12-2011 04:05 PM

OK still no x system I have recompiled kernel as per post#44 and carried out file coping as nessecary, The system now starts as it did yesterday (as it should :D which is nice )
x -retro output
Code:

        to make sure that you have the latest version.
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: Tue Apr 12 21:52:11 2011
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
WARNING: All config files need .conf: /etc/modprobe.d/usb.config, it will be ignored in a future release.
(EE) intel(0): No kernel modesetting driver detected.
WARNING: All config files need .conf: /etc/modprobe.d/usb.config, it will be ignored in a future release.
(EE) intel(1): No kernel modesetting driver detected.
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

xorg.conf.new
Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath  "/usr/lib/X11/modules"
        FontPath    "/usr/share/fonts/X11/misc/"
        FontPath    "/usr/share/fonts/X11/TTF/"
        FontPath    "/usr/share/fonts/X11/OTF/"
        FontPath    "/usr/share/fonts/X11/Type1/"
        FontPath    "/usr/share/fonts/X11/100dpi/"
        FontPath    "/usr/share/fonts/X11/75dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "record"
        Load  "dri2"
        Load  "dri"
        Load  "glx"
        Load  "extmod"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Monitor"
        Identifier  "Monitor1"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "AccelMethod"                # [<str>]
        #Option    "DRI"                        # [<bool>]
        #Option    "ColorKey"                  # <i>
        #Option    "VideoKey"                  # <i>
        #Option    "FallbackDebug"              # [<bool>]
        #Option    "Tiling"                    # [<bool>]
        #Option    "Shadow"                    # [<bool>]
        #Option    "SwapbuffersWait"            # [<bool>]
        #Option    "XvMC"                      # [<bool>]
        #Option    "XvPreferOverlay"            # [<bool>]
        #Option    "DebugFlushBatches"          # [<bool>]
        #Option    "DebugFlushCaches"          # [<bool>]
        #Option    "DebugWait"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        BusID      "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "AccelMethod"                # [<str>]
        #Option    "DRI"                        # [<bool>]
        #Option    "ColorKey"                  # <i>
        #Option    "VideoKey"                  # <i>
        #Option    "FallbackDebug"              # [<bool>]
        #Option    "Tiling"                    # [<bool>]
        #Option    "Shadow"                    # [<bool>]
        #Option    "SwapbuffersWait"            # [<bool>]
        #Option    "XvMC"                      # [<bool>]
        #Option    "XvPreferOverlay"            # [<bool>]
        #Option    "DebugFlushBatches"          # [<bool>]
        #Option    "DebugFlushCaches"          # [<bool>]
        #Option    "DebugWait"                  # [<bool>]
        Identifier  "Card1"
        Driver      "intel"
        BusID      "PCI:0:2:1"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device    "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Xorg log
Code:

[  181.840]
X.Org X Server 1.9.3
Release Date: 2010-12-13
[  181.841] X Protocol Version 11, Revision 0
[  181.841] Build Operating System: Linux 2.6.35.4 i686
[  181.842] Current Operating System: Linux planet-spike 2.6.35.4 #1 SMP Tue Apr 12 21:16:54 BST 2011 i686
[  181.842] Kernel command line: BOOT_IMAGE=/boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/sda1 ro
[  181.842] Build Date: 09 April 2011  01:26:03PM
[  181.843] 
[  181.843] Current version of pixman: 0.15.20
[  181.843]        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  181.843] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  181.845] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 12 21:31:00 2011
[  181.845] (++) Using config file: "/root/xorg.conf.new"
[  181.845] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  181.846] (==) ServerLayout "X.org Configured"
[  181.846] (**) |-->Screen "Screen0" (0)
[  181.846] (**) |  |-->Monitor "Monitor0"
[  181.847] (**) |  |-->Device "Card0"
[  181.847] (**) |-->Screen "Screen1" (1)
[  181.847] (**) |  |-->Monitor "Monitor1"
[  181.847] (**) |  |-->Device "Card1"
[  181.847] (**) |-->Input Device "Mouse0"
[  181.847] (**) |-->Input Device "Keyboard0"
[  181.847] (==) Automatically adding devices
[  181.847] (==) Automatically enabling devices
[  181.847] (**) 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/
[  181.847] (**) ModulePath set to "/usr/lib/X11/modules"
[  181.847] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  181.847] (WW) Disabling Mouse0
[  181.848] (WW) Disabling Keyboard0
[  181.848] (II) Loader magic: 0x81f1480
[  181.848] (II) Module ABI versions:
[  181.848]        X.Org ANSI C Emulation: 0.4
[  181.848]        X.Org Video Driver: 8.0
[  181.848]        X.Org XInput driver : 11.0
[  181.848]        X.Org Server Extension : 4.0
[  181.849] (--) PCI:*(0:0:2:0) 8086:3582:1179:0002 rev 1, Mem @ 0xd8000000/134217728, 0xd0000000/524288, I/O @ 0x0000eff8/8
[  181.849] (--) PCI: (0:0:2:1) 8086:3582:1179:0002 rev 1, Mem @ 0x10000000/134217728, 0x1c000000/524288
[  181.850] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  181.850] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[  181.850] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[  181.850] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  181.850] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[  181.850] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[  181.850] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[  181.850] (II) LoadModule: "dbe"
[  181.851] (II) Loading /usr/lib/X11/modules/extensions/libdbe.so
[  181.898] (II) Module dbe: vendor="X.Org Foundation"
[  181.898]        compiled for 1.9.3, module version = 1.0.0
[  181.898]        Module class: X.Org Server Extension
[  181.898]        ABI class: X.Org Server Extension, version 4.0
[  181.898] (II) Loading extension DOUBLE-BUFFER
[  181.898] (II) LoadModule: "record"
[  181.899] (II) Loading /usr/lib/X11/modules/extensions/librecord.so
[  181.922] (II) Module record: vendor="X.Org Foundation"
[  181.922]        compiled for 1.9.3, module version = 1.13.0
[  181.922]        Module class: X.Org Server Extension
[  181.922]        ABI class: X.Org Server Extension, version 4.0
[  181.922] (II) Loading extension RECORD
[  181.922] (II) LoadModule: "dri2"
[  181.923] (II) Loading /usr/lib/X11/modules/extensions/libdri2.so
[  181.938] (II) Module dri2: vendor="X.Org Foundation"
[  181.938]        compiled for 1.9.3, module version = 1.2.0
[  181.938]        ABI class: X.Org Server Extension, version 4.0
[  181.938] (II) Loading extension DRI2
[  181.938] (II) LoadModule: "dri"
[  181.938] (II) Loading /usr/lib/X11/modules/extensions/libdri.so
[  181.961] (II) Module dri: vendor="X.Org Foundation"
[  181.961]        compiled for 1.9.3, module version = 1.0.0
[  181.961]        ABI class: X.Org Server Extension, version 4.0
[  181.961] (II) Loading extension XFree86-DRI
[  181.961] (II) LoadModule: "glx"
[  181.962] (II) Loading /usr/lib/X11/modules/extensions/libglx.so
[  181.999] (II) Module glx: vendor="X.Org Foundation"
[  181.999]        compiled for 1.9.3, module version = 1.0.0
[  181.999]        ABI class: X.Org Server Extension, version 4.0
[  182.020] (==) AIGLX enabled
[  182.020] (II) Loading extension GLX
[  182.020] (II) LoadModule: "extmod"
[  182.021] (II) Loading /usr/lib/X11/modules/extensions/libextmod.so
[  182.039] (II) Module extmod: vendor="X.Org Foundation"
[  182.039]        compiled for 1.9.3, module version = 1.0.0
[  182.039]        Module class: X.Org Server Extension
[  182.039]        ABI class: X.Org Server Extension, version 4.0
[  182.039] (II) Loading extension MIT-SCREEN-SAVER
[  182.039] (II) Loading extension XFree86-VidModeExtension
[  182.039] (II) Loading extension XFree86-DGA
[  182.039] (II) Loading extension DPMS
[  182.039] (II) Loading extension XVideo
[  182.039] (II) Loading extension XVideo-MotionCompensation
[  182.039] (II) Loading extension X-Resource
[  182.039] (II) LoadModule: "intel"
[  182.040] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so
[  182.041] (II) Module intel: vendor="X.Org Foundation"
[  182.041]        compiled for 1.9.3, module version = 2.13.0
[  182.041]        Module class: X.Org Video Driver
[  182.041]        ABI class: X.Org Video Driver, version 8.0
[  182.041] (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
[  182.042] (--) using VT number 7

[  182.055] (EE) intel(0): No kernel modesetting driver detected.
[  182.058] (EE) intel(1): No kernel modesetting driver detected.
[  182.059] (II) UnloadModule: "intel"
[  182.059] (II) UnloadModule: "intel"
[  182.059] (EE) Screen(s) found, but none have a usable configuration.
[  182.059]
Fatal server error:
[  182.059] no screens found
[  182.059]
Please consult the The X.Org Foundation support
        at http://wiki.x.org
 for help.
[  182.059] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  182.059]

The only file in /etc/modprobe.d is "usb.config"
Code:

install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true
install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true

Yes I am having fun but i'm way out of depth now. Learnt a fair bit now Kernel dont scare me any more, As for moving round system with only terminal getting qiute swift lol

druuna 04-13-2011 01:11 AM

Hi,

A normal running system again,that is nice, but that wasn't the problem.

Can you also post your kernel configuration file (/boot/config-2.6.35.4)?

About the /etc/modprobe.conf file: Did you try adding the line I mentioned before (options i915 modeset=1)? Reboot after the change is made,just in case.

Does lsmod show any output?

I'll wait for your reply before trying other stuff.

PS: To make things easier for you I would like you to also post part of the /boot/grub/grub.cfg file. The part between: ### BEGIN /etc/grub.d/10_linux ### and ### END /etc/grub.d/10_linux ###. I would like to add some entries which would make switching between kernel version easier (and I'm also thinking about the next step, but lets not got there just yet).


All times are GMT -5. The time now is 12:54 PM.