View previous topic :: View next topic |
Author |
Message |
Kerm_Martian n00b
Joined: 30 Apr 2006 Posts: 3
|
Posted: Sun Apr 30, 2006 2:37 pm Post subject: Seg Fault on Boot; Chrooting |
|
|
While recompiling the kernel, I managed to make it throw a segmentation fault while booting, so I never get to anything halfway useable. Even using single user mode makes it hang while cleaning /usr/run. To try to recompile the kernel, I popped in a knoppix live cd, remount /mnt/hda1 as rw, then chrooted in. Fine and good. When I try to env-update, however, I get some fun permission denied errors, then when I type Code: | cp /etc/linux-config.bak /usr/src/linux/.config
make && make modules_install | it just tells me it can't find make. I realize that the problem is the environment variables not being set, but how can I fix this? Any better alternatives? |
|
Back to top |
|
|
voodoodoc Apprentice
Joined: 01 Feb 2004 Posts: 158
|
Posted: Sun Apr 30, 2006 2:49 pm Post subject: |
|
|
See what your $PATH and $LD_LIBRARY_PATH are before doing the env-update then make sure they are the same after. If that fails you can always try /usr/bin/make but you'll likely have some other issues with stuff not in your path.
You can also try using /usr/lib/portage/bin/env-update.sh I've had luck with that fixing strange problems before. Yes this is different than the file evn-update that lives in the same directory. |
|
Back to top |
|
|
Kerm_Martian n00b
Joined: 30 Apr 2006 Posts: 3
|
Posted: Sun Apr 30, 2006 2:55 pm Post subject: |
|
|
When I do that I still get: Code: | bash: /sbin/env-update.sh Line 1: /dev/null Permission Denied
bash: /sbin/env-update.sh Line 1: /dev/null Permission Denied |
|
|
Back to top |
|
|
Kerm_Martian n00b
Joined: 30 Apr 2006 Posts: 3
|
Posted: Sun Apr 30, 2006 5:57 pm Post subject: |
|
|
Sorry for the bump, but even after reverting to the previous good config, the following happens. While booting, it gets to "Cleaning /var/lock, /var/tmp" and does one of three things:
1. the underscore cursor freezes or turns into an orange box and freezes.
2. the box spontantaneously reboots
3. an error report comes up regarding a fatal error with syncing interrupts.
The only thing I can possibly think of is that I noticed four warnings about pointers while compiling the kernel; they were something to do with one of the network routines. The only module that's loading is e100, the Intel 10/100 ethernet driver. Any ideas? |
|
Back to top |
|
|
|