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

Re: dpkg problems with own compiled kernel



Hmm,
You have a 2.4.27 already installed.
Now, you're trying to get a customized 2.4.27 installed. 
Now, this is what I think:
See the error msg mentioning /lib/modules/2.4.27 .... it means that
it's trying to install the modules into the 2.4.27 tree which was
installed during the last kernel build you did.

I would try something like this - "make-kpkg
--append-to-version=04252005 kernel_image modules_image" as this will
lead to a /lib/modules/2.4.27.04252005 or something of the sort.

Well, that's what I think anyway. You could try and see.  :)
Good luck.


On 4/25/05, Martin Juhlin <martin.juhlin@home.se> wrote:
> Hi,
> 
> I'm using :
> 
> make-kpkg --revision=custom.1.0 kernel_image modules_image
> 
> extra modules are alsa-driver, i2c, lm-sensors and nvidia-kernel. I included
> my kernel config as well.
> 
> Best regards
>     Martin
> 
> måndagen den 25 april 2005 22.38 skrev Rajesh Menon:
> > Hi,
> > What was the command you used to build the .deb?
> >
> > On 4/25/05, Martin Juhlin <martin.juhlin@home.se> wrote:
> > > Hi
> > >
> > > I'm running sarge and having some problems when installing my own
> > > compiled kernel. Then problem occures in the decompression face when
> > > running dpkg on the deb-package, the output is included below. The
> > > package is built with make-kpkg. The following thing is checked :
> > >
> > > * Free disc space is 40G and .deb is about 2M.
> > > * fsck and smartctl report no errors
> > > * the file that dpkg complane about is included in the .deb package
> > > * tried both an old known to work package and a new compiled, both return
> > > the same error. Both package have the same configuration.
> > > * apt-get dist-upgrade is working without any problem
> > >
> > > My current kernel is 2.4.27-2-386 and the sarge system is up-to-date. Any
> > > ideas is welcome....
> > >
> > > # dpkg -i kernel-image-2.4.27_custom.1.0_i386.deb
> > > (Reading database ... 154390 files and directories currently installed.)
> > > Preparing to replace kernel-image-2.4.27 custom1.0 (using
> > > kernel-image-2.4.27_custom.1.0_i386.deb) ...
> > > Unpacking replacement kernel-image-2.4.27 ...
> > > dpkg: error processing kernel-image-2.4.27_custom.1.0_i386.deb
> > > (--install): unable to create
> > > `./lib/modules/2.4.27/kernel/drivers/i2c/i2c-core.o': No such file or
> > > directory
> > > dpkg-deb: subprocess paste killed by signal (Broken pipe)
> > > Errors were encountered while processing:
> > > kernel-image-2.4.27_custom.1.0_i386.deb
> > >
> > > Best regards
> > >     Martin
> > >
> > > --
> > > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > > with a subject of "unsubscribe". Trouble? Contact
> > > listmaster@lists.debian.org
> 
> 
>



Reply to: