Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem starting X.org
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kyng
n00b
n00b


Joined: 14 Jul 2011
Posts: 10
Location: Estonia

PostPosted: Sat Jul 16, 2011 3:56 pm    Post subject: Problem starting X.org Reply with quote

I have recently been trying to install Gentoo to my Samsung N145 netbook. I used the Gentoo installation guide and so far have managed to install the base system. I got stuck installing X.org as it doesn't start. After startx ai get:

Code:

(EE) Failed to load module "vesa" (module does not exist, 0 )
(EE) Failed to load module "fbdev" (module does not exist, 0 )
(EE) No devices detected

Fatal server error:
no screens found



I compiled kernel manualy, and being fairly new to this, this might as well be source of trouble.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jul 16, 2011 4:37 pm    Post subject: Reply with quote

boot to CLI, run
Code:
emerge pcituils wgetpaste
lspci -k | wgetpaste
emerge --info | wgetpaste
post the url's returned
_________________
Defund the FCC.
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Sat Jul 16, 2011 4:39 pm    Post subject: Reply with quote

If you already built the kernel with support for intel graphic card, add "intel" as video card in /etc/make.conf (VIDEO_CARDS="intel") and run "emerge -1uDN xorg-server".
If not, follow this guide: http://en.gentoo-wiki.com/wiki/Intel_GMA .
Back to top
View user's profile Send private message
kyng
n00b
n00b


Joined: 14 Jul 2011
Posts: 10
Location: Estonia

PostPosted: Sat Jul 16, 2011 4:47 pm    Post subject: Reply with quote

lspci -k | wgetpaste
emerge --info | wgetpaste
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Jul 16, 2011 4:57 pm    Post subject: Reply with quote

Did you follow the The X Server Configuration HOWTO? 'cause, if you did, then you missed some steps. You've got no VIDEO_CARDS defined in your /etc/make.conf.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jul 16, 2011 4:59 pm    Post subject: Reply with quote

Actually you have VIDEO_CARDS="intel" off screen right in the paste.

Quote:

Graphics support --->
<*> /dev/agpgart (AGP Support) --->
<*> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
<*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->
i915 driver
[*] Enable modesetting on intel by default
< > Intel GMA500 Stub Driver
-*- Support for frame buffer devices --->
--- Support for frame buffer devices
[*] Enable firmware EDID
[ ] Framebuffer foreign endianness support --->
[*] Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic support
< > Permedia2 support
< > CyberPro 2000/2010/5000 support
< > Arc Monochrome LCD board support
[ ] Asiliant (Chips) 69000 display support
[ ] IMS Twin Turbo display support
< > VGA 16-color graphics support
< > Userspace VESA VGA graphics support
[ ] VESA VGA graphics support
< > N411 Apollo/Hecuba devkit support
< > Hercules mono graphics support
< > Epson S1D13XXX framebuffer support
< > nVidia Framebuffer Support
< > nVidia Riva support
< > Intel LE80578 (Vermilion) support
< > Matrox acceleration
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
< > S3 Trio/Virge support
< > S3 Savage support
< > SiS/XGI display support
< > VIA UniChrome (Pro) and Chrome9 display support
< > NeoMagic display support
< > IMG Kyro support
< > 3Dfx Banshee/Voodoo3/Voodoo5 display support
< > 3Dfx Voodoo Graphics (sst1) support
< > VIA VT8623 support
< > Trident/CyberXXX/CyberBlade support
< > ARK 2000PV support
< > Permedia3 support (EXPERIMENTAL)
< > Fujitsu carmine frame buffer support
[ ] AMD Geode family framebuffer support (EXPERIMENTAL)
< > Displaylink USB Framebuffer support
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
< > E-Ink Metronome/8track controller support
< > Fujitsu MB862xx GDC support
< > E-Ink Broadsheet/Epson S1D13521 controller support
[*] Backlight & LCD device support --->
--- Backlight & LCD device support
<*> Lowlevel LCD controls
< > Platform LCD controls
<*> Lowlevel Backlight controls
< > Generic (aka Sharp Corgi) Backlight Driver
< > Frontpath ProGear Backlight Driver
< > MacBook Pro Nvidia Backlight Driver
< > Tabletkiosk Sahara Touch-iT Backlight Driver
< > Backlight Driver for ADP8860/ADP8861/ADP8863 using WLED
Backlight & LCD device support --->
Display device support --->
<*> Display panel/monitor support
*** Display hardware drivers ***
Console display driver support --->
-*- VGA text console
[*] Enable Scrollback Buffer in System RAM
(256) Scrollback Buffer Size (in KB)
<*> Framebuffer Console support
[ ] Map the console to the primary display device
[ ] Framebuffer Console Rotation
[ ] Select compiled-in fonts
[*] Bootup logo --->
--- Bootup logo
[ ] Standard black and white Linux logo
[ ] Standard 16-color Linux logo
[*] Standard 224-color Linux logo

