Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Weird GNOME problem [SOLVED]
Date: Sat, 31 Dec 2005 17:28:11
Message-Id: 1136049537.9271.4.camel@camille.espersunited.com
In Reply to: Re: [gentoo-user] Weird GNOME problem by Holly Bostick
1 On Sat, 2005-12-31 at 18:02 +0100, Holly Bostick wrote:
2 > Michael Sullivan schreef:
3 > > On Sat, December 31, 2005 4:44 am, Rumen Yotov wrote:
4 > >
5 > >> On (31/12/05 01:49), michael@××××××××××××.com wrote:
6 > >>
7 > >>> Earlier tonight I changed the setting in /etc/conf.d/rc for the
8 > >>> RC_DEVICE_TARBALL from "yes" to "no" and rebooted. Now I can't
9 > >>> get into GNOME. For my personal account after I enter my
10 > >>> username/password the screen clears and I see the default
11 > >>> background color and my mouse pointer, then nothing else. I can
12 > >>> move the mouse pointer, but there's nothing the click on and the
13 > >>> context menu doesn't come up when I right-click. When I tried to
14 > >>> log in as root from the welcome screen I see the "GNOME Starting"
15 > >>> box with the Gentoo logo, but it never goes on from that. To get
16 > >>> out of both my personal account and the root account I had to
17 > >>> Alt+Cntrl+Backspace. I got a Failsafe Terminal and looked at the
18 > >>> log files for gdm and saw this:
19 > >>>
20 > >>> (EE) GARTInit: Unable to open /dev/agpgart (No such file or
21 > >>> directory)
22 > >>>
23 > >>> There are five log files in /var/log/gdm; they all say roughly
24 > >>> the same thing, and their timestamps are consistent with the
25 > >>> times I tried to log in and got stuck. I can't even find out why
26 > >>> it's looking for this file or how to make it stop looking for it.
27 > >>> Can anyone help me out here? -- gentoo-user@g.o mailing
28 > >>> list
29 > >>>
30 > >>
31 > >> Hi, Are you using a Nvidia video card? Reverting RC_DEVICE_TARBALL
32 > >> to "yes" should solve the problem but it's not a solution. udev
33 > >> isn't creating the /dev/agpgart file/link - check if it's there and
34 > >> with what perms. Rumen
35 > >>
36 > >
37 > >
38 > > /dev/agpgart does not exist. As far as I know I am not using a
39 > > Nvidia card. If I was I think I would have a /dev/nvidia as well as
40 > > several other similar /dev files starting with nvid, but I don't...
41 > >
42 >
43 > "As far as you know"? Do you not know what video card you have in your
44 > box? This is not really a wise policy in general (not knowing what your
45 > hardware is), but especially not when running Linux.
46 >
47 > But anyway, here's the deal.
48 >
49 > AGPGART is the device representing your AGP bus, which bus (slot) most
50 > likely holds your video card (unless you have an onboard video chip, a
51 > PCI video card, or use PCI-E, which you might, but most likely do not,
52 > as the vast majority of systems in use today use an AGP video card).
53 >
54 > AGPGART is a motherboard resource, which is part of the kernel. What may
55 > have happened is that you upgraded your kernel at some point and did not
56 > enable agpgart in the kernel config, and/or did not enable specific
57 > support for your motherboard, but this was not noticed because the
58 > previously-existing device file was in the tarball you were using.
59 > However, when you stopped using the tarball, because the modules were
60 > not present in the kernel, a new device could not be created (because no
61 > module/driver was found to create the device necessary). This is, of
62 > course, all speculation, but I can't offhand think of any other reason
63 > that /dev/agpgart would not be created, other than that the module isn't
64 > loaded, and the most likely reason that that would happen is because
65 > there is no support in the kernel enabled. However, this could also
66 > happen because the module isn't explicitly loaded because either
67 > coldplug is not installed, and/or the module--if compiled as a module--
68 > needs to be in /etc/modules.autoload.d/kernel-2.* and is not there
69 > present, and/or the module-- if compiled directly into the kernel is not
70 > loading because the kernel itself does not have support for loading
71 > modules enabled. But these are all somewhat less likely than agpgart
72 > support not being enabled in the first place (which is itself fairly
73 > unlikely, but since you are not getting the device being created, there
74 > must be *some* reason that that isn't happening).
75 >
76 > What Rumen is talking about is a specific quirk of nVidia cards using
77 > the proprietary nVidia drivers, that the device must be created in
78 > local.start because the device is for some reason not created
79 > automatically (I don't have an nVidia card, so I don't know the
80 > details). There is also a specific quirk of ATI cards using the
81 > proprietary fglrx drivers, that agpgart must be compiled into the kernel
82 > as a module, but your xorg.conf must be specifically set to either use
83 > the kernel module or the module included with the fglrx drivers; the two
84 > are incompatible and the fglrx drivers may or may not work if you use
85 > the wrong one.
86 >
87 > The reason you can get into a failsafe GNOME session is because that
88 > uses the 'vesa' video driver, which is practically guaranteed to provide
89 > a basic display (it's basically like Windows Safe Mode, doesn't run
90 > anything except what you absolutely need to have enough of a session
91 > that you can fix whatever's wrong). However, a full GNOME session
92 > requires the driver specified in your xorg.conf to load, which it most
93 > likely cannot, because your AGP bus is not loaded, so X is unable to
94 > communicate with your video card (which is on the AGP bus, which is not
95 > accessible, because the device file does not exist).
96 >
97 > So what we want is to cause this device file to be created, which would
98 > mean that we have to know somewhat more about
99 >
100 > 1) what kernel you are using
101 >
102 > 2) how it is configured
103 >
104 > 3) what specific hardware exists in the system (which impacts the
105 > configuration of the kernel).
106 >
107 > For the time being, I would suggest re-enabling the tarball in
108 > /etc/conf.d/rc, so that you can have a fully-working system while you
109 > determine the status of Device Drivers=> Character Devices=>
110 > /dev/agpgart (AGP support) in your current kernel config, and the nature
111 > of your motherboard and video card, so that you know what the correct
112 > settings for your system actually need to be.
113 >
114 > HTH,
115 > Holly
116
117 I fixed the problem (at least in my personal account) by deleting a
118 bunch of .* directories under /home/michael. I apologize for not
119 knowing what hardware I have installed on this system. I don't know
120 anything about hardware. I find my hardware works better if I don't
121 know anything about it and therefore don't mess with trying to improve
122 it. I had this computer custom-built at a shop I trust, and I've
123 already seen one instance where a piece of hardware they put in claims
124 to be something other than they told me it was. Still, they're the most
125 reliable shop I've ever found so I use them. I don't understand kernel
126 configs, so I use genkernel a lot and make small changes to the kernels
127 using the config of the kernel I'm currently using as a base...
128
129 --
130 gentoo-user@g.o mailing list