GPF and access beyond end of device, kernel 2.2.10

Catalin Muresan (cata@codec.ro)
Thu, 8 Jul 1999 10:32:40 +0300


Hello,

[1.] One line summary of the problem:
GPF and 'attempt to access beyond end of device' errors

[2.] Full description of the problem/report:
last night one of our servers had a protection fault followed, as you
can see, by an 'attempt to access beyond end of device' error, which
repeated for about 2hours until the server was rebooted. there were
errors on the root partition which were corrected by e2fsck.
server was up for about 10 days.

[3.] Keywords: kernel

[4.] Kernel version (from /proc/version):
Linux version 2.2.10 (root@Cnn.CODEC.Ro.) (gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)) #23 Tue Jun 22 17:24:34 EEST 1999

[5.] Output of Oops.. message (if applicable) with symbolic information
resolved: (syslogd innterpreted the oops so I think this is good)

<1>Unable to handle kernel paging request at virtual address 07350720
Jul 8 06:41:20 Spot kernel: current->tss.cr3 = 003b3000, %cr3 = 003b3000
Jul 8 06:41:20 Spot kernel: *pde = 00000000
Jul 8 06:41:20 Spot kernel: Oops: 0000
Jul 8 06:41:20 Spot kernel: CPU: 0
Jul 8 06:41:20 Spot kernel: EIP: 0010:[proc_lookup+48/188]
Jul 8 06:41:20 Spot kernel: EFLAGS: 00010202
Jul 8 06:41:20 Spot kernel: eax: c01b0000 ebx: 07350720 ecx: 00000f20 edx: c0292ee0
Jul 8 06:41:20 Spot kernel: esi: c1cc9cc1 edi: c00069e5 ebp: c1cc9c60 esp: c05d5ee4
Jul 8 06:41:20 Spot kernel: ds: 0018 es: 0018 ss: 0018
Jul 8 06:41:20 Spot kernel: Process snmpd (pid: 588, process nr: 7, stackpage=c05d5000)
Jul 8 06:41:20 Spot kernel: Stack: c0292ee0 c1cc9c60 c0292ee0 fffffffe 00000000 c013bfcb c0292ee0 c1cc9c60
Jul 8 06:41:20 Spot kernel: fffffff4 c1cc9c60 c0292ee0 c05d5f54 c01284c2 c0292ee0 c1cc9c60 c05d5f54
Jul 8 06:41:20 Spot kernel: 00000000 c1e8600a 00000001 c0292f2c c012869c c036ba80 c05d5f54 00000001
Jul 8 06:41:20 Spot kernel: Call Trace: [proc_root_lookup+67/256] [real_lookup+86/132] [lookup_dentry+296/488] [open_namei+102/748] [filp_open+68/240] [sys_open+54/132] [system_call+52/56]
Jul 8 06:41:20 Spot kernel: Code: 66 83 3b 00 74 18 31 c9 66 8b 4b 02 3b 4d 44 75 0d 8b 75 40

Jul 8 06:41:20 Spot kernel: attempt to access beyond end of device
Jul 8 06:41:20 Spot kernel: 03:01: rw=0, want=253822757, limit=1229728
Jul 8 06:41:20 Spot kernel: EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=126514, block=253822756

(the newline between the oops and ext2 error was inserted by me)

[6.] A small shell script or example program which triggers the
problem (if possible)
sorry.

[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)
-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux Spot.CODEC.Ro. 2.2.10 #23 Tue Jun 22 17:24:34 EEST 1999 i586 unknown
Kernel modules 2.1.121
Gnu C egcs-2.91.66
Binutils 2.9.1.0.23
Linux C Library 2.1.1
Dynamic linker ldd (GNU libc) 2.1.1
Procps 2.0.2
Mount 2.9o
Net-tools 1.52
Kbd [option...]
Sh-utils 1.16
Modules Loaded spot ppp_deflate bsd_comp serial ppp slhc ne 8390 unix

spot is a module written by us but it worked without any of this errors
with 2.0.36

[7.2.] Processor information (from /proc/cpuinfo):
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 4
model name : Pentium MMX
stepping : 3
cpu MHz : 150.001520
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 mmx
bogomips : 299.01

[7.3.] Module information (from /proc/modules):
spot 101084 59
ppp_deflate 40548 16 (autoclean)
bsd_comp 3632 4 (autoclean)
serial 18388 1 (autoclean)
ppp 19948 83 (autoclean) [ppp_deflate bsd_comp]
slhc 4328 0 (autoclean) [ppp]
ne 6512 1
8390 6244 0 [ne]
unix 10076 133 (autoclean)

[7.4.] SCSI information (from /proc/scsi/scsi)
no SCSI.

[7.5.] Other information that might be relevant to the problem
(please look in /proc and include all information that you
think to be relevant):
after the GPF there were 5 quiet seconds and after that is begun
to print a lot of:

<6>attempt to access beyond end of device
Jul 8 06:41:25 Spot kernel: 03:01: rw=0, want=124061557, limit=1229728
Jul 8 06:41:25 Spot kernel: EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=126514, block=124061556
Jul 8 06:41:25 Spot kernel: attempt to access beyond end of device
Jul 8 06:41:25 Spot kernel: 03:01: rw=0, want=124061578, limit=1229728
Jul 8 06:41:25 Spot kernel: EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=34881, block=124061577

until 7am when was shutdown:

Jul 8 07:00:33 Spot kernel: attempt to access beyond end of device
Jul 8 07:00:33 Spot kernel: 03:01: rw=0, want=124716915, limit=1229728
Jul 8 07:00:33 Spot kernel: EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=126514, block=124716914

after this there are a lot of '0's in the log.

the kernel is plain 2.2.10 with 'spot' module inserted.

hope this helps.

-- 
 Catalin Muresan
 CODEC Electronic Products
 Internet Services Department
 1893394.76 1750713.87

- 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/