Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not recognizing my network card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
redbaron16
n00b
n00b


Joined: 18 Oct 2003
Posts: 22
Location: New Germany, Nova Scotia

PostPosted: Sat Oct 18, 2003 9:55 pm    Post subject: Not recognizing my network card Reply with quote

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


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Sat Oct 18, 2003 11:45 pm    Post subject: Reply with quote

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


Joined: 18 Oct 2003
Posts: 22
Location: New Germany, Nova Scotia

PostPosted: Sun Oct 19, 2003 10:09 pm    Post subject: Reply with quote

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


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Mon Oct 20, 2003 12:30 am    Post subject: Reply with quote

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


Joined: 18 Oct 2003
Posts: 22
Location: New Germany, Nova Scotia

PostPosted: Mon Oct 20, 2003 11:51 am    Post subject: Reply with quote

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


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Mon Oct 20, 2003 1:25 pm    Post subject: Reply with quote

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


Joined: 18 Oct 2003
Posts: 22
Location: New Germany, Nova Scotia

PostPosted: Mon Oct 20, 2003 2:30 pm    Post subject: Reply with quote

commented out that line
got
Failed to bring eth0 up

and /sbin/dhcpch eth0 does nothing :(
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Mon Oct 20, 2003 2:37 pm    Post subject: Reply with quote

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


Joined: 18 Oct 2003
Posts: 22
Location: New Germany, Nova Scotia

PostPosted: Mon Oct 20, 2003 2:46 pm    Post subject: Reply with quote

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


Joined: 18 Oct 2003
Posts: 22
Location: New Germany, Nova Scotia

PostPosted: Mon Oct 20, 2003 2:46 pm    Post subject: Reply with quote

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


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Mon Oct 20, 2003 3:30 pm    Post subject: Reply with quote

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


Joined: 18 Oct 2003
Posts: 22
Location: New Germany, Nova Scotia

PostPosted: Mon Oct 20, 2003 4:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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