[CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Rudi Ahlers
Hi all

Can someone please tell me how to monitor each VM's traffic on a CentOS 5.2
server, running either Xen or OpenVZ? I need to bill my users for the
traffic they use, and would like to have a traffic usage graph for each Xen
/ OpenVZ Virtual Machine on the server.

Thanx :)

-- 

Kind Regards
Rudi Ahlers
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Rudi Ahlers
Sure, that's for XEN, but it's not very effective. I need graph the traffic
for each VM, not the vif - the vifs tend to change on a reboot, and also
reset with the stats.

How can I graph the traffic over a perioud of time, for any given IP
address?

Cacti works well, for switches  routers, but I can't get Cacti to graph an
individual VM on the server.

On Fri, Aug 8, 2008 at 3:34 PM, Karanbir Singh [EMAIL PROTECTED] wrote:

 Rudi Ahlers wrote:

 Hi all

 Can someone please tell me how to monitor each VM's traffic on a CentOS
 5.2 server, running either Xen or OpenVZ? I need to bill my users for
 the traffic they use, and would like to have a traffic usage graph for
 each Xen / OpenVZ Virtual Machine on the server.


 if you look at how xen sets up the Vif interfaces, you will note that its
 quite trivial. just watch the vif as you would an eth interface.
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt




-- 

Kind Regards
Rudi Ahlers
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Karanbir Singh

Rudi Ahlers wrote:

Sure, that's for XEN, but it's not very effective. I need graph the
traffic for each VM, not the vif - the vifs tend to change on a reboot,
and also reset with the stats.

How can I graph the traffic over a perioud of time, for any given IP
address?

Cacti works well, for switches  routers, but I can't get Cacti to graph
an individual VM on the server.

On Fri, Aug 8, 2008 at 3:34 PM, Karanbir Singh [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:

Rudi Ahlers wrote:

Hi all

Can someone please tell me how to monitor each VM's traffic on a
CentOS
5.2 server, running either Xen or OpenVZ? I need to bill my
users for
the traffic they use, and would like to have a traffic usage
graph for
each Xen / OpenVZ Virtual Machine on the server.


if you look at how xen sets up the Vif interfaces, you will note
that its quite trivial. just watch the vif as you would an eth
interface.


You've been on the list long enough to consider trimming your posts and 
not top posting.


also, you seem confused about what a virtual interface is. take a look 
at virsh and see how you can bring up and take down a xen domu while 
getting info on what interfaces its using and how.

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


Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Karanbir Singh

Rudi Ahlers wrote:

I'm looking for something similar to Cacti / MRTG - but something that
can graph traffic for each IP / VM on a server


humm... Cacti or mrtg would work fine if it targets the interface and 
the resources on the inside of the vm. for all purposes it should not 
matter if the machine is virtual or not.


Or am I missing something ?
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] KVM + bridge + static ip address

2008-08-08 Thread Raymond C. Rodgers

Hi folks,
I've been reading through the list a bit, and also looked at the KVM 
How-To on the wiki (http://wiki.centos.org/HowTos/KVM ) but I still have 
a question. I haven't yet begun to set up KVM, so I haven't made any 
mistakes yet. :-)


My company recently rented a server on which CentOS 5.0 is installed, 
and my goal is to set up a virtualized instance of CentOS for a new 
employee to tinker and learn on before I let him have hands on the real 
server. What I want to do is set up CentOS in KVM, and assign it one of 
the unused IP addresses on the server so that he and I can access it 
without having to first connect to the real server. The wiki didn't 
really give me a good idea of how to accomplish this, and I haven't done 
a bridge before, so I wanted to check with the list to see if I could 
get some advice on how to accomplish this.


For demonstration purposes, lets say that the external IP address of 
the real server is 10.0.0.1, and I want the virtualized install to be 
found at 10.0.0.2. Can someone show me how to modify the kvm rules found 
on the wiki (and pasted below) to accomplish this?


Thanks!
Raymond

#!/bin/sh
PATH=$PATH:/usr/sbin:/sbin
sudo brctl addbr br0
sudo ifconfig eth0 0.0.0.0
sudo brctl addif br0 eth0
sudo ifconfig br0 192.168.1.120 netmask 255.255.255.0 up
sudo route add -net 192.168.1.0 netmask 255.255.255.0 br0
sudo route add default gw 192.168.1.1 br0
sudo tunctl -b -u john
sudo ifconfig tap0 up
sudo brctl addif br0 tap0
export SDL_VIDEO_X11_DGAMOUSE=0
sudo iptables -I RH-Firewall-1-INPUT -i br0 -j ACCEPT
qemu-kvm ~/win2k.img -m 512 -net nic -net tap,ifname=tap0,script=no



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


Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Luke S Crawford
Rudi Ahlers [EMAIL PROTECTED] writes:

 Sure, that's for XEN, but it's not very effective. I need graph the traffic
 for each VM, not the vif - the vifs tend to change on a reboot, and also
 reset with the stats.

set vifnam=xenname in the vif=[] statement and  you can give the interfaces
symbolic names that don't change every reboot (the snmp mib number still
changes, but the snmp name stays the same.  you need to setup cacti to
map  the names to numbers often. )

snmpd in the dom0 will then report for each interface as if the dom0 was a 
switch, and you can use cacti or mrtg or whatever to aggrigate interface 
counts.  cacti or mrtg or whatever will take care of dealing with reboots
resetting the counters.

Like any layer2 bridge, you need to be careful of your arp cache... if someone
poisions your arp cache, all traffic will go to all DomUs, messing up your
counter.   But I've had plenty of co-lo providers with that problem on 
physical switches, so maybe that is acceptable.

That said, at prgmr.com, I just run bandwidthd at the head of my network.
I hang bandwidthd off of a SPAN port attached to my uplink.The big problem
here is that it only supports ipv4.  the v6 traffic is free.  free!  but it
works with whatever virt tech you use as long as you trust the to/from IP
addresses, and as long as all your traffic is IPv4
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Installing guest OS on Xen 3

2008-08-08 Thread cetertick
Any error occured???If yes, post here!Em 15:25, white list   escreveu: I just want to install NetBSD on Xen, im running centOS 5.2 Xen 3Im not sure what im doing wrong, I cant install NetBSD.here is my vm04 config file. Please Helpkernel=/boot/netbsd/netbsd-XEN3_DOMU.gzbuilder=hvmname = vm02#uuid = 177aedba-c62a-e7df-84c3-4c870b2cade4maxmem = 512memory = 512vcpus = 1#bootloader = /usr/bin/pygrub /> /> />vfb = [ type=vnc,vncunused=1,keymap=en-us ]disk = [ tap:aio:/var/lib/xen/images/vm02.img,xvda,w ]vif = [ mac=00:16
 :3e:66:84:3c,bridge=xenbr0 ]cdrom=/dev/hdane2000=0boot=d~On Thu, Aug 7, 2008 at 4:54 PM, white list [EMAIL PROTECTED] wrote:Thanks, I will try that- Augustin On Thu, Aug 7, 2008 at 4:15 PM, TAIRA Hajime [EMAIL PROTECTED] wrote:Hi, Augustin.If you want to install 
 NetBSD by full virtual mode.You should be use VT-enabled machine.If you want only to install NetBSD on Xen.Please get xeno-kernel from following url.http://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1.1/i386/binary/kernel/netbsd-INSTALL_XEN3_DOMU.gzBest regards.TAIRA Hajime [EMAIL PROTECTED], web: http://pantora.net/CentOS WikiName: HajimeTairaOn 2008/08/08, at 0:35, white list wrote: WHen I try to install NetBSD this it what is get  xm create vm02 -c Using config file ./vm02. Error: HVM guest support is unavailable: is VT/AMD-V su
 pported by your CPU and enabled in your BIOS? My vm02 file in /etc/xen/vm02 kernel=/usr/lib/xen/boot/ hvmloader builder=hvm name = vm02 #uuid = 177aedba-c62a-e7df-84c3-4c870b2cade4 maxmem = 512 memory = 512 vcpus = 1 #bootloader = /usr/bin/pygrub  />  />  /> vfb = [ type=vnc,vncunused=1,keymap=en-us ] disk = [ tap:aio:/var/lib/xen/images/vm02.img,xvda,w ] vif = [ mac=00:16:3e:66:84:3c,bridge=xenbr0 ] cdrom=/dev/hda ne2000=0 boot=d Please Help! Thanks, Augustin ___
  CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt___CentOS-virt mailing listCentOS-virt@centos.orghttp://lists.centos.org/mailman/listinfo/centos-virt
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Installing guest OS on Xen 3

2008-08-08 Thread white list
If I comment the pygrub line I get the following error message.

[EMAIL PROTECTED] xen]# xm create -c vm02
Using config file ./vm02.
Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU
and enabled in your BIOS?



Please Help!
- Augustin




On Fri, Aug 8, 2008 at 3:13 PM, cetertick [EMAIL PROTECTED] wrote:

 Hello,
 you are tryung to boot a hvm (fully-virtualized) OS with pygrub, wich in
 this case use the para-virtualized bootloader (/boot/grub) in domU.

 Comment the pygrub line.

 Bests,
 Douglas


 Em 15:31, *white list  * escreveu:


 hello,

 here is the error i get when ( xm create -c vm02 )
 [EMAIL PROTECTED] xen]# xm create -c vm02
 Using config file ./vm02.
 Traceback (most recent call last):
   File /usr/bin/pygrub, line 651, in ?
 fs = fsimage.open(file, get_fs_offset(file))
 IOError: [Errno 95] Operation not supported
 No handlers could be found for logger xend
 Error: Boot loader didn't return any data!
 Usage: xm create [options] [vars]

 MY config file in /etc/xen/vm02

 kernel=qu ot;/boot/netbsd/netbsd-INSTALL_XEN3_DOMU.gz

 builder='hvm'
 name = vm02
 #uuid = 177aedba-c62a-e7df-84c3-4c870b2cade4
 maxmem = 512
 memory = 512
 vcpus = 1
 bootloader = /usr/bin/pygrub
 on_poweroff = destroy
 on_reboot = restart
 on_crash = restart
 vfb = [ type=vnc,vncunused=1,keymap=en-us ]
 disk = [ tap:aio:/var/lib/xen/images/vm02.img,xvda,w ]
 vif = [ mac=00:16:3e:66:84:3c,bridge=xenbr0 ]
 cdrom='/dev/hda'
 ne2000=0
 boot='d'

 THANKS
 Augustin



 On Thu, Aug 7, 2008 at 4:54 PM, white list [EMAIL 
 PROTECTED]http://../../../undefined/[EMAIL PROTECTED]
  wrote:

 Thanks, I will try that
 - Augustin


 On Thu, Aug 7, 2008 at 4:15 PM, TAIRA Hajime [EMAIL 
 PROTECTED]http://../../../undefined/[EMAIL PROTECTED]
  wrote:

 Hi, Augustin.

 If you want to install NetBSD by full virtual mode.
 You should be use VT-enabled machine.

 If you want only to install NetBSD on Xen.
 Please get xeno-kernel from following url.

 http://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1.1/i386/binary/kernel/netbsd-INSTALL_XEN3_DOMU.gz

 Best regards.

 TAIRA Hajime  a href=../../../undefined//[EMAIL PROTECTED]
 target=_blank onclick=window.open(this.href);return false;
 [EMAIL PROTECTED], web: http://pantora.net/http://pantora.net/

 CentOS WikiName: HajimeTaira

 On 2008/08/08, at 0:35, white list wrote:

  WHen I try to install NetBSD this it what is get
 
   xm create vm02 -c
  Using config file ./vm02.
  Error: HVM guest support is unavailable: is VT/AMD-V supported by your
 CPU and enabled in your BIOS?
 
 
  My vm02 file in
  /etc/xen/vm02
 
  kernel=/usr/lib/xen/boot/
  hvmloader
  builder='hvm'
  name = vm02
  #uuid = 177aedba-c62a-e7df-84c3-4c870b2cade4
  maxmem = 512
  memory = 512
  vcpus = 1
  #bootloader = /usr/bin/pygrub
  on_poweroff = destroy
  on_reboot = restart
  on_crash = restart
  vfb = [ type=vnc,vncunused=1,keymap=en-us ]
  disk = [ tap:aio:/var/lib/xen/images/vm02.img,xvda,w ]
  vif = [ mac=00:16:3e:66:84:3c,bridge=xenbr0 ]
  cdrom='/dev/hda'
  ne2000=0
  boot='d'
 
 
  Please Help!
  Thanks,
  Augustin
  ___
  CentOS-virt mailing list
  http://../../../undefined/compose?to=CentOSCentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 http://lists.centos.org/mailman/listinfo/centos-virt

 ___
 CentOS-virt mailing list
  a href=../../../undefined//compose?to=CentOS target=_blank
 onclick=window.open(this.href);return false;CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
 http://lists.centos.org/mailman/listinfo/centos-virt





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


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


Re: [CentOS-virt] Installing guest OS on Xen 3

2008-08-08 Thread Jerry Amundson
On Fri, Aug 8, 2008 at 5:31 PM, white list [EMAIL PROTECTED] wrote:
 If I comment the pygrub line I get the following error message.

 [EMAIL PROTECTED] xen]# xm create -c vm02
 Using config file ./vm02.
 Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU
 and enabled in your BIOS?

Well is it?
Do you have vmx capable CPU's?
cat /proc/cpuinfo | grep vmx

jerry


-- 
Years of Academy training... wasted! - Buzz Lightyear
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-es] ERROR SYSLOG

2008-08-08 Thread BlackHand

Hector Cuadros Prosopio wrote:


kernel: journal commit I/O error

Q puede ser y desde ahi no me dejaba guardar ni podia usar ningun comando .
Q puede ser Gracias


Error fisico de disco, yo lo he visto en dos casos especificos, en 
esencia el disco te deja de responder, no pareciera ser un problema de 
platos sino un problema de logica, en un caso q lo tuve, el problema era 
q el disco entraba en modo ahorro de energia y simplemente dejaba de 
responder y no habia forma de reactivarlo.


en ese caso particular, se puso el disco en otro equipo (diferente 
mainboard) y nunca mas volvio a dor problemas, en los otros dos casos 
anteriores se remplazo el disco (no se tenia ganas ni tiempo de 
experimentar)


remplazar el disco nada mas como unico consejo se me ocurre.

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


[CentOS-es] leer la cola de correo postfix

2008-08-08 Thread Victor Santana - ReparacionONLINE




Hola otra vez...gracias de antemano a todos por
vuestra ayuda.
Tengo el postfix corriendo en la mquina y me gustara poder leer los
mensajes que estn pendientes en la cola pero que tenga formato.
Quiero decir, cuando lo abro con mi editor normal, sale todo sin
formato alguno y es dificil para mi seguir la pista...
Alguien sabe como puedo hacerlo?gracias



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


Re: [CentOS-es] ERROR SYSLOG

2008-08-08 Thread Hector Cuadros Prosopio
Gracias Eso voy hacer cambiar de disco seria mejor gracias.

El 8 de agosto de 2008 7:50, BlackHand [EMAIL PROTECTED]
 escribió:

 Hector Cuadros Prosopio wrote:

  kernel: journal commit I/O error

 Q puede ser y desde ahi no me dejaba guardar ni podia usar ningun comando
 .
 Q puede ser Gracias


 Error fisico de disco, yo lo he visto en dos casos especificos, en esencia
 el disco te deja de responder, no pareciera ser un problema de platos sino
 un problema de logica, en un caso q lo tuve, el problema era q el disco
 entraba en modo ahorro de energia y simplemente dejaba de responder y no
 habia forma de reactivarlo.

 en ese caso particular, se puso el disco en otro equipo (diferente
 mainboard) y nunca mas volvio a dor problemas, en los otros dos casos
 anteriores se remplazo el disco (no se tenia ganas ni tiempo de
 experimentar)

 remplazar el disco nada mas como unico consejo se me ocurre.

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




-- 
Atentamente :
Hector Cuadros Prosopio .
Movil :(511)995-412-884
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS] MRTG Problem - no traffic recorded

2008-08-08 Thread Morten Nilsen

Hi all,

I've just recently replaced my old firewall with a new one, running 
CentOS 5..


Yesterday, I decided to get MRTG up and running again, so I entered 
sections like this into the mrtg.conf file:


Title[vlan10]: Bandwidth usage on tenchi.4th-age.com (Internet)
PageTop[vlan10]: H1Traffic stats on VLAN 10 (Internet)/H1
Target[vlan10]: `ifconfig vlan10 |
   /usr/bin/awk '/bytes/{ gsub(/:/,  ); print $3 \n $8}'`
MaxBytes[vlan10]: 1250
Options[vlan10]: noinfo, growright, bits
WithPeak[vlan10]: wmy

The Target is all on one line in the file.

This config worked fine on my old firewall, but on the new, I get this 
in the log files:


[EMAIL PROTECTED] mrtg]# head /var/lib/mrtg/vlan10.log
1218175802 -1 -1
1218175802 3 3 3 3
1218175501 3 3 3 3
1218175500 3 3 3 3

When testing, I ran the mrtg command, precisely as it is written in 
/etc/cron.d/mrtg, and that placed real values where now it says -1, but 
as soon as the cron job ran, the values became -1 again.


I hope someone can shed some light on this problem..

--
Cheers,
Morten
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] rebuilding the kernel.

2008-08-08 Thread Yahia Tachwali

Hello folks,

I am trying to add HDLC module support in the menuconfig. However, I am 
facing difficulties in rebuilding the kernel and modules. My main 
objective is to get the HDLC supported in kernel 2.6.9. I have a CentOS 
4.4 with kernel 2.6.9.42. I need help in finding the best way to add the 
HDLC support whether through getting an RPM package for it or refering 
me to the right procedure in rebuilding the kernel.


Thank you very much in advance for your help.

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


Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread [EMAIL PROTECTED]

Yahia Tachwali pisze:

Hello folks,
Hi. It is request for it to add this in kernel for centosplus, look at 
this: http://bugs.centos.org/view.php?id=3019


I am trying to add HDLC module support in the menuconfig. However, I 
am facing difficulties in rebuilding the kernel and modules. My main 
objective is to get the HDLC supported in kernel 2.6.9. I have a 
CentOS 4.4 with kernel 2.6.9.42. I need help in finding the best way 
to add the HDLC support whether through getting an RPM package for it 
or refering me to the right procedure in rebuilding the kernel.


Thank you very much in advance for your help.

No problem.


___
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] rebuilding the kernel.

2008-08-08 Thread Ned Slider

Yahia Tachwali wrote:

Hello folks,

I am trying to add HDLC module support in the menuconfig. However, I am 
facing difficulties in rebuilding the kernel and modules. My main 
objective is to get the HDLC supported in kernel 2.6.9. I have a CentOS 
4.4 with kernel 2.6.9.42. I need help in finding the best way to add the 
HDLC support whether through getting an RPM package for it or refering 
me to the right procedure in rebuilding the kernel.


Thank you very much in advance for your help.



There are detailed instructions how to build kernel modules, or a 
complete custom kernel on the Wiki:


http://wiki.centos.org/HowTos#head-dd8d94c4485b015477e28031bba1b51e7224c2fa

Regards,

Ned


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


Re: [CentOS] ext2online / ext2resize

2008-08-08 Thread Peter Kjellstrom
On Friday 08 August 2008, Al Sparks wrote:
 I'm running CentOS 5.2 x x86_64.

 I did an lvextend of a logical volume, and proceeded to run one of the
 ext2 utilities (e.g. ext2online

This is a different tool, not in 5.2 (was in 4.x).

 , ext2resize

Wrong name.

 ) and found to my surprise  
 that it wasn't on there.

Try rpm -ql e2fsprogs | grep bin or something to see what's in the package.

When I did that on my centos-5.2.x86_64 I found:

 $ rpm -qf /sbin/resize2fs --qf %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n
 e2fsprogs-1.39-15.el5.x86_64

I suggest you read the manpage for resize2fs as a next step.

/Peter


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mount a Xen disk image file

2008-08-08 Thread Kai Schaetzl
Dirk H. Schulz wrote on Fri, 08 Aug 2008 07:13:01 +0200:

 You are talking about a basic vm installation to a partition instead of an 
 image file?

That doesn't make a difference. Whether you virt-install to file or partition 
you end up with xvda'd disks.

 If they work at all you one way or the 
 other do not like the outcome.

Well, they do work quite well. I did a lot of installs with virt-install and 
kickstart. A pleasure. If you don't mind ending up with xvda it's a good way. 
Depends on your needs. I need customized installations for webhosting that 
have quite a few additional programs installed and preconfigured and going 
with template disks is the much easier way then. And then it pays to be able 
to access the disks anytime with a simple mount.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] CentOS 5.2 -- how do I choose a wireless network?

2008-08-08 Thread Johnny Hughes

Aleksey Tsalolikhin wrote:

Any suggestions on how to make this work under CentOS?   I'd prefer to
have CentOS on my laptop, to keep it the same OS as our servers.I
don't want to learn two flavors of Linux...

Thanks,
-at


It normally just works on most wireless cards (centos in general, not 
necessarily the live CD).


I will burn and boot the live CD on my Dell Inspiron 6000 laptop and see 
how NetworkManager works here and get back to you.


What kind of laptop is it?
Thanks,
Johnny Hughes



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread Johnny Hughes

[EMAIL PROTECTED] wrote:

Yahia Tachwali pisze:

Hello folks,
Hi. It is request for it to add this in kernel for centosplus, look at 
this: http://bugs.centos.org/view.php?id=3019


I am trying to add HDLC module support in the menuconfig. However, I 
am facing difficulties in rebuilding the kernel and modules. My main 
objective is to get the HDLC supported in kernel 2.6.9. I have a 
CentOS 4.4 with kernel 2.6.9.42. I need help in finding the best way 
to add the HDLC support whether through getting an RPM package for it 
or refering me to the right procedure in rebuilding the kernel.


Thank you very much in advance for your help.

No problem.


That request was for CentOS-5, not CentOS-4 :D

HDLC was added to the CentOS-5 plus kernel for the latest version.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread [EMAIL PROTECTED]

Johnny Hughes pisze:

[EMAIL PROTECTED] wrote:

Yahia Tachwali pisze:

Hello folks,
Hi. It is request for it to add this in kernel for centosplus, look 
at this: http://bugs.centos.org/view.php?id=3019


I am trying to add HDLC module support in the menuconfig. However, I 
am facing difficulties in rebuilding the kernel and modules. My main 
objective is to get the HDLC supported in kernel 2.6.9. I have a 
CentOS 4.4 with kernel 2.6.9.42. I need help in finding the best way 
to add the HDLC support whether through getting an RPM package for 
it or refering me to the right procedure in rebuilding the kernel.


Thank you very much in advance for your help.

No problem.


That request was for CentOS-5, not CentOS-4 :D
? I can see: Category: [CentOS-4] kernel-centosplus My request was 
exactly for centos 4 branch, but for 5 is good too. So, can i count for 
You to make it posible in centos4 to support hdlc ?


HDLC was added to the CentOS-5 plus kernel for the latest version.



___
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] rebuilding the kernel.

2008-08-08 Thread Johnny Hughes

[EMAIL PROTECTED] wrote:

Johnny Hughes pisze:

[EMAIL PROTECTED] wrote:

Yahia Tachwali pisze:

Hello folks,
Hi. It is request for it to add this in kernel for centosplus, look 
at this: http://bugs.centos.org/view.php?id=3019


I am trying to add HDLC module support in the menuconfig. However, I 
am facing difficulties in rebuilding the kernel and modules. My main 
objective is to get the HDLC supported in kernel 2.6.9. I have a 
CentOS 4.4 with kernel 2.6.9.42. I need help in finding the best way 
to add the HDLC support whether through getting an RPM package for 
it or refering me to the right procedure in rebuilding the kernel.


Thank you very much in advance for your help.

No problem.


That request was for CentOS-5, not CentOS-4 :D
? I can see: Category: [CentOS-4] kernel-centosplus My request was 
exactly for centos 4 branch, but for 5 is good too. So, can i count for 
You to make it posible in centos4 to support hdlc ?


HDLC was added to the CentOS-5 plus kernel for the latest version.


Hmmm  I did not see that it was for 4.6 but thought it was for 5.2.

I can try to add the same things to the CentOS-4 kernel and see if it 
builds, but I have already done the 4.7 centosplus kernels and it is a 
several hour process that I am not going to redo before release.


I will see if I can get it to build, and put it in testing if it builds. 
 I can try to roll that into newer CentOS-4 kernels too.




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread [EMAIL PROTECTED]

Johnny Hughes pisze:

[EMAIL PROTECTED] wrote:

Johnny Hughes pisze:

[EMAIL PROTECTED] wrote:

Yahia Tachwali pisze:

Hello folks,
Hi. It is request for it to add this in kernel for centosplus, look 
at this: http://bugs.centos.org/view.php?id=3019


I am trying to add HDLC module support in the menuconfig. However, 
I am facing difficulties in rebuilding the kernel and modules. My 
main objective is to get the HDLC supported in kernel 2.6.9. I 
have a CentOS 4.4 with kernel 2.6.9.42. I need help in finding the 
best way to add the HDLC support whether through getting an RPM 
package for it or refering me to the right procedure in rebuilding 
the kernel.


Thank you very much in advance for your help.

No problem.


That request was for CentOS-5, not CentOS-4 :D
? I can see: Category: [CentOS-4] kernel-centosplus My request was 
exactly for centos 4 branch, but for 5 is good too. So, can i count 
for You to make it posible in centos4 to support hdlc ?


HDLC was added to the CentOS-5 plus kernel for the latest version.


Hmmm  I did not see that it was for 4.6 but thought it was for 5.2.

I can try to add the same things to the CentOS-4 kernel and see if it 
builds, but I have already done the 4.7 centosplus kernels and it is a 
several hour process that I am not going to redo before release.


I will see if I can get it to build, and put it in testing if it 
builds.  I can try to roll that into newer CentOS-4 kernels too.

OK, hdlc and goramo wan interfaces

Thx.




___
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


[CentOS] Re: pam max locked memory issue after updating to 5.2 and rebooting

2008-08-08 Thread Rob Lines
It has been a few days so I am sending this again incase someone has
seen this issue and might have a seen this problem or has a suggestion
of where to look and why it might not be taking these settings with
5.2 when it did with 5.1

On Mon, Aug 4, 2008 at 2:00 PM, Rob Lines [EMAIL PROTECTED] wrote:
 We were previously running 5.1 x86_64 and recently updated to 5.2
 using yum.  Under 5.1 we were having problems when running jobs using
 torque and the solution had been to add the following items to the
 files noted

 *  softmemlock unlimited in /etc/security/limits.conf
 sessionrequired pam_limits.so in /etc/pam.d/{rsh,sshd}

 This changed the max locked memory setting in ulimit as follows:

 Before the change
 rsh nodeX ulimit -a
 still gives us
 max locked memory   (kbytes, -l) 32

 After the change
 rsh nodeX ulimit -a
 max locked memory   (kbytes, -l) 16505400

 The nodes have 16gb of memory.

 Now after the 5.2 updates those files are all the same and on most of
 the nodes we haven't yet rebooted them due to log running processes
 but a few nodes have been restarted and now that jobs are starting to
 be put on them we are back to max locked memory of 32k rather than
 16gb.

 The error we are receiving on those jobs is :

 libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
This will severely limit memory registrations.
 libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
This will severely limit memory registrations.
 Fatal error in MPI_Init:
 Other MPI error, error stack:
 MPIR_Init_thread(306)...: Initialization failed
 MPID_Init(113)..: channel initialization failed
 MPIDI_CH3_Init(167).:
 MPIDI_CH3I_RDMA_init(138)...:
 rdma_setup_startup_ring(333): cannot create cq
 Fatal error in MPI_Init:
 Other MPI error, error stack:
 MPIR_Init_thread(306)...: Initialization failed
 MPID_Init(113)..: channel initialization failed
 MPIDI_CH3_Init(167).:
 MPIDI_CH3I_RDMA_init(138)...:
 rdma_setup_startup_ring(333): cannot create cq
 rank 45 in job 1  nodeX_35175   caused collective abort of all ranks
  exit status of rank 45: return code 1
 rank 44 in job 1  nodeX_35175   caused collective abort of all ranks
  exit status of rank 44: return code 1


 The full output of :

 rsh nodeX ulimit -a

 connect to address x.x.x.x port 544: Connection refused
 Trying krb4 rsh...
 connect to address x.x.x.x port 544: Connection refused
 trying normal rsh (/usr/bin/rsh)
 core file size  (blocks, -c) 0
 data seg size   (kbytes, -d) unlimited
 scheduling priority (-e) 0
 file size   (blocks, -f) unlimited
 pending signals (-i) 135168
 max locked memory   (kbytes, -l) 32
 max memory size (kbytes, -m) unlimited
 open files  (-n) 1024
 pipe size(512 bytes, -p) 8
 POSIX message queues (bytes, -q) 819200
 real-time priority  (-r) 0
 stack size  (kbytes, -s) 10240
 cpu time   (seconds, -t) unlimited
 max user processes  (-u) 135168
 virtual memory  (kbytes, -v) unlimited
 file locks  (-x) unlimited


 Any ideas, suggestions or items I could roll back would be
 appreciated.  I looked through the list of packages that were updated
 and the only one that I could see that was related was pam.  ssh and
 rsh were not updated.

 Thank you,
 Rob

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


[CentOS] sound

2008-08-08 Thread tony . chamberlain
I am using Cent OS 4.6 and a USB speaker (no sound card but USB speaker
works fine).  Problem is, if I use something like xine or realplay and then
later want to visit youtube through firefox, the youtube sound won't
work, because even though I exited xine or realplay somehow it still has
control of the sound device.  Someone in fedora list suggested pulse audio
but I can't get that installed.

Any suggestions?  I don't want to have to reboot my machine all the time.


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


Re: [CentOS] CentOS 5.2 -- how do I choose a wireless network?

2008-08-08 Thread Robert Moskowitz

I have had a terrible time with NetworkManager.

Johnny Hughes wrote:

Aleksey Tsalolikhin wrote:

Any suggestions on how to make this work under CentOS?   I'd prefer to
have CentOS on my laptop, to keep it the same OS as our servers.I
don't want to learn two flavors of Linux...

Thanks,
-at


It normally just works on most wireless cards (centos in general, not 
necessarily the live CD).


I will burn and boot the live CD on my Dell Inspiron 6000 laptop and 
see how NetworkManager works here and get back to you.


What kind of laptop is it?
I have pretty much given up on NetworkManager.  I try it time to time 
after a clean boot, but most of the time, it will just NOT connect.


I am an 'old had' at modifying /etc/wpa_supplicant/wpa_supplicant.conf, 
and I have simple scripts (for themost part) to run things.  I have a 
script called wlan:


ifconfig eth1 up
/usr/sbin/wpa_supplicant wpa_supplicant -B -dd -K -D wext -i eth1 -c 
/etc/wpa_supplicant/wpa_supplicant.conf



That works well with the Intel card in my HP nc2400.  The ifcfg-eth1 is 
fairly simple:


TYPE=Wireless
DEVICE=eth1
HWADDR=00:1b:77:43:09:78
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=nc2400.htt-consult.com
IPADDR=
DOMAIN=
ONBOOT=no
USERCTL=no
IPV6INIT=yes

I do find that the BOOTPROTO=dhcp does not 'work' and I have to run 
dhclient eth1 to get a lease.


If I get into a new area (did that a LOT these past couple weeks), I run 
/usr/sbin/wpa_cli and do a scan and scan_results to get the SSID, edit 
the wpa_supplicant.conf file, the a reconfigure within wpa_cli.


All works; all manual.  But I clean everything out and NetworkManager 
just does not seem to work for me.



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


Re: [CentOS] Mount a Xen disk image file

2008-08-08 Thread Dirk H. Schulz

Hi Kai,

--On 8. August 2008 10:31:18 +0200 Kai Schaetzl [EMAIL PROTECTED] 
wrote:


- snip -

 If you don't mind ending up with xvda it's a
good way.


What is the problem with xvda? And what is the alternative?

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


Re: [CentOS] CentOS 5.2 -- how do I choose a wireless network?

2008-08-08 Thread Johnny Hughes

Johnny Hughes wrote:

Aleksey Tsalolikhin wrote:

Any suggestions on how to make this work under CentOS?   I'd prefer to
have CentOS on my laptop, to keep it the same OS as our servers.I
don't want to learn two flavors of Linux...

Thanks,
-at


It normally just works on most wireless cards (centos in general, not 
necessarily the live CD).


I will burn and boot the live CD on my Dell Inspiron 6000 laptop and see 
how NetworkManager works here and get back to you.




Just for the record, the LiveCD does not work with my Inspiron 6000 at 
all (some IDE/SATA issues when running the live CD) ... but this laptop 
works fine with a real install of CentOS-5.2.  So, for most machines a 
working Live CD means CentOS should work, but not on all. 
Unfortunately, I can not test how NetworkManager works with this machine.


If you are installing your laptop from scratch, then I would recommend 
that you try installing CentOS-5.2 and see what happens.


Also, you can look in /etc/sysconfig/hwconf to see if CentOS sees the 
wireless NIC as a network card and what driver it is trying to use ... 
or if you need something like external firmware, etc.



What kind of laptop is it?





signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Command line partition manipulation

2008-08-08 Thread Plant, Dean
I want to write a script to automatically modify the partition table

I am starting with 3 partitions like this

# parted /dev/sda print

Model: VMware, VMware Virtual S (scsi)
Disk /dev/sda: 10.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End SizeType File system  Flags
 1  32.3kB  107MB   107MB   primary  ext3 boot
 2  107MB   4828MB  4721MB  primary  ext3
 3  4828MB  9023MB  4195MB  primary   lvm

And I want to remove partitions 2  3 and recreate 2 from the end of 1
to the end of the disk i.e. all the free space.

Removing 2 and 3 is easy.

# parted /dev/sda rm 3
# parted /dev/sda rm 2 

# parted /dev/sda print

Model: VMware, VMware Virtual S (scsi)
Disk /dev/sda: 10.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   EndSize   Type File system  Flags
 1  32.3kB  107MB  107MB  primary  ext3 boot


Is there a way to use a non-interactive command to create the new 2nd
partition in the free space?

Thanks

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


Re: [CentOS] CentOS 5.2 -- how do I choose a wireless network?

2008-08-08 Thread Johnny Hughes

Robert Moskowitz wrote:

I have had a terrible time with NetworkManager.

Johnny Hughes wrote:

Aleksey Tsalolikhin wrote:

Any suggestions on how to make this work under CentOS?   I'd prefer to
have CentOS on my laptop, to keep it the same OS as our servers.I
don't want to learn two flavors of Linux...

Thanks,
-at


It normally just works on most wireless cards (centos in general, not 
necessarily the live CD).


I will burn and boot the live CD on my Dell Inspiron 6000 laptop and 
see how NetworkManager works here and get back to you.


What kind of laptop is it?
I have pretty much given up on NetworkManager.  I try it time to time 
after a clean boot, but most of the time, it will just NOT connect.


I am an 'old had' at modifying /etc/wpa_supplicant/wpa_supplicant.conf, 
and I have simple scripts (for themost part) to run things.  I have a 
script called wlan:


ifconfig eth1 up
/usr/sbin/wpa_supplicant wpa_supplicant -B -dd -K -D wext -i eth1 -c 
/etc/wpa_supplicant/wpa_supplicant.conf



That works well with the Intel card in my HP nc2400.  The ifcfg-eth1 is 
fairly simple:


TYPE=Wireless
DEVICE=eth1
HWADDR=00:1b:77:43:09:78
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=nc2400.htt-consult.com
IPADDR=
DOMAIN=
ONBOOT=no
USERCTL=no
IPV6INIT=yes

I do find that the BOOTPROTO=dhcp does not 'work' and I have to run 
dhclient eth1 to get a lease.


If I get into a new area (did that a LOT these past couple weeks), I run 
/usr/sbin/wpa_cli and do a scan and scan_results to get the SSID, edit 
the wpa_supplicant.conf file, the a reconfigure within wpa_cli.


All works; all manual.  But I clean everything out and NetworkManager 
just does not seem to work for me.


That is certainly likely ... The state of wireless cards and firmware on 
Linux is not yet wonderful, some wireless devices work great others do not.


I have a Intel 2200 device (Intel Corporation PRO/Wireless 2200BG 
Network Connection) ... and it uses the ipw2200 driver.  Other than the 
fact that I had to get the latest firmware from Dag's repo, it works fine.


I would certainly recommend trying NetworkManager first and if it does 
not work, then going the other route.


I was able to use the wpa_supplicant and its conf file to make this work 
too, but it was much harder and NetworkManager is great everywhere I go 
to get connected ... of course YMMV :-D.





signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Command line partition manipulation

2008-08-08 Thread Karanbir Singh

Plant, Dean wrote:

Is there a way to use a non-interactive command to create the new 2nd
partition in the free space?


parted works well for such situations, and if python is your thing, 
pyparted is already included in the distro.


- KB

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


RE: [CentOS] Command line partition manipulation

2008-08-08 Thread Plant, Dean
Karanbir Singh wrote:
 Plant, Dean wrote:
 Is there a way to use a non-interactive command to create the new 2nd
 partition in the free space?
 
 parted works well for such situations, and if python is your thing,
 pyparted is already included in the distro.
 
Sorry, I should have worded my first email better.

I know there are command line tools like fdisk, sfdisk and parted.

I am trying to script the creation of a partition in the free space of a
disk without knowing the exact structure of the disk. Parted seems to
want to know the exact layout you want to create

From the man page 

mkpart part-type [fs-type] start end

But the script will not know the start or the end point.

Something similar to what I am trying to achieve is described here
http://ubuntuforums.org/showthread.php?p=5435429

They seem to be creating a single partition the size of the disk without
specifying the exact sizes.

# parted /dev/${i} --script -- mkpart primary 0 -1

Similar to this, I want to create a partition without knowing the exact
start or end point but im not interested in that, I just want to use the
free space.

Hope this is clearer.

Thanks

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


RE: [CentOS] Command line partition manipulation

2008-08-08 Thread William L. Maltby

On Fri, 2008-08-08 at 15:10 +0100, Plant, Dean wrote:
 Karanbir Singh wrote:
  Plant, Dean wrote:
  Is there a way to use a non-interactive command to create the new 2nd
  partition in the free space?

Yes.

  
  parted works well for such situations, and if python is your thing,
  pyparted is already included in the distro.
  
 Sorry, I should have worded my first email better.
 
 I know there are command line tools like fdisk, sfdisk and parted.

Sfdisk is your friend.

 
 snip

 start or end point but im not interested in that, I just want to use the
 free space.
 
 Hope this is clearer.

Having made my living for some months doing this, I offer the general
below guidelines.

1. Study sfdisk man page closely.
2. Look especially for the parts where it can output disk and partition
information in the form that can be re-read by sfdisk.
3. Use that information in a script (with your preferred combo of bash,
perl, (g)awk, bc, dc, ...) to locate total size, amount used, start/end
points, etc.
4. Calculate desired changes.
5. Apply to the saved information.
6. Run sfdisk reading the modified output from sfdisk.
7. sfdisk -R (IIRC) to re-read the partition information.

Alternately, steps 6/7 could be replaced with gparted if you structure
the results properly.

 
 Thanks
 
 Dean.
 snip sig stuff

HTH
-- 
Bill

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


[CentOS] Xen and bonding on Centos 5.2

2008-08-08 Thread Dirk H. Schulz

Hi folks,

I am stuck with a weird phenomenon.

I have set up two servers as xen servers with bonded interfaces (mode 1). 
The bond interface works fine on both servers as long as xen is not used.


When using xen's network-bridge script (with netdev=bond0), one server 
works fine without problems, and the other starts upping and downing the 
slave interfaces of the bond in a very fast manner (several runs per 
second). Both configurations are identical, the only difference is:

- the working server has tg3 nic drivers
- the dysfunctional server has e100 nic drivers.

Does it really depend on the nic driver if bonding works? And why does it 
not work in xen, but work fine without xen? What can I do to analyse the 
problem?


I know I could ask this on the xen list, but I fear that this is a 
redhat/centos specific phenomenon.


Any hint or help is appreciated.

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


[CentOS] RE: CentOS5 running very slowly on a core 2 duo with 4 GB RAM

2008-08-08 Thread israel.garcia
israel.garcia at cimex.com.cu
http://lists.centos.org/mailman/listinfo/centos  wrote:
 Hi, I've installed CentOS5.2 on an INTEL Core 2 Duo (Intel(R)
Core(TM)2
 Duo CPU E6550  @ 2.33GHz), 4 GB RAM (MemTotal:  4072176 kB)
and
 my system gets sevarel minutes to startup, specially on udev daemon.
 Once the system is UP, every command I run gets 100% CPU and every is
 very slowly at the point yum -y update never ends. The system
installed
 by default this kernel 2.6.18-53.el5PAE. I would like to know what's
 wrong with my server. Do I have to install another kernel? Can you
help
 me?
 
With 4G I'd install the x86_64 version. Not that I think that PAE is
the
reason for this slow behaviour (last reporter who had that somewhere on
bugs.centos.org had bad RAM), but ...
 
Cheers,
 
Ralph
 
Well, I ran memtest86 and I got no errorsI installed this kernel
2.6.18-92.1.10.el5 and everything was very fast BUT, it only recognize
3GB RAM. :-(  I installed CentOS5.2 64 x86_64 bits and I got the same
slow performance.. On x86_64 I installed the latest kernel and nothing..
:-(
 
Regards..Israel

 

 

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


[CentOS] RE: CentOS5 running very slowly on a core 2 duo with 4 GB RAM

2008-08-08 Thread israel.garcia
israel.garcia at cimex.com.cu
http://lists.centos.org/mailman/listinfo/centos  wrote:
 Hi, I've installed CentOS5.2 on an INTEL Core 2 Duo (Intel(R)
Core(TM)2
 Duo CPU E6550  @ 2.33GHz), 4 GB RAM (MemTotal:  4072176 kB)
and
 my system gets sevarel minutes to startup, specially on udev daemon.
 Once the system is UP, every command I run gets 100% CPU and every is
 very slowly at the point yum -y update never ends. The system
installed
 by default this kernel 2.6.18-53.el5PAE. I would like to know what's
 wrong with my server. Do I have to install another kernel? Can you
help
 me?
 
With 4G I'd install the x86_64 version. Not that I think that PAE is
the
reason for this slow behaviour (last reporter who had that somewhere on
bugs.centos.org had bad RAM), but ...
 
Cheers,
 
Ralph
 
More details:
 
 
 [EMAIL PROTECTED] ~]# lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM
Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express
Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82G33/G31/P35/P31
Express MEI Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DC-2 Gigabit Network
Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI
Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI
Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IH (ICH9DH) LPC Interface
Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4
port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller
(rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port
SATA IDE Controller (rev 02)
02:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6101
single-port PATA133 interface (rev b2)
06:00.0 RAID bus controller: Silicon Image, Inc. SiI 3114
[SATALink/SATARaid] Serial ATA Controller (rev 02)
06:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A
IEEE-1394a-2000 Controller (PHY/Link)
 
 
 
 
 
[EMAIL PROTECTED] ~]# vmstat 5 5
procs ---memory-- ---swap-- -io --system--
-cpu--
 r  b   swpd   free   buff  cache   si   sobibo   in   cs us sy
id wa st
 1  0  0 4013708   8880  26732003614  532   55 30  1
68  1  0
 0  1  0 4013708   8884  2675200 0 6 1010   10  0  0
100  0  0
 0  0  0 4013708     2675600 0 2 1006   11  0  0
100  0  0
 0  0  0 4013708   8896  2674800 0 6 1010   12  0  0
100  0  0
 0  0  0 4013708   8896  2675600 0 0 10069  0  0
100  0  0
 
 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] RE: CentOS5 running very slowly on a core 2 duo with 4 GB RAM

2008-08-08 Thread israel.garcia
israel.garcia at cimex.com.cu
http://lists.centos.org/mailman/listinfo/centos  wrote:
 Hi, I've installed CentOS5.2 on an INTEL Core 2 Duo (Intel(R)
Core(TM)2
 Duo CPU E6550  @ 2.33GHz), 4 GB RAM (MemTotal:  4072176 kB)
and
 my system gets sevarel minutes to startup, specially on udev daemon.
 Once the system is UP, every command I run gets 100% CPU and every is
 very slowly at the point yum -y update never ends. The system
installed
 by default this kernel 2.6.18-53.el5PAE. I would like to know what's
 wrong with my server. Do I have to install another kernel? Can you
help
 me?
 
With 4G I'd install the x86_64 version. Not that I think that PAE is
the
reason for this slow behaviour (last reporter who had that somewhere on
bugs.centos.org had bad RAM), but ...
 
Cheers,
 
Ralph
 
More details:
 
 
Dmesg output:
 
[EMAIL PROTECTED] ~]# dmesg |more
Linux version 2.6.18-92.1.10.el5PAE ([EMAIL PROTECTED])
(gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tu
e Aug 5 08:14:05 EDT 2008
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009fc00 (usable)
 BIOS-e820: 0009fc00 - 000a (reserved)
 BIOS-e820: 000e - 0010 (reserved)
 BIOS-e820: 0010 - ce1ad000 (usable)
 BIOS-e820: ce1ad000 - ce20d000 (ACPI NVS)
 BIOS-e820: ce20d000 - cf289000 (usable)
 BIOS-e820: cf289000 - cf28b000 (reserved)
 BIOS-e820: cf28b000 - cf38b000 (usable)
 BIOS-e820: cf38b000 - cf3e5000 (ACPI NVS)
 BIOS-e820: cf3e5000 - cf3ea000 (usable)
 BIOS-e820: cf3ea000 - cf3f3000 (ACPI data)
 BIOS-e820: cf3f3000 - cf3f4000 (usable)
 BIOS-e820: cf3f4000 - cf3ff000 (ACPI data)
 BIOS-e820: cf3ff000 - cf40 (usable)
 BIOS-e820: cf40 - d000 (reserved)
 BIOS-e820: f000 - f800 (reserved)
 BIOS-e820: fff0 - 0001 (reserved)
 BIOS-e820: 0001 - 00012c00 (usable)
3904MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000fe200
Memory for crash kernel (0x0 to 0x0) notwithin permissible range
disabling kdump
NX (Execute Disable) protection: active
On node 0 totalpages: 1228800
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 225280 pages, LIFO batch:31
  HighMem zone: 999424 pages, LIFO batch:31
DMI 2.4 present.

 

 

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


Re: [CentOS] Mount a Xen disk image file

2008-08-08 Thread Kai Schaetzl
Dirk H. Schulz wrote on Fri, 08 Aug 2008 14:54:20 +0200:

 What is the problem with xvda? And what is the alternative?

Didn't we just discuss that? xvda doesn't allow you simple mounting of the 
disk from the host, be it file or LV.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


[CentOS] can't get Ethernet SNMP information

2008-08-08 Thread Rudi Ahlers
Hi all,

I hope someone can help me with this one.

I'm trying to graph all traffic on the localhost's network card with Cacti.
From what I understand I should use SNMP to query the traffic, but I can't
seem to get SNMP info for the network interface.

I have installed all the necessary snmp tools, yum install snmpd net-snmp
net-snmp-utils net-snmp-devel net-snmpt-libs  and then started snmpd
(/etc/init.d/snmpd start)

running snmpwalk, I get the following:


snmpwalk -v 1 -c public localhost
SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost 2.6.18-92.1.10.el5xen #1
SMP Tue Aug 5 08:11:18 EDT 2008 x86_64
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (127237) 0:21:12.37
SNMPv2-MIB::sysContact.0 = STRING: Rudi Ahlers [EMAIL PROTECTED]
SNMPv2-MIB::sysName.0 = STRING: localhost
SNMPv2-MIB::sysLocation.0 = STRING: IS
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP
implementations
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP
implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP
implementations
SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and
Dispatching.
SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions
for the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (6) 0:00:00.06
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (130862) 0:21:48.62
End of MIB



Yet, when I try and query the SNMP - Interface Statistics, it doesn't
return any information.

Running debug for the interface in Cacti, I get the following:

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at
'/var/www/html/graphs/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at
'/var/www/html/graphs/resource/snmp_queries/interface.xml'
+ Found data query XML file at
'/var/www/html/graphs/resource/snmp_queries/interface.xml'
+ Found data query XML file at
'/var/www/html/graphs/resource/snmp_queries/interface.xml'








Can someone please help me with this one?
-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can't get Ethernet SNMP information

2008-08-08 Thread nate
Rudi Ahlers wrote:

 running snmpwalk, I get the following:


Likely you need to open up your snmpd.conf, take a look at this one
as an example:
http://portal.aphroland.org/~aphro/snmp/snmpd.conf

For CentOS 4.x at least the OIDs are:

eth0 in: .1.3.6.1.2.1.2.2.1.10.2
eth0 out: .1.3.6.1.2.1.2.2.1.16.2
eth1 in: .1.3.6.1.2.1.2.2.1.10.3
eth1 out: .1.3.6.1.2.1.2.2.1.16.3

[EMAIL PROTECTED]:~/bin]$ snmpget -v1 -c public localhost
.1.3.6.1.2.1.2.2.1.10.2
IF-MIB::ifInOctets.2 = Counter32: 1203591015
[EMAIL PROTECTED]:~/bin]$ snmpget -v1 -c public localhost
.1.3.6.1.2.1.2.2.1.16.2
IF-MIB::ifOutOctets.2 = Counter32: 4079516345

For cacti I use all my own custom scripts to gather data, I
don't use the built in stuff. I've gotten my custom install
to scale to 10.6 million data points updated per day, and
I'm only running at 16% cpu usage. Love that efficiency, though
unfortunately I can't virtualize it as it's too page fault
heavy(just nailed that down this morning).

nate

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


[CentOS] Package request: php, pear: spreadsheet::excel::writer

2008-08-08 Thread Morten Nilsen

Hello,
I am currently using this PEAR package to generate .xls documents in PHP;

http://pear.php.net/package/Spreadsheet_Excel_Writer

It would be very much appreciated if someone could add it to the 
repository, as it is always to prefer rpm packages over manually 
installed ones.


--
Cheers,
Morten
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can't get Ethernet SNMP information

2008-08-08 Thread Rudi Ahlers
On Fri, Aug 8, 2008 at 9:05 PM, nate [EMAIL PROTECTED] wrote:

 Rudi Ahlers wrote:

  running snmpwalk, I get the following:
 

 Likely you need to open up your snmpd.conf, take a look at this one
 as an example:
 http://portal.aphroland.org/~aphro/snmp/snmpd.confhttp://portal.aphroland.org/%7Eaphro/snmp/snmpd.conf

 For CentOS 4.x at least the OIDs are:

 eth0 in: .1.3.6.1.2.1.2.2.1.10.2
 eth0 out: .1.3.6.1.2.1.2.2.1.16.2
 eth1 in: .1.3.6.1.2.1.2.2.1.10.3
 eth1 out: .1.3.6.1.2.1.2.2.1.16.3

 [EMAIL PROTECTED]:~/bin]$ snmpget -v1 -c public localhost
 .1.3.6.1.2.1.2.2.1.10.2
 IF-MIB::ifInOctets.2 = Counter32: 1203591015
 [EMAIL PROTECTED]:~/bin]$ snmpget -v1 -c public localhost
 .1.3.6.1.2.1.2.2.1.16.2
 IF-MIB::ifOutOctets.2 = Counter32: 4079516345

 For cacti I use all my own custom scripts to gather data, I
 don't use the built in stuff. I've gotten my custom install
 to scale to 10.6 million data points updated per day, and
 I'm only running at 16% cpu usage. Love that efficiency, though
 unfortunately I can't virtualize it as it's too page fault
 heavy(just nailed that down this morning).

 nate

 ___


Hey Nate,

What you just said made me think, check what interfaces are listed, so I got
this:

snmpwalk -Of -v2c -c public localhost interfaces
.iso.org.dod.internet.mgmt.mib-2.interfaces = No Such Object available on
this agent at this OID


So the question now is, what should the OID's be for CentOS 5.2 to get the
network car's SNMP info? And where exactly do I add it to the snmpd.conf
file?



-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Package request: php, pear: spreadsheet::excel::writer

2008-08-08 Thread Jay Leafey

Morten Nilsen wrote:

Hello,
I am currently using this PEAR package to generate .xls documents in PHP;

http://pear.php.net/package/Spreadsheet_Excel_Writer

It would be very much appreciated if someone could add it to the 
repository, as it is always to prefer rpm packages over manually 
installed ones.




Though note exactly the same, php-pear-excel is availabe on RPMforge. 
See http://dag.wieers.com/rpm/packages/php-pear-excel/ for more information.


--
Jay Leafey - Memphis, TN
[EMAIL PROTECTED]


smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can't get Ethernet SNMP information

2008-08-08 Thread nate
Rudi Ahlers wrote:

 snmpwalk -Of -v2c -c public localhost interfaces
 .iso.org.dod.internet.mgmt.mib-2.interfaces = No Such Object available on
 this agent at this OID


 So the question now is, what should the OID's be for CentOS 5.2 to get the
 network car's SNMP info? And where exactly do I add it to the snmpd.conf
 file?

I think your getting that response because your snmpd.conf security
config is not allowing that community string to access that portion of
the stats.

nate


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


[CentOS] Stopping setroubleshootd failed

2008-08-08 Thread Lanny Marcus
This is probably a known issue, but just in case. On my Desktop, I am
running SELinux in Permissive mode. When I restart the system, or shut
it down, I notice this message:
Stopping setroubleshootd failed. Notice at the end of the dmseg
output below, regarding SELinux, there are three (3) identical lines.
I don't know if that is normal or not.

[EMAIL PROTECTED] ~]$ dmesg |more
Linux version 2.6.18-92.1.10.el5 ([EMAIL PROTECTED]) (gcc version 4
.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tue Aug 5 07:41:53 EDT 2008

Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary

SELinux:  Completing initialization.
SELinux:  Setting up existing superblocks.
SELinux: initialized (dev dm-0, type ext3), uses xattr
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev debugfs, type debugfs), uses genfs_contexts
SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
SELinux: initialized (dev mqueue, type mqueue), uses transition SIDs
SELinux: initialized (dev hugetlbfs, type hugetlbfs), uses genfs_contexts
SELinux: initialized (dev devpts, type devpts), uses transition SIDs
SELinux: initialized (dev eventpollfs, type eventpollfs), uses task SIDs
SELinux: initialized (dev inotifyfs, type inotifyfs), uses genfs_contexts
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev futexfs, type futexfs), uses genfs_contexts
SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
SELinux: initialized (dev cpuset, type cpuset), uses genfs_contexts
SELinux: initialized (dev proc, type proc), uses genfs_contexts
SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
audit(1218202140.802:2): policy loaded auid=4294967295 ses=4294967295

SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts

SELinux: initialized (dev hda3, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs

SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts

SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.2 -- how do I choose a wireless network?

2008-08-08 Thread Aleksey Tsalolikhin
Thanks for testing the Live CD on your Inspiron laptop, Johnny.

Ok, next stop, install CentOS to the hard drive.   Thanks!

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


Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread Yahia Tachwali
Thank you very much for the link.. I have built a new bootable kernel 
2.6.9-67 on my machine. However I still have a problem :(


During the installation at make menuconfig stage after make 
oldconfig I have added the generic HDLC package with synchronous PPP 
support and saved the new config then run


rpmbuild -bb --target=`uname -m` kernel-2.6.spec 2 build-err.log | tee 
build-out.log.


After reboot, I rechecked the menuconfig to make sure that the HDLC 
setting is there. I am not sure if this setting took effect or I have to 
make modules or build something else. So how would I know that the HDLC 
package is availalbe and built in?


To elaborate more on the reasons behind this HDLC package, I am trying 
to build a device driver that asks for HDLC support. upon building the 
driver, I get the following warnings:


 Building modules, stage 2.
 MODPOST
*** Warning: unregister_hdlc_device 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: hdlc_ioctl 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: hdlc_open 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: register_hdlc_device 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: hdlc_close 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: alloc_hdlcdev 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!


Therefore, I am suspecting that I need the HDLC package available. I 
would be extremely thankful for anybody who can help me in this problem. 
Am I going into the wrong direction?




[EMAIL PROTECTED] wrote:


Johnny Hughes pisze:


[EMAIL PROTECTED] wrote:


Yahia Tachwali pisze:


Hello folks,


Hi. It is request for it to add this in kernel for centosplus, look 
at this: http://bugs.centos.org/view.php?id=3019




I am trying to add HDLC module support in the menuconfig. However, 
I am facing difficulties in rebuilding the kernel and modules. My 
main objective is to get the HDLC supported in kernel 2.6.9. I have 
a CentOS 4.4 with kernel 2.6.9.42. I need help in finding the best 
way to add the HDLC support whether through getting an RPM package 
for it or refering me to the right procedure in rebuilding the kernel.


Thank you very much in advance for your help.


No problem.



That request was for CentOS-5, not CentOS-4 :D


? I can see: Category: [CentOS-4] kernel-centosplus My request was 
exactly for centos 4 branch, but for 5 is good too. So, can i count 
for You to make it posible in centos4 to support hdlc ?




HDLC was added to the CentOS-5 plus kernel for the latest version.



___
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
 



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


Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread Yahia Tachwali
Also, on the procedure mentioned in the link, I am confused about the 
need to run:


rpmbuild -bb --target=`uname -m` kernel-2.6.spec 2 build-err.log | tee 
build-out.log


after menuconfig... I tend to believe that I need to do make all then 
make modules and make install after reconfiguring the menuconfig. but I 
did not find that in the wiki link. Could that be a reason? upon 
attempting to build the new kernel, I get the following:


make[1]: *** No rule to make target `init/main.o', needed by 
`init/built-in.o'.  Stop.

make: *** [init] Error 2

Is it because I do not have the complete source tree there? How can I 
verfiry that I have the complete kernel source tree?


Yahia Tachwali wrote:

Thank you very much for the link.. I have built a new bootable kernel 
2.6.9-67 on my machine. However I still have a problem :(


During the installation at make menuconfig stage after make 
oldconfig I have added the generic HDLC package with synchronous PPP 
support and saved the new config then run


rpmbuild -bb --target=`uname -m` kernel-2.6.spec 2 build-err.log | 
tee build-out.log.


After reboot, I rechecked the menuconfig to make sure that the HDLC 
setting is there. I am not sure if this setting took effect or I have 
to make modules or build something else. So how would I know that the 
HDLC package is availalbe and built in?


To elaborate more on the reasons behind this HDLC package, I am trying 
to build a device driver that asks for HDLC support. upon building the 
driver, I get the following warnings:


 Building modules, stage 2.
 MODPOST
*** Warning: unregister_hdlc_device 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: hdlc_ioctl 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: hdlc_open 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: register_hdlc_device 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: hdlc_close 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: alloc_hdlcdev 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!


Therefore, I am suspecting that I need the HDLC package available. I 
would be extremely thankful for anybody who can help me in this 
problem. Am I going into the wrong direction?




[EMAIL PROTECTED] wrote:


Johnny Hughes pisze:


[EMAIL PROTECTED] wrote:


Yahia Tachwali pisze:


Hello folks,



Hi. It is request for it to add this in kernel for centosplus, look 
at this: http://bugs.centos.org/view.php?id=3019




I am trying to add HDLC module support in the menuconfig. However, 
I am facing difficulties in rebuilding the kernel and modules. My 
main objective is to get the HDLC supported in kernel 2.6.9. I 
have a CentOS 4.4 with kernel 2.6.9.42. I need help in finding the 
best way to add the HDLC support whether through getting an RPM 
package for it or refering me to the right procedure in rebuilding 
the kernel.


Thank you very much in advance for your help.



No problem.




That request was for CentOS-5, not CentOS-4 :D



? I can see: Category: [CentOS-4] kernel-centosplus My request was 
exactly for centos 4 branch, but for 5 is good too. So, can i count 
for You to make it posible in centos4 to support hdlc ?




HDLC was added to the CentOS-5 plus kernel for the latest version.

 



___
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
 



___
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] rebuilding the kernel.

2008-08-08 Thread MHR
On Fri, Aug 8, 2008 at 3:30 PM, Yahia Tachwali [EMAIL PROTECTED] wrote:
 Also, on the procedure mentioned in the link, I am confused about the need
 to run:

 rpmbuild -bb --target=`uname -m` kernel-2.6.spec 2 build-err.log | tee
 build-out.log


This will do all the makes for you.  That's what rpms are for.

BTW, please do not top post.

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


[CentOS] Good reference for dkms?

2008-08-08 Thread MHR
I've just built the nvidia driver for my home machine for the third
time and I'd like to put it into a dkms format, but I'm not entirely
clear on what goes where to make this work.  I googled for a good
primer on dkms, but what I'm finding is essentially equivalent to the
man page, which, like most Unix/Linux man pages, doesn't really tell
you how to do this from scratch.

I'm using nvidia's latest driver, r. 173.14.09, which seems to be more
recent than the last one I have from rpmforge (1.0.9755, IIRC),
although I'm not sure I really need anything other than the rpmforge
version.

Should I
1) revert to the rpmforge version and re-add it back into the dkms
tree?  IIRC, this wasn't that hard to do, 'cuz it was meant to be done
in the first place.
2) try to bungle my way through with the newest one from nvidia?

Or is there a really good primer on dkms that tells what to put where
and how to create a proper dkms.conf file (and where)?

Thanks.

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


Re: [CentOS] Good reference for dkms?

2008-08-08 Thread Ned Slider

MHR wrote:


Or is there a really good primer on dkms that tells what to put where
and how to create a proper dkms.conf file (and where)?



Did you read the Wiki?

http://wiki.centos.org/HowTos/BuildingKernelModules#head-d313bd351f90d4f25a2143b7bbcff73f927731f0

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


Re: [CentOS] Good reference for dkms?

2008-08-08 Thread Ned Slider

Ned Slider wrote:

MHR wrote:


Or is there a really good primer on dkms that tells what to put where
and how to create a proper dkms.conf file (and where)?



Did you read the Wiki?

http://wiki.centos.org/HowTos/BuildingKernelModules#head-d313bd351f90d4f25a2143b7bbcff73f927731f0 



And one more for you, if you want to build a dkms rpm package, see 
Building kernel modules: Part 2 here:


http://www.pendre.co.uk/archive-linux.php

Hope those help.

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


Re: [CentOS] Good reference for dkms?

2008-08-08 Thread MHR
On Fri, Aug 8, 2008 at 5:11 PM, Ned Slider [EMAIL PROTECTED] wrote:

 Did you read the Wiki?

 http://wiki.centos.org/HowTos/BuildingKernelModules#head-d313bd351f90d4f25a2143b7bbcff73f927731f0


Funny, this didn't show up in Google, and I didn't think to look there
(the second most obvious place - duh!).

Looks easy enough (and there's a newer nvidia driver now - 173.14.12 -
do they change it daily?).  I'll see what happens.  (gulp)

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


Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread Yahia Tachwali

Yahia Tachwali wrote:

Thank you very much for the link.. I have built a new bootable kernel 
2.6.9-67 on my machine. However I still have a problem :(


During the installation at make menuconfig stage after make 
oldconfig I have added the generic HDLC package with synchronous PPP 
support and saved the new config then run


rpmbuild -bb --target=`uname -m` kernel-2.6.spec 2 build-err.log | 
tee build-out.log.


After reboot, I rechecked the menuconfig to make sure that the HDLC 
setting is there. I am not sure if this setting took effect or I have 
to make modules or build something else. So how would I know that the 
HDLC package is availalbe and built in?


To elaborate more on the reasons behind this HDLC package, I am trying 
to build a device driver that asks for HDLC support. upon building the 
driver, I get the following warnings:


 Building modules, stage 2.
 MODPOST
*** Warning: unregister_hdlc_device 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: hdlc_ioctl 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: hdlc_open 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: register_hdlc_device 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: hdlc_close 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: alloc_hdlcdev 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!


Therefore, I am suspecting that I need the HDLC package available. I 
would be extremely thankful for anybody who can help me in this 
problem. Am I going into the wrong direction?




[EMAIL PROTECTED] wrote:


Johnny Hughes pisze:


[EMAIL PROTECTED] wrote:


Yahia Tachwali pisze:


Hello folks,



Hi. It is request for it to add this in kernel for centosplus, look 
at this: http://bugs.centos.org/view.php?id=3019




I am trying to add HDLC module support in the menuconfig. However, 
I am facing difficulties in rebuilding the kernel and modules. My 
main objective is to get the HDLC supported in kernel 2.6.9. I 
have a CentOS 4.4 with kernel 2.6.9.42. I need help in finding the 
best way to add the HDLC support whether through getting an RPM 
package for it or refering me to the right procedure in rebuilding 
the kernel.


Thank you very much in advance for your help.



No problem.




That request was for CentOS-5, not CentOS-4 :D



? I can see: Category: [CentOS-4] kernel-centosplus My request was 
exactly for centos 4 branch, but for 5 is good too. So, can i count 
for You to make it posible in centos4 to support hdlc ?




HDLC was added to the CentOS-5 plus kernel for the latest version.

 



___
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
 



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


Sorry about the top posting :(

After reconfiguring the menuconfig to enable the HDLC suport package 
(under device drivers). I have tried also do:


modinfo hdlc

but i did not get any info in return... Also I have tried :

lsmod

to check for hdlc module but I could not find it... I guess I am missing 
something to activate my new settings in the menuconfig.  Is there a way 
to verify that my new settings active!! Does any body know about the 
HDLC modules loading in the 2.6.9. Please advise. And thank you all for 
your help.


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


Re: [CentOS] vncserver on IPv6

2008-08-08 Thread Rob Lockhart
In /etc/sysconfig/vncservers I have something like this:

VNCSERVERS=1:myusername
VNCSERVERARGS[1]=-geometry 1400x1050 -depth 16 -localhost

(so I can only use localhost, which means I only allow connections over ssh
or from the local machine).

Yours might be something like this:

VNCSERVERS=1:robert
VNCSERVERARGS[1]=-geometry 1400x1050 -depth 16 InTransports=IPv6,IPv4

then obviously as root:
service vncserver restart

Have you tried that?  Does VNC work over IPv4?


On Fri, Aug 8, 2008 at 3:55 PM, Robert Moskowitz [EMAIL PROTECTED]wrote:

 http://www.realvnc.com/products/enterprise/4.1/ipv6.html


   IPv6 support in VNC Server E4.1.7/P4.1.2

 VNC Server E4.1.7  P4.1.2 are fully IPv6-aware, but is shipped with IPv6
 support disabled by default, for security reasons. IPv6 can be enabled by
 setting InTransports=IPv6,IPv4 (the default being IPv4 only), either on
 the command-line when starting vncserver under Unix

 Ok.  we have vnc-server-4.1.2-9.el5.i386.rpm, so it SHOULD support IPv6.

 Don't know how to add a setting to the command-line, as I rund VNCserver
 via the service command, but I added it to /etc/sysconfig/vncservers:

 InTransports=IPv6   (note I also tried without the quotes)

 and netstat -na|grep 5902

 shows vncserver only running on IPv4 and I can only connect to it via IPv4.

 So what am I missing?


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