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

Problems generating udeb files to make a custom PXE Sarge image



Hello,

I'm trying to install Debian Sarge on a Dell PowerEdge 850, this server has a ICH7 Intel I/O controller and it's not supported by Sarge installation kernel, so SATA disks are no detected. I am building a d-i image with a custom kernel following this doc:

http://d-i.alioth.debian.org/svn/debian-installer/installer/doc/ custom-kernel.txt

But I am having problems generating udeb files with "kernel-wedge", I think the problem is in the version/flavour numbers generated by "make-kpkg" script :(

Here is all the process I am following to generate deb and udeb kernel images:

1) kernel deb build process:

mkdir -p /root/sarge_pe850
cd /root/sarge_pe850
wget http://ftp.debian.org/debian/pool/main/l/linux-2.6.16/ linux-2.6.16_2.6.16.orig.tar.gz
tar xfz linux-2.6.16_2.6.16.orig.tar.gz
cd linux-2.6-2.6.16
wget http://ftp.debian.org/debian/pool/main/l/linux-2.6.16/ linux-2.6.16_2.6.16-17.diff.gz
gzip -cd linux-2.6.16_2.6.16-17.diff.gz | patch -p1
cat debian/arch/config > .config
cat debian/arch/i386/config >> .config
cat debian/arch/i386/config.686 >> .config
fakeroot make-kpkg --append-to-version -686 kernel_image
dpkg -i /root/sarge_pe850/kernel-image-2.6.16-686_2.6.16-17_i386.deb


2) kernel udebs build process, problems start when running "kernel- wedge build-all":

# cd /root/sarge_pe850
# wget http://ftp.debian.org/debian/pool/main/l/linux-kernel-di- i386-2.6/linux-kernel-di-i386-2.6_1.33.tar.gz
# tar xfz linux-kernel-di-i386-2.6_1.33.tar.gz
# cd linux-kernel-di-i386-2.6
# cat kernel-versions (I have changed default values for those ones.. I think the problem is in those versions..) i386 2.6.16-17 686 2.6.16-686 - linux- image-2.6.16-686
# kernel-wedge gen-control > debian/control
# kernel-wedge build-all

dpkg-buildpackage: source package is linux-kernel-di-i386-2.6
dpkg-buildpackage: source version is 1.33
dpkg-buildpackage: source maintainer is Frans Pop <fjp@debian.org>
fakeroot debian/rules clean
kernel-wedge gen-control > debian/control
dh_testdir
dh_clean `find modules -type l`
dpkg-source -ICVS -I.svn -b linux-kernel-di-i386-2.6
dpkg-source: warning: unknown information field in input data in package's section of control info file 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: warning: source directory `./linux-kernel-di-i386-2.6' is not <sourcepackage>-<upstreamversion> `linux-kernel-di-i386-2.6-1.33' dpkg-source: building linux-kernel-di-i386-2.6 in linux-kernel-di- i386-2.6_1.33.tar.gz dpkg-source: building linux-kernel-di-i386-2.6 in linux-kernel-di- i386-2.6_1.33.dsc
debian/rules build
kernel-wedge gen-control > debian/control
kernel-wedge make-links
dh_testdir
fakeroot 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 /boot/vmlinuz-2.6.16-686 debian/kernel- image-2.6.16-17-686-di/boot/vmlinuz install -D -m 644 /boot/System.map-2.6.16-686 debian/kernel- image-2.6.16-17-686-di/boot/System.map
        kernel-wedge copy-modules 2.6.16-17 686 2.6.16-686
missing module scsi_transport_spi
command exited with status 1
make: *** [binary-arch] Error 2

How can I solve those problems to generate udebs and continue with netboot image creation? Thanks!

Regards,

--
Santi Saez



Reply to: