Re: [gentoo-user] Nvidia/new kernel
On Saturday 20 September 2003 10:50 am, Michael Schreckenbauer wrote: > Hello, > > Am Samstag, 20. September 2003 15:57 schrieb Ernie Schroder: > > On Saturday 20 September 2003 06:08 am, Michael Schreckenbauer wrote: > > > Hello, > > > > > > Am Samstag, 20. September 2003 00:47 schrieb Ernie Schroder: > > > > On Friday 19 September 2003 06:21 pm, Ernie Schroder wrote: > > > > > On Friday 19 September 2003 05:50 pm, Michael > > > > > Schreckenbauer > > > > wrote: > > > > > > Hello, > > > > > > > > > > > > Am Freitag, 19. September 2003 22:34 schrieb Ernie Schroder: > > > > > > > Interestingly, When the XF86Config contains "nvidia" > > > > > > > attempting to start X produces NO log output. The > > > > > > > machine just locks up hard. The "nvidia" module can be > > > > > > > successfully loaded prior to starting X but still, the > > > > > > > damned thing locks solid. This has got to be a kernel > > > > > > > issue. I looked for the obvious by diff'ing the old and > > > > > > > new .configs and removed AGP and DRM and rebuilt it but > > > > > > > I'm still in the same spot. Next I'll rebuild with the > > > > > > > old config if I can. In the mean time, I'm using the > > > > > > > "nv" module which logs with no errors and only one > > > > > > > warning about APM. > > > > > > > > > > > > > > Ernie > > > > > > > > > > > > > > On Friday 19 September 2003 02:36 pm, Michael > > > > > > > Schreckenbauer > > > > > > > > > > wrote: > > > > > > > > Hi Ernie, > > > > > > > > > > > > > > > > Am Freitag, 19. September 2003 20:05 schrieb Ernie > > > > Schroder: > > > > > > > > > H is right! yes, the module is loading in the > > > > > > > > > r7 kernel but startx completely hangs the box. I'm > > > > > > > > > going to rebuild the nvidia pkgs. on the r1 kernel > > > > > > > > > and, if that works I;ll assume I've left something > > > > > > > > > out of the kernel > > > > > > > > > Ernie > > > > > > > > > > > > > > > > is it possible to post your /var/log/XFree86.0.log > > > > > > > > after trying to startx with the nvidia-driver? Maybe > > > > > > > > there are some useful hints in it. > > > > > > > > Michael > > > > > > > > > > > > very weird :-( Perhaps you can get some information when > > > > > > running strace X 1>out.txt 2>&1. And then have a look > > > > > > into out.txt, at which point the server hangs. > > > > > > > > > > > > Michael > > > > > > > > > > I'm not familiar with strace. I'm assuming I need to back > > > > > out of X, reset the Xconfig to the nvidia driver and THEN > > > > > run the command. Right? > > > > > > > > I did as above and I got a zero bit file. I did: > > > > # emerge strace > > > > # strace X 1>out.txt 2>&1 > > > > > > your commands look ok. A zero bit file is very strange. strace > > > traces system calls and signals. I cant imagine, how this could > > > be empty and the kernel locks. Could you try this as root, and > > > add -f to strace? This allowes tracing forked processes. > > > #strace -f X 1>out.txt 2>&1 > > > > > > Michael > > > > I ran strace with the "f" flag and do get some output (see below) > > At a quick glance, nothing jumps out at me. Perhaps you can make > > some sense of it. > > > > # cat out.txt > > > > geteuid32() = 0 > > execve("/etc/X11/X", ["/etc/X11/X"], [/* 36 vars */] > > > > I really appreciate the help, Michael. Thanks > > the last command executed (/etc/X11/X) does not return. This is a > symlink to / usr/X11R6/bin/XFree86. So maybe you can get further > information by running: #strace -f /usr/X11R6/bin/XFree86 1>out.txt > 2>&1 > On my laptop I see things like opening the config and loading the > drivers specified there in the output. > I'm not very familiar with debugging such things, but I hope, we > can get it running this way. > > Michael > > > -- > [EMAIL PROTECTED] mailing list Thanks for all your help Michael. I ended up after loosing networking completely, attempting to build a working kernel about 50 more times. I got to the point where I kept loosing things 1 or 2 each rebuild. I ended up booting up to the live CD and emptying /usr/src, removing all kernels from distfiles and re-emerging gentoo-sources-2.4.20-r7. After a couple of tries I have everything working but my onboard audio (nforce2 chipset). I did have one very strange problem that might belong in the archives somewhere. After getting the kernel built and rebooting, I had no keyboard. I went back and found that ps2 kb and mouse were in fact in the kernel. My friend and I were at a loss to figure out why but we rebuilt with USB kb and mouse. After rebooting again, there still was no kb (ps2 keyboard attached) I plugged in the USB mouse and must have hit the numlock on the kb while reaching, well the keyboard now worked. We rebooted several times and this behaviour was consistant. I packed up the box and took it home and now, with my keyboard, everything is cool. I have the usb mouse sitting here just in case. --
Re: [gentoo-user] Nvidia/new kernel
Hello, Am Samstag, 20. September 2003 15:57 schrieb Ernie Schroder: > On Saturday 20 September 2003 06:08 am, Michael Schreckenbauer wrote: > > Hello, > > > > Am Samstag, 20. September 2003 00:47 schrieb Ernie Schroder: > > > On Friday 19 September 2003 06:21 pm, Ernie Schroder wrote: > > > > On Friday 19 September 2003 05:50 pm, Michael Schreckenbauer > > wrote: > > > > > Hello, > > > > > > > > > > Am Freitag, 19. September 2003 22:34 schrieb Ernie Schroder: > > > > > > Interestingly, When the XF86Config contains "nvidia" > > > > > > attempting to start X produces NO log output. The machine > > > > > > just locks up hard. The "nvidia" module can be successfully > > > > > > loaded prior to starting X but still, the damned thing > > > > > > locks solid. This has got to be a kernel issue. I looked > > > > > > for the obvious by diff'ing the old and new .configs and > > > > > > removed AGP and DRM and rebuilt it but I'm still in the > > > > > > same spot. Next I'll rebuild with the old config if I can. > > > > > > In the mean time, I'm using the "nv" module which logs > > > > > > with no errors and only one warning about APM. > > > > > > > > > > > > Ernie > > > > > > > > > > > > On Friday 19 September 2003 02:36 pm, Michael > > > > > > Schreckenbauer > > > > > > > > wrote: > > > > > > > Hi Ernie, > > > > > > > > > > > > > > Am Freitag, 19. September 2003 20:05 schrieb Ernie > > Schroder: > > > > > > > > H is right! yes, the module is loading in the r7 > > > > > > > > kernel but startx completely hangs the box. I'm going > > > > > > > > to rebuild the nvidia pkgs. on the r1 kernel and, if > > > > > > > > that works I;ll assume I've left something out of the > > > > > > > > kernel > > > > > > > > Ernie > > > > > > > > > > > > > > is it possible to post your /var/log/XFree86.0.log after > > > > > > > trying to startx with the nvidia-driver? Maybe there are > > > > > > > some useful hints in it. > > > > > > > Michael > > > > > > > > > > very weird :-( Perhaps you can get some information when > > > > > running strace X 1>out.txt 2>&1. And then have a look into > > > > > out.txt, at which point the server hangs. > > > > > > > > > > Michael > > > > > > > > I'm not familiar with strace. I'm assuming I need to back out > > > > of X, reset the Xconfig to the nvidia driver and THEN run the > > > > command. Right? > > > > > > I did as above and I got a zero bit file. I did: > > > # emerge strace > > > # strace X 1>out.txt 2>&1 > > > > your commands look ok. A zero bit file is very strange. strace > > traces system calls and signals. I cant imagine, how this could be > > empty and the kernel locks. Could you try this as root, and add -f > > to strace? This allowes tracing forked processes. > > #strace -f X 1>out.txt 2>&1 > > > > Michael > > I ran strace with the "f" flag and do get some output (see below) > At a quick glance, nothing jumps out at me. Perhaps you can make some > sense of it. > > # cat out.txt > > geteuid32() = 0 > execve("/etc/X11/X", ["/etc/X11/X"], [/* 36 vars */] > > I really appreciate the help, Michael. Thanks the last command executed (/etc/X11/X) does not return. This is a symlink to / usr/X11R6/bin/XFree86. So maybe you can get further information by running: #strace -f /usr/X11R6/bin/XFree86 1>out.txt 2>&1 On my laptop I see things like opening the config and loading the drivers specified there in the output. I'm not very familiar with debugging such things, but I hope, we can get it running this way. Michael -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
On Saturday 20 September 2003 06:08 am, Michael Schreckenbauer wrote: > Hello, > > Am Samstag, 20. September 2003 00:47 schrieb Ernie Schroder: > > On Friday 19 September 2003 06:21 pm, Ernie Schroder wrote: > > > On Friday 19 September 2003 05:50 pm, Michael Schreckenbauer wrote: > > > > Hello, > > > > > > > > Am Freitag, 19. September 2003 22:34 schrieb Ernie Schroder: > > > > > Interestingly, When the XF86Config contains "nvidia" > > > > > attempting to start X produces NO log output. The machine > > > > > just locks up hard. The "nvidia" module can be successfully > > > > > loaded prior to starting X but still, the damned thing > > > > > locks solid. This has got to be a kernel issue. I looked > > > > > for the obvious by diff'ing the old and new .configs and > > > > > removed AGP and DRM and rebuilt it but I'm still in the > > > > > same spot. Next I'll rebuild with the old config if I can. > > > > > In the mean time, I'm using the "nv" module which logs > > > > > with no errors and only one warning about APM. > > > > > > > > > > Ernie > > > > > > > > > > On Friday 19 September 2003 02:36 pm, Michael > > > > > Schreckenbauer > > > > > > wrote: > > > > > > Hi Ernie, > > > > > > > > > > > > Am Freitag, 19. September 2003 20:05 schrieb Ernie Schroder: > > > > > > > H is right! yes, the module is loading in the r7 > > > > > > > kernel but startx completely hangs the box. I'm going > > > > > > > to rebuild the nvidia pkgs. on the r1 kernel and, if > > > > > > > that works I;ll assume I've left something out of the > > > > > > > kernel > > > > > > > Ernie > > > > > > > > > > > > is it possible to post your /var/log/XFree86.0.log after > > > > > > trying to startx with the nvidia-driver? Maybe there are > > > > > > some useful hints in it. > > > > > > Michael > > > > > > > > very weird :-( Perhaps you can get some information when > > > > running strace X 1>out.txt 2>&1. And then have a look into > > > > out.txt, at which point the server hangs. > > > > > > > > Michael > > > > > > I'm not familiar with strace. I'm assuming I need to back out > > > of X, reset the Xconfig to the nvidia driver and THEN run the > > > command. Right? > > > > I did as above and I got a zero bit file. I did: > > # emerge strace > > # strace X 1>out.txt 2>&1 > > your commands look ok. A zero bit file is very strange. strace > traces system calls and signals. I cant imagine, how this could be > empty and the kernel locks. Could you try this as root, and add -f > to strace? This allowes tracing forked processes. > #strace -f X 1>out.txt 2>&1 > > Michael > > > -- > [EMAIL PROTECTED] mailing list I ran strace with the "f" flag and do get some output (see below) At a quick glance, nothing jumps out at me. Perhaps you can make some sense of it. # cat out.txt execve("/usr/X11R6/bin/X", ["X"], [/* 36 vars */]) = 0 uname({sys="Linux", node="MRK.schroder.com", ...}) = 0 brk(0) = 0x804a42c open("/etc/ld.so.preload", O_RDONLY)= 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 close(3)= 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=77398, ...}) = 0 mmap2(NULL, 77398, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000 close(3)= 0 open("/lib/libpam.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \25\0\000"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=35806, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000 mmap2(NULL, 32684, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40028000 mprotect(0x4002f000, 4012, PROT_NONE) = 0 mmap2(0x4002f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6) = 0x4002f000 close(3)= 0 open("/lib/libpam_misc.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\r\0"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=11720, ...}) = 0 mmap2(NULL, 11508, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4003 mprotect(0x40032000, 3316, PROT_NONE) = 0 mmap2(0x40032000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x40032000 close(3)= 0 open("/lib/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\30"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=12384, ...}) = 0 mmap2(NULL, 11360, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40033000 mprotect(0x40035000, 3168, PROT_NONE) = 0 mmap2(0x40035000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x40035000 close(3)= 0 open("/lib/libc.so.6", O_RDONLY)= 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`X\1\000"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=1449773, ...}) = 0 mmap2(NULL, 1215204, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40036000 mprotect(0x40159
Re: [gentoo-user] Nvidia/new kernel
Hello, Am Samstag, 20. September 2003 00:47 schrieb Ernie Schroder: > On Friday 19 September 2003 06:21 pm, Ernie Schroder wrote: > > On Friday 19 September 2003 05:50 pm, Michael Schreckenbauer wrote: > > > Hello, > > > > > > Am Freitag, 19. September 2003 22:34 schrieb Ernie Schroder: > > > > Interestingly, When the XF86Config contains "nvidia" > > > > attempting to start X produces NO log output. The machine just > > > > locks up hard. The "nvidia" module can be successfully loaded > > > > prior to starting X but still, the damned thing locks solid. > > > > This has got to be a kernel issue. I looked for the obvious by > > > > diff'ing the old and new .configs and removed AGP and DRM and > > > > rebuilt it but I'm still in the same spot. Next I'll rebuild > > > > with the old config if I can. > > > > In the mean time, I'm using the "nv" module which logs with no > > > > errors and only one warning about APM. > > > > > > > > Ernie > > > > > > > > On Friday 19 September 2003 02:36 pm, Michael Schreckenbauer > > > > wrote: > > > > > Hi Ernie, > > > > > > > > > > Am Freitag, 19. September 2003 20:05 schrieb Ernie Schroder: > > > > > > H is right! yes, the module is loading in the r7 kernel > > > > > > but startx completely hangs the box. I'm going to rebuild > > > > > > the nvidia pkgs. on the r1 kernel and, if that works I;ll > > > > > > assume I've left something out of the kernel > > > > > > Ernie > > > > > > > > > > is it possible to post your /var/log/XFree86.0.log after > > > > > trying to startx with the nvidia-driver? Maybe there are some > > > > > useful hints in it. > > > > > Michael > > > > > > very weird :-( Perhaps you can get some information when running > > > strace X 1>out.txt 2>&1. And then have a look into out.txt, at > > > which point the server hangs. > > > > > > Michael > > > > I'm not familiar with strace. I'm assuming I need to back out of X, > > reset the Xconfig to the nvidia driver and THEN run the command. > > Right? > > I did as above and I got a zero bit file. I did: > # emerge strace > # strace X 1>out.txt 2>&1 your commands look ok. A zero bit file is very strange. strace traces system calls and signals. I cant imagine, how this could be empty and the kernel locks. Could you try this as root, and add -f to strace? This allowes tracing forked processes. #strace -f X 1>out.txt 2>&1 Michael -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
On Friday 19 September 2003 06:21 pm, Ernie Schroder wrote: > On Friday 19 September 2003 05:50 pm, Michael Schreckenbauer wrote: > > Hello, > > > > Am Freitag, 19. September 2003 22:34 schrieb Ernie Schroder: > > > Interestingly, When the XF86Config contains "nvidia" > > > attempting to start X produces NO log output. The machine just > > > locks up hard. The "nvidia" module can be successfully loaded > > > prior to starting X but still, the damned thing locks solid. > > > This has got to be a kernel issue. I looked for the obvious by > > > diff'ing the old and new .configs and removed AGP and DRM and > > > rebuilt it but I'm still in the same spot. Next I'll rebuild > > > with the old config if I can. > > > In the mean time, I'm using the "nv" module which logs with no > > > errors and only one warning about APM. > > > > > > Ernie > > > > > > On Friday 19 September 2003 02:36 pm, Michael Schreckenbauer > > wrote: > > > > Hi Ernie, > > > > > > > > Am Freitag, 19. September 2003 20:05 schrieb Ernie Schroder: > > > > > H is right! yes, the module is loading in the r7 kernel > > > > > but startx completely hangs the box. I'm going to rebuild > > > > > the nvidia pkgs. on the r1 kernel and, if that works I;ll > > > > > assume I've left something out of the kernel > > > > > > > > > > Ernie > > > > > > > > > > On Friday 19 September 2003 01:54 pm, brett holcomb wrote: > > > > > > Hmmm. I haven't had any problems running Nvidia in X. > > > > > > Is the module loading? If not there was a version of the > > > > > > Nvidia ebuild that put the module in the wrong directory. > > > > > > It was in /lib/*/video if I remember instead of under the > > > > > > kernel. > > > > > > > > > > > > On Fri, 19 Sep 2003 13:03:50 -0400 > > > > > > > > > > > > Ernie Schroder <[EMAIL PROTECTED]> wrote: > > > > > > >On Friday 19 September 2003 12:51 pm, brett holcomb > > > > > > > > > > > > > >wrote: > > > > > > >> This is a simple question - I assume you set up > > > > > > >> /etc/X11/XF86Config? > > > > > > >> > > > > > > >> On Fri, 19 Sep 2003 12:12:57 -0400 > > > > > > >> > > > > > > >> Ernie Schroder <[EMAIL PROTECTED]> wrote: > > > > > > >> >I've gotten my new kernel (gentoo-siurces-2.4.20-r7) > > > > > > > > > > > > > >I hadn't made any changes to the XF86Config Brett. This > > > > > > >thing WAS > > > > > > >running fine in Gentoo-sources-2.4.20-r1 until I had > > > > > > > such a bear > > > > > > >compiling Gentoo-sources-2.4.20-r7. I HAVE for now > > > > > > > edited the config > > > > > > >to use driver "nv" instead of "nvidia" just to get X > > > > > > >running. > > > > > > >I don't mind saying that I'm completely lost! > > > > > > >-- > > > > > > >Regards, Ernie > > > > > > >100% Microsoft and Intel free > > > > > > > > is it possible to post your /var/log/XFree86.0.log after > > > > trying to startx with the nvidia-driver? Maybe there are some > > > > useful hints in it. > > > > > > > > Michael > > > > very weird :-( Perhaps you can get some information when running > > strace X 1>out.txt 2>&1. And then have a look into out.txt, at > > which point the server hangs. > > > > Michael > > > > > > -- > > [EMAIL PROTECTED] mailing list > > I'm not familiar with strace. I'm assuming I need to back out of X, > reset the Xconfig to the nvidia driver and THEN run the command. > Right? I did as above and I got a zero bit file. I did: # emerge strace # strace X 1>out.txt 2>&1 -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
Been past that a few times. I move the symlink each time I do something to one kernel or the other. The reason I can't build modules in -r1 seems to be that the scripts file is missing in that kernel. On Friday 19 September 2003 11:15 am, Oscar Martin wrote: > Stupid question... > > Is usr/src/linux pointing to usr/src/linux-blah-r7 ??? > > Oscar. > > On Fri, 2003-09-19 at 18:12, Ernie Schroder wrote: > > I've gotten my new kernel (gentoo-siurces-2.4.20-r7) running but > > I can't get X to start. I've tried several versions of the > > nvidia-kernel and nvidia-glx but startx gives me a blank screen > > and a completely hung box. > > I booted back to the old kernel and startx fails there, telling > > me that it can't find the nvidia module. modprobe nvidia says > > nvidia.o not found. Re-emerging the kernel and glx pkgs doesn't > > help. Ideas? > > -- > [EMAIL PROTECTED] mailing list -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
On Friday 19 September 2003 19.27, Ernie Schroder wrote: > As I said, the machine was running perfectly before building the new > kernel. Yes, :Load glx" is uncommented. I believe I've figured out > why the drivers won't work with the old kernel. I figure that because > /usr/src/linux points to the new kernel the drivers are building > there. I'll change the sym-=link and try to build them again and then > diff the 2 .configs. > I would appreciate some more input here. Thanks all > > Ernie I've had crash and burn problems in the past if I build the kernel with one version of gcc and the nvidia kernel module with another. may also help to have agpgart compiled as a module in the kernel. That way you can try the nvidia's version as well as the kernels. tony -- Contract ASIC and FPGA design. Telephone +46 702 894 667 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3896B970 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
Stupid question... Is usr/src/linux pointing to usr/src/linux-blah-r7 ??? Oscar. On Fri, 2003-09-19 at 18:12, Ernie Schroder wrote: > I've gotten my new kernel (gentoo-siurces-2.4.20-r7) running but I can't > get X to start. I've tried several versions of the nvidia-kernel and > nvidia-glx but startx gives me a blank screen and a completely hung > box. > I booted back to the old kernel and startx fails there, telling me that > it can't find the nvidia module. modprobe nvidia says nvidia.o not > found. Re-emerging the kernel and glx pkgs doesn't help. Ideas? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
On Friday 19 September 2003 05:50 pm, Michael Schreckenbauer wrote: > Hello, > > Am Freitag, 19. September 2003 22:34 schrieb Ernie Schroder: > > Interestingly, When the XF86Config contains "nvidia" attempting > > to start X produces NO log output. The machine just locks up > > hard. The "nvidia" module can be successfully loaded prior to > > starting X but still, the damned thing locks solid. This has got > > to be a kernel issue. I looked for the obvious by diff'ing the > > old and new .configs and removed AGP and DRM and rebuilt it but > > I'm still in the same spot. Next I'll rebuild with the old config > > if I can. > > In the mean time, I'm using the "nv" module which logs with no > > errors and only one warning about APM. > > > > Ernie > > > > On Friday 19 September 2003 02:36 pm, Michael Schreckenbauer wrote: > > > Hi Ernie, > > > > > > Am Freitag, 19. September 2003 20:05 schrieb Ernie Schroder: > > > > H is right! yes, the module is loading in the r7 kernel > > > > but startx completely hangs the box. I'm going to rebuild the > > > > nvidia pkgs. on the r1 kernel and, if that works I;ll assume > > > > I've left something out of the kernel > > > > > > > > Ernie > > > > > > > > On Friday 19 September 2003 01:54 pm, brett holcomb wrote: > > > > > Hmmm. I haven't had any problems running Nvidia in X. Is > > > > > the module loading? If not there was a version of the > > > > > Nvidia ebuild that put the module in the wrong directory. > > > > > It was in /lib/*/video if I remember instead of under the > > > > > kernel. > > > > > > > > > > On Fri, 19 Sep 2003 13:03:50 -0400 > > > > > > > > > > Ernie Schroder <[EMAIL PROTECTED]> wrote: > > > > > >On Friday 19 September 2003 12:51 pm, brett holcomb > > > > > > > > > > > >wrote: > > > > > >> This is a simple question - I assume you set up > > > > > >> /etc/X11/XF86Config? > > > > > >> > > > > > >> On Fri, 19 Sep 2003 12:12:57 -0400 > > > > > >> > > > > > >> Ernie Schroder <[EMAIL PROTECTED]> wrote: > > > > > >> >I've gotten my new kernel (gentoo-siurces-2.4.20-r7) > > > > > > > > > > > >I hadn't made any changes to the XF86Config Brett. This > > > > > >thing WAS > > > > > >running fine in Gentoo-sources-2.4.20-r1 until I had such > > > > > >a bear > > > > > >compiling Gentoo-sources-2.4.20-r7. I HAVE for now edited > > > > > >the config > > > > > >to use driver "nv" instead of "nvidia" just to get X > > > > > >running. > > > > > >I don't mind saying that I'm completely lost! > > > > > >-- > > > > > >Regards, Ernie > > > > > >100% Microsoft and Intel free > > > > > > is it possible to post your /var/log/XFree86.0.log after trying > > > to startx with the nvidia-driver? Maybe there are some useful > > > hints in it. > > > > > > Michael > > very weird :-( Perhaps you can get some information when running > strace X 1>out.txt 2>&1. And then have a look into out.txt, at > which point the server hangs. > > Michael > > > -- > [EMAIL PROTECTED] mailing list I'm not familiar with strace. I'm assuming I need to back out of X, reset the Xconfig to the nvidia driver and THEN run the command. Right? -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
Hello, Am Freitag, 19. September 2003 22:34 schrieb Ernie Schroder: > Interestingly, When the XF86Config contains "nvidia" attempting to > start X produces NO log output. The machine just locks up hard. The > "nvidia" module can be successfully loaded prior to starting X but > still, the damned thing locks solid. This has got to be a kernel > issue. I looked for the obvious by diff'ing the old and new .configs > and removed AGP and DRM and rebuilt it but I'm still in the same > spot. Next I'll rebuild with the old config if I can. > In the mean time, I'm using the "nv" module which logs with no errors > and only one warning about APM. > > Ernie > > On Friday 19 September 2003 02:36 pm, Michael Schreckenbauer wrote: > > Hi Ernie, > > > > Am Freitag, 19. September 2003 20:05 schrieb Ernie Schroder: > > > H is right! yes, the module is loading in the r7 kernel but > > > startx completely hangs the box. I'm going to rebuild the nvidia > > > pkgs. on the r1 kernel and, if that works I;ll assume I've left > > > something out of the kernel > > > > > > Ernie > > > > > > On Friday 19 September 2003 01:54 pm, brett holcomb wrote: > > > > Hmmm. I haven't had any problems running Nvidia in X. Is > > > > the module loading? If not there was a version of the > > > > Nvidia ebuild that put the module in the wrong directory. > > > > It was in /lib/*/video if I remember instead of under the > > > > kernel. > > > > > > > > On Fri, 19 Sep 2003 13:03:50 -0400 > > > > > > > > Ernie Schroder <[EMAIL PROTECTED]> wrote: > > > > >On Friday 19 September 2003 12:51 pm, brett holcomb > > > > > > > > > >wrote: > > > > >> This is a simple question - I assume you set up > > > > >> /etc/X11/XF86Config? > > > > >> > > > > >> On Fri, 19 Sep 2003 12:12:57 -0400 > > > > >> > > > > >> Ernie Schroder <[EMAIL PROTECTED]> wrote: > > > > >> >I've gotten my new kernel (gentoo-siurces-2.4.20-r7) > > > > > > > > > >I hadn't made any changes to the XF86Config Brett. This > > > > >thing WAS > > > > >running fine in Gentoo-sources-2.4.20-r1 until I had such > > > > >a bear > > > > >compiling Gentoo-sources-2.4.20-r7. I HAVE for now edited > > > > >the config > > > > >to use driver "nv" instead of "nvidia" just to get X > > > > >running. > > > > >I don't mind saying that I'm completely lost! > > > > >-- > > > > >Regards, Ernie > > > > >100% Microsoft and Intel free > > > > is it possible to post your /var/log/XFree86.0.log after trying to > > startx with the nvidia-driver? Maybe there are some useful hints in > > it. > > > > Michael very weird :-( Perhaps you can get some information when running strace X 1>out.txt 2>&1. And then have a look into out.txt, at which point the server hangs. Michael -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
On Friday 19 September 2003 06:38 pm, Hemmann, Volker Armin wrote: > On Friday 19 September 2003 16:12, Ernie Schroder wrote: > > I've gotten my new kernel (gentoo-siurces-2.4.20-r7) running but > > I can't get X to start. I've tried several versions of the > > nvidia-kernel and nvidia-glx but startx gives me a blank screen > > and a completely hung box. > > try 2.4.22-aa. aa-sources are well behaving. > > > I booted back to the old kernel and startx fails there, telling > > me that it can't find the nvidia module. modprobe nvidia says > > nvidia.o not found. Re-emerging the kernel and glx pkgs doesn't > > help. Ideas? > > Points the linux-symlink to the correct linux-sources? > If not, the module gets installed in the wrong directory, and is > not found the next time. > > Additionally you should run modules-update after emerging > nvidia-kernel. > > Glück Auf > Volker Yes the symlink is pointing to r7 after moving it several times. Now I'm getting missing script errors if I try to rebuild the r1 version I tried copying the scripts dir from r7 to r1 but that didn't work. I can't even build the nvidia drivers on the r1 kernel -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
On Friday 19 September 2003 16:12, Ernie Schroder wrote: > I've gotten my new kernel (gentoo-siurces-2.4.20-r7) running but I can't > get X to start. I've tried several versions of the nvidia-kernel and > nvidia-glx but startx gives me a blank screen and a completely hung > box. try 2.4.22-aa. aa-sources are well behaving. > I booted back to the old kernel and startx fails there, telling me that > it can't find the nvidia module. modprobe nvidia says nvidia.o not > found. Re-emerging the kernel and glx pkgs doesn't help. Ideas? Points the linux-symlink to the correct linux-sources? If not, the module gets installed in the wrong directory, and is not found the next time. Additionally you should run modules-update after emerging nvidia-kernel. Glück Auf Volker -- Conclusions In a straight-up fight, the Empire squashes the Federation like a bug. Even with its numerical advantage removed, the Empire would still squash the Federation like a bug. Accept it. -Michael Wong -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
Interestingly, When the XF86Config contains "nvidia" attempting to start X produces NO log output. The machine just locks up hard. The "nvidia" module can be successfully loaded prior to starting X but still, the damned thing locks solid. This has got to be a kernel issue. I looked for the obvious by diff'ing the old and new .configs and removed AGP and DRM and rebuilt it but I'm still in the same spot. Next I'll rebuild with the old config if I can. In the mean time, I'm using the "nv" module which logs with no errors and only one warning about APM. Ernie On Friday 19 September 2003 02:36 pm, Michael Schreckenbauer wrote: > Hi Ernie, > > Am Freitag, 19. September 2003 20:05 schrieb Ernie Schroder: > > H is right! yes, the module is loading in the r7 kernel but > > startx completely hangs the box. I'm going to rebuild the nvidia > > pkgs. on the r1 kernel and, if that works I;ll assume I've left > > something out of the kernel > > > > Ernie > > > > On Friday 19 September 2003 01:54 pm, brett holcomb wrote: > > > Hmmm. I haven't had any problems running Nvidia in X. Is > > > the module loading? If not there was a version of the > > > Nvidia ebuild that put the module in the wrong directory. > > > It was in /lib/*/video if I remember instead of under the > > > kernel. > > > > > > On Fri, 19 Sep 2003 13:03:50 -0400 > > > > > > Ernie Schroder <[EMAIL PROTECTED]> wrote: > > > >On Friday 19 September 2003 12:51 pm, brett holcomb > > > > > > > >wrote: > > > >> This is a simple question - I assume you set up > > > >> /etc/X11/XF86Config? > > > >> > > > >> On Fri, 19 Sep 2003 12:12:57 -0400 > > > >> > > > >> Ernie Schroder <[EMAIL PROTECTED]> wrote: > > > >> >I've gotten my new kernel (gentoo-siurces-2.4.20-r7) > > > > > > > >I hadn't made any changes to the XF86Config Brett. This > > > >thing WAS > > > >running fine in Gentoo-sources-2.4.20-r1 until I had such > > > >a bear > > > >compiling Gentoo-sources-2.4.20-r7. I HAVE for now edited > > > >the config > > > >to use driver "nv" instead of "nvidia" just to get X > > > >running. > > > >I don't mind saying that I'm completely lost! > > > >-- > > > >Regards, Ernie > > > >100% Microsoft and Intel free > > is it possible to post your /var/log/XFree86.0.log after trying to > startx with the nvidia-driver? Maybe there are some useful hints in > it. > > Michael > > > -- > [EMAIL PROTECTED] mailing list -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
Hi Ernie, Am Freitag, 19. September 2003 20:05 schrieb Ernie Schroder: > H is right! yes, the module is loading in the r7 kernel but startx > completely hangs the box. I'm going to rebuild the nvidia pkgs. on > the r1 kernel and, if that works I;ll assume I've left something out > of the kernel > > Ernie > > On Friday 19 September 2003 01:54 pm, brett holcomb wrote: > > Hmmm. I haven't had any problems running Nvidia in X. Is > > the module loading? If not there was a version of the > > Nvidia ebuild that put the module in the wrong directory. > > It was in /lib/*/video if I remember instead of under the > > kernel. > > > > On Fri, 19 Sep 2003 13:03:50 -0400 > > > > Ernie Schroder <[EMAIL PROTECTED]> wrote: > > >On Friday 19 September 2003 12:51 pm, brett holcomb > > > > > >wrote: > > >> This is a simple question - I assume you set up > > >> /etc/X11/XF86Config? > > >> > > >> On Fri, 19 Sep 2003 12:12:57 -0400 > > >> > > >> Ernie Schroder <[EMAIL PROTECTED]> wrote: > > >> >I've gotten my new kernel (gentoo-siurces-2.4.20-r7) > > > > > >I hadn't made any changes to the XF86Config Brett. This > > >thing WAS > > >running fine in Gentoo-sources-2.4.20-r1 until I had such > > >a bear > > >compiling Gentoo-sources-2.4.20-r7. I HAVE for now edited > > >the config > > >to use driver "nv" instead of "nvidia" just to get X > > >running. > > >I don't mind saying that I'm completely lost! > > >-- > > >Regards, Ernie > > >100% Microsoft and Intel free is it possible to post your /var/log/XFree86.0.log after trying to startx with the nvidia-driver? Maybe there are some useful hints in it. Michael -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
H is right! yes, the module is loading in the r7 kernel but startx completely hangs the box. I'm going to rebuild the nvidia pkgs. on the r1 kernel and, if that works I;ll assume I've left something out of the kernel Ernie On Friday 19 September 2003 01:54 pm, brett holcomb wrote: > Hmmm. I haven't had any problems running Nvidia in X. Is > the module loading? If not there was a version of the > Nvidia ebuild that put the module in the wrong directory. > It was in /lib/*/video if I remember instead of under the > kernel. > > On Fri, 19 Sep 2003 13:03:50 -0400 > > Ernie Schroder <[EMAIL PROTECTED]> wrote: > >On Friday 19 September 2003 12:51 pm, brett holcomb > > > >wrote: > >> This is a simple question - I assume you set up > >> /etc/X11/XF86Config? > >> > >> On Fri, 19 Sep 2003 12:12:57 -0400 > >> > >> Ernie Schroder <[EMAIL PROTECTED]> wrote: > >> >I've gotten my new kernel (gentoo-siurces-2.4.20-r7) > > > >I hadn't made any changes to the XF86Config Brett. This > >thing WAS > >running fine in Gentoo-sources-2.4.20-r1 until I had such > >a bear > >compiling Gentoo-sources-2.4.20-r7. I HAVE for now edited > >the config > >to use driver "nv" instead of "nvidia" just to get X > >running. > >I don't mind saying that I'm completely lost! > >-- > >Regards, Ernie > >100% Microsoft and Intel free > > > > > >-- > >[EMAIL PROTECTED] mailing list > > -- > [EMAIL PROTECTED] mailing list -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
Hmmm. I haven't had any problems running Nvidia in X. Is the module loading? If not there was a version of the Nvidia ebuild that put the module in the wrong directory. It was in /lib/*/video if I remember instead of under the kernel. On Fri, 19 Sep 2003 13:03:50 -0400 Ernie Schroder <[EMAIL PROTECTED]> wrote: On Friday 19 September 2003 12:51 pm, brett holcomb wrote: This is a simple question - I assume you set up /etc/X11/XF86Config? On Fri, 19 Sep 2003 12:12:57 -0400 Ernie Schroder <[EMAIL PROTECTED]> wrote: >I've gotten my new kernel (gentoo-siurces-2.4.20-r7) I hadn't made any changes to the XF86Config Brett. This thing WAS running fine in Gentoo-sources-2.4.20-r1 until I had such a bear compiling Gentoo-sources-2.4.20-r7. I HAVE for now edited the config to use driver "nv" instead of "nvidia" just to get X running. I don't mind saying that I'm completely lost! -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
As I said, the machine was running perfectly before building the new kernel. Yes, :Load glx" is uncommented. I believe I've figured out why the drivers won't work with the old kernel. I figure that because /usr/src/linux points to the new kernel the drivers are building there. I'll change the sym-=link and try to build them again and then diff the 2 .configs. I would appreciate some more input here. Thanks all Ernie On Friday 19 September 2003 01:08 pm, [EMAIL PROTECTED] wrote: > Did you uncomment the following line? > > "Load "glx" > > Mine didn't work either until I remembered I had to do that. > > BTW, documentation for nvidia in X is at > http://www.gentoo.org/doc/en/desktop.xml > > -Pav > > > On Friday 19 September 2003 12:51 pm, brett holcomb wrote: > > > This is a simple question - I assume you set up > > > /etc/X11/XF86Config? > > > > > > On Fri, 19 Sep 2003 12:12:57 -0400 > > > > > > Ernie Schroder <[EMAIL PROTECTED]> wrote: > > > >I've gotten my new kernel (gentoo-siurces-2.4.20-r7) > > > >running but I can't > > > >get X to start. I've tried several versions of the > > > >nvidia-kernel and > > > >nvidia-glx but startx gives me a blank screen and a > > > >completely hung > > > >box. > > > > I booted back to the old kernel and startx fails there, > > > >telling me that > > > >it can't find the nvidia module. modprobe nvidia says > > > >nvidia.o not > > > >found. Re-emerging the kernel and glx pkgs doesn't help. > > > >Ideas? > > > >-- > > > >Regards, Ernie > > > >100% Microsoft and Intel free > > > > > > > >-- > > > >[EMAIL PROTECTED] mailing list > > > > > > -- > > > [EMAIL PROTECTED] mailing list > > > > I hadn't made any changes to the XF86Config Brett. This thing WAS > > running fine in Gentoo-sources-2.4.20-r1 until I had such a bear > > compiling Gentoo-sources-2.4.20-r7. I HAVE for now edited the > > config to use driver "nv" instead of "nvidia" just to get X > > running. I don't mind saying that I'm completely lost! > > -- > > Regards, Ernie > > 100% Microsoft and Intel free > > > > > > -- > > [EMAIL PROTECTED] mailing list > > -- > [EMAIL PROTECTED] mailing list -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
Did you uncomment the following line? "Load "glx" Mine didn't work either until I remembered I had to do that. BTW, documentation for nvidia in X is at http://www.gentoo.org/doc/en/desktop.xml -Pav > On Friday 19 September 2003 12:51 pm, brett holcomb wrote: > > This is a simple question - I assume you set up > > /etc/X11/XF86Config? > > > > On Fri, 19 Sep 2003 12:12:57 -0400 > > > > Ernie Schroder <[EMAIL PROTECTED]> wrote: > > >I've gotten my new kernel (gentoo-siurces-2.4.20-r7) > > >running but I can't > > >get X to start. I've tried several versions of the > > >nvidia-kernel and > > >nvidia-glx but startx gives me a blank screen and a > > >completely hung > > >box. > > > I booted back to the old kernel and startx fails there, > > >telling me that > > >it can't find the nvidia module. modprobe nvidia says > > >nvidia.o not > > >found. Re-emerging the kernel and glx pkgs doesn't help. > > >Ideas? > > >-- > > >Regards, Ernie > > >100% Microsoft and Intel free > > > > > >-- > > >[EMAIL PROTECTED] mailing list > > > > -- > > [EMAIL PROTECTED] mailing list > > > I hadn't made any changes to the XF86Config Brett. This thing WAS > running fine in Gentoo-sources-2.4.20-r1 until I had such a bear > compiling Gentoo-sources-2.4.20-r7. I HAVE for now edited the config > to use driver "nv" instead of "nvidia" just to get X running. > I don't mind saying that I'm completely lost! > -- > Regards, Ernie > 100% Microsoft and Intel free > > > -- > [EMAIL PROTECTED] mailing list > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
On Friday 19 September 2003 12:51 pm, brett holcomb wrote: > This is a simple question - I assume you set up > /etc/X11/XF86Config? > > On Fri, 19 Sep 2003 12:12:57 -0400 > > Ernie Schroder <[EMAIL PROTECTED]> wrote: > >I've gotten my new kernel (gentoo-siurces-2.4.20-r7) > >running but I can't > >get X to start. I've tried several versions of the > >nvidia-kernel and > >nvidia-glx but startx gives me a blank screen and a > >completely hung > >box. > > I booted back to the old kernel and startx fails there, > >telling me that > >it can't find the nvidia module. modprobe nvidia says > >nvidia.o not > >found. Re-emerging the kernel and glx pkgs doesn't help. > >Ideas? > >-- > >Regards, Ernie > >100% Microsoft and Intel free > > > >-- > >[EMAIL PROTECTED] mailing list > > -- > [EMAIL PROTECTED] mailing list I hadn't made any changes to the XF86Config Brett. This thing WAS running fine in Gentoo-sources-2.4.20-r1 until I had such a bear compiling Gentoo-sources-2.4.20-r7. I HAVE for now edited the config to use driver "nv" instead of "nvidia" just to get X running. I don't mind saying that I'm completely lost! -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia/new kernel
This is a simple question - I assume you set up /etc/X11/XF86Config? On Fri, 19 Sep 2003 12:12:57 -0400 Ernie Schroder <[EMAIL PROTECTED]> wrote: I've gotten my new kernel (gentoo-siurces-2.4.20-r7) running but I can't get X to start. I've tried several versions of the nvidia-kernel and nvidia-glx but startx gives me a blank screen and a completely hung box. I booted back to the old kernel and startx fails there, telling me that it can't find the nvidia module. modprobe nvidia says nvidia.o not found. Re-emerging the kernel and glx pkgs doesn't help. Ideas? -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] Nvidia/new kernel
I've gotten my new kernel (gentoo-siurces-2.4.20-r7) running but I can't get X to start. I've tried several versions of the nvidia-kernel and nvidia-glx but startx gives me a blank screen and a completely hung box. I booted back to the old kernel and startx fails there, telling me that it can't find the nvidia module. modprobe nvidia says nvidia.o not found. Re-emerging the kernel and glx pkgs doesn't help. Ideas? -- Regards, Ernie 100% Microsoft and Intel free -- [EMAIL PROTECTED] mailing list