LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-22-2009, 09:58 AM   #1
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Rep: Reputation: 38
xorg 7.4 (compiled from source) fails to take off


Hi,
I compiled xorg 7.4 from individual packages on my Slack 13 box, but it's stuck (quite literally). On issuing startx, the execution just sits there with no response. It doesn't even bail-out with any helpful error code. This is my Xorg.0.log:

Code:
X.Org X Server 1.7.0
Release Date: 2009-10-2
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31
Current Operating System: Linux arrakis 2.6.31 #1 SMP Fri Oct 2 19:48:40 IST 2009 i686
Kernel command line: BOOT_IMAGE=SLK ro root=305 vt.default_utf8=0
Build Date: 08 October 2009  02:00:35AM
 
Current version of pixman: 0.16.2
	Before reporting problems, check http://wiki.x.org
	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: Fri Oct 23 00:33:22 2009
(II) Loader magic: 0x82092a0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(--) using VT number 7

(--) PCI:*(0:0:18:0) 10de:053b:1043:8308 rev 162, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xdd000000/16777216, BIOS @ 0x????????/131072
List of video drivers:
	v4l
	dummy
	fbdev
	vesa
(II) LoadModule: "v4l"
(II) Loading /usr/lib/X11/modules/drivers/v4l_drv.so
(II) Module v4l: vendor="X.Org Foundation"
	compiled for 1.7.0, module version = 0.1.1
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "dummy"
(II) Loading /usr/lib/X11/modules/drivers/dummy_drv.so
(II) Module dummy: vendor="X.Org Foundation"
	compiled for 1.7.0, module version = 0.3.2
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/X11/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
	compiled for 1.7.0, module version = 0.4.1
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "vesa"
(II) Loading /usr/lib/X11/modules/drivers/vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
	compiled for 1.7.0, module version = 2.2.1
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 6.0
(II) Primary Device is: PCI 00@00:12:0
(WW) Falling back to old probe method for v4l
(II) v4l driver for Video4Linux
(WW) Falling back to old probe method for dummy
(II) FBDEV: driver for framebuffer: fbdev
(II) VESA: driver for VESA chipsets: vesa
(++) Using config file: "/root/xorg.conf.new"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
	/usr/lib/X11/fonts/misc/,
	/usr/lib/X11/fonts/TTF/,
	/usr/lib/X11/fonts/OTF,
	/usr/lib/X11/fonts/Type1/,
	/usr/lib/X11/fonts/100dpi/,
	/usr/lib/X11/fonts/75dpi/,
	/usr/lib/X11/fonts/misc/,
	/usr/lib/X11/fonts/TTF/,
	/usr/lib/X11/fonts/OTF,
	/usr/lib/X11/fonts/Type1/,
	/usr/lib/X11/fonts/100dpi/,
	/usr/lib/X11/fonts/75dpi/
(**) ModulePath set to "/usr/lib/X11/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/X11/modules/linux/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
	compiled for 1.7.0, module version = 0.0.2
	ABI class: X.Org Video Driver, version 6.0
(EE) open /dev/fb0: No such file or directory
(WW) Falling back to old probe method for fbdev

Backtrace:
0: Xorg (xorg_backtrace+0x3b) [0x80afbeb]
1: Xorg (0x8048000+0x5c515) [0x80a4515]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb7f9640c]
Segmentation fault at address (nil)

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting


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.
I have an Asus mobo with Nvidia 8600 chip-based on-board graphics. So I tried the official drivers (185.18.36) from Nvidia, but it didn't help. What could be the problem here? Please advise.
 
Old 10-22-2009, 10:12 AM   #2
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
Here is the main issue:
Code:
(EE) open /dev/fb0: No such file or directory
Not sure if this will work, but for the moment u could try this-

-$nano /etc/X11/xorg.conf >>
Change this:
Code:
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection
To This :--
Code:
Section "Device"
	Identifier	"Generic Video Card"
	Driver		"vesa"
EndSection
save xorg.conf, reboot and try.

Last edited by slackd; 10-22-2009 at 10:26 AM.
 
Old 10-22-2009, 11:41 AM   #3
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
How did you install the Nvidia drivers?
 
Old 10-23-2009, 01:46 AM   #4
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
Hi
I took slackd's advice and changed my xorg.conf accordingly. But it didn't make any difference. I still get the same error.
Quote:
Originally posted by shadowsnipes
How did you install the Nvidia drivers?
I got the NVIDIA-Linux-x86-185.18.36-pkg1.run file from Nvidia's website, and executred it in on the console. Any help?
 
