From shibuthomas at tataelxsi.co.in Fri Dec 10 06:22:02 2010 From: shibuthomas at tataelxsi.co.in (ShibuThomas) Date: Fri, 10 Dec 2010 11:52:02 +0530 Subject: RHEL 6.0 source code build error Message-ID: <4D01C70A.6030605@tataelxsi.co.in> Hi All, I have installed RHEL 6.0(30 days evaluation version) on my PC.It is working fine. But I tried to compile source code it is getting failed: The method I followed to compile RHEL6.0 kernel Source are: 1) I take the package kernel-devel-2.6.32-71.el6.x86_64.rpm and extract it into my directory 2) From 2.6.32-71.el6.x86_64 directory,I executed make command I got the following make error " SYMLINK include/asm -> include/asm-x86 make[1]: *** No rule to make target `missing-syscalls'. Stop. make: *** [prepare0] Error 2 " please let me know how can I rectify this problem Regards, ShibuThomas From ricks at nerd.com Fri Dec 10 17:55:28 2010 From: ricks at nerd.com (Rick Stevens) Date: Fri, 10 Dec 2010 09:55:28 -0800 Subject: RHEL 6.0 source code build error In-Reply-To: <4D01C70A.6030605@tataelxsi.co.in> References: <4D01C70A.6030605@tataelxsi.co.in> Message-ID: <4D026990.6090307@nerd.com> On 12/09/2010 10:22 PM, ShibuThomas wrote: > Hi All, > > I have installed RHEL 6.0(30 days evaluation version) on my PC.It is > working fine. > But I tried to compile source code it is getting failed: > > The method I followed to compile RHEL6.0 kernel Source are: > > 1) I take the package kernel-devel-2.6.32-71.el6.x86_64.rpm and extract > it into my directory > 2) From 2.6.32-71.el6.x86_64 directory,I executed make command > I got the following make error > " SYMLINK include/asm -> include/asm-x86 > make[1]: *** No rule to make target `missing-syscalls'. Stop. > make: *** [prepare0] Error 2 " > > please let me know how can I rectify this problem Note that kernel-devel RPMs are NOT the kernel source code, but rather the makefiles and such necessary to build modules AGAINST the kernel, for example, a new device driver of some sort. If you want the kernel source code RPM (the actual kernel source), then you must download "kernel-2.6.32-71.el6.src.rpm", install it, then use rpmbuild to configure and build it. It appears you've never done this, and the instructions to build a kernel from the source RPM are a bit more complex that I'd care to go into here. I suggest you install rpmbuild and read the manpages for it or find resources on the web about rpmbuild before you go and try to build a kernel. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, C2 Hosting ricks at nerd.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - UNIX is actually quite user friendly. The problem is that it's - - just very picky of who its friends are! - ---------------------------------------------------------------------- From shibuthomas at tataelxsi.co.in Thu Dec 16 08:19:33 2010 From: shibuthomas at tataelxsi.co.in (ShibuThomas) Date: Thu, 16 Dec 2010 13:49:33 +0530 Subject: RHEL 6.0 source code build error In-Reply-To: <4D026990.6090307@nerd.com> References: <4D01C70A.6030605@tataelxsi.co.in> <4D026990.6090307@nerd.com> Message-ID: <4D09CB95.9020508@tataelxsi.co.in> Hi all, Now I compiled and installed customized kernel.The problem I'm facing now is during the loading, it is showing the error:"FATAL ERROR :could not load /lib/modules/2.6.32-custom-22.6.32-71/modules.dep:No such file or directory". I verified the following things. 1. After installation of modules,I found the custom vimlinuz image is available in /boot and 2.6.32-custom- 22.6.32-71 folder is created in lib directory. 2. I modified grub to add the new custom linuz image also in the list.I used the same initramfs file that is used by the default kernel for custom kernel also. 3. restart the system and verified that new kernel image is also available in grub prompt.selected the custom kernel.but I getting above mentioned error message. Regrads ShibuThomas On 12/10/2010 11:25 PM, Rick Stevens wrote: > On 12/09/2010 10:22 PM, ShibuThomas wrote: >> Hi All, >> >> I have installed RHEL 6.0(30 days evaluation version) on my PC.It is >> working fine. >> But I tried to compile source code it is getting failed: >> >> The method I followed to compile RHEL6.0 kernel Source are: >> >> 1) I take the package kernel-devel-2.6.32-71.el6.x86_64.rpm and extract >> it into my directory >> 2) From 2.6.32-71.el6.x86_64 directory,I executed make command >> I got the following make error >> " SYMLINK include/asm -> include/asm-x86 >> make[1]: *** No rule to make target `missing-syscalls'. Stop. >> make: *** [prepare0] Error 2 " >> >> please let me know how can I rectify this problem > > Note that kernel-devel RPMs are NOT the kernel source code, but rather > the makefiles and such necessary to build modules AGAINST the kernel, > for example, a new device driver of some sort. > > If you want the kernel source code RPM (the actual kernel source), then > you must download "kernel-2.6.32-71.el6.src.rpm", install it, then use > rpmbuild to configure and build it. > > It appears you've never done this, and the instructions to build a > kernel from the source RPM are a bit more complex that I'd care to go > into here. I suggest you install rpmbuild and read the manpages for it > or find resources on the web about rpmbuild before you go and try to > build a kernel. > ---------------------------------------------------------------------- > - Rick Stevens, Systems Engineer, C2 Hosting ricks at nerd.com - > - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - > - - > - UNIX is actually quite user friendly. The problem is that it's - > - just very picky of who its friends are! - > ---------------------------------------------------------------------- > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > From shibuthomas at tataelxsi.co.in Thu Dec 16 09:50:04 2010 From: shibuthomas at tataelxsi.co.in (ShibuThomas) Date: Thu, 16 Dec 2010 15:20:04 +0530 Subject: RHEL 6.0 source code build error In-Reply-To: <4D09CB95.9020508@tataelxsi.co.in> References: <4D01C70A.6030605@tataelxsi.co.in> <4D026990.6090307@nerd.com> <4D09CB95.9020508@tataelxsi.co.in> Message-ID: <4D09E0CC.1030308@tataelxsi.co.in> Hi All, It get solved. The problem was the custom kernel didn't have there own initramfs file. In my case I used the initramfs of the default kernel.Now I create new initramfs of my custom kernel using the command "dracut "initramfs-$(uname -r).img" $(uname -r)". Finally it is getting working fine. Regards, ShibuThomas On 12/16/2010 1:49 PM, ShibuThomas wrote: > Hi all, > Now I compiled and installed customized kernel.The problem I'm facing > now is during the loading, it is > showing the error:"FATAL ERROR :could not load > /lib/modules/2.6.32-custom-22.6.32-71/modules.dep:No such file or > directory". > I verified the following things. > 1. After installation of modules,I found the custom vimlinuz image is > available in /boot and 2.6.32-custom- 22.6.32-71 folder is > created in lib directory. > > 2. I modified grub to add the new custom linuz image also in the > list.I used the same initramfs file that is used by the default > kernel for custom kernel also. > > 3. restart the system and verified that new kernel image is also > available in grub prompt.selected the custom kernel.but I getting > above mentioned error message. > > Regrads > ShibuThomas > > > On 12/10/2010 11:25 PM, Rick Stevens wrote: >> On 12/09/2010 10:22 PM, ShibuThomas wrote: >>> Hi All, >>> >>> I have installed RHEL 6.0(30 days evaluation version) on my PC.It is >>> working fine. >>> But I tried to compile source code it is getting failed: >>> >>> The method I followed to compile RHEL6.0 kernel Source are: >>> >>> 1) I take the package kernel-devel-2.6.32-71.el6.x86_64.rpm and extract >>> it into my directory >>> 2) From 2.6.32-71.el6.x86_64 directory,I executed make command >>> I got the following make error >>> " SYMLINK include/asm -> include/asm-x86 >>> make[1]: *** No rule to make target `missing-syscalls'. Stop. >>> make: *** [prepare0] Error 2 " >>> >>> please let me know how can I rectify this problem >> >> Note that kernel-devel RPMs are NOT the kernel source code, but rather >> the makefiles and such necessary to build modules AGAINST the kernel, >> for example, a new device driver of some sort. >> >> If you want the kernel source code RPM (the actual kernel source), then >> you must download "kernel-2.6.32-71.el6.src.rpm", install it, then use >> rpmbuild to configure and build it. >> >> It appears you've never done this, and the instructions to build a >> kernel from the source RPM are a bit more complex that I'd care to go >> into here. I suggest you install rpmbuild and read the manpages for it >> or find resources on the web about rpmbuild before you go and try to >> build a kernel. >> ---------------------------------------------------------------------- >> - Rick Stevens, Systems Engineer, C2 Hosting ricks at nerd.com - >> - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - >> - - >> - UNIX is actually quite user friendly. The problem is that it's - >> - just very picky of who its friends are! - >> ---------------------------------------------------------------------- >> >> _______________________________________________ >> Redhat-install-list mailing list >> Redhat-install-list at redhat.com >> https://www.redhat.com/mailman/listinfo/redhat-install-list >> To Unsubscribe Go To ABOVE URL or send a message to: >> redhat-install-list-request at redhat.com >> Subject: unsubscribe >> > > > > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > From shibuthomas at tataelxsi.co.in Fri Dec 17 11:02:41 2010 From: shibuthomas at tataelxsi.co.in (ShibuThomas) Date: Fri, 17 Dec 2010 16:32:41 +0530 Subject: RHEL 6.0 source code build error In-Reply-To: <4D026990.6090307@nerd.com> References: <4D01C70A.6030605@tataelxsi.co.in> <4D026990.6090307@nerd.com> Message-ID: <4D0B4351.4090102@tataelxsi.co.in> Hi All, How can I use Trusted grub instead of normal grub with RHEL6.0. Can anyone help me to downland Trusted grub, Its compilation and installation. Regards, ShibuThomas From shibuthomas at tataelxsi.co.in Sun Dec 19 06:41:44 2010 From: shibuthomas at tataelxsi.co.in (ShibuThomas) Date: Sun, 19 Dec 2010 12:11:44 +0530 Subject: How can I install Trusted GRUB in RHEL 6.0 Message-ID: <4D0DA928.9050900@tataelxsi.co.in> Hi All, How can I use Trusted grub instead of normal grub with RHEL6.0. Can anyone help me for Its compilation and installation. Regards, ShibuThomas From shibuthomas at tataelxsi.co.in Wed Dec 22 07:12:13 2010 From: shibuthomas at tataelxsi.co.in (ShibuThomas) Date: Wed, 22 Dec 2010 12:42:13 +0530 Subject: Install an rpm package into different direcoty. Message-ID: <4D11A4CD.2080203@tataelxsi.co.in> Hi, Please let me know is it possible to install binutils rpm package into /opt directory?. I know that rpm -ivh package-name will install it into default directory.Instead of that I need to install the same into some other directory.How this can be achieve? Regards, SHibuThomas From guifre.bosch at gmail.com Wed Dec 22 08:08:18 2010 From: guifre.bosch at gmail.com (Guifre Bosch Fabregas) Date: Wed, 22 Dec 2010 09:08:18 +0100 Subject: Install an rpm package into different direcoty. In-Reply-To: <4D11A4CD.2080203@tataelxsi.co.in> References: <4D11A4CD.2080203@tataelxsi.co.in> Message-ID: For curious. Why you need this? You can use a softlink in this case. On Dec 22, 2010 8:18 AM, "ShibuThomas" wrote: > > Hi, > > Please let me know is it possible to install binutils rpm package into /opt directory?. > > I know that rpm -ivh package-name will install it into default directory.Instead of that I need to install the same into some other directory.How this can be achieve? > > Regards, > SHibuThomas > > > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe -------------- next part -------------- An HTML attachment was scrubbed... URL: From ricks at nerd.com Wed Dec 22 17:19:51 2010 From: ricks at nerd.com (Rick Stevens) Date: Wed, 22 Dec 2010 09:19:51 -0800 Subject: RHEL 6.0 source code build error In-Reply-To: <4D0B4351.4090102@tataelxsi.co.in> References: <4D01C70A.6030605@tataelxsi.co.in> <4D026990.6090307@nerd.com> <4D0B4351.4090102@tataelxsi.co.in> Message-ID: <4D123337.6090506@nerd.com> On 12/17/2010 03:02 AM, ShibuThomas wrote: > Hi All, > > How can I use Trusted grub instead of normal grub with RHEL6.0. > > Can anyone help me to downland Trusted grub, Its compilation and > installation. You probably need to pull down the tarball for trusted grub and install it based on the instructions in the README or INSTALL document. While I can't speak for it directly, it'd be something like: (download to a working directory) tar xzf TrustedGRUB.1.1.5.tar.gz cd TrustedGRUB.1.1.5 and view the README file. Pretty straightforward. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, C2 Hosting ricks at nerd.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - Do you know where _your_ towel is? - ---------------------------------------------------------------------- From shibuthomas at tataelxsi.co.in Thu Dec 23 05:14:57 2010 From: shibuthomas at tataelxsi.co.in (ShibuThomas) Date: Thu, 23 Dec 2010 10:44:57 +0530 Subject: Trusted Grub Build error In-Reply-To: <4D123337.6090506@nerd.com> References: <4D01C70A.6030605@tataelxsi.co.in> <4D026990.6090307@nerd.com> <4D0B4351.4090102@tataelxsi.co.in> <4D123337.6090506@nerd.com> Message-ID: <4D12DAD1.3020005@tataelxsi.co.in> Hi, while configuring Trusted grub , cd TrustedGRUB1.1.5 >./configure we got the error "configure error: C Compiler can't create executable." We solved this error by editing configure file with if test "x$host_cpu" = xx86_64; then CFLAGS= Instead of -m32 "-m64 $CFLAGS -fno-stack-protector" else CFLAGS="$CFLAGS -fno-stack-protector" while make, we are getting disk_io.c :151:Error:Incorrect register ''%rax" used with "l" sufix. Please find the attached config.log file more details. Please let me know how can I rectify this error. Regards, ShibuThomas On 12/22/2010 10:49 PM, Rick Stevens wrote: > On 12/17/2010 03:02 AM, ShibuThomas wrote: >> Hi All, >> >> How can I use Trusted grub instead of normal grub with RHEL6.0. >> >> Can anyone help me to downland Trusted grub, Its compilation and >> installation. > > You probably need to pull down the tarball for trusted grub and install > it based on the instructions in the README or INSTALL document. While > I can't speak for it directly, it'd be something like: > > (download to a working directory) > tar xzf TrustedGRUB.1.1.5.tar.gz > cd TrustedGRUB.1.1.5 > > and view the README file. Pretty straightforward. > ---------------------------------------------------------------------- > - Rick Stevens, Systems Engineer, C2 Hosting ricks at nerd.com - > - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - > - - > - Do you know where _your_ towel is? - > ---------------------------------------------------------------------- > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: config.log URL: From sam.peng at foxconn.com Thu Dec 23 07:01:22 2010 From: sam.peng at foxconn.com (sam.peng at foxconn.com) Date: Thu, 23 Dec 2010 01:01:22 -0600 Subject: Sam Peng/USA/FOXCONN is out of the office. Message-ID: I will be out of the office starting 12/20/2010 and will not return until 01/03/2011. I will be out of office during 12/20/10 to 1/2/2011. If there is any production support need, please contact my back up Allen Lin ( allen.y.lin at foxconn.com ). Regards, Sam Peng Foxconn CMMSG NA IT - COI, CA US Office# 17145253688*8124 , VoIP# 520-6459 US Mobile# 17148634015 IM: sjpeng at hotmail.com From ricks at nerd.com Thu Dec 23 17:58:18 2010 From: ricks at nerd.com (Rick Stevens) Date: Thu, 23 Dec 2010 09:58:18 -0800 Subject: Trusted Grub Build error In-Reply-To: <4D12DAD1.3020005@tataelxsi.co.in> References: <4D01C70A.6030605@tataelxsi.co.in> <4D026990.6090307@nerd.com> <4D0B4351.4090102@tataelxsi.co.in> <4D123337.6090506@nerd.com> <4D12DAD1.3020005@tataelxsi.co.in> Message-ID: <4D138DBA.5060605@nerd.com> On 12/22/2010 09:14 PM, ShibuThomas wrote: > Hi, > > while configuring Trusted grub , > > cd TrustedGRUB1.1.5 >./configure > > we got the error "configure error: C Compiler can't create executable." > > We solved this error by editing configure file with if test "x$host_cpu" > = xx86_64; then > CFLAGS= Instead of -m32 "-m64 $CFLAGS -fno-stack-protector" > else > CFLAGS="$CFLAGS -fno-stack-protector" > > while make, > we are getting > disk_io.c :151:Error:Incorrect register ''%rax" used with "l" sufix. > > Please find the attached config.log file more details. > > Please let me know how can I rectify this error. I wouldn't even try. This looks to be an issue with the assembly language either embedded in the disk_io.c file at line 151 or the assembly spit out by the C compiler at that point (probably embedded assembly). I don't know enough about assembly language on 64-bit machines to comment. This is not an issue you have with Red Hat, it's an issue with trusted grub--specifically on 64-bit machines. You should contact the trusted grub developers and see if they have a fix. > On 12/22/2010 10:49 PM, Rick Stevens wrote: >> On 12/17/2010 03:02 AM, ShibuThomas wrote: >>> Hi All, >>> >>> How can I use Trusted grub instead of normal grub with RHEL6.0. >>> >>> Can anyone help me to downland Trusted grub, Its compilation and >>> installation. >> >> You probably need to pull down the tarball for trusted grub and install >> it based on the instructions in the README or INSTALL document. While >> I can't speak for it directly, it'd be something like: >> >> (download to a working directory) >> tar xzf TrustedGRUB.1.1.5.tar.gz >> cd TrustedGRUB.1.1.5 >> >> and view the README file. Pretty straightforward. >> ---------------------------------------------------------------------- >> - Rick Stevens, Systems Engineer, C2 Hosting ricks at nerd.com - >> - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - >> - - >> - Do you know where _your_ towel is? - >> ---------------------------------------------------------------------- >> >> _______________________________________________ >> Redhat-install-list mailing list >> Redhat-install-list at redhat.com >> https://www.redhat.com/mailman/listinfo/redhat-install-list >> To Unsubscribe Go To ABOVE URL or send a message to: >> redhat-install-list-request at redhat.com >> Subject: unsubscribe >> > > -- ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, C2 Hosting ricks at nerd.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - grep me no patterns and I'll tell you no lines - ---------------------------------------------------------------------- From shibuthomas at tataelxsi.co.in Tue Dec 28 10:28:46 2010 From: shibuthomas at tataelxsi.co.in (ShibuThomas) Date: Tue, 28 Dec 2010 15:58:46 +0530 Subject: Regarding uncompressing of Initramfs In-Reply-To: <4D123337.6090506@nerd.com> References: <4D01C70A.6030605@tataelxsi.co.in> <4D026990.6090307@nerd.com> <4D0B4351.4090102@tataelxsi.co.in> <4D123337.6090506@nerd.com> Message-ID: <4D19BBDE.8050807@tataelxsi.co.in> Dear All, I need to edit /init file in initramfs generated for my custom kernel.Initramfs is created using dracut. How can I unzip the newly created initramfs.img and again compress into the same as it is before?. Regards, ShibuThomas From shibuthomas at tataelxsi.co.in Tue Dec 28 13:02:28 2010 From: shibuthomas at tataelxsi.co.in (ShibuThomas) Date: Tue, 28 Dec 2010 18:32:28 +0530 Subject: RHEL iso image installation Message-ID: <4D19DFE4.6080508@tataelxsi.co.in> Hi All, I have downloaded RHEL-server-6.0-x86_64-dvd.iso image. I need to install this iso image in linux without burning it into DVD. I mounted this iso image in a particular folder. But i didn't find any installation scripts. Please let me know the steps needed to instal this iso image. Regards, Kannan P From guifre.bosch at gmail.com Tue Dec 28 13:19:03 2010 From: guifre.bosch at gmail.com (Guifre Bosch Fabregas) Date: Tue, 28 Dec 2010 14:19:03 +0100 Subject: RHEL iso image installation In-Reply-To: <4D19DFE4.6080508@tataelxsi.co.in> References: <4D19DFE4.6080508@tataelxsi.co.in> Message-ID: you don't have a DVD? you have a usb? I If you like to install from a Hard Drive you can see this document: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/3/html/Installation_Guide_x8664/s1-begininstall-hd.html Regards, guif 2010/12/28 ShibuThomas > Hi All, > > I have downloaded RHEL-server-6.0-x86_64-dvd.iso image. I need to > install this iso image in linux without burning it into DVD. I mounted this > iso image in a particular folder. But i didn't find any installation > scripts. Please let me know the steps needed to instal this iso image. > > Regards, > Kannan P > > > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > -- Guifre Bosch Fabregas Tlf.: 687911075 -------------- next part -------------- An HTML attachment was scrubbed... URL: From shibuthomas at tataelxsi.co.in Fri Dec 31 03:22:24 2010 From: shibuthomas at tataelxsi.co.in (ShibuThomas) Date: Fri, 31 Dec 2010 08:52:24 +0530 Subject: Regarding modification of Initramfs Message-ID: <4D1D4C70.6000808@tataelxsi.co.in> Hi All, As part of our new product development,we identified RHEL 6.0 as our distribution. We done the customization of kernel and create new initramfs for the custom kernel using dracut. But fount that /init script in the initramfs is somewhat complex. Can I replace this /init function alone with my simplified init script?. My init script contains 1)mount proc 2)mount sys 3)mount rootfilesystem 4) unmount proc,sys 5) switch root into /sbin/initqueue. Can you please help me to understand code flow of init script used in initramfs?. Regards, ShibuThomas From shibuthomas at tataelxsi.co.in Fri Dec 31 04:07:12 2010 From: shibuthomas at tataelxsi.co.in (ShibuThomas) Date: Fri, 31 Dec 2010 09:37:12 +0530 Subject: Run an executable from InitRamfs Message-ID: <4D1D56F0.30206@tataelxsi.co.in> Hi ALL, Is it possible to execute my application(eg.hello world program) from initramfs before switching to /sbin/init and after the execution of my application I want to execute kernel Init?. I generate my initramfs using dracut command. My objective :from the initramfs itself I want to run an application which will authenticate server in the network. Regards, ShibuThomas