View previous topic :: View next topic |
Author |
Message |
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 6:51 pm Post subject: installed nvidia - works - but now ethernet won't work!? |
|
|
as the title states, I installed nvidia-kernel and nvidia-glx and then rebooted and was pleased to see the nvidia splash screen, but very disappoimted to see that my ethernet was no longer working. It was working perfectly until the nvidia install.
I have tried taking my module out of autoload and that didn't help, I tried restarting ethernet but it fails to bring it up, I tried searching this forum, but I didn't see anything helpful on this.
Does anyone have any idea on this?
This is basically the last thing I need to have working now and gentoo will be fully operational. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 7:11 pm Post subject: |
|
|
What happens if you modprobe your NIC manually. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 7:16 pm Post subject: |
|
|
nothing, it just goes to the next line and shows no output |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 7:20 pm Post subject: |
|
|
also, I noticed when I emerged nvidia it said it might 'taint' my kernel. should I recompile it? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 7:20 pm Post subject: |
|
|
Does "lsmod" show your NIC module is loaded ?
Does "/etc/init.d/net.eth0 restart" work ?
Does "ifconfig -a" show eth0 with an IP address ? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 7:24 pm Post subject: |
|
|
nVidia will taint your kernel because their modules are not licensed under the GPL. The only thing you can do about that is complain to nVidia. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 7:24 pm Post subject: |
|
|
yes
no
no |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 7:39 pm Post subject: |
|
|
Can you post the results of "cat /proc/interrupts" and "lspci" |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 7:39 pm Post subject: |
|
|
ifconfig shows this:
Code: |
eth0 Link encap:Ethernet HWaddr 00:10:A7:1A:4F:D6
BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0.0 (0.0 Mb) TX bytes:0 (0.0 Kb)
Interrupt:11 Base address:0xe800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
|
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 7:44 pm Post subject: |
|
|
lspci does show my ethernet card as usual.
and cat /proc/interrupts shows (abbreviated, there is a lot to type out so I am trying to get the relevant info):
Code: |
timer
keyboard
cascade
rtc
acpi
usb-uhci, usb-uhci, usb-uhci
ide0
ide1
EMU10K1
|
I literally did not change a thing after installing the nvidia drivers. My net worked perfectly before but stopped working right after. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 7:59 pm Post subject: |
|
|
yowwww wrote: | lspci does show my ethernet card as usual. |
Yeah, that means your NIC has not fallen off the motherboard yet.
I should have told you what I was looking for. I was trying to see what chipset your motherboard uses and what chipset your NIC uses.
I see from /proc/interrupts that eth0 is not listed. You should check dmesg after you modprobe your NIC to see if the kernel complains about IRQ conflicts or something. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 8:09 pm Post subject: |
|
|
ok, it might better for you to just ask me directly what info you want and then if I don't know you can tell me how to find it. I am somewhat new to gentoo, but not that new overall.
I use a via chipset and my card is the via-rhine.
I just recompiled my kernel and I am rebooting now, so I will see what happens.
I have my via-rhine module set on autoload (/etc/modules.autoload.d/kernel-2.4) and I have my /etc/conf.d/net set up for dhcp as it was before with the same net address as I used. I will check a lot of the commands out when I have finished rebooting and such. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 8:15 pm Post subject: |
|
|
ok, i ran dmesg and it listed the card with no complaints whatsoever. it is on IRQ 11
this is weird.
when I run /sbin/ifconfig it lists everything as usual including eth0 but it doesn't seem to be able to get an ip address for it. I use a router and double checked my clients table to make sure ip address didn't change for some reason and sure enough it is stil the same. It is not my internet either cuz this other computer connected to the same router works fine.
and to think i was all excited at getting my nvidia drivers install and then i lose my internet
I hope there is a way to fix this. it makes no sense to me at all. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 8:22 pm Post subject: |
|
|
Is your video card also on IRQ 11 ?
Is either your video card or your NIC listed in /proc/interrupts ? |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 8:28 pm Post subject: |
|
|
no, neither is listed.
how can i check to see what irq my video card uses?
I did dmesg|less but it didn't show my video card irq |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 8:30 pm Post subject: |
|
|
It won't have an IRQ until after the module loads (modprobe nvidia) |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 8:36 pm Post subject: |
|
|
well, it said that it was loading when I ran dmesg after I did modprobe nvidia but it didn't give an irq.
I did notice something interesting though in dmesg:
it gave an error saying that only one processor was found. It seems I may have compiled my kernel for support for two. How do I fix that? or is it necessary?
also, should I just add nvidia to my /etc/modules.autoload.d/kernel-2.4 file? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 8:50 pm Post subject: |
|
|
yowwww wrote: | it gave an error saying that only one processor was found. It seems I may have compiled my kernel for support for two. How do I fix that? or is it necessary? |
Recompiling without SMP support is a good idea, it might even fix the IRQ problem you are having with your NIC.
Code: | Processor type and features --->
[ ] Symmetric multi-processing support |
yowwww wrote: | also, should I just add nvidia to my /etc/modules.autoload.d/kernel-2.4 file? |
I normally don't need to, the module gets loaded on demand when xfree starts. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 8:53 pm Post subject: |
|
|
I took it out and I am recompiling now, thanks for the clarity on that. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 8:59 pm Post subject: |
|
|
uh oh, without it, I am getting errors when recompiling, I must have missed something that should have also been taken out, cuz i get this:
Code: |
smp_num_cpus' undeclared (first use in this function)
|
among other things, but that seems to be root of the problem, I am guessing I still have something in my menuconfig that I shouldn't that relies on smp. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 9:04 pm Post subject: |
|
|
Usually major changes (like SMP support) require a "make mrproper" before compiling will work again. Just backup your .config file, because "make mrproper" will wipe this out too. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 9:13 pm Post subject: |
|
|
should I take out "pre-emptive kernel" also.
how exactly do i back up my config file? ( I know how to do it via nano, but i am not sure which file it is) |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 9:26 pm Post subject: |
|
|
Code: | # cd /usr/src/linux
# cp .config ~
# make mrproper
# mv ~/.config .
# make menuconfig |
yowwww wrote: | should I take out "pre-emptive kernel" also. |
It should be OK to leave in, but I don't know from personal experience if this would matter. Most of my machines run ac-sources, which doesn't have the preemptive kernel patch. |
|
Back to top |
|
|
yowwww Apprentice
Joined: 20 Apr 2003 Posts: 182 Location: Ontario, Canada
|
Posted: Sun Aug 31, 2003 9:32 pm Post subject: |
|
|
ok, sorry to be a pain, but I don't see a config file in that directory. It appears to be hidden as you have indicated with "." in front of it, but I really want to be sure about this.
I have these files listed in my /usr/src/linux directory:
COPYING
CREDITS
changelog.rmap
Documentation
MAINTAINERS
MAINTAINERS~
Makefile
Makefile~
Rules.make
arch
crypto
drivers
fs
grsecurity
include
init
ipc
kernel
kernel-config
lib
mm
net
patches.txt
scripts |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 31, 2003 9:42 pm Post subject: |
|
|
You can list hidden files with "ls -a"
On another note, if you told me the exact model of your motherboard, I might be familiar with its quirks. One of my machines has an Abit AT7-MAX2 motherboard (KT400/VT8235 with onboard via-rhine), and this machine was quite tricky to setup properly. |
|
Back to top |
|
|
|