LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-17-2004, 10:35 AM   #1
drowbot
Member
 
Registered: Dec 2004
Location: Tulsa, OK, USA
Distribution: SUSE, ArchLinux, Gentoo, LFS, Slackware, Fedora
Posts: 100

Rep: Reputation: 15
Trying to compile Xorg 6.8.1


I've installed LFS 6.0 without problems. Now I am going through BLFS (the dev version) and I'm trying to install Xorg.
First problem I ran into was a compile error when I ran 'make World'. It was a problem with the linux-libc-header file config.h. I replaced this with the config.h from my kernel source and that got rid of that error.
Next error was also during 'make World' and this had to do with 'err_kernel_only.h' which is another file from the linux-libc header package. I didn't know what to do about this and I left it until the next morning. Tried to compile again so I could look at the log again, but lo and behold, it compiled with no errors.
I continued with the installation, but when I run 'Xorg -configure' from the root dir, I get the following:

Code:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/dragon:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: Linux 2.6.8.1 i686 [ELF] 
Current Operating System: Linux dragon 2.6.8.1 #1 SMP Wed Dec 15 09:10:55 CST 2004 i686
Build Date: 17 December 2004
	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
Module Loader present
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: Fri Dec 17 09:49:11 2004
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.2
	X.Org Video Driver: 0.7
	X.Org XInput driver : 0.4
	X.Org Server Extension : 0.2
	X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
	compiled for 6.8.1, module version = 1.0.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
	compiled for 6.8.1, module version = 1.0.0
	ABI class: X.Org Video Driver, version 0.7
(--) using VT number 7

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1039,0645 card 1039,0645 rev 02 class 06,00,00 hdr 80
(II) PCI: 00:01:0: chip 1039,0001 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:02:0: chip 1039,0961 card 0000,0000 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:02:1: chip 1039,0016 card 0000,0000 rev 00 class 0c,05,00 hdr 00
(II) PCI: 00:02:2: chip 1039,7001 card 1039,7001 rev 07 class 0c,03,10 hdr 00
(II) PCI: 00:02:3: chip 1039,7001 card 1039,7001 rev 07 class 0c,03,10 hdr 00
(II) PCI: 00:02:5: chip 1039,5513 card 1039,5513 rev d0 class 01,01,80 hdr 80
(II) PCI: 00:03:0: chip 1039,0900 card 1039,0900 rev 90 class 02,00,00 hdr 00
(II) PCI: 00:0a:0: chip 1102,0002 card 1102,8064 rev 07 class 04,01,00 hdr 80
(II) PCI: 00:0a:1: chip 1102,7002 card 1102,0020 rev 07 class 09,80,00 hdr 80
(II) PCI: 00:0b:0: chip 10ec,8139 card 1799,5000 rev 10 class 02,00,00 hdr 00
(II) PCI: 01:00:0: chip 10de,0045 card 0000,0000 rev a1 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1	0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000e (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0	0xe4000000 - 0xe6ffffff (0x3000000) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1	0	0xd0000000 - 0xdfffffff (0x10000000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:2:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) nVidia Corporation unknown chipset (0x0045) rev 161, Mem @ 0xe4000000/24, 0xd0000000/28, 0xe5000000/24
Missing output drivers.  Configuration failed.
Can anybody help me out?
 
Old 12-17-2004, 12:48 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
You shouldn't need to do any messing about altering /usr/include/linux/config.h. If you followed the instructions for installing xorg-6.8.1 in BLFS then this command will comment out any mention of linux/config.h in the xorg source

sed -i -e "s@#include <linux/config.h>@/* & */@" \
`grep -lr linux/config.h *`

I would suggest that you delete /usr/X11R6 and compile it again and this time, follow the instructions.
 
Old 12-17-2004, 12:52 PM   #3
drowbot
Member
 
Registered: Dec 2004
Location: Tulsa, OK, USA
Distribution: SUSE, ArchLinux, Gentoo, LFS, Slackware, Fedora
Posts: 100

Original Poster
Rep: Reputation: 15
I did follow the instructions the second time I compiled. That's when it compiled just fine. Replacing config.h was a fix I had used before the 'sed...' line was added to BLFS-devel. My main issue is in 'Xorg -configure'.
 
Old 12-18-2004, 10:54 AM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
I must confess I've never configured xorg from scratch. I started with XFree86 and used xf86config to generate my original XF86Config file. The times when I've installed xorg I used that known good XF86Config file as my starting point and edited my way around the things it objected to. Have you tried doing something similar? Take an XF86Config file that you know works, rename it xorg.conf and see how far you get. I had to change "Keyboard" to "kbd" in the Section "InputDevice"

One other thing, the last line of your error message mentions nvidia. In your host.def, did you put
#define XF86CardDrivers nv
 
Old 12-20-2004, 10:18 AM   #5
drowbot
Member
 
Registered: Dec 2004
Location: Tulsa, OK, USA
Distribution: SUSE, ArchLinux, Gentoo, LFS, Slackware, Fedora
Posts: 100

Original Poster
Rep: Reputation: 15
Nope, I put 'nvidia'. I already had the driver installed from their website. It compiled fine, but maybe that's the issue. I think I'll try removing the driver and recompile Xorg. THEN install the nvidia driver. Thanks for your suggestions!
 
Old 03-16-2005, 03:17 PM   #6
airone
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
Have you finally managed to get rid of this problem ? "Xorg -configure" actually output the same strange message on my Ubuntu Hoary Hedgehog distro...

I've noticed that you're experiencing this particular issue with a nVidia graphic card, and so am i. In my case, Xorg still works fine with the free "nv" driver. However, he won't start when I use the "nvidia" (non-free) driver. Of course, since i haven't managed to get this damn "Xorg -configure" to work, I simply renamed my old XF86Config to xorg.conf. both "nv" and "nvidia" drivers used to work perfectly on Xfree86 with this file.

I know this post doesn't really match the topic of this thread, but it's the only hit i got in google about this weird "Missing output drivers" message. from Xorg. And somehow, i think those two problems are connected.

I thank you in advance for your help.(and i'm really sorry about my bad english... hope you'll manage to read this anyway)

best regards
 
Old 03-23-2005, 05:52 PM   #7
devilkin
Member
 
Registered: Jan 2005
Location: Australia
Distribution: LFS 6.0 #15056
Posts: 50

Rep: Reputation: 15
From memory when i used the nvidia driver i had to get the module to load everytime i booted, perhaps checking your log files could be of help? /var/log/*

I dont have access to my lfs box, so i appoligise i cannot be of more help. The school internet is locked down tighter then a monkeys... lets not go there.
 
  


Reply


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
Xorg - compile problems rblythe Linux From Scratch 1 09-11-2005 06:38 PM
Xorg-6.8.2 compile error joakim12 Linux From Scratch 3 08-17-2005 03:51 AM
Does anyone custom compile xorg? dhave Slackware 11 03-07-2005 03:06 AM
Xorg 6.8.1 compile problem drowbot Linux From Scratch 3 12-26-2004 03:47 PM
compile Xorg cs-cam Linux - Newbie 3 12-03-2004 10:54 PM


All times are GMT -5. The time now is 11:37 AM.

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