2000-11-24 12:34:35

by Pekka J?rvel?inen

[permalink] [raw]
Subject: PROBLEM: kernel BUG at /usr/src/linux/include/linux/nfs_fs.h:164!


[1.] One line summary of the problem:
kernel BUG at /usr/src/linux/include/linux/nfs_fs.h:164!

[2.] Full description of the problem/report:
2.4.0-test11 SMP stops partially working because of NFS problem
during mke2fs IDE disk.
NFS mounted Pine 4.30 segmentation fault, some programs like top
and shutdown now stops working (I had to use Reset button)
and /var/log/messages said:

./ksymoops -v ../../vmlinux < /home/pj/virheilmoitus
ksymoops 2.3.5 on i686 2.4.0-test11. Options used
-v ../../vmlinux (specified)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.4.0-test11/ (default)
-m /usr/src/linux/System.map (default)

Nov 22 18:02:55 rubiini kernel: kernel BUG at /usr/src/linux/include/linux/nfs_fs.h:164!
Nov 22 18:02:55 rubiini kernel: invalid operand: 0000
Nov 22 18:02:55 rubiini kernel: CPU: 1
Nov 22 18:02:56 rubiini kernel: EIP: 0010:[nfs_create_request+421/456]
Nov 22 18:02:56 rubiini kernel: EFLAGS: 00010286
Nov 22 18:02:56 rubiini kernel: eax: 00000039 ebx: c127f720 ecx: 00000000 edx: 00000002
Nov 22 18:02:56 rubiini kernel: esi: c57f9f80 edi: c4e82bc0 ebp: c0048000 esp: c0049e04
Nov 22 18:02:56 rubiini kernel: ds: 0018 es: 0018 ss: 0018
Nov 22 18:02:56 rubiini kernel: Process pine (pid: 943, stackpage=c0049000)
Nov 22 18:02:56 rubiini kernel: Stack: c023fe05 c023ffe0 000000a4 c0eae4e0 00000000 00000000 c48afe60 c48afe60
Nov 22 18:02:56 rubiini kernel: c1f2ef40 c016481a c0eae4e0 c1120f00 00000000 00001000 c1120f00 c48afe60
Nov 22 18:02:56 rubiini kernel: ffffffff c0eae4e0 fffffff4 c0164fa4 c0eae4e0 c1120f00 c1120f00 c48afefc
Nov 22 18:02:56 rubiini kernel: Call Trace: [tvecs+58365/113080] [tvecs+58840/113080] [nfs_readpage_async+330/456] [nfs_readpage+120/192] [read_cluster_nonblocking+263/328] [filemap_nopage+332/932] [filemap_nopage+0/932]
Nov 22 18:02:56 rubiini kernel: Code: 0f 0b 83 c4 0c 89 7e 1c c7 46 3c 01 00 00 00 f0 ff 03 f0 ff
Using defaults from ksymoops -t elf32-i386 -a i386

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
0: 0f 0b ud2a
Code; 00000002 Before first symbol
2: 83 c4 0c add $0xc,%esp
Code; 00000005 Before first symbol
5: 89 7e 1c mov %edi,0x1c(%esi)
Code; 00000008 Before first symbol
8: c7 46 3c 01 00 00 00 movl $0x1,0x3c(%esi)
Code; 0000000f Before first symbol
f: f0 ff 03 lock incl (%ebx)
Code; 00000012 Before first symbol
12: f0 ff 00 lock incl (%eax)

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

[4.] Kernel version (from /proc/version):
Linux version 2.4.0-test11 ([email protected]) (gcc version 2.95.1 19990816 (release)) #2 SMP Tue Nov 21 18:48:38 EET 2000

[5.] See above

[6.]

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

sh scripts/ver_linux
-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux rubiini.csc.fi 2.4.0-test10 #2 SMP Fri Nov 17 16:13:20 EET 2000 i686
unknown
Kernel modules 2.3.20
Gnu C 2.96
Gnu Make 3.79.1
Binutils 2.10.0.18
Linux C Library > libc.2.2
Dynamic linker ldd (GNU libc) 2.2
Procps 2.0.7
Mount 2.10m
Net-tools 1.56
Console-tools 0.3.3
Sh-utils 2.0
Modules Loaded af_packet 3c59x cs4232 uart401 ad1848 sound

[7.2.] Processor information (from /proc/cpuinfo):
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 398.000780
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
features : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 796.26

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 398.000780
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
features : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 796.26

[7.3.] Module information (from /proc/modules):
cat /proc/modules
af_packet 8624 1 (autoclean)
3c59x 22928 1 (autoclean)
cs4232 2992 0 (unused)
uart401 6352 0 [cs4232]
ad1848 17056 0 [cs4232]
sound 58336 0 [cs4232 uart401 ad1848]

[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
cat /proc/ioports
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
01f0-01f7 : ide0
02f8-02ff : serial(auto)
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0534-0537 : Crystal audio controller
0800-083f : Intel Corporation 82371AB PIIX4 ACPI
0800-0803 : acpi
0804-0805 : acpi
0808-080b : acpi
080c-080f : acpi
0840-085f : Intel Corporation 82371AB PIIX4 ACPI
0cf8-0cff : PCI conf1
dc00-dc7f : 3Com Corporation 3c905B 100BaseTX [Cyclone]
dc00-dc7f : eth0
dce0-dcff : Intel Corporation 82371AB PIIX4 USB
e000-efff : PCI Bus #02
e800-e8ff : Adaptec AIC-7880U
e800-e8fe : aic7xxx
ec00-ecff : Adaptec AHA-2940U2/W / 7890
ec00-ecfe : aic7xxx
ffa0-ffaf : Intel Corporation 82371AB PIIX4 IDE
ffa0-ffa7 : ide0

cat /proc/iomem
00000000-0009ffff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000c8000-000cc7ff : Extension ROM
000d0000-000d07ff : Extension ROM
000f0000-000fffff : System ROM
00100000-07ffdfff : System RAM
00100000-0027fed7 : Kernel code
0027fed8-00298cbf : Kernel data
07ffe000-07ffffff : reserved
ec000000-efffffff : Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge
f1000000-f1ffffff : PCI Bus #02
f2000000-f5ffffff : PCI Bus #01
f4000000-f5ffffff : Matrox Graphics, Inc. MGA G400 AGP
fa000000-fbffffff : PCI Bus #02
faffe000-faffefff : Adaptec AIC-7880U
fafff000-faffffff : Adaptec AHA-2940U2/W / 7890
fc000000-fdffffff : PCI Bus #01
fc000000-fc7fffff : Matrox Graphics, Inc. MGA G400 AGP
fcffc000-fcffffff : Matrox Graphics, Inc. MGA G400 AGP
fe000000-fe00007f : 3Com Corporation 3c905B 100BaseTX [Cyclone]
fec00000-fec0ffff : reserved
fee00000-fee0ffff : reserved
ffe00000-ffffffff : reserved

[7.5.] PCI information ('lspci -vvv' as root)
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 02)
Subsystem: Dell Computer Corporation: Unknown device 0080
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: 64
Region 0: Memory at ec000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 1.0
Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 02) (prog-if 00 [Normal decode])
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: 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000f000-00000fff
Memory behind bridge: fc000000-fdffffff
Prefetchable memory behind bridge: f2000000-f5ffffff
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B+

00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
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

00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master])
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: 64
Region 4: I/O ports at ffa0 [size=16]

00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
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: 64
Interrupt: pin D routed to IRQ 19
Region 4: I/O ports at dce0 [size=32]

00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
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:11.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone]
Subsystem: Dell Computer Corporation 3C905B Fast Etherlink XL 10/100
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: 64 (2500ns min, 2500ns max), cache line size 08
Interrupt: pin A routed to IRQ 19
Region 0: I/O ports at dc00 [size=128]
Region 1: Memory at fe000000 (32-bit, non-prefetchable) [size=128]
Expansion ROM at f9000000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:13.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03) (prog-if 00 [Normal decode])
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: 64, cache line size 08
Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: fa000000-fbffffff
Prefetchable memory behind bridge: 00000000f1000000-00000000f1f00000
BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=220mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Bridge: PM- B3+

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 03) (prog-if 00 [VGA])
Subsystem: Matrox Graphics, Inc. Millennium G400 16Mb SGRAM
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-
Interrupt: pin A routed to IRQ 16
Region 0: Memory at f4000000 (32-bit, prefetchable) [size=32M]
Region 1: Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
Region 2: Memory at fc000000 (32-bit, non-prefetchable) [size=8M]
Expansion ROM at 80000000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [f0] AGP version 2.0
Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
Command: RQ=31 SBA+ AGP+ 64bit- FW- Rate=x1

02:0a.0 SCSI storage controller: Adaptec AHA-2940U2/W / 7890
Subsystem: Dell Computer Corporation: Unknown device 0080
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: 64 (9750ns min, 6250ns max), cache line size 08
Interrupt: pin A routed to IRQ 18
BIST result: 00
Region 0: I/O ports at ec00 [size=256]
Region 1: Memory at fafff000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at fb000000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:0e.0 SCSI storage controller: Adaptec AIC-7880U (rev 01)
Subsystem: Adaptec AIC-7880P Ultra/Ultra Wide SCSI Chipset
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: 64 (2000ns min, 2000ns max), cache line size 08
Interrupt: pin A routed to IRQ 18
Region 0: I/O ports at e800 [size=256]
Region 1: Memory at faffe000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at fb000000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

[7.6.] SCSI information (from /proc/scsi/scsi)
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: QUANTUM Model: VIKING II 9.1WLS Rev: 5520
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 05 Lun: 00
Vendor: NEC Model: CD-ROM DRIVE:465 Rev: 1.03
Type: CD-ROM ANSI SCSI revision: 02

[7.7.]
df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda1 1921156 1560628 262936 86% /
/dev/sda3 1921188 1495728 327868 83% /opt
/dev/sda5 1415164 63104 1280172 5% /tmp
/dev/sda6 1284992 146816 1138176 12% /dos
/dev/sda2 1951897 643607 1308290 33% /mnt/nt
mds:/mnt/mds/linux22_i386
88867488 4980512 1539720 77% /mnt/mds/linux22_i386
mds:/mnt/mds/src
88867488 3438752 1539720 70% /mnt/mds/src
mds:/mnt/mds/gen
88867488 14037984 1539720 91% /mnt/mds/gen
mds:/mnt/mds/asdu_csc
88868736 39652816 47696704 46% /mnt/mds/asdu_csc
mds:/mnt/mds/metawrk
533212032 441165872 90835176 83% /mnt/mds/metawrk
mds:/mnt/mds/csc 88867488 12072520 33704424 27% /mnt/mds/csc
mds:/mnt/mds/http://www.csc.fi
88867000 9914344 52439800 16% /mnt/mds/http://www.csc.fi
mds:/mnt/mds/veppi.csc.fi
88867000 5970640 52439800 11% /mnt/mds/veppi.csc.fi
/dev/hda2 12096756 1038052 10444220 10% /alt

Pekka J?rvel?inen Tel. +358 9 457 2467
Centre for Scientific Computing GSM +358 40 543 7856
Tekniikantie 15a D, P.O. Box 405 fax. +358 9 457 2302
02101 ESPOO, FINLAND [email protected]