Gentoo Archives: gentoo-user

From: Alecks Gates <alecks.g@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Need Help!
Date: Sat, 23 Jun 2012 00:12:13
Message-Id: CAKkyAYZUh0ur=ny_Rn8HKh2ZVXvMhg=Etark8pd2zhC_OKD62g@mail.gmail.com
In Reply to: Re: [gentoo-user] Need Help! by Willie
1 On Fri, Jun 22, 2012 at 5:55 PM, Willie <matthews.willie@×××××.com> wrote:
2 > On Fri, Jun 22, 2012 at 2:59 PM, Volker Armin Hemmann
3 > <volkerarmin@××××××××××.com> wrote:
4 >>
5 >> Am Freitag, 22. Juni 2012, 14:51:04 schrieb Willie:
6 >> > On Fri, Jun 22, 2012 at 12:49 PM, Paul Hartman <
7 >> >
8 >> > paul.hartman+gentoo@×××××.com> wrote:
9 >> > > On Fri, Jun 22, 2012 at 2:04 PM, Willie <matthews.willie@×××××.com>
10 >> > > wrote:
11 >> > > > On Fri, Jun 22, 2012 at 11:46 AM, Paul Hartman
12 >> > > >
13 >> > > > <paul.hartman+gentoo@×××××.com> wrote:
14 >> > > >> On Fri, Jun 22, 2012 at 11:20 AM, Willie
15 >> > > >> <matthews.willie@×××××.com>
16 >> > > >>
17 >> > > >> wrote:
18 >> > > >> > Hi All,
19 >> > > >> >
20 >> > > >> > I have been running a gentoo box for quite some time without a
21 >> > > >> > desktop
22 >> > > >> > manager. Did a lot of upgrading in between time also. The problem
23 >> > > >> > I
24 >> > > >> > am
25 >> > > >> > having is when I login I can't open any Windows. The only one
26 >> > > >> > that
27 >> > > >> > has
28 >> > > >> > open
29 >> > > >> > without crashing the entire computer that I know of is VLC.
30 >> > > >> >
31 >> > > >> > Any help is greatly appreciated.
32 >> > > >>
33 >> > > >> Be sure to "emerge --oneshot @x11-module-rebuild" after upgrading
34 >> > > >> xorg
35 >> > > >> stuff. Drivers might be out of sync and maybe that's causing your
36 >> > > >> pain.
37 >> > > >>
38 >> > > >> Try to delete/rename your /etc/X11/xorg.conf and see if that makes
39 >> > > >> a
40 >> > > >> difference. Modern Xorg can start a basic environment without it.
41 >> > > >>
42 >> > > >> Try to run "startx" as a user instead of using xdm and see if you
43 >> > > >> get
44 >> > > >> any better errors/logs.
45 >> > > >>
46 >> > > >> If you have another computer/device SSH into your problematic
47 >> > > >> computer
48 >> > > >> before starting X so you can see if it's still alive, just
49 >> > > >> unresponsive at the local terminal. Maybe then you can see logs and
50 >> > > >> stuff.
51 >> > > >>
52 >> > > >> revdep-rebuild just to ensure everything is consistent on your
53 >> > > >> system.
54 >> > > >
55 >> > > > I rebuild all of my x11-drivers it rebuild the nvidia driver along
56 >> > > > with
57 >> > > > a
58 >> > > > couple of others.
59 >> > > >
60 >> > > > I used startx and got the errors below. I have a feeling it has
61 >> > >
62 >> > > something to
63 >> > >
64 >> > > > do with my nVidia card (Geforce 8400GS)
65 >> > > >
66 >> > > > SSH is not active anymore. It is also the computer that shares the
67 >> > >
68 >> > > internet
69 >> > >
70 >> > > > and no one can access the internet either.
71 >> > > >
72 >> > > > Okay now I think we are getting somewhere. Didn't think to leave XDM
73 >> > > > out
74 >> > >
75 >> > > but
76 >> > >
77 >> > > > I did do it. It still froze but I got some useful information soon
78 >> > > > as it
79 >> > >
80 >> > > did
81 >> > >
82 >> > > > freeze. This is from /var/log/messages
83 >> > > >
84 >> > > > Jun 22 11:52:52 beast kernel: NVRM: Xid (0000:02:00): 6, PE0001
85 >> > > > Jun 22 11:52:54 beast kernel: NVRM: os_schedule: Attempted to yield
86 >> > > > the
87 >> > >
88 >> > > CPU
89 >> > >
90 >> > > > while in atomic or interrupt context
91 >> > > > Jun 22 11:52:54 beast kernel: NVRM: Xid (0000:02:00): 3, C 00000002
92 >> > > > SC
93 >> > > > 00000003 M 00000100 Data 00000000
94 >> > > > Jun 22 11:53:03 beast kernel: NVRM: os_schedule: Attempted to yield
95 >> > > > the
96 >> > >
97 >> > > CPU
98 >> > >
99 >> > > > while in atomic or interrupt context
100 >> > > > Jun 22 11:53:05 beast kernel: NVRM: os_schedule: Attempted to yield
101 >> > > > the
102 >> > >
103 >> > > CPU
104 >> > >
105 >> > > > while in atomic or interrupt context
106 >> > > > Jun 22 11:53:08 beast kernel: NVRM: os_schedule: Attempted to yield
107 >> > > > the
108 >> > >
109 >> > > CPU
110 >> > >
111 >> > > > while in atomic or interrupt context
112 >> > > >
113 >> > > > That was printed as soon as XFCE froze.
114 >> > >
115 >> > > Okay, now I googled those errors and it seems to be a fairly common
116 >> > > problem. The workaround I saw is to add "nolapic_timer" to your kernel
117 >> > > commandline. Try that, reboot and cross your fingers. ;)
118 >> >
119 >> > Yeah I see that too. Tried to add that to my grub.conf/menu.lst. It did
120 >> > not
121 >> > work for me. I rebuild my kernel for nouveau drivers. Rebuilt
122 >> > xorg-drivers
123 >> > and mesa, installed xf86-video-nouveau. So far it is not working, still
124 >> > might have to do some tweaking.
125 >>
126 >> if you use nvidia binary, turn off all nvidia graphics related stuff in
127 >> the
128 >> kernel and to be sure nothing screws you over - unmerge nouveau.
129 >>
130 >> If you use nouveau, try the binary driver.
131 >>
132 >>
133 >> There are reasons, Linus does not like nvidia very much.
134 >>
135 >> --
136 >> #163933
137 >
138 >
139 > It was working with this same kernel. I can't figure out for the life of me
140 > why it is not working now. I have a feeling after 6 months of upgrades
141 > something broke in that time. I am fine with the nouveau driver. I only
142 > really want a GUI to play movies.
143 >
144 > --
145 >
146 > Willie Matthews
147 > matthews.willie@×××××.com
148
149 A bit off topic but you don't really need a full GUI for movies. Try
150 just X + mplayer, or XBMC. Dunno if those alone would work for you
151 (and you probably want to fix your problems anyway). Depending on
152 your CPU and video card, the proprietary drivers may help you if you
153 can use VDPAU for video acceleration.

Replies

Subject Author
Re: [gentoo-user] Need Help! Willie <matthews.willie@×××××.com>