Search Results: "ms"

2 December 2009

Bastian Venthur: The sorry state of Python in Debian

Looking at the sorry state of Python in Debian, makes me wonder if we shouldn t enforce team maintainance of packages above a certain popularity/importance/whatever threshold. People worked hard in the last months to fix any bugs that would prevent Python2.6 to land in unstable and yet nothing happens. Time passes by and we will eventually end up with Squeeze having a horribly outdated Python version.

MJ Ray: As One Association Closes, Another Network Begins

The Association For Free Software (AFFS) seems to have been finally wound up last week. So long, AFFS was Richard Smedley s view of it. I actually left four years ago (when I wrote State of the AFFS site currently moving) but I was still a signatory for the bank, so I helped wind that up. So as one door closes, another opens. Today I m off to meet our co-op s newest member and also to see if we can reinvigorate the Principle Six business network. I ll post more about that in a few days, but if you ve any ideas about how Free and Open Source Software can help, I d love to read it in the blog comments.

Benjamin Mako Hill: Introducing Between the Bars

I've been working with Charlie DeTar and the Center for Future Civic Media on a project called Between the Bars which is a blogging platform for prisoners. The current platform is essentially a snail-mail to web gateway: prisoners send letters which semi-automatically scanned and posted to the site; comments are printed and mailed back. As we plan the launch of the project, we are trying to talk to as many stakeholders as possible -- this includes ex-prisoners, families and friends of people who are or have been in prison, non-profits working with prisoners, victims of people in prison, people who work in prisons or in corrections, probation officers, or almost anyone else with a perspective or set of experience that might help us understand the difficult space our project is trying to negotiate and who might be able to help influence the design. At the moment, we're not talking to current prisoners due to rules regulating research involving prisoners, but almost anyone else would be someone we'd love to connect with. We're interested in hearing from people about their experience with prisons or prisoners, about staying connected to families and friends while behind bars, and, ultimately, about how we might design, deploy, and support technology to help folks out. If you or someone you know are stakeholders and would be willing to talk about your experience and opinions with prisons, communication, and technology, please drop us a line at betweenthebars@mit.edu.

1 December 2009

Neil Williams: Moved server, moving house...

  1. Response times should dramatically improve on this new server - without flooding planets too. Together with Simon Waters, I've moved from a real (but tired) server to a snazzy virtual one with bytemark. Various other bits will be being updated and the new site will start to host more useful data on translations and string freezes in progress.
    DNS is currently updating, but over the next 24hours the old server should be able to take a rest before being finally powered down.

  2. In other news, my house in Plymouth is now on the market - I'm preparing to relocate to Cambridge. No more pharmacy, it's time to work on embedded applications full time. It's going to be a chaotic few months ahead . . .


Adrian von Bidder: Toys, Number Three

Biggest, in terms of money involved, piece of equipment is a nice piece of glass to put in front of our camera. Since my wife had been using a Canon SLR since forever (and we stayed with that when moving from the EOS 300 to the current EOS 40D), the choices to upgrade from the kit EF-S 17-85mm f/4-5.6 basically have been: In the end I got the EF 24-70mm f/2.8 L USM, because the EOS 40D is no high ISO monster (we don't plan to upgrade immediately.) Also: I bought the Tokina AT-X 116 PRO DX (11-16mm, f/2.8) a while back and we're quite happy with that so wide-angle is covered. And since we're often shooting indoors (family and other events), f/2.8 is a big plus. On the tele end, there's quite a gap from the 24-70 to the old EF 100-300mm f/4.5-5.6 USM [age of the page to reflect the age of the lens ;-) ] but then the latter is probably the next lens to be replaced anyway. Since I only got 24-70 I can not directly compare these lenses. But after a few early tests I think I'm happy with the 24-70: while it seems to be a bit soft wide open at 24mm and at 70mm, it seems to be very sharp center to edge even at f/2.8 when used in the 35-50mm range. (Note that the 40D is a crop sensor camera, so I'm nicely using the sharp center area of a lens designed for full frame!) Yes, it's huge, so for casual walking around the 17-85mm will probably still get some use. Time will tell. And since it can, potentially at least, be used on a a EOS 5D Mk II, I now have another gadget to covet. Although this would mean giving up the Tokina 11-16mm. Anyway, not for quite some time yet... (The test also included the venerable EF 50mm f/1.8, Mk I, and I must say I'm quite surprised how sharp that one is in the f/4 to f/11 range.)

Adrian von Bidder: Toys, Number One

After I had been living with mostly the same electronic toys over the last few years (ok, I got the netbook earlier this year, but that's about it... and it might even count as a serious work tool given how much I came to use it) all the toys I've agonized over buying suddenly appeared on the doorstep within these two weeks... First part was the QNAP TS-419P which I bought after reading about QNAP on Martin Michlmayr's blog. The decision was quick when I realized that at least part of the Debian related information was not hidden in some obscure web forums but was there on the QNAP wiki itself, indicating quite some level of support from the manufacturer. Beyond that, tbm does an awsome job supporting QNAP users like myself through his excellent QNAP / Kirkwood pages and also, since Debian installer support for the 419 is not quite finished, by email. Kudos to him! So, once I get past some remaining obstacles (for some reason, the initrd refused to mount a raid1 root device when I tried it at first; working on that, but it's not that easy to debug without console access...) our old storage / Internet router (very old! Pentium II 350MHz with 128M RAM and its probably third internal disk, which became ridicolous to use when I bought a (big) external USB disk and realized it only has USB 1...) can be retired. Should be good for the environment, too, I should hope, in terms of power consumption even considering that I now run 3 more disks.

Stefano Zacchiroli: camljava for recent JVMs

resurrecting CamlJava (testers welcome) CamlJava is a great project by almighty Xavier that bridges the OCaml and Java worlds via the respective C interfaces (Caml/C interface for OCaml and JNI for Java). Unfortunately, the last stable release was a bit out of date and seemed not to work with recent JDK (both in terms of buildability and of runtime correctness, i.e., segfaults). With the tremendous help of Gr goire Henry, I've managed to prepare a set of patches that enables to build (and use without segfaults ...) CamlJava with recent JVM: in particular it seems now to work with both Sun's JVM and OpenJDK. A Debian package has been prepared; while it gets processed by archive manager, you can get an equivalent unofficial package from my APT repo:
    deb http://people.debian.org/~zack/debian zack-unstable/
    deb-src http://people.debian.org/~zack/debian zack-unstable/

Any form of testing is very welcome. In case you want to try O'Jacare on top of CamlJava however, you need to wait a bit more: Gr goire is working on it, but in the process he banged his head against bugs in both CamlP4 and CamlP5 (the only two available porting paths from the last stable release of O'Jacare) :-)

Andrew Pollock: [life] I think we've been bitten by the bug...

So we pretty much gave up on the condemned house. The more we hear about it, the worse it looks. Our agent got some paperwork on the red-tagging today. Apparently the large room out the front used to be a car port, and enclosing that was done without a permit. There's also a standalone room out the back that has had a bathroom added without a permit. Apparently the owner is getting fined $2,500 a day by the city until it's either brought into compliance or reverted. No idea if that's actually being paid, or who's responsibility it would become in the event of a sale, so we'll just quietly back away from that whole mess and pretend it never happened. Sarah was poking around Redfin again last night and found this property, for less than what the condemned house was going for (granted, this is a condo, not a house). We got our agent to show it to us today, and we really liked the look of it, so we're going to put an offer in on it and see what comes of it. We have to spend about three hours with our agent tomorrow morning going through paperwork. Wee. It certainly seems like a good time to be buying. Interest rates are low, the AUD is high against the USD, and prices are down.

Raphael Geissert: about scams

Email scams have changed... for good and for bad (depends on the POV and the case).

I decided to pick two samples that demonstrate two directions scams seems to be taking:


NAME
ADDRESS
TELEPHONE
SEX


As simple as that. Now the subject takes a more important role than the content: "Your email ID has been awarded one million pounds. in our Tobacco Promo". This, I must say, seems to be one of the worst scam emails I've ever seen. Compare it to the following:

Dear Raphael,

This email might come to you as a surprise and the temptation to ignore
it as not serious could come into your mind but please consider it and
accept it with a deep sense of humility.
[...]
The sum of ( 10,700, 000.00 Million Pounds), has been floating as
unclaimed since 2002 in my bank as all efforts to get across the
relatives of our customer Mr. Ruben Geissert who deposited the money
have hit the stones. Unfortunately, He died of Cardiac Arrest in the
year 2002, without a registered nest of kin.


