FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 01-30-2011, 08:18 PM
SirJective
 
Default Bug#611577: linux-image-2.6.32-5-686: Allocating large chunk of memory locks up the system for several minutes despite no disk i/o occurring

Package: linux-2.6
Version: 2.6.32-30
Severity: important

OK, the swap partition is on an lvm volume inside a luks-encrypted physical volume on my Laptop's harddisk.
I have 2600MB of swap and 1GB of RAM.

When I allocate 2300MB (using malloc and then memset to force
the kernel to actually allocate pages), the system almost freezes up and stays that way for several minutes.
It is NOT swapping during that time. After some time, those '[insert process name] blocked for more than 120 secs'
messages appear on tty1 and in dmesg along with the call traces (it's not limited to console-kit-daemon, it
occurs for all sorts of processes, including cron and even init).
I can switch tty's, unless i trigger the bug in X, but I cant type. After a long time (>10 minutes), the system
becomes responsive again, and actually swaps out the test program that allocates the >2GB.

During the lockup, only negligible disk i/o (~30kb/s) and no cpu activity occurs. I hooked up the Laptop's
harddisk to my desktop computer using a usb adapter and booted it in kvm, and reproduced the bug there,
so I can rule out defective memory etc. (That's also how i figured out the disk activity, using iostat
on the host).
It also renders the lspci appendage useless, which is why i omitted it.


-- Package-specific info:
** Version:
Linux version 2.6.32-5-686 (Debian 2.6.32-30) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Wed Jan 12 04:01:41 UTC 2011

** Command line:
BOOT_IMAGE=/vmlinuz-2.6.32-5-686 root=UUID=[something something] ro resume=/dev/mapper/laptop_crypto-swap cryptoroot=UUID=[something something] quiet

** Not tainted

** Kernel log:
[ 360.593791] [<c126de8b>] ? error_code+0x73/0x78
[ 480.592078] INFO: task console-kit-dae:1726 blocked for more than 120 seconds.
[ 480.594553] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 480.597082] console-kit-d D ef410300 0 1726 1 0x00000000
[ 480.597089] [redacted]
[ 480.597096] [redacted]
[ 480.597103] [redacted]
[ 480.597110] Call Trace:
[ 480.597122] [<c1122c9c>] ? blk_unplug+0x2e/0x31
[ 480.597149] [<f7fa0cde>] ? dm_table_unplug_all+0x38/0x8b [dm_mod]
[ 480.597158] [<c126cbea>] ? io_schedule+0x5f/0x98
[ 480.597164] [<c108743d>] ? sync_page+0x3a/0x3d
[ 480.597168] [<c126cf48>] ? __wait_on_bit_lock+0x31/0x6a
[ 480.597172] [<c1087403>] ? sync_page+0x0/0x3d
[ 480.597176] [<c10873d6>] ? __lock_page+0x76/0x7e
[ 480.597184] [<c1043cf3>] ? wake_bit_function+0x0/0x3c
[ 480.597190] [<c109b8c9>] ? handle_mm_fault+0x649/0x959
[ 480.597196] [<c1046879>] ? lock_hrtimer_base+0x15/0x2f
[ 480.597200] [<c10468f7>] ? hrtimer_try_to_cancel+0x2f/0x35
[ 480.597206] [<c126f927>] ? do_page_fault+0x2f1/0x307
[ 480.597210] [<c126f636>] ? do_page_fault+0x0/0x307
[ 480.597214] [<c126de8b>] ? error_code+0x73/0x78
[ 480.597219] [<c10b00d8>] ? pcpu_alloc_area+0x1/0x29a
[ 480.597226] [<c10be796>] ? do_sys_poll+0x2c3/0x312
[ 480.597230] [<c10bf192>] ? __pollwait+0x0/0xa5
[ 480.597235] [<c10bf237>] ? pollwake+0x0/0x65
[ 480.597239] [<c10bf237>] ? pollwake+0x0/0x65
[ 480.597243] [<c10bf237>] ? pollwake+0x0/0x65
[ 480.597247] [<c10bf237>] ? pollwake+0x0/0x65
[ 480.597252] [<c1007569>] ? sched_clock+0x5/0x7
[ 480.597258] [<c1047bff>] ? sched_clock_local+0x15/0x11b
[ 480.597265] [<c102d1d9>] ? try_to_wake_up+0x2ae/0x2ba
[ 480.597269] [<c10bf293>] ? pollwake+0x5c/0x65
[ 480.597273] [<c102d1e5>] ? default_wake_function+0x0/0x8
[ 480.597279] [<c1020705>] ? __wake_up_common+0x34/0x59
[ 480.597286] [<c10247e4>] ? __wake_up_sync_key+0x33/0x49
[ 480.597293] [<c11cef81>] ? sock_def_readable+0x34/0x5e
[ 480.597299] [<c122fd43>] ? unix_stream_sendmsg+0x210/0x29c
[ 480.597304] [<c11cc579>] ? __sock_sendmsg+0x43/0x4a
[ 480.597308] [<c11cc623>] ? sock_aio_write+0xa3/0xb0
[ 480.597313] [<c10247e4>] ? __wake_up_sync_key+0x33/0x49
[ 480.597317] [<c10c18c3>] ? touch_atime+0xbe/0xd9
[ 480.597322] [<c10b2e19>] ? do_sync_read+0xc0/0x107
[ 480.597327] [<c1043cc6>] ? autoremove_wake_function+0x0/0x2d
[ 480.597332] [<c104adac>] ? ktime_get_ts+0xcd/0xd5
[ 480.597337] [<c10be937>] ? sys_poll+0x44/0x8d
[ 480.597342] [<c10030fb>] ? sysenter_do_call+0x12/0x28
[ 480.597346] INFO: task console-kit-dae:1728 blocked for more than 120 seconds.
[ 480.599893] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 480.602468] console-kit-d D ef410300 0 1728 1 0x00000000
[ 480.602473] [redacted]
[ 480.602480] [redacted]
[ 480.602487] [redacted]
[ 480.602494] Call Trace:
[ 480.602498] [<c1122c9c>] ? blk_unplug+0x2e/0x31
[ 480.602514] [<f7fa0cde>] ? dm_table_unplug_all+0x38/0x8b [dm_mod]
[ 480.602519] [<c126cbea>] ? io_schedule+0x5f/0x98
[ 480.602523] [<c108743d>] ? sync_page+0x3a/0x3d
[ 480.602528] [<c126cf48>] ? __wait_on_bit_lock+0x31/0x6a
[ 480.602531] [<c1087403>] ? sync_page+0x0/0x3d
[ 480.602535] [<c10873d6>] ? __lock_page+0x76/0x7e
[ 480.602540] [<c1043cf3>] ? wake_bit_function+0x0/0x3c
[ 480.602544] [<c109b8c9>] ? handle_mm_fault+0x649/0x959
[ 480.602550] [<c118efad>] ? tty_ioctl+0x0/0x6f0
[ 480.602555] [<c10bdc44>] ? do_vfs_ioctl+0x4aa/0x4e5
[ 480.602561] [<c10331ce>] ? do_exit+0x1e2/0x5cd
[ 480.602567] [<c1038166>] ? exit_ptrace+0x1f/0x103
[ 480.602571] [<c1001f10>] ? __switch_to+0xcf/0x141
[ 480.602575] [<c126f927>] ? do_page_fault+0x2f1/0x307
[ 480.602579] [<c126f636>] ? do_page_fault+0x0/0x307
[ 480.602583] [<c126de8b>] ? error_code+0x73/0x78
[ 480.602587] INFO: task console-kit-dae:1729 blocked for more than 120 seconds.
[ 480.605192] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 480.607833] console-kit-d D ef410300 0 1729 1 0x00000000
[ 480.607838] [redacted]
[ 480.607845] [redacted]
[ 480.607851] [redacted]
[ 480.607858] Call Trace:
[ 480.607862] [<c1122c9c>] ? blk_unplug+0x2e/0x31
[ 480.607876] [<f7fa0cde>] ? dm_table_unplug_all+0x38/0x8b [dm_mod]
[ 480.607881] [<c126cbea>] ? io_schedule+0x5f/0x98
[ 480.607885] [<c108743d>] ? sync_page+0x3a/0x3d
[ 480.607890] [<c126cf48>] ? __wait_on_bit_lock+0x31/0x6a
[ 480.607894] [<c1087403>] ? sync_page+0x0/0x3d
[ 480.607898] [<c10873d6>] ? __lock_page+0x76/0x7e
[ 480.607902] [<c1043cf3>] ? wake_bit_function+0x0/0x3c
[ 480.607907] [<c109b8c9>] ? handle_mm_fault+0x649/0x959
[ 480.607910] [<c118efad>] ? tty_ioctl+0x0/0x6f0
[ 480.607915] [<c10bdc44>] ? do_vfs_ioctl+0x4aa/0x4e5
[ 480.607919] [<c1001f10>] ? __switch_to+0xcf/0x141
[ 480.607923] [<c126f927>] ? do_page_fault+0x2f1/0x307
[ 480.607927] [<c126f636>] ? do_page_fault+0x0/0x307
[ 480.607931] [<c126de8b>] ? error_code+0x73/0x78
[ 1867.286712] composite sync not supported
[ 1891.941687] composite sync not supported
[ 1928.993357] composite sync not supported
[ 1945.000197] b44: eth0: Link is up at 100 Mbps, full duplex.
[ 1945.000201] b44: eth0: Flow control is off for TX and off for RX.
[ 1945.000520] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1955.608021] eth0: no IPv6 routers present

