LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-03-2009, 06:25 PM   #1
map250r
Member
 
Registered: Aug 2007
Distribution: Debian Squeeze
Posts: 46

Rep: Reputation: 15
raid0 ext3 corruption after I suspend-to-ram several times (2.6.29)


I have two 500gb sata drives, each with a partition that was set up with mdadm for raid 0. The kernel recognizes the partitions fine at boot when I specify root=/dev/md0 .

If I suspend to ram several repeatedly (4-5 times?), the last suspend-to-ram will take about 20-30 seconds with some extra text showing up on the console (I need to take a pic, but haven't been fast enough, yet). I think it said something about inodes.

The first time this happened, KDE came back up but things didn't work well. I switched to the console and eventually got a kernel panic. There were many pages of errors before the panic.

The second time it happened, I got a kernel panic before the gui came up. This time, only one screen full of errors.

The errors (first 3 repeated many times, last one not as often):
Code:
sd 1:0:0:0: [sdb] Unhandled error code
sd 1:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdb, sector 845256191
EXT3-fs error (device md0): ext3_get_inode_loc: unable to read inode block - inode=28402518, block=113606711
Eventually I got several of
Code:
Read-error on swap-device (8:16:381061879)
Read-error on swap-device (8:16:381061...)
and then
Code:
Kernel panic - not syncing: Attempted to kill init!

Both times, on the next boot fsck reported errors and said it would need to be manually ran. When I did, I got a lot of errors, though the second time there were fewer types of errors and it all fit in one screen.

The errors:
Code:
corrupted orphan linked lists
inode with zero dtime
inode bitmap differences
free blocks count wrong for group ...
free inodes count wrong for group ...
free blocks count wrong
free inodes count wrong
I googled "corrupted orphan linked list" and apparently I should find stuff in /lost+found - but that dir is empty, even with ls -a .

I have been checking dmesg regularly, but haven't seen any warning signs again. I have not been letting my machine suspend many times, for fear that I will corrupt data. After a couple suspends, I have been restarting or shutting down.

EDIT: Does anyone know the cause, or know of a solution?
Is there any way to know whether this is harmless (or completely recoverable via fsck)?

I'm using Debian Squeeze with a few packages from Sid and experimental (mostly KDE 4.2 stuff). I compiled kernel 2.6.29 myself.

Hardware is a Phenom II X4 810 on Gigabyte MA770-UD3. North bridge is AMD770, south bridge is AMD SB700. Disks are both Seagate Barracuda 7200.12, model ST3500410AS.

I took pictures of the errors, if that would help.

Last edited by map250r; 05-03-2009 at 06:39 PM. Reason: a bit more info
 
  


Reply

Tags
ext3, kernel, raid, raid0, sata, suspend, suspend2ram


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel bug causes EXT3 FS corruption? Gralgrathor Linux - General 6 10-24-2008 11:34 PM
Plz explain Suspend to Disk and Suspend to Ram pkhera_2001 Linux - Newbie 2 02-18-2008 07:23 AM
Formatting Freecom Datatank in RAID0 with EXT3 magli Linux - Hardware 0 10-27-2007 08:09 AM
Appearent video memory corruption on resume from suspend Face1 Linux - Laptop and Netbook 1 08-04-2006 07:45 PM
Ext3 journal corruption? Arkanoid Linux - Hardware 10 10-12-2005 05:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration