Thursday, June 22, 2006

Sun Ultra 2 reprise.

I've been shopping on ebay again, even though I shouldn't be. This time I bought 1GB (8 x 128MB) SIMMS for my Sun Ultra. Currently the machine has 128MB of RAM (8 x 16MB). SIMMS have to be installed in quads, that is 4 of the same type. I actually have a couple of 128MB SIMMS that will work in my Ultra, but they won't work until they're installed in a quad configuration.

I am reprising the Ultra for a couple of purposes, 1 to learn Solaris 9 (or 10), and to learn Java. I've been reading Cay Horstmann's Computing Concepts with Java Essentials. What make's Cay's book interesting for a hack like me is he has mentioned the SPARC processor a few times in the first chapter. It's interesting to learn about Java's cross-platform abilities when processors are compared instead of just saying that Java is a cross-platform programming language and then continuing on with code examples.

Solaris 9 is a dog on 128MB of RAM, particularly the Xserver. All the web-start stuff slows the system down even more. The new RAM is coming from the United States, so I'll probably have to wait a couple of weeks before it arrives. I'm itching for more. I actually looked at a quad port network card, but decided I really didn't need it. Perhaps when I learn NIS+ a bit better I'll replace my hub with the card.

I'm going to install Slow-laris tonight and set it up so I can SSH in. I decided on a new naming scheme for my network based on Anne Bishop's Blood Jewels series of fantasy novels. The temporary notebook is Lucivar, my 733MHz x86 is Janelle, and the Ultra is Saetan. I haven't decided on whether I'm putting the Sun Sparcstation 5 online again. I pilfered the 9.1GB SCA hard drive for my Ultra which has dual 9.1GB SCA SCSI hard drives. I already bought a Creator 3D card for the Ultra.

One of the things that's great about Sun is they still have a lot of information about their systems, even old boxes like the Ultra 2.

I also love looking at what people are doing with the Ultras. A place in Taiwan is using them for SNMP, Web, and DNS/NIS along with a Sparc 10 as a firewall. The department of engineering at the University of Cambridge at one point was using an Ultra 1 to run a Pro Engineer CAD package. At the Observatoire de Physique Du Globe De Clermont-Ferrand in France they're using a sun box for Inferometry. I was never into physics or most sciences while in school, but this looks like a really cool application. I'm somewhat interested in the telescope possibilities. I enjoy creating backgrounds from jpegs I've snapped with my Powershot A20 digital camera. It's only 2.1 mega-pixels, but it's more than enough to do 1600x1200. Having space scenes would be pretty cool.

There are so many possibilities for a box like this and here companies are filling landfills full of them...

Saturday, May 27, 2006

Red Hat 7.2 desktop

Desktop Linux systemThe aforementioned router served a couple of clients, one of which is the desktop to the left. For the longest time I ran Linux on a Pentium 200MHz box, but I think this is a photo of my next system, a 1.4GHz AMD Athlon (before all the Athlon XP/64 buzz). Notice the Red Hat box beside the computer :-)

Thinkpad 755CThis was my other system, a Thinkpad 755C, aka butterfly keyboard. For a Pentium 75 it was a pretty cool notebook. I ran Debian and FreeBSD on it with Window Maker as the window manager.

My first Linux Router...

My first Linux Router - IBM Pentium 133MHz
I was organizing my photographs using f-spot when I came across a photograph of the first Linux router I ever built. I'd bought an old IBM Pentium 133MHz box - pretty big for a router, and stuck in a couple of network cards.

The router ran Red Hat Linux version 7.1. I was so impressed with version 7.1 that I ended up buying Red Hat 7.2. John Van Ostrand, from Netdirect, helped me get all the ipchains/iptables rules set up (I was pretty green about security back then). Thanks John. The router never had any downtime the 1 1/2 years it was in service.

Monday, May 15, 2006

Palm not allowing customers to download HotSync for new Palm T|X

Time to burn some bridges again, the victim this time, Palm, Inc. So here's the story:

On Saturday I went out and bought Palm's new Palm T|X Palm Pilot. Now I know Palm is hurting pretty bad, Windows-enabled devices have displaced Palm as the undisputed king of the hand-held market. And given my experience with my Palm m125 I really shouldn't have considered Palm at all... But I did, and I walked out with a Palm T|X. The T|X is a wonderful machine, WiFi and Bluetooth enabled, nice high resolution colour screen, the latest Palm OS... the problem, I cannot download the HotSync software like I could for my Palm m125, which means I can't hotsync with my computer at work until I remember to bring my original CD.

It might not seem like a big deal, Palm should be allowed to protect their software interest. But it's enough to make me want to pirate the software. I wanted to have all my contacts today, not tomorrow. And what if the software disc was scratched? If you've checked out Palm's web site, e-mail support isn't clearly evident. And phoning, I'm sure the experience would be like every other company, you get on the phone, get the run around to 2 or 3 different departments before they say "we're sorry, we can't help you." Even if they could ship another CD, it would be weeks, if not months, and it would likely cost the consumer more money... at nearly $400CDN, I would expect much better service from Palm.

There are ways Palm could provide the software to customers, i.e. requiring a serial number, but they refuse to do so... so you know what I say, pirate away!

Thursday, February 09, 2006

Soltek 85DRV5 strain

I occasionally read comp.os.linux.advocacy, a newsgroup dedicated to the promotion of the Linux operating system. Lately there has been a lot of "trolling for flames" by what looks to be someone under various aliases, but mainly coming from the same free news host. One of this troll's arguments against Linux is that you "just install Windows XP and it works." I've heard this argument before, and I'm sorry to say it doesn't hold water. I'm not saying this because I'm a Linux guy who hates Windows, I'm saying this as a technician who runs into problems with Windows XP installations. Lately I've been dealing with just such an example:

I customer brought in a Pentium 4 which kept rebooting on him. My first thought was spyware. There was spyware on the system, but the customer decided they just wanted a fresh Windows XP Home install anyway. (They actually had their original disc and license - a nice change from most people I have to turn away) Long story short, a fresh install of Windows XP Home didn't solve the rebooting problem.

To diagnose the problem I first tried running a few tools to test the memory and the client's hard drive, both passed all tests with flying colours. The key seemed to be that the system only rebooted under Windows XP, anything else (Linux Live CDs) had no problem.

After booting the system to Windows I got a screen dump with the following (edited for brevity) error:

DRIVER_IRQL_NOT_LESS_OR_EQUAL

*** STOP: 0x000000D1 (0x00000002, 0x0000000C, 0x00000001, 0xF84CE403)
*** atapi.sys - Address F84CE403 base at F84CE000, Datestamp 367d83e5

A little investigation (Google) turned up that the problem was most likely Windows driver related. Taking the advice of one of the forum members I removed the network card and the modem from the system. Next reboot Windows XP loaded with errors, but did not reboot. I popped back in the network card, same result, XP seemed to load with an error, but it didn't restart the system unit. I decided to take the opportunity to run the Windows Updates.

After the updates were completed I shut down the system (lunch time, and I wanted to be around in case there was a hardware/heat problem - I'd already checked the system temperature a few times; but it never hurts to be cautious). When I restarted Windows rebooted. Damn! I was hoping the problem was not NIC related. But the next reboot the system seemed fine, so I tried rebooting a couple more times - no problems, not even a Windows error message.

The system has been running in XP for about 1/2 hour now, still minus the modem. The problem seems to be an issue with the PCTel modem, likely, as the board suggested, a driver issue. Others I've chatted with have a very negative view of PCTel-driven modems.

For the record, the motherboard is a SOLTEK 85DRV5 with a VT8753 Apollo P4X266 controller (VIA chipset). There is a GeForce4 MX 440 [NV17.2] with 64MB RAM in the AGP slot. The NIC has a RealTek 81390 chip. Without the PCTel (PCT789T-C1 chip) modem, the system seems to be running well.

Though the system has no problems running Linux from a Live CD, it's not the 100% Windows-compatible zealots love to believe. No operating system is perfect. I think it's more a matter of people choosing an operating system that they feel more comfortable with, or know they can get help with. I don't believe that religious wars over operating systems help anyone. Those people who spend all their time, even those paid by companies to bad mouth other companies, do more harm to themselves and their respective companies than they really do to hinder the other side. Propogation of bad mouthing just makes the fanatics on both sides become more fanatical.

Next steps are to ensure the Soltek motherboard is updated and all drivers are working 100%; then I'll try reinserting the modem.

Thursday, February 02, 2006

If you've never ventured outside of x86 land...

If you've never ventured outside of x86 land you're missing some real treats. Over the past few years I've cobbled together enough parts to make 2 Sun Microsystems computers, one a Sun Sparcstation 5, the other a Sun Ultra 2. Why are these ancient systems cool? (The Sparc 5 is 110MHz and the Ultra 2 is 200MHz) They're cool because some of the things you can do with them that you can't do with a x86 without using external software. For example: STOP + A key will bring up a prompt where you can do all kinds of cool things, such as probe all SCSI devices, check RAM to see if it's okay. You can of course do these things using software on x86, but on my Sun boxes it's built into the instructions on the system itself. I don't need to run an operating system to diagnose problems on the box -- pretty cool.

The other thing that's cool is 64-bit. Yes, my 200MHz Ultra 2 is a 64-bit box. It can hold 1GB of RAM, and it's dual processor capable. Not bad for a $20CDN ebay purchase. (I spent more buying the keyboard and mouse for it).

If you've never ventured out of x86 land, I strongly recommend you try it... just for the pleasure of trying something outside the norm.

Tuesday, January 31, 2006

AOpen AX6BC motherboard and Linux

Last Friday I was working with some volunteers at The Working Centre. My plan was to show how easy it was to install Ubuntu Linux. Much to my dismay I ended up doing a "Bill Gates," because the AOpen wouldn't even get to the Ubuntu install startup. I did a little checking, and found a site that seemed to imply the BIOS might be flaky. We tried a few machines, and all except one had the same result. One machine I did manage to install Ubuntu on.

As it turns out, the problem was indeed the BIOS. AOpen motherboards with the model AOpen AX6BC version R2.10, dated 1998, seem to have an issue with operating systems other than Microsoft Windows. I checked the AOpen web site, but there was no mention of Linux issues. I found a newer BIOS for the AX6BC, version R2.59. As per AOpen's instructions I booted to a command prompt, and ran the BIOS update from floppy.

The BIOS update seemed to go perfect. When I rebooted there was a CMOS checksum error. At first I thought I'd go into the BIOS and see if there was somewhere to change the checksum. I skimmed the BIOS very quickly - no go. As it turns out, all I had to do was press F1 to Continue. The next reboot the CMOS error was gone.


  1. Computer Recycling
  2. AOpen USA

Friday, January 27, 2006

More on the Ultra 2

It looks like the Ultra 2 is going to be an ongoing project. I may run a dual-boot system with Solaris and Linux on it, but I think I might revert to Solaris 8 in hopes the performance is slightly better on my low memory.

At the moment a broken version of Debian Woody is installed on the hard drives. (4% and 1% use on the 9.1GB drives - pretty slim!) I downloaded Gentoo, and while I found it a pain to install on my notebook, which is really my lifeblood of computer systems, I have the time to play with it on the Ultra, and I like the idea of rolling my own custom kernels on this unusual box. My only concern is what will happen when I add a second processor; I'm guessing it'll just be a simple matter of a recompile - no big deal.

I have to say that I am really impressed with what Gentoo looks like on the console of this box. I don't think I've seen prettier console colours since my days of running a Bulletin Board System. Another cool aspect of the Gentoo minimal live CD is that it seems to have detected the onboard sound AND the Sun Turbo GX card, which I had looked up in preparation for a more difficult install. And while Gentoo will probably be a lot more reading than a Debian install, I expect the result will be a much nicer system, better tuned to my resources.

I've decided to use the Ultra 2 to serve up a simple web site, and to learn Python on. At some point I want to start developing games using the pygame library. The pygame web site shows a lot of pretty cool looking games - look out Roberta Williams! This latest bout of programming euphoria brought about by the book Masters of Doom which documents id's rise to the top of the shareware, and retail gaming world.

Well, it's 5am, so I'm not adding any links - I really need sleep, big day ahead at 7:30!

Thursday, January 26, 2006

Updates and Sun Ultra Enterprise 2 active

I took a Geek test today and fared slightly above average. I knew one of the l33t questions, but I couldn't even be bothered to google the ROT question.


My computer geek score is greater than 87% of all people in the world! How do you compare? Click here to find out!


And a quick note that I finally got a hard drive for my Sun Ultra 2 Enterprise, a 9.1GB SCSI drive. I put Solaris 9 on it last night - a very long install. More later this evening.

Thursday, December 08, 2005

A SOHOWare experience

Yesterday one of the volunteers at The Working Centre was helping me find and organize Windows 95 drivers. We came across a SOHOWare sfa110 network card that took 3 hours to properly configure under Windows. Now you might be tempted to think, geez, what a newbie, but even with TCP/IP properly installed, and 4 drivers, all of which were suppose to work, we couldn't get the darn thing going. Because the system had Windows 95 without USB support, we were using floppies, limiting our driver downloads to 1.44MB (we could have spanned floppies, but that could have turned into an even more collosal waste of time if one of the floppies in the set was bad).

I finally broke down and burned a copy of the multi-megabyte driver from SOHOWare, and after a couple more false starts, and needing to know what path things were stored at, we managed to get the driver working. In short, it took A LOT of effort!

Now I know I'm comparing apples and oranges when comparing Windows 95 and Linux, but only slightly. The machine in question wasn't capable of running Windows XP, at least not well. Had I put Debian GNU/Linux on the machine it would have picked up the SOHOWare card right away with a newer kernel. People always talk about how *easy* things are in Windows, forgetting minor irritants like the experience I just mentioned above. My point of all this is that Linux does have better hardware support than Windows. If you consider how badly XP would run on such a machine (64MB RAM), and the fact that installing the 95 driver is a royal PITA unless you waste a CD-R, installing a Linux distribution like Puppy Linux or Debian GNU/Linux seems like a breeze.

Resources

Friday, November 25, 2005

Vanquishing technology

Aston Martin Vanquish If you've been following my web log, you know I have an almost fanatical interest for unusual hardware. It seems that fanaticism extends to non-computer hardware too. And while I might be able to buy a (once) $60,000 computer on eBay for $20CDN, the piece of hardware I got turned on to this evening would never sell for anything remotely as cheap as the Sun Ultra 2.

I was watching the modern version of The Italian Job, and decided to look up "Handsome Rob's" thrill machine, the Aston Martin Vanquish. Baby, the Vanquish is one dream machine! It's capable of burning up the road at over 200mph, does 0-60 in less than 5 seconds, even comes digitally, and electronically customizable with the owner's name plate - we're talking dream machine!

I've watched this version of The Italian Job a few times, and so much attention is focused on the Mini Coopers that the rest of the cars barely have any chance for limelight. Aston Martin's web site is pretty slick, but I was somewhat annoyed when I visited the web site of the Toronto dealer for AM; when I brought up the page for the Vanquish the site played the theme from James Bond. If you're trying to project class, playing the theme song from James Bond is not the way to do it.

The V12 in the Vanquish reminded me of this site I came across this morning, a V12 made almost entirely out of paper! Cool hack!

Resources:

Wednesday, November 16, 2005

Camstreams and lftp

Quick shot of me from the IBM web cam
In my last post I alluded to a web-cam project I was working on. I had hoped the software I was using for Linux, Camstream, was capable of uploading to me site, and there appeared to be facilities to do so - the only problem was that all the images it uploaded had a zero-byte size; in other words the upload didn't work properly. Luckily, Camstream did save the image perfectly to the hard drive, which meant I could use a little scripting to auto upload it to my web site.

I'm no hard core shell script hacker, this is just my solution to a problem; I'm sure there are plenty of better solutions, but this one works for me, so I thought I would share:

First I needed to find a ftp program that I could script. I chose lftp because it seemed like the easiest program to script, you just run lftp with the -f switch and the name of your script. For example, if your script is called uploadimage you'd get cron to run:

/usr/bin/lftp -f /home/username/uploadimage

Where /home/username is the path to where you put your script. The second job was to write a script that would upload the image. This was actually just a few lines of script:


open -u myusername,mypassword my.ftp.server.address
rm /img/videocamera.jpg
put -c -O /img /home/myusername/videocamera.jpg
quit


It's a very simple script. The first line connects to the ftp server at my.ftp.server.address. Line 2 removes the existing image. Line 3 puts the new image with a switch to overwrite the old image if it exists. And the last line ensures lftp quits.

I tested the script before putting it in a cron job by typing:

lftp -f /home/myusername/uploadimage

When it worked I put the script into a cron job:

0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/lftp -f /home/myusername/uploadimage

The 0,5,10,15... part ensures the cron job runs every 5 minutes. The other four stars ensures the job runs every day of the week. Now, I probably should have mentioned how to edit a cron job in the last post, and before I posted the line above, but it's been a long day and I'm still trying to wind down, so here it is: as root type:

crontab -u myusername -e

Substitute the user name you use on your local Linux system, not the username you would use on your ftp site.

The last element was creating a simple html page to display the image videocamera.jpg. I won't explain the mechanics of HTML here, but I'll mention that I borrowed some javascript code, and hacked it to refresh the web page itself about every 3 minutes.

Resources:


Please note that if the camera feed is black it's probably dark out, or I'm chilling watching a movie. I still have a way to go with this project and will probably run the images through imagemagick, but that's another post...
Scripts and cron jobs

My first "real" computer was an IBM PC/XT. While our family had a Commodore 64, I don't think anyone would argue that it was anything but a game machine, at least not the way we used it. Since the XT was my introduction to the Personal Computer market, I got pretty use to IBM and Microsoft DOS (Disk Operating System).


I've never been much of a code hacker/junkie, but I did slap together quite a few batch files to get DOS to save me a few steps. Under Linux you can also script things. Most scripts begin by pointing to whatever shell you're using. I would imagine that a good 60% of the Linux community is using good old Bash. An example bash script:


#!/bin/bash


echo "Shell scripting is fun"


Then you would change permissions on the script to include execute permission, at least for yourself. Be wary of arbitrarily running shell scripts which you don't know the purpose of - you don't want to run a rootkit.


chmod ug+x myshellscript


Now the user who created myshellscript has permission to run it, as does anyone who belongs to the same group as the user.


So what good is all this? When combined with another tool, cron, you can schedule your script to run at certain intervals. I've set up a cron job that runs a script which connects to a ftp server and uploads a web cam image at certain intervals.


I won't go into the details of cron because this post is long enough, but the links below should help.


Resources:



Cheers until next time!



Monday, November 14, 2005

UltraSparc T1


Sun Microsystems has unveiled a new processor in its UltraSparc line of processors, the UltraSparc T1, codename Niagara. The chip boasts 8 "computing engines" and according to an article on ABC News, uses about half the power of traditional processors.

I hope this improves sales of Sun machines. I'd like to see Sun stick around. Sun has made some pretty sweet machines, and it's nice to have an alternative to the Intel/AMD architecture, even if the machines are a little expensive.

Go Sun, go!

Resources:

Sunday, November 13, 2005

Ultra 2 almost $60k!

I came across a review on Sunworld of the Ultra 1 and 2. I was surprised to see that it was close to $60,000 originally!

The Ultra 2 Creator 3D 2200 comes with a pair of 200-MHz UltraSPARC CPUs, 256 megabytes of RAM, a 4 gigabyte hard disk, and 20-inch monitor. It costs $59,995. With a multi-threading, multi-processing SunSoft compilers, the Ultra 2 generates 332 SPECint92 and 505 SPECfp92, the highest recorded floating-point SPEC92 results.


It sounds like I may have got even more of a bargain than I thought!

Resources:

Saturday, November 12, 2005

Screenshot of Fedora Core 4 with extras

Fedora Core 4 customized One of the things I love most about Linux is how customizable it is! While the same is somewhat true of Microsoft Windows, you usually have to buy add-ons like Stardock Window Blinds. The see through calendar is gdeskcal, the music player just below is a minimized version of xmms, and I have The Gimp opened.

Resources:


More pictures soon.

Thursday, November 10, 2005

Sun Ultra Enterprise 2 photos

Sun Ultra Enterprise 2 caseThe Sun Ultra Enterprise 2 I ordered on eBay arrived yesterday, 2 days after it was shipped - amazing! Unfortunately the box seems to hang at the beginning of the memory count. I suspect the problem is the RAM configuration. I read somewhere that the minimum RAM configuration would be 128MB of RAM because the RAM is installed 4 DIMMs at a time, with 32MB RAM the minumum (4x32MB=128MB). My machine has 8 sticks of RAM, but shows 64MB at the top. I won't speculate beyond this, but I may have some other RAM coming.

Sun Ultra Enterprise 2 internalsMy machine has a single 200MHz UltraSparc processor. It's possible that it might take up to a 400MHz processor, but even if it doesn't, the machine is still dual processor capable. I was amazed at the internals of this machine, everything is packed pretty tighly. I couldn't even see a spot I might stick a hard drive other than under the floppy bay. The Ultra 2 is a heavy beast! I'm somewhat surprised I only paid $14US for shipping, considering how fast the machine arrived, its packing, and weight.

Tuesday, November 08, 2005

Why the Iriver H10 sucks, and sucks BAD!


Bill Gates models Iriver H10
Originally uploaded by tuxspot.
The iRiver H10 is a 5GB MP3/WMA media player similar to the iPod mini, but with a very nice colour screen. This is unfortunately about all the player has going for it. Important controls are poorly positioned, the "condom case" is flimsy, except for the belt clip, the battry life definately isn't as advertised, and the player is incompatible with just about every operating system on earth, including versions of Windows XP.

The H10's biggest problem is it's reliance on MTP, Media Transfer Protocol, and on Windows Media Player 10. The first part of this equation, MTP, eliminates anything non-Microsoft. This means MAC and Linux users are SOL if they want to connect their iRiver H10 to their boxes. The second part of the equation is the hook into Windows Media Player 10. According to MSDN, the MTP driver can run on Windows 98 through to XP, but iRiver have chosen to impliment it on Windows XP with SP1 installed and Windows Media Player 10. I had these all installed and my player still didn't work until I did all updates, and updated to SP2.

Another disappointment was the battery life. It's advertised as up to 12 hours. Realistically, it's more like 4, and that's not using it every day.

The H10 also has some major design flaws. The power button is located on the side of the player. Every time I try to slip my player into the included "condom" case I end up shutting off the player in the middle of a podcast. The power would have been much better on the top where the lock is. I also don't like the placement of the fwd, play, and back buttons, with the case on I often reset a podcast.

On to the software side. What can I say, except I hate Windows Media Player 10.

Why couldn't the dummies at iRiver have just made this another hard drive mp3 player instead of selling out? Yeah guys, the image of Bill holding your product says it all. And the condom case might appeal to some, but it really has limited functionality, and in the case of the H10, it hampers proper use.

Resources

  • MSDN info on MTP

  • IRiver Link excluded because I don't recommend this product at all!

Wednesday, November 02, 2005

Synoptics LattisHub 2803


Synoptics LattisHub 2803
Originally uploaded by tuxspot.
One of the donations at work today consisted of a few Synoptics hubs. I don't remember exactly which models, but the donation immediately brought to mind the Synoptics 16-port Lattishub 2803 that I bought at the University of Waterloo surplus sale for $3.00. I actually bought 2, but one was problematic.

My Synoptics hub has been put to use under Titan, my main desktop workstation; the hub keeps the tower off the carpet -- in other words it's not really in use.

I decided to do a little investigation and discovered that the Synoptics hubs have a few problems. Apparently they don't like BOOTP much. Microsoft encourages Synoptics owners to upgrade the firmware on the hub, and to use TFTP.

Surprisingly, I couldn't find a Synoptics, or Bay Networks, apparently a newer name, on Google. Everything I read leaves me to believe that they were swallowed by Nortel. If you know, I'd like to know.

Resources:

Inkscape inspiration


computer
Originally uploaded by tuxspot.
Inkscape is one of those open source programs that is a must have if you do any kind of publicity.

Inkscape is a .svg vector art program that lets you do some pretty dynamic graphics - even if you don't have a lot of drawing skill. The computers, clouds, everything except the Working Centre logo were all created for this image in roughly 1/2 hour.

Of course, Inkscape is open source!

References: