Okay, Im trying to install my HSP56 MicroModem in Slackware 9. I found a driver and installation guide, but I can't figure out a few things in it. Heres what I need help with:
5. Compiling and installing the drivers
The first requisite for installation is that you have a kernel source
in /usr/src/linux/ (see section 7.7) and it must be configured, that
is, you should have done a bash$ make configure and bash$ make dep on
While doing these make sure that you have the source for your running
kernel...for example, if you are running kernel 2.4.8 and if you have
the source for kernel 2.4.9 in /usr/src/linux/, then the drivers would
Moreover, you must configure the kernel with isapnp and pnp support and
see to the fact that you don't have a smp/uniprocessor mismatch ( that
is, running uniprocessor kernel but having a kernel source with smp
support in /usr/src/linux). Also, you will need a kernel which supports
And of course, you need to have gcc installed, check it by issuing the
command bash$ gcc -v . If you do not get any errors, then everything is
If you have gcc version 3 or above , and have problems during
compiling, please refer to this section in the FAQ.
7.7. Directory of the kernel source files
If you get an error saying /usr/src/linux/include/linux/modversions.h :
no such file or directory, look in your /usr/src directory for the
kernel source. The default location is /usr/src/linux/ but some
distributions may install the files somewhere else.
If you find that the files are somewhere else, say in the directory,
/usr/src/myspecialsource/ , do not try to move the files, just create a
symbolic link with the command
bash$ ln -s /usr/src/myspecialdirectory/ /usr/src/linux/
In case of the PCTel-0.8.6 or newer drivers you can also specify the
location of your kernel source by using the option
bash$ --with-kernel-includes=your kernel source directory
during running the configure script.
What I need
Okay, it mentions in section 7.7, an error involving modversions.h. Then it says if you get this error, to look in another file for your kernel source. So I'de imagine modversions.h is your kernel source? Mine is located in /usr/include/linux/modversions.h.
Now, it says in section 5, that I have to do a 'make configure' and 'make dep' on this file. How would I do this? I tried doing '/usr/include/linux/modversions.h make configure/dep' but it always says permission denied [Im logged in as root].
It also says I need to configure the kernel with isapnp and pnp support and see to the fact that I don't have a smp/uniprocessor mismatch. How would I do this?
It also says I need a kernel which supports loadable modules. How would I figure this out?
Oops, thought this concerned mandrake :eek:
I'm not a slacker, but your kernel source code is in:
and there should be a link
that points to the source code directory.
You might want to rename your old kernel and edit your bootloader to reflect this if your present kernel's name is bzImage
To configure your kernel for compiling as root:
This is where you configure modules, etc. Save your config when exiting
Compile your kernel (working directory is either /usr/src/linux or the actual directory of the source by commanding:
make dep && make clean bzImage modules modules_install
Then copy your new kernel:
cp /usr/src/linux/arch/i386/boot/bzImage /boot
Edit your bootloader, run /sbin/lilo if you use lilo, etc.
The Linux Kernel HOWTO
|All times are GMT -5. The time now is 11:24 AM.|