Tag Archives: Today

Remember the Verbosity (A Brief Note)

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2007/04/17/linux-verbose-build.html

I don’t remember when it happened, but sometime in the past four years,
the Makefiles for the kernel named Linux changed. I can’t remember
exactly, but I do recall sometime “recently” that the
kernel build output stopped looking like what I remember from 1991,
and started looking like this:

CC arch/i386/kernel/semaphore.o
CC arch/i386/kernel/signal.o

This is a heck of a lot easier to read, but there was something cool
about having make display the whole gcc
command lines, like this:

gcc -m32 -Wp,-MD,arch/i386/kernel/.semaphore.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -D”KBUILD_STR(s)=#s” -D”KBUILD_BASENAME=KBUILD_STR(semaphore)” -D”KBUILD_MODNAME=KBUILD_STR(semaphore)” -c -o arch/i386/kernel/semaphore.o arch/i386/kernel/semaphore.c
gcc -m32 -Wp,-MD,arch/i386/kernel/.signal.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -D”KBUILD_STR(s)=#s” -D”KBUILD_BASENAME=KBUILD_STR(signal)” -D”KBUILD_MODNAME=KBUILD_STR(signal)” -c -o arch/i386/kernel/signal.o arch/i386/kernel/signal.c

I never gave it much thought, since the new form was easier to read. I
figured that those folks who still eat kernel code for breakfast knew
about this change well ahead of time. Of course, they were the only
ones who needed to see the verbose output of the gcc
command lines. I could live with seeing the simpler CC
lines for my purposes, until today.

I was compiling kernel code and for the first time since this change in
the Makefiles, I was using a non-default gcc to build
Linux. I wanted to double-check that I’d given the right options to
make throughout the process. I therefore found myself
looking for a way to see the full output again (and for the first
time). It was easy enough to figure out: giving the variable setting
V=1 to make gives you the verbose version.
For you Debian folks like me, we’re using make-kpkg, so
the line we need looks like: MAKEFLAGS=”V=1″ make-kpkg
kernel_image.

It’s nice sometimes to pretend I’m compiling 0.99pl12 again and not
2.6.20.7. 🙂 No matter which options you give make, it is
still a whole lot easier to bootstrap Linux these days.

I Am Free Again!

Post Syndicated from Lennart Poettering original http://0pointer.net/blog/thesis.html

Es ist vollbracht! Today, at 10:54 am — 66 min before deadline — I
handed in my diploma thesis [1]. In a few weeks time you may call me
Diplom-Informatiker… Herr Diplom-Informatiker.

That’s all.

Footnotes:

[1] Thesis title is Diensteverwaltung in Ad-Hoc-Netzwerken
(which roughly translates to Service Discovery in Ad-Hoc Networks).
Basically, the thesis is about “Mesh-DNS”, a protocol akin to Multicast DNS (mDNS), which scales
better, fixes a few things and takes Mesh network architectures into account.
It is intended to be integrated into Avahi and
to be used as service discovery protocol in OLPC. It is compatible with DNS-SD, but replaces mDNS. Due to that all
existing software linking against Avahi can make use of it without any major
changes. It adds a zone .mesh which is organized by Mesh-DNS side-by-side to the mDNS-maintained zone .local. You will be able to enable support for Mesh-DNS at Avahi
compile time. Most likely most distros won’t enable it in their default builds,
although it offers quite a few features even outside OLPC, such as
automatic, idiot-proof router transparency.

I Am Free Again!

Post Syndicated from Lennart Poettering original http://0pointer.net/blog/thesis.html

Es ist vollbracht! Today, at 10:54 am — 66 min before deadline — I
handed in my diploma thesis [1]. In a few weeks time you may call me
Diplom-InformatikerHerr Diplom-Informatiker.

That’s all.

Footnotes:

[1] Thesis title is Diensteverwaltung in Ad-Hoc-Netzwerken
(which roughly translates to Service Discovery in Ad-Hoc Networks).
Basically, the thesis is about “Mesh-DNS”, a protocol akin to Multicast DNS (mDNS), which scales
better, fixes a few things and takes Mesh network architectures into account.
It is intended to be integrated into Avahi and
to be used as service discovery protocol in OLPC. It is compatible with DNS-SD, but replaces mDNS. Due to that all
existing software linking against Avahi can make use of it without any major
changes. It adds a zone .mesh which is organized by Mesh-DNS side-by-side to the mDNS-maintained zone .local. You will be able to enable support for Mesh-DNS at Avahi
compile time. Most likely most distros won’t enable it in their default builds,
although it offers quite a few features even outside OLPC, such as
automatic, idiot-proof router transparency.

uds-mtv -> San Francisco

Post Syndicated from Lennart Poettering original http://0pointer.net/blog/projects/uds-mtv.html

Is anyone who’s attending the Ubuntu Developers Summit in Mountain View right now heading for San Francisco tomorrow? I plan to stay a few days in the city to do sight seeing and stuff. Please catch me at the conference today if you are interested to join me visiting San Francisco!

Avahi Support for Apache

Post Syndicated from Lennart Poettering original http://0pointer.net/blog/projects/mod_dnssd.html

The first release of mod_dnssd is now available. It adds DNS-SD based Zeroconf support to Apache 2.0 using Avahi.

This work has been inspired by Sander Temme’s and Sebastien Estienne’s mod_zeroconf module, but supersedes it in every way. MacOSX ships with mod_rendezvous/mod_bonjour, but mod_dnssd is much more powerful than this piece of software as well. In short: mod_dnssd is definitely the greatest way to add Zeroconf support to Apache available today.

A few examples just to show how great mod_dnssd is:

DNSSDEnable On

This is everything you need to enable DNS-SD support in Apache after loading the module. It will publish all virtual hosts and all existing mod_userdir directories (i.e. ~/public_html) as services of type _http._tcp.

In case you want to publish some subdirectory of the web server as service, just place DNSSDServiceName inside a <Location> section for that path:

<Location /foobar>
DNSSDServiceName “A special service called foobar”
</Location>

You can even use it to publish WebDAV shares using Apache’s mod_dav module:

<Location /webdav>
Dav On
DNSSDServiceName “A WebDAV folder”
DNSSDServiceTypes _webdav._tcp
</Location>

This especially cool since we now have a free software server counterpart for Gnome’s and KDE’s WebDAV client functionality.

Or to publish your blog as RSS service:

<Location /blog.cgi?rss>
DNSSDServiceName “The blog”
DNSSDServiceTypes _rss._tcp
</Location>

Get it while it is hot!

Avahi Support for Apache

Post Syndicated from Lennart Poettering original http://0pointer.net/blog/projects/mod_dnssd.html

The first release of mod_dnssd is now available. It adds DNS-SD based Zeroconf support to Apache 2.0 using Avahi.

This work has been inspired by Sander Temme’s and Sebastien Estienne’s mod_zeroconf module, but supersedes it in every way. MacOSX ships with mod_rendezvous/mod_bonjour, but mod_dnssd is much more powerful than this piece of software as well. In short: mod_dnssd is definitely the greatest way to add Zeroconf support to Apache available today.

A few examples just to show how great mod_dnssd is:

DNSSDEnable On

This is everything you need to enable DNS-SD support in Apache after loading the module. It will publish all virtual hosts and all existing mod_userdir directories (i.e. ~/public_html) as services of type _http._tcp.

In case you want to publish some subdirectory of the web server as service, just place DNSSDServiceName inside a <Location> section for that path:

<Location /foobar>
	DNSSDServiceName "A special service called foobar"
</Location>

You can even use it to publish WebDAV shares using Apache’s mod_dav module:

<Location /webdav>
	Dav On
	DNSSDServiceName "A WebDAV folder"
	DNSSDServiceTypes _webdav._tcp
</Location>

This especially cool since we now have a free software server counterpart for Gnome’s and KDE’s WebDAV client functionality.

Or to publish your blog as RSS service:

<Location /blog.cgi?rss>
	DNSSDServiceName "The blog"
	DNSSDServiceTypes _rss._tcp
</Location>

Get it while it is hot!

Avahi on Linux Weekly News

Post Syndicated from Lennart Poettering original http://0pointer.net/blog/projects/avahi-lwn.html

Seems today’s edition of LWN features a front page story about Avahi. It’s actually quite nice, even though I missed an emphasis on the fact that Avahi’s mDNS stack itself is embeddable into applications via a shared library.

I guess you’ll have to wait a week if you want to read the article without subscription.

Avahi on Linux Weekly News

Post Syndicated from Lennart Poettering original http://0pointer.net/blog/projects/avahi-lwn.html

Seems today’s edition of LWN features a front page story about Avahi. It’s actually quite nice, even though I missed an emphasis on the fact that Avahi’s mDNS stack itself is embeddable into applications via a shared library.

I guess you’ll have to wait a week if you want to read the article without subscription.