Re: qpidd and leap seconds (kernel futex bug?)

2012-07-03 Thread Petter Olsson
Hi guys,

This is the best summary of the leap second problem I have seen thus
far and figured it could not hurt to share:

http://serverfault.com/questions/403732/anyone-else-experiencing-high-rates-of-linux-server-crashes-during-a-leap-second

Thanks
Petter

On Mon, Jul 2, 2012 at 10:50 PM, Peter van Hooft
ho...@natlab.research.philips.com wrote:
 On Mon, Jul 02, 2012 at 08:42:28PM +0100, Jon Peatfield wrote:
 On Sun, 1 Jul 2012, Peter van Hooft wrote:

 Hi,
 
 On 6.2 (2.6.32-220.23.1.el6.x86_64) I noticed that qpidd started to use an
 enormous amount of cpu time. It is probably related to the last leap second.
 Doing an strace I saw it doing futex() calls in a furious rate.
 After doing the
 export LANG=C
 date; date `date +%m%d%H%M%C%y.%S`; date
 trick and restarting qpidd, the problem was gone.

 Caused by a kernel bug in  2.6.26 (apparently)  3.4.something.  See:

   
 http://serverfault.com/questions/403732/anyone-else-experiencing-high-rates-of-linux-server-crashes-during-a-leap-second

 which in turn points at:

   https://access.redhat.com/knowledge/solutions/154713
   https://access.redhat.com/knowledge/articles/15145

 for the RHEL6 info...  The solutions stuff seems to require a
 subscription to view in full.

 Note that there seem to have been two bugs one may have caused a
 hard crash at any time on the day leading up to the leap-second, and
 the other causes excessive CPU usage after the leap-second has been
 applied. Machines with higher loads were more likely to suffer the
 hard crash.

 The bug all distros with the bad ranges of kernels, so e.g. el5/sl5
 seems not to have been affected though el6/sl6 were.

  -- Jon


 Hi Jon,

 Thanks for your mail.
 I just wanted to note this for the benefit of others who ran into problems 
 with qpidd.
 For your information, we've got reports of matlab running slowly (on systems 
 without oopses,
 'hrtimer: interrupt took x ns' or 'INFO: task x blocked for more than 
  seconds'
 messages) and the re-setting of the system time seems to solve that as well.
 In other words, any application that uses java and/or multithreading may 
 benefit from re-setting
 the system time, even if no evidence of kernel problems are present.

 Regards,

 Peter



-- 
Petter Olsson
System Administrator
NumberFour AG
Schönhauser Allee 8
10119 Berlin
Germany
Mobile: +49 170 2393359
Phone: +49 30 40505411
Fax: +49 30 40505410
pet...@numberfour.eu

www.facebook.com/NumberFour
www.twitter.com/numberfourag

People who say it cannot be done should not interrupt those who are doing it.


Re: Scientific Linux 6.2 available on Amazon EC2

2012-05-03 Thread Petter Olsson
Hi,

Static AMI's seems useful for people who just want to try something
out. Personally the Boxgrinder project is what I use to create new
AMI's.

Thanks
Petter

On Thu, May 3, 2012 at 11:08 AM, Corey Quinn co...@sequestered.net wrote:

 On May 3, 2012, at 1:56 AM, Jamie Kinney wrote:

 I have created a Scientific Linux 6.2 x86_64 Amazon EC2 machine image (AMI) 
 and would welcome
 your feedback.  The AMI currently resides in the us-east-1 (Northern 
 Virginia) Amazon EC2 region.
 If there is enough interest, I could easily publish this AMI to all AWS 
 regions.

 The AMI is ami-e2a0058b.

 https://console.aws.amazon.com/ec2/home?region=us-east-1#launchAmi=ami-e2a0058b

 Feel free to contact me directly with any questions/comments.

 Thanks for doing this.

 [root@ip-10-196-57-7 ec2-user]# rpm -qa |wc -l
 622

 Looks a bit heavy from my side-- most instances I tend to spin up hover 
 between 200-300 packages installed.  Is this by design?

 I guess my real question becomes What's the intended use case for this AMI?

 -- Corey



-- 
Petter Olsson
System Administrator
NumberFour AG
Schönhauser Allee 8
10119 Berlin
Germany
Mobile: +49 170 2393359
Phone: +49 30 40505411
Fax: +49 30 40505410
pet...@numberfour.eu

www.facebook.com/NumberFour
www.twitter.com/numberfourag

People who say it cannot be done should not interrupt those who are doing it.


Re: Help for openstack img 6.2

2012-03-12 Thread Petter Olsson
Create one using Boxgrinder perhaps? It's what I use to create AMI's
and it supports almost all VM platforms.

Thanks
Petter

2012/3/12 Yan Xiaofei ya...@ihep.ac.cn:
 Is there public SL6.2 img for openstack.

 Xiaofei



-- 
Petter Olsson
System Administrator
NumberFour AG
Schönhauser Allee 8
10119 Berlin
Germany
Mobile: +49 170 2393359
Phone: +49 30 40505411
Fax: +49 30 40505410
pet...@numberfour.eu

www.facebook.com/NumberFour
www.twitter.com/numberfourag

People who say it cannot be done should not interrupt those who are doing it.


Re: reply to list request

2012-03-12 Thread Petter Olsson
Trying to determine if there actually is such a thing as a CentOs-virt
header I googled it. This email thread itself is the top hit ;-)

FYI: 
http://www.google.de/search?hl=enclient=safaribiw=320bih=416q=CentOS-virt+headeroq=CentOS-virt+headeraq=faqi=aql=gs_sm=3gs_upl=181942l184600l0l186374l1l1l0l0l0l0l0l0ll0l0mvs=0

Sent from my iPhone

On 13.03.2012, at 05:32, g gel...@bellsouth.net wrote:


 On 02/25/2012 06:21 AM, Todd And Margo Chester wrote:
 Dear List Administrator,
 -=-

 i am a list subscriber, not List Administrator.


 I have noticed in Thunderbird, that when I go to reply to a message in
 the CentOS-virt list, that I have a reply to list option that I do
 not have in this list.
 -=-

 that is because CentOS 'list server' has ability to insert a Reply-To:
 line into forwarded emails.

 I have also noticed that in this list, that you have to change the To:
 back to the list when replying.
 -=-

 because list server does not have ability to do so, or is not enabled.


 Apparently a lot of folks miss this too, as I get a lot of replies
 directly to me and not to the list.
 -=-

 this is because many responders do not pay attention to what they are
 sending, or, do not care who email is sent to. ;-)


 This deprives the list of any wisdom that is being shared.
 -=-

 call it such if you will. but if poster is 'with wisdom', replier
 should be aware of such and makes such a change on their own. 8-D


 Checking the message source of the two lists, this header appears in
 CentOS-virt, but not yours:

  List-Id: Discussion about the virtualization on CentOS
  centos-virt.centos.org

 Maybe this is what triggers the reply to list option in
 CentOS-virt and not your list?
 -=-

 nope, that identifies list and has nothing to do with addressing.

 From: ,To: , Reply-To:  are what determines how addressee lines
 are built in an email reply with thunderbird client when you click
 on Reply or Reply All icon button in Tool Bar.


 Would you please consider adding whatever header is needed to
 trigger the reply to list function in your list.
 -=-

 such should be, but may not be, available with list server used
 at fnal.gov.


 Many thanks,
 -T

 p.s. I can eMail you a full CentOS-virt header if you need it.
 -=-

 if you do so, please send it directly to List Administrator and not
 to this email tech support list. i, and i imagine many others, do not
 care to see what a CentOS-virt header looks like.


 to summate; *npoti*.

 --

 peace out.

 tc.hago,

 g
 .

 *please reply plain text only. html text are deleted*

 
 in a free world without fences, who needs gates.
 **
 help microsoft stamp out piracy - give linux to a friend today.
 **
 to mess up a linux box, you need to work at it.
 to mess up an ms windows box, you just need to *look* at it.
 **
 The installation instructions stated to install Windows 2000 or better.
 So I installed Linux.
 **
 learn linux:
 'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
 'The Linux Documentation Project' http://www.tldp.org/
 'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
 'HowtoForge' http://howtoforge.com/
 



SL 6.x on Mac mini

2012-03-06 Thread Petter Olsson
Hi guys,

Do anyone have any experience running SL 6.x on the new Mac minis?
Does it even work? Any feedback before we buy a single one of these
would be much appreciated.

FYI: http://www.apple.com/macmini/specs.html

Thank you!
Petter

ps. Apparently I was removed from this email list which I did not
notice until I tried to send this mail. Not sure how that happened!

--
Petter Olsson
System Administrator
NumberFour AG
Schönhauser Allee 8
10119 Berlin
Germany
Mobile: +49 170 2393359
Phone: +49 30 40505411
Fax: +49 30 40505410
pet...@numberfour.eu

www.facebook.com/NumberFour
www.twitter.com/numberfourag

People who say it cannot be done should not interrupt those who are doing it.


-- 
Petter Olsson
System Administrator
NumberFour AG
Schönhauser Allee 8
10119 Berlin
Germany
Mobile: +49 170 2393359
Phone: +49 30 40505411
Fax: +49 30 40505410
pet...@numberfour.eu

www.facebook.com/NumberFour
www.twitter.com/numberfourag

People who say it cannot be done should not interrupt those who are doing it.


Re: SL6.1 installer requires internet connection?

2011-11-22 Thread Petter Olsson
This is what I always used: http://unetbootin.sourceforge.net/

Sent from my iPhone

On 23.11.2011, at 02:22, Konstantin Olchanski olcha...@triumf.ca wrote:

 On Tue, Nov 22, 2011 at 03:39:16PM -0800, Christopher Tooley wrote:

 You might also be able to make a bootable USB stick by using the tool found 
 here:
 https://fedorahosted.org/liveusb-creator/

 You can select any Live CD you wish I think.


 But I am not making a Live CD. I am making an Installer disk. But perhaps 
 the tool is misnamed.


 --
 Konstantin Olchanski
 Data Acquisition Systems: The Bytes Must Flow!
 Email: olchansk-at-triumf-dot-ca
 Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada


KVM guests with time sync issues

2011-11-03 Thread Petter Olsson
Hi guys,

We are experiencing some problems with our Windows 7 guests running on
KVM. This specifically relates to the time sync which is always off,
way off. Here is a quick rundown of the setup that we have done. My
apologies if this is too much detail but about two days on Google and
tried all things I could find have not resolved this issue thus far.

Install:
Scientificlinux 6.1 Minimal install
Added the following packages after a yum update: bridge-utils, curl,
emacs, htop, iotop, kpartx, mc, ncftp, nfs-utils, ntpd, rsync, ruby,
urw-fonts, vim, wget, xauth, xorg-x11-fonts*
Added EPEL
Created the bridge
Set selinux to permissive
Added the following packages: libguestfs-tools, libvirt,
python-virtinst, virt-manager, virt-top, virt-viewer

VM Added:
Added one new VM, Windows 7 Enterprise Edition with SP1. No virtio drivers used.
Added one new VM, Windows 7 Enterprise Edition with SP1. Virtio drivers used.

I have attached one xml document at the end of this email showing the
current config.

The most bizarre solution I have tried thus far is setting up a local
NTP server and having the Windows machine update every 5 seconds.
Still, same problem.

We have tried many different configs and solutions but to no luck.

Any help in this matter is highly appreciated.

Thanks
Petter

=== CURRENT CONFIG ===
domain type='kvm'
  namebuild-win7-1/name
  uuid9b5f36a6-468a-1ac7-5a34-0a1dcfa82656/uuid
  memory2097152/memory
  currentMemory2097152/currentMemory
  vcpu1/vcpu
  os
type arch='x86_64' machine='rhel6.1.0'hvm/type
boot dev='hd'/
  /os
  features
acpi/
apic/
pae/
  /features
  clock offset='localtime'/
  on_poweroffdestroy/on_poweroff
  on_rebootrestart/on_reboot
  on_crashrestart/on_crash
  devices
emulator/usr/libexec/qemu-kvm/emulator
disk type='file' device='disk'
  driver name='qemu' type='raw' cache='none'/
  source file='/var/lib/libvirt/images/build-win7-1'/
  target dev='vda' bus='virtio'/
  address type='pci' domain='0x' bus='0x00' slot='0x04'
function='0x0'/
/disk
controller type='ide' index='0'
  address type='pci' domain='0x' bus='0x00' slot='0x01'
function='0x1'/
/controller
interface type='bridge'
  mac address='00:16:36:7f:72:80'/
  source bridge='br0'/
  address type='pci' domain='0x' bus='0x00' slot='0x03'
function='0x0'/
/interface
serial type='pty'
  target port='0'/
/serial
console type='pty'
  target port='0'/
/console
input type='tablet' bus='usb'/
input type='mouse' bus='ps2'/
graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/
video
  model type='vga' vram='9216' heads='1'/
  address type='pci' domain='0x' bus='0x00' slot='0x02'
function='0x0'/
/video
memballoon model='virtio'
  address type='pci' domain='0x' bus='0x00' slot='0x05'
function='0x0'/
/memballoon
  /devices
/domain
=== END CURRENT CONFIG ===

-- 
Petter Olsson
System Administrator
NumberFour AG


Re: KVM guests with time sync issues

2011-11-03 Thread Petter Olsson
Hi Klaus,

Thank you very much. This fixed the issue for me. Googling that
setting takes me directly to the documentation I have read several
times. I  apparently did not try enough options and should have read
it more carefully.

Thanks
Petter

On Thu, Nov 3, 2011 at 1:53 PM, Klaus Steinberger
klaus.steinber...@physik.uni-muenchen.de wrote:
 Hi Peter,

 we run into same trouble and got some hints from TUV (we have some RHEL 
 systems
 with support). There is a ticket open in TUV's supports about the issue.

 Try the following clock settings for your Windows VM's:

  clock offset='localtime'
    timer name='rtc' tickpolicy='catchup'/
  /clock



 Sincerly,
 Klaus

 --
 Rechnerbetriebsgruppe / IT, Fakultät für Physik
 Klaus Steinberger
 FAX: +49 89 28914280
 Tel: +49 89 28914287




-- 
Petter Olsson
System Administrator
NumberFour AG
Schönhauser Allee 8
10119 Berlin
Germany
Mobile: +49 170 2393359
Phone: +49 30 40505411
Fax: +49 30 40505410
pet...@numberfour.eu

www.facebook.com/NumberFour
www.twitter.com/numberfourag