redo kernel if changes were made
Code:
emerge xorg-server xf86-video-intel xf86-input-evdev xf86-input-synaptics

Code:
ls /etc/X11/Sessions
Note the spelling of your session for use in:
Code:
nano /etc/env.d/90xsession
edit to add
Quote:
XSESSION="<your session name>"

Code:
nano /etc/conf.d/xdm
check for
Quote:
DISPLAYMANAGER="xdm"
if missing, add it
Quote:
nano /etc/X11/xorg.conf.d/98-keyboard.conf
edit to add
Quote:

Section "InputClass"
Identifier "keyboard-all"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
MatchIsKeyboard "on"
EndSection
plus your keyboard layout
Code:
env-update
X -retro
a black and white stippled screen with a movable mouse pointer means xorg-server is working. ctrl-alt-backspace to exit X
Code:
startx

_________________
Defund the FCC.
Back to top
View user's profile Send private message
kyng
n00b
n00b


Joined: 14 Jul 2011
Posts: 10
Location: Estonia

PostPosted: Sat Jul 16, 2011 6:11 pm    Post subject: Reply with quote

I get the same messaeges.

Should there be Driver "evdev" in /etc/X11/xorg.conf.d/98-keyboard.conf?

Code:
ls /etc/X11/Sessions

It gave me Xsession, is taht normal?

Where does this 98 come from in 98-keyboard.conf?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jul 16, 2011 6:20 pm    Post subject: Reply with quote

Quote:
Fatal server error:
no screens found
is bad, the rest are normal and harmless.


Quote:
Should there be Driver "evdev" in /etc/X11/xorg.conf.d/98-keyboard.conf?
No

Quote:
It gave me Xsession, is taht normal?
means you have not emerged a desktop/window manager yet



Code:
Where does this 98 come from in 98-keyboard.conf?
98 is a random choice other than it helps it be the last rule applied, this file is just to give ctrl-alt-del as a way out of X instead of the on-off switch

Code:
wgetpaste /var/log/Xorg.0.log
and post the url
_________________
Defund the FCC.
Back to top
View user's profile Send private message
kyng
n00b
n00b


Joined: 14 Jul 2011
Posts: 10
Location: Estonia

PostPosted: Sat Jul 16, 2011 6:26 pm    Post subject: Reply with quote

http://paste.pocoo.org/show/440263
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jul 16, 2011 6:37 pm    Post subject: Reply with quote

looks like a kernel problem.
Code:
lspci -k
should now list 'Driver in use:' for the 'VGA compatible controller:'
if it does what is listed?
if it does not a continuing kernel problem is indicated.
Code:
awk '/Graphics support/,/CONFIG_SOUND/' /usr/src/linux/.config | wgetpaste
and post the url
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jul 16, 2011 6:40 pm    Post subject: Reply with quote

if you did make changes to the kernel config are you sure that the /boot partition was mounted, that you you recompiled, that you recopied, and that you rebooted?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
kyng
n00b
n00b


Joined: 14 Jul 2011
Posts: 10
Location: Estonia

PostPosted: Sat Jul 16, 2011 6:45 pm    Post subject: Reply with quote

I'm not sure, so: http://paste.pocoo.org/show/440281

-e-
Missed your very last post
I had an error message while booting, that /mnt/home didn't exist.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jul 16, 2011 7:34 pm    Post subject: Reply with quote

Code:
mount /dev/sda1 /boot # use your /dev/sd?? if different
cd /usr/src/linux
make menuconfig
Edit menuconfig to:
Quote:
Device Drivers --->
Graphics support --->
<*> /dev/agpgart (AGP Support) --->
--- /dev/agpgart (AGP Support)
< > AMD Opteron/Athlon64 on-CPU GART support
<*> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > SiS chipset support
< > VIA chipset support
-*- VGA Arbitration
(2) Maximum number of GPUs
[ ] Laptop Hybrid Graphics - GPU switching support
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
--- Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
< > 3dfx Banshee/Voodoo3+ (NEW)
< > ATI Rage 128 (NEW)
< > ATI Radeon (NEW)
<*> Intel 8xx/9xx/G3x/G4x/HD Graphics (NEW)
[*] Enable modesetting on intel by default ##### Depending on kernel version either green or blue is ok

<*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->
i915 driver
[*] Enable modesetting on intel by default

< > Matrox g200/g400 (NEW)
< > SiS video cards (NEW)
< > Via unichrome video cards (NEW)
< > Savage video cards (NEW)
< > Intel GMA500 Stub Driver
<*> Lowlevel video output switch controls
<*> Support for frame buffer devices --->
--- Support for frame buffer devices
[*] Enable firmware EDID # needed so monitor parameters can be read
[ ] Framebuffer foreign endianness support --->
[*] Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic support
< > Permedia2 support
< > CyberPro 2000/2010/5000 support
< > Arc Monochrome LCD board support
[ ] Asiliant (Chips) 69000 display support
[ ] IMS Twin Turbo display support
< > VGA 16-color graphics support
< > Userspace VESA VGA graphics support
[ ] VESA VGA graphics support #a no no with kms
< > N411 Apollo/Hecuba devkit support
< > Hercules mono graphics support
< > Epson S1D13XXX framebuffer support
< > nVidia Framebuffer Support
< > nVidia Riva support
< > Intel LE80578 (Vermilion) support
< > Matrox acceleration
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
< > S3 Trio/Virge support
< > S3 Savage support
< > SiS/XGI display support
< > VIA UniChrome (Pro) and Chrome9 display support
< > NeoMagic display support
< > IMG Kyro support
< > 3Dfx Banshee/Voodoo3/Voodoo5 display support
< > 3Dfx Voodoo Graphics (sst1) support
< > VIA VT8623 support
< > Trident/CyberXXX/CyberBlade support
< > ARK 2000PV support
< > Permedia3 support (EXPERIMENTAL)
< > Fujitsu carmine frame buffer support
[ ] AMD Geode family framebuffer support (EXPERIMENTAL)
< > Displaylink USB Framebuffer support
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
< > E-Ink Metronome/8track controller support
< > Fujitsu MB862xx GDC support
< > E-Ink Broadsheet/Epson S1D13521 controller support
[*] Backlight & LCD device support --->
--- Backlight & LCD device support
<*> Lowlevel LCD controls
< > Platform LCD controls
-*- Lowlevel Backlight controls
< > Generic (aka Sharp Corgi) Backlight Driver
< > Frontpath ProGear Backlight Driver
< > Apple Backlight Driver
< > Tabletkiosk Sahara Touch-iT Backlight Driver
< > Backlight Driver for ADP8860/ADP8861/ADP8863 using WLED
Display device support --->
<*> Display panel/monitor support
*** Display hardware drivers ***
-*- VGA text console
[*] Enable Scrollback Buffer in System RAM
(256) Scrollback Buffer Size (in KB)
-*- Framebuffer Console support
-*- Map the console to the primary display device
[ ] Framebuffer Console Rotation
[ ] Select compiled-in fonts
Console display driver support --->
[*] Bootup logo --->
--- Bootup logo
[ ] Standard black and white Linux logo
[ ] Standard 16-color Linux logo
[*] Standard 224-color Linux logo

