Re: adding modules to kernel

2005-08-29 Thread Adam Hardy
Bob Proulx on 29/08/05 16:28, wrote: --append-to-version. But when making additional modules use the same option with the same argument. The lever here is the clean is the "do_clean := NO" option. [SNIP] Good catch. In that case I would follow the suggestion and remove the file include/linux

Re: adding modules to kernel

2005-08-29 Thread Bob Proulx
Adam Hardy wrote: > Right. Having read that and also the man page, I got the following > advice which confused my simple caffeine starved brain. What do I do if > I only want to compile a module which I forgot in xconfig? Can I avoid > the complete compile?? Yes. This is exactly the same as if

Re: adding modules to kernel

2005-08-29 Thread Adam Hardy
Bob Proulx on 29/08/05 03:35, wrote: * You are not using --append-to-version. You should because otherwise your package versions will be simply 2.6.12 or similar and won't have any way to differentiate them from each other. These questions can all be answered in the docs here: http://ne

Re: adding modules to kernel

2005-08-28 Thread Bob Proulx
Adam Hardy wrote: > (2) sudo make-kpkg --initrd kernel-image This is not the question you were asking but... * Don't use sudo in the above. Use fakeroot instead. Much safer. fakeroot make-kpkg --initrd kernel-image If there is a complain about writing to /usr/src then you need to add

Re: adding modules to kernel

2005-08-26 Thread Kai Grossjohann
Adam Hardy <[EMAIL PROTECTED]> writes: > Secondly, why do I need root privileges for make-kpkg kernel-image? This > step merely creates the kernel*.deb file, I thought. Perhaps fakeroot works? See the --rootcmd option for make-kpkg. Kai -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Re: adding modules to kernel

2005-08-25 Thread Adam Hardy
Roberto C. Sanchez on 24/08/05 20:43, wrote: Is there some short-cut? Run xconfig again, select the option as a module, and recompile. If the tree hasn't been cleaned since you last built, it should only compile that one module and not the entire kernel. When this is done you can either reinsta

Re: adding modules to kernel

2005-08-24 Thread Roberto C. Sanchez
On Wed, Aug 24, 2005 at 02:30:08PM -0400, Michael Spang wrote: > Adam Hardy wrote: > > > Is there some short-cut? > > Run xconfig again, select the option as a module, and recompile. If the > tree hasn't been cleaned since you last built, it should only compile > that one module and not the entir

Re: adding modules to kernel

2005-08-24 Thread Michael Spang
Adam Hardy wrote: > Is there some short-cut? Run xconfig again, select the option as a module, and recompile. If the tree hasn't been cleaned since you last built, it should only compile that one module and not the entire kernel. When this is done you can either reinstall the kernel or just copy

Re: adding modules to kernel

2005-08-24 Thread Adam Hardy
kamaraju kusumanchi on 23/08/05 15:29, wrote: If the module is already built and you just have to (un)load it, then you can use 'modconf' program. sudo apt-get install modconf man modconf sudo modconf I don't know whether the module in question is already built. Basically I forgot to select

Re: adding modules to kernel

2005-08-23 Thread Adam Hardy
kamaraju kusumanchi on 23/08/05 15:29, wrote: Adam Hardy wrote: Hi I compile and install the kernel using the debian package process make xconfig make-kpkg clean make-kpkg --initrd kernel-image dpkg -i kernel-image-2.6.12.5. and because I didn't get it right first time, I want to add jus

Re: adding modules to kernel

2005-08-23 Thread kamaraju kusumanchi
Adam Hardy wrote: Hi I compile and install the kernel using the debian package process make xconfig make-kpkg clean make-kpkg --initrd kernel-image dpkg -i kernel-image-2.6.12.5. and because I didn't get it right first time, I want to add just one module to the kernel and reboot, e.g. i2

adding modules to kernel

2005-08-23 Thread Adam Hardy
Hi I compile and install the kernel using the debian package process make xconfig make-kpkg clean make-kpkg --initrd kernel-image dpkg -i kernel-image-2.6.12.5. and because I didn't get it right first time, I want to add just one module to the kernel and reboot, e.g. i2c_isa However if I