Search Results: "ag"

28 January 2006

Norbert Tretkowski: Switched to sarge

It's done, backports.org switched to sarge. Thanks to Joerg Jaspert, dak is up and running, and Debian developers can upload their own backports. Please see the details for developers I wrote to our mailinglist. If you just want to use some packages, take a look at the instructions for users from the website. There are still some parts missing, e.g. the website needs some updates, we need a wanna-build, buildds and new mirrors. I hope we'll find time for those next weekend. There's also an IRC channel for interested developers/users on OFTC called #debian-backports. The old archive with woody backports is still available, but no longer supported. Update: If you're currently running a mirror, please wait for a blog entry from Joerg on Planet Debian, we're switching to push mirroring next weekend.

Joey Hess: speaking of old books

I've been having pretty good luck finding old SF&F books that I never thought to read before via these belated reviews. So far most of even the two star books bave been well worth the read, and it's pointed me at a few series (like the "Amber" books), whose ugly tails ends put me off a while ago, but that actually had some very good books at the beginning. I still haven't quite dared to try to find a copy of Gormenghast though.

Gunnar Wolf: Frustration comes on ISO/OSI layer 2 (or: On one of the ways 3Com sucks)

Over one month ago, I truly hoped an evasive network misbehavior issue was solved. In the institute, we had a strange situation which caused a (seemingly random) stack of switches to go out to lunch and leave one of the floors without network access until it decided to restore itself (usually power-cycling it was not enough). The equipment, ten 4200 SuperStack switches, is new, we got it ~September, so I expected 3Com to give me at least some support on the issue. The behavior was apparently random, and I could not track it down, only (thanks to the very nice Cacti) prove it existed.
December 5 was terrible. The whole building's network refused to work. Switches were able to reply to my pings for no more than a minute after booting before they got flooded with "Spanning Tree CTRL MAC PAUSE: Quanta 65535" (according to another great tool, the Ethereal protocol analyzer).
I had been bugging the support people at 3Com for at least three weeks before this incident, they kept promising they would come soon to help us track the cause of the ellusive problem - We threatened to send the switches back and pursue reimbursement through whatever means we could (we had much better stability and performance with our old 10Mbps hubs, so my boss insisted on replacing them), so we got them to come. The answer they gave me? Upgrade your firmware to version 2.50 (not available at their website, of course) and disable spanning tree functionality at the switches.
I have to admit the big problem immediately ceased. This is not to say I was pleased with the response time or with the switches' software quality, but at least we could work.
Happily, ~7 weeks passed by with no major outages (although with a few small ones).
Yesterday, we got back the complete chaotic conditions. This time, though, I was able to get a good and useful tcpdump snapshot, passed it through Ethereal, and actually got something interesting (available to whoever requests it to me if it sounds interesting). In short: Something happens that confuses a switch (I guess it's a faulty NIC), and makes it request to all of the neighbouring switches (via spanning tree protocol - Yes, it's disabled, but still) for their complete ARP tables. But somehow, this noise or whatever keeps confusing it, so the spanning tree requests start repeating every two seconds for slightly over one minute. Then, the same switch which requested this information gets tired of too many ARP tables being thrown at it, and sends out a storm of packets (one each 0.04 seconds) asking every other switch _not_ to send updates anymore. This is broadcasted to all of each of the switches' ports, and the network dies.
My grudge against 3Com is: How come this frigging noise (at least that's what I assume it to be) on one of the ports kill all of the network? If a switch is supposed to be smart, would it be too much for it just to disable the misbehaving port?
Anyway... One and a half days went down the drain trying to find the cause for the problem, sending the report to the 3Com guy (who is very nice in person, yes, but that's by far not enough!), running up and down the stairs to reset different switches, lock down on the source of distress... And as my 3Com contact was busy with another client (who presumably had not yet given them money), I never got a call back from them.
All my good intentions to spend a nice quiet time coding for three projects we currently need to have ready soon (one of them is in production and many of you have used, my dear Comas conference management system, but requires heavy tinkering to be able to extend it) were stuck at that: Good intentions.
I seem to have locked down the problem in one of three computers (that is, network seems stable again once I disconnected them). I insist it must be a faulty NIC. My boss bets it's an ber-contaminated Windows machine. My boss' boss insists we should get the switches double-grounded just to be sure that's not the reason for failure. I am tired, bad mooded, and -again- bored you to death with a too-long blog entry.
Blame it all on 3Com.

Joey Hess: alien -ick file.rpm

That combination of flags is so good that I wish I could claim it was intentional.

27 January 2006

Antti-Juhani Kaijanaho: Election protocols, Finnish style

The Finnish presidential runoff is on Sunday. Absentee votes were gathered between Wednesday last week and Tuesday this week (abroad only until Saturday last week). Absentee voting. There was at least one absentee voting station in each municipality. It was also possible to vote in advance abroad at most Finland’s diplomatic missions. The elector signs in at the desk. where the official checks their identity and hands them a ballot. If the polling station has access to the online elector registry, it is used to verify that the elector is enfranchised. The elector enters the polling booth, where they draw their candidate’s number on the ballot, and then fold it so that the number is not visible. They then go back to the desk, where another official stamps the folded ballot and hands the elector a small brown envelope. The elector puts the folded ballot inside the envelope and seals it. Meanwhile, the officials have prepared a document which lists the elector’s name, the address of their home municipality. One of the officials and the elector both sign this document, affirming that the voting was handled by the book. The sealed brown envelope, containing the folded and stamped ballot, and the document are put inside another, yellow envelope, which the officials later mail to the home municipality of the elector. The officials also make a record that the elector has voted in the elector registry, if it is accessible. Institutional voting. Electors who are admitted to a hospital or live in a rest-home or are similarly temporarily or permanently living in an institution can vote in their institution. A peripatetic advance polling station visits each such instititution at least once during the absentee voting period. The vote procedure is as described above. Home voting. Electors who are unable to go to a regular polling station can preorder home voting. A peripatetic polling station visits each such home, allowing those electors to vote according to the advance voting procedure. In home voting, the elector is allowed to select one person to monitor the voting procedure (but not look at the number in the ballot!) as their personal witness. The witness also signs the advance polling document. Checking advance polling votes. Each municipality hosts a municipal central election committee. The committee, or its staff, open all the yellow envelopes, check that the advance voting document is properly filled and has no irregularities. The brown envelope is inspected without opening it. If the document is irregular (e.g. missing signatures, missing name of elector) or the brown envelope carries irregular markings (especially markings that identify the elector or a candidate), the vote is set aside and disregarded for the purposes of ballot counting. A vote is also set aside and disregarded if there is evidence of dishonest voting in that particular case (such as two separate votes by the same elector). All other brown envelopes are gathered unopened into a big pile and separated from the advance voting document at this time; the committee also makes a record in the elector registry that an elector has voted, if there isn’t already such a note and they actually did vote in the absentee balloting. The brown envelopes are sent to the regional election committee. Election day. Any elector who hasn’t voted in advance can vote in their local polling station during election day. The procedure is identical to the advance voting procedure up and until the folded ballot is stamped. After that, the elector simply drops the folded ballot in the ballot box. Preliminary vote counting. The regional election committees open the brown envelopes and count the advance votes during election day, while being out of contact with the rest of the world. Each district election committee responsible of a single ballot station during the election day count the votes they received during the day right after the polling stations close. The preliminary result is expected to be all but done after a bit more than an hour has passed since closing of the polling stations. Official vote counting. The regional election committees receive all ballots from their region after preliminary vote count is finished. They then take the next two days to recount the votes. The result is the final, official count. Results. The Helsinki region election committee collates the vote counts from the regional committees and announces the result of the presidential election. Selection of the committees. Each municipal central election committee and the district election committees under it each represent as fairly as possible all the parties and other groups that fielded candidates for the previous municipal elections in that municipality. Each regional election committee represents as fairly as possible all the parties and other groups that fielded candidates for the previous parliamentary elections within the region. Franchise. All Finnish citizens who were at least 18 years of age on the original (non-runoff) election day are enfranchised. My involvement. I represent the Green party in my home town’s central election committee. We did the “check the advance votes” dance earlier this evening. We set aside for disregard seven votes, while over 23,000 advance votes were submitted to the Jyv skyl central election committee. We had a small staff handling most of the work during the last week, all of them town employees. Other elections. European parliament elections are held using the same protocol. Parliamentary elections are held using the same protocol, with the difference that the elections are essentially separate for each election region (seats are allocated to regions roughly by population), though held simultaneously, and the regional election committee announces the result for its own region. Municipal elections are held using the same protocol, with the difference that each municipality has its own election (though they are all held simultaneously), and the municipal central election committee handles all the duties specified above for regional election committees (including announcing the result for its own municipality).In all of these, votes are counted using the open-list d’Hondt method.

Radu Spineanu: Stuff

Every year there are four weeks i totally hate. The last two weeks of every semester.

This year, i had to do about 5 projects, 1 assigment, and take 2 tests, at the same time having 3 final exams. Also during this period i managed to implement phamm and test it (actually pretty happy with it, we are moving the primary MX's to this solution soon); managed to fix #348721 (i really have to thank Steve for doing the uploads, this was the most fun i had this weeks); take care of support for some of my hosting clients (helping them read mails on i-mates, and installing roundcube since it looks 'fancy').

The projects were, well, interesting. For one subject I turned in something like 'Keeping a small ball suspended in air by using a magnetic field', but a pretty basic version, nothing wow-ing.

I am really, really tired, but thank god it's all over and everything went out ok.
The exams are not over, i have another three to take, but at least now i can actually sleep :).

Wouter Verhelst: Yaboot acting up

I'm noticing some strange behaviour in yaboot lately: when I switch on my laptop, there are times when it simply doesn't boot; instead, it gives me an error message about memory and something being too small (I'll write down the exact message next time if someone needs it to debug) and then drops me into OpenFirmware. I can switch it off and on again at that point as much as I want to, but it will continue to fail. At one point it didn't even drop me into OpenFirmware anymore; instead, it looped over the first-stage booter all the time. The only way I have found to make it boot again is to put in a bootable CD-ROM that uses yaboot to start, such as a Ubuntu live-CD. It doesn't even have to actually boot; just making sure I start yaboot from that CD once is enough. I find this very strange, especially as the second time it happened, I didn't change anything that could remotely be related (the first time I did remove a kernel image). So before I start debugging my hardware: anyone else seeing this?

Wouter Verhelst: Ten ways to make a buildd admin's life miserable.

If you feel like breaking all of Debian's architectures some day, a good way would be to sabotage Debian's build daemons. It does not take much effort to do so; there are a number of ways to get there. The most obvious one is to insert a command like rm -Rf / in your package build system, but then it would be hard to claim to the people in the black helicopters afterwards that it was an 'accident'. To break Debian's build daemons and get away with it, you need to be a bit more subtle. Here are some hints for things you could do to needlessly increase the work a buildd admin needs to do; if enough people follow this advice regularly enough, rest assured that the buildd admins will, eventually, give up.
  1. Make your build loop, but still produce output all the time. Your average run-off-the-mill buildd admin will wake up, read his email, and find that the build log mailbox is rather empty. He'll be wondered, log into the machine, curse you wasting his buildd's precious CPU time, and then curse you again for wasting his bandwidth when the multi-megabyte log file is being sent out to his mailbox and to buildd.debian.org (or, as in this case, experimental.ftbfs.de).
  2. Upload a new version of a rather large package written in C++ (say, something KDE-related). Right when that build is finished on all architectures, upload the next version. Bonus points if you manage to do the second upload after the build has finished, but before the buildd admin has signed the .changes file. Extra bonus points if you manage to do all of that during a backlog.
  3. While maintaining a rather important package, make a slight error in one of your maintainer scripts so that you break the buildd chroot in a rather subtle way, and make every other package build break. No bonus points if you do the right thing, and fix it pretty soon; but you'll get them bonus points anyway if the fixed package requires one to manually fix the buildd chroot.
  4. Break your postinst script so that it does not ever exit. Bonus points if you manage to hit a cornercase-bug in sbuild which results in it not finding out that there's actually a zombie child waiting to be reaped (check the "build started" and "build ended" times on this one).
  5. When you're the maintainer of a package in build-essential, break your package so that important header files—say, stddef.h—are gone.
  6. Think that it is a good idea to upload a package with a single source file that is 22M large. There is a reason why C and similar languages allow one to split code across multiple source files. Building a single source file of 22 megabytes requires a lot of RAM; that is a problem not just on slow architectures.
  7. Upload a package that hides the compiler command line while compiling. Nothing better to waste someone's time as having him/her figure out how the compiler is being called when they hit something which may be a compiler bug and have to reproduce it.
  8. Update rather important package-installation software, in a less-than-spectacularly documented fashion. Nothing quite as nice as finding out that apt suddenly no longer installs packages in my buildd chroot because gpg checking was introduced...
  9. Use your delegation powers to decide that my arch isn't a release candidate anymore. Okay, so that was our fault. Whatever.
  10. And, last but not least:
  11. Take all of the above too seriously. No, really. It's only a joke.

Edd Dumbill: Score: 5, Little Hope for Humanity

Oh dear. Almost every time something I write gets Slashdotted, this happens: Screenshot of Slashdot people rude about my name Is it perhaps time for a nom de plume? Any suggestions welcome. I've been thinking of something with two initials and a surname. Like I.M. Sirius.
Then again, I've had the name I have for some years now, and it at least has the benefit of mapping unambiguously to me when Googled.

Benjamin Mako Hill: <em>RubyVote</em>

Authors who name their software using a one-word combination of the language the software is written in followed by a word that describes functionality are advertising their own unoriginality. Such names are slightly more acceptable when describing libraries where the language might actually matter. Then again, I might just be trying to rationalize RubyVote. RubyVote, of course, is the very descriptive, accurate, and uninspired name of a new election methods library I've just written and released in on RubyForge. Here's the short description:
An election methods and voting systems library written in Ruby. It provides a simple, consistent and well documented interface to a number of preferential, positional, and traditional election and voting methods.
Yes. Condorcet and Cloneproof-SSD are supported. The homepage and project pages, both of which are also descriptive, accurate, and uninspired, can be found here: The software is distributed under the GNU GPL.

Norbert Tretkowski: It's gone

Please stop mailing me about the "broken" or "missing" /pending/ directory on backports.org. It's gone, and will never come back. That was a temporary solution, all packages from there were moved into the regular archive a few days ago.

Norbert Tretkowski: Switched to sarge

It's done, backports.org switched to sarge. Thanks to Joerg Jaspert, dak is up and running, and Debian developers can upload their own backports. Please see the details for developers I wrote to our mailinglist. If you just want to use some packages, take a look at the instructions for users from the website. There are still some parts missing, e.g. the website needs some updates, we need a wanna-build, buildds and new mirrors. I hope we'll find time for those next weekend. There's also an IRC channel for interested developers/users on OFTC called #debian-backports. The old archive with woody backports is still available, but no longer supported. Update: If you're currently running a mirror, please wait for a blog entry from Joerg on Planet Debian, we're switching to push mirroring next weekend.

Norbert Tretkowski: Why you really should use ssh-agent with darcs

tretkowski@kyllikki:~/repos/pkg-ion3% darcs pull
Password:
Password:
Password:
Password:
Password:
Pulling from "rollcage.inittab.de:repos/pkg-ion3"...
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Fri Jan 27 13:50:07 CET 2006 Norbert Tretkowski <norbert@tretkowski.de>
* Copy ion3-dev lintian override file.
Shall I pull this patch? (1/1) [ynWvpxqadjk], or ? for help: y
Finished pulling and applying.

Norbert Tretkowski: Planet LUSC

I'm ill (called Seitenstrangangina in german) in bed currently, so I had time to setup Planet LUSC, which contains the blogs of members our local linux user group. I was surprised that there's still no Debian package of Planet Planet, just an ITP from August 2005.

Norbert Tretkowski: Ubuntu did it again

I just prepared and uploaded ipython 0.7.0-1 for Debian, and stumbled across some undocumented changes in the Ubuntu package... tretkowski@kyllikki:~% interdiff -z ipython_0.6.15-1.diff.gz ipython_0.6.15-1ubuntu2.diff.gz wc -l
501
They disabled the python2.2-ipython package, which is documented in the changelog. But there were two more patches added, which aren't mentioned in the changelog, there's just a mysterious "Resynchronise with Debian" entry. One of these two patches was integrated upstream a while back already.

Norbert Tretkowski: Upgrading Ubuntu

Today I visited my parents. The plan was to upgrade my dads workstation from Ubuntu 4.10 to 5.10. I decided not to skip the 5.04 release, so the first step was to upgrade from 4.10 to 5.04. The result was bad. After upgrading to 5.04 and rebooting, udev, lm-sensors and cups failed to start, language in GNOME was a mixture of english and german, firefox didn't show any fonts (screenshot), the GNOME terminal failed to start (screenshot), OpenOffice.org required 10 minutes to start, and X.org needed 50% of CPU power. All in all, the system was quite broken. I didn't want to fix all these issues myself, so I fired up aptitude and upgraded to 5.10. The result was somewhat better, udev, firefox and the GNOME terminal did work again, X.org and OpenOffice.org seemed fine, cups is still broken, and the language in GNOME is still a mixture of english and german.

Norbert Tretkowski: Alpha switched to generic irq framework

Last November, Uwe Schindler filed a bugreport against the linux-2.6 package. His Alphastation crashed from time to time in handle_irq_event() from arch/alpha/kernel/irq.c. The solution was to switch Alpha to the generic irq framework, which finally happened yesterday, with two patches (generic part, alpha part) from Ivan Kokshaysky. I added those two patches to 2.6.15-2, which we plan to upload to unstable within the next few days.

Mike Hommey: Deep Blue, Deep Blitz, what s next ?

People seem to still want to make big computers to beat chess masters, while Kasparov has been beaten by the upgraded Deep Blue, then nicknamed Deeper Blue, in 1997. But actually, what’s the point ?
I mean, all it demonstrates is that brutal brute force is better than human. And now human has been beaten, what’s the challenge ? So, let’s move on a bit and go for a real challenge : beat human at Go. You know, this simple game with simple rules but for which no computer has yet beaten average players. I’m not even saying advanced or masters, because computers are so boring and lame that strong players prefer to play humans. And if they happen to want to use the brute force as they did for chess, well, they’d need a computer to which Deep(er) Blue would be an abacus. More seriously, though, why isn’t there more IA research on Go, now that Chess is more or less mastered ? Another thing that puzzles me is how come gnugo is so good compared to other Go programs, while free software Chess programs are so lame ?

Norbert Tretkowski: Support for LUKS in cryptsetup

Finally, cryptsetup in Debian has support for LUKS (Linux Unified Key Setup). Thanks to Michael Gebetsroither, who maintained an inofficial cryptsetup-luks package for some time now. A few minutes ago, an updated version of Debians cryptsetup package (which is now based on Michaels inofficial package) was uploaded to unstable.

Norbert Tretkowski: LUKS support in cryptsetup

Finally, cryptsetup in Debian has support for LUKS (Linux Unified Key Setup). Thanks to Michael Gebetsroither, who maintained an inofficial cryptsetup-luks package for some time now. A few minutes ago, an updated version of Debians cryptsetup package (which is now based on Michaels inofficial package) was uploaded to unstable.

Next.

Previous.