Search Results: "sto"

18 April 2006

Uwe Hermann: Why disk-encryption is not only useful for paranoid computer geeks

According to this (German) spiegel.de article, thieves have stolen a hard drive from the recording studio of the quite popular German band Rosenstolz. Among the contents of the drive are unreleased songs from the past six years and two songs which should be released on a new single in a few weeks. Apparently those two songs on the drive were the only instance they had, off-site backups only contained older "beta" versions of the songs. As the band is touring at the moment (i.e. no time for re-recording the songs), it's unclear whether the single can be released in time. Lessons learned: (via Fefe) [1] Well, I am a paranoid computer geek, and I'm probably not a normal person, but you get the point ;-)
[2] Oh, and if the thieves are stupid enough they will get caught while uploading the files ;-)

Erich Schubert: Opensource Software on my MP3 player

My iAudio X5 player now runs Rockbox. Installation was fantastic. Just copying some files via mass-storage. I found navigation in rockbox hard to get used to (took me ages to find the full settings menu, the way I've found is like this: while playing, press the joystick a second, then press the record button.), but the info screen is very nice: There are different themes for the playback UI, which include information on the next song to be played. Very nice. I'm looking forward to UIs that make use of the color screen. Rockbox offers tons of features not available in the original firmware. Rockbox is said to have gapless playback, I prefer its crossfading. Replaygain is also available. But even if some of that is not yet working: use the source, Luke! I can't comment on the battery life yet, haven't used it on battery yet. This will obviously be a key factor; but the player has a battery life of up to 15 hours, so I used to recharge it only every other week. ;-)

Uwe Hermann: Debian packages release names

The "I'm bored" release.

nice -n 19 find /usr/share/doc -name changelog.Debian.gz -exec zgrep "\* The .* [Rr]elease" \; sort uniq bogosort -n head -40
* The "Crack-smoking Squirrel" release.
* The "I should not have got out of bed yesterday" release
* The "Wohoo-we-are-going-to-main" release.
* The "And I thought IE had security bugs!" release.
* The "First snow in Finland" release.
* The "please buy me a brain" release
* The "I speak better English than this villian Bush" release.
* The "Brief Return From The Hell" release.
* The "Stoned Monkey" release.
* The "Let's do it cleaner" release.
* The "Fuck Me Harder" release.
* The "All or Nothing" release
* The "What's my name? Say my name, bitch!" release.
* The "next time I will buy myself a powerpc" release.
* The "I'm in such a hurry" release!
* The "I *hate* when that happens" release.
* The 'DOH!' release.
* The "laptop envy (damn tbm for having a nicer one than me)" release.
* The "Drunken Iceweasel" release.
* The "Follow the white rabbit" Release.
* The "someone should take my compiler away from me" release
* The "Ooops, I did it again" release
* The "Argh-I-took-the-wrong-version" release.
* The "Friday before Christmas" Release :-)
* The 'Yes, I need more sleep, and also to test my releases' release.
* The "you can't get sunburn at Finland" release.
* The "Chainsaw Psycho" release.
* The "Son of Drunken Iceweasel" release.
* The "Perl Sucks" release.
* The "I fucking hate libtool" release.
* The 'No, I don't use CVS' release.
* The "Throwing stuff away like mad and seeing if it still builds" release.
* The "This Space Intentionally Left Blank" Release
* The "From now on all of my world-killing weapons will be kept a TOTAL SECRET!" release.
* The "Lesbian Seagull" release.
* The "Oh my God, they killed Python, you bastards!" release.
* The "Evil Bitch Monster of Death" release.
* The "Pain as bright as steel" release.
* The "I've been hiding under a rock for two weeks" release.
* The "Suddenly the Dungeon collapses!! - You die..." release
I didn't bother to run it on the whole Debian archive on one of the Debian developer machines, as that would have probably pissed off some admins... (via Jonathan Carter)

John Goerzen: New Terrorist Threat: ANTS

I made a shocking discovery today.

Terah called me in from outside to inform me that the washing machine was just sitting there. No action. Just stalled in the middle of the cycle. I poked around a bit, and sure enough. It's stuck.

I then turned on the water faucet next to the washing machine. Nothing came out. So naturally I thought: the terrorists have attacked our water supply! Run for the hills! (which in Kansas are a 3-hour drive)

(Actually, what I thought was we want to put this house on the market next week, and the last thing we need now is a lack of running water. But I'm sure if I watched the cable news channels, I'd think of terrorists first.)

Now before I can explain how SUICIDE ANTS were the cause of our water problems, we need to take a small diversion into the fascinating realm of rural plumbing. When you have a well supplying water to your house, there's a pump connected to a pressure tank, which is then connected to the house's plumbing. When you turn on a faucet, you drain water out of the tank. When the pressure reaches a certain minimum, a pressure switch turns on the pump. The pump pumps water into the tank until the pressure reaches a maximum, at which point the pressure switch turns the pump back off.

Now, inside the pressure switch are little metal plates. To turn on the pump, the plates snap together, completing the circuit. To turn off the pump, the plates snap apart.

So, back to our story.

I went out to the well house (the small outdoor structure that houses the tank and switch) with my usual well-adjusting tools: pliers, screwdriver, gloves. I open up the well house and cut the power. I take the cover off the pressure switch and stare at it for a minute.

Hmmm I think to myself. The system pressure is 0 PSI, so the pump should have been running... And indeed the pressure switch plates had snapped together....

...or had they?

No! There was -- and I am not making this up -- a cake of DEAD, PARTIALLY SINGED ANTS between the metal plates. In fact, there were ants crawling around all over the pressure switch. So I used my screwdriver to scrape the plates off as well as I could. I couldn't get them perfectly clean because of the angle, but I figured it'd be enough to make contact.

I turned the power back on. Little blue sparks appeared at the pressure switch (burning up the last of the SUICIDE ANTS), and then half a second later, the pump sprang into action.

Now this raises some alarming questions:

Why didn't our government do anything to stop the SUICIDE ANTS from attacking our water supply?

And more importantly, who is behind this sudden sinister interest in pressure switches on the part of our hill-building friends?

I can see the headlines now:

"Ants attack water supply in Kansas... Is New York far behind?"

"Gitmo Intelligence Links Suicide Ants to bin Laden"

"Price of Raid Hits $200 A Barrel Amid Fears of Ant Attacks"

"5 Troops Deployed With Cans of RAID to Terrorist Ant Training Camps in the Pakistani Mountains"

"Thirsty Latchkey Children Forced To Scrape Dangerous Terrorist Ants From High-Voltage Switches Before Using Faucet"

"Is Your Water Safe? Watch the story about the latest threat tonight at 11"

"Small-town Kansas man detained for posting instructions for attacking rural water systems using ants"

17 April 2006

Martin F. Krafft: "What goes up must come down"

After three days of intensive city soaking, it was little surprise that Saturday and Sunday nights brought cats and dogs down from the sky, almost as if St. Peter up there also wanted to play along at the Songkhran festival, but came late. Preceeded by strong winds, the rain on Saturday caused everyone to hurredly pack up their booths, leaving the wonderful markets deserted that night. Fortunately, Sunday's rain wasn't so strong, and the famous Sunday night market in Chiang Mai did take place after all -- when the first showers had settled, almost all merchants came back out onto the road and the shopping could continue. I witnessed a funny moment on the market in the afternoon: the speakers, which are installed on almost all lamp post and sometimes blast horrid music onto the streets, started playing the national anthem. In response, everyone stood up and still for its duration, almost as if time had been frozen. When the last chord stroke, the the people continued at what they were doing and the familiar buzz was quickly restored. We spent yesterday in cooking school, the same one I had been to a year before: the "Thai Chocolate Cookery Centre", which I can recommend to anyone. I chose this place again because I did not want to run the risk of ending up at one of the tourist ripoff places, but next time I shall try a different one; apparently there's a cooking school outside the city on a farm, where yuo get to harvest all herbs and fruits yourself prior to the cooking, instead of the market tour commonly done in the beginning of the day. On our way home, stuffed after 8 dishes of Thai food spread throughout the whole day, we stoped by our guesthouse from last year: the "Chiang Mai Garden Guesthouse", to say hello to the owner, Pissamorn. I was happy to find her remembering me, and all the more happy when she honestly advised us not to try "just any bamboo rafting" -- I had been spoiled by the trek she organised for us last year, which involved a morning of bamboo rafting down a river from the middle of the jungle, which you cannot reach by car. I have no problem believing her that the other travel agencies which organise rafting trips dump you just somewhere along a road on slower rivers with a far less beautiful scenery. Unfortunately, neither time nor the heat really allow us to go on the three day trip through the jungle, so we postponed the rafting to our next trip. Nevertheless, I feel very good about having Pissamorn as a reliable contact in Chiang Mai, for future trips, and in case of any problems! She also referred us to a Thai silk factory and told the owner to treat us with respect, so today (Monday), we let them pick us up and placed an order for a bunch of comfy trousers, and some silk button-down shirts; Aline got herself a nice blouse and a wonderful dress. We now have two and a half days left in Chiang Mai and have no real plans. A 1-2 day trip to Pai still seems like an option, but it's supposed to be unbearably hot up there. We'll see. A keep having recurring thoughts about my dream to move to Southeast Asia (Hanoi, to be exact) to start a computer school, and even though there are no concrete plans yet, I feel like my motivation to finish the Ph.D. rather sooner than later is on a steep incline. I could imagine tearing down my "tents" in Switzerland and to go to Vietnam for half a year or a year of language school, then see whether I manage to meet the right people to allow me to set up an existence. Alongside the computer school, my dream includes visions of a nice and comfy guesthouse where you get what you pay for, concentrating on quality rather than quantity, which by the way is what the Chiang Mai Garden Guesthouse seems to be doing. For me, that's the only way to go about anything if you want success and satisfaction, be it consulting, teaching, or a guesthouse in Asia. Again, thanks for reading along.

Andree Leidenfrost: mindi 1.07 & mondo-2.07 Packages

are available from the Debian unstable repository. It's i386 only atm, but amd64 is hopefully going to follow soon. In fact, I'm writing this from a restored amd64 installation.

The upstream ChangeLog can be seen here: http://www.mondorescue.org/.
.

The main Debian changes are:
  • package reorganisation to adjust for upstream changes
  • fix for #357785
  • fix for #331060
  • fix for broken '-I' and '-E' parameter handling (from SVN r468)
  • fix for verify via NFS not working
  • fixed compiler warnings on i386
There is still a handful of 64 bit related compiler warnings because the code wrongly assumes that pointers are 32 bit and can thus be cast to int that I am not sure about how to best fix:

newt-specific.c: In function 'popup_changelist_from_file': newt-specific.c:1651: warning: cast to pointer from integer of different size mondo-rstr-newt.c: In function 'redraw_filelist': mondo-rstr-newt.c:1007: warning: cast to pointer from integer of different size mondo-rstr-newt.c: In function 'edit_mountlist_entry': mondo-rstr-newt.c:1374: warning: cast from pointer to integer of different size mondo-rstr-newt.c: In function 'redraw_disklist': mondo-rstr-newt.c:2506: warning: cast to pointer from integer of different size mondo-rstr-newt.c: In function 'redraw_mountlist': mondo-rstr-newt.c:2538: warning: cast to pointer from integer of different size mondo-rstr-newt.c: In function 'redraw_unallocpartnslist': mondo-rstr-newt.c:2575: warning: cast to pointer from integer of different size mondo-rstr-newt.c: In function 'redraw_varslist': mondo-rstr-newt.c:2610: warning: cast to pointer from integer of different size

Other than that things have been tested successfully on amd64 with kernel 2.6.16-1-amd64-k8 using NFS as backup media and on i386 with kernel 2.6.16-1-k7-smp using both NFS and DVD as backup media.

With the etch freeze still some time away, I'll try to focus on the following issues in the given order:
  1. get RAID and LVM to work - this is by far the most important task and there are numerous bugs in BTS
  2. improve FHS and other compliance, in particular default the location of the scratch and tmp directories to something sane (cf. #312546) and move the location of floppy and ISO images away from /root and make it configurable (cf. #222065)
  3. fix things so that NTFS restore leaves Windows in a bootable state rather than requiring the workaround using gparted - this may require switching things from fdisk to parted which Bruno doesn't like much...
  4. IA64 support for mondo - depends largely on what happens upstream and probably also on whether I can get my hands on an Itanium box that I can actually reboot and restore...
  5. general clean-up and wishlist stuff
I think I'll be quite happy if 1. and 2. are done before etch freezes (and all new bugs are addressed as well). We'll see.

16 April 2006

Clint Adams: Old man sitting on the white sand

Up in the Catskills, the sun sometimes shines on a cairn. Sometimes it shines on people near that cairn. Sometimes people roll cigarettes while eying that cairn suspiciously, and sometimes one of those people has two eyes whose colors differ. This person may like David Bowie, and he may be from eastern Massachusetts, and he may like to regale his ex-girlfriend with stories of the Japanese girls he conquers in Canada. All that happens in the shadow plane, with the pale shapes, and time will not be what it seemed. Yet closer to the center of the Earth runs a stream, the centerpiece for a suffusion of lush, vegetative growth. That place in the forest, devoid of signs of vertebrate life, transcends time in a much different way. There are other places like it, but they lack one important factor. For if I am to ask the question to bring it full-circle, who is left to answer me but the dead?

Daniel Stone: [tech/x] iz gtk boog

Everyone on #xorg-devel has seen me harassing people about our current stats with bugs. If anyone with knowledge of the X codebase felt like coming in and doing a bunch of really painful, unrewarding, triage work, it'd be massively appreciated. That NEW line should really continue plummeting down! On that note, I'd like to publicly big up Erik Andren in particular, for doing a ton of awesome triage work so far to help us get that graph down, and help beat our Bugzilla into something usable that helps us, rather than its current awfulness.

Wichert Akkerman: Using a seperate Data.fs for the catalog

It has been argued that it makes sense to use a seperate ZODB to store a catalog for Zope sites. So far I have not been able to find any benchmarks that substantiate this claim. Without doing any benchmarks I can think of three reasons why this makes sense: It would be nice if someone can extend this list and do benchmarks proving that this ZODB split indeed helps (or that it does not in which case a lot of us can simplify our setups). Update: alecm mentioned a very good reason: catalog searches, which can wake up a large amount of small objects, should not cause other objects to be pushed out of the cache.

15 April 2006

Martin F. Krafft: Booking the remainder of my trip

This third day of the Songkhran festival in Chiang Mai, we again failed to stay dry, but escaped the fury a bit with a two hour river cruise, including a visit to an herb garden, and an expedition to the zoo. The zoo was unlike anything I would have expected, but showed how lazy the Asian people really are: most animal cages were accessible by car, and it was somewhat foolish of us to try to reach the aquarium by foot, but we were lucky to have a friendly Tai give us a lift with his pickup. We also witnessed the feeding of a panda bear, which is apparently a rather rare animal, or at least that's the way it was hyped to be. My favourite was the black panther in a cage with a leopard, in between the tiger and one of the very rare white Bengalese tigers. This tiger's skin is white and thus makes it rather difficult for it to attack in the wild. I described it as a evolutionary permutation with low fitness. Aline claims that these tigers are artificially bread these days, which makes it all the more peculiar. We returned to the city for another round of splashing bveefore stopping over at Julie's Guesthouse, the place where I was to meet a lady running clothing and other support items to refugee camps. It turns out that this is a programme by D.A.R.E., in which her guesthouse participates, running the goods to the Burmese refugees living in Thailand. The clothing I had brought along are destined for people in Burma though (there is surely an equal need), so I guess my options are down to a single one: take them with me, skip the monestary, and travel the country myself. So today I went ahead to buy my next two air tickets: I am flying out of Chiang Mai to Mandalay on the 20th, and I return to Bangkok from Yangon on the 4th of May. That will give me more or less 13 days in Burma (I am calling it Burma now, not Myanmar, since that is what the Burmese and the Thai people use) to get from Mandalay to Yangon, and having heard a bunch of times now that travel within Burma isn't all that easy, I figured out a way to do it: I shall spend a few days in Mandalay and meet some people, then hopefully find a student with good English skills to embark with me on the journey, meaning I will pay travel and hotel expenses for him/her, in addition to a flat, daily "wage". Until then, Aline and I have 4 full days left in Chiang Mai, so the 1-2 day trek has once again risen high in my list of priorities. Tomorrow, we are going to cooking school, and there is also rock climbing, a go-cart track, and various other things to keep us occupied. Thanks for reading along.

14 April 2006

Ian Murdock: What does it mean to be a paying customer in Web 2.0?

Stephen O’Grady is wondering whether Google Calendar finally represents a solution to Redmonk’s calendaring woes. The downside?
Well, as Ian learned recently, you’d apparently have to be a “dipshit” to trust free services with “CRUCIAL” data (apparently your personal emails and such aren’t crucial). While I don’t buy that argument at all, nor do I fully trust services that I’m not paying for. That, more than any other reason, is why I believe Google ultimately will roll out for-pay services: folks like me are more than willing to pay for them, if the price is right.”
Stephen has a great point, and I agree wholeheartedly. I’m not going to fully trust a service provider unless there’s some financial incentive for them to provide reliable service—in other words, I’m a paying customer who can take his business elsewhere if the service isn’t up to par. But am I not a paying customer of Google already? As Steve Gillmor has said time and time again, Google makes money (boy, does it make money) by selling my attention to its advertisers. Just because I’m not forking over $59.95 per year or whatever directly to Google doesn’t mean I’m not paying for the service they’re providing me. To my mind, this is a whole lot like ABC vs. HBO. ABC makes money when I watch Lost, just like HBO makes money when I watch The Sopranos. They just have different ways of doing it—in other words, different business models. In earlier posts, I opined that perhaps the software-as-a-service model isn’t viable if the service providers aren’t willing to make quality of service guarantees, you know, like “we won’t lose all your stuff if you put it here”. Now that I think more of about it, though, it’s more accurate to say that it’s the advertising business model that isn’t viable. I don’t see too many people worried that they’re going to wake up one morning to find all their data is gone from Salesforce.com. So, can Gmail, Google Calendar and related software-as-a-service offerings really only have quality of service guarantees with a subscription business model? For Google’s sake (which, after all, derives 95%+ of its revenue from advertising), I sure hope not.

13 April 2006

Martin F. Krafft: Why Thai massages hurt

Naturally, in Thailand you ought to try a Thai massage. If you do, it's best to ignore all the things you ever heard about them, as that might stop you otherwise: the Thai massage is painful for a number of reasons, but one is the most prevalent one, at least for me. The idea of the Thai massage is that of "passive yoga." The masseur (or more likely, the masseuse) will knead your muscles beyond the point of comfort (unless, of course you tell them to keep it down, which I never did). They will bend your body, stretch it in ways you didn't think possible, crack your joints, rearrange your spine, and finally massage your head as if they are trying to make up for all the pain. However, all this is very bearable. What kills me each time I let a Thai massage me is the fact that the Thai apparently don't have hairs on their legs and arms. I do, however, and it's kinda hard to relax and breathe calmly while these hairs are being pulled every time he (or she) grabs part of my leg (or arm) to knead or twist it. But I'll do it again, and I recommend everyone who has the chance to try it -- at least once.

Martin F. Krafft: Soaking the city

We spent eight hours today, starting at around 10:00 o'clock, completely soaked with water. I had read about the Thai New Year celebration "Song Khran," but I would not have believed it to be as extreme as it turned out to be. But let me start where I left off: Phitsanulok. Following the recommendation of the director of the lower northern Thailand Tourist Authority (TAT), we spent the evening by the river running through Phitsanulok, where the Thai were celebrating the "food festival" -- it seems to me that the Thai, or Southeast Asian folk have a festival for almost anything to make it around the year... The road along the river was banked with little booths selling just about everything, from edible to handicrafts, with fair booths offering games such as darts, jumping castles, and live bands in between. Strolling around, we had a bite of the most appealing things -- I did stay away from roasted cockroaches, maggots, and other bugs this time, for I had already sampled them in Vietnam and felt no particular need to repeat the experience, although it was not revolting back then at all: it's just a little meat with a lot of crust that you don't want to eat, and the taste isn't particular. An excellent meal of noodles with some sort of sweet-spicy sauce, together with a beer and the company of some young Thai boys ended the evening for us and we returned to our hotel rather soon, with the intention to get up early to finish our errands and make a run for Sukhothai. So with our plane tickets and some fresh cash, we set out for "Sgt. Tawnee's Folklore Museum", a private collection of traditional Thai "things" -- tools, traps, toys, instruments, clothing, ... just about everything... Sgt. Tawnee was a poor soldier who realised that people were forgetting about how their ancestors went about to solve everyday's problems and consequently started collecting anything and everything -- a truly remarkable and beautiful collection! After a so-so Thai massage (see forthcoming blog entry), we quit the city by bus to arrive in Sukhothai about an hour later, where we were met by the pickup van of the guesthouse we had booked, also following the recommendation of the TAT director: we are staying at the Ruean Thai Guesthouse, a place with cozy rooms, a swimming pool, and very friendly staff, for about 10 EUR a night -- the best guesthouse I have been to in three vacations in Southeastasian countries, three thumbs up, I can recommend it to anyone coming to the area! We had just settled and taken a shower when the hotel clerk notified us that the director was waiting downstairs to take us to the "light show". We boarded his van, together with his family and colleagues, and drove about an hour to Srisatchamalai Historical Park, where we arrived just in time to witness an impressive ceremony, part of the New Year celebration: old people were sitting in rows on chairs, and younger folk passed from one to the next, pouring drops of water into their hands as a form of respect to the elderly to help them stay cool in the dreadful heat of the month. Naturally, we lined up and did as the others did -- and found us filmed and greeted by a television crew afterwards for an interview. Not wanting to be a burden to the director and his family, we followed the suggestion to stroll around in the park for about an hour, until we returned to the agreed meeting point. There, we found that mats had been rolled out on the lawn in front of one of the temples, and maybe 200 Thais were sitting and dining. The director invited us to join them, and we enjoyed Thai cuisine until dusk, when everyone got up for the national anthem and the show began. At first, a famous Thai singer (so we were told) performed a couple of folk songs and we learnt that, (to my knowledge) unlike European folk songs, the Thai sing songs telling real events in history. A fashion show of old, traditional Thai clothing followed, and finally, the stage was set for a performance of the history of Sukhothai. People were all over the place, fighting, dancing, or just "ruling" (as the king(s) would do), and a voice recounted the story, which one of the director's daughters translated for Aline, I was busy taking pictures. Fireworks accompanied the scene, along with flying objects consisting of a real flame underneath a balloon made of rice paper. Most flew high and far away, some got stuck in trees and went up in flames. After the show, I had a chance to see some of the costumes and must say that I am deeply impressed, not only by how Thai people used to dress, but also by the love and care the people put into the show to make it as authentic as possible. Interestingly, only one other tourist ("fallang") was at the event, something the tourist director wants to change in the future -- good thing we witnessed the "pure event"... I seem to prefer places not frequented by tourists, and in the Thais seem to be continuously surprised that we are not heading for the beaches in the south following our time in the north. Back at the hotel, we fell into bed, exhausted from the day and the nightswim in the pool. I got up this morning to find my ear clogged with water -- must have been the late swim. The guesthouse owner insisted to take me to a pharmacy to find some eardrops, and I hope this nuisance will go away soon. We rented a motorcycle for the day and headed in direction of the old Sukhothai city, or the Sukhotai History Park, as it is also called. Waiting for our photo chip to be beamed to CD, we made our first encounter with the way young people like to celebrate the New Year (which officially started today): all over the city, people rode around on the back of pickup trucks, emptying buckets of water over other people. We bought ourselves a water gun and plunged in for the fun. It didn't take 30 minutes until we were soaked, but nothing could stop us. The old city is maybe 10 kilometres away, and the drive was the most unforgetable motorcycle ride I'd ever had: all along the sides of the road, people were filling buckets and splashing everything that passed -- being on a motorcycle with merely a water gun, and as "fallang" (foreigners), we were naturally the primary target for just about everyone, so by the time we had reached the city, we had soaked up half an ocean each. We stopped by a group of kids, gave our water gun to the smallest one, bought a new one, and teamed up with them to fight the passing vehicles. Oh what fun! Dripping, we made our way to the park after a while, and strolled around some temples, the market, and many more water fights. Even though the water obscured the heat, we still didn't feel like taking the barrels of water we had collected for a walk and didn't last too long before we were on our way back, destined to stop again with our allies (the kids) to make sure no car and no passenger got by unwashed. The Thai also crumble up chalk, mix it with water, and smear it into each other's face -- you can imagine how we looked like after a few minutes: soggy and chalked. Finally, we made a run for the hotel and got back at about 16:00 o'clock for the first time of feeling "dry" in eight hours. Now, after some time at the pool, we are loathing for dinner but daren't go for the city as we are wearing our last set of clean, dry clothing; I doubt the Thai lay their buckets to rest at seven and call it an evening. Fortunately the hotel offers food too, so we'll likely be boring and stay in. Tomorrow morning is our flight to Chiang Mai for more of the wet fun. I'll keep you posted. Thanks for reading along.

Wouter Verhelst: X.Org 7

If you're using Debian unstable on powerpc and haven't done your update today yet, might I suggest you hold off on that for a few days?
apr 13 09:14:28 <Yoe>	xorg 7 also seriuosly messed up fonts
apr 13 09:14:48 <Yoe>	"display" from imagemagick doesn't work anymore, and neither does rxvt-unicode
apr 13 09:15:02 <Yoe>	so how am I supposed to do *anything* useful, now? ;)
apr 13 09:15:04 <simonrvn>	i've been using 7 from experimental, so i had to change my fontpath in xorg.conf
apr 13 09:15:10 <simonrvn>	was
apr 13 09:15:19 <Yoe>	oh?
apr 13 09:15:36 <simonrvn>	/usr/share/fonts/X11
apr 13 09:15:39 <Yoe>	is that documented somewhere?
apr 13 09:15:42 <Yoe>	ah
apr 13 09:15:55 <simonrvn>	might be, not sure
apr 13 09:16:16 <Yoe>	hmm
apr 13 09:16:16 <simonrvn>	though don't remove the old ones, add those, since some of the packages still use the old path
apr 13 09:16:26 <Yoe>	well, not here, aparently
apr 13 09:16:36 <Yoe>	my FontPaths all point to /usr/lib/X11/fonts/misc,
apr 13 09:16:37 <simonrvn>	if it is, either BTS or one of the READMEs
apr 13 09:16:44 <Yoe>	s/misc//
apr 13 09:17:06 <Yoe>	and /usr/lib/X11/fonts is a symlink to '../../share/fonts/X11'
apr 13 09:17:11 <Yoe>	which does not exist.
apr 13 09:17:27 <ejka>	Yoe: dpkg -l xfonts-base
apr 13 09:17:41 <Yoe>	that's installed
apr 13 09:17:53 <Yoe>	... but still the 6.9.0 version
apr 13 09:17:53 <ejka>	Yoe: version
apr 13 09:18:04 <simonrvn>	l /usr/share/fonts/X11/75dpi: -rw-r--r-- 1 root root 4.1K 2006-04-11 00:32 charB08.pcf.gz ....
apr 13 09:18:41 <Yoe>	ah
apr 13 09:18:51 <Yoe>	xfonts-base depends on xfonts-utils, which isn't available (yet)
apr 13 09:18:59 <Yoe>	so I s'ppose I'll need to wait another day
apr 13 09:19:02 <Yoe>	(powerpc here)
apr 13 09:20:25 <ejka>	Yoe: for now you can add fontpaths /usr/X11R6/lib/X11/fonts/ misc,... 
apr 13 09:20:49 <simonrvn>	xfonts-utils *just came in to ppc today (sid)
apr 13 09:20:55 <simonrvn>	*just*
apr 13 09:21:10 -->	gismo (i=luca@129.194.56.110) has joined #debian-devel
apr 13 09:21:37 <Yoe>	right
apr 13 09:21:42 <Yoe>	brb, restart X server
apr 13 09:21:43 Tcl interface unloaded
apr 13 09:21:43 Python interface unloaded
**** LOGGEN GESTOPT OM Thu Apr 13 09:21:43 2006
Hah.
wouter@country:~$ startx
bash: startx: command not found
wouter@country:~$ X
X: cannot stat /etc/X11/X (No such file or directory), aborting.
wouter@country:~$ su -
Password: 
country:~# apt-get install xserver-xorg
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  xserver-xorg: Depends: xserver-xorg-core but it is not installable
                Depends: xserver-xorg-video-all but it is not going to be installed or
                         xserver-xorg-video but it is not installable
                Depends: xserver-xorg-input-all but it is not going to be installed or
                         xserver-xorg-input but it is not installable
E: Broken packages
country:~# apt-get install xserver-xorg-core
Reading package lists... Done
Building dependency tree... Done
Package xserver-xorg-core is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package xserver-xorg-core has no installation candidate
country:~# apt-get build-dep xserver-xorg-core
Reading package lists... Done
Building dependency tree... Done
E: Build-Depends dependency for xserver-xorg-core cannot be satisfied because no available versions of package libxmuu-dev can satisfy version requirements
Believe me, it's painful to have no X server available. Update: okay, by getting packages from experimental I've been able to get myself a somewhat working X again. Except that xkb doesn't load my modified keymap, which is horrible, and setxkbmap refuses to do anything when I say "setxkbmap wouter" and, on top of that, quits by segfault for good measure. I'm hoping that's fixed in the version that's been uploaded to unstable, but I can't check that—at the time of writing,buildd.debian.org doesn't even have a log file for some of the xorg stuff yet. Though some parts are in the building state at this very moment...

Matt Brown: 2.6 Suckiness

Has anyone else noticed a sharp decline in the quality and stability of the 2.6 kernels recently? I know that they’ve supposedly done away with “stable” releases and changes are being merged from the development trees straight into the 2.6 mainline, but surely we can still expect some level of stability. I’ve run into some fairly major problems lately. In early December I tried to upgrade our Biscuit PC distributions kernel package from 2.6.13.1 to 2.6.14 but was stymied by the fact that 2.6.14 seems to have completely removed support for building out of kernel modules against the kernel headers only, the full kernel source is now required to be present. This does not play nicely with Debian kernel packages. I haven’t had time to try 2.6.15 yet to see if this change has been reverted, but its a fairly major thing to drop support for and completely removes the ability for me to build packages for external drivers like madwifi. Today I was upgrading a machine with software raid from Woody -> Sarge and proceeded to upgrade the kernel too. I pulled down a copy of 2.6.15.4, ran make oldconfig and then verified that all the crucial options were still selected (raid, promise controller, e100, etc). make-kpkg, dpkg -i, reboot. BANG.

VFS: Cannot open root device "md0" or unknown-block(9,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(9,0)

A quick investigation revealed the promise controller as the source of the problem

PDC20267: IDE controller at PCI slot 0000:02:0e.0
PDC20267: chipset revision 2
PDC20267: ROM enabled at 0xf4640000
PDC20267: 100% native mode on irq 22
PDC20267: neither IDE port enabled (BIOS)

Now, the Promise controllor is certainly not disabled in BIOS, and 2.4.21 manages to boot off it just fine so what is wrong with 2.6.15!? Google suggested that I needed to enable the PDC202xx_FORCE option, (which was enabled in 2.4.21 but in 2.6.15 is only available if you happen to select the completely unrelated driver for the next model up promise card to what I have - a bug that has apparently been acknowledged since 2.6.9 but still not fixed!!), however that made no difference whatsoever. After a couple of hours of fiddling around with various kernel settings and boot options (did I mention this machine is 200km away from me…) I gave up and started trying early kernel versions starting with the existing 2.6.13 kernel I was using for the Biscuit PC distribution, which worked first time. So far I’ve not been able to find any other reports of problems with 2.6.15 and the Promise drivers, but from what I saw today they are completely non functional. The common argument I seem to hear when I usually mention this subject (2.6 suckiness) is “but you should just use your distributions kernel”, to which my reply is “but I do…”, for my desktop. The standard Ubuntu kernels work great and I have had no reason to meddle with them. However my desktop needs are a far cry from what I need to be able to do for the servers I maintain at work, or the kernel packages that I need to build for our BiscuitPC distribution. I’m certainly not one of those gentoo type people that need the latest and greatest the instant that it comes out, and I don’t try and run the latest kernel just for the sake of it. But the fact is, new kernels bring new features (not to mention bugfixes and security patches) that are frequently needed, especially in the networking and wireless areas. When I have to spend several days debugging and testing every time we need a new kernel only to find some critical flaw that prevents us from using it I have to stop and wonder whether the current kernel development process is working. Have others had similar experiences with 2.6 kernels recently, is the fact that the latest kernel-image I can find in sid is 2.6.8 confirmation that it’s not just me, or am I really just overly angry due to the hours I’ve spent battling 2.6 lately? Update: Several people have pointed out that I failed to look for linux-image instead of kernel-image and that 2.6.15 is already in sid. My mistake. And yes, I do plan to file bugs, not just rant, but sometimes you need to vent first :)

Christine Spang: Some Things I Learned at MIT s Campus Preview Weekend

12 April 2006

John Goerzen: Tuttle: Neither Gone Nor Forgotten

So just when I thought the whole Tuttle story had wound down, more starts appearing.

The Register has a new article: Only "freaks" waste their time with Linux in Oklahoma. In it, they posted a video clip from an Oklahoma TV station that called Tuttle "an international laughing stock." Quite a funny little piece. The Register also mentioned that the Tuttle city manager left work when he heard a TV crew would be there to interview him. Favorite quote:

Instead of a website, Taylor discovered an Apache server configuration page that mentioned CentOS. He's an Oklahoma man, and the Apache feather must have proved frightening.


Today's next little piece of fun is this page at the Tuttle Times. Look on the right, under Links. See the link that reads "Example of CentOS test page"? Notice where it points to. Yes, that's right, www.tuttlechamber.org. Click on it, and sure enough, up comes the infamous test page. So the Tuttle Chamber of Commerce apparently is getting ready for round two...

And while we're speaking of the Tuttle Times: they have published a letter to the editor from Johnny Hughes, the CentOS lead developer that was on the other end of those exchanges with Tuttle. I think Johnny wrote an excellent little piece there.

And finally, another funny headline from the Tuttle Times homepage: "Prosecution attorney presents complete case." I am glad to hear that at long last this terrible scourge of incomplete cases has been brought to an end. But beware, this shocking story is not over yet! The next article is "defense raises compelling questions." Another first for Tuttle?

Daniel Stone: [tech/x] xlib abortions

Joe muses about Xlib and connection aborts. Two things:

Yes, libX11 is going away. It's unfixably broken (not only is the implementation utterly horrendous, but the concept is exactly what toolkits don't want), and we can't change existing behaviours because libX11 is just one of those API/ABIs you cannot break.

Yes, the ability to recover from connection aborts is essential. D-BUS is broken in the exact same way, yet some people feel inclined to defend it (e.g. mandating reboots when either of the D-BUS daemon, or libdbus, are upgraded; advocating segfaults in client applications when the bus dies as the right thing to do?!?). I don't think either behaviour is in the least bit sensible, and it would be really keen if both could be fixed (by using XCB in toolkits for the former, by fixing libdbus to be less obnoxious for the latter).

Matt Brown: Loading GPG / SSH Keys from a USB Key, Round 2

Back in January I talked about setting up some scripts to automatically load ssh/gpg keys into the appropriate agents when you plugged in a UBS key. I had quite a number of people ask me for my scripts, but they just weren’t quite ready. I’m still not entirely happy with the solution that I’ve come up with, but I figure its working well enough to get some feedback now. It’s based very heavily on the usb-storage script originally written by Sean Finney, so I think that means I owe him Pizza now. However while its based on the usb-storage script it has changed in a few major ways: The mounting of the partition is the key change and I’m still tossing up whether the way I’m doing it is best or whether I should return to having it handled by the script. The primary reason for changing it was to allow the partition to be mounted in a stable location (as opposed to a random directory under /var/tmp) so that I could symlink from appropriate places in my home directory to the partition on the key. The symlinking is needed to keep GPG happy as the gpg-agent seems to store only the passphrase and requires access to the private key whenever you need to sign/encrypt something. The way ssh-agent works is much nicer in this respect, in that once you’ve loaded a key into the agent it doesn’t need to refer to it on disk again. Currently I’m using autofs to mount the partition as needed and this seems to be working well. It’s probably possible to go back to mounting the partition at a stable location from within the script without too much hassle. You can grab the script from http://www.mattb.net.nz/debian/misc/manage-keys The remaining details for my configuration are below: First, setup udev to rename the key partitions to a static name and then fire the script at the appropriate times
/etc/udev/rules.d/usbkey.rules

ACTION=="add", KERNEL=="sd?2", SYSFS serial ="A0494386139B005B", NAME="%k", SYMLINK="usbkeys", RUN+="/usr/local/bin/manage-keys"
ACTION=="remove", KERNEL=="sd?2", RUN+="/usr/local/bin/manage-keys"
Then setup autofs to mount the partition on demand
/etc/auto.master

/media/usb /etc/auto.usbkey --timeout=10

/etc/auto.usbkey

keys -fstype=ext3,ro,noatime,nosuid,nodev :/dev/usbkeys
I keep only id_dsa and secring.gpg on the key and symlink from the appropriate places in my homedir to /media/usb/keys/

matt@argon:~$ ls -l .ssh/
total 76
-rw------- 1 matt matt 612 2006-04-12 22:45 authorized_keys
-rw-r--r-- 1 matt matt 2694 2006-04-12 22:46 config
lrwxrwxrwx 1 matt matt 22 2006-04-13 01:08 id_dsa -> /media/usb/keys/id_dsa
-rw-r--r-- 1 matt matt 612 2006-04-12 22:46 id_dsa.pub
-rw-r--r-- 1 matt matt 58851 2006-04-12 23:10 known_hosts
matt@argon:~$ ls -l .gnupg/
total 2336
-rw-r--r-- 1 matt matt 126 2006-04-12 22:56 gpg.conf
drwx------ 2 matt matt 4096 2006-04-12 23:07 private-keys-v1.d
-rw------- 1 matt matt 1175737 2006-04-12 23:29 pubring.gpg
-rw------- 1 matt matt 600 2006-04-13 01:51 random_seed
lrwxrwxrwx 1 matt matt 27 2006-04-13 01:08 secring.gpg -> /media/usb/keys/secring.gpg
-rw------- 1 matt matt 10560 2006-04-12 23:27 trustdb.gpg
And that’s basically it. The script takes care of the rest. The main problem I’m having with the script at the moment is that it doesn’t autolock the screen when you remove the key because gnome-screensaver-command is lacking the necessary environment variables to find the DBUS socket it needs to talk to its backend. Need to read up on DBUS/gnome-screensaver and sort out how to fix that tommorrow. Update: Updated example udev config so it doesn’t run a script out of /home

John Goerzen: It's been a little busy around here.

Saturday, I got Terah switched to Serendipity. Went well, though due to a heisenbug in Drupal involving hitting the Back button at certain times, her entire comment table had been wiped out. Fortunately there was a backup and restoration was easy.

And earlier last week I got an air compressor. It's amazing how much fun it is to have pressurized air on hand.

Did I say "fun"? I meant "useful", of course.

I'll have to write about that soon.

Plus, another potentially Really Big Project that I'll write about shortly.

Next.

Previous.