View previous topic :: View next topic |
Author |
Message |
amalafrida n00b
Joined: 02 Feb 2010 Posts: 31
|
Posted: Sat Feb 06, 2010 10:05 pm Post subject: hald : not such file or directory |
|
|
in the process of installing x-server x11, xorg etc
reached the point in the walkthrough at http://www.gentoo.org/doc/en/xorg-config.xml (code listing 2.6)
# /etc/init.d/hald start
receive message: -bash: /etc/init.d/hald: No such file or directory ....
any suggestions?
thanks.
gnub |
|
Back to top |
|
|
yumyum n00b
Joined: 06 Nov 2008 Posts: 38 Location: Iceland
|
Posted: Sat Feb 06, 2010 10:39 pm Post subject: |
|
|
Do you even have Hal installed and have you properly set the 'hal' and 'dbus' use flags ? _________________ Would you mind telling me why there is ricearoni in my coffee!? |
|
Back to top |
|
|
amalafrida n00b
Joined: 02 Feb 2010 Posts: 31
|
Posted: Sat Feb 06, 2010 10:43 pm Post subject: |
|
|
i don't know if hal is installed ... how to tell?
just added USE flag hal to make.conf and ran emerge --update --deep world |
|
Back to top |
|
|
yumyum n00b
Joined: 06 Nov 2008 Posts: 38 Location: Iceland
|
Posted: Sat Feb 06, 2010 10:57 pm Post subject: |
|
|
Right, might also want to add
Code: | emerge --update --deep --newuse |
If you have the use flags properly set, hal and dbus will be dragged in for xorg-x11 or xorg-xserver _________________ Would you mind telling me why there is ricearoni in my coffee!? |
|
Back to top |
|
|
amalafrida n00b
Joined: 02 Feb 2010 Posts: 31
|
Posted: Sat Feb 06, 2010 11:30 pm Post subject: |
|
|
so then I'll go back and emerge xorg-server???
that's what I'll try now.
thanks. |
|
Back to top |
|
|
amalafrida n00b
Joined: 02 Feb 2010 Posts: 31
|
Posted: Sun Feb 07, 2010 12:32 am Post subject: |
|
|
hald now starts but ...
# startx fails
(EE) failed to load module "dri" (module does not exist, 0)
same for modules dri2, nv, vesa, and fbdev
(EE) no drivers available
Fatal screen error:
no screens found
............................
giving up ...
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
any suggestions? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Sun Feb 07, 2010 12:38 am Post subject: |
|
|
Post your emerge --info please. |
|
Back to top |
|
|
s0ulslack Tux's lil' helper
Joined: 29 Jan 2003 Posts: 134 Location: Idaho
|
|
Back to top |
|
|
NathanZachary Moderator
Joined: 30 Jan 2007 Posts: 2605
|
Posted: Sun Feb 07, 2010 2:49 am Post subject: |
|
|
As Jaglover mentioned, please post your emerge --info, and also a little more about your graphics hardware. Are you running onboard video, or a video card (like Nvidia or ATi)? _________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sun Feb 07, 2010 6:07 am Post subject: |
|
|
First set a desktop profile: Code: | eselect profile set 2
eselect profile show |
Then make sure you have these in /etc/make.confVIDEO_CARDS="<whatever your display adapter driver is, eg. radeon, nvidia, intel>"
INPUT_DEVICES="evdev"
Now update world:
Add dbus and consolekit: Code: | eselect rc add consolekit default
eselect rc add dbus default
rc |
Verify that these files are correctly configured. Consult the Handbook, chapter 8.b. for assistance:/etc/hosts
/etc/conf.d/hostname
Install a simple window manager to test with:
Add a new user account if you haven't already done so. Example - change "john" for a username of your choice: Code: | adduser -g users -G lp,wheel,audio,cdrom,portage,cron -m john
passwd john |
Switch to another console eg. alt+F2 and login as <new user> and run:
If you get 3 simple terminals and a clock, then it works type exit to return to the console.
If it fails, please post the errors as well as the requested emerge --info. |
|
Back to top |
|
|
s0ulslack Tux's lil' helper
Joined: 29 Jan 2003 Posts: 134 Location: Idaho
|
Posted: Sun Feb 07, 2010 9:08 am Post subject: |
|
|
Wouldn't you rather people read the documentation then hold their hands? It makes them self sufficient vs spoon feeders |
|
Back to top |
|
|
NathanZachary Moderator
Joined: 30 Jan 2007 Posts: 2605
|
Posted: Sun Feb 07, 2010 6:00 pm Post subject: |
|
|
s0ulslack wrote: | Wouldn't you rather people read the documentation then hold their hands? It makes them self sufficient vs spoon feeders |
Yes, that is the purpose of the documentation. The members of the documentation team work diligently to keep our resources updated, but there are times where specific information simply isn't available or isn't sufficient to meet a certain user's needs. Therefore, we offer multiple outlets for support, including the fora. Asking for help doesn't inevitably indicate that one is being "spoon [fed]." _________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
Back to top |
|
|
amalafrida n00b
Joined: 02 Feb 2010 Posts: 31
|
Posted: Sun Feb 07, 2010 10:02 pm Post subject: |
|
|
Followed Mike Hunt's directions. Startx in another console yields:
(==) Log file: "/var/log/Xorg.0.log", Time ...
(==) Using default built-in configuration (30 lines)
(EE) failed to load module "dri" (module does not exist, 0)
same for modules dri2, nv, vesa, and fbdev
(EE) no drivers available
Fatal screen error:
no screens found
giving up ...
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
#lspci yields:
VGA compatible controller: nVidia Corp. NV11DDR [GeForce2 MX200] (rev b2)
emerge --info yields:
Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_1.50GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 05 Feb 2010 13:30:01 +0000
app-shells/bash: 4.0_p35
dev-lang/python: 2.6.4
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.63-r1
sys-devel/automake: 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc: 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT=""
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://lug.mtu.edu/gentoo/ "
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bitmap-fonts bluetooth branding bus bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 jpeg kde ldap libg++ libnotify libwww lock mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg svga sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xml2 xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
|
Back to top |
|
|
amalafrida n00b
Joined: 02 Feb 2010 Posts: 31
|
Posted: Sun Feb 07, 2010 10:41 pm Post subject: |
|
|
I was thinking ... the "module does not exist" message is curious ...
so
# find /lib/modules/2.6.31-gentoo-r6/ -type f -iname '*.o' -or -iname '*.ko" yields only the following:
/lib/modules/2.6.31-gentoo-r6/kernel/drivers/scsi/scsi_wait_scan.ko
/lib/modules/2.6.31-gentoo-r6/kernel/arch/x86/kernel/test_nx.ko
/lib/modules/2.6.31-gentoo-r6/misc/svgalib_helper.ko
/lib/modules/2.6.31-gentoo-r6/video/nvidia.ko
should there be more ... others? such as the one's "not exist' ing??
just a gnooby thought .... |
|
Back to top |
|
|
amalafrida n00b
Joined: 02 Feb 2010 Posts: 31
|
Posted: Sun Feb 07, 2010 10:55 pm Post subject: |
|
|
One further element ... /var/log/Xorg.0.log reports:
X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-gentoo-r6 i686
Current Operating System: Linux gateway 2.6.31-gentoo-r6 #1 SMP Fri Feb 5 02:40:20 CST 2010 i686
Build Date: 07 February 2010 02:10:04PM
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: Sun Feb 7 16:49:49 2010
(II) Loader magic: 0x3aa0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7
(--) PCI:*(0:1:0:0) 10de:0111:1545:002c nVidia Corporation NV11DDR [GeForce2 MX200] rev 178, Mem @ 0xfd000000/16777216, 0xe8000000/134217728, BIOS @ 0x????????/65536
(==) Using default built-in configuration (30 lines)
(==) --- Start of built-in configuration ---
Section "Device"
Identifier "Builtin Default nv Device 0"
Driver "nv"
EndSection
Section "Screen"
Identifier "Builtin Default nv Screen 0"
Device "Builtin Default nv Device 0"
EndSection
Section "Device"
Identifier "Builtin Default vesa Device 0"
Driver "vesa"
EndSection
Section "Screen"
Identifier "Builtin Default vesa Screen 0"
Device "Builtin Default vesa Device 0"
EndSection
Section "Device"
Identifier "Builtin Default fbdev Device 0"
Driver "fbdev"
EndSection
Section "Screen"
Identifier "Builtin Default fbdev Screen 0"
Device "Builtin Default fbdev Device 0"
EndSection
Section "ServerLayout"
Identifier "Builtin Default Layout"
Screen "Builtin Default nv Screen 0"
Screen "Builtin Default vesa Screen 0"
Screen "Builtin Default fbdev Screen 0"
EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout "Builtin Default Layout"
(**) |-->Screen "Builtin Default nv Screen 0" (0)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "Builtin Default nv Device 0"
(==) No monitor specified for screen "Builtin Default nv Screen 0".
Using a default monitor configuration.
(**) |-->Screen "Builtin Default vesa Screen 0" (1)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "Builtin Default vesa Device 0"
(==) No monitor specified for screen "Builtin Default vesa Screen 0".
Using a default monitor configuration.
(**) |-->Screen "Builtin Default fbdev Screen 0" (2)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "Builtin Default fbdev Device 0"
(==) No monitor specified for screen "Builtin Default fbdev Screen 0".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/misc/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/100dpi/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/75dpi/" does not exist.
Entry deleted from font path.
(==) FontPath set to:
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable AllowEmptyInput.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) System resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.6.5, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.6.5, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module 96.43.14 Sun Nov 8 18:24:17 PST 2009
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.6.5, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
(WW) Warning, couldn't open module dri2
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (module does not exist, 0)
(II) LoadModule: "nv"
(WW) Warning, couldn't open module nv
(II) UnloadModule: "nv"
(EE) Failed to load module "nv" (module does not exist, 0)
(II) LoadModule: "vesa"
(WW) Warning, couldn't open module vesa
(II) UnloadModule: "vesa"
(EE) Failed to load module "vesa" (module does not exist, 0)
(II) LoadModule: "fbdev"
(WW) Warning, couldn't open module fbdev
(II) UnloadModule: "fbdev"
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) No drivers available.
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. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
amalafrida n00b
Joined: 02 Feb 2010 Posts: 31
|
Posted: Mon Feb 08, 2010 12:29 am Post subject: |
|
|
yes, /usr/lib/xorg/modules/drivers/nvidia_drv.so exists
yes, did follow nvidia-guide.xml installation instructions ...
thanks. |
|
Back to top |
|
|
amalafrida n00b
Joined: 02 Feb 2010 Posts: 31
|
Posted: Mon Feb 08, 2010 12:39 am Post subject: |
|
|
ok, here's what I'm going to do.
I have a good image of the 'virgin' kernel/os I began with. I'm going to reinstall that and start all over again. Following the X configuration / nVidia configuration / Xfce configuration guides. When I come across a problem, I'll jump back in.
But before I go, might someone recommend a "standard' USE statement to include in /etc/make.conf??????
Thanks to everyone for offering help ... hopefully, a nice combination of spoon-feeding and careful attention to the documentation will provide some solution.
Stay tuned.
gnoob |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Mon Feb 08, 2010 12:59 am Post subject: |
|
|
Generally the most convenient way is to set a desktop profile, it enables most/all the USE flags required for a big desktop like KDE and/or Gnome etc....
If you like that run: Code: | eselect profile set 2
eselect profile show
emerge -uDN world |
And remember to always mount /boot before and re-emerge nvidia-drivers after installing a new kernel. |
|
Back to top |
|
|
forkboy Apprentice
Joined: 24 Nov 2004 Posts: 200 Location: Blackpool, UK
|
Posted: Mon Feb 08, 2010 11:01 am Post subject: |
|
|
Did you run nvidia-xconfig? From your log I don't see X trying to use the nvidia module |
|
Back to top |
|
|
NathanZachary Moderator
Joined: 30 Jan 2007 Posts: 2605
|
Posted: Mon Feb 08, 2010 3:57 pm Post subject: |
|
|
Are you using an xorg.conf? It doesn't appear that you are, and that it is resorting to using something other than the nvidia driver. I have not yet found a way around having a minimal xorg.conf when using the nvidia driver. _________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
Back to top |
|
|
|