From mtorres at mccconstruction.com Thu Dec 14 12:07:22 2006 From: mtorres at mccconstruction.com (Mark Torres) Date: Thu Dec 14 12:37:05 2006 Subject: [Whitebox-ia64] Intel S5000VSA NIC Driver Error Message-ID: <1166119642.10318.7.camel@mark-salsa> Hello all: First time posting, so please forgive the occasional faux pas. I just loaded Whitebox 4 respin 1 onto an Intel s5000VSA motherboard system with the onboard RAID controller. I've been banging my head against this situation all week but it's finally working. Everything except the onboard dual gigabit nic. I downloaded the most recent nic from Intel's site (e1000-7.3.15) and I managed to install rpm-build (I'm used to ubuntu so up2date and yum gave me fits). However, when I run rpmbuild -tb (the file) I get: ************************************************************************ [root@localhost Desktop]# rpmbuild -tb e1000-7.3.15.tar.gz Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.29806 + umask 022 + cd /usr/src/whitebox/BUILD + cd /usr/src/whitebox/BUILD + rm -rf e1000-7.3.15 + /bin/gzip -dc /home/mark/Desktop/e1000-7.3.15.tar.gz + tar -xvvf - drwxr-xr-x root/root 0 2006-10-05 19:02:03 e1000-7.3.15/ drwxr-xr-x root/root 0 2006-10-05 19:02:03 e1000-7.3.15/src/ -rw-r--r-- root/root 9933 2006-10-05 19:02:03 e1000-7.3.15/src/Makefile -rw-r--r-- root/root 10778 2006-10-05 19:02:03 e1000-7.3.15/src/e1000.h -rw-r--r-- root/root 60218 2006-10-05 19:02:03 e1000-7.3.15/src/e1000_ethtool.c -rw-r--r-- root/root 325434 2006-10-05 19:02:03 e1000-7.3.15/src/e1000_hw.c-rw-r--r-- root/root 156146 2006-10-05 19:02:03 e1000-7.3.15/src/e1000_hw.h-rw-r--r-- root/root 154386 2006-10-05 19:02:03 e1000-7.3.15/src/e1000_main.c -rw-r--r-- root/root 4701 2006-10-05 19:02:03 e1000-7.3.15/src/e1000_osdep.h -rw-r--r-- root/root 25444 2006-10-05 19:02:03 e1000-7.3.15/src/e1000_param.c -rw-r--r-- root/root 5384 2006-10-05 19:02:03 e1000-7.3.15/src/kcompat.c -rw-r--r-- root/root 23234 2006-10-05 19:02:03 e1000-7.3.15/src/kcompat.h -rw-r--r-- root/root 21151 2006-10-05 19:02:03 e1000-7.3.15/src/kcompat_ethtool.c -rw-r--r-- root/root 18671 2006-10-05 19:02:03 e1000-7.3.15/COPYING -rw-r--r-- root/root 29503 2006-10-05 19:02:03 e1000-7.3.15/README -rw-r--r-- root/root 6636 2006-10-05 19:02:03 e1000-7.3.15/ldistrib.txt -rw-r--r-- root/root 7139 2006-10-05 19:02:03 e1000-7.3.15/pci.updates -rw-r--r-- root/root 11360 2006-10-05 19:02:03 e1000-7.3.15/e1000.spec -rw-r--r-- root/root 11670 2006-10-05 19:02:03 e1000-7.3.15/e1000.7 -rw-r--r-- root/root 441 2006-10-05 19:02:03 e1000-7.3.15/SUMS + STATUS=0 + '[' 0 -ne 0 ']' + cd e1000-7.3.15 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.29806 + umask 022 + cd /usr/src/whitebox/BUILD + cd e1000-7.3.15 + mkdir -p /var/tmp/e1000-7.3.15-root ++ uname -r + KV=2.6.9-34.ELsmp + KA=x86_64 ++ echo 2.6.9-34.ELsmp ++ sed '{ s/hugemem//g; s/smp//g; s/enterprise//g; }' + KV_BASE=2.6.9-34.EL + '[' -e /usr/src/kernels ']' ++ echo 2.6.9-34.ELsmp ++ sed 's/-.*//' ++ echo 2.6.9-34.ELsmp ++ sed 's/\([0-9]*\.[0-9]*\)\..*/\1/' + KSP='/lib/modules/2.6.9-34.ELsmp/build /usr/src/linux-2.6.9-34.ELsmp /usr/src/linux-2.6.9 /usr/src/kernel-headers-2.6.9-34.ELsmp /usr/src/kernel-source-2.6.9-34.ELsmp /usr/src/linux-2.6 /usr/src/linux' ++ for d in '$KSP' ++ '[' -e /lib/modules/2.6.9-34.ELsmp/build/include/linux ']' ++ echo ++ for d in '$KSP' ++ '[' -e /usr/src/linux-2.6.9-34.ELsmp/include/linux ']' ++ echo ++ for d in '$KSP' ++ '[' -e /usr/src/linux-2.6.9/include/linux ']' ++ echo ++ for d in '$KSP' ++ '[' -e /usr/src/kernel-headers-2.6.9-34.ELsmp/include/linux ']' ++ echo ++ for d in '$KSP' ++ '[' -e /usr/src/kernel-source-2.6.9-34.ELsmp/include/linux ']' ++ echo ++ for d in '$KSP' ++ '[' -e /usr/src/linux-2.6/include/linux ']' ++ echo ++ for d in '$KSP' ++ '[' -e /usr/src/linux/include/linux ']' ++ echo + KSRC= ++ echo ++ awk '{ print $1 }' + KSRC= + '[' -e /include/linux/rhconfig.h ']' + make -C src clean make: Entering directory `/usr/src/whitebox/BUILD/e1000-7.3.15/src' Makefile:65: *** Linux kernel source not found. Stop. make: Leaving directory `/usr/src/whitebox/BUILD/e1000-7.3.15/src' error: Bad exit status from /var/tmp/rpm-tmp.29806 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.29806 (%build) ******************************************************************** Note the line that says 'Linux kernel source not found'. What do I need to do next? Thanks! Mark Torres -- Mark Torres From whitebox at beer.org.uk Thu Dec 14 13:13:28 2006 From: whitebox at beer.org.uk (Vic) Date: Thu Dec 14 14:28:05 2006 Subject: [Whitebox-ia64] Intel S5000VSA NIC Driver Error In-Reply-To: <1166119642.10318.7.camel@mark-salsa> References: <1166119642.10318.7.camel@mark-salsa> Message-ID: <32786.10.0.0.11.1166123608.squirrel@10.0.0.11> > Makefile:65: *** Linux kernel source not found. Stop. You'll need to install the source :-) Try doing yum install kernel-devel first (or kernel-smp-devel if you're doing smp). Vic.