Just for Fun : The Story of an Accidental Revolutionary

Home > Other > Just for Fun : The Story of an Accidental Revolutionary > Page 7
Just for Fun : The Story of an Accidental Revolutionary Page 7

by Linus Benedict Torvalds


  More importantly, RMS, as he prefers to be called, also wrote the Free Software Manifesto, and the Free Software copyright license—the GPL (General Public License). Basically, he pioneered the notion of free source-code availability as something intentional, not just an accident, the way it happened with original Unix open development.

  I have to admit that I wasn’t much aware of the sociopolitical issues that were—and are—so dear to RMS. I was not really all that aware of the Free Software Foundation, which he founded, and all that it stood for. Judging from the fact that I don’t remember much about the talk back in 1991, it probably didn’t make a huge impact on my life at that point. I was interested in the technology, not the politics—I had had enough politics at home. But Lars was an ideologist, and I tagged along and listened.

  In Richard I saw, for the first time in my life, the stereotypical longhaired, bearded hacker type. We don’t much have them in Helsinki.

  I may not have seen the light, but I guess something from his speech must have sunk in. After all, I later ended up using the GPL for Linux. There I go, getting ahead of myself again.

  IV

  January 2, 1991. It was the first day the stores were open after Christmas and my twenty-first birthday, the two biggest cash-generating days on my calendar.

  With my Christmas-and-birthday money in hand, I made this huge economic decision to buy a computer that would cost 18,000 FIM, which was about $3,500. I didn’t have that kind of money, so the idea was to put down one third of the cost and buy the computer on credit. Actually, the computer cost 15,000 FM. The rest came from the financing charges that would be paid over three years.

  It was at one of these small corner shops, sort of a mom-and-pop computer store, only in this case it was just pop. I didn’t care about the manufacturer, so I settled on a no-name, white-box computer. The guy showed you a price list and a smorgasbord of what CPU was available, how much memory, what disk size. I wanted power. I wanted to have 4 megabytes of RAM instead of 2 megabytes. I wanted 33 megahertz. Sure, I could have settled for 16 megahertz, but no, I wanted top of the line.

  You told them what you wanted and they would put it together for you. It sounds quaint in this era of the Internet and UPS shipments. You came back three days later to pick it up, but those three days felt like a week. On January 5th I got my dad to help me drive the thing home.

  Not only was it no-name, it was also nondescript. It was a basic gray block. I didn’t buy this computer because it looked cool.

  It was a very boring-looking machine with a fourteen-inch screen, the cheapest, most reasonably studly box I could find. Incidentally, by “studly” I mean a powerful computer that a few people owned. I don’t intend to make it sound so unappealing-yet-functional, sort of like a Volvo station wagon. But the fact is: I wanted something dependable and with easy access to the upgrades I would inevitably require.

  The computer came with a cut-down version of DOS. I wanted to run Minix, the Unix variant, so I ordered it and the operating system took more than a month to make its way to Finland. Oh, you could buy the book on Minix from a computer store, but, since there was so little demand for the operating system itself, you had to order it from the bookstore. The cost was $169 plus taxes, plus conversion factor, plus whatever. I thought it was outrageous at the time. Frankly, I still do. The wasted month felt like about six years. I was even more frustrated by that than I had been during the months I was waiting to buy my PC.

  And this was dead-winter. Every time you left your bedroom for the outside world you risked getting knocked onto the snow by old ladies who should have been home making cabbage soup for their families or watching hockey on television while knitting sweaters, not staggering along Mannerheimintie. I basically spent that month playing Prince of Persia on my new computer. When I wasn’t doing that, I would read books that helped me understand the computer I had bought.

  Minix finally arrived on a Friday afternoon, and I installed it that night. It required feeding sixteen floppy disks into the computer. The entire weekend was devoted to getting accustomed to the new system. I learned what I liked about the operating system—and, more importantly, what I didn’t like. I tried to compensate for its shortcomings by downloading programs that I had gotten used to from the university computer. In all, it took me a month or more to make this my own system.

  Andrew Tanenbaum, the professor in Amsterdam who wrote Minix, wanted to keep the operating system as a teaching aid. So it had been crippled on purpose, in bad ways. There were patches to Minix—improvements, that is—including a well-known patch made by a hacker in Australia named Bruce Evans, who was the God of Minix 386. His improvement made Minix much more usable on a 386. Before even getting the computer I had been following the Minix newsgroups online, so I knew from the very beginning that I wanted to run his enhanced version. But because of the licensing situation, you had to buy the real version of Minix and then do a lot of work to bootstrap Evans’s patches. It was a fairly major thing to do.

  There were a number of features that disappointed me with Minix. The biggest letdown was terminal emulation, which was important because it was the program I used to connect to the university computer. I relied upon terminal emulation whenever I wanted to dial up the university’s computer to either work on the powerful Unix computer or just go online.

  So I began a project to create my own terminal emulation program. I didn’t want to do the project under Minix, but instead to do it at the bare hardware level. This terminal emulation project would also be a great opportunity to learn how the 386 hardware worked. As I mentioned, it was winter in Helsinki. I had a studly computer. The most important part of the project was to just figure out what this machine did and have fun with it.

  Because I programmed to the bare metal I had to start off from the BIOS, which is the early ROM code that the computer boots into. The BIOS reads either the floppy or the hard disk, and in this case, I had my program on a floppy. The BIOS reads the first sector of the floppy and starts executing it. This was my first PC and I had to learn how all this was done. This all happens in what’s called “real mode.” But in order to take advantage of the whole CPU and get into 32-bit mode, you have to go into “protected mode.” There’s a lot of complicated setup you have to do to make this happen.

  So to create a terminal emulation program this way, you need to know how the CPU works. In fact, part of the reason I wrote in assembly language was just to learn about the CPU. The other things you need to know are how to write to the screen, how to read keyboard input, how to read and write to the modem. (I hope I’m not losing any of the non-geeks who have steadfastly refused to leap ahead to page 120.)

  I wanted to have two independent threads. One thread would read from the modem and then display on the screen. The other thread would read from the keyboard and write out to the modem. And there would be two pipes going both ways. This is called task-switching, and a 386 had hardware to support this process. I thought it was a cool idea.

  My earliest test program was written to use one thread to write the letter A to the screen. The other thread wrote the letter B. (I know, it sounds unimpressive.) And I programmed this to happen a number of times a second. With the timer interrupt, I wrote it so that the screen would fill with AAAAAAAAAA. Then, all of a sudden, it would switch to BBBBBBBBB. It’s a completely useless exercise from any practical standpoint, but it was a good way of showing that my task-switching worked. It took maybe a month to do this because I had to learn everything as I was going along.

  So ultimately I was able to change the two threads, the AAAAAAAA and BBBBBBB, so that one read from the modem and wrote to the screen, and the other read from the keyboard and wrote to the modem. I had my own terminal emulation program.

  When I wanted to read news, I would put in my floppy and reboot the machine, and I would read news from the university computer using my program. If I wanted to make changes to improve the terminal emulation package, I would boot into Minix and
