nixp.ru v3.0

22 мая 2017,
понедельник,
20:21:39 MSK

DevOps с компанией «Флант»
propeller написал 18 сентября 2005 года в 23:22 (451 просмотр) Ведет себя как мужчина; открыл 53 темы в форуме, оставил 158 комментариев на сайте.

Поимел тут вот такое счастье. Никого не трогая пялился с оперу и тут заметил, что мыша перестала на меня реагировать! комп висит полностью! ну я дал перезагруз. Вот что потом прочел в /var/log/messages

Sep 18 22:34:39 localhost pptp[2215]: anon log[decaps_gre:pptp_gre.c:404]: buffering packet 6582 (expecting 6581, lost or reordered)

Sep 18 23:10:49 localhost kernel: ————[ cut here ]————

Sep 18 23:10:49 localhost kernel: kernel BUG at mm/rmap.c:443!

Sep 18 23:10:49 localhost kernel: invalid operand: 0000 [#1]

Sep 18 23:10:49 localhost kernel: CPU: 0

Sep 18 23:10:49 localhost kernel: EIP: 0060:[<02139b33>] Tainted: P

Sep 18 23:10:49 localhost kernel: EFLAGS: 00013246 (2.6.5-1.358)

Sep 18 23:10:49 localhost kernel: EIP is at page_remove_rmap+0×18/0×5b

Sep 18 23:10:49 localhost kernel: eax: 00000000 ebx: 030edc60 ecx: 030edc60 edx: 02347f14

Sep 18 23:10:49 localhost kernel: esi: 00009000 edi: 079f3024 ebp: 00000020 esp: 0e02fed4

Sep 18 23:10:49 localhost kernel: ds: 007b es: 007b ss: 0068

Sep 18 23:10:49 localhost kernel: Process X (pid: 2100, threadinfo=0e02f000 task=111a62b0)

Sep 18 23:10:49 localhost kernel: Stack: 02134f2d 00000000 000a9000 65800000 02347f14 65c00000 658a9000 0e0bc658

Sep 18 23:10:49 localhost kernel: 02347f14 02134fd4 000a9000 00000000 65800000 0e0bc65c 658a9000 02347f14

Sep 18 23:10:49 localhost kernel: 0213501e 000a9000 00000000 0e02ff78 654a9000 0b397204 00400000 021350fd

Sep 18 23:10:49 localhost kernel: Call Trace:

Sep 18 23:10:49 localhost kernel: [<02134f2d>] zap_pte_range+0×1b8/0×21d

Sep 18 23:10:49 localhost kernel: [<02134fd4>] zap_pmd_range+0×42/0×50

Sep 18 23:10:49 localhost kernel: [<0213501e>] unmap_page_range+0×3c/0×57

Sep 18 23:10:49 localhost kernel: [<021350fd>] unmap_vmas+0xc4/0×176

Sep 18 23:10:49 localhost kernel: [<02137c89>] unmap_region+0×61/0xaa

Sep 18 23:10:49 localhost kernel: [<02137f58>] do_munmap+0xf2/0×108

Sep 18 23:10:49 localhost kernel: [<02137faf>] sys_munmap+0×41/0×58

Sep 18 23:10:49 localhost kernel:

Sep 18 23:10:49 localhost kernel: Code: 0f 0b bb 01 11 45 29 02 48 85 c0 89 41 08 75 32 8b 01 a9 00

Sep 18 23:10:49 localhost kernel: <6>note: X[2100] exited with preempt_count 1

Sep 18 23:10:49 localhost kernel: Debug: sleeping function called from invalid context at include/linux/rwsem.h:43

Sep 18 23:10:49 localhost kernel: in_atomic():1, irqs_disabled():0

Sep 18 23:10:49 localhost kernel: Call Trace:

Sep 18 23:10:49 localhost kernel: [<0211691d>] __might_sleep+0×80/0×8a

Sep 18 23:10:49 localhost kernel: [<02119d03>] do_exit+0xd6/0×2e3

Sep 18 23:10:49 localhost kernel: [<021063e1>] do_divide_error+0×0/0xaa

Sep 18 23:10:49 localhost kernel: [<021065cc>] do_invalid_op+0×0/0×95

Sep 18 23:10:49 localhost kernel: [<0210665b>] do_invalid_op+0×8f/0×95

Sep 18 23:10:49 localhost kernel: [<02139b33>] page_remove_rmap+0×18/0×5b

Sep 18 23:10:49 localhost kernel: [<02135342>] follow_page+0xda/0xe5

Sep 18 23:10:49 localhost kernel: [<0213f1ba>] rw_vm+0×1ce/0×1ea

Sep 18 23:10:49 localhost kernel: [<02135342>] follow_page+0xda/0xe5

Sep 18 23:10:49 localhost kernel: [<0213f1ba>] rw_vm+0×1ce/0×1ea

Sep 18 23:10:49 localhost kernel: [<02139b33>] page_remove_rmap+0×18/0×5b

Sep 18 23:10:49 localhost kernel: [<02134f2d>] zap_pte_range+0×1b8/0×21d

Sep 18 23:10:49 localhost kernel: [<02134fd4>] zap_pmd_range+0×42/0×50

Sep 18 23:10:49 localhost kernel: [<0213501e>] unmap_page_range+0×3c/0×57

Sep 18 23:10:49 localhost kernel: [<021350fd>] unmap_vmas+0xc4/0×176

Sep 18 23:10:49 localhost kernel: [<02137c89>] unmap_region+0×61/0xaa

Sep 18 23:10:49 localhost kernel: [<02137f58>] do_munmap+0xf2/0×108

Sep 18 23:10:49 localhost kernel: [<02137faf>] sys_munmap+0×41/0×58

Sep 18 23:10:49 localhost kernel:

Sep 18 23:10:49 localhost kernel: bad: scheduling while atomic!

Sep 18 23:10:49 localhost kernel: Call Trace:

Sep 18 23:10:49 localhost kernel: [<02134f2d>] zap_pte_range+0×1b8/0×21d

Sep 18 23:10:49 localhost kernel: [<02134fd4>] zap_pmd_range+0×42/0×50

Sep 18 23:10:49 localhost kernel: [<0213501e>] unmap_page_range+0×3c/0×57

Sep 18 23:10:49 localhost kernel: [<021350fd>] unmap_vmas+0xc4/0×176

Sep 18 23:10:49 localhost kernel: [<02137c89>] unmap_region+0×61/0xaa

Sep 18 23:10:49 localhost kernel: [<02137f58>] do_munmap+0xf2/0×108

Sep 18 23:10:49 localhost kernel: [<02137faf>] sys_munmap+0×41/0×58

Sep 18 23:10:49 localhost kernel:

Sep 18 23:10:49 localhost kernel: Code: 0f 0b bb 01 11 45 29 02 48 85 c0 89 41 08 75 32 8b 01 a9 00

Sep 18 23:10:49 localhost kernel: <6>note: X[2100] exited with preempt_count 1

Sep 18 23:10:49 localhost kernel: Debug: sleeping function called from invalid context at include/linux/rwsem.h:43

Sep 18 23:10:49 localhost kernel: in_atomic():1, irqs_disabled():0

Sep 18 23:10:49 localhost kernel: Call Trace:

Sep 18 23:10:49 localhost kernel: [<0211691d>] __might_sleep+0×80/0×8a

Sep 18 23:10:49 localhost kernel: [<02119d03>] do_exit+0xd6/0×2e3

Sep 18 23:10:49 localhost kernel: [<021063e1>] do_divide_error+0×0/0xaa

Sep 18 23:10:49 localhost kernel: [<021065cc>] do_invalid_op+0×0/0×95

Sep 18 23:10:49 localhost kernel: [<0210665b>] do_invalid_op+0×8f/0×95

Sep 18 23:10:49 localhost kernel: [<02139b33>] page_remove_rmap+0×18/0×5b

Sep 18 23:10:49 localhost kernel: [<02135342>] follow_page+0xda/0xe5

Sep 18 23:10:49 localhost kernel: [<0213f1ba>] rw_vm+0×1ce/0×1ea

Sep 18 23:10:49 localhost kernel: [<02135342>] follow_page+0xda/0xe5

Sep 18 23:10:49 localhost kernel: [<0213f1ba>] rw_vm+0×1ce/0×1ea

Sep 18 23:10:49 localhost kernel: [<02139b33>] page_remove_rmap+0×18/0×5b

Sep 18 23:10:49 localhost kernel: [<02134f2d>] zap_pte_range+0×1b8/0×21d

Sep 18 23:10:49 localhost kernel: [<02134fd4>] zap_pmd_range+0×42/0×50

Sep 18 23:10:49 localhost kernel: [<0213501e>] unmap_page_range+0×3c/0×57

Sep 18 23:10:49 localhost kernel: [<021350fd>] unmap_vmas+0xc4/0×176

Sep 18 23:10:49 localhost kernel: [<02137c89>] unmap_region+0×61/0xaa

Sep 18 23:10:49 localhost kernel: [<02137f58>] do_munmap+0xf2/0×108

Sep 18 23:10:49 localhost kernel: [<02137faf>] sys_munmap+0×41/0×58

Sep 18 23:10:49 localhost kernel:

Sep 18 23:10:49 localhost kernel: bad: scheduling while atomic!

Sep 18 23:10:49 localhost kernel: Call Trace:

Sep 18 23:10:49 localhost kernel: [<0227e901>] schedule+0×2d/0×44d

Sep 18 23:10:49 localhost kernel: [<021189cd>] printk+0×106/0×113

Sep 18 23:10:49 localhost kernel: [<0227f224>] rwsem_down_read_failed+0xef/0×109

Sep 18 23:10:49 localhost kernel: [<0211a4f2>] .text.lock.exit+0×6b/0xc9

Sep 18 23:10:49 localhost kernel: [<021063e1>] do_divide_error+0×0/0xaa

Sep 18 23:10:49 localhost kernel: [<021065cc>] do_invalid_op+0×0/0×95

Sep 18 23:10:49 localhost kernel: [<0210665b>] do_invalid_op+0×8f/0×95

Sep 18 23:10:49 localhost kernel: [<02139b33>] page_remove_rmap+0×18/0×5b

Sep 18 23:10:49 localhost kernel: [<02135342>] follow_page+0xda/0xe5

Sep 18 23:10:49 localhost kernel: [<0213f1ba>] rw_vm+0×1ce/0×1ea

Sep 18 23:10:49 localhost kernel: [<02135342>] follow_page+0xda/0xe5

Sep 18 23:10:49 localhost kernel: [<0213f1ba>] rw_vm+0×1ce/0×1ea

Sep 18 23:10:49 localhost kernel: [<02139b33>] page_remove_rmap+0×18/0×5b

Sep 18 23:10:49 localhost kernel: [<02134f2d>] zap_pte_range+0×1b8/0×21d

Sep 18 23:10:49 localhost kernel: [<02134fd4>] zap_pmd_range+0×42/0×50

Sep 18 23:10:49 localhost kernel: [<0213501e>] unmap_page_range+0×3c/0×57

Sep 18 23:10:49 localhost kernel: [<021350fd>] unmap_vmas+0xc4/0×176

Sep 18 23:10:49 localhost kernel: [<02137c89>] unmap_region+0×61/0xaa

Sep 18 23:10:49 localhost kernel: [<02137f58>] do_munmap+0xf2/0×108

Sep 18 23:10:49 localhost kernel: [<02137faf>] sys_munmap+0×41/0×58

Sep 18 23:10:49 localhost kernel:

Пару раз при выключении компа бывал останов этого славного процесса. и что делать с этим славным mm/rmap.c?

Ну хорошо, нашел патч, но я не понимаю, чем была вызвана и проблема и не могу проверить, решена ли она!

Genie

попробуй отключить в ядре PREEMPTIVE

потому как вроде бы оно отвечает за «sheduling while atomic»