Re: Fwd: Vincent Lefevre, France kernel 2.6.30-1-amd64

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

 



Hi,

On 2009-07-10 09:45:20 -0400, Linuxant Support (Jonathan) wrote:
> from the original post, it seems that the environment to build 3rd
> party kernel modules to be severely broken and fixing it could
> require a lot of manual work. Sadly, it's not uncommon for the first
> package version of a new kernel release to be broken in this way in
> Debian.

In fact there were only 2 problems: the paths to
scripts/genksyms/genksyms and scripts/mod/modpost were incorrect
under Debian. So, I did the following:

# apt-get install linux-kbuild-2.6.30 linux-source-2.6.30
$ cd /usr/src
$ atool -eqx linux-source-2.6.30.tar.bz2
$ cd linux-source-2.6.30
$ make oldconfig && make prepare
$ perl -pi -e 's,= scripts/genksyms/genksyms,= /usr/src/linux-kbuild-2.6.30/scripts/genksyms/genksyms,' Makefile
$ perl -pi -e 's,= scripts/mod/modpost,= /usr/src/linux-kbuild-2.6.30/scripts/mod/modpost,' scripts/Makefile.modpost

Another thing I needed to do was to tell configure where the kernel
source is:

# perl -pi -e 's,/configure,/configure --with-kernel=/usr/src/linux-source-2.6.30,' /var/lib/dpkg/info/alsa-driver-linuxant.postinst
# apt-get install -f

and the postinst script succeeded.

I've rebooted the machine, but there's another problem: audio programs
no longer work. Before the installation, "lsmod | grep snd" was saying:

snd_hda_codec_idt      62460  1 
snd_hda_intel          26680  0 
snd_hda_codec          75168  2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep               8120  1 snd_hda_codec
snd_pcm                78440  2 snd_hda_intel,snd_hda_codec
snd_seq                51312  0 
snd_timer              21824  2 snd_pcm,snd_seq
snd_seq_device          7476  1 snd_seq
snd                    63864  8 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore               7984  1 snd
snd_page_alloc          9968  2 snd_hda_intel,snd_pcm

But now it returns nothing.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux