Bug 4091

Summary: incorrect flags for kmalloc
Product: ACPI Reporter: Vladimir Kondratiev (vladimir.kondratiev)
Component: OtherAssignee: acpi_other
Status: REJECTED DUPLICATE    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.11-rc2 Subsystem:
Regression: --- Bisected commit-id:
Attachments: proposed patch

Description Vladimir Kondratiev 2005-01-24 04:02:40 UTC
Distribution: FC3
Hardware Environment: IBM TP42p
Software Environment:
Problem Description:
While waking up from S3, the following warnings printed:
Jan 24 09:38:03 vkondra-mobl kernel: Stopping tasks: ===========================
===========================================================|
Jan 24 09:38:03 vkondra-mobl kernel: Debug: sleeping function called from invali
d context at mm/slab.c:2085
Jan 24 09:38:03 vkondra-mobl kernel: in_atomic():0, irqs_disabled():1
Jan 24 09:38:03 vkondra-mobl kernel:  [<c0104897>] dump_stack+0x17/0x20
Jan 24 09:38:03 vkondra-mobl kernel:  [<c011d923>] __might_sleep+0xa3/0xc0
Jan 24 09:38:03 vkondra-mobl kernel:  [<c015b2c1>] kmem_cache_alloc+0x71/0x90
Jan 24 09:38:03 vkondra-mobl kernel:  [<c0233283>] acpi_pci_link_set+0x4b/0x1aa
Jan 24 09:38:03 vkondra-mobl kernel:  [<c0233723>] irqrouter_resume+0x1f/0x28
Jan 24 09:38:03 vkondra-mobl kernel:  [<c0269886>] sysdev_resume+0x76/0xd7
Jan 24 09:38:03 vkondra-mobl kernel:  [<c026de48>] device_power_up+0x8/0xe
Jan 24 09:38:03 vkondra-mobl hal.hotplug[19547]: DEVPATH is not set
Jan 24 09:38:03 vkondra-mobl gpm[2865]: *** info [mice.c(1766)]:
Jan 24 09:38:03 vkondra-mobl NET[19680]: /sbin/dhclient-script : updated /etc/re
solv.conf
Jan 24 09:38:03 vkondra-mobl kernel:  [<c0145f68>] suspend_enter+0x38/0x50
Jan 24 09:38:04 vkondra-mobl gpm[2865]: imps2: Auto-detected intellimouse PS/2
Jan 24 09:38:04 vkondra-mobl kernel:  [<c014601a>] enter_state+0x5a/0x80
Jan 24 09:38:04 vkondra-mobl kernel:  [<c02308cb>] acpi_suspend+0x2d/0x3a
Jan 24 09:38:04 vkondra-mobl kernel:  [<c02309b8>] acpi_system_write_sleep+0x6d/
0x7f
Jan 24 09:38:04 vkondra-mobl kernel:  [<c017c4c7>] vfs_write+0xc7/0x160
Jan 24 09:38:04 vkondra-mobl kernel:  [<c017c60d>] sys_write+0x3d/0x70
Jan 24 09:38:04 vkondra-mobl kernel:  [<c01038cd>] sysenter_past_esp+0x52/0x75
Jan 24 09:38:04 vkondra-mobl kernel: MCE: The hardware reports a non fatal, corr
ectable incident occurred on CPU 0.


Steps to reproduce:
Do suspend-resume cycle.
Comment 1 Vladimir Kondratiev 2005-01-24 04:05:11 UTC
Created attachment 4445 [details]
proposed patch

Fix allocation flags accordingly to the current context.
Comment 2 Shaohua 2005-01-24 16:47:50 UTC

*** This bug has been marked as a duplicate of 3469 ***