All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: jordan <triplesquarednine@gmail.com>
Cc: "linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: Re: WAS: linux-rt fails to boot on > 3.12.5.-rt7 ... NOW IS: linux-rt-3.14 boots by reverting patches + nvidia uses __rt_mutex_init [which in 3.14 has been changed to EXPORT_SYMBOL_GPL]
Date: Fri, 25 Apr 2014 10:43:00 -0400	[thread overview]
Message-ID: <535A7474.2090701@windriver.com> (raw)
In-Reply-To: <CAOcfFMy_Ui94baWzuAMKOnUpcjYpnNsubdDCNTZx52XokVyN6g@mail.gmail.com>

On 14-04-19 10:42 AM, jordan wrote:
> Hey Paul,
> 
>> I've got some AMD kit that has just been freed up from winter
>> heating duty - sometime later this week I should be able to try to
>> reproduce what you have seen, and knowing it works w/o the above
>> softirq patch monkeying around should be a good lead on this.
> 
> That would be awesome! IIRC, Sebastian said that he didn't have said
> h/w CPU kicking around to test with, at some point in my original
> thread on this subject... and i just don't have the skill set required

So I stuck the -rt patches onto 3.14.1 last night;  made a defconfig
and then enabled RT_FULL in the resulting .config and that booted
right up on a 1090T six core phenom, which kind of surprised me.

I should be able to dig up an athlon quad and see what it does...

Paul.
--

> [so i am very appreciative of anything you can do].  I don't know if
> you caught it, but slavo also saw this thread, which led him to try
> reverting those patches, which also allowed his arm platform to boot;
> http://www.spinics.net/lists/linux-rt-users/msg11655.html ...
> Eventually, after sorting out another issue he had [possible
> mis-patching, KernelStack problem], slavo posted the same reverse-rt
> timer code patch that i am using [applies after unified rt patch] that
> works; http://pastebin.com/MYLqbmZw ... So this isn't just an AMD
> problem [and i am not sure what amd cpus are affected, other than
> 'positively' Phenom branded cpus - which are generally fairly decent
> on -rt, in my use. likewise i am not sure what other ARM platforms are
> affected - maybe someone else can speak up/take a look].
> 
> * Also, [i have had several users report this to me] NO_HZ_FULL on
> 3.14-rt can be problematic / lead to serious instability. [on amd
> Phenom anyway]. One person i know was getting lockups just by
> connecting Pulseaudio to his USB soundcard, i even had one lockup
> [nothing to do with PA]. Switching to periodic timers [old tick] fixed
> everything for everyone. the newer  no_hz_ code is still a little
> dicey on -rt.
> 
> anyway, give it a try, when you get a chance. In my own builds, for
> now - i am good to go [as far as performance / stability]. But i
> obviously had to; 1). revert the rt timer changes/commits, 2). switch
> to preiodic timers ...which was enough for 3.14-rt to work okay, but
> 3). Picked up the softirq-resurrect-threads.patch [IIRC, Steven
> forward ported mingo's softirq split from 2.6.xx-rt to 3.2-rt or
> 3.4-rt], but i grabbed it from Mike Galbraith's post;
> http://www.spinics.net/lists/linux-rt-users/msg11204.html ~ I wish
> this patch was in linux-rt/upstream. [actually, both].
> 
> now 3.14-rt is a happy camper ;)
> 
> Jordan
> 
>> Paul.
>> --
>>
>>> look at those patches again - and i am more than willing to test
>>> subsequent revisions to see if we can get these troublesome AMD
>>> machines to boot with them applied..
>>>
>>> ...regarding nvidia on PREEMPT_RT_FULL / EXPORT_SYMBOL_GPL for
>>> __rt_mutex_init - i notified nvidia of the problem [although, it is an
>>> upstream linux problem]. Interestingly, this problem has already
>>> cropped up during 3.0 development cycle on PREEMPT_RT_FULL - where the
>>> __rt_mutex_init was changed to gpl-only symbol - only to be changed
>>> back to SYMBOL_EXPORT shortly thereafter.... and yes, i realize
>>> 'everybody hates nvidia' - but i have to imagine there might be an MIT
>>> licensed out-of-tree module or two [or other gpl-compatible license]
>>> that might rely on being able to use __rt_mutex_init and now can't...
>>> meaning i doubt this is _just_ an nvidia problem :\
>>>
>>> as it stands, one must either change nvidia's licenses to GPL [makeing
>>> nvidia non-distibutable]...
>>>
>>> or change 'kernel/locking/rtmutex.c' ~
>>> EXPORT_SYMBOL_GPL(__rt_mutex_init) to EXPORT_SYMBOL(__rt_mutex_init)
>>>
>>> ...which obviously makes the kernel GPL-incompatible / non-distributable.
>>>
>>> I may hit LKML on this issue too, as something needs to happen here -
>>> but i thought i would wait and see if i got a response from someone
>>> here, first. [being as rt-devs have a little more direct contact with
>>> Ingo / subsystem maintainers than i do [ and i am not even subbed to
>>> that list].
>>>
>>> Jordan
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2014-04-25 14:42 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-13 15:50 WAS: linux-rt fails to boot on > 3.12.5.-rt7 ... NOW IS: linux-rt-3.14 boots by reverting patches + nvidia uses __rt_mutex_init [which in 3.14 has been changed to EXPORT_SYMBOL_GPL] jordan
2014-04-15 16:15 ` jordan
2014-04-19 13:48   ` Paul Gortmaker
2014-04-19 14:42     ` jordan
2014-04-25 14:43       ` Paul Gortmaker [this message]
2014-04-25 17:23         ` jordan
2014-04-25 17:39           ` Paul Gortmaker
2014-05-14  0:38             ` Kimmo Taskinen
     [not found]               ` <5372BDC5.3070309@me.com>
2014-05-14  0:51                 ` Kimmo Taskinen
2014-05-14  2:17               ` Paul Gortmaker
2014-05-14  2:47                 ` jordan
2014-05-14  9:03                   ` Kimmo Taskinen
2014-05-14 13:18                     ` jordan
2014-05-15 15:05                       ` Kimmo Taskinen
2014-05-19 13:14               ` Ralf Mardorf
2014-05-19 13:15                 ` Ralf Mardorf
2014-05-19 15:16                   ` Joakim Hernberg
2014-05-19 19:02                     ` Ralf Mardorf
2014-05-20 18:36                       ` Joakim Hernberg
2014-05-20 20:27                         ` jordan
2014-04-21  8:48     ` WAS: linux-rt fails to boot on > 3.12.5.-rt7 ... NOW IS: linux-rt-3.14 boots by reverting patches Stanislav Meduna
2014-04-23 21:09 ` WAS: linux-rt fails to boot on > 3.12.5.-rt7 ... NOW IS: linux-rt-3.14 boots by reverting patches + nvidia uses __rt_mutex_init [which in 3.14 has been changed to EXPORT_SYMBOL_GPL] Pavel Vasilyev
2014-04-23 21:39   ` Pavel Vasilyev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=535A7474.2090701@windriver.com \
    --to=paul.gortmaker@windriver.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=triplesquarednine@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.