My Common Lisp and Debian blog. For more off topic rants and stuff please see my livejournal blog.
Wednesday, November 02, 2005
Play a CD, get a rootkit installed
Wednesday, October 26, 2005
clisp now builds on alpha and ia64
Wednesday, October 19, 2005
telenet and proxy errors
Notice that there is no proxy configured. When this did not work they asked to configure proxy.telenet.be:8080 as a proxy without disabling the pac stuff. This also did not work. After the long call on the expensive helpdesk I tried configuring the proxy and disabling the pac. That worked.
/* PAC FILE: VERSION MANAGEMENT WITH CVS
* USE CVSWEB FOR UPDATING !!!
*
* Proxy autoconfig file
*
* $Revision: 1.29 $
* $Date: 2004/04/01 06:58:30 $
*
*/
function FindProxyForURL(url, host)
{
return "DIRECT";
}
Of course as he was using an inferior operating system as a first step he had reinstalled everything, and lost some data he had forgotten to backup.
I wonder when they will fix the pac file...
Gains and losses
On the other hand I and David D. Smith will adopt the clisp and libsigsegv packages that Will Newton took good care off up until now. We will coordinate the work through the darcs archives on cl-debian.alioth.debian.org.
Wednesday, September 14, 2005
Heads up: clc security problem
The irony is that this is caused by moving to a simpler architecture because of (among other problems) security concerns :-(.
Monday, August 29, 2005
The sparc of fustration
Anyway, as sbcl has to wait on glibc to enter testing, which is waiting for gcc-4.0 (nice overview here), I reckon a new testing sbcl is not going to happen anytime soon.
Saturday, August 13, 2005
sbcl progress
I narrowed the problem down to sbcl crashing in a pretty standard libc call: nl_langinfo. This seems related to the fact that on 2.6 glibc uses futex'es to lock non-re-entrant functions, but on 2.4 it uses signals but I fail to see how this could create a simple crash. Trying to investigate it is rather difficult because the problems changes if you use ltrace or strace, actually the crash location moves sometimes.
So in the end I decided:
- To make sbcl-with-threading die on a 2.4 kernel or if NPTL is not available.
- make separate sbcl images without threading for people that are still using 2.4
So now we have multiple cl-debian repositories:
deb http://people.debian.org/~pvaneynd/cl-sarge-packages ./
for sarge 2.6 kerneldeb http://people.debian.org/~pvaneynd/cl-sarge24-packages ./
for sarge 2.4 kerneldeb http://people.debian.org/~pvaneynd/cl-hoary-packages ./
for hoary 2.6 kerneldeb http://people.debian.org/~pvaneynd/cl-hoary24-packages ./
for hoary 2.4 kerneldeb http://people.debian.org/~pvaneynd/cl-breezy-packages ./
for breezy (only 2.6 kernel)deb http://people.debian.org/~pvaneynd/cl-packages ./
for sid (only 2.6 kernel)
Regarding my darcs repository (at http://cl-debian.alioth.debian.org/repository/pvaneynd: for now it is rather nice to work with darcs. The only problem I'm having is with large changes like moving lazy-sbcl from version 0.9.0 to 0.9.3 with all the changes involved. But going step by step also seems to work well.
Monday, July 04, 2005
3 up, 2 down
- it cannot handle epochs
- a lot of my packages' upstream seems to have gone or moved
- some of my packages are native packages, but they are not directly related to debian. I think this was just because the previous maintainer (like me) was part of the upstream team and disliked the additional problems caused by a non-native package. This is starting to bite however and when I try to reverse the situation I often see that the debian version is higher then the last official release of that project. So I need to use epochs. See point 1 :-(.
So my big plan to have all my packages in darcs and attracting a multitude of helpers seems to have fallen foul. I will still try to get this into some shape and make it available...
sbcl has run into some gcc-4 problem on some platforms and cmucl won't even build using gcc-4. A lot of work needs to be done and there is so little time, mostly because of the evil daen free library that is sucking away hours like a baby milk.
Thursday, June 16, 2005
New Common Lisp based repositories
- for sarge (aka stable):
deb http://people.debian.org/~pvaneynd/cl-sarge-packages ./
- for unstable (for packages still in the NEW queue and pre-release stuff):
deb http://people.debian.org/~pvaneynd/cl-packages ./
- and finally (upon great request) for ubuntu/hoary:
deb http://people.debian.org/~pvaneynd/cl-hoary-packages ./
I also subscribed the cl-debian mailing list to most Common Lisp packages in debian, so members will see traffic when people upload new versions etc. Feel free to suggest new packages by subscribing them to the pts@qa.
I'm also planning to upload an experimental lazy allocating sbcl to those repositories, but will not upload it into debian proper unless there is popular demand for it.
Tuesday, June 07, 2005
created a MOTU Common Lisp team for ubuntu
To this end I should investigate version control systems that can handle 'upstream' in CVS or darcs. Maybe the debian directory in darcs and then use dpatch to patch the original source.
In related news I got the lazy allocation patch for sbcl. In the end it gets pretty nice I only need to use the sigsegv handler for static, read-only and linkage-table space. For the dynamic space the lisp uses the C alloc function to allocate memory, and using this function you can mmap memory on the fly. This patch opens the way for having a bigger on-demand dynamic space or a dynamic space with holes. But reception to the patch has been rather cold. I'll try to create a sbcl-lazy package for debian anyway, but only on the p.d.o repository, not in unstable unless people demand it.
Saturday, May 21, 2005
ubuntu too?
I fear I will have to start listening to Queen and talk to the MOTU :-).
Saturday, May 07, 2005
Repository for cl packages
deb http://people.debian.org/~pvaneynd/cl-packages ./to /etc/apt/sources.list to get updates Common Lisp packages.
Thursday, April 28, 2005
To slime or not to slime
The moral problem now is to upload it, or not. There is a dire need for slime in debian and the package seems to work correctly. The problem is that the packager seems unresponsive to email already for quite a while and I don't want to hijack his package. Should I just bite the bullet and upload or wait a little more... Sigh.
Monday, April 25, 2005
European Common Lisp Meeting
The talks were interesting and diverse. PrimeTrader looked like a real killer-app, but I must admit that I was confused when people starting laughing at the "simplified architecture" because I agree with the 'simple' part. My day-job must do more damage to my judgment then I feared.
The Slime and sbcl presentations both gave me a strong urge to package up some stuff, while the Linj (a non-DFSG free Lisp to Java and back converter) was impressive. Next time I'm forced to write Java I know what to do. For climacs I see a strong future not (only) as a general editor, but as a framework on which people can build LL editors. When the problem becomes too complex for a gui you need a LL, and if you need a LL, why not use an editor that 'knows' you LL and can make editing code a breeze?
The weak-references talk was good because it gave people clear instructions on how to solve most weak references related traps, while the presentation of the two CL vendors was impressively optimistic from the both of them. I've seen other feelings being transmitted.
Last and most importantly: I won a raffle and I could buy a signed copy of Practical Common Lisp and I must say the quote by Xach is correct: the book feels and reads really nice. Impressively nice in fact. I think it will convert people to CL just by the quality of the work itself! Oh, and it is also a nice CL book :-).
Several people insisted to buy me a drink for my debian work. I'm stunned...
My only regret is that we had to leave before I could chat with more people. The way back was a lot longer and slower then how we came, but still I managed to get home before 23:00.
Friday, March 18, 2005
Lazy allocating sbcl, part II
$ diff -u /proc/13546/status /proc/13598/status
--- /proc/13546/status 2005-03-18 07:14:16.085383120 +0100
+++ /proc/13598/status 2005-03-18 07:14:16.085383120 +0100
@@ -1,18 +1,18 @@
Name: sbcl
State: T (stopped)
SleepAVG: 88%
-Tgid: 13546
-Pid: 13546
+Tgid: 13598
+Pid: 13598
PPid: 8211
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 256
Groups: 4 6 20 24 27 29 44 109 111 114 1000
-VmSize: 886848 kB
+VmSize: 33624 kB
VmLck: 0 kB
-VmRSS: 9160 kB
-VmData: 860116 kB
+VmRSS: 8804 kB
+VmData: 6900 kB
VmStk: 8 kB
VmExe: 104 kB
VmLib: 1416 kB
@@ -22,7 +22,7 @@
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
-SigCgt: 0000000b000034fe
+SigCgt: 0000000f000034fe
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
There are 2 gotchas:
- The patch is at the wrong place (linux-os.c) because there is no abstraction layer for 'get memory' and 'handle memory fault'.
- There is voodoo going on with the dynamic space: if I just allocate one page on every fault the system gets strange errors like 'file is not there' when renaming. If I allocate 10 pages on every fault (like in the patch) it works. This seems to be that sometimes the system needs the memory without first touching it. With the cmucl lazy patches this was due to system calls pointing to unallocated memory, but this does not seems the case here. I should investigate this further.
The good news is that the system build itself a dozen times without problems, and passes all the tests I've thrown it.
Saturday, March 12, 2005
Tuesday, March 08, 2005
new sbcl package
Friday, March 04, 2005
What a difference a few days make
No. Maintainer Source Binary Active Bugs Bug Rate Archived Bugs Resolve Rate
263 Peter Van Eynde9(263) 20(209) 24(387) 2.667(693) 230(209) 90.551%(291)
After
No. Maintainer Source Binary Active Bugs Bug Rate Archived Bugs Resolve Rate
6 Peter Van Eynde78(6) 95(15) 32(309) 0.41(1170) 365(126) 91.94%(254)
In other news, a few people interested in packaging Common Lisp stuff for debian came out of the woodwork. I created the cl-debian mailing list to coordinate any work.
Thursday, March 03, 2005
Interesting future packages?
- Common Lisp GNU Scientific Library
- elephant: an object database for Common Lisp
- AspectL is a library that provides aspect-oriented extensions for Common Lisp / CLOS
- CL-PREVALENCE is an implementation of Object Prevalence for Common Lisp
- A high-level Common Lisp framework for parallel and distributed programming.
- A Portable Common Lisp Localization Package
- A System Management Substrate for Common Lisp
- UnCommon Web is a Common Lisp web application development framework.
But before I package yet another set of Common Lisp libraries I would like to know if there would be users of these packages. If so, speak up.
Tuesday, March 01, 2005
I'm insane
I'm still uncertain if I should go to LSM2005 or Debconf-5, I'm leaning towards LSM2005 because it is in car-range and I would like to meet the other lispers. But their website is rather bad... On the other hand: Helsinki is rather nice...
Sunday, February 27, 2005
fosdem 2005
Then I joined an old colleague for a talk about creating a stable 2.6 kernel from Alan Cox. This was an interesting talk, not only because he is a good speaker and liked the subject, but mainly because it confirmed my general idea that the new 2.6.x kernels are not for general consumption anymore. The kernel developers depend on the fact that most people will use kernels from distributions. This is not good as it will increase the fragmentation of the kernel. It also means that the debian-kernel group is getting more and more important.
Wednesday, February 16, 2005
How low can we go?
Now can anyone tell me why I spend hours fixing this problem?
Hint: I use MAC address filtering.
Hint: the ethernet interface is on the motherboard.
Sigh.
Tuesday, February 15, 2005
Fixed problems day
Yesterday I had to restore a file for my wife and the firewire drive also br0ke in XP. So I searched and on this page was a discussion of this bug. It seems the PL3507 controller has a history of "issues". In XP you get a delayed write failure. In Linux just tries to reset the drive and fails. At this location there is an updated firmware (it can also be found at the site of the manufacturer, but that is a JavaScript hell).
Anyway I updated the firmware and now it "just works"! :-)
Now to restore the thinkpad from my backups...
Tuesday, February 01, 2005
Useful iso 8601 tool
Monday, January 31, 2005
sync ; sync ; sync
I managed to get a picture of me in the blogger.com profile, so if you want to scare small children you know where to look :-).
I should decide to what conference I try to go this summer. There is debconf 5 in Helsinki (note the title "See you in hel") which is July 10 to 17. Or I could go to LSM 2005 which is in Dijon (much closer) and from July 5 to 9 and is in general a hotbed of Common Lisp activity. I'll wait a little more until the programms pan out, but after the Danish disaster of last year I doubt I can convice my wife to go to Helsinki. She wants Calabria :-).
I made almost no progress with the lazy memory allocation in sbcl. I think I know where the problem is, but I don't have enough time to check it out :-(. Also I wonder why nobody seems to care about this problem. What do you do on a 64 bit machine, do you start by allocating 2**41 bytes? Does the OS permit this? What does root think of this? Or do you want to have to select at startup how large your image might become? If not, you need lazy allocation.
Friday, January 14, 2005
Found the USB problem
Now I only need to find out why my configuration causes the transfer to the PL3507-based 1394 bridge doesn't work my my kernel and does with the debian image. Sigh.