Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
boot up scripts freeze and cannot compile [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
diaconal
n00b
n00b


Joined: 03 Oct 2004
Posts: 70

PostPosted: Mon Jan 08, 2007 12:30 am    Post subject: boot up scripts freeze and cannot compile [solved] Reply with quote

Hi,

Recently I enabled DRI on my 845G video and although things were going smoothly, my system would lock on a shutdown (exiting from X). Now, this happened a few times last week and today also when I was trying to figure out the issue. Now, as of 2 hours ago, I rebooted my system (after a lock up) and /etc/init.d/ntp-client could not get time and /etc/init.d/local start up would not complete. I can press Ctrl+Alt+Del to call a restart, i.e. it is not a lock up but I could not get to the login promt (I have xdm disabled for now).

So, on my next boot I used 'Interactive boot' by pressing i, and exiting directly to prompt. I ran the scripts manually and anything to do with network, didn't work: ntp-client, ssh, links, etc. I was getting an ip from dhcpcd. So, I thought maybe I messed up my kernal settings (the last thing I did before my lockup) so I changed it back and tried to recompile, and I could not get passed the

Code:

'[something] compile.h'


line, I can't remember exactly what it was. I can hit Ctrl+c, so its not a lockup. Right now I'm running of a livecd. So, I used the livecd to recompile my kernel successfully, and chroot'ed to

Code:

emerge baselayout


just in case. Also, I ran 'reiserfsck --fix-fixable /drive' and it reported no corruptions. Also, within my 'chroot'ed evn, I can't compile most things, or use the network (ping, links).

So, I have a fairly botched system and I really don't know where to start. Right now I'm backing up my system just in case I mess it more while trying to fix it. Thanks for your help in advance!

emerge --info

Code:

Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 unknown
Gentoo Base System version 1.12.6
Last Sync: Sat, 06 Jan 2007 08:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.gentoo.gr.jp ftp://ftp.ecc.u-tokyo.ac.jp/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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/gentopia /usr/portage/local/layman/xeffects /usr/portage/local/layman/xeffects-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi afs aiglx alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol avahi berkdb bitmap-fonts bluetooth cairo cdr cli cracklib crypt cups dbus dlloader dri dts dv dvb dvd dvdr dvdread elibc_glibc encode faad fbcon ffmpeg firefox flac flash fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv input_devices_keyboard input_devices_mouse isdnlog java javascript joystick jpeg kernel_linux ldap libg++ live lm_sensors matroska mcal mime mmx mmxext mp3 mpeg nas ncurses nls nptl nptlonly ogg opengl pam pcre pda perl png ppds pppd python quicktime readline reflection samba scanner session spl sse sse2 ssl stream tcpd tga theora tiff truetype truetype-fonts truetype-fronts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_i810 video_cards_vesa videos vorbis win32codecs winbind wxwindows x264 xine xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS



Last edited by diaconal on Mon Jan 08, 2007 3:45 am; edited 1 time in total
Back to top
View user's profile Send private message
diaconal
n00b
n00b


Joined: 03 Oct 2004
Posts: 70

PostPosted: Mon Jan 08, 2007 3:44 am    Post subject: boot up scripts freeze and cannot compile [solved] Reply with quote

Well, that wasted about 3 hours of my life:

my /etc/hosts and /etc/nsswitch.conf files got corrupt, thus was not able to resolve any hosts, hiyo!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum