Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

rm -rf: "function not implemented" SOLVED

Have an x86-64 problem? Post here.
Locked
Advanced search
11 posts • Page 1 of 1
Author
Message
FIy
n00b
n00b
Posts: 72
Joined: Fri Jun 24, 2005 10:22 am
Location: Hamburg, Germany

rm -rf: "function not implemented" SOLVED

  • Quote

Post by FIy » Thu Feb 22, 2007 7:44 am

I could cry.

This should be about my twentieth gentoo installation and so far i was so happy. i just wanted to restart with a fresh on my laptop after having a dirty one playing around with a few things.. but i just cannot come over the damn emerge system! I tried it about 5 times.. with bootstraping, without, with emerge -e system , without -e, i use such a basic make.conf with only a few use flags and cflags = " -march=athlon64 -O2 -pipe" which imho should work.. ... but when it comes to, say glibc during emerge system (this is the point where i see the errors) rm -rf returns with: "rm -rf function not implemented" ... i cant see, it would be worth going on when even rm -r is not working ... is just me? is it the whole 2006.1 release not working? or do i miss something else? but i havent found anything about that topic in the forums.. any help is appreciated, as you can imagine, i am quiet desperate at this point of time..
Last edited by FIy on Thu Feb 22, 2007 5:54 pm, edited 2 times in total.
Top
erikm
l33t
l33t
Posts: 634
Joined: Tue Feb 08, 2005 12:03 pm

  • Quote

Post by erikm » Thu Feb 22, 2007 9:47 am

There is absolutely nothing wrong with the 2006.1 AMD64 release. Please post actual questions, with actual error messages and relevant background information (e.g. 'emerge --info'), and we'll help you out.
Top
FIy
n00b
n00b
Posts: 72
Joined: Fri Jun 24, 2005 10:22 am
Location: Hamburg, Germany

  • Quote

Post by FIy » Thu Feb 22, 2007 9:53 am

actual question: why does emerge system not work on a naked 2006.1 stage 3

error message:

Code: Select all

# mkdir test; touch foo
# rm -rf test
rm: cannot remove 'test/foo': function not implemented
emerge --info

Code: Select all

Portage 2.1.2-r10 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r8 x86_64 unknown
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 21 Feb 2007 19:30:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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.23b
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 arts berkdb bitmap-fonts cli cracklib crypt cups dri fortran gd gd-lib gdbm gnome gpm iconv ipv6 isdnlog jack libg++ midi ncurses nls nptl nptlonly pam pcre perl png ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode utf-8 xorg 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Top
erikm
l33t
l33t
Posts: 634
Joined: Tue Feb 08, 2005 12:03 pm

  • Quote

Post by erikm » Thu Feb 22, 2007 9:59 am

If you install from a chroot, did you mount /proc first, as per the handbook install instructions, or if you booted from the stage3, is your fstab somehow corrupted?
Last edited by erikm on Thu Feb 22, 2007 10:01 am, edited 1 time in total.
Top
ali3nx
l33t
l33t
User avatar
Posts: 732
Joined: Sun Sep 21, 2003 4:28 am
Location: Winnipeg, Canada
Contact:
Contact ali3nx
Website

  • Quote

Post by ali3nx » Thu Feb 22, 2007 10:01 am

FIy wrote:actual question: why does emerge system not work on a naked 2006.1 stage 3

error message:

Code: Select all

# mkdir test; touch foo
# rm -rf test
rm: cannot remove 'test/foo': function not implemented
emerge --info

Code: Select all

Portage 2.1.2-r10 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r8 x86_64 unknown
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 21 Feb 2007 19:30:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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.23b
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 arts berkdb bitmap-fonts cli cracklib crypt cups dri fortran gd gd-lib gdbm gnome gpm iconv ipv6 isdnlog jack libg++ midi ncurses nls nptl nptlonly pam pcre perl png ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode utf-8 xorg 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
change your ACCEPT_KEYWORDS values to ACCEPT_KEYWORDS="amd64" and most of your issues will be gone.
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Top
FIy
n00b
n00b
Posts: 72
Joined: Fri Jun 24, 2005 10:22 am
Location: Hamburg, Germany

  • Quote

Post by FIy » Thu Feb 22, 2007 10:03 am

i chrooted from a working installation, yes mounted proc... uhm didnt set fstab in this try, but i cant see how this could be related to the error ;-\

actual steps i made:

- mkfs.reiserfs /dev/hda1
- mount /dev/hda1 /mnt/target
- download stage3 and unpacked
- chroot /mnt/target /bin/bash
- modify /etc/make.conf /etc/locale.gen , set /etc/localtime
- emerge --sync && emerge system
Top
FIy
n00b
n00b
Posts: 72
Joined: Fri Jun 24, 2005 10:22 am
Location: Hamburg, Germany

  • Quote

Post by FIy » Thu Feb 22, 2007 10:05 am

change your ACCEPT_KEYWORDS values to ACCEPT_KEYWORDS="amd64" and most of your issues will be gone.
ok, i'll give that a try.. although i understood the ~ tree as "testing" not as "broken"
Top
erikm
l33t
l33t
Posts: 634
Joined: Tue Feb 08, 2005 12:03 pm

  • Quote

Post by erikm » Thu Feb 22, 2007 10:05 am

FIy wrote:i chrooted from a working installation, yes mounted proc... uhm didnt set fstab in this try, but i cant see how this could be related to the error ;-\

actual steps i made:

- mkfs.reiserfs /dev/hda1
- mount /dev/hda1 /mnt/target
- download stage3 and unpacked
- chroot /mnt/target /bin/bash
- modify /etc/make.conf /etc/locale.gen , set /etc/localtime
- emerge --sync && emerge system
fstab wrote:#NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
Read the link I posted, check your fstab and that /proc is properly mounted when rm doesn't work.
Top
erikm
l33t
l33t
Posts: 634
Joined: Tue Feb 08, 2005 12:03 pm

  • Quote

Post by erikm » Thu Feb 22, 2007 10:10 am

FIy wrote:
change your ACCEPT_KEYWORDS values to ACCEPT_KEYWORDS="amd64" and most of your issues will be gone.
ok, i'll give that a try.. although i understood the ~ tree as "testing" not as "broken"
You understood correctly. AFAIK, coreutils is not broken like this in ~amd64. Again, read the link, follow the link the guy posts, and make sure /proc is there with the right permissions when you build coreutils.
Top
FIy
n00b
n00b
Posts: 72
Joined: Fri Jun 24, 2005 10:22 am
Location: Hamburg, Germany

  • Quote

Post by FIy » Thu Feb 22, 2007 10:14 am

:oops: works thanks erikm. didnt saw the link before..

although i don't understand, because i'm pretty sure that i had mounted proc properly into the chrooted system.. but indeed the rm -rf problem seems to be related to that. okay i'll see if i come through it now.. thx again
Top
erikm
l33t
l33t
Posts: 634
Joined: Tue Feb 08, 2005 12:03 pm

  • Quote

Post by erikm » Thu Feb 22, 2007 10:17 am

FIy wrote::oops: works thanks erikm. didnt saw the link before..

although i don't understand, because i'm pretty sure that i had mounted proc properly into the chrooted system.. but indeed the rm -rf problem seems to be related to that. okay i'll see if i come through it now.. thx again
Np, I'm always happy to help out :D . If I had a penny for every time I've seen permissions and / or mounts magically screwed up... :wink:
Top
Locked

11 posts • Page 1 of 1

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic