Re: [gentoo-user] nForce4 eth driver not working...

2009-03-19 Thread Jarry

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.



Re: [gentoo-user] nForce4 eth driver not working...

2009-03-19 Thread Hung Dang

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



Re: [gentoo-user] nForce4 eth driver not working...

2009-03-19 Thread Jarry

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.



Re: [gentoo-user] nForce4 eth driver not working...

2009-03-19 Thread Peter Humphrey
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



Re: [gentoo-user] nForce4 eth driver not working...

2009-03-19 Thread Jarry

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.



Re: [gentoo-user] nForce4 eth driver not working...

2009-03-19 Thread Peter Humphrey
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



[gentoo-user] nForce4 eth driver not working...

2009-03-18 Thread Jarry

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.



Re: [gentoo-user] nForce4 eth driver not working...

2009-03-18 Thread Justin
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.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] nForce4 eth driver not working...

2009-03-18 Thread Neil Bothwick
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.


signature.asc
Description: PGP signature


Re: [gentoo-user] nForce4 eth driver not working...

2009-03-18 Thread Jarry

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 d410 (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.



Re: [gentoo-user] nForce4 eth driver not working...

2009-03-18 Thread Jason Weisberger
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 n...@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.


Re: [gentoo-user] nForce4 eth driver not working...

2009-03-18 Thread Justin
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 d410 (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.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] nForce4 eth driver not working...

2009-03-18 Thread Jarry

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.



Re: [gentoo-user] nForce4 eth driver not working...

2009-03-18 Thread Justin
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])



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] nForce4 eth driver not working...

2009-03-18 Thread Hung Dang

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