Search Results: "joey"

28 March 2007

Joey Hess: colors

Am I the only one who hears "program foo, now with fancy colors" and feels a sense of dread? Please, try for: "program foo, now with a few carefully chosen, tasteful, colorblind-friendly highlighting colors that can be easily turned off".

27 March 2007

Joey Hess: rootsync prototype

My evil plan described at http://wiki.debian.org/RootSync seems to be actually doable, and I have an early prototype. Here's a fun transcript. I start with a debootstrapped /tmp/sid chroot, and let it watch me run a few commands, copying accessed files into /tmp/new. This automatically creates a fairly minimal chroot that can only run those commands. transcript:
root@kodama:/home/joey/src/packages/unreleased/rootsync>ls /tmp/new
ls: /tmp/new: No such file or directory
root@kodama:/home/joey/src/packages/unreleased/rootsync>./watcher /tmp/sid /tmp/new &
[1] 3698
** starting up ...
** scanning /tmp/sid ...
** running
root@kodama:/home/joey/src/packages/unreleased/rootsync>ls /tmp/new
bin/  dev/  etc/  lib/  sbin/  usr/  var/
root@kodama:/home/joey/src/packages/unreleased/rootsync>cd /tmp/sid
root@kodama:/tmp/sid>chroot . bin/sh
sh-3.1# ** add /tmp/new/bin/bash
** add /tmp/new/lib/ld-2.3.6.so
** add /tmp/new/etc/ld.so.cache
** add /tmp/new/lib/libncurses.so.5.5
** add /tmp/new/lib/tls/libdl-2.3.6.so
** add /tmp/new/lib/tls/libc-2.3.6.so
** add /tmp/new/dev/tty
** add /tmp/new/etc/mtab
** add /tmp/new/etc/nsswitch.conf
** add /tmp/new/lib/tls/libnss_compat-2.3.6.so
** add /tmp/new/lib/tls/libnsl-2.3.6.so
** add /tmp/new/lib/tls/libnss_nis-2.3.6.so
** add /tmp/new/lib/tls/libnss_files-2.3.6.so
** add /tmp/new/etc/passwd
** add /tmp/new/root/.bash_history
** add /tmp/new/lib/terminfo/x/xterm
** add /tmp/new/etc/inputrc
sh-3.1# w
sh-3.1# ** add /tmp/new/usr/bin/w.procps
** add /tmp/new/lib/libproc-3.2.7.so
sh-3.1# ls
** add /tmp/new/bin/ls
bin   dev  home    lib    mnt  proc  sbin  sys  usr
boot  etc  initrd  media  opt  root  srv   tmp  var
sh-3.1# ** add /tmp/new/lib/tls/librt-2.3.6.so
** add /tmp/new/lib/libacl.so.1.1.0
** add /tmp/new/lib/libselinux.so.1
** add /tmp/new/lib/tls/libpthread-2.3.6.so
** add /tmp/new/lib/libattr.so.1.1.0
** add /tmp/new/lib/libsepol.so.1
sh-3.1# exit
root@kodama:/tmp/sid>** update /tmp/sid/root/.bash_history
root@kodama:/tmp/sid>cd ../new
root@kodama:/tmp/new>du -s
3.7M    .
root@kodama:/tmp/new>chroot . bin/sh
sh-3.1# ls
bin  dev  etc  lib  root  sbin  usr  var
sh-3.1# w
sh-3.1# find
sh: find: command not found
It'll be a way from here to something usable on a semi-embedded system, but I'm excited at how well it already works!

26 March 2007

Paul van Tilburg: IPv6 Troubles

In response to Joey’s IPv6 autoconfiguration troubles: Over the years I’ve gotten IPv6 autoconfiguration working just as you described: load the module and bring the interface down and back up. Though, I suspect you may have been running Debian’s linux-image-2.6.18-3- arch kernel which seemed to drop/neglect/whatever (I haven’t checked the specifics) IPv6 multicast (link-local) traffic over which the autoconfiguration is done. When 2.6.18-4 arrived in Sid, all worked fine for me after a reboot too.

Joey Hess: ipv6 argh

For the first time, I have working ipv6 to both my main servers as well as my home network using 6to4. That's nice, what's driving me insane is that while I seem to have radvd set up properly on my OpenWRT system here at home, none of the boxes on the network are autoconfiguring their ipv6 addresses. And linux doesn't offer any way to debug this that I know of, besides logging the rather useless "wlan0: no IPv6 routers present". radvdump shows the clients can see the advertisements, which look ok. All the kernel parameters look ok. If I manually set up an address on the clients it works. So why is linux ignoring radvd? No idea, no way to tell.. Update: Getting ipv6 client autoconfiguration to work on linux seems like a bit of a black art. You're think you could just load ipv6, take an interface down and back up (or even just wait for radvd to broadcast) and have autoconfiguration just work. This does not seem to be the case, after beating my head against this for several hours with no success I finally rebooted my laptop and it's now doing autoconfiguration. No such luck with my desktop and nslu2, despite reboots and poking. And something strange is going on, since twice I've seen dhclient clear autoconfigured ipv6 settings from an interface.

21 March 2007

Adrian von Bidder: Wind power

Call me pessimist, but I can't see how wind power works as a civilisation's main power source without massive backup by either energy storage or alternative energy sources for those times when there's just no wind. There are only few (if any) locations with winds which blow 24*7 at enough strength. So our world needs, even more than wind power, any technology that reduces power consumption (which can mean, in many cases, fall back to some old-fashioned technology. Like a proper on-off switch instead of a standby mode. /me would probably vote in favor of a law mandating on-off switches on all electrical devices.)) (Oh, and to Joey, in case he didn't notice: Winter's back! :-)

Joey Hess: </beard>

Spring is here..

19 March 2007

Joey Hess: left handed bread knife

While looking for a left-handed bread knife, I ran across this page which is the most complete lists of left-handed unfriendly objects I've seen. Reading down it, I'm suprised how many of these I've adapted to. I turn a can opener with my right hand, pour saucepans using my right hand, scythe with my right hand leading, use a tape measure as a right-hander would, and hold playing cards in my right hand. OTOH, I hate using scissors, I almost never hand-write anything, and I never could get a boomerang to work.

15 March 2007

Joey Hess: ikiwiki summer of code

Google has accepted ikiwiki as a project for the Google summer of code. It's an honour to have my year old project listed alongside 100 mostly major free software projects. I would not have thought to sign ikiwiki up at this point, but it's really a great point to do so, with so much still to do, so thanks to Josh Tripplet for making it happen. Students who are interested in being funded to work on ikiwiki this summer can check out our list of summer of code ideas or submit your own.

14 March 2007

Joey Hess: comix

I'm flattered to appear in the comics, although it's strange how I ended up speaking Frenglish in it..

Julien Valroff: First time in Debian Weekly News

I was surprised to read my name in yesterday’s edition of the (now monthly) Debian Weekly News. I have been quoted thanks to my question on debian-mentors@l.d.o about when a maintainer may close an unreproducible bug report. This particular bug was closed a few days after, as it was due to a misconfiguration on the bug reporter’s machine. Thank you joey!

12 March 2007

Martin Michlmayr: debian-installer rc2 for NSLU2 available

Frans Pop uploaded debian-installer a few days ago in preparation for RC2. RC2 will be released in a few days after some more testing and the creation of CD images. Since the NSLU2 doesn't need CD images and I've tested the installer already, I've made NSLU2 images of RC2 available. Special thanks go to Gordon Farquharson who has done tremendous amounts of testing in the last few weeks and months. Since RC1, the following changes have been implemented: Installation instructions are available.

11 March 2007

Joey Hess: d-i install testing with qemu and digress

As the first step in moving my automated d-i install testing away from the dilab and over to emulation, I've added support to the d-i regression tester (digress) to use qemu for serial-console based CDROM installation tests. It was fairly straightforward to do that, since digress already supported bochs and hercules. I don't currently have an enourmous fast machine I can run qemu on. Actually, all of my servers, including my only amd64 server, have xen on them, which isn't ideal in combination with qemu (no kqemu..). So I thought I'd put this out as a howto, in the hope that lots of people will set up their own automated tests. If you do, please mail me and let me know, and I will aggregate all the tests together into a nice status page. Here's how to set it up: (Wonder if I should make a package of digress?) A few ideas for things to test:

8 March 2007

Joey Hess: sleep schedule

As usual, it's wacked again. I've been going to bed at horrible hours, nowhere near a nice midnight baseline graph (most recently at 10 am). I've bought melatonin, and I intend to use it.. Here's hoping for graph sanity.

Joey Hess: embedding debian

Here are some scenarios for ways that I want to use Debian on semi-embedded and embedded devices. So far there's not a good way to accomplish most of these, and each scenario needs at best a different approach, from flashybrid to Embdebian to ADS root builder to hand hacked images. That will change, I hope, if the grand unified scheme I'm plotting comes to fruition. If some of these scenarios interest you, please check out the design at http://wiki.debian.org/RootSync. openmoko First, install Debian to a 2 gb microSD card in the phone, using d-i. Bog-standard Debian install (except for it being g-i running on a cell phone!), standard partitioning. Boot the install and use it for a while. Install more stuff and tweak the system. Now you want to remove that microSD card, to save power. So, unmount it, and remove it. Debian continues running; all the files you normally use, including everything needed to boot the system, have already been copied over to the flash. If the flash gets too full, just delete any files you don't need right now. If you later find you're missing a file, just plug the microSD back in, mount it, and you can access the file again. This is also an easy way to do a backups, a simple command can sync your changes up to the microSD card. Also the microSD card can be plugged into a different openmoko phone, chrooted into, a command run, the phone rebooted, and it's been taken over, now running the same Debian install. Great party trick. ;-) slug with a 32 mb USB stick This is my sister's nslu2 box, that only does one thing, really: Dial up to the internet and route packets to the access point. It's also nice to get Debian security updates from time to time. And I don't want to have a noisy hard drive on it, so it runs from a small USB stick. The initial install is done to USB drive, then I add the USB stick to the picture, boot the nslu2 up, configure ppp, run it, and I can remove the drive, it's ready to run in embedded mode from the USB stick. Later I need to apply a security update, so I plug in the USB drive, mount it, run aptitude, and I'm done, just unmount the USB drive again, and the USB stick now has updated versions of the necessary files. true embedded system development A company is creating a real embedded arm system, it needs to run from 64 mb of flash, with a fair chunk for their own application, and a fair chunk free for user data. An engineer is using his development system to work on creating the jffs2 filesystem that will go on the production hardware. He starts by untarring the Debian armel port to a drive, and copies in the custom application. Then he sets up an empty jffs2 filesystem on mtdblockN. After rebooting the system, the jffs2 contains the files needed to boot Debian on its own. The engineer runs the custom application, and the jffs2 is now ready to run that too. But it's getting a bit tight for space on the jffs2. Time for busybox. He runs "busybox install [long list of busybox commands]", replacing lots of core commands with their smaller busybox versions. After a few reboots, all the init scripts are hacked up to work with the busybox stuff. (Argh.. Debian should work with it by default. Anyone want patches?) Maybe he goes on to run mklibs or do something with uclibc. This might take a few iterations to get right, but he doesn't worry about screwing up the system -- he knows that at any point he can delete all the files on the jffs2, reboot, and be back to his unmodified system on the disk drive. Once everything is ready, he can load the jffs2 onto production hardware and the new embedded system is ready to be tested and qualified. slug thick client My nslu2 box, used for handling some USB devices like my UPS, security camera, etc. When the network is up, and the storage server is up, it can nfs mount root, but that doesn't work when the power goes out and the server needs to come down. I want it to keep working in that case, as a kind of detached thick client. After hacking nfs root support into d-i at some future point :-) I have it booting with nfs root already. There's around 3 mb of unused flash on the slug, so I set up a jffs2 partition using that, and through some trial and error get the right files on there to let the system keep running in a degraded mode when the nfs mount goes down. 3 mb does fill up pretty quickly if the camera notices motion, but it's good enough, so I decide not to put a USB stick on the box.

Joey Hess: openmoko and n800

I wonder why I have such a better feeling about the OpenMoko than the Nokia n800. I feel that I know the OpenMoko already just by reading Harald's blog and browsing its wiki. It's a pretty stock arm system, boots with uboot, system in jffs2 flash, interesting interface to the necessarily proprietary cell phone stuff, all the hardware will work with only lightly modified linux kernels and the kdrive X server. Major downside of no wifi, though bluetooth is available, and if there's power, a USB wifi dongle could be used. Afrer putting in a similar amount of time googling for info about the n800, I'm still left in the dark on a number of points. I don't know what the boot loader is, what kernel or X modifications are needed, whether non-free drivers might be needed for some hardware, etc. IIRC the n700 had some issues along those lines. Of course, the reason I care about this stuff is that I can't conceive of owning a linux PDA or cell phone and not putting Debian on it, and I don't mean running Debian in a chroot, which is as far as I've heard of people getting with either the n800 or the n700. The GUI stuff for both these is pretty nice, and would make nice Debian packages. I, however, want to use ion. Note: See discussion for some notes based on feedback.

1 March 2007

Lars Wirzenius: Debian: Automatic testing wishlist

Joey Hess writes about automated system testing in his anti-platform. That's one of the things that I'd like to work on, some day, when I have some free time again. There's two things I would like to do next in this area. First are improvements to piuparts so divide the tests it does into smaller bits, and to add a plugin framework so that it becomes easy to write new tests. The current piuparts code isn't really well suited for this, but the whole program is only a few hundred lines of code, so even if it had to be rewritten completely from scratch, it shouldn't take more than a couple of weeks of full time work (piuparts development is often slow because you need to run tests on large parts of the archive). The other thing would be to test upgrades not of individual packages, which piuparts does now, but of entire systems, preferably in emulated machines instead of chroots. This would probably need a new tool. The third of these two things would be to start adding automatic tests to packages so that we can test whether they work when they're installed. Ian Jackson did some work on a tool for this, but we need to use the tool. Ideally, we would have a setup where packages get tested automatically, continuously (daily, if possible) and results are reported instantly. At the moment, piuparts results need to be filtered manually, and that's a pain. Adding a "package health indicator" the PTS based on these automatic tests would be cool. We could even have a "Debian big board" web page, with a small square for each package, colored green if it's bug free and passes automatic tests; colored cyan if there's only bugs of severity normal or below, or a problem with some of the automatic tests; colored pink if there's a bug of severity important, or all automatic tests fail; and colored red if there's bugs of severity higher than important. This would give an overview to the health of Debian with a glance.

28 February 2007

Joey Hess: my anti-platform

Why you won't be voting for me for DPL this year. Or, my plans for Debian stuff over the next year (or three). Most of these plans embody larger themes and directions that I feel Debian should take. I am a strong beliver that working code and getting stuff done is the best way to work toward larger goals, so I won't bother to try to explain the larger goals.
constantly usable testing This is so important that it has its own page. This is my first public posting of that proposal, and it should not be considered finished. I plan to finish it, and get to work on it. website www.debian.org is deprecated, but this is not obvious to either users or developers. That's because it's not formally deprecated, we just treat it like it is: We don't use it for anything new. Instead we have wikis, planet, times.debian.net, etc, etc, etc, etc. Unfortunatly that has created a bit of a mess for users, who are still often stuck trying to use www.debian.org, or who can't find new stuff that is on other sites. A solution could be creating an alternate starting point for users, to help them learn about Debian, install it, and point them to docs and all the other useful sites once they're more involved and using Debian. I hope to find time to work on and promote such a thing. I plan to continue moving stuff that needs to be maintained actively and grow off of www.debian.org to the wiki (as I've done with some of d-i stuff, for example), and encourage others to do so as well. Anything under /devel/ on www.debian.org is an especially good candidate for the wiki. double the archive sync frequency again Now that we've switched to updating the archive twice a day, and dealt with the (minor) issues caused by it, it should be easier to increase it to a frequency that is more likely to cause noticible turnaround time improvements and thus speed up some development. As it is, many people sleep through one or the other archive update. So I support doubling it to four times a day, or more (six seems better). automated whole system testing Automated whole system testing is important because Debian needs to keep working in so many obscure and annoying to test situations. Does d-i work on m68k? Does the desktop task install properly and work? Does debootstrap install a usable system on every architecture? If we rely on user reports, things can fall through the cracks entirely or not be noticed for too long. I've been running a d-i lab for a few years, which tries to automatically test installs on 6 architectures. However, between the current kernel not supporting several of my test machines due to hardware and software bugs, and the general time sync of keeping a rack of aging and obscure test boxes working, this has not been very useful lately. I feel that the solution is emulation: It should be possible to run Debian under emulation for most architectures. I hope to get an absurdly powerful server donated, and switch my test lab over to running in emulation on it. developer (virtual) machines The other benefit of emulation is that everything needed for testing stuff under emulation can be easily distributed to others. Getting developer accessible machines for certian architectures has been a problem in Debian. Emulated systems can sidestep this problem. All that's needed is a collection of documents and/or bootable images that developers can use to set up virtual machines for as many architectures as possible. We have steps in this direction. Hercules contains documentation for how to install in it using d-i. There is a kernel flavor and d-i boot images for mips on qemu. Having to ssh out to a DSA adminned box to deal with a buld failure on $ARCH, and having to wait for build deps to be installed should begin to feel antequated and quaint. It is. find the next nslu2 Debian's support for the nslu2 is an excellent development. It opens up using Debian for a whole new set of tasks, that need low-powered, semi-embedded, commodity hardware, that before were the province of special-purpose embedded distros. It also blew the popcon numbers for arm through the roof. We need to find the next nslu2-like target and get to work on it. I'm hoping that it will be a wireless router, because that's the only thing I'm not running Debian on now. :-) But it could also be a cell phone, or PDA..

24 February 2007

Joey Hess: whadda week

I've been in a good mood toward the end of this week as the stuff I've gotten done has reached that critical mass that makes me feel I'm accomplishing something. First, I got a nice new domain for ikiwiki, with an irc channel for good measure, and there's also work on a Google Summer of code application for ikiwiki afoot. Then there was rather a lot of useful feedback and patches on ikiwiki, and a few nights ago a very tricky race condition was discovered. Batting around possible fixes for it on irc for several hours was pretty useful, it's a lot easier to think about locking, deadlock, races, etc, when there are some other minds to share the thinking. I eventually came up with a fix that seems ok, around 5 am that morning. Yes, my sleep schedule has been suffering.. On Thursday I took a digression into RL to fix some cladding that was pulled away from the eves of my house by a badly attached cable. I ended up wandering around Lowe's for over an hour -- when did that become such a fun thing to do? Oh yeah, when I bought a house.. Some kids were playing hide and seek; maybe a bit dangerous there but it has to be the funnest possible place to do it. Anyway, amoung other things I bought a collapsable ladder and had an interesting time on it 2 stories up while avoiding the nearby electric wire. Also fixed a broken latch on my wardrobe. Concurrent with all this, in $DAY_JOB, I've been working on the armel port of Debian, including getting d-i to work with it. Since this is an unofficial port, that is not gpg signed currently, this also gave me a chance to make d-i capable of dealing with an unsigned repository. Earlier this evening, I almost completed my first armel install on an nslu2, and I expect to release images by Monday. Finally, AJ reminded me about an item that'd been on my TODO list for far too long; some way for James to deal with gpg keyrings that doesn't treat them as binary blobs. I'd been meaning to work on that for oh, 2 years? 3? And I must have been thinking about it in the background a bit, because I fairly quickly came up with this gpg changesets idea, which is basically a dedicated revision control system, and a data format that's not too horrible (though it could be much nicer with support in gpg). Quickly followed by a whole working sample implementation that I hope James, or someone, will find useful.

