Wednesday, April 12, 2006

Recovering space on a sparseimage file

If you’re like me and use sparseimage files for backing up your hard drive, you’ll notice that the disk can expand and shrink. But the cost is that, while the content on the image shrinks, the sparseimage file itself doesn’t, and you’re left with an ever-expanding image file.

The solution is to use hdiutil compact in the Terminal to reclaim the empty space:

localuser$ hdiutil compact /Volumes/HardDiskName/DiskFileName.sparseimage

Better yet, set up a script that runs as a cron job to do this automatically for you periodically!

Thursday, April 06, 2006

Windows on an Intel Mac? It's here!

I never thought I’d see the day Apple first adopted Intel as its processor supplier, and I definitely didn’t see Apple opening up to let the Mac boot/run Windows. But that’s finally happened.

This should allow Apple to eventually control more of the home computer/notebook market share and compete heavily with other PC manufacturers, such as Dell. It also makes Intel and Microsoft happy! Bottom line is that Apple, MS, and Intel will all go on growing and cooperating to a certain extent, which is great for the computer user (and especially the Mac user).

More can be found here. Apple apparently will support dual booting, but 3rd party developers will have to save the day to allow simultaneous operation of both systems with a small performance hit. Either way this will solve many compatibility problems that plague Mac users, and this could even grow interest in Apple’s OS, as more PC users will be drawn to the Mac now.

Good business move Apple! And to think of the numerous reports of Apple’s demise over the years (check out Mac Observer’s Apple Death Knell Counter).

10.4.6 Update Problem and Fix

When I applied the 10.4.6 Combo updater for Tiger I couldn’t boot up again. The first symptom something was wrong was when I hit the restart button after installation; the thing hung up so I had to do a hard reboot. Afterwards, it would hang once the progress bar of the “Welcome to Macintosh” dialog went all the way across, or in other cases the desktop and cursor would appear and nothing else (no menu bar, dock, etc.).

Running the Applejack suite did nothing to fix the issue (in single-user mode), and I couldn’t boot up in safe mode. Reinstalling the update from another partition didn’t work either.

So while booted in the other partition, I deleted the cache files. The next reboot was fine, and it has been fine since.

Wednesday, March 29, 2006

The Mysterious Library Alias

Many of you in Tiger may have noticed the problem discussed here.

Specifically, a new generic file alias shows up in under Network in the Finder. Apparently it has something to do with NFS. A user on the above forum wrote:

The network Library contains items that are available to all users on your network. It has been around since at least 10.1. You would only use this folder if you part of a network being managed with OS X Server.

From Mac OS X Server Administrator’s Guide:

"Adding System Resources to the Network Library Folder

This Library folder in the Network globe is included in the system search path. This gives you the ability to make available, from the network, any type of system resource that resides in the local Library folder. These resources could include fonts, application preferences, ColorSync profiles, desktop pictures, and so forth. Mac OS X accesses the network Library folder before the local Library folder, so network resources with the same name take precedence. You can use this capability to customize your managed client environment."

So just ignore it. It represents network services that aren't available to you.

Anyway, the important point is how to fix it from another user:

>>>When I click on the Network icon in the Sidebar the window shows "Servers" and an alias called Library. If I click on it the system tells me the alias is broken. I don't know what this file is for.

I deleted the file but I had to log in as root to do it. After that I could login to and user on my Mac and the file was gone. After I did a restart it came back again. Anybody know what this file is?<<<

To prevent it from comming back, edit "/System/Library/StartupItems/NFS/NFS" and place a # in front of the line:

ln -s /automount/Library /Network/Library

As shown below....

nfsd ${arguments}
fi
##
# Start the automounter
##
if [ "${AUTOMOUNT:=-YES-}" = "-YES-" ]; then
automount -m /Network -nsl -mnt ${AUTOMOUNTDIR}
# ln -s /automount/Library /Network/Library
automount -m /automount/Servers -fstab -mnt /private/Network/Servers -m /automount/static -static -mnt
${AUTOMOUNTDIR}
ln -s /automount/Servers /Network/Servers
#
# Hint that the name /Network should be localized:
#
ln -s . /Network/.localized
fi
#
# Leave a mark upon completion of the automounter startup:

Saturday, March 18, 2006

Sharing iTunes and iPhoto on One Machine

This must be one of the biggest pains in the world. I don’t know why Apple doesn’t address this better.

Sharing a single iTunes (or iPhoto) Library is very tough, because of separate user accounts and permissions issues. If you do a search on Google, there are about 8-gajillion methods for achieving this; most of them are too hard and many of them don’t work. The one I had previously used under Panther required setting up a new group with NetInfo Manager.

Even Apple’s current support document on the issue isn’t 100% right. However, (as usual) digging through the discussion board (where Apple plays no official part) I was able to find a key omission in Apple’s version. The original can be found here, but I’ve summarized it below:

Holding down the command key & select the iTunes Music folder and drag it to a shared folder along with a copy of the iTunes Library file from your iTunes folder... leave the original Library file where it is... set your iTunes pref. > advanced tab Location is Shared folder.

Set correct permissions on the Shared folder ...

To set preferences using BatChmod is very easy... This compact GUI will perform the same tasks as a 'command line in Terminal ' drag the complete Shared folder with libraries and iTunes Music folder inside to the BatChmod Icon and drop.... check path is correct.... tick if not already.... Owner=R W , Group=R W, Others=R W, then tick 'Apply ownership and priviledges'... 'Unlock' & click Apply... provide password... all done very quick...

The next time you login to the other A/C replace the iTunes Library file in the iTunes folder with the copy in the Shared folder and check the name is iTunes Library without 'copy' added.... start iTunes and set the pref. the same as above.... if you make major changes to library you can swap the library file to the other user A/C the same way.

This didn’t work for my situation, because I want to share our ENTIRE library among users, including playlists and so on. So I eventually pieced together advice from various different sources such as these:

Symbolic links Sharing iTunes and iPhoto Libraries with entire family Using ACL under Tiger (I did not go this route)

A probable avenue for doing this pain free was seen here, but the developer has no demo version available (this software was once donationware). Sounds nice but I won’t pay even $5 for something if I don’t know it will work. And there’s a shareware app called Sandbox that might work as well for doing ACL, but I didn’t try it.

Here’s what I did (basically):

  1. Moved /User/Music/iTunes/ directory to /Users/Shared/
  2. Changed permissions to allow RWE for all users in that folder
  3. Made a symbolic link to the library in each user’s /Music/ folder pointing to the shared folder; note: Path Finder makes doing the above tasks easier
  4. Repeated steps 1-3 for iPhoto library as well

It’s working as of now, but we’ll see if I run into any ‘gotchas’. I created a test playlist from one user’s account and then deleted it from another account, so it seems to be working. I can play music from either account. iPhoto is working as well.

Saturday, March 11, 2006

Current system.log error messages

What follows are recurring error messages I’m seeing in the system.log, though my current 10.4.5 system seems to be running fine. I’m hoping to address each of these issues over time.

Here are some issues I’m seeing at shutdown:

Mar 10 21:38:28 Studio-Mac-G4 loginwindow[84]: sendQuitEventToApp (LAServer): AESendMessage returned error -609
Mar 10 21:38:31 Studio-Mac-G4 SystemStarter[2988]: authentication service (3008) did not complete successfully
Mar 10 21:38:31 Studio-Mac-G4 kernel[0]: at_obdev_KUC: sf_attach denied! already terminatingat_obdev_KUC
Mar 10 21:38:33 Studio-Mac-G4 SystemStarter[2988]: The following StartupItems failed to properly start:
Mar 10 21:38:33 Studio-Mac-G4 SystemStarter[2988]: /System/Library/StartupItems/AuthServer

Here are some issues I’m seeing at startup:

Mar 11 06:00:43 localhost kernel[0]: WARNING: ATA Drive claims FLUSH CACHE EXT feature support but does not claim Extended LBA feature support
Mar 11 06:00:44 localhost 152109056: cupsd's bootstrap server port not found

Friday, March 10, 2006

Motorola v265 and iSync - Apple Typo

Here’s the fix for the issue where iSync stopped recognizing my Motorola v265 upon upgrade to Tiger.

Locate the following file by right-clicking the iSync application and choosing “Show Package Contents” (only do this if you are moderately technically savvy):

/Contents/PlugIns/ApplePhoneConduit.syncdevice/Contents/
PlugIns/ PhoneModelsSync.phoneplugin/
Contents/Resources/MetaClasses.plist

Open the file using a .plist editor, BBEdit, or some other text editor you are familiar with. Once you have the file open, locate the following Identification key entry:

<string>Motorola CE, Copyright 2000+Motorola V265 Phone</string>

Change the entry simply by adding “m” to “V265”:

<string>Motorola CE, Copyright 2000+Motorola V265m Phone</string>

Save and close. You should now be able to add the device in iSync. Obviously, someone made a simple typo at Apple that needs to be addressed so that it will recognize the phone as it’s supposed to do. More thorough background on how I found this fix can be seen here.

Wednesday, March 08, 2006

Motorola v265 and Tiger 10.4.5 - no workee

Okay, so I solved one problem in my upgrade to Tiger only to face a new problem:

iSync no longer recognizes my Motorola v265 cell phone (yes, it’s supported via USB). Apparently, according to macfixit.com, I have to do some major hacking using Xcode Tools’ USB Prober and a text editor to get iSync to work again the way it did with Panther. My phone is being seen by Tiger (as per the System Profiler), so it’s definitely a software issue.

Does anyone besides me think this is a problem? I shouldn’t have to hack an Apple product just to get it to work the way it’s supposed to work according to Apple.

This is the kind of stuff that pisses me off as a loyal Apple user since 1986.

Acard 6280M and Tiger = BOOM!

I have solved my hanging gray Apple screen of death issue referenced earlier many times on this blog (most recently here - follow the trail yourself back to Jan 9, 2006 when I tried to upgrade from Panther to Tiger 10.4.4 on my relatively old, but heavily upgraded, G4 AGP.

In my last post, I had discovered on the Apple discussion boards information about the Acard PCI Adapter interfering with versions of Tiger after 10.4.2. I figured this was likely my problem as well, as I have that very PCI card and was attempting to boot Tiger off of a drive connected to that Acard adapter.

It so happened that I had a fairly large 120 GB drive still attached to the main ATA bus on the system, so I duplicated my Tiger partition over to that drive. I’ve been cruising along fine since in Tiger 10.4.5. I also emailed Acard the following regarding this issue:

Dear Acard,

I have recently upgraded from Panther to Tiger (10.4.5) and may be having issues with my Acard 6280M. I have loaded the most recent drivers, but the problem still remains.

If I do any system maintenance (cache deletion) or add any new kernel extension, I will get stuck at the Apple gray startup screen. I have to do a safe-boot and then delete the following folder to be able to boot again:

/System/Library/Cache/com.apple.kernelcache/

I perused the file inside that directory and found a line referencing the 6280M. Are there any issues with the current driver and Tiger 10.4.5?

Thank you...

Shane Hendricks

Acard hasn’t yet responded and they may never respond; the current broken driver is version 1.5.7. This driver should work fine with 10.4.2 and below. They did answer some folks on the Apple discussion regarding this topic, which you can read for yourself. They basically passed the buck to Apple, which is bogus. It’s Acard’s responsibility (as a peripheral maker) to support Apple, not the other way around damn it. In another answer, they recommended doing a complete new reinstall and AVOIDING MIGRATING OR UPGRADING from Panther, which is crap for those of us with a nice running Panther system.

Anyway, this problem is solved for me, and my system seems to be running much better under Tiger. Good luck to others with this problem.

Sunday, March 05, 2006

More on SystemStarter and gray Apple screen

The plot thickens. Reference, of course, my previous posts on this subject here.

I had narrowed the culprit down specifically to /System/Library/Caches/, which seems to somehow become corrupt after some major system maintenance or modification (i.e., install of a new kernel extension or cache clean up) on my old G4 AGP (Sawtooth).

Some others on the Apple forums had suggested it could possibly be due to my Acard 6280M IDE PCI adapter, which I MAY have ruled out by updating to the latest driver (version 1.5.7.); I’m not 100% sure. I did have some troubles updating to the new Acard driver, but I eventually got it working as well as the previous version of the Acard driver I was using.

However, after reinstalling (once again) Tiger 10.4.5 from the backup I had made and migrating (again, avoiding the root files and folders--which I no longer believe is related to the problem), I installed Applejack and proceeded to clean all the caches in single-user mode to test for problem reproducibility. The system rebooted fine after the Applejack session, but I immediately rebooted again from the Finder and experienced the hang at the gray Apple screen.

Since I had narrowed the problem to /System/Library/Caches/, I decided to go through the contents systematically to find the culprit file or folder. As Murphy’s Law would have it, the very last folder I deleted (after many reboots, gray screens, and safe boots to delete files) was this folder:

/System/Library/Caches/com.apple.kernelcaches/

After deleting this folder, the system booted normally, so I may need to delete this folder after every kernel extension install or system maintenance that involves cache cleaning.

What fun! This obviously MUST be related to my hardware setup in some way, but I don’t know which part for the life of me (maybe it is the Acard, but I can’t understand why). I do have these system.log messages (the first of which I always had in Panther but never had any real issues booting):

Mar 5 09:51:04 localhost kernel[0]: WARNING: ATA Drive claims FLUSH CACHE EXT feature support but does not claim Extended LBA feature support

The above message obviously directly involved the Acard adapter.

Mar 5 09:51:04 localhost kernel[0]: Extension "com.apple.driver.PioneerSuperDrive" has no kernel dependency

The next message listed above is a new one for me. No clue...

So there’s obviously some issue with hardware, because my Mac Mini doesn’t behave this way on Tiger (and obviously for most of the Apple world). My old AGP has been so heavily upgraded that it may no longer be capable of running newer OSs (likely issues with either the Acard or my Giga Designs Dual Processor upgrade card).

Anyway, at least I’ve narrowed it down some to a kernel issue with some part of the hardware.

Friday, March 03, 2006

SystemStarter woes continue...

Nope...problem not gone.

Reference my previous posts here and here about this issue I’ve faced upgrading my old G4 AGP to Tiger and getting the weird, unpredictable, hanging gray-Apple-screen-of-frozen-death, which I’ve traced to SystemStarter in the console.

I’ve narrowed the culprit files down to something in the /System/Library/Cache/, as today I decided to delete recommended items stepwise in Safe Boot until I could boot normally again.

First, I tried deleting a few things in /Library/Cache that I thought might be the culprit, going simply by the date of modification/crreation (i.e., today). No help. So then I tried getting rid of Extensions.kextcache alone, but I still faced the screen-of-death.

So finally, I just deleted the entire contents of /System/Library/Cache, and this seems to be the cause (or something in here).

As far as what’s causing this: I’m not sure. I had a crash shortly before this happened and I ran Applejack. Reboot was fine, but a subsequent test restart was not.

BTW, here’s a great site for troubleshooting startup: http://www.thexlab.com/faqs/startupitems.html

Searching the Apple Discussion boards led me to this thread, which might be related to my problems (i.e. the Acard 6280M IDE PCI controller).

To be continued I’m sure...?

Thursday, March 02, 2006

Stuck at the gray apple screen in Tiger

This is a problem I was having (see previous post) after upgrading to 10.4.3. Well, I’m finally up and running 10.4.5 and seem to have eliminated the issue (so far). I’d like to describe my solution for others having the problem (see my original post for background info).

I believe the problem has to do with using the Migration Assistant--specifically, the option to move over Files and Folders at the root level, so I recommend leaving this option unchecked during your migration. As a matter of fact, leave anything you can absolutely do without unselected to minimize the chance of corrupting your new system during migration.

My solution:

The first thing I did was install and upgrade completely (from 10.4.2. to 10.4.5. using the Combo installer and the Software Update panel to get it all up to speed). Then, after repairing permissions, I manually installed every kernel extension I could think of (i.e., xxx.kext) that I thought I would use; this way, no extensions would be installed via the migration from Panther to Tiger. After getting to this point (with a system that would restart fine every time), I made a backup using SuperDuper just in case I had to go back to square one.

Finally, I proceeded to use Migration Assistant, but I did not migrate root-level files and folders, and I also didn’t migrate my network settings. Everything else migrated fine, and I’ve noticed no major differences so far (except that Tiger is much snappier on my system than Panther was). So far, the dreaded, sneaky gray-Apple-screen-of-death issue has been averted. I don’t know why or exactly how, but for those of you having this problem, you should attempt this fix in the Migration Assistant. Better yet, don’t use it all and start over from the beginning (manually copying over stuff you need).

Again, my issue is different from some others in that I was migrating on the same computer...on old, heavily-upgraded G4 AGP Mac. All seems great right now...

Friday, January 20, 2006

Sometimes, the Computer Name Screensaver "poofs" into a folder...

This is an odd issue that I had seen before, but it just happened to me again. I can’t remember what fix I found the first time, but this worked now:

http://www.macosxhints.com/article.php?story=20051106220246962

Bottom line...go through System Preferences app when changing screensavers to see this particular screensaver normally.

Netbarrier X4 (10.4) firstlook

This isn’t working well for me in Panther (10.3.9) at the moment. I keep getting:

“Waiting for OS X initialization”...or something along those lines.

Then followed two successive kernel panics on startup, and each time I had to do a disk repair using Diskwarrior. Oh well...

So, I went back to X3 for the time being while Intego sort out the bugs.

Sunday, January 15, 2006

iTunes 6.0.2. goes clandestinely adware with MiniStore

Okay, there’s a lot of hoopla out there about iTunes 6.0.2 software having the new “MiniStore feature,” which, if open, will send info to Apple about what songs you click or listen to in your library and then present songs in the MiniStore pane similar to those songs clicked or listened to in your library.

First of all, you can disable this feature easily by clicking the button below the Mini-Store pane or select Edit > Show MiniStore (↑-⌘-M) to turn it off. No data are sent out once it’s disabled. Remind others who use your computer and have their own accounts to also disable this feature, because it will open for them as well; I’m sure Apple is counting on someone in the household not knowing how to turn the crap off.

The problem with this mess is that Apple doesn’t explicitly state anywhere they’re going to monitor your habits; they’re not forthcoming with information on turning it off; and they have it set to activate automatically when you first open iTunes after upgrading, which means until you figure out what the hell is happening you’re being watched. Regardless of whether you’re staunchly defending Apple (like many of the zealots over at the Apple Discussion boards), Apple has been less than honest by sneaking in this “new feature.”

I’m really not too concerned if Apple knows what I’m listening to (as I’m a faithful customer who has bought many tunes on iTMS--and I own 3 Macs, an Airport Express, and an iPod), but they’re also sending data to some 3rd party company called Omniture, Inc. Apple unofficially has claimed to dispose of data instantly (info used to target the advertisements to you in iTunes), but what does Omniture have to do with it? Why are they also getting the data? Are they also instantly disposing of the data? Something in me says NO!

Others on the net have found that your Apple ID is also sent with this data if you’re logged in, and though Apple may not store any data sent, there are some cookies and other info stored on YOUR computer. So in this regard, it is arguably spyware and at the very least adware. So users be-WARE!

Other reads on the subject:

http://since1968.com/article/154/itunes-update-update

http://www.boingboing.net/2006/01/11/itunes_update_spies_.html

http://www.plasticbag.org/archives/2006/01/cynicism_and_stupidity

http://www.rc3.org/2006/01/spytunes.php

Saturday, January 14, 2006

Belkin's iTrip - Broken?

iTrip is an attachment for iPods that allows transmitting your iPod’s audio output to an FM receiver.

At first, I thought my iTrip was broken, but I realized I had only forgotten how to set it to a certain frequency. One must play the particular frequency file on the iPod (with iTrip attached of course) until the iTrip begins to flash. Once it flashes, hit pause. Then it’s set and ready to go.

It’s still not perfect. It’s best to use it with another power source in your vehicle, as it will drain the iPod battery in no time. And on days when FM propagation is active, you may have to change to other frequencies. Remember, the quality is going to be no better than FM radio stereo reception, which isn’t all that bad really. If you’re a big audiophile, go with a wired connection option for your vehicle.

Wednesday, January 11, 2006

My Gear

It’s nice to talk about what comprises your Apple setup. Here’s what I have:

Hardware Overview (G4 AGP):

Machine Model: Power Mac G4 (AGP graphics) CPU Type: PowerPC G4 (3.3) Number Of CPUs: 2 CPU Speed: 1.2 GHz L2 Cache (per CPU): 256 KB L3 Cache (per CPU): 2 MB Memory: 1.19 GB Bus Speed: 100 MHz Boot ROM Version: 4.2.8f1

Capacity: 9.57 GB Model: QUANTUM FIREBALLP LM10.2

Capacity: 114.5 GB Model: Maxtor 6Y120P0

Capacity: 233.76 GB Manufacturer: ATA Model: Maxtor 6Y250P0

Capacity: 57.27 GB Manufacturer: ATA Model: IC35L060AVV207-0

Capacity: 4.11 GB Manufacturer: PIONEER Model: PIONEER DVD-RW DVR-107D Revision: 1.18 Drive Type: CD-RW/DVD-RW

ACARD,6280M (to allow running the huge 233 GB Maxtor): Name: ACARD,6280M Type: scsi Bus: PCI

ATY,Rage128Pro (driving a MAG Innovision monitor): Type: display Bus: AGP Slot: SLOT-A VRAM (Total): 16 MB

ATY,Rage128 (driving a ViewSonic A75s monitor): Type: display Bus: PCI Slot: SLOT-D VRAM (Total): 16 MB

That’s the studio Macintosh. Our network consists of a Netgear router and an Airport Express. The network has a Mac Mini and Powerbook Aluminum 15. Finally, a nice 3G 20GB iPod to top it off!! Other studio stuff can be seen here.

10.4.4. update is big crash-bang-boom!

I just made the mistake of loading this update via Software Update without backing up first. Let’s this be a lesson to everyone. Don’t do it! Backup, backup, backup!

Remember when I said that a Safe Boot was getting me out of trouble in 10.4.3? Well, I’m stuck at the gray Apple screen of death again, and I can’t Safe Boot or boot into Single-User mode. I can’t even do an Archive and Install...I tried and the stupid thing still doesn’t recognize the file system. All the usual troubleshooting steps were ineffective. The only real option is to blank the drive and start over, and I don’t have the time anymore. I’ve spent a week trying to get running with Tiger and it has been a waste of time.

Sticking with Panther for now, which is rock solid for me at 10.3.9! Maybe Apple with fix this crap eventually instead of breaking it.

Monday, January 09, 2006

Upgrading from Panther to Tiger 10.4.3

What a pain in the patootie! My old, trusty G4 AGP 400, which has been heavily updated and modified into a dual G4 1.2 GHz Panther beast, gave me fits when I decided to load Tiger and then update it to 10.4.3. The problem: hanging at the gray Apple screen during startup without any progress indicator (the spinning wheel). I spent the better part of three days troubleshooting this nightmare, to include two separate clean installs and migrations. I discovered lots of folks were having this issue on G4s after the 10.4.3 update around the net, but no one had any solutions (other than using another Mac in target mode to install the 10.4.3 combo updater). There had to be another way.

So, I used a safe boot (⇧ during startup) to drop into safe mode, which would work every time. Single-user mode was a no go (⌘-S); the Mac stubbornly ignored the snag. I perused the Console and kept seeing this:

Jan 9 12:37:23 Studio-Mac SystemStarter[800]: authentication service (815) did not complete successfully
Jan 9 12:37:25 Studio-Mac SystemStarter[800]: The following StartupItems failed to properly start:
Jan 9 12:37:25 Studio-Mac SystemStarter[800]:
/System/Library/StartupItems/AuthServer

After much troubleshooting, I found that I could reboot normally once if I installed something on the machine that modified the extensions. Subsequent reboots would hang, however. The log entries above may or may not have indicated the ultimate problem. I’ll have to watch the system.log to see if they go away. After digging around in the Apple forums and other places, I found a solution for my nettlesome situation.

While in safe mode, I deleted the following files (* means delete directory contents):

/Library/Caches/*
/System/Library/Caches/*
/System/Extensions.kextcache

After rebooting, the problem went away, even for subsequent reboots. I’ll monitor and see if installing new kernel extensions requires repeating the deletion sequence. So far, all is good for now.