Kernel Sources

For all of those awaiting a more permenant fix to bug #85559, this has now been done. Hopefully you vanilla-sources users (specifically) will benefit from a big bandwidth saving.

Also on a similar note, there has been a lot of confusion recently about 2.4/2.6 kernel versions and headers. Let me clear this up.

Many moons ago portage didnt have support for cascading profiles, although the 2.5 kernel had just been made 2.6 and progress was being made on stabalising support for it in Gentoo. The issues we had meant that we had to rename the 2.6 versions into a new package. For example: linux-headers contained 2.4, and linux26-headers contained 2.6.
This meant that managing the dependancies within ebuilds was awkward and amongst other things, far from ideal.
It was also an illogical seperation of what is fundementally the same thing. You dont for example see vim5 vim6 etc, you just have vim.

Now then, what we did recently, with the help of cascading profiles was amalgamate these packages into their relevant counter-parts. Therefore, we now have vanilla-sources-2.{0,2,4,6}* and linux-headers-2.{4,6}* and it is up to the profiles you run to manage which versions should be unmasked for you.
As part of this move we also moved to 2.6 by default for many architectures. As a result, and in true gentoo philosophy, you will find underneath your profile either a 2.6 or most likely a 2.4 subdirectory. If you link your profile to that directory instead then you will no longer be forced to update to 2.6, however I do encourage you to upgrade if you have no valid technical reason to stay.

So with this concludes:
emerge yourfavourite-sources will emerge 2.4, OR 2.6 depending on your profile. Most likely 2.6
emerge linux-headers will merge the appropriate headers.

IF you are upgrading from 2.4 to the newer 2.6 as part of this move, PLEASE PLEASE ensure your new kernel is installed and running along side your new 2.6 headers, since there are several reports of random segfaults occuring with 2.6 headers on a 2.4 kernel.

If you find that its installing a version you dont want, then just relink your /etc/make.profile to ${PORTDIR}/profiles/default-linux/x86/2005.0/XX where XX is 2.4 (or 2.6 on different archs in some cases).

Hopefully this has now brought some clarity to the situation 🙂

tasting that fresh mono goodness.

So its been a while since I last blogged, and I’ve decided to give in on that whole “I promise to blog more often” routine which just doesn’t work, but after having a few things happen recently which someone might actually like to read about, I decided to write a new installment of my crazed thoughts to entertain those religeous few 🙂

I’ve been looking for a simplistic, yet powerful Podcast client for quite some time now, without any of the ones i’ve found (iPodder/Juice, Rhythmbox etc) being simple and specific enough. I fairly recently came across monopod which I wrote an ebuild for (0.3) and after finding a bug open for it on bugzilla, submitted it to portage.

At the same time, I decided to clean up v0.4 and got right into mono development. So far I’ve fixed up the deprecated code, fixed and partially re-worked the iPod support, cleaned up a lot of smaller UI niggles and started writing a plugin system fairly similar to Banshee’s to support automatic sync to iPod, daap, etc etc.

I’ve been in touch as well with Edd Dumbill and hope to start putting more time into turning monopod into a very convenient lightweight, but extensible podcast client. Of course, the fact that Banshee (which is awesome by the way, thanks Aaron) is actually getting a lot of attention from people writing podcast plugins for it means that monopod might end up being fairly short-lived. But obviously it has its purpose and I would never encourage playback support in it by standard anyways.

Anyways, on a totally different note Tim (Plasmaroo) lisa (lisa – funnily enough) and I met up in York for a bit of a gentoo get-together with a few other people on Saturday. It’s nice to catch up with people face to face, and Tim’s ability to shout russian in Pizza Hut impressed me! We met a rather interesting poet in the bookstore and ended up chatting about the ups and downs of (iirc) Jasper, XML, XSLT, Why not to use JavaScript, and then participating in some amateur filmography at the top of the stairs! 🙂

It was fun, hope to do it again sometime. The opportunity will come sooner than expected too with an unofficial meet in manchester shortly and a Gentoo UK gathering planned sometime near late May/June in London. Of course, everyone will be welcome and all interested parties should express their interest by badgering George (cokehabit) on #gentoo-uk 😉 – I’m curious about rough numbers as I’m sure George is as well.

So, I could go on for a while with all the things I’ve been working on recently, but instead I’ll give it a break and leave some beef for the next few days 🙂

Also to note, David Nielsen (Lovechild, some of you may remember him from his gentoo days) has been sexually abusing a lot of the UK developers recently. Word of warning for those tempted to visit us in London 😉

Long time no chat

So, its been quite some time since I last blogged. I thought I better update everyone as to my whereabouts, what I have been doing, and what im going to do 🙂

Lots of things have happened in my life recently. Shortly after christmas I took the leap and moved across to York (England) leaving my job, friends and family behind for a new life. I’m currently in new employment, study and have a great flat with my girlfriend. Its taking some time to adjust, since when I arrived the first weekend we were here I was sat in A&E, and have been nursing a wound from surgery since 🙂

So, on a York note! Live nearby? bored (very!) and fancy a drink? Drop me a mail!

On a gentoo note, of course everything has suffered. No internet access is still a burden for me until next week, and I suspect several days worth of updating and reading mail will follow before I get back into productive mode. I will be reviewing and making some changes to our current genpatches release maintainence to benefit older stable kernels in the tree with security fixes, which in turn should mean kernel sources won’t get bumped to stable purely for security releases alone.

Following on from this there are several changes I will be making to allow pre and post merge execution of scripts (likely wrapped to execute as required user) in module-rebuild. A few people have also suggested to change its name to modules-rebuild to better reflect its capabilities and also to match modules-update. I think I’ll do this fairly soon – but I’ll mention it on the -dev/-user mailing lists first.

Anyways, lots of other interesting plans, and also a few kernel patches to push for inclusion at some point – but for now I’ll leave it there and commit to blogging more frequently 🙂

18 Jul, 2005 GWN

So after reading through the kernel@ mails there are an awful lot of people coming up with the same scenario over and over, or the same questions and comments.
I thought I would post a blog just to summarize and to also suggest some migration models for those of you who are struggling.

So lets start at the top.
We are not dropping 2.4 support in gentoo.
gentoo-sources (2.4) is a vanilla 2.4 kernel with the following patches applied:

useraddress.patch – Choice for user space memory limits.
lckbase-2.4.28_rc3.patch – Patch to select the O(1) schedular, preempt etc.
readlatency.patch – elevator improvements to increase read times.
ecc-20030225.patch – Properly implemented ECC memory management/error reporting.
OpenSWAN-2.1.4+natt.patch – the OpwnSWAN IPSEC patchset, with NAT-T support.
bootsplash-3.0.7.patch – Graphical bootsplash support.
deviceMapper-1.00.17.patch – support for the Device Mapper block device. Required for LVM/EVMS
superMount.1.2.11a.patch – Removable/automount style device which is useful for removable media
linux-ntfs-2.1.6b.patch – Windows NTFS fs, with improved write support.
squashfs-1.3r3.patch – the SquashFS compressed read-only device driver.
GRSecurity-2.0.2.patch – For enhanced (ACL) security.
cryptoloop-jari-2.4.22.0.patch – A crypt aware loop device.
GCC-optimizations.patch – Add -march support.
speakup-20040313.patch – The voice synthesiser. very useful for blind users.
GentooBootsplash – The gentoo derives bootsplash driver.

So, what does this mean?
Well, following recent input we have decided to keep gentoo-sources-2.4 maintained in the tree for a little while longer, although with a much lighter patchset.
The following are to be dropped:

grsec
cryptoloop
useraddress
supermount

For some people this will pose a problem. Specifically with grsec. However I would like to strongly suggest a migration away from gentoo-sources-2.4 towards one of the following based on your requirements:

