Overclock.net banner

1 - 18 of 18 Posts

·
Registered
Joined
·
812 Posts
Discussion Starter · #1 ·
okay so i popped in a newly burnt copy of knoppix 6.2 i used gparted and resized gentoo partion to have more space but then i rebooted and logged in to gentoo with xfce as my envieonment with slim login... but i noticed that i cannot sync portage so i brought up conky and found that i had no ip address but was showing that i was connected to essid i use... also ran rc-update and guess what it says xdm crashed, net.wlan0 stopped, and dhcpcd stopped so i run sudo dhcpcd and it says /sbin/dhcpcd cannot execute binary file i was like uhh??? tried rebooting and reinstalling dhcpcd..

out of all ofthese issues first xdm crashing ***? i would like to know how to remove seesions that are saved because my default session is set to compiz-fusion which i unmerged! but still when i log in still is in compiz-fusion mode which is broken so i get an X for a pointer and no moving windows or closing windows outside of file -> exit/close!

i went back to xfwm so what can i do?

also my wireless internet doesn't work so i am totally in a bind any help would be great! i think it is either a new package or something tbat happened when i was using knoppix livecd because now i have no internet!!!

edit:

okay one other thing is click the firefox icon and all it gives me is a very small square i then resize it bigger and it says mozilla on the top but it is a totally blank window!
 

·
Premium Member
Joined
·
29,533 Posts
Sounds like some non-64bit packages have been installed on a pure 64-bit system. I assume you're running a non-multilib install?

What does these commands return?

Code:

Code:
file /sbin/dhcpcd
file /bin/bash
If they do NOT have the same output, then something went wrong and you need to reemerge basically most of your system.
 

·
Registered
Joined
·
68 Posts
"Cannot execute binary file" is most likely due to messed up/missing 32-bit/64-bit libraries, as gonX mentioned.
 

·
Registered
Joined
·
812 Posts
Discussion Starter · #5 ·
okay so i should just what? use -multilib flag?

i would probably have to emerge --ask --verbose --newuse --deep --emptytree world?

i will try and hardline using net.eth0 and see if that doesn't help me reinstall the dang dhcpcd you think that running livecd of knoppix had overwritten dhcpcd config file? because i have run systemrescuecd non x86_64 and never had this issue and well i haven't updated dhcpcd in some time.....

so about the xfwm4 issue? is there a config option i could delete the session Default? and have my new_session which is where xfwm4 is...the Default session is still somehow running compiz-fusion! which is not running well on my laptop for some reason so i had it unmerged because xfwm4 --replace was crashing the xorg-server 1.7.5...
 

·
Premium Member
Joined
·
29,533 Posts
Ok something else is wrong if it just says "data"
This is what mine returns:

Code:
Code:
# file /sbin/dhcpcd
/sbin/dhcpcd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
Something is seriously messed up with your system. The resize may have broken something.
Does your filesystem even support resizing?
 

·
Registered
Joined
·
812 Posts
Discussion Starter · #7 ·
Code:
Code:
[email protected] ~ $ file /bin/bash
/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
[email protected] ~ $ file /sbin/dhcpcd
/sbin/dhcpcd: data
[email protected] ~ $ file /etc/init.d/dhcpcd
/etc/init.d/dhcpcd: a /sbin/runscript script text executable

[email protected] ~ $ sudo emerge --info dhcpcd
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-AMD_Turion-tm-_X2_Dual-Core_Mobile_RM-72-with-gentoo-2.0.1
Timestamp of tree: Thu, 11 Mar 2010 18:30:01 +0000
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* [email protected]"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --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 a52 aac acl acpi alsa amd64 apm asl audacious berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib cups cxx dbus divx dmx dpms dri dts dvd dvdr eds emboss encode evo exif extras fam firefox flac fontconfig fortran ftp fts3 gdbm gecko gif glitz gnutils gnutls gpm gsm gstreamer gtk hal iconv jpeg ldap libnotify live lock mad matroska menu-plugin mikmod mmx mng modules mp2 mp3 mp4 mpeg mudflap multilib ncurses nls npp nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl php plugins png postscript ppds pppd python qt3support qt4 quicktime readline reflection sasl sdl secure-delete session spell spl sse sse2 ssl startup-notification svg symlink synaptics sysfs tcpd theora thunar tiff tk trash-plugin true1 truetype unicode usb vorbis wifi x264 xanim xcb xcomposite xfce xfs xml xorg xulrunner xv xvid 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

=================================================================
                        Package Settings
=================================================================

net-misc/dhcpcd-5.2.1 was built with the following:
USE="(multilib) zeroconf"
sorry this is what i get when i do do /sbin/dhcpcd i get data...

i am going to download from ebuilds the newest dhcpcd in windows and just move to /usr/portage/distfiles and then re-emerge

***EDIT***

so downloading and coping over the 5.1.2 dhcpcd .tar file helped and i can actually now use the internet but i think i also need to re-emerge mozilla-firefox because it is still f'ed up!

i also was trying to figure out what is wrong with xfwm4 and well when i went to log in as root it kicked me out of xfce and went down to tty3 and had me re log in..which i can log in through cli as root but i cannot startx it will crash even if i did /etc/init.d/xdm stop to clear xdm out of tty7 and then restart x as root it won't go!

also gtk+ 2.xx is whinning about not having a crux-engine? i tryed to search in portage for crux-engine with no success any advice on this?
 

·
Premium Member
Joined
·
29,533 Posts
Reemerge world. It's the only thing you can do.
 

·
Premium Member
Joined
·
29,533 Posts
Exactly
 

·
Registered
Joined
·
812 Posts
Discussion Starter · #11 ·
okay well i got to like ~150 packages re-emerge but then i got this...

Code:
Code:
Can't load '/usr/lib64/perl5/5.10.1/x86_64-linux/auto/POSIX/POSIX.so' for module POSIX: /usr/lib64/perl5/5.10.1/x86_64-linux/auto/POSIX/POSIX.so: invalid ELF header at /usr/lib64/perl5/5.10.1/x86_64-linux/XSLoader.pm line 70.
 at /usr/lib64/perl5/5.10.1/x86_64-linux/POSIX.pm line 36
Compilation failed in require at ../lib/Autom4te/FileUtils.pm line 265.
BEGIN failed--compilation aborted at ../lib/Autom4te/FileUtils.pm line 265.
Compilation failed in require at ../bin/autom4te line 41.
BEGIN failed--compilation aborted at ../bin/autom4te line 41.
make[2]: *** [autoconf.in] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.65/work/autoconf-2.65/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-devel/autoconf-2.65/work/autoconf-2.65'
make: *** [all] Error 2
 * ERROR: sys-devel/autoconf-2.65 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 195:  Called die
 * The specific snippet of code:
 *       emake -j1 || die
 * 
 * If you need support, post the output of 'emerge --info =sys-devel/autoconf-2.65',
 * the complete build log and the output of 'emerge -pqv =sys-devel/autoconf-2.65'.
 * The complete build log is located at '/var/tmp/portage/sys-devel/autoconf-2.65/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/autoconf-2.65/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/autoconf-2.65/work/autoconf-2.65'

>>> Failed to emerge sys-devel/autoconf-2.65, Log file:
 

·
Premium Member
Joined
·
29,533 Posts
Redownload stage3, reemerge perl and uh, do it again :/
 

·
Registered
Joined
·
812 Posts
Discussion Starter · #13 ·
okay so u want me to redownload and install stage 3? and reinstall perl...gotcha!


*****edit****

was wondering if i could use a stage 1 instead?? i really don't understand the difference between stage 3 and 1 i know that stage 3 is a base system...and i know a stage 4 would be like a livecd or a backup image of your system with all it's packages installed like a running system...but is it better to use a stage 1 and how would i go about installing a stage 1 without having to totally reinstall gentoo???
 

·
Premium Member
Joined
·
29,533 Posts
Since you don't understand the difference, then no, you don't need to install a stage1. Stage3 is the only one that has the programs you need. It bootstraps the system.
 

·
Registered
Joined
·
812 Posts
Discussion Starter · #15 ·
soo will i have to make a backup copy of my make.conf? or any other config file like wpa_supplicant and xdm.conf?

also reinstall everything? so like reinstall things from scratch or is the stage 3 just replacing the base system files?....

i run ~amd64 so would like gcc change cause issues or anything like that?

just trying to make sure i don't have to come back with more questions and can get this taken care of faster??? so is there anything i need to know about reinstalling stage3???
 

·
Registered
Joined
·
812 Posts
Discussion Starter · #16 ·
okay so i think i also figured out why my login manager was freaking out with logging in as root and what not..so i am going to switch from slim login manager because i found out it is no longer supported there on numerous patches but i don't like having to keep up with patches....so if it doesn't work from me getting it from portage then i don't want to use it...

is there something light weight juxtapose slim that i could use...else i get to use ugly xdm!
 

·
Premium Member
Joined
·
29,533 Posts
You could use some sort of startx script in a .bashrc. Log in from terminal and you'd get logged in asap.

I don't care much for security, so I have this line in /etc/rc.local:

Code:
Code:
su - root -c '/bin/bash -c /usr/bin/startx' &
 

·
Registered
Joined
·
812 Posts
Discussion Starter · #18 ·
okay so i ran perl-cleaner also did download the newest stage 3 build and i placed it at / but when i went to extract the tar file it was all ./ files so did i do something wrong??? should i have deleted something or did something different???

****EDIT****

if you saw my output of the portage error automake-2.65 failes to re-emerge so i am wondering if even after reinstall the stage 3 and running perl cleaner if this is some other problem should i mask autoconf-2.65 and use a lower version? also the aclocal on a world update fails!!!
 
1 - 18 of 18 Posts
Top