Teilhard Knight wrote:
> From: "Mikkel L. Ellertson" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Saturday, June 18, 2005 9:54 AM
> Subject: Re: [newbie] mdkcustom missing
> 
> 
>> Teilhard Knight wrote:
>>
>>> I recently re-installed Mandrake 10.1 for various reasons in one box. It
>>> installed with kernel 2.6.8.1-12mdksmp and with kernel source
>>> 2.4.something.
>>> I uninstalled that kernel source and installed the kernel source
>>> "2.6.8.1-12mdk. Problem is that I do not get a folder
>>> 2.6.8.1-12mdkcustom in /lib/modules. I need this folder and its contents
>>> to be able to compile a driver for my wireless adapter. Do you know what
>>> is going on? I have this folder in other machines with Mandrake 10.1 as
>>> well.
>>>
>>> Teilhard.
>>>
>> This folder is created when you compile and install your own kernel. But
>> I don't think you realy need it. I think hte problem may be that the
>> make file for the driver is looking at the make file in the kernel
>> source, and finding the line:
>> EXTRAVERSION = -6mdkcustom
>> if you change this to:
>> EXTRAVERSION = -6mdk
>> your driver will probably try to put the finished module in the correct
>> directory. You will want to make sure and change it back before
>> compiling your own kernel.
>>
>> Mikkel
> 
> 
>> From what you say, I know what is going on now. The installer wants me to 
> 
> make a "make config", "make menuconfig", or "make xconfig" on my kernel.
> For EXTRAVERSION, I have in the make file:
> 
> KERN_EXTRAVERSION := \
> $(shell grep "^EXTRAVERSION[[:space:]]*=[[:space:]]*[^[:space:]]\+$$"\
> $(KERNEL_SOURCE)/Makefile | \
> sed "s/^.*=[[:space:]]*\([^[:space:]]\+\)$$/\1/g";)
> --------------
> 
> I include the readme file and the make file as attachments should you
> like to have a look at them.
> 
> I started making the "make config" on the kernel, but what I get is a
> bunch of questions I have no idea what they mean. And in other machines
> I have the mdkcustom folder and I have never compiled a custom kernel in
> Mandrake. So, I wonder how they appeared.
> 
> Thanks for taking the time.
> 
> Teilhard.
>
If you edit /usr/src/linux/Makefile, and change
EXTRAVERSION = -6mdkcustom
to
EXTRAVERSION = -6mdk
you should be able to build the module.

As far as configuring the kernel goes, unless you deleted the stock
.config file when you ran "make config", you should have the proper
.config file in hte kernel source. At least if was part of the kernel
source package I installed. For future reference, run "make menuconfig"
or "make xconfig" instead of "make config", as they offer a better
interface, as well as help on what the different options do. They also
start from the existing config file, so you only have to worry about
options you want to change.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to