Oops in 2.3.99-pre7-1

From: Thorsten Knabe (tek@thorsten-knabe.de)
Date: Sat Apr 29 2000 - 07:51:29 EST


[1.] One line summary of the problem:
Kernel BUG() in 2.3.99-pre7-1

[2.] Full description of the problem/report:
I get a
"kernel BUG at /usr/src/linux/include/linux/mount.h:41!"
when using "fuser" on 2.3.99-pre7-1. The system is still stable.

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

[4.] Kernel version (from /proc/version):
Linux version 2.3.99-pre7 (tek@tek01) (gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)) #17 Sat Apr 29 12:24:28 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-pre7. Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.3.99-pre7/ (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 29 13:23:44 tek01 kernel: 3c59x: Wake-on-LAN functions disabled
Apr 29 13:25:46 tek01 kernel: ad1816: AD1816 sounddriver Copyright (C) 1998 by Thorsten Knabe
Apr 29 13:25:46 tek01 kernel: ad1816: io=0x530, irq=5, dma=1, dma2=3, clockfreq=33000, options=0 isadmabug=0
Apr 29 13:30:00 tek01 kernel: kernel BUG at /usr/src/linux/include/linux/mount.h:41!
Apr 29 13:30:00 tek01 kernel: invalid operand: 0000
Apr 29 13:30:00 tek01 kernel: CPU: 0
Apr 29 13:30:00 tek01 kernel: EIP: 0010:[<c0130432>]
Using defaults from ksymoops -t elf32-i386 -a i386
Apr 29 13:30:00 tek01 kernel: EFLAGS: 00010296
Apr 29 13:30:00 tek01 kernel: eax: 00000037 ebx: c0cdfda0 ecx: 00000013 edx: c4b0aae0
Apr 29 13:30:00 tek01 kernel: esi: c1540a80 edi: c0591c60 ebp: c0563360 esp: c0561f64
Apr 29 13:30:00 tek01 kernel: ds: 0018 es: 0018 ss: 0018
Apr 29 13:30:00 tek01 kernel: Process fuser (pid: 639, stackpage=c0561000)
Apr 29 13:30:00 tek01 kernel: Stack: c0207865 c0207840 00000029 c0cdfda0 00000000 00000004 bfffccec c0130461
Apr 29 13:30:00 tek01 kernel: c0cdfda0 c0cdfda0 c0cdfda0 c012f456 c0cdfda0 00000004 fffffff7 c012f4ab
Apr 29 13:30:00 tek01 kernel: c0cdfda0 c29151e0 c0560000 0804cc48 c012f4cc 00000004 00000001 c0109794
Apr 29 13:30:00 tek01 kernel: Call Trace: [<c0207865>] [<c0207840>] [<c0130461>] [<c012f456>] [<c012f4ab>] [<c012f4cc>] [<c0109794>]
Apr 29 13:30:00 tek01 kernel: Code: 0f 0b 83 c4 0c 90 55 e8 b2 25 01 00 83 c4 04 5b 5e 5f 5d c3

>>EIP; c0130432 <__fput+62/80> <=====
Trace; c0207865 <tvecs+4261/1535c>
Trace; c0207840 <tvecs+423c/1535c>
Trace; c0130461 <_fput+11/40>
Trace; c012f456 <filp_close+56/60>
Trace; c012f4ab <do_close+4b/60>
Trace; c012f4cc <sys_close+c/10>
Trace; c0109794 <system_call+34/40>
Code; c0130432 <__fput+62/80>
00000000 <_EIP>:
Code; c0130432 <__fput+62/80> <=====
   0: 0f 0b ud2a <=====
Code; c0130434 <__fput+64/80>
   2: 83 c4 0c addl $0xc,%esp
Code; c0130437 <__fput+67/80>
   5: 90 nop
Code; c0130438 <__fput+68/80>
   6: 55 pushl %ebp
Code; c0130439 <__fput+69/80>
   7: e8 b2 25 01 00 call 125be <_EIP+0x125be> c01429f0 <dput+0/170>
Code; c013043e <__fput+6e/80>
   c: 83 c4 04 addl $0x4,%esp
Code; c0130441 <__fput+71/80>
   f: 5b popl %ebx
Code; c0130442 <__fput+72/80>
  10: 5e popl %esi
Code; c0130443 <__fput+73/80>
  11: 5f popl %edi
Code; c0130444 <__fput+74/80>
  12: 5d popl %ebp
Code; c0130445 <__fput+75/80>
  13: c3 ret
Apr 29 13:45:00 tek01 kernel: kernel BUG at /usr/src/linux/include/linux/mount.h:41!
Apr 29 13:45:00 tek01 kernel: invalid operand: 0000
Apr 29 13:45:00 tek01 kernel: CPU: 0
Apr 29 13:45:00 tek01 kernel: EIP: 0010:[<c012ea2c>]
Apr 29 13:45:00 tek01 kernel: EFLAGS: 00010286
Apr 29 13:45:00 tek01 kernel: eax: 00000037 ebx: c1540900 ecx: 00000013 edx: c4b0a9a0
Apr 29 13:45:00 tek01 kernel: esi: 00000000 edi: cdab1c60 ebp: bfffed2c esp: c0e7df8c
Apr 29 13:45:00 tek01 kernel: ds: 0018 es: 0018 ss: 0018
Apr 29 13:45:00 tek01 kernel: Process fuser (pid: 669, stackpage=c0e7d000)
Apr 29 13:45:00 tek01 kernel: Stack: c0207365 c0207340 00000029 c0e7c000 00000001 0804c810 c1f38c40 c1540a80
Apr 29 13:45:00 tek01 kernel: bfffdc30 00000003 bfffdcfc 0000000b 00000001 c0109794 bfffdd2c bfffdc4c
Apr 29 13:45:00 tek01 kernel: bfffdd2c 00000001 0804c810 bfffed2c 0000000c 0000002b 0000002b 0000000c
Apr 29 13:45:00 tek01 kernel: Call Trace: [<c0207365>] [<c0207340>] [<c0109794>]
Apr 29 13:45:00 tek01 kernel: Code: 0f 0b 83 c4 0c 8d 76 00 89 f0 5b 5e 5f 83 c4 1c c3 8d 76 00

>>EIP; c012ea2c <sys_chdir+11c/130> <=====
Trace; c0207365 <tvecs+3d61/1535c>
Trace; c0207340 <tvecs+3d3c/1535c>
Trace; c0109794 <system_call+34/40>
Code; c012ea2c <sys_chdir+11c/130>
00000000 <_EIP>:
Code; c012ea2c <sys_chdir+11c/130> <=====
   0: 0f 0b ud2a <=====
Code; c012ea2e <sys_chdir+11e/130>
   2: 83 c4 0c addl $0xc,%esp
Code; c012ea31 <sys_chdir+121/130>
   5: 8d 76 00 leal 0x0(%esi),%esi
Code; c012ea34 <sys_chdir+124/130>
   8: 89 f0 movl %esi,%eax
Code; c012ea36 <sys_chdir+126/130>
   a: 5b popl %ebx
Code; c012ea37 <sys_chdir+127/130>
   b: 5e popl %esi
Code; c012ea38 <sys_chdir+128/130>
   c: 5f popl %edi
Code; c012ea39 <sys_chdir+129/130>
   d: 83 c4 1c addl $0x1c,%esp
Code; c012ea3c <sys_chdir+12c/130>
  10: c3 ret
Code; c012ea3d <sys_chdir+12d/130>
  11: 8d 76 00 leal 0x0(%esi),%esi

1 warning issued. Results may not be reliable.

[6.] A small shell script or example program which triggers the
     problem (if possible)
> fuser /tmp/oops
Segmentation fault

[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)
Linux tek01 2.3.99-pre7 #17 Sat Apr 29 12:24:28 CEST 2000 i586 unknown
Kernel modules 2.3.6
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
Mount 2.9z
Net-tools 1.53
Kbd 0.99
Sh-utils 2.0
Modules Loaded ad1816 sound soundcore ipt_MASQUERADE ipt_REJECT
ipt_LOG ipt_state iptable_mangle iptable_filter ip_nat_ftp iptable_nat
ip_conntrack_ftp ip_conntrack ip_tables 3c59x hisax isdn

[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.760157
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):
ad1816 8576 1 (autoclean)
sound 64044 0 (autoclean) [ad1816]
soundcore 4036 4 (autoclean) [sound]
ipt_MASQUERADE 1420 1 (autoclean)
ipt_REJECT 1220 1 (autoclean)
ipt_LOG 3476 2 (autoclean)
ipt_state 1000 2 (autoclean)
iptable_mangle 1708 0 (autoclean) (unused)
iptable_filter 2024 0 (autoclean) (unused)
ip_nat_ftp 3300 0 (unused)
iptable_nat 13664 1 [ipt_MASQUERADE ip_nat_ftp]
ip_conntrack_ftp 1936 0 (unused)
ip_conntrack 13372 3 [ipt_MASQUERADE ipt_state ip_nat_ftp
iptable_nat ip_conntrack_ftp]
ip_tables 12628 9 [ipt_MASQUERADE ipt_REJECT ipt_LOG
ipt_state iptable_mangle iptable_filter iptable_nat]
3c59x 22644 1 (autoclean)
hisax 139872 2
isdn 122432 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)
0530-053f : AD1816 Sound
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-0023c43f : Kernel code
  0023c440-00253517 : 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)
module 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:16 EST