[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: realtek 8139 problem: one of 'm works



Do you have a link light on both the card and the port on the switch? You
make it sound as if you have the NIC plugged into the uplink port. If you
have the uplink port configured as an uplink (usually toggled as with a
button on those types of home switches), which you do not want, you will not
have happiness. If you run ifconfig -a, and look at the rl0 messages. If it
says status: no carrier, you probably do have the uplink port activated. 

-----Original Message-----
From: David Hofstee [mailto:D_(_dot_)_Hofstee_(_at_)_its_(_dot_)_tudelft_(_dot_)_nl]
Sent: Friday, December 22, 2000 9:39 AM
To: misc_(_at_)_openbsd_(_dot_)_org
Subject: realtek 8139 problem: one of 'm works


Hi,

I recently put OpenBSD 2.8 on a p166+ box, with 2 8139 Realtek NICs.
I installed it with a floppy and ftp, and that went pretty smooth. 

The other side of the network however, doesn't work so smooth. Here is
how I want my network to be:

external
   inet-router:   130.161.68.1
          
OpenBSD box
   rl1 (my ip#):  130.161.69.173/22
  ipf
  ipnat
   rl0 (internal):10.0.0.1/24

target 8 port 10/100Mbps NWay switch
   uplink/port1 (to BSD-box)
   |
   +---win95-box: 10.0.0.2/24

So, my internal network doesn't work. And I don't think it's the win95
box.

Description of weird things I found: 

-I get "/bsd: rl0: watchdog timeout" messages. "man rl" gives me that
 it "stopped responding to the network" or "there is a problem with the
 network connection (cable)". But the cable itself is fine, because my
 win95-box gets 500kbytes/s speeds over it... I also doubt that my
 switch is the problem, because it does the same thing. I don't know
 what "stopped responding to the network" means though.  
-In the dmesg (below), notice that rlphyX is NOT used. Even though I
 have realtek 8139 cards in there. Instead amphyX (AMD ethernet driver)
 is used.  
-One of the network cards works fine, the other one doesn't.  Even if
 I disconnect both adapter cards, I get timeout's from one card (rl0)
 but not from the other (rl1). This makes me think there is a config
 problem or a hardware problem (no outside problem, at least).

I tried looking on the misc list, but I found no such problems before.
I also tried to do "boot -c" and then "disable pcibios", but if that
should have been the solution, it didn't work (so I didn't bother
reconfiguring my kernel).

Hoping that someone has more clue growing in the garden than I do,

David Hofstee



------------------------------------------------------------
OpenBSD 2.8 (GENERIC) #399: Mon Nov  6 10:59:23 MST 2000
    deraadt_(_at_)_i386_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: xchg bug workaround performed
cpu0: Cyrix 6x86 (486-class)
real mem  = 33140736 (32364K)
avail mem = 25714688 (25112K)
using 430 buffers containing 1761280 bytes (1720K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/15/95, BIOS32 rev. 0 @ 0xfdb70
apm0 at bios0apm0: APM power management enable: power management disabled
(1)
: Power Management spec V1.2 (BIOS mgmt disabled)
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 found at 0xf0000[0x10000]
pcibios0: PCI BIOS has 5 Interrupt Routing table entries
pcibios0: PCI bus #0 is the last bus
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82437VX" rev 0x02
pcib0 at pci0 dev 7 function 0 "Intel 82371SB (Triton II) PCI-ISA" rev 0x01
pciide0 at pci0 dev 7 function 1 "Intel 82371SB (Triton II) IDE" rev 0x00:
DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 90680D4>
wd0: can use 32-bit, PIO mode 4, DMA mode 2
wd0: 16-sector PIO, LBA, 6485MB, 13176 cyl, 16 head, 63 sec, 13281408
sectors
pciide0: channel 0 interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
rl0 at pci0 dev 8 function 0 "Realtek 8139" rev 0x10: irq 10 address
00:e0:4c:69:ef:cf
amphy0 at rl0 phy 0: Am79C873 10/100 media interface, rev. 0
rl1 at pci0 dev 9 function 0 "Realtek 8139" rev 0x10: irq 11 address
00:e0:4c:69:f5:4d
amphy1 at rl1 phy 0: Am79C873 10/100 media interface, rev. 0
"Avance Logic AVL2301" rev 0x00 at pci0 dev 10 function 0 not configured
isa0 at pcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
vt0 at isa0 port 0x60/16 irq 1: vga 80 col, color, 8 scr, mf2-kbd
pms0 at vt0 irq 12
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4040 netmask 4c40 ttymask 5cc2
pctr: no performance counters in CPU
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
rl0: watchdog timeout




Visit your host, monkey.org