Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273481 - sys-kernel/hardened-sources-2.6.28-r9 crash on reboot and shutdown with CONFIG_PAX_REFCOUNT enabled
Summary: sys-kernel/hardened-sources-2.6.28-r9 crash on reboot and shutdown with CONFI...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-10 08:02 UTC by Lukasz Czarniecki
Modified: 2011-01-21 12:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config (config,40.34 KB, text/plain)
2009-06-10 08:08 UTC, Lukasz Czarniecki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukasz Czarniecki 2009-06-10 08:02:56 UTC
Disabling CONFIG_PAX_REFCOUNT fixes the problem.

Trigger:
shutdown -h now
or 
shutdown -r now

Reproducible always. Happens in the moment when the serwer is supposed to power cycle. System hangs with following error:

[...]
Remounting remaining filesystems readonly ... ok

Code: 79 6c 80 e8 16 6d 10 00 48 8d 7b 10 e8 44 8d f7 ff f0 81 83 78 02 00 00 f 
Stack:
 0000000000000001 ffffffff803fc598 ffff88007fb4d000 ffff88007edb74e0
 00000000fee1dead ffffffff803fc3f1 ffff88007fb4e800 ffff88007fb4d000
Call Trace:
 [<ffffffff803fc598>] ? ioat_dma_remove+0x15/0xf3
 [<ffffffff803fc3f1>] ? ioat_shutdown_functionality+0x61/0x70
 [<ffffffff803167ab>] ? pci_device_shutdown+0x1c/0x2d
 [<ffffffff80373957>] ? device_shutdown+0x48/0x8e
 [<ffffffff802339cb>] ? kernel_restart_prepare+0x27/0x2d
 [<ffffffff80233a01>] ? kernel_restart+0x9/0x38
 [<ffffffff80233b47>] ? sys_reboot+0x110/0x13a
 [<ffffffff8023762f>] ? bit_waitqueue+0x10/0x8e
 [<ffffffff80283831>] ? d_kill+0x58/0x61
 [<ffffffff80289556>] ? mntput_no_expire+0x27/0x133
 [<ffffffff80273fc9>] ? filp_close+0x50/0x57
 [<ffffffff8020233b>] ? system_call_fastpath+0x16/0x1b

uname -a
Linux localhost 2.6.28-hardened-r9 #1 SMP Wed Jun 10 08:40:38 CEST 2009 x86_64 Intel(R) Xeon(R) CPU E5405 @ 2.00GHz GenuineIntel GNU/Linux

emerge --info
Portage 2.1.6.13 (hardened/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-hardened-r9 x86_64)
=================================================================
System uname: Linux-2.6.28-hardened-r9-x86_64-Intel-R-_Xeon-R-_CPU_E5405_@_2.00GHz-with-glibc2.2.5
Timestamp of tree: Mon, 08 Jun 2009 01:45:02 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt dri gdbm gpm hardened iconv isdnlog justify midi mmx mudflap multilib ncurses nptl nptlonly pam pcre perl pic pppd python readline reflection session spl sse sse2 sse3 ssl sysfs tcpd urandom xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Lukasz Czarniecki 2009-06-10 08:08:39 UTC
Created attachment 194088 [details]
config
Comment 2 Anthony Basile gentoo-dev 2010-07-08 10:22:57 UTC
The latest stable kernel is 2.6.32-r9.  Can you test with that and see if this is still an issue?
Comment 3 Anthony Basile gentoo-dev 2011-01-21 12:02:19 UTC
This kernel is off the tree, so I'm closing this bug.