[plug] kernel compile problems

sol sol at autonomon.net
Thu Feb 6 16:06:11 WST 2003


WRT, Carl's point about loopback, i included it as a module in the kernel I 
was building. But I'm not sure whether it is included in the kernel I'm using 
which is a generic 2.2.18 kernel that came off the disk at install. 

I followed Tony's instructions to the letter, twice. Everything seemed to 
work. But I have to ask a stupid question: Where's the kernel?

It's not in the pwd or /usr/src/.  

ta,
sol

On Thu, 6 Feb 2003 03:14 pm, Anthony J. Breeds-Taurima wrote:
> On Thu, 6 Feb 2003, sol wrote:
> > Hi there,
> >
> > I was just trying to compile a 2.4.18 kernel on Debian Woody and I've
> > just had two consecutive failures. I don't understand the error.
> >
> > mkdir -p
> > /usr/src/linux-2.4.18/debian/tmp-image/lib/modules/2.4.18/kernel/drivers/
> >block/ cp loop.o
> > /usr/src/linux-2.4.18/debian/tmp-image/lib/modules/2.4.18/kernel/drivers/
> >block/ cp: cannot stat 'loop.o': No such file or directory
> > make[4]: ***[_modinst__] Error 1
> > make[4]: Leaving directory '/usr/src/linux-2.4.18/drivers/block'
> > make[3]: ***[_modinst_block] Error 2
> > make[3]: Leaving directory '/usr/src/linux-2.4.18/drivers'
> > make[2]: ***[_modinst_drivers] Error 2
> > make[2]: Leaving directory '/usr/src/linux-2.4.18'
> > make[1]: ***[real_stamp_image] Error 2
> > make[1]: Leaving directory '/usr/src/linux-2.4.18'
> >
> > Then it returns to the prompt.
> > The first time I did this I did it from /usr/src/linux which was a
> > symbolic link to /usr/src/linux-2.4.18, the second time I tried doing
> > this from /usr/src/linux-2.4.18; not that this should have made any
> > difference, I just thought I had better explain this.
> >
> > Any ideas on what may be going wrong here?
>
> Your .config file says that .../drivers/block/loop.o should be there BUT
> the build system didn't make it :(
>
> It looks like you're using make-kpkg, you shoudl do whatever the make-kpkg
> equivilent of "Make the build tree _really_ clean"
>
> I'd do:
> cd /usr/src/linux
> cp .config ../config-tmp
> make mrproper
> mv ../config-tmp .
> make oldconfig
> make dep bzImage modules modules_install
>
> Yours Tony.
>
> /*
>  * "The significant problems we face cannot be solved at the
>  * same level of thinking we were at when we created them."
>  * --Albert Einstein
>  */



More information about the plug mailing list