Archives / Search ›

Some tips that would have saved me half an hour of troubleshooting tonight…

If you are trying to start Mac OS X and it hangs with a black screen instead of the happy Mac, the OS X kernel may be panicking before BootX can initialize the video settings. If you start up in Open Firmware first (command-option-o-f), then type 'mac-boot', OF will initialize video first, and you should be able to read the panic message displayed on top of the happy Mac screen.

Don't forget to unplug external devices if you're having startup problems. Mine turned out to be an external FireWire drive which needed some repair because I had unplugged it from my TiBook without unmounting it first. The panic message included IOFireWireFamily, which was an obvious clue.

In the unlikely department, there's a pretty lively discussion on the CocoaDev Wiki regarding Super Smash Brothers. I played the game (the N64 version) at Howard and Melissa's a few weeks ago; did poorly (not much of a video game person) but enjoyed playing Jigglypuff.

I had some pretty grand plans for this weekend, which were far from fulfilled, but I did get some work done and hope to finish writing tonight in order to send a useful proposal to my advisor tomorrow morning. Then my car needs servicing, and it's off to MacHack on Wednesday. I can't wait…

Making more progress with the activeRenderer implementation. The collapse/expand controls above should work if you use Mozilla, though not in Mac IE 5.1 or Windows IE 5.5 because they don't implement the DOM Level 1 method document.getElementsByName—though they claim to, they always return an empty collection. This is basic compliance with a 4-year-old spec! Sigh.

Back in April I installed SpamAssassin with Courier's maildrop. maildrop has a nice, simple filtering language. At some point, it stopped working for my parents, though, which baffled me at the time. Fixing this has been on my to-do list for weeks, and I've prodded it on several occasions, always coming up short.

Tonight I sent some test emails and found out the problem was worse than I thought: no local mail was being delivered to them. They get most of their mail via fetchmail pulling from other accounts onto the local Linux server at home (not that they know about any of this), which collects and filters the mail, making it available for IMAP and webmail access. Fetchmail-delivered messages were getting through, and the remainder of their messages were mailing list posts delivered by Mailman, so I had no reason to suspect anything was wrong.

I first narrowed down the problem to maildrop, then to the use of the 'xfilter' command. Running a message through any filter, even /bin/cat, caused maildrop to spit out the following unhelpful message:

Jun 16 00:45:41 calamity postfix/local[10907]: A7D00C0E:
to=<julia\@XXX.sabi.net>, relay=local, delay=3218, status=deferred
(temporary failure. Command output: maildrop: error writing to filter.
/usr/bin/maildrop: Unable to filter message. )

Beyond that, I was stumped. I spent over an hour trying various permissions-related things, reading through source. On a hunch, I tried another change, and it worked. The problem turned out to be that I didn't have a valid shell set for my folks: since they never logged in, what was the point? Maildrop ran into the problem when it tried to read from the pipe it established for communication with the filter process, and nothing was there. There's definitely some room for improvement here!

Still needed on calamity are a decent backup system, and a monitoring system to alert me when any of the increasing array of network services I maintain for myself and my family stops working. (I've got a long way to go before I approach what Matt Schechtman has set up though!)

After many hours of tedious adjustment, this page now uses activeRenderer 1.0b6. I've had to do a lot of adjusting, because my weblog entries don't have titles. I've tested for full functionality on Mozilla nightlies, IE 5.1.4 on Mac OS X and IE 6.0.26 on Windows 2000 (uncovering the usual hornet's nest of CSS bugs in each browser). It should still look OK with OmniWeb.

The upshot of this is that the layout is slightly different and more space-efificent, and you should be able to collapse individual days' entries now by clicking the disclosure triangles.

‹ Newer Posts  •  Older Posts ›