Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261624AbVD0OLc (ORCPT ); Wed, 27 Apr 2005 10:11:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261612AbVD0OLc (ORCPT ); Wed, 27 Apr 2005 10:11:32 -0400 Received: from smtp06.auna.com ([62.81.186.16]:34258 "EHLO smtp06.retemail.es") by vger.kernel.org with ESMTP id S261624AbVD0OJy convert rfc822-to-8bit (ORCPT ); Wed, 27 Apr 2005 10:09:54 -0400 Date: Wed, 27 Apr 2005 14:09:30 +0000 From: "J.A. Magallon" Subject: gcc-4.0: a couple oopses To: Lista Linux-Kernel Cc: Andrew Morton X-Mailer: Balsa 2.3.0 Message-Id: <1114610970l.5419l.0l@werewolf.able.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 13489 Lines: 280 Hi... I have just built 2.6.12-rc2-mm3 with gcc4 final. I got this couple oopses on boot. This is almost plain rc3-mm3, the only patches applied are the syscall traps changes by Stas Sergeev and the segment loading patch from Ingo. Apart from this, things _seem_ to work... Oopses follow: ksymoops 2.4.9 on i686 2.6.11-jam14. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.6.11-jam14/ (default) -m /boot/System.map-2.6.11-jam14 (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. Error (regular_file): read_ksyms stat /proc/ksyms failed No modules in ksyms, skipping objects No ksyms, skipping lsmod Apr 27 15:52:44 werewolf kernel: Unable to handle kernel paging request at virtual address 10a316b4 Apr 27 15:52:44 werewolf kernel: b011f5d5 Apr 27 15:52:44 werewolf kernel: *pde = 00000000 Apr 27 15:52:44 werewolf kernel: Oops: 0002 [#1] Apr 27 15:52:44 werewolf kernel: CPU: 0 Apr 27 15:52:44 werewolf kernel: EIP: 0060:[do_proc_dointvec_conv+15/58] Not tainted VLI Apr 27 15:52:44 werewolf kernel: EIP: 0060:[] Not tainted VLI Using defaults from ksymoops -t elf32-i386 -a i386 Apr 27 15:52:44 werewolf kernel: EFLAGS: 00010246 (2.6.11-jam14) Apr 27 15:52:44 werewolf kernel: eax: 00000000 ebx: 00000001 ecx: 10a316b4 edx: ef4eef1c Apr 27 15:52:44 werewolf kernel: esi: a7f5f001 edi: ef4eef03 ebp: 00000001 esp: ef4eeedc Apr 27 15:52:44 werewolf kernel: ds: 007b es: 007b ss: 0068 Apr 27 15:52:44 werewolf kernel: Stack: b011f8b2 00000001 00000000 00000001 eed6332c 10a316b4 00000001 00000001 Apr 27 15:52:44 werewolf kernel: 00000000 30000000 0000000a ef4eefbc ef507550 a7f5f000 00000001 ef4eef04 Apr 27 15:52:44 werewolf kernel: 00000000 00000000 a7f5f000 a7f5f000 00000001 efd9e8e0 b011f95c a7f5f000 Apr 27 15:52:44 werewolf kernel: Call Trace: Apr 27 15:52:44 werewolf kernel: [] do_proc_dointvec+0x2b2/0x32c Apr 27 15:52:44 werewolf kernel: [] proc_dointvec+0x30/0x35 Apr 27 15:52:44 werewolf kernel: [] do_proc_dointvec_conv+0x0/0x3a Apr 27 15:52:44 werewolf kernel: [] do_rw_proc+0x78/0x84 Apr 27 15:52:44 werewolf kernel: [] proc_writesys+0x0/0x24 Apr 27 15:52:44 werewolf kernel: [] proc_writesys+0x1f/0x24 Apr 27 15:52:44 werewolf kernel: [] vfs_write+0x89/0x12a Apr 27 15:52:44 werewolf kernel: [] sys_write+0x41/0x6a Apr 27 15:52:44 werewolf kernel: [] sysenter_past_esp+0x54/0x75 Apr 27 15:52:44 werewolf kernel: Code: c1 89 d8 ba ff ff 00 00 f0 0f c1 10 0f 85 9a 12 00 00 89 c8 83 c4 0c 5b 5e 5f 5d c3 83 7c 24 04 00 74 0d 8b 00 85 c0 75 18 8b 02 <89> 01 31 c0 c3 8b 09 85 c9 78 13 c7 00 00 00 00 00 89 0a 31 c0 >>EIP; b011f5d5 <===== >>ecx; 10a316b4 >>edx; ef4eef1c >>esi; a7f5f001 >>edi; ef4eef03 >>esp; ef4eeedc Trace; b011f8b2 Trace; b011f95c Trace; b011f5c6 Trace; b011f311 Trace; b011f354 Trace; b011f373 Trace; b0152032 Trace; b015217e Trace; b0102993 This architecture has variable length instructions, decoding before eip is unreliable, take these instructions with a pinch of salt. Code; b011f5aa 00000000 <_EIP>: Code; b011f5aa 0: c1 89 d8 ba ff ff 00 rorl $0x0,0xffffbad8(%ecx) Code; b011f5b1 7: 00 f0 add %dh,%al Code; b011f5b3 9: 0f c1 10 xadd %edx,(%eax) Code; b011f5b6 c: 0f 85 9a 12 00 00 jne 12ac <_EIP+0x12ac> Code; b011f5bc 12: 89 c8 mov %ecx,%eax Code; b011f5be 14: 83 c4 0c add $0xc,%esp Code; b011f5c1 17: 5b pop %ebx Code; b011f5c2 18: 5e pop %esi Code; b011f5c3 19: 5f pop %edi Code; b011f5c4 1a: 5d pop %ebp Code; b011f5c5 1b: c3 ret Code; b011f5c6 1c: 83 7c 24 04 00 cmpl $0x0,0x4(%esp) Code; b011f5cb 21: 74 0d je 30 <_EIP+0x30> Code; b011f5cd 23: 8b 00 mov (%eax),%eax Code; b011f5cf 25: 85 c0 test %eax,%eax Code; b011f5d1 27: 75 18 jne 41 <_EIP+0x41> Code; b011f5d3 29: 8b 02 mov (%edx),%eax This decode from eip onwards should be reliable Code; b011f5d5 00000000 <_EIP>: Code; b011f5d5 <===== 0: 89 01 mov %eax,(%ecx) <===== Code; b011f5d7 2: 31 c0 xor %eax,%eax Code; b011f5d9 4: c3 ret Code; b011f5da 5: 8b 09 mov (%ecx),%ecx Code; b011f5dc 7: 85 c9 test %ecx,%ecx Code; b011f5de 9: 78 13 js 1e <_EIP+0x1e> Code; b011f5e0 b: c7 00 00 00 00 00 movl $0x0,(%eax) Code; b011f5e6 11: 89 0a mov %ecx,(%edx) Code; b011f5e8 13: 31 c0 xor %eax,%eax 1 warning and 1 error issued. Results may not be reliable. ksymoops 2.4.9 on i686 2.6.11-jam14. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.6.11-jam14/ (default) -m /boot/System.map-2.6.11-jam14 (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. Error (regular_file): read_ksyms stat /proc/ksyms failed No modules in ksyms, skipping objects No ksyms, skipping lsmod Apr 27 15:52:44 werewolf kernel: Unable to handle kernel paging request at virtual address 10a316b4 Apr 27 15:52:44 werewolf kernel: b011f5d5 Apr 27 15:52:44 werewolf kernel: *pde = 00000000 Apr 27 15:52:44 werewolf kernel: Oops: 0002 [#2] Apr 27 15:52:44 werewolf kernel: CPU: 3 Apr 27 15:52:44 werewolf kernel: EIP: 0060:[do_proc_dointvec_conv+15/58] Not tainted VLI Apr 27 15:52:44 werewolf kernel: EIP: 0060:[] Not tainted VLI Using defaults from ksymoops -t elf32-i386 -a i386 Apr 27 15:52:44 werewolf kernel: EFLAGS: 00010246 (2.6.11-jam14) Apr 27 15:52:44 werewolf kernel: eax: 00000000 ebx: 00000001 ecx: 10a316b4 edx: eeee0f1c Apr 27 15:52:45 werewolf kernel: esi: a7fa3001 edi: eeee0f03 ebp: 00000001 esp: eeee0edc Apr 27 15:52:45 werewolf kernel: ds: 007b es: 007b ss: 0068 Apr 27 15:52:45 werewolf kernel: Stack: b011f8b2 00000001 00000000 00000001 ef3410ac 10a316b4 00000001 00000001 Apr 27 15:52:45 werewolf kernel: 00000000 30000000 0000000a eeee0fbc ef245a70 a7fa3000 00000001 eeee0f04 Apr 27 15:52:45 werewolf kernel: 00000000 00000000 a7fa3000 a7fa3000 00000001 efd9e8e0 b011f95c a7fa3000 Apr 27 15:52:45 werewolf kernel: Call Trace: Apr 27 15:52:45 werewolf kernel: [] do_proc_dointvec+0x2b2/0x32c Apr 27 15:52:45 werewolf kernel: [] proc_dointvec+0x30/0x35 Apr 27 15:52:45 werewolf kernel: [] do_proc_dointvec_conv+0x0/0x3a Apr 27 15:52:45 werewolf kernel: [] do_rw_proc+0x78/0x84 Apr 27 15:52:45 werewolf kernel: [] proc_writesys+0x0/0x24 Apr 27 15:52:45 werewolf kernel: [] proc_writesys+0x1f/0x24 Apr 27 15:52:45 werewolf kernel: [] vfs_write+0x89/0x12a Apr 27 15:52:45 werewolf kernel: [] sys_write+0x41/0x6a Apr 27 15:52:45 werewolf kernel: [] sysenter_past_esp+0x54/0x75 Apr 27 15:52:45 werewolf kernel: Code: c1 89 d8 ba ff ff 00 00 f0 0f c1 10 0f 85 9a 12 00 00 89 c8 83 c4 0c 5b 5e 5f 5d c3 83 7c 24 04 00 74 0d 8b 00 85 c0 75 18 8b 02 <89> 01 31 c0 c3 8b 09 85 c9 78 13 c7 00 00 00 00 00 89 0a 31 c0 >>EIP; b011f5d5 <===== >>ecx; 10a316b4 >>edx; eeee0f1c >>esi; a7fa3001 >>edi; eeee0f03 >>esp; eeee0edc Trace; b011f8b2 Trace; b011f95c Trace; b011f5c6 Trace; b011f311 Trace; b011f354 Trace; b011f373 Trace; b0152032 Trace; b015217e Trace; b0102993 This architecture has variable length instructions, decoding before eip is unreliable, take these instructions with a pinch of salt. Code; b011f5aa 00000000 <_EIP>: Code; b011f5aa 0: c1 89 d8 ba ff ff 00 rorl $0x0,0xffffbad8(%ecx) Code; b011f5b1 7: 00 f0 add %dh,%al Code; b011f5b3 9: 0f c1 10 xadd %edx,(%eax) Code; b011f5b6 c: 0f 85 9a 12 00 00 jne 12ac <_EIP+0x12ac> Code; b011f5bc 12: 89 c8 mov %ecx,%eax Code; b011f5be 14: 83 c4 0c add $0xc,%esp Code; b011f5c1 17: 5b pop %ebx Code; b011f5c2 18: 5e pop %esi Code; b011f5c3 19: 5f pop %edi Code; b011f5c4 1a: 5d pop %ebp Code; b011f5c5 1b: c3 ret Code; b011f5c6 1c: 83 7c 24 04 00 cmpl $0x0,0x4(%esp) Code; b011f5cb 21: 74 0d je 30 <_EIP+0x30> Code; b011f5cd 23: 8b 00 mov (%eax),%eax Code; b011f5cf 25: 85 c0 test %eax,%eax Code; b011f5d1 27: 75 18 jne 41 <_EIP+0x41> Code; b011f5d3 29: 8b 02 mov (%edx),%eax This decode from eip onwards should be reliable Code; b011f5d5 00000000 <_EIP>: Code; b011f5d5 <===== 0: 89 01 mov %eax,(%ecx) <===== Code; b011f5d7 2: 31 c0 xor %eax,%eax Code; b011f5d9 4: c3 ret Code; b011f5da 5: 8b 09 mov (%ecx),%ecx Code; b011f5dc 7: 85 c9 test %ecx,%ecx Code; b011f5de 9: 78 13 js 1e <_EIP+0x1e> Code; b011f5e0 b: c7 00 00 00 00 00 movl $0x0,(%eax) Code; b011f5e6 11: 89 0a mov %ecx,(%edx) Code; b011f5e8 13: 31 c0 xor %eax,%eax 1 warning and 1 error issued. Results may not be reliable. -- J.A. Magallon \ Software is like sex: werewolf!able!es \ It's better when it's free Mandriva Linux release 2006.0 (Cooker) for i586 Linux 2.6.11-jam14 (gcc 4.0.0 (4.0.0-1mdk for Mandriva Linux - 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/