View previous topic :: View next topic |
Author |
Message |
redbaron16 n00b


Joined: 18 Oct 2003 Posts: 22 Location: New Germany, Nova Scotia
|
Posted: Sat Oct 18, 2003 9:55 pm Post subject: Not recognizing my network card |
|
|
I used genkernel to compile and build vanilla-sources for me, and did the things to make it recognize my hardware on bootup like the live-cd. However it is not recognizing my network card, but it does when i boot of the cd.
My network card is built-in with my mother board, and it is a sis900.
in my /etc/conf.d/net
iface_eth0="dhcp"
dhcpcd_eth0="-t 5"
in /etc/modules.autoload.d/kernel-2.4
i added sis900
but it still doesnt recognize it, any ideas? |
|
Back to top |
|
 |
ozonator Guru


Joined: 11 Jun 2003 Posts: 591 Location: Ontario, Canada
|
Posted: Sat Oct 18, 2003 11:45 pm Post subject: |
|
|
Are you sure the module is being loaded? Did you compile the sis900 support as a module, or did you build it into the kernel? What's the output of /sbin/lsmod?
Also, what's the output of /sbin/ifconfig -a? |
|
Back to top |
|
 |
redbaron16 n00b


Joined: 18 Oct 2003 Posts: 22 Location: New Germany, Nova Scotia
|
Posted: Sun Oct 19, 2003 10:09 pm Post subject: |
|
|
the output os /sbin/lsmod
usb-storage 0 unused
usb-ohci 0 unused
echi-hcd 0 unused
usbocre 1 usb-storage usb-ohci ehci-hcd
sis900 0
since iused genkernel to complile my kernel i didnt specify wether to add is as module.... i didnt think i had to i though it did it for me
and in /sbin/
eql i dont think eql is importat at the moment but if it is just tell me and i will reply withit next time
but for eth0
Link encap:Ethernet then my hardware address
Broadcase Multicast MTU:1500 Meteric :1
RX Packets all 0
TX packets all 0
Collisions:0 txqueuelen:100
RX bytres:0 (0.0b) TX bytes:0 (0.0b)
Interruprt:10 Base address :0xd400 |
|
Back to top |
|
 |
ozonator Guru


Joined: 11 Jun 2003 Posts: 591 Location: Ontario, Canada
|
Posted: Mon Oct 20, 2003 12:30 am Post subject: |
|
|
It looks like the sis900 module has loaded properly -- sis900 is in the list of loaded modules (the output of lsmod), and you do have an eth0 interface (the output of ifconfig -a).
But, it appears that the eth0 interface hasn't been configured -- there's nothing in the output of ifconfig that indicates that it's "up" (active), nor is there anything indicating that it has an IP address associated with it.
Have you put your network settings in /etc/conf.d/net? If so, do they work? Make sure /etc/conf.d/net has the appropriate settings in it, then run "/etc/init.d/net.eth0 start" and see what happens -- check "/sbin/ifconfig -a" to see if it indicates that the interface is up and that it has been assigned an IP address.
If that works, then: did you add net.eth0 to the default runlevel? If not, the eth0 interface won't be configured after booting. |
|
Back to top |
|
 |
redbaron16 n00b


Joined: 18 Oct 2003 Posts: 22 Location: New Germany, Nova Scotia
|
Posted: Mon Oct 20, 2003 11:51 am Post subject: |
|
|
in my /etc/conf.d/net file i only have two lines not commented out
iface_eth0="dhcp"
dhcpcd_eth0="-t 5"
it still fails bringing eth0 up |
|
Back to top |
|
 |
ozonator Guru


Joined: 11 Jun 2003 Posts: 591 Location: Ontario, Canada
|
Posted: Mon Oct 20, 2003 1:25 pm Post subject: |
|
|
Two thoughts:
First, try commenting out the 'dhcpcd_eth0="-t 5"' line and see if that helps (run "/etc/init.d/net.eth0 start" -- if it doesn't work, post any errors)
Second, try running dhcpcd directly from the command line, e.g., "/sbin/dhcpcd eth0" -- on my laptop, this sometimes works when the net.eth0 script doesn't. I haven't taken time to debug the problem, since running dhcpcd manually normally works.
(just noticed you had put your config in your first post, which I missed last time around; sorry to ask for it again) |
|
Back to top |
|
 |
redbaron16 n00b


Joined: 18 Oct 2003 Posts: 22 Location: New Germany, Nova Scotia
|
Posted: Mon Oct 20, 2003 2:30 pm Post subject: |
|
|
commented out that line
got
Failed to bring eth0 up
and /sbin/dhcpch eth0 does nothing  |
|
Back to top |
|
 |
ozonator Guru


Joined: 11 Jun 2003 Posts: 591 Location: Ontario, Canada
|
Posted: Mon Oct 20, 2003 2:37 pm Post subject: |
|
|
Hmmm. Not much info there.
Anything in the system logs? Check /var/log/messages (if using syslog) or /var/log/everything/current (if using metalog). Note that metalog caches information by default -- send a "kill -USR1" to the master metalog process (look for it with "ps -ax | grep metalog" -- one will be marked as the master process) to make it write to disk as soon as it gets info -- maybe try running '/etc/net.eth0 start' again to prod it to dump any cached log entries. |
|
Back to top |
|
 |
redbaron16 n00b


Joined: 18 Oct 2003 Posts: 22 Location: New Germany, Nova Scotia
|
Posted: Mon Oct 20, 2003 2:46 pm Post subject: |
|
|
i get an error...
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
dont know what that means
eth0: VIA 6103 PHY transceiver found at address 1
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 10 my physical addy
eth0: Media Link on 10mbps half-duplex
dhcpcd[971]: timed out waiting for a valid DHCP server respoinse
rc-scripts: Failed to bring eth0 up
ERROR: Provblem starting needed services "netmount"was not started
i sule syslog |
|
Back to top |
|
 |
redbaron16 n00b


Joined: 18 Oct 2003 Posts: 22 Location: New Germany, Nova Scotia
|
Posted: Mon Oct 20, 2003 2:46 pm Post subject: |
|
|
i get an error...
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
dont know what that means
eth0: VIA 6103 PHY transceiver found at address 1
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 10 my physical addy
eth0: Media Link on 10mbps half-duplex
dhcpcd[971]: timed out waiting for a valid DHCP server respoinse
rc-scripts: Failed to bring eth0 up
ERROR: Provblem starting needed services "netmount"was not started
i sule syslog |
|
Back to top |
|
 |
ozonator Guru


Joined: 11 Jun 2003 Posts: 591 Location: Ontario, Canada
|
Posted: Mon Oct 20, 2003 3:30 pm Post subject: |
|
|
redbaron16 wrote: | kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 |
Looks like there's something trying to load the "scsi_hostadapter" module, but can't find the module. I don't think that's relevant here.
Quote: | eth0: VIA 6103 PHY transceiver found at address 1
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 10 my physical addy
eth0: Media Link on 10mbps half-duplex |
This means the sis900 driver has been loaded -- that's good.
Quote: | dhcpcd[971]: timed out waiting for a valid DHCP server respoinse
rc-scripts: Failed to bring eth0 up
ERROR: Provblem starting needed services "netmount"was not started |
Well, dhcpcd isn't getting a response, and so eth0 isn't being activated (we knew that!). The netmount error is a consequence: with no active networking, mounting any network file systems will necessarily fail.
Is there any way you could try using a static IP? If so, we might determine whether the problem is with dhcp or something else.
Otherwise, I'm not sure what else to suggest from my own experience. I did find this message that suggests that removing the APIC support from your kernel config might make it work; the same is suggested in this thread. Looks like that might be the next thing to check, then -- in your kernel config, under "processor type and features", is APIC support enabled (two settings, Local APIC and IO-APIC)? |
|
Back to top |
|
 |
redbaron16 n00b


Joined: 18 Oct 2003 Posts: 22 Location: New Germany, Nova Scotia
|
Posted: Mon Oct 20, 2003 4:48 pm Post subject: |
|
|
yeah i know what ip address my computer is assigned, so i will try using a static ip addy instead of trying to get it from the dhcpcd server, |
|
Back to top |
|
 |
|