gcc升级后linux内核中的softlockup

时间:2019-05-20 08:48:00

标签: gcc linux-kernel softlock

我已将gcc升级到4.8.5,以编译我的Linux内核2.6.32.24。

用升级的gcc构建内核后,在引导过程中提供软锁,同时通过诸如挂载,fdisk等任何fs命令评估文件系统。 与Linux内核和升级的gcc进行软锁定的原因/关系是什么?返回跟踪如下。

mount("/dev/sdb2", "/mnt/instimg", "ext3", MS_RDONLY|MS_SILENT, NULL
BUG: soft lockup - CPU#1 stuck for 61s! [mount:270]
Modules linked in:
CPU 1:
Modules linked in:
Pid: 270, comm: mount Not tainted 2.6.32.24-ws-symbol #1 S5520UR
RIP: 0010:[<ffffffff81068c5f>]  [<ffffffff81068c5f>] smp_call_function_many+0x1af/0x220
RSP: 0018:ffff88096ccadc28  EFLAGS: 00000202
RAX: 0000000000000018 RBX: ffff88096ccadc68 RCX: 0000000000000035
RDX: 0000000000000018 RSI: 0000000000000018 RDI: 0000000000000292
RBP: ffffffff810128de R08: ffffffff81675a70 R09: ffff88096ccadc60
R10: ffff88096c802e78 R11: 0000000000000001 R12: 00000000000099ff
R13: 0000000000000000 R14: 00000000fffffffb R15: ffff88096c802e78
FS:  00007fec30bc4700(0000) GS:ffff880500000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 000000000043ea23 CR3: 000000096bd16000 CR4: 00000000000006a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 [<ffffffff81068c3e>] ? smp_call_function_many+0x18e/0x220
 [<ffffffff810e03b0>] ? invalidate_bh_lru+0x0/0x80
 [<ffffffff810e03b0>] ? invalidate_bh_lru+0x0/0x80
 [<ffffffff81068d05>] ? smp_call_function+0x35/0x60
 [<ffffffff810457d1>] ? on_each_cpu+0x31/0x80
 [<ffffffff810dea47>] ? invalidate_bh_lrus+0x17/0x20
 [<ffffffff810e604d>] ? __blkdev_put+0x18d/0x1b0
 [<ffffffff810e66cf>] ? close_bdev_exclusive+0x1f/0x30
 [<ffffffff810bb1f5>] ? kill_block_super+0x35/0x40
 [<ffffffff810bb696>] ? deactivate_locked_super+0x56/0x70
 [<ffffffff810bbcb0>] ? get_sb_bdev+0x190/0x1a0
 [<ffffffff81115c30>] ? ext3_fill_super+0x0/0x18f0
 [<ffffffff81114173>] ? ext3_get_sb+0x13/0x20
 [<ffffffff810bb249>] ? vfs_kern_mount+0x49/0x110
 [<ffffffff810bb370>] ? do_kern_mount+0x40/0x100
 [<ffffffff810d3ea5>] ? do_mount+0x165/0x8b0
 [<ffffffff810d48d5>] ? sys_mount+0xa5/0x120
 [<ffffffff8101b076>] ? syscall_trace_leave+0x76/0xc0
 [<ffffffff81011f9a>] ? tracesys+0xd0/0xd5
Kernel panic - not syncing: softlockup: hung tasks
Rebooting in 1 seconds..

0 个答案:

没有答案