Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Communications Data Storage Math Software Technology

Your GPS Devices May Stop Working On April 6 If You Don't Or Can't Update Firmware (theregister.co.uk) 149

Zorro shares a report from The Register: Older satnavs and such devices won't be able to use America's Global Positioning System properly after April 6 unless they've been suitably updated or designed to handle a looming epoch rollover. GPS signals from satellites include a timestamp, needed in part to calculate one's location, that stores the week number using ten binary bits. That means the week number can have 210 or 1,024 integer values, counting from zero to 1,023 in this case. Every 1,024 weeks, or roughly every 20 years, the counter rolls over from 1,023 to zero. The first Saturday in April will mark the end of the 1,024th week, after which the counter will spill over from 1,023 to zero. The last time the week number overflowed like this was in 1999, nearly two decades on from the first epoch in January 1980. You can see where this is going. If devices in use today are not designed or patched to handle this latest rollover, they will revert to an earlier year after that 1,024th week in April, causing attempts to calculate position to potentially fail. System and navigation data could even be corrupted, we're warned. U.S. Homeland Security explained the issue in a write-up this week. GPS.gov also notes that the new CNAV and MNAV message formats will use a 13-bit week number, so this issue shouldn't happen again anytime soon. The site recommend users consult the manufacturer of their equipment to make sure they have the proper updates in place.
This discussion has been archived. No new comments can be posted.

Your GPS Devices May Stop Working On April 6 If You Don't Or Can't Update Firmware

Comments Filter:
  • by dunkelfalke ( 91624 ) on Thursday February 14, 2019 @02:19AM (#58119686)

    Going to ask our hardware supplier about this as soon as I arrive st work.

    • Interesting sig. Were you on the committee that also redefined the word racism to be not even close to it's traditional and still common usage?
  • by Askmum ( 1038780 )

    That means the week number can have 210 or 1,024 integer values

    Only after reading the original article I understood the connection between 210 and 1024. Copy-paste is so wonderful.

    • Re:210 (Score:5, Informative)

      by Racemaniac ( 1099281 ) on Thursday February 14, 2019 @02:54AM (#58119734)

      for the poor souls who don't want to go to the article, it's supposed to be 2^10

      • Ah, thank you! I was trying to figure out what that was all about!

        It sounds like the new format will still have a similar problem, but by adding 3 bits, now it will still happen, but 8x less often. So what, every 160 years instead of 20 after the protocol changes?

        Feh. Don't hash dates!! What is it with these people? /seinfeld

        • The way I see it, in 160 years we won't need to write software any more. Either the computers will be writing software for us, or we won't have computers at all.

  • The last time this happened was while the world was in a complete panic over the Y2K doomsday prophecies, and you're telling me that new GPS units made since then STILL do not have a way of handling this?!

    • "It would take extra time and money to develop and test it, and it's years away, why bother investing the effort, we, or the product, or both, won't be around long enough for it to be a problem".
  • They couldn't just go to a 16 bit number they had to save 3 freaking bits ? and for what to have an odd length numeric ?

    • by hawguy ( 1600213 )

      They couldn't just go to a 16 bit number they had to save 3 freaking bits ? and for what to have an odd length numeric ?

      When you're sending data at 50 bits/second over an unreliable transport that makes retransmissions likely, every bit counts.

      But in the updated CNAV block, they increased the week number to 13 bits, which will extend the next time to zero to 2037

      • by mentil ( 1748130 )

        I wonder if instead of doing that again, they'll just decide that something less susceptible to jamming, that's easier to deploy than a satellite constellation, might be better for positioning. Say, some self-calibrating optical system using image recognition, a high-res camera sensor, and maths, that looks at the position of the stars and combines that with an onboard clock to determine latitude and longitude. An auto-sextant, if you will, far more precise than one operated with eye and hand.

        • by hawguy ( 1600213 )

          I wonder if instead of doing that again, they'll just decide that something less susceptible to jamming, that's easier to deploy than a satellite constellation, might be better for positioning. Say, some self-calibrating optical system using image recognition, a high-res camera sensor, and maths, that looks at the position of the stars and combines that with an onboard clock to determine latitude and longitude. An auto-sextant, if you will, far more precise than one operated with eye and hand.

          Isn't that system easily jammed by smoke screens, clouds, and daylight?

        • The Sun and its planets and their satellites move around the center of the Milky Way, which is moving through the universe.

          The current topology works better because it has less moving parts.

          The problem lies not in our stars ...

        • by Shotgun ( 30919 )

          Great. A system that I can disable with a hand flair.

      • by AmiMoJo ( 196126 )

        13 bits of week numbers is about 137 years... Shouldn't it be good for at least a century? Presumably they moved the epoch for the new field as well.

        • No we're getting somewhere.

          The Mysterious 137 [feynman.com]

          If you have ever read Cargo Cult Science by Richard Feynman, you know that he believed that there were still many things that experts, or in this case, physicists, did not know. One of these ‘unknowns’ that he pointed out often to all of his colleagues was the mysterious number 137.

        • by hawguy ( 1600213 )

          13 bits of week numbers is about 137 years... Shouldn't it be good for at least a century? Presumably they moved the epoch for the new field as well.

          Yeah, that was a typo, I should have typed "2137". I noticed it after I posted, didn't think anyone else would so didn't bother posted a followup. If only there was some web technology allowed one to edit posts.

  • Delayed failures (Score:5, Informative)

    by cpt kangarooski ( 3773 ) on Thursday February 14, 2019 @02:50AM (#58119728) Homepage

    Another thing to watch out for are delayed failures caused by date windowing. Basically, some developers of devices using GPS-derived time were aware of the problem, and put in a pivot so that dates from before the device was made are treated as being in the future. (e.g. a device built in 2009, ten years after the last time this happened with GPS might treat dates from the 1999-2008 time period as being in 2019-2028, since that's when the device would first encounter them)

    So this may be causing random failures of devices for years.

    • Comment removed (Score:5, Interesting)

      by account_deleted ( 4530225 ) on Thursday February 14, 2019 @03:10AM (#58119762)
      Comment removed based on user account deletion
      • by AmiMoJo ( 196126 )

        Could also be a rollover of days since some time in 1923 (16 bit signed int). 1923 is a popular epoch as that was when it was decided to settle on the modern calendar and dates before then can be ambiguous. It's also possible that it's just an overflow in the calculation using that value, that wasn't tested when it gets very large.

        Either way, I wouldn't rely on it working after April 6th. There doesn't appear to be a firmware fix either.

        • by tepples ( 727027 )

          1923 is also when US copyright expiration was held up for two decades on account of Gershwin and Disney.

      • Just built a new panel for my Glider, bought new Borgelt B800 vario and 7” tablet and only needed to replace 80mm altimeter with 57mm Winter. With the Borgelt vario I got a Bluetooth combiner, which combine FLARM and B800 outputs and makes them available to the tablet, which has its own GPS, baro altitude and accelerometers. Given my DG200-17C has a very small panel, it shouldn’t be they hard to do other gliders. I carry a Sony Z3 android phone in the side pocket as a fully independent backup.
        Mo

  • Deja vu? (Score:5, Funny)

    by Superdarion ( 1286310 ) on Thursday February 14, 2019 @02:54AM (#58119740)

    Oh no, it's Y2K all over again!

    • by sad_ ( 7868 )

      on April 6, planes will fall out of the sky!
      elevators won't know if they need to go up or down!

      • Each and every goddam entity, be it a small business providing cupcakes or enterprises manufacturing the muffin pans will be sending compliance letters to each other 1.) demanding that suppliers better not mess up and that 2.) the author of the demand will do its best to be in compliance, but no promises, and no liability for failures beyond their control.

    • by e3m4n ( 947977 )

      The one difference was that Y2K gave us an army of COBOL programmers with not much other skills, but still fixable in programming. Whereas, in this case, I forsee the manufacturers feigning an inability to patch in order to drive sales. I think my newest Garmin is 10yrs old. I am sure they wished we replaced them as fast as cell phones.

      I have thought about getting a new one, I was just waiting to see if some needed features ever got incorporated. I have never liked the touchpad interface on these.

    • Comment removed based on user account deletion
    • That's supposed to happen again in 2038. Because no one has done more than the patch they deployed back in 1999.
  • by Gabest ( 852807 ) on Thursday February 14, 2019 @03:12AM (#58119766)
    Hope you have a bunker and supplies.
  • I can only hope the date string is interpreted by Google Maps itself, and not handled by Android or the handset hardware.

    Imagine you GPS functionality becoming useless because you're not getting an Android update since the handset manufacturer considers your phone EOL.

    • Verizon will be releasing that patch next year. (snark)
  • by Terje Mathisen ( 128806 ) on Thursday February 14, 2019 @05:16AM (#58119964)

    I have been a member of the NTP Hackers [ntp.org] team for 25+ years: As many of you probably know most reference clocks on the Internet are based on GPS timing receivers. The last time we had a week rollover a small percentage of Stratum 1 servers went temporarily offline, or they were marked as "falsetickers" due to announcing a date which was nearly 20 years wrong. Most servers were either unaffected or got back online shortly after.

    The key here is that 1024 weeks is a short enough time span that most competent developers will realize that their (embedded or otherwise) product might still be in operation during the next rollover so they have to handle this, while a 13-bit week counter is so long (8192 weeks or 157.5 years) that it is likely that many will simply forget about the issue until it comes back to bite everyone in 2137. :-(

    BTW, there are _many_ ways to handle rollovers like this, the easiest is probably to compile in the build date in your firmware and then simply make sure that the date calculated from the week number is greater than this, adding blocks of 1024 (or 8192) weeks if needed. Another option, if you have any kind of non-volatile memory, is to write the current date to permanent storage regularly, like once a month or once a year.

    Terje

    • by Anonymous Coward

      until it comes back to bite everyone in 2137. :-(

      The satellites will not be operating by that time. Why do you think this is a bug?

      In addition, lets say for some reason they boost the orbits of all the GPS satellites by that time so they don't degrade to unusability or death....if they can do that for 1000s of satellites in the 22nd centure, why wouldn't we have the technology to work around a few 130+ year old servers who spit out the bad time?????

      This is seriously the craziest comment I've heard from someone who seems relatively intelligent in a LONG T

      • Re: (Score:3, Interesting)

        by Anonymous Coward

        This isn't about hardware (satellites), but the protocol. Whenever new satellites are launched, they should work with the existing devices and new devices have to work with the existing satellites. This means we can easily be stuck with the same protocol for many generations of hardware. Think about IPv4 vs IPv6.

        The Roman empire had really dirty roads and in order to cross them without getting wet/dirty, they made pedestrian crossings, which were a row of stone blocks, which were raised. For wagons to pass

    • So we should add to the standard a clause that says "20 years before the new epoch, for one solid minute, all devices must send a junk packet that says: 'DOOM IS COMING! The 157 years are up! Read the spec to learn more!" Enough people will be frustrated by this failure that someone will dig into it and realize that they have 20 years to come up with a new version. With the computing power of 157 years from now, it should be easy... unless they're all watching cat videos.
  • After the widely publicised Y2K debacle, avoiding a similar scenario wasn't considered by GPS manufacturers at about the same time?

    • My Garmin GPS 12 units predate Y2K substantially, you insensitive clod! And they're my only standalone GPS-without-map units. The last firmware update was in 2003. I presume they're about to be rendered useless, which is sad to me because they're reasonably sensitive, have serial output, and support DGPS.

  • Why does it even need to send a week number? Don't they just do the time and satellite number, and they are all in as fixed a position as they can be so you just get 3+ signals and triangulate. Easy peasy. Where does week number come in and why is it relevant?
    • by pjt33 ( 739471 )

      It's part of the time, which is actually date and time.

    • by AmiMoJo ( 196126 )

      My understanding is that it's to do with the way the almanac data describing the satellite orbits is transmitted. They send data for one point in time and the receiver extrapolates from there for the next 7 days. So the week number is associated with almanac data packages, and there is one package per week.

      The data rate is extremely low (50 bps) so this trades some accuracy (as the predictions are never perfect and the error increases over time) for the ability to receive the data for all the satellites in

    • I'm really scared.

      I used to have a straight day job, 9-5.

      I'm planning to embrace the gig economy and the week will be unpredictable.

  • by Joe_Dragon ( 2206452 ) on Thursday February 14, 2019 @09:20AM (#58120542)

    car manufacturers / dealers may charge $250-$500 for update

  • "10 bits should be enough for anyone" - US DOD

If money can't buy happiness, I guess you'll just have to rent it.

Working...