Code:
make && make modules_install
cp arch/i386/boot/bzImage /boot/<your kernel name>
reboot
when rebooted
Code:
X -retro
To see if X works
ctrl-alt-delete to escape
pick and emerge a desktop
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jul 16, 2011 7:43 pm    Post subject: Reply with quote

Quote:
I had an error message while booting, that /mnt/home didn't exist.
did the boot succeed none the less? If so:
Code:
wgetpaste /etc/fstab
fdisk -l | wgetpaste
df -h | wgetpaste

if not, boot cd, then (using your partition device names):
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
wgetpaste /etc/fstab
fdisk -l | wgetpaste

_________________
Defund the FCC.
Back to top
View user's profile Send private message
kyng
n00b
n00b


Joined: 14 Jul 2011
Posts: 10
Location: Estonia

PostPosted: Sat Jul 16, 2011 9:05 pm    Post subject: Reply with quote

You must be god. Compiling kernel again worked, X now runs.

About the /home. Not mounting it had no effect on booting, except the error message. I just made the /mnt/home directory and mounted the home partition. I probably just missed it while installing. Doing stuff CLI isn't something i'm used to. Is wgetpaste /etc/fstab and etc. still necesery, because everything seams to work (yeah, who am I kidding, I'll be back here soon :lol: )
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jul 16, 2011 9:45 pm    Post subject: Reply with quote

/mnt/home is wrong. the tarball extraction gave you a /home directory.
put /home in fstab like
Quote:
/dev/<your home partition sd??> /home <your home file system> defaults 0 0
Then move stuff from the home directory on the root partition to the /mnt/home directory on the home partition.
Code:
mv -rf  /home/* /mnt/home/*
reboot

when rebooted you can rmdir /mnt/home

confusing enough?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
kyng
n00b
n00b


Joined: 14 Jul 2011
Posts: 10
Location: Estonia

PostPosted: Sun Jul 17, 2011 5:24 am    Post subject: Reply with quote

Not that confusing. But why this hapens, is: http://paste.pocoo.org/show/440565
Back to top
View user's profile Send private message
kyng
n00b
n00b


Joined: 14 Jul 2011
Posts: 10
Location: Estonia

PostPosted: Sun Jul 17, 2011 2:16 pm    Post subject: Reply with quote

Well, X works now, but when installing Gnome-light I get ERROR: net-nds/openldap-2.4.24 failed

Tried to google, but couldn't find much.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Jul 17, 2011 3:14 pm    Post subject: Reply with quote

sorry, slow on the uptake here, just figured out what you were telling me:
Code:
mkdir /etc/portage
nano /etc/portage/package.use

edit to
Quote:
net-nds/openldap sasl
This will add the USE flag 'sasl' just for openldap

Code:
emerge --resume --keep-going gnome-light # will emerge what can be emerged while
wgetpaste /var/tnp/portage/net-nds/openldap/temp/build.log # tells the actual error
post the url

part 2 and 3 of the handbook are helpful in dealing with portage
_________________
Defund the FCC.
Back to top
View user's profile Send private message
kyng
n00b
n00b


Joined: 14 Jul 2011
Posts: 10
Location: Estonia

PostPosted: Sun Jul 17, 2011 5:03 pm    Post subject: Reply with quote

http://paste.pocoo.org/show/440885
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum