Re: [CentOS-docs] Broadcom's BCM4311-, BCM4312-, BCM4321-, and BCM4322-based hardware install manual

2009-12-23 Thread Alan Bartlett
2009/12/22 Milos Blazevic milos.blaze...@sbb.rs:

 OK then, I'll take your sillence as an approval of the manual and remove
 the DRAFT tag and move it to *Making Wireless work on your laptop (or
 desktop)
 *So if anyone has any final suggestions or comments I'd be happy to hear
 it before this goes official.

O.k. Milos, please go for it. :-) Once the guide is in place, I'm sure
that a little spot of polishing will eventually occur.

I would suggest that it is linked here --
http://wiki.centos.org/HowTos/Laptops/Wireless#head-320d6fcf09b7e16e0b15d19ef76adcb023a95938

Ralph -- What's your view? Any opinion, please?

Regards,
Alan.
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Broadcom's BCM4311-, BCM4312-, BCM4321-, and BCM4322-based hardware install manual

2009-12-23 Thread Mathieu Baudier
 OK then, I'll take your sillence as an approval of the manual and remove
 the DRAFT tag and move it to *Making Wireless work on your laptop (or
 desktop)
 *So if anyone has any final suggestions or comments I'd be happy to hear
 it before this goes official.

Sorry, for not testing sooner.

I took some time this morning and could update my driver using the
latest kernel update!

Here are my comments:

1. There is a typo in: mkdir -P /usr/local/src/hybrid-wl
mkdir takes the -p option (lower case)

2. I could not perform: modprobe wl.ko
but:
insmod wl.ko
works

3. I did not need to define all the aliases, neither remove all b43
stuff (I'm on a CentOS x86_64)
Since I prefer not to diverge too much from the base system, I left it
like that.

4. Interestingly I tried to define TYPEDEF_BOOL via the command line
(which would avoid the modification of the files):
make -C /lib/modules/`uname -r`/build/ M=$BUILD_DIR MODFLAGS=-DTYPEDEF_BOOL
It builds without error, and the module can be inserted, but then it
is not working (wlan networks are not found)

More generally my question would be: if we would automate this
procedure in a RPM (including the download from Broadcom website),
would it count as redistribution??

Please find below for reference the script and patch I used for my testing.
(please note: that the module is built in a temporary directory in
order to keep the source directory read-only)

Thanks for the hard work!

Mathieu

##
## broadcom.sh
##
#!/bin/sh

WL_VERSION=v5.10.91.9.3
WL_ARCH=x86_64
SRC_DIR=/usr/local/src/broadcom-hybrid-wl-$WL_ARCH-$WL_VERSION
BUILD_DIR=/tmp/wlbuild

# Step 1: Prerequisites
sudo /sbin/lspci | grep Broadcom
sudo yum install kernel-headers kernel-devel gcc

# Step 2: Retrieve sources
sudo mkdir -p $SRC_DIR
sudo cp -v broadcom-wl.patch $SRC_DIR
cd /tmp  wget -N
http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-$WL_ARCH-$WL_VERSION.tar.gz
cd $SRC_DIR  sudo tar -xzf /tmp/hybrid-portsrc-$WL_ARCH-$WL_VERSION.tar.gz

# Step 3: Build as unprivileged user
mkdir $BUILD_DIR
cp -r $SRC_DIR/* $BUILD_DIR
cd $BUILD_DIR
#make -C /lib/modules/`uname -r`/build/ M=$BUILD_DIR MODFLAGS=-DTYPEDEF_BOOL
patch -Np1  $SRC_DIR/broadcom-wl.patch
make -C /lib/modules/`uname -r`/build/ M=`pwd`
strip --strip-debug $BUILD_DIR/wl.ko

# Step 4a: Check that the new module can be loaded
#sudo /sbin/rmmod bcm43xx
#sudo /sbin/rmmod b43
#sudo /sbin/rmmod b43legacy
#sudo /sbin/rmmod ndiswrapper
#sudo /sbin/modprobe ieee80211_crypt_tkip

#sudo /sbin/rmmod wl
sudo /sbin/insmod $BUILD_DIR/wl.ko
#sudo /sbin/service NetworkManager restart

# Step 4b: Install
sudo cp -v $BUILD_DIR/wl.ko /lib/modules/`uname -r`/extra/
sudo /sbin/depmod $(uname -r)
sudo /sbin/modprobe wl
#sudo /sbin/service NetworkManager restart

# Clean up
rm -vf /tmp/hybrid-portsrc-*.tar.gz
rm -rf $BUILD_DIR


##
## broadcom-wl.patch
##

diff -Naur hybrid-portsrc/src/include/typedefs.h
hybrid-portsrc-mod/src/include/typedefs.h
--- hybrid-portsrc/src/include/typedefs.h   2009-09-16 00:25:27.0 
+0200
+++ hybrid-portsrc-mod/src/include/typedefs.h   2009-12-23
12:32:15.0 +0100
@@ -65,11 +65,11 @@

 #ifdef USE_TYPEDEF_DEFAULTS
 #undef USE_TYPEDEF_DEFAULTS
-
+/*
 #ifndef TYPEDEF_BOOL
 typedef unsigned char  bool;
 #endif
-
+*/
 #ifndef TYPEDEF_UCHAR
 typedef unsigned char  uchar;
 #endif
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-es] Ayuda con chpasswd

2009-12-23 Thread Rolando Arteaga Lamar

 2009/12/22 Rolando Arteaga Lamar roly08...@cha.jovenclub.cu:

 Hola listeros, necesito implementar este script en mi trabajo. Este
 script
 es para cambiar la contraseña via web al servidor squid. Yo compilo el
 programa, pero cuando trato de instalarlo me da un error es el
 siquiente.


 [r...@servidor chpasswd-2.2.3]# make
 gcc -c  -O2 -w  -I. -DPACKAGE_NAME=3D\\ -DPACKAGE_TARNAME=3D\\
 -DPACKAGE_VERSION=3D\\ -DPACKAGE_STRING=3D\\
 -DPACKAGE_BUGREPORT=3D\=
  \
  -DHAVE_LIBCRYPT=3D1 -DHAVE_DIRENT_H=3D1 -DSTDC_HEADERS=3D1
 -DHAVE_SYS_TYP=
  ES_H=3D1
  -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1
 -DHAVE_MEMO=
  RY_H=3D1
  -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1
 -DHAVE_UNI=
  STD_H=3D1
  -DHAVE_CRYPT_H=3D1 -DHAVE_PWD_H=3D1 -DHAVE_STDIO_H=3D1
 -DHAVE_STDLIB_H=3D=
  1
  -DHAVE_SYS_STAT_H=3D1 -DHAVE_SYS_TIME_H=3D1 -DHAVE_TIME_H=3D1
 -DHAVE_UNIS=
  TD_H=3D1
  -DHAVE_STRSTR=3D1  -DPREFIX=3D\/etc/chpasswd\  -DSpanish chpasswd.c
  chpasswd.c:286: error: la declaraci=C3=B3n static de
  =E2=80=98htoi=E2=80=99=
  a continuaci=C3=B3n de
  una no static
  chpasswd.c:269: error: la declaraci=C3=B3n impl=C3=ADcita previa de
  =E2=80=
  =98htoi=E2=80=99 estaba aqu=C3=AD
  make: *** [chpasswd.o] Error 1



 Este es el error en el archivo, chpasswd.c, es en la linea 286, 269. y
 en
 la linea de htoi.

 Acabo de bajar este paquete y efectivamente en la línea 286 aparece
 una declaración static int antes de una función, comentada (con
 doble barra // al principio). Si sacas esa doble barra se produce el
 error.

 El error se produce porque esa declaración ya no concuerda con un uso
 anterior de la función, que *no* lleva el static, que está en la línea
 270.

 Al configurar con --enable-language=Spanish y compilar con make, a mí
 no se me produce el error y compila perfecto. Tengo CentOS 5.4 al día.
 Calculo que has aplicado algún patch que no ha considerado el asunto
 del modificador static.

 Sugerencia: agrega al archivo conf.h, al final, una línea que diga
 exactamente:

 static int htoi(s);

 Y vuelve a compilar.


hola gracias por todo y a todos pero ya resolvi, descargue una nueva
versión del script y se acabo, se instalo y compilo a la perfección.
les dejo el link para que el que quiera utilizarlo puedea resolver..


http://hivelocity.dl.sourceforge.net/project/orsochpasswd/orsochpasswd/chpasswd-2.2.4/chpasswd-2.2.4.tar.gz


Salu2s a todos...



-- 

0[*_*]0
Rolando Arteaga


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


Re: [CentOS-es] Configurar Samba con winxp

2009-12-23 Thread David González Romero
Gustavo Riego wrote:

 Necesito saber por favor como compartir una carpeta en centos con winxp

O sea te refieres compartir un DIRECTORIO en CentOS para que un Windows 
XP lo pueda leer??

uno tiene que hacer preguntas bien hechas... o al menos bien redactadas.

Un buen manual para esto aqui:

http://www.alcancelibre.org/staticpages/index.php/como-samba-basico

Saludos,
David


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


[CentOS-es] (sin asunto)

2009-12-23 Thread ces can

Saludos:

 

Tengo un problema con xen, lo que pasa es que tengo servidores 
paravirtualizados dentro de un servidor HP PRoliant ML350 tiene 3 GB de memoria 
estos servidores estan por lo menos como 3 meses sin apagar(me refiero a los 
paravirtualizados especificamente) pero cuando los reinicio se que da en la 
parte que dice Buscando nuevo hardware , para que pueda iniciar correctamente 
tengo que reiniciar el servidor fisico que los contiene, esa es la unica manera 
que he podido hacerlos iniciar correctamente, por favor si alguien me puede 
ayudar.

 

Gracias.

 

 
  
_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] problemas con xen

2009-12-23 Thread ces can

Saludos:
 
Tengo un problema con xen, lo que pasa es que tengo servidores 
paravirtualizados dentro de un servidor HP PRoliant ML350 tiene 3 GB de memoria 
estos servidores estan por lo menos como 3 meses sin apagar(me refiero a los 
paravirtualizados especificamente) pero cuando los reinicio se que da en la 
parte que dice Buscando nuevo hardware , para que pueda iniciar correctamente 
tengo que reiniciar el servidor fisico que los contiene, esa es la unica manera 
que he podido hacerlos iniciar correctamente, por favor si alguien me puede 
ayudar.
 
Gracias.
  
_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS] advanced routing, 2isp

2009-12-23 Thread David Hláčik
Guys,

please I have no luck with this. I have 2 ISPS. I have working
configuration with ip route a 2 routing tables in a way, that matching
local subnet uses second provider while all the others are using the
first one - main.

The main problem I am having is, that I am unable to reach my router
via public ip address of that second ISP.

This is my default routing table

[r...@sx1 cron.hourly]# ip route show table main
194.228.196.39 dev ppp0  proto kernel  scope link  src 90.178.76.117
10.123.50.101 dev ppp2  proto kernel  scope link  src 10.123.50.1
10.123.50.100 dev ppp1  proto kernel  scope link  src 10.123.50.1
213.194.242.0/24 dev eth1  proto kernel  scope link  src 213.194.242.198
10.123.20.0/24 dev eth0  proto kernel  scope link  src 10.123.20.1
10.123.10.0/24 dev eth0  proto kernel  scope link  src 10.123.10.11
10.123.11.0/24 dev eth0.8  proto kernel  scope link  src 10.123.11.1
10.123.42.0/24 dev eth0.5  proto kernel  scope link  src 10.123.42.1
10.123.123.0/24 dev eth0.7  proto kernel  scope link  src 10.123.123.1
10.123.40.0/24 dev eth0.4  proto kernel  scope link  src 10.123.40.1
10.123.30.0/24 dev eth0  proto kernel  scope link  src 10.123.30.1
10.123.44.0/24 dev eth0.6  proto kernel  scope link  src 10.123.44.1
169.254.0.0/16 dev eth0.8  scope link
default via 213.194.242.1 dev eth1

As you can see , my default provider has gateway 213.192.252.1 ,
connected via eth1 . This works fine for me.

Second configuration is ip rule based, when subnet 10.123.123.0/24
goes to routing table adsl

[r...@sx1 cron.hourly]# ip rule show
0: from all lookup 255
32764: from all fwmark 0x1 lookup adsl-vpn
32765: from 10.123.123.0/24 lookup adsl
32766: from all lookup main
32767: from all lookup default

[r...@sx1 cron.hourly]# ip route show table adsl
194.228.196.39 dev ppp0  scope link  src 90.178.76.117
10.123.123.0/24 dev eth0.7  scope link  src 10.123.123.1
default via 194.228.196.39 dev ppp0

As you can see in this case, all trafic goes via ppp0 (my second
internet provider connected via ppp0 - adsl ppoe).

This works fine.

What I want to achieve is, now being able to ping /access/whatever to
my server via second public IP address of my adsl provider
(90.178.76.117).
To achieve this i have added iptables rule, which marks all packets
comming via ppp0 (iptables -t mangle -A PREROUTING -i ppp0 -j MARK
--set-mark 0x1).

And created another routing table named adsl-vpn

[r...@sx1 cron.hourly]# ip route show table adsl-vpn
194.228.196.39 dev ppp0  scope link  src 90.178.76.117
10.123.10.0/24 dev eth0  scope link  src 10.123.10.11
default via 194.228.196.39 dev ppp0

Now i have added ip rule, which for all packets marked as 1 , which
are the ones which came trough ppp0 = my second ISP, uses table
adsl-vpn

[r...@sx1 cron.hourly]# ip rule show
0: from all lookup 255
32764: from all fwmark 0x1 lookup adsl-vpn  --- this one
32765: from 10.123.123.0/24 lookup adsl
32766: from all lookup main
32767: from all lookup default

Well, now I should be able definitely to ping my server from outside,
but it does not works

Pinging from windows machine in outside world :

C:\Users\bossping 90.178.76.117
Pinging 90.178.76.117 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 90.178.76.117:
Packets: Sent = 3, Received = 0, Lost = 3 (100% loss),

If i will tcpdump my ppp0 interface on my router I see the ICMP echo
requests are comming

[r...@sx1 cron.hourly]# tcpdump -i ppp0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes
09:08:27.743789 IP adsl-dyn118.78-98-105.t-com.sk 
gw2.cz.polarion.com: ICMP echo request, id 1, seq 72, length 40

But, echo responses  from my server NOT, instead of that, responses
are comming out of eth1 interface , which is my first ISP!

[r...@sx1 cron.hourly]# tcpdump -i eth1 |grep ICMP
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
09:09:30.451706 IP gw2.cz.polarion.com 
adsl-dyn118.78-98-105.t-com.sk: ICMP echo reply, id 1, seq 73, length
40
09:09:35.409704 IP gw2.cz.polarion.com 
adsl-dyn118.78-98-105.t-com.sk: ICMP echo reply, id 1, seq 74, length
40

This means that either mange is not working or ip rule is not working .

Please help,
David
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables ... *BSD pf ... pfSense

2009-12-23 Thread Jure Pečar
On Tue, 22 Dec 2009 19:22:23 +0100
Götz Reinicke - IT Koordinator goetz.reini...@filmakademie.de wrote:


 http://www.pfsense.org/
 
 What do you think?

Running in production since 0.9 or so. 1Gbit of traffic, carp failover, 
multiple vlans, all kinds of VPN, etc.

I have to think hard to come up with something that I don't like about pfsense 
... lack of IPv6 support could be one such minus.


-- 

Jure Pečar
http://jure.pecar.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] eME627-5082 laptop and Linux?

2009-12-23 Thread Scott Ehrlich
Anyone have experience with this laptop running C5 5.4 32 or 64-bit?
Any known problems/issues?

Thanks.

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


[CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
Dear All
I want to add yum to my CentOS 5.2 so I downloaded the rpm package from
the www.pbone.net . But I didn't have success in installing it so please let
me know if there is another way to accomplish this job ?
Thank you in advance
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread Ray Van Dolson
On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
 Dear All
 I want to add yum to my CentOS 5.2 so I downloaded the rpm package from
 the www.pbone.net . But I didn't have success in installing it so please let
 me know if there is another way to accomplish this job ?
 Thank you in advance

Yum is installed by default in CentOS 5.x.  Just run 'yum'.

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson ra...@bludgeon.org wrote:

  On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
  Dear All
  I want to add yum to my CentOS 5.2 so I downloaded the rpm package from
  the www.pbone.net . But I didn't have success in installing it so please
 let
  me know if there is another way to accomplish this job ?
  Thank you in advance

 Yum is installed by default in CentOS 5.x.  Just run 'yum'.

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



Thanks for your reply . But for unknown reasons the yum is not available on
my CentOS .
[r...@mss-1 tmp]# more /etc/redhat-release
CentOS release 5.2 (Final)
[r...@mss-1 tmp]# yum
-bash: yum: command not found
Can you please let me know how can I install it ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread Ray Van Dolson
On Wed, Dec 23, 2009 at 12:03:58PM +, hadi motamedi wrote:
 On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson ra...@bludgeon.org wrote:
 
   On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
   Dear All
   I want to add yum to my CentOS 5.2 so I downloaded the rpm package from
   the www.pbone.net . But I didn't have success in installing it so please
  let
   me know if there is another way to accomplish this job ?
   Thank you in advance
 
  Yum is installed by default in CentOS 5.x.  Just run 'yum'.
 
 
 Thanks for your reply . But for unknown reasons the yum is not available on
 my CentOS .
 [r...@mss-1 tmp]# more /etc/redhat-release
 CentOS release 5.2 (Final)
 [r...@mss-1 tmp]# yum
 -bash: yum: command not found
 Can you please let me know how can I install it ?

Strange.  What's the output of rpm -q yum?

You could manually install the RPM's from:

  http://mirror.stanford.edu/yum/pub/centos/5/os/

Pick the correct architecture... and you'll have to resolve some
dependancies manually.

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Wed, Dec 23, 2009 at 12:08 PM, Ray Van Dolson ra...@bludgeon.org wrote:

 On Wed, Dec 23, 2009 at 12:03:58PM +, hadi motamedi wrote:
  On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson ra...@bludgeon.org
 wrote:
 
On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
Dear All
I want to add yum to my CentOS 5.2 so I downloaded the rpm package
 from
the www.pbone.net . But I didn't have success in installing it so
 please
   let
me know if there is another way to accomplish this job ?
Thank you in advance
  
   Yum is installed by default in CentOS 5.x.  Just run 'yum'.
  
 
  Thanks for your reply . But for unknown reasons the yum is not available
 on
  my CentOS .
  [r...@mss-1 tmp]# more /etc/redhat-release
  CentOS release 5.2 (Final)
  [r...@mss-1 tmp]# yum
  -bash: yum: command not found
  Can you please let me know how can I install it ?

 Strange.  What's the output of rpm -q yum?

 You could manually install the RPM's from:

  http://mirror.stanford.edu/yum/pub/centos/5/os/

 Pick the correct architecture... and you'll have to resolve some
 dependancies manually.

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




The output is as :
[r...@mss-1 tmp]# rpm -qa |grep yum
yum-arch-2.2.2-2.el5.kb
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread Akemi Yagi
On Wed, Dec 23, 2009 at 4:03 AM, hadi motamedi motamed...@gmail.com wrote:

 Thanks for your reply . But for unknown reasons the yum is not available on
 my CentOS .
 [r...@mss-1 tmp]# more /etc/redhat-release
 CentOS release 5.2 (Final)
 [r...@mss-1 tmp]# yum
 -bash: yum: command not found
 Can you please let me know how can I install it ?

You might want to take a look at:

http://wiki.centos.org/TipsAndTricks/BrokenVserver

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R. Dennison
On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
 Dear All
 I want to add yum to my CentOS 5.2 so I downloaded the rpm package from
 the www.pbone.net . But I didn't have success in installing it so please let
 me know if there is another way to accomplish this job ?

1)  CentOS comes with yum, so it should be installed on your
system now.  If you don't have it installed you are
running something that looks like CentOS but likely
isn't.  If this is the case you should contact whomever
sold you that setup and get your money back.

2)  Why in the world would you try to install from pbone
when you can get official CentOS packages from any
CentOS mirror?




John

-- 
We must respect the other fellow's religion, but only in the same sense and
to the extent that we respect his theory that his wife is beautiful and his
children smart.

-- H. L. Mencken (1880-1956), writer, editor, and critic


pgpMG5oddNKyt.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R. Dennison
On Wed, Dec 23, 2009 at 12:03:58PM +, hadi motamedi wrote:
 
 Thanks for your reply . But for unknown reasons the yum is not available on
 my CentOS .
 [r...@mss-1 tmp]# more /etc/redhat-release
 CentOS release 5.2 (Final)

This is irrelevant.  /etc/redhat-release is a text file and
can be edited to say anything.

rpm -q centos-release  uname -a will properly identify
the release you are using.




John
-- 
Only puny secrets need protection.
Big discoveries are protected by public incredulity.

-- Marshall McLuhan




pgpUNvRV6bkyQ.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Wed, Dec 23, 2009 at 12:23 PM, John R. Dennison j...@gerdesas.com wrote:

 On Wed, Dec 23, 2009 at 12:03:58PM +, hadi motamedi wrote:
 
  Thanks for your reply . But for unknown reasons the yum is not available
 on
  my CentOS .
  [r...@mss-1 tmp]# more /etc/redhat-release
  CentOS release 5.2 (Final)

This is irrelevant.  /etc/redhat-release is a text file and
can be edited to say anything.

rpm -q centos-release  uname -a will properly identify
the release you are using.




John
 --
 Only puny secrets need protection.
 Big discoveries are protected by public incredulity.

 -- Marshall McLuhan



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




Please find below :
[r...@mss-1 tmp]# rpm -q centos-release
centos-release-5-2.el5.centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R. Dennison
On Wed, Dec 23, 2009 at 12:31:53PM +, hadi motamedi wrote:
 
 Please find below :
 [r...@mss-1 tmp]# rpm -q centos-release
 centos-release-5-2.el5.centos

And you conveniently left out the kernel revision that would
be returned by the second part of the command I gave you, namely
uname -a.

It sounds very much like a broken server, either a crippled
OpenVZ or similar VPS or a server broken by someone that
didn't know what they were doing and went to some trouble
to remove the yum subsystem.  Akemi pointed you to
http://wiki.centos.org/TipsAndTricks/BrokenVserver and it
is worth your time to read it and see if you can unbreak
that box.




John

-- 
All I ask is this: Do something.  Try something.  Speaking out, showing up,
writing a letter, a check, a strongly worded e-mail.  Pick a cause -- there
are few unworthy ones.  And nudge yourself past the brink of tacit support
to action.  Once a month, once a year, or just once.

-- Joss Whedon (1964-), writer and film director


pgpMcbldYP7d5.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing virtio-win in CentOS 5.4

2009-12-23 Thread Sebastian
On Dec 1. the drivers are available on the Supplementary channel

https://rhn.redhat.com/errata/RHEA-2009-1624.html

Any chance to get them for CentOS?

Sebastian

2009/10/22 carlopmart carlopm...@gmail.com

 Ray Van Dolson wrote:
  On Thu, Oct 22, 2009 at 04:14:00PM +0200, Sebastian Marten wrote:
  Hello,
  I Installed 5.4 on a test system to use KVM, but i didn't find the
  virtio-win package with the Windows drivers.
 
 
  Looks like these are provided via the RHN Supplementary Channel.  I'd
  imagine they are not freely distributable?
 
  I'm sure someone else can confirm.
 
  Ray

 There are freely redistributable, but still they aren't published by
 upstream. You
 can use these instead:

 http://www.linux-kvm.com/content/windows-binary-virtio-drivers-finally-released,
 but
 there are a lot of problems with any windows 64 bits. And another problem,
 a big
 really, is that you can¡t install a windows kvm guest directly to a virtio
 disk.
 First you need to install to an ide disk, after generate a virtio disk and
 attach to
 win guest, install the virtio driver and last remove ide drive ... very
 very ugly.

 --
 CL Martinez
 carlopmart {at} gmail {d0t} com
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Wed, Dec 23, 2009 at 12:45 PM, John R. Dennison j...@gerdesas.com wrote:

 On Wed, Dec 23, 2009 at 12:31:53PM +, hadi motamedi wrote:
 
  Please find below :
  [r...@mss-1 tmp]# rpm -q centos-release
  centos-release-5-2.el5.centos

And you conveniently left out the kernel revision that would
be returned by the second part of the command I gave you, namely
uname -a.

It sounds very much like a broken server, either a crippled
OpenVZ or similar VPS or a server broken by someone that
didn't know what they were doing and went to some trouble
to remove the yum subsystem.  Akemi pointed you to
http://wiki.centos.org/TipsAndTricks/BrokenVserver and it
is worth your time to read it and see if you can unbreak
that box.




John

 --
 All I ask is this: Do something.  Try something.  Speaking out, showing up,
 writing a letter, a check, a strongly worded e-mail.  Pick a cause -- there
 are few unworthy ones.  And nudge yourself past the brink of tacit support
 to action.  Once a month, once a year, or just once.

 -- Joss Whedon (1964-), writer and film director

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




Sorry . Here is the complementary data :
[r...@mss-1 tmp]# uname -a
Linux mss-1.iwv 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686
i386 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread mark
John R. Dennison wrote:
 On Wed, Dec 23, 2009 at 12:31:53PM +, hadi motamedi wrote:
 Please find below :
 [r...@mss-1 tmp]# rpm -q centos-release
 centos-release-5-2.el5.centos
 
   And you conveniently left out the kernel revision that would
   be returned by the second part of the command I gave you, namely
   uname -a.
 
   It sounds very much like a broken server, either a crippled
   OpenVZ or similar VPS or a server broken by someone that
   didn't know what they were doing and went to some trouble
   to remove the yum subsystem.  Akemi pointed you to
   http://wiki.centos.org/TipsAndTricks/BrokenVserver and it
   is worth your time to read it and see if you can unbreak
   that box.

Wonder if someone was trying to remove yum-updatesd, and got all of yum.

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R. Dennison
On Wed, Dec 23, 2009 at 07:54:06AM -0500, mark wrote:
 
 Wonder if someone was trying to remove yum-updatesd, and got all of yum.

Possibly.  But one would need to either use -y or answer
yes at the are you really silly enough to want me to do
this? yum prompt.  




John

-- 
My dynamite will sooner lead to peace than a thousand world conventions.
As soon as men will find that in one instant, whole armies can be utterly
destroyed, they surely will abide by golden peace.

-- Alfred Nobel (21 October 1833 - 10 December 1896), Swedish chemist,
armaments manufacturer, inventor of dynamite, who in his will used his
enormous fortune to institute the Nobel Prizes, as quoted in The Military
Quotation Book (2002) by James Charlton, p.  114


pgp9k3Qak5MS6.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing virtio-win in CentOS 5.4

2009-12-23 Thread Karanbir Singh
On 23/12/09 12:51, Sebastian wrote:
 On Dec 1. the drivers are available on the Supplementary channel

 https://rhn.redhat.com/errata/RHEA-2009-1624.html

 Any chance to get them for CentOS?


the official centos policy is to only build freely distributable sources 
published from upstream on that route.

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R. Dennison
On Wed, Dec 23, 2009 at 12:52:50PM +, hadi motamedi wrote:
 
 Sorry . Here is the complementary data :
 [r...@mss-1 tmp]# uname -a
 Linux mss-1.iwv 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686
 i386 GNU/Linux

Oh, and before I forget.

Update that box.  It's running insecure components and has a 
kernel with known security problems with in the wild exploits.




John

-- 
It is not bigotry to be certain we are right; but it is bigotry to be unable
to imagine how we might possibly have gone wrong.
 -- G. K. Chesterton


pgp7BeuA3szDs.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread Ross Walker
On Dec 22, 2009, at 10:14 PM, John R Pierce pie...@hogranch.com wrote:

 Ross Walker wrote:
 Also, for random IO the opposite is true, the rotational latency is
 significantly smaller on the inner tracks than the outer tracks, so
 random OPs perform better there.


 um, most all hard disks are CAV, so the rotational latency measured in
 milliseconds is constant throughout the disk.  usually 50% of a turn  
 is
 the assumed mean rotational latency

I think you might be confusing CAV with CLV of optical drives.

http://en.m.wikipedia.org/wiki/Constant_Angular_Velocity

-Ross

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread fred smith
On Wed, Dec 23, 2009 at 12:12:16PM +, hadi motamedi wrote:
 On Wed, Dec 23, 2009 at 12:08 PM, Ray Van Dolson ra...@bludgeon.org wrote:
 
  On Wed, Dec 23, 2009 at 12:03:58PM +, hadi motamedi wrote:
   On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson ra...@bludgeon.org
  wrote:
  
 On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
 Dear All
 I want to add yum to my CentOS 5.2 so I downloaded the rpm package
  from
 the www.pbone.net . But I didn't have success in installing it so
  please
let
 me know if there is another way to accomplish this job ?
 Thank you in advance
   
Yum is installed by default in CentOS 5.x.  Just run 'yum'.
   
  
   Thanks for your reply . But for unknown reasons the yum is not available
  on
   my CentOS .
   [r...@mss-1 tmp]# more /etc/redhat-release
   CentOS release 5.2 (Final)
   [r...@mss-1 tmp]# yum
   -bash: yum: command not found
   Can you please let me know how can I install it ?
 
  Strange.  What's the output of rpm -q yum?
 
  You could manually install the RPM's from:
 
   http://mirror.stanford.edu/yum/pub/centos/5/os/
 
  Pick the correct architecture... and you'll have to resolve some
  dependancies manually.
 
  Ray
 
 
 The output is as :
 [r...@mss-1 tmp]# rpm -qa |grep yum
 yum-arch-2.2.2-2.el5.kb

Strange. when I run that on my Centos 5.4, I get:

# rpm -q yum
yum-3.2.22-20.el5.centos

which I would assume to be different than yum-arch-... I DO NOT find
yum-arch at all. Dunno what yum-arch contains, but I wonder if it is not
a complete yum installation. On the off-chance that it is, you could try:

ls -l `rpm -ql yum-arch-2.2.2-2.el5.kb` | less

to see what files it contains, and whether all of them are actually still
on your disk, or not. 

And as others have suggested, you may want/need to download the appropriate 
yum rpm file from a Centos mirror and install it with rpm before you can 
actually use yum.

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
The Lord is like a strong tower. 
 Those who do what is right can run to him for safety.
--- Proverbs 18:10 (niv) -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 5 and Fedora Core

2009-12-23 Thread Matt
If memory serves me correctly I was told CentOS 4.x was based on
Fedora Core 3.  So when finding a rpm I always looked for one for
Fedora Core 3 and then it seemed to install ok on CentOS 4.  Is CentOS
5 the same way and if so what Core is it based on?

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


Re: [CentOS] CentOS 5 and Fedora Core

2009-12-23 Thread Rob Kampen

Matt wrote:

If memory serves me correctly I was told CentOS 4.x was based on
Fedora Core 3.  So when finding a rpm I always looked for one for
Fedora Core 3 and then it seemed to install ok on CentOS 4.  Is CentOS
5 the same way and if so what Core is it based on?

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

Fedora 6
attachment: rkampen.vcf___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5 and Fedora Core

2009-12-23 Thread m . roth
 If memory serves me correctly I was told CentOS 4.x was based on
 Fedora Core 3.  So when finding a rpm I always looked for one for
 Fedora Core 3 and then it seemed to install ok on CentOS 4.  Is CentOS
 5 the same way and if so what Core is it based on?

No to both. CentOS 4 was RHEL 4; 5 is RHEL 5.

  mark

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


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread William L. Maltby

On Wed, 2009-12-23 at 09:37 -0500, Ross Walker wrote:
 snip

 I think you might be confusing CAV with CLV of optical drives.
 
 http://en.m.wikipedia.org/wiki/Constant_Angular_Velocity
 
 -Ross

That was my thought. However, I think most are missing the boat on this.

I have always looked at the anticipated work profile on the drive and
tried to place partitions to minimize seek time - that being the single
biggest latency issue, IMO. By placing the most frequently accessed
partitons adjacent to each other, and near the middle of the platter(s),
seek delays are minimized.

With the advent of LVM, I feel this is more easily fine tuned, initially
and later after the /real/ workload can be statistically profiled.

-- 
Bill

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


Re: [CentOS] CentOS 5 and Fedora Core

2009-12-23 Thread Marko Vojinovic
On Wednesday 23 December 2009 14:51:23 Matt wrote:
 If memory serves me correctly I was told CentOS 4.x was based on
 Fedora Core 3.  So when finding a rpm I always looked for one for
 Fedora Core 3 and then it seemed to install ok on CentOS 4.  Is CentOS
 5 the same way and if so what Core is it based on?

CentOS 5 is based on Fedora Core 6.

That said, be warned that installing FC packages on CentOS is *not* a good 
idea. While it might work without issues in some cases, such practice is 
inviting trouble.

HTH, :-)
Marko

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


[CentOS] fully automatic installation FAI?

2009-12-23 Thread David Mehler
Hello,
Is anyone running a software package called FAI for Fully Automatic
Installation on a CentOS server? I was wondering if there were any
issues to running it?
Thanks.
Dave.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread carlopmart
Hi all,

  Recently I have installed a centOS 5.4 server to use as a home NAS server. I 
need 
to use large files (8GB minimum) inside of it to serve via iSCSI services. 
Which 
filesystem do you recommends me to reach maximum performance: xfs, ext3, ext4, 
gfs2 
??

Thanks.

-- 
CL Martinez
carlopmart {at} gmail {d0t} com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5 and Fedora Core

2009-12-23 Thread Les Mikesell
Marko Vojinovic wrote:
 On Wednesday 23 December 2009 14:51:23 Matt wrote:
 If memory serves me correctly I was told CentOS 4.x was based on
 Fedora Core 3.  So when finding a rpm I always looked for one for
 Fedora Core 3 and then it seemed to install ok on CentOS 4.  Is CentOS
 5 the same way and if so what Core is it based on?
 
 CentOS 5 is based on Fedora Core 6.
 
 That said, be warned that installing FC packages on CentOS is *not* a good 
 idea. While it might work without issues in some cases, such practice is 
 inviting trouble.

A slightly better approach is to grab the src rpm for fedora and 
'rpmbuild --rebuild' it to get the binary versions to install.  But most 
things that will work are already built in the epel or rpmforge 
repositories.

-- 
  Les Mikesell
lesmikes...@gmail.com

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


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread Les Mikesell
carlopmart wrote:
 Hi all,
 
   Recently I have installed a centOS 5.4 server to use as a home NAS server. 
 I need 
 to use large files (8GB minimum) inside of it to serve via iSCSI services. 
 Which 
 filesystem do you recommends me to reach maximum performance: xfs, ext3, 
 ext4, gfs2 
 ??

None of them should have a problem with large files and any differences 
in the filesystem metadata handling will be covered up by the underlying 
disk access speed of a large amount of data per file.  The bigger 
differences are in how fast they can create or delete large numbers of 
files.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fully automatic installation FAI?

2009-12-23 Thread Christoph Maser
Am Mittwoch, den 23.12.2009, 16:46 +0100 schrieb David Mehler:
 Hello,
 Is anyone running a software package called FAI for Fully Automatic
 Installation on a CentOS server? I was wondering if there were any
 issues to running it?
 Thanks.
 Dave.

Afiak thats the debian way for automatic installs on
Fedora/RedHat/CentOS it is much more common to use kickstart (and
cobbler)

Chris


financial.com AG

Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | 
Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | 
Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. 
Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID 
number/St.Nr.: DE205 370 553
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread carlopmart
Les Mikesell wrote:
 carlopmart wrote:
 Hi all,

   Recently I have installed a centOS 5.4 server to use as a home NAS server. 
 I need 
 to use large files (8GB minimum) inside of it to serve via iSCSI services. 
 Which 
 filesystem do you recommends me to reach maximum performance: xfs, ext3, 
 ext4, gfs2 
 ??
 
 None of them should have a problem with large files and any differences 
 in the filesystem metadata handling will be covered up by the underlying 
 disk access speed of a large amount of data per file.  The bigger 
 differences are in how fast they can create or delete large numbers of 
 files.
 

Thanks Les. then if I would to use sparse files to create these large files, 
which 
can be the best form: dd of qcow2 format for example??

-- 
CL Martinez
carlopmart {at} gmail {d0t} com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread Kwan Lowe
On Wed, Dec 23, 2009 at 10:47 AM, carlopmart carlopm...@gmail.com wrote:
 Hi all,

  Recently I have installed a centOS 5.4 server to use as a home NAS server. I 
 need
 to use large files (8GB minimum) inside of it to serve via iSCSI services. 
 Which
 filesystem do you recommends me to reach maximum performance: xfs, ext3, 
 ext4, gfs2
 ??

I don't know if this is still true, but when I last checked a couple
years ago, the recommendation was for LVM device backed iSCSI targets.

http://osdir.com/ml/linux.iscsi.tgt.devel/2008-09/msg0.html

With LVMs you'd of course lose the flexibility of file-backed targets
and the ability to do sparse files are you're intending..

dd if=/dev/zero of=iqn.2009-12.com.mydomain:storage.disk01.foo.foo
bs=1 count=0 seek=16G
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread carlopmart
Kwan Lowe wrote:
 On Wed, Dec 23, 2009 at 10:47 AM, carlopmart carlopm...@gmail.com wrote:
 Hi all,

  Recently I have installed a centOS 5.4 server to use as a home NAS server. 
 I need
 to use large files (8GB minimum) inside of it to serve via iSCSI services. 
 Which
 filesystem do you recommends me to reach maximum performance: xfs, ext3, 
 ext4, gfs2
 ??
 
 I don't know if this is still true, but when I last checked a couple
 years ago, the recommendation was for LVM device backed iSCSI targets.
 
 http://osdir.com/ml/linux.iscsi.tgt.devel/2008-09/msg0.html
 
 With LVMs you'd of course lose the flexibility of file-backed targets
 and the ability to do sparse files are you're intending..
 
 dd if=/dev/zero of=iqn.2009-12.com.mydomain:storage.disk01.foo.foo
 bs=1 count=0 seek=16G

LVM was my first option and performance it is very very good with iSCSI, but 
backup 
and restore it is a problem with LVM. For these reason I need to use large 
files on 
this server...


-- 
CL Martinez
carlopmart {at} gmail {d0t} com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread Les Mikesell
carlopmart wrote:
 Kwan Lowe wrote:
 On Wed, Dec 23, 2009 at 10:47 AM, carlopmart carlopm...@gmail.com wrote:
 Hi all,

  Recently I have installed a centOS 5.4 server to use as a home NAS server. 
 I need
 to use large files (8GB minimum) inside of it to serve via iSCSI services. 
 Which
 filesystem do you recommends me to reach maximum performance: xfs, ext3, 
 ext4, gfs2
 ??
 I don't know if this is still true, but when I last checked a couple
 years ago, the recommendation was for LVM device backed iSCSI targets.

 http://osdir.com/ml/linux.iscsi.tgt.devel/2008-09/msg0.html

 With LVMs you'd of course lose the flexibility of file-backed targets
 and the ability to do sparse files are you're intending..

 dd if=/dev/zero of=iqn.2009-12.com.mydomain:storage.disk01.foo.foo
 bs=1 count=0 seek=16G
 
 LVM was my first option and performance it is very very good with iSCSI, but 
 backup 
 and restore it is a problem with LVM. For these reason I need to use large 
 files on 
 this server...

Doesn't sparse file use leave you in danger of (a) overcommiting the 
actual available space, and (b) badly fragmenting the on-disk locations 
when the space is actually allocated?   I think xfs has some support for 
allocating sparse space at creation time without waiting for real 
writes, but I don't know how to use it.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread Timo Schoeler
On 12/23/2009 07:29 PM, John R Pierce wrote:
 Ross Walker wrote:
 I think you might be confusing CAV with CLV of optical drives.
 http://en.m.wikipedia.org/wiki/Constant_Angular_Velocity
   
 
 no, I'm not. most HD's ('green drives' complicate this some) spin at 
 a constant RPM, so the rotational latency is the same on the inner and 
 outer tracks, an average of 1/2 turn, about 4mS for a 7200 rpm drive, 
 and 2mS for a 15000rpm enterprise drive .   However, the data rate 
 changes. so the outer tracks have more data on them, which is read at a 
 higher speed in megabytes/second

That's why in ancient times one was setting up partitions so that the
swap area was the the beginning (mostly the outer tracks of the HD --
never hit a drive that did it the other way round) of the drive.

Try it yourself, get a spare HD and create three partitions on it, two
smaller ones at beginning/end of the drive, the third one filling the
gap between them; install bonnie++ and compare the transfer rates.

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


[CentOS] /dev/video* permissions

2009-12-23 Thread Boris Epstein
Hi all,

Does anybody know where those permissions are controlled? I've looked
in /etc/udev and everywhere else I could think of and thus far I have
seen not a hint...

Thanks in advance for all your help.

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


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread Les Mikesell
Timo Schoeler wrote:
 On 12/23/2009 07:29 PM, John R Pierce wrote:
 Ross Walker wrote:
 I think you might be confusing CAV with CLV of optical drives.
 http://en.m.wikipedia.org/wiki/Constant_Angular_Velocity
   
 no, I'm not. most HD's ('green drives' complicate this some) spin at 
 a constant RPM, so the rotational latency is the same on the inner and 
 outer tracks, an average of 1/2 turn, about 4mS for a 7200 rpm drive, 
 and 2mS for a 15000rpm enterprise drive .   However, the data rate 
 changes. so the outer tracks have more data on them, which is read at a 
 higher speed in megabytes/second
 
 That's why in ancient times one was setting up partitions so that the
 swap area was the the beginning (mostly the outer tracks of the HD --
 never hit a drive that did it the other way round) of the drive.
 
 Try it yourself, get a spare HD and create three partitions on it, two
 smaller ones at beginning/end of the drive, the third one filling the
 gap between them; install bonnie++ and compare the transfer rates.

But these days, nothing should ever be reading from swap, although you 
might write a bit there.  If it does, buy some more RAM instead of 
worrying about disk performance.

-- 
   Les Mikesell
lesmikes...@gmail.com

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


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread Kwan Lowe
 With LVMs you'd of course lose the flexibility of file-backed targets
 and the ability to do sparse files are you're intending..

 dd if=/dev/zero of=iqn.2009-12.com.mydomain:storage.disk01.foo.foo
 bs=1 count=0 seek=16G

 LVM was my first option and performance it is very very good with iSCSI, but 
 backup
 and restore it is a problem with LVM. For these reason I need to use large 
 files on
 this server...

I actually prefer backing up LVMs.. I use the snapshot feature which
means I can backup a live volume. Works well.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread carlopmart
Kwan Lowe wrote:
 With LVMs you'd of course lose the flexibility of file-backed targets
 and the ability to do sparse files are you're intending..

 dd if=/dev/zero of=iqn.2009-12.com.mydomain:storage.disk01.foo.foo
 bs=1 count=0 seek=16G
 LVM was my first option and performance it is very very good with iSCSI, but 
 backup
 and restore it is a problem with LVM. For these reason I need to use large 
 files on
 this server...
 
 I actually prefer backing up LVMs.. I use the snapshot feature which
 means I can backup a live volume. Works well.

But I can't use snapshot feature because under these lvm partitions there are 
ZFS, 
NTFS and so on filesystems that linux can't access ...



-- 
CL Martinez
carlopmart {at} gmail {d0t} com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] donations

2009-12-23 Thread Jerry Geis
The donation page does not seem up to date:


 *Monetary*

CentOS is currently reviewing our cash donation program. If you are 
looking to make a cash dontation to the CentOS Project, please check 
back here after August 15th, 2009.

I sent an email to the webmaster but did not get a reply. I thought I 
would post.
Anything new on this?

Thanks,

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


Re: [CentOS] donations

2009-12-23 Thread Karanbir Singh
On 23/12/09 22:55, Jerry Geis wrote:
 The donation page does not seem up to date:


   *Monetary*

 CentOS is currently reviewing our cash donation program. If you are
 looking to make a cash dontation to the CentOS Project, please check
 back here after August 15th, 2009.

 I sent an email to the webmaster but did not get a reply. I thought I
 would post.
 Anything new on this?

I posted an update to the list only a few days back. check the archive

in a nutshell - no, were not yet accepting donations. But its something 
thats high on the agenda and once setup, we will post details about it.

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


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread Kwan Lowe
 I actually prefer backing up LVMs.. I use the snapshot feature which
 means I can backup a live volume. Works well.

 But I can't use snapshot feature because under these lvm partitions there are 
 ZFS,
 NTFS and so on filesystems that linux can't access ...

Not sure that I'm understanding.. The snapshots are block level, so no
knowledge of the filesystem on the LVs are needed. In fact, some are
raw devices and don't have filesystems at all.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread MHR
On Wed, Dec 23, 2009 at 2:50 PM, carlopmart carlopm...@gmail.com wrote:
 Kwan Lowe wrote:

 I actually prefer backing up LVMs.. I use the snapshot feature which
 means I can backup a live volume. Works well.

 But I can't use snapshot feature because under these lvm partitions there are 
 ZFS,
 NTFS and so on filesystems that linux can't access ...


There is a perfectly usable NTFS support file system available for
CentOS/Linux - I use it from time to time for disk backups.

Take a look at NTFS-fuse.

BTW, volume backups generally do not require knowledge of the
underlying file system structures, so this shouldn't be an issue
anyway.

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


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread Ross Walker
On Dec 23, 2009, at 1:29 PM, John R Pierce pie...@hogranch.com wrote:

 Ross Walker wrote:
 I think you might be confusing CAV with CLV of optical drives.
 http://en.m.wikipedia.org/wiki/Constant_Angular_Velocity


 no, I'm not. most HD's ('green drives' complicate this some)  
 spin at
 a constant RPM, so the rotational latency is the same on the inner and
 outer tracks, an average of 1/2 turn, about 4mS for a 7200 rpm drive,
 and 2mS for a 15000rpm enterprise drive .   However, the data rate
 changes. so the outer tracks have more data on them, which is read  
 at a
 higher speed in megabytes/second

You know your right. I don't know what I was thinking, a rotation is a  
rotation and if it takes 4ms on the outer tracks then it takes 4ms on  
the inner tracks.

It is I who had to two mixed up. It would be CLV that would make the  
disk spin faster as it approached the inner tracks which is the only  
way rotational latency would decrease.

Sorry for the noise, we now continue with your regularly scheduled  
program.

-Ross

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


[CentOS] CentOS 5.4 Upgrade installation failure

2009-12-23 Thread Edward Diener
CentOS 5.3 has been running fairly good except for a slow ethernet 
connection so I thought I would upgrade to CentOS 5.4 to see if that 
improved things. I had previously changed fstab and menu.lst to use UUID 
instead of LABEL in order to insulate myself from partition label 
changes I wanted to make. This worked fine in CentOS 5.3.

When I attempted to upgrade from 5.3 to 5.4 using the installation disk 
and telling it to upgrade rather than do a new install, the installation 
correctly found my root partition as /dev/sdb8. When I proceeded with 
the upgrade I received the error:

Error mounting device UUID=cee298a0-9c47-4a3a-ac84-23db4d20edd5 as /. 
No such file or directory. This most likely means the partition has not 
been formatted.

But of course it has been formatted and is my / partition running CentOS 
5.3.

Does anyone know how to fix this to get CentOS 5.3 upgraded ? Do I have 
to use LABEL in fstab and menu.lst for my partitions, or perhaps just 
for my root partition ? Any other ideas why this is failing ?

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


Re: [CentOS] CentOS 5.4 Upgrade installation failure

2009-12-23 Thread Kwan Lowe
On Wed, Dec 23, 2009 at 10:53 PM, Edward Diener eldie...@tropicsoft.com wrote:
 CentOS 5.3 has been running fairly good except for a slow ethernet
 connection so I thought I would upgrade to CentOS 5.4 to see if that
 improved things. I had previously changed fstab and menu.lst to use UUID
 instead of LABEL in order to insulate myself from partition label
 changes I wanted to make. This worked fine in CentOS 5.3.

No answers, but can you tell me why you're re-installing?  Doing a
regular yum update will bring a 5.3 system to a 5.4 system.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread Timo Schoeler
On 12/23/2009 08:15 PM, Les Mikesell wrote:
 Timo Schoeler wrote:
 On 12/23/2009 07:29 PM, John R Pierce wrote:
 Ross Walker wrote:
 I think you might be confusing CAV with CLV of optical drives.
 http://en.m.wikipedia.org/wiki/Constant_Angular_Velocity
   
 no, I'm not. most HD's ('green drives' complicate this some) spin at 
 a constant RPM, so the rotational latency is the same on the inner and 
 outer tracks, an average of 1/2 turn, about 4mS for a 7200 rpm drive, 
 and 2mS for a 15000rpm enterprise drive .   However, the data rate 
 changes. so the outer tracks have more data on them, which is read at a 
 higher speed in megabytes/second

 That's why in ancient times one was setting up partitions so that the
 swap area was the the beginning (mostly the outer tracks of the HD --
 never hit a drive that did it the other way round) of the drive.

 Try it yourself, get a spare HD and create three partitions on it, two
 smaller ones at beginning/end of the drive, the third one filling the
 gap between them; install bonnie++ and compare the transfer rates.
 
 But these days, nothing should ever be reading from swap, although you 
 might write a bit there.  If it does, buy some more RAM instead of 
 worrying about disk performance.

Sure, absolutely no question; *but* in the (ancient) times it was
important, it was 'nice' to have it as fast as possible, i.e. on the
fastest section(s) of the used HDs. So...

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


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread John R Pierce
Timo Schoeler wrote:
 But these days, nothing should ever be reading from swap, although you 
 might write a bit there.  If it does, buy some more RAM instead of 
 worrying about disk performance.
 

 Sure, absolutely no question; *but* in the (ancient) times it was
 important, it was 'nice' to have it as fast as possible, i.e. on the
 fastest section(s) of the used HDs. So...
   


unless you're using tmpfs, where your swap space doubles as backing 
store for your /tmpI use this quite regularly on solaris, it 
performs much better than a conventional journaled file system, as 
recovery from system crashes is totally not a priority.


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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Wed, Dec 23, 2009 at 2:45 PM, fred smith
fre...@fcshome.stoneham.ma.uswrote:

  On Wed, Dec 23, 2009 at 12:12:16PM +, hadi motamedi wrote:
  On Wed, Dec 23, 2009 at 12:08 PM, Ray Van Dolson ra...@bludgeon.org
 wrote:
 
   On Wed, Dec 23, 2009 at 12:03:58PM +, hadi motamedi wrote:
On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson ra...@bludgeon.org
 
   wrote:
   
  On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
  Dear All
  I want to add yum to my CentOS 5.2 so I downloaded the rpm
 package
   from
  the www.pbone.net . But I didn't have success in installing it
 so
   please
 let
  me know if there is another way to accomplish this job ?
  Thank you in advance

 Yum is installed by default in CentOS 5.x.  Just run 'yum'.

   
Thanks for your reply . But for unknown reasons the yum is not
 available
   on
my CentOS .
[r...@mss-1 tmp]# more /etc/redhat-release
CentOS release 5.2 (Final)
[r...@mss-1 tmp]# yum
-bash: yum: command not found
Can you please let me know how can I install it ?
  
   Strange.  What's the output of rpm -q yum?
  
   You could manually install the RPM's from:
  
http://mirror.stanford.edu/yum/pub/centos/5/os/
  
   Pick the correct architecture... and you'll have to resolve some
   dependancies manually.
  
   Ray
 
 
  The output is as :
  [r...@mss-1 tmp]# rpm -qa |grep yum
  yum-arch-2.2.2-2.el5.kb

 Strange. when I run that on my Centos 5.4, I get:

# rpm -q yum
yum-3.2.22-20.el5.centos

 which I would assume to be different than yum-arch-... I DO NOT find
 yum-arch at all. Dunno what yum-arch contains, but I wonder if it is not
 a complete yum installation. On the off-chance that it is, you could try:

 ls -l `rpm -ql yum-arch-2.2.2-2.el5.kb` | less

 to see what files it contains, and whether all of them are actually still
 on your disk, or not.

 And as others have suggested, you may want/need to download the appropriate
 yum rpm file from a Centos mirror and install it with rpm before you can
 actually use yum.

 --
  Fred Smith -- fre...@fcshome.stoneham.ma.us-
The Lord is like a strong tower.
 Those who do what is right can run to him for safety.
 --- Proverbs 18:10 (niv)
 -
  ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



Thank you for your help . To this end , I tried as the followings :

[r...@mss-1 tmp]# rpm -Uvh yum-arch-2.2.2-2.el5.kb.noarch.rpm
warning: yum-arch-2.2.2-2.el5.kb.noarch.rpm: Header V3 DSA signature: NOKEY,
key ID 3e13cf5b
Preparing...###
[100%]
package yum-arch-2.2.2-2.el5.kb is already installed
[r...@mss-1 tmp]# whereis yum
yum:
[r...@mss-1 tmp]#

Can you please let me know why the yum is still unavailable?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R Pierce
hadi motamedi wrote:
 ...
 package yum-arch-2.2.2-2.el5.kb is already installed
 [r...@mss-1 tmp]# whereis yum
 yum:
 [r...@mss-1 tmp]#

try...

# rpm -V yum


if the package is intact, there should be no output (after a few seconds 
of thinking), otherwise it will list anything thats wrong, like missing 
files.

# rpm -V --verbose yum

should output a list of all the files in that package, including...

  c /etc/logrotate.d/yum
/etc/yum
  c /etc/yum.conf
/etc/yum.repos.d
/etc/yum/pluginconf.d
/usr/bin/yum
/usr/lib/python2.4/site-packages/rpmUtils
/usr/lib/python2.4/site-packages/rpmUtils/__init__.py
/usr/lib/python2.4/site-packages/rpmUtils/__init__.pyc
/usr/lib/python2.4/site-packages/rpmUtils/__init__.pyo
/usr/lib/python2.4/site-packages/rpmUtils/arch.py
/usr/lib/python2.4/site-packages/rpmUtils/arch.pyc
/usr/lib/python2.4/site-packages/rpmUtils/arch.pyo
/usr/lib/python2.4/site-packages/rpmUtils/miscutils.py
/usr/lib/python2.4/site-packages/rpmUtils/miscutils.pyc
/usr/lib/python2.4/site-packages/rpmUtils/miscutils.pyo
/usr/lib/python2.4/site-packages/rpmUtils/oldUtils.py
/usr/lib/python2.4/site-packages/rpmUtils/oldUtils.pyc
/usr/lib/python2.4/site-packages/rpmUtils/oldUtils.pyo
/usr/lib/python2.4/site-packages/rpmUtils/transaction.py
/usr/lib/python2.4/site-packages/rpmUtils/transaction.pyc
/usr/lib/python2.4/site-packages/rpmUtils/transaction.pyo
/usr/lib/python2.4/site-packages/rpmUtils/updates.py
/usr/lib/python2.4/site-packages/rpmUtils/updates.pyc
/usr/lib/python2.4/site-packages/rpmUtils/updates.pyo
/usr/lib/python2.4/site-packages/yum
/usr/lib/python2.4/site-packages/yum/Errors.py
/usr/lib/python2.4/site-packages/yum/Errors.pyc
/usr/lib/python2.4/site-packages/yum/Errors.pyo
/usr/lib/python2.4/site-packages/yum/__init__.py
/usr/lib/python2.4/site-packages/yum/__init__.pyc
/usr/lib/python2.4/site-packages/yum/__init__.pyo
/usr/lib/python2.4/site-packages/yum/callbacks.py
/usr/lib/python2.4/site-packages/yum/callbacks.pyc
/usr/lib/python2.4/site-packages/yum/callbacks.pyo
/usr/lib/python2.4/site-packages/yum/comps.py
/usr/lib/python2.4/site-packages/yum/comps.pyc
/usr/lib/python2.4/site-packages/yum/comps.pyo
/usr/lib/python2.4/site-packages/yum/config.py
/usr/lib/python2.4/site-packages/yum/config.pyc
/usr/lib/python2.4/site-packages/yum/config.pyo
/usr/lib/python2.4/site-packages/yum/constants.py
/usr/lib/python2.4/site-packages/yum/constants.pyc
/usr/lib/python2.4/site-packages/yum/constants.pyo
/usr/lib/python2.4/site-packages/yum/depsolve.py
/usr/lib/python2.4/site-packages/yum/depsolve.pyc
/usr/lib/python2.4/site-packages/yum/depsolve.pyo
/usr/lib/python2.4/site-packages/yum/failover.py
/usr/lib/python2.4/site-packages/yum/failover.pyc
/usr/lib/python2.4/site-packages/yum/failover.pyo
/usr/lib/python2.4/site-packages/yum/i18n.py
/usr/lib/python2.4/site-packages/yum/i18n.pyc
/usr/lib/python2.4/site-packages/yum/i18n.pyo
/usr/lib/python2.4/site-packages/yum/logginglevels.py
/usr/lib/python2.4/site-packages/yum/logginglevels.pyc
/usr/lib/python2.4/site-packages/yum/logginglevels.pyo
/usr/lib/python2.4/site-packages/yum/mdparser.py
/usr/lib/python2.4/site-packages/yum/mdparser.pyc
/usr/lib/python2.4/site-packages/yum/mdparser.pyo
/usr/lib/python2.4/site-packages/yum/metalink.py
/usr/lib/python2.4/site-packages/yum/metalink.pyc
/usr/lib/python2.4/site-packages/yum/metalink.pyo
/usr/lib/python2.4/site-packages/yum/misc.py
/usr/lib/python2.4/site-packages/yum/misc.pyc
/usr/lib/python2.4/site-packages/yum/misc.pyo
/usr/lib/python2.4/site-packages/yum/packageSack.py
/usr/lib/python2.4/site-packages/yum/packageSack.pyc
/usr/lib/python2.4/site-packages/yum/packageSack.pyo
/usr/lib/python2.4/site-packages/yum/packages.py
/usr/lib/python2.4/site-packages/yum/packages.pyc
/usr/lib/python2.4/site-packages/yum/packages.pyo
/usr/lib/python2.4/site-packages/yum/parser.py
/usr/lib/python2.4/site-packages/yum/parser.pyc
/usr/lib/python2.4/site-packages/yum/parser.pyo
/usr/lib/python2.4/site-packages/yum/pgpmsg.py
/usr/lib/python2.4/site-packages/yum/pgpmsg.pyc

Re: [CentOS] Inquiry:yum?

2009-12-23 Thread Barry Brimer
 I tried for the other engaged rpm packages one-by-one . But at last , only
 the following one remained as unresolved :
 [r...@mss-1 tmp]# rpm -Uvh yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
 warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3 DSA
 signature: NOKEY, key ID e8562897
 error: Failed dependencies:
yum = 3.0 is needed by
 yum-fastestmirror-1.1.16-13.el5.centos.noarch
 Can you please let me know why it does not come to an end ?

What is the output of lsb_release -a
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Thu, Dec 24, 2009 at 6:59 AM, Barry Brimer li...@brimer.org wrote:

  I tried for the other engaged rpm packages one-by-one . But at last ,
 only
  the following one remained as unresolved :
  [r...@mss-1 tmp]# rpm -Uvh
 yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
  warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3 DSA
  signature: NOKEY, key ID e8562897
  error: Failed dependencies:
 yum = 3.0 is needed by
  yum-fastestmirror-1.1.16-13.el5.centos.noarch
  Can you please let me know why it does not come to an end ?

 What is the output of lsb_release -a
  ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




Please find it as below :
[r...@mss-1 ~]# lsb_release -a
LSB Version:
:core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description:CentOS release 5.2 (Final)
Release:5.2
Codename:   Final
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos