public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] nForce4 eth driver not working...
@ 2009-03-18 18:35 Jarry
  2009-03-18 18:37 ` Justin
  2009-03-18 18:40 ` Neil Bothwick
  0 siblings, 2 replies; 15+ messages in thread
From: Jarry @ 2009-03-18 18:35 UTC (permalink / raw
  To: gentoo-user

Hi,

I have a strange problem with my motherboard (nForce4 chipset):
Installation CD finds eth0 and brings it up (with whatever driver).
Now I'm trying to compile my kernel, and even if I select all gbit
ethernet cards, it does not work:

* Starting eth0
*  Bringing up eth0
*    192.168.1.10
*    network interface eth0 does not exist
*    Please verify hardware or kernel module (driver)   [!!]

lspci shows:
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev f3)

MoBo manual says:
Nvidia nForce 4 built-in Gigabit MAC with external Marvell PHY

What should I select in kernel config to have this ethernet
adapter supported???

Jarry


-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
  2009-03-18 18:35 [gentoo-user] nForce4 eth driver not working Jarry
@ 2009-03-18 18:37 ` Justin
  2009-03-18 18:40 ` Neil Bothwick
  1 sibling, 0 replies; 15+ messages in thread
From: Justin @ 2009-03-18 18:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

Jarry schrieb:
> Hi,
> 
> I have a strange problem with my motherboard (nForce4 chipset):
> Installation CD finds eth0 and brings it up (with whatever driver).
> Now I'm trying to compile my kernel, and even if I select all gbit
> ethernet cards, it does not work:
> 
> * Starting eth0
> *  Bringing up eth0
> *    192.168.1.10
> *    network interface eth0 does not exist
> *    Please verify hardware or kernel module (driver)   [!!]
> 
> lspci shows:
> 00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev f3)
> 
> MoBo manual says:
> Nvidia nForce 4 built-in Gigabit MAC with external Marvell PHY
> 
> What should I select in kernel config to have this ethernet
> adapter supported???
> 
> Jarry
> 
> 
Try forcedeth.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
  2009-03-18 18:35 [gentoo-user] nForce4 eth driver not working Jarry
  2009-03-18 18:37 ` Justin
@ 2009-03-18 18:40 ` Neil Bothwick
  2009-03-18 21:21   ` Jarry
       [not found]   ` <f05c493b0903181413r3cd5c9bboe3bd59f2c661b2a6@mail.gmail.com>
  1 sibling, 2 replies; 15+ messages in thread
From: Neil Bothwick @ 2009-03-18 18:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

On Wed, 18 Mar 2009 19:35:14 +0100, Jarry wrote:

> I have a strange problem with my motherboard (nForce4 chipset):
> Installation CD finds eth0 and brings it up (with whatever driver).
> Now I'm trying to compile my kernel, and even if I select all gbit
> ethernet cards, it does not work:

Run lspci -k (or lspci -v) from the live CD to see which module it is
using.


-- 
Neil Bothwick

Those are my principles. If you don't like them I have others.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
  2009-03-18 18:40 ` Neil Bothwick
@ 2009-03-18 21:21   ` Jarry
  2009-03-18 21:24     ` Justin
       [not found]   ` <f05c493b0903181413r3cd5c9bboe3bd59f2c661b2a6@mail.gmail.com>
  1 sibling, 1 reply; 15+ messages in thread
From: Jarry @ 2009-03-18 21:21 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> On Wed, 18 Mar 2009 19:35:14 +0100, Jarry wrote:
>> I have a strange problem with my motherboard (nForce4 chipset):
>> Installation CD finds eth0 and brings it up (with whatever driver).
>> Now I'm trying to compile my kernel, and even if I select all gbit
>> ethernet cards, it does not work:
> 
> Run lspci -k (or lspci -v) from the live CD to see which module it is
> using.

lspci -v (no "-k" option for this version)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev f3)
         Subsystem: Assustek Computer Inc. K8n4-e or A8n-e Mainbord
         Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
         Memory at d4100000 (32-bit, non-prefetchable) [size=4K]
         I/O ports at b000 [size=8]
         Capabilities: [44] Power Management version 2

There is nothing more in the output, concerning ethernet.
How can I see from this output, which module is it using?


Justin wrote:
 > Try forcedeth.

