From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b32,f42e3f90b33099de,start X-Google-Attributes: gid102b32,public X-Google-Thread: 1164f8,f42e3f90b33099de,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b427,f42e3f90b33099de,start X-Google-Attributes: gid10b427,public From: bediger@csn.net (Bruce Ediger) Subject: My Linux/alpha experience [longish] Date: 1997/03/31 Message-ID: <5hq8ar$k8q@teal.csn.net> X-Deja-AN: 229815287 Distribution: world Followup-To: comp.os.linux.hardware Organization: H1DE()U5 MUT4NT5!!1!!! Newsgroups: comp.os.linux.hardware,alt.destroy.microsoft,comp.sys.dec This is my Linux/Alpha exerience. The executive summary is that buying computers or pieces of computers that are NOT considered "stock" is still quite difficult, but no longer impossible. Computer stores, both large chains, and small used/do-it-yourself types, only want to sell complete systems. Counter jockeys and sales help are ignorant of anything other than whatever complete systems the store sells. Prices of even standard "PC compatible" hardware aren't as low as either trade rag pundits or usenet advocates led me to believe. The long story: 1. I purchased a remaindered Digital Equipment Corporation VX40A-F2 Universal Desktop Box (UDB) from Starship Computer Guys. I did this via an on-line auction, "www.onsale.com". I have already gotten several email spams because either Starship or Onsale.com gave out their list of email addresses to unscrupulous scumbag advertisers. This UDB was bare nekkid. It had no memory, no disk, no monitor or keyboard. It did come with a Redhat Linux 4.0 CD-ROM set, and some minimalistic instructions. 2. After the UDB arrived, I proceeded to purchase the other pieces I needed to make it into a useful computer. I've always owned non- Wintel computers, ranging from a Radio Shack Color Computer 3 running OS-9 in 1986, through an AT&T 3b1, NeXT M68040 "black" hardware, and a Sun SPARCStation IPC. Throughout my home computer experience, I've had people tell me that Wintel hardware and software was both more plentiful and cheaper (albeit possibly not as good) than the `proprietary' hardware I had on the kitchen table. The UDB, although not an Intel 80x86-based CPU, uses "standard, easily obtainable" PC peripherals, so I could test this assertion in practice. The first episode involved memory. 3. I called several used and do-it-yourself type computer shops in the Denver metro area to find 36-pin, 70 ns or better, "true parity" SIMMs. All of them quoted me a price. One Saturday, I drove over to purchase some. In 3 of the stores, I got exactly the same treatment: I asked for the memory, they looked up the price, then told me to bring my Pee Cee in to let them install it. I waved the DEC documentation at them, told them I just want to buy it, and I'll sign away my right to return ruined memory. Reluctantly, each counter jockey went to the back rooms, only to discover that they had no SIMMs like the UDB needs in stock. 4. I eventually purchased the SIMMs I needed from a mail-order concern, "Memory Shippers" of San Francisco, California. I was able to install it without ruining it, despite the fears of the used computer shops in Denver. 5. I went to the local "Computer City" to purchase a "PS/2" compatible keyboard. The used stores, reluctant not only to sell me SIMMs, also didn't want to sell me a keyboard. There was a dazzling array of keyboards, each clearly marked with some set of buzzwords. I was able to spot two signs saying "PS/2 compatible", but the only boxes behind those signs had labels saying "Not PS/2 Compatible". I was eventually able to find one that was, in spite of some non-help from "Computer City" sales people. Apparently putting on a pastel-yellow "Computer City" polo shirt causes an IQ drop of about 20 points. The keyboard I purchased was one of the middle-priced ones. The cheapest ones are still only "AT Compatible". 6. I discovered that the UDB must have a "multi-synch" SVGA monitor. None of my other monitors are "multi-synch". I went in search of a monitor. I went around to several used computer stores in Denver, and asked prices. I had purchased a 20-inch Sun Microsystems monitor via a usenet newsgroup last year for $350, so I was shocked to see used 17" monitors going for $450 and up. I finally said I'd buy a 14 or 15 inch monitor, thanks. I got the same run around from the counter jockeys. After looking in the back room, one store would sell me the one the repairman was using. Another store only dealt in 17-inch and larger used monitors. The third store had only *one* monitor for sale, a Compaq "Presario 1410", apparently something of a white elephant, since the speakers only work with Compaq computers or some such excuse. 7. Digital has stopped production of the UDB and "Multia" product line, but they've put the service manual out for ftp. This isn't quite as gracious as it sounds, since it contained no diagrams that showed the position of the various jumpers that control aspects of the UDB's behavior. Fortunately, Red Hat has made it's mailing list archive public and searchable. 8. Armed with the oddly-typeset documentation from "Starship Computer", (the company I bought the UDB from) and numerous chunks of documents from the Digital service manual, the Red Hat mailing list and other web pages, I was able to get the UDB to boot the "mini-loader", although the "SRM" boot PROM doesn't sync with the monitor. After that, I was able to install Red Hat Linux for Alpha, 4.0 on a Fujitsu M1606SAU disk. I had a Toshiba XM-3301TA CD-ROM drive that I had previously hacked to work with Sun SPARC hardware (512 byte sectors). I used this CD-ROM drive to install Linux from the CDs. That the hardware and software worked with a modified CD-ROM drive is quite remarkable. One difficulty I encountered was having to use "fdisk" to build a cheesy MS-DOS partition table. It strains credibility to believe that Digital makes boot PROMs that require a "FAT" filesystem to boot from, but it is so. I also found out that the various partitions have to start on a divisible- by-4 number of cylinders. There may be something wrong with the Linux networking code. The default installation causes the boot process to hang, but there's a deeper flaw: every 3.5 seconds, the Linux/alpha kernel fires off a 46-byte packet to itself. The ethernet frame has the machine's own MAC address as both source and destination. Maybe this is a heartbeat or a way of checking that the network wiring is intact, but it's very puzzling. 9. After getting the system to boot from hard disk, the rest of the set up was almost moderately difficult. I had to scour the Red Hat mailing list archives for hints about how to keep the boot process from hanging, and I had to fiddle with the XFree86 configuration file. Having purchased a cheesy 14-inch monitor was a mistake: everything is really tiny. 10. I quickly encountered a bug related to the 64-bit Alpha CPU. I wanted to keep all my machine's clocks synchronized, and 'rdate' seemed like a cheap and easy way. I was already using it on two other machines, and it seemed like it would be easier to compile and use (I've set up and administered NTP in the past). Compiling 'rdate' was pretty easy, but it insisted on telling me that the time on my other machines (SPARC IPC and M68040 NeXT) was sometime in 1861. It turned out to be a sign extension problem with the Alpha CPU: the 'rdate' protocol is supposed to give out a 32-bit, 1's-complement number of seconds since 12am Jan 1, 1900, in "network" byte order. The 'rdate' code uses the library routine ntohl() to get back to its own byte order. This ended up setting the 32nd bit of the register to a '1'. The code generated by the Linux C compiler caused this to sign-extend, making the number in the register negative. Cost Accounting: Price Shipping Bare naked UDB: 365.00 40.00 (and Red Hat 4.0) two, 32-Mb SIMMs 162.00 34.50 PS/2 keyboard 37.54 Compaq Presario Monitor 321.58 ------ ------ 886.12 74.50 = 960.62 You'll notice this is missing the Fujitsu M1606S-512 hard drive, the external enclosure for it, and miscellaneous cabling. I had that lying around.