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

Re: kompiling kernel 2.6



On Wed, 2 Mar 2005, Ernst-Magne Vindal wrote:

> Date: Wed, 2 Mar 2005 14:44:46 +0100 (CET)
> From: Ernst-Magne Vindal <ernst@vindal.com>
> To: Debian users <debian-user@lists.debian.org>
> Subject: Re: kompiling kernel 2.6
> Resent-Date: Wed,  2 Mar 2005 07:44:47 -0600 (CST)
> Resent-From: debian-user@lists.debian.org
>
> On Wed, 2 Mar 2005, Benedict Verheyen wrote:
>
> > Date: Wed, 02 Mar 2005 14:36:52 +0100
> > From: Benedict Verheyen <benedict.verheyen@sjki.be>
> > To: Ernst-Magne Vindal <ernst@vindal.com>
> > Cc: Debian Linux Distro Users Discussion <debian-user@lists.debian.org>
> > Subject: Re: kompiling kernel 2.6
> > Resent-Date: Wed,  2 Mar 2005 07:37:07 -0600 (CST)
> > Resent-From: debian-user@lists.debian.org
> >
> > Ernst-Magne Vindal wrote:
> > > On Wed, 2 Mar 2005, Benedict Verheyen wrote:
> > >
> > >
> > >>Date: Wed, 02 Mar 2005 14:17:05 +0100
> > >>From: Benedict Verheyen <benedict.verheyen@sjki.be>
> > >>To: Ernst-Magne Vindal <ernst@vindal.com>
> > >>Subject: Re: kompiling kernel 2.6
> > >>
> > >>Ernst-Magne Vindal wrote:
> > >>
> > >>>Hi all
> > >>>I've just got a laptop,ibmx30, and have problem compiling kernel.
> > >>>The only way to install is from usb cd or floppy, I downloaded the sarge
> > >>>cd 1 and this recognized the usbcd so I was able to install. The chosen
> > >>>image was 2.6.8.2-i686.
> > >>>
> > >>>Now everything is working fine, exept from the wlan. It's a cisco aeronet
> > >>>802.11b adapter integrated.
> > >>>
> > >>>I have googled around and it seams like I'm not able to use it unless I
> > >>>compile some stuff, like linux-wlan-ng og someting to the kernel. Problem
> > >>>is no that I'm not able to boot into the compiled 2.6.8 kernel, get
> > >>>"kernel panic".
> > >>>
> > >>>I have tryed ordinary compiling like make mrproper, menuconfig, dep,
> > >>>bzimage, modules, modules_install, install and I have also tryed what I
> > >>>like best with the make-kpkg and creating dep package and installed, this
> > >>>also failed during boot. The last also does not create the modules. It
> > >>>crreates the folder in /lib/modules but gives a lot of errors about
> > >>>"unresolved symboles.....".
> > >>>
> > >>>What is the prper way to compile kernel theese days, can i use my current
> > >>>config and compile a new 2.6.x kernel?
> > >>>
> > >>>/ernst-magne
> > >>>
> > >>>
> > >>
> > >>Check out this link:
> > >>http://newbiedoc.sourceforge.net/system/kernel-pkg.html.en
> > >>
> > >>It's pretty good at explaining how to compile a kernel.
> > >>
> > >>Regards,
> > >>Benedict
> > >>
> > >>--
> > >>Benedict Verheyen                   Debian User
> > >>http://www.heimdallitservices.be    Public Key 0x712CBB8D
> > >>
> > >
> > >
> > > Jepp, thats one of the methods I've tryed....
> > >
> > > /ernst-magne
> > >
> >
> > Well, i compile kernels that way
> > after unpacking:
> >
> > cd /usr/src/kernel-source-2.6.10
> > cp /boot/config-2.6.x .config
> > make menuconfig
> > make-kpkg --append-to-version=.02mar2005 kernel_image modules_image
> > cd ..
> > dpkg -i kernel-image-x
> >
> > It would help if you where more informative on the kernel panic you get.
> > Also, the default kernels use an initrd so maybe you need this aswell?
> >
> > If i make an initrd i use (after installing the deb package of the
> > corresponding kernel first)
> >
> > mkinitrd -o /boot/initrd.img-2.6.10.02mar2005 -r /dev/hda2 2.6.10.02mar2005
> >
> > Then adjust grub to include the initrd and that's it.
> >
> > Regards,
> > Benedict
> >
> > --
> > Benedict Verheyen                   Debian User
> > http://www.heimdallitservices.be    Public Key 0x712CBB8D
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >
>
> Hi again and tanks for reply.
> The way you describe is the way I'm doing it.
> I have tryed both with and without the "mkinitrd -o....." option.
> and ofcause updated lilo which I'm using.
>
> Sorry for the lack of info, I'll download and compile again and wright
> down the exsakt error.
>
> /ernst-magne
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>

Sorry, missed one question, as said, I have kernel-image2.6.8 installed
which is working fine. in addition to the mention methode above can I
keep/use my current kernle-config?

 /ernst-magne



Reply to: