Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 1998 15:24:47 +0100
From:      erakupa@kk.etx.ericsson.se (ETX-B-SL Martti Kuparinen)
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: "ifconfig de0 media 10baseT/UTP" does NOT work
Message-ID:  <199803271424.PAA03781@kk662.kk.etx.ericsson.se>

next in thread | raw e-mail | index | archive | help
Doug White <dwhite@gdi.uoregon.edu> wrote:

> > > > I want to set my Digital Fast Ethernet card to 10 Mbit/s and
> > > > [...] 
> > > > The driver reports (see the output below) that it is now in 10 Mbit/s
> > > > mode and "ifconfig de0" says the same.
> > > > 
> > > > But the LED on the ethernet card (and Sun which is the gateway, i.e.
> > > > 192.168.15.129) says the card is in 100 Mbit/s mode.
 
> It could be that your Ethernet card refuses to acknowledge the speed
> change. Can you talk with the Sun box? It may not change the speed until
> you actually *do* something... 

Yes, I can talk with the SunOS box. And the speed was not changed
after doing something, i.e. it's still 100 Mbit/s Full-Duplex.

I installed 2.2.6-RELEASE on another disk, but the result is still the
same: cards are on 100 Mbps mode although they claim to be 10 Mbps (see
the dmesg and ifconfig outputs below).

Note that these cards work ok in 2.2.2-RELEASE with those link[0,1,2]
flags, but not in 2.2.5-RELEASE or 2.2.6-RELEASE :-(

Are you using DEC EtherWORKS cards manually set to 10 Mbps (i.e. you are
not using the autoselect feature)? How did you configure the cards...

/Martti

----------------
ROOT slrtr:~> dmesg
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.6-RELEASE #0: Fri Mar 27 14:37:24 CET 1998
    root@slrtr:/usr/src/sys/compile/SLRTR
CPU: Pentium Pro (199.43-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x617  Stepping=7
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 67108864 (65536K bytes)
avail memory = 63340544 (61856K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:13:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:13:1
chip3 <generic PCI bridge (vendor=1011 device=0021 subclass=4)> rev 1 on pci0:14:0
vga0 <VGA-compatible display device> rev 67 int a irq ?? on pci0:16:0
de0 <Digital 21140A Fast Ethernet> rev 32 int a irq 11 on pci0:17:0
de0: DEC DE500-AA 21140A [10-100Mb/s] pass 2.0
de0: address 00:00:f8:05:a4:a8
Probing for devices on PCI bus 1:
pci1:8:    vendor=0x10b7, device=0x5900, class=network (ethernet) int a irq 10 [no driver assigned]
de1 <Digital 21140A Fast Ethernet> rev 32 int a irq 10 on pci1:9:0
de1 <Digital 21140A Fast Ethernet> rev 32 int a irq 10 on pci1:9:0
de1: DEC DE500-AA 21140A [10-100Mb/s] pass 2.0
de1: address 00:00:f8:1f:1e:ab
de2 <Digital 21140A Fast Ethernet> rev 32 int a irq 9 on pci1:10:0
de2: DEC DE500-AA 21140A [10-100Mb/s] pass 2.0
de2: address 00:00:f8:05:8d:33
de3 <Digital 21140A Fast Ethernet> rev 32 int a irq 9 on pci1:11:0
de3: DEC DE500-AA 21140A [10-100Mb/s] pass 2.0
de3: address 00:00:f8:1f:03:17
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST51270A>
wd0: 1223MB (2504880 sectors), 2485 cyls, 16 heads, 63 S/T, 512 B/S
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
Profiling kernel, textsize=939264 [f0100000..f01e5500]
cputime 258, empty_loop 10, nullfunc_loop_profiled 698, mcount 1012, mexitcount 611
Profiling overheads: mcount: 245+752, 606+391; mexitcount: 245+350, 516+80 nsec
Profiling overheads: mcount: 49+150, 121+78; mexitcount: 49+70, 103+16 cycles
de0: enabling 10baseT port
de1: enabling 10baseT port
de2: enabling 10baseT port
de3: enabling 10baseT port
de1: abnormal interrupt: transmit underflow (raising TX threshold to 96|256)

ROOT slrtr:~>uname -a
FreeBSD slrtr 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0: Fri Mar 27 14:37:24 CET 1998     root@slrtr:/usr/src/sys/compile/SLRTR  i386
ROOT slrtr:~>
ROOT slrtr:~>ifconfig de0
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.15.130 netmask 0xfffffffc broadcast 192.168.15.131
        ether 00:00:f8:05:a4:a8 
        media: 10baseT/UTP status: active
ROOT slrtr:~>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803271424.PAA03781>