Daily Double Feature Exclusive TCC Feature

Mars Pathfinder Left Earth at 1:58 A.M. With a Bug Aboard

Technicians in white clean suits work around NASA's Mars Pathfinder spacecraft, stacked on its upper-stage booster inside a launch pad tower at Cape Canaveral, with one half of the rocket's nose cone open beside it.
Image: NASA / Wikimedia Commons (public domain, letterboxed and resized)
On this page · 5 sections
  1. A landing built from airbags
  2. The weather task that rebooted Mars
  3. Everyone watched
  4. The name on the lander
  5. References

Most of the country was asleep at 1:58 a.m. on Wednesday, Dec. 4, 1996, when a Delta II rocket lifted off from Cape Canaveral, Florida, with NASA's Mars Pathfinder on top. NASA's Mariner 4 had left for Mars 32 years earlier. This trip was a low-cost mission, and it carried a rover that weighed 23 pounds (10.6 kilograms).

The rover, Sojourner, was about 2 feet (65 centimeters) long and 1 foot (30 centimeters) tall. It was built to crawl at 0.4 inch (1 centimeter) per second, which is slower than most people can manage on purpose. Getting it to Mars took seven months and about 309 million miles (497 million kilometers).

A landing built from airbags

Pathfinder did not orbit Mars first. On July 4, 1997, it plunged straight into the atmosphere, slowed on a parachute and inflated a cluster of airbags around the lander about 330 feet (100 meters) above the ground. Then it dropped.

NASA says the bag-wrapped lander bounced about 15 times, as high as 50 feet (15 meters), and rolled to a stop roughly 2.5 minutes later, about 0.6 mile (1 kilometer) from where it first hit. NASA says it was the first time that airbag technique had been used. Sojourner rolled down a ramp and onto the surface on the night of July 5.

The weather task that rebooted Mars

Soon after the landing, the lander started restarting itself. It had a single computer, with 4 million bytes of working memory, running a real-time operating system called VxWorks. Each restart wiped out the rest of that day's planned work, and the team had to redo it the next day. Data already collected was not lost.

The cause was a traffic jam inside the software. A task that gathered weather data ran at low priority. While it held a shared resource, medium-priority tasks kept cutting in line, and a more important task that moved data around the spacecraft sat waiting for the weather task to finish. Computer scientists call this priority inversion. A scheduling task checks every cycle that the important one has finished. When it hadn't, the spacecraft treated that as a failure and restarted.

The engineers had seen the problem before landing and couldn't make it happen again, so it stayed lower on a list that put the landing first. After the reboots started, they ran the same activities over and over in the lab. Software on the spacecraft recorded a trace of every task as it ran, and it took them less than 18 hours to reproduce the failure.

The fix was a single setting that tells the system to let a waiting task lend its priority to the one it's waiting on. The team tested the change at length, then sent it to Mars as a software patch. The resets stopped. Glenn Reeves, who led the flight software team, defended the decision to put the landing code first: "We had our priorities right."

Everyone watched

People followed the mission on the web. JPL built 20 mirror sites to handle the crowd. On July 8, 1997, they logged a record 47 million hits in a single day, more than twice the traffic on any day of the 1996 Atlanta Olympics. A hit is one file downloaded, so a page with 20 pictures adds up to 21 hits or more. Over the month from July 1 to Aug. 4, the sites logged 565,902,373 hits.

The name on the lander

The day after the landing, NASA named the lander the Carl Sagan Memorial Station. Sagan, the astronomer who had played a leading role in NASA's Mariner, Viking, Voyager and Galileo missions, had died on Dec. 20, 1996. That was 16 days after the launch.

He never saw the pictures. The lander that carried his name returned more than 16,500 of them.

Want more stories like this? Follow Tech Cheat Codes on Facebook. Tap this link, then tap Follow: Follow Tech Cheat Codes on Facebook

Another Mars first is here: Mariner 9 Became the First Spacecraft to Orbit Another Planet.

Ask us a question

Stuck on something in this story? Ask us, or leave a comment. Our team reads every message before it appears here.

Or email us at hello@techcheatcodes.com.

References