PDA

View Full Version : "attempt to access beyond end of device" problem. XFS or software stripe or ?



picasso_1.2.13
7th May 2008, 04:44 PM
Not sure if this is XFS related or softare RAID0 or what, but this seems to be reoccurring.

The hardware is:

Dell Inspiron 530, Q6600 quad core, 4GB Ram, 2x750GB SATA HDD

I have Fedora 8/64bit installed, using XFS for "/", ext3 for "/boot". The two identical 750GB drives are striped to create a 1.4TB "md1" device, which is mounted as "/". Kernel is from Fedora8, 2.6.24.4-64.fc8.

During the install, everything seemed to work fine. I was able to use the system without any problems for about 2 days. Then I reboot, and the md1 device running XFS shows the following error messages:

I/O error in filesystem ("md1") meta-data dev md1 block 0x15d048574120008
("xfs_trans_read_buf") error 5 buf count 4096
attempt to access beyond end of device
md1: rw=0, want=98239738096517136, limit=2927780864

The above message repeats several times, but the system manages to boot to runlevel 3. I can login, but almost any command triggers that message which has flooded the logs. here is xfs_info on "/":

meta-data=/dev/root isize=256 agcount=32, agsize=11436608 blks
= sectsz=512 attr=1
data = bsize=4096 blocks=365971456, imaxpct=25
= sunit=64 swidth=128 blks, unwritten=1
naming =version2 bsize=4096
log =internal bsize=4096 blocks=32768, version=1
= sectsz=512 sunit=0 blks, lazy-count=0
realtime =none extsz=524288 blocks=0, rtextents=0

At first, I thought perhaps something wrong with the disks so I had them replaced. Reinstalled Fedora8 as before, then again, 2 days later (I don't know if the 2 day time period is coincidental or not), I reboot, and the exact same problem occurred. Since I've gone through 4 brand new 750GB HDD now, (Seagate diagnostics show all the disks to be fine in both occurances, but I replaced them anyway) I'm feeling that this is not a hardware issue, but software related.

A search on google seems to show others with possibly similar issues:

http://ubuntuforums.org/archive/index.php/t-568309.html

Is that related? Other google searches show a pattern of this problem only with >1TB XFS partitions, but that's just what I found googling.

I'm considering re-installing again, but using ext3 for "/" to see if the problem reoccurs, in hopes of "isolating" the issue. Not sure if it is related to XFS, the software stripe md1, or something else (but I don't think it's HDD related now).

Thanks for any info or assistance. Though the system isn't really usable, (many commands fail, but does boot to runlevel 3 and permits me to login) I'll leave it as is for today so let me know if there's other info I can try to gather that would be useful.

Any help would be appreciated.

picasso_1.2.13
11th May 2008, 01:38 PM
to follow up on my own thread, in case it helps someone else, this seems to be a bug introduced into the XFS kernel code in Fedora 8. the latest kernel update fixes the issue, if you apply the update before the buggy version corrupts your XFS file system:

https://bugzilla.redhat.com/show_bug.cgi?id=437968

nimbius
13th May 2008, 06:18 PM
"beyond end of device" errors are usually indicative of corruption. ex: a mounted iso with a bad checksum does this. thanks for the warning :)

zixow
27th May 2008, 10:02 PM
I am having the same trouble. I recently went from Fedora 8 (with no Walkman trouble) to Fedora 9 (Walkman does not mount) However, I reformatted the Sony Walkman NWZS616F, and i am still have trouble

sdc: p1 exceeds device capacity
sd 4:0:0:0: [sdc] Attached SCSI removable disk
sd 4:0:0:0: Attached scsi generic sg3 type 0
attempt to access beyond end of device
sdc: rw=0, want=4294967044, limit=7503872
Buffer I/O error on device sdc1, logical block 1073741760
attempt to access beyond end of device
sdc: rw=0, want=4294967048, limit=7503872
Buffer I/O error on device sdc1, logical block 1073741761

I tried to do a pmount - "Error: device /dev/sdc1 is not removable"

Any help would be appreciated

picasso_1.2.13
27th May 2008, 10:25 PM
I am having the same trouble. I recently went from Fedora 8 (with no Walkman trouble) to Fedora 9 (Walkman does not mount) However, I reformatted the Sony Walkman NWZS616F, and i am still have trouble

sdc: p1 exceeds device capacity
sd 4:0:0:0: [sdc] Attached SCSI removable disk
sd 4:0:0:0: Attached scsi generic sg3 type 0
attempt to access beyond end of device
sdc: rw=0, want=4294967044, limit=7503872
Buffer I/O error on device sdc1, logical block 1073741760
attempt to access beyond end of device
sdc: rw=0, want=4294967048, limit=7503872
Buffer I/O error on device sdc1, logical block 1073741761

I tried to do a pmount - "Error: device /dev/sdc1 is not removable"

Any help would be appreciated
Unless you're formatting the Walkman with XFS, your issue is unrelated to the one i had above. My issue was purely a bug that was introduced into the XFS code, and later fixed by a kernel update.