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

Re: recompiling alsa module w kernel 2.4.21-ben2



On Tue, 2003-08-26 at 18:06, J. Javier Maestro wrote:
On Aug Tue 26 2003 21:47, Jean-Christophe Michel wrote:
> Hi,
> 
> I'm on a Pismo 500 laptop on unstable.
> I cannot use sound, i have no module alsa.
> grep ALSA /usr/src/benh_kernel/.config shows nothing.

Mmmm... AFAIK ALSA only comes into the 2.6 kernels, doesn't it? SO
don't expect to find anything about ALSA in the kernel config...

Till then, I guess you will have to stick with the ALSA modules. You get
the source code with

apt-get install alsa-source

and a tar.gz should appear in /usr/src/. Now, if you uncompress that
tarball, it will expand a folder in /usr/src/modules. After you have
configured your kernel with CONFIG_SOUND=y and no other option for
drivers (you will use the alsa modules, no need for the dmasound thingie
in the kernel), you compile it with a
got that

make-kpkg --revision host.version kernel-image
I complied mine with this and it worked just fine for a long time.  But I am using Ben H. 2.4.22 kernel enhancements.

$ make-kpkg --append-to-version .asterix1 -rev Custom.1 kernel_image

worked..

After that, you run a

make-kpkg modules-image

Now when I do this I get

$  make-kpkg modules_image                                 
The changelog says we are creating 2.4.22-ben2.asterix1, but I thought the version is 2.4.22-ben2
make: *** [modules_image] Error 1

OR

$ make-kpkg modules-image
The changelog says we are creating 2.4.22-ben2.asterix1, but I thought the version is 2.4.22-ben2
make: *** [modules-image] Error 1



Then I tried.

$  make-kpkg --append-to-version .asterix1 -rev Custom.1 modules_image
Warning: The file include/linux/version.h exists
The contained UTS_VERSION string:
                        "2.4.22-ben2.asterix1"
does not match expectations:
                        "2.4.22.asterix1"
Please run:
% make-kpkg clean
% make-kpkg ... --append_to_version .asterix1 kernel_image [modules_image]



And...

$  make-kpkg --append-to-version -ben2.asterix1 -rev Custom.1 modules_image
The changelog says we are creating 2.4.22-ben2.asterix1, but I thought the version is 2.4.22-ben2-ben2.asterix1
make: *** [modules_image] Error 1


Each of these I can run make-kpkg modules-image




I did this before but without any make-kpkg --append-to-version [or] -rev and just had the raw unpacked kernel name without any appends. 
This has been my first time to use the make-kpkg modules_image function.

Any sujestions?

-Adam


Reply to: