Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 31 Dec 2000 00:34:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 31 Dec 2000 00:34:12 -0500 Received: from bill.trinity.unimelb.edu.au ([203.28.240.2]:45573 "HELO bill.trinity.unimelb.edu.au") by vger.kernel.org with SMTP id ; Sun, 31 Dec 2000 00:33:59 -0500 Date: Sun, 31 Dec 2000 16:03:23 +1100 From: Tim Bell To: linux-kernel@vger.kernel.org Subject: Oops using mke2fs on software raid-0 with pre7 Message-ID: <20001231160323.A15940@trinity.unimelb.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, First of all, thanks to Marcelo Tosatti for pointing me to pre2 which fixed my previous mke2fs oops. Now I've got a new one with pre7 (also happened with pre5). [1.] One line summary of the problem: Oops while using mke2fs on software raid-0 device with pre7. [2.] Full description of the problem/report: While running mke2fs on a SCSI software RAID-0 array, there was an "Unable to handle kernel NULL pointer dereference at virtual address 00000024" message, along with an oops (below). The problem has occurred both with pre5 and pre7. When running SMP, the oops below was given. When running a UP pre7 kernel, there was no oops, just a lockup. [3.] Keywords (i.e., modules, networking, kernel): filesystems, raid [4.] Kernel version (from /proc/version): Linux version 2.4.0-test13-pre7 (root@vike) (gcc version 2.95.2 20000220 (Debian GNU/Linux)) #1 SMP Sun Dec 31 13:13:12 EST 2000 [5.] Output of Oops.. message (if applicable) with symbolic information resolved (see Documentation/oops-tracing.txt) Note: oops was hand-copied. I fixed a couple of typos, but there may be others. ksymoops 2.3.4 on i686 2.4.0-test13-pre7. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.0-test13-pre7/ (default) -m /boot/System.map-2.4.0-test13-pre7 (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. No modules in ksyms, skipping objects Warning (read_lsmod): no symbols in lsmod, is /proc/modules a valid lsmod file? Unable to handle kernel NULL pointer dereference at virtual address 00000024 Oops: 0002 CPU: 1 EIP: 0010:[] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010203 eax: dfbe3780 ebx: 00000001 ecx: dfbe3720 edx: 00000000 esi: 00000008 edi: 00000900 ebp: 0158053d esp: f7871d28 ds: 0018 es: 0018 ss: 0018 Stack: dfbe3720 c0135223 dfbe3720 00000001 00000900 6014f000 dfbe36c0 00000000 00002d10 c013a299 00000900 0158053d 00000400 f79bec80 ffffffea 00000005 00008000 00096cd9 00000900 09001547 03f01a80 00000400 00000400 00000000 Call Trace: [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] Code: 89 42 24 8d 14 dd 00 00 00 00 bb 60 56 30 c0 39 0c 1a 75 06 >>EIP; c013479c <__remove_from_free_list+2c/58> <===== Trace; c0135223 Trace; c013a299 Trace; fa0a1ad8 Trace; c01090a2 Trace; c01e6827 Trace; c01970ae Trace; c019a843 Trace; c019a6c3 Trace; c0a8d993 Trace; c01eb827 Trace; c01970ae Trace; c019a843 Trace; c018fa79 Trace; c0113d32 Trace; c01333ab Trace; c0108eeb Code; c013479c <__remove_from_free_list+2c/58> 00000000 <_EIP>: Code; c013479c <__remove_from_free_list+2c/58> <===== 0: 89 42 24 mov %eax,0x24(%edx) <===== Code; c013479f <__remove_from_free_list+2f/58> 3: 8d 14 dd 00 00 00 00 lea 0x0(,%ebx,8),%edx Code; c01347a6 <__remove_from_free_list+36/58> a: bb 60 56 30 c0 mov $0xc0305660,%ebx Code; c01347ab <__remove_from_free_list+3b/58> f: 39 0c 1a cmp %ecx,(%edx,%ebx,1) Code; c01347ae <__remove_from_free_list+3e/58> 12: 75 06 jne 1a <_EIP+0x1a> c01347b6 <__remove_from_free_list+46/58> 2 warnings issued. Results may not be reliable. [6.] A small shell script or example program which triggers the problem (if possible) The command which triggered it was: mke2fs -m 0 -b 4096 /dev/md0 [7.] Environment [7.1.] Software (add the output of the ver_linux script here) Linux viee 2.4.0-test13-pre7 #1 SMP Sun Dec 31 13:13:12 EST 2000 i686 unknown Kernel modules 2.3.11 Gnu C 2.95.2 Gnu Make 3.79.1 Binutils 2.9.5.0.37 Linux C Library > libc.2.2 Dynamic linker ldd (GNU libc) 2.2 Procps 2.0.6 Mount 2.10f Net-tools 2.05 Console-tools 0.2.3 Sh-utils 2.0i Modules Loaded [7.2.] Processor information (from /proc/cpuinfo): processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 6 cpu MHz : 933.444 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips : 1861.22 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 6 cpu MHz : 933.444 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 3 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips : 1861.22 [7.3.] Module information (from /proc/modules): [no modules] [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 02f8-02ff : serial(set) 0376-0376 : ide1 03c0-03df : vga+ 03f8-03ff : serial(set) 0cf8-0cff : PCI conf1 d000-d03f : Intel Corporation 82557 [Ethernet Pro 100] d000-d03f : eepro100 d400-d4ff : Adaptec 7892A d400-d4fe : aic7xxx d800-d8ff : ATI Technologies Inc Rage XL e400-e4ff : Symbios Logic Inc. (formerly NCR) 53c1010 Ultra3 SCSI Adapter e400-e4ff : sym53c8xx e800-e8ff : Symbios Logic Inc. (formerly NCR) 53c1010 Ultra3 SCSI Adapter (#2) e800-e8ff : sym53c8xx ffa0-ffaf : PCI device 1166:0211 (ServerWorks) ffa0-ffa7 : ide0 ffa8-ffaf : ide1 00000000-0009efff : System RAM 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000c8000-000ce5ff : Extension ROM 000ce800-000cefff : Extension ROM 000f0000-000fffff : System ROM 00100000-3fffffff : System RAM 00100000-002a2c8f : Kernel code 002a2c90-002bc85f : Kernel data fd000000-fdffffff : ATI Technologies Inc Rage XL fe900000-fe9fffff : Intel Corporation 82557 [Ethernet Pro 100] feafc000-feafcfff : Intel Corporation 82557 [Ethernet Pro 100] feafc000-feafcfff : eepro100 feafd000-feafdfff : PCI device 1166:0220 (ServerWorks) feafe000-feafefff : Adaptec 7892A feaff000-feafffff : ATI Technologies Inc Rage XL febfa000-febfbfff : Symbios Logic Inc. (formerly NCR) 53c1010 Ultra3 SCSI Adapter febfc000-febfdfff : Symbios Logic Inc. (formerly NCR) 53c1010 Ultra3 SCSI Adapter (#2) febff800-febffbff : Symbios Logic Inc. (formerly NCR) 53c1010 Ultra3 SCSI Adapter febffc00-febfffff : Symbios Logic Inc. (formerly NCR) 53c1010 Ultra3 SCSI Adapter (#2) [7.5.] PCI information ('lspci -vvv' as root) 00:00.0 Host bridge: Relience Computer CNB20HE (rev 05) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-