Re: [gentoo-user] Two Realtek NICs In One Machine (8139too)

2003-03-15 Thread Stroller
Paul de Vrieze said:
> On Saturday 15 March 2003 03:45, Stroller (Gentoo Lists) wrote:
>> [EMAIL PROTECTED] stroller # cat /proc/pci
>> PCI devices found:
>> 
>>Bus  0, device   9, function  0:
>>  Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
>> (rev 0).
>>IRQ 11.
>>I/O at 0x9400 [0x941f].
>>Bus  0, device  10, function  0:
>>  Ethernet controller: Realtek Semiconductor Co., Ltd.
>>
>> Perhaps someone can suggest something..?
>>
>
> Look at the output of /proc/pci
> It is a 8029 card, not a 8129. This one is a 10mbps card and needs the
pci  ne2000 driver.

D'oh! How dumb am I..?
It even says 8029 on the box. I guess I read that optimistically as 8129 &
switched my brain off. I'm compiling that module now.

A thousand thanks, Paul.
Many, many apologies to the list for wasted time & bandwidth.

Stroller.




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Two Realtek NICs In One Machine (8139too)

2003-03-15 Thread Paul de Vrieze
On Saturday 15 March 2003 03:45, Stroller (Gentoo Lists) wrote:
> [EMAIL PROTECTED] stroller # cat /proc/pci
> PCI devices found:
> 
>Bus  0, device   9, function  0:
>  Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
> (rev 0).
>IRQ 11.
>I/O at 0x9400 [0x941f].
>Bus  0, device  10, function  0:
>  Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL-8139/8139C/8139C+ (rev 16).
>IRQ 10.
>Master Capable.  Latency=32.  Min Gnt=32.Max Lat=64.
>I/O at 0x9800 [0x98ff].
>Non-prefetchable 32 bit memory at 0xec00 [0xecff].
>
>
> This  Usenet posting and some other stuff I've
> read about "options" seems to point the right way, but I'm obviously
> just not grasping something. In particular, `grep eth
> /etc/modules.conf` draws a blank on my system, and that file is
> commented not to be human-editable, anyway.
>
> Perhaps someone can suggest something..?
>

Look at the output of /proc/pci
It is a 8029 card, not a 8129. This one is a 10mbps card and needs the pci 
ne2000 driver.

Paul

-- 
Paul de Vrieze
Researcher
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net


pgp0.pgp
Description: signature


[gentoo-user] Two Realtek NICs In One Machine (8139too)

2003-03-14 Thread Stroller (Gentoo Lists)
Folks,

I'm hoping someone can advise me & improve my understanding of how
modules are / can be loaded by the kernel.

I have a RealTek 8139  which has been
installed in my Gentoo box for some time. It has always been the only
network card in that machine, and it is loaded by the entry `8139too`
in /etc/modules.autoload. All works fine & fluffy.

Today I had cause to add a second network card, a PCI RealTek 8129
(that's: 81_2_9). The 8139too module appears to be also suitable for
this card so recompiled my kernel with the appropriate additional
option enabled for this module.

Afterwards:
 [EMAIL PROTECTED] stroller # grep 8139 /usr/src/linux/.config
 CONFIG_8139CP=m
 CONFIG_8139TOO=m
 # CONFIG_8139TOO_PIO is not set
 # CONFIG_8139TOO_TUNE_TWISTER is not set
 CONFIG_8139TOO_8129=y
 # CONFIG_8139_OLD_RX_RESET is not set
 [EMAIL PROTECTED] stroller #

I have `cp /etc/init.d/net.eth0 /etc/init.d/net.eth0` as suggested by
the docs at Gentoo.org , and added a second
line to /etc/conf, but `/etc/init.d/net.eth1 start` gives the same
result as:

[EMAIL PROTECTED] stroller # ifconfig eth1 192.168.1.44 broadcast
192.168.1.255 netmask 255.255.255.0
SIOCSIFADDR: No such device
eth1: unknown interface: No such device
SIOCSIFBRDADDR: No such device
eth1: unknown interface: No such device
SIOCSIFNETMASK: No such device
[EMAIL PROTECTED] stroller #

What I'm guessing is that I need in some way to call modprobe in such a
way that it also configures for my 8129, or at least I need to tell it
where to look for it. Both cards seem to be recognised at some level by
the kernel:

[EMAIL PROTECTED] stroller # ifconfig
eth0  Link encap:Ethernet  HWaddr 00:00:B4:C3:5E:5C
   inet addr:192.168.1.43  Bcast:192.168.1.255
Mask:255.255.255.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:3250 errors:0 dropped:0 overruns:0 frame:0
   TX packets:3124 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
   RX bytes:504359 (492.5 Kb)  TX bytes:871102 (850.6 Kb)
   Interrupt:10 Base address:0xd000

loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0



[EMAIL PROTECTED] stroller # cat /proc/pci
PCI devices found:

   Bus  0, device   9, function  0:
 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
(rev 0).
   IRQ 11.
   I/O at 0x9400 [0x941f].
   Bus  0, device  10, function  0:
 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 16).
   IRQ 10.
   Master Capable.  Latency=32.  Min Gnt=32.Max Lat=64.
   I/O at 0x9800 [0x98ff].
   Non-prefetchable 32 bit memory at 0xec00 [0xecff].


This  Usenet posting and some other stuff I've
read about "options" seems to point the right way, but I'm obviously
just not grasping something. In particular, `grep eth
/etc/modules.conf` draws a blank on my system, and that file is
commented not to be human-editable, anyway.

Perhaps someone can suggest something..?

Many thanks in advance for time & bandwidth,

Stroller.




--
[EMAIL PROTECTED] mailing list