Oops in 2.3.99-pre6-5

From: Thorsten Knabe (tek@thorsten-knabe.de)
Date: Mon Apr 24 2000 - 06:06:40 EST


[1.] One line summary of the problem:
NULL pointer Oops caused by "top" in 2.3.99-pre6-5

[2.] Full description of the problem/report:

I got the following oops while running top.

[3.] Keywords (i.e., modules, networking, kernel):
oops, proc filesystem

[4.] Kernel version (from /proc/version):
Linux version 2.3.99-pre6 (tek@tek01) (gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)) #16 Sat Apr 22 12:33:02 CEST 2000

[5.] Output of Oops.. message (if applicable) with symbolic information
     resolved (see Documentation/oops-tracing.txt)

ksymoops 2.3.3 on i586 2.3.99-pre6. Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.3.99-pre6/ (default)
     -m /usr/src/linux/System.map (default)

Warning: You did not tell me where to find symbol information. I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc. ksymoops -h explains the options.

Apr 22 15:03:03 tek01 kernel: ad1816: AD1816 sounddriver Copyright (C) 1998 by Thorsten Knabe
Apr 22 15:03:03 tek01 kernel: ad1816: io=0x530, irq=5, dma=1, dma2=3, clockfreq=33000, options=0 isadmabug=0
Apr 24 12:40:23 tek01 kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000038
Apr 24 12:40:23 tek01 kernel: c011dcf7
Apr 24 12:40:23 tek01 kernel: *pde = 00000000
Apr 24 12:40:23 tek01 kernel: Oops: 0000
Apr 24 12:40:23 tek01 kernel: CPU: 0
Apr 24 12:40:23 tek01 kernel: EIP: 0010:[<c011dcf7>]
Using defaults from ksymoops -t elf32-i386 -a i386
Apr 24 12:40:23 tek01 kernel: EFLAGS: 00010202
Apr 24 12:40:23 tek01 kernel: eax: 00000038 ebx: 0000001c ecx: c005c000 edx: 00000000
Apr 24 12:40:23 tek01 kernel: esi: 00000000 edi: bffff7bf ebp: 0000001d esp: c2145f34
Apr 24 12:40:23 tek01 kernel: ds: 0018 es: 0018 ss: 0018
Apr 24 12:40:23 tek01 kernel: Process top (pid: 11846, stackpage=c2145000)
Apr 24 12:40:23 tek01 kernel: Stack: c005c000 c005c3dc c6c8c000 c005c000 00005c8c c0155ae1 c005c000 bffff7bf
Apr 24 12:40:23 tek01 kernel: c6c8c000 0000001d 00000000 c688b6c0 c0155f4e c005c000 c6c8c000 c44b6d80
Apr 24 12:40:23 tek01 kernel: ffffffea 00000000 c44b6d80 c005c3f8 00000000 00000212 00000008 c6c8c000
Apr 24 12:40:23 tek01 kernel: Call Trace: [<c0155ae1>] [<c0155f4e>] [<c012f3ba>] [<c0109794>]
Apr 24 12:40:23 tek01 kernel: Code: 8b 53 1c 39 c2 74 26 50 52 68 e0 11 20 c0 e8 a6 74 ff ff 83

>>EIP; c011dcf7 <access_process_vm+77/180> <=====
Trace; c0155ae1 <proc_pid_cmdline+31/40>
Trace; c0155f4e <proc_info_read+17e/320>
Trace; c012f3ba <sys_read+ca/f0>
Trace; c0109794 <system_call+34/40>
Code; c011dcf7 <access_process_vm+77/180>
00000000 <_EIP>:
Code; c011dcf7 <access_process_vm+77/180> <=====
   0: 8b 53 1c movl 0x1c(%ebx),%edx <=====
Code; c011dcfa <access_process_vm+7a/180>
   3: 39 c2 cmpl %eax,%edx
Code; c011dcfc <access_process_vm+7c/180>
   5: 74 26 je 2d <_EIP+0x2d> c011dd24 <access_process_vm+a4/180>
Code; c011dcfe <access_process_vm+7e/180>
   7: 50 pushl %eax
Code; c011dcff <access_process_vm+7f/180>
   8: 52 pushl %edx
Code; c011dd00 <access_process_vm+80/180>
   9: 68 e0 11 20 c0 pushl $0xc02011e0
Code; c011dd05 <access_process_vm+85/180>
   e: e8 a6 74 ff ff call ffff74b9 <_EIP+0xffff74b9> c01151b0 <printk+0/1b0>
Code; c011dd0a <access_process_vm+8a/180>
  13: 83 00 00 addl $0x0,(%eax)

1 warning issued. Results may not be reliable.

[6.] A small shell script or example program which triggers the
     problem (if possible)
top, but hard to reproduce

[7.] Environment

AMD K6-2@333MHz, 256MB RAM, 3 GB swap (4% used).

[7.1.] Software (add the output of the ver_linux script here)

Linux tek01 2.3.99-pre6 #16 Sat Apr 22 12:33:02 CEST 2000 i586 unknown
Kernel modules 2.3.10
Gnu C egcs-2.91.66
Binutils 2.9.1.0.25
Linux C Library x 1 root root 4223971 Nov 6 17:22
/lib/libc.so.6
Dynamic linker ldd (GNU libc) 2.1.2
Procps 2.0.2
Mount 2.9z
Net-tools 1.53
Kbd 0.99
Sh-utils 2.0

[7.2.] Processor information (from /proc/cpuinfo):

processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 8
model name : AMD-K6(tm) 3D processor
stepping : 0
cpu MHz : 332.764565
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mmx 3dnow
bogomips : 663.55

