When will the new BCE driver in HEAD be incorporated into RELENG_6?

2006-10-18 Thread Conrad Burger

Hi

It looks like there is a "new"  version of the bce driver in HEAD.
When will it be incorporated into  Releng_6?

We are currently having some  performance problems with a java
application on our Dell 1950s.

And it looks like it has something  to do with the speed with which
network I/Os are  performed.

We have Dell 2850s running FreeBSD  5.4/i386 SMP. With Intel nics (em)
and they are performing quite well.

With 34000 tcp sockets open the  maximum time it takes to perform a
single network I/O is about 100ms.

The Dell 1950s running FreeBSD  6.2-Prerelease/i386 SMP with Broadcom
nics (bce), the same application and 34000  tcp connections open.

The maximum time it takes to  perform a single network I/O is about 7000ms.

Most of the packets the systems  send/receive are rather small.

We are not quite sure what could  cause this behavior.

If anyone has any ideas of what we  could do to decrease the time it
takes to perform network I/O it would be much  appreciated.

Regards
Conrad

Some  information:
dev.bce.0.%desc: Broadcom  NetXtreme II BCM5708 1000Base-T (B1), v0.9.6
dev.bce.0.%driver:  bce
dev.bce.0.%location: slot=0  function=0
dev.bce.0.%pnpinfo: vendor=0x14e4  device=0x164c subvendor=0x1028
subdevice=0x01b3  class=0x02
dev.bce.0.%parent:  pci9
dev.bce.0.driver_version:  v0.9.6
dev.bce.0.stat_IfHcInOctets:  2346165
dev.bce.0.stat_IfHCInBadOctets:  1877825702
dev.bce.0.stat_IfHCOutOctets:  2751390538
dev.bce.0.stat_IfHCOutBadOctets:  0
dev.bce.0.stat_IfHCInUcastPkts:  360078711
dev.bce.0.stat_IfHCInMulticastPkts:  18339
dev.bce.0.stat_IfHCInBroadcastPkts:  270544
dev.bce.0.stat_IfHCOutUcastPkts:  323261730
dev.bce.0.stat_IfHCOutMulticastPkts:  147410
dev.bce.0.stat_IfHCOutBroadcastPkts:  985
dev.bce.0.stat_emac_tx_stat_dot3statsinternalmactransmiterrors:  0
dev.bce.0.stat_Dot3StatsCarrierSenseErrors:  0
dev.bce.0.stat_Dot3StatsFCSErrors:  0
dev.bce.0.stat_Dot3StatsAlignmentErrors:  0
dev.bce.0.stat_Dot3StatsSingleCollisionFraes:  0
dev.bce.0.stat_Dot3StatsMultipleCollisionFrames:  0
dev.bce.0.stat_Dot3StatsDeferredTransmissions:  0
dev.bce.0.stat_Dot3StatsExcessiveCollisions:  0
dev.bce.0.stat_Dot3StatsLateCollisions:  0
dev.bce.0.stat_EtherStatsCollisions:  0
dev.bce.0.stat_EtherStatsFragments:  0
dev.bce.0.stat_EtherStatsJabbers:  0
dev.bce.0.stat_EtherStatsUndersizePkts:  0
dev.bce.0.stat_EtherStatsOverrsizePkts:  0
dev.bce.0.stat_EtherStatsPktsRx64Octets:  44671171
dev.bce.0.stat_EtherStatsPktsRx65Octetsto127Octets:  166377250
dev.bce.0.stat_EtherStatsPktsRx128Octetsto255Octets:  125306581
dev.bce.0.stat_EtherStatsPktsRx256Octetsto511Octets:  11502851
dev.bce.0.stat_EtherStatsPktsRx512Octetsto1023Octets:  3372657
dev.bce.0.stat_EtherStatsPktsRx1024Octetsto1522Octets:  9137084
dev.bce.0.stat_EtherStatsPktsRx1523Octetsto9022Octets:  0
dev.bce.0.stat_EtherStatsPktsTx64Octets:  12605056
dev.bce.0.stat_EtherStatsPktsTx65Octetsto127Octets:  208798776
dev.bce.0.stat_EtherStatsPktsTx128Octetsto255Octets:  82452517
dev.bce.0.stat_EtherStatsPktsTx256Octetsto511Octets:  8532515
dev.bce.0.stat_EtherStatsPktsTx512Octetsto1023Octets:  3204492
dev.bce.0.stat_EtherStatsPktsTx1024Octetsto1522Octets:  7816769
dev.bce.0.stat_EtherStatsPktsTx1523Octetsto9022Octets:  0
dev.bce.0.stat_XonPauseFramesReceived:  0
dev.bce.0.stat_XoffPauseFramesReceived:  0
dev.bce.0.stat_OutXonSent:  0
dev.bce.0.stat_OutXoffSent:  0
dev.bce.0.stat_FlowControlDone:  0
dev.bce.0.stat_MacControlFramesReceived:  0
dev.bce.0.stat_XoffStateEntered:  0
dev.bce.0.stat_IfInFramesL2FilterDiscards:  4933702
dev.bce.0.stat_IfInRuleCheckerDiscards:  0
dev.bce.0.stat_IfInFTQDiscards:  0
dev.bce.0.stat_IfInMBUFDiscards:  0
dev.bce.0.stat_IfInRuleCheckerP4Hit:  0
dev.bce.0.stat_CatchupInRuleCheckerDiscards:  0
dev.bce.0.stat_CatchupInFTQDiscards:  0
dev.bce.0.stat_CatchupInMBUFDiscards:  0
dev.bce.0.stat_CatchupInRuleCheckerP4Hit:  0

# vmstat  -i
interrupt   total   rate
irq14:  ata0   47  0
irq16: bce0 bce1548968755   1086
irq21: uhci0  uhci+ 5  0
irq78: mfi0343548  0
cpu0: timer 998576924   1976
cpu1: timer1008301350   1995
cpu3: timer1008469139   1995
cpu2: timer 995126109   1969
Total  4559785877   9023

# uname  -a
FreeBSD niobium.mxit.co.za  6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1:
Tue Oct 10 13:28:54 SAST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MXIT-SMP-I386   i386
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: When will the new BCE driver in HEAD be incorporated into RELENG_6?

2006-10-19 Thread Conrad Burger

On 19/10/06, Bill Moran <[EMAIL PROTECTED]> wrote:

In response to Jason Thomson <[EMAIL PROTECTED]>:

> Scott Long wrote:
>  > Conrad Burger wrote:
>  >
>  >> Hi
>  >>
>  >> It looks like there is a "new"  version of the bce driver in HEAD.
>  >> When will it be incorporated into  Releng_6?
>  >
>  >
>  > It will be merged when someone, preferably 2-3 people, tell me that
>  > the changes in HEAD work for them.  So far, no one has.
>  >
>  > Scott
>  > ___
>
> Using the driver from HEAD* in the latest RELENG_6 didn't fix our
> problems.
>
> We could still trigger the Watchdog timeout when copying a local file to
> an NFS mounted filesystem (UDP mount, GigE speeds).

Same here, although it seemed to require a lot more effort to produce the
problem.

I see there have been additional updates to the driver in the past 10
hours.  I'll grab those and try again to see if they help any.

--
Bill Moran
Collaborative Fusion Inc.



Would it be possible for someone to provide instructions on how to
compile the new bce driver in HEAD on RELENG_6?

Just to give you an idea of the problem we are sitting with.
Attached is an image of a comparison between a FreeBSD 5.4 with em and
a FreeBSD 6.2-pre with bce. The blue line is the 5.4 system. You will
notice how smooth the graph is for the 5.4 system. The image can also
be downloaded at
"http://www.mxit.co.za/mxa_227430610303000_sess.png_bytesinout.png";

Both systems run the same java app and both receive the same load.
On the 6.2-pre network I/Os sometime takes up to 7 seconds to complete.

We are starting to think that the performance difference  might have
something to do with synchronization within the bce dirver/SMP network
stack... we don't know enough so any help would be much appreciated!

Does anyone know how to disable interrupt coalescing on the bce driver?

Regards
Conrad
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: When will the new BCE driver in HEAD be incorporated into RELENG_6?

2006-10-26 Thread Conrad Burger

Hi all

We have 5 Dell 1950s running the new BCE driver without any problems.

Thanks Scott!!

Maybe you can help me with another Dell-Broadcom network problem.

I am trying to get FreeBSD to work on a Dell 1955 blade. Looks like
the nics on the blade are not supported by the BCE driver.
On linux the nics are identified as "06:00.0 Ethernet controller:
Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet (rev 11)"


From "if_bce.c"

-
* The following controllers are not supported by this driver:
* (These are not "Production" versions of the controller.)
*   BCM5706C A0, A1
*   BCM5706S A0, A1, A2, A3
*   BCM5708C A0, B0
*  --> BCM5708S <-- A0, B0, B1

Is there any reason why the chipset is not supported? Is there anyway
of getting the BCE driver to work with this chipset?

Any help would be much appreciated.

Regards
Conrad
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

2006-10-30 Thread Conrad Burger

I am trying to get FreeBSD to work on a Dell 1955 blade. Looks like
the NICs on the blade are not supported by the BCE or BGE driver.

On Linux the NICs are identified as "06:00.0 Ethernet controller:
Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet (rev 11)"


From "if_bce.c"

-
* The following controllers are not supported by this driver:
* (These are not "Production" versions of the controller.)
*   BCM5706C A0, A1
*   BCM5706S A0, A1, A2, A3
*   BCM5708C A0, B0
*  --> BCM5708S <-- A0, B0, B1

Is there any reason why the chipset is not supported? Is there anyway
of getting the BCE or BGE driver to work with this chipset? Will it be
supported sometime in the near future?

Any help would be much appreciated.

Regards
Conrad
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

2006-10-31 Thread Conrad Burger

On 31/10/06, Scott Long <[EMAIL PROTECTED]> wrote:

Pyun YongHyeon wrote:
> On Mon, Oct 30, 2006 at 08:06:28PM -0700, Scott Long wrote:
>  > Pyun YongHyeon wrote:
>  > >On Mon, Oct 30, 2006 at 04:17:00PM +0200, Conrad Burger wrote:
>  > > > I am trying to get FreeBSD to work on a Dell 1955 blade. Looks like
>  > > > the NICs on the blade are not supported by the BCE or BGE driver.
>  > > >
>  > > > On Linux the NICs are identified as "06:00.0 Ethernet controller:
>  > > > Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet (rev 11)"
>  > > >
>  > > > >From "if_bce.c"
>  > > > -
>  > > > * The following controllers are not supported by this driver:
>  > > > * (These are not "Production" versions of the controller.)
>  > > > *   BCM5706C A0, A1
>  > > > *   BCM5706S A0, A1, A2, A3
>  > > > *   BCM5708C A0, B0
>  > > > *  --> BCM5708S <-- A0, B0, B1
>  > > >
>  > > > Is there any reason why the chipset is not supported? Is there anyway
>  > > > of getting the BCE or BGE driver to work with this chipset? Will it be
>  > > > supported sometime in the near future?
>  > > >
>  > > > Any help would be much appreciated.
>  > > >
>  > >
>  > >It seems that there is typo in bce(4) driver.
>  > >Try attached patch.
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >Index: if_bce.c
>  > >===
>  > >RCS file: /pool/ncvs/src/sys/dev/bce/if_bce.c,v
>  > >retrieving revision 1.17
>  > >diff -u -r1.17 if_bce.c
>  > >--- if_bce.c  21 Oct 2006 07:54:39 -  1.17
>  > >+++ if_bce.c  31 Oct 2006 00:37:47 -
>  > >@@ -116,8 +116,8 @@
>  > >  "Broadcom NetXtreme II BCM5708 1000Base-T" },
>  > >
>  > >  /* BCM5708S controllers and OEM boards. */
>  > >- { BRCM_VENDORID, BRCM_DEVICEID_BCM5708,  PCI_ANY_ID,  PCI_ANY_ID,
>  > >- "Broadcom NetXtreme II BCM5708 1000Base-T" },
>  > >+ { BRCM_VENDORID, BRCM_DEVICEID_BCM5708S,  PCI_ANY_ID,  PCI_ANY_ID,
>  > >+ "Broadcom NetXtreme II BCM5708S 1000Base-T" },
>  > >  { 0, 0, 0, 0, NULL }
>  > > };
>  > >
>  > >
>  > >
>  > >
>  >
>  > Why remove a valid entry?
>  >
>
> I didn't remove it. You can see duplicated BRCM_DEVICEID_BCM5708s in
> bce_devs.
>
>  > Scott
>

Oops, you're right.  I've been accidentally ignoring this anyways, I'll
take care of it.  Thanks!

Scott



Thanks the kernel now recognizes the network interface.

But it fails to "attach" the driver to the interface and gives the
following error.
"bce0 if_bce.c(531) SerDes controllers are not supported!"

What now  is there anything else I can try?

Regards
Conrad
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

2006-10-31 Thread Conrad Burger

On 31/10/06, Conrad Burger <[EMAIL PROTECTED]> wrote:

