null pointer exception in do_IRQ

Peter Hanecak (hanecak@megaloman.com)
Tue, 28 Sep 1999 09:38:05 +0200 (CEST)


bug-report in "/usr/src/linux/REPORTING-BUGS" format

[1.]

i got an kernel oops in do_IRQ

[2.]

after copying kernel source tree from one directory (/usr/src/linux-2.2.12)
to another (/usr/src/linux-2.2.13pre12) while preparing before applying AC
patch my mechine hard froze twice. firtst time i found OOPs entries in
/var/log/messages. second time it was without any log entry. freeze occured
in the process of copying (first time) and shortly after copying process
finished (second time).

i was working on local ext2 filesystem.

[3.]

kernel, null pointer

[4.]

Linux version 2.2.13pre12 (root@m1.megaloman.sk) (gcc version egcs-2.91.66 \
19990314/Linux (egcs-1.1.2 release)) #2 Sun Sep 26 16:00:31 EDT 1999

[5.]

ksymoops 0.7c on i586 2.2.13pre11. Options used
-V (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.2.13pre11/ (default)
-m /boot/System.map-2.2.13-pre11 (specified)

No modules in ksyms, skipping objects
Warning (read_lsmod): no symbols in lsmod, is /proc/modules a valid lsmod file?
Sep 26 15:14:38 m1 kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000
Sep 26 15:14:38 m1 kernel: current->tss.cr3 = 05168000, %cr3 = 05168000
Sep 26 15:14:38 m1 kernel: *pde = 00000000
Sep 26 15:14:38 m1 kernel: Oops: 0000
Sep 26 15:14:38 m1 kernel: CPU: 0
Sep 26 15:14:38 m1 kernel: EIP: 0010:[do_8259A_IRQ+119/160]
Sep 26 15:14:38 m1 kernel: EFLAGS: 00010046
Sep 26 15:14:38 m1 kernel: eax: 24000001 ebx: 00000000 ecx: c027d8e0 edx: 00000000
Sep 26 15:14:38 m1 kernel: esi: 0000003a edi: c7ffb5e0 ebp: c5167e74 esp: c5167e54
Sep 26 15:14:38 m1 kernel: ds: 0018 es: 0018 ss: 0018
Sep 26 15:14:38 m1 kernel: Process cdplayer_applet (pid: 875, process nr: 55, stackpage=c5167000)
Sep 26 15:14:38 m1 kernel: Stack: c7ffb5e0 00000000 0805e530 c78f6ca8 c7fee260 c0109824 0000000e c5167e7c
Sep 26 15:14:38 m1 kernel: c78f6ca0 c0109508 00000000 00000016 0805e588 0805e530 c78f6ca8 c78f6ca0
Sep 26 15:14:38 m1 kernel: 00000000 00000018 00000018 ffffff0e c01f8a88 00000010 00000216 00000060
Sep 26 15:14:38 m1 kernel: Call Trace: [do_IRQ+36/64] [common_interrupt+24/32] [__generic_copy_from_user+48/64] [memcpy_fromiovec+57/104] [unix_stream_sendmsg+398/608] [unix_stream_sendmsg+0/608] [ide_ioctl+1817/1840]
Sep 26 15:14:38 m1 kernel: Code: 8b 03 89 44 24 18 89 c1 83 e1 fe 83 c4 0c 89 0b 8b 44 24 0c
Using defaults from ksymoops -t elf32-i386 -a i386

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
0: 8b 03 movl (%ebx),%eax
Code; 00000002 Before first symbol
2: 89 44 24 18 movl %eax,0x18(%esp,1)
Code; 00000006 Before first symbol
6: 89 c1 movl %eax,%ecx
Code; 00000008 Before first symbol
8: 83 e1 fe andl $0xfffffffe,%ecx
Code; 0000000b Before first symbol
b: 83 c4 0c addl $0xc,%esp
Code; 0000000e Before first symbol
e: 89 0b movl %ecx,(%ebx)
Code; 00000010 Before first symbol
10: 8b 44 24 0c movl 0xc(%esp,1),%eax

1 warning issued. Results may not be reliable.

[6.]

freeze occurec shortly after or in process of copying whole kernel source
tree from one local fs. directory to another.

[7.]

[7.1.]

-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux m1.megaloman.sk 2.2.13pre12 #2 Sun Sep 26 16:00:31 EDT 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.2
Dynamic linker ldd (GNU libc) 2.1.2
Procps 2.0.2
Mount 2.9s
Net-tools 1.53
Console-tools 1999.03.02
Sh-utils 1.16
Modules Loaded

[7.2.]

processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 4
model name : Pentium MMX
stepping : 3
cpu MHz : 200.457892
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 : 399.77

[7.3.]

no modules

[7.4.]

Attached devices:
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: SEAGATE Model: ST51080N Rev: 0913
Type: Direct-Access ANSI SCSI revision: 02

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