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

Intel 82557 half-duplex issues, SIOCSIFMEDIA: Device not configured



Originally posted to misc@openbsd.org, didn't get any feedback.

-----Original Message-----
From: Smith, Steve 
Sent: Thursday, December 06, 2001 2:04 PM
To: misc@openbsd.org
Subject: Intel 82557 half-duplex issues, SIOCSIFMEDIA: Device not
configured


I can't get my Intel 82557 adapters to force half-duplex.  I have a
DLINK 100/10 hub and a 3Com 100/10 hub which I tried and been
unsuccessful with both.  I can get the adapter to work in autoselect but
I get the following when trying to set half-duplex:

vbxopenbsd01# ifconfig fxp1 media 100baseTX mediaopt half-duplex
ifconfig: SIOCSIFMEDIA: Device not configured

Reading through the archives I've seen other ask this question or report
this problem but no answer was ever reached.  I can set full-duplex and
autoselect.  This is quite strange but 2 different NICs (Obviously both
Intel 82557) and 2 different hubs display this behavior.  The same thing
happens if I try 10baseT and half-duplex.  This is a vanilla kernel with
patches applied but nothing else.  Bone stock OpenBSD 2.9 (no patches)
behaves the same.  Haven't tried OpenBSD 3.0.  Any ideas?

Steve Smith
Telecommunications Engineer
Vobix Corporation
(502) 426-4007 ext. 113

Various fun stuff:

vbxopenbsd01[82] [~/]> uname -a
OpenBSD vbxopenbsd01 2.9 GENERIC#3 i386

vbxopenbsd01[83] [~/]>dmesg
OpenBSD 2.9 (GENERIC) #3: Fri Nov 30 11:39:37 EST 2001
    root@vbxopenbsd01:/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class) 728 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,
MMX,FXSR,SIMD
real mem  = 536453120 (523880K)
avail mem = 492646400 (481100K)
using 5689 buffers containing 26927104 bytes (26296K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 06/21/01, BIOS32 rev. 0 @
0xffe90
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfc2c0/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:15:0 ("Reliance Computer ROSB4
SouthBridge" rev 0x00)
pcibios: no compatible PCI ICU found: ICU vendor 0x1166 product 0x0200
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4000! 0xec000/0x4000!
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Reliance Computer CNB20LE Host" rev 0x05
pchb1 at pci0 dev 0 function 1 "Reliance Computer CNB20LE Host" rev 0x05
pci1 at pchb1 bus 3
ppb0 at pci1 dev 2 function 0 "Intel i960 RM PCI-PCI" rev 0x01
pci2 at ppb0 bus 4
"Adaptec AIC-7899F" rev 0x01 at pci2 dev 4 function 0 not configured
ahc1 at pci2 dev 4 function 1 "Adaptec AIC-7899 U160" rev 0x01: irq 3
ahc1: Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc1: 16 targets
aac0 at pci1 dev 2 function 1 "Dell PERC 3/Si" rev 0x01: irq 4
aac0: i960RX 100MHz, 62MB, no battery support (5) Kernel 2.1-3
scsibus1 at aac0: 64 targets
sd0 at scsibus1 targ 0 lun 0: <Adaptec, Container #00, > SCSI2 0/direct
fixed
sd0: 8675MB, 1106 cyl, 255 head, 63 sec, 512 bytes/sec, 17767890 sec
total
fxp0 at pci1 dev 8 function 0 "Intel 82557" rev 0x08: irq 5, address
00:b0:d0:49:10:26
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
ppb1 at pci0 dev 4 function 0 "DEC DECchip 21152 PCI-PCI" rev 0x03
pci3 at ppb1 bus 1
fxp1 at pci3 dev 4 function 0 "Intel 82557" rev 0x05: irq 12, address
00:90:27:fc:a3:b8
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 0
fxp2 at pci3 dev 5 function 0 "Intel 82557" rev 0x05: irq 11, address
00:90:27:fc:a3:b9
inphy2 at fxp2 phy 1: i82555 10/100 media interface, rev. 0
ppb2 at pci0 dev 8 function 0 "DEC DECchip 21152 PCI-PCI" rev 0x03
pci4 at ppb2 bus 2
fxp3 at pci4 dev 4 function 0 "Intel 82557" rev 0x05: irq 10, address
00:90:27:fc:a4:44
inphy3 at fxp3 phy 1: i82555 10/100 media interface, rev. 0
fxp4 at pci4 dev 5 function 0 "Intel 82557" rev 0x05: irq 7, address
00:90:27:fc:a4:45
inphy4 at fxp4 phy 1: i82555 10/100 media interface, rev. 0
vga1 at pci0 dev 14 function 0 "ATI Mach64 GY" rev 0x7a
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 15 function 0 "Reliance Computer ROSB4 SouthBridge"
rev 0x4f
pciide0 at pci0 dev 15 function 1 "Reliance Computer IDE" rev 0x00: DMA
(unsupported), channel 0 configured to compatibility, channel 1
configured to compatibility
pciide0: channel 0 interrupting at irq 14
atapiscsi0 at pciide0 channel 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, S003> SCSI0
5/cdrom removable
pciide0: channel 1 ignored (not responding; disabled or no drives?)
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4058 netmask 5cf8 ttymask 5cfa
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: sd0 matched BIOS disk 80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
sd0(aac0:0:0): timed out

vbxopenbsd01[83] [~/]> cat /etc/hostname.fxp1
inet 10.0.14.2 255.255.248.0 NONE media autoselect

vbxopenbsd01[84] [~/]> su -
Password:
vbxopenbsd01# ifconfig fxp1 media 100baseTX mediaopt half-duplex
ifconfig: SIOCSIFMEDIA: Device not configured

vbxopenbsd01# ifconfig fxp1
fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet autoselect (100baseTX)
        status: active
        inet 10.0.14.2 netmask 0xfffff800 broadcast 10.0.15.255
        inet6 fe80::290:27ff:fefc:a3b8%fxp1 prefixlen 64 scopeid 0x2