Re: FreeBSD-6.x/7.x 1000BaseTX connection problem

2009-01-27 Thread Steven Hartland

We have never had a problem with FreeBSD and Cisco using em
and bge. They do take a while to come up but that's just
Cisco being Cisco.

   Regards
   Steve

- Original Message - 
From: Peter C. Lai pe...@simons-rock.edu




On 2009-01-27 01:14:55PM +0800, Balgansuren Batsukh wrote:

Hello,

I saw by default all 6.x/7.x version can't connect to Cisco Catalyst 
2970G/3750G switch at 1000Mbps speed.

Only to need to put speed option keyword on /etc/rc.conf?




This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD-6.x/7.x 1000BaseTX connection problem

2009-01-27 Thread sthaug
 We have never had a problem with FreeBSD and Cisco using em
 and bge. They do take a while to come up but that's just
 Cisco being Cisco.

Same here. We use em interfaces with Cisco switches all the time, all
ports configured with default which is autonegotiation.

Steinar Haug, Nethelp consulting, sth...@nethelp.no
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD-6.x/7.x 1000BaseTX connection problem

2009-01-27 Thread Robert Blayzor

On Jan 27, 2009, at 3:49 AM, Steven Hartland wrote:

We have never had a problem with FreeBSD and Cisco using em
and bge. They do take a while to come up but that's just
Cisco being Cisco.




By default all ports participate in spanning-tree, which is probably  
any delay you're seeing.  You can setup host ports by explicitly  
setting them up as access ports and then turning on spanning-tree  
portfast.  That makes the ports come up almost immediately.


I've never had a problem with Intel (em/fxp) or Broadcom (bge/bce)  
using auto-neg on any Cisco switch made in the last 8-10 years.


--
Robert Blayzor, BOFH
INOC, LLC
rblay...@inoc.net
http://www.inoc.net/~rblayzor/



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD-6.x/7.x 1000BaseTX connection problem

2009-01-27 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Balgansuren Batsukh wrote:
 Some servers running at 1000Mbps without problem same rc.conf.
 
 Hardware configuration is exactly same.

Hmm... That's strange, I never encountered such a problem with neither
bge(4), bce(4) nor em(4).

Perhaps, you can try manually set media to GbE?  Another guess is that
the cable could somehow have some problems?

Cheers,
- --
Xin LI delp...@delphij.nethttp://www.delphij.net/
FreeBSD - The Power to Serve!
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.10 (FreeBSD)

iEYEARECAAYFAkl/mwkACgkQi+vbBBjt66BkGACgk+HsUrhMPH5Q4VdLTqdQRtqJ
xhoAoLNCvmcsyXZm+qbV8UUogBzbZX+L
=Kvr4
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


FreeBSD-6.x/7.x 1000BaseTX connection problem

2009-01-26 Thread Balgansuren Batsukh
Hello,

I saw by default all 6.x/7.x version can't connect to Cisco Catalyst 
2970G/3750G switch at 1000Mbps speed.

Only to need to put speed option keyword on /etc/rc.conf?

Balgaa
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD-6.x/7.x 1000BaseTX connection problem

2009-01-26 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Balgansuren Batsukh wrote:
 Hello,
 
 I saw by default all 6.x/7.x version can't connect to Cisco Catalyst 
 2970G/3750G switch at 1000Mbps speed.
 
 Only to need to put speed option keyword on /etc/rc.conf?

I think you don't need to put explicit speed option, the system *should*
negotiate for you.

Which NIC are you using?  Is it 'up'?  Some NICs would stay at 10Mbps if
not 'up'.

Cheers,
- --
Xin LI delp...@delphij.nethttp://www.delphij.net/
FreeBSD - The Power to Serve!
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.10 (FreeBSD)

iEYEARECAAYFAkl+nZcACgkQi+vbBBjt66CPSgCfUmpuR751q4Vu4rKQ1w1jGu4F
Q3IAn2wNzF43aIsZSY0pQ6w7f7v90P/W
=5dGG
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD-6.x/7.x 1000BaseTX connection problem

2009-01-26 Thread Peter C. Lai
On 2009-01-27 01:14:55PM +0800, Balgansuren Batsukh wrote:
 Hello,
 
 I saw by default all 6.x/7.x version can't connect to Cisco Catalyst 
 2970G/3750G switch at 1000Mbps speed.
 
 Only to need to put speed option keyword on /etc/rc.conf?
 
 Balgaa

Cisco is always weird about autonegotiation. (I have linux boxes that
fail it every once in a while too). If you want, you can specify media 
type under the 'ifconfig_xyn =' line in rc.conf:

ifconfig_em0 = inet 1.2.3.4 netmask 255.255.255.0 polling \
media 1000baseTX mediaopt full-duplex

-- 
===
Peter C. Lai | Bard College at Simon's Rock
Systems Administrator| 84 Alford Rd.
Information Technology Svcs. | Gt. Barrington, MA 01230 USA
peter AT simons-rock.edu | (413) 528-7428
===

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD-6.x/7.x 1000BaseTX connection problem

2009-01-26 Thread Balgansuren Batsukh

For example here:

ns# ifconfig -a
--
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
   options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
   ether 00:1e:c9:2f:15:20
   inet 122.254.1x.x netmask 0xffe0 broadcast 122.254.1x.x
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
   inet 127.0.0.1 netmask 0xff00

uname -a
-
FreeBSD ns.boldsoft.mn 7.1-STABLE FreeBSD 7.1-STABLE #2: Mon Jan 26 22:56:56 
ULAT 2009 bal...@ns.xxx.mn:/usr/obj/usr/src/sys/DNS  i386


hostname=ns.xxx.mn
ifconfig_bge0=inet 122.254.1x.x  netmask 255.255.255.224
defaultrouter=122.254.1x.x


Balgaa

- Original Message - 
From: Xin LI delp...@delphij.net

To: Balgansuren Batsukh bal...@micom.mn
Cc: freebsd-stable@freebsd.org
Sent: Tuesday, January 27, 2009 1:37 PM
Subject: Re: FreeBSD-6.x/7.x 1000BaseTX connection problem



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Balgansuren Batsukh wrote:

Hello,

I saw by default all 6.x/7.x version can't connect to Cisco Catalyst 
2970G/3750G switch at 1000Mbps speed.


Only to need to put speed option keyword on /etc/rc.conf?


I think you don't need to put explicit speed option, the system *should*
negotiate for you.

Which NIC are you using?  Is it 'up'?  Some NICs would stay at 10Mbps if
not 'up'.

Cheers,
- --
Xin LI delp...@delphij.net http://www.delphij.net/
FreeBSD - The Power to Serve!
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.10 (FreeBSD)

iEYEARECAAYFAkl+nZcACgkQi+vbBBjt66CPSgCfUmpuR751q4Vu4rKQ1w1jGu4F
Q3IAn2wNzF43aIsZSY0pQ6w7f7v90P/W
=5dGG
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org




___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD-6.x/7.x 1000BaseTX connection problem

2009-01-26 Thread Balgansuren Batsukh

Some servers running at 1000Mbps without problem same rc.conf.

Hardware configuration is exactly same.

$ ifconfig -a
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
   options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
   ether 00:1e:c9:3d:0b:49
   inet 122.254.x.x netmask 0xff00 broadcast 122.254.x.x
   media: Ethernet autoselect (1000baseTX full-duplex)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
   inet 127.0.0.1 netmask 0xff00
$

- Original Message - 
From: Xin LI delp...@delphij.net

To: Balgansuren Batsukh bal...@micom.mn
Cc: freebsd-stable@freebsd.org
Sent: Tuesday, January 27, 2009 1:37 PM
Subject: Re: FreeBSD-6.x/7.x 1000BaseTX connection problem



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Balgansuren Batsukh wrote:

Hello,

I saw by default all 6.x/7.x version can't connect to Cisco Catalyst 
2970G/3750G switch at 1000Mbps speed.


Only to need to put speed option keyword on /etc/rc.conf?


I think you don't need to put explicit speed option, the system *should*
negotiate for you.

Which NIC are you using?  Is it 'up'?  Some NICs would stay at 10Mbps if
not 'up'.

Cheers,
- --
Xin LI delp...@delphij.net http://www.delphij.net/
FreeBSD - The Power to Serve!
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.10 (FreeBSD)

iEYEARECAAYFAkl+nZcACgkQi+vbBBjt66CPSgCfUmpuR751q4Vu4rKQ1w1jGu4F
Q3IAn2wNzF43aIsZSY0pQ6w7f7v90P/W
=5dGG
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org




___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org