Advanced

Linux: Chasing Down Data Corruption

Posted by dcparris on · 46 comments
KernelTrap
Mail this story
Print this story

In a couple of fascinating threads on thelkml, Linus Torvalds has been working with several other kernel developers to try and track down a difficult data corruption bug [story]. Linus posted a test-program that's capable of consistently triggering the data corruption, so it's a matter of time before the bug is found and fixed. "I think the page-writeout is implicated," Linus explains, "because I do seem to need it, but the page-cache flush does seem to make corruption _easier_ to see. I now seem about to trigger it with a 100MB file on a 256MB machine in a minute or so, with this slight modification. I still don't see _why_, though. But maybe smarter people than me can see it." Earlier it was thought that new page balancing code added in the 2.6.19 kernel was to blame, but using Linus' test-program the data corruption has been reported as far back as the 2.6.5 kernel. "It's not actually a new bug at all," suggested Linus, "it's just that the dirty page balancing causes writeback to happen _earlier_, and thus is better able to _show_ a bug that we've likely had for a long long time." Before heading out to dinner to celebrate his birthday, Linus sent out a patch for tracing the areas of the kernel where the corruption bug is happening, "in the hope that somebody else is working on this corruption issue and is interested." He went on summarize the current status of the debugging effort:"What we need now is actually looking at the source code, and people who understand the VM, I'm afraid. I'm gathering traces now that I have a good test-case. I'll post my trace tools once I've tested that they work, in case others want to help."(And hey, you don't have to be a VM expert to help: this could be a learning experience. However, I'll warn you: this is _the_ most grotty part of the whole kernel. It's not even ugly, it's just damn hard and complex)."

Full Story

  Nav
» Read more about: Groups: Kernel, Linux; Story Type: News Story

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (46)

26 earlier comments in the full thread.

Pun my word, 'tis the punic-inducing punmanship here, present and punding, which requires a respunse, though I'll admit to a punchant for it.
> Pun my word, 'tis the punic-inducing punmanship here, present and punding, which requires a respunse, though I'll admit to a punchant for it.

Now that's truly grotty ;-)
This thread has been so punderfullly punny!! It's great to see all the puns punted back and forth.

Here's one of my all time favorites: What is the difference between a Pun and a Fart?

Ans: a pun is a shift of wit. A fart is a wift of s__t!
Oh, that stinks!
Yes, it is pungent.
>Yes, it is pungent.

Rev, I think that remark makes clear that cr must be expunged from the rolls.
> Yes, it is pungent.

Well, I'd put an re at the beginning, and reverse the n and g, but...
Have we nothing better to do on New Years Eve than post messages to some news forum? I mean, shouldn't we all be out at the balls, bars, and house parties?

No! Not us! We're LXers!
My two sons (I'm a custodial single father) are busy about the house, enjoying the tail end of their vacation. We've got the ginger ale (I never drink alcohol when I'm on duty -- I'll be on duty for another 5 years with these guys) chilling for 12:00; the fruitcake's already cut. I'm distracting myself here and elsewhere on the Net between stabs at solving an installation problem (MEPIS; grub is being ornery in a way I haven't seen before) on a newly-acquired roadsider PC. Periodically I go pester one or the other kid enough that he appreciates the relative silence when I leave the room.

I'm where I should be tonight: with family. Happy New Year. Blessed be.
Since snow hit where I am today and effectively everything down. I'm home alone. So where better to be than punning away at my Linux box with my LXer buddies!! (No cracks about how you know why I'm alone, please!! Or I will write some even more pungent puns! Shaggy dog stories, anyone?) ;-)

Happy New Year to all and may your boxes always be up!

Don K,
/me boxes up dek

:)

You're late, techiem2 -- Boxing Day was Tuesday.
meh. My significant-other-human is out fighting a big bad fire, so my quiet evening at home plans have been changed to very quiet evening at home. Me, a plate of treats, two snoring cats, and a stray steer no one has claimed yet. If he's still here tomorrow, I'm naming him Rumproast and slapping my brand on him.
Somehow I can't see a steer learning to use the litter-box. Those cats won't stay snoring, methinks.

One kid's bunked out already. The other is grimly hanging on in IRC; I might go pester him in-channel.

Happy New Year to you and your SOH, TC.
hehe.

I'm chatting on irc and eating double stuff mint oreos. :) Wild geek parties!
Heh. I can remember welcoming in the new year on IRC a time or two... and on DLX multiline BBSes, and 2-meter repeaters, and CB... I think there's a Billy Joel line that applies here: "...better than drinking alone".

Happy New Year to you too, Techiem2. you too, Dek, if you're still by the channel.
Yep I'm still here trying to think of more Puns. I think I'm punned out for the night!

Good luck to all in the new year. It's stll an hour away where I am and I might not make it. Won't be the first time and probably won't be the last. ;-) Singularly unromantic, that's what I am!

I've really enjoyed the LXer community since I became a part of it. Thanks to all who work so hard to make it possible. You know who you are!!

Don K.

Well, I just rang in the New Year with my wife over the phone. Happy New Year to all LXer's everywhere.
I posted my New Years wish to the front page with about 5 seconds to go before the ball dropped in Times Square - with my wife by my side. Then I got busy with all the romantic New Years celebration stuff. :-)

It's actually not a bad way to spend New Years Eve. My daughter, believe it or not, was already in bed. These young'ins - they just can't hang!
Books? Last book I read was _Sailing The Wine-Dark Sea: Why The Greeks Matter_. A fantastic book I highly recommend.

But since I cannot pun, happy new year!

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post