Hello,

I have tried to configure an intel PRO/100 S nic (intel 82550) to use
10baseT (works) and half-duplex (don't work).

I use the following command line:

$ ifconfig fxp0 media 10baseT mediaopt half-duplex

and get the message:

        ifconfig: SIOCSIFMEDIA: Invalid argument

If I use "full-duplex" instead, no error message appears.
It doesn't make a difference, if the interface is put down first or
settings added to /etc/hostname.fxp0. Do I miss here anything or is it
a bug or my system?

The source was checked out on the same day and the complete system was
compiled. The kernel isn't generic (sorry), ntfs and acpi are added.

OpenBSD 3.8-beta (OBSDBOX2) #5: Fri Aug 12 19:52:29 CEST 2005
    [EMAIL PROTECTED]:/work/system/source/src/sys/arch/i386/compile/
OBSDBOX2 cpu0: Intel Pentium III ("GenuineIntel" 686-class) 1.01 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 535318528 (522772K) avail mem = 481546240 (470260K)
using 4278 buffers containing 26869760 bytes (26240K) of memory
mainbus0 (root)
acpi0 at mainbus0: revision 0 attached
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpi device at acpi0 from table DSDT not configured
acpi device at acpi0 from table FACP not configured
acpi device at acpi0 from table BOOT not configured
bios0 at mainbus0: AT/286+(92) BIOS, date 09/20/02, BIOS32 rev. 0 @
0xf0bf0 apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x1422
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1360/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev
0x00) pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82815 Hub" rev 0x02
vga1 at pci0 dev 2 function 0 "Intel 82815 Graphics" rev 0x02: aperture
at 0xf8000000, size 0x4000000 wsdisplay0 at vga1 mux 1: console (80x25,
vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x02
pci1 at ppb0 bus 1
fxp0 at pci1 dev 10 function 0 "Intel 82557" rev 0x0c, i82550: irq 9,
address 00:02:b3:62:73:6e inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev.
4 ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x02:
failed to map I/O space pciide0 at pci0 dev 31 function 1 "Intel
82801BA IDE" rev 0x02: DMA, channel 0 wired to compatibility, channel 1
wired to compatibility wd0 at pciide0 channel 0 drive 0: <ST320014A>
wd0: 16-sector PIO, LBA, 19092MB, 39102336 sectors wd1 at pciide0
channel 0 drive 1: <SAMSUNG SP1604N> wd1: 16-sector PIO, LBA48,
152627MB, 312581808 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-
DMA mode 5 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <PLEXTOR, CD-R PREMIUM, 1.06> SCSI0 5/
cdrom removable atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-M1612, J806> SCSI0 5/
cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x02: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82801BA SMBus" rev 0x02 at pci0 dev 31 function 3 not configured
uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x02: irq 9
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x02: irq 10,
ICH2 AC97 ac97: codec id 0x41445348 (Analog Devices AD1881A)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auich0
isa0 at ichpcib0
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>
spkr0 at pcppi0
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
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask fb65 netmask fb65 ttymask fbe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
uhub2 at uhub1 port 2
uhub2: ALCOR Generic USB Hub, rev 1.10/2.00, addr 2
uhub2: 4 ports with 4 removable, self powered
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/20.00, addr 2,
iclass 3/1 ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

Regards,

        Ulrich

Reply via email to