<?xml version="1.0" encoding="iso-8859-1"?>
<!-- name="generator" content="pyblosxom/1.4.3 01/10/2008" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
<channel>
<title>bloggf   </title>
<link>http://dannf.org/bloggf</link>
<description>bloggf</description>
<language>en</language>
<item>
  <title>HP ProLiant software repository</title>
  <link>http://dannf.org/bloggf/tech/hp-psp-repo.html</link>
  <description><![CDATA[
<p>
 HP's "ProLiant Support Pack" software is now available via an online <a href="http://downloads.linux.hp.com/SDR">repository</a> (apt, yum, etc). Instructions for accessing it are <a href="http://downloads.linux.hp.com/SDR/README.txt">here</a>. Feedback via the <a href="http://forums11.itrc.hp.com/service/forums/familyhome.do?familyId=118">HP Linux Forums</a> welcome.


]]></description>
</item>

<item>
  <title>HP ProLiant Servers Debian 5.0 &quot;capable&quot;</title>
  <link>http://dannf.org/bloggf/tech/lenny-on-proliant.html</link>
  <description><![CDATA[
<p>
  <a href="http://hp.com">HP</a> has posted a <a href="http://h71028.www7.hp.com/enterprise/cache/433096-0-0-0-121.html">capabilities matrix</a> for <a href="http:///www.debian.org/">Debian</a> <a href="http://debian.org/releases/lenny">5.0 ('lenny')</a>. Its linked off of the easier-to-remember url: <a href="http://hp.com/go/debian">hp.com/go/debian</a>.

]]></description>
</item>

<item>
  <title>Adding firmware blobs to install media</title>
  <link>http://dannf.org/bloggf/tech/add-firmware-to.html</link>
  <description><![CDATA[
<p>
 Here's a <a href="http://people.debian.org/~dannf/add-firmware-to/add-firmware-to">shell script</a> I wrote to stuff non-free firmware bits into an existing lenny installer image. It currently can operate on either a initrd.gz file or an isolinux-based iso image. I've only tested it on a netboot initrd.gz and a netinst iso, but it should work on larger images as well. If you need support for some other media type or architecture, let me know.

]]></description>
</item>

<item>
  <title>RPM Macros</title>
  <link>http://dannf.org/bloggf/tech/rpmmacros.html</link>
  <description><![CDATA[
<p>
 I've been working with RPM macros quite a bit lately, and I've noticed some interesting properties. Though <i>mostly</i> obvious after the fact, they are surpisingly underdocumented.

<p>
Macros don't seem to deal with floating point values. This works:
<pre>
%define five 5

%if 0%{?five} <= 5
  %define string A
%else
  %define string B
%endif
</pre>

While this causes a parse error:

<pre>
%define five 5.3

%if 0%{?five} <= 5
  %define string A
%else
  %define string B
%endif
</pre>

<p>
Quoting integers makes comparisons lexical. This will evaluate to false:

<pre>
%define five 5

%if "0%{?five}" == "5"
<pre>

<p>
Perhaps the most frustrating one for me was that commented out macros are expanded. This has surprising results if your macro expands to multiple lines. Say my spec file includes the following:

<pre>
%description
#%foo                                                                           
blah
</pre>

And <i>foo</i> happens to expand to multiple lines:

<pre>
%define foo one\
two\
three
</pre>

My description will end up being:

<pre>
Description :

two
three
blah
</pre>

]]></description>
</item>

<item>
  <title>Controlling Power on a USB Hub</title>
  <link>http://dannf.org/bloggf/tech/wootoff-lights.html</link>
  <description><![CDATA[
<p>
 <a href="http://blog.andrew.net.au/2009/01/01#usb_power_control">Andrew</a>, I bought those wootoff lights as well, and have them connected to a hub on my <a href="http://mythtv.org">mythtv</a> system so I can activate them with a remote. I use the hub-ctrl.c utility from <a href="http://www.gniibe.org/ac-power-by-usb/ac-power-control.html">this page</a> with this simple wrapper script that searches for the hub:

<pre>
#!/bin/sh

bus=$(lsusb | grep TUSB2046 | cut -d' ' -f2)
dev=$(lsusb | grep TUSB2046 | cut -d' ' -f4 | sed 's/:$//')
port=4

hubctrl=/home/dannf/hub-ctrl

if $hubctrl -b "$bus" -d "$dev" -v | grep "Port ${port}:" | grep -q power; then
  toggle=0
else
  toggle=1
fi

$hub-ctrl -b "$bus" -d "$dev" -P "$port" -p "$toggle"
</pre>

<p>
Note that not all hubs implement the port power feature - but luckily I had an unused one laying around that does.

<p>
Unfortunately, one of my lights won't spin unless the physical power switch on the light is toggled - hopefully that's not true for yours.

]]></description>
</item>

<item>
  <title>Retrieving a NIC&apos;s permanent address</title>
  <link>http://dannf.org/bloggf/tech/physical-mac-address.html</link>
  <description><![CDATA[
<p>
 I needed to query a card to get its permanent mac address (the value programmed into the card, even if the admin has ifconfig'd it differently). This can be done with the linux kernel's ethtool API, but the <a href="http://packages.debian.org/ethtool">ethtool</a> command doesn't currently support it and <a href="http://google.com">google</a> didn't know how either. I had to <a href="http://dannf.org/src/get-perm-mac-addr.c">figure it out myself</a>.

<p>
Now google, you no longer have an excuse - I expect you to know next time I ask.

]]></description>
</item>

<item>
  <title>etchnhalf kernels available for testing</title>
  <link>http://dannf.org/bloggf/tech/etchnhalf-kernel-in-p-u.html</link>
  <description><![CDATA[
<p>
 2.6.24 kernels targeted for etch are available for testing in
 etch-proposed-updates. Some architectures are missing for this first upload,
 but fixes are pending for the next upload.

]]></description>
</item>

<item>
  <title>Etch and a half</title>
  <link>http://dannf.org/bloggf/etchnahalf.html</link>
  <description><![CDATA[
<p>
 For those unfamiliar with the project, etch-and-a-half has the goal of
 making the existing etch release work on more hardware, but with minimal
 risk to existing etch users.

<p>
 This will be done by *adding* new kernel packages to the existing release.
 Kernel selection isn't final yet - the kernel team would like to use 2.6.24
 if it proves itself stable in time; 2.6.22 is the backup choice.
 
<p>
 etch-and-a-half isn't restricted to kernel updates by-definition; new
 X drivers, or proven-safe X driver updates are reasonable candidates as
 well (though at this point, no changes have been proposed).

<p>
 An oft-asked question is around updating desktop packages, e.g. new versions
 of GNOME/KDE. This is beyond the scope of etch-and-a-half because it
 introduces a great deal more change than just additional hardware support,
 its wouldn't be a transparent upgrade to existing etch users, and we cannot
 say with a high level of confidence that it wouldn't introduce regressions
 for existing users.

<p>
 That said - a localized change to a package that adds support for new hardware
 and clearly doesn't break existing hardware is a valid candidate for any stable
 release. Such requests should be submitted to the SRM team like any other
 stable update request.

<p>
 The current plan for etch and a half is to release as part of a point release.
 4.0r4 is the planned point release, since 4.0r3 is planned to have a quick
 turnaround to fix issues with 4.0r2. This means that pre-release bits will
 be made available via proposed-updates - testers are greatly appreciated.

<p>
 There is no plan to add support for etch-and-a-half to the etch branch of d-i.
 Rather, support will likely be added in a beta of the lenny installer.
 
<p>
 A wiki page exists <a href="http://wiki.debian.org/EtchAndAHalf">here</a>,
 and a coordination list has been setup <a href="http://teams.debian.net/lurker/list/project-etchnahalf.en.html">on teams.debian.net</a>.

]]></description>
</item>

<item>
  <title>On IRC proxies</title>
  <link>http://dannf.org/bloggf/tech/on-irc-proxies.html</link>
  <description><![CDATA[
<p>
 Adeodato <a href="http://chistera.yi.org/~adeodato/blog/119_ctrlproxy.html">mentioned</a> using <a href="http://ctrlproxy.vernstok.nl/">ctrlproxy</a>, so I thought I'd ramble a bit about my experience w/ IRC proxies in general.

<p>
 <a href="http://packages.debian.org/dircproxy">dircproxy</a> was the first
 IRC proxy software I tried. It did the job, but the thing that annoyed me
 the most was that only one client could connect at a time. I'd get home and
 realize I was still connected at work, and then have to login and send a kill
 signal to <a href="http://packages.debian.org/xchat">xchat</a>.

<p>
 When I found out about ctrlproxy, and that it supports multiple clients, I
 was very excited. It did the job, but occasionally it would hang and need
 to manually killed/restarted, and it had this weird problem of writing logs
 for one channel to the log file of another.

<p>
 Most recently (and for probably a year now) I've been using
 <a href="http://packages.debian.org/bip">bip</a>. I immediately hit an issue
 with one server - bip would constantly reconnect/disconnect. Upstream
 immediately went to work on the problem, determined it was a bug in the
 server itself, and (iirc) sent the server maintainers a patch. Now that's
 support! bip has been stable for me for nearly 2 years now.

<p>
 I'd also suggest comparing the bug pages for <a href="http://bugs.debian.org/dircproxy">dircproxy</a>, <a href="http://bugs.debian.org/ctrlproxy">ctrlproxy</a>, and <a href="http://bugs.debian.org/bip">bip</a>. That's not always a good way to measure relative stability, but it resembles my experience in this instance.


]]></description>
</item>

<item>
  <title>Installing Debian 4.0 (&apos;etch&apos;) on a TVease Hannibal</title>
  <link>http://dannf.org/bloggf/tech/etch-on-hannibal.html</link>
  <description><![CDATA[
<p>
 Last night I decided to install etch on my pre-built
 <a href="http://mythtv.org">MythTV</a> system. The process is documented
 <a href="http://dannf.org/docs/debian-on-hannibal.html">here</a>

]]></description>
</item>

<item>
  <title>HP now supports etch on ProLiants</title>
  <link>http://dannf.org/bloggf/tech/proliant-etch.html</link>
  <description><![CDATA[
<p>
 <a href="http://hp.com">HP</a> announced support for <a href="http://www.debian.org/releases/etch">Debian 4.0 ('etch')</a> on
 <a href="http://hp.com/go/proliant">ProLiants</a> today. See the
 <a href="http://hp.com/go/debian">HP/Debian page</a> for details.

]]></description>
</item>

<item>
  <title>Starting a text-mode Debian install using the virtual serial port (VSP) via an ssh connection to iLO 2</title>
  <link>http://dannf.org/bloggf/tech/ilo2-vsp-setup.html</link>
  <description><![CDATA[
<p>
 That's a mouthful. We had a customer asking for information on this, so
 I did a couple screen captures using
 <a href="http://packages.qa.debian.org/byzanz">byzanz</a> to demonstrate.

<p>
 The <a href="http://free.linux.hp.com/~dannf/ilo2-vsp-debian/bios-setup.gif">first</a>
 shows howto setup a system to do bios over serial. I did this w/ the remote java
 console, but you can also do this locally on the system (or the ActiveX console I
 suppose, but I've never tried this myself). In brief, you need to
 choose a serial port to map to the VSP (I use COM2 aka ttyS1), and tell the 
 system to redirect the BIOS to the same serial port at your desired baud (115200
 in this example).

<p>
 The <a href="http://free.linux.hp.com/~dannf/ilo2-vsp-debian/vsp-start-install.gif">second</a>
 shows me initiating an ssh session, setting up a virtual cd-rom, and 
 booting the debian installer. Of course you could use local media or
 even PXE boot. But either way you need to tell the installer to direct
 its console to the same port that you've configured as the VSP and
 at the same baudrate (console=ttyS1,115200n8 in this example).

<p>
 Note that if the screen goes blank after attempting to boot from the CD
 it is likely that the installer is displaying a graphical splash screen.
 Simply hit F1 to transitition to a text-mode help screen.

]]></description>
</item>

<item>
  <title>svn-load now in unstable</title>
  <link>http://dannf.org/bloggf/tech/svn-load-in-sid.html</link>
  <description><![CDATA[
<p>
 svn-load, a DFSG-free replacement for svn_load_dirs, is now in unstable.
 John Wright has been working on adding support for doing preset pattern-based
 moves, which I hope will be ready in the next upload.

]]></description>
</item>

<item>
  <title>pysvn_load_dirs: a free implementation of svn_load_dirs</title>
  <link>http://dannf.org/bloggf/tech/pysvn_load_dirs.html</link>
  <description><![CDATA[
<p>
 Users of <a href="http://subversion.tigris.org/">subversion</a> <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398035">may</a> <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400230">have</a> <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=406292">noticed</a> that the <a href="http://svnbook.red-bean.com/nightly/en/svn.advanced.vendorbr.html#svn.advanced.vendorbr.svn_load_dirs">svn_load_dirs</a>
 script was removed from Debian due to a lack of a license from upstream. So far,
 attempts to get a DFSG-free licensed version have failed, so I've
 begun a <a href="http://free.linux.hp.com/~dannf/pysvn_load_dirs">new python implementation</a>
 that is licensed under GPLv2.

 0.1 is functional and uses the same syntax as the original, but is
 missing a few features that prevent it from being a drop-in
 replacement. I hope to remedy this in the coming weeks.


]]></description>
</item>

<item>
  <title>Demuxing Personality Disorder (DPD)</title>
  <link>http://dannf.org/bloggf/tech/poor-mans-rss.html</link>
  <description><![CDATA[
<p>
 I suffer from an in ability to successfully monitor multiple sources of
 information. For example, I rarely check on lists that I have procmailed out
 to their own folder. If its a list I need to stay on top of, I have to
 dump it to my primary inbox. For one list, I even dump messages to my inbox
 *and* keep a copy in a subfolder. That way I can keep on top of what's going
 on, but also keep a low-barrier-to-delete since I know I have an archival
 copy. I do think its important for me to check e-mail regularly, but there is
 some part of my brain that considers e-mail to be a time sink, and prevents
 me from going beyond what it considers the bare-minimum: Inbox messages.

<p>
 Another instance of this disorder struck me with RSS. There are web pages that
 I check every day, and not all of them have RSS feeds. I played with a few
 different RSS readers a while back, and decided that
 <a href="http://www.gnome.org/projects/straw/">straw</a> was my favorite. But
 I could not get myself in the habit of bringing up a second application. Later
 I started using <a href="http://firefox.com">Firefox</a>, and I thought I'd have
 better luck with something like <a href="http://sage.mozdev.org/">Sage</a>.
 But even that was easy to avoid because it requires actually opening up the
 sage panel. I would either never check it or, in times of boredom, check it too
 often. Since then I've given up on RSS readers. These days I've stolen an idea
 from <a href="http://chizang.net/alex">Alex Chiang</a> and just keep a
 bookmark folder called "daily" and one called "monthly". Every morning I hit
 the "Open All in Tabs" item in the
 daily folder, and quickly ctrl-w through pages w/ no new content. My
 daily folder includes things like bug reports I'm monitoring for activity,
 gitweb views of files where I'm waiting for a fix, blogs, parcel tracking,
 comics, wiki watch lists, etc. Since a few of these pages are rather
 important, I always remember to do it and therefore force myself to browse
 the others as well. Most days I spend less than 10 minutes "wasting time"
 going through them.

<p> 
 Its strange to both be aware of poor working habits, yet know from years of
 experience that I'll be more successful if I work around them rather than
 trying to retrain myself.

]]></description>
</item>

<item>
  <title>Got a DPT/Adaptec controller? Help fix an RC bug.</title>
  <link>http://dannf.org/bloggf/tech/bug404927.html</link>
  <description><![CDATA[
<p>
 We're trying to mitigate the severity of <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404927">#404927</a> by working around the issue in udev.
 But, to do that, we need someone to provide us with udevinfo output for these
 controllers. If you have access to one, please help!

]]></description>
</item>

<item>
  <title>IRC proxies</title>
  <link>http://dannf.org/bloggf/tech/bip.html</link>
  <description><![CDATA[
<a href="http://www.lucas-nussbaum.net/blog/?p=226">Lucas</a>, try
<a href="http://packages.debian.org/bip">bip</a>. It's not nearly as
<a href="http://bugs.debian.org/ctrlproxy">buggy</a>
as <a href="http://packages.debian.org/ctrlproxy">ctrlproxy</a>, and allows
multiple client connections, unlike
<a href="http://packages.debian.org/dircproxy">dircproxy</a>.

]]></description>
</item>

<item>
  <title>Debian/ProLiant support active</title>
  <link>http://dannf.org/bloggf/tech/hp-debian-proliant.html</link>
  <description><![CDATA[
<p>
 As <a href="http://www.hp.com/hpinfo/newsroom/press/2006/060814a.html">announced</a>
 in August, HP has now gone live with support for ProLiant. More information
 is available at <a href="http://hp.com/go/debian">http://hp.com/go/debian</a>.

<p>
 Admittedly its odd to announce sarge support right before etch releases, but
 hey - we had to start somewhere.

<p>
 On a similar topic, I started a <a href="http://wiki.debian.org/HP/ProLiant">
 wiki</a> a while ago to track the status of sarge and etch on various ProLiant
 models. I think it'd be cool to have similar pages for various vendors. By
 linking to d-i <a href="http://d-i.alioth.debian.org/manual/en.i386/ch05s03.html#submit-bug">installation reports</a>, I hope this will reduce duplicate
 information.

]]></description>
</item>

<item>
  <title>Contentless ping for XChat</title>
  <link>http://dannf.org/bloggf/tech/contentlessping-xchat.html</link>
  <description><![CDATA[
<p>
  <a href="http://err.no/personal/blog/tech/2006-10-10-12-05_contentless_pings.html">Good idea</a> Tollef.
  Here's an <a href="http://xchat.org">xchat</a> <a href="http://dannf.org/src/contentlessping.py">port</a>.

]]></description>
</item>

<item>
  <title>hpodder</title>
  <link>http://dannf.org/bloggf/tech/hpodder.html</link>
  <description><![CDATA[
<p>
 <a href="http://packages.debian.org/hpodder">hpodder</a> is awesome, thanks John!
</p>


]]></description>
</item>

</channel>
</rss>
