Sorry, I came on board half way through a discussion of getting NVidia video working on 9.1. I've just installed 9.1 on a machine with an FX5500 on it. I cannot see an option for the FX5500, and yast2 suggests VESA at 1024x768, which is certainly not appropriate for my 19" monitor. I've looked at SuSE instructions on NVidia's website, but I cannot find the yast configuration options mentioned on the HOWTO, or anything relating to a patch mentioned on recent posts here. I really don't want to start compiling from source if I can avoid it. Sorry to appear stupid, but I am new to SuSE and must be missing something obvious. Help, please? -- Julian.
On Thursday 12 August 2004 1:55 pm, Julian Opificius wrote:
Sorry, I came on board half way through a discussion of getting NVidia video working on 9.1.
I've just installed 9.1 on a machine with an FX5500 on it. I cannot see an option for the FX5500, and yast2 suggests VESA at 1024x768, which is certainly not appropriate for my 19" monitor. I've looked at SuSE instructions on NVidia's website, but I cannot find the yast configuration options mentioned on the HOWTO, or anything relating to a patch mentioned on recent posts here. I really don't want to start compiling from source if I can avoid it. Sorry to appear stupid, but I am new to SuSE and must be missing something obvious.
Help, please? -- Julian.
I wish I could give you some easy answers about NVidia, but I too am having problems with the SuSE instructions on the NVidia site. But at least I can suggest that if you want to search this for archived information in any of the SuSE newsgroups go to: http://www.suse.com/us/private/support/online_help/mailinglists/index.html and click on the archive link. The link for this site is: http://lists.suse.com/archive/suse-linux-e/ Of course, Google Groups is always a good tool to use for trying to find what's been said in the newsgroups. Brian
On Friday 13 Aug 2004 05:34, Brian Jonas wrote:
On Thursday 12 August 2004 1:55 pm, Julian Opificius wrote:
Sorry, I came on board half way through a discussion of getting NVidia video working on 9.1.
I've just installed 9.1 on a machine with an FX5500 on it. I cannot see an option for the FX5500, and yast2 suggests VESA at 1024x768, which is certainly not appropriate for my 19" monitor. I've looked at SuSE instructions on NVidia's website, but I cannot find the yast configuration options mentioned on the HOWTO, or anything relating to a patch mentioned on recent posts here. I really don't want to start compiling from source if I can avoid it. Sorry to appear stupid, but I am new to SuSE and must be missing something obvious.
Help, please? -- Julian.
I wish I could give you some easy answers about NVidia, but I too am having problems with the SuSE instructions on the NVidia site. But at least I can suggest that if you want to search this for archived information in any of the SuSE newsgroups go to: http://www.suse.com/us/private/support/online_help/mailinglists/ind ex.html and click on the archive link. The link for this site is: http://lists.suse.com/archive/suse-linux-e/
Of course, Google Groups is always a good tool to use for trying to find what's been said in the newsgroups.
Brian
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 .. This applies to Suse pro 9.1 only dont know about the personal edition think that is a bit brain dead . just do as the instructions tell you and if you got every thing you need it will work the only bit i dont do is the sax2 bit i do that bit by hand dont like/trust sax/sax2 it has screwed up completelt too many times If you need any further help let me know i will see if i can help the important thing is to ensure you have the complete kernel sources that is the big failure a lot of people have . Cheers 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
It's not that it's difficult, I was just hoping to get away with a simple binary install, that's all. I guess I'll have to d/l the source and do it that way. I was just being lazy trying to use the binary ;-) Before I leap in with all four feet, does the source method properly support the FX 5500? Cheers for the advice, b.t.w., - the warnings are well heeded. Julian. ============= On Aug 13, 2004, at 3:18 AM, peter Nikolic wrote:
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 ..
This applies to Suse pro 9.1 only dont know about the personal edition think that is a bit brain dead .
just do as the instructions tell you and if you got every thing you need it will work the only bit i dont do is the sax2 bit i do that bit by hand dont like/trust sax/sax2 it has screwed up completelt too many times
If you need any further help let me know i will see if i can help the important thing is to ensure you have the complete kernel sources that is the big failure a lot of people have .
Cheers 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
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Friday 13 Aug 2004 09:31, Julian Opificius wrote:
It's not that it's difficult, I was just hoping to get away with a simple binary install, that's all.
I guess I'll have to d/l the source and do it that way. I was just being lazy trying to use the binary ;-)
Before I leap in with all four feet, does the source method properly support the FX 5500?
Cheers for the advice, b.t.w., - the warnings are well heeded.
Julian. =============
On Aug 13, 2004, at 3:18 AM, peter Nikolic wrote:
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 ..
This applies to Suse pro 9.1 only dont know about the personal edition think that is a bit brain dead .
just do as the instructions tell you and if you got every thing you need it will work the only bit i dont do is the sax2 bit i do that bit by hand dont like/trust sax/sax2 it has screwed up completelt too many times
If you need any further help let me know i will see if i can help the important thing is to ensure you have the complete kernel sources that is the big failure a lot of people have .
Cheers 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
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
not havin an fx5500 i cant realy say but i would hazzard a guess at yes if you use the latest 6111 drivers .. 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
On Friday 13 Aug 2004 09:18, peter Nikolic wrote:
On Friday 13 Aug 2004 05:34, Brian Jonas wrote:
On Thursday 12 August 2004 1:55 pm, Julian Opificius wrote:
Sorry, I came on board half way through a discussion of getting NVidia video working on 9.1.
I've just installed 9.1 on a machine with an FX5500 on it. I cannot see an option for the FX5500, and yast2 suggests VESA at 1024x768, which is certainly not appropriate for my 19" monitor. I've looked at SuSE instructions on NVidia's website, but I cannot find the yast configuration options mentioned on the HOWTO, or anything relating to a patch mentioned on recent posts here. I really don't want to start compiling from source if I can avoid it. Sorry to appear stupid, but I am new to SuSE and must be missing something obvious.
Help, please? -- Julian.
I wish I could give you some easy answers about NVidia, but I too am having problems with the SuSE instructions on the NVidia site. But at least I can suggest that if you want to search this for archived information in any of the SuSE newsgroups go to: http://www.suse.com/us/private/support/online_help/mailinglists/ind ex.html and click on the archive link. The link for this site is: http://lists.suse.com/archive/suse-linux-e/
Of course, Google Groups is always a good tool to use for trying to find what's been said in the newsgroups.
Brian
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 ..
This applies to Suse pro 9.1 only dont know about the personal edition think that is a bit brain dead .
just do as the instructions tell you and if you got every thing you need it will work the only bit i dont do is the sax2 bit i do that bit by hand dont like/trust sax/sax2 it has screwed up completelt too many times
If you need any further help let me know i will see if i can help the important thing is to ensure you have the complete kernel sources that is the big failure a lot of people have .
Cheers 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
Oh and i forgot to mention THIS IS ALL DONE IN CONSOLE/TEXT mode so Ctrl+Alt+F1 to get out of the X session login as root do init 3 then carry out the Nvidia install once completed the init 5 to get back to the graphical system do not fear the CLI it has more power than any GUI will ever have it is your friend and what makes *NIX's so much more powerfull that the other one .. 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
On Friday 13 August 2004 1:18 am, peter Nikolic wrote:
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!...
<Snip>
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 ..
This applies to Suse pro 9.1 only dont know about the personal edition think that is a bit brain dead .
Peter, Thanks for your instructive response. It shouldn't be hard, except I don't think I have the sources. I have SuSE 9.1 Pro, and have installed most everything. With only a few exceptions, I've used YaST for all my installations. I don't think it offers to delete the source files after installation like YOU does when doing updates, but maybe it did, and in my ignorance I would have chosen to save space -- don't remember. But I'm not seeing much when I look into my /usr/src/: brian@linux:/usr/src> ls -l total 0 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> Can you share with me how to get the sources, or where to read how to do it? I found some information in the Administrators Guide about "Installing and Compiling Source Packages", but it's not telling me where to get them. By the way, I have Kernel 2.6.5-7.104 Sorry for the beginner level questions. Brian
* Brian Jonas
It shouldn't be hard, except I don't think I have the sources.
Please trim your quotes. The sources referred are the kernel sources. To see if they are installed, on a command-line do: rpm -q kernel-source If nothing is reported as kernel-source-2.6.5-7.xxx, open yast2 as root and Software -> Install and Remove Programs enter 'kernel-source' in the search box and go Look at the kernel-source version (rpm -q kernel-source) after installation and if it does not match your kernel (uname -r), update the kernel-source with YOU (<rt-click> on SuSE Watcher [green button]). -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
On Sunday 15 August 2004 02:16, Brian Jonas wrote:
On Friday 13 August 2004 1:18 am, peter Nikolic wrote:
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!... <snip> By the way, I have Kernel 2.6.5-7.104
In that case you need to install kernel-source-2.6.5-7.104.i586.rpm. You can
do that with YaST.
The kernel source will be in /usr/src/linux.
To compile and install the nVidia drivers I made a small script originally for
personal use, but here it is:
---8<---8<---[ mk-nv * start ]---8<---8<---
#! /bin/bash
# bash script to build nVidia drivers for (SuSE) Linux
# Usage: mk-nv
<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
I thought the first post had been lost -- apparently not.
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
<SNIP>
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 .
<SNIP> Pete, Thanks! Getting the files worked, and I was able to follow the Nvidia instructions for recompiling the kernel and reinstalling the driver. I appreciate your help! Brian
On Sunday 15 Aug 2004 16:59, Brian Jonas wrote:
<SNIP>
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 .
<SNIP>
Pete,
Thanks! Getting the files worked, and I was able to follow the Nvidia instructions for recompiling the kernel and reinstalling the driver.
I appreciate your help! Brian
Ok Cheers Brian glad i was of some help .. 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
participants (5)
-
Brian Jonas
-
Julian Opificius
-
Leendert Meyer
-
Patrick Shanahan
-
peter Nikolic