Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
10-22-2008, 12:42 PM
|
#1
|
|
LQ Newbie
Registered: Oct 2008
Posts: 7
Rep:
|
Kernel bug causes EXT3 FS corruption?
Hi.
My machine runs
1 x 500 GB SATA EXT3
2 x 500 GB IDE EXT3
2 x 200 GB IDE EXT3
1 x 80 GB IDE EXT3
on a 2.6.25-2-686 / 2.6.26-1-686 kernel in a Debian distro.
Lately, I've been having trouble with data integrity. The following usually happens:
I want to copy a file to a harddrive, and I'm told that the drive is R/O. I unmount the drive and check for errors. FSCK asks me if I want to correct bad inodes, I say yes. When I inspect the harddrive, whole folders have been neatly renamed and restored to the `lost+found` folder, effectively becoming garbage. I lost another 300 G of data.
The drives are all fairly new, and diagnostic software cannot find anything wrong with the hardware itself.
I've lost about 1 TB of data so far, and I'm getting a bit irritated.
So far, only the 2 500 GB IDE EXT3 drives have been affected, but I'm worried for the rest.
I've been doing some digging, and the only thing I've been able to come up with that explains this is a thread on a Ubuntu forum (which I can't seem to locate right now; I'll provide a link later) in which it was stated that this behavior was due to a kernel bug, from kernel 2.6.15 upward. The bug was expected to be fixed in 2.6.27, but debian doesn't offer that upgrade yet, and I'm unsure whether that will provide a solution anyway.
Do any of you know anything about this? Possible solutions perhaps?
Thanks in advance!
Last edited by Gralgrathor; 10-22-2008 at 12:43 PM.
|
|
|
|
10-22-2008, 01:00 PM
|
#2
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
Quote:
Originally Posted by Gralgrathor
The bug was expected to be fixed in 2.6.27, but debian doesn't offer that upgrade yet, and I'm unsure whether that will provide a solution anyway.
|
So what's stopping you from downloading the most recent kernel and compiling it yourself just to test?
I haven't seen any issues with EXT3 filesystems going corrupt and I'm currently running kernel 2.6.23.
Never rule out hardware problems either, might not be the drives themselves, could be the controller they're attached to. Make sure there are no firmware updates for your hardware, I've seen these issues in the past with Read-Only drives due to such things and or other hardware malfunctions. So before you just blame the kernel, do more digging.
|
|
|
|
10-22-2008, 01:26 PM
|
#3
|
|
LQ Newbie
Registered: Oct 2008
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by trickykid
So what's stopping you from downloading the most recent kernel and compiling it yourself just to test?
|
Fear. Unmoderated, pure ad simple. I think it'd be easier to revise the entire system, replace the IDE drives with SATA and install Ubuntu than that...
Quote:
Originally Posted by trickykid
Make sure there are no firmware updates for your hardware, I've seen these issues in the past with Read-Only drives due to such things and or other hardware malfunctions.
|
Ouch. Another one of those things. Okay, I guess I'll have to learn how to do stuff like that, without wiping the entire system.
Quote:
Originally Posted by trickykid
So before you just blame the kernel, do more digging.
|
I hadn't thought of firmware updates, true. But the post I was referring to was the only result matching the troubles I had that I could find after 3 hours of googling.
Well, thanks. I'll be at Compiling Kernels 101, and Upgrading Firmware Without Totaling Your System 101...
|
|
|
|
10-22-2008, 01:53 PM
|
#4
|
|
Member
Registered: May 2008
Distribution: Gentoo
Posts: 306
Rep:
|
Quote:
Originally Posted by Gralgrathor
Fear. Unmoderated, pure ad simple. I think it'd be easier to revise the entire system, replace the IDE drives with SATA and install Ubuntu than that...
<snip>
Well, thanks. I'll be at Compiling Kernels 101, and Upgrading Firmware Without Totaling Your System 101...
|
No need to be worried about compiling your own kernel. The worst that can happen is that the new kernel won't boot, in which case you just reboot the machine and use the previous kernel, figure out what you did wrong and try again.
|
|
|
|
10-22-2008, 04:30 PM
|
#5
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,225
|
Said like a true gentoo user ...
I run EXT3 almost exclusively on a truck load of different (recent) kernels and have seen no issues.
Not to say there aren't potential errors in code out there, but I've not heard of any.
|
|
|
|
10-24-2008, 04:42 PM
|
#6
|
|
LQ Newbie
Registered: Oct 2008
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by Total-MAdMaN
No need to be worried about compiling your own kernel. The worst that can happen is that the new kernel won't boot, in which case you just reboot the machine and use the previous kernel, figure out what you did wrong and try again.
|
Did some more digging. This time I went digging physically: into the bowels of my ctr. Found out that the two suspect discs were both connected to the same PCI IDE controller.
04:01.0 Mass storage controller: Integrated Technology Express, Inc. IT/ITE8212 Dual channel ATA RAID controller (rev 13)
It's set in passthrough mode, and has a bios revision some 3 years before the latest update.
I've spent some time and a couple of CD's trying to find out how to flash its ROM, but fearing after a couple of unsuccessful attempts that I might end up disabling my mainboard, I've decided to take the n00bs way out and just buy some 1 TB SATA drives and replace the IDE controller with a better one so that I can at least copy the remaining data, and perhaps keep some backup storage space.
Last question: any preferences as to what brand and model of controller I should buy? Is Promise any good?
Thanks!
Last edited by Gralgrathor; 10-24-2008 at 04:44 PM.
|
|
|
|
10-24-2008, 11:34 PM
|
#7
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
Quote:
Originally Posted by Gralgrathor
Last question: any preferences as to what brand and model of controller I should buy? Is Promise any good?
|
Anything with LSI chipset is what I sort of prefer nowadays. Promise is okay but from my experience, it's rather on the lower end of the list of quality. 3ware is okay but it's kind of overpriced in my opinion.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:48 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|