LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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

Reply
 
Search this Thread
Old 04-12-2011, 12:51 PM   #46
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373

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

Last edited by druuna; 04-12-2011 at 12:52 PM. Reason: spelling
 
Old 04-12-2011, 01:35 PM   #47
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Original Poster
Rep: Reputation: 226Reputation: 226Reputation: 226
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?
 
Old 04-12-2011, 01:51 PM   #48
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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.
 
Old 04-12-2011, 04:05 PM   #49
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Original Poster
Rep: Reputation: 226Reputation: 226Reputation: 226
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 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
 
Old 04-13-2011, 01:11 AM   #50
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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).

Last edited by druuna; 04-13-2011 at 03:05 AM. Reason: Asked for /boot/grub/grub.cfg file
 
Old 04-13-2011, 12:01 PM   #51
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Original Poster
Rep: Reputation: 226Reputation: 226Reputation: 226
Ok I might have found the problem /etc/modprobe.conf file dosn't exsist I have modprobe.d dir??? I take it something went wrong with 6.51. Module-Init-Tools-3.12
 
Old 04-13-2011, 01:21 PM   #52
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Original Poster
Rep: Reputation: 226Reputation: 226Reputation: 226
After further googleing I have found that modprobe.conf is not in /etc/ but /etc/modprobe.d Which It's not on mine there are alot of posts about it todo with kernel 2.6 and Module-Init-Tools-3.8 changing location of file? There is posts about create file then run module update

Last edited by spiky0011; 04-13-2011 at 01:26 PM. Reason: added more ideas
 
Old 04-13-2011, 11:59 PM   #53
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,

You don't have to redo Module-Init-Tools-3.8. There are 2 ways the module configuration files can be presented: One file in /etc called modprobe.conf or separate files in a directory called /etc/modprobe.d/ (for example: i915.conf).

I do believe the second one is being used more, but either of the 2 should work.

BTW: Did you read post #50?
 
Old 04-14-2011, 06:07 AM   #54
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Original Poster
Rep: Reputation: 226Reputation: 226Reputation: 226
Yes I did read post#50 I have all those files ready but when I found modprobe.conf not there I thought that was prob I will post them when I get home. Hope you dont mind carrying on
 
Old 04-14-2011, 06:27 AM   #55
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,

I don't mind spending more time on this! Do at least try the modprobe entry suggestion I made in post #50 and report back the result (once you have time yourself). I am rather busy at the moment, so a reply from my side may take a while.
 
Old 04-14-2011, 02:27 PM   #56
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Original Poster
Rep: Reputation: 226Reputation: 226Reputation: 226
Ok latest. I ran
Code:
cat > /etc/modprobe.conf << "EOF"
# Begin /etc/modprobe.conf
option modeset i915=1
# End /etc/modprobe.conf
"EOF
I then rebooted, Then removed xorg.conf.new, ran
Code:
cd ~ &&
Xorg -configure
Code:
X -retro -config ~/xorg.conf.new
Still no joy moved modprobe.conf to modprobe.d.
reboot removed xorg file ran above commands again
Retro output
Code:
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 14 19:52:19 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.
WARNING: /etc/modprobe.d/modprobe.conf line 3: ignoring bad line starting with 'option'
(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.
WARNING: /etc/modprobe.d/modprobe.conf line 3: ignoring bad line starting with 'option'
(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 file
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:
[   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]
grub.cfg
Code:
### BEGIN /etc/grub.d/10_linux ###
menuentry "GNU/Linux, with Linux 2.6.35.4-lfs-6.7" --class gnu-linux --class gnu --class os {
        insmod ext2
        set root='(/dev/hd0,1)'
        search --no-floppy --fs-uuid --set ad95dfa8-fdf9-47b5-ad1f-e0d35145c38c
        echo    Loading Linux 2.6.35.4-lfs-6.7 ...
        linux   /boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/sda1 ro
}
menuentry "GNU/Linux, with Linux 2.6.35.4-lfs-6.7 (recovery mode)" --class gnu-linux --class gnu --class os {
        insmod ext2
        set root='(/dev/hd0,1)'
        search --no-floppy --fs-uuid --set ad95dfa8-fdf9-47b5-ad1f-e0d35145c38c
        echo    Loading Linux 2.6.35.4-lfs-6.7 ...
        linux   /boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/sda1 ro single
}
### END /etc/grub.d/10_linux ###
Hope this helps
 
Old 04-15-2011, 12:31 AM   #57
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,

I have to admit that I have not seen a problem like this in a long time...... I still have a few things we can try so don't worry yet!

The error created by the option... line is strange. Have you looked at the other log files in /var/log for additional info?

Instead of using /etc/modprobe.d/ or /etc/modprobe.conf you could try adding the following bootparameter: i915.modeset=1. Add this at the end of the linux line in grub. I.e:
Code:
linux   /boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/sda1 ro i915.modeset=1
Do remove the entry from the modprobe.conf file (and/or from the /etc/modprobe.d/ file), and you do need a reboot.


I would also suggest you add the following entry to the grub.cfg file, this way you can always boot to the original kernel in case something is wrong with the one you are working on:
Code:
### BEGIN /etc/grub.d/10_linux ###
menuentry "GNU/Linux, with Linux 2.6.35.4-lfs-6.7" --class gnu-linux --class gnu --class os {
        insmod ext2
        set root='(/dev/hd0,1)'
        search --no-floppy --fs-uuid --set ad95dfa8-fdf9-47b5-ad1f-e0d35145c38c
        echo    Loading Linux 2.6.35.4-lfs-6.7 ...
        linux   /boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/sda1 ro
}
menuentry "GNU/Linux, with Linux 2.6.35.4-lfs-6.7 (recovery mode)" --class gnu-linux --class gnu --class os {
        insmod ext2
        set root='(/dev/hd0,1)'
        search --no-floppy --fs-uuid --set ad95dfa8-fdf9-47b5-ad1f-e0d35145c38c
        echo    Loading Linux 2.6.35.4-lfs-6.7 ...
        linux   /boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/sda1 ro single
}
menuentry "LFS original kernel 2.6.35.4" --class gnu-linux --class gnu --class os {
        insmod ext2
        set root='(/dev/hd0,1)'
        search --no-floppy --fs-uuid --set ad95dfa8-fdf9-47b5-ad1f-e0d35145c38c
        echo    Loading Linux 2.6.35.4-lfs-6.7.org ...
        linux   /boot/vmlinux-2.6.35.4-lfs-6.7.org root=/dev/sda1 ro
}
### END /etc/grub.d/10_linux ###
If you boot you now have an extra entry which you can use in case the main option does not work. The above does assume you still have the .org files in place in /boot.

As stated before I'm having a very busy day ahead of me (typing this during my train ride to work) and I'm not sure if I have time this evening. I do have time this weekend, so don't worry if you don't hear from me in the coming 24 hours

Hope this helps.
 
Old 04-15-2011, 03:00 AM   #58
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Original Poster
Rep: Reputation: 226Reputation: 226Reputation: 226
Hey dont worry, reply when you can, I do try googling to find fix but dont wanna make things more difficult
 
Old 04-15-2011, 11:32 AM   #59
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Original Poster
Rep: Reputation: 226Reputation: 226Reputation: 226
I did find this in Ubuntu forum http://ubuntuforums.org/showthread.php?t=1729761
 
Old 04-15-2011, 04:27 PM   #60
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,

First: Have you tried what I suggested in post #57 and if so; Did it change anything?

If not: Maybe we need to try a different (newest stable) kernel version. You did mention this before and I do believe the time has come to try. The problems could have been solved and it is worth a try. I don't see any downsides in doing so.

Let me know if you want to try this option. If so I'll post some steps to do so.

You pointed out the Ubuntu link: I doubt if those will help. The first one is for a 2.6.37 kernel version, the second is not i815 specific and both could be (too) Ubuntu specific.

I'll read your answer(s) tomorrow!
 
  


Reply

Tags
blfs, x11r6


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem creating symlink with gcc to libgcc.a in LFS v6.7 linuxpicaxe Linux - Software 4 03-06-2011 12:24 PM
Problem creating symlink with gcc to libgcc.a in LFS v6.7 nuainkyeuh Linux From Scratch 4 02-28-2011 12:26 PM
trouble creating symlink for java/mozilla MightyKC Linux - Software 1 03-03-2005 11:40 PM
creating symlink on samba drive kminkov Linux - General 2 04-24-2004 10:23 AM
Creating a symlink for /dev/dvd cddesjar Linux - Software 3 01-22-2004 03:08 PM


All times are GMT -5. The time now is 07:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration