Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264959AbTGGMjh (ORCPT ); Mon, 7 Jul 2003 08:39:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264956AbTGGMjh (ORCPT ); Mon, 7 Jul 2003 08:39:37 -0400 Received: from imhotep.hursley.ibm.com ([194.196.110.14]:40673 "EHLO tor.trudheim.com") by vger.kernel.org with ESMTP id S266985AbTGGMil (ORCPT ); Mon, 7 Jul 2003 08:38:41 -0400 Subject: kernel oops From: Anders Karlsson To: LKML Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-LuM6vKS54vX7wo0OYewV" Organization: Trudheim Technology Limited Message-Id: <1057582393.2034.13.camel@tor.trudheim.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Rubber Turnip www.usr-local-bin.org Date: 07 Jul 2003 13:53:14 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 57698 Lines: 2128 --=-LuM6vKS54vX7wo0OYewV Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Have just hit some kernel oopses again, this time when compiling the kernel and not doing anything else. See below for details. [1.] One line summary of the problem: Kernel oopses when compiling new kernel. [2.] Full description of the problem/report: Running a compile of kernel 2.4.22-pre3 with FreeS/WAN 2.0.1 patches applies generates oops in __free_pages_ok which in turn leads to a completely unusable system shortly afterwards. Only things running was Gnome 2.2, Ximian Evolution and two gnome-terminals. [3.] Keywords (i.e., modules, networking, kernel): kernel, oops, gcc [4.] Kernel version (from /proc/version): Linux version 2.4.21-rc7-ac1 (root@tor) (gcc version 3.3 (SuSE Linux)) #2 Thu Jun 12 21:57:29 BST 2003 [5.] Output of Oops.. message (if applicable) with symbolic information resolved (see Documentation/oops-tracing.txt) ksymoops 2.4.8 on i686 2.4.21-rc7-ac1. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.21-rc7-ac1/ (default) -m /boot/System.map-2.4.21-rc7-ac1 (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. Oops: 0002 CPU: 0 EIP: 0010:[] Not tainted Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010096 eax: 00000000 ebx: c1751a00 ecx: c1751a30 edx: 00000000 esi: 0002608b edi: 0002ef60 ebp: c02f3e90 esp: e55f7ee0 ds: 0018 es: 0018 ss: 0018 Process cc1 (pid: 12021, stackpage=3De55f7000) Stack: c02f3efc c1000020 c1751a30 c02f3e70 c1030020 00000203 ffffffff 00013045=20 001ee000 e8f5b7b8 0020d000 000001ef c012f0a2 c1751a30 400d825c 00000000=20 e55f6000 41400000 e7c4b414 4120d000 00000000 c012d83a dd16c480 e7c4b410=20 Call Trace: [] [] [] [] [] [] [] [] Code: 89 50 04 89 02 c7 43 04 00 00 00 00 c7 03 00 00 00 00 d1 64=20 >>EIP; c0138fff <__free_pages_ok+1eb/289> <=3D=3D=3D=3D=3D >>ebx; c1751a00 <_end+13a973c/3146ad9c> >>ecx; c1751a30 <_end+13a976c/3146ad9c> >>ebp; c02f3e90 >>esp; e55f7ee0 <_end+2524fc1c/3146ad9c> Trace; c012f0a2 Trace; c012d83a Trace; c01306e2 Trace; c011c692 Trace; c01215f4 Trace; c013039b Trace; c01217bb Trace; c0108d87 Code; c0138fff <__free_pages_ok+1eb/289> 00000000 <_EIP>: Code; c0138fff <__free_pages_ok+1eb/289> <=3D=3D=3D=3D=3D 0: 89 50 04 mov %edx,0x4(%eax) <=3D=3D=3D=3D=3D Code; c0139002 <__free_pages_ok+1ee/289> 3: 89 02 mov %eax,(%edx) Code; c0139004 <__free_pages_ok+1f0/289> 5: c7 43 04 00 00 00 00 movl $0x0,0x4(%ebx) Code; c013900b <__free_pages_ok+1f7/289> c: c7 03 00 00 00 00 movl $0x0,(%ebx) Code; c0139011 <__free_pages_ok+1fd/289> 12: d1 64 00 00 shll 0x0(%eax,%eax,1) kernel BUG at page_alloc.c:231! invalid operand: 0000 CPU: 0 EIP: 0010:[] Not tainted EFLAGS: 00010202 eax: 010000cc ebx: c1759260 ecx: 0002730c edx: 00001000 esi: c02f3e70 edi: c02f3e84 ebp: c02f3e70 esp: dfd0fe74 ds: 0018 es: 0018 ss: 0018 Process ksymoops (pid: 12035, stackpage=3Ddfd0f000) Stack: 00001000 c01e524e 0002630c 00000286 00000000 c02f3e70 c02f3ff4 000001ff=20 00000000 000001d2 c01394e2 000007d0 c02f3e70 c02f3ff0 00000082 00104025=20 00000001 de729800 dd2671f8 c012e815 e730d000 00000000 00001000 0847e02c=20 Call Trace: [] [] [] [] [] [] [] [] [] [] [] Code: 0f 0b e7 00 f0 39 2b c0 8b 43 18 a9 80 00 00 00 74 08 0f 0b=20 >>EIP; c0139296 <=3D=3D=3D=3D=3D >>ebx; c1759260 <_end+13b0f9c/3146ad9c> >>esi; c02f3e70 >>edi; c02f3e84 >>ebp; c02f3e70 >>esp; dfd0fe74 <_end+1f967bb0/3146ad9c> Trace; c01e524e <__ide_dma_begin+35/3c> Trace; c01394e2 <__alloc_pages+3f/180> Trace; c012e815 Trace; c012eb42 Trace; c011a0d4 Trace; c013210d Trace; c01305ac Trace; c012f2df Trace; c010a388 Trace; c0119f94 Trace; c0108e78 Code; c0139296 00000000 <_EIP>: Code; c0139296 <=3D=3D=3D=3D=3D 0: 0f 0b ud2a <=3D=3D=3D=3D=3D Code; c0139298 2: e7 00 out %eax,$0x0 Code; c013929a 4: f0 39 2b lock cmp %ebp,(%ebx) Code; c013929d 7: c0 8b 43 18 a9 80 00 rorb $0x0,0x80a91843(%ebx) Code; c01392a4 e: 00 00 add %al,(%eax) Code; c01392a6 10: 74 08 je 1a <_EIP+0x1a> Code; c01392a8 12: 0f 0b ud2a =20 1 warning issued. Results may not be reliable. [6.] A small shell script or example program which triggers the problem (if possible) n/a [7.] Environment [7.1.] Software (add the output of the ver_linux script here) If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. =20 Linux tor 2.4.21-rc7-ac1 #2 Thu Jun 12 21:57:29 BST 2003 i686 unknown unknown GNU/Linux =20 Gnu C 3.3 Gnu make 3.80 util-linux 2.11z mount 2.11z modutils 2.4.22 e2fsprogs 1.28 jfsutils 1.1.1 pcmcia-cs 3.2.3 PPP 2.4.1 Linux C Library x 1 root root 1491599 Mar 13 23:33 /lib/libc.so.6 Dynamic linker (ldd) 2.3.2 Linux C++ Library 5.0.4 Procps 3.1.6 Net-tools 1.60 Kbd 1.06 Sh-utils 4.5.8 Modules Loaded sr_mod ipt_MASQUERADE ipt_multiport ipt_LOG ipt_state iptable_filter ip_nat_irc ip_conntrack_irc ip_nat_ftp iptable_nat ip_tables ip_conntrack_ftp ip_conntrack radeon agpgart usbserial snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-page-alloc snd-mpu401-uart snd-rawmidi snd-seq-device snd soundcore hid keybdev ds yenta_socket rfcomm pcmcia_core ipv6 l2cap bluez af_packet mousedev joydev evdev input usb-uhci ehci-hcd usbcore raw1394 ohci1394 ieee1394 e100 ide-scsi ide-cd cdrom ext3 jbd loop reiserfs [7.2.] Processor information (from /proc/cpuinfo): processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 9 model name : Intel(R) Pentium(R) M processor 1400MHz stepping : 5 cpu MHz : 1398.844 cache size : 0 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 mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm bogomips : 2791.83 [7.3.] Module information (from /proc/modules): sr_mod 14232 0 (autoclean) (unused) ipt_MASQUERADE 1336 1 (autoclean) ipt_multiport 728 2 (autoclean) ipt_LOG 3320 5 (autoclean) ipt_state 568 5 (autoclean) iptable_filter 1676 1 (autoclean) ip_nat_irc 2480 0 (autoclean) (unused) ip_conntrack_irc 3152 1 (autoclean) ip_nat_ftp 3184 0 (autoclean) (unused) iptable_nat 16078 3 (autoclean) [ipt_MASQUERADE ip_nat_irc ip_nat_ftp] ip_tables 11904 8 (autoclean) [ipt_MASQUERADE ipt_multiport ipt_LOG ipt_state iptable_filter iptable_nat] ip_conntrack_ftp 4144 1 (autoclean) ip_conntrack 17892 4 (autoclean) [ipt_MASQUERADE ipt_state ip_nat_irc ip_conntrack_irc ip_nat_ftp iptable_nat ip_conntrack_ftp] radeon 106016 1 agpgart 23848 3 (autoclean) usbserial 19356 0 (autoclean) (unused) snd-intel8x0 18244 0 snd-pcm 64580 0 [snd-intel8x0] snd-timer 15400 0 [snd-pcm] snd-ac97-codec 39496 0 [snd-intel8x0] snd-page-alloc 5532 0 [snd-intel8x0 snd-pcm] snd-mpu401-uart 3520 0 [snd-intel8x0] snd-rawmidi 14272 0 [snd-mpu401-uart] snd-seq-device 4544 0 [snd-rawmidi] snd 32420 0 [snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device] soundcore 3716 0 [snd] hid 19748 0 (unused) keybdev 2084 0 (unused) ds 6900 2 yenta_socket 10624 2 rfcomm 31168 0 (unused) pcmcia_core 46560 0 [ds yenta_socket] ipv6 159508 -1 (autoclean) l2cap 16560 2 (autoclean) bluez 32260 1 (autoclean) [rfcomm l2cap] af_packet 13512 1 (autoclean) mousedev 4468 1 joydev 6176 0 (unused) evdev 4672 0 (unused) input 3360 0 [hid keybdev mousedev joydev evdev] usb-uhci 23120 0 (unused) ehci-hcd 24684 0 (unused) usbcore 70156 1 [usbserial hid usb-uhci ehci-hcd] raw1394 18136 0 (unused) ohci1394 25232 0 (unused) ieee1394 45220 0 [raw1394 ohci1394] e100 46792 1 ide-scsi 10256 0 ide-cd 32480 0 cdrom 29216 0 [sr_mod ide-cd] ext3 68676 2 (autoclean) jbd 51344 2 (autoclean) [ext3] loop 9816 0 (autoclean) reiserfs 184048 7 [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) 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 01f0-01f7 : ide0 03f6-03f6 : ide0 03f8-03ff : serial(auto) 04d0-04d1 : PnPBIOS PNP0c02 0cf8-0cff : PCI conf1 1000-105f : PnPBIOS PNP0c02 1060-107f : PnPBIOS PNP0c02 1180-11bf : PnPBIOS PNP0c02 1800-181f : Intel Corp. 82801DB USB (Hub #1) 1800-181f : usb-uhci 1820-183f : Intel Corp. 82801DB USB (Hub #2) 1820-183f : usb-uhci 1840-185f : Intel Corp. 82801DB USB (Hub #3) 1840-185f : usb-uhci 1860-186f : Intel Corp. 82801DBM Ultra ATA Storage Controller 1860-1867 : ide0 1868-186f : ide1 1880-189f : Intel Corp. 82801DB/DBM SMBus Controller 18c0-18ff : Intel Corp. 82801DB AC'97 Audio Controller 1c00-1cff : Intel Corp. 82801DB AC'97 Audio Controller 2000-207f : Intel Corp. 82801DB AC'97 Modem Controller 2400-24ff : Intel Corp. 82801DB AC'97 Modem Controller 3000-3fff : PCI Bus #01 3000-30ff : ATI Technologies Inc Radeon Mobility M6 LY 4000-40ff : PCI CardBus #03 4400-44ff : PCI CardBus #03 4800-48ff : PCI CardBus #06 4c00-4cff : PCI CardBus #06 8000-803f : Intel Corp. 82801BD PRO/100 VE (MOB) Ethernet Controller 8000-803f : e100 00000000-0009efff : System RAM 0009f000-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000d0000-000d0fff : Extension ROM 000d1000-000d1fff : Extension ROM 000d2000-000d3fff : reserved 000e0000-000effff : Extension ROM 000f0000-000fffff : System ROM 00100000-2ff5ffff : System RAM 00100000-002973bd : Kernel code 002973be-003345e3 : Kernel data 2ff60000-2ff78fff : ACPI Tables 2ff79000-2ff7afff : ACPI Non-volatile Storage 2ff80000-2fffffff : reserved 30000000-300003ff : Intel Corp. 82801DBM Ultra ATA Storage Controller 30400000-307fffff : PCI CardBus #03 30800000-30bfffff : PCI CardBus #03 30c00000-30ffffff : PCI CardBus #06 31000000-313fffff : PCI CardBus #06 50000000-50000fff : Ricoh Co Ltd RL5c476 II 50100000-50100fff : Ricoh Co Ltd RL5c476 II (#2) c0000000-c00003ff : Intel Corp. 82801DB USB2 c0000000-c00003ff : ehci-hcd c0000800-c00008ff : Intel Corp. 82801DB AC'97 Audio Controller c0000800-c00008ff : Intel 82801DB-ICH4 - Controller c0000c00-c0000dff : Intel Corp. 82801DB AC'97 Audio Controller c0000c00-c0000dff : Intel 82801DB-ICH4 - AC'97 c0100000-c01fffff : PCI Bus #01 c0100000-c010ffff : ATI Technologies Inc Radeon Mobility M6 LY c0100000-c010ffff : radeonfb c0200000-c0200fff : Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI Adapter c0201000-c0201fff : Intel Corp. 82801BD PRO/100 VE (MOB) Ethernet Controller c0201000-c0201fff : e100 c0202000-c02027ff : Ricoh Co Ltd R5C552 IEEE 1394 Controller c0202000-c02027ff : ohci1394 d0000000-dfffffff : Intel Corp. 82855PM Processor to I/O Controller e0000000-e7ffffff : PCI Bus #01 e0000000-e7ffffff : ATI Technologies Inc Radeon Mobility M6 LY e0000000-e7ffffff : radeonfb ff800000-ffffffff : reserved [7.5.] PCI information ('lspci -vvv' as root) 00:00.0 Host bridge: Intel Corp.: Unknown device 3340 (rev 03) Subsystem: IBM: Unknown device 0529 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=3Dfast >TAbort- SERR- TAbort- SERR- Reset- FastB2B- 00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 01) (prog-if 00 [UHCI]) Subsystem: IBM: Unknown device 052d Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=3Dmedium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- FastB2B- 00:1f.0 ISA bridge: Intel Corp.: Unknown device 24cc (rev 01) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=3Dmedium >TAbort- SERR- TAbort- SERR- Region 1: I/O ports at Region 2: I/O ports at Region 3: I/O ports at Region 4: I/O ports at 1860 [size=3D16] Region 5: Memory at 30000000 (32-bit, non-prefetchable) [size=3D1K] 00:1f.3 SMBus: Intel Corp. 82801DB SMBus (rev 01) Subsystem: IBM: Unknown device 052d Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=3Dmedium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- [disabled] [size=3D128K] Capabilities: [58] AGP version 2.0 Status: RQ=3D48 Iso- ArqSz=3D0 Cal=3D0 SBA+ ITACoh- GART64- HTrans- 64bit= - FW- AGP3- Rate=3Dx1,x2,x4 Command: RQ=3D32 ArqSz=3D0 Cal=3D0 SBA+ AGP+ GART64- 64bit- FW- Rate=3Dx1 Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=3D0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=3D0 DScale=3D0 PME- 02:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa) Subsystem: IBM: Unknown device 0532 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=3Dmedium >TAbort- SERR- Reset- 16bInt+ PostWrite+ 16-bit legacy interface ports at 0001 02:00.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa) Subsystem: IBM: Unknown device 0532 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=3Dmedium >TAbort- SERR- Reset- 16bInt+ PostWrite+ 16-bit legacy interface ports at 0001 02:00.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 02) (prog-if 10 [OHCI]) Subsystem: IBM: Unknown device 0533 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=3Dmedium >TAbort- SERR- TAbort- SERR- TAbort- SERR- Trudheim Technology Limited --=-LuM6vKS54vX7wo0OYewV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQA/CW05LYywqksgYBoRAjNJAJ44k/zV7F64e2Xdt8cs75NQXHJqaQCfew/K OQio2JDS9RVKfjTFcT4Bu0w= =CpmR -----END PGP SIGNATURE----- --=-LuM6vKS54vX7wo0OYewV-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/