rh9 high memory kernel compile problem at "make modules" Emergency!!

Karasik, Vitaly vkarasik at nds.com
Wed Sep 29 10:43:03 UTC 2004


RH provides kernel-bigmem-2.4.20-31.9.i686.rpm  - binary kernel with >4GB RAM  support.

Regarding kernel compilation - probably "make mrproper" can help; see http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-custom-kernel.html for details.

Rgds,
Vitaly

> -----Original Message-----
> From: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at redhat.com]On Behalf Of Stuart Clark
> Sent: Tue, September 28, 2004 3:33 PM
> To: redhat-list at redhat.com
> Subject: rh9 high memory kernel compile problem at "make modules"
> Emergency!!
> 
> 
> 
> Hi --- NEED HELP URGENT!!!!
> 
> I have RH9 box with 2 gig ram
> 
> RH9 does not recognize the entire ram without high memory support
> 
> So recompile Kernel with high memory support is only option
> 
> But I get big errors when I do 'make modules' (see below)
> 
> What am I doing wrong??????????
> 
> 1) install kernel-source-2.4.20-31.9.i386.rpm 
> rpm -ivh kernel-source-2.4.20-31.9.i386.rpm
> 
> 2) Change to the right directory 
> cd /usr/src/linux-2.4
> 
> 3) Change the kernel config to support more ram 
> make menuconfig
> under Processor Type and Features -> High Memory Support 
> chose 4G and saved
> 
> 4)  make dep
> ok
> 
> 5) make bzImage
> ok
> 
> 6) make modules
> 
> 
> 
> Blah blah ..................
> /usr/src/linux-2.4.20-31.9/include/asm/uaccess.h: In function
> `__constant_copy_from_user':
> /usr/src/linux-2.4.20-31.9/include/asm/uaccess.h:558:
> `boot_cpu_data_R0657d037' undeclared (first use in this function)
> In file included from /usr/src/linux-2.4.20-31.9/include/net/dst.h:12,
>                  from 
> /usr/src/linux-2.4.20-31.9/include/net/sock.h:107,
>                  from cipe.h:69,
>                  from module.c:15:
> /usr/src/linux-2.4.20-31.9/include/net/neighbour.h: In function
> `neigh_confirm':
> /usr/src/linux-2.4.20-31.9/include/net/neighbour.h:233: 
> `jiffies_R0da02d67'
> undeclared (first use in this function)
> /usr/src/linux-2.4.20-31.9/include/net/neighbour.h: In function
> `neigh_event_send':
> /usr/src/linux-2.4.20-31.9/include/net/neighbour.h:248: 
> `jiffies_R0da02d67'
> undeclared (first use in this function)
> In file included from 
> /usr/src/linux-2.4.20-31.9/include/net/sock.h:107,
>                  from cipe.h:69,
>                  from module.c:15:
> /usr/src/linux-2.4.20-31.9/include/net/dst.h: In function 
> `dst_set_expires':
> /usr/src/linux-2.4.20-31.9/include/net/dst.h:149: `jiffies_R0da02d67'
> undeclared (first use in this function)
> In file included from cipe.h:69,
>                  from module.c:15:
> /usr/src/linux-2.4.20-31.9/include/net/sock.h: In function
> `sk_filter_release':
> /usr/src/linux-2.4.20-31.9/include/net/sock.h:959: warning: implicit
> declaration of function `kfree_R037a0cba'
> /usr/src/linux-2.4.20-31.9/include/net/sock.h: In function 
> `sock_orphan':
> /usr/src/linux-2.4.20-31.9/include/net/sock.h:1041: 
> `do_softirq_Rf0a529b7'
> undeclared (first use in this function)
> /usr/src/linux-2.4.20-31.9/include/net/sock.h: In function 
> `sock_graft':
> /usr/src/linux-2.4.20-31.9/include/net/sock.h:1050: 
> `do_softirq_Rf0a529b7'
> undeclared (first use in this function)
> /usr/src/linux-2.4.20-31.9/include/net/sock.h: In function
> `sock_recv_timestamp':
> /usr/src/linux-2.4.20-31.9/include/net/sock.h:1293: warning: implicit
> declaration of function `put_cmsg_Rf39bf4d9'
> module.c: In function `cipe_check_kernel':
> module.c:73: warning: implicit declaration of function 
> `printk_R1b7d4074'
> /usr/src/linux-2.4.20-31.9/include/linux/skbuff.h: In function
> `kunmap_skb_frag':
> /usr/src/linux-2.4.20-31.9/include/linux/skbuff.h:1129: 
> warning: asm operand
> 1 probably doesn't match constraints
> make[3]: *** [module.o] Error 1
> make[3]: Leaving directory 
> `/usr/src/linux-2.4.20-31.9/drivers/addon/cipe'
> make[2]: *** [_modsubdir_cipe] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.20-31.9/drivers/addon'
> make[1]: *** [_modsubdir_addon] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.20-31.9/drivers'
> make: *** [_mod_drivers] Error 2
> [root at proxy linux-2.4]# 
> 
> 
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
***********************************************************************************
Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the postmaster at nds.com and destroy the original message.
***********************************************************************************




More information about the redhat-list mailing list