A security hardened, grsec enhanced and stable kernel:
hardened-sources-2.4
hardened-sources-2.6

A stable, reliable 2.4 based kernel:
(Now I assume you need 2.4 for a better reason than “I’m lazy”)
vanilla-sources-2.4
hardened-sources-2.4 (without enabling grsec)

A featureful, stable, and desktop-orientated 2.6 kernel:
gentoo-sources-2.6
I strongly suggest this for people which want responsiveness, ease of use and functionality.
As you may notice the supermount patch is being dropped. The desired approach is most certainly to go with udev/dbus/hal and a 2.6 kernel with hotplug. This will be much more user-friendly.

Please be aware that gentoo-sources-2.4 is likely to go on another diet within the next 6 months or so, with the long-term goal of it being completely removed.

Almost all questions should be answered above, although if you are required to stay on a 2.4 kernel (but would like to run 2.6) due to the fact that a specific driver isnt available for 2.6 please dont keep to yourself. Drop a mail to kernel@gentoo.org and ask us. It is very likely we can help you out.

So, to summarise.
“I want to move to 2.4 but XYZ doesnt work” : mail us.
“I cant move to 2.6 because this is production, and I want grsec” : hardened-sources
“I dont want 2.6 you goofs, I need OpenAFS support” : Then stick with 2.4, but please consider moving to vanilla-sources.

OpenSWAN is the one real requirement still provided on a 2.4 kernel by gentoo-sources which isnt included in other sources. If you are in this situation please drop a mail to us so that we might find out more and proceed appropriately 🙂

So, panic over. You can all go enjoy a nice cup of coffee while your new kernels compile 🙂

Cancer

I am not sure if cancer has ever touched on anyones lives, but in the past year a lot of people who I am friends with have turned ill through cancer. It is a truely horrible illness which people suffer, and having to sit and watch people fight against cancer has really opened my eyes a lot over the past several months.

Recently, my grandmother was diagnosed with a very rare case of Lukemia, which is apparently on a dramatic rise. It has been, and still is a hard time for my family as my mother is under no illusions that it is fatal (she is a well qualified matron) and of course, no one enjoys seeing loved family members pass away. As I now realise, nothing can ever prepare someone to be told that they have as little as a week to life, and no more than 9 months.

A good friend of mine is overcoming chemotherapy as an after-effect of bowel cancer. He is making a good recovery.

My boss and his wife have also both suffered cancer over the past two years, but both appear to be making excellent progress.

I also know of several people, often young (younger than me) who are having an ongoing fight with cancer, taking life a day at a time.

This morning an email arrived from my boss asking us to sponsor him and his wife to the Parish Walk. a 19 mile walk around the parishes of the island in aid of raising money for Cancer Research UK. I also recently read the blog which lilo posted to freenode (http://overcode.yak.net/3) of John Hall (not maddog) fighting against a serious type of skin cancer. It has some interesting links to other sites as well.

It reminded me that even in a world where physical limitations dictate existance, people are a unique experience and can never be replaced. I hope that my presence in this world has been meaningful, even if only in a small way. After all, when all of this is gone and all traces of your life have been lost you can be happy in knowing that for that brief period of time you were alive you helped make someone elses life mean something.

Asus Pundit-R’s, Asterisk and Kids on Bikes

So its been a little while since I last posted so let me update you all.

My Girlfriend (Claire) and I are looking around for a house, making the big move in together. I never realised how stressful just looking is! We have seen a fair few that we like, and have arranged several viewings but time will tell. I’ve also got quite addicted to “Ladette to Lady” on TV. I didnt realise watching stupid pompous old grannies and crazy young girls would be so entertaining.

Oh, and then there is my car. The accident magnet. As some of you probably know some stupid woman crashed into it, which I had to claim for an so on, and I have just now (after months of waiting) recieved the estimates. Well, I sat down for my dinner the other day and the door-bell rang so I went to see who it was. Some kid (good on him for not running off mind) appologised for riding down the road, losing control and crashing into the side of my car. It left a rather tidy scratch all down the rear passenger-side panel, and also a nice dint. Less than impressed 🙁

Also, no idea how many people have seen this but its pretty awesome. Basically, 18 real life taxi cabs fitted with GPS and split into teams of three. You pick a “team” as your online monopoly piece and when a cab is near/on your property after the round is up, you get paid rent. equally you pay rent in the same way. Very cool!

Anyways, on a more technical note I’ve been playing with the Asus PUNDIT-R’s as a solution to running Asterisk with some difficulty. The digium card (TE110P) is based on a well documented, open card with open specs. Problem being there is just enough variation in it to make it a pig. Once you enable the spans on the card, the card will begin to send interrupts (in a frequency similar to the timer) and also enables DMA access. now, the IDE bus on this machine has a faulty DMA as it is, and also it appears a faulty (IO/L)APIC implementation.

Im still in the process of trying to diagnose as to why the box will hardlock under minimal load exactly, but it is almost certainly to do with the way it handles DMA, and more than likely it just clobbers userspace memory regions which will then be over-written by userspace, which then currupts kernel-space and hangs.
However, if anyone has any experience with these boxes, this hardware, and asterisk please give me a shout and let me know how you got on. I have even tried forcing interrupt allocation to the BIOS in a check to ensure sensible sharing.

death to modconf

for those faithful following my heartbreaking drama story of a car and its owner, there is still no progress been made. The weather is getting wetter, and my poor baby is trying to hold the fort against the elements to prevent itself from rusting, and although I fret I have began to come to terms. Still no news about claiming for its repair yet, and still no news about making a statement but I suppose thats just slack police 🙂

A few things happening in gentoo land.
modconf has been removed, excellent. Its been in the tree (same ebuild, only trivial changes) for 2 years. It had come to the decision of keeping it, and bumping it to working or dropping it. After brief discussion, the latter prevailed.

bugs #85410 and #84856 are closed. Anyone having problems with unipatch working on something other than base10, and madwifi not building if you use KBUILD_OUTPUT things are looking up! 🙂

bug #77190 has been closed. Anyone who was setting a LANG/LC_ALL variable which screwed up unipatch should now be working fine without needed to mess with anything.

And, plenty more to come. All in all, I don’t have a great deal to add really. Only thing worth noting is I’m not feeling well and if things get much worse my availablity might become a little awkward.

Stupid French Cars!!

So shortly following the purchase of my new car, I was driving home at a very reasonable speed, when all of a sudden a newly passed driver in a citroen ax came around the blind corner too fast hitting the car in front of me. So, I swerved to not get hit by the spinning AX, and bits of the cars were flying all over my bonet.

I rang 999, done the normal stuff – luckily everyone was completely fine. Anyways, checking the damage to my car and it was nothing worth crying over I left and went home. While at home I saw that it had ripped big chunks out of my paintwork all over my bonet, door panels and bumpers.
After spending a good half an hour on the phone to a police officer dealing with the accident, I think he finally believed me and so I took it to the local station so that they could check it. Now all I need to wait for is something to happen to pay for the damage to be repaired before it starts to rust!

And to add to the annoyance, the only reason I drove away from home in the first place was to pick something up from a shop which rang me to say something I wanted was in, only to find by the time I got there they were mistaken!

So, anyways, Gentoo stuffs.
kernel-2 changes have gone in to better accomodate KV_EXTRA and family.
linux-mod changes have gone into the tree to take over the pcmcia work from pcmcia.eclass, and pcmcia-cs changes will be made soon.

instead of it now working out and patching a load of odd pcmcia sources, it just tarballs up the pcmcia-cs sources at build time, and uses that for the future. Please please please dont delete /usr/src/pcmcia/pcmcia-cs-build-env.tbz2 once these changes go in or you might experience problems 🙂

Aside from that, nothing new to report.

Ex-employers can really suck!

So, all in all this has been a fun weekend. The weather has held out which is good, I have a new car (new Hyundai coupe UK US: works under epiphany!) which I’ve been driving around a lot all week.

I’ve been on the phone every day to Manx Telecom (my ex-employers) recently trying to arrange for my internet access to be reconnected. One of the perks of working there was free ADSL, however for some anomaly it was never added to my line. Therefore, it was ceased and I have had no internet access for almost a week. Apologies to those waiting on me for stuff with Gentoo, but the above explains my lack of activity this past week 🙂

I’ve also been dabbling a lot recently in the new multisync cvs builds, uclinux updates and a couple of other goodies. Hope to push some of it to the blog/tree soon.

On top of this I’m going to commit nicer support within detect_version for the newer kernel scheme, something I’ve wanted to do but with 2005.0 and my lack of net access its had to wait.

/dev/urandom thoughts.

On Saturday I visited the folks at Salford uni to attend the Gentoo UK 2005 Conference. There is a fine write-up on it in this weeks GWN so I won’t elaborate on this too much, but I would like to extend my thanks to all of those participating in the event this year. It was a pleasure to meet those dev’s I’ve never met before in person. Shouts out to Tim, Tom, Dan, Stuart, Rob, Stephen, and although I never recognized you on the day Marcus! If there is anyone I have forgotten, my apologies and shouts to you too!

Gareth Bult of Flash Linux fame spoke about the technical limitations of USB keys, which I found most interesting, and also (indirectly) raised a few points which I would like to rant about. Documentation! Everyone knows our documentation team do a great job and our handbooks are nothing short of superb, however there are so many other documents which we look after which are terribly outdated or have not been made aware of. Hopefully the planet is a good push towards the aggregation of information, although I for one will be making more of an effort to keep documentation well organized and up to date.

Daniel Drake (dsd) spoke about his views of the kernel, mostly the 2.6 branch and its organization and touched on a few nice subjects. Monolithic vs. Modular for example. I felt a little embarrassed that I attended and didn’t put in any talks of my own so I must apologize for that, however I thoroughly enjoyed Dan’s talk and he would have shown me up anyway 😉 Something I would like to add however is that in the coming few months I am going to make a more conscious effort to keep the project page updated and our TLP roadmap accessible. With 2005.0 still being up-in-the-air I am going to hold off however.

Unfortunately I missed most other peoples talks in full as Stuart and I ran off to the side-room together! But from what I hear Rob only swore once, so way to go!

All in all, thoroughly enjoyable.

On a different note I went to Alton Towers on Friday and even the weather held out! It was a lovely day, and it was an awesome amount of fun. Anyone who’s going, I recommend staying the night in “The Bulls Head Inn” its just down the road, and the breakfast is fantastic. I think I went on every ride coming close to 4 times or so. Hex was the biggest dissapointment but numerous goes on Oblivion and Nemesis made up for it 🙂

Gentoo wise, there are several things coming up in the next few weeks with Kernel. There is of course the 2005.0 release which has been prepped for and requires further work once released to clean up old packages in the tree and so on.
There has been some excellent progress made in migrating all the older sources to kernel-2 and older kernel module ebuilds to linux-info/mod eclasses.
I will also be auditing our version detection mechanisms in the eclasses to ensure the recent move to a more refined upstream release scheme will be sanely catered for, and also addressing any issues which may have popped up from my recent unipatch change. Which reminds me, I am actually going to finish that re-write soon so devs can expect a much more powerful unipatch syntax and speed-ups.
I would also like to welcome Carlos Silva (r3pek) on board! It’s going to be a pleasure working with you.

So there is my first ever blog post! And I would just like to take this opportunity to thank Dan and all else involved for their dedication and initiative which made Planet Gentoo. It truly is an excellent tool!