kernel: attempt to access beyond end of device

Thomas Zimmerman (qubes@aa.net)
Wed, 27 Oct 1999 20:56:04 -0700


Today I decided to try and get to the bottom of some ext2 corruption I
have noticed under 2.2.12, 2.2.13, 2.3.23, 2.3.24, but not under 2.3.20.
I noticed the first questionable events in the system logs below (first
under light use, and then when ripping a cd.) I am running a AMD
3DII-300 128m RH6.0+ box with two ide drives: hda(FUJITSU MPD3084AT,
8063MB w/512kB Cache, CHS=1027/255/63, UDMA(33)) and hdc(FUJITSU
MPD3043AT, 4125MB w/512kB Cache, CHS=8940/15/63, UDMA(33)) on differnt
ide channels; the CD is on the second ide channel.
-----------
Oct 25 14:37:21 darklands kernel: Linux version 2.3.23
(root@darklands.zimres.net) (gcc version egcs-2.91.66 19990 314/Linux
(egcs-1.1.2 release)) #1 Mon Oct 25 00:57:51 MST 1999
[snip to errors]
Oct 26 03:24:53 darklands kernel: attempt to access beyond end of device
Oct 26 03:24:53 darklands kernel: 03:05: rw=0, want=336438042,
limit=2048256
Oct 26 03:24:53 darklands kernel: attempt to access beyond end of device
Oct 26 03:24:53 darklands kernel: 03:05: rw=0, want=336438042,
limit=2048256
Oct 26 03:24:53 darklands kernel: attempt to access beyond end of device
Oct 26 03:24:53 darklands kernel: 03:05: rw=0, want=336438042,
limit=2048256
Oct 26 03:24:53 darklands kernel: attempt to access beyond end of device
Oct 26 03:24:53 darklands kernel: 03:05: rw=0, want=336438042,
limit=2048256
Oct 26 03:24:53 darklands kernel: attempt to access beyond end of device
Oct 26 03:24:53 darklands kernel: 03:05: rw=0, want=336438042,
limit=2048256
Oct 26 03:24:53 darklands kernel: attempt to access beyond end of device
Oct 26 03:24:53 darklands kernel: 03:05: rw=0, want=336438042,
limit=2048256
Oct 26 03:24:53 darklands kernel: attempt to access beyond end of device
Oct 26 03:24:53 darklands kernel: 03:05: rw=0, want=336438042,
limit=2048256
Oct 26 03:24:53 darklands kernel: attempt to access beyond end of device
Oct 26 03:24:53 darklands kernel: 03:05: rw=0, want=336438042,
limit=2048256
Oct 26 03:24:54 darklands kernel: attempt to access beyond end of device
Oct 26 03:24:54 darklands kernel: 03:05: rw=0, want=336438042,
limit=2048256
Oct 26 03:24:54 darklands kernel: attempt to access beyond end of device
Oct 26 03:24:54 darklands kernel: 03:05: rw=0, want=336438042,
limit=2048256
Oct 26 03:24:54 darklands kernel: attempt to access beyond end of device
Oct 26 03:24:54 darklands kernel: 03:05: rw=0, want=336438042,
limit=2048256
[snip to next reboot and rip of cd]
Oct 26 16:04:25 darklands kernel: Uniform CD-ROM driver Revision: 3.05
Oct 26 16:07:09 darklands kernel: EXT2-fs error (device ide1(22,1)):
ext2_check_blocks_bitmap: Wrong free blocks c
ount for group 432, stored = 0, counted = 4
Oct 26 16:07:10 darklands kernel: EXT2-fs error (device ide1(22,1)):
ext2_check_blocks_bitmap: Wrong free blocks c
ount in super block, stored = 1563459, counted = 1563463
Oct 26 17:56:31 darklands kernel: attempt to access beyond end of device
Oct 26 17:56:31 darklands kernel: 03:09: rw=0, want=268956213,
limit=2048256
Oct 26 18:08:59 darklands kernel: EXT2-fs error (device ide0(3,1)):
ext2_find_entry: bad entry in directory #22089
: inode out of bounds - offset=1256, inode=1073764061, rec_len=12,
name_len=3
----------------
Oct 26 21:45:12 darklands kernel: Linux version 2.3.24
(root@darklands.zimres.net) (gcc version egcs-2.91.66 19990
314/Linux (egcs-1.1.2 release)) #5 Tue Oct 26 21:36:32 MST 1999
Oct 26 22:32:58 darklands kernel: attempt to access beyond end of device
Oct 26 22:32:58 darklands kernel: 16:01: rw=0, want=1141914260,
limit=4016218
Oct 26 22:32:58 darklands kernel: attempt to access beyond end of device
Oct 26 22:32:58 darklands kernel: 16:01: rw=0, want=1141914260,
limit=4016218
Oct 26 22:33:24 darklands kernel: attempt to access beyond end of device
Oct 26 22:33:24 darklands kernel: 16:01: rw=0, want=1410819201,
limit=4016218
Oct 26 22:33:24 darklands kernel: attempt to access beyond end of device
Oct 26 22:33:24 darklands kernel: 16:01: rw=0, want=1410819201,
limit=4016218
Oct 26 22:33:37 darklands kernel: attempt to access beyond end of device
Oct 26 22:33:37 darklands kernel: 16:01: rw=0, want=1411352816,
limit=4016218
Oct 26 22:33:37 darklands kernel: attempt to access beyond end of device
Oct 26 22:33:37 darklands kernel: 16:01: rw=0, want=1411352816,
limit=4016218
Oct 26 22:38:02 darklands kernel: attempt to access beyond end of device
Oct 26 22:38:02 darklands kernel: 03:0a: rw=0, want=269505428,
limit=2048256
Oct 26 22:38:02 darklands kernel: attempt to access beyond end of device
Oct 26 22:38:02 darklands kernel: 03:0a: rw=0, want=269505428,
limit=2048256
Oct 26 22:45:35 darklands kernel: attempt to access beyond end of device
Oct 26 22:45:35 darklands kernel: 03:0a: rw=0, want=1409582646,
limit=2048256
Oct 26 22:45:35 darklands kernel: attempt to access beyond end of device
Oct 26 22:45:35 darklands kernel: 03:0a: rw=0, want=1409582646,
limit=2048256
Oct 26 22:46:05 darklands gnome-name-server[702]: input condition is:
0x10, exiting
Oct 26 22:46:07 darklands gpm[516]: Error in protocol
Oct 26 22:46:07 darklands last message repeated 12 times
Oct 26 22:46:29 darklands kernel: EXT2-fs error (device ide0(3,10)):
ext2_free_blocks: Freeing blocks not in dataz
one - block = 1409582645, count = 1
--------------
Oct 27 16:30:01 darklands kernel: Linux version 2.2.13ac1
(root@darklands.zimres.net) (gcc version egcs-2.91.66 19
990314/Linux (egcs-1.1.2 release)) #1 Wed Oct 27 16:15:13 MST 1999
Oct 27 16:59:16 darklands kernel: attempt to access beyond end of device
Oct 27 16:59:16 darklands kernel: 16:01: rw=0, want=1343630962,
limit=4016218
Oct 27 16:59:16 darklands kernel: dev 16:01 blksize=1024
blocknr=1343630961 sector=-1607705374 size=1024 count=1
Oct 27 16:59:16 darklands kernel: attempt to access beyond end of device
Oct 27 16:59:16 darklands kernel: 16:01: rw=0, want=1343630962,
limit=4016218
Oct 27 16:59:16 darklands kernel: dev 16:01 blksize=1024
blocknr=1343630961 sector=-1607705374 size=1024 count=1
Oct 27 16:59:19 darklands identd[890]: Connection from localhost
Oct 27 16:59:19 darklands identd[890]: from: 127.0.0.1 ( localhost )
for: 1034, 25
Oct 27 16:59:36 darklands kernel: attempt to access beyond end of device
Oct 27 16:59:36 darklands kernel: 16:01: rw=0, want=1343630962,
limit=4016218
Oct 27 16:59:36 darklands kernel: dev 16:01 blksize=1024
blocknr=1343630961 sector=-1607705374 size=1024 count=1
Oct 27 16:59:36 darklands kernel: attempt to access beyond end of device
Oct 27 16:59:36 darklands kernel: 16:01: rw=0, want=1343630962,
limit=4016218
Oct 27 16:59:36 darklands kernel: dev 16:01 blksize=1024
blocknr=1343630961 sector=-1607705374 size=1024 count=1
--------------

To test, I used this nice little command to hammer the ide drives:
[qubes@darklands qubes]$while true; do tar c mp3/ >
/mnt/backup/test.file; md5sum /mnt/backup/test.file; done;

Which seems to work well for large amounts of access. BTW:
/home/qubes/mp3 is on the second drive, and /mnt/backup is a 2gig
partition on the first dirve. More info available on request.

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