On Sunday 15 Aug 2004 01:45, Brian Jonas wrote:
<snip>
What exactly is the difficulty with the instructions on the Nvidia site ..
Plain enough i thought ..
if your kernel is before version 2.6.5-7.75 then just run the installer ie "./NVIDIA-Linux-x86-1.0-6111-pkg1.run" for the latest version ... BTW YOU DO NEED THE FULL KERNEL SOURCES NOT JUST THE BINARY DISTRO!...
if you kernel is after version 2.6.5-7.75 ie 2.6.5-7.95 or later then you need to "cd /usr/src/linux" make cloneconfig make prepare-all cd to where you have you Nvidia file stored ./NVIDIA-Linux-x86-1.0-6111-pkg1.run --kernel-source-path= /usr/src/linux .
Accept the blurb bit and ok the rest as it comes up away you go if it is unable to find a pre compiled driver it will compile one itself and install it if this fails then it means you aint got the FULL KERNEL SOURCES INSTALLED YOU NEED ALL THE *.C *.H FILES IN ALL THE SUB DIRS OFF /usr/src/linux like if you do cd mm return you should have something not unlike this below ..#
ds9:/usr/src/linux/mm # ls . fremap.c mlock.c objrmap.c policy.c swap.c .. highmem.c mmap.c oom_kill.c prio_tree.c swap_state.c Makefile madvise.c mprotect.c page-writeback.c proc_mm.c swapfile.c bootmem.c memory.c mremap.c page_alloc.c readahead.c truncate.c fadvise.c mempool.c msync.c page_io.c shmem.c vmalloc.c filemap.c mincore.c nommu.c pdflush.c slab.c vmscan.c
if you aint then you aint got the FULL Sources i cannot emphasise enough that you need the FULL SOURCES because YOU is not very good at installing the full kernel it only likes to install the binary bit and leaves the rest of it behind ..
<SNIP> Pete,
Thank you for this instructive response, and the others you've submitted on this subject.
It shouldn't be that hard, except I do have Kernel 2.6.5-7.104, and I don't believe I have the sources.
I have SuSE 9.1 Pro, and have installed most everything using YaST. Unlike YOU, I don't recall YaST giving me the option to delete the sources after the installation. But given the opportunity I would, out of ignorance, deleted them to save space. I now know I would want to keep them.
Looking into /usr/src I don't see much:
brian@linux:/usr/src> ls -la total 0 drwxr-xr-x 3 root root 72 2004-06-12 10:43 . drwxr-xr-x 12 root root 344 2004-06-12 10:55 .. drwxr-xr-x 7 root root 168 2004-06-12 11:01 packages brian@linux:/usr/src> cd packages/ brian@linux:/usr/src/packages> ls -la total 0 drwxr-xr-x 7 root root 168 2004-06-12 11:01 . drwxr-xr-x 3 root root 72 2004-06-12 10:43 .. drwxrwxrwt 2 root root 48 2004-04-05 16:39 BUILD drwxrwxrwt 8 root root 192 2004-06-12 11:01 RPMS drwxrwxrwt 2 root root 48 2004-04-05 16:39 SOURCES drwxrwxrwt 2 root root 48 2004-04-05 16:39 SPECS drwxrwxrwt 2 root root 48 2004-04-05 16:39 SRPMS brian@linux:/usr/src/packages> cd SOURCES/ brian@linux:/usr/src/packages/SOURCES> ls -la total 0 drwxrwxrwt 2 root root 48 2004-04-05 16:39 . drwxr-xr-x 7 root root 168 2004-06-12 11:01 .. brian@linux:/usr/src/packages/SOURCES> cd ../SRPMS/ brian@linux:/usr/src/packages/SRPMS> ls -la total 0 drwxrwxrwt 2 root root 48 2004-04-05 16:39 . drwxr-xr-x 7 root root 168 2004-06-12 11:01 .. brian@linux:/usr/src/packages/SRPMS>
So here I am, a newbie stuck with a "Now what?" question. Can you please tell me how to get the sources, or point me to a source where I can begin learning about it? I've looked in the Administrators Guide and found some information about "Installing and Compiling Source Packages", but that doesn't really tell me where to find the sources.
Thanks for your help.
Brian
Hi Brian right then the location of the kernel files you need is "ftp.suse.com/pub/suse/i386/update/9.1/rpm/" the files you need are as follows .. kernel-default-2.6.5-7.104.i586.rpm kernel-docs-2.6.5-7.104.noarch.rpm kernel-source-2.6.5-7.104.i586.rpm kernel-syms-2.6.5-7.104.i586.rpm This will give you the kernel in it's enterity(SP) too late/early you need tp do rpm -i on each of the files to install them . the reason i say rpm -i and not the more usual rpm -vUh is because using the -i way it leaves you with your previous kernel intact and bootable if you use -vUh then it cans your previous kernel not a good idea , if you make a directory for the files and down load tehm all into that dir then cd into it you can do rpm -i *rpm to install them all in one move . Cheers for now time for kip i think . Pete . -- Linux user No: 256242 Machine No: 139931 G6NJR Pete also MSA registered "Quinton 11" A Linux Only area Happy bug hunting M$ clan PGN