Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installed nvidia - works - but now ethernet won't work!?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Sun Aug 31, 2003 9:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 31, 2003 9:57 pm    Post subject: Reply with quote

Quote:
# mv ~/.config .

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
View user's profile Send private message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Sun Aug 31, 2003 10:07 pm    Post subject: Reply with quote

[/code]
mv ~/.config .
mv: cannot stat 'root/.config': no such file or directory
[/code]

did I do something incorrectly here?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 31, 2003 10:19 pm    Post subject: Reply with quote

Did you do this to backup the file ?
Code:
# cp .config ~

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
View user's profile Send private message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Sun Aug 31, 2003 10:32 pm    Post subject: Reply with quote

ok done

recompiling and will report back when I reboot.
Back to top
View user's profile Send private message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Sun Aug 31, 2003 10:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 31, 2003 10:44 pm    Post subject: Reply with quote

This is normal, you need to "emerge nvidia-kernel" so it can be linked to your new kernel.
Back to top
View user's profile Send private message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Sun Aug 31, 2003 10:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 31, 2003 10:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Sun Aug 31, 2003 10:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 31, 2003 11:03 pm    Post subject: Reply with quote

Sure, go for it.
Back to top
View user's profile Send private message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Sun Aug 31, 2003 11:05 pm    Post subject: Reply with quote

[crosses fingers and toes] 8O
Back to top
View user's profile Send private message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Sun Aug 31, 2003 11:09 pm    Post subject: Reply with quote

damn


now my ethernet won't work, X won't work (can't get into kdm), modprobe nvidia gives errors

:(
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 31, 2003 11:11 pm    Post subject: Reply with quote

Did you forget to mount /boot before you copied your kernel ?
Back to top
View user's profile Send private message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Sun Aug 31, 2003 11:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 31, 2003 11:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Sun Aug 31, 2003 11:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 31, 2003 11:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Sun Aug 31, 2003 11:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Sun Aug 31, 2003 11:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Aug 31, 2003 11:56 pm    Post subject: Reply with quote

yowwww wrote:
I rebooted and my ethernet worked

:D
Back to top
View user's profile Send private message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Mon Sep 01, 2003 12:03 am    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon Sep 01, 2003 12:12 am    Post subject: Reply with quote

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
View user's profile Send private message
yowwww
Apprentice
Apprentice


Joined: 20 Apr 2003
Posts: 182
Location: Ontario, Canada

PostPosted: Mon Sep 01, 2003 12:17 am    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon Sep 01, 2003 12:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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