** Model information
not available

** Loaded modules:
Module Size Used by
parport_pc 15799 0
ppdev 4058 0
lp 5570 0
parport 22554 3 parport_pc,ppdev,lp
fuse 44033 1
snd_hda_codec_idt 35293 1
snd_hda_intel 16811 2
snd_hda_codec 46002 2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep 4054 1 snd_hda_codec
snd_pcm_oss 28671 0
snd_mixer_oss 10461 1 snd_pcm_oss
snd_pcm 47226 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi 3576 0
snd_rawmidi 12513 1 snd_seq_midi
snd_seq_midi_event 3684 1 snd_seq_midi
snd_seq 35463 2 snd_seq_midi,snd_seq_midi_event
snd_timer 12258 2 snd_pcm,snd_seq
snd_seq_device 3673 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 34375 15 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_ hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmid i,snd_seq,snd_timer,snd_seq_device
soundcore 3450 1 snd
i915 222254 2
drm_kms_helper 18309 1 i915
snd_page_alloc 5045 2 snd_hda_intel,snd_pcm
ipw2200 108368 0
drm 112088 3 i915,drm_kms_helper
i2c_algo_bit 3497 1 i915
i2c_core 12696 4 i915,drm_kms_helper,drm,i2c_algo_bit
dell_laptop 1557 0
libipw 18439 1 ipw2200
joydev 6739 0
rng_core 2178 0
lib80211 2870 2 ipw2200,libipw
video 14605 1 i915
rfkill 10264 1 dell_laptop
psmouse 44657 0
dcdbas 3892 1 dell_laptop
battery 3782 0
ac 1640 0
output 1204 1 video
serio_raw 2916 0
button 3598 1 i915
processor 26327 1
evdev 5609 19
ext3 94212 5
jbd 32169 1 ext3
mbcache 3762 1 ext3
sha256_generic 10748 2
aes_i586 6816 2
aes_generic 25738 1 aes_i586
cbc 2047 1
dm_crypt 9264 1
dm_mod 46082 18 dm_crypt
sg 15968 0
sr_mod 10770 0
cdrom 26487 1 sr_mod
sd_mod 25977 4
crc_t10dif 1012 1 sd_mod
b44 18472 0
ssb 33714 1 b44
ata_generic 2067 0
mmc_core 38665 1 ssb
uhci_hcd 16057 0
ata_piix 17736 3
pcmcia 16194 1 ssb
libata 115753 2 ata_generic,ata_piix
thermal 9206 0
ehci_hcd 27851 0
pcmcia_core 20450 2 ssb,pcmcia
mii 2714 1 b44
thermal_sys 9378 3 video,processor,thermal
scsi_mod 101429 4 sg,sr_mod,sd_mod,libata
usbcore 98453 3 uhci_hcd,ehci_hcd
nls_base 4541 1 usbcore

** PCI devices: [snip]

** USB devices: [snip]

-- System Information:
Debian Release: 6.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.32-5-686 depends on:
ii debconf [debconf-2.0] 1.5.36 Debian configuration management sy
ii initramfs-tools [linux-initra 0.98.7 tools for generating an initramfs
ii linux-base 2.6.32-30 Linux image base package
ii module-init-tools 3.12-1 tools for managing Linux kernel mo

Versions of packages linux-image-2.6.32-5-686 recommends:
ii firmware-linux-free 2.6.32-30 Binary firmware for various driver
ii libc6-i686 2.11.2-10 Embedded GNU C Library: Shared lib

Versions of packages linux-image-2.6.32-5-686 suggests:
ii grub 0.97-64 GRand Unified Bootloader (dummy pa
pn linux-doc-2.6.32 <none> (no description available)

Versions of packages linux-image-2.6.32-5-686 is related to:
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
ii firmware-ipw2x00 0.28 Binary firmware for Intel Pro Wire
pn firmware-ivtv <none> (no description available)
pn firmware-iwlwifi <none> (no description available)
pn firmware-linux <none> (no description available)
pn firmware-linux-nonfree <none> (no description available)
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)

-- debconf information:
linux-image-2.6.32-5-686/prerm/removing-running-kernel-2.6.32-5-686: true
linux-image-2.6.32-5-686/postinst/depmod-error-initrd-2.6.32-5-686: false
linux-image-2.6.32-5-686/postinst/ignoring-do-bootloader-2.6.32-5-686:
linux-image-2.6.32-5-686/postinst/missing-firmware-2.6.32-5-686:



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110130211808.7394.3860.reportbug@localhost">http ://lists.debian.org/20110130211808.7394.3860.reportbug@localhost
 

Thread Tools




All times are GMT. The time now is 03:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org