compiling kernel error

Nemesiz

Renowned Member
Jan 16, 2009
729
56
93
Lithuania
I am trying to compile 2.6.32 pve kernel from scratch but it stops at:

cp -a iscsideb iscsi-scst/debian
cd iscsi-scst; export KVER=2.6.32-4-pve; dpkg-buildpackage -b -rfakeroot -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package iscsi-scst
dpkg-buildpackage: source version 1.0.1.1-3
dpkg-buildpackage: source changed by Proxmox Support Team <support@proxmox.com>
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
make[1]: Entering directory `/home/nmz/pve-kernel-2.6.32_2010-09-20/iscsi-scst'
make[1]: *** No rule to make target `unpatch', needed by `clean'. Stop.
make[1]: Leaving directory `/home/nmz/pve-kernel-2.6.32_2010-09-20/iscsi-scst'
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 2
make: *** [iscsi-scst.ko] Error 2

unpatch - from where it appears
 
Thanks. Now another problem:

#update-pciids
cp /usr/share/misc/pci.ids pci.ids
./create-initrd-dir 2.6.32-4-pve
unable to find firmware: keyspan/usa49wlc.fw kernel/drivers/usb/serial/keyspan.ko
error exit
make: *** [initrd.img-2.6.32-4-pve] Error 99
 
Ah it doesn't helped.

make[1]: Leaving directory `/home/nmz/pve-kernel-2.6.32_2010-09-20/busybox-1.14.0'
tar cpf busybox.tar -C busybox .
# busybox done
#update-pciids
cp /usr/share/misc/pci.ids pci.ids
# update-pciids done
# initrd.img
./create-initrd-dir 2.6.32-4-pve
unable to find firmware: keyspan/usa49wlc.fw kernel/drivers/usb/serial/keyspan.ko
error exit
make: *** [initrd.img-2.6.32-4-pve] Error 99


root@nmz:~/pve-kernel-2.6.32_2010-09-20# pveversion -v
pve-manager: 1.6-4 (pve-manager/1.6/5229)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.6-20
pve-kernel-2.6.32-4-pve: 2.6.32-20
qemu-server: 1.1-19
pve-firmware: 1.0-9
libpve-storage-perl: 1.0-14
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-8
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.5-2
ksm-control-daemon: 1.0-4

I started to look in linux-2.6_2.6.32-22.diff and i found macvlan patch. So i just borrow iproute (20100519-3) from Debian squeeze and now i can use "ip link add link <phys> name <vif> address <mac address> type macvlan mode (bridge|vepa|private)".
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!