Public bug reported:
HW: Lenovo ThinkPad X200s with 4 GB RAM
SW: Up-to-date Kubuntu Karmic with 2.6.31-10.30 kernel
My system does not have swap space as 4 GB of RAM seems to be more than
enough for my usecase.
I was copying large 2.6 GB file from one ext4 file system to other ext4
file system. Both file systems are local and on LVM volume.
The kernel crashed with the following oops (found in /var/log/messages):
Sep 9 10:20:24 lure kernel: [ 1594.997564] ------------[ cut here ]------------
Sep 9 10:20:24 lure kernel: [ 1594.997588] WARNING: at
/build/buildd/linux-2.6.31/kernel/res_counter.c:71
res_counter_uncharge_locked+0x32/0x40()
Sep 9 10:20:24 lure kernel: [ 1594.997595] Hardware name: 74705HG
Sep 9 10:20:24 lure kernel: [ 1594.997599] Modules linked in: ppdev vboxnetadp
vboxnetflt vboxdrv microcode sha256_generic cryptd aes_x86_64 aes_generic cbc
dm_crypt lp parport snd_hda_codec_conexant snd_hda_intel snd_hda_codec
snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi arc4
snd_rawmidi snd_seq_midi_event snd_seq ecb snd_timer snd_seq_device iwlagn snd
iwlcore soundcore thinkpad_acpi psmouse led_class heci(C) serio_raw nvram
snd_page_alloc mac80211 cfg80211 e1000e fbcon tileblit font bitblit softcursor
i915 drm i2c_algo_bit video output intel_agp
Sep 9 10:20:24 lure kernel: [ 1594.997706] Pid: 325, comm: kswapd0 Tainted: G
C 2.6.31-10-generic #30-Ubuntu
Sep 9 10:20:24 lure kernel: [ 1594.997712] Call Trace:
Sep 9 10:20:24 lure kernel: [ 1594.997726] [<ffffffff81059778>]
warn_slowpath_common+0x78/0xb0
ep 9 10:20:24 lure kernel: [ 1594.997734] [<ffffffff810597bf>]
warn_slowpath_null+0xf/0x20
Sep 9 10:20:24 lure kernel: [ 1594.997743] [<ffffffff810a00a2>]
res_counter_uncharge_locked+0x32/0x40
Sep 9 10:20:24 lure kernel: [ 1594.997752] [<ffffffff810a00f8>]
res_counter_uncharge+0x48/0x70
Sep 9 10:20:24 lure kernel: [ 1594.997765] [<ffffffff8111520d>]
__mem_cgroup_uncharge_common+0x9d/0x160
Sep 9 10:20:24 lure kernel: [ 1594.997773] [<ffffffff811152db>]
mem_cgroup_uncharge_cache_page+0xb/0x10
Sep 9 10:20:24 lure kernel: [ 1594.997784] [<ffffffff810e2d6b>]
__remove_mapping+0x8b/0x110
Sep 9 10:20:24 lure kernel: [ 1594.997792] [<ffffffff810e2e01>]
remove_mapping+0x11/0x30
Sep 9 10:20:24 lure kernel: [ 1594.997801] [<ffffffff810e108b>]
invalidate_mapping_pages+0x18b/0x220
Sep 9 10:20:24 lure kernel: [ 1594.997811] [<ffffffff8112fdbd>]
prune_icache+0x27d/0x2b0
Sep 9 10:20:24 lure kernel: [ 1594.997819] [<ffffffff8112fe2f>]
shrink_icache_memory+0x3f/0x50
Sep 9 10:20:24 lure kernel: [ 1594.997826] [<ffffffff810e2315>]
shrink_slab+0x125/0x190
Sep 9 10:20:24 lure kernel: [ 1594.997835] [<ffffffff810e4d47>]
balance_pgdat+0x487/0x5d0
Sep 9 10:20:24 lure kernel: [ 1594.997844] [<ffffffff810e1e20>] ?
isolate_pages_global+0x0/0x60
Sep 9 10:20:24 lure kernel: [ 1594.997853] [<ffffffff810e4f8f>]
kswapd+0xff/0x160
Sep 9 10:20:24 lure kernel: [ 1594.997862] [<ffffffff81073b90>] ?
autoremove_wake_function+0x0/0x40
Sep 9 10:20:24 lure kernel: [ 1594.997870] [<ffffffff810e4e90>] ?
kswapd+0x0/0x160
Sep 9 10:20:24 lure kernel: [ 1594.997877] [<ffffffff810737a6>]
kthread+0xa6/0xb0
Sep 9 10:20:24 lure kernel: [ 1594.997886] [<ffffffff8101308a>]
child_rip+0xa/0x20
Sep 9 10:20:24 lure kernel: [ 1594.997893] [<ffffffff81073700>] ?
kthread+0x0/0xb0
Sep 9 10:20:24 lure kernel: [ 1594.997900] [<ffffffff81013080>] ?
child_rip+0x0/0x20
Sep 9 10:20:24 lure kernel: [ 1594.997906] ---[ end trace 3ddb878be7c048c7 ]---
Sep 9 10:20:24 lure kernel: [ 1594.997943] PGD a203b067 PUD 59473067 PMD 0
Sep 9 10:20:24 lure kernel: [ 1594.997969] CPU 1
Sep 9 10:20:24 lure kernel: [ 1594.997973] Modules linked in: ppdev vboxnetadp
vboxnetflt vboxdrv microcode sha256_generic cryptd aes_x86_64 aes_generic cbc
dm_crypt lp parport snd_hda_codec_conexant snd_hda_intel snd_hda_codec
snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi arc4
snd_rawmidi snd_seq_midi_event snd_seq ecb snd_timer snd_seq_device iwlagn snd
iwlcore soundcore thinkpad_acpi psmouse led_class heci(C) serio_raw nvram
snd_page_alloc mac80211 cfg80211 e1000e fbcon tileblit font bitblit softcursor
i915 drm i2c_algo_bit video output intel_agp
Sep 9 10:20:24 lure kernel: [ 1594.998069] Pid: 325, comm: kswapd0 Tainted: G
WC 2.6.31-10-generic #30-Ubuntu 74705HG
Sep 9 10:20:24 lure kernel: [ 1594.998075] RIP: 0010:[<ffffffff810323a9>]
[<ffffffff810323a9>] __ticket_spin_lock+0x9/0x20
Sep 9 10:20:24 lure kernel: [ 1594.998086] RSP: 0018:ffff88013707fae0 EFLAGS:
00010086
Sep 9 10:20:24 lure kernel: [ 1594.998091] RAX: 0000000000000100 RBX:
000000000000001f RCX: 000000000001ffff
Sep 9 10:20:24 lure kernel: [ 1594.998097] RDX: 0000000000000000 RSI:
0000000000000082 RDI: 000000000000001f
Sep 9 10:20:24 lure kernel: [ 1594.998103] RBP: ffff88013707fae0 R08:
0000000000000034 R09: 00000000000100bd
Sep 9 10:20:24 lure kernel: [ 1594.998109] R10: 0000000000000005 R11:
0000000000000000 R12: ffffffffffffffff
Sep 9 10:20:24 lure kernel: [ 1594.998115] R13: 0000000000001000 R14:
0000000000000297 R15: 0000000000000799
Sep 9 10:20:24 lure kernel: [ 1594.998122] FS: 0000000000000000(0000)
GS:ffff880028040000(0000) knlGS:0000000000000000
Sep 9 10:20:24 lure kernel: [ 1594.998128] CS: 0010 DS: 0018 ES: 0018 CR0:
000000008005003b
Sep 9 10:20:24 lure kernel: [ 1594.998134] CR2: 000000000000001f CR3:
0000000086400000 CR4: 00000000000006a0
Sep 9 10:20:24 lure kernel: [ 1594.998140] DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
Sep 9 10:20:24 lure kernel: [ 1594.998146] DR3: 0000000000000000 DR6:
00000000ffff0ff0 DR7: 0000000000000400
Sep 9 10:20:24 lure kernel: [ 1594.998153] Process kswapd0 (pid: 325,
threadinfo ffff88013707e000, task ffff880137068000)
Sep 9 10:20:24 lure kernel: [ 1594.998162] ffff88013707faf0 ffffffff81523409
ffff88013707fb20 ffffffff810a00ed
Sep 9 10:20:24 lure kernel: [ 1594.998171] <0> ffffea000263bbc8
0000000000000000 ffff88013910f3d8 ffff88013707fbf0
Sep 9 10:20:24 lure kernel: [ 1594.998181] <0> ffff88013707fb60
ffffffff8111520d ffffea000263bbc8 ffff880137636000
Sep 9 10:20:24 lure kernel: [ 1594.998203] [<ffffffff81523409>]
_spin_lock+0x9/0x10
Sep 9 10:20:24 lure kernel: [ 1594.998212] [<ffffffff810a00ed>]
res_counter_uncharge+0x3d/0x70
Sep 9 10:20:24 lure kernel: [ 1594.998222] [<ffffffff8111520d>]
__mem_cgroup_uncharge_common+0x9d/0x160
Sep 9 10:20:24 lure kernel: [ 1594.998230] [<ffffffff811152db>]
mem_cgroup_uncharge_cache_page+0xb/0x10
Sep 9 10:20:24 lure kernel: [ 1594.998239] [<ffffffff810e2d6b>]
__remove_mapping+0x8b/0x110
Sep 9 10:20:24 lure kernel: [ 1594.998248] [<ffffffff810e2e01>]
remove_mapping+0x11/0x30
Sep 9 10:20:24 lure kernel: [ 1594.998256] [<ffffffff810e108b>]
invalidate_mapping_pages+0x18b/0x220
Sep 9 10:20:24 lure kernel: [ 1594.998265] [<ffffffff8112fdbd>]
prune_icache+0x27d/0x2b0
Sep 9 10:20:24 lure kernel: [ 1594.998273] [<ffffffff8112fe2f>]
shrink_icache_memory+0x3f/0x50
Sep 9 10:20:24 lure kernel: [ 1594.998281] [<ffffffff810e2315>]
shrink_slab+0x125/0x190
Sep 9 10:20:24 lure kernel: [ 1594.998289] [<ffffffff810e4d47>]
balance_pgdat+0x487/0x5d0
Sep 9 10:20:24 lure kernel: [ 1594.998298] [<ffffffff810e1e20>] ?
isolate_pages_global+0x0/0x60
Sep 9 10:20:24 lure kernel: [ 1594.998307] [<ffffffff810e4f8f>]
kswapd+0xff/0x160
Sep 9 10:20:24 lure kernel: [ 1594.998314] [<ffffffff81073b90>] ?
autoremove_wake_function+0x0/0x40
Sep 9 10:20:24 lure kernel: [ 1594.998323] [<ffffffff810e4e90>] ?
kswapd+0x0/0x160
Sep 9 10:20:24 lure kernel: [ 1594.998330] [<ffffffff810737a6>]
kthread+0xa6/0xb0
Sep 9 10:20:24 lure kernel: [ 1594.998337] [<ffffffff8101308a>]
child_rip+0xa/0x20
Sep 9 10:20:24 lure kernel: [ 1594.998346] [<ffffffff81073700>] ?
kthread+0x0/0xb0
Sep 9 10:20:24 lure kernel: [ 1594.998353] [<ffffffff81013080>] ?
child_rip+0x0/0x20
Sep 9 10:20:24 lure kernel: [ 1594.998452] RSP <ffff88013707fae0>
Sep 9 10:20:24 lure kernel: [ 1594.998463] ---[ end trace 3ddb878be7c048c8 ]---
ProblemType: Bug
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: luka 11369 F.... knotify4
luka 11409 F.... kmix
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf2620000 irq 17'
Mixer name : 'Conexant CX20561 (Hermosa)'
Components : 'HDA:14f15051,17aa20ff,00100000'
Controls : 15
Simple ctrls : 8
Date: Wed Sep 9 15:44:25 2009
DistroRelease: Ubuntu 9.10
MachineType: LENOVO 74705HG
Package: linux-image-2.6.31-10-generic 2.6.31-10.30
PccardctlIdent:
PccardctlStatus:
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.31-10-generic root=/dev/mapper/plain-root
ro quiet splash
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
LANGUAGE=
ProcVersionSignature: Ubuntu 2.6.31-10.30-generic
RelatedPackageVersions: linux-firmware 1.16
SourcePackage: linux
Uname: Linux 2.6.31-10-generic x86_64
dmi.bios.date: 12/19/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 6DET38WW (2.02 )
dmi.board.name: 74705HG
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias:
dmi:bvnLENOVO:bvr6DET38WW(2.02):bd12/19/2008:svnLENOVO:pn74705HG:pvrThinkPadX200s:rvnLENOVO:rn74705HG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 74705HG
dmi.product.version: ThinkPad X200s
dmi.sys.vendor: LENOVO
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug
--
oops in kswapd0 when moving large file on system w/o swap
https://bugs.launchpad.net/bugs/426838
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs