Search Results: "tim"

6 June 2006

Jeroen van Wolffelaar: Dutch food considered harmful

Physical reaction while in Mexico for nearly a month on the food, water or weather: Some major sunburns, neglectible stomach issues. Physical reaction back home: severe stomach issues, for nearly two days now and 'running'. Seems that Dutch food is much more dangerous than Mexican food. That's not what my tourist booklet said, but oh well. I'm glad I didn't have the issues I have now during DebConf, being sick abroad is doubly annoying. Montezuma's Revenge reaches far (if this is in reality a backlash, who knows). At least I don't have a jet-lag this way: I don't get to sleep much at all, let alone at the 'wrong time'.

Carlos Villegas: reading, hotspots and repository

This is the second post of the blog for improving the boot process. There are some logistic news and hotspots being identified together with some readings.

>Logistics:<br><br/>Logistics:
  • SVN repository is up at [1]
  • place for webpage was decided and will be ready soon at [2]
  • Project added to the debian wiki at [3]
For the potential hotspots, some have been identified like:
  • reordering bootscripts
  • parallel booting (like with startpar)
  • preloading (like with dynamic readahead)
  • using internal functions in init scripts or dash
  • don't run depmod at run time
Besides, some readings like "System Init scripts and Debian OS" from Henrique de Moraes and the linuces boot process benchmarking are on their way.


[1]svn+ssh://svn.debian.org/svn/initscripts-ng
[2] http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/
[3] http://wiki.debian.org/SummerOfCode2006

5 June 2006

Robert Pickel: My progress so far

I forgot to write a progress report for last week's progress...
Here are some things that I did after submitting an updated proposal:

  • Put a development box together and got it up and running w/ sid.
  • Identified many steps in casper-bottom scripts that can be added to the post install script of the casper-ng package and started to write that script. (Some deal with: kdm, gdm, xscreensaver, and creating the default user)
  • Started to map out the operations of a boot param script.
  • Tested a new way to create a user at creation or boot time w/o a set password.


Problems: Sid broke! - There is an error when trying to build a new iso from scratch.

Plans for this week:

  • Finish up documenting what I have already started to work on. This documentation will be located on the wiki.
  • Finishing up post install script for casper-ng.
  • Continue to work on init script to override defaults.
  • Start working on a post removal script to restore the rootfs to its original state.

Philipp Kern: First SoC status report: Reportbug Gnome2 GUI

I was quiet about it for a long time, but here it is: my first Summer of Code status report. For a bigger picture: I am working on a graphical front-end to the bug tracking system Debian uses. Well, at least I am supposed to work on it. First on my list was something else: a Gtk2 graphical front-end for the well-known bug reporting tool "reportbug", which might later be integrated somehow into Debian's Gnome environment. According to the list of milestones I created when I drafted the application in less than an hour (due to the deadline approaching) I need to release a first prototype of such a GUI today. It took more time than expected to work on it, so I have not yet started any work on the main graphical front-end. I started a few days later than expected, due to some delay until the approved applications were published and I also had to learn Python from scratch. This task was not too hard, but I am still often confused by the lack of consistency throughout the language. Compared to Ruby, a language I know reasonably well and in which I already coded much, Python has much more syntactic constructs for primitives and in my opinion this leads to a lack of consistency. But well, one gets used to it... There was once a "original" Gnome front-end, but it is discontinued since some years already. I did not look much at it, neither at the patch in the BTS which should basically bring it to the current Gnome2 libraries. To properly understand the hooks I need to provide for an interface plugin I started from scratch, only reusing the core idea of the old front-end: the use of the GnomeUI Druid. The new GtkAssistant is not yet ready to be deployed, being introduced with the upcoming Gtk 2.10 release. Still I have a weird feeling about the Gnome Druid, because I abuse it just to provide a consistent look. reportbug does not support backing up to a previous question, so the Back button is generally deactivated. reportbug welcome screen reportbug package selection I tried to modify core code as few as possible, as I have not yet talked with the reportbug maintainer Chris Lawrence. I will do so in due course. However after the old GUI front-end code was basically discarded (its usage is discouraged with a prominent notice), many changes to the core code did only take the text interface into account. (Well, I just suppose this, I did not do much research into reportbug's past.) So some tiny changes were needed to provide a few more hooks. There are, however, more to come, especially in connection with one input type (select_options, which could often be implemented as presenting a simple yes/no dialogue). The configuration basically works already, as seen below. What does not work are spawing the right editor and getting a filename from the user interface. But those are minor quirks and not too hard to fix. I need to develop in the open, as specified by the Summer of Code ruleset, and now I could do so, after about four rewrites of the GUI code. The main GUI loop is now in a thread, receiving commands from the main thread running the logic and sending the input back through a queue. (I used a pipe-based approach first, using an IO selector provided by glib, but it did not work well enough and this approach is far simpler.) reportbug configuration screen reportbug configuration screen -- mode selection So the current version is not vapourware, but there is still some more work to do to get it really usable. I will put my work into the Summer of Code Subversion repository as soon as the necessary access privileges are synced onto costa, an Alioth machine. Hopefully it will be merged into reportbug when I completely finished off this project.

MJ Ray: Debian-Legal Package List May 2006

May 2006 traffic discussed bacula cdbs cxxtools db3 db4.2 EiffelStudio ipv6calc ircd-irc2 java*-runtime/compiler libapache-mod-proxy-html libfaad* libx264* libjlha-java maxdb-doc opensaml postgresql sharpmusique sork-* sun-java5-jre tetex tremulous wget xfonts-utils [link to my index]

Mike Hommey: Targetted Spam

This morning, I got one of these standard cialis/viagra/xanax/valium/whatever spam you get numerous times in a day, but with a “test xul” subject. Well, that’s targetted.

Eric Dorland: Belated DebConf Conclusion

I'm terrible at the whole blogging thing, I've been back for two weeks and haven't found the time to summarize my time at DebConf. I had an excellent time. I met a lot of great people and even found a squash partner for the next DebConf. It was really quite unforgettable, so thanks to everyone involved.

Hanging out with [info]sfllaw there, I was exposed to a lot more Ubuntu-esque things that I really had before. Some people there were quite unhappy about Ubuntu. To me, it's just not really that interesting, one because I don't see it as being substantially better or different from Debian and two because it looser stand on freedom. But hey, this is free software, people seem to like it, and I'm glad to see something related to Debian getting money and attention, rather than say RedHat or SUSE. I think a lot of developers would be happier with Ubuntu if it was just easier to ignore.

Then there was that dinner, and the events surrounding it. While I and many others won't miss Ted, I don't think he was treated at all fairly. Being thrown out in the middle of conference when seemly he did nothing wrong there was not very civil. If people could not stand to be around him, they did not have to be around him. He could have just as easily been removed from the project after the conference was over.

Enough griping though. If I came away with anything from the conference, it was a renewed vigor to work on Debian. Now if only my schedule would permit it.

Andrew Pollock: [life] 2099 miles later...

The problem with going away on these lengthy trips, is I never end up blogging about it while I'm there, so I have to write a behemoth post when I get back, and try to remember everything. Oh well... Aggregator summary Photos are here. Had a great time seeing more of the country. Seattle was nice, albeit a bit wet. Portland was also nice. We've now covered the whole West Coast. States we've visited as of June 2006 Read on, Macduff!

4 June 2006

Enrico Zini: Dapper on XEN (part 1/1, unfinished)

I need to do some work on a Dapper system, so it's time to try out xen:
apt-get install linux-image-2.6-xen-686 xen-hypervisor-3.0-i386 xen-utils-3.0 xen-tools
xen-tools tries to recommend xen, which is old and has been requested to be removed from the archive. The recommends needs to be ignored, which is not that trivial to do with aptitude. The linux-image doesn't happen to have an initrd. The bug has already been reported. One can recreate one using:
mkinitrd -o/boot/initrd-2.6.16-2-xen-686.img  2.6.16-2-xen-686
Then one adds this to /boot/grub/menu.lst:
title Xen
root (hd0,0)
kernel /boot/xen-3.0-i386.gz
module /boot/vmlinuz-2.6.16-2-xen-686 root=/dev/hda1
module /boot/initrd.img-2.6.16-2-xen-smp
And it boots lovely:
# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      939     2 r-----  4677.9
Now xen-tools provides xen-create-image. I'll try to create the Dapper image (deboostrap in my system has already been changed to be able to install dapper):
xen-create-image --size=4G --swap=128M --dhcp --volume=marvin \
                 --hostname=cavazza --dist=dapper --fs=xfs
But I get:
[...]
Creating swapfile : /dev/marvin/cavazza-swap
Done
Creating disk image: /dev/marvin/cavazza-root
Done
Creating xfs filesystem
Done
Installing the base system.   This will take a while!
Copying files from host to image.
Finished
Something went wrong with the debootstrap installation
Aborting
I love detailed error messages. This one is not. So I'll have to do by hand. The documentation says:
Before you can start an additional domain, you must create a configuration file. We provide two example files which you can use as a starting point:
  • /etc/xen/xmexample1 is a simple template configuration file for describing a single VM.
  • /etc/xen/xmexample2 file is a template description that is intended to be reused for multiple virtual machines. Setting the value of the vmid variable on the xm command line fills in parts of this template.
But in Debian there's no trace of the two example files. I've reported to Guido Trotter. Then I googled for the two files and found them. Now, on to adapt Dapper to run under Xen. The good Ubuntu wiki has an HOWTO which crudely makes you install the Tarballed Pre-built installations of Xen 3.0. It's sad that xen-enabled kernels didn't make it into Dapper roper. I can make this:
kernel = "/boot/vmlinuz-xen-domu"
memory = 128
name = "Dapper"
disk = [ 'phy:marvin/dapper,hda1,w' ]
dhcp="dhcp"
root = "/dev/hda1 ro"
I used the pre-built kernel as a domU, but:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)
Sigh. I'll try with the Debian Xen-enabled kernels. Installing yaird and linux-image-2.6.16-2-xen-686_2.6.16-14_i386.deb and linux-modules-2.6.16-2-xen-686. It WORKS! Now, that's not Dapper: that's a debootstrap install of it. No user, no root password, no desktop, no shiny Ubuntu custom config. How to finish the installation? No idea. In the past, I could run base-config, but now it doesn't exist anymore. It seems that the best bet is not to use debootstrap, but to install the CD in the LVM partition using QEMU and then chroot into it and then install the debian xen kernel to boot it. A QEMU install will take ages, and I expect some trouble, like getting partman to see LVM. Maybe I better install on a disk image file and then use tar and netcat to bring the ubuntu installation out of the disk image and into the LVM image. For today, I didn't make it. This job slips another day. Frustration. I hope that at least this description of my efforts so far can be helpful to someone trying similar things. One suggestion I got was to boot the Dapper CD and install from there. I can't: this computer has no bootable CD. Update: I found out http://xensource.com/summerofcode.html and it says:
Project Idea 3: Xen Desktop Outside of Domain 0 This project would deliver a Xen desktop to the user of a client system that presents an abstraction of a virtual desktop to the user in which multiple guests share the virtual desktop, each with a subset of the desktop resources (pixels, etc). Smart management of the sound drivers would allow mixing of sound from multiple guests to the single device used for output. Microphone input could be broadcast to all guests. Technologies such as ALSA already emulate playback settings by downsampling for the hardware etc. so its not hard to imagine a xen-snd-front device munging the data to a common format used for the internal sound card. Issues: synchronization of playback.
So, what I'm trying to do has been proposed as a SoC project and (I guess) is something that can't be done overnight. Although I was planning to run a diskless gdm accessed with XDMCMP from domain0's X server, and to just hand out the audio card to the domU using pciback, so my task would have been easier. Thus I give up using Xen for this one. I'll work around the lack-of-bootable-cd limitation of this computer by installing Ubuntu using QEMU. Which I found out requires using the "Alternate install" CD. The desktop install CD is a live CD installing with Ubuntu Expresso, and the live CD doesn't seem to work in QEMU. Or, I'll install in a LVM partition in the laptop and then move it around using the network. This one's probably faster. Could this experience be an interesting use case for Edgy Eft?

Erich Schubert: Optimize your ext2/ext3 filesystem

You might have read that ext2/ext3 has support for so called "directory indexes", which supposedly speed up operations on directories with many files. For example your /usr/share/doc directory, your packages database, or your home directory (use ls -la wc -l to count the number of files). However, this feature is not enabled on most machines, since up to now you needed to pass a flag when creating the filesystem. The 1.39 upload of e2fsprogs (in Debian unstable as of May 29) made this default. So you probably didn't enable this when creating your filesystem. To check, first find out what your filesystem device is (use mount). Mine is /dev/hda5, so my example will use this device. In traditional terms, this is the first extended partition on the IDE primary master drive. Now use tune2fs -l /dev/hda5 grep features to get a list of your filesystem features. If you have "dir_index" in there then you're all set. Ignore any "needs_recovery" - that is good for mounted filesystems (it just means "not cleanly unmounted") To add dir_index, do the following.

Tollef Fog Heen: Hackergotchi for Robot101

Since I'm impatient and Robot101 didn't respond within ten minutes of me pinging him on IRC, I'm just posting the result of his request for a hackergotchi. Robot101 Above is JPEG, but there's an XCF available too, with full transparency goodness, etc. Next time, it'd be useful to have a starting image where the head is bit more than 180x230 pixels since doing cropping and resizes and such tend to end with the image not being great. Also, my space bar is failing and I'll have to call IBM when I get home. I'm actually quite disappointed that I seem to have worn out the space bar in about a year and a half.

Dirk Eddelbuettel: Sunburst Races Marathon 2006

Went to South Bend, Indiana, on Friday for the 2006 Sunburst Marathon yesterday morning. This is a smallish marathon with 600 runners, embedded in a half-marathon, 10k and 5k all of which start at the College Football Hall of Fame and end in the Notre Dame football stadium. Early 6:00am start, made worse by the fact that it is one time zone earlier too so I got up at 3:30am 'my time. Ouch. The race almost didn't start as a hazardous materials spill was announced right at start time. Luckily, that got taken care of and we were off and running at 6:15am. The first ten to twelve miles went pretty well and fast, and I slowed down a little afterwards. I started to pay for the fast first half with some oncoming cramps starting around mile 18. Somehow I managed to suppress the cramps with a combination of walking water stops, gatorade, gu (handed out by the race organisers a four or five water stops -- nice!) and sheer stubbornness and some more walking when needed. I had aimed to beat my Boston qualifying time of 3:20 -- and I did with a chip time of 3:17:48, which is also another PR and a nice improvement over the previous three marathons. So on to Boston for the one hundred eleventh Boston Marathon next April!

Andre Luis Lopes: First post and already tired

Well, I have just finished setting up my virtual machine in a hosting provider which offers a very nice virtual machine plan called VPS. It’s very nice because they give you full root access so you can install whatever you want to install. Also, it’s Debian based and even the control panel they provide is as I like things to be : minimalist and easy to use. Sure, it works like a charm also. I’m tired because I was fighting the blog system I installed for a long time trying to convince it to get installed in a proper VirtualHost but it kept giving me trouble everytime I tried to access its root page. I gave up and installed it in a directory under my default page and then it worked as expected. Someday I need to take a closer look at it and find out what really went wrong. Well, actually, I know what went wrong and I even knew how one could fix the issue as I already fixed issues like this one lots of time in the past, but this time my tricks didn’t helped. Anyway, mail setup is already working, complete with SSL-based IMAP/POP, SMTP-AUTH through SASL and all the basic services I wanted to have are already working. Now I think I can have some sleep a it’s past 4:00AM. Well, enough for a first post.

3 June 2006

David Welton: Details, details

While working on Hecl, it has sometimes really surprised me how much it's possible to delve into seemingly trivial details. Just for starters, we've been talking about what to call string commands. Originally, I'd used names like slen and sindex to have something quick and easy to write, but no one seemed to like them that much. Wolfgang implemented a bunch of new string commands (very much appreciated!), and took the Tcl approach of command subcommand, like string index, and also suggested some other things like str.index. I am strongly opposed to the string length style commands though, because I think that's just too much typing for a language that's supposed to get you up and running quickly. The compromise I proposed and implemented was to use more 'C style' commands like strlen, strindex, strfind, and so on. I'm not a big PHP fan, but they seem to have taken a similar approach. It's not too verbose, but you can tell more or less what the command is for. Even more seemingly trivial - indexes for strings and arrays. Hecl takes the Lisp approach rather than the C approach, and utilizes commands instead of syntax, even for list and string access, so to get the second character of the string "foo", you would do: strindex "foo" 1 . Like C, Hecl indexes start at 0. Where things get tricky is in calculating indexes "from the end" - how do you tell the language to "fetch the last character from the string 'foo'"? Tcl lets you write a string like "end" or "end-1", which is handy compared to the process you would go through in a language that doesn't help you out: take the length of the string, and subtract from that as needs be. I prefer the approach that I first saw in Python, though, use -1 for the last character:
>>> "abcde"[-1]
'e'
Ruby takes the same approach. It's nice to be able to just insert a -1 rather than have "end-1", which sort of looks like an expression, but isn't really (Hecl doesn't even have normal infix expressions), especially because you can easily calculate the -1 and insert it as is, instead of having to do some string interpolation like "end-$foo". Where things get tricky is when you want to do something like specify a range, say from the 3rd letter to the end of the string. In Python, they use syntax, specifically by simply not including the end of the range:
>>> "abcde"[3:]
'de'
That doesn't work really well with Hecl - I suppose we could pass in a blank string instead of a number, like so:
strrange "abcde" 3 ""
But that's not very clear, and IMO it's slighly ugly to pass in a string where you want to use a number. I had a look at Ruby's behavior, and found it more to my liking:
irb(main):001:0> "abcde"[3..-1]
=> "de"
The difference with Python is that the second index is inclusive, whereas Python includes the character at the first index, and excludes the second:
>>> "abcde"[3:-1]
'd'
I decided the Ruby approach worked best for Hecl, so now we have:
hecl> strrange abcde 3 -1
de
If you're still reading this, I guess you see what I mean by how much one must delve into what must seem like very unimportant minutiae to... well... normal people!

Filippo Giunchedi: all your setuid are belong to us

today #370045 has been filed against the (in)famous netselect. The postinst was not setting the setuid bit even the user said otherwise, after a bit of investigation it turned out that chown (or better, the kernel) clears the setuid bit as a security measure as explained by Mike Stone.
Nice security measure, oddly enough I've never noticed that effect (that is, netselect's postinst was correctly working for me) so it must be new or I was being hitted by some bug or it's been there for years and I'm the last one to know. Or all the previous options.
Anyhow, netselect -8 is on its way with two postinst lines swapped.

Jonathan McDowell: Hello? Is there a problem with the line?

My E3 is currently sitting running KPhone/Pi under OPIE. Annoyingly I currently have to have a USB mouse attached due to lack of a suitable pointing device on the E3, but I'm sure that's solvable in time. More disappointing is the fact that it doesn't really work. :( I can successfully SIP register with my local Asterisk instance, and dial voicemail successfully. I only hear a fragment of the "Chameleon mail" prompt and attempting to send DTMF to choose a mailbox doesn't work either - I don't know if this is because I leave it too late or if they don't get sent at all. OpenEmbedded doesn't have any other OPIE based SIP or IAX clients, nor anything text mode that I can see. I found ZiaxPhone but it seems to be closed source so I can't rebuild it. Guess I'll have to find a text mode client and try to work out if it's KPhone, the audio driver or the E3 not being fast enough that's the problem.

Gunnar Wolf: More != better

This is the time of year when most Free Software-related conferences in Mexico have their calls for papers. CONSOL's CfP closed two weeks ago (agh, I had to CONSOL's CfP closed two weeks ago (agh, I had to /lists.consol.org.mx/pipermail/consol/2006-May/006443.html">/lists.consol.org.mx/pipermail/consol/2006-May/006443.html">send my proposal by mail, and I do hope it gets in the official program - For sentimental reasons more than anything else ;-) CONSOL is, after all, still my baby!). Yesterday I had to come up with something, as CICOL's deadline was also hanging upon me. Now my attention has been brought towards FSL, for which I still have almost one month to think. And, of course, although at other times of year (but, of course, still clashing with other conferences) we will not have one, but three instances of GULEV this year..
WTF?
Mexico's Free Software community is a small and not too productive one, as most communities in our (culturally defined) continent, Latin America. And yes, conferences are quite fun, it's always nice to go to a nice place and meet your friends. But we must not forget the real motivation for them all: The academic program. We currently have four conferences that try to reach to the same audience (yes, in different places of the country, but all of them with a national scope). And if you compare the list of proposed talks (visible currently for three of them), you will see there is no real difference between the set of talks on them. Please explain me, what kind of incentive does this give to anybody to attend? Just to hang out with the friends, entering a talk here and there?
I ended up submitting the same talks for both CONSOL and CICOL, as running Debconf didn't leave me time to prepare or think over anything - That's not what I like to do, and I hope I can be a bit more creative with the topics for FSL. There is no published criteria yet on what will be the focus for (each of the) GULEV, so I'm not committing yet to them. And yes, being a very active Free Software promoter in my country, I try to be present everywhere - but of course, everything has a limit. I will most probably not skip CONSOL (as it is on the city I live, and it is the one I am most sentimentally attached to) or CICOL (as it is just 1hr south from here)... But I'm still uncertain if I'll be at FSL or any of the GULEVs.
Back on my initial questioning, anyway: Do we need four perfectly equivalent conferences in this country? Besides ego clashes, wouldn't we be best served if we had only one or two big conferences a year?

Benjamin Seidenberg: Another Scholarship and Graduation Honors

At the Senior Awards Ceremony, I found out that I was awarded the 1st place ($1000) scholarship by the PTSA. Then later, I found out my parents had known for 3 weeks. It’s the first time my dad has kept a secret that long. In related news, I’m still ticked about the honors thing. The local paper’s article about the issue sucks, but a paper from a neighboring county has a great article here. In short, to make everyone more equal, the school is prohibiting the wearing of honor cords and medals and such that signify participation/success in various activities and programs. I intend to wear both my AP Scholar of Distinction and IB Diploma Canidate medals when I walk across.

2 June 2006

DebConf6 Blog: DebConf6 Over - Thanks to all and pictures for the gallery (Posted by The DebConf6 Orga Team)

As you probably know by now: DebConf6 is over! It was an excellent event at a nice location with some amazing network details - such as 1.8km of cable to get all our areas linked into the local network, and having a fiber link into the tower - with 10mbit hubs. We would like to say thank you to all the people who helped to run and organize this conference, taking on tasks such as Additional thanks go to all the people who lent us their hardware, our sponsors for making the event possible in the first place (see the full list at debconf6.debconf.org), and to all the attendees who managed to keep on smiling even when things didn’t always turn out as expected.
While we are at it: There is a central gallery for DebConf6 behind gallery.debconf.org. As it is open for everyone, just create a user there and send a little mail to gallery-admins@debconf.org to get your account activated. We would like to have this as a central point for all pictures taken at DebConf6 (and all prior / following DebConf-Events), so we would really appreciate if you can (in addition to your own gallery) upload the pictures from DebConf6 or all prior events you attended there.

Wouter Verhelst: ...

Finally, EMILE, the Early Mac Image LoadEr, is part of Debian. It had been in the works for quite a while; First Stephen Marenka filed an ITP for the thing a bit over a year ago; and then I did the same, not noticing Stephen had the ITP out for a few weeks already when I did so. ITP bugs were merged, we set up an SVN repository, and then nothing happened for a long time, mainly because while I could get it to build, I did not succeed in actually booting a kernel off my own-built emile. In the mean time, another version was released—one with wonderful features, such as an ELF loader and gunzip implementation (so that I could ditch the script that I'd written to throw kernels through objdump), the ability to boot off of CD-ROM drives (would be great for d-i), and more. Finally, about a month and a half ago, I got the thing to actually boot on barok, my IIci, when I compiled it myself. And there was much rejoicing. It's spent the last month in NEW, but now Joerg and/or Jeroen are back, so it's been ACCEPTed. Whee! If you're interested in giving emile a try on your m68k machine, then feel free (once you can, after the next mirror pulse), but beware: EMILE does not have the ability to install more than one kernel yet, and you can't boot from EMILE to MacOS yet, either, should you make a mistake. I recommend trying it out on a floppy disk first, or to use a second hard disk which you can place as the second disk in your system, should it be required. In other, only slightly related, news, there's a new release for belpic about to come out, too. But more on that later.

Next.

Previous.