Pete Zaitcev's Journal [entries|friends|calendar]
Pete Zaitcev

[ userinfo | livejournal userinfo ]
[ calendar | livejournal calendar ]

Abort Abrt Abt [22 Nov 2009|06:53pm]

A coupld of days ago my company sent me a new Thinkpad T400 since my 5-year old Dell D600 was kinda getting obsolete. I installed Fedora 12 with no incident, copied my files over, and continued to work... And made a mistake somewhere, which resulted in a program crash. There was no core left though. Oh yes, ulimit -c 1000000, re-running tests... Still nothing. Well, perhaps the clean-up in the harness killed it? No, apparently not. etc. etc.

After admitting utter defeat and writing it up for a kernel bug, I noticed the following in the /var/log/messages (unreadable for unpriveleged users by default):

Nov 22 17:53:46 lembas kernel: lt-load-file-ev[24029]: segfault at 459f0062 ip 0000000000400b12 sp 00007fff8366a6b0 error 6 in lt-load-file-event[400000+2000]
Nov 22 17:53:46 lembas abrt: saved core dump of pid 24029 to /var/cache/abrt/ccpp-1258937626-24029/coredump
Nov 22 17:53:47 lembas abrtd: Executable doesn't belong to any package
Nov 22 17:53:47 lembas abrtd: Corrupted or bad crash, deleting...

Wow. Talk about surprises.

I'm sure the intentions were noble, same as with the installation through PolKit...

[link] 2 comments|post comment

Raising in rage against Eucalyptus in Fedora [16 Nov 2009|01:24pm]

At leat at present junction, it's a "no", although of course I cannot stop confused people from packaging it. Things that concern me about Eucalyptus:

* Lack of any kind of willingness to work with the outsiders, unless they are of course Ubuntu. It's even documented. You want to eat crumbs off someone's else table? I sure don't.

* Crazy Xensource-like premature commercialization with Eucalyptus.com. I expect trouble getting understanding (in addition or in explanation of the above).

* We already have all sorts of management stuff with oVirt, sVirt, libvirt, etc. Eucalyptus is a direct competitor for all that, not a complement to it!

* Maybe their compute cloud is the second coming of Christ, but on the storage cloud side, their S3 is worse than what I have today (except in bugginess, perhaps). And I'm sure Jeff Garzik is happy to accept patches, which is the key, goddamit.

All these points are subject to reconsideration in the future, but for now it's pretty obvious to me. I am surprised Greg doesn't think so.

UPDATE: Greg comments further. His is a different view, he wants a coherent cloud story now. But I remember too well how much of steamroller Xen seemed a few short years ago, and where did it go? So, I tend to think we need good code more than coherent story. Perhaps I'm unduly idealistic. And yes, our patchwork of projects and packages is frustrating.

[link] 3 comments|post comment

Is there A20 Gate in Litl? [15 Nov 2009|11:36am]

Havoc's post explains his vision for the way a consumer would interact with Litl in the same condescending way Steve Jobs wants us to enjoy iPhone. This should certainly sound familiar to anyone who heard of Mac:

The software is finely-tuned to the hardware, and the flippable hardware inspires one of litl OS's core features [...]

But what is in it for me? Them main issue is if Litl is hackable. Is there hardware documentation? What about software and firmware, is it GPL?

100% legacy-free. No caps lock. HDMI, not VGA. etc.

Is there no BIOS? No A20?

Note: Comments about A20 will be deleted. This post is about Havoc's indiffierence to hackerdom, not A20. Go to mjg59's post to discuss A20.

UPDATE: Havoc commented with:

There is no TPM chip or "tivoization" since there's no subscription contract. If you want to replace with Linux it's fine with us.

There's nothing too unusual about the hardware from a driver perspective. The custom wheel and button are hooked up as keyboard keys. A netbook distribution of your choice probably runs, or runs with trivial fixes, though I haven't tried on the final production hardware.

If you have questions then ask one of the litl developers.

[link] 4 comments|post comment

Hail tabled with data replication [14 Nov 2009|01:32am]

It's almost there, I can sense it. I posted the patch with the scan daemon and 1-st party copy implementation today. There's still a lot of work remaining, in particular I need Chunk to perform self-tests and 3-rd party transfers.

The biggest issue, is, however, tabled itself. Or, actually, its database. In order to support nodes coming down efficiently, it needs to know what keys were at a given node, and the information is not indexed by node. So, the alternative is either changing the whole database scheme, or severely limiting the supported scale so that the limitations of the whole-database scan do not come forward too forcefuly. Given that there's no time, I opted for proclaiming no more than 10 Chunk nodes and 1 million keys. Such small limits make tabled completely useless and a toy (until the new database), but then if anyone thinks otherwise he's deluding himself anyway.

[link] post comment

Dehalification [10 Nov 2009|11:33am]

Is it just me, or nobody in GNOME/Freedesktop/etc. knew what they were doing for years (press "thread next" for more fun)? I wonder what David Zeuten has to say for himself about HAL. Also, what are the chances that whatever is being done now won't get rejected in, oh, a year?

[link] 7 comments|post comment

The litl thing [05 Nov 2009|05:07pm]

Apparently, it uses S3. My plan to take over the world is proceeding as I have foreseen.

[link] post comment

Blog-resident development in the clouds [30 Oct 2009|01:00pm]

In case folks don't know, I'm a massive blogger, but it's not blogging about programming and most especially not blogging while programming. I dabbed in it, but it became very obvious to me that it was a province of douchebags and Rusty Russel (who blogged good things about lguest and other projects). The end of my dabbing occured when jbj declared that he's "taking development of RPM 5 to the blog". Seeing that put a capstone into my communication phylosophy. We kernel programmers do the business on mailing lists, Jon Corbet summarises the results.

But it looks like outside of the kernel, a different way of life arose, congealed, or whatever. I cooperate on Hail with Jeff Darcy, and I learned today that he has what is a programming blog. Darcy is not as exceptional as Rusty among kernel hackers. Cloud-y folks, they all blog. But I never knew what to make of that, if it was Sturgeon's law. However, Jeff is not a random wanker, he codes good things. He's also fully versed in good e-mail: no top-posting or HTML from him.

Not sure if this blog is going to explode with programming detail, but even if I'm not as cool as Jeff Darcy or Rusty Russel, why the heck not. It may be worth documenting the thinking missing from commit logs.

In case anyone asks, I still hate Twitter.

[link] post comment

Rumor-mongering, tribal knowledge [20 Oct 2009|07:35am]

In a comment to mdomsch's entry about the newly introduced support for PRNG of TPM in rngd, Arjan asks why keep this in userspace. Why, indeed? Please pardon me engaging into rumor-mongering, but I heard that the problem is the maintenance of the quality of the random stream. In other words, lots of sources of the enthropy may go bad (get stuck on a certain value usually, but not only that). Detecting it in kernel would be too difficult.

Now, is this credible? It is to me, but I did not look at the source.

I'm often on the receiving end of it too. For example, yesterday I wanted to create a wildcard A/AAAA record (it's used for S3 bucket selection in tabled). All examples, without fail, used the fully qualified syntax "*.sub.dom.com.", unlike all other entires in the SOA zone. And why? Nobody knows, they just do it.

[link] post comment

LOL of the day [06 Oct 2009|01:58pm]

In Eucalyptus FAQ:

Q: Can I help develop Eucalyptus?

A: For the moment, we are restricting external development contributions for Eucalyptus internals to bug fixes. It is just too complicated to try and keep the code base stable with external developers when we are in this early phase of development.

That's a good one. And Ubuntu shipped that? But of course.

I was thinking if I should trash tabled and replace it with Walrus (a part of Eucalyptus that's equivalent to tabled), but now I'm not sure if that's a good idea anymore. Sure, they have mature, working code, and Hail has immature, limping one. But jeez, plugging into an upstream like that is a nightmare for any hacker of packager.

[link] post comment

Today's WTF [22 Sep 2009|07:24pm]
Linux kernel development discussion at LinkedIn.com. God, why?
[link] 2 comments|post comment

Nobody uses gvim on Rawhide? [21 Sep 2009|11:15am]

The bug 510307 does not get a lot of interest (or any interest), but it's a major problem for me. When I want to edit arch/x86/pci/legacy.c, the fingers type "gvim arch/x86/pci/legacy.c". What's a kernel hacker to do?

a - Apply the patch to a locally built gvim, maintain the RPM forever
b - Switch to Ubuntu and hope they'll carry the patch forever
c - Become a vim contributor, raise to the top through the vicious backstabbing, take over the project and APPLY THE DAMN PATCH AT THE SOURCE
d - Switch to Emacs
e - Apply for a position at Microsoft

[link] 5 comments|post comment

iptables on Fedora with stock kernel [19 Sep 2009|11:26pm]

Don't remember why, but I noticed that my laptop was running without any iptables. Sure enough, there was a little message "iptables-restore: line 22 failed". Line 22 is "COMMIT", so that's not useful.

By diffing configs between Fedora kernel 2.6.31-2.fc12 and my own 2.6.31, I found that Fedora had "+CONFIG_BRIDGE_NETFILTER=y", an option missing from the stock kernel. So, a likely explanation is that I rebooted into Fedora kernel and a mysterious component added "-I FORWARD -m physdev --physdev-is-bridged -j ACCEPT". I suspect some kind of virtualization daemon.

The only fix seems to be to edit /etc/sysconfig/iptables and delete the offending line.

Oh well, as long as I don't boot Fedora kernel and use the Linus' kernel exclusively, I should be safe.

[link] post comment

Giving up on Twitter [17 Aug 2009|03:33pm]

I may come to regret it later, but after making 1733 twits, I had enough of Twitter's "service" with mandatory corruption of URLs and masked 403s. But instead of migrating to Identi.ca or other better Twitter than Twitter (like Plurk), I simply started microblogging at Meenuvia. It's much better.

Twitter and Identica center their proposition squarely on the race to increase followers, which I have no chance of winning. Honestly, I'm not sure if I have a desire to participate in the first place — too much responsibility. Therefore, I don't see why I should bother. The downsides are too great.

[link] post comment

Vintage Dilbert [04 Aug 2009|02:41pm]

I bought the volume 13 of Dilbert because of one specific strip set.

It goes like so:

TINA: I just read that the average woman is paid 75 cents for every dollar that men make. It's an outrage!

ALICE: I'm the highest paid engineer in the company.

TINA: That's impossible. The article says "average women" earn less.

ALICE: Suddenly, the problem comes into focus.

Ah, the days when DouglasScott Adams sucked at punchlines yet wasn't afraid to take on real issues (strips are from March 1998).

[link] 2 comments|post comment

Happy Anniversary abort [29 Jul 2009|10:05pm]

A bit more than exactly one year passed since Pulse aborted on me, so Lennart was a little forgetful, I guess.

[zaitcev@niphredil tmp]$ mpg321 1198-BWB-2009-07-28.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.
Aborted

Oh yes, baby. I love you too.

[link] 2 comments|post comment

Project Hail [24 Jul 2009|09:22pm]

On Wednesday, Jeff Garzik used our cloud forum to report on Hail, a small cornerstone of the open source cloud. I've been hacking on it since January. Interesting stuff, and I wanted to have a good look at the userland for a while. I don't consider going to userland hacking as falling down the order (see Linus and git). Before that, I poked at X a bit, but those people weren't very interested or friendly. Here at least only Jeff stands between me and the master git tree.

[link] post comment

"We forked Sylpheed and added bugs" [15 Jul 2009|01:36pm]

Due to Sylpheed in Rawhide 10.90 being buggy, I tried to migrate to Claws today. It took me about 20 minutes until the first crash. Upon restart, Claws forgot some changes to the configuration that I made before the crash (although dialogs were closed many times), and insisted on re-reading the multi-megabyte Trash folder. Way to go, folks.

At least my newly-added filters survived. Claws failed to import Sylpheed filters, and adding them manually is much worse that it was.

I really should move to Tbird and render bugs of Claws moot (this will also fix IMAP logins). But it takes a bigger leap. Maybe tomorrow.

[link] 3 comments|post comment

Jon Masters was right [06 Jul 2009|04:20pm]

Or at least that was what I thought when, after years of service, Rawhide finally cooked itself on my laptop enough to become unbootable due to a crash of glibc. After a short period of despair it turned out that an invocation of cp on ld-2.10.1.so and libc-2.10.1.so was enough to recover (trusting prelink -ua seems suicidal to me, honestly). But all things said, it's not question of if, it's when your Rawhide will brick (or worse, corrupt something).

But even so, there's no choice for me but to persist with the latest and greatest, just because it's the only place where the fixes happen (ouside of expensive commercially supported branches). Sorry, Jon.

This recurrent thought is prompted by an article at LWN.

[link] post comment

LittleBSD [04 Jul 2009|11:37am]

To my great surprise, LittleBSD is actually a cosplay cafe (via). But I'm pretty sure they did in fact ripped of Chuck and the name is not a coincidence. Behold the screencap:

[link] 1 comment|post comment

Mono and the first applications [02 Jul 2009|01:56pm]

LWN addressed the Mono question today. Among other things, Jake mentioned the "applications" argument, specifically "[Jo Shields] also notes that it is the applications that are driving the adoption of Mono, not the technology in and of itself." If Jo actually said any such thing, it's flat out false. The original trio of applications that was supposed to drive the adoption (Beagle, fSpot, and Tomoboy) was specifically designed to try and embed Mono by its boosters (e.g. Miguel in particular).

N.B. I don't place any judgement on morality of the plan to introduce poison pill applications in order make Mono indispensable. I only disagree with attempts to pretend that applications somehow naturally sprout and their developers select Mono as the best platform on merits. Mono, excellent it may be, is too politicised for that. If you chose it, you're making a statement about who your friends are.

Update: Boiling fora outside of solemn halls of LWN, documented by mjg59.

[link] post comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]