[7.3.] Module information (from /proc/modules):

ipt_MASQUERADE 1352 1 (autoclean)
ipt_REJECT 1152 1 (autoclean)
ipt_LOG 3408 2 (autoclean)
ipt_state 932 2 (autoclean)
iptable_mangle 1644 0 (autoclean) (unused)
iptable_filter 1960 0 (autoclean) (unused)
ip_nat_ftp 3236 0 (unused)
iptable_nat 13216 1 [ipt_MASQUERADE ip_nat_ftp]
ip_conntrack_ftp 1872 0 (unused)
ip_conntrack 12228 3 [ipt_MASQUERADE ipt_state ip_nat_ftp
iptable_nat ip_conntrack_ftp]
ip_tables 12272 9 [ipt_MASQUERADE ipt_REJECT ipt_LOG
ipt_state iptable_mangle iptable_filter iptable_nat]
3c59x 20164 1 (autoclean)
hisax 138976 2
isdn 122016 3 [hisax]

[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
0180-019f : HiSax hscx A
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
  03c0-03df : matrox
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0580-059f : HiSax hscx B
0980-099f : HiSax isac
0d80-0d87 : teles3 cfg
5c20-5c3f : Acer Laboratories Inc. [ALi] M7101 PMU
d000-d00f : Acer Laboratories Inc. [ALi] M5229 IDE
  d000-d007 : ide0
  d008-d00f : ide1
d400-d4ff : Symbios Logic Inc. (formerly NCR) 53c810
d800-d87f : 3Com Corporation 3c905C-TX [Fast Etherlink]
  d800-d87f : eth0

00000000-0009efff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000c8000-000c87ff : Extension ROM
000f0000-000fffff : System ROM
00100000-0fffffff : System RAM
  00100000-00236b4f : Kernel code
  00236b50-0024dcdb : Kernel data
dd800000-dd8000ff : Symbios Logic Inc. (formerly NCR) 53c810
de000000-de00007f : 3Com Corporation 3c905C-TX [Fast Etherlink]
df000000-dfffffff : PCI Bus #01
  df000000-df7fffff : Matrox Graphics, Inc. MGA G400 AGP
  df800000-df803fff : Matrox Graphics, Inc. MGA G400 AGP
    df800000-df803fff : matroxfb MMIO
e0000000-e3ffffff : Acer Laboratories Inc. [ALi] M1541
e5f00000-e7ffffff : PCI Bus #01
  e6000000-e7ffffff : Matrox Graphics, Inc. MGA G400 AGP
    e6000000-e7ffffff : matroxfb FB

[7.5.] PCI information ('lspci -vvv' as root)

00:00.0 Host bridge: Acer Laboratories Inc. [ALi] M1541 (rev 04)
        Subsystem: Acer Laboratories Inc. [ALi]: Unknown device 1541
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 64 set
        Region 0: Memory at e0000000 (32-bit, non-prefetchable) [size=64M]
        Capabilities: [b0] AGP version 1.0
                Status: RQ=28 SBA+ 64bit- FW- Rate=21
                Command: RQ=0 SBA- AGP- 64bit- FW- Rate=

00:01.0 PCI bridge: Acer Laboratories Inc. [ALi] M5243 (rev 04)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 set
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 0000e000-0000dfff
        Memory behind bridge: df000000-dfffffff
        Prefetchable memory behind bridge: e5f00000-e7ffffff
        BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-

00:03.0 Bridge: Acer Laboratories Inc. [ALi] M7101
        Subsystem: Acer Laboratories Inc. [ALi]: Unknown device 7101
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:07.0 ISA bridge: Acer Laboratories Inc. [ALi] M1533 [Aladdin IV] (rev c3)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort+ <MAbort+ >SERR- <PERR-
        Latency: 0 set

00:0a.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 74)
        Subsystem: 3Com Corporation: Unknown device 9200
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 10 min, 10 max, 32 set, cache line size 08
        Interrupt: pin A routed to IRQ 6
        Region 0: I/O ports at d800 [size=128]
        Region 1: Memory at de000000 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME+
                Status: D0 PME-Enable+ DSel=0 DScale=2 PME-

00:0b.0 SCSI storage controller: Symbios Logic Inc. (formerly NCR) 53c810 (rev 12)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 8 min, 64 max, 32 set, cache line size 08
        Interrupt: pin A routed to IRQ 6
        Region 0: I/O ports at d400 [size=256]
        Region 1: Memory at dd800000 (32-bit, non-prefetchable) [size=256]

00:0f.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 (rev c1) (prog-if 8a [Master SecP PriP])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 2 min, 4 max, 32 set
        Interrupt: pin A routed to IRQ 0
        Region 4: I/O ports at d000 [size=16]

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04)
        Subsystem: Matrox Graphics, Inc. Millennium G400 MAX/Dual Head 32Mb
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 16 min, 32 max, 64 set, cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at e6000000 (32-bit, prefetchable) [size=32M]
        Region 1: Memory at df800000 (32-bit, non-prefetchable) [size=16K]
        Region 2: Memory at df000000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at e5ff0000 [disabled] [size=64K]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI+ D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [f0] AGP version 2.0
                Status: RQ=31 SBA+ 64bit- FW- Rate=21
                Command: RQ=31 SBA+ AGP+ 64bit- FW- Rate=1

[7.6.] SCSI information (from /proc/scsi/scsi)
not loaded

-- 
              E-Mail: tek@thorsten-knabe.de
___              WWW: http://tek.thorsten-knabe.de
 |        | /    ICQ: 5472045
 |horsten |/\nabe     Linux AD1816 sound driver developer

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



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:07 EST