Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287875 - kmemcheck catches read from unitialized memory - reiserfs implicated?
Summary: kmemcheck catches read from unitialized memory - reiserfs implicated?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-06 10:04 UTC by M. Prášek
Modified: 2009-11-22 14:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M. Prášek 2009-10-06 10:04:28 UTC
I have this in my dmesg after reboots.

Reproducible: Always

Steps to Reproduce:
1. Reboot machine
2. Read dmesg


Actual Results:  
[   87.221173]  md1:
[   87.243291]  md2: unknown partition table
[   87.319214]  unknown partition table
[  113.713015] WARNING: kmemcheck: Caught 32-bit read from uninitialized memory (ffff8800bc5dd6e0)
[  113.713021] 206e84bc0088ffffe8d65dbc0088ffffe8d65dbc0088ffff0000000000000000
[  113.713047]  u u u u u u u u i i i i i i i i i i i i i i i i u u u u u u u u
[  113.713071]  ^
[  113.713073]
[  113.713076] Modules linked in: arc4 ecb k8temp i2c_viapro hwmon i2c_core rt2500pci rt2x00pci rt2x00lib led_class input_polldev mac80211 cfg80211 rfkill eeprom_93cx6 shpchp
[  113.713100] Pid: 1672, comm: runscript.sh Not tainted 2.6.31-gentoo-r1K4-notick #1 To Be Filled By O.E.M.
[  113.713103] RIP: 0010:[<ffffffff8117ad1e>]  [<ffffffff8117ad1e>] journal_begin+0x11e/0x170
[  113.713114] RSP: 0018:ffff8800bd887a88  EFLAGS: 00010202
[  113.713116] RAX: 0000000000000038 RBX: ffff8800bd887ae8 RCX: 0000000000000006
[  113.713119] RDX: 0000000000000001 RSI: ffff8800bc5dd6e0 RDI: ffff8800bd887b08
[  113.713122] RBP: ffff8800bd887ab8 R08: ffff8800bde43000 R09: 000000000000033c
[  113.713125] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800bde43000
[  113.713128] R13: 0000000000000001 R14: 0000000000000001 R15: ffffea0002ff59c0
[  113.713131] FS:  00007f5a1271b6f0(0000) GS:ffffffff819f2000(0000) knlGS:0000000000000000
[  113.713134] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  113.713137] CR2: ffff8800bf440690 CR3: 00000000bd8c2000 CR4: 00000000000006f0
[  113.713140] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  113.713143] DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
[  113.713145]  [<ffffffff8115ea56>] reiserfs_write_end+0x1b6/0x2d0
[  113.713151]  [<ffffffff8109ffe3>] generic_file_buffered_write+0x123/0x390
[  113.713158]  [<ffffffff810a070d>] __generic_file_aio_write_nolock+0x26d/0x470
[  113.713163]  [<ffffffff810a13c8>] generic_file_aio_write+0x78/0x100
[  113.713167]  [<ffffffff810d5531>] do_sync_write+0x101/0x160
[  113.713172]  [<ffffffff8116217c>] reiserfs_file_write+0x3c/0x80
[  113.713176]  [<ffffffff810d6355>] vfs_write+0xe5/0x1b0
[  113.713180]  [<ffffffff810d653f>] sys_write+0x5f/0xb0
[  113.713184]  [<ffffffff8100b6a8>] system_call_fastpath+0x16/0x1b
[  113.713189]  [<ffffffffffffffff>] 0xffffffffffffffff


Expected Results:  
Should not be...


Portage 2.1.6.13 (default/linux/amd64/10.0/server, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-gentoo-r1K4-notick x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r1K4-notick-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-2.0.1
Timestamp of tree: Mon, 05 Oct 2009 19:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-lang/python:     2.4.4-r4, 2.5.4-r2, 2.6.3, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -march=k8 -O3 -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -ftree-vectorize -fomit-frame-pointer -pipe -fweb "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS=" -march=k8 -O3 -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -ftree-vectorize -fomit-frame-pointer -pipe -fweb "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="cs_CZ.ISO-8859-2"
LC_ALL="cs_CZ.ISO-8859-2"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="cs de es fr pl ru sk "
MAKEOPTS=" -j3 "
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-de /usr/local/portage/layman/php-4 /usr/local/portage/layman/php-testing /usr/local/portage/layman/php-experimental /usr/local/portage/layman/postgresql-experimental /usr/local/portage/layman/postgresql-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi amd64 apache2 async atm authdaemond authfile authlib badval bcmath berkdb big-tables bluetooth bzip2 cairo calendar cardbus ccache cdr cgi checkpath chroot cis clamav clamd cli cluster concurrentmodphp contentcache contrast cracklib crypt ctype cups curl curlwrappers customlog dba dbase dbm dbx dcc dhcp dio disassembler discard-path disk-cache dlz domain-aware dri dvd dvdr eap-tls eb ecc elf emul-linux-x86 esfq exif expat extraengine faillog fakelog fam fastcgi fcgi filter flatfile follow-xff font-server fontconfig force-cgi-redirect fortran ftp gd gdbm geoip geometry gif gmp gpm gps graphicsmagick graphviz gs gsm gtk hal hash hostap hpn iconv icp idea ieee1394 ifsession imagemagick imap inifile innodb inode isdnlog ithreads javascript jbig john jpeg jpeg2k jpg json kerberos ldap libg++ libwww lm_sensors logrotate madwifi maildir mailwrapper matroska max-idx-128 mbox mbx mcal md5sum memcache memlimit mhash mime mmap mmx mng mode-force mode-owner mode-paranoid modperl modules mono mpi mpm-prefork msession multilib mysql mysqlfriends ncurses netpbm neural nls nptl nptlonly objc objc++ objc-gc odbc on-the-fly-crypt openmp openntpd openssh openssl opensslcrypt pam pam-mysql pam_chroot pam_timestamp pci pcmcia pcntl pcre pdf pdo perl pg-hier pg-intdatetime pg-vacuumdelay php png pnp posix postfix postgres pppd pwdb python rar raw razor rc5 readline reflection rewrite rle rrdtool sasl sendfile sensord serial session shaper sharedmem simplexml slang smartcard sndfile snmp soap sockets softquota spamassassin spell spf spl sqlite sse sse2 ssl staticsocket subject-rewrite suexec suhoshin svg sysfs sysvipc szip tcpd threads tidy tiff timezone tokenizer tools transparent-proxy truetype trusted udev unicode unsupported_8bit ups urandom user-homedirs vdda vhosts virus-scan vmdbmysql wddx webdav wifi wmf xbm xinetd xml xmlreader xmlrpc xmlwriter xorg xsl xslt zip 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs de es fr pl ru sk " USERLAND="GNU" VIDEO_CARDS="fbdev glint 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 George Kadianakis (RETIRED) gentoo-dev 2009-10-26 13:16:56 UTC
Please test the following patch and see if you still get the message:
http://patchwork.ozlabs.org/patch/33633/
Comment 2 Mike Pagano gentoo-dev 2009-11-22 14:01:31 UTC
Please let us know if you have luck with the patch referenced in comment #1