[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SC420 problem with Debian make-kpkg (fwd)



Hi:

Yes, my issues with the 2.4.28 kernel are similar plus I need to incorporate a module for a VOIP card.

A couple questions:

I've been using as my reference in learning how to do this:

                             Debian Reference
                             ----------------
                       Osamu Aoki <osamu@debian.org>
                Editor: David Sewell <dsewell@virginia.edu>

I want to be clear about your procedure so have these questions.

For context, here are the very recent steps from that text used. The exception is that the text expects one to use fakeroot and I'm logged in as root. Thus, we have a kernel source loaded and their recommended packages loaded, and:

Prompt# cd /usr/src                            # build directory
Prompt# tar --bzip2 -xvf kernel-source-2.6.10.tar.bz2
Prompt# cd kernel-source-2.6.10           # if this is your kernel source
# cp /boot/config-<2.4.18-386>.config     # get current config as default

Here, I may have screwed up. I interpretted "current" in the accompanying comment as my current 2.4.28 config. In fact, in /boot I do not have a 2.6.10 config file of any kind I don't believe. That's why I interpretted the text as I did. So, are you saying that instead of the command

# cp /boot/config-<2.4.28.config /usr/src/kernel-source-2.6.10/config-2.4.28.config

I should use the command

prompt#cp /boot/config-2.6.10-1-686.config /usr/src/kernel-source-2.6.10/config-2.6.10-1-686.config

I can see where a wrong config file could make a big difference. I'll check around and see if I did receive this file in the Debian package.

prompt# make menuconfig                        # customize as one wishes

I did not run this command, electing to use the default configuration for experimental purposes.

The reference then instruct one to run:

make-kpkg clean

which is where I fail. Are you saying that maybe this is a wrong instruction or a misunderstood instruction and that I should :

# make-kpkg --append-to-version "-1-686" --revision 2.6.10-1 |
   --config config-2.6.10-1-686.config

Thanks very much.

Chris



Reply to: