Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
port: SIOCSIFMAP: Operation not supported
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Kostko
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 83

PostPosted: Thu Apr 22, 2004 2:38 pm    Post subject: port: SIOCSIFMAP: Operation not supported Reply with quote

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 ?

:roll:
_________________
JID: kostko@transwarp.unimatrix-one.org
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Thu Apr 22, 2004 2:45 pm    Post subject: Re: port: SIOCSIFMAP: Operation not supported Reply with quote

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 ?

:roll:
interesting question... why would you want to do this? isn't it set auto? further
Code:
man ifconfig
does not show any option to set full-duplex here! Does your version? What command do you use exactly?
Back to top
View user's profile Send private message
Kostko
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 83

PostPosted: Thu Apr 22, 2004 2:48 pm    Post subject: Reply with quote

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.

:roll:
_________________
JID: kostko@transwarp.unimatrix-one.org
Back to top
View user's profile Send private message
Kostko
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 83

PostPosted: Thu Apr 22, 2004 2:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
robak
Apprentice
Apprentice


Joined: 14 Jan 2004
Posts: 209
Location: Germany

PostPosted: Thu Apr 22, 2004 3:18 pm    Post subject: Reply with quote

which driver and kernel do you use?
Back to top
View user's profile Send private message
Kostko
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 83

PostPosted: Thu Apr 22, 2004 3:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
robak
Apprentice
Apprentice


Joined: 14 Jan 2004
Posts: 209
Location: Germany

PostPosted: Thu Apr 22, 2004 3:47 pm    Post subject: Reply with quote

hmm
try to put you NIC into another pci slot
maybe you have problems with your irqs
Back to top
View user's profile Send private message
Kostko
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 83

PostPosted: Thu Apr 22, 2004 3:52 pm    Post subject: Reply with quote

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 :wink: 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
View user's profile Send private message
robak
Apprentice
Apprentice


Joined: 14 Jan 2004
Posts: 209
Location: Germany

PostPosted: Thu Apr 22, 2004 3:56 pm    Post subject: Reply with quote

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 :wink:
Back to top
View user's profile Send private message
Kostko
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 83

PostPosted: Thu Apr 22, 2004 4:05 pm    Post subject: Reply with quote

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 :wink:


well, the switch should be 100mbit, since it is hosted at ISP where it should be 100mbit. :roll:
_________________
JID: kostko@transwarp.unimatrix-one.org
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Thu Apr 22, 2004 6:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum