Announcement

Collapse
No announcement yet.

Kernel Developers Look At QR Codes For Error Messages

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Kernel Developers Look At QR Codes For Error Messages

    Phoronix: Kernel Developers Look At QR Codes For Error Messages

    Linux kernel developers have been discussing for the past few days about the possibility of encoding kernel oops messages into QR codes that would be shown on the screen...

    http://www.phoronix.com/vr.php?view=MTY1NjI

  • #2
    That's actually a pretty cool idea and would make error diagnosing a lot easier.

    Comment


    • #3
      I smell an april fool, also, you need to the able to use QR codes for that.

      Comment


      • #4
        Originally posted by Calinou View Post
        I smell an april fool, also, you need to the able to use QR codes for that.
        Support for this sort of thing was added to Haiku (the BeOS clone) over a year ago.

        As for needing to be able to use QR Codes, I'm sure they'll add an option to turn it off. ...and if you don't know how to set a kernel option, you're much more likely to be able to scan a QR code than to do something useful with existing kernel oops dumps.

        Comment


        • #5
          Originally posted by ssokolow View Post
          Support for this sort of thing was added to Haiku (the BeOS clone) over a year ago.

          As for needing to be able to use QR Codes, I'm sure they'll add an option to turn it off. ...and if you don't know how to set a kernel option, you're much more likely to be able to scan a QR code than to do something useful with existing kernel oops dumps.
          It kinda makes sense imho, not as effective as providing full kernel dumps, but atm people really do take photos of kernel panic screens and post them on bugzilla/mailing list.
          This would be logical step forward, however there are problems to be worked out:

          1) QR codes version 25 can have about 1200 characters (ascii- e.g. bytes)
          2) not every app supports this, not all cameras are good enough (this can be done post fact serverside, but there is no guarantee that taken photo will actually be parseable)
          3) If done in client (phone), how will be parsing done :
          -plaintext should work just fine, simple compression would be better but might confuse users or loose information when being messed with - email clients are notorious for messing up patches, compressed text? forget it.

          Comment


          • #6
            It is indeed a great idea but it will need to add something to enable/disable/test it.

            Example: my cellphone was not able to acquire the QRcode in the Phoronix article (too much screen flickering). I also tried every possible zoom, without success.

            Thanks to Haiku OS for its "prior art". Any good idea always sees a bunch of patent trolls trying to monetize it.

            Comment


            • #7
              Huh, I remember thinking about this when reading the systemd stuff. It's interesting, but... there are many QR readers running vulnerable libraries, so it looks like a good way to lure unsuspecting users into installing malware in their phones... so, no, thanks :/

              Comment


              • #8
                Originally posted by asdfblah View Post
                Huh, I remember thinking about this when reading the systemd stuff. It's interesting, but... there are many QR readers running vulnerable libraries, so it looks like a good way to lure unsuspecting users into installing malware in their phones... so, no, thanks :/


                That's a Goldberg-tier way of distributing some malware. Attacking the huge intersection of smartphone-using Linux users who report kernel bugs using their phone.

                1. Create a kernel patch that forms such malware in the QR output and causes a kernel oops.
                2. Get said patch upstream, or atleast in Ubuntu.
                3. ???
                4. Profit

                Comment


                • #9
                  Originally posted by baracca View Post
                  It is indeed a great idea but it will need to add something to enable/disable/test it.

                  Example: my cellphone was not able to acquire the QRcode in the Phoronix article (too much screen flickering). I also tried every possible zoom, without success.

                  Thanks to Haiku OS for its "prior art". Any good idea always sees a bunch of patent trolls trying to monetize it.
                  Actually the QRcode displayed on the article is just damaged. QRcodes work best when they're just 2 colors (black and white), but this image has a bunch of shades of gray in it in several areas making it unrecognizable by the QRcode reader. This becomes obvious when you copy the image into GIMP then zoom in.

                  Comment


                  • #10
                    Code:
                    see this capability as well and would speed up some processes. Right now it looks like the de
                    
                    se OR-packaged errors are currently getting the OR support into order.
                    
                    e interested in finding more about this tentative work to package
                    Linux kernel oops panic messag
                    
                    ings tread obviously this work is already out the immf
                    That's all my phone managed to get out of it. Is that all?

                    Also how the actual fuck does Google know which website I was taking a photo off? Damn Google you scary!
                    http://imgur.com/NmBSATQ

                    Comment

                    Working...
                    X