23 February 2007

MJ Ray: Debian: Links for 2007-02-23

While we're fixing some network problems, here is a musical interlude^W^Wset of links...
Explaining Debian at parties
'Do not try to convince people to try it out or you will become a support hotline. Instead, tell them about LUGs and mailing lists (and how cool it can be) and put the challenge on them: "if you try it, those are your support channels. Are you up for it?"'
Index of /~joerg/templates
Explanations of some common reasons for getting REJECT from ftp-master.
gravityboy: Politics
"If we're going to make interactions between developers more civil and friendly and less personally hostile then we need a different kind of stick. Maybe a carrot of sorts is in order too?"
Consensus and community review in open source and open standards Decentralized Information Group (DIG) Breadcrumbs
'this is quite a stretch with respect to the normal dictionary meaning of "consensus"'
Social Drag
How many Debian Developers are dressed in Social Drag?
debian Gender Research
More research to add to the surveys page
#354950 - ITP: gauche-readline -- A readline-like library for the Gauche Scheme implementation - Debian Bug report logs
Contemplating sponsoring again.
The joys of English cuisine are abomination in God's sight Ted Walther's Private Diary
Blast from debian past: Ted Walther's gullibility for stereotyping is an abomination in God's sight and those foods are hardly typical English. For instance, the only one on his PS list that I've eaten recently is flapjack (not flapjacks, which is something else and not English AFAIK) and I can only remember eating five of the list in the last year. Also, the linked site seems to concentrate on processed pap from multinationals and supermarkets, rather than real trad English food. Example: "Yorkshire puddings are basically a bread type product. You can use them in place of dinner rolls." Why not make 'em a bit harder, cook 'em a bit longer and you can use them for cobbling the street instead? Yorkshire pudding should be a baked batter with a soft middle and a crisp puffy edge. Nothing like bread. And don't get me started about the pasties. Honestly, if you learn about food from such sources, no wonder you'd think it an abomination.
Re: Position Statement to the Dunc-Tanc "experiment"
"had somebody wanted to kill (or inflict maximum damage) to the project, he couldn't have done any better than the current DPL"
Releas-o-meter
Interesting idea - why no cron-run copy on the web?
EUPL v 1.0 revokable ?
One that may appear in a future 'bits from debian-legal' - it seems the EU are popularising a type of termination clause. Yay.
Future of Debian Weekly News
As I hoped, Joey is explicitly calling for sponsorship for DWN production.
DPL 2007, Current Candidates
still don't have a title is keeping a list of DPL candidates, so I won't put one up this year.
#411041 - request for debian-l10n-persian mailing list - Debian Bug report logs
Tell all your persian-speaking friends to show their support!
Interprete I cite, you cite, I rant
Lack of references is a problem on lists like debian-legal where explaining everything again can drive you insane and still not convince some people.
Lucas Nussbaum's Blog State of software for Suspend to RAM/Disk ?
More tips on the "Will I Work Or Not?" suspend problems.
only on debian-devel - she.geek.nz
> Am I mistaken or this is a flame on how to flame ?

21 February 2007

Joey Hess: lazyweb: locking

Does linux's flock() implementation atomically downgrade exclusive locks to shared, or is it one of the ones that does not do this atomically and can be raced? The source has an old comment that says it's not atomic, but then seems to do the lock removal and addition inside the big kernel lock, which would seem to make it atomic. But I'm not much of a kernel hacker..

Next.

Previous.