Re: something wrong with kernel source 2.4.22?

From: Simon Tod (todsr1_at_yahoo.co.uk)
Date: 11/11/03

  • Next message: Karsten M. Self: "Re: Single-use root account?"
    Date: Tue, 11 Nov 2003 08:56:36 +0000 (GMT)
    To: debian-user@lists.debian.org
    
    

     --- mbc <mbc@debian.org> wrote: > * Please reply to
    me as I'm not on this list *
    >
    > Hi. So, I'm trying to build a kernel so that I can
    > compile some modules
    > I need for my wireless card to work. I want to
    > disable modversions in my
    > kernel so that the madwifi modules and the bcm4400
    > module won't complain
    > about unresolved symbols just because of name
    > mangling.
    >
    > I've encountered major problems trying to build a
    > kernel with the
    > 2.4.22-3 source.
    >
    > First, I tried copying /boot/config-2.4.22-1-686 to
    > /usr/src/linux/.config then doing make mrproper &&
    > make oldconfig &&
    > make dep && make bzImage && make install && make
    > modules && make
    > modules_install. After doing this, and updating lilo
    > and rebooting, the
    > boot fails saying that it can't open
    > /lib/modules/2.4.22/modules.dep. I
    > checked, and that file is both present and up to
    > date.
    >
    > Second, I tried copying the config to /usr/src/linux
    > again, and using
    > kernel package, so I did make-kpkg clean and then
    > make-kpkg
    > --revision=mbc2.4.22 kernel_image. The resulting
    > kernel package only
    > contained the modules and the documentation, but no
    > bzImage.
    >
    > Am I totally missing something here or is the recent
    > source package just
    > broken?
    >
    > Any help would be greatly appreciated, as I've been
    > trying to do this
    > for 3 days now so that I can install debian on my
    > laptop. Without
    > network access, thats rather hard. I've built
    > kernels before. I even
    > built the lindows kernel debian packages. But right
    > now I'm having a
    > hard time .
    >
    > Thank You,
    >
    > michael
    >
    >

    There are no problems with the kernel source; I've had
    no problems upgrading a kernel from 2.4.18 to 2.4.22

    Once you've linked the source dir to the dir linux run
    'make-kpkg clean' in /usr/src/linux, copy the old
    config to /usr/src/linux/.config, run 'make oldconfig'
    then 'make-kpkg --append-to-version=.my_kernel
    kernel_image'.

    You might want to look at using 'make xconfig' to get
    pop up a GUI to help with the configuration, though
    the benefit 'make oldconfig' is that it only troubles
    you with the new options.

    Hope this helps.

    >
    >
    >
    > --
    > To UNSUBSCRIBE, email to
    > debian-user-request@lists.debian.org
    > with a subject of "unsubscribe". Trouble? Contact
    > listmaster@lists.debian.org
    >

    =====
    -----------------------
    Simon Tod
    todsr1@yahoo.co.uk

    ________________________________________________________________________
    Want to chat instantly with your online friends? Get the FREE Yahoo!
    Messenger http://mail.messenger.yahoo.co.uk

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Karsten M. Self: "Re: Single-use root account?"

    Relevant Pages

    • Re: How do I use the linux-headers with the linux-source?
      ... here is the procedure I followed to compile the kernel: ... apt-get install kernel-package fakeroot build-essential \ ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • No date in "uname -a" anymore
      ... on a machine running squeeze, it is trivially easy to see that it ... machine hasn't been rebooted since the last update of the kernel package. ...
      (Debian-User)
    • Re: 2 GB RAM support in woody
      ... I googled and couldn't find the .deb kernel package ... So I think I need to use the latest 2.4.x kernel from ... >> To UNSUBSCRIBE, email to ...
      (Debian-User)
    • Re: nvidia or ati ?
      ... >> package and recompile it when the new kernel package is released. ... When I was using the binary driver, I had a script that I kept ...
      (Fedora)
    • Re: Compiling a kernel
      ... You have gotten a couple DIFFERENT approaches to installing a kernel on ... (unless you're creating Debian packages). ... With a previous Debian kernel package installed and running, ...
      (Debian-User)