Writings Photos Code Contact Resume
Linux 2.6 SUX!

You are here

Submitted by msameer on Sat, 18/02/2006 - 2:04am

First, I know that I should STFU because I'm not going to write a patch to fix it but I can't as I'm not a kernel developer and the knowledge I have about the kernel development is the same as the knowledge I have about T.V internals ;-)

Really 2.6 is annoying, I don't know what's wrong with Linus. Yes thanks Linus for releasing Linux as a GPL'ed kernel and for working on it but you still suck :-)

A few days ago I went to the office, Powered on my laptop, startx and errrrrrr. I'm not allowed to startx. WTF ?

After digging around for some times I discovered that the Xwrapper.config file has been replaced by a strange file, I discovered later that it was the fonts.dtd file from the fontconfig package. WTF !!

Simply, I fixed the file and managed to startx, Something wrong with the colors ? I finally discovered that the rgb.txt file has been truncated. I also discovered that a lot of directories has been turned into files. I was sure that someone didn't crack my laptop. After I fixed this, I was trying to switch my keyboard layout to Arabic but it didn't work. Open a terminal and damn! "setxkbmap" is crashing, Google told me that some files might be missing. I reinstalled the relevant debian packages and it worked.

I had to stop and consider it, Is it a file system corruption ? I never had this with Linux before. I rebooted using a live CD, Ran fsck but it was fine. Odd!

I booted my normal system back and started to work, I'm a full time employee after all and this suck when you want to poke around :-)

Never mind, I'll have a detailed look later.

I was doing something when I suddenly got a message on the terminal and the file system was remounted read only by the kernel.

ext3_free_blocks_sb: bit already cleared for block

Enough is enough, The night before I installed the 2.6.15 kernel from sid. Now I can say that it might be a corruption in the kernel data structures. I rebooted and fsck again, shit I never had any entries in my lost+found directory since I swotched to linux, Now I have something like 22 Megabytes.

That's it, I downgraded the kernel to the 2.6.15 from testing, kept rebooting and running fsck until it stopped reporting filesystem errors.

Now what ? I'm not going to reinstall ? Sure no.

I need to verify all the packages, I found debsums but I also discovered that not all the packages install an md5sum for their contents.

At that point I decided to go home.

I used debsums to verify all the packages with md5sumsand reinstalled all the packages with corrupted or missing files. I then reinstalled all the packages without md5sums for 2 reasons:
1) I can't tell whether they contain corrupted files or not.
2) To allow debsums to generate md5sums for them.

Now the only problem is that the md5sums files might be corrupted too but I decided that I'm still lucky ;-)

Everything was fine but I was really considering FreeBSD but then I thought about it again, I can't use it without trying to contribute but I don't like to contribute to a code under the BSD license which can be closed anytime.

Also, I won't be using stable, I'll be using release which is equivalent to Debian testing, It's also my fault that I used a kernel from unstable but come on, That's Linux, We are not talking about windows here. I mean even so, It should be stable.

Sure I wish I can report this as a bug but how ? I don't have any information to report.

The other problem is: How the hell am I supposed to use such a kernel when it enters testing ?

I can't also compile from source again for 2 reasons:
1) I've been building from source since the late 2.2, I tried building 2.6.15 some time ago but damn, mutt wasn't able to open my main inbos, grep complained about inability to allocate memory when I tried to grep through the ~500 MB file. Something is wrong and this makes me afraid.

2) If such a bug is there when we have a team of people maintaining the Debian package, How can I be sure that I won't hit something more sever when I'm on my own ?

I know that everything can have bugs but the filesystem driver ? Isn't this too much ??

Comments

Submitted by Salman Al-Rahma (not verified) on Sat, 18/02/2006 - 6:31am

You should not complain if you are using Sid, it is Sid:-) . You can use Testing with backports from Sid. As for kernels, you can either use debian stock kernel images or download vanilla source from kernel.org.

Submitted by msameer on Sat, 18/02/2006 - 1:18pm

You should not complain if you are using Sid, it is Sid:-) . You can use Testing with backports from Sid.

So I'm allowed to complain if I'm only using backports ?

1st, I'm using testing not sid.
2nd, What I'm saying is: What happened is a data corruption with a stable Linux. It has nothing to do with sid IMHO. Got my point ?
And it was a stock linux image from Debian BTW.

Submitted by Anonymous (not verified) on Sat, 18/02/2006 - 6:42am

I'm sorry for all that b0rkage but seriously you should stick with stable. Also try to report/help fixing this critical bug. I also didn't get the part about building the kernel then everything getting slow.

Submitted by msameer on Sat, 18/02/2006 - 1:20pm

Stable = Debian stable or a Stable 2.6 release ?

Submitted by theSamo (not verified) on Sat, 18/02/2006 - 1:48pm

stable kernel tab3an.
who uses Debian stable anyways :p

Submitted by msameer on Sat, 18/02/2006 - 1:56pm

The unstable kernel was 2.6.15.6 and all this happened with it.

Submitted by ezabi on Sat, 18/02/2006 - 1:42pm

First thing to tell you before I read the post is, how dare you speak such blasphemy, you are to be condemned to be locked in a room with a windows 3.11 machine and mechanical mouse with no ball.
عشان تتعلم ازاي تتكلم كويس عن اسيادك...
Now it's time to read.

Submitted by CVirus on Sun, 19/02/2006 - 2:09pm

Linux is the Kernel .. GNU/Linux is the OS

You're having a problem with Linux and not GNU/Linux .. So why dump GNU/Linux OS and use FreeBSD ... AFAIK you can use the BSD kernels on GNU/Linux :-)

___________________________________________________
My Humble Website ?

Get my gpg key: gpg --recv-key --keyserver pgp.mit.edu 4CFE7230
Key Fingerprint: C5A6 BE2B 594A F616 E3C2 9472 AC43 3D8D 4CFE 7230

Submitted by msameer on Sun, 19/02/2006 - 2:27pm

Not mature enough AFAIK

Submitted by Andre Blum (not verified) on Tue, 14/03/2006 - 7:52pm

Hi,

I've got exactly the same problem here: after running half a day or so, my filesystem is somehow remounted read-only. Only thing left is to reboot and see fsck lose another bunch of files :-(

Kernel is 2.6.15, system is running debian testing.

Andre

Submitted by msameer on Tue, 14/03/2006 - 9:38pm

I'm sticking to a compiled 2.6.14, kept the kernel package on hold.

I won't upgrade before 2.6.16 I guess.

I think the best thing is to use "debsums", Hope you didn't lose any important data.

Add new comment

Subscribe to /  digg  bookmark