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

Introduction and questions about a failure while calling dpkg-buildpackage linux-kernel-di-powerpc-2.6-0.71



Hi

I am a happy Debian User and software engineer in my job (mostly real time 
with another OS). I currently bought a Pegasos I board (powerpc) to set up
my small home server.

I managed to install gentoo 2004.1 on it and can easily recompile my kernel.

However as Sven Luther has a lot of things to do and his images for the 
powerpc-chrp are still too big to be loaded by the openprom, I am decided to 
try building the debian installer on my PowerBook. 

I am following the instructions in the custom-kernel.txt from the debian 
installer and had to problem to complete step 1 mainly producing a kernel 
deb.

I run however into problems with step 2. There were a lot of missing modules 
in my pegasos kernel as I tried to minimize it. I fixed them by 
a) recompiling the kernel with more modules enabled
b) prepending a '-' in the corresponding modules/powerpc/* file (my private 
hack) 

I didn't touch debian/control.stub. After having editited kernel-versions I 
called kernel-wedge gen-control > debian/control. Now running sudo 
dpkg-buildpackage in 
/usr/src/linux-kernel-di-powerpc-2.6-0.71
results with the following output:
>dpkg-buildpackage: source package is linux-kernel-di-powerpc-2.6
>dpkg-buildpackage: source version is 0.71
>dpkg-buildpackage: source maintainer is Sven Luther <luther@debian.org>
>dpkg-buildpackage: host architecture is powerpc
> debian/rules clean
>kernel-wedge gen-control > debian/control
>dh_testdir
>dh_clean `find modules -type l`
> dpkg-source -b linux-kernel-di-powerpc-2.6-0.71
>dpkg-source: warning: unknown information field  in input data in package's 
>section of control info file
>..
>dpkg-source: warning: missing information for output field Standards-Version
>dpkg-source: building linux-kernel-di-powerpc-2.6 in 
>linux-kernel-di-powerpc-2.6_0.71.tar.gz
>dpkg-source: building linux-kernel-di-powerpc-2.6 in 
>linux-kernel-di-powerpc-2.6_0.71.dsc
> debian/rules build
>kernel-wedge gen-control > debian/control
>kernel-wedge make-links
>dh_testdir
> debian/rules binary
>kernel-wedge gen-control > debian/control
>kernel-wedge make-links
>dh_testdir
>dh_testdir
>dh_clean -k
>kernel-wedge install-files
>        install -D -m 
>644 /lib/modules/2.6.8-pegasos/boot/vmlinuz-2.6.8-pegasos 
>debian/kernel-image-2.6.8-pegasos-di/boot/vmlinuz
>Install: cannot stat `/lib/modules/2.6.8-pegasos/boot/vmlinuz-2.6.8-pegasos': 
>No such file or directory
>command exited with status 1
>make: *** [binary-arch] Error 2

What did I miss? Do have to copy manuall /boot/vmlinuz-2.6.8-pegasos to 
/lib/modules/2.6.8-pegasos ?

Is there somewhere a newer version of linux-kernel-di-powerpc-2.6?

Any hints would be greatly appreciated.

Best regards

-- 
Niklaus Giger
Wieshoschet 6
CH-8753 Mollis
Tel. ++41 55 612 20 54 (privat)
Tel. ++41 55 618 64 68 (Geschäft)



Reply to: