Thursday November 01, 2007
Bill Sommerfeld's WeblogStill Under Construction. Watch for falling objects Looking good, save for the name. Ran into a few bugs installing the Indiana prototype. 1) the installer got confused when I attempted to add the user "sommerfeld". (a 8-character username limit is a figment of useradd's imagination). I had to reboot and try again. 2) the lack of the nvidia binary driver in the distribution meant that it didn't cope with a 1920x1200 display. but otherwise it installed with a zfs root in almost no time flat from CD (system refused to boot from a USB key). It still needs a name change, though.. So, a preview of the new packaging & install technology produced by Project Indiana was just released. I'm shortly going to be installing it on a spare system in my office just to give it a shot. Unfortunately, it's being called the "OpenSolaris Developer Preview" and is being portrayed as a distinctly special binary distribution on the opensolaris home page. The name is unfortunate for a number of reasons:
I hope the folks who chose this name despite ample warning that it would cause trouble quickly reconsider. And I hope that the poor choice of name doesn't deter people from giving it a try. But the choice of names is forcing something of a constitutional crisis within opensolaris. (2007-11-01 10:29:50.0) Permalink Comments [1]When a favorite restaurant closes Valerie asks what she can do about a favorite restaurant which has lost its lease and will most likely need to move. Don't Panic. A while ago (must be over a decade ago by now), the canonical Chinese restaurant at the MIT end of Cambridge, Mary Chung's, lost its lease and was shut down for about a year before they found new space on the other side of Massachusetts Avenue. Mary's was open every day but Tuesday, though she took an annual one-week summer vacation (which was known as "the week of Tuesdays" to some of her regular patrons). The Year of Tuesdays was painful for some but they came back from it stronger than ever in a better, larger space. Recently they were even one of the five Boston-area restaurants featured in an episode of The Hungry Detective on the Food Network. There's not a heck of a lot you can do unless you've got connections in the commercial real estate arena, but there are a few things which come to mind:
Signs the DRM house of cards is collapsing. I'm happy to see Steve Jobs' open letter to the music industry where he calls for the end of DRM on downloadable music. I'm happy to say that I have on the order of 5200 tracks on my ipod, none of which were purchased from iTunes. I have a legitimate fair-use right to all of them. The vast majority were ripped from CD's I own and which I still possess. Some of the rest are podcasts (offered freely to all); some were mp3's of performances I participated in. None were downloaded from file sharing services. Steve's open letter refers to "secrets" being the key to security. General principles of cryptography say that in secure systems, the only secrets should be changeable and limited in scope. The nature of DRM is such that you'll typically end up with the same set of secrets in every device/player which needs access to the plaintext content, which is what led to the collapse of the DVD CSS scheme and its followons for HD DVD's. Time after time people learn the hard way that you can't effectively hide secrets in binary object code -- given enough time and digging it will be possible to dig any keys and algorithms out of the blob of code. (2007-02-06 18:50:18.0) Permalink if you thought lost bombs were bad, consider lost mustard gas.. In an analogy to the "Windows Genuine Advantage" program, Simon Phipps mentioned the recent discovery of explosives underneath a British airfield, and draws an analogy to anti-piracy "kill switches" embedded in software. While not directly analagous to a "kill switch", a couple years ago I heard of a somewhat more astonishing case of leftover lurking horrors: in 1993, World War I-era mustard gas shells were discovered in what is now an affluent residential neighborhood of Washington, DC in 1993. As of this summer, the cleanup was still in progress. Returning to the real target : I share Tim Bray's concerns. License enforcement by intentional denial of service has no business going into mission-critical software; we have a hard enough time coping with denial of service from unintentionally introduced "features". (2006-11-20 20:16:52.0) Permalink The End-to-end argument meets ZFS
I'm really a networking&security type at heart. Why am I excited about ZFS? This paper presents a design principle that helps guide placement of
The paper has spawned a lot of debate and more than a few followups
over the years, and interminable arguments about what counts as an end,
but overall I think it's held up pretty well. Technorati Tag: ZFS (2005-11-16 09:20:06.0) Permalink
packaging svk So, Adam, never fear..
Creative Hash Functions
Take a quick look at this macro definition. Did you spot the bug? *x^(*x+1)^(*x+2)^(*x+3)when: x[0]^x[1]^x[2]^x[3]was intended, with the result that only a small number of outbound hash buckets are ever used. Half end up in bucket 0. All hash values have two low order bits of zero, then (going upwards) zero or more 1 bits, and then all zeros until the top of the word. Distribution looks like: value: occurances 0 2147483648 4 1073741824 c 536870912 1c 268435456... 1ffffffc 16 3ffffffc 8 7ffffffc 4 fffffffc 4 needless to say, this distribution is awful, with only 31 unique
hash values, and with 50% of entries in one bucket, and with 99% of
hits in only 7 buckets. Discovered this shortly before 10:30 this morning; filed bug 6338289; tested fix on x86
and sparc, code reviewed, and integrated into the development sources
by 5:50pm this afternoon. UPDATE: In response to a comment: Yes, inline functions would be
better here, but the compiler version we used during solaris 9
development didn't support them in C. If we're going
to revisit this code, a more likely mini-project here is to find all
the various places within IP where we compute hash functions based on a
protocol address, find the best one, and make that a common one used by
all the address-based hash functions, possibly tossing in a key or
equivalent as a defense against hash-bucket-clogging attacks.
And something resembling a root cause analysis. The Prius saga continues. Toyota sent the NHTSA a complete reply on August 26th. "Under
certain circumstances, the engine ECM incorrectly determines that the
gas engine is experiencing a failure to start when the engine intake
air volume is lower than the ECM's programming criteria. In this
condition, the gasoline engine will not start (because the ECM believes
it cannot) and the vehicle will go into a fail-safe mode of
electric-only operation. In conjunction with the ECM
misjudgement, the warning lights ... will be illuminated when this
occurs."
and there are two relevant fixes. The first one was released as part of "Special Service Campaign 40A" in October 2003:"Due
to a programming error, if the vehicle is restarted in the "fail-safe"
mode, a secondary condition may occur where the vehicle transmission
may not operate smoothly."
"Toyota
discovered a software error within the engine intake air volume
criteria ... Toyota developed a revised software version and introduced
this software along with reprogramming methodology in a TSB in the
middle of October 2004"
What's perhaps a bit strange is that the first bug and a third
unrelated (and seemingly trivial) defect were the subject of two
different "special service campaigns" where they actively asjed
customers to bring in their cars for a firmware upgrade, but the
seemingly more critical bug (the apparent proximate cause of the
stalls) is only subject to a TSB, which appears to be a "fix it if the
customer complains" reactive patch. If I buy a Prius I guess I'll
feel obligated to check for TSB's on a regular basis...(2005-09-29 15:12:04.0) Permalink Comments [2]
How not to sell me a firmware-driven product...
Well, start off your sales pitch by describing how easy it is to reboot
the product, and by talking about how I can avoid trips to the repair
shop by rebooting it.
How to destroy a brand: Saturn is dead. As far as I'm concerned, GM's Saturn line is dead.
Symphony and Release Numbering So, there I was last Sunday in rehearsal, minding my own business in
the middle of the trombone section, and I look up and I see sheet music
entitled "Symphony in E Minor (No. 5 Opus 95) / From the New
World". But wait, isn't the "New World" Dvořák's 9th
Symphony? Err, well, yes it is, at least in all the concert
programs and liner notes I've ever seen.... the musicologists and
the sheet music publishers seem to disagree..
On the conversion of working systems into warm bricks... Operating systems development communities wind up inventing and using a
fair bit of slang. The existing Solaris development community
within Sun tends to use one particular metaphor a fair bit: the brick. That's
what you get when you take your test machine, add your latest test
bits, and, well, something goes wrong in a big way and your system
(whether a low end PC or high end multiprocessor) winds up having all
of the capability of a Warm Brick, at least until you get a chance to reinstall it.
Old News (encryption without integrity protection may not yield confidentiality) As one of Sun's IPsec developers, I've been getting queries regarding a recent advisory from a UK agency regarding common mistakes made when configuring IPsec-based VPN tunnels. This advisory has gotten some press coverage, but isn't really news. A recent discussion on the main IETF
mailing list surrounded the visibility of dependencies among
not-yet-published documents in the RFC Editor's queue.
I did a quick hack job with awk and graphviz to plot the dependency
graph, posted it, and got a response from Bill Fenner indicating that
he'd been there, done that, and had clearly gotten the tool to sing and dance at his whim.
|
Calendar
RSS Feeds
All /General /IETF /IPsec /Music /OpenSolaris /Solaris SearchLinks
Navigation |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||