Battle of the Bulge: A Battery Story

September 1st, 2009 by John Mahlman IV No comments »

If you own a Mac laptop you know that the adapter has a little light on it; green for charged, amber for charging or bad. The light on my adapter (which is not the original adapter, but a replacement from Apple themselves) stopped working properly a long time ago: the light would not come on in most cases unless I jiggled the cable for a bit and then never touched or moved it again. If I moved, it went out. I thought this was a contact issue on the plug itself, I’ve seen many people have the same issue before. So I thought nothing of it. Not to mention, my battery was fine, 255 cycles after 2 years and I still got 2+ hours on a good day.

Last week this changed when I noticed my laptop spontaneously turning off at random points during use. Even when fully charged it would cut off, and not allow me to start unless I plugged it in, even though there was a 70% charge on the battery. Fed up I decided t was time to bring it in for service, again. The night before I was going to bring it in brought on a whole new issue. After placing my laptop on the table I noticed it was not sitting evenly. I look underneath and notice the battery is sticking out…maybe it’s not plugged in all the way? I pop the battery off and find it to be bulging outward!

MacBook Pro battery with a bulge.

MacBook Pro battery with a bulge...

This is a very dangerous thing to happen to a battery. So now I know there is an issue and my battery is not “just old.” I brought it to Tekserve the very next morning and after 2 hours of waiting and checking they determine that not only is the battery bad, the adapter is as well.

Why am I writing about my battery? I’m mainly writing to talk about how Tekserve tested and made sure there really was an issue. The woman who helped me took my laptop to the table behind her and popped in a USB stick with some sort of battery/adapter testing program from Apple. The test came up as both “Good” at first. She retested, both came as “bad”. She retested, one came ad good, one as bad, etc. She did this at least 4 times, and then tested with a known good battery and adapter, and came to the conclusion that “AFTER NUMEROUS TESTS I have deemed that both are broken and need to be replaced.” She found this out after TESTING what I told her to test.

So a few things to keep in mind here:
1. If your battery starts to bulge, please get it replaced and stop using it ASAP. It’s dangerous.
2. It might not be just the battery, get the adapter checked.
3. Tekserve tests their shit…as everyone should.
4. A new battery and adapter make me happy.

Now I have a 1 cycle battery for free:-)

Brand new battery info.

Brand new battery info.

Computer Repair is ever complete without…

August 6th, 2009 by John Mahlman IV 3 comments »

TESTING!

When I am given a computer to repair by a customer (or anyone to be exact!) I do my best to be quick with the job as well as do it RIGHT. I test everything about the computer that I changed/fixed/replaced. I do not want people bringing their computers back to me for the same issue, it doesn’t make sense for someone to have to bring their machine back after I just fixed it. Unless it’s something totally different.

Why am I writing about this now?

My MacBook Pro iSight seemed to stop working randomly one day. I tried to use it and it didn’t work. System profiler didn’t show it, something was wrong. I brought it to Tekserve first. They claimed that it was hardware but since I had a small dent on my computer (no joke) they wouldn’t cover the warranty because Apple would deny it. I found another place in the city which I was told would take laptops in almost any condition as long as the condition wasn’t the cause of the issue and repair it under Applecare. Sure enough they replaced my logic board and my iSight worked again. I got my computer back in 2 days time.

I get home I try to use my DVD drive and find it doesn’t work. System profiler acts weird saying it works sometimes….then it doesn’t….whatever. I open the laptop and re-seat the cable. It loads a DVD but when I start doing reading from the drive it loses it. Something is obviously broken. I take it back and explain to them the issue. They take it and call me 2 days later saying they cannot reproduce the issue and it seems to work fine. I say, well, if you say it’s working fine, I’ll come by to get it. I get my laptop home and sure enough, same issue. I bring it back the next day. They claim they put a DVD in it and it read it so they deemed it as fine. Really? You did exactly what I told you I did and didn’t think to read from the drive?

After a conversation I tell them to replace the drive ASAP; meaning get the part and call me when it comes in so you can install it right then and there because I’m tired of not having my laptop. They install it and tell me to come back because it’s fixed! GREAT! I go and ask “Do you have a disc I can boot from?” He hands me a Leopard install disc and sure enough the disc does not load at all. Mr. Tech then tells me “Oh you have a third-party boot software (rEFIt), it’s probably the issue. It wasn’t hardware, it was YOUR software.” I then need to explain to him that it was fine until they replaced my logic board. I also ask “did you replace the ribbon cable also?” to which I never get a straight answer for (No). The tech doesn’t believe me, so I uninstall rEFIt on the spot and boot. The disc gets loaded, oh my god! He then gets a smug look on his face and says “It was obviously the software, see it’s loading.” After waiting 15 minutes, it doesn’t load. This was about the time where I wanted to shove the guy’s face into a wall; he finally takes my advice and boots from an external drive, HIS DRIVE, and goes into system profiler. The drive is no where to be found. Thank you. Hardware failure.

Now, I am told that they need to send it to Apple for repair. Why? All you need to do is replace the god damn ribbon cable, and if that doesn’t work, the logic board is bad. It’s not difficult to diagnose!

So, after 4 trips to this place I lost my laptop for at least a week now all because the tech’s didn’t test the repair properly. If you install a new optical drive, or if a user says “something is wrong with my optical drive,” what should you do? Should you pop a disc in and say “Oh it showed up, it’s obviously not broken at all?”

NO!

You put in a disc, read from it, install something, burn a disc, ANYTHING THAT TESTS THE DRIVES OVERALL PERFORMANCE! NOT THE EJECT MECHANISM! NOT THE [does the disc load, software?] MECHANISM!

What have we all learned (except Digital Society apparently)? Test your repairs!

Choosing the Right Programs for a Lab

August 3rd, 2009 by John Mahlman IV No comments »

Sometimes it’s tough to stock a lab full of computers with software. You want to get the best software of course but that usually means the most expensive. Sometimes the expensive programs aren’t even the best either.

The lab is primarily used for video editing and 2D/3D graphic design. These are three very expensive fields when it comes to software. For video editing we use Final Cut Studio 2. We have a lab license which allows us to run 5 copies at any single time; this license costs us a one-time upgrade fee of around $2000. Of course we had to have Final Cut Studio before that so you need to factor that cost into it also. I’m not sure how much it was originally, but I’m guessing between 2 and 5k. Now, we don’t pay a yearly fee or anything, it’s installed, and it works. No fuss. Is there anything else out there we could use, something free? Maybe cheaper?

In short, no.

There really is nothing like Final Cut Pro out on the market. (And don’t tell me Adobe Premiere Pro because I’ll just have to punch you in the face) Avid is around, it’s been around, it will probably always be around; but it’s not FCP. Avid is a whiny little pain in the ass that doesn’t work if it doesn’t get it’s way, not to mention it’s about $2000/license. No thanks. So FCP is something we’re stuck with it looks like, no big loss. (I know there are open source editors out there, but they’re just not as good and intuitive as FCP is at all, so don’t bring that up.) With respect to Adobe, we do have 1 license of After Effects. It hardly gets used, but it’s really a good program from what I’m told.

Next is 2D graphic design. This one is a bit simpler. We use Adobe Creative Suite 3 (no, we didn’t upgrade to CS4) which comes with Photoshop, InDesign, Illustrator, Dreamweaver, Flash, and Acrobat Pro. We’ll ignore Flash for now because we really can’t use anything else that I know of. Photoshop is the standard graphics/photo editing software, the weapon of choice for graphic designers if you will. Without this piece of software your digital media lab (or in this case, my lab) is a laughing stock of the DM world. However, there are freebies out there, although they might not be as good they sure as hell will do the job well. GiMP and GiMPShop are around and have been for a long time. This Linux counterpart to Photoshop gives users who cannot afford the price tag from Adobe the ability to make beautiful graphics like the pros. It’s tools are almost 100% similar, and it’s interface can also be with the help of GiMPShop. I would show screen shots comparing the two, but I can’t seem to get GiMPShop to run on my laptop. (BTW, the two run with X11, not natively.)

InDesign and Illustrator are programs I am not so sure about replacing, I’ve never tried alternatives to them. I know there are a few out there though. Inkscape is one that looks like a promising Illustrator replacement, it’s free too! For InDesign we have Quark of course; although Quark is rapidly getting replaced my InDesign, and one called Scribus, another open source replacement. I’ve never used any of these so I cannot speak for them, but if you’re looking, try them out!

Dreamweaver is for web-development. It’s more of a helper for most new developers. It’s gotten a lot better over the years, but it’s still nothing that cannot be replaced by good ol’ hand coding with TextMate or whatever editor you prefer. These are all wonderful, some are free, some are not. However, for true web editing I have to give props to Coda by Panic. I’ve mentioned before that I love this program. I do. I really think this is probably one of the best code/web/css editing programs on the market, ever. It’s beautiful, and it’s functional. It’s also $99. Does this bother me? No. Each penny of that $99 is worth it. If you’re just doing web stuff, don’t go near Dreamweaver, get Coda, as a matter of fact, get multiple copies of Coda to give to friends. That’s how much I love it.

Look at this beautiful CSS editor!  I can also edit the code of the CSS and ANY OTHER CODE WITH CODE HINTING!

Look at this beautiful CSS editor! I can also edit the code of the CSS and ANY OTHER CODE WITH CODE HINTING!

Now we come to 3D graphics. Our choice program in the lab is Autodesk Maya 2008 Unlimited. Maya is the “industry standard” for 3D graphics, right with 3D Studio Max; both of which are now owned by Autodesk…weird huh? Maya comes with so much stuff that it’s very hard to find a comparable program. Some difficulties come up with licensing (you need to be running a license server if you have a set number of licenses, and you need to make sre you get Unlimited or Complete. The difference is just what kind of fluids or fur you get, whatever. I like Maya to a certain extent. it’s powerful and fairly easy, but it’s licensing is annoying, and it costs a good amount for upkeep. We need to constantly upgrade if we want the bugs to go away (because lord knows you don’t want to keep fixing your software after the first service pack which we paid a few thousand dollars for in the first place) and if we want service for the license we bought, that’s also more money.

Maya's starting interface.

Maya's starting interface.

To replace Maya many people opt for Blender; Maya’s open-source cousin from the Dutch. Blender is completely free, and it does a lot of the things Maya does. It really is an excellent replacement for Maya; however, it’s got a steeper learning curve than Maya. While Maya may still be considered difficult to grasp anyway, Bender is like a nightmare to some 3D artists I’ve known. So if you can learn Blender (which by the way has all documentation online free as all good programs should) you will probably be very happy with the results.

A random screenshot from Blender 2.4 from Wikipedia.

A random screenshot from Blender 2.4 from Wikipedia.

Besides these main programs I have taken liberties to find free versions of other programs for my lab machines as replacements to troublesome or other non-free programs. Adobe Acrobat 9 has a nasty issue with network users on Mac OS, it crashes…all the time. I’ve taken Acrobat off and replaced it with a PDF plugin for Safari and Firefox. If someone wants to use Acrobat Pro, which is VERY rare here, then they can ask me to install it for them, for now Preview works just as well. AppFresh is a free program that checks all of your programs for updates and allows you to install them at once. very handy for updating the lab machines. And I can’t forget my favorite free buddies Carbon Copy Cloner and DeployStudio, without these FREE tools I would have be dead trying to deploy the lab and backup systems.

So, if you’re on a tight budget and you’re looking for cheaper alternatives, try out some of these. They might end up being better for you in the long run. If you have any other programs to suggest, drop a comment, I’d love to try some new programs out. Just remember, sometimes you don’t get what you pay for.

Upgrading from 10.4 Server to 10.5 Server

June 1st, 2009 by John Mahlman IV No comments »

As I’ve mentioned before, I manage 2 Apple Xservers and a lab full of Macs.  When classes ended for the summer I decided to upgrade our Tiger server to Leopard.  This was a task that I knew was going to be a lot of work especially because I was consolidating our old Dell web/mail/DNS into the Leopard machine.  These computers were set up well before I came into the picture, and I was still learning new things about them as time went on.  For example: I didn’t know that the old system (Wanda) ran another DNS on top of the university DNS.  Confusing.

So, I decided to do this some time ago when I realized that every time the server would restart passwords would be locked out.  This was an issue with the Kerberos setup in Tiger which was half broken by the time I got here.  Long story short, I wanted to start over, so I did.

Upgrading from one system to another on a server s never an easy task, and Leopard was definitely no exception at all.  I’ve upgraded Linux systems much easier than this.  I decided to make the image in the lab one of the PowerPC G5s we have (the server is a G5).  Here’s a fairly quick rundown of how I got everything to run like I wanted to.

  1. Install 10.5 Server fresh selecting “Advanced Setup” from the choices offered.  We’re going to be hosting a ton of services on here and I want to be able to configure every single one of them myself.
  2. Install ALL updates available BEFORE SETTING ANYTHING UP!  This is something I always do.  it’s so much easier to start setting up the server after it’s completely updated.  I don’t want to set up then have something break because the new update fucked it up and believe me, it happens.  During this time I also updated XCode to 3.1.x so I can build anything with MacPorts when needed.
  3. Next I needed to re-install or re-compile PHP5 so I had GD and MCRYPT.  Instead of recompiling it I decided to install the Entropy PHP build which comes with all that jazz installed plus a few more things.  All I have to do is disable the apple libphp5 plugin that comes wth Apache2.  Done.
  4. Next I installed the Autodesk Maya FlexLM license server.  This was a bit annoying since there technically is no Leopard build from Autodesk.  I decided to download the License server from Autodesk and go into the installer package and snoop around a bit.  I found a conf file that I could edit to allow it to avoid checking for 10.5.  That allowed me to install part of it, but the license server wouldn’t go.  I finally just went into the package and took the launch daemon out and the library and just copied the files to their respective places in the system.  Rebooted and it worked fine.
  5. I decided to setup phpmyadmin as well as Webmin for administration.  Webmin is great, I’m very used to it and it’s very lightweight. Phpmyadmin is obvious.  I copied the folders to /etc and redirected the links in Apache using server admin and ran the setup scripts. I also installed the OS X Web-based open directory password changer while I was at it.  All worked fine.
  6. Next I did an rsync from the old webserver for the website.  Copied everything over, dumped and restored the MySQL databases and users and voila! Web is back.
  7. I rsync’ed the Mailman mailing lists from the old server.  This was another issue.  The data, archive, and list confs were all compatible; however, the symlinks on the copied lists were not working because they were still pointing to the old server model.  I couldn’t really change the links without mailman complaining so I did some workin around this.  First, I copied the archives from the old server to the new, this worked fine.  I then exported the lists using server admin export AFTER I copied the lists from the old server.  This gave me all mailing lists but nothing else, which is what I needed.  I removed all the old lists and confs from the system but left the archives in place.  I re-imported the lists that I exported from server admin and BING!  All mailing lists recreated the links and all lists were back to their working state.  Archives came over, user lists came over, and no complaining mailman.
  8. After that was set I copied all of the DNS settings from the old server and put them in the new DNS.  I also gave an updated list to Poly’s IS and disabled the now deprecated IDMI nameserver.  Everything was now BXMC.  This was about the time that I finally turned off Wanda, the old webserver, for good.  Wanda will be reconfigured for Hans.
  9. I enabled everything after I turned off Wanda; DNS, Firewall, DHCP, Web, Mail, etc. DHCP and Firewall were imported over from the Tiger install, so that was nothing.
  10. I attempted to restore the open directory database from the Tiger backup.  It wasn’t working, at all.  I was getting frustrated because now I was thinking I had to put every user in by hand.  I finally figured out that I was attempting to restore the LDAP database using the new kerberos realm and new LDAP searchbase.  This won’t work because the backup is using the old one, they just won’t talk.  I tried to restore using our old searchbase and realm and it worked!  I did attempt to change the realm and searchbase with no success, so for now I’m leaving it at IDMI.  No one will see this except myself and the systems so I could not care.
  11. With OD working again I tested all logging into the wiki, website, lab machines, afp, etc.  All worked after a password update (which all users will need to do unfrotunately).
  12. The final bit was to get the NetRestore working on the server.  I wrote about using NetRestore by Mike Bombich here, and how it reached EOL.  I stated that I would continue to use it until it stopped working….well, it stopped.  I was sad to see this actually, but our mac’s wouldn’t boot from the system anymore.  They all failed for some unexplained reason.  I decided to give the one Mike Bombich recommended a shot, DeployStudio.  Installing DS was easy, just a simple pkg file.  Setup was even fairly easy.  I ran the server setup on the server and that’s really it.  I used carbon copy cloner on a labmac to create an image (even though DS allows you to create one in the NetBoot screen, it didn’t work) and the NetRestore was back working.  I actually would like the wrote more about DS in the future.  I am very surprised with how well it works and the features it has built in. But that’ll be another story.

So this entire process took me 4 fresh installs on a lab machine before I got the image the way I wanted it (about 4-5 days).  It took 45 minutes to copy the image from the external hard drive to the server, and took about 3 days of tweaks to get everything running smoothly.  The entire experience was pretty painless, but it kept me busy for the entire time.  I will be re-imaging the secondary server again (it was upgraded to Leopard before the main server last summer) so that I will now have everything fresh and clean for the next semester.  Here’s a nice shot of server admin with everything running nicely:-)

picture-3

If anyone reads this and needs help with a server setup and/or upgrade from Tiger to Leopard please feel free to comment or ask me any questions about it because I’ve seen every issue now with the server and I now know how to get around a lot of things with it.

Windows 7 RC1 Update

May 11th, 2009 by John Mahlman IV 2 comments »

I updated my Windows 7 install to build 7100 (RC1).  Some minor changes have been made on the outside.  More themes are available, more sounds, different login screen background, yadda yadda.

As for the performance, I don’t notice too much of a change really.

Because Microsoft disallows upgrades from 7 Beta to 7 RC1 I had to wipe the drive and start over, no big deal though since I don’t use my Windows partition for much more than Steam.

My opinions still stand, Windows 7 seems to be very solid and visually appealing.  I you’re one of those people who still run XP and were weary of switching to 7 instead of Vista (I was), I’d suggest you upgrade it if your hardware is up to snuff.  Yeah, I think it’s really that good.