wardv is currently certified at Journeyer level.

Name: Ward Vandewege
Member since: 2000-05-21 17:25:00
Last Login: N/A

FOAF RDF Share This

Homepage: http://wesql.org

Notes:
I am the author of a GPL'd project called WeSQL (http://wesql.org). WeSQL is short for Web Enabled SQL, a glue between HTML and SQL. WeSQL allows the use of pure SQL queries directly in html files. WeSQL is aimed at rapid web-database integration.

Other than that, I have been an avid Linux-addict ever since the end of '95, and since then I have been doing lots of stuff: I contributed some bugfixes and additions to the ColdSync project, the KIOSK-howto, the Mysql Backup and Restore Scripts, a 'badrcptto' patch for Qmail, some patches for the Pronto mailclient, a patch to the perl Apache-ReverseProxy module,...

Generally I am very much into the 'scratching my own itch' philosophy: when I encounter something that doesn't work as (I think) it should, I have a tendency of trying to fix it.

Might you be wondering who that WVW character is, that is a nick I sometimes use.

I'm also a proud member of the EFF. Join them today - they need your help to keep this a free world...

Same for the Free Software Foundation, I'm associate member #859 and strongly urge you to give them your financial support as well!

I'm registered linux user 51883, since November 1995!

Projects

Articles Posted by wardv

Recent blog entries by wardv

Syndication: RSS 2.0
11 May 2004 (updated 11 May 2004 at 03:07 UTC) »
Usb kernel modules

So I have a Dell Inspiron 5150. It has one of those P4 3.06Ghz CPUs. This is a desktop CPU, hence it eats quite a bit of power and can get really hot. The fan is variable, and hardly audible when the CPU is under 60 degrees C. Then it goes up 2 notches and becomes kind of annoying. Coming down it drops to semi-loud under 60 degrees, and then further down to normal under 55 or so.

My laptop used to stay in the quiet zone, in the low fifties. For a while now I couldn't get it lower than 59/60 C. I finally took some time this evening to find out why, and after a process of elimination I discovered that the usb-uhci module was the culprit - it must run in a tight loop or something that consumes quite a bit of CPU (though that doesn't really show in the CPU usage as linux reports it - for reasons I don't understand. This is on kernel 2.4.24, with the swsuspend patch (which works great, by the way!).

Luckily there is an alternative driver in the kernel, the module for which is simply called 'uhci'. It doesn't make my cpu run hot, and it works just as well. In other words, recommended.

I'll need to find out if compiling usb-uhci or uhci in the kernel as opposed to as a module makes a difference. And if a more recent kernel makes a difference.

Now if only my 5150 wouldn't whistle in such an annoying way under 2.6... I hope that by the time I replace it, the Thinkpads will have decent screen resolutions for a price I can afford - not sure I want another noisy laptop...

Meanwhile I also discovered that the CPU throttling actually works - I can just 'echo 4 > /proc/acpi/processor/CPU0/throttling', and throttle it to half-speed. Which makes it a whole lot less noisy when running on battery (not the fan, but the crappy capacitors on the mainboard). Very cool.

Book

"Grab the nearest book, open it to page 23, find the 5th sentence, post the text of the sentence in your journal along with these instructions."He heard a gentle chiming in the air, above the hubbub of the market; and this he walked toward. This is from Neil Gaiman's Stardust :)

11 Apr 2004 (updated 11 May 2004 at 03:11 UTC) »
Theatre and hypocracy

Went to see Othello tonight, in the Cutler Majestic Theatre in the Boston 'limo district' - aka the theatre district. This performance was part of "Shakespeare in American Communities, the largest tour of Shakespeare in U.S. history". It was excellent.

The playbill proudly mentioned that Mrs. Laura Bush and Jack Valenti - MPAA president and CEO - are honorary co-chairs of the tour.

Curiously enough, the playbill also described how Shakespeare based Othello on a collection of Renaissance 'novellas' dating back to 1565, by Giraldi Cinthio. The collection was entitled Hecatommithi. Shakespeare wrote Othello before 1606 - in other words, at most 50 years after Giraldi Cinthio created his work.

