Makefile bug compiling pve-kernel-2.6.24_2009_08_21

marty

New Member
Aug 31, 2009
1
0
1
Fremont, CA
Greetings,
I have newly discovered Proxmox VE and attempted to install it on one
of our new Dell R410 servers. After booting the new installation I noticed
the kernel did not discover the Broadcom BCM5716 NIC. This is the same
problem I had when installing Ubuntu Hardy 8.04.03 on the box.

So I downloaded pve-kernel-2.6.24_2009-08-21.tar.gz to the same box
I used to rebuild the Hardy kernel with a newer bnx2 driver. The README
file indicates the kernel can be built by typing "make" so I tried it.

It eventually died with this error:
mkdir: cannot create directory `/lib/modules/2.6.24-7-pve': Permission denied
make: *** [e1000.ko] Error 1

I found a couple places in the Makefile like this:
mkdir -p /lib/modules/${KVNAME}
ln -sf ${TOP}/linux-2.6.24-openvz /lib/modules/${KVNAME}/build

I am trying to understand the intent so I can correct it. Does anyone
know if it was suppose to be
"mkdir -p ${TOP}/lib/modules/${KVNAME}"
or maybe just "mkdir -p lib/modules/${KVNAME}"
without the leading "/" ?

Thanks for any help.
 
I am trying to understand the intent so I can correct it. Does anyone
know if it was suppose to be
"mkdir -p ${TOP}/lib/modules/${KVNAME}"
or maybe just "mkdir -p lib/modules/${KVNAME}"
without the leading "/" ?

It is supposted to be:

mkdir -p /lib/modules/${KVNAME}