Thursday, April 28, 2005

Appeal from a Comment Spammer

I just canned some comment spam. The only english in the comment aside
from some links to movie sites and other garbage was. "God will love you
for your not killing my words" I don't recall any specifically enumerated
love for cherishing the comment spammers.

Wednesday, April 27, 2005

A pint low

Gave blood today. Ate breakfast, then a snack then gave blood then a snack
then lunch... Then I was ravenous for dinner, and now an hour later I am
hungry again...

Tuesday, April 26, 2005

Chicken and Egg? Solaris Firewall Install

Days old entry that never got out.... I am upgrading my firewall to
Solaris 10. However the following problems exist... 1) My firewall is my
gateway 2) My firewall/gateway does not support pxe boot 3) My
firewall/gateway does not support console at boot (Anybody want to send a
V20z my way? I understand that the employee discount is good, but not so
good that I can just pick one up) 4) My Jumpstart + DHCP server want's to
use my firewall as it's gateway 5) I am way to lazy to reconfigure so that
it will all just work 4) Keeping the natives happy involves maintaining
Internet access throughout this process. 6) I can't boot disk one from my
SCSI DVD-ROM so I have to use the slower internal CD-ROM. Now the only
problem is that I misremembered the type of network cards that I had in
the system and I have no net from the box. Then after I grabbed the one
that I thought it was, because I didn't have a pen handy to write down the
vendor information from a prtconf -pv, it turns out that I have Netgear
FA310 not FA311, ah well fortunately bulk CDs are cheep. Tonight I will
find out if the tu driver from
http://homepage2.nifty.com/mrym3/taiyodo/eng/
works for me. After the
fact: Tonight was a little optomistic maybe by next week.

Monday, April 25, 2005

Fabulous Dinner

Just had a fabulous dinner. C-, went shopping today and bought, bratwurst,
asparagus and pineapple. (and a whole pile of other stuff as well) For
dinner we had grilled brats and asparagus, then for dessert we had grilled
pineapple (Do you see the trend). Nothing special about the bratwurst just
slow cooking. The asparagus was lightly brushed with olive oil and lightly
dusted with salt and pepper (to taste). The pineapple was prepared with
orange juice(didn't have any lemons), honey and pepper, then grilled on
medium heat until hot. It was all quite good, the asparagus should have
gone on a little later as it ended up a little over done. The pineapple
although good by itself went quite well with a scoop of vanilla ice cream.
The only down side is that I just showed C- the animation from my
Hitachi Perpendicular Recording now she is dancing and sort of humming (She
feels that she is currently dancing like a cross between

Bill Cosby (in the later seasons) and

Napoleon Dynamite
)

Friday, April 22, 2005

22.02 miles 15.x mph on my road bike.

Rode out to the Washington and Old Dominion Trail, then to the rt. 15
bypass, but I decided to turn around at the top instead of going down and
under just to go up the other-side a bit to turn around again. From:
just past 26.5
to
just before 33
I feel it a bit this morning, going up the stairs, I could
tell that I rode yesterday. I also feel it a little in my achilles. I need
to be a bit more through in my stretching.

Tuesday, April 19, 2005

New Battery -- Excelent Life!

For the first time in about 6-9 months my laptop has warned me about
running on reserve power! Before I replaced the battery at almost exactly
1 hour of predicted life my laptop would sleep. Now I have had about 2.75
hours of wireless operations streaming audio running at highest
performnace and constant 'find /'s to burn power. I expect my laptop to
sleep any second now, with an estimated 4 minutes of power left, but the
estimated time appears to be dropping about 1 min for every 90s or so of
operation. It's like christmas, and I have a new toy. Now I am running at
%0 power and no estimate of time just "Calculating". Damn, and there goes
the recycling collection and I didn't take it out. Saving quite often now
just in case I shutdown instead of sleep. Went to sleep at just over 3
hours, I am happy.

What I should be doing right now

Writing a papers on SLAs and B2B commerce What I was doing...sitting on a
con call. What I am doing for the next hour...writing papers on SLAs and
B2B commerce Then getting back on the phone It's good that I have three
cordless speaker phone capable handsets, I can almost use them
continuously.

New Laptop Battery

Received a new battery for my Ti Book today. So far, it is charged. I am
supposed to wait 12 hours before going off line power then run it down
until my laptop suspends. (This to try and calibrate the microprocessor in
the battery) That part isn't a problem. What concerns me is that as with
the old battery the charge went to ~75-80% and then jumped to 100%
charged. The reverse was also happening with the old battery only it was
jumping from ~35-40% to 0% Hopefully this will not be the case with the
new battery. Although 2.5 years and still over an hour of full power use
isn't too bad. We will see. If I continue to see strange behavior I will
go for a PMU reset. Then off to the genius bar if I can show the problem
with more than one battery maybe I will get somewhere without having to
let them have my laptop for testing for a minimum of three days. Repair is
one thing, but testing where I know that what they said they will do is
watch it charge and discharge a number of times is just silly.
Particularly when I can show logs of the charge discharge cycle.

Sunday, April 17, 2005

Hitachi Perpendicular Recording

This is interesting, and potentially useful to me... I need more storage
in my laptop. And I wouldn't complain if I could get 1,400 exposures on a
card... until I had to post process them, or if I toasted the physical
card at any point. Ok, 20GB on a 1" microdrive, RAID 1 in camera. This
animation is quite entertaining: Perpendicular Recording> The
technology
looks interesting.

Evil Shortcut Coding

osver = `uname -r` if [ $osver -ge "5.10" ]; then zonename =
`/usr/bin/zonename` fi Unfortunately 5.10.1 isn't a number. -x
'/usr/bin/zonename' is probably better form in any case.

dhtadm -g; jumpstart wrong version, solved

The moral of this story might just be: If it keeps failing between 23:00
and 02:00 try it during the day after you get some sleep. I need to thank
Eric Noriega, for his summary post a year ago in which he states that the
Sun DHCP server does not pick up changes to macros with out a restart. I
need to blame my apparent inability to read (see moral) on missing the
following in the man page for dhtadm.

dhtadm(1M)
After you make changes with dhtadm, you should issue a SIGHUP to the DHCP server,
causing it to read the dhcptab and pick up the changes. Do this using the -g option.
....
-g
Signal the DHCP daemon to reload the dhcptab after successful completion of the operation.

Quite obvious when you go back and look for it thinking; that is stupid,
why doesn't dhtadm tell in.dhcpd that something changed? So remember,
after you make changes to your macros and you can't figure out why nothing
appears to have changed, you forgot 'dhtadm -g'. 'svcadm restart
dhcp-server' will do it after the fact.

Friday, April 15, 2005

Jon Greaves Appointed Distinguished Engineer

Congratulations Jon 

So automated jumpstart works...sort of

So I have downloaded the latest Nevada build and added it to my jumpstart
server. However after installing I see SunOS 5.10 s10_72 Now I am not sure
exactly what I should be seeing but I know it should be SunOS 5.10.1 What
is really confusing me is that I have removed all of the other instances
b72, GA... But it still appears that I am installing b72. This makes no
sense to me. More digging.

Thursday, April 14, 2005

14.5 miles at 15.28mph

Not bad, not great, I need to keep riding.

Wednesday, April 13, 2005

Automated Jumpstart Finally!

After cleaning up some out of date macros, interpreting some errors from
JET that were actually from add_install_client and creating a new macro
specifically for the host, things appear to be going well. It is still
confusing to me that the initial boot image appears to be Solaris Express
build 72. It makes me wonder if I didn't clean something up, or if I am
otherwise confused about the state of my jumpstart server. Once this is
done I will make the tiny little laptop into a jumpstart sever, at some
point I need to rebuild my firewall/gateway to Solaris as well. I will
also be able to play with live update without worrying about destroying my
production boxes, and without having to worry about trying to get them
back up if I do something strange. It's a shame that it is late and I am
tired, it would be interesting to see if I can figure out why my root disk
is blocking so much when the jumpstart root, boot and packages are all in
a JBOD. This sounds like a job for Dtrace! I need to see about some more
hardware.

What not to do when you are streaming audio

Apparently streaming audio while connecting to a VPN might be a generally
bad idea. It seems that changing all of your routes and DNS configurations
may have a detrimental impact on the function of your system. My guess is
that if I had waited instead of screwing around it would have resolved
itself, probably in about the time it takes to timeout a DNS request.

Monday, April 11, 2005

Unpacking books

I just unpacked a fair number of boxes of books. Both in my office and
onto the bookshelves in the "library" It appears that we need more
bookshelves, I think two layers, one built in, one half layer on tracks
and a rolling ladder sounds about right. Then again, maybe not this
decade, but it is a fun thought. Currently the organizational method has
been pick up book put on shelf. That will probably need to change at some
point, but not today, maybe around the time when the books aren't two deep.

With a prompt like this...

You would think I would always know where I am... [root@>ioerror(0) 1:05
pts/4] {global} [735] [root@>apache01(0) 0:42 pts/6] {apache01}
[800]

Friday, April 8, 2005

Interesting Zone UID behavior

I am playing with zones and instead of maintaining a centralized UID list,
I am adding users as needed to each zone(As I suspect would be the normal
behavior). Not surprisingly there are differences in UIDs. As a note it is
strongly recommended that you never directly access files in other zones
from the global zone.

sort -t: -k3 -n /etc/passwd /stripe/zones/apache01/root/etc/passwd /stripe/zones/apache02/root/etc/passwd | uniq -c

3 root:x:0:0:Super-User:/:/sbin/sh
3 daemon:x:1:1::/:
3 bin:x:2:2::/usr/bin:
3 sys:x:3:3::/:
3 adm:x:4:4:Admin:/var/adm:
3 uucp:x:5:5:uucp Admin:/usr/lib/uucp:
3 nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
3 smmsp:x:25:25:SendMail Message Submission Program:/:
3 listen:x:37:4:Network Admin:/usr/net/nls: 3 gdm:x:50:50:GDM Reserved UID:/:
3 lp:x:71:8:Line Printer Admin:/usr/spool/lp:
3 webservd:x:80:80:WebServer Reserved UID:/:
1 apache2:x:100:1::/zone/local/apache2:/bin/sh
1 yak:x:100:1::/export/home/yak:/bin/zsh
1 srs:x:101:1::/export/home/srs:/bin/sh
2 mysql:x:101:1::/zone/local/mysql:/bin/sh
1 mysql:x:102:1::/home/mysql:/bin/sh
1 yak:x:102:1::/home/yak:/bin/sh
1 torrus:x:102:1::/zone/local/etc/torrus:/bin/sh
1 yak:x:103:1::/home/yak:/bin/sh
1 torrus:x:103:1::/home/torrus:/bin/sh
3 nobody:x:60001:60001:NFS Anonymous Access User:/:
3 noaccess:x:60002:60002:No Access User:/:
3 nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/:


As you can see above, starting in the 100s we have conflicting uid
assignments. The result is some confusing ps and prstat output in the
global zone which indicated in my case that mysql was running the torrus
collector process.

    ZONE     UID   PID  PPID   C    STIME TTY         TIME CMD
apache01 mysql 29869 1 0 09:48:57 ? 0:10 /usr/local/bin/perl /zone/local/torrus/bin/collector --tree=yakshaving

Total: 138 processes, 447 lwps, load averages: 0.48, 0.47, 0.41
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
11642 daemon 2096K 616K sleep 60 -20 0:05:16 13% nfsd/4
29869 mysql 16M 8404K sleep 59 0 0:00:10 2.0% collector/1
160 root 4404K 4200K cpu0 59 0 0:00:00 0.4% prstat/1

Knowing that mysql was not running the collector made this simple to
diagnose, but in a less controlled environment I think it could be quite a
bit more confusing.

Wednesday, April 6, 2005

Closely Shorn...RRDtool 1.2rc4 and Torrus

1.2rc4 installed... Lack of font in display fixed, check recompile after
compiling in non-global zon, done (Ah! that is why I didn’t have
/usr/ccs/bin in my path) drive bogus load to servers, running I have a
make clean, sh config.status, nice -n 5 make loop running for 1.2rc4 to
drive artificial load on the server, as well as a bunch of windows open
pulling down pages from torrus every five minutes. I also have a find loop
running on the little Solaris 10 laptop. Now I need to get around to
rebuilding both the laptop and my firewall to at least GA...or maybe I
will look into Nevada for one. Maybe tomorrow/today I will publish the
link to the my Torrus install to let people poke around. I should check
and see if the http collector works for apache2 first and update it it
doesn't. More yaks to shave.

Dynamic DNS...

I use dynamic dns for access to my systems at home. Unfortunately it
appears that my DHCP lease has expired. I set up a cron job to refresh my
source address daily, when I get home tonight I will have to switch to
hourly. EDIT: Because of a runaway double quote everything below this line
was hidden before. FreeDNS works quite
well and the price is right. All of these problems will go away when I am
able to get static addresses from my broadband provider. Even then I don't
know that I will stop using FreeDNS, I will just manually setup the
entries. Well, off to school... Just remember, don't slack off on your
school work to play with computers the first time around. Although if I
hadn't done that 10 years ago maybe I wouldn't be where I am today.

Note (probably harmless): No library found for -ldb-4.2

Why is it that "probably harmless" really isn't? I am compiling mod_perl 2
from the bleeding edge source. Thinking that as usual that is a lie, I
went ahead and compiled it anyway. Although I didn't see any messages
indicating that something was wrong 'make test' informed me otherwise. The
problem is that I have BerkeleyDB installed in /usr/local/BerkeleyDB.4.2
and I don't see a why to fix the library path to use that location. crle
-u -l /usr/local/BerkeleyDB.4.2/lib added the path to my library search
list, but that didn't seem to do it, but starting down the road to a
configuration nightmare I added symbolic links from
/usr/local/BerkeleyDB.4.2/lib/* to /usr/lib Now that it is compiled I
should see if I can remove the links, the actual execution should respect
the library search path.

Tuesday, April 5, 2005

Waiting for furniture (PXE, RRDTool, Torrus...Yakshaving)

I stayed home this morning waiting for the last piece of furniture that we
ordered when our style/color was discontinued. The furniture got delivered
at ~9... Then I didn't get out of the house in time so I got on a 10:00
call, then while that was going on... I tried to fix my PXE boot problem,
I think I also needed to remember to change the DHCP macros. Unfortunately
after redoing the macros the initial kernel that is being loaded by my net
boot is still b72. I read my mail, RRDtool 1.2rc2 has been released. So I
downloaded it, compiled it. and got Torrus collecting data. So far so
good, now to make the changes to apache so I can look at the data. But
first off to the office so I can deal with my normal triple booked
12:00-1:30 Tuesday Morning and have a half hour before the meetings start
again. Tuesdays are basically useless.

Monday, April 4, 2005

Solaris 10 x86 GA Jumpstart...Making Progress

Interesting problem... At boot the Secondary boot loader repeatably
panicked with a
Nonexistant Diskette0
error. Not to give up easily I decided to try with
the express b72 nbp and inetboot image. I still see the error, but I don't
get the panic. Now the problem is instead of running my custom Jumpstart
it is running interactive. However in the grand scheme of things,
installing by hand will be much faster than trying to install by thinking
hard and cheaper than buying an external firewire CD/DVD.

Playing with MacJournal 3.1b1

I have been using textism.com/tools/textile">Textile: A
Humane Web Text Generator text processing plugin for roller. However it
looks like it is not applied when posting with the Roller xml-rpc API. At
the moment I am just logging in selecting the formatter and reposting each
entry. Even with the extra step I generally like this more than editing in
the web interface.

Getting a little internal Traction

Just got a note from my manager saying that he understands that I have a
good blog. I just sent him the link, we will see.

Friday, April 1, 2005

Nonexistant Diskette0

I am trying to re-jump a box at home. It is currently running Solaris 10
b72. I am trying to jump it to Solaris 10 GA, but the boot keeps panicking
because there is no /dev/diskette0. At first I was hoping that the problem
was DHCP handing out the wrong address. Thinking that maybe because hosts
and ethers didn't agree with address something was missing from the boot.
Unfortunately after I fixed that no apparent changes. Next Step, look at
the old JET template that I copied into a new 3.7.3 install, or GASP maybe
read the docs to see if something changed.
Blueprints
(I should read this one),
Jumpstart
and Jumpstart
Enterprise Toolkit
really are quite useful.

First Ride of the Year

Went for my first bike ride this year. I came home a little early (or for
a very late lunch) and actually stopped working before it was dark out. At
about 5:45 I finally got out of my chair and located all of my bike stuff.
Fortunately I had a couple of jerseys hung in my closet and shorts in a
box in the bedroom. The helmets were sitting on the kitchen table and my
bike shoes, and a patch kit were in a box in the garage cleverly labeled
"bike stuff + junk", I grabbed a small pump from my camel back and my
water bottle and off I went. Ended riding just over 10 miles @ 12.89mph
max 25 The first five miles as usual were the worst, I rode a mile in a
partial loop around the neighborhood then headed over to the office. Total
distance for the first leg was 5.18 miles, It sucked. I started off
strong, a bit too strong for not having done any real cardiovascular type
activity in months. ~15mph for the first .25 and then ave ~18-20 for the
next .5 or so At the end of the first mile instead of heading back into
the neighborhood I struck out for the office at a moderate middle distance
pace. 4 miles later at the back door of the office I had forgotten my key
card, since I hadn't finished my water I rested for a minute and headed
back. The trip back was much better, the warmup on the way out and better
pace control left me at home feeling quite good. Next time I need to grab
a light if I am leaving so late. That ~4mile commute is really going to
kill me.