Wednesday, September 2, 2009

Cisco ASDM is broken in Snow Leopard

See link: http://discussions.apple.com/thread.jspa?messageID=10091457&tstart=0
No known solution yet...

Wednesday, June 24, 2009

building a triple boot Dell Mini 10v

The goal: to put OSX on a Dell Mini 10v. But why stop there? I decided to make it a triple boot.
After much installing and reinstalling, here are some tips that helped me along the way.

First off, if all you want is OSX, follow this guide:
http://dellefi.mechdrew.com/guide/method1.shtml
It's pretty straightforward, but follow everything to the letter. For example, if you decide to call your disk "Fred" instead of "OSXMINI9" the install will fail.

Now, if you want to do two or more different OSs, you need to know:
a) Don't partition the drive as GUID, partition as MBR. You can make a gparted boot disk to do this, but if you've got the modified OSX installer, that will be just fine.
b) To install OSX on a MBR partitioned disk, you need to modify the installer. See this:
http://dellefi.mechdrew.com/guide/advanced3.shtml

Quirks I had to work around:
a) Installing Linux and Windows7 were trivial. The main problem I had was with OSX.
At various times, it would boot and then panic, sometimes in plain text mode, sometimes with the equivalent of the BSOD. To fix that, I found I had to boot from the OSX Installer USB key, open up a terminal, and issue this command:
rm -rf /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/

b) After Windows7 was installed, the system would only boot into Windows. I booted up using the USB key, booted my Ubuntu partition, and used gparted to look at the drive. The only partition marked "boot" was the Win7 partition, so I switched boot to the Ubuntu partition. After that, everything worked fine.

So, I now boot up into the Chameleon bootloader. If I want to switch from the default (OSX), I hit the - key, and it shows me a list of my OS choices.

c) You can use an external CD/DVD. I found that the Ubuntu installer kept failing, so I made a USB installer which worked fine. Could be bad media, bad drive, not sure. Stick to USB is my suggestion.

Thursday, April 30, 2009

turvy over topsy

Just blocked a new bot/crawler called Topsy. On their webpage, they pretend to be cool and tell you just exclude them with robots.txt. But this is how they crawl you:
"Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"

Does that look like a bot to you? Nah, me neither. Uncool. I blocked their IP (208.74.66.43) and will add the subnet if necessary.

Wednesday, April 29, 2009

libtool problems on ubuntu

I was trying to build sysbench on ubuntu, and hit some libtool issues. I saw these on several versions of Ubuntu (8.04.2 and 9.04) so clearly it couldn't be a strict ubuntu issue.

The symptom:
../libtool: line 838: X--tag=CC: command not found
../libtool: line 871: libtool: ignoring unknown tag : command not found
../libtool: line 838: X--mode=link: command not found
../libtool: line 1004: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1005: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 2231: X-g: command not found
../libtool: line 2231: X-O2: command not found
../libtool: line 2400: Xsysbench: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 2412: Xsysbench: command not found
../libtool: line 2420: mkdir /.libs: No such file or directory
mkdir: cannot create directory `/.libs': Permission denied
make[2]: *** [sysbench] Error 1
make[2]: Leaving directory `/home/dan/sysbench-0.4.12/sysbench'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dan/sysbench-0.4.12/sysbench'
make: *** [all-recursive] Error 1

The solution:
libtoolize --force --copy; aclocal; autoconf; automake; make