Search Results: "ag"

15 August 2006

Zak B. Elep: Be Thankful

(Or, Why a Broken Video Card is a Good Thing™.) Yesterday, my nVidia geForce4mx-440 video card broke its advanced rendering stuff (OpenGL, accelerated X, et al.) forcing me to use its VESA mode for X. Of course, this wasn’t much of a pain for me since I don’t do much rendering or gaming nowadays (only for some parish projects,) but for my folks (who use this desktop when I’m away, of course ;) this was a major problem. Well, at least for my Mom. The breakage of the video driver meant that the Windows installed alongside my Kubuntu system could not start up normally; one had to press F8 at boot time in a splitsecond to catch the elusive Windows menu that allows, among other things, logging in to Windows under Safe Mode or VGA mode. The result would be to get inside a 640×480 desktop, with barely much room for movement; while its certainly possible to adjust to 800×600, the fact that one had to do that meant an extra step in using what really is a 5-year-old-and-hopelessly-outdated operating system. Not to mention the occasional flickers of the screen and random image corruption. Then, a bit later, Windows finally gave up. Neither the safety of Safe Mode or the vega of VGA mode can save the user from the horror. A monitor with its status lights blinking, blinking, blinking… Mom would be in a panic. And she has classes tomorrow, and she needs to print some things NOW!!!  Ok, said I, System Administrator of the Desktop revan. I’m going to do something. And do something I did. I promptly logged in to Kubuntu, cleaned up one of its partitions that used to hold /usr/local/ (a hangover from my old Debian install, and cp -pa‘d my way, backing up what’s in C:\Documents and Settings\ as well as some other important files. Then… I was a bit stumped. What else I could do? Reinstall Windows? Yeah, right. That could work, but then again I need to go through the hoops all over again, activating the damn thing (knowing full well that Windows Product Activation ceased some months ago) and grabbing the stuff needed to have a working system (office, internet, etc.) Of course I can simply use OpenOffice.org, but I figured if, I installed OpenOffice.org for Windows, then why shouldn’t I install yet another GNU/Linux system as well? That lead me to the idea of simply extending my /home setup in Kubuntu to cover the old Windows partition, but I figured too that this is awkward. Then I remembered that Mom was nagging me to install Edubuntu some time ago, after having heard that is was really neat as an teaching system. Of course! This is the perfect time. The opportunity finally presented itself. So, I finally fragged /dev/hda2, formatted it using ReiserFS, and promply installed Edubuntu. Teh Ende Result: Sweet. Well, my revan’s finally Windows-free, for the first time since it got to our home in August 2003. A fitting birthday change, indeed. Thanks to my b0rked video card. And Edubuntu! :D

Lars Wirzenius: Random thought: Seminar: Linux 15 years

There's going to be a small seminar on September 4 at the University of Helsinki CS department to celebrate Linux's 15th birthday. See the official page for more information; in Finnish only, I'm afraid. I'll be talking about the early days.

Carlos Villegas: System reinstalled and testing preload again (SoC 2006)

Currently recovering from a disk failure with lots of data lost (i'll backup more often now), I'm trying to tackle with the inconsistencies sketched in the previous blog: preload and parallel booting hotspots don't perform as before. I guess the discrepancies came from playing too much with the boot process.
The new system has originally a boot time of 52 seconds and the installation of preload 0.4 on a freshly installed system gave 1 second longer boot time during the first reboot and came back to the original time after 4 reboots and goes back to 53 seconds afterwards.
The bootchart is available on the bootcharts section of the project webpage for two preload configurations.

Besides, unverbose booting was tested. Well, simply verbose was changed to "VERBOSE=no" and "VERBOSE=quiet" just making the system slower! What could this be? Manual tweaking may be probably needed. The bootcharts for the different cases are available on the bootcharts section of the project webpage

Finally, a laptop testing system was prepared for comparison. It has also a fresh debian sid installation on an external USB hard drive. The results using the laptop test bed were similar for unverbose booting although the boot time seem to be unconsistent! Around 2 second changes without networking and higher with networking. I _guess_ a possible reason is by using an usb hard drive.

Bdale Garbee: It Moved!

There's a particular analogy I've used from time to time to explain what it feels like to be someone like me, working in a very large corporation. I tell people that it's as if I'm standing next to a large rock with an eye dropper, carefully placing individual drops of water in hopes of eventually seeing the rock move. Today, the rock moved! Of course, it helps a lot that a growing number of HP customers have been pushing on this particular rock, including a few burly types who've really put their shoulders into the effort... ;-) But I guess I'd like to think all those little drops over several years helped soften the soil up a bit, making the rock a little easier to move today.

Steve McIntyre: DNSBL and SMTP callouts

Russell asks about the interaction between blocking and callouts. If people have configured their mail server to block connections completely using blacklist data, then they're quite simply asking to not get mail. The traditional way to implement these checks is to allow connections, MAIL FROM and RCPT TO. Drop connections at the DATA stage. Normal callout connections will never get that far. Aside: I'd have simply added this as a comment on your blog, but I'd need to set up a blogger.com account (which is a pain) and they currently don't seem to be allowing any of the 20-ish account names I just tried, including random alphanumerics (worse).

MJ Ray: Google asks people not "to google"

Some google-fans have started using google as a verb, as in "to google" instead of "to web-search". I've not been doing that and now it seems Google is sending legal letters asking people to stop using it as a verb [The Independent]. Google wants to be part of the language, but not too much.

Marc 'Zugschlus' Haber: upstream version numbers and uscan

I have just experienced a nightmare with a watch file. The phpmyadmin upstream dumps all released files onto a single web page, and they use version numbering a.b.c-foon, which foo being beta, rc, or pl, and of couse a.b.c for a release version.This has resulted in the following (probably incorrect) watch file version=3 opts= uversionmangle=s/0\.tar/0-5.tar/;s/beta/0./;s/rc/1./;s/pl/9./,dversionmangle=s/0\.tar/0-5.tar/;s/beta/0./;s/rc/1./;s/pl/9./ http://prdownloads.sourceforge.net/phpmyadmin/ (?:.*/)?phpMyAdmin-([-0-9\.a-z]+)\.tar.gz$ 2.7.0-pl2 uupdateAs Germans say: Gesundheit

Andrew Pollock: [tech] How to mount ATA over Ethernet volumes with a minimum of grossness

Yesterday I discovered some inadequacies in the stock Debian Etch initscripts when it came to filesystems on ATA over Ethernet block devices. Overnight I got a few emails, but it was a one Joshua J. Kugler who brought my attention to the _netdev mount option. The mount(8) manpage really is a treasure-trove of information that should be read often. So, in a nutshell, here's what I'm doing: Finally, I found I had to either load the aoe kernel module as a post-up operation for the Ethernet interface in /etc/network/interfaces or load it in /etc/modules and call /usr/sbin/aoe-discover as a post-up operation in /etc/network/interfaces, because just loading it from /etc/modules resulted in the driver being loaded a fair while before the network came up, and once the network had come up, it took the driver longer than the time for /etc/init.d/mountnfs.sh to be run to realise there were ATA over Ethernet devices on the LAN and arrange for the relevant entries to appear in /dev/etherd. I've currently opted for running aoe-discover from /etc/network/interfaces. So I'm now very happy. I can reboot my MythTV server and everything comes back without any intervention whatsoever. Sweet. It'd be nice if these fixes can make it into Etch, as all of the other components will be there for ATA over Ethernet support. The kernel is new enough to have the driver as standard, and vblade is in Etch. Just the support to mount it all properly isn't there. Oh, and nothing I've done (with the exception of the post-up stuff in /etc/network/interfaces) is ATAoE-specific. It'll work equally well for NBD for example, and presumably other SAN-like stuff. I certainly find this approach far less gross than what Coraid suggests, and it'd also be cool if Debian were the first distro to do it the right way. I wonder if Red Hat/Fedora are already? I suppose I could fire up Xen or VMware and find out if I get curious enough.

David Nusinow: I Don't Do Moderation

Just got back from NYC where I hung out with my brother for a few days. I got to go to the official Debian NYC Belgian Beer Bar and meet up with dilinger, which was cool. The whole trip, aside from getting stranded on the way down due to a diesel fuel leak, was pretty awesome. I need to find me some Bombay Chinese up here.

I've come to the realization that an intense social schedule combined with a bout of luck in lab has left me with relatively little time to do the Debian work I need to do. I'm also going to be spending my extra time in the evenings writing my first scientific paper (not to mention staying late in lab until this lucky streak wears off), so if I want to stay productive in Debian I need to do something. As a result I'm stopping IRC for a while until I can get 7.1 out in to unstable. Cutting the crack is tough, but I learned long ago that cold turkey is by far the best method for me to do things.

Meanwhile, back at the ranch... Z0MG LUV!

Benjamin Seidenberg: All packed

[This is the first post in the new “Cornell” Category]
Well, my room looks quite empty and the van is quite full. We weren’t sure if all the stuff we were planning on taking was going to fit, but it did. Now, the question is will it fit in the 10×10 dorm room that is typical of the building I’m in. We’ll soon find out. We are driving up to Ithaca Thursday, and I move in Friday. Now that it’s getting close, I am starting to get more and more excited.
If anyone recently out of college, or still in it (Ari, joshk, and others) wants to offer any advice for a rising freshman, feel free to leave a comment. In other news (those of you who were helping me in #d-d already know), my server was out of commision for a few days. Grub and lilo both refused to boot off the 200 hard drive that I had moved my data to using a live system, and sarge D-I saw it as the wrong size, and did not see the partitions (perhaps why grub and lilo both failed). This was apparently a kernel issue, and so I installed using the etch beta3 netinst. G-I was working fine, but after partitioning got in a loop where it would drop to console and complain about some fatal error then go back to graphics again (somewhere around setting time zone) so I eventually used the old text system, which worked flawlessly. The only thing that I found I forgot to backup was my wordpress theme directory, so not only do I have to find my theme again (whose name I forget), I have to modify it, since I had customized the CSS. Pity.
The last bit of this post is a thank you to Joerg for approving my NM application. Now all that’s left is for elmo to proccess his backlog.

Evan Prodromou: 27 Thermidor CCXIV

I went up today to visit Kasper Souren, AKA Guaka, who's visiting wt:Montreal for a few weeks. Kasper and I have been in touch for several years -- he's been involved with Wikitravel almost as long as anyone -- but we just met in person a couple of weeks ago at Wikimania. He's just returned from South America, and will soon depart for the West Coast of North America and then off to Mexico. He's quite a traveller. Guaka's here to help out with the CouchSurfing Project, an excellent wt:hospitality exchange program that lots of people say good things about. There are apparently bunches of CouchSurfers in Montreal right now helping out with technical issues, content, support, and other great Website-errific stuff. Of course, the local CS community is practicing the ethic and sharing their homes with visitors. I'm not 100% sure how it works, CouchSurfing runs on a very collective model, and a lot of people are devoting their time to this get-together. I went to visit this afternoon, partly to catch up with Guaka, and partly to visit the collective. We talked a lot about the difference between Wikitravel and hospitality exchange -- how anonymous the sharing is for an information-oriented project like a wiki, versus the very intimate person-to-person nature of home sharing. I also talked for a while with Casey Fenton, the founder of CouchSurfing and a very nice guy. We all discussed how to let CouchSurfers copy and distribute Wikitravel guides, possibly customizing them for CS needs, and also for linking back to WT to update and improve the data on our guides. I'm pretty jammed on the whole CS thing -- I'm going to sign up quite soon. Should be fun. tags:

DekiWiki I'm interested to see how this OpenGarden thing works out for MindTouch. I saw a story about their Wiki product on Port 25, which I have to admit I read pretty regularly. Every once in a while there's something I should probably know. OpenGarden is MindTouch's Open Source initiative, including a wiki engine called DekiWiki, built on the .NET technology, and a wp:REST-based Web app framework called Dream. Apparently the whole thing runs fine on top of Mono, which means theoretically I could install it. But I haven't really done a lot of Mono web stuff before -- no idea how well it works. Also, have you noticed how people involved with Mono say "MOH-NOH", like the actual original Spanish pronunciation? Unlike everyone else, who calls it "MAH-NOH", like mononucleosis? That's a weird thing. OpenGarden has a MediaWiki conversion tool, which is almost a necessity for any wiki engine trying to compete in 2006. They might want to try lobbying those guys at the Mono Project... who appear to be using MW as their main site engine! Anyways, I'm going to give this DekiWiki a try. Who knows? It could be fun. I don't know about their overreaching claims for the GPL, but it can't hurt for a local install, right? I seem to remember there was a Scheme language plugin for .NET somewhere, too... By the way, I'm still bullish on JAMWiki, the MediaWiki-workalike using Java Web Services. But I like to experiment with new software, too. tags:

SocialText Speaking of commercial Open Source Wiki software, I was really glad to see that SocialText has released a FLOSS version of their flagship product. SocialText has been such a good corporate citizen in the wiki and FLOSS world. Not only were they instrumental in the launch of BarCamp, but ST employs some of the smartest wiki minds in the world today (like Seb and Sunir). And, of course, Ross Mayfield's blog is a great clearinghouse for wiki business info. ST has made a business model in training companies in the WikiWay. I think that makes a lot of sense, and they show a lot of commitment to the idea by demonstrations like this. tags:

Fired from Technorati for my UFO beliefs So, I was having some random and unpleasant 500 Server Error errors with this blog recently, and apparently Technorati has given up on my site in frustration. No matter how often I do an update, and then ping, it still doesn't refresh my recent articles. I'll have to figure out some tricks to get back in Technorati's good graces. I like the service a lot. tags:

Aigars Mahinovs: Why? Oh Gods! Why?


$ mv .ssh/ .ssh.old/
$ python
>>>import gnomevfs
>>> gnomevfs.get_file_info( "ssh://aigarius:password@aigarius.com/home/aigarius" )
Traceback (most recent call last):
File "<stdin>", line 1, in ?
gnomevfs.AccessDeniedError: Access denied
>>>
$ ssh aigarius.com
The authenticity of host 'aigarius.com (85.254.216.40)' can't be established.
RSA key fingerprint is 6d:29:c0:f3:d0:84:c9:a9:d9:4c:7e:e3:1a:18:a2:e2.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'aigarius.com,85.254.216.40' (RSA) to the list of known hosts.
aigarius@aigarius.com's password: *******
[...]
aigarius.com$ exit
$ python
>>>import gnomevfs
>>> gnomevfs.get_file_info( "ssh://aigarius:password@aigarius.com/home/aigarius" )
<gnomevfs .FileInfo 'aigarius'>
>>>
Of course, this is mentioned nowhere in the sparse documentation. Please keep me away from the person who wrote GnomeVFS and its Python bindings. Bloodshed might ensue. Bug reported Why can’t someone write a nice, light, working network file transfer protocol abstraction library that would be independent of any desktop environment (bonus) and a working X server (I am looking at you, GnomeVFS). Something that would simply provided all file and folder manipulation operations in sync and async ways in such way that those operations work completely uniformly across all supported protocols. Support for at least ssh and ftp is essential, webdav, nfs, rsync and other protocols that allow writing files to remote locations and http, https and other protocols that only allow read only access to remote files would be very welcome. The library should be in C with bindings in C++, Python, Perl, Ruby, PHP and also a command line processor that would allow all commands to be used in a shell script.
Why something like this can not be written and obsolete the GnomeVFS and those KIOslaves. Freedesktop.org, I am looking at you, please! Update: Apparently I only need to “import gnome.ui” and execute “gnome.ui.authentication_manager_init()” and my application will automagically get a proper authentication dialog in this case. Unfortunately it is not documented anywhere that I could find. :P

Aigars Mahinovs: Debian artwork

Artwork is a matter of taste, style and consistency. Design by committee does not work. If we really want to get a consistent, stylish and professional Debian style trough the whole Debian (and I think we should), we need to have an appointed Debian artwork czar - a professional designer or graphic artist, who would agree to dedicate some of his time on continuous basis to creation and improvement of Debian artwork and refinement of the old artwork from release to release. In exchange he would get to show of his elite design skillz via Debian to a lot of users across the world. Formally he would have to be a DPL deputy and have the ultimate say about all artwork and colour related matters. I think the DPL should organise this.

Erich Schubert: Debian artwork

Yeah, I know that many people think it's a feature that we don't have everything Debian-branded - some people might like to. Recent blog posting with Fedora Core 6 artwork. They also have a larger section in their Wiki dedicated to artwork. The AMD64 system I installed these days welcomed me with an unobtrusive Debian wallpaper and Gnome splash. Thats not bad, but not really different from other distributions. Actually blue is kind of Fedora-ish, IMHO. Ubuntu has this yellowish-coffe-chocolate-look some like and some hate. SuSE has this green of the chameleon. But what does Debian look like? A long time ago I modified the color schemes of some of the GTK engines. I just noticed that these color schemes (e.g. CleanIce-Debian) still exist, however the "light" color still strikes me as odd. I still like the dark highlight color, although readability isn't too good with dark fonts. DebianRed also still exists, and doesn't use these rose "background" highlights, but white or grey. That is a bit better IMHO. Anyway, maybe someone could pick one of the nicer GTK themes and update or fine-tune the color palettes. Or maybe come up with something completely new. "I miss the chicken" ;-)

14 August 2006

Erich Schubert: SELinux for sarge updated

My experimental SELinux for Debian sarge backports have been updated. The core libraries and utilities are updated to the versions just uploaded to unstable. Therefore, they may of course contain the same bugs as the unstable versions and since I redid the packaging of libselinux and libsemanage - I didn't understand Manojs packaging system, and these packages needed larger modifications for sarge python support - they may also contain extra bugs. But even users of unstable might be interested in grabbing the "refpolicy" packages from this repository. These packages are now a modular policy. This is possible since the just uploaded toolchain finally has working policy module linking and results in a significantly smaller policy, since you don't have to add rules for software not installed. To support this, I've written a tool to resolve inter-module dependencies and to automatically install modules matching the software packages you have installed. Expect to see this in the unstable refpolicy packages sometime, too. Maybe someone else will contribute a ncurses frontend to select policy modules. Please note that bug reports should be directed to the Debian SELinux Mailing Lists. Please use the mailing lists, instead of just contacting me directly. On a side note, I don't know if I'll be continuing these efforts.

Steve Kemp: Step inside, suprise!

As another reason why I dislike mailing list software consider the following error:
2006-08-14 21:40:25 1GCk6m-0006ZH-Vu ==  /usr/lib/ecartis/ecartis -s xen-tools-commits
R=vdom_aliases T=address_pipe defer (0):
Child process of address_pipe transport returned 75 (could mean temporary error)
from command: /usr/lib/ecartis/ecartis
What does that mean? I see precisely one hit for this error in Polish. I resorted to debugging via strace:
strace -ff -o /tmp/foo /var/lib/ecartis/ecartis -s xen-tools-commits
   < /tmp/msg.txt
The error? “Connection refused” when connecting to 127.0.0.1:25. D’oh! It should invoke the local mailer via /usr/ lib sbin /sendmail in the case of socket error. Ideally chosing the local execution in preference to the socket. In conclusion: I believe my mailing lists are fixed, however several messages have been dropped/ignored.

Mario Iseli: What s up people?

Hmm, ok, this blog shouldn’t only have technical content, so here my first “human-article”. Currently (since tuesday) I’m thinking about “the world”. Two friends of me are psychical sick, both have depressions. One of them is already thinking about suicide the whole time. He wanted to go to a psychiatrist but his stupid parents, who are snobs, say that this is not good for the image of the family, but they have to be aware that this would be the best for him. I really ask me how this can happen, I mean, both of them: Are they blind? They only “see” their problems and their “world without friends”, but in reality they would have friends to talk about the problems and I’m sure that this would help. What can I do with those friends? They don’t answer short messages, e-mails and neither pick-up the phone. Back to the one with the stupid parents, why don’t they think about the health of their son? Depressions are like headache, just a disease. They are the reason why he became depressive, they force him to go to a school which they choosed, they prohibit him to do an apprenticeship and they don’t care about him. The one is shizophrene now and isolates himself from every social activity, he doesn’t even visit the meetings of the LUGS. I really have no idea anymore how to help them, maybe I’ll call the police tomorrow, at least for one because he’s in a enormous danger. And when I’m thinking about all those problems I would like to thank to my parents, all my friends, other community members and all the other people I can talk with!

Ross Burton: In Print

Those nice people at Linux Magazine have written an article covering Devil's Pie. Apart from the traditional mis-spelling of my surname, it's a great article. Thanks Linux Magazine!

MJ Ray: Phone Usability

Adam Rosi-Kessel mentioned mobile phone design principles. The Motorola in the comments sounds a bit like the ancient L7089 I use, apart from the volume buttons don't beep when sound is off. I wish I could hack the firmware on it to fix a few of the more annoying bugs, like the 'make a noise to be quiet' stuff. On the plus side, it can map voice tags to menu options and the phone book, it switches off silently, it has decent-size keys and display text. I hate Nokias. Every model I've ever seen or used has keypads which are far too small and flat to ever be usable. Is there good design and easy hacking out there in mobile phones?

Ross Burton: Lack of Entropy

A while back I upgraded CUPS on my NAS device to CUPS 1.2, and as my configuration file had bitrotted I decided to erase it and start again. It was looking good, CUPS detected the USB printer like they said it would, but then it just stopped working. I had to upgrade to a SSL connection to perform administration tasks, and it just wasn't working. strace shows the daemon was just running a select loop, I had no idea what the problem was. Today after a bit more searching the solution hit me. It's trying to create a self-signed SSL key, and SSL keys need random data. Now, what creates random data on Linux? Mouse activity (the NAS has no mouse), keyboard activity (no keyboard), and disk activity (it gets used once a week). A quick poke with sysctl proved my problem:
$ sysctl  kernel.random.entropy_avail
kernel.random.entropy_avail = 8
Hm, eight bytes with which to create a SSL key from, that just won't work. Solution: find /. I ran that in one terminal with sysctl in another, and could watch the entropy pool get filled with IDE data, to be used by CUPS. After twenty seconds of disk activity, the certificate was finally generated. Yay, a working printer! So, for Google and anyone else out there: if you see Generating SSL server key... in the CUPS log and then CUPS hangs, check your entropy levels.

Next.

Previous.