Re: Intel 10Gb network card

2013-09-03 Thread Daniel Braniss
thanks Luigi and Jack!

I also solved the question by doing
grep -ir 82599EB /sys/dev
and it found the ixgbe driver - may the src be with you :-)

My point - not well expressed - was the the manuals had little/confusing
info.

iconfig:
re0: flags=8843 metric 0 mtu 1500
options=8209b
...

them
man 4 re
RE(4)  FreeBSD Kernel Interfaces Manual  RE(4)

NAME
 re - RealTek 8139C+/8169/816xS/811xS/8168/810xE/8111 PCI/PCIe Ethernet
 adapter driver
or
nfe0: flags=8802 metric 0 mtu 1500
options=c219b

man 4 nfe
NFE(4) FreeBSD Kernel Interfaces Manual NFE(4)

NAME
 nfe - NVIDIA nForce MCP Ethernet driver


etc, etc, etc.

no man ix, no mention of /dev/ix%d in man ixgbe


Q: does the copper (10G Based T) version work?

cheers,
danny

> --089e0122ad0624ac8504e57d70c5
> Content-Type: text/plain; charset=ISO-8859-1
> 
> ixgb is the old PCI-X based adapter, ixgbe is for all pci express hardware.
> 
> The latter is almost certainly what you want :)
> 
> Jack
> 
> 
> 
> On Tue, Sep 3, 2013 at 6:24 AM, Daniel Braniss  wrote:
> 
> > hi,
> > I have a hard time figuring this out, the kernel says:
> > ...
> > ix0:  port
> > 0xecc0-0xecdf mem 0xd9e8-0xd9ef,0xd9ff8000-0xd9ffbfff irq 40 at
> > device
> > 0.0 on pci4
> > ix0: Using MSIX interrupts with 9 vectors
> > ix0: Ethernet address: 90:e2:ba:29:c0:54
> > ix0: PCI Express Bus: Speed 5.0GT/s Width x8
> > ix1:  port
> > 0xece0-0xecff mem 0xd9f0-0xd9f7,0xd9ffc000-0xd9ff irq 44 at
> > device
> > 0.1 on pci4
> > ix1: Using MSIX interrupts with 9 vectors
> > ix1: Ethernet address: 90:e2:ba:29:c0:55
> > ix1: PCI Express Bus: Speed 5.0GT/s Width x8
> > ...
> >
> > pciconf says:
> > ix0@pci0:4:0:0: class=0x02 card=0x7a118086 chip=0x10fb8086 rev=0x01
> > hdr=0x00
> > vendor = 'Intel Corporation'
> > device = '82599EB 10-Gigabit SFI/SFP+ Network Connection'
> > class  = network
> > subclass   = ethernet
> >
> > but both manuals ixgb and ixgbe mention a different chip, and device
> > man for ixb says:
> > ...
> >  ixgb - Intel(R) PRO/10GbE Ethernet driver for the FreeBSD operating
> > sys-
> >  tem
> > ...
> > The ixgb driver provides support for PCI Gigabit Ethernet adapters
> > based
> >  on the Intel 82597EX Ethernet controller chips.  The driver supports
> >
> > man for ixgbe says:
> > ...
> > ixgbe - Intel(R) 10Gb Ethernet driver for the FreeBSD operating system
> > ...
> > the Intel 82598EB
> > ...
> >
> > to make things even more confusing, Dell says:
> > DELL INTEL X520 DA2 10GBe DP+SERVER ADAPTER PCIE
> >
> >
> > and finally, there is no man ix
> >
> > 'will the real ix please stand up?'
> > danny
> >
> >
> >
> > ___
> > 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"
> >
> 
> --089e0122ad0624ac8504e57d70c5
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> 
> ixgb is the old PCI-X based adapter, ixgbe is for all=
>  pci express hardware.The latter is almost certainly wha=
> t you want :)Jack _extra">
> On Tue, Sep 3, 2013 at 6:24 AM, Daniel B=
> raniss  =3D"_blank">da...@cs.huji.ac.il> wrote: =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
> ing-left:1ex">
> hi,
> I have a hard time figuring this out, the kernel says:
> ...
> ix0: =
> ; port
> 0xecc0-0xecdf mem 0xd9e8-0xd9ef,0xd9ff8000-0xd9ffbfff irq 40 at dev=
> ice
> 0.0 on pci4
> ix0: Using MSIX interrupts with 9 vectors
> ix0: Ethernet address: 90:e2:ba:29:c0:54
> ix0: PCI Express Bus: Speed 5.0GT/s Width x8
> ix1: =
> ; port
> 0xece0-0xecff mem 0xd9f0-0xd9f7,0xd9ffc000-0xd9ff irq 44 at dev=
> ice
> 0.1 on pci4
> ix1: Using MSIX interrupts with 9 vectors
> ix1: Ethernet address: 90:e2:ba:29:c0:55
> ix1: PCI Express Bus: Speed 5.0GT/s Width x8
> ...
> 
> pciconf says:
> ix0@pci0:4:0:0: class=3D0x02 card=3D0x7a118086 chip=3D0x10fb8086 rev=3D=
> 0x01
> hdr=3D0x00
> =A0 =A0 vendor =A0 =A0 =3D 'Intel Corporation'
> =A0 =A0 device =A0 =A0 =3D '82599EB 10-Gigabit SFI/SFP+ Network Connect=
> ion'
> =A0 =A0 class =A0 =A0 =A0=3D network
> =A0 =A0 subclass =A0 =3D ethernet
> 
> but both manuals ixgb and ixgbe mention a different chip, and device
> man for ixb says:
> ...
> =A0 =A0 =A0ixgb - Intel(R) PRO/10GbE Ethernet driver for the FreeBSD operat=
> ing sys-
> =A0 =A0 =A0tem
> ...
> =A0 =A0 The ixgb driver provides support for PCI Gigabit Ethernet adapters =
> based
> =A0 =A0 =A0on the Intel 82597EX Ethernet controller chips. =A0The driver su=
> pports
> 
> man for ixgbe says:
> ...
> ixgbe - Int

Re: Some PR never seen to delete

2013-09-03 Thread Sebastian Kuzminsky
On Aug 30, 2013, at 09:31 , David Demelier wrote:

> In the past I've sent some PR that has never been seen, I think we
> should close them now.
> 
> 2010/09/16 kern/150628 [acd] [ata] burncd(1) can't write to optical drive
> 2010/07/14 ports/148591 x11 information note for 
> x11-drivers/xf86-input-synaptic
> 2010/12/01 kern/152750 wireless[ath] ath0 lot of bad series hwrate
> 2010/12/12 bin/153052 [patch] watch(8) breaks tty on error
> 2011/01/25 ports/154288 glewis[patch] games/nethack*: remove old ports
> and cleanup latest
> 2011/02/07 kern/154567 wireless[ath] ath(4) lot of bad series(0)
> 2011/07/01 conf/158557rc [patch] /etc/rc.d/pf broken messages
> 2012/11/05 kern/173408 acpi[acpi] [regression] ACPI Regression:
> battery does not update often
> 2012/11/22 kern/173840 snd_hda(4) volume mixer not working anymore
> 2012/11/24 kern/173896 Kernel does not boot if splash loaded and
> hint.sc.0.vesa_mode set
> 2012/12/23 ports/174650 xfcex11-wm/xfce4 crash with
> exaGetPixmapFirstPixel called for invalid bpp 1
> 2012/12/28 kern/174766 acpi[acpi] Random acpi panic
> 2013/01/31 kern/175722 wireless[ath]lot of bad seriesx hwrate in kernel 
> messages
> 
> Some are still valid but will never been taken so I propose to close them.

I believe this one is fixed, but the PR is still open:

kern/173004: [netinet] [patch] Incorrect IP checksums when forwarding results 
in fragmentation


-- 
Sebastian Kuzminsky

___
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: Intel 10Gb network card

2013-09-03 Thread Jack Vogel
ixgb is the old PCI-X based adapter, ixgbe is for all pci express hardware.

The latter is almost certainly what you want :)

Jack



On Tue, Sep 3, 2013 at 6:24 AM, Daniel Braniss  wrote:

> hi,
> I have a hard time figuring this out, the kernel says:
> ...
> ix0:  port
> 0xecc0-0xecdf mem 0xd9e8-0xd9ef,0xd9ff8000-0xd9ffbfff irq 40 at
> device
> 0.0 on pci4
> ix0: Using MSIX interrupts with 9 vectors
> ix0: Ethernet address: 90:e2:ba:29:c0:54
> ix0: PCI Express Bus: Speed 5.0GT/s Width x8
> ix1:  port
> 0xece0-0xecff mem 0xd9f0-0xd9f7,0xd9ffc000-0xd9ff irq 44 at
> device
> 0.1 on pci4
> ix1: Using MSIX interrupts with 9 vectors
> ix1: Ethernet address: 90:e2:ba:29:c0:55
> ix1: PCI Express Bus: Speed 5.0GT/s Width x8
> ...
>
> pciconf says:
> ix0@pci0:4:0:0: class=0x02 card=0x7a118086 chip=0x10fb8086 rev=0x01
> hdr=0x00
> vendor = 'Intel Corporation'
> device = '82599EB 10-Gigabit SFI/SFP+ Network Connection'
> class  = network
> subclass   = ethernet
>
> but both manuals ixgb and ixgbe mention a different chip, and device
> man for ixb says:
> ...
>  ixgb - Intel(R) PRO/10GbE Ethernet driver for the FreeBSD operating
> sys-
>  tem
> ...
> The ixgb driver provides support for PCI Gigabit Ethernet adapters
> based
>  on the Intel 82597EX Ethernet controller chips.  The driver supports
>
> man for ixgbe says:
> ...
> ixgbe - Intel(R) 10Gb Ethernet driver for the FreeBSD operating system
> ...
> the Intel 82598EB
> ...
>
> to make things even more confusing, Dell says:
> DELL INTEL X520 DA2 10GBe DP+SERVER ADAPTER PCIE
>
>
> and finally, there is no man ix
>
> 'will the real ix please stand up?'
> danny
>
>
>
> ___
> 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: gmirror crash writing to disk? Or is it su+j crash?

2013-09-03 Thread Zaphod Beeblebrox
Since there weren't any more ideas here, I tried turning off
hyper-threading.  This is an old pentium-D type CPU --- that is: one core
with HT.  I'm wondering if the HT nature is helping this resource
exhaustion, so I turned off HT (basically making this a single-threaded
CPU) and it seems to have made the problem go away.

That is not to say that the problem is fixed: it simply means that
replication may be tied to multiple CPUs and/or the allocation of resources
by an HT CPU core.


On Mon, Sep 2, 2013 at 3:53 AM, Zaphod Beeblebrox  wrote:

> The first one (kern.geom.transient_map_retries) causes the system to wedge.
>
> The second one (default is 180, I doubled to 360) causes the system to
> crash but not dump.
>
> So... neither fixes the problem.
>
>
> On Sat, Aug 31, 2013 at 5:27 AM, Edward Tomasz Napierała <
> tr...@freebsd.org> wrote:
>
>> Wiadomość napisana przez Zaphod Beeblebrox  w dniu 31
>> sie 2013, o godz. 00:49:
>> > Because someone said that there would be no logging of unerlying ATA
>> errors without verbose, I rebooted with verbose and tried the same make -j4
>> again... and here is the relatively similar core.txt.5
>> >
>> >
>> https://uk.eicat.ca/owncloud/public.php?service=files&t=d99648ef5876b91c5957148445e60c87
>> >
>> > Looking at it, gmirror is dropping the same error and the underlying
>> hardware is not causing the error...
>>
>> Let me quote Konstantin:
>>
>> > It is either an exhaustion of the transient map, or a deadlock.
>> > For the first, setting kern.geom.transient_map_retries to 0 could help.
>> > For the second, the count of the transient buffers must be increased,
>> > by kern.bio_transient_maxcnt loader tunable.
>>
>> Could you try both and tell which one of them fixed the problem?  Thanks!
>>
>>
>
___
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: svn commit: r255104 - stable/9/sys/ufs/ufs

2013-09-03 Thread Mark Saad
Kirk
  Will this be merged into 9.2-RC? Before the Release ?  

---
Mark saad | mark.s...@longcount.org


On Aug 31, 2013, at 1:38 PM, Kirk McKusick  wrote:

> Author: mckusick
> Date: Sat Aug 31 17:38:49 2013
> New Revision: 255104
> URL: http://svnweb.freebsd.org/changeset/base/255104
> 
> Log:
>  MFC of 253998:
> 
>  This bug fix is in a code path in rename taken when there is a
>  collision between a rename and an open system call for the same
>  target file. Here, rename releases its vnode references, waits for
>  the open to finish, and then restarts by reacquiring its needed
>  vnode locks. In this case, rename was unlocking but failing to
>  release its reference to one of its held vnodes. The effect was
>  that even after all the actual references to the vnode had gone,
>  the vnode still showed active references. For files that had been
>  removed, their space was not reclaimed until the filesystem was
>  forcibly unmounted.
> 
>  This bug manifested itself in the Postgres server which would
>  leak/lose hundreds of files per day amounting to many gigabytes of
>  disk space. This bug required shutting down Postgres, forcibly
>  unmounting its filesystem, remounting its filesystem and restarting
>  Postgres every few days to recover the lost space.
> 
>  Reported by: Dan Thomas and Palle Girgensohn
>  Bug-fix by:  kib
>  Tested by:   Dan Thomas and Palle Girgensohn
> 
> Modified:
>  stable/9/sys/ufs/ufs/ufs_vnops.c
> Directory Properties:
>  stable/9/sys/   (props changed)
> 
> Modified: stable/9/sys/ufs/ufs/ufs_vnops.c
> ==
> --- stable/9/sys/ufs/ufs/ufs_vnops.cSat Aug 31 17:33:25 2013(r255103)
> +++ stable/9/sys/ufs/ufs/ufs_vnops.cSat Aug 31 17:38:49 2013(r255104)
> @@ -1271,7 +1271,7 @@ relock:
>error = VFS_VGET(mp, ino, LK_EXCLUSIVE, &nvp);
>if (error != 0)
>goto releout;
> -VOP_UNLOCK(nvp, 0);
> +vput(nvp);
>atomic_add_int(&rename_restarts, 1);
>goto relock;
>}
> ___
> svn-src-stabl...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
> To unsubscribe, send any mail to "svn-src-stable-9-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: Intel 10Gb network card

2013-09-03 Thread Luigi Rizzo
On Tue, Sep 3, 2013 at 3:24 PM, Daniel Braniss  wrote:

> hi,
> I have a hard time figuring this out, the kernel says:
> ...
> ix0:  port
> 0xecc0-0xecdf mem 0xd9e8-0xd9ef,0xd9ff8000-0xd9ffbfff irq 40 at
> device
> 0.0 on pci4
> CI Express Bus: Speed 5.0GT/s Width x8
> ...
>
> pciconf says:
> ix0@pci0:4:0:0: class=0x02 card=0x7a118086 chip=0x10fb8086 rev=0x01
> hdr=0x00
> vendor = 'Intel Corporation'
> device = '82599EB 10-Gigabit SFI/SFP+ Network Connection'
> class  = network
> subclass   = ethernet
>
> but both manuals ixgb and ixgbe mention a different chip, and device
> man for ixb says:
> ...
>  ixgb - Intel(R) PRO/10GbE Ethernet driver for the FreeBSD operating
> sys-
>  tem
> ...
> The ixgb driver provides support for PCI Gigabit Ethernet adapters
> based
>  on the Intel 82597EX Ethernet controller chips.  The driver supports
>
> man for ixgbe says:
> ...
> ixgbe - Intel(R) 10Gb Ethernet driver for the FreeBSD operating system
> ...
> the Intel 82598EB
> ...
>
> to make things even more confusing, Dell says:
> DELL INTEL X520 DA2 10GBe DP+SERVER ADAPTER PCIE
>
>
> and finally, there is no man ix
>
> 'will the real ix please stand up?'
> danny
>
>
>
this is the ixgbe driver.
The one that works with netmap :)

cheers
luigi
___
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"


Intel 10Gb network card

2013-09-03 Thread Daniel Braniss
hi,
I have a hard time figuring this out, the kernel says:
...
ix0:  port 
0xecc0-0xecdf mem 0xd9e8-0xd9ef,0xd9ff8000-0xd9ffbfff irq 40 at device 
0.0 on pci4
ix0: Using MSIX interrupts with 9 vectors
ix0: Ethernet address: 90:e2:ba:29:c0:54
ix0: PCI Express Bus: Speed 5.0GT/s Width x8
ix1:  port 
0xece0-0xecff mem 0xd9f0-0xd9f7,0xd9ffc000-0xd9ff irq 44 at device 
0.1 on pci4
ix1: Using MSIX interrupts with 9 vectors
ix1: Ethernet address: 90:e2:ba:29:c0:55
ix1: PCI Express Bus: Speed 5.0GT/s Width x8
...

pciconf says:
ix0@pci0:4:0:0: class=0x02 card=0x7a118086 chip=0x10fb8086 rev=0x01 
hdr=0x00
vendor = 'Intel Corporation'
device = '82599EB 10-Gigabit SFI/SFP+ Network Connection'
class  = network
subclass   = ethernet

but both manuals ixgb and ixgbe mention a different chip, and device
man for ixb says:
...
 ixgb - Intel(R) PRO/10GbE Ethernet driver for the FreeBSD operating sys-
 tem
...
The ixgb driver provides support for PCI Gigabit Ethernet adapters based
 on the Intel 82597EX Ethernet controller chips.  The driver supports
 
man for ixgbe says:
...
ixgbe - Intel(R) 10Gb Ethernet driver for the FreeBSD operating system
...
the Intel 82598EB
...

to make things even more confusing, Dell says:
DELL INTEL X520 DA2 10GBe DP+SERVER ADAPTER PCIE


and finally, there is no man ix

'will the real ix please stand up?'
danny



___
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"