use it for programming.

  And I was very proud of it.

  My sister Sara knew about my great personal accomplishment. I showed it to her and she looked at the screens of AAAAAA’s and BBBBBBBB’s for about five seconds; then she said “Good” and went away, unimpressed. I realized it didn’t look like much. It’s completely impossible to explain to somebody else that, while something may not look like much, a lot is going on in the background. It’s about as impressive as showing somebody a stretch of road you’ve just filled in with tar. Probably the only other person who saw it was Lars, the other Swedish-speaking computer science major who started the same year I did.

  It was March, maybe April, and if the snow was turning to slush on Petersgatan. I didn’t know—or much care. I was spending most of my time in a bathrobe, huddled over my unattractive new computer, with thick black window shades shielding me from the sunlight, not to mention the outside world. I was eeking out the monthly payments for my PC, which was scheduled to be paid off in three years. What I didn’t know was that I would only be sending in payments for another year. By then, I would have written Linux, which would be seen by many more people than just Sara and Lars. By that time, Peter Anvin, who works with me now at Transmeta, would have started a collection on the Internet to get my computer paid off.

  Everybody knew I wasn’t making any money on Linux. People just started saying, Let’s start a collection to pay off Linus’s computer.

  It was wonderful.

  I had absolutely no money. I always felt it was important to not have asked for money or begged for money, but the fact that it was simply given to me was… I’m getting choked up.

  That’s how Linux got started. With my test programs turning into a terminal emulation package.

  Red Herring magazine sends me to Finland to report on Oulu, the emerging high-tech center that is home to 141 startups despite its forbidding location a few hours’ drive from the Arctic Circle. It’s a good opportunity to hook up with Linus’s parents and his sister, Sara, in Helsinki.

  His father, Nils (who goes by the name Nicke), meets me in the lobby of the Sokos Hotel Vaakuna, across the plaza from the Helsinki railway station. He is trim, wears thick glasses, bears Lenin’s beard. He has recently ended his four-year assignment in Moscow for the Finnish Broadcasting Company and is now writing a book about Russia and deciding whether or not to take a post in Washington, a place he doesn’t find interesting. Months earlier he had won a prestigious national journalism award, a commendation that his ex-wife Anna later would say “mellowed him considerably.”

  In the early evening he drives me in his Volvo V40 on a tour of Linus’s snow-crusted neighborhoods, pointing out the solid building in which both father and son attended elementary school, driving past the grandparents’ apartment where Linus lived in his first three months, and then the park-view building in which the family lived for the following seven years. Nicke had spent one of those years in Moscow studying to be a communist, when Linus was five years old. Next he points out the pale yellow apartment building in which Linus and his sister moved following the divorce—a street-level adult video store has replaced the electronics supply store of Linus’s youth—and finally we drive past the most substantial of the structures, the five-story apartment block in which his maternal grandparents resided, the birthplace of Linux. Linus’s mother, Anna, still lives there. This could be Manhattan’s Upper East Side in late December.

  Nicke is funny, smart, self-deprecating, and shares a host of gestures with his son, like the way he cradles his chin in his hand when he talks. They also share a grin. Unlike his son he is a lifelong athlete—a socialist jock—who plays on a basketball team, runs five miles a day, and has taken to swimming distances in an icy lake early each morning. At fifty-five, he walks with the athletic confidence of someone maybe two thirds his age. Another trait he does not share with Linus: Nicke seems to have had a complicated romantic life.

  We have dinner in a bustling restaurant in central Helsinki where Nicke talks about the difficulty Linus had growing up as the son of an overactive communist who was a frequent public speaker and at one point held a minor public office. He explains that Linus was often teased about his father’s radical politics, and that some parents even refused to let him play with their children. For that reason, explains Nicke, his son made a constant effort to distance himself from the left-wing rhetoric that was the backdrop of his childhood. “He wouldn’t let me discuss it. He would leave the room,” Nicke says. “Or else he always made a point of having an opposing view. I know Linus was teased in school for having the wrong father. The message to me was, ‘Don’t put me in this awkward situation.’”

  Nicke drives me to his home, where he says we will drink beer in his kitchen. It is north of the central business district, in a collection of buildings that were originally built in the 1920s to house workers. We ascend the steps to his apartment and remove our shoes in the entry. The place recalls the late 1960s counterculture, with woven-basket lampshades, third-world wall hangings, houseplants. We sit at the kitchen table, where Nicke pours beer and we talk about fathering. “A parent shouldn’t think that it is he who makes his children what they are,” he says, reaching for his mobile phone to dial up the woman with whom he lives. He indicates that Linus is just starting to read the historical books he has been bugging him to read for years, and that Linus probably has never bothered to read his own grandfather’s poetry.

  I ask Nicke if he has ever expressed an interest in programming, ever asked Linus to show him the fundamentals. He tells me he never has. Fathers and sons are unique individuals, he reasons, explaining that the act of delving into Linus’s passion would be akin to “invading his soul.” He seems comfortable in the role of father to a famous person. In a recent newspaper profile following his winning of the national journalism award, he was quoted as saying that, even in the days when he picked Linus up from the playground, other kids would point and say, “Look, there’s Linus’s father!”

  Sara Torvalds has traveled by train from her home in a small city west of Helsinki, where the street signs are in Swedish first and Finnish second, and where she can afford an apartment with a claw-foot tub and sauna, and where, to her delight, Swedish—not Finnish—is heard on the streets. As she explains, she is in a minority within a minority: as a young adult she converted to Catholicism, an act that relegated her to the 10 percent of Finnish citizens who are non-Lutherans and caused her agnostic father to disown her for a matter of weeks.

  Today she has traveled to Helsinki to teach catechism to youngsters under a government-sponsored program. She is pleasant and upbeat, and at twenty-nine she exudes the uncynical spirit of an earnest and busy high schooler. Her fair skin and round face give her a vague resemblance to her older brother, but it is obvious that she is naturally more sociable than he is. She regularly taps the keys of her mobile phone to send text messages to friends she will be meeting later in the day; then, just as frequently, she checks for replies. She has a successful translation business.

  It is noon and Sara is taking me to meet her mother for lunch, with stops at various childhood locales: the cat park, the elementary school. “My parents were card-carrying communists, so that’s how we were brought up—to think the Soviet Union was a good thing. We visited Moscow,” she explains. “What I remember most was the huge toy store they had, bigger than anything in Helsinki.” Her parents divorced when she was six. “I remember when we were told that Dad would be moving out for good. I thought, That’s good. Now the fighting will stop. Actually, he had been going to Moscow for long periods, so we were used to him going away,” she says. By the time she was ten, Sara opted to move in with her father who had relocated to the neighboring city of Espoo, rather than live with her mother and Linus. “It wasn’t that I didn’t want to live with Mom. It was just that I didn’t want to live with Linus. That way we would only fight on weekends. We fought all the time. Little by little, we fought less as we grew older.”


  We arrive at her mother’s first-floor apartment and Anna Torvalds is thrilled to see us. Mikke is her nickname. She refuses to let me indulge in be Finnish custom of removing one’s shoes: “Don’t be silly. This place is already dusty. You couldn’t possibly make it worse.” She is short, dark-haired, and extremely quick-witted. Within seconds of our arrival, the telephone rings. A real estate agent wants to show me the vacant apartment adjacent to Mikke’s, so that I could describe it to her son in the United-States and hand-deliver literature about it, in the event that he might want to purchase the place as a sort of Helsinki pied-a-terre. We enter the brawling apartment, where the agent, who bears an eerie resemblance to be Annette Bening character in the film American Beauty, instructs us to slip little blue cloth booties over our shoes before we take the tour. Soon the agent, in an annoyingly cheerful tone, says something like, “Now this room here. It’s a perfect room for antiques that you wouldn’t want to have damaged by the sun.” Mikke shoots me a conspiratorial glance and replies, in a mocking voice: “Oh, what a delightful way of telling us this room doesn’t get any light.”

  Back in her own kitchen, Mikke sits at a rectangular table earing a colorful tablecloth and pours coffee into an oversized mug. Her apartment, like that of her ex-husband, brims with books and folk art. There are black and white Marimekko curtains. The apartment originally contained three bedrooms and a kitchen. When her children moved out, Mikke moved into the large bedroom that had been occupied by Sara. She then dismantled the walls around Linus’s room, and those round her original bedroom, to create a huge livingroom/kitchen. She points to a vacant spot and says, “That’s where his computer was. I guess should put up some sort of plaque. What do you think?” She chain smokes. She is an easy conversationalist, with such a solid command of English that there are no pauses when she delivers a phrase like, “He’s not some random shmuck you meet on the street.” On the wall in her bedroom is a huge Soviet flag. It was a gift to Linus from Jouko Vierumaki, who had bought it during an international ski-jump competition. Linus had kept it in a drawer for years, but Mikke hung it above her bed.

 

‹ Prev