Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X server wont start, or starts(?),but does naught [updated].
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Tue Mar 02, 2010 4:15 pm    Post subject: Reply with quote

gentoo_newguy,

Options 2 or 3 work, they both rename your gnome-applications.menu to applications.menu which is what gnome looks for now.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
gentoo_newguy
Guru
Guru


Joined: 10 Oct 2006
Posts: 539

PostPosted: Tue Mar 02, 2010 5:45 pm    Post subject: Reply with quote

Neddy thanks ur a real start on the Gentoo forums.
I cant try till i get home.

Also about xinitrc how would i no if im using it ?
All so what is its purpose if u dont mind me asking ?

Any ideas whats happening with my mouse ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Tue Mar 02, 2010 7:35 pm    Post subject: Reply with quote

gentoo_newguy,

You use .xinitrc (that dot is important) if you use startx to run Xorg after logging in at a console.

Every user has their own ~/.xinitrc which is the file that tells Xorg what to do when it starts.
There is a system wide xinitrc which is invoked if the users .xinitrc is missing.
The system wide xinitrc runs twm, with three xterms and a xclock, so you need those programs installed.

If you use a graphical log in, xinitrc and the users ~/.xinitrc are not used.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
gentoo_newguy
Guru
Guru


Joined: 10 Oct 2006
Posts: 539

PostPosted: Tue Mar 02, 2010 7:46 pm    Post subject: Reply with quote

Neddy ur a star.
It helps alot more when understanding the system.
So if i was to use a graphical login in the future would it override my .xinitrc like kind of just ignore the file ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Tue Mar 02, 2010 7:54 pm    Post subject: Reply with quote

gentoo_newguy,

Thats correct.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2754
Location: Here and Away Again

PostPosted: Tue Mar 02, 2010 9:42 pm    Post subject: Excelsior! Reply with quote

NeddySeagoon wrote:
Chiitoo,

Your log shows that Xorg started, found nothing to and quit.

It looks like you don't have a window manager for X to run. Try the following:-
Code:
emerge twm xclock xterm av
then startx again.
You should find that those packages are all flagged as [ N ] meaning New.

They are not installed by default any more as they are seldom used but they are good for testing.

This is exactly what I was assuming myself, was just confuddled as to why it wouldn't kick KDE off.
So I confirmed that it runs the clock and terminals after my previous post and was even more lost.
But today I remembered that with the other computer, I had followed a different guide briefly in addition to the one at the Gentoo documentation collection.

Namely this one: Gentoo Linux KDE Install

So I tried to do the following part from that guide:

Code:

...
# su <user>                                           (Test it as non-root user)
$ echo "exec startkde" > ~/.xinitrc                        (Configure X startup)
$ source /etc/profile                              (Update the system variables)
$ startx                                                             (Start KDE)
...

And here I am, typing into the KDE desktop. 8)
I'm guessing it was the (Configure X startup) I was missing. >.<

Anyways, I guess my problem(s) is/are solved, for now... :lol:


Thanks again and keep up the good work!

Kind Regards,
The Noob Unlimited
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2754
Location: Here and Away Again

PostPosted: Tue Mar 02, 2010 11:47 pm    Post subject: Reply with quote

After a quick test on some applications, one gives mirrored graphics which are really messed up (a Linux app), and another one, via Wine opens the installer but after choosing language, crashes.

I then tried with the nVidia drivers. The first one did the same but the second one wouldn't even give the "crash-message-in-the-box" but just dies after choosing the language.
When ran via terminal, both spill out this:

Code:

Error: API mismatch: the NVIDIA kernel module has version 190.42,
but this NVIDIA driver component has version 190.53.  Please make
sure that the kernel module and all NVIDIA driver components
have the same version.

Awfully resembles the problem with the 96 VS 173 drivers I mentioned in the initial post.
I guess I'm missing some basics on un-installing things haha...

Also:

Code:

err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly

But yeah, got the Xorg-KDE thingy sorted so this doesn't really fit into this thread anymore and it's a good start to journey onward. ^^
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Wed Mar 03, 2010 9:19 pm    Post subject: Reply with quote

Chiitoo,

The nvidia-drivers install two main componets
a kernel module
a graphics driver for Xorg.

Both parts must be the same version ... your error states
Code:
the NVIDIA kernel module has version 190.42,
but this NVIDIA driver component has version 190.53


This happens when you update the nvidia-driver after Xorg has started, then restart Xorg.
The old kernel module is left in RAM.
You need to
Code:
modprobe -r nvidia
before restarting Xorg to remove the old kernel memory from RAM, so the new one is loaded.
A reboot does the same thing but takes longer.

If you really have two different versions installed,
Code:
emerge -1 nvidia-drivers
and reboot.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2754
Location: Here and Away Again

PostPosted: Sat Mar 13, 2010 12:30 pm    Post subject: Heylo~ Reply with quote

That's what I figured as well.

Seems I really suck at handling them modules. ; ;
I did my best in removing previous versions etc. and tried your commands as well but nothing changed. O.o

Been a bit frozen as of late, this project, as my new MOBO was faulty and got it replaced and the one after that did the exact same seemingly random freeze so I'm back to a previous MOBO again.

Now, I built the Kernel again for this MOBO, trying out Genkernel and manual configuration but either way, I have no networking. It wont recognize eth0 and yawns about them evil modules. This really confuddles me as I was using the configuration the LiveCD uses, for Genkernel, and eth0 works fine when the LiveCD is fired up.
Since eth0 is dead I couldn't really try fixing the graphics card modules issue but I guess I'll look into it some time soon, if I can gather the motivation.

Something else that changed: I now have sound, which I previously did not (Creative X-FI - Xtreme Gamer card). ó.ò


Regards,
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Sat Mar 13, 2010 1:45 pm    Post subject: Reply with quote

Chiitoo,

Run lspci and post either all of it, or just the lines that mention Ethernet
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2754
Location: Here and Away Again

PostPosted: Sat Mar 13, 2010 2:52 pm    Post subject: Reply with quote

NeddySeagoon,

I can't do it right away now to get the detailed info but as I ran it while testing things out, I remember it listing Realtek ~numbers~ blah blah and Marvell Gigabit blah blah on the same line...
I even tried to enable support for those in-the-kernel as in, not as modules but that did nothing as far as I can tell.

I'll try to get to it soon'ish.


Dank je!
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2754
Location: Here and Away Again

PostPosted: Sun Mar 14, 2010 9:41 am    Post subject: Reply with quote

OK I guess I was thinking of a different machine with the Marvell controller but anyways...
Here's what I get at boot:

Code:

* Starting eth0
*   Configuration not set for eth0 - assuming DHCP
*   Bringing up eth0
*     dhcp
*       network interface eth0 does not exist
*       Please verify hardware or kernel module (driver)
* ERROR:  cannot start netmount as net.eth0 could not start
* Starting local ...

That Configuration not set for eth0 - assuming DHCP part seems weird since I think I told it to use DHCP when I configured it the first time...
Here's the lspci output:

Code:

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

Alos confirmed that it indeed works just fine when booted via LiveCD so I'm assuming I'm missing something really simple here. >.<
That's about it, for now I guess.


Kind Regards,
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Sun Mar 14, 2010 3:17 pm    Post subject: Reply with quote

Chiitoo,

You need the Realtek 8169 gigabit ethernet support in your kernel.
The error message means kernel support is not loaded, not compiled, or both.

Try
Code:
modprobe r8169
if that works, your network module was loaded, if not, remake your kernel.
If the modprobe succeeds,
Code:
/etc/init.d/net.eth0 start
will start your network.

Network modules are one of the few classes that are not auto loaded very well at the moment.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2754
Location: Here and Away Again

PostPosted: Tue Mar 30, 2010 9:14 am    Post subject: Reply with quote

NeddySeagoon,


Sorry for the delay, been preoccupied with other things.
Indeed it does not find the module r8169 even after trying to make the kernel again, as previously, with the 8169 suppoer in the kernel, or as a module, it does not find it. Probably just doing something wrong here heh.

I've been using this when trying things out:

Code:

make && make modules_install

What puzzles me the most, is that it works like any other time with the LiveCD, but not when using the kernel with supposedly the same set-up.
Going to try some more things out soon.

Thanks again~
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Tue Mar 30, 2010 7:35 pm    Post subject: Reply with quote

Chiitoo,

Those commands build the kernel and install its modules but they do not install the kernel itself.

You still need to to
Code:
mount /boot
cp arch/x86/boot/bzImage /boot/<kernel_name>


Its a good idea to choose a new <kernel_name> every time in case you new kernel fails to boot, then you can boot another one.
If you follow this process, you also need to add a new boot stanza to grub.conf to boot the new kernel.

When you do reboot into your new kernel, do
Code:
uname -a
and check the date and time. Thats the build date and time of the running kernel. Its a quick check to see if you are running the kernel you think you are
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2754
Location: Here and Away Again

PostPosted: Wed Mar 31, 2010 4:20 pm    Post subject: Reply with quote

NeddySeagoon,


Yeah, forgot to mention copying the image to boot and I've tried several different names indeed to make sure it boots the right one etc. and to have the old one as a "safe-boot" option.
I'll check the time&date next time I boot to it, thank you!
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2754
Location: Here and Away Again

PostPosted: Fri Sep 10, 2010 10:23 pm    Post subject: Reply with quote

Hello, it has been a while.


Been meaning to give some sort of a conclusion for this, I gave up on that motherboard due to different reasons but I want to thank you again for the help.
It was not for naught, that is for certain!

I now have some new problems, though, which I will post about in a dedicated thread. ;^^


Thank you once again.


Edit:

Found the answer in an old thread, posted by you heh!
Thank you~
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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