Gentoo Archives: gentoo-user

From: "Petr Kočmíd" <Petr.Kocmid@××××××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] nvidia-legacy-drivers problems/questions
Date: Tue, 19 Dec 2006 11:23:08
Message-Id: 200612191215.22623.Petr.Kocmid@project-bhairava.org
In Reply to: [gentoo-user] nvidia-legacy-drivers problems/questions by Mark Knecht
1 Mark, just a note I am quite happy with x11-drivers/nvidia-drivers-1.0.8776
2 working perfectly on oldy MX 440, because legacy drivers too much legacy and
3 are no good with both X session switching and GL while 1.0.9631 just crash
4 and 1.0.9742 do not support the card anymore. Since it is probably the last
5 version which will ever work on MX440 at all I suggest to make a backup of
6 the ebuild just in case it will fade from portage in he future.
7
8 (Sorry for top posting, but original is too long and epic for me to snap
9 details)
10
11 Petr
12
13 On Tuesday 19 December 2006 02:39, Mark Knecht wrote:
14 > Hi,
15 > I'm doing updates to my dad's Gentoo machine 350 miles away. It
16 > pretty much hasn't been touched in about a year as per his request.
17 > However we agreed it was time to move forward so I've done the
18 > gcc-4.1.1 upgrade and rebuilt the machine completely. At the command
19 > line from here things look like they are running with the new kernel.
20 > ivtv is up for MythTV recording. I don't know how to tell what state
21 > his screen is in since he isn't home to look at it. However I seem to
22 > be having problems with the NVidia drivers so I'm looking for some
23 > help.
24 >
25 > When I first built the machine I installed nvidia-drivers. After
26 > rebooting with the new 2.6.18-gentoo-r4 kernel nvidia was loaded but
27 > got a message in dmesg telling me that the card is supported by
28 > nvidia-legacy-drivers:
29 >
30 > <SNIP>
31 > NVRM: The NVIDIA GeForce4 MX 440 with AGP8X GPU installed in this system is
32 > NVRM: supported through the NVIDIA Legacy drivers. Please
33 > NVRM: visit http://www.nvidia.com/object/unix.html for more
34 > NVRM: information. The 1.0-9742 NVIDIA driver will ignore
35 > NVRM: this GPU. Continuing probe...
36 > NVRM: No NVIDIA graphics adapter found!
37 > <SNIP>
38 >
39 > I then removed that NVidia package and emerged
40 > nvidia-drivers-legacy. It seemed to emerge but I saw this message when
41 > building it:
42 >
43 > <SNIP>
44 > test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
45 > \
46 > echo; \
47 > echo " ERROR: Kernel configuration is invalid."; \
48 > echo " include/linux/autoconf.h or
49 > include/config/auto.conf are missing.";\
50 > echo " Run 'make oldconfig && make prepare' on kernel
51 > src to fix it."; \
52 > echo; \
53 > /bin/false)
54 > <SNIP>
55 >
56 > However I think the driver does load as I see this at the end of dmesg:
57 >
58 > <SNIP>
59 > Adding 1172264k swap on /dev/sda5. Priority:-1 extents:1 across:1172264k
60 > eth0: setting full-duplex.
61 > ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 5
62 > ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [LNK4] -> GSI 5 (level,
63 > low) -> IRQ 5
64 > NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-7184 Tue Aug 1
65 > 18:38:58 PDT 2006
66 > gandalf ~ #
67 > <SNIP>
68 >
69 > The problem I seem to be having right now is with xdm. It stops OK,
70 > but when I try to start it I get these messages:
71 >
72 > <SNIP>
73 > gandalf ~ # /etc/init.d/xdm stop
74 > * Stopping xdm ...
75 > [ ok ]
76 > gandalf ~ # /etc/init.d/xdm status
77 > * status: stopped
78 > gandalf ~ # /etc/init.d/xdm start
79 > * Setting up xdm ...
80 > /sbin/start-stop-daemon: stat /usr/bin/xdm: No such file or directory
81 > (No such file or directory)
82 > * ERROR: could not start the Display Manager...
83 > xdm: no process killed
84 > [ ok ]
85 > gandalf ~ # /etc/init.d/xdm status
86 > * status: started
87 > gandalf ~ #
88 > <SNIP>
89 >
90 > So it seems, from 350 miles away, that xdm is stopping and
91 > starting, but I get error messages. What's up with that?
92 >
93 > What I'm really wondering right now is what is being displayed on
94 > his screen? Is there a login window? Seems like maybe it's working:
95 >
96 > gandalf ~ # ps aux | grep xdm
97 > root 11983 0.0 0.1 1604 524 pts/0 R+ 17:38 0:00 grep
98 > --colour=auto xdm
99 > gandalf ~ #
100 >
101 > but what is that error message above telling me? What else can I do
102 > from here to investigate the state of this remote machine?
103 >
104 > Thanks in advance!
105 >
106 > Cheers,
107 > Mark
108 --
109 gentoo-user@g.o mailing list