On 31/10/06, Scott Long <[EMAIL PROTECTED]> wrote:
> Pyun YongHyeon wrote:
> > On Mon, Oct 30, 2006 at 08:06:28PM -0700, Scott Long wrote:
> >  > Pyun YongHyeon wrote:
> >  > >On Mon, Oct 30, 2006 at 04:17:00PM +0200, Conrad Burger wrote:
> >  > > > I am trying to get FreeBSD to work on a Dell 1955 blade. Looks like
> >  > > > the NICs on the blade are not supported by the BCE or BGE driver.
> >  > > >
> >  > > > On Linux the NICs are identified as "06:00.0 Ethernet controller:
> >  > > > Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet (rev 11)"
> >  > > >
> >  > > > >From "if_bce.c"
> >  > > > -
> >  > > > * The following controllers are not supported by this driver:
> >  > > > * (These are not "Production" versions of the controller.)
> >  > > > *   BCM5706C A0, A1
> >  > > > *   BCM5706S A0, A1, A2, A3
> >  > > > *   BCM5708C A0, B0
> >  > > > *  --> BCM5708S <-- A0, B0, B1
> >  > > >
> >  > > > Is there any reason why the chipset is not supported? Is there anyway
> >  > > > of getting the BCE or BGE driver to work with this chipset? Will it 
be
> >  > > > supported sometime in the near future?
> >  > > >
> >  > > > Any help would be much appreciated.
> >  > > >
> >  > >
> >  > >It seems that there is typo in bce(4) driver.
> >  > >Try attached patch.
> >  > >
> >  > >
> >  > >
> >  > >
> >  > >
> >  > >Index: if_bce.c
> >  > >===
> >  > >RCS file: /pool/ncvs/src/sys/dev/bce/if_bce.c,v
> >  > >retrieving revision 1.17
> >  > >diff -u -r1.17 if_bce.c
> >  > >--- if_bce.c  21 Oct 2006 07:54:39 -  1.17
> >  > >+++ if_bce.c  31 Oct 2006 00:37:47 -
> >  > >@@ -116,8 +116,8 @@
> >  > >  "Broadcom NetXtreme II BCM5708 1000Base-T" },
> >  > >
> >  > >  /* BCM5708S controllers and OEM boards. */
> >  > >- { BRCM_VENDORID, BRCM_DEVICEID_BCM5708,  PCI_ANY_ID,  PCI_ANY_ID,
> >  > >- "Broadcom NetXtreme II BCM5708 1000Base-T" },
> >  > >+ { BRCM_VENDORID, BRCM_DEVICEID_BCM5708S,  PCI_ANY_ID,  PCI_ANY_ID,
> >  > >+ "Broadcom NetXtreme II BCM5708S 1000Base-T" },
> >  > >  { 0, 0, 0, 0, NULL }
> >  > > };
> >  > >
> >  > >
> >  > >
> >  > >
> >  >
> >  > Why remove a valid entry?
> >  >
> >
> > I didn't remove it. You can see duplicated BRCM_DEVICEID_BCM5708s in
> > bce_devs.
> >
> >  > Scott
> >
>
> Oops, you're right.  I've been accidentally ignoring this anyways, I'll
> take care of it.  Thanks!
>
> Scott
>

Thanks the kernel now recognizes the network interface.

But it fails to "attach" the driver to the interface and gives the
following error.
"bce0 if_bce.c(531) SerDes controllers are not supported!"

What now  is there anything else I can try?

Regards
Conrad



In if_bce.c  I found the following comment "/* DRC - ToDo: Add SerDes
support. */".

Looks like the SerDes code for the BCE driver still needs to be developed :(

If someone could finish the SerDes code for the driver, I will spend
as much time as needed to test each code change that is attempted to
get the SerDes stuff working :)

If needs be I will hook a console up to the system to make it
accessible over the internet.

Regards
Conrad
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

2006-11-01 Thread Conrad Burger

On 01/11/06, David Christensen <[EMAIL PROTECTED]> wrote:

> >  > >> Oops, you're right.  I've been accidentally ignoring
> this anyways, I'll
> >  > >> take care of it.  Thanks!
> >  > >>
> >  > >> Scott
> >  > >>
> >  > >
> >  > >Thanks the kernel now recognizes the network interface.
> >  > >
> >  > >But it fails to "attach" the driver to the interface
> and gives the
> >  > >following error.
> >  > >"bce0 if_bce.c(531) SerDes controllers are not supported!"
> >  > >
> >  > >What now  is there anything else I can try?
> >  > >
> >  > >Regards
> >  > >Conrad
> >  > >
> >  >
> >  > In if_bce.c  I found the following comment "/* DRC -
> ToDo: Add SerDes
> >  > support. */".
> >  >
> >  > Looks like the SerDes code for the BCE driver still
> needs to be developed :(
> >  >
> >  > If someone could finish the SerDes code for the driver,
> I will spend
> >  > as much time as needed to test each code change that is
> attempted to
> >  > get the SerDes stuff working :)
> >  >
> >  > If needs be I will hook a console up to the system to make it
> >  > accessible over the internet.
> >  >
> >
> > Because I don't the hardware and datasheet for the chip I can't make
> > any further changes for you. Sorry. But you can ask the
> driver author
> > for a plan for SERDES transceiver support. CCed to David
> Christensen,
> > the author of the driver.
> >
>
> I might try to take a look at this.  I wonder if the Linux driver
> already has support.
>
> Scott
>

Yes, the Linux bnx2 driver does support SerDes.  I don't have the
bandwidth to tackle this feature until after the first of the year,
though a few other people have also considered looking into adding
the support.

Dave




How hard would it be to use the linux driver code base to add tthe
SerDes support to the FreeBSD driver? I am not a C programmer, but I
can copy and paste ;)

Cheers
Conrad
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SERDES support for BCE driver

2006-11-30 Thread Conrad Burger

Hi

Does anyone know when SERDES support will be included into the BCE driver.

I have 10 x  DELL 1955 blade servers that I can't use because the BCE
driver does not support   SERDES.

Regards
Conrad
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

2007-01-16 Thread Conrad Burger
***
Click here to view our e-mail legal notice:
http://www.mxit.co.za/pdfs/mxit_legal.pdf or call: +27 21 888 5000
***
If you have an alpha or beta version of the bce driver that supports serdes,
please let me know and I'll start testing right away!

Regards 
Conrad 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Morten A. Middelthon
Sent: 16 January 2007 08:56 AM
To: David Christensen
Cc: freebsd-stable@freebsd.org; Roar Pettersen
Subject: Re: Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

On Mon, Jan 15, 2007 at 09:16:16AM -0800, David Christensen wrote:
> > Hello Dave !
> > 
> > >Wed Nov 1 18:54:19 UTC 2006
> > >
> > >Yes, the Linux bnx2 driver does support SerDes.  I don't have the
> > >bandwidth to tackle this feature until after the first of the year,
> > >though a few other people have also considered looking into adding
> > >the support.
> > 
> > 
> > Any news or status report regarding support for this new 
> > network interface 
> > in FreeBSD ?
> 
> I've copied Doug White who is working to add SerDes support to bce.

I'm _really_ looking forward to getting SerDes support in the bce-driver :)

-- 
Morten A. Middelthon

Remember:  Silly is a state of Mind, Stupid is a way of Life.
-- Dave Butler


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

2007-01-24 Thread Conrad Burger
***
Click here to view our e-mail legal notice:
http://www.mxit.co.za/pdfs/mxit_legal.pdf or call: +27 21 888 5000
***
Any progress on the BCE serdes driver?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Conrad Burger
Sent: 16 January 2007 08:53 PM
To: Morten A. Middelthon; David Christensen
Cc: freebsd-stable@freebsd.org; Roar Pettersen
Subject: RE: Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

***
Click here to view our e-mail legal notice: 
http://www.mxit.co.za/pdfs/mxit_legal.pdf or call: +27 21 888 5000
***
If you have an alpha or beta version of the bce driver that supports serdes,
please let me know and I'll start testing right away!

Regards 
Conrad 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Morten A. Middelthon
Sent: 16 January 2007 08:56 AM
To: David Christensen
Cc: freebsd-stable@freebsd.org; Roar Pettersen
Subject: Re: Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

On Mon, Jan 15, 2007 at 09:16:16AM -0800, David Christensen wrote:
> > Hello Dave !
> > 
> > >Wed Nov 1 18:54:19 UTC 2006
> > >
> > >Yes, the Linux bnx2 driver does support SerDes.  I don't have the
> > >bandwidth to tackle this feature until after the first of the year,
> > >though a few other people have also considered looking into adding
> > >the support.
> > 
> > 
> > Any news or status report regarding support for this new 
> > network interface 
> > in FreeBSD ?
> 
> I've copied Doug White who is working to add SerDes support to bce.

I'm _really_ looking forward to getting SerDes support in the bce-driver :)

-- 
Morten A. Middelthon

Remember:  Silly is a state of Mind, Stupid is a way of Life.
-- Dave Butler


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Trying to Compile [HEAD] BCE driver with SERDES support on RELEASE_6_2

2007-01-29 Thread Conrad Burger
***
Click here to view our e-mail legal notice:
http://www.mxit.co.za/pdfs/mxit_legal.pdf or call: +27 21 888 5000
***
I am trying to compile the BCE driver from HEAD on RELEASE_6_2. 
It seems the new code adds SERDES support to the BCE driver. 

The only change I made was to comment the incompatible VLAN code.

When I try to compile the kernel it breaks at the BCE driver(not surprising).
--
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
-I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm
-I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000  -mcmodel=kernel -mno-red-zone  -mfpmath=387
-mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -Werror
/usr/src/sys/dev/bce/if_bce.c
/usr/src/sys/dev/bce/if_bce.c: In function `bce_attach':
/usr/src/sys/dev/bce/if_bce.c:488: warning: implicit declaration of function
`pci_msi_count'
/usr/src/sys/dev/bce/if_bce.c:488: warning: nested extern declaration of
`pci_msi_count'
/usr/src/sys/dev/bce/if_bce.c:489: warning: implicit declaration of function
`pci_alloc_msi'
/usr/src/sys/dev/bce/if_bce.c:489: warning: nested extern declaration of
`pci_alloc_msi'
/usr/src/sys/dev/bce/if_bce.c: In function `bce_release_resources':
/usr/src/sys/dev/bce/if_bce.c:2532: warning: implicit declaration of function
`pci_release_msi'
/usr/src/sys/dev/bce/if_bce.c:2532: warning: nested extern declaration of
`pci_release_msi'
*** Error code 1

Stop in /usr/obj/usr/src/sys/SMP.
*** Error code 1
--

I have tried to disable the "-Werror" flag to see if it would compile with the 
warnings, but setting NO_WERROR=yes doesn't seem to work. 

Is there another way of disabling the "-Werror" flag?
Also does the MSI API exist on Releng_6 or is it just on Current?
And if someone can explain the warning or create a patch it would help a lot.

Regards 
Conrad 

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[kern/60555] vinum volume as a swap device not possible on FreeBSD 5.2.1

2004-05-14 Thread Conrad Burger

Click here to view our e-mail legal notice:
http://www.swistgroup.com/email.htm or call: +27 21 888 7920


Hi,

Does anyone know when PR kern/60555 will be resolved ? 

I am trying to mirror a servers swap partition using vinum, but it doesn't seem
to 
be possible in FreeBSD 5.2.1.

Just need to know if I should downgrade to 5.1 ?  

Any help would be appreciated

Regards 

Conrad Burger 
Support Engineer 
TEBiVO Business Continuity 
Conrad[at]tebivo[dot]com 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


atacontrol Raid, cannot re-add member to array

2004-06-29 Thread Conrad Burger

Click here to view our e-mail legal notice:
http://www.swistgroup.com/email.htm or call: +27 21 888 7920


Hi all,

I'm investigating atacontrol raid as an alternative to vinum.
So far it has worked great.

That's until I unplugged one of the array members.
The system boots up fine from the second disk, 
but the problem ... I can't get atacontrol to rebuild the mirror onto the disk
that was removed. 

I have tried every command on the atacontrol man page, but to no avail.

OS : FreeBSD 4.10 
System : P3
IDE controller : Intel ICH2 ATA100 controller 
and 2 x 40 GB disks.

On FreeBSD 5  atacontrol has an additional command "addspare" that I have used
with success to 
add a disk to a RAID1 array and rebuild it.

Now that you know some of the details,
here are the questions
1.. How "safe" is the atacontrol raid feature? 
2.. How do I rebuild an atacontrol RAID1 array on FreeBSD 4.10?


Any help would be appreciated, I have been at it the whole day!

Regards 
Conrad Burger 
Support Engineer 
TEBiVO Business Continuity 
Cell: +27 82 442 8760 
conrad[at]tebivo[dot]com 
Tel: +27 21 888 7956 Fax: +27 21 888 7979 
 

Click here to view our e-mail legal notice: 
http://www.tebivo.com/email.htm or call: +27 21 888 7920 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"