[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler()

2016-09-06 Thread Radha Mohan Chintakuntla
@Dann, my bad. the installer kernel is from older 16.04 release, that was before this commit. I don't see this issue with latest installer kernel. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574814

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler()

2016-09-06 Thread dann frazier
@Radha If you are still seeing this bug, can you attach a console log? Here's the commit that was added in xenial to address this: commit 51b7d7350e526bde77f458fb23481e7c5d312d91 Author: David Daney Date: Tue May 24 12:55:54 2016 +0800 UBUNTU: SAUCE: tty: vt: Fix soft lockup in fbcon curs

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler()

2016-09-01 Thread Radha Mohan Chintakuntla
What is the exact commit that went into to fix this? I am looking at drivers/video/console/fbcon.c at "https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/xenial/"; and I don't see the fix here. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler()

2016-06-27 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.4.0-28.47 --- linux (4.4.0-28.47) xenial; urgency=low [ Luis Henriques ] * Release Tracking Bug - LP: #1595874 * Linux netfilter local privilege escalation issues (LP: #1595350) - netfilter: x_tables: don't move to non-existe

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler()

2016-06-15 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.4.0-25.44 --- linux (4.4.0-25.44) xenial; urgency=low [ Kamal Mostafa ] * Release Tracking Bug - LP: #1591289 * Xenial update to v4.4.13 stable release (LP: #1590455) - MIPS64: R6: R2 emulation bugfix - MIPS: math-emu: Fi

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler()

2016-06-14 Thread dann frazier
I rebuilt d-i against the kernel in proposed and booted it a couple of times. I have not reproduced this issue, so marking it verified. ~ # uname -a Linux cvm3 4.4.0-25-generic #44-Ubuntu SMP Fri Jun 10 18:15:04 UTC 2016 aarch64 GNU/Linux ~ # dmesg | grep -i soft [ 0.00] Kernel command line:

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler()

2016-06-14 Thread Kamal Mostafa
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- xenial' to 'verification-done-xenial'. If verification is not done by 5 working days from t

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler()

2016-05-24 Thread Kamal Mostafa
** Also affects: linux (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Xenial) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bug

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler()

2016-05-17 Thread dann frazier
Upstream thread: https://lists.freedesktop.org/archives/dri- devel/2016-May/107693.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574814 Title: ThunderX: soft lockup in cursor_timer_handler()

Re: [Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-16 Thread Ming Lei
On Tue, May 17, 2016 at 12:12 PM, Ming Lei wrote: > On Mon, May 16, 2016 at 5:25 PM, Ming Lei wrote: >> On Fri, May 13, 2016 at 7:22 AM, dann frazier >> wrote: >>> I used ftrace to do some duration measuring of the timer function >>> fb_flashcursor(). I noticed several places where this timer ta

Re: [Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-16 Thread Ming Lei
On Mon, May 16, 2016 at 5:25 PM, Ming Lei wrote: > On Fri, May 13, 2016 at 7:22 AM, dann frazier > wrote: >> I used ftrace to do some duration measuring of the timer function >> fb_flashcursor(). I noticed several places where this timer takes around >> 98 ms to complete. This time seems to be du

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler()

2016-05-16 Thread dann frazier
** Summary changed: - ThunderX: soft lockup in cursor_timer_handler() Edit + ThunderX: soft lockup in cursor_timer_handler() -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574814 Title: ThunderX: s

Re: [Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-16 Thread Ming Lei
On Fri, May 13, 2016 at 7:22 AM, dann frazier wrote: > I used ftrace to do some duration measuring of the timer function > fb_flashcursor(). I noticed several places where this timer takes around > 98 ms to complete. This time seems to be due to multiple calls to > __memcpy_toio() in ast_dirty_upd

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-12 Thread dann frazier
I used ftrace to do some duration measuring of the timer function fb_flashcursor(). I noticed several places where this timer takes around 98 ms to complete. This time seems to be due to multiple calls to __memcpy_toio() in ast_dirty_update(): for (i = y; i <= y2; i++) { /*

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-11 Thread dann frazier
I captured a perf data file, starting just before the NMI kicked in - in this case, it again occurred on CPU 11. I found that CPU 11 had spent a lot of its time in cursor_timer_handler(): - 16.92% swapper [kernel.kallsyms] [k] _raw_spin_unlock_irqrestore ▒ - _raw_spin_unl

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-10 Thread dann frazier
I created a perf timechart (attached) to see if that would illuminate the problem. This is taken from the installer environment for the first 30s. In this boot, the soft lockup occurred on CPU 11: [ 32.815351] NMI watchdog: BUG: soft lockup - CPU#11 stuck for 22s! [swapper/11:0] This blocked

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-05 Thread Joseph Salisbury
** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Tags added: kernel-da-key -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574814 Title: ThunderX: soft lockup in cursor_timer_hand

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-03 Thread Radha Mohan Chintakuntla
I think AMI UEFI has the aspeed vga driver but Cavium UEFI doesn't. so this might be causing issues ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574814 Title: ThunderX: soft lockup in cursor_tim

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-03 Thread dann frazier
fyi, I've found that removing the ast kernel module from the di initrd seems to avoid the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574814 Title: ThunderX: soft lockup in cursor_timer_ha

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-03 Thread Radha Mohan Chintakuntla
I tried PXE based install (just booting till the installer does network init) multiple times with Cavium UEFI and did not see this issue, but as soon as I tried AMI UEFI first time the "NMI softlockup ..." appeared after sometime while still in opening screen of "debian-installer". -- You receive

Re: [Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-02 Thread Ming Lei
On Tue, May 3, 2016 at 1:14 PM, Radha Mohan Chintakuntla wrote: > Ming, > The "-I" option of tcpdump is monitoring mode typically applicable only to > wifi interfaces. So even if you run it on Thunder's NIC interfaces it will > return saying that this is not supported. > Even without the '-I',

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-02 Thread Radha Mohan Chintakuntla
Ming, The "-I" option of tcpdump is monitoring mode typically applicable only to wifi interfaces. So even if you run it on Thunder's NIC interfaces it will return saying that this is not supported. And BTW, what is eth7 ? >From 16.04 release all interfaces are coming up as "enP2x" -- You

Re: [Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-02 Thread Ming Lei
On Tue, May 3, 2016 at 10:35 AM, dann frazier wrote: > On Fri, Apr 29, 2016 at 2:06 AM, Ming Lei <1574...@bugs.launchpad.net> wrote: >> It can be triggered 100% by running 'tcpdump -I ethX'. > > Thanks Ming. I let that run for a few hours, but was unable to > reproduce. Are you seeing the same tra

Re: [Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-05-02 Thread dann frazier
On Fri, Apr 29, 2016 at 2:06 AM, Ming Lei <1574...@bugs.launchpad.net> wrote: > It can be triggered 100% by running 'tcpdump -I ethX'. Thanks Ming. I let that run for a few hours, but was unable to reproduce. Are you seeing the same traceback along w the softlockup msg? -dann -- You received

Re: [Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-04-29 Thread Ming Lei
It can be triggered 100% by running 'tcpdump -I ethX'. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574814 Title: ThunderX: soft lockup in cursor_timer_handler() Edit To manage notifications abou

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-04-28 Thread dann frazier
I have been able to reproduce a soft lockup using a pure upstream kernel (post-4.5 git, after the thunderx pcie drivers were merged) and the d-i initrd mentioned above. I've attached a log of one of those boots. I used the Ubuntu config with the following exceptions: CONFIG_DRM=y and CONFIG_DRM_A

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-04-26 Thread dann frazier
Note that, while I haven't been able to reproduce this by booting into Ubuntu from disk, I can easily reproduce it by booting d-i from disk - specifically, the linux and initrd.gz here: http://ports.ubuntu.com/ubuntu-ports/dists/xenial/main/installer- arm64/20101020ubuntu451/images/netboot/ubuntu-

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-04-25 Thread dann frazier
The traceback isn't always the same - here it was stuck in mod_timer(): [ 180.912269] NMI watchdog: BUG: soft lockup - CPU#9 stuck for 22s! [swapper/9:0] [ 180.912293] Modules linked in: hid_generic(E) usbhid(E) hid(E) usb_storage(E) mdio_thunder(E) nicvf(E) ast(E) i2c_algo_bit(E) drm_kms_hel

[Bug 1574814] Re: ThunderX: soft lockup in cursor_timer_handler() Edit

2016-04-25 Thread dann frazier
** Attachment added: "screenshot of vga console" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1574814/+attachment/4646973/+files/Screenshot%20from%202016-04-25%2013-03-44.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.