All of lore.kernel.org
 help / color / mirror / Atom feed
* Attempt to Access Beyond End of Device
@ 2007-09-10 13:59 Federico Sevilla III
  2007-09-10 14:44 ` Justin Piszcz
  2007-09-10 15:47 ` Eric Sandeen
  0 siblings, 2 replies; 33+ messages in thread
From: Federico Sevilla III @ 2007-09-10 13:59 UTC (permalink / raw)
  To: linux-xfs; +Cc: Alec Joseph Rivera

[-- Attachment #1: Type: text/plain, Size: 2349 bytes --]

Hi,

We've set up Debian GNU/Linux 4.0 "Etch" on an IBM x3400 machine with
two 73.4GB SAS hard drives in hardware RAID 1 with a battery-backed
cache. We are using the stock Debian 2.6.18-4-686 kernel.

The filesystems were created using the following optimization:

        -l size=32768b,version=2 -n 64k

The filesystems are mounted using the following optimization:

        logbufs=8,logbsize=256k

Today, we were unable to mount the "large" (not really at < 70GB) /var
(/dev/sda8), getting the following error:

        Attempt to access beyond end of device
        sda: rw=0, want=143139140, limit=143134720
        I/O error in filesystem ("sda8") meta-data dev sda8 block
        0x75cd27f
        ("xf:read_buf") errors buf count 512
        XFS: size check 2 failed
        Mount: /dev/sda8: can't read superblock

An attempted repair also fails:

        # xfs_repair /dev/sda8
        Phase 1 - find and verify superblock...
        Attempt to access beyond end of device
        Sda: rw=0, want=143139140, limit=143134720
        Xfs_repair: read failed.      Input/output error

The partition table looks okay:

        #Partition table of /dev/sda
        /dev/sda1 : start=          63,size        9637, Id=83, bootable
        /dev/sda2 : start=       96390,size   143042760, Id=5
        /dev/sda3 : start=           0,size           0, Id=0
        /dev/sda4 : start=           0,size           0, Id=0   
        /dev/sda5 : start=       96453,size     3903732, Id=82
        /dev/sda6 : start=     4000248,size     7807527, Id=83
        /dev/sda7 : start=    11807838,size     7807527, Id=83
        /dev/sda8 : start=    19615428,size   123523722, Id=83

The machine doesn't have valuable data, yet, so a simple reinstall
should help get it back up. However I'm more concerned about what could
cause this. It's the first time for me to use a version 2 log, 64k
directories (?) and 256k in-memory log buffers. Are any of these to
blame?

We're also looking for generic filesystem tweaks for a PostgreSQL +
Apache server, which this will be (with more load direct to PostgreSQL
than to/through Apache). Are the above choices for mkfs.xfs and mount
well-made?

Please advise.

Thank you very much.

-- 
Federico Sevilla III
F S 3 Consulting Inc.
http://www.fs3.ph

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread
* attempt to access beyond end of device
@ 2014-03-24  7:13 Piotr Szymaniak
  2014-03-24  7:37 ` Vyacheslav Dubeyko
  0 siblings, 1 reply; 33+ messages in thread
From: Piotr Szymaniak @ 2014-03-24  7:13 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 5007 bytes --]

Hello,

I'm running nilfs2 on Raspberry Pi and some time ago it got some
problem.

Connected the SD card to my PC today and mounted the fs, the cleaner
started and few minutes later it remounted the fs readonly. Here's the
dmesg part:

[ 1109.889697] mmcblk0: mmc0:b368 SMI   7.51 GiB 
[ 1109.891261]  mmcblk0: p1 p2 p3
[ 1129.467450] NILFS warning: mounting unchecked fs
[ 1129.956859] NILFS: recovery complete.
[ 1129.960064] segctord starting. Construction interval = 300 seconds, CP frequency < 30 seconds
[ 1129.979344] NILFS warning: mounting fs with errors
[ 1283.005874] attempt to access beyond end of device
[ 1283.005882] mmcblk0p3: rw=8192, want=145241775180196072, limit=15120384
[ 1283.005891] attempt to access beyond end of device
[ 1283.005896] mmcblk0p3: rw=8192, want=36678440, limit=15120384
[ 1283.512451] init_special_inode: bogus i_mode (160444) for inode mmcblk0p3:59824
[ 1283.667864] attempt to access beyond end of device
[ 1283.667869] mmcblk0p3: rw=8192, want=5764893396078298024, limit=15120384
[ 1284.492368] init_special_inode: bogus i_mode (4620) for inode mmcblk0p3:17013
[ 1284.707910] mmcblk0: error -110 transferring data, sector 5236904, nr 24, cmd response 0x900, card status 0xb00
[ 1284.707926] mmcblk0: retrying using single block read
[ 1284.792489] mmcblk0: error -110 transferring data, sector 5236904, nr 24, cmd response 0x900, card status 0x0
[ 1284.792498] end_request: I/O error, dev mmcblk0, sector 5236904
[ 1284.877077] mmcblk0: error -110 transferring data, sector 5236905, nr 23, cmd response 0x900, card status 0x0
[ 1284.877091] end_request: I/O error, dev mmcblk0, sector 5236905
[ 1284.961660] mmcblk0: error -110 transferring data, sector 5236906, nr 22, cmd response 0x900, card status 0x0
[ 1284.961674] end_request: I/O error, dev mmcblk0, sector 5236906
[ 1285.046235] mmcblk0: error -110 transferring data, sector 5236907, nr 21, cmd response 0x900, card status 0x0
[ 1285.046246] end_request: I/O error, dev mmcblk0, sector 5236907
[ 1285.130754] mmcblk0: error -110 transferring data, sector 5236908, nr 20, cmd response 0x900, card status 0x0
[ 1285.130764] end_request: I/O error, dev mmcblk0, sector 5236908
[ 1285.215320] mmcblk0: error -110 transferring data, sector 5236909, nr 19, cmd response 0x900, card status 0x0
[ 1285.215332] end_request: I/O error, dev mmcblk0, sector 5236909
[ 1285.299926] mmcblk0: error -110 transferring data, sector 5236910, nr 18, cmd response 0x900, card status 0x0
[ 1285.299945] end_request: I/O error, dev mmcblk0, sector 5236910
[ 1285.384537] mmcblk0: error -110 transferring data, sector 5236911, nr 17, cmd response 0x900, card status 0x0
[ 1285.384554] end_request: I/O error, dev mmcblk0, sector 5236911
[ 1285.615295] init_special_inode: bogus i_mode (2024) for inode mmcblk0p3:2218
[ 1288.601672] attempt to access beyond end of device
[ 1288.601677] mmcblk0p3: rw=8192, want=145241775180196072, limit=15120384
[ 1288.601681] attempt to access beyond end of device
[ 1288.601683] mmcblk0p3: rw=8192, want=36678440, limit=15120384
[ 1290.442474] init_special_inode: bogus i_mode (160545) for inode mmcblk0p3:59808
[ 1290.677312] attempt to access beyond end of device
[ 1290.677317] mmcblk0p3: rw=0, want=12305576757786212880, limit=15120384
[ 1290.677319] attempt to access beyond end of device
[ 1290.677321] mmcblk0p3: rw=0, want=12305576757786212880, limit=15120384
[ 1290.677324] NILFS error (device mmcblk0p3): nilfs_readdir: bad page in #38030
[ 1290.677325] Remounting filesystem read-only
[ 1290.681553] attempt to access beyond end of device
[ 1290.681557] mmcblk0p3: rw=0, want=1231588818889969824, limit=15120384
[ 1290.681559] attempt to access beyond end of device
[ 1290.681560] mmcblk0p3: rw=0, want=1231588818889969824, limit=15120384
[ 1290.681563] NILFS error (device mmcblk0p3): nilfs_readdir: bad page in #38033
[ 1290.681578] attempt to access beyond end of device
[ 1290.681579] mmcblk0p3: rw=0, want=6682469067434422488, limit=15120384
[ 1290.681581] attempt to access beyond end of device
[ 1290.681582] mmcblk0p3: rw=0, want=6682469067434422488, limit=15120384
[ 1290.681584] NILFS error (device mmcblk0p3): nilfs_readdir: bad page in #38036
[ 1290.734000] init_special_inode: bogus i_mode (1752) for inode mmcblk0p3:38170
[ 1290.736411] init_special_inode: bogus i_mode (160545) for inode mmcblk0p3:59816
[ 1290.736419] init_special_inode: bogus i_mode (1752) for inode mmcblk0p3:59818
[ 1290.736424] init_special_inode: bogus i_mode (160545) for inode mmcblk0p3:38168
[ 1291.005227] init_special_inode: bogus i_mode (50004) for inode mmcblk0p3:2042
[ 1291.013041] init_special_inode: bogus i_mode (50444) for inode mmcblk0p3:2815


Should I check the card in the first place?


Piotr Szymaniak.
-- 
<kow`> "There are 10 types of people in the world... those who
understand binary and those who don't."
<SpaceRain> That's only 2 types of people, kow.
<SpaceRain> STUPID
  -- bash.org

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread
* attempt to access beyond end of device
@ 2006-12-05 14:01 Koen Vereeken
  0 siblings, 0 replies; 33+ messages in thread
From: Koen Vereeken @ 2006-12-05 14:01 UTC (permalink / raw)
  To: xen-devel

I run xen-2.0.5c-4 and kernel-xen-2.6.11.4-20a
and when executing an rsync in my xen instance, i get the following
errors in my /var/log/messages file on domain0 (see snip).
I noticed some other users had this error also in xen2.
Have you tried upgrading to xen3?
If it's fixed in xen3 I will skip further analysis of the problem..

Sep 13 00:38:25 linux kernel: attempt to access beyond end of device
Sep 13 00:38:25 linux kernel: 03:02: rw=0, want=1036632448, limit=10485760
Sep 13 00:38:25 linux kernel: attempt to access beyond end of device
Sep 13 00:38:25 linux kernel: 03:02: rw=0, want=1305318800, limit=10485760
Sep 13 00:38:25 linux kernel: attempt to access beyond end of device
Sep 13 00:38:25 linux kernel: 03:02: rw=0, want=633979264, limit=10485760
Sep 13 00:38:25 linux kernel: attempt to access beyond end of device
...
Sep 13 00:38:26 linux kernel: 03:02: rw=0, want=1372947616, limit=10485760
Sep 13 00:38:26 linux kernel: attempt to access beyond end of device
Sep 13 00:38:26 linux kernel: 03:02: rw=0, want=1036632448, limit=10485760
Sep 13 00:39:51 linux kernel: EXT3-fs warning (device hd(3,2)): empty_dir: bad
directory (dir #1228901) - no data block
Sep 13 00:39:51 linux kernel: EXT3-fs warning (device hd(3,2)): ext3_rmdir:
empty directory has nlink!=2 (0)

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Handling of read errors in raid6
@ 2006-01-19 12:02 Filipe Maia
  2006-01-19 20:39 ` attempt to access beyond end of device PFC
  0 siblings, 1 reply; 33+ messages in thread
From: Filipe Maia @ 2006-01-19 12:02 UTC (permalink / raw)
  To: linux-raid@vger.kernel.org

Is it easy to port the "readerrors rewrite" patch to RAID6?

Are there any plans to do it?

If there are are they short or long term?

(I have some stuff in a RAID6 that has more than 2 disks with
bad sectors and i would like to see if it would be possible to
recover them without going through all the dd stuff).

Thanks for the help.


-- 
All generalizations are false, including this one.
          -- Mark Twain

^ permalink raw reply	[flat|nested] 33+ messages in thread
* attempt to access beyond end of device
@ 2004-04-13 10:03 Luca Ferrari
  2004-04-13 10:41 ` Thomas Steudten
  0 siblings, 1 reply; 33+ messages in thread
From: Luca Ferrari @ 2004-04-13 10:03 UTC (permalink / raw)
  To: linux-admin

Hi,
since a couple of days I've got these messages in my logs, is a physical 
problem with the disk?

Apr 13 06:25:12 linux2 kernel: Directory sread (sector 0x20) failed
Apr 13 06:25:12 linux2 kernel: attempt to access beyond end of device
Apr 13 06:25:12 linux2 kernel: 02:00: rw=0, want=16, limit=4


Thanks,
Luca

-- 
Luca Ferrari,
fluca1978@virgilio.it

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: attempt to access beyond end of device
@ 2002-12-06  5:21 Justin Pryzby
  0 siblings, 0 replies; 33+ messages in thread
From: Justin Pryzby @ 2002-12-06  5:21 UTC (permalink / raw)
  To: linux-kernel

Before anyone asks, no my disk is not full:

pryzbyj@perseus:/usr/src/penguin$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             3.7G  1.1G  2.5G  31% /
/dev/hda3              19G  349M   18G   2% /home
/dev/hda4              14G  1.5G   12G  12% /usr/src

Sizes shouldn't have changed by more than 01% since I got the error.
Interesting: rerunning `updatedb --localuser=nobody 2>/dev/null` fails to
reproduce the error.

Is the error possibly the result of filesystem corruption?  I imagine that
each directory has a pointer to the disk location of each of its member
files; if that pointer were larger than the disk size, would this error
be the result?

If this is the result of filesystem corruption, it is not necessarily a
problem with ext3 or some othersuch, as I have done some *hard* shutdowns
recently (read: control-alt-backspace on a sis motherboard).

Justin

^ permalink raw reply	[flat|nested] 33+ messages in thread
* attempt to access beyond end of device
@ 2002-12-05 18:54 Justin Pryzby
  0 siblings, 0 replies; 33+ messages in thread
From: Justin Pryzby @ 2002-12-05 18:54 UTC (permalink / raw)
  To: linux-kernel

2.4.20-ac1, Debian testing.

While running `updatedb --localuser=nobody 2>/dev/null`, I receive several pages of the following message:

Dec  5 13:43:25 perseus kernel: Directory sread (sector 0x18) failed
Dec  5 13:43:25 perseus kernel: attempt to access beyond end of device
Dec  5 13:43:25 perseus kernel: 02:00: rw=0, want=12, limit=4

Some of the numbers are different sometimes.  I can post my syslog if anyone is interested, but I'm not even sure if this is a kernel issue.

Disk configuration is as follows:

pryzbyj@perseus:~$ mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
/dev/hda3 on /home type ext3 (rw)
/dev/hda4 on /usr/src type ext3 (rw)

Justin

^ permalink raw reply	[flat|nested] 33+ messages in thread
* attempt to access beyond end of device
@ 2000-12-07 15:56 Jan Niehusmann
  2000-12-07 16:34 ` Andries Brouwer
  0 siblings, 1 reply; 33+ messages in thread
From: Jan Niehusmann @ 2000-12-07 15:56 UTC (permalink / raw)
  To: linux-kernel

ll_rw_blk.c: generic_make_request() contains the following code:

if (maxsector < count || maxsector - count < sector) {
	bh->b_state &= (1 << BH_Lock) | (1 << BH_Mapped);
	if (blk_size[major][MINOR(bh->b_rdev)]) {

		/* This may well happen - the kernel calls bread()
		   without checking the size of the device, e.g.,
		   when mounting a device. */
		printk(KERN_INFO
		       "attempt to access beyond end of device\n");
		printk(KERN_INFO "%s: rw=%d, want=%d, limit=%d\n",
		       kdevname(bh->b_rdev), rw,
		       (sector + count)>>1,
		       blk_size[major][MINOR(bh->b_rdev)]);
	}
	bh->b_end_io(bh, 0);
	return;
}


That means that if blk_size[major][MINOR(bh->b_rdev)] == 0, the request
is canceled but no message is printed. Shouldn't there be a warning message?

Jan





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 33+ messages in thread
* attempt to access beyond end of device
@ 2000-11-24  9:02 Janek
  0 siblings, 0 replies; 33+ messages in thread
From: Janek @ 2000-11-24  9:02 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have dual P III 665 with 512 MB ram and IBM ServeRAID controller.
It has been running for 40 days without problems but yesterday during
system backup it gave me the following error to syslog:

kernel: attempt to access beyond end of device
kernel: 08:03: rw=0, want=631625768, limit=7912989
kernel: dev 08:03 blksize=4096 blocknr=1768519177 sector=1263251528 size=4096 count=1

with different want numbers.
After a while thise lines changed to :

kernel: EXT2-fs error (device sd(8,3)): ext2_free_blocks: Freeing blocks not in datazone - block = 1869575229, count = 1

After backup nothing else was printed. Machine did not crash or anything.
Only MySQL server hanged...

Is this serious ? What chould I do ?

Also I'm using RedHat 6.2 with kernel 2.2.16. MySQL 3.22.32


Thanks,
Janek Hiis


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2014-03-29 14:49 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-10 13:59 Attempt to Access Beyond End of Device Federico Sevilla III
2007-09-10 14:44 ` Justin Piszcz
2007-09-10 14:59   ` Federico Sevilla III
2007-09-10 15:45     ` Justin Piszcz
2007-09-10 15:51       ` Federico Sevilla III
2007-09-10 15:47 ` Eric Sandeen
2007-09-10 15:54   ` Federico Sevilla III
2007-09-10 16:28     ` Eric Sandeen
     [not found]       ` <cc7060690709111208u3e0842f9rd6edff16539b8a28@mail.gmail.com>
2007-09-12  5:17         ` Federico Sevilla III
2010-04-26 20:20   ` willis
2010-04-26 20:54     ` Eric Sandeen
  -- strict thread matches above, loose matches on Subject: below --
2014-03-24  7:13 attempt to access beyond end of device Piotr Szymaniak
2014-03-24  7:37 ` Vyacheslav Dubeyko
2014-03-24 20:49   ` Piotr Szymaniak
2014-03-25  9:18     ` Vyacheslav Dubeyko
2014-03-27 12:39       ` Piotr Szymaniak
2014-03-29 14:49         ` Vyacheslav Dubeyko
2014-03-24 22:31   ` Piotr Szymaniak
2006-12-05 14:01 Koen Vereeken
2006-01-19 12:02 Handling of read errors in raid6 Filipe Maia
2006-01-19 20:39 ` attempt to access beyond end of device PFC
2004-04-13 10:03 Luca Ferrari
2004-04-13 10:41 ` Thomas Steudten
2004-04-13 11:08   ` Luca Ferrari
2004-04-13 11:20     ` Thomas Steudten
2004-04-13 11:45       ` Luca Ferrari
2004-04-13 12:44         ` Thomas Steudten
2004-04-13 12:53           ` Luca Ferrari
2002-12-06  5:21 Justin Pryzby
2002-12-05 18:54 Justin Pryzby
2000-12-07 15:56 Jan Niehusmann
2000-12-07 16:34 ` Andries Brouwer
2000-12-07 17:10   ` John Kennedy
2000-11-24  9:02 Janek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.