VIA Rhine network card problem

Justin Knierim lfs at jrknierim.de
Mon Nov 10 15:45:04 PST 2003


Hello everyone,

I have been trying the last day or so to get a LFS 5.0 system setup on a
server.  I have been doing everything through a SSH window, and so far,
everything has worked.  The system even boots, and gets past network
setup, but the network card does not get configured
(ifconfig/ifup/standard lfs network boot script), and so SSH starts and
gives an error with cannot connect 0.0.0.0, and I cannot ssh in.  So,
luckily there is a nice recovery system at the host, so I can see the
damage and investigate...

The network card is a VIA Rhine-II, VT6102.  The host system, Suse 8.1,
the card worked.  Not a module, compiled in.  

<from /proc/pci>
Bus  0, device  18, function  0:
    Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev
116).
      IRQ 23.
      Master Capable.  Latency=32.  Min Gnt=3.Max Lat=8.
      I/O at 0xe000 [0xe0ff].
      Non-prefetchable 32 bit memory at 0xea401000 [0xea4010ff].

The kernel finds the card, no problems...

<snip a lot>
Nov 11 00:11:12 p15144973 kernel: floppy0: no floppy controllers found
Nov 11 00:11:12 p15144973 kernel: via-rhine.c:v1.10-LK1.1.19
July-12-2003  Written by Donald Becker
Nov 11 00:11:12 p15144973 kernel:
http://www.scyld.com/network/via-rhine.html
Nov 11 00:11:12 p15144973 kernel: eth0: VIA VT6102 Rhine-II at 0xe000,
00:40:63:c8:34:e0, IRQ 23.
Nov 11 00:11:12 p15144973 kernel: eth0: MII PHY found at address 1,
status 0x786d advertising 05e1 Link 41e1.
Nov 11 00:11:12 p15144973 kernel: Linux agpgart interface v0.99 (c) Jeff
Hartmann
<snip a lot>
Nov 11 00:11:12 p15144973 kernel: IP Protocols: ICMP, UDP, TCP
Nov 11 00:11:12 p15144973 kernel: IP: routing cache hash table of 2048
buckets, 16Kbytes
Nov 11 00:11:12 p15144973 kernel: TCP: Hash tables configured
(established 16384 bind 32768)
Nov 11 00:11:12 p15144973 kernel: NET4: Unix domain sockets 1.0/SMP for
Linux NET4.0.
Nov 11 00:11:12 p15144973 kernel: IPv6 v0.8 for NET4.0
Nov 11 00:11:12 p15144973 kernel: IPv6 over IPv4 tunneling driver
Nov 11 00:11:12 p15144973 kernel: kjournald starting.  Commit interval 5
seconds
Nov 11 00:11:12 p15144973 kernel: EXT3-fs: mounted filesystem with
ordered data mode.
Nov 11 00:11:12 p15144973 kernel: VFS: Mounted root (ext3 filesystem)
readonly.
Nov 11 00:11:12 p15144973 kernel: Freeing unused kernel memory: 100k
freed
Nov 11 00:11:12 p15144973 kernel: Adding Swap: 265064k swap-space
(priority 1)
Nov 11 00:11:12 p15144973 kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on
ide0(3,5), internal journal
Nov 11 00:11:12 p15144973 kernel: kjournald starting.  Commit interval 5
seconds
Nov 11 00:11:12 p15144973 kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on
ide0(3,1), internal journal
Nov 11 00:11:12 p15144973 kernel: EXT3-fs: mounted filesystem with
ordered data mode.
Nov 11 00:11:12 p15144973 kernel: kjournald starting.  Commit interval 5
seconds
Nov 11 00:11:12 p15144973 kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on
ide0(3,3), internal journal
Nov 11 00:11:12 p15144973 kernel: EXT3-fs: mounted filesystem with
ordered data mode.
Nov 11 00:11:12 p15144973 kernel: eth0: Setting full-duplex based on MII
#1 link partner capability of 41e1.
Nov 11 00:11:22 p15144973 kernel: eth0: no IPv6 routers present
<end of kernel log>

I can put the whole log online if anyone wants.  All other log files are
empty, or have the same as kern.log, except auth.log, there it tells:

Nov 11 00:11:13 p1514xxxx sshd[101]: Server listening on :: port 22.
Nov 11 00:11:13 p1514xxxx sshd[101]: error: Bind to port 22 on 0.0.0.0
failed: Address already in use.

IPv6 should not be a problem, I do not have the protocol enabled in the
kernel, and do not want/use it.  So, it finds the card, it has irq 23
(suse shows the same thing).  I started the system a few times with it
recording everything to a log file that I could.  And lo gets setup, but
not eth0.  I tried various ifconfig/ifup commands, and tried to log them
also, but could not get any output.  I will try to capture the return
codes next, maybe this might help.  :-/  The /etc/hosts and
/etc/sysconfig/network-devices/ifconfig.eth0 are setup correctly (I have
built many lfs systems, so I know a bit about this at least :)), and
even running directly the ifconfig eth0 IP..., it does not work.

So, can anyone tell me how to get this thing working??  This server is
on a fixed IP, should be nice and simple I thought.  And help would be
appreciated!  It is probably something obvious or stupid I did!  ;)

-- 
Mit freundlichen Grüßen,

Justin R. Knierim
Lfs at jrknierim dot de





More information about the lfs-support mailing list