SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've got suse 9.1 and i cant download and install the kernel source. I've used YAST and found it, but cant check it. I've also search the net and found an rpm and tried to install it that way, but it doesnt work. I'm tring to set up my wireless nic card and need it for the make command.
Download the full source for the newest stable kernel from kernel.org. Then use make oldconfig to create the .config file, make changes based on your system and compile. Then you'll be running the newest stable release and have the kernel sources you want.
after you unpack the new kernel to /usr/src/linux-2.6.9
make clean
make mrproper
make oldconfig
make menuconfig (change anything you need)
make bzImage
make modules
make modules_install
cp ./arch/i386/boot/bzImage /boot/vmlinuz-2.6.9
mkinitrd -k vmlinux-2.6.9 -i initrd-2.6.9
Now edit the /boot/grub/menu.lst
Add this entry, you could leave out the comments or put in your own
### New 2.6.9 kernel ###
title linux-2.6.9
kernel (hd0,2)/boot/vmlinux-2.6.9 root=/dev/hda3
initrd (hd0,2)/boot/initrd-2.6.9
At the time i wrote this, 2.6.9 was the stable, I know 2.6.10 is stable, but there might be another since then.
musicman_ace:
Do you really think this was a good advice? keith2045 asked for help because he needs the sources of his kernel to compile a module for his wireless device and you tell him to configure and install a completely new kernel...after doing this, the wireless adapter might still not work and who knows what other problems appear.
keith2045:
Could it be that you are running 9.1 Personal edition? This one comes without development tools, but they can easiely installed from a FTP server. Have a look here for a detailed description: http://www.linuxquestions.org/questi...hreadid=266647
Otherwise download the sources from the SuSE server directly and install them with rpm -ihv <kernel-source-package> or by clicking the file. Be sure to have the sources matching the version number of the running kernel (output of uname -r). You may need to run YOU to update the sources.
This is true, but he said he couldn't download it which I assumed meant from within YasT. If for whatever reason he can't get Yast to install the kernel source, then what I posted will get the kernel source for him. He could figure out what version his kernel is and download that source, but why not go to the trouble of getting a newer stable release. 9.1 came with SusE's 2.6.4-default-52 if I remember right. There were latency issues and SusE quickly pushed out 2.6.5-xxxx, so I wouldn't suggest sticking with their original kernel.
Originally posted by keith2045 I've got suse 9.1 and i cant download and install the kernel source. I've used YAST and found it, but cant check it. I've also search the net and found an rpm and tried to install it that way, but it doesnt work.
Download that file and then, if you are in KDE, goto where you placed the RPM, right-click on it and select Actions > Install with YaST. That should be all you need to do. If you get an error with the install let us know. There are other ways to do this procedure but that is probably the most intuitive.
It's not YAST, I've installed programs with it and it worked. I've just done what abisko00 said, and it appears to be working. I'm currently downloading and installing the kernel sources.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.