Sonntag, 11. November 2007

Problems updating kernels and kmods

I announced in on fedora-list@redhat.com and freeworld@livna.org already, but seems a lot of people ran into the problem and missed my post, so I put a slightly enhanced version of my post here as well:
F8 users with kmods will run into problems when updating to the
latest kernel from Fedora due to a problem in yum from F8 (at least
it looks like a bug in yum to me atm). See
https://bugzilla.redhat.com/show_bug.cgi?id=330711
for details. The problem looks like this:

# yum update
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package kernel.i686 0:2.6.23.1-49.fc8 set to be updated
---> Package kmod-nvidia-96xx.i686 0:96.43.01-17.lvn8 set to be updated
--> Processing Dependency: kmod-nvidia-96xx-2.6.23.1-49.fc8 for package: kmod-nvidia-96xx
--> Processing Dependency: kernel-i686 = 2.6.23.1-42.fc8 for package: kmod-nvidia-96xx-2.6.23.1-42.fc8
--> Running transaction check
---> Package kmod-nvidia-96xx-2.6.23.1-49.fc8.i686 0:96.43.01-17.lvn8 set to be updated
--> Processing Dependency: kernel-i686 = 2.6.23.1-42.fc8 for package: kmod-nvidia-96xx-2.6.23.1-42.fc8
--> Finished Dependency Resolution

If you run into this problem you can uninstall the kernel-modules for
the current kernel with this command :

rpm -e --nodeps $(rpm -qa 'kmod-*2.6.23*')

as workaround and then run yum update; you should get the new kernel and
the new kmods for it when running "yum update" afterwards.
Sorry for the trouble. Note that we have seem other problem in F7 due to this problem in the past already as well. According to a comment in above bug report it looks like other kernel module packaging standards might be affected as well.

While at it: looks like there is another bug in yum that affects kmods. In some situations the i586 kmod gets chosen to install, which tracks in the i586 kernel, which then leads to an error, as that has file conflicts with the i686 kernel. This is tracked in https://bugzilla.redhat.com/show_bug.cgi?id=346371
You can work around the problem by specifying which arch to install by running "yum install kmod-foo.i686".

Donnerstag, 1. November 2007

Testing new features in rawhide

Much talk about pulseaudio everywhere, so I wondered what it's all about and wanted to take a closer look (I likely should have done it weeks ago, but I was busy with other stuff...).

It wasn't really easy to find all the bits I need (I know, there were posts on fedora-devel-list or fedora-test-list weeks ago that explained what's needed, but well, that was months ago and they are not easy to find as well). Especially locating the volume control app made some trouble -- you see screenshots of it everywhere but that doesn't help much if you don't know the binary's name or the name of the package which contains it. Especially if you are so stupid as I was and just look in the packges with pulseaudio-prefix (hint for those that run into the same trap: the binary is called pavucontrol and it's package is called the same).

Those that install F8 freshly (once it's released) have more luck -- they will get the important bits by default. But rawhide testers (I updated this machine from F7 to rawhide months ago) didn't get it -- with IMHO kind of sucks, as a feature that will become by default isn't tested by default by regular rawhide users...

BTW: those that update from F7 to F8 with yum later won't get pulseaudio by default either...

Donnerstag, 25. Oktober 2007

All it takes is code, and time...

Hans, Kevin, thanks for taking up the idea from my mail and discussing it further. I don't have the energy anymore for driving such discussions much further, as I got the impression that it's not worth the trouble in Fedora-land these days. In the end there is often a lot of discussion and wasted time. The hurdles to fix it yourself are often way to high as well. Thus the problems stay and don't get fixed (and surely there is a problem here that needs fixing).

See the "Firefox update breaks repo" problem, which we have for years now. Instead of letting someone do for released updates what Jeremy did for rawhide some days ago the problem comes up every few weeks or months again. But no, FESCo discussed it ages ago and then forgot about it during the merge; like so many things. Lot's of good ideas from different people afaics don't get realized because we have committees and bureaucracy everywhere and people yelling "show me code" instead of being helpful and say "yeah, that problem needs fixing; not sure if your idea is the best, but we put it on the Board/FESCo/FPC schedule and will try to fix it over the next months; we'd appreciate your help with that and bring you in contact with the right people".

It's imho really frustrating. In Extras contributers helped each other out and FESCo tried to work towards a better Fedora Extras for users and contributers. We lost that "help each other for the common goal" during the merge afaics.

While writing some of my frustration on the state of Fedora down: Max, where do you see new leaders emerging in packaging land (e.g. old Fedora Extras)? Most if not all of those that are in FESCo, FPC, the Board or active on the lists these days are the same people that were as much active in Fedora Core or Extras one or two years ago already. So I'd say there is a stagnation here. In fact we even lost some people afaics, so it's going down -- the low number of volunteers during the last FESCo election is a indicator for that.

Another indicator for stagnation: we didn't get much (any?) new sponsors during the past months during and after the merge afaics (¹). In the past we each meeting asked for nominations and approved about one or two new sponsors per month -- it was even on the schedule each time so people that might want to self-nominate got a reminder where to self-nominate.

(¹) -- I have no hard numbers, but I got the impression there were just very few new sponsors over the past months. Does anyone have real numbers?

Samstag, 13. Oktober 2007

Fedora planet and english speaking feeds

The current discussion on "fedora planet and english speaking feeds" IMHO is a good example for what I call the "Fedora knows better then you what's good for you and thus Fedora only gives you what Fedora thinks is best"-attitude which IMHO becomes more and more a problem in different areas of the project.

IOW: There is no black and white here. Some people want a multi-lingual feed, others a english-only one (and likely others a German or a French one as well) -- there are good arguments for both sides. Thus we need to give people the choice here and have a sane default -- otherwise people stop reading Fedora Planet (like for example Pete did), which is not what we want. So thanks Airlied for setting such a feed up.

I hope we can have the feed alongside the current one on planet.fedoraproject.org/ in the future -- e.g let planet.fedoraproject.org/ be the default and multi-lingual while en.planet.fedoraproject.org/ (or planet.fedoraproject.org/en/ ?) serves those who want English only. Problem solved, everybody happy.

BTW: I don't care much about the non-english content -- the amount for me was up to now still acceptable. Okay, sometimes it was starting to become annoying and nearly reached the this-is-really-annoying trigger level -- but only nearly for me. But I suppose sooner or later with more feeds being tracked it would have been triggered, as it did now for Lennart afaics.

Further: A non-english post on an english-only planet now and then IMHO is likely no problem and I assume acceptable for everyone. It's normal that some post are off-topic in the blog/planet world afaics -- just like the post from Lennart was not really on topic for other planets like planet.gnome.org.

Donnerstag, 4. Oktober 2007

The difference between IRC and mailing lists

On IRC if you enter #fedora-devel and ask a question that is off-topic and more suitable for #fedora you get pointed there.

The question itself is not answered normally (even if it's a real easy one). Seems there is a silent agreement between those in the channel to not answer, as the questioner (or someone else) might come up with even more off-topic questions or comments sooner or later in the channel.

On fedora-devel-list@redhat.com that's handled differently.

Sonntag, 30. September 2007

fedoradev-pkgowners -- get package owners from pgkdb

Could not really sleep last night :-(( -- the cold I had one or two weeks ago came back on Friday and was likely the reason for it.

So I went down into the living room again a 1:00 in the morning and looked to work on something easy. I had a rough "look the owner of a package up by its name using the bugzilla data in the pgkdb" script lying around at which I took a closer look again -- I started to write it some weeks ago, because I got more and more annoyed when people posted mails like "the following 42 packages needs to be rebuild because some good reason" on fedora-devel and then just putting the list of packages names below it. It's better then not sending such mails, but for people with more then n packages (n likely something between 10 and 25 packages) it's not really helpful, as they can easily miss one of their packages in such a list.

Thus I improved and polished that script (nearly 250 lines in total now, including license and comments :-/) and upload it to the wiki today, as it's likely useful for other Fedorians as well. You can find it on the UsefulScripts page (which, btw, needs a cleanup afaics) now.

Here is a example how it can be used:
$ ./fedoradev-pkgowners ntfs-3g enigma gnome-desktop \
kdebase | sort | column -t
rstrode gnome-desktop
spot ntfs-3g
than kdebase
thl enigma
$ #
$ echo "ntfs-3g enigma gnome-desktop kdebase" | ./fedoradev-pkgowners \
--fasfile fasdata --email --pkgdbfile tmp/bugzilla | sort | column -t
rstrode gnome-desktop rstrode_[AT]_redhat.com
spot ntfs-3g tcallawa_[AT]_redhat.com
than kdebase than_[AT]_redhat.com
thl enigma fedora_[AT]_leemhuis.info
It likely has still some bugs in it as I wrote big parts of it in the middle of the night (which is really unusual for me -- I'm not one of those that works in the night normally), but it's a start and hopefully useful for others as well.

Thinking about it: wouldn't it make sense to put this and some of the other scripts into a fedoradevtools package? That would make it easier for people to get this and similar scripts and keeping them up2date. The idea is similar to the concept from rpmdevtools (which IMHO is a rea success), but putting fedora-specific things into that package seems wrong to me.

How to use the wiki properly

Keeping docs like the Proposed Fedora Features or Schedule pages in the Wiki up2date seems to be boring task for a lot of people (including me) -- often it's done rarely. For the Proposed Features John Poelstra does a good job of poking people when needed and takes care of the pages himself as well (thx for that John).

Matthias Clasen at the moment demonstrates how good the wiki can work if people update the status and proceedings of a task in the wiki properly: he keeps the Clock Applet page update nearly daily (with screenshots!) -- thus it's easy to follow the progress by subscribing to the page, even without being involved directly with the task. Matthias even reacted to a comment I put on the page.

Really nice -- that's how it's supposed to work, but often doesn't. Thx Matthias and keep up with your good work!