Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Gentoo Linux Help
Reload this Page please help my xserver
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Gentoo Linux Help For help and discussion related to Gentoo Linux

Reply
 
Thread Tools Display Modes
Old 02-05-2008   #1 (permalink)
sosoy77
Just Joined!
 
Join Date: Dec 2007
Posts: 36
please help my xserver

hi guys,i have problems with xserver again.I have installed nvidia-settings i nvidia-xconfig i restart and now i can't start x.Please help i have search google but i didn't find anything about that please help Thanks
sosoy77 is offline   Reply With Quote
Old 02-05-2008   #2 (permalink)
genesus
Linux Engineer
 
Join Date: Oct 2004
Location: Vancouver
Posts: 1,366
Send a message via AIM to genesus Send a message via Skype™ to genesus
post xfree86 or xorg.conf, you probably forgot to update it.
__________________
Operating System: GNU Emacs
genesus is offline   Reply With Quote
Old 02-05-2008   #3 (permalink)
i92guboj
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,016
Quote:
Originally Posted by genesus View Post
post xfree86 or xorg.conf, you probably forgot to update it.
There's not need to "update" xorg.conf each time you update xorg or nvidia-drivers.

A good place to start would be /var/log/Xorg.0.log. Look if you can see any errors in there. We can't tell you much more if you don't provide any more info.

Note that you need to recompile the drivers each time you install a new kernel.
i92guboj is offline   Reply With Quote
Old 02-05-2008   #4 (permalink)
sosoy77
Just Joined!
 
Join Date: Dec 2007
Posts: 36
my mistake i did not read the nvidia book.thanks but please explain me how to read this error and how to fix it :i want to emerge app-cdr/cdemu but it's giving me this error:
Quote:
emerge app-cdr/cdemu
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) app-cdr/cdemu-0.8 to /
* cdemu-0.8.tar.bz2 RMD160 SHA1 SHA256 size ... [ ok ]
* checking ebuild checksums ... [ ok ]
* checking auxfile checksums ... [ ok ]
* checking miscfile checksums ... [ ok ]
* checking cdemu-0.8.tar.bz2 ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.23-gentoo-r6/build
* Found sources for kernel version:
* 2.6.23-gentoo-r6
>>> Unpacking source...
>>> Unpacking cdemu-0.8.tar.bz2 to /var/tmp/portage/app-cdr/cdemu-0.8/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8 ...
* Preparing cdemu module
rm -f .cdemu*.{ko,mod.o,o}.cmd cdemu*.{ko,o,mod.{c,o}} *.pyc core *~
rm -rf .tmp_versions Modules.symvers
rm -f docs/cdemu.{dvi,pdf}
make[1]: Entering directory `/usr/src/linux-2.6.23-gentoo-r6'
CC [M] /var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_core.o
CC [M] /var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_proc.o
CC [M] /var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_mod.o
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_mod.c:64: warning: 'request_queue_t' is deprecated
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_mod.c:65: warning: 'request_queue_t' is deprecated
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_mod.c: In function 'cdemu_init':
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_mod.c:173: error: void value not ignored as it ought to be
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_mod.c: In function 'cdemu_exit':
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_mod.c:198: error: too many arguments to function 'invalidate_bdev'
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_mod.c:218: error: void value not ignored as it ought to be
make[2]: *** [/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_mod.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_core.c: In function 'cdemu_transfer_bio':
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_core.c:176: error: 'const struct file_operations' has no member named 'sendfile'
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_core.c:179: warning: format '%i' expects type 'int', but argument 3 has type 'ssize_t'
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_core.c: At top level:
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_core.c:215: warning: 'request_queue_t' is deprecated
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_core.c: In function 'cdemu_ioctl':
/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_core.c:489: error: implicit declaration of function 'generic_file_read'
make[2]: *** [/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8/cdemu_core.o] Error 1
make[1]: *** [_module_/var/tmp/portage/app-cdr/cdemu-0.8/work/cdemu-0.8] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23-gentoo-r6'
make: *** [default] Error 2
*
* ERROR: app-cdr/cdemu-0.8 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1383: Called linux-mod_src_compile
* linux-mod.eclass, line 519: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" \
* ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \
* || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}."
* The die message:
* Unable to make clean default.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-cdr/cdemu-0.8/temp/build.log'.
*

* Messages for package app-cdr/cdemu-0.8:

*
* ERROR: app-cdr/cdemu-0.8 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1383: Called linux-mod_src_compile
* linux-mod.eclass, line 519: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" \
* ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \
* || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}."
* The die message:
* Unable to make clean default.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-cdr/cdemu-0.8/temp/build.log'.
*
please teach me how to fix this thanx in advance.
sosoy77 is offline   Reply With Quote
Old 02-06-2008   #5 (permalink)
i92guboj
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,016
This has nothing to do with your xorg server.

Cdemu likes to break every now and then, it is just too tied to the kernel, and every new kernel it breaks. Like in this bug:

Gentoo Bug 159015 - app-cdr/cdemu-0.8 does not work with Linux 2.6.17+

There's a patch on that thread. But I would just use fuseiso instead. Not in portage, but easy enough to install. You need fuse support in your kernel.

I have an ebuild for it on my site:
http://jesgue.homelinux.org/ebuilds/...0070708.ebuild

In addition, fuse virtual fs's like fuseiso and sshfs urn entirely in userland, which has a load of advantages.
i92guboj is offline   Reply With Quote
Old 02-06-2008   #6 (permalink)
genesus
Linux Engineer
 
Join Date: Oct 2004
Location: Vancouver
Posts: 1,366
Send a message via AIM to genesus Send a message via Skype™ to genesus
Quote:
Originally Posted by i92guboj View Post
There's not need to "update" xorg.conf each time you update xorg or nvidia-drivers.

I know the issue has changed, but are you sure about this? If I don't update xorg.conf with the nvidia settings and by adding dri and the other nvidia options, then x won't start. So, I have a "need" to update xorg.conf each time I update xorg or nvidia drivers.
__________________
Operating System: GNU Emacs
genesus is offline   Reply With Quote
Old 02-06-2008   #7 (permalink)
i92guboj
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,016
Quote:
Originally Posted by genesus View Post
I know the issue has changed, but are you sure about this? If I don't update xorg.conf with the nvidia settings and by adding dri and the other nvidia options, then x won't start. So, I have a "need" to update xorg.conf each time I update xorg or nvidia drivers.
I don't know what do you mean.

You configure xorg.conf, and the forget about it. Unless you want to change your driver or any other option. xorg.conf is just a configuration file, you definitely don't need to change it each time you recompile nvidia-drivers.

You need to setup it the first time, then there's nothing you need to do.

If you feel this is wrong, try to explain a bit better why do you think that, maybe I am not understanding you, or maybe you are confusing xorg.conf with any other file.
i92guboj is offline   Reply With Quote
Old 02-07-2008   #8 (permalink)
genesus
Linux Engineer
 
Join Date: Oct 2004
Location: Vancouver
Posts: 1,366
Send a message via AIM to genesus Send a message via Skype™ to genesus
Sorry, I think that I was confusing the issue. From the way the original question was worded I assumed that he had never done the needed xorg updates the first time the nvidia driver is installed. There are a few different nvidia drivers, the one I currently use is "nv", while the previously used one was "nvidia". When I updated to the newer driver I had to update xorg.conf.
__________________
Operating System: GNU Emacs
genesus is offline   Reply With Quote
Old 02-08-2008   #9 (permalink)
i92guboj
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,016
Quote:
Originally Posted by i92guboj View Post
I don't know what do you mean.

You configure xorg.conf, and then forget about it. Unless you want to change your driver or any other option. xorg.conf is just a configuration file, you definitely don't need to change it each time you recompile nvidia-drivers.

You need to setup it the first time, then there's nothing you need to do.

If you feel this is wrong, try to explain a bit better why do you think that, maybe I am not understanding you, or maybe you are confusing xorg.conf with any other file.
EDIT: corrected "and the forget" by "and then forget".
i92guboj is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
xserver error madhangc SuSE Linux Help 1 07-05-2007 12:55 PM
Where to find logs from Xserver and kernelstart. Also Xserver crash when quit. barbalander Linux Newbie 0 03-06-2007 08:31 PM
trouble starting xserver automatically. karthikmurs Redhat / Fedora Linux Help 9 11-20-2006 10:56 PM
xserver problem-----plz help me at the earliest.. srirang Linux Desktop / X-Windows 12 07-03-2006 09:45 AM
xserver problem chetan_gariki Redhat / Fedora Linux Help 1 08-26-2004 02:34 AM




All times are GMT. The time now is 08:24 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0