Old 10-23-2009, 02:04 AM   #5
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
get the latest beta...
 
Old 10-23-2009, 07:46 AM   #6
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
I tried the beta release driver, with no better a result than I got previously. I might have to step down xorg-server and see if it helps.
 
Old 10-23-2009, 07:53 AM   #7
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
darn', you could have a look here. >>
 
Old 10-23-2009, 08:03 AM   #8
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
To add some more info if it's any help; I compiled xorg-server with pixman, HAL, Mesa. Also, the x libraries were compiled with xcb support. I don't know what the problem is, coz this same setup had worked with xorg-server 1.6.3. This is my xorg.conf:
Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    FontPath        "/usr/lib/X11/fonts/misc/:unscaled"
    FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/lib/X11/fonts/misc/"
    FontPath        "/usr/lib/X11/fonts/Type1/"
    FontPath        "/usr/lib/X11/fonts/Speedo/"
    FontPath        "/usr/lib/X11/fonts/100dpi/"
    FontPath        "/usr/lib/X11/fonts/75dpi/"
    FontPath        "/usr/lib/X11/fonts/cyrillic/"
    FontPath        "/usr/lib/X11/fonts/TTF/"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
 
Old 10-23-2009, 08:21 AM   #9
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
Okay, now I'm really confused.
Code:
arrakis@dune [root]# ls -l /dev/fb0
crw-rw---- 1 root messagebus 29, 0 Oct 23  2009 /dev/fb0
The device exists. Also, in the link that slackd posted, it suggests adding the vga string to the bootloader. But my lilo.conf has that. I'm dual booting with Arch on the machine, as well (also with xorg-7.4 compiled from sources) and it has no such problem.
 
Old 10-23-2009, 08:32 AM   #10
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
ok...give me the list of packages u recompiled with the related libraries and also give me the configure parameters that u used to compile xorg.
 
Old 10-23-2009, 08:57 AM   #11
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
Okay,
I got the xorg protocol headers, libraries, apps, utils, drivers and server packages from freedesktop. Header packages were compiled with
Code:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var; make install
.
Ditto for utils. Libraries were compiled with fontconfig, libxdmcp and libxcb support (same build options as above). Applications were compiled with png, xbitmaps, mesa and pam support (build options were same). Same config and build commands were used for fonts, xkeyconfig, luit and libXau. xorg-server was installed with
Code:
./configure --prefix=/usr --sysconfdir=/etc  --with-module-dir=/usr/lib/X11/modules --enable-install-setuid; make; make install
. Drivers compiled with
Code:
./configure --prefix=/usr --sysconfdir=/etc --with-xorg-module-dir=/usr/lib/X11/modules; make; make install
. Compiled Flux as window manager with imlib2 support (cairo compiled with DirectFB). This is my .xinitrc:
Code:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/lib/X11/xinit/.Xresources
sysmodmap=/usr/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# Start the window manager:
exec /usr/bin/startfluxbox
When I issue "startx" in the terminal, the command just sits there. I have to do \^c to terminate it. No error messages in Xorg.0.log. The error posted above was received when I ran Xorg -configure. Would really appreciate any help here.
 
Old 10-23-2009, 09:10 AM   #12
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 15.0
Posts: 619

Rep: Reputation: 299Reputation: 299Reputation: 299
[QUOTE
Code:
arrakis@dune [root]# ls -l /dev/fb0
crw-rw---- 1 root messagebus 29, 0 Oct 23  2009 /dev/fb0
[/QUOTE]

hmmm "crw-rw----" ...

perhaps a permission error ?

if you are not root user or in the messagebus group
then i'd understand that to mean no access allowed.

but then i may be wrong .. it's only an idea !
 
  


Reply



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
Compiled 2.6.20 on openSUSE 10.2 fails to recognise LVM at boot tea of evil Linux - Kernel 2 04-08-2007 10:21 PM
Compiled Apache2 from source... emptystrings Linux - Software 1 11-17-2004 02:44 PM
xorg 6.8.0 fails to compile stumbles Linux - Software 0 09-26-2004 07:26 PM
newly compiled kernel, boot fails class_struggle Linux - Newbie 2 07-30-2004 09:10 AM
modprobe fails after new compiled kernel! maxut Red Hat 1 03-03-2004 07:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:07 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration