View previous topic :: View next topic |
Author |
Message |
Kostko Tux's lil' helper
Joined: 07 Jul 2003 Posts: 83
|
Posted: Thu Apr 22, 2004 2:38 pm Post subject: port: SIOCSIFMAP: Operation not supported |
|
|
When i want to set full-duplex 100mbit mode via ifconfig (ifconfig eth0 media 100baseTx) i get the following error:
port: SIOCSIFMAP: Operation not supported
NIC (RTL8139) supports 100mbit/s and full-duplex mode, so i really don't know what could be the problem ?
_________________ JID: kostko@transwarp.unimatrix-one.org |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Thu Apr 22, 2004 2:45 pm Post subject: Re: port: SIOCSIFMAP: Operation not supported |
|
|
Kostko wrote: | When i want to set full-duplex 100mbit mode via ifconfig (ifconfig eth0 media 100baseTx) i get the following error:
port: SIOCSIFMAP: Operation not supported
NIC (RTL8139) supports 100mbit/s and full-duplex mode, so i really don't know what could be the problem ?
| interesting question... why would you want to do this? isn't it set auto? furtherdoes not show any option to set full-duplex here! Does your version? What command do you use exactly? |
|
Back to top |
|
|
Kostko Tux's lil' helper
Joined: 07 Jul 2003 Posts: 83
|
Posted: Thu Apr 22, 2004 2:48 pm Post subject: |
|
|
Well, the problem is that auto sets "10MBit half-duplex" and i don't really know why is that so... it is on a server that is on colocation and it should support 100mbit full-duplex.
_________________ JID: kostko@transwarp.unimatrix-one.org |
|
Back to top |
|
|
Kostko Tux's lil' helper
Joined: 07 Jul 2003 Posts: 83
|
Posted: Thu Apr 22, 2004 2:49 pm Post subject: |
|
|
Quote: | does not show any option to set full-duplex here! Does your version? What command do you use exactly? |
command is written in the first post:
ifconfig eth0 media 100baseTx _________________ JID: kostko@transwarp.unimatrix-one.org |
|
Back to top |
|
|
robak Apprentice
Joined: 14 Jan 2004 Posts: 209 Location: Germany
|
Posted: Thu Apr 22, 2004 3:18 pm Post subject: |
|
|
which driver and kernel do you use? |
|
Back to top |
|
|
Kostko Tux's lil' helper
Joined: 07 Jul 2003 Posts: 83
|
Posted: Thu Apr 22, 2004 3:23 pm Post subject: |
|
|
Kernel 2.4.26 with grsec 2.0, driver is not loaded as module but the following are compiled into the kernel:
[*] RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support
[*] RealTek RTL-8139 PCI Fast Ethernet Adapter support
NIC is: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) _________________ JID: kostko@transwarp.unimatrix-one.org |
|
Back to top |
|
|
robak Apprentice
Joined: 14 Jan 2004 Posts: 209 Location: Germany
|
Posted: Thu Apr 22, 2004 3:47 pm Post subject: |
|
|
hmm
try to put you NIC into another pci slot
maybe you have problems with your irqs |
|
Back to top |
|
|
Kostko Tux's lil' helper
Joined: 07 Jul 2003 Posts: 83
|
Posted: Thu Apr 22, 2004 3:52 pm Post subject: |
|
|
robak wrote: | hmm
try to put you NIC into another pci slot
maybe you have problems with your irqs |
Currently, that is not possible because the server is in colocation But i doubt that this is the problem, because network is functioning properly except that it is in 10mbit half-duplex mode. _________________ JID: kostko@transwarp.unimatrix-one.org |
|
Back to top |
|
|
robak Apprentice
Joined: 14 Jan 2004 Posts: 209 Location: Germany
|
Posted: Thu Apr 22, 2004 3:56 pm Post subject: |
|
|
to what is this NIC connected?
if you only have an 10Mbit switch/hub or another 10Mbit NIC than it is right that linux switches to 10Mbit mode
btw: the irq-idea was just an idea |
|
Back to top |
|
|
Kostko Tux's lil' helper
Joined: 07 Jul 2003 Posts: 83
|
Posted: Thu Apr 22, 2004 4:05 pm Post subject: |
|
|
robak wrote: | to what is this NIC connected?
if you only have an 10Mbit switch/hub or another 10Mbit NIC than it is right that linux switches to 10Mbit mode
btw: the irq-idea was just an idea |
well, the switch should be 100mbit, since it is hosted at ISP where it should be 100mbit. _________________ JID: kostko@transwarp.unimatrix-one.org |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Thu Apr 22, 2004 6:33 pm Post subject: |
|
|
I'd start by emerging ethtool or mii-diag. I don't believe ifconfig is able to hard set negotiation whereas the above packages can.
I'd also double check with your ISP to find out exactly what switch you are connected to and what the port has been set to. It's very uncommon for newer NIC cards to choose 10mb half-duplex unless there is something funky going on.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
|