When using gcc-4.2.0 to generate a kernel and also openafs-kernel, a strange error occur that appear in directory listings when a file permissions, size, time changed are shown with question marks instead of values. When recompiling kernel+openafs with gcc-4.1.2 the problem disappears. Reproducible: Always Steps to Reproduce: 1.Compile kernel (tested 2.6.20-r6 and 2.6.22-r[67] 2.Compile openafs-1.4.4 (all versions of 1.4.4) 3.insert openafs modules and get a token and list a directory Actual Results: Listing with ???? instead of values Expected Results: Normal directory listing
emerge --info please.
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r7 x86_64) ================================================================= System uname: 2.6.22-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3400+ Timestamp of tree: Fri, 28 Sep 2007 04:00:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-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 sys-devel/binutils: 2.18 sys-devel/gcc-config: 1.4.0-r2 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LINGUAS="en pt pt_BR" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/my_portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d a52 aac aalib acl acpi alsa amd64 apache2 arts asf atk audiofile avi berkdb bitmap-fonts bzip2 bzlib cairo cdparanoia cdr cli cracklib cross crypt cscope ctype cups curl curlwrappers dba dbus divx4linux doc dri dvd dvdr dvdread eds emboss encode esd ethereal evo fam ffmpeg firefox flac fontconfig foomaticdb fortran gd gdbm ggi gif glitz glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv icq imagemagick imap imlib innodb ipod ipv6 isdnlog jabber java joystick jpeg kde kerberos ldap lesstif libcaca libg++ lm_sensors logrotate mad matroska mcal midi mikmod mime mmap mmx mng motif mp3 mp4 mpeg mplayer mudflap musicbrainz mysql ncurses nls no-seamonkey nptl nptlonly ofx ogg oggvorbis openal opengl openmp oss pam pcre pdf pdflib perl php pic plotutils png postgres ppds pppd python qt qt3 qt3support qt4 quicktime readline realmedia reflection rtc samba scanner sdl session shared sharedmem slp sndfile soap sockets speex spell spl sse sse2 ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis vorbisi wmp x264 xine xml xml2 xorg xpm xsl xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt pt_BR" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Both my x86 and my alpha show similar symptoms. When doing "ls" on openafs built with gcc-4.2 I get a lot of "No such file or directory" errors, consequently showing a lot of question marks in the listing for these files. When rebuilding with gcc-4.1.2, the problem disappears. Note: only the openafs-kernel package seems to matter. Ebuild openafs-kernel built with gcc-4.1.2, combined with ebuild openafs (built with either 4.1.2 and 4.2) works correctly on my x86.
Also appears with gcc-4.2.1 (USE=vanilla)
See openafs-info mailinglist (.http://www.nabble.com/Strange-access-problems-on-one-client-tf4256181.html#a13077327). This happens when openafs is compiled with gcc 4.2.x. Compiling with gcc 4.1 should solve the problem. The mailinglist thread also has a patch.
Fixed in openafs / openafs-kernel version 1.4.5_pre1