View previous topic :: View next topic |
Author |
Message |
Scorpi0 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1630332283406b219a475d3.jpg)
Joined: 07 Nov 2003 Posts: 28 Location: NY
|
Posted: Tue Dec 02, 2003 5:01 am Post subject: Yet another post for eth0 failing to come up |
|
|
I have been browsing through the forums and have tried everthing that seemed to have worked for others... even some things that didnt work for others. Its always the same thing..
Code: |
Bringing eth0 up...
Failed to bring eth0 up
|
Then a few other services fail because of it, like netmount etc.
eth0 starts just fine when booted from the Live CD. I have done lsmod while booted from CD and it is using the 3c59x module, lspci shows a 3com 3c590 which is the card installed, even when booted from the hard drive. I have tried compiling it in the kernel and as a module, nothing seems to detect the card correctly. This was working so me being the noob i am probably messed it up. I am just at a loss on how to correct it. I have tried turning off acpi within the bios and and within grub.conf as recommended in other threads. still the same thing.
One thing I have noticed and might be of some benefit, the module 3c59x.o is not in /lib/modules/2.4.20-gentoo-r8/kernel/drivers/net
Any reason it shouldnt be? I am running a DHCP server from a router, but its not getting that far. From what I can tell its not even loading the device correctly, my guess is kernel configuration but thats a lot of places to look without knowing where to focus. Any ideas anyone?
Any more information you need? I cant exactly paste it without a network connection, but i will do the best i can.
Scorp |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Lews_Therin l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/2143130772424f4ca66cd78.png)
Joined: 03 Oct 2003 Posts: 657 Location: Banned
|
Posted: Tue Dec 02, 2003 8:30 am Post subject: |
|
|
Do what I did: build every net card with your bus type into the kernel (ie, if you're using a PCI card build in support for every PCI one, but not ISA). This should let you connect...something is very wrong if you can't. If it DOES work, you can trim it down later for a faster/smaller kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Scorpi0 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1630332283406b219a475d3.jpg)
Joined: 07 Nov 2003 Posts: 28 Location: NY
|
Posted: Tue Dec 02, 2003 1:01 pm Post subject: |
|
|
I have tried to build the kernel with every 3com card listed, but as I have said it was working before, with the 3c59x built into the kernel. Now it will no longer work that way nor will it work if built as a module. The 3c59x.0 file is not there(that kind of bugs me), because of that when i try to use:
It returns "module not found" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hadfield Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link.jpg)
Joined: 18 Mar 2003 Posts: 308 Location: Vancouver, BC, Canada
|
Posted: Tue Dec 02, 2003 11:13 pm Post subject: |
|
|
Are you sure that you ran make modules_install? Search for the module in you /usr/src/linux directory to see if it's been built.
Code: | find /usr/src/linux -name '3c59x.o' |
It should be located at /usr/src/linux/drivers/net/3c59x.o
If it's not there then rebuild your kernel modules, but first double check that it is actually set to be built as a module in the kernel config. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nmcsween Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1728548438410482277fce4.png)
Joined: 12 Nov 2003 Posts: 381
|
Posted: Wed Dec 03, 2003 1:00 am Post subject: |
|
|
The simplest way to get past this is to go to a local computer company pay then $10 to use there ethernet. Simple cheap and fast |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Scorpi0 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1630332283406b219a475d3.jpg)
Joined: 07 Nov 2003 Posts: 28 Location: NY
|
Posted: Wed Dec 03, 2003 1:47 pm Post subject: |
|
|
shadfiel,
he 3c59x.o file was not in /usr/src/linux/drivers/net, you were right the kernel was not compiled correctly. I compiled it last night as a module and was able to start it manually with modprobe. I recompiled with it loaded into the kernel, but havnt had a chance to test it yet. I will test this when I get home from work. I will make a follow up post to whether it has worked or not. One question in the meantime, what is the correct procedure after making a kernel configuration change? This is what I ran last night after configuring it as a module and to get it started manually.
Code: | make dep && make clean bzImage modules modules_install
cp /usr/src/linux/arch/i386/boot/bzImage /boot |
I picked that line out of the install documentation. If this is correct, should this be run after *any* kernel config change?
And to make a comment on Ultraoctane.com's post;
Sarcasm goes together with discusion forums as well as oganized religion goes with organized crime. They dont go together very well at all, but it always seems to happen. ![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Scorpi0 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1630332283406b219a475d3.jpg)
Joined: 07 Nov 2003 Posts: 28 Location: NY
|
Posted: Wed Dec 03, 2003 11:35 pm Post subject: |
|
|
OK, I tried to compile it within the kernel. That didnt work, i ended up back to where i was.
Code: | Bringing eth0 up...
Failed to bring eth0 up |
Now... this was working built in to the kernel and I'd like to put it back that way. All this kernel compiling has got me confused. Until I can figure it out I'll be configuring it as a module. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hadfield Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link.jpg)
Joined: 18 Mar 2003 Posts: 308 Location: Vancouver, BC, Canada
|
Posted: Wed Dec 03, 2003 11:50 pm Post subject: |
|
|
Quote: | what is the correct procedure after making a kernel configuration change? |
The way you did it is fine. Sometimes if you only add a single module or remove it you only need to run a make modules and make modules_install, but doing it the way you did is safer (although more time consuming).
when you run lsmod do you see that the 3c59x driver is there? Also, have you properly configured your /etc/conf.d/net file? That could be the source of your problems now.
One other thing. If you want the driver to load on boot, you'll need to add it to your /etc/modules.autoload.d/kernel-<version> file. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Scorpi0 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1630332283406b219a475d3.jpg)
Joined: 07 Nov 2003 Posts: 28 Location: NY
|
Posted: Thu Dec 04, 2003 2:53 am Post subject: |
|
|
OK, looks like the network card is working and all but one of my services are back up and running. The one thats not running is sshd, when i try and start it manually is says
Code: | /etc/ssh/sshd_config line 96: Deprecated option ReverseMappingCheck |
I know this file hasnt changed. Someone theorized that something else changed that would make sshd behave this way, but he had no clue what either. I commented out that line that contained 'ReverseMappingCheck no' and sshd started up just fine, works too. But I just commented something out that i really didnt know what it did. Comments?
Once I get all these other bugs squashed I'd like to go back and try and recompile 3c59x back into the kernel. Call me stubborn. ![Shocked 8O](images/smiles/icon_eek.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Scorpi0 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1630332283406b219a475d3.jpg)
Joined: 07 Nov 2003 Posts: 28 Location: NY
|
Posted: Thu Dec 04, 2003 2:59 am Post subject: |
|
|
I just noticed something, after that message about the deprecated option... sshd still starts and works.
I must admit that kind of threw me. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|