Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154974 - reiserfsprogs-3.6.20 fails on devices with non-standard journals - regression since 3.6.19
Summary: reiserfsprogs-3.6.20 fails on devices with non-standard journals - regression...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-13 01:13 UTC by Robin Johnson
Modified: 2007-01-12 11:29 UTC (History)
2 users (show)

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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-11-13 01:13:58 UTC
This is a regression from reiserfsprogs-3.6.19.
The follow reproduce it uses a normal file, but the identical behavior is present with actual block devices. The only interesting bit is that I make a device with a non-standard size journal. In this case maxing the journal size out, however it also occurs if I use a smaller than default journal.

Make the filesystem:
# dd if=/dev/zero of=/tmp/fs bs=1M count=1024
# mkfs.reiserfs -s 32749 -f /tmp/fs

FSCK using 3.6.20:
# fsck.reiserfs -a /tmp/fs
Filesystem with non-standard journal found, failed to find a block device (0:0) in /dev.
Create such a device in /dev or specify the journal device with -j option.
Failed to open the journal device ((null)).
# echo $?
8

FSCK using 3.6.19
# reiserfsck -a /tmp/fs 
Reiserfs super block in block 16 on 0x0 of format 3.6 with non-standard journal
Blocks (total/free): 262144/229369 by 4096 bytes
Filesystem is clean
Replaying journal..
No transactions found
Checking internal tree..finished
# echo $?
0

This error causes /etc/init.d/checkfs to go into single user mode at every boot on stable baselayout, and alpha7 of the new baselayout screws up even worse.

Portage 2.1.2_rc1-r5 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-rc4 x86_64)
=================================================================
System uname: 2.6.19-rc4 x86_64 Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
Gentoo Base System version 1.13.0_alpha7
Last Sync: Unknown
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/home/gentoo/distfiles"
FEATURES="assume-digests autoaddcvs autoconfig buildpkg ccache collision-protect cvs digest distlocks metadata-transfer mirror parallel-fetch sandbox sfperms splitdebug strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en en_CA en_US en_GB en_ZA"
MAKEOPTS="-j4"
PKGDIR="/home/gentoo/packages/grubb-int/"
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"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC=""
USE="amd64 aalib acl acpi adns aio alsa amd apache2 apm berkdb bitmap-fonts cairo cdr cgi clearpasswd cli cracklib crypt cups curl divx4linux dlloader dri dvd dvdr elibc_glibc encode f77 fam foomaticdb fortran frxp gcj gd gdbm geoip gif glitz gpgme hpn iconv idn imap innodb input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_void ipalias ipv6 isdnlog jikes jpeg junit kernel_linux libwww linguas_en linguas_en_CA linguas_en_GB linguas_en_US linguas_en_ZA logrotate mad maildir mailwrapper mcal md5sum mikmod mp3 mpeg mpm-prefork multicall mysql ncurses nptl nptlonly objc offensive ogg pam pcap pcre pdf pdflib perl pic plotutils png pnp ppds pppd python qmail readline reflection samba scanner session slp smime snmp socks5 spell spl ssl svg tetex tiff truetype truetype-fonts type1 type1-fonts udev ungif unicode usb userland_GNU userlocales v4l v4l2 vhosts video_cards_dummy video_cards_fbdev video_cards_i810 video_cards_nv video_cards_v4l video_cards_vesa video_cards_vga vorbis xml xml2 xorg xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2006-12-28 12:25:36 UTC
package masked 3.6.20 ... this issue should be taken upstream
Comment 2 Duncan 2007-01-12 11:29:56 UTC
FWIW, I don't see this here.  100% reiserfs system here, some filesystems with larger than default journals, some with smaller.  Also running ~amd64, gcc-4.1.1, baselayout-1.13.0-alphas, but perhaps critically, I package.masked glibc-2.5 due to unrelated issues (xmms/amarok/kaffeine instability due to memory allocation errors -- only on glibc-2.5 tho), and am back on glibc-2.4-rX.  Additionally, I'm running Authentic AMD64 hardware (dual Opteron) while the reporter is running Intel em64t, so it may possibly be instruction set implementation or gcc nocona optimization related.

Robin: If this has been filed upstream, please link the bug.