Earthquake!!!!

October 21st, 2006

Wait what…?  Yes thats right, there was an earthquake here on Sunday.  Quite the moving experience.  I was sitting in front on my computer at the time.  It felt like some big machine was driving infront of the house.  Everything vibrarted for a little bit, slowly getting stronger.  Then the actaul shaking started.  My bed started shaking back and forth, just enough that I could feel it.  It got a little strong than that and then stoped.  There were a few aftershocks, where were felt as more shaking back and forth.  

Being on Oaha some could say I got it easy.  The Big Island (Hawaii) got the full force of the 6.6 so buidlings and walls fell.  But here, we were out of power for most of the day.  Some places didn’t even get power untill 1 in the morning.  People were flocking to the stores to buy food, water, and bateries.  Because the stores didn’t want to let people inside when the power was out, the stores setup a booth out front and would bring items out one customer at a time.  This made for really long lines in front of stores, but people were still able to buy things.  The most interesting thing about the power outage to me, is that most people had wireless phones in their house.  When the power went out, their phones didn’t work anymore, even though the phone line was fine.  The following day all the stores on the island were out of phones that didn’t require power.  Home Depo had generators on 4 month back order.  Alot of places were out of food on monday, because it had spoiled durning the blackout.

If it aint broke, don’t fix it.

October 14th, 2006

Ok, so a big woops on my part. I tried to update the server the other day. As you probably have guessed, I messed up. I miss typed a few things, left out a few things, and promptly rebooted the server. Whats wrong with rebooting you ask? Well, if the computer you are working on is located in a different state, behind locked doors, in a cabinet , then you might have a problem. Apparently the computer couldn’t find the right file to boot from, because i miss typed it. So it was just sitting there waiting for the “Any Key” to be pressed. I had to wait a whole day before someone could drive down there and manually restart the server for me.

So the lesson for today is, if it aint broke, don’t fix it. Maybe in a few months when I have more time to make sure I do everything correctly, I’ll try for an update.

Oh well…

September 10th, 2006

I have been waiting quite some time now to get a laptop.  Compusa had a great deal on one about a month ago.  The Acer 5672 – ATIx1400 with 2GB ram, for around $900.  That would have been great if I had been quick enough to get it.  But it has been out of stock for over a month.  It is still listed on their site though.

I finaly gave in and bought a different laptop from NewEgg.  Its the same model (Acer 5672) but with only 1GB of ram and a ATIx1600 card in it.  Cost $1100 (after shipping).  Not bad, but it wasn’t what I wanted.  I would much rather have the 2GB of ram instead of the faster video card.

I was rather impressed that the latop didn’t come with all kinds of junk preinstalled, like most PCs do.  This only had the required drives and some ATI utilities on it.  Good job ACER. I now have to setup the laptop with all of my goodies.

The one thing I don’t like about the latop, is that it doesnt feel very sturdy.  The plastic around the frame easily moves when you press on it.  Makes me wonder if dust will collect inside.  Also the side where the card slots are, flexes very easily.

 I wonder how much of a battery drain the faster video card is.

osx x86 install guide

August 2nd, 2006

Looking around the net, its hard to find a good, complete guide for install osx86. I’ll try to make a complete one here. If there is anything missing, please feel free to comment.

Things you might need:

  • An Install DVD that works on intel hardware
  • A computer that supports at least SSE2
  • A USB mouse and keyboard (optional, but makes things easyer later)
  • A free 6.5GB (at least) partition or disk

The 1st thing you should do is make sure you can boot the install DVD. If you can’t get to the installer screen, this guide will do you no luck. Some things you might want to try to get it booted are as follows.

Press F8 to get to the boot option screen. You do this right when it says Loading Darwin

at the boot: prompt add -v to get a print out of what is going on. Some other options you can try are platform=ACPI or platform=X86PC. If you still can’t get it booted you should look around http://wiki.osx86project.org/ for help.
Now that you know you can boot into the installer you can contine.

Setting up Hard drive space:

As stated earlyer, you will need at least 6.5GB of free space. You can try to get away with less, but you wont be left with much free room. I would recommend you go with 10GB. There are two ways to setup the harddrive space. The first is in an empty partition. The second would be on an entire disk.

Setting up a Partition:

I recommend using Partition Magic to do this. There are a number of linux methods you can also use to resize partitions. Where the partition is on the drive doesn’t matter, as long as the partition is a primary partition. DO NOT make the partition as an extended partition. Do not format the partition. The partition type needs to be set to 0xAF (HFS), otherwise the installer complains. You can set the partition type using the installer DVD if you have trouble.

Using FDISK from DVD to set partition ID (0xAF):

It F8 to get to the boot menu and type -x -s -v (plus any addition options you might need to boot correctly). This will boot you into a command line. At the command line type

fdisk -e /dev/rdisk0

Mind you the rdisk0 part might be different depending on how your system is setup. rdisk0 is the first SATA disk in my system. If you are using IDE drives you might want to try /dev/disk0. If you did it correctly you see
fidsk: 1>

Type p to print out the partition table. You should see the partitions you setup. If not then you typed the wrong drive and need to quit (by typing q) and try another drive. If you see the partition you want to use for OSX type setpid followed by the number of the partition you would like edit. For example you would type setpid 2, if you want to set up OSX on your 2nd partition, and windows is on the first. Fdisk then ask you for a “Partion id”, type AF, and press enter. Type w to write your changes, then q to quit. Type reboot to restart the computer.

Setting up a whole Disk:

If you want to use a whole disk to install to there is nothing to setup. Just use the Disk Utility built into the installer to setup the drive.
The Install (what you were waiting for)

At this point, you should be able to boot into the graphical install, and have a partition or disk ready to install into. Boot up the installer and wait for the menu bar to show acrows the top. On the menu bar go to Utilities and select Disk Utility. Select the partition you want to install onto from the menu on the left. At the bottom of the screen it should show you all the information about it. If the format (partition ID) is not 0xAF (HFS or Mac OS Extended), you’ll have problems. If you close the disk utility and open up the terminal from the utitlities menu, you can change the id using fdisk, as explained above (go back to the section about using fdisk for an explanation.) Click on the tab labled ‘erase’ to format the disk. I recommend setting the volume format to “Mac OS Extended (Journaled). But you can use what you like. Click erase to format the drive. Once the drive is format close Disk Utility and contine the install.

Customize Install:

At one point in the install there will be a Customize option on the bottom left corner. DONT MISS THIS. If you miss this you will have an hour long install process. Customize the install by removing the languages and print drivers you do not need. If you DVD has patches on it, you might find them in here to. Install only the ones you need.

Contine with the install

Don’t believe the time remaining, it lies. It will take some time to finish the install. Go find something to do. Like take a 10 mile walk. Watch a movie. When it is done installing the computer will automaticly reboot.
The first boot:

This is where alot of problems happen. Even though the install went well, you 1st boot might not go well. You could get stuck at the grey apple screen for ever, or OSX wont see your mouse and keyboard, or you might be stuck in an reboot cycle. If it can’t see your keyboard and mouse, this is where the USB keyboard and mouse come in. Plug them in and OSX should see they ok. If you don’t have the USB see the section at the bottom about PS2 kext. If you have the other problems try the F8 trick and put in -v to see what is going on.

You should be in OSX after the initial register screen. But a few things might not be working, such as ethernet and sound. There might be a way to fix these depending on what you have.

Mouse not working, and other PS2 problems:

You need PS2 support for these to work. If you’re lucky these would have already been installed by the DVD, but probably not correctly if they aren’t working. If not, you have to find them. Look for ApplePS2Controller.kext on the internet. To fix them so they work, boot in safe mode by using F8 then -x -s, to get into Safe Mode. Now you need to remount your drive in read/write mode. The quickest is to just type

mount /

Next you need to fix the permissions on the extention. You can do this as follows.

cd /System/Library/Extensions
chmod -R 755 ApplePS2*

If you installed other extentions do the same for them, such as:

chmod -R 755 AppleAC97Audio.kext

You then need to remove the Extentions cache files:

rm /System/Library/Extentions/Extensions.kextcache
rm /System/Library/Extentions/Extensions.mkext

You can now reboot the system and your mouse, sound, or what ever should be working now.

Fixing the Network:

So you have what you think is a supported card, but it’s not working? Well it probably is supported, but OSX doesn’t know that. The following was derived from osx86project. You need to find the PnP device ID for your card. To do that boot into windows and open up the Device Manager. Find your Network card, open up the properties on it. Click on the Details tab. You should have “Device Instance Id” selected in the drop down. What you will see is something like PCI\VEN_12AB&DEV_12EF&SUBSYS… Now what you need is the numbers/letters following VEN and DEV. These are your vender and device ID numbers. You need to join them with the Device ID first. So in this example you would get 0x12EF12AB. Write this number down, as you’ll need it.

Boot up OSX and open up a terminal window. Type

sudo bash
cd /System/Library/Exensions/IONetworkingFamily.kext/Contents/PlugIns/
ls

Here you should see a list of apple supported cards. If you are luckly one simular to your hardware will be listed in here. The AppleIntel9245XEthernet.kext is for Gigabit internet cards, the other works on Intel Pro 100/VE cards. cd into the kext that you will use then into the Context subfolder. Open up the Info.plist file with the following command.
nano Info.plist

Now this is where it will differ depending on what version of OSX you are installing. If you are using 10.4.5, scroll down untill you find IOPCIMatch. If you look right below it you will see with a list of number in the format of 0xABCD1234. Other versions of OSX will have these numbers after were it says Device Name. These are a list of PnP device id, as you probably guessed. If you can’t find the above sections, scroll through the file until you can find a list of 8 digit numbers. Remeber that number you wrote down a little bit ago? Add it to the list. Each ID should be seperated by a space. Next remove your Extentions cache files.

rm /System/Library/Extentions/Extensions.kextcache
rm /System/Library/Extentions/Extensions.mkext

Reboot and your card should work now. If it doesn’t then you added your PnP id to the wrong kext. Undo what you did and try it with a different kext.Sound you say:

Getting sound to work is a little more involved then ethernet. Depending on what sound card you have there are many methods (to the madness) to get it to work. I had a RealTek ALC861. The thing about this card is that it uses an intel bus/hub. So I have to enter the ID’s for the card and the hub.First off you’ll need the right kext for your audio card. Mine happened to be the AppleAzaliaAudio.kext. Different cards might work with the AppleAC97Sound.kext (or something simular). What’s that you say? You don’t have these kext? You’ll have to google the internet for them then. I have heard there are torrents out there with these kext files, but havent ever looked or seen them.
Anyway, to get the RealTek card to work I followed the walk through found on here:

http://forum.osx86project.org/index.php?showtopic=1474&st=40

I had to do a little more mucking around because I had an ICH-7 intel bus insead of a 6. Where you have to edit this file:

/System/Library/Extensions/AppleAzaliaAudio.kext/Contents/PlugIns/AppleAzaliaController.kext/Contents/Info.plist

I put in a bunch of ID’s hopeing one would work. You find the section for the ICH-6 bus (yes i know its not ICH-7) and add your pnp ID in there right after IOPCIPrimaryMatch.

Now the bigest question I had when doing this was how to find my bus id. In windows I opened up device manager and wrote down ALL the id’s for the ICH-7 bus. Under ‘System devices’ in device manager, you see a buch of Intel® devices with a 4 digit number after then.. such as 244E or something. Somewhere in the list of Intel devices you’ll see one like UAA Audio something. This would be one you are looking for. Get the Dev ID for it (either by reading the 4 digit number next to it, or properties -> Details). Mine was 27DA for the UAA device. I also wrote down the ID for the PCI controller (27B9)..

I used these numbers to enter in for the IOPCIPrimaryMatch in the AppleAzaliaController.kext. ie i added 0x27DA8086 and 0x27b98086 onto the list. Removed my extentions cache files and rebooted.

My audio worked after this. I’m not sure which of the 2 above numbers i actauly needed but i figgured put both in and see if it worked. and it did.

VMware stuff:
If you are going to try to install in VMware, you will need a Virtual CD driver, as the built in ISO support in VMWare will not correctly read mac ISO’s. You also need to add paevm=”true” onto the end of the vmware machine configureation file. This enables PAE support. Your host CPU has to have this too. I’m not sure what VMware does if the hose CPU does have support.

Wait, whats the smell?

July 22nd, 2006

We went to the beach yesterday.  Not much in it self, but the trip back was a little interesting.

When we got to the beach, I was the last one out of the car, so I had to lock the doors.  Funny thing was the doors locked but the alarm never beeped to say it was set.  This seemed a little strange, but I figgured maybe I just didn’t here it because I was far away.

On the way home from the beach, I heard this clicking noise.  It sounded alot like one of the blinkers were on, or maybe a rock stuck in the tire.  We checked everything we could and it didn’t go away.  So we pulled over to see if we could find it.  Thats when my sister said “Wait, whats the smell?”  It seems something started smoking under the steering wheel and was giving off a burt plastic smell.  There is nothing quite like being in a car that is on, and seeing smoke pour out of it.   We traced the smoke down to a little box, that we assume is the car alarm.  Pulled all the wires from it and set it aside.  It seems that box has been having some trouble for a while now, and just happened to kick the bucket while we were in the car.  Good thing we were there to stop it, or we would have one less car today.