Re: [CentOS] local repo

2011-05-29 Thread Ljubomir Ljubojevic
Steven Crothers wrote:
> Marian,
> 
> He wanted to disable default repos and enable his private mirror
> instead. Your solution would actually not help him. He wants to make
> his personal repo the primary repo for fresh installs, which can only
> be done in %post since centos-release is going to overwrite it. Using
> --disablerepo on a non-existent repo (the problem being expressed)
> wouldn't work in this case.
> 
> Of course another option is to download the centos-release srpm, and
> change the repos built in, or remove the repos entirely and make it
> rely on your-repos.rpm or similar. That's probably a little over the
> top for what you're looking for though.
> 
He can also set exclude=centos-release somewhere (never played with 
kikstarts) and install his own release file, or just yum repolist file 
with his data.

I created several release files and even created small script that 
backups existing and installs one of several sets of repo files.

Ljubomir
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Where is the Centos Linux 5.5 kernel syscall handler for mmap? (Keith Roberts)

2011-05-29 Thread Frank Chang

Keith Roberts, Thank you for your suggestion about doing a grep of the 
source code. We found mmap.S in ../sysdeps/unix/sysv/linux/i386. We looked in 
mmap.S and found a lot of assembly code. Could you please tell us if any of the 
assembly code call the kernel syscall handler for mmap.s?
 Also, we ran make for the kernel Makefile and we obtained the following 
result shown below. Could you please suggest us how to fix the kernel 
Makeconfig so that it skips over libc_pic.os? Thank you for your help. 
 
 
 
gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,
-dynamic-linker=/home/frankc/DQT1/glibc-2.9/lib/ld-linux.so.2 
-B/home/frankc/DQTTest5/csu/ -Wl,
--version-script=/home/frankc/DQTTest5/libc.map 
-Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both 
-nostdlib -nostartfiles -e __libc_main 
-L/home/frankc/DQTTest5 -L/home/frankc/DQTTest5/math 
-L/home/frankc/DQTTest5/elf -L/home/frankc/DQTTest5/dlfcn 
-L/home/frankc/DQTTest5/nss 
-L/home/frankc/DQTTest5/nis -L/home/frankc/DQTTest5/rt 
-L/home/frankc/DQTTest5/resolv 
-L/home/frankc/DQTTest5/crypt -L/home/frankc/DQTTest5/nptl -Wl,
-rpath-link=/home/frankc/DQTTest5:/home/frankc/DQTTest5/math:/home/frankc/DQTTest5/elf:
/home/frankc/DQTTest5/dlfcn:/home/frankc/DQTTest5/nss:/home/frankc/DQTTest5/nis:
/home/frankc/DQTTest5/rt:/home/frankc/DQTTest5/resolv:/home/frankc/DQTTest5/crypt:
/home/frankc/DQTTest5/nptl -o /home/frankc/DQTTest5/libc.so 
-T /home/frankc/DQTTest5/shlib.lds /home/frankc/DQTTest5/csu/abi-note.o 
/home/frankc/DQTTest5/elf/soinit.os /home/frankc/DQTTest5/libc_pic.os /
home/frankc/DQTTest5/elf/sofini.os /home/frankc/DQTTest5/elf/interp.os 
/home/frankc/DQTTest5/elf/ld.so -lgcc
/home/frankc/DQTTest5/libc_pic.os: In function `__libc_fork':
/home/frankc/DQT1/glibc-2.9/posix/../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:79:
 undefined reference to `__sync_bool_compare_and_swap_4'
/home/frankc/DQTTest5/
gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,
-dynamic-linker=/home/frankc/DQT1/glibc-2.9/lib/ld-linux.so.2 
-B/home/frankc/DQTTest5/csu/ -Wl,
--version-script=/home/frankc/DQTTest5/libc.map 
-Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both 
-nostdlib -nostartfiles -e __libc_main 
-L/home/frankc/DQTTest5 -L/home/frankc/DQTTest5/math 
-L/home/frankc/DQTTest5/elf -L/home/frankc/DQTTest5/dlfcn 
-L/home/frankc/DQTTest5/nss 
-L/home/frankc/DQTTest5/nis -L/home/frankc/DQTTest5/rt 
-L/home/frankc/DQTTest5/resolv 
-L/home/frankc/DQTTest5/crypt -L/home/frankc/DQTTest5/nptl -Wl,
-rpath-link=/home/frankc/DQTTest5:/home/frankc/DQTTest5/math:/home/frankc/DQTTest5/elf:
/home/frankc/DQTTest5/dlfcn:/home/frankc/DQTTest5/nss:/home/frankc/DQTTest5/nis:
/home/frankc/DQTTest5/rt:/home/frankc/DQTTest5/resolv:/home/frankc/DQTTest5/crypt:
/home/frankc/DQTTest5/nptl -o /home/frankc/DQTTest5/libc.so 
-T /home/frankc/DQTTest5/shlib.lds /home/frankc/DQTTest5/csu/abi-note.o 
/home/frankc/DQTTest5/elf/soinit.os /home/frankc/DQTTest5/libc_pic.os /
home/frankc/DQTTest5/elf/sofini.os /home/frankc/DQTTest5/elf/interp.os 
/home/frankc/DQTTest5/elf/ld.so -lgcc
/home/frankc/DQTTest5/libc_pic.os: In function `__libc_fork':
/home/frankc/DQT1/glibc-2.9/posix/../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:79:
 undefined reference to `__sync_bool_compare_and_swap_4'
/home/frankc/DQTTest5/libc_pic.os: In function `__nscd_drop_map_ref':
/home/frankc/DQT1/glibc-2.9/nscd/nscd-client.h:320: undefined reference to 
`__sync_fetch_and_add_4'
/home/frankc/DQTTest5/libc_pic.os: In function `nscd_getpw_r':
/home/frankc/DQT1/glibc-2.9/nscd/nscd_getpw_r.c:232: undefined reference to 
`__sync_fetch_and_add_4'
/home/frankc/DQTTest5/libc_pic.os: In function `__nscd_drop_map_ref':
/home/frankc/DQT1/glibc-2.9/nscd/nscd-client.h:320: undefined reference to 
`__sync_fetch_and_add_4'
/home/frankc/DQTTest5/libc_pic.os: In function `nscd_getgr_r':
/home/frankc/DQT1/glibc-2.9/nscd/nscd_getgr_r.c:321: undefined reference to 
`__sync_fetch_and_add_4'
/home/frankc/DQTTest5/libc_pic.os: In function `__nscd_drop_map_ref':
/home/frankc/DQT1/glibc-2.9/nscd/nscd-client.h:320: undefined reference to 
`__sync_fetch_and_add_4'
/home/frankc/DQTTest5/libc_pic.os:/home/frankc/DQT1/glibc-2.9/nscd/nscd_gethst_r.c:400:
 more undefined references to `__sync_fetch_and_add_4' follow
/home/frankc/DQTTest5/libc_pic.os: In function `__nscd_get_map_ref':
/home/frankc/DQT1/glibc-2.9/nscd/nscd_helper.c:431: undefined reference to 
`__sync_val_compare_and_swap_4'
/home/frankc/DQTTest5/libc_pic.os: In function `*__GI___libc_freeres':
/home/frankc/DQT1/glibc-2.9/malloc/set-freeres.c:39: undefined reference to 
`__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
: In function `__nscd_drop_map_ref':
/home/frankc/DQT1/glibc-2.9/nscd/nscd-client.h:320: undefined reference to 
`__sync_fetch_and_add_4'
/home/frankc/DQTTest5/libc_pic.os: In function `nscd_getpw_r':
/home/frankc/DQT1/glibc-2.9/nscd/nscd_getpw_r.c:232: undefined reference to 
`__sync_fetch_and_add_4'
/home/

Re: [CentOS] Where is the Centos Linux 5.5 kernel syscall handler for mmap? (Keith Roberts)

2011-05-29 Thread Benjamin Franz
On 05/29/2011 01:37 AM, Frank Chang wrote:
> Keith Roberts, Thank you for your suggestion about doing a grep of 
> the source code. We found mmap.S in ../sysdeps/unix/sysv/linux/i386. 
> We looked in mmap.S and found a lot of assembly code. Could you please 
> tell us if any of the assembly code call the kernel syscall handler 
> for mmap.s?
>  Also, we ran make for the kernel Makefile and we obtained the 
> following result shown below. Could you please suggest us how to fix 
> the kernel Makeconfig so that it skips over libc_pic.os? Thank you for 
> your help.
>

1) This is probably the wrong list for these questions. More appropriate 
lists can be found here: http://kernelnewbies.org/ML
2) You may want to look at this web page: 
http://www.makelinux.net/kernel_map
3) http://kernelnewbies.org/

-- 
Benjamin Franz
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Why VM?

2011-05-29 Thread Jussi Hirvi
It has been a long thread, but one point that has been mentioned only in 
passing (VMWares "top 5 reasons") is cutting the electricity 
consumption. Maybe this is obvious.

I recently consolidated 8 hardware servers to a single 1U Dell, which 
runs KVM virtualization. The power bill was cut to a fraction! Do the 
same on a bigger scale, and it will be a significant saving. Also it 
reflects on cooling costs. Good for the planet, too.

- Jussi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Why VM?

2011-05-29 Thread Ljubomir Ljubojevic
Jussi Hirvi wrote:
> It has been a long thread, but one point that has been mentioned only in 
> passing (VMWares "top 5 reasons") is cutting the electricity 
> consumption. Maybe this is obvious.
> 
> I recently consolidated 8 hardware servers to a single 1U Dell, which 
> runs KVM virtualization. The power bill was cut to a fraction! Do the 
> same on a bigger scale, and it will be a significant saving. Also it 
> reflects on cooling costs. Good for the planet, too.
> 
> - Jussi
+1
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos