ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Levente Kurusa <levex@linux.com>
To: Josh Triplett <josh@joshtriplett.org>
Cc: PJ Waskiewicz <pjwaskiewicz@gmail.com>,
	Sarah A Sharp <sarah@minilop.net>,
	ksummit-discuss@lists.linuxfoundation.org,
	Anton Arapov <arapov@gmail.com>,
	Dirk Hohndel <hohndel@infradead.org>
Subject: Re: [Ksummit-discuss] Fwd: [TECH TOPIC] QR encoded oops for the kernel
Date: Thu, 15 May 2014 14:44:04 +0200	[thread overview]
Message-ID: <20140515124404.GA2599@linux.com> (raw)
In-Reply-To: <20140514225523.GA10344@jtriplet-mobl1>

[-- Attachment #1: Type: text/plain, Size: 2941 bytes --]

Hi,

On Wed, May 14, 2014 at 03:55:23PM -0700, Josh Triplett wrote:
> On Wed, May 14, 2014 at 10:00:43PM +0200, Levente Kurusa wrote:
> > On Wed, May 14, 2014 at 11:54:49AM -0700, Josh Triplett wrote:
> > > On Wed, May 14, 2014 at 09:00:51AM -0700, H. Peter Anvin wrote:
> > > > On 05/13/2014 12:08 AM, Josh Triplett wrote:
> > > > > 
> > > > > Many users will already have a QR-code scanning app installed, and such
> > > > > apps always support loading URLs in a browser.
> > > > > 
> > > > 
> > > > Let me disavow you of the notion that stock scanning apps handle large
> > > > QR symbols.
> > > 
> > > That's certainly true.  On the other hand, I'd really like to see a
> > > version of the oops-as-QR-code bits that uses VGA block characters to
> > > work in non-graphics, non-framebuffer mode, which would require fitting
> > > in at most 80x50 (using the half-block characters).  That wouldn't allow
> > > nearly as much data, but likely enough for a somewhat useful crash
> > > report, especially in aggregate.
> > 
> > Not really possible, from my experiences the QR code that results from
> > a random oops is ranging from 100x100 to 150x150 depending on the size
> > of stack trace and stuff like that. Of course, we can decrease the
> > error recovery region and that might make it smaller. I'll take a look
> > at this a bit later. If that doesn't work, then that means that we can't
> > shuffle that into the textmode's 80x25. Not to mention that the block
> > characters in the ASCII table (I think you meant that, if not please
> > correct me) are not neccessarily square, which is needed for maximum
> > scannability.
> 
> In the standard EGA/VGA/DOS character font, see characters DB (solid
> block), DC (lower half block), and DF (upper half block).  Those allow
> drawing 80x50 on an 80x25 console.  Unicode has those as well, and also
> supports a full set of quarter-character blocks which would allow
> 160x50; see U+2580 through U+259F.
> 

Hm, I see. I'll find some time soon to check on this.

> I've also seen discussions about removing less useful information from
> the oops backtrace (simplifying it to just the backtrace itself, and
> less of the guessed-at information).

Indeed, that might as well make the QR code smaller. I was thinking
about what really is the point in having the registers in the QR code
as well. I guess that is something we could leave out, right?

> 
> > One thing that we currently support and can be a solution is Micro QR
> > code. It removes two of the three coordinators and does some more
> > compression AFAIK. It might be possible to shuffle that into textmode.
> 
> How widely do stock barcode reader apps support that?

No idea, but, sadly, mine does not support MicroQR. (At least it was
not able to read the MicroQR example found on Wikipedia). I have
NeoReader as a stock scanner.

Thanks,
    Levente Kurusa

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  reply	other threads:[~2014-05-15 12:44 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-11  4:14 [Ksummit-discuss] " Jason Cooper
2014-05-11 15:57 ` Sarah A Sharp
2014-05-11 16:29   ` Levente Kurusa
2014-05-11 16:37     ` Laurent Pinchart
2014-05-11 17:18       ` Levente Kurusa
2014-05-11 17:52         ` Teodora Băluţă
2014-05-11 21:49           ` Laurent Pinchart
2014-05-12 16:15           ` Jason Cooper
2014-05-12 16:36             ` Levente Kurusa
2014-05-12 16:53               ` H. Peter Anvin
2014-05-30 18:55                 ` Steven Rostedt
2014-05-12 17:00               ` Johannes Berg
2014-05-12 17:46                 ` Teodora Băluţă
     [not found]             ` <CACV2jQCV=rRFg-+x1B3H1=GM5rB_YWp1UU1p7xXkozHKv1Ewvg@mail.gmail.com>
2014-05-13  6:44               ` [Ksummit-discuss] Fwd: " Teodora Băluţă
2014-05-13  7:08                 ` Josh Triplett
2014-05-13 15:52                   ` Levente Kurusa
2014-05-13 18:42                     ` Andy Lutomirski
2014-05-13 20:18                     ` josh
2014-05-14  8:20                       ` Johannes Berg
2014-05-14 15:52                         ` Josh Triplett
2014-05-14 16:00                   ` H. Peter Anvin
2014-05-14 16:09                     ` Andy Lutomirski
2014-05-14 18:54                     ` Josh Triplett
2014-05-14 20:00                       ` Levente Kurusa
2014-05-14 20:24                         ` Daniel Vetter
2014-05-19 11:59                           ` David Herrmann
2014-05-14 22:55                         ` Josh Triplett
2014-05-15 12:44                           ` Levente Kurusa [this message]
2014-05-15 19:19                             ` H. Peter Anvin
2014-05-15 19:18                       ` H. Peter Anvin
2014-05-15 20:41                         ` Levente Kurusa
2014-05-13 14:45             ` [Ksummit-discuss] " David Woodhouse
2014-05-15 19:21               ` H. Peter Anvin
2014-05-15 19:53                 ` Jiri Kosina
2014-05-12 15:53         ` Jason Cooper
2014-05-12 16:49           ` Levente Kurusa
2014-05-12 17:09             ` H. Peter Anvin
2014-05-12 17:50               ` Teodora Băluţă
2014-05-13 11:25                 ` Greg KH
2014-05-13 14:41                   ` Sarah A Sharp
2014-05-13 15:05                     ` Greg KH
2014-05-13 15:51                       ` Sarah A Sharp
2014-05-13 15:59                         ` Josh Boyer
2014-05-13 16:07                           ` Theodore Ts'o
2014-05-13 17:43                             ` Levente Kurusa
2014-05-13 18:14                               ` Teodora Baluta
2014-05-15 14:24                                 ` Levente Kurusa
2014-05-15 16:02                                   ` Teodora Băluţă
2014-05-14  1:14                             ` Josh Boyer
2014-05-15 17:01                               ` Levente Kurusa
2014-05-15 17:11                                 ` Josh Boyer
2014-05-17 15:02                                   ` Levente Kurusa
2014-05-15  5:41                             ` PJ Waskiewicz
2014-05-15 15:41                               ` Theodore Ts'o
2014-05-17 16:36                                 ` Levente Kurusa
2014-05-20 14:47                                   ` Theodore Ts'o
2014-05-21 18:03                                     ` Levente Kurusa
2014-05-25 19:49                                       ` Teodora Băluţă
2014-05-15 19:24                             ` H. Peter Anvin
2014-05-15 21:13                               ` Levente Kurusa
2014-05-13 16:03                         ` Greg KH
2014-05-12 17:24             ` Jason Cooper
2014-05-11 17:49       ` Sarah A Sharp
2014-05-12 10:13     ` Masami Hiramatsu
2014-05-12  2:38   ` H. Peter Anvin
2014-05-12  6:13     ` Josh Triplett
2014-05-12  9:23       ` David Woodhouse
2014-05-12 13:48         ` Lukáš Czerner
2014-05-12 16:24           ` Jason Cooper
2014-05-12 16:45             ` H. Peter Anvin
2014-05-12 16:22         ` Jason Cooper
2014-05-12 16:46           ` H. Peter Anvin
2014-05-12 17:32             ` Jason Cooper
2014-05-12 17:42               ` Sarah A Sharp
2014-05-12 15:46   ` Jason Cooper

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=20140515124404.GA2599@linux.com \
    --to=levex@linux.com \
    --cc=arapov@gmail.com \
    --cc=hohndel@infradead.org \
    --cc=josh@joshtriplett.org \
    --cc=ksummit-discuss@lists.linuxfoundation.org \
    --cc=pjwaskiewicz@gmail.com \
    --cc=sarah@minilop.net \
    /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