Messages: "Debug: sleeping function called from invalid context at mm/slab.c:206"

Solution Verified - Updated -

Issue

When you stop the network service with bonding enabled, you get the following messages:

     kernel: Debug: sleeping function called from invalid context at mm/slab.c:2063
     kernel: in_atomic():1[expected: 0], irqs_disabled():0
     kernel: Call Trace:
     kernel: [c0000001cdd4f6a0] [c00000000005d7dc] .__might_sleep+0xcc/0xec (unreliable)
     kernel: [c0000001cdd4f740] [c0000000000a1cf8] .__kmalloc+0x70/0x104
     kernel: [c0000001cdd4f7d0] [c0000000000a1f9c] .kzalloc+0x1c/0x50
     kernel: [c0000001cdd4f860] [d0000000000cb0e4] .ehea_get_stats+0x50/0x194 [ehea]
     kernel: [c0000001cdd4f900] [d0000000004fddf0] .bond_get_stats+0xb0/0x298 [bonding]
     kernel: [c0000001cdd4fab0] [c000000000284e88] .dev_seq_printf_stats+0x58/0x184
     kernel: [c0000001cdd4fba0] [c000000000284fe4] .dev_seq_show+0x30/0x48
     kernel: [c0000001cdd4fc20] [c0000000000f1330] .seq_read+0x310/0x480
     kernel: [c0000001cdd4fcf0] [c0000000000c3abc] .vfs_read+0x148/0x1ac
     kernel: [c0000001cdd4fd90] [c0000000000c3e10] .sys_read+0x4c/0x8c
     kernel: [c0000001cdd4fe30] [c000000000011280] syscall_exit+0x0/0x18

Environment

Red Hat Enterprise Linux 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.