From: Damien Lespiau <damien.lespiau@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH i-g-t 2/2] drv_module_reload: For some reason, vtcon0 has been seen as being fbcon
Date: Thu, 10 Jul 2014 14:24:18 +0100 [thread overview]
Message-ID: <20140710132418.GD3191@strange.ger.corp.intel.com> (raw)
In-Reply-To: <1404998263-13851-2-git-send-email-damien.lespiau@intel.com>
On Thu, Jul 10, 2014 at 02:17:43PM +0100, Damien Lespiau wrote:
> Not sure if this was ABI, I vote for no, so just unbind everyone.
>
> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Meh, this is very wrong, don't look at it.
> ---
> tests/drv_module_reload | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/tests/drv_module_reload b/tests/drv_module_reload
> index 66cd6bb..0e729d3 100755
> --- a/tests/drv_module_reload
> +++ b/tests/drv_module_reload
> @@ -5,14 +5,17 @@
> # ... we've broken this way too often :(
> #
>
> +set -x
> +
> SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
> . $SOURCE_DIR/drm_lib.sh
>
> # no other drm service should be running, so we can just unbind
>
> # vtcon0 is vga, vtcon1 fbcon and let's pray that won't change due to boot load
> -# time changes
> -if ! echo 0 > /sys/class/vtconsole/vtcon1/bind ; then
> +# time changes. It just did here!, unbind everything, like a boss.
> +if ! echo 0 > /sys/class/vtconsole/vtcon0/bind && \
> + echo 0 > /sys/class/vtconsole/vtcon1/bind; then
> echo -e "no kms unload support"
> echo "please enable CONFIG_VT_HW_CONSOLE_BINDING in the kernel"
> exit 77
> --
> 1.8.3.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2014-07-10 13:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-10 13:17 [PATCH i-g-t 1/2] drv_module_reload: Don't declare success when failing Damien Lespiau
2014-07-10 13:17 ` [PATCH i-g-t 2/2] drv_module_reload: For some reason, vtcon0 has been seen as being fbcon Damien Lespiau
2014-07-10 13:24 ` Damien Lespiau [this message]
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=20140710132418.GD3191@strange.ger.corp.intel.com \
--to=damien.lespiau@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox