Please confirm and add ~ppc64 keyword to sys-block/nbd-2.9.4
# emerge --info Portage 2.1.3_rc6 (default-linux/ppc/ppc64/2007.0/64bit-userland/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r3 ppc64) ================================================================= System uname: 2.6.21-gentoo-r3 ppc64 PPC970FX, altivec supported Gentoo Base System release 1.12.10 Timestamp of tree: Sat, 07 Jul 2007 20:20:01 +0000 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-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.17.50.0.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="ppc64 ~ppc64" AUTOCLEAN="yes" CBUILD="powerpc64-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec -fomit-frame-pointer" CHOST="powerpc64-unknown-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" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userpriv usersandbox" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo " MAKEOPTS="-j2" 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/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acl alsa altivec arts bash-completion bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr eds emboss encode fam firefox flac gdbm gif gnome gpm gstreamer hal iconv ieee1394 imlib isdnlog ithreads jpeg jpeg2k kde libg++ mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl png ppc64 pppd python qt3support quicktime readline reflection session spell spl ssl theora threads tiff truetype truetype-fonts type1-fonts unicode vorbis wma xml xorg xv xvid zlib" 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" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I test built this on a ~ppc64 machine. Was successfully able to export block devices and see them from another (x86) mchine on my lan: # mac-fdisk -l /dev/nbd1 /dev/nbd1 # type name length base ( size ) system /dev/nbd11 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map /dev/nbd12 Apple_Bootstrap bootstrap 1600 @ 64 (800.0k) NewWorld bootblock /dev/nbd13 Apple_Free 260544 @ 1664 (127.2M) Free space /dev/nbd14 Apple_HFS Apple_HFS_Untitled_2 116925293 @ 262208 ( 55.8G) HFS /dev/nbd15 Apple_UNIX_SVR2 swap 2097152 @ 117187501 ( 1.0G) Linux swap /dev/nbd16 Apple_UNIX_SVR2 root 200888403 @ 119284653 ( 95.8G) Linux native Block size=512, Number of Blocks=320173056 DeviceType=0x0, DeviceId=0x0 I'm testing it more in order to verify its useable, but at least the ndb-shared devices are seen.
thanks! added ~ppc64.