Thursday, June 22, 2006
Sun Ultra 2 reprise.
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


My first Linux Router...

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
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 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...
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
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.
Friday, January 27, 2006
More on the Ultra 2
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
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
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

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:
- Aston Marton (requires Flash)
- Techeblog paper V12 article
Wednesday, November 16, 2005
Camstreams and lftp

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...
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!
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

Resources:
More pictures soon.
Thursday, November 10, 2005
Sun Ultra Enterprise 2 photos


Tuesday, November 08, 2005
Why the Iriver H10 sucks, and sucks BAD!
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
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
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: