Search Results: "ean"

2 August 2007

Russell Coker: Xen Saves

A couple of days ago the hardware that is used to host this blog was upgraded - doubling the amount of RAM in the machine. To do this the machine was halted, memtest86+ was run to ensure that the new RAM worked correctly, and then it was booted up again. During that process my ssh session was not stopped! I merely refrained from typing anything until the upgrade was complete. This is one feature I really like about Xen. It can save the memory image of a running domain to a file and then restart it later. TCP sessions remain open if timeouts have not elapsed. The command xm save can be used to save the state to a file and the command xm restore will restore it. In Debian the location of the save files is stored in the file /etc/default/xendomains with the variable name XENDOMAINS_SAVE and defaults to /var/lib/xen/save. A quick experiment with one test domain (running Debian/unstable in 128M of RAM and had just run apt-get dist-upgrade so the memory contents would not be all zeros) showed that gzip -9 would decrease the file to 35% of it’s size at a cost of just over 1 minute of CPU time on a Pentium-M 1.7GHz. But gzip -3 compresses it to 37% and only takes 9 seconds. 9 seconds of CPU time to save 80M of disk space seems a reasonable trade-off. In my particular case it saves CPU time as the encryption I use for my root filesystem takes more CPU time than gzip -3 so compressing the data saves time. But I don’t expect my case to be common. Now when Xen is used on a more modern machine with a faster CPU gzip -3 has the potential to save time as well as disk space. A machine with a CPU that is in aggregate 10x faster than my laptop (I think that means most 64bit multi-core CPUs) running with a single S-ATA disk (that will have a sustained contiguous read speed of 80MB/s and write speed that is less) will save time when saving multiple Xen DomU’s if it runs them in parallel and compresses them. Also gzip is not the fastest compression program. There may be other options that are better suited to the needs of Xen. I have filed a Debian bug 435406 requesting that compression be supported.

Steve Kemp: You better stop the things you do

A year ago I setup a xen hosting platform, because I was selfish and wanted a lot more resources than I could otherwise buy within my budget. At that time I managed to setup a system which gave 7 users 256Mb of memory, 10Gb of disk space and 3 IP addresses all for 11.50 a month, or 138 a year. On the first anniversary I've managed to increase those resources such that our users can now have: All for the same price. One user decided to buy two accounts upon the machine, so that he could have a combined 512mb+20Gb account, and as the resources have increased this year this is no longer required - so we have a space free for one more user. Last year several people asked for accounts and I had to reject them - I don't want to be a hosting company I just want to have enough users to fill a machine so that I can be selfish and get a higher spec for myself! So if anybody who asked last year is still looking for cheap hosting there will be one space at the given spec and price available from this coming Friday / Saturday. (Unfortunately I must insist upon a years payment in advance.) Uptime last year was good I can recall two reboots with minimal notice, which is reasonable enough I think. You'll get as much support as I can offer, my mobile number, and a clean install of any Debian derived distribution. (The xen-shell package was developed for this service last year, and allows you to reboot your machine remotely, manage reverse DNS, and connect to the serial console if you break your networking. You'll be able to use that over SSH.) Please comment if you're interested - If there are more people interested I guess I'll work though the list in order of comments until somebody commits to paying.. Questions welcome,. TODO: Update website, get great testimonials about my "service" ;) Update: Space gone.

1 August 2007

Romain Francoise: Converting Debian packages from dpatch to quilt

I've been using quilt a lot at work recently (in a non-Debian environment), and I've been enjoying it very much. So much that I've decided to convert my Debian packages to it, from dpatch. Once you're used to quilt, using dpatch is almost literally painful. :)

There doesn't seem to be a ready-made guide on how to convert packages from dpatch to quilt, so here's how to do it painlessly in five easy steps:
  1. Install the quilt package (duh) and make sure that the QUILT_PATCHES variable is set to debian/patches in your shell environment. Or you can set it in your ~/.quiltrc file instead (see this post for other interesting settings).
  2. Delete the build dependency on dpatch from your debian/control file, replacing it with a dependency on quilt (>= 0.40).
  3. In your debian/rules file, include /usr/share/quilt/quilt.make instead of /usr/share/dpatch/dpatch.make.
  4. Convert all your dpatch files by using the following command from your package's top level:
    for p in $(dpatch list-all); do \
    quilt import -P $p.diff debian/patches/$p.dpatch; \
    quilt push; \
    done
  5. Delete dpatch files:
    rm -f debian/patches/00list debian/patches/*.dpatch
And that's pretty much it! You'll probably want to clean up the headers of your debian/patches/*.diff files since they'll still contain some dpatch markers. You can now build your package as usual. To edit a patch, use quilt push <patch>, quilt edit <file1> <file2>, finish with quilt refresh to save the patch.

For more information on how to use quilt, read the tutorial, it's in /usr/share/doc/quilt. You won't regret switching!

31 July 2007

Adrian von Bidder: Debian Press Clippings

I am subscribed to the Google news alerts for the keyword Debian, and usually this means that I am notified of every security upgrade at least three or four times (needlessly, since I'm subscribed to Debian's security announcements anyway...) But today, two headlines sparked my interest: One, Carla Schroeder wrote an introductory article into building Custom Linux kernels with Debian and Fedora (though why somebody would want to do this is beyond me...), showing how easy the process is (I may be biased, but I find Debian's way is easier. On the other hand, it within the -- rpm -- package framework instead of a custom command -- make-kpkg in Debian -- feels more consistent and logical. Without reading documentation you won't get anywhere on both systems, so it probably doesn't matter...) One down for Carla, however, for not doing enough basic research: “The new naming convention [linux-* instead of kernel-* packages] opens the door to using other kernels with Debian, which I don't know what those would be, but Debian is ready for them.” Or one down for us, the Debian project, for not making enough noise around the various non-Linux ports. Though that will come when GNU/kFreeBSD is released with lenny... Two, Debian derivative SimplyMEPIS, which switched to Ubuntu as a base operating system a year ago, is now returning to Debian GNU/Linux as its base system. The main reason seems to be long term stability and upgradeability - which is a key strength of Debian for many other users as well (me, for one.) The reason for switching to Ubuntu in the first place has been newer application versions and predictable upgrade schedules (and that Warren Woodford misunderstood how Ubuntu LTS was to be maintained, apparently) -- both issues are being addressed within Debian as we get better release management and faster integration of new application versions (the big pieces of software I use regularly are the Linux kernel, X.org, KDE and OpenOffice.org, all of which I find are integrated in unstable fast enough, and much faster than 2 years ago. That the testing migration sometimes takes time is not a problem since mixing etch, lenny and sid is usually possible without problems even in a production (desktop) environment.) So, if we take a step back from the day-to-day squabbling between developers working at cross purposes and look at the output we produce, I believe we're still doing some things right.

30 July 2007

Enrico Zini: lastsupper

Leonardo's "Last Supper" A lovely article mentions that:
superimposing the Last Supper with its mirror-image throws up another picture containing a figure who looks like a Templar knight and another holding a small baby.
Apparently all the websites showing the resulting image were heavily slashdotted, but superimposing a mirrored image is not rocket science, so I gave it a try. The result has nothing to do with Templar knights, but is shows very clearly that Jesus becomes Chtulhu: Jesus with superimposed mirror image Excited by this finding, I looked for more. I could not find much in the Mona Lisa: Mona Lisa with superimposed mirror image But indeed the Vitruvian Man after superimposing a mirror image shows incredibly large balls: Vitruvian Man with superimposed mirror image Leonardo was Italian, and in Italy "growing big balls" means "getting very tired and sick of something". This is clearly a very deep message from Leonardo. But why stop at Lenoardo? Teomondo Scrofalo with superimposed mirror image Absolutely wonderful.

Russell Coker: Hot Water

A response to a post I wrote about things to do for the environment suggested that there would be a health risk to lowering the temperature of a home hot-water system to save power. I have just been reading about so-called tankless hot-water systems. The concept is that instead of keeping a tank of water hot (which means that you lose some energy due to the insulation not being perfect) you heat water when you need it. The down-side to this is that you need a moderate amount of power to heat water as rapidly as it’s used. The GoTankless.com products use between 11KW and 27KW of electricity. The early implementations of this idea used gas - the occasional carbon-monoxide problem with gas appliances makes me inclined to avoid them so it’s good that there’s an electric option. One of the benefits of the tankless system is that it runs the water at a lower temperature than a regular hot water system. For a tank storing hot water you have to run it at a temperature that kills bacteria (or at least dramatically inhibits their growth) - which means greater than 50C, but for on-demand water it’s safer to have it run at something close to the desired temperature (probably not much above 40C) and not use the cold tap. Lower temperature water avoids the risk of scalding for children and the elderly and if the “hot tap” is running at a good temperature for a shower then you can just turn it on, wait 30 seconds for the pipes to warm up, and jump in! Incidentally it really sucks the way most showers have the taps under or behind the flow of water, so if the water becomes too hot before you get in then you end up getting minor burns in the process of turning on the cold tap. I still think that solar hot water is the way to go. It apparently combines something like a tankless system on water that comes out of a tank heated by the sun. So during winter it operates like a tankless system but in summer you get more hot water than you can use. This web site about Solar hot water systems indicates that they have a similar technology to “boost” solar hot water, so if the Sun doesn’t make the water hot enough then it can use electric or gas systems to further heat the water. It’s also interesting to note that they offer Heat Pump hot-water systems, it’s a pity that they apparently don’t support combining this with solar heating. Another interesting feature is what they call the Water Guardian that pumps cold water from the pipes back into the water tank and avoids wasting the water that you might otherwise run down the sink while waiting for it to get hot.

Patrick Winnertz: Troubles concerning virtualbox

The laste week I started to work further on the (rejected) virtualbox package. The reason for the reject was that there were some license issues (the tarball contains code (c) Microsoft ... which has to be considered non-free). After working around this issues I found several other issues as missing copyright statements in some files (which makes them non-distributable) and some other problems concerninc the license of this piece of code. This is blog entry is meant to show that there is still work in progress :) Every other problem concerning virtualbox is removed, but I guess we'll have to wait for 1.5.0 for debian until innotek has remove these license issues. :S Maybe we'll can work around this license issues, but sadly I guess not :S

Evan Prodromou: 11 Thermidor CCXV

It seems like everything's coming up wiki these last few days. I guess it's just part of going to Wikimania -- wiki is in the air. For example, I'm glad to see that Wikispaces now supports OpenID for login. That's excellent news for the wiki world -- Wikispaces joins a growing number of wiki projects and wiki providers who support OpenID: WetPaint, Wikitravel, wikiHow, AboutUs, and many others. OpenID is really coming together as a global sign-on for wikis. This is good news, because it means we can start talking about distributed reputation systems for wikis, making for one big wiki family. I think it would be great if Wikipedia and Wikia were ready to come on board with OpenID sometime soon. It's unfortunate that OpenID deployment at Wikimedia is dependent on the single user login system, which is a huge effort that's taking longer than expected. Wikia is waiting to see what Wikimedia does. I tried out Wikispaces's OpenID support, and it seems pretty good. I got a spurious error when I logged in -- it responded to my automatically-provided nick, "Evan", with a message that made it sound like I'd just typed in that nickname. Other than that, it worked quite smoothly. Good job to Wikispaces, and real bonus for OpenID. tags:

29 July 2007

Ross Burton: GUADEC Roundup

This is probably the last GUADEC roundup to hit the Planets, considering that it finished a week ago. But, hey, I've been busy. GUADEC was, as usual, a blast. Less sun, sea, and beach parties than last year; more rain, clouds, and parties in fake-Australian bars with too-loud music. If the weather was better we could have hijacked the landlocked beach, which would have been fun. As an educational conference I totally failed at GUADEC, out of an entire week of talks I managed to attend a grand total of seven talks. Between the GNOME Mobile meeting sprawling across two afternoons, a few meetings with clients, occasional attending our stand and having to leave Thursday afternoon meant that there just wasn't enough time. As a photographic experience I mostly failed. I took more photos at Matthew's excellent Clutter Foo talk than the rest of GUADEC itself, and more photos at the ping pong tournament than the others combined. From playing with my camera at the tournament I now know that the Sigma 17-70 lens is no way up to the challenge of sports photography: too slow and too short. My next lens however will be Sigma's new 30mm f/1.4, I've been eyeing it for a while now and Daf had given in to temptation so I could have a play with it. Sports photography will have to wait. As a member of the organising team however, I don't think I totally failed. There were a few last minute snafus in the schedule but on the whole it appeared to hold together, the main problem being there being just too many good talks on at the same time. Congratulations of course are due to Paul, Thomas, Bastien and Rob, who kept the conference running on track all week. Next year, Istanbul. That will be interesting. NP: F♯ A♯ ∞, Godspeed You! Black Emperor

Jose Carlos Garcia Sogo: Cyber Revolution in Chile

From two sources I have read today about the almost secret deal signed by Chile Goverment with Microsoft. The deal, in most pure Orwell style, means that all kind of computer driven activity in the administration will be held with MS software. Even, education will be only made with their software, with no posibility of teaching any other alternative. This obviously will make very child in Chile captive of MS software. Against this deal, a movement has arisen: Movimiento de Liberaci n Digital. We should ask governments only the freedom of choice. This doesn't mean that they have to support every OS out there so any citizen can interact with administration with the format he just developed some ours ago, but they should be using open standards that anyone could implement in their software. We have to teach them that using the most common used standard is not the same than using an open standard.

Erinn Clark: web 2.0 is full of scary clowns

Because of the social networking and needing-to-be-registered of it all, I had to sign up for another website to keep track of one of my friends' goingses-onses. The sign-up process reminded me of a circus freakshow of the "Step on inside -- if you dare! And buy a bottle of our snake oil!" (insert knowing, taunting laugh) variety. Tell me how PUMPED you feel after reading the comments they added after I filled in the various fields:

Email address: Nicely put!
First name: So that's what they call you!
Last name: Classy last name, I have to admit!
Username: Creative!
I agree to the Terms of Service: ...I dare you to un-click that!
End of registration: To make sure you're as awesome as you claim, please visit your email's inbox for our verification email (I'm positive that more exclamation points were ejaculated all over my screen at this point but I closed the window too quickly to be sure.)
Activation confirmation emancipation proclamation: Wonderful, the hardest part is now over! Time to Enjoy! (With a capital E!!!!)
It might as well have been written by Dr. Bronner himself:

Email address: Godliness!
First name: If I'm not for me, who am I? Nobody!
Last name: Enlarge the positive!
Username: WE'RE ONE! ALL-ONE! EXCEPTIONS ETERNALLY? NONE! ABSOLUTE NONE!
I agree to the Terms of Service: Warning! Keep Out of Eyes! Wash Out with Water! Don't Drink Soap! Dilute! Dilute! or Wet Skin Well!
End of registration: Whatever unites mankind is better than whatever divides us!
Activation confirmation ALL-ONE! clean sensation: WELCOME TO SPACESHIP EARTH!!

28 July 2007

Martin-&#201;ric Racine: Localisation beyond language packs

In my previous post, I briefly mentioned my K750i Sony-Ericsson mobile phone. I received it as a birthday gift this year, to replace my aging but trustworthy Nokia 3210 and, as with any multifunctional digital device, there was a learning curve during the adoption period. While some features were gladly and swiftly taken into use, some of the handset's usability issues became my pet peeve and, among them, the localization pack wins the jackpot. First, let's make one thing clear: I fully understand that memory constraints prevent manufacturers from including support for every language known to man, so a handset can only be loaded with a limited set of languages for the User Interface and for T9 predictive text input dictionaries. My issue is with the concept of grouping languages by linguistic families or continental areas, when compiling the localization packs for those handsets. In this particular case, I had a choice between the Baltic or Nordic packs. The former has UI language support for Estonian, Latvian, Lithuanian, Polish, Russian and Ukrainian, while the later has support for Finnish and the Scandinavian languages; English is also included in both cases. T9 support is a strangely mixed bag: the Baltic pack only includes predictive input for the Slavic languages, while the Nordic pack supports all the languages of its UI. What's my problem with the above language combinations? For starters, I'm in Finland. We don't interact with Danes or Icelanders outside very occasional pan-Nordic meetings and that mostly concerns politicians. Meanwhile, average Finns travel for work and play to Estonia and Russia on a fairly regular basis, which makes sense, since they are neighboring countries. However, available language packs don't take this into account. How should this be resolved? Either language packs are produced with specific countries in mind, rather than generic geographic areas, or the users should be allowed to freely mix and match among all available languages and get the result flashed into their handset at purchase time. The K750i language pack for Finland should therefore include: Finnish, Swedish, Estonian, Russian, English and Norwegian (essentially the current Nordic language pack, but with Danish and Icelandic replaced with Estonian and Russian). Then again, this only covers official state languages. Sam dialects, anyone? I guess not, because we'd soon be exceeding the handset's capacity. Hmm... Thus, the only real solution is to allow people to freely mix and match UI and T9 languages of their choice at purchase time. As a bonus, this would allow me to drop Norwegian and replace it with Joual... ... c lisse, French and finally have a language pack that I can truly find useful. I can easily picture a Transylvanian engineer working in Finland wanting to get Romanian support or a Kurdish immigrant preferring Turkish support instead. Sony-Ericsson, how about it?

John Goerzen: OSCon and Portland Wrap-Up

I really enjoyed OSCon. This was the first conference I've been to in years where I've felt a bit sad that it's over. I met a lot of interesting people, enjoyed most of the talks I attended (and especially this morning's keynotes), and also enjoyed Portland. I recommend OSCon. Last year, I went to Usenix ATC. Compared to Usenix, OSCon had more talks that were relevant to things I'm interested in, more people that I met with similar interests, more people that I knew online and met in person, and a more broad program. The one criticism I would level at OSCon is that it has a disproportionately high number of web-related talks.

On to other items...

Portland

Probably the friendliest "big city" I've ever seen. Everyone from cab drivers to bus drivers seems to go out of their way to be helpful and friendly. Somewhat different from, say, Chicago or Los Angeles.

The climate is very nice and the transit system is excellent as well. While it doesn't move as fast as below-ground systems, since it has to work within traffic, one nice thing for visitors is that you actually get to see the city and see potential places to stop. Last year, we went from Boston to Cambridge on the T, but you don't see much except a whole lot of concrete along the way.

The Japanese Gardens are wonderful and deserve a visit.

Compared to Indianapolis, where we lived for awhile, Portland has some nicer parks, and a better transit system. I think that Indianapolis had a nicer walking path. Portland had a lot of friendly people, including many that worked for TriMet. MAX was very nice, with frequent departures. The TriMet system had scattered electronic signs about the MAX lines, streetcar stops, and even some bus stops I think. These listed how many minutes until the next departure in each direction, and were very helpful. Stations were announced audibly and on signs on-board. There was helpful information at stops and platforms.

Indianapolis has a really quite awful transit system, which consists of, let's see, regular buses and small buses. These run infrequently, are known for not being on-time, and a former co-worker had trouble with them just not showing up at times. They also all seemed to run between downtown and the outskirts. So if you wanted to go from one area towards the outskirts to another area there, you'd have to go towards downtown and back out.

Because of all this, I never rode IndyGo, and wouldn't ever encourage visitors to. TriMet was very different, and if I lived in Portland, I'd want to live close to MAX.

Hotel

The DoubleTree Lloyd Center is a nice, friendly hotel. Everyone here has noticed that the elevators inexplicably stop on the 2nd floor every time they go down, but other than that, we have had no real problems (other than some water dripping onto the desk when we first were here, but maintenance fixed that). It's annoying that they charge for in-room Internet access, but that is unfortunately typical for hotels of this class.

The room is also a bit small, but has worked out OK. The hotel is very close to a MAX stop, and fairly close to the Lloyd Center mall, which is convenient. The staff is very friendly and helpful as well, especially the concierge staff, which are great and helping visitors find their way around the city and the transit system.

They give you cookies on check-in, but Terah was disappointed that they didn't offer any without nuts.

Restaurants

I had opportunities to eat with various people from OSCon, some Portland area people, and of course, Terah and Jacob.

Portland has some good restaurants, and a few more iffy ones...

The Multnomah Grill in our hotel was one of the iffy ones. I had the ribs, which were not at all good. The prices were about in line with other Portland restaurants, which is too bad because the food wasn't. Because of all that, I just couldn't bring myself to try the other restaurant in the hotel, Eduardo's Mexican/American Cantina.

I had heard about Jake's Famous Crawfish from a passenger on the train. It was also listed on the OSCon wiki restaurants page. It's a historic century-old restaurant, with excellent seafood. I had parmesean-crusted Alaskan Halibut, which was very good.

I also went to the Newport Seafood Grill, which is within walking distance of the hotel, just on the other side of the Lloyd Center mall. It was also good; I had a tuna dish served rare, with a sauce that complimented it well.

Blossoming Lotus Cafe is a vegan cafe in the Pearl District. I hadn't ever been to one of those before. It was OK, but not all that great.

Across the street was Sweet Masterpiece, a chocolate and coffee house. Excellent chocolate made in-house, all sorts of desserts, and good coffee.

Rock Bottom in downtown has some surprisingly good food options. I was there with a group of local and OSCon Haskellers, and it was a little bit hard to follow conversation all the time due to the background noise, but that's to be expected in this sort of place. I'm not into beer, but those that were enjoyed their selection, I think.

I also went to a couple of chains: Quizno's and Ben and Jerry's. Both were about what you'd expect from those chains. Good ice cream of course at Ben & Jerry's.

OSCon provided breakfast and lunch free to paid attendees. Breakfast consisted of a selection of various fruits, slightly stale pastries, and bagels. On the tutorial days, lunch was pre-made boxed lunch. For what it was, it was OK. On Wednesday and Thursday, lunch was served hot in buffet lines. They had chicken both days, which looked identical. I had tried it Wednesday so knew not to bother Thursday. Wednesday they also had salmon with cranberries, which was good. Their salads, breads, etc. were OK.

Oregon Convention Center

This is where OSCon was held. A very nice, but incredibly huge, building. They say it covers the equivalent of 13 square city blocks, and if you look on a map, you can see that it is indeed quite large. There was a lot of walking to get to everything, even though OSCon took up only one part of this huge place. Restrooms in particular were not in very convenient locations to just about anything. But it was a nice place and I wouldn't mind being there again next year.

Adeodato Sim : Checking for uninstallability on other architectures

Sometimes one has to debug why a package is uninstallable, or some other apt problem, in other architectures than their own. This can be done by running apt with that other architecture in its configuration. I use this function to help me:
 fakeapt()  
 root='/var/tmp/fakeapt'
 dist="$1" 
 shift
 arch="$1" 
 shift
 apt-get \
 -o APT::Get::List-Cleanup="false" \
 -o Dir::Cache=$root \
 -o Dir::State=$root \
 -o Dir::State::status=$root/status.empty \
 -o Dir::Etc::SourceList=$root/sources.list.$dist \
 -o APT::Architecture=$arch \
 "$@" 
  
And then one can run it like this (it’s a bit long, but that’s how one goes to find out why a package is uninstallable, recursively adding each broken package in the run):
 % fakeapt sid hppa update
 % fakeapt sid hppa install -s kdebase
 The following packages have unmet dependencies:
 kdebase: Depends: kdebase-kio-plugins (>= 4:3.5.7-2) but it is not going to be installed
 % fakeapt sid hppa install -s kdebase-kio-plugins
 The following packages have unmet dependencies:
 kdebase-kio-plugins: Depends: libopenexr2c2a (>= 1.2.2) but it is not going to be installed
 % fakeapt sid hppa install -s kdebase-kio-plugins libopenexr2c2a
 The following packages have unmet dependencies:
 kdebase-kio-plugins: Depends: kdelibs4c2a (>= 4:3.5.7-1) but it is not going to be installed
 % fakeapt sid hppa install -s kdebase-kio-plugins libopenexr2c2a kdelibs4c2a
 The following packages have unmet dependencies:
 kdelibs4c2a: Depends: libopenexr2ldbl (>= 1.2.2) but it is not going to be installed
 % fakeapt sid hppa install -s kdebase-kio-plugins libopenexr2c2a kdelibs4c2a libopenexr2ldbl
 The following packages have unmet dependencies:
 libopenexr2ldbl: Conflicts: libopenexr2c2a but 1.2.2-4.3 is to be installed
A bit of initialization is needed:
 % mkdir -p /var/tmp/fakeapt/ archives,lists /partial
 % touch /var/tmp/fakeapt/status.empty
 % for d in testing sid; do
 echo deb http://ftp.XX.debian.org/debian $d main >/var/tmp/fakeapt/sources.list.$d
 done

Joerg Jaspert: The DM GR

So, let’s join the postings about the currently running Debian maintainers GR. The short text of this post is I am against the proposal as it is right now and think it does more harm than good and so I did vote for Further Discussion. See below for a bit more about my reasoning, or just skip if you are already bored. :) The current proposal does look like a “yay, we have an idea thats not really thought through. And we do not want to get it into the currently existing procedures, that would involve more work and discussions. And anyway, everyone is ranting about the current procedures anyway, so lets take that bad mood against it to get this done”. (And yes, this is a bit exaggerated, so don’t take it personal, please). As you may have noticed I wrote that I am against the current proposal when it first was on vote. I was mostly on vacation back then and didnt want to read the whole thread, so I stayed mostly quiet. I am not against the DM concept itself. I am against it being seperate to the existing NM procedure. For me a proper solution has to be integrated with the existing procedures, not seperated. The main reasons why some support this proposal seem to be
  1. Slow NM process.
  2. Someone doesn’t want to go through NM
  3. Someone doesn’t want to be in the Debian community

Slow NM process I am part of this, and not a small one. And yes, I feel (very) bad about it, but already think about ways this can be changed, after I got the current backlog done. Anyway, for this DM thing my backlog isn’t the main reason that people feel NM is slow. It seems to be the general “I have to wait for an application manager and then answer to a lot of questions and between that wait and wait and wait”.
True. People have to wait at some points, and those waiting periods can be frustrating. We should do our best to eliminate those waiting places. The other point is that of the lot of questions. Yes, we have a really big set of questions in the templates, that cover a whole lot of the possibly areas a future Developer can work in. And most of those questions got added after a large set of existing Developers showed that they completly do not know something. That way the templates are constantly growing and still intend to give the future Developers the possibility to learn about things in Debian they might never have heard about. And there is the thought that, if you read about a topic and had to answer to it in the past, you will at least remember that there is something if you encounter it in the future. But - there is also the fact that an AM is NOT forced to use the templates for their process. AMs are, and have always been, free to do the process on their own. There are some questions every AM has to ask, but thats a minority. If you look at the templates you will spot the needed ones easily. Other than those every AM can freely do whatever he wants to do with his applicant (as long as the applicant agrees to do that stuff and its legal :) ). The AM only has to keep the following in mind: Both, FrontDesk and DAM, usually do not work together with the applicant. They might have heard the applicants name at some point, in some bugreport or some packages Maintainer: field. But they usually did not interact with them. Which means that the AM has to make sure that FD and DAM are able to build up their opinion of the applicant just by reading the mailbox of the AM->NM communication. Which usually means: read between 20 - 70 mails of a communication someone else had before you decide if someone should or should not enter Debian. (Leaving alone checking packages.qa, lintian, bug lists and a bit of google).
Someone doesn’t want to go through NM Erm. Well. Then use sponsors for your packages. Or is it because you think NM is too hard? NM isn’t that hard, everyone that can read and write english texts (even if the english is bad) and use google is able to pass NM. (For the bad english - if you fear joining NM because of that: Well. If I go and reread my own report from back when I joined - ugh. I hate my english. And I know native people still hate my english texts, its named en_GANNEFF for a reason. :) It is not necessary for your English to be perfect; you only have to be able to make yourself understood. If an AM doesn’t understand what you wrote they can simply ask for clarification). DM also doesn’t help for people that don’t want to pass NM. They have to pass the advocate, the ID check and the same minimum set of of questions NMs have (as written a bit above). So you already have a large part of NM for the future DMs.
Someone doesn’t want to be in the Debian community Then they shouldn’t be able to upload on their own. They can use sponsors. After all the only thing you must do as a DD is to read debian-devel-announce. And thats something a DM also must do, or you can’t seriously consider to package anything. And then DD only adds rights for you, like taking part in votes and so expressing your opinion and getting things changed in Debian that you may not like.
How to integrate a concept of DM then? First - by starting in the right area - getting it into the NM system by talking to all those involved. There is FrontDesk, DAM and also the NM-Committee, the latter should be the right point for a proposal and discussion. What I can imagine that would work and do something good is a system integrated into NM that gives future Developers upload privileges after they passed a few steps with their AM. That way they can upload early in the process, which can then be part of the T&S set, and the following steps in their NM process “just” slowly add more rights to the NM until its the set of rights every DD has. Seen from the current layout of the process it would be somewhere after the ID check and the first set of P&P, ie. at the time the AM sends the second P&P part. After that point the AM could recommend to those maintaining the DM list that the applicant should be added to it, together with a list of packages where the applicant is allowed to upload them. The maintainers of that DM list could be FrontDesk + DAM + maybe someone else, but thats something to discuss. And list of packages - while one could take the current limits the GR wants to set or simply a plain list, that can be amended during the time someone is a DM. Now, one can add a turnoff for people that do not want to pass through the rest of the process at this place. Im not sure its such a good idea, but thats something one can discuss. But if so it should be attached to some rules like - must read our debian-devel-announce list, is included in regular pings of activity similar to the wat ping.

27 July 2007

Julien Blache: pommed v1.8: Linux 2.6.22, MacBookPro3,1, new feature

This release of pommed adds a couple of new features: If you are running Linux 2.6.22 on an Intel machine, you need to upgrade to this release to get the ambient light sensors working again. Jan Larres contributed an icon for gpomme, included in this release. Thanks! I am not really pleased with the code for the nVidia backlight, as it pokes I/O ports directly. It works for now, but I’ll replace that code as soon as I’ll have something better, so if you run into something that could do it before I do, please let me know. Thanks go to Steffen Schulz for pointing me to this code (bl1.c from Nicolas Boichat, modified by Felipe Alfaro Solana). Have fun! Bug reports, ideas and patches at the usual place.

Christian Perrier: Cooling notebooks

I recently purchased a nice thing: a notebook cooler. Indeed, this was originally meant for my "Freebox HD" box, a TV-over-DSL box provided by the French ISP named "Free". These boxes have a huge problem: overheating that makes them hang when using some of their functions (usually reading videos stored on their internal HD). So, I bought a notebook cooler from Antec and just put my box on it and it doesn't hang anymore. Of course, I tried that thing with my laptop (a Dell Latitude X1 which, as many subnotebooks, can become quite hot). This is really impressive. The temperature reported by ACPI drops from 55-61 Celsius in normal operation (55C while reading mail, 61C while compiling samba) to 45C all time long. The notebook cooler is autopowered through the USB ports of the notebook (of course, that means that it drains some power...about 100mA from my rough estimations). It is about 22cmx30cm and 1.5cm height. Of course, as it includes some fans, it adds some noise to my otherwise silent laptop. I would anyway recommend it especially for subnotebook owners who leave their notebook power for very long time as it certainly help a lot preserving the batteries life (Li-ion batteries don't like heat). Antec has two models of notebook coolers: this other one seems designed for travelling. The device is sold for about 30 euros in France and Antec's web site rates it for $40. I'll probably buy another one to definitely host my laptop and even probably yet another one for my son's Dell Latitude 100L (which also overheats a lot when he plays these stupid MMORPG things..:-) Update: notebook batteries are Li-ion based and those don't like heat either..thanks to Thomas Viehmann for the precision.

26 July 2007

Russell Coker: A Support Guide for Xen

Here’s a guide to supporting Xen servers for people who are not Linux experts. If your job means that you have root access to a Xen server that someone else installed for the purpose of fixing problems when they are not available then this will help you solve some common problems. Xen is a virtualization system that is primarily used for running Linux virtual machines under a Linux host. It is mostly used as a Paravirtualization system in that the virtual machine knows that it is running in a virtual environment - this allows some performance benefits. The host environment is known as Dom0 and root in that domain has the ability to control the other domains (which are known as DomU domains). If you perform an orderly shutdown of the Dom0 (via the shutdown or reboot commands or notification from the UPS of an impending power failure) then when the machine is booted again the DomU’s will be automatically restarted (if the on_reboot setting has the value restart - a common configuration). If you run the command shutdown in a DomU then the domain will be destroyed, and the command reboot will restart the DomU with the same settings - if you want to change the settings for a DomU you need to shut it down and create a new instance. The main sys-admin command related to Xen is xm. Here are the main xm options that are useful in support:

  1. xm list provides a list of running domains. For each domain it gives the name of the domain, the ID number, the memory allocated to it, the number of virtual CPUs allocated to it, the state, and the amount of CPU time used in execution. The ID numbers are allocated sequentially, if you reboot a DomU by running the command “reboot” inside it then it will get a new ID number when it re-starts. Many xm operations that may take the name of a domain will also take a Domain ID number. Generally you never use an ID number and ignore it - the only relevant thing about an ID is whether it is 0.
Here is a sample of the output of xm list:
# xm list
Name        ID Mem(MiB) VCPUs State  Time(s)
Domain-0    0    1236    4 r---–  14116.3
wind        13    2999    3 -b----  60114.1
wind-f7    52      519    1 -b----  3329.9 You can see from this output that the domain named wind has 2999M of RAM, 3 virtual CPUs (out of 4 physical CPUs in the machine) and has 60,114 seconds of CPU time used (that is 114 minutes of CPU use - the equivalent of almost two hours for a single CPU). Here are the values you might see in the state field (from the man page xm(1)):

If you see domains that are running which normally aren’t busy then make a note of this. If you see domains that are paused, crashed, or dying then contact the sys-admin. Also know which domains are expected to be running so that if a domain is missing then you will recognise it as a problem!

  • xm top is similar to the top command in Unix but displays Xen data, by default it displays the same information as xm list but also includes the amount of data read and written from network devices and disks. If your terminal is less than about 145 columns wide the lines will wrap and it will be confusing - stretch the width of your xterm before running it.
  • If you have multiple network interfaces then you can see the transfer counts for each of them separately by pressing the N key. If you have multiple network interfaces in DomU’s then this can help diagnose some network problems (although you may find that tcpdump is more useful). If you have multiple disk devices in a DomU then you can see their transfer counts separately by pressing the B key. One problem that can be partially diagnosed through this is excessively poor performance. If a DomU is running extremely slowly then it may be impossible to login to diagnose and/or fix the problem (it could take tens of minutes to login), in that case seeing where the disk access is going from outside the DomU can shed some light on the problem. VBD  768 [ 3: 0]
    VBD  832 [ 3:40]
    VBD 5632 [16: 0]
    VBD 5696 [16:40] Above is the identification of the virtual devices /dev/hda and /dev/hdb in a DomU. The numbers inside the brackets are the device node numbers in hexadecimal, so 16:40 means the device 22,64 as a pair of decimal numbers (22*256+64=5696). # ls -l /dev/hd?
    brw-r---– 1 root disk  3,  0 Jul 23 17:24 /dev/hda
    brw-r---– 1 root disk  3, 64 Jul 23 17:24 /dev/hdb
    brw-r---– 1 root disk 22,  0 Jul 23 17:24 /dev/hdc
    brw-r---– 1 root disk 22, 64 Jul 23 17:24 /dev/hdd Above is the result of a ls -l on the devices in question from inside the DomU. When I set up a Xen DomU I generally use /dev/hda for the root filesystem and /dev/hdb for swap. So if the machine is performing poorly and /dev/hdb ([3:40]) is being accessed excessively then it indicates that the machine has some memory hungry programs running and is paging heavily.
  • xm list –long [domain] gives detailed information on all domains, or it can be run with the name of a domain such as xm list –long wind to give the detailed information on only one domain. Generally this is something that you will log to a disk file before restarting domains, in the short-term there is little use for this.

  • xm console <domain> gives you the console of a domain. If a domain is not working correctly and it is impossible to login via ssh (either due to a network problem or a problem with ssh) then you can access the console (equivalent to a serial-port login on physical hardware) to diagnose the problem. Often the kernel will log messages to the console, such messages will be stored by the Xen system until they are read. If you suspect that there may be many such messages then use script(1) to log the output to disk, if you are unsure then use script to make sure that you don’t miss any data. Even if you don’t understand it the sys-admin probably will!
  • If the system is half-working then you can login as root to investigate problems. You can escape from the console by pressing CTRL-].
  • xm dmesg gives Xen logging data comparable to the dmesg command in Linux. If you ever have to reboot the machine (run reboot from Dom0) due to a problem with Xen then you MUST save the output of xm dmesg to a file for later review by the sys-admin.

  • xm destroy <domain> will kill a specified domain. It’s a last resort for stopping a domain that is not working correctly - it is greatly preferrable to login to the domain via ssh or xm console and give an orderly shutdown.

  • xm create [-c] <domain> creates a new domain. The configuration for the domain will be taken from a file of the same name in the current directory or in the /etc/xen directory - if /etc/xen is not the current directory when you run xm create then make sure that there is no file-name conflict. You can use this command after destroying a domain or to start a domain that was not previously run.
  • If you want to change a configuration option of a domain (such as the amount of RAM used) then the usual procedure is to edit the configuration file, run halt or shutdown from within the domain, and then create the domain again with xm create. Note that the -c option is used to attach to the console after starting the domain (you usually want to do this).
    I will probably update this post when I get some feedback. I may write more posts of a similar nature if there are requests.

    Sven Mueller: Re: voting on sponsorship

    Joey, I see a huge difference between voting on the current DM proposal and your virtual (sorry, I can’t remember a better word for it) voting on sponsoring uploads. Debian Developers were always allowed to upload any package they saw as fitting into Debian (though there were no guarantees for these packages to actually being included). Also, NMUs are OK if the maintainer agreed. So all they (seemingly) did was putting a different maintainer address into the control file. However, at least in theory, the sponsors were still responsible for their upload if it turned out fishy. The DM proposal (don’t get me wrong there, I generally support the idea, I just don’t like the way it is implemented in the proposal) is shifting this responsibility from the sponsor onto the shoulders of the DM, which is a good thing. However I think it doubles some of the work the NM queue already needs done, so my proposal would be not to have it as a completely seperate path for a contributor, but instead see it integrated into the NM process. Wether it would mean adding a new maintainer to the DM keyring after he had an advocate (which is pretty near to the current proposal) or after an AM was assigned and checked some basic things (which I would prefer) doesn’t make a lot of difference to me.

    Joey Hess: voting on sponsorship

    Remember when sponsoring packages was implemented in Debian? Imagine if we had felt the need to vote on whether we were allowed to do that. Instead of just doing it. I'll bet that some people would have argued against, citing reasons such as:
    It appears to me that the sponsorship as sketched in the GR is mainly meant to let NMs upload earlier, i.e. it tries to fix the fact that front-desk or DAM approval take too long. I think the fix for that is just to find someone besides Joerg to also read the AM reports. Sponsees as in the GR are a workaround, not a solution.
    or:
    But the GR micro-manages too much and on the other hand doesn t make the current NM process any easier for Sponsees than for any non-Sponsee applicant to the NM process. Also, like some others said before, I seriously doubt that a big part of the current DD-applicants (i.e. those in the NM queue at some level) would prefer Sponsee status over DD status. What is the difference between a Sponsee and a Debian Developer? Who is interested in becoming a Sponsee and not a Debian Developer and why? Will this Sponsee class really improve the situation for New Maintainers?
    or:
    I suppose most of our New Maintainers will aim to become a Sponsee just to bridge the time until they re full Debian Developers. And I predict that this is also the major target audience for this new Sponsee class. Some people said on -vote that there are people actually interested in becoming a Sponsee and not a Debian Developer. Personally I find their reasons questionable, but after all I suppose there won t be many people going this route. On the other side, I don t see how this new class enhances the situation for the New Maintainers. Now they not only wait for the Application Manager, Front Desk and Debian Account Managers No, now they will also search for someone who sponsors them. So my question is: If this General Resolution mainly helps New Maintainers, why must it be so complicated? Why another class of contributers, all those complicated rules to set it up and this additional layer of bureaucracy?
    or:
    If you think the NM process is taking too long, then it's probably better to help out there rather than to try to create a system to bypass it in this way.
    But instead, we somehow made the enormous change that sponsorship entailed in how Debian works, without voting on it. Make no mistake, it was a big change on both a technical as well as a social level. Now IMHO, the DM proposal is just fixing a bug in the current sponsorship process. The interesting thing to consider is, if this vote fails, how can the bug be fixed without another vote? I personally believe that any DD has the power to fix this without dragging the project through a vote. They may put their status as developer at stake in fixing it, if they take what seems like the obvious approach, but if one feels that this bug in sponsorship is a bad enough bug and is hurting Debian enough, that might be worth it.

    Next.

    Previous.