Reproductable kernel bug at raid1.c:656

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




[1.] Kernel bug has been tiggered during shutdown at raid1.c in line 656

[2.] When shutdown the machine there is kernel bug during raid1 sync. This
   is reproductive.

[3.] Keywords: kernel bug, raid1

[4.] Kernel version:
Linux version 2.5.6-pre1 (root@eowyn.sillanpaa.jyu.fi) (gcc version 2.95.3
20010315 (release)) #1 Wed Feb 27 18:00:24 EET 2002


[5.]
ksymoops 0.7c on i586 2.5.6-pre1.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.5.6-pre1/ (default)
     -m /boot/System.map-2.5.6-pre1-20020227-180024 (specified)

Warning (compare_maps): ksyms_base symbol idle_cpu_R__ver_idle_cpu not found in System.map.  Ignoring ksyms_base entry
Warning (compare_maps): mismatch on symbol partition_name  , ksyms_base says c01c3bc0, System.map says c01534e0.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol vmalloc_to_page_R__ver_vmalloc_to_page not found in System.map.  Ignoring ksyms_base entry
invalid operand: 0000
CPU: 0
EIP: 0010:[<c01c252b>] not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFlags: 00010293
eax: cfe9cc18 ebx: cfe9c800 ecx: 00000001 edx: 00000003 esi: cfe32000
ds: 0018 es: 0018 ss: 0018
Stack:
cfe9c800 c136d560 c136d5b8 cfe33fe0 00001629 00001756 00001885 c01c2fda
c01c2ff1 cfe9c800 cfe32000 cfe38160 cfe38168 c01c7bfa cfe9c800 00000100
c137bea4 cfe38160 cfe48000 00000000 c135d6e0 00000000 00000000 00000000
Call trace: [<c01c2fda>] [<c01c2ff1>] [<c01c7bfa>]
Code: 0f 0b 90 02 6f a6 23 c0 5b 5e 5f 5d 83 c4 10 e3 90 81 ec a0

>>EIP; c01c252b <close_sync+ff/110>   <=====
Trace; c01c2fda <raid1syncd+2e/58>
Trace; c01c2ff1 <raid1syncd+45/58>
Trace; c01c7bfa <md_thread+15e/1c4>
Code;  c01c252b <close_sync+ff/110>
00000000 <_EIP>:
Code;  c01c252b <close_sync+ff/110>   <=====
   0:   0f 0b                     ud2a      <=====
Code;  c01c252d <close_sync+101/110>
   2:   90                        nop
Code;  c01c252e <close_sync+102/110>
   3:   02 6f a6                  add    0xffffffa6(%edi),%ch
Code;  c01c2531 <close_sync+105/110>
   6:   23 c0                     and    %eax,%eax
Code;  c01c2533 <close_sync+107/110>
   8:   5b                        pop    %ebx
Code;  c01c2534 <close_sync+108/110>
   9:   5e                        pop    %esi
Code;  c01c2535 <close_sync+109/110>
   a:   5f                        pop    %edi
Code;  c01c2536 <close_sync+10a/110>
   b:   5d                        pop    %ebp
Code;  c01c2537 <close_sync+10b/110>
   c:   83 c4 10                  add    $0x10,%esp
Code;  c01c253a <close_sync+10e/110>
   f:   e3 90                     jecxz  ffffffa1 <_EIP+0xffffffa1> c01c24cc <close_sync+a0/110>
Code;  c01c253c <diskop+0/518>
  11:   81 ec a0 00 00 00         sub    $0xa0,%esp


3 warnings issued.  Results may not be reliable.

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

Gnu C                  2.95.3
Gnu make               3.79.1
binutils               2.11.2
util-linux             2.11a
mount                  2.11a
modutils               2.4.5
e2fsprogs              1.19
reiserfsprogs          3.x.0h
pcmcia-cs              3.1.25
Linux C Library        2.2.5
Dynamic linker (ldd)   2.2.5
Procps                 2.0.6
Net-tools              1.54
Console-tools          0.3.3
Sh-utils               2.0
Modules Loaded         snd-ens1371 snd-pcm snd-timer snd-ac97-codec
snd-rawmidi snd soundcore nfsd lockd sunrpc 3c509 3c59x ipt_MASQUERADE
ipt_state ipt_LOG iptable_nat ip_conntrack iptable_filter iptable_mangle
ip_tables


[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.906
fdiv_bug        : no
hlt_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.95



[7.3.] Module information (from /proc/modules):
snd-ens1371            10736   0 (autoclean)
snd-pcm                48832   0 (autoclean) [snd-ens1371]
snd-timer              10128   0 (autoclean) [snd-pcm]
snd-ac97-codec         22448   0 (autoclean) [snd-ens1371]
snd-rawmidi            12496   0 (autoclean) [snd-ens1371]
snd                    28016   0 (autoclean) [snd-ens1371 snd-pcm
snd-timer snd-ac97-codec snd-rawmidi]
soundcore               3984   0 (autoclean) [snd]
nfsd                   45888   0 (autoclean)
lockd                  38544   0 (autoclean) [nfsd]
sunrpc                 65504   0 (autoclean) [nfsd lockd]
3c509                   7040   1 (autoclean)
3c59x                  25216   1 (autoclean)
ipt_MASQUERADE          1552   1
ipt_state                880  19
ipt_LOG                 3600  24
iptable_nat            16208   1 [ipt_MASQUERADE]
ip_conntrack           16112   2 [ipt_MASQUERADE ipt_state iptable_nat]
iptable_filter          2016   1
iptable_mangle          2432   1
ip_tables              11104   8 [ipt_MASQUERADE ipt_state ipt_LOG
iptable_nat iptable_filter iptable_mangle]



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

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
02f8-02ff : serial(auto)
0300-030f : 3c509
0376-0376 : ide1
03c0-03df : vga+
  03c0-03df : matrox
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1
d000-d03f : Ensoniq 5880 AudioPCI
  d000-d03f : Ensoniq AudioPCI
d400-d43f : 3Com Corporation 3c900 Combo [Boomerang]
  d400-d43f : 00:09.0
d800-d81f : Intel Corp. 82371AB PIIX4 USB
e000-e00f : Intel Corp. 82371AB PIIX4 IDE
  e000-e007 : ide0
  e008-e00f : ide1
e400-e43f : Intel Corp. 82371AB PIIX4 ACPI
e800-e81f : Intel Corp. 82371AB PIIX4 ACPI


iomem:

00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-0fffffff : System RAM
  00100000-0020b028 : Kernel code
  0020b029-0026b89b : Kernel data
e5800000-e58fffff : Sigma Designs, Inc. REALmagic Hollywood Plus DVD
Decoder
e6000000-e6003fff : Matrox Graphics, Inc. MGA 2064W [Millennium]
  e6000000-e6003fff : matroxfb MMIO
e7000000-e77fffff : Matrox Graphics, Inc. MGA 2064W [Millennium]
  e7000000-e77fffff : matroxfb FB
ffff0000-ffffffff : reserved


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

00:00.0 Host bridge: Intel Corporation 430TX - 82439TX MTXC (rev 01)
	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:01.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 01)
	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:01.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: 32 set
	Region 4: I/O ports at e000 [size=16]

00:01.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: 32 set
	Interrupt: pin D routed to IRQ 9
	Region 4: I/O ports at d800 [size=32]

00:01.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 01)
	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 ? routed to IRQ 9

00:09.0 Ethernet controller: 3Com Corporation 3c900 Combo [Boomerang]
	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: 3 min, 8 max, 32 set
	Interrupt: pin A routed to IRQ 9
	Region 0: I/O ports at d400 [size=64]
	Expansion ROM at <unassigned> [disabled] [size=64K]

00:0a.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2064W [Millennium] (rev 01) (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 9
	Region 0: Memory at e6000000 (32-bit, non-prefetchable) [size=16K]
	Region 1: Memory at e7000000 (32-bit, prefetchable) [size=8M]
	Expansion ROM at <unassigned> [disabled] [size=64K]

00:0b.0 Multimedia controller: Sigma Designs, Inc. REALmagic Hollywood Plus DVD Decoder (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: 32 set
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at e5800000 (32-bit, non-prefetchable) [size=1M]
	Capabilities: [40] Power Management version 1
		Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0c.0 Multimedia audio controller: Ensoniq: Unknown device 5880 (rev 02)
	Subsystem: Ensoniq: Unknown device 2000
	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: 12 min, 128 max, 32 set
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at d000 [size=64]
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- AuxPwr- DSI+ D1- D2+ PME-
		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: LITE-ON  Model: LTR-16102B       Rev: OS09
  Type:   CD-ROM                           ANSI SCSI revision: 02

[7.7.] Other information that might be relevant to the problem

The oops backtrace has been written down by hand, so I can't guarantee
that it is 100% error free.

So far this has been reproductive, so I if you need some futher
information, don't hesitate to ask.


BR, Jani

--
Jani Averbach

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux