From: "Peter Hanzel" Subject: Re: dd if=/dev/scd0 of=cd.iso kernel BUG Date: Fri, 6 May 2011 16:19:06 +0200 Message-ID: <1629EF18E4584BFAB64F596D58AA611F@avitech.sk> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit Cc: To: "Tetsuo Handa" Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:63343 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751283Ab1EFOTE (ORCPT ); Fri, 6 May 2011 10:19:04 -0400 Received: by wya21 with SMTP id 21so2442932wya.19 for ; Fri, 06 May 2011 07:19:02 -0700 (PDT) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hello. I have tried to compile linux 2.6.38.5 and got kernel panic on: Kernel panic - not syncing: IO-APIC + timer doesn't work! Boot with apic=debug and send a report. So i googled and found this thread: http://purak.org/blog/2011/03/19/gcc-4-5-2-and-linux-kernel-2-6-38-are-problematic/ And that was my case. So gcc 4.5.2 + linux 2.6.38>= ARE problematic. Recompling with RELOCABLE=off and PHYSICAL_START=0x10000 helped. Kernel 2.6.38.5 boots and copy of CD to ISO is working. Regards, Peter ----- Original Message ----- From: "Peter Hanzel" To: "Tetsuo Handa" Sent: Wednesday, May 04, 2011 3:31 PM Subject: Re: dd if=/dev/scd0 of=cd.iso kernel BUG > Ok. Thanks. > > I already reposted to linux-fsdevel (my mistake). > And I will also repost to linux-kernel without attachments. (As i am > newbie to linux-kernel mail list) > > Regards, Peter > > ----- Original Message ----- > From: "Tetsuo Handa" > To: > Sent: Wednesday, May 04, 2011 1:55 PM > Subject: Re: dd if=/dev/scd0 of=cd.iso kernel BUG > > >> Peter Hanzel wrote: >> >>> Hello. >>> >>> I have done this redirect and I have got full stack trace. >>> See attached dmesg.txt. (here is the crash) >>> >>> I have kernel 2.6.38.3 and also .config and boot.dmesg is attached. >>> >>> Any clues? Thanks. >> >> As you can reproduce this bug easily, please try 2.6.38.5 before >> reporting. >> >> Secondly, not linux-fsdevek@vger.kernel.org but >> linux-fsdevel@vger.kernel.org . >> Your message was delivered to only me. :-) >> >> Also, you should post to linux-kernel@vger.kernel.org as your problem may >> be >> mm related rather than fs related. >> >> Also, people generally don't open attached files. >> You need to extract important lines like below. >> >> [ 115.553962] BUG: Bad page state in process dd pfn:01500 >> [ 115.558432] page:dfb1a000 count:16 mapcount:0 mapping:dec16554 >> index:0x3 >> [ 115.562435] page flags: >> 0x4002006c(referenced|uptodate|lru|active|mappedtodisk) >> [ 115.567353] Pid: 1118, comm: dd Not tainted 2.6.38.3 #1 >> [ 115.571035] Call Trace: >> [ 115.574284] [] ? bad_page+0x5a/0xd0 >> [ 115.577929] [] ? get_page_from_freelist+0x14f/0x420 >> [ 115.581843] [] ? __alloc_pages_nodemask+0xf5/0x620 >> [ 115.593830] [] ? journal_stop+0x1f0/0x2b0 >> [ 115.601256] [] ? __do_page_cache_readahead+0xe1/0x1f0 >> [ 115.605145] [] ? ra_submit+0x28/0x40 >> [ 115.608323] [] ? ondemand_readahead+0xfd/0x1c0 >> [ 115.611713] [] ? page_cache_async_readahead+0x65/0xa0 >> [ 115.615594] [] ? generic_file_aio_read+0x393/0x710 >> [ 115.619128] [] ? irq_exit+0x38/0x80 >> [ 115.622401] [] ? do_sync_read+0xb1/0xf0 >> [ 115.629049] [] ? lapic_next_event+0x16/0x20 >> [ 115.636804] [] ? vfs_read+0x94/0x160 >> [ 115.639950] [] ? do_sync_read+0x0/0xf0 >> [ 115.648313] [] ? sys_read+0x3d/0x70 >> [ 115.651497] [] ? sysenter_do_call+0x12/0x26 >> [ 115.655363] Disabling lock debugging due to kernel taint >> (...snipped...) >> [ 120.724936] BUG: unable to handle kernel paging request at 00100104 >> [ 120.727598] IP: [] isolate_pages_global+0x97/0x200 >> [ 120.728032] *pde = 00000000 >> [ 120.728032] Oops: 0002 [#1] PREEMPT SMP >> [ 120.728032] last sysfs file: /sys/devices/virtual/vc/vcsa2/uevent >> [ 120.728032] Modules linked in: >> [ 120.728032] >> [ 120.728032] Pid: 467, comm: kswapd0 Tainted: G B 2.6.38.3 #1 >> VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform >> [ 120.728032] EIP: 0060:[] EFLAGS: 00010046 CPU: 0 >> [ 120.728032] EIP is at isolate_pages_global+0x97/0x200 >> [ 120.728032] EAX: 00100100 EBX: dfb1a858 ECX: dfb1a844 EDX: 00200200 >> [ 120.728032] ESI: dfb1a840 EDI: c06e8640 EBP: df1c9ecc ESP: df1c9e98 >> [ 120.728032] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 >> [ 120.728032] Process kswapd0 (pid: 467, ti=df1c8000 task=df1c0c00 >> task.ti=df1c8000) >> [ 120.728032] Stack: >> [ 120.728032] 00000002 df1c9f20 df1c9f14 00000020 c06e888c df402f80 >> 00000002 00000000 >> [ 120.728032] 00000000 c0282a59 00000020 00000001 c06e8640 df1c9f30 >> c0284553 00000000 >> [ 120.728032] 00000001 c06e8640 00000001 00000000 df1c9f14 c06e8880 >> df1c9f74 00000417 >> [ 120.728032] Call Trace: >> [ 120.728032] [] ? lru_add_drain+0x79/0xa0 >> [ 120.728032] [] shrink_active_list+0x83/0x220 >> [ 120.728032] [] ? calculate_pressure_threshold+0x0/0x50 >> [ 120.728032] [] kswapd+0x217/0x5c0 >> [ 120.728032] [] ? try_to_wake_up+0x216/0x280 >> [ 120.728032] [] ? kswapd+0x0/0x5c0 >> [ 120.728032] [] kthread+0x74/0x80 >> [ 120.728032] [] ? kthread+0x0/0x80 >> [ 120.728032] [] kernel_thread_helper+0x6/0x10 >> [ 120.728032] Code: 18 8d 74 26 00 8b 4d 18 8b 55 0c 8b 43 e8 89 f0 e8 >> df fe ff ff 83 f8 f0 0f 84 1b 01 00 00 85 c0 0f 85 3e 01 00 00 8b 03 8b >> 53 04 <89> 50 04 89 02 8b 55 d4 8b 02 89 58 04 89 03 89 53 04 89 1a 8b >> [ 120.728032] EIP: [] isolate_pages_global+0x97/0x200 SS:ESP >> 0068:df1c9e98 >> [ 120.728032] CR2: 0000000000100104 >> [ 120.728032] ---[ end trace 77a2e1a5622c8d54 ]--- >> [ 120.728032] note: kswapd0[467] exited with preempt_count 1 >> >