Hugemem kernel bug in DKMS 0.44.05...patch attached

Amit_Bhutani@Dell.com Amit_Bhutani@Dell.com
Fri Nov 7 07:25:06 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C3A4CE.E03D1A06
Content-Type: text/plain; 
 charset=us-ascii
Content-Transfer-Encoding: 7bit

Gary,
DKMS builds / installs for "hugemem" kernels is broke in ver 0.44.05. The
problem was that DKMS was grabbing the UP kernels config file for the
hugemem kernel resulting in all kinds of unresolved symbols and errors.
Attaching a trivial patch that fixes the problem. 

Thanks,
Amit

-- 
Amit Bhutani
Software Engineer
Dell Linux Solutions www.dell.com/linux
Phone: 512.725.3345
Fax: 512.725.2454

 
 <<dkms_hugemem.patch>> 

------_=_NextPart_000_01C3A4CE.E03D1A06
Content-Type: application/octet-stream; 
 name=dkms_hugemem.patch
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; 
 filename=dkms_hugemem.patch

--- a/dkms	2003-11-06 19:09:38.000000000 -0600=0A=
+++ b/dkms	2003-11-06 19:11:02.000000000 -0600=0A=
@@ -523,7 +523,7 @@=0A=
 	if [ -z "$kernel_config" ] && [ -d "$kernel_source_dir/configs" ]; =
then=0A=
 	    arch_used=3D`uname -m`=0A=
 	    kernel_trunc=3D`echo $kernel_version | sed 's/-.*//'`=0A=
-	    for config_type in debug summit smp enterprise bigmem BOOT; do=0A=
+	    for config_type in debug summit smp enterprise bigmem hugemem =
BOOT; do=0A=
 		if [ `echo "$kernel_version" | grep "$config_type"` ]; then=0A=
 		    [ "$config_type" =3D=3D "BOOT" ] && arch_used=3D"i386"=0A=
 		    =
kernel_config=3D"$kernel_source_dir/configs/kernel-$kernel_trunc-$arch_u=
sed-$config_type.config"=0A=

------_=_NextPart_000_01C3A4CE.E03D1A06--