Re: dd if=/dev/scd0 of=cd.iso kernel BUG

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

 



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" <hanzelpeter@xxxxxxxxx>
To: "Tetsuo Handa" <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
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" <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
To: <hanzelpeter@xxxxxxxxx>
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@xxxxxxxxxxxxxxx but linux-fsdevel@xxxxxxxxxxxxxxx .
Your message was delivered to only me. :-)

Also, you should post to linux-kernel@xxxxxxxxxxxxxxx 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]  [<c027e20a>] ? bad_page+0x5a/0xd0
[  115.577929]  [<c027ef4f>] ? get_page_from_freelist+0x14f/0x420
[  115.581843]  [<c027f335>] ? __alloc_pages_nodemask+0xf5/0x620
[  115.593830]  [<c033d750>] ? journal_stop+0x1f0/0x2b0
[  115.601256]  [<c0281af1>] ? __do_page_cache_readahead+0xe1/0x1f0
[  115.605145]  [<c0281c28>] ? ra_submit+0x28/0x40
[  115.608323]  [<c0281e2d>] ? ondemand_readahead+0xfd/0x1c0
[  115.611713]  [<c0281f55>] ? page_cache_async_readahead+0x65/0xa0
[  115.615594]  [<c027b533>] ? generic_file_aio_read+0x393/0x710
[  115.619128]  [<c02348f8>] ? irq_exit+0x38/0x80
[  115.622401]  [<c02a5e31>] ? do_sync_read+0xb1/0xf0
[  115.629049]  [<c0217286>] ? lapic_next_event+0x16/0x20
[  115.636804]  [<c02a6664>] ? vfs_read+0x94/0x160
[  115.639950]  [<c02a5d80>] ? do_sync_read+0x0/0xf0
[  115.648313]  [<c02a6b7d>] ? sys_read+0x3d/0x70
[  115.651497]  [<c0202b50>] ? 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: [<c0283a97>] 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:[<c0283a97>] 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]  [<c0282a59>] ? lru_add_drain+0x79/0xa0
[  120.728032]  [<c0284553>] shrink_active_list+0x83/0x220
[  120.728032]  [<c028ab10>] ? calculate_pressure_threshold+0x0/0x50
[  120.728032]  [<c0285dc7>] kswapd+0x217/0x5c0
[  120.728032]  [<c022a426>] ? try_to_wake_up+0x216/0x280
[  120.728032]  [<c0285bb0>] ? kswapd+0x0/0x5c0
[  120.728032]  [<c0246054>] kthread+0x74/0x80
[  120.728032]  [<c0245fe0>] ? kthread+0x0/0x80
[  120.728032]  [<c0203076>] 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: [<c0283a97>] 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



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


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux