Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67462 - shared memory not available in 32bit chroot environment while there in 64bit mode
Summary: shared memory not available in 32bit chroot environment while there in 64bit ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-13 14:05 UTC by Eduard Martinescu
Modified: 2004-12-16 11:13 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 Eduard Martinescu 2004-10-13 14:05:16 UTC
With both kenerels gentoo-dev-sources-2.6.8-r4 and r8, I can not see any share memory, semaphores, or message queues when in my 32 bit chroot environment.  Using the command 'ipcs', I get normal output when in 64 bit mode.  However, if I switch to the 32bit chroot, I get 'kernel not configured' messages.  Same thing happens if I run the 32 bit 'ipcs' command without changing to 32 bit chroot via 'linux32 /32chroot/usr/bin/ipcs'  Booting with kernel 2.6.7-gentoo-r14 works correctly without any other changes.

Reproducible: Always
Steps to Reproduce:
1. Run 32 bit version of 'ipcs' command
2.
3.

Actual Results:  
Recieved 'kernel not configured' messages 

Expected Results:  
Returned appropriate output similar to this: 
 
------ Shared Memory Segments -------- 
key        shmid      owner      perms      bytes      nattch     status 
0x00000000 0          root      777        49152      1 
0x00000000 32769      ed        777        196608     2          dest 
0x00000000 557058     ed        600        196608     2          dest 
0x00000000 589827     ed        600        393216     2          dest 
0x00000000 688132     ed        600        393216     2          dest 
0x00000000 720901     ed        600        196608     2          dest 
 
------ Semaphore Arrays -------- 
key        semid      owner      perms      nsems 
 
------ Message Queues -------- 
key        msqid      owner      perms      used-bytes   messages 
 
 

Working version below.  Only change to make it not work is switch to 2.6.8 
kernel (built using same config): 
System uname: 2.6.7-gentoo-r14 x86_64 4 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 
Headers:  sys-kernel/linux26-headers-2.6.6-r1 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distlocks" 
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.mirrored.ca/ 
http://gentoo.mirrors.pair.com/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib alsa amd64 apm arts artswrappersuid avi berkdb bitmap-fonts 
bonobo cdr crypt cups doc emacs encode esd f77 foomaticdb gdbm gif gnome 
gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jikes jpeg kde ldap libg++ 
libwww mailwrapper mikmod motif mozilla mpeg multilib nas ncurses nogcj 
oggvorbis opengl oss pam pda pdflibperl pic png python qt quicktime readline 
samba sdl slang spell ssl tcltk tcpd truetype xml2 xmms xosd xprint xv zlib"
Comment 1 Herbie Hopkins (RETIRED) gentoo-dev 2004-10-25 06:28:01 UTC
This issue seems to be fixed in gentoo-dev-sources-2.6.9-r1 which is now marked as stable so I think this bug can be closed.
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2004-12-16 11:13:50 UTC
as herbie said, this should be fixed. please reopen if it is still an issue