I do not see this in kernel config. I suppose it is experimental driver,
(which I turned off). Is it safe to use it?


Jarry


-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
       [not found]     ` <f05c493b0903181416g4d22c633id5a3ad554e1c4060@mail.gmail.com>
@ 2009-03-18 21:21       ` Jason Weisberger
  0 siblings, 0 replies; 15+ messages in thread
From: Jason Weisberger @ 2009-03-18 21:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

You should have two different ethernet ports on that motherboard, the
primary one should use forcedeth, the secondary should use the new marvell
yukon phy driver, make sure those are compiled into your running kernel.

On Mar 18, 2009 2:41 PM, "Neil Bothwick" <neil@digimed.co.uk> wrote:

On Wed, 18 Mar 2009 19:35:14 +0100, Jarry wrote: > I have a strange problem
with my motherboard (nF...
Run lspci -k (or lspci -v) from the live CD to see which module it is
using.


--
Neil Bothwick

Those are my principles. If you don't like them I have others.

[-- Attachment #2: Type: text/html, Size: 774 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
  2009-03-18 21:21   ` Jarry
@ 2009-03-18 21:24     ` Justin
  2009-03-18 21:33       ` Jarry
  0 siblings, 1 reply; 15+ messages in thread
From: Justin @ 2009-03-18 21:24 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]

Jarry wrote:
> Neil Bothwick wrote:
>> On Wed, 18 Mar 2009 19:35:14 +0100, Jarry wrote:
>>> I have a strange problem with my motherboard (nForce4 chipset):
>>> Installation CD finds eth0 and brings it up (with whatever driver).
>>> Now I'm trying to compile my kernel, and even if I select all gbit
>>> ethernet cards, it does not work:
>>
>> Run lspci -k (or lspci -v) from the live CD to see which module it is
>> using.
> 
> lspci -v (no "-k" option for this version)
> 00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev f3)
>         Subsystem: Assustek Computer Inc. K8n4-e or A8n-e Mainbord
>         Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
>         Memory at d4100000 (32-bit, non-prefetchable) [size=4K]
>         I/O ports at b000 [size=8]
>         Capabilities: [44] Power Management version 2
> 
> There is nothing more in the output, concerning ethernet.
> How can I see from this output, which module is it using?
> 
> 
> Justin wrote:
>> Try forcedeth.
> 
> I do not see this in kernel config. I suppose it is experimental driver,
> (which I turned off). Is it safe to use it?
> 
> 
> Jarry
> 
> 
CONFIG_FORCEDETH

and it is a standard driver.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
  2009-03-18 21:24     ` Justin
@ 2009-03-18 21:33       ` Jarry
  2009-03-18 21:41         ` Justin
  0 siblings, 1 reply; 15+ messages in thread
From: Jarry @ 2009-03-18 21:33 UTC (permalink / raw
  To: gentoo-user

Justin wrote:

> CONFIG_FORCEDETH
> and it is a standard driver.

I searched my .config file, and there is nothing like that.
I'm using gentoo-sources 2.6.27-r8...

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
  2009-03-18 21:33       ` Jarry
@ 2009-03-18 21:41         ` Justin
  2009-03-18 23:04           ` Hung Dang
  0 siblings, 1 reply; 15+ messages in thread
From: Justin @ 2009-03-18 21:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

Jarry wrote:
> Justin wrote:
> 
>> CONFIG_FORCEDETH
>> and it is a standard driver.
> 
> I searched my .config file, and there is nothing like that.
> I'm using gentoo-sources 2.6.27-r8...
> 

$ make menuconfig
type /
type FORCEDETH


Location:
                                                    │
  │     -> Device Drivers
                                                          │
  │       -> Network device support (NETDEVICES [=y])
                                                          │
  │         -> Ethernet (10 or 100Mbit) (NET_ETHERNET [=n])
                                                          │
  │           -> nForce Ethernet support (FORCEDETH [=n])


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
  2009-03-18 21:41         ` Justin
@ 2009-03-18 23:04           ` Hung Dang
  2009-03-19 17:46             ` Jarry
  0 siblings, 1 reply; 15+ messages in thread
From: Hung Dang @ 2009-03-18 23:04 UTC (permalink / raw
  To: gentoo-user

Justin wrote:
> Jarry wrote:
>   
>> Justin wrote:
>>
>>     
>>> CONFIG_FORCEDETH
>>> and it is a standard driver.
>>>       
>> I searched my .config file, and there is nothing like that.
>> I'm using gentoo-sources 2.6.27-r8...
>>
>>     
>
> $ make menuconfig
> type /
> type FORCEDETH
>
>
> Location:
>                                                     │
>   │     -> Device Drivers
>                                                           │
>   │       -> Network device support (NETDEVICES [=y])
>                                                           │
>   │         -> Ethernet (10 or 100Mbit) (NET_ETHERNET [=n])
>                                                           │
>   │           -> nForce Ethernet support (FORCEDETH [=n])
>
>   
To have nForce support you need to select:

[*]   Ethernet (10 or 100Mbit)  --->
    [*]   EISA, VLB, PCI and on board controllers
       <*>   nForce Ethernet support

Hung
   



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
  2009-03-18 23:04           ` Hung Dang
@ 2009-03-19 17:46             ` Jarry
  2009-03-19 18:15               ` Hung Dang
  0 siblings, 1 reply; 15+ messages in thread
From: Jarry @ 2009-03-19 17:46 UTC (permalink / raw
  To: gentoo-user

Hung Dang wrote:
> Justin wrote:
>>   │     -> Device Drivers
>>   │       -> Network device support (NETDEVICES [=y])
>>   │         -> Ethernet (10 or 100Mbit) (NET_ETHERNET [=n])
>>   │           -> nForce Ethernet support (FORCEDETH [=n])
>>   
> To have nForce support you need to select:
> [*]   Ethernet (10 or 100Mbit)  --->
>    [*]   EISA, VLB, PCI and on board controllers
>       <*>   nForce Ethernet support

Yep, this works, thank you! I did not search for this driver
in 10/100mbit, because manual says it is 1gbit. Does it mean
this net-adapter is working only as 100mbit in linux? Anyway
it does not matter. My internet connection is not that fast...

Just one more surprise:
During installation before chrooting I copied resolv.conf
to new system, as advised in handbook (chapter 6.a. Chrooting).
But after I first booted freshly installed system, I found out
that /etc/resolv.conf is empty, just saying something like:

# Generated by net-scripts for interface eth0
domain mydomain

Nothing else. So I edited this file, included nameservers, and
again, after booting it is empty. I went through handbook once
again, carefully checked chapter "8.b. Networking information",
but there is no info about this strange "feature".
Did I do something wrong during installation???

Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
  2009-03-19 17:46             ` Jarry
@ 2009-03-19 18:15               ` Hung Dang
  2009-03-19 18:29                 ` Jarry
  0 siblings, 1 reply; 15+ messages in thread
From: Hung Dang @ 2009-03-19 18:15 UTC (permalink / raw
  To: gentoo-user

Jarry wrote:
> Hung Dang wrote:
>> Justin wrote:
>>>   │     -> Device Drivers
>>>   │       -> Network device support (NETDEVICES [=y])
>>>   │         -> Ethernet (10 or 100Mbit) (NET_ETHERNET [=n])
>>>   │           -> nForce Ethernet support (FORCEDETH [=n])
>>>   
>> To have nForce support you need to select:
>> [*]   Ethernet (10 or 100Mbit)  --->
>>    [*]   EISA, VLB, PCI and on board controllers
>>       <*>   nForce Ethernet support
>
> Yep, this works, thank you! I did not search for this driver
> in 10/100mbit, because manual says it is 1gbit. Does it mean
> this net-adapter is working only as 100mbit in linux? Anyway
> it does not matter. My internet connection is not that fast...
>
> Just one more surprise:
> During installation before chrooting I copied resolv.conf
> to new system, as advised in handbook (chapter 6.a. Chrooting).
> But after I first booted freshly installed system, I found out
> that /etc/resolv.conf is empty, just saying something like:
>
> # Generated by net-scripts for interface eth0
> domain mydomain
>
> Nothing else. So I edited this file, included nameservers, and
> again, after booting it is empty. I went through handbook once
> again, carefully checked chapter "8.b. Networking information",
> but there is no info about this strange "feature".
> Did I do something wrong during installation???
>
> Jarry
>
Jarry: You got the empty /etc/resolve.conf because dhcpcd overwrite this 
file whenever your computer start, to avoid this you only need to set up 
/etc/conf.d/net (for example config_eth0=( "dhcp" ) ) as suggestion in 
the Gentoo handbook.

Hung



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
  2009-03-19 18:15               ` Hung Dang
@ 2009-03-19 18:29                 ` Jarry
  2009-03-19 20:35                   ` Peter Humphrey
  0 siblings, 1 reply; 15+ messages in thread
From: Jarry @ 2009-03-19 18:29 UTC (permalink / raw
  To: gentoo-user

Hung Dang wrote:

> Jarry: You got the empty /etc/resolve.conf because dhcpcd overwrite this 
> file whenever your computer start, to avoid this you only need to set up 
> /etc/conf.d/net (for example config_eth0=( "dhcp" ) ) as suggestion in 
> the Gentoo handbook.

But I do not have dhcp. I have static IP, and I configured network
according to Handbook "8.b. Networking Information"
My /etc/conf.d/net look like:

# a few comment lines
config_eth0=( "192.168.1.10 netmask 255.255.255.0 brd 192.168.1.255" )
routes_eth0=( "default via 192.168.1.1" )
dns_domain_eth0="mydomain.com"

Do I have to define nameservers there too? I have not seen a single word
about it in Gentoo Handbook...

Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
  2009-03-19 18:29                 ` Jarry
@ 2009-03-19 20:35                   ` Peter Humphrey
  2009-03-19 20:54                     ` Jarry
  0 siblings, 1 reply; 15+ messages in thread
From: Peter Humphrey @ 2009-03-19 20:35 UTC (permalink / raw
  To: gentoo-user

On Thursday 19 March 2009 18:29:45 Jarry wrote:

> Do I have to define nameservers there too? I have not seen a single word
> about it in Gentoo Handbook...

I too have static addresses. This is my /etc/conf.d/net:

config_eth0=( "192.168.2.6 netmask 255.255.255.248 broadcast 192.168.2.7" )
routes_eth0=( "default via 192.168.2.1" )

That's all. Hope it helps.

-- 
Rgds
Peter



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
  2009-03-19 20:35                   ` Peter Humphrey
@ 2009-03-19 20:54                     ` Jarry
  2009-03-19 23:11                       ` Peter Humphrey
  0 siblings, 1 reply; 15+ messages in thread
From: Jarry @ 2009-03-19 20:54 UTC (permalink / raw
  To: gentoo-user

Peter Humphrey wrote:

> I too have static addresses. This is my /etc/conf.d/net:
> config_eth0=( "192.168.2.6 netmask 255.255.255.248 broadcast 192.168.2.7" )
> routes_eth0=( "default via 192.168.2.1" )
> That's all. Hope it helps.

And it really did help! From /etc/conf.d/net I deleted:
dns_domain_eth0="mydomain.com"
and my resolv.conf is not overwritten anymore. Thanks!

Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] nForce4 eth driver not working...
  2009-03-19 20:54                     ` Jarry
@ 2009-03-19 23:11                       ` Peter Humphrey
  0 siblings, 0 replies; 15+ messages in thread
From: Peter Humphrey @ 2009-03-19 23:11 UTC (permalink / raw
  To: gentoo-user

On Thursday 19 March 2009 20:54:00 Jarry wrote:

> ... it really did help ... Thanks!

It's good to be able to help occasionally.

-- 
Rgds
Peter



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-03-20  0:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-18 18:35 [gentoo-user] nForce4 eth driver not working Jarry
2009-03-18 18:37 ` Justin
2009-03-18 18:40 ` Neil Bothwick
2009-03-18 21:21   ` Jarry
2009-03-18 21:24     ` Justin
2009-03-18 21:33       ` Jarry
2009-03-18 21:41         ` Justin
2009-03-18 23:04           ` Hung Dang
2009-03-19 17:46             ` Jarry
2009-03-19 18:15               ` Hung Dang
2009-03-19 18:29                 ` Jarry
2009-03-19 20:35                   ` Peter Humphrey
2009-03-19 20:54                     ` Jarry
2009-03-19 23:11                       ` Peter Humphrey
     [not found]   ` <f05c493b0903181413r3cd5c9bboe3bd59f2c661b2a6@mail.gmail.com>
     [not found]     ` <f05c493b0903181416g4d22c633id5a3ad554e1c4060@mail.gmail.com>
2009-03-18 21:21       ` Jason Weisberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox