The following error on a SMP x86_64 Centos 4.3 kernel 2.6.9-34 ELsmp appears at boot. and causes things to compute faster. Example, a wait(5) should wait for 5 seconds....it waits for 3 or 2.
This was an open bug for that kernel. Has it been patched in the more recent kernel for Centos 2.6.9-34.0.1 ?
dmseg output:
Freeing unused kernel memory: 164k freed Losing some ticks... checking if CPU frequency changed. EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs: write access will be enabled during recovery. warning: many lost ticks. Your time source seems to be instable or some driver is hogging interupts rip __do_softirq+0x41/0xa2 kjournald starting. Commit interval 5 seconds
should I insert noapic at grub.conf? What will I loose if i do noapic?
This is a performance oriented, intensive voice over ip server.
On Wed, 2006-05-31 at 20:27 -0500, Erick Perez wrote:
should I insert noapic at grub.conf? What will I loose if i do noapic?
You could try to use a different timer source first. There was an excellent post about this a while ago (esp. check the "If you are not running VMWare" part):
http://lists.centos.org/pipermail/centos/2006-February/060651.html
It boils down to using another clock with "clock=<clockname>", usually "pmtmr" and "pit" are good candidates.
-- Daniel
Being a no-programer but more a sysadmin....Can someone explain to me how to change this in an INTEL motherboard D945GNT with a Pentium D (dual core) ? im going nuts with this error and i think that's the issue i have with timmings with a voice app that's running in that motherboard.
Any gurus that can help?
On 6/1/06, Daniel de Kok danieldk@pobox.com wrote:
On Wed, 2006-05-31 at 20:27 -0500, Erick Perez wrote:
should I insert noapic at grub.conf? What will I loose if i do noapic?
You could try to use a different timer source first. There was an excellent post about this a while ago (esp. check the "If you are not running VMWare" part):
http://lists.centos.org/pipermail/centos/2006-February/060651.html
It boils down to using another clock with "clock=<clockname>", usually "pmtmr" and "pit" are good candidates.
-- Daniel
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Fri, 2006-06-02 at 22:14 -0500, Erick Perez wrote:
Being a no-programer but more a sysadmin....Can someone explain to me how to change this in an INTEL motherboard D945GNT with a Pentium D (dual core) ?
To test kernel parameters, it is best to try the parameter for one boot first. The following page describes how you can add an extra boot option from the GRUB boot loader menu (read the "Menu Entry Editor Interface" section):
http://www.centos.org/docs/4/html/rhel-rg-en-4/s1-grub-interfaces.html
So, you can edit the entry for your default kernel by selecting it from the GRUB menu, and pressing 'e'. Then edit the "kernel" line with 'e', and add:
clock=pmtmr
and if that doesn't help, add
clock=pit
If one of these parameters solve your problem, you can permanently change the GRUB configuration to boot the kernel with this parameter by modifying /boot/grub/menu.list. This page describes that file:
http://www.centos.org/docs/4/html/rhel-rg-en-4/s1-grub-configfile.html
In menu.lst, you can add the parameter to the "kernel" stanza for your default kernel.
-- Daniel
Hello,
Does somebody know wether there is somewhere a rpm package that I can use to update the udev from 0.39 to a version >= 0.51 ?
Thnaks and best regards
Niels
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
Hello everyone, I have been searching for this for a while now, without any luck. I would like to know how to keep ssh users in thier home directory, and allow them to execute scripts under their home. I have a user that wants to run a game off the server, but need ssh access to do so, to run a shell script. I have tried rbash and rksh, but, both do not allow the game script to be run.
thanks
support@robohostingsolutions.com wrote:
Hello everyone, I have been searching for this for a while now, without any luck. I would like to know how to keep ssh users in thier home directory, and allow them to execute scripts under their home. I have a user that wants to run a game off the server, but need ssh access to do so, to run a shell script. I have tried rbash and rksh, but, both do not allow the game script to be run.
you might want to look at this : http://olivier.sessink.nl/jailkit/
I think the classic solution is to patch ssh (trivial patch, search around on the internet...) with the chroot on /./ in home directory patch, then make a users home directory /home/user/./home/user copying (linking) all needed libs and binaries into /home/user/{bin,lib,usr,...}
Not the best solution but it works...
Cheers, MaZe.
On Sat, 3 Jun 2006, support@robohostingsolutions.com wrote:
Hello everyone, I have been searching for this for a while now, without any luck. I would like to know how to keep ssh users in thier home directory, and allow them to execute scripts under their home. I have a user that wants to run a game off the server, but need ssh access to do so, to run a shell script. I have tried rbash and rksh, but, both do not allow the game script to be run.
thanks
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Sun, 4 Jun 2006, Maciej Żenczykowski wrote:
I think the classic solution is to patch ssh (trivial patch, search around on the internet...) with the chroot on /./ in home directory patch, then make a users home directory /home/user/./home/user copying (linking) all needed libs and binaries into /home/user/{bin,lib,usr,...}
Not the best solution but it works...
In case you're interested I just tried this out with the CentOS4 sshd and the resulting rpms are available at http://tcs.ii.uj.edu.pl/~buildcentos/chrootssh/
This is a clean (hopefully) rebuild of the openssh from CentOS4.3 with the extra couple line chroot on ssh patch added in.
All you need to do is make a users home dir contain /./ and he'll be chrooted to that spot after password verification. Please note - if there is insufficient stuff in there to run his default shell then it'll bomb and log back out immediately...
Here's a list of files which I copied and managed to start up a bash shell:
The files needed to start up bash (ie ldd `which bash`):
/bin /bin/bash /lib /lib/libdl-2.3.4.so /lib/ld-2.3.4.so /lib/libtermcap.so.2.0.8 /lib/tls /lib/tls/libc.so.6 /lib/tls/libc-2.3.4.so /lib/ld-linux.so.2 /lib/libtermcap.so.2 /lib/libdl.so.2
And, seemingly needed by sshd (sad that it can't use the normal /etc/passwd)
/etc /etc/passwd - just the line with the logging in user needed
Possibly also useful, though not strictly needed: /dev /dev/zero /dev/null /dev/console /dev/tty
Cheers, MaZe.
On 04/06/06, support@robohostingsolutions.com support@robohostingsolutions.com wrote:
Hello everyone, I have been searching for this for a while now, without any luck. I would like to know how to keep ssh users in thier home directory, and allow them to execute scripts under their home. I have a user that wants to run a game off the server, but need ssh access to do so, to run a shell script. I have tried rbash and rksh, but, both do not allow the game script to be run.
In addition to the other suggestions:
Will.