If Hecatommithi were to be written today, a future Shakespeare 50 years from now will not be able to use it - thanks to the latest extension (1998) of copyright duration, works are now locked up for the life of the author plus 70 years. Guess who was a great proponent of that extension, and continues to fight for expansion of copyright most vigorously? Guess who fought hard to deprive future great artists the building blocks for their works?

Of course, MPAA president and CEO, Jack Valenti.

Yet at the same time, still according to the playbill, the members of Mr. Valenti's organization have produced more than a dozen movies based on Othello. Of course, without payment of royalties no works will be allowed based on these movies for a long, long time...

Am I the only one who finds it slightly hypocritical that Mr. Valenti is now 'co-chairing' this tour of Shakespeare's great works?

21 Jan 2004 (updated 4 Nov 2004 at 16:31 UTC) »
Debian install CD

Rolling your own Debian (net) install cd is not difficult. If you ever need to install Debian on a machine but need special drivers for some of its hardware (say, a raid controller or a network card), you can make your own install cd with custom kernel like this:

  • Start from David Kimdon's bf2.4-3.0.23-mini.iso image (2.4.18 rescue/boot set with base system; 37MB)
        mount -o loop bf2.4-3.0.23-mini.iso /cdrom
        mkdir /cd2; 
        cd /cd2
        (tar cvf - /cdrom/* /cdrom/.disk /cdrom/.xlp | tar xvf -)
        mv cdrom/* .
        mv cdrom/.disk .
        mv cdrom/.xlp .
        rmdir cdrom
    
  • in the 'boot' subdirectory you will find rescue.bin. This is a bootable floppy image. It contains the kernel + root file system (which will be loaded in ram).
        mount -o loop rescue.bin /floppy
    
  • replace config.gz with a gzipped copy of the .config of your custom, tweaked kernel
  • replace linux.bin with your arch/i386/boot/bzImage (make sure it is not too big - it needs to fit on the floppy image!)
  • replace sys_map.gz with a gzipped copy of your System.map
  • Edit the 'install.sh' file, and update the VERSION parameter on line 10 to reflect the version of your kernel
  • Also edit 'debian.txt', update the kernel version
  • Unmount the floppy image
        umount /floppy
    
    

  • The last step is to modify dists/woody/main/disks-i386/current/bf2.4/drivers.tgz. First extract that file:
        tar xzvf drivers.tgz
    
    The modules.tgz file needs to be replaced with a tgz archive of the /lib/modules/your-kernel directory. Make the archive:
        tar cvzf modules.tgz /lib/modules/your-kernel
    
    Then recreate the drivers.tgz file and remove the other files:
        rm drivers.tgz
        tar cvzf drivers.tgz install.sh modconf.tgz modcont modules.tgz pcmcia.tgz type.txt
        rm install.sh modconf.tgz modcont modules.tgz pcmcia.tgz type.txt
    
  • Time to make a new bootable el-torito image of the new boot cd:
        cd /
        mkisofs -r -b boot/rescue.bin -c boot.catalog -o debian-bf24-2424.iso /cd2/
    
  • burn it - don't be wasteful and use a CD-RW rather than a CD-R!
  • boot it, sit back and enjoy !

    Remote Debian Install

    I needed to install Debian on a couple of HP BL20p's in a colocation thousands of km away. Enter the iLO (integrated Lights-Out) that these blade servers come with - complete with a remote console and 'virtual media'. Both are Java applets - and both work fine from a Debian workstation. The virtual media option allows the mounting of a floppy (image) or a cdrom in a machine with web browser, which shows up as a usb floppy/cdrom in the blade server. Brilliant concept, right?

    I couldn't get the virtual media to work with Firebird or Konqueror and my JVM 1.4.2. With the static Opera .deb's from opera.com, it works fine - provided you run Opera as root in order to access your cdrom.

    The remote console worked in all browsers I tried.

    Doing a dual-floppy boot/root install from stock Woody install images doesn't work - the kernel on the boot disk doesn't recognize the floppy change. But with the bf2.4 iso image it worked fine - though I had to swap its kernel for a 2.4.24 with support for the SmartArray 5i controller and the Broadcom 5700 gigabit ethernet card.

    There's something amazing about doing an OS install from another continent...

    Truck

    If you ever need to drive a truck through Boston, avoid Memorial Drive. It's got lots of height restrictions - not necessarily indicated before it is too late to take an alternative road. Trust me, backing op on Mem Drive is not fun. And as I found out afterwards, driving a truck there is apparently illegal - though in typical Bostonian fashion, that was not indicated in any clear way...

  • 9 Dec 2003 (updated 15 Apr 2004 at 16:05 UTC) »
    Disbelief

    This guy is unbelievable (warning: broken English ahead):

      http://www.bartdesmet.net

    I had no idea there are such Microsoft zealots.

    Check out this blog entry particularly about Microsoft's shared source initiative:

       http://blogs.bartdesmet.net/bart/posts/162.aspx

    This is my answer to that page:

    Do you _really_ believe all this? That is most scary. I mean, great software, great vision on software? Using standards?

    Microsoft abuses standards (XML, Java, HTML, ...) by taking them and changing them ever so slightly that things don't work unless you're on their proprietary operating system.

    Great software? Well, except for all the blue screens, the inexplicable hangs, and the hundreds of serious security problems every year.

    Great vision on software? Don't make me laugh - MS has no vision on software other than 'make more money'. Name one innovative software product that has originated from Redmond? Right; there aren't any - when other companies or people innovate, Microsoft imitates. When that is too hard it buys the competition.

    And this one made me laugh hardest: "The danger to create two systems on 'almost the same engine' which are completely incompatible".

    I'm so glad that this doesn't happen with Microsoft software because they control the source. I mean, imagine that you would be able to create an ordinary text document on MS Word XP and save it in the default file format, and then not be able to open it on, say, MS Word 97! That would be so bad.

    28 Mar 2003 (updated 28 Mar 2003 at 20:27 UTC) »
    Warriors of the Net

    This is just quite cool. It's also educational, and large, and an Mpeg movie about the travel of packets on the 'net. It plays very well with Mplayer on Linux. Haven't tried any other players.

    An Atlas of Cyberspace

    If you want to know more about how this whole internet is linked up, have a look at The Atlas.

    Broken Music

    Or rather, broken CDs. There are many lists of crippled, handicapped, 'copy-protected' CDs out there, but this one started by the renowned German CT magazine seems just a little more thorough than the average one. Deutsche Grundlichkeit, I suppose. In German, of course, but that shouldn't scare you as long as you click on the 'Datenbank abfragen' link.

    Looking at this, it does feel good to boycot the music industry.

    27 older entries...

     

    wardv certified others as follows:

    • wardv certified Telsa as Apprentice
    • wardv certified riel as Master
    • wardv certified alan as Master
    • wardv certified apenwarr as Journeyer
    • wardv certified hpa as Master
    • wardv certified davem as Master
    • wardv certified eMBee as Apprentice
    • wardv certified mortis as Apprentice
    • wardv certified jallison as Master
    • wardv certified lkcl as Master
    • wardv certified joey as Master
    • wardv certified harald as Master
    • wardv certified samth as Apprentice
    • wardv certified mishan as Apprentice
    • wardv certified Bryce as Master
    • wardv certified deirdre as Journeyer
    • wardv certified Excalibor as Apprentice
    • wardv certified NetHunter as Apprentice
    • wardv certified filemon as Apprentice
    • wardv certified lclaudio as Journeyer
    • wardv certified olive as Journeyer
    • wardv certified kgb as Journeyer
    • wardv certified yoann as Apprentice
    • wardv certified eck as Apprentice
    • wardv certified Ward as Master
    • wardv certified nullity as Journeyer
    • wardv certified Marcus as Master
    • wardv certified rooneg as Apprentice
    • wardv certified nixnut as Apprentice
    • wardv certified DrCode as Journeyer
    • wardv certified rebecka as Journeyer
    • wardv certified Darin as Master
    • wardv certified raph as Master
    • wardv certified schoen as Journeyer
    • wardv certified camber as Journeyer
    • wardv certified ishamael as Journeyer
    • wardv certified ianmacd as Master
    • wardv certified deekayen as Apprentice
    • wardv certified wardv as Journeyer
    • wardv certified nymia as Journeyer
    • wardv certified jao as Journeyer
    • wardv certified TheCorruptor as Journeyer
    • wardv certified manu as Journeyer
    • wardv certified jimray as Apprentice
    • wardv certified gregorsamsa as Master
    • wardv certified dmerrill as Journeyer
    • wardv certified Daryll as Master
    • wardv certified khazad as Apprentice
    • wardv certified aaronl as Journeyer
    • wardv certified fejj as Journeyer
    • wardv certified chrisd as Journeyer
    • wardv certified miguel as Master
    • wardv certified federico as Master
    • wardv certified davidw as Journeyer
    • wardv certified angelsun as Journeyer
    • wardv certified stefan as Master
    • wardv certified thomasvs as Journeyer
    • wardv certified Uraeus as Master
    • wardv certified welisc as Journeyer
    • wardv certified redowl as Apprentice
    • wardv certified omega as Journeyer
    • wardv certified wingo as Journeyer
    • wardv certified cm as Apprentice
    • wardv certified sdodji as Journeyer
    • wardv certified cerquide as Journeyer
    • wardv certified PureFiction as Journeyer
    • wardv certified jdub as Journeyer
    • wardv certified aldug as Apprentice
    • wardv certified garrett as Journeyer
    • wardv certified dalinian as Apprentice
    • wardv certified rkrishnan as Journeyer
    • wardv certified roshan as Apprentice
    • wardv certified fxn as Journeyer
    • wardv certified Stevey as Journeyer
    • wardv certified braden as Journeyer
    • wardv certified LSchiere as Apprentice
    • wardv certified lerdsuwa as Journeyer
    • wardv certified lrargerich as Journeyer
    • wardv certified scandal as Master
    • wardv certified badvogato as Journeyer
    • wardv certified sulaiman as Journeyer
    • wardv certified bkuhn as Master
    • wardv certified BrucePerens as Master
    • wardv certified Lolindrath as Journeyer
    • wardv certified sand as Journeyer
    • wardv certified hub as Journeyer
    • wardv certified mulix as Master
    • wardv certified gby as Journeyer
    • wardv certified mascot as Apprentice
    • wardv certified jwb as Journeyer
    • wardv certified ariya as Journeyer
    • wardv certified chalst as Master
    • wardv certified pjf as Journeyer
    • wardv certified mallum as Journeyer
    • wardv certified louie as Master

    Others have certified wardv as follows:

    • eMBee certified wardv as Apprentice
    • mortis certified wardv as Apprentice
    • mishan certified wardv as Apprentice
    • Excalibor certified wardv as Apprentice
    • NetHunter certified wardv as Apprentice
    • nixnut certified wardv as Master
    • grant certified wardv as Apprentice
    • wardv certified wardv as Journeyer
    • TheCorruptor certified wardv as Journeyer
    • jao certified wardv as Journeyer
    • khazad certified wardv as Apprentice
    • thomasvs certified wardv as Journeyer
    • redowl certified wardv as Journeyer
    • cerquide certified wardv as Journeyer
    • fxn certified wardv as Journeyer
    • lrargerich certified wardv as Journeyer
    • rkrishnan certified wardv as Journeyer
    • sulaiman certified wardv as Journeyer
    • PureFiction certified wardv as Journeyer
    • mascot certified wardv as Journeyer
    • lerdsuwa certified wardv as Journeyer
    • cm certified wardv as Journeyer
    • ariya certified wardv as Journeyer
    • realblades certified wardv as Journeyer

    [ Certification disabled because you're not logged in. ]

    New Advogato Features

    New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

    Keep up with the latest Advogato features by reading the Advogato status blog.

    If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

    X
    Share this page