buffer.c:1493 BUG [ac-22-class+reiserfs]

From: Martin Douda (mad@students.zcu.cz)
Date: Tue Jun 20 2000 - 20:48:01 EST


[1.] One line summary of the problem:
    
Hard freeze when unmouning filesystem.

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

I saw it twice when shutting down system. Then I started watching what happend
and it seems to hang when unmounting filesystem which was written to.

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

  kernel reiserfs(hopely&probably not) classzone BUG

[4.] Kernel version (from /proc/version):
2.4.0test1-ac22-class+reiserfs-3.6.9
/proc/version:
Linux version 2.4.0-test1-ac22-class (root@madness.madness.mad)
(gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release))
#1 Wed Jun 21 01:34:23 CEST 2000

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

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

invalid operand: 0000
CPU: 0
EIP: [<c0130dcd>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010292
eax: 0000001d ebx: c15d26c0 ecx: c0204c54 edx: c0204c54
esi: c2fd5f50 edi: c1057e0c ebp: 00000000 esp: c2fd5ec8
Process umount (pid: 1723, stackpage=c2fd5000)
Stack: c01d6bca c01d6f7a 000005d5 c0e222a4 c2fd5f50 c1057e0c 00000000 00000217
       c15d26c0 c01215ca c1057e0c c0e221e0 c2fd5f50 00000000 08050d20 c033e9c0
       c1057e0c c2fd5f1c c2fd5f1c c2fd5f1c 00000000 c2fd5f1c c2fd5f1c c014359a
Call Trace: [<c01d6bca>] [<c01d6f7a>] [<c01215ca>] [<c014359a>] [<c01436a4>] [<c013453d>] [<c01348f1>]
     [<c0134a2e>] [<c01097c4>]
Code: 0f 0b 83 c4 0c 8b 4b 28 89 4c 24 10 53 e8 c9 fe ff ff 83 c4

>>EIP; c0130dcd <block_destroy_buffers+5d/220> <=====
Trace; c01d6bca <tvecs+4dc2/16378>
Trace; c01d6f7a <tvecs+5172/16378>
Trace; c01215ca <truncate_inode_pages+aa/2f8>
Trace; c014359a <dispose_list+2e/50>
Trace; c01436a4 <invalidate_inodes+4c/58>
Trace; c013453d <kill_super+5d/ec>
Trace; c01348f1 <do_umount+1b9/1c4>
Trace; c0134a2e <sys_umount+132/1a0>
Trace; c01097c4 <system_call+34/40>
Code; c0130dcd <block_destroy_buffers+5d/220>
00000000 <_EIP>:
Code; c0130dcd <block_destroy_buffers+5d/220> <=====
   0: 0f 0b ud2a <=====
Code; c0130dcf <block_destroy_buffers+5f/220>
   2: 83 c4 0c add $0xc,%esp
Code; c0130dd2 <block_destroy_buffers+62/220>
   5: 8b 4b 28 mov 0x28(%ebx),%ecx
Code; c0130dd5 <block_destroy_buffers+65/220>
   8: 89 4c 24 10 mov %ecx,0x10(%esp,1)
Code; c0130dd9 <block_destroy_buffers+69/220>
   c: 53 push %ebx
Code; c0130dda <block_destroy_buffers+6a/220>
   d: e8 c9 fe ff ff call fffffedb <_EIP+0xfffffedb> c0130ca8 <unmap_buffer+0/58>
Code; c0130ddf <block_destroy_buffers+6f/220>
  12: 83 c4 00 add $0x0,%esp

And two more:

Jun 21 03:24:39 madness kernel: kernel BUG at buffer.c:1493!
Jun 21 03:24:39 madness kernel: invalid operand: 0000
Jun 21 03:24:39 madness kernel: CPU: 0
Jun 21 03:24:39 madness kernel: EIP: 0010:[block_destroy_buffers+93/544]
Jun 21 03:24:39 madness kernel: EFLAGS: 00010286
Jun 21 03:24:39 madness kernel: eax: 0000001d ebx: c0a81ee0 ecx: c0204c54 edx: c0204c54
Jun 21 03:24:39 madness kernel: esi: c38e1f44 edi: c1023d50 ebp: 00000000 esp: c38e1ebc
Jun 21 03:24:39 madness kernel: ds: 0018 es: 0018 ss: 0018
Jun 21 03:24:39 madness kernel: Process umount (pid: 1223, stackpage=c38e1000)
Jun 21 03:24:39 madness kernel: Stack: c01d6bca c01d6f7a 000005d5 c0adfe04 c38e1f44 c1023d50 00000000 00000213
Jun 21 03:24:39 madness kernel: c0a81ee0 c01215ca c1023d50 c0adfd40 c38e1f44 00000000 08051a08 c0893780
Jun 21 03:24:39 madness kernel: c1023d50 c38e1f10 c38e1f10 c38e1f10 00000000 c38e1f10 c38e1f10 c014359a
Jun 21 03:24:39 madness kernel: Call Trace: [tvecs+19906/91000] [tvecs+20850/91000] [truncate_inode_pages+170/760] [dispose_list+46/80] [invalidate_inodes+76/88] [kill_super+93/236] [do_umount+441/452]
Jun 21 03:24:39 madness kernel: [sys_umount+306/416] [sys_munmap+110/200] [sys_oldumount+12/16] [system_call+52/64]
Jun 21 03:24:39 madness kernel: Code: 0f 0b 83 c4 0c 8b 4b 28 89 4c 24 10 53 e8 c9 fe ff ff 83 c4

Jun 21 03:30:53 madness kernel: kernel BUG at buffer.c:1493!
Jun 21 03:30:53 madness kernel: invalid operand: 0000
Jun 21 03:30:53 madness kernel: CPU: 0
Jun 21 03:30:53 madness kernel: EIP: 0010:[block_destroy_buffers+93/544]
Jun 21 03:30:53 madness kernel: EFLAGS: 00010286
Jun 21 03:30:53 madness kernel: eax: 0000001d ebx: c0827f60 ecx: 00000001 edx: c276f9a0
Jun 21 03:30:53 madness kernel: esi: c23a3f44 edi: c107ea38 ebp: 00000000 esp: c23a3ebc
Jun 21 03:30:53 madness kernel: ds: 0018 es: 0018 ss: 0018
Jun 21 03:30:53 madness kernel: Process umount (pid: 709, stackpage=c23a3000)
Jun 21 03:30:53 madness kernel: Stack: c01d6bca c01d6f7a 000005d5 c1e3d884 c23a3f44 c107ea38 00000000 c11e59c0
Jun 21 03:30:53 madness kernel: c0827f60 c01215ca c107ea38 c1e3d7c0 c23a3f44 00000000 08051880 c1e3d7c8
Jun 21 03:30:53 madness kernel: c107ea38 c23a3f10 c23a3f10 c23a3f10 00000000 c23a3f10 c23a3f10 c014359a
Jun 21 03:30:53 madness kernel: Call Trace: [tvecs+19906/91000] [tvecs+20850/91000] [truncate_inode_pages+170/760] [dispose_list+46/80] [invalidate_inodes+76/88] [kill_super+93/236] [do_umount+441/452]
Jun 21 03:30:53 madness kernel: [sys_umount+306/416] [sys_munmap+110/200] [sys_oldumount+12/16] [system_call+52/64]
Jun 21 03:30:53 madness kernel: Code: 0f 0b 83 c4 0c 8b 4b 28 89 4c 24 10 53 e8 c9 fe ff ff 83 c4

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

Do not have, sorry.

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

-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux madness.madness.mad 2.4.0-test1-ac22-class #1 Wed Jun 21 01:34:23 CEST 2000 i586 unknown
Kernel modules 2.3.10-pre1
Gnu C egcs-2.91.66
Binutils 2.9.5.0.22
Linux C Library 2.1.3
Dynamic linker ldd (GNU libc) 2.1.3
Procps 2.0.6
Mount 2.10f
Net-tools 1.54
Console-tools 0.3.3
Sh-utils 2.0
Modules Loaded dummy0

[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 : 199.746568
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 : 398.13

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

dummy0 1460 1 (autoclean)

[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
/proc/ioports:
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
0cf8-0cff : PCI conf1
6000-600f : VIA Technologies, Inc. VT82C586 IDE [Apollo]

/proc/iomem:
00000000-0009fbff : System RAM
0009fc00-0009ffff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-03ffffff : System RAM
  00100000-002011af : Kernel code
  002011b0-00210d03 : Kernel data
e0000000-e07fffff : S3 Inc. 86c764/765 [Trio32/64/64V+]
ffff0000-ffffffff : reserved

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

00:00.0 Host bridge: VIA Technologies, Inc. VT82C585VP [Apollo VP1/VPX] (rev 23)
        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: 32 set

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C586/A/B PCI-to-ISA [Apollo VP] (rev 27)
        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:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 06) (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: 32 set
        Region 4: I/O ports at 6000 [size=16]

00:08.0 VGA compatible controller: S3 Inc. 86c764/765 [Trio32/64/64V+] (prog-if 00 [VGA])
        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 11
        Region 0: Memory at e0000000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at <unassigned> [disabled] [size=64K]

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

No SCSI here

[7.7.] Other information that might be relevant to the problem
       (please look in /proc and include all information that you
       think to be relevant):
[X.] Other notes, patches, fixes, workarounds:
I can see two possibly relevant things: classzone & reiserfs.
I'm using reiserfs with no problems since 2.2.14 and reiserfs 3.6.x since
2.3.99-pre9, so I do not think it is reiserfs-related even if it hangs in
umount and I do not use any other fs (well, I'm using procfs, pipefs, shm,
devpts).
I did not tried classzone before.

--------------------------------------------------------------------------------
                        Martin "MaD" Douda
WEB:http://www.volny.cz/mad3/ EMAIL:mad@students.zcu.cz
SMS:mad@gate.mobil.cz (up to 160 characters) PHONE:+420603752779
PGP:ID=0x6FE43023 Fingerprint:E495 11DA EF6E 0DD6 965A 54F3 888E CC9E 6FE4 3023
--------------------------------------------------------------------------------
The only thing good about "standards" in computer science is that there are so
many to choose from.

-
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 : Fri Jun 23 2000 - 21:00:21 EST