I've highlighted the important bits of the email; the difference is clear.

I was already wondering some time ago when this kind of "improvements" to the scam (and spam in general) emails would be seen.

What's next?


P.S. if you haven't voted at the Earth Hour website please consider doing so.
If you are having problems voting because of the flash application, here's a direct link.

30 November 2009

Martin Meredith: (UK) The Gadget Show PC vs Mac

Today, an episode of The Gadget Show aired in which they compared PC and Mac to put on their wall of fame . I was shocked that there was no mention of Linux at all in their rundown. Here is the email I just sent to them in response to the show:-
Date: Mon, 30 Nov 2009 22:16:28 +0000
From: Martin Meredith <mez AT debian DOT org>
To: gadget.show AT northonetv DOT com
Subject: PC vs Mac Yes, you mention windows But both PC s and Mac s have the ability to run a little thing called Linux Linux is the base of an operating system that s been around for years, often
making innovations BEFORE Windows or Mac are able to. It s an Operating system that s written by the people, for the people, which
shows in the fact that there are hundreds (if not thousands) of distributions
available to download and use for FREE!!!! A large motive behind the Linux movement is the fact that it s completely free.
Both in the sense of Free Speech, and in the sense of Free Beer. You don t have to pay for it, and you can do what you like with it. Compare the above to a Mac. With a mac, you re limited to the hardware you can use, you re limited in the functionality, etc etc. Comparing to Windows, you can see the benefit of the price. Constantly upgrading windows can cost a LOT of money. Ok, Linux does have it s flaws. Some hardware isn t supported correctly, and a lot of the software you ll find on the shelves of your local shop probably won t work with it. But, nowadays, with the advent of the iPhone, and to a lesser extent, Android based Mobile Phones, people are coming to expect easily available software. Enter the package Manager. Most distributions of Linux now offer an easy way to find and install applications, and some go a step further and give you an application that makes life even easier (See attached screenshot) Linux also has the benefit that, like the Mac, the fact that it s not Windows,
and something that 90%+ of people use, it s not a target for Viruses. Add that
to the fact that it has Least Privileged Access built in (Think Windows Vista
are you sure that you want to run this program as an admin? ), and has done
since the very beginning, and it makes it one of the most secure operating
systems you can find. Linux has come along in leaps and bounds in recent years, and is surely a
competitor for any operating system out there. While it may be unfamiliar,
with the advent of new technology, it s perfectly placed. This has been shown
by the fact that until Microsoft made a sly move to relicence Windows XP for
netbooks, it was hard to find a netbook with anything but a Linux based OS on it (and all those who tried out my eeePC 701 when it was new and shiny out of the box tended to prefer what was on that than Windows!)
Regards,
Martin Meredith Freelance Writer for Future Publishing
Debian Developer http://www.debian.org/
Ubuntu Developer http://www.ubuntu.com/
Deputy IT Manager for Mobile Fun Ltd. http://www.mobilefun.co.uk/

Julian Andres Klode: Ubuntu Software Center coming to Debian


I just uploaded aptdaemon 0.11-1 and software-center 1.1debian1 to Debian unstable. They are currently waiting in NEW, and will hopefully pass it in a short time. I plan to replace gnome-app-install with software-center for Squeeze, but you can currently have both installed. Ubuntu Software Center (or just Software Center ) is a new graphical user interface for installing and removing applications; replacing gnome-app-install. Under the hood, it uses aptdaemon which exposes an interface to APT via D-Bus; i.e. something in the direction of PackageKit. At a later stage, the Software Center shall replace Synaptic, Update Manager and various other programs related to package management. The aptdaemon package is completely compatible to the Ubuntu one, and could thus be synced directly to Ubuntu without any change (if Ubuntu supports 3.0 (quilt) source packages now, I have not looked into this). The software-center package is based on the latest Ubuntu lucid package; and contains some generalization (e.g. replacing Ubuntu Software Center with Software Center ) at some more places. It still needs some work in the documentation and some parts of the program will have to be adjusted for Debian aswell. We also do not have a debianized icon yet; this will be worked on later. Posted in Debian

