Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 have SuSE Enterprise 8 installed. So far have done it twice on the same system. Both times it will not recognize the onboard LAN or the D-Link card installed.
Located drivers for D-link and finally found out the actual commands for compiling. That took a while to find. I hope it was because I had been looking in the wrong places for it.
Moving on. Try to "make" after drivers are placed into /temp dir and get error:
Makefile:29: *** Linux kerenel source not found. Stop.
So I try "rpm -q kernel-source" and get:
package kernel-source is not installed
Then, "rpm -q kernel" and get:
package kernel is not installed
So by this point I am really frustrated. I download a newer kernel version(have 2.4.21 and trying to go to 2.6.11.3). Everything seems to going fine until I attempt to make a new initrd file. I get error telling me modules.dep is not up to date.
Now I am at a stand still. I have not found any documentation that will help with the initrd file. Apperently nobody else makes the same mistakes I do. As for the kernel-source not being found... that just floored me. I can't comprehend why a driver install file would not be able to find the kernel source. Do different distributions place the kernel in different directories? If that were the case shouldn't the drivers be specific to the distro?
This may seem a little obvious, but are you running as root? I'm still sort of a n00b myself. I know some things but not others. I just recompiled my kernel yesterday (I think.) And I'm curious, this won't help me help you at all, but what model of D-Link card do you have? I have a DWL-G510 rev. B and can't seem to get "ndiswrapper" to work with it. If you have the version 1.00 driver for it it would be appreciated if you sent it to my e-mail. As for your problem, I'll research it and see what I come up with.
Oh just incase you didn't know, to run as root type:
su
And it'll come up with:
Password:
It won't show anything but type in your root password and press enter and it should change the prompt from "$" to "#".
The kernel packages in SUSE versions <9.0 are called k_deflt, this is why 'rpm -q kernel' does not show it.
I would not recommend to install a 2.6er kernel on your version. You need to update several other packages and some configurations have changed (e.g. modules.conf > modprobe.conf)
Distribution: KDE Neon User edition; Manjaro; OpenSUSE Leap
Posts: 298
Rep:
edanono you might want to start running as a user because running as root all the time is pretty risky, mostly because you can completely screw everything up.
That is kind of what I am counting on. This is a fresh install and right now it is for experimenting only. I am trying to get aquainted with the OS so I can implement it later as a network server.
If I trash it, then I start all over. Thanks for the tip though.
make modules_install(some errors with unresolved symbols in /lib/modules/2.6.11.3y/kernel/sound/usb/snd-usb-lib.ko)
I am guessing these are sound driver errors?
Now I need to copy .config, bzImage, and System.map files, right?
After that I should be able to make the initrd file, correct?
The EXTAVERSION question... well I got impatient with the oldconfig questions and just started hitting enter. I assummed that the defaults would work for me. I guess I will see if it screws me up.
cp .config /boot/config-2.6.11.3 (ok)
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.11.3 (ok)
cp System.map /boot/System.map-2.6.11.3 (ok)
mkinitrd /boot/initrd-2.6.11.3.img 2.6.11.3
/boot/initrd-2.6.11.3.img/var/tmp is not a directory
This is obvious, BUT why would it be looking for a directory that has not been created yet. If I manually create it, will this work? Or does there need to be certain files already in the directory?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.