View previous topic :: View next topic |
Author |
Message |
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 9:48 pm Post subject: |
|
|
ok I copied the .config file to .config.backup
can you clarify the purpose of this command:
# mv ~/.config .
If I know the objective then I am more likely to know what to do.
My motherboard is the Jetway polaris 400 with a via chipset |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 9:57 pm Post subject: |
|
|
This puts the .config file back into the current directory (/usr/src/linux/.config)
The ~ is your home directory (most likely /root/). I used this as a safe temporary storage location. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 10:07 pm Post subject: |
|
|
[/code]
mv ~/.config .
mv: cannot stat 'root/.config': no such file or directory
[/code]
did I do something incorrectly here? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 10:19 pm Post subject: |
|
|
Did you do this to backup the file ?
That is what puts the file in ~ (your home directory) to begin with.
If you put it somewhere else, just move it back from that location after "make mrproper". |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 10:32 pm Post subject: |
|
|
ok done
recompiling and will report back when I reboot. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 10:42 pm Post subject: |
|
|
ok, it recompiled and at the end of it I got this:
Code: |
Unresolved symbols in /lib/modules/2.4.20-gentoo-r5/video/nvidia.o
depmod: smp_call_function_Rsmp_0014bfd1
depmod: __global_restore_flags_Rsmp_54dd1dcb
depmod: __global_cli_Rsmp_64576b05
depmod: __global_save_flags_Rsmp_5d902e96
depmod: tqueue_lock_Rsmp_b7a0c0b5
depmod: smp_num_cpus_Rsmp_3b86334d
|
does this mean I missed something or is this normal? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 10:44 pm Post subject: |
|
|
This is normal, you need to "emerge nvidia-kernel" so it can be linked to your new kernel. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 10:49 pm Post subject: |
|
|
I already did that before, but do I need to do it again since I recompiled? If so, do I also need to re-emerge nvidia-glx? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 10:58 pm Post subject: |
|
|
You need to recompile external kernel modules (nvidia-kernel, alsa-driver, pcmcia-cs, etc.) every time you compile your kernel. nvidia-glx does not need to be recompiled. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 10:59 pm Post subject: |
|
|
ok, the nvidia one is the only external one I have. I re-emerged that so now I should reboot and see if it all works? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 11:03 pm Post subject: |
|
|
Sure, go for it. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 11:05 pm Post subject: |
|
|
[crosses fingers and toes] |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 11:09 pm Post subject: |
|
|
damn
now my ethernet won't work, X won't work (can't get into kdm), modprobe nvidia gives errors
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 11:11 pm Post subject: |
|
|
Did you forget to mount /boot before you copied your kernel ? |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 11:21 pm Post subject: |
|
|
i wasn't using the live cd, I was actually in the real install, and I don't have a separate partition for /boot. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 11:27 pm Post subject: |
|
|
Check the output of "uname -a". The time and date will tell you when the kernel you are running was compiled (make sure it is the one you just compiled a few minutes ago). |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 11:30 pm Post subject: |
|
|
ok, this is weird:
Code: |
Linux gentoo 2.4.20-gentoo-r5 #7 SMP Mon Sep 1 15:57:56 UTC 2003 i686 AMD Athlon (tm) XP 2600+ AuthenticAMD GNU/Linux
|
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 11:38 pm Post subject: |
|
|
Compare that to the output of "date"
I also noticed "SMP" in there. I thought you disabled that.
Are you booting with LILO by any chance ? |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 11:41 pm Post subject: |
|
|
no I am using grub and I noticed the smp in there too.
I am going to recompile and copy the kernel again to see if that helps.
I think I might have forgot to copy the kernel last time cuz of that problem with not being able to recompile it.
It's rebooting now. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 11:48 pm Post subject: |
|
|
ok update:
I rebooted and my ethernet worked, but when I went to go into kdm, it gave all this weird stuff all over the screen. So I imagine I need to re-emerge nvidia-kernel again and then reboot. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 11:56 pm Post subject: |
|
|
yowwww wrote: | I rebooted and my ethernet worked |
|
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Mon Sep 01, 2003 12:03 am Post subject: |
|
|
then I re-emerged my nvidia and rebooted and had the same weird characters on the screen so I decided to reboot and then modprobe nvidia but now I get this:
Code: |
/dev/hda3 contains a filesystem with errors, check forced
/dev/hda3:
Inode 32307 had illegal block(s)
/dev/hda3: UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY.
(ie. without -a or -p options)
*Filesystem couldn't be fixed
Give root password for maintenance
(or type Control-D for normal startup)
|
well, giving my root password does nothing and pressing control D makes it reboot.
I have had weird errors like this since installing and I read about it on the forum and the only fix I saw was getting a script for the bug. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Sep 01, 2003 12:12 am Post subject: |
|
|
That sucks ...
You were so close too.
Maybe all that compiling was making your computer overheat.
If you need to run fsck manually, you should boot with the LiveCD to do this. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Mon Sep 01, 2003 12:17 am Post subject: |
|
|
yeah, I felt like I was close.
can you tell me anything specific about fsck once I get into gentoo with the live cd?
I can get to the prompt and mount my partitions, but I am not accustomed to using fsck. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Sep 01, 2003 12:27 am Post subject: |
|
|
fsck should be done with the partition not mounted.
I think "fsck /dev/hda3" should do the trick (I have not needed to do this manually before). |
|
Back to top |
|
|
|