Russell Coker: The Transition to Ext4

I ve been investigating the Ext4 filesystem [1]. The main factor that is driving me to Ext4 at the moment is fsck times. I have some systems running Ext3 on large filesystems which I need to extend. In most cases Ext3 filesystems have large numbers of Inodes free because the relationship between the number of Inodes and the filesystem size is set when it is created, enlarging the filesystem increases the number of Inodes and apart from backup/format/restore there is no way of changing this. Some of the filesystems I manage can t be converted because the backup/restore time would involve an unreasonable amount of downtime. Page 11 of the OLS paper by Avantika Mathur et al [2] has a graph of the relationship between the number of Inodes and fsck time. Ext4 also has a number of other features to improve performance, including changes to journaling and block allocation. Now my most important systems are all virtualised. I am using Debian/Lenny and RHEL5 for the Dom0s. Red Hat might back-port Ext4 to the RHEL5 kernel, but there will probably never be a supported kernel for Debian/Lenny with Ext4 and Xen Dom0 support (there may never be a kernel for any Debian release with such support). So this means that in a few months time I will be running some DomUs which have filesystems that can t be mounted in the Dom0. This isn t a problem when everything works well. But when things go wrong it s really convenient to be able to amount a filesystem in the Dom0 to fix things, this option will disappear for some of my systems, so if virtual machine A has a problem then I will have to mount it s filesystems with virtual machine B to fix it. Of course this is a strong incentive to use multiple block devices for the virtual machine so that a small root filesystem can be run with Ext3 and the rest can be Ext4. At the moment only Debian/Unstable and Fedora have support for Ext4 so this isn t a real issue. But Debian/Squeeze will release with Ext4 support and I expect that RHEL6 will also have it. When those releases happen I will be upgrading my virtual machines and will have these support issues. It s a pity that Red Hat never supported XFS, I could have solved some of these problems years ago if XFS was available. Now for non-virtual machines one factor to consider is that the legacy version of GRUB doesn t support Ext4, I discovered this after I used tune2fs to convert all filesystems on my EeePC to Ext4. I think I could have undone that tune2fs option but instead decided to upgrade to the new version of GRUB and copy the kernel and initramfs to a USB device in case it didn t boot. It turns out that the new version of GRUB seems to work well for booting from Ext4. One thing that is not explicitly mentioned in the howto is that the fsck pass needed to convert to Ext4 will not be done automatically by most distributions. So when I converted my EeePC I had to use sulogin to manually fsck the filesystems. This isn t a problem with a laptop, but could be a problem with a co-located server system. For the long term BTRFS may be a better option, I plan to test it on /home on my EeePC. But I will give Ext4 some more testing first. In any case the Ext3 filesystems on big servers are not going to go away in a hurry.

Daniel Baumann: EXTLINUX as Alternative Bootloader

In September, the Debian GRUB maintainers took a step further in the long way of deprecating grub in favour of grub2. From my personal point of view, grub2 is not the way to go. Mostly because of these reasons: Back in Juli, when I was listening to the talk of Giacomo Catenazzi at DebConf 9 about bootloaders in Debian (high (618MB), low (110MB)), I was reminded that I really should getting EXTLINUX splittet out of Debians syslinux packaging and made available as an alternative bootloader within Debian. Last week I hacked together an initial working version and uploaded it to experimental. Note that the two comands extlinux-install and update-extlinux do not have all the safety belts yet, the theme-ing mechanisms are not integrated yet (I'll upload a syslinux-themes-debian soon), and that the layout of the generation of the config files in /boot/extlinux may could change (debian-wise, not upstream-wise). For me, it works already well though, I'm using it on my main desktop and notebook. If you want to help finding bugs or submitting wishlist bugs for additional stuff to be added, and recovering from an unbootable system is not a problem for you, you're welcome to try it out:
	# apt-get install -t experimental extlinux syslinux-common
	# sed -i -e 's ^postinst_hook =.*$ postinst_hook = update-extlinux ' \
		-e 's ^postrm_hook =.*$ postrm_hook = update-extlinux ' \
		/etc/kernel-img.conf
	# mkdir -p /boot/extlinux
	# update-extlinux
	# extlinux-install DEVICE
Update: Rather than having /etc/kernel-img.conf modified by users, bootloader packages should add symlinks to their update scripts to /etc/kernel/postinst.d and /etc/kernel/postrm.d. Uploaded new version to experimental. Thanks maks for mentioning it.

Andrew Pollock: [tech] Review: iGala digital picture frame

Now that I'm not letting the cat out of the bag (I bought these as gifts) I can write a review. The use case was pretty simple: I thought it'd be a cool Christmas present for our parents to give them something Internet-enabled that would give them regular updates on their grandchild (when he/she arrives). I was thinking a picture a day type of thing. So I hunted around for a WiFi-enabled digital picture frame, and found the iGala being sold pretty much exclusively by ThinkGeek. The reviews seemed pretty good. I know WiFi-capable frames have been around for a few years, but they always seemed to be pretty lacking in terms of WiFi functionality. Like they wouldn't do any security, or they'd only do WEP. This particular product claimed to do the whole gamut, including WPA2. The fact that it was a touch screen and ran Linux also made it appealing. So I ordered a couple of them for a few weeks before we headed to Australia, with the intention of making sure that they'd work. Here's the highlights. WPA2 didn't work (nor did WPA) Despite the software on the frames claiming to be able to talk WPA2, the frame would not associate with my Linksys WRTU54G-TM. I had to drop it all the way back to WEP to get it to connect. For me, this was the most disappointing failure. I bought the product specifically on the strength of its claim that it supported WPA2, and it just didn't work. It was also pretty impossible to debug the failure. I downloaded the latest firmware update, and that added additional settings for TKIP or AES when selecting WPA2, but neither option helped. The automatic updates are brain-dead Speaking of downloading firmware updates, the latest firmware that I downloaded and installed on the frames added automatic over-the-air firmware updates. Nice enough feature, except for the implementation. The frame tried to make an HTTP GET request for a non-existent file, every 6 seconds. So the frequency of checking alone is totally ridiculous, but couple with this the fact that it's making a GET request (this is what $DEITY invented the HEAD request for, people!) and the website has a "friendly" 404 Not Found page that weighs in at a little over 10 Kb. By my calculations, that's nearly 150 Mb of failed update checking traffic a day. Taking these frames to a backward country like Australia, where ISP users still have monthly quotas, gives the frame a pretty horrendous running cost in terms of traffic. Not to mention the outbound bandwidth requirements for the server hosting the updates. Crikey, the mind boggles. I'd have thought checking once a day and on power on would be perfectly sufficient. Transitions are unavoidable It may be just me, but I hate cheezy transitions. Digital picture frames tend to come with a myriad of them, but they all look cheap. It's impossible to tell the frame to just change the picture, it has to use at least one transition effect all the time. It defaults to randomly choosing from all the available ones. At least you can tone it down to just one. Automatic on/off time I liked that it was possible to configure operating times. No need to have the thing chewing power 24x7. It just seems to turn off the backlight outside of the programmed operating hours, so it's still doing the lame uber-frequent and bandwidth-intensive checking for updates even when it's "off". Photo check frequency is configurable Another nice feature was the ability to check for new photos at varying intervals. What I wanted for my parents was to just update once a day, so they'd get a new photo every day (assuming we put a new one in the Picasa web album that it's checking). This was very doable, and coupled with the automatic on/off time, means they should wake up to a new photo every day (that we change it). Built in photos are a bit too sticky There's 3 or 4 in-built photos as part of the firmware. If there's nothing accessible or available online, it'll cycle through these. Somewhat annoyingly, you need to have at least two photos in your online source for it to stop wanting to incorporate the stock photos in the mix. The workaround is to put the same photo in the online album twice, so you don't realise it's switching between two images. Lame, but it works... Touch screen UI was adequate Given the alternative user interface for digital picture frames is a little IR remote control and some dinky menus, the iGala was nice to configure. A full on-screen QWERTY keyboard pops up for entering WEP/WPA/WPA2 keys and configuring the Picasa/Flickr connections. Fairly responsive support The main near-showstopper for me was the lack of advertised WPA2 support. I emailed the Aequitech support folks quite a bit during my "evaluation" period. They got back to me fairly quickly most of the time and wanted to know exact details of my setup so they could reproduce it in the lab. They'd be well served having an actual ticketing system, instead of hiding behind an email address, as it made it hard to keep track of the multiple issues I was raising with them. It's written in Lua?! I have no familiarity with Lua, other than I know of its existence as a programming language. I'm curious as to what their motivation was for this language choice. All of the Lua code shipped in the complete firmware refresh ZIP files is bytecode. I have no idea if it's possible to decompile it. The CPU architecture would appear to be a Blackfin based on the few compiled binaries included in the full firmware. Easy to update Prior to the new update "functionality" I've already railed against, it was pretty easy to update. Download a ZIP file and a shell script, put them in the root directory of a USB key, and plug it into the frame and stand back. The updates don't seem to cryptographically verified (even the over-the-air ones), so I wonder if it's possible to break into the frame by way of a cleverly crafted "update". I have no idea what breaking into the frame would buy you. I don't know what sort of computing power they have. Conclusion I still think the iGala is a reasonable, if somewhat immature product. If the software is going to be actively worked on, and the support people continue to be responsive, then I think it's got good potential. For the price, I expected a more polished product, though. I received an email from their support people shortly after returning from Australia saying that they'd fixed the WPA2 problem. Unfortunately I had no intention of trying to remotely talk my parents through how to reconfigure their access point or the frame (interestingly WPA2 didn't work with their Linksys WAG54G2 either, so I'd love to know what WPA2 devices it was tested with), so it's 128-bit WEP until I next go to Australia.

Clint Adams: The Colbath-Kelleher Twining

Melissa was complaining that I was being nice for the wrong reasons. Several responses came to mind but I instead focused my attention on the man insisting that I had not paid for use of the sushi buffet. Technically, he was correct, but as I had just now learned of the sushi buffet's existence from him, I did not consider this to be a problem by any stretch. Condescendingly, he attempted to give me an out. Perhaps I took a piece of sushi without realizing it and would like to suddenly remember right at that moment. He seemed unconvinced by my denials. I asked him why exactly he thought I had taken sushi from his precious buffet. Melissa became increasingly more fretful. I was losing patience with both of them, and I was tempted to ask her where her husband was just to cause an explosion, but I knew that that probably was not the right way to escape this situation. Fahd passed by, and was no help at all.

Andrew Pollock: [life] When it looks too good to be true...

Yesterday, we managed to inspect the property that was for sale that we'd discovered. I think you could best describe it as a renovator's delight that's had a bit of work done on it. The kitchen is pretty new. The bathrooms are pretty good. There's some cracking around the place, and the floating floor looks like it's a bit of a dodgy job. That said, it definitely had potential, and for the asking price, assuming it wasn't structurally unsound, was something we could see ourselves doing up and flipping when we finally move back to Australia. So our agent told us we needed to get pre-approved for finance as the next step, and hooked us up with a mortgage broker, who was able to see us today. She said that pre-approval would be no problem, and we got what seemed to be a ridiculously good rate for a 5 year adjustable rate mortgage. Our agent called us back tonight and told us that there was another offer on the table for less than the asking price, and that the property had been red-tagged. It would appear that none of the modifications had permits. He's going to check with the city tomorrow to find out exactly what the nature of the red-tagging is all about, and what would be involved to get the property un-red-tagged, but I've got that feeling that it's going to be better to just walk away from it at this stage. So that's how we've spent our weekend. Speculating on real estate.

29 November 2009

Torsten Landschoff: New on Debian planet

Now that there is some content here, I added myself to the Planet Debian blog aggregator. Sorry for my weird head image, the shadow looked much better in Gimp. I ll have to correct that on another day Thanks to Holger Levsen for pointing me at the wiki entry which describes how a Debian developer can add himself to the Planet.

Torsten Landschoff: New development box installation woes

I got a new computer at home a week ago and finally got around to assemble all the parts. Which wasn t as easy as expected, especially fitting the CPU cooler was a hard fight. Specs For the curious, here are the specs:
CPU
AMD Phenom II X4 965 (4 3.4 GHz)
Mainboard
MSI 790GX-G65
Graphics
ATI Radeon HD 3300 (on-board)
RAM
8 GB, DDR3
Hard drives
2x SATA 1.5 TB (by Western Digital)
Ubuntu installation For testing and having a first look, I installed Ubuntu karmic koala (amd64). Installation went like a breeze, everything was detected and worked out of the box. Well, kind of graphics performance was dreadful. Which was kind of expected. Debian installation I originally thought about using Debian only inside virtual machines or change roots. Still, Ubuntu does not really feel like the real thing . So I went to install Debian, aiming at a sid/unstable installation. The first boot using the official squeeze snapshot netinst image (Binary-1 20091128-11:21) went fine. Up to the first prompt: No input was possible. Probably a problem with the USB keyboard I had connected (Logitech wireless). Out of curiosity I tried the graphical installer, which did not even get so far. It was stuck in an endless loop trying to start an X11 server. So I dug for a PS/2 connected keyboard and had more luck. I got to the point where the installer searches for the CD-ROM drive. As I did not want to dismantle my old system yet, I used an external USB DVD/RW drive. This was not detected by the installer so I was unable to continue installation. I guess, the NIC driver was also on the disc so no ethernet either. Today I installed the DVD burner into the tower and had more luck. It still amazes me how easy it is to create my default storage setup using d-i (LVM on RAID). However, the installer failed to reread the partitions after I created two on each drive, interestingly telling me about /dev/sda2 being busy. Perhaps a left-over swap partition from the Ubuntu install? Anyway, after running fdisk manually and writing the same partition table again, I was able to continue. The remaining d-i steps went fine, with just a nuisance: I was asked for the console font setting twice. And I had no idea what it was asking of me, AFAIK UTF-8 should be fine for all possible uses. I selected # Latin1 and Latin5 western Europe and Turkic languages. Not that I will see the console unless Xorg fails to run After having the base system running, I rebooted without selecting any more software, partly because I knew that the resync on md1 will need restarting after booting into the new system. The new system booted fine and I called aptitude to install build-essential, Xorg and both KDE and Gnome desktops. This pulled in MySQL via akonadi-server (ouch!) and I was asked for a MySQL root password. Seriously, I don t care, this is a desktop system. I tend to forget the password anyway and the last time, root was able to reset it. So I just hit Enter, leaving no password set. This lead to the installation asking me two more times for the password, which really sucks given that the server is only used by Akonadi for whatever reason and the last time I looked, it creates its own MySQL configuration. Albeit my old system is 8 years old, the new system still seemed slower. Which of course is due to disk latencies, given that /dev/md1 was being synchronized in the background. Anyway, I was eager to test the desktop experience and started gdm. X came up fine, but again I had no mouse and no keyboard (USB mouse, keyboard connected as well as PS/2 keyboard). I also was unable to switch to a VT, so I logged in remotely and rebooted the new system. After the reboot, hal obviously picked up the input devices and X11 worked fine now. At this point, I stopped as the sunday almost passed already. Summary: Debian installation still needs some improvements I think. Maybe our distribution is just too stable, after all my last install is 3 years back due to a disk crash Relevant Debian bugs

Jonathan McDowell: DIY laptop SSD "upgrade"

I'm due a new laptop; my Portege R200 is over 4 years old now, I find it much slower than my desktop (no surprise; P-M 1.2GHz/1.2GB vs Core 2 2GHz/4GB), it's had a new battery and it has an annoying whine on the screen unless you press the side in just the right way. It's still better for long periods of use than my EEE 901, which is why I keep it. In particular I'm off to LCA2010 in January, along with some associated travel beforehand, and I'll want more than the EEE for that, but probably not a brand new laptop. Which meant that when the R200 started throwing disk errors recently I wasn't particularly happy.

Having decided it wasn't worth buying a new 1.8" drive I looked for alternatives. eBay offered plenty of options for 1.8" IDE to CF adaptors and I picked up a Kingston 32GB CF card from eBuyer. I copied across the data from the old drive using a USB adaptor, frobbed grub sufficiently that I got it installed on the CF, then swapped out the drive for the adaptor + CF. I had to do the swap a few times; the first I forgot to have a kernel with ext2 support (the HDD was ext3, but I went back to ext2 for the CF). The second I'd done my usual trick of forgetting to populate /dev with things like console and sda* (ie enough to get to the point where udev will run). And then grub needed some prodding to boot without intervention. I got there in the end and I'm currently writing this from said laptop.

I've made a few changes to the Debian install in an attempt to make things smoother; basically the same tricks people have been using on EEEs or other slow SSD devices. No swap, Iceweasel synchronous toolkit writes disabled, filesystems mounted with noatime, /tmp on tmpfs, various daemons that I don't really use disabled. It's still noticably slower than with the HDD, particularly on writes. However it's quieter and as long as it lasts for the next 3 months I'm happy (plus after that I can reuse the 32G CF card somewhere else, which I couldn't have done with a 1.8" HDD as easily).

Now, back to eying the Lenovo X200s (ugly, trackpoint but 1440x900 display, good battery life) and Toshiba R600 (slower, lower res but pretty and trackpad).as potential replacements. Maybe there'll be something even shinier in 12" by next year...

David Bremner: Remove invocation of sbuild

So this is in some sense a nadir for shell scripting. 2 lines that do something out of 111. Mostly cargo-culted from cowpoke by ron, but much less fancy. rsbuild foo.dsc should do the trick.
#!/bin/sh
# Start a remote sbuild process via ssh. Based on cowpoke from devscripts.
# Copyright (c) 2007-9 Ron  <ron@debian.org>
# Copyright (c) David Bremner 2009 <david@tethera.net>
#
# Distributed according to Version 2 or later of the GNU GPL.
BUILDD_HOST=sbuild-host
BUILDD_DIR=var/sbuild   #relative to home directory
BUILDD_USER=""
DEBBUILDOPTS="DEB_BUILD_OPTIONS=\"parallel=3\""
BUILDD_ARCH="$(dpkg-architecture -qDEB_BUILD_ARCH 2>/dev/null)"
BUILDD_DIST="default"
usage()
 
    cat 1>&2 <<EOF
rsbuild [options] package.dsc
  Uploads a Debian source package to a remote host and builds it using sbuild.
  The following options are supported:
   --arch="arch"         Specify the Debian architecture(s) to build for.
   --dist="dist"         Specify the Debian distribution(s) to build for.
   --buildd="host"       Specify the remote host to build on.
   --buildd-user="name"  Specify the remote user to build as.
  The current default configuration is:
   BUILDD_HOST = $BUILDD_HOST
   BUILDD_USER = $BUILDD_USER
   BUILDD_ARCH = $BUILDD_ARCH
   BUILDD_DIST = $BUILDD_DIST
  The expected remote paths are:
  BUILDD_DIR  = $BUILDD_DIR
  sbuild must be configured on the build host.  You must have ssh
  access to the build host as BUILDD_USER if that is set, else as the
  user executing cowpoke or a user specified in your ssh config for
  '$BUILDD_HOST'.  That user must be able to execute sbuild.
EOF
    exit $1
 
PROGNAME="$(basename $0)"
version ()
 
    echo \
"This is $PROGNAME, version 0.0.0
This code is copyright 2007-9 by Ron <ron@debian.org>, all rights reserved.
Copyright 2009 by David Bremner <david@tethera.net>, all rights reserved.

This program comes with ABSOLUTELY NO WARRANTY.
You are free to redistribute this code under the terms of the
GNU General Public License, version 2 or later"
    exit 0
 
for arg; do
    case "$arg" in
        --arch=*)
            BUILDD_ARCH="$ arg#*= "
            ;;
        --dist=*)
            BUILDD_DIST="$ arg#*= "
            ;;
        --buildd=*)
            BUILDD_HOST="$ arg#*= "
            ;;
        --buildd-user=*)
            BUILDD_USER="$ arg#*= "
            ;;
        --dpkg-opts=*)
            DEBBUILDOPTS="DEB_BUILD_OPTIONS=\"$ arg#*= \""
            ;;
        *.dsc)
            DSC="$arg"
            ;;
        --help)
            usage 0
            ;;
        --version)
            version
            ;;
        *)
            echo "ERROR: unrecognised option '$arg'"
            usage 1
            ;;
    esac
done
dcmd rsync --verbose --checksum $DSC $BUILDD_USER$BUILDD_HOST:$BUILDD_DIR
ssh -t  $BUILDD_HOST "cd $BUILDD_DIR && $DEBBUILDOPTS sbuild --arch=$BUILDD_ARCH --dist=$BUILDD_DIST $DSC"

Next.

Previous.