Friday September 19, 2008
Bill Sommerfeld's WeblogStill Under Construction. Watch for falling objects Knowing when a crash dump is complete If you're doing kernel development on solaris, every so often you'll crash a machine. It will save a crash dump to the dump device and then on reboot, the dumpadm service (svc:/system/dumpadm:default) will invoke savecore to copy from the dump device to the filesystem.
Since SMF goes out of its way to let services start in parallel, and dumpadm is one of those services, it might not be done by the time you log in to start investigating the crime scene. It's annoying to have to periodically poll to see if it's done (sometimes it takes a while) so you can do something like: cd /var/crash/$(hostname); svcadm -v enable -s dumpadm; mdb -k N and then go about your business until you see an mdb prompt in that window. This relies on the the -s option to svcadm (which causes it to wait until the service is done attempting to start) as well as the fact that enabling an already-enabled service is a no-op. (2008-09-19 17:19:34.0) Permalink Comments [2]Three strikes, you're out (but it's only the first inning of a preseason game) The indiana prototype was released with the name "opensolaris developer preview". Having installed it and (briefly) attempted to get work done on it, I'm even more convinced the name was vastly premature. opensolaris. nope. it's the prototype output of a small implementation team and hasn't been through the rigor and wringer of the development process. It's a fascinating and impressive start, but.. it's not opensolaris yet, and I'm skeptical of some of the design choices (admittedly, I always am..) developer. I'm a developer so it should be for me to use? I installed it. I tried to run bugster to file a bug. Nope, no java. Tried to build some simple C programs. Nope, No C compiler, no make. Tried to add the binary nvidia driver so the display didn't look crappy -- got that working but it was an adventure -- pkgadd(1m) is busted so I had to pkgadd -R on a different system, rsync the bits over, and re-run the package's postinstall script a few times before it "took". If you want to play with the new packaging system, make sure you have another system running SXCE handy to actually do builds. And if you see something unexpected, please file bugs early and often. If you actually want to get work done, you're better off with SXDE/SXCE until further notice. preview. When I hear "preview" I think "movie sneak preview" .. getting a look at the almost-final production before they come out. SXCE & SXDE are previews. The Indiana prototype is like the raw footage viewed by the production team the day after it's shot before the bloopers have been edited out. Tim Foster's critique misses the point of the engineering objections. Attaching this name to a pre-alpha snapshot demo which is simply not even close to done is a mistake. It might make sense when Indiana is a little better baked, but IMHO, the current name attached to the current bits hurts the "brand". IMHO the name should have been held in reserve until it was ready for community endorsement.
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]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..
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.
The N-brain rule
Glenn Brunette's post on the Two Man Rule reminded me of a topic I've been meaning to write about for a while.
Brain #1 is the engineer responsible for the change. Brain #2 is the code reviewer. Brain #3 is the "RTI" (Request to Integrate) approver. In short, unless you can convince two (or more) other people that your change makes sense, is worth making, and is fully baked, it has no business being in a general purpose system like Solaris. Changes with more significant impact require other levels of review.. more on that later. UPDATE: to clarify based on a question I got out of band: in the reduced case shown above, none of the people in the review process are managers. (2005-04-20 16:20:30.0) Permalink Comments [0]
And it's already starting to pay off The RFE
I integrated a week & change ago has already started paying off: it
just caught an upgrade script bug in a project that hasn't even
integrated into solaris...
Another production use of the infamous circularity detector..
Bryan asks: |
Calendar
RSS Feeds
All /General /IETF /IPsec /Music /OpenSolaris /Solaris SearchLinks
Navigation |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||