Build perf statically with all libunwind+dwaf for profiling userland process on constrained Linux box

2014-07-25 Thread Vincent Li
Hi, I am on Fedora 20 and trying to build a static perf with needed library support, but it failed to detect the needed library, here is the output 1, build dynamically detected the library ok [vincent@localhost perf]$ make BUILD: Doing 'make -j4' parallel build config/Makefile:422: GTK2 n

BUG: scheduling while atomic: java/9378/0x10000101

2013-12-18 Thread Vincent Li
custom build kernel with in-house modules based on centos 6, userspace process appears triggered kernel bug, full console log below, anyone has seen similar kernel panic before? # BUG: unable to handle kernel NULL pointer dereference at (null) IP: [] _spin_lock_irqsave+0x7/0x1f PGD d50ac067 PUD d

Re: [ipv4:PATCH] Allow userspace to specify primary or secondary ip on interface

2013-09-30 Thread Vincent Li
Sep 29, 2013 at 2:59 PM, David Miller wrote: > From: Vincent Li > Date: Tue, 24 Sep 2013 14:09:48 -0700 > >> the reason for this patch is that we have a multi blade cluster platform >> sharing 'floating management ip' and also that each blade has its own >>

Re: [PATCH] Allow userspace code to use flag IFA_F_SECONDARY to specify an ip address to be primary or secondary ip on an interface

2013-09-25 Thread Vincent Li
I think it is good idea to add these preferences flags and sorted them, but my code knowledge is limited to implement it as I am still learning, I can help testing :) On Wed, Sep 25, 2013 at 12:08 AM, Julian Anastasov wrote: > > Hello, > > On Tue, 24 Sep 2013, Vinc

Re: [PATCH] Allow userspace code to use flag IFA_F_SECONDARY to specify an ip address to be primary or secondary ip on an interface

2013-09-24 Thread Vincent Li
, Vincent Li wrote: > Thanks Julian for the comments, I imagined it would not be so simple > as it changed old behavior with ip binary and some actions in > __inet_del_ifa() that I am not fully aware of. my intention is to > preserve the old behavior and extend the flexibility, I am unable

Re: [PATCH] Allow userspace code to use flag IFA_F_SECONDARY to specify an ip address to be primary or secondary ip on an interface

2013-09-24 Thread Vincent Li
eciated. On Tue, Sep 24, 2013 at 2:13 PM, Julian Anastasov wrote: > > Hello, > > On Tue, 24 Sep 2013, Vincent Li wrote: > >> the current behavior is when an IP is added to an interface, the primary >> or secondary attributes is depending on the order of ip added

[ipv4:PATCH] Allow userspace to specify primary or secondary ip on interface

2013-09-24 Thread Vincent Li
floating management ip' is always secondary, kernel always choose the primary ip as source ip address. thus we would like to add the flexibility in kernel to allow us to specify which ip to be primary or secondary. Signed-off-by: Vincent Li --- net/ipv4/devinet.c |8 ++-- 1 file cha

Re: [PATCH] Allow userspace code to use flag IFA_F_SECONDARY to specify an ip address to be primary or secondary ip on an interface

2013-09-24 Thread Vincent Li
Ok, I will resend the patch with your suggestions. Vincent On Tue, Sep 24, 2013 at 12:28 PM, David Miller wrote: > From: Vincent Li > Date: Tue, 24 Sep 2013 11:11:21 -0700 > >> the current behavior is when an IP is added to an interface, the primary >> or secondary attri

[PATCH] Allow userspace code to use flag IFA_F_SECONDARY to specify an ip address to be primary or secondary ip on an interface

2013-09-24 Thread Vincent Li
uld like to add the flexibility in kernel to allow us to specify which ip to be primary or secondary. Signed-off-by: Vincent Li --- net/ipv4/devinet.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index a1b5bcb..bfc7

Re: KVM Disk i/o or VM activities causes soft lockup?

2012-11-26 Thread Vincent Li
On Mon, Nov 26, 2012 at 2:58 AM, Stefan Hajnoczi wrote: > On Fri, Nov 23, 2012 at 10:34:16AM -0800, Vincent Li wrote: >> On Thu, Nov 22, 2012 at 11:29 PM, Stefan Hajnoczi wrote: >> > On Wed, Nov 21, 2012 at 03:36:50PM -0800, Vincent Li wrote: >> >> We have users

Re: KVM Disk i/o or VM activities causes soft lockup?

2012-11-23 Thread Vincent Li
On Thu, Nov 22, 2012 at 11:29 PM, Stefan Hajnoczi wrote: > On Wed, Nov 21, 2012 at 03:36:50PM -0800, Vincent Li wrote: >> We have users running on redhat based distro (Kernel >> 2.6.32-131.21.1.el6.x86_64 ) with kvm, when customer made cron job >> script to copy large files

KVM Disk i/o or VM activities causes soft lockup?

2012-11-22 Thread Vincent Li
Hi, We have users running on redhat based distro (Kernel 2.6.32-131.21.1.el6.x86_64 ) with kvm, when customer made cron job script to copy large files between kvm guest or some other user space program leads to disk i/o or VM activities, users get following soft lockup message from console: Nov 1

Re: ubuntu 10.04 with kernel 3.7.0-rc4 cause ssh fail to start

2012-11-12 Thread Vincent Li
On Thu, Nov 8, 2012 at 4:54 PM, Vincent Li wrote: > Hi, > > I am running ubuntu 10.04 with most recent kernel based on this link > https://wiki.ubuntu.com/KernelTeam/GitKernelBuild. I had experienced a > strange issue that with 3.7.0-rc4. the ssh service fail to start, but >