Re: Intel 10Gb network card

2013-09-04 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=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAG
IC,LINKSTATE
...

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=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
options=c219bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WO
L_MAGIC,VLAN_HWTSO,LINKSTATE

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 da...@cs.huji.ac.il wrote:
 
  hi,
  I have a hard time figuring this out, the kernel says:
  ...
  ix0: Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.5.15 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: Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.5.15 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
 
 div dir=3Dltrdivixgb is the old PCI-X based adapter, ixgbe is for all=
  pci express hardware.brbr/divdivThe latter is almost certainly wha=
 t you want :)brbr/divdivJackbrbr/div/divdiv class=3Dgmail=
 _extra
 brbrdiv class=3Dgmail_quoteOn Tue, Sep 3, 2013 at 6:24 AM, Daniel B=
 raniss span dir=3Dltrlt;a href=3Dmailto:da...@cs.huji.ac.il; target=
 =3D_blankda...@cs.huji.ac.il/agt;/span wrote:brblockquote class=
 =3Dgmail_quote style=3Dmargin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
 ing-left:1ex
 hi,br
 I have a hard time figuring this out, the kernel says:br
 ...br
 ix0: lt;Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.5.15gt=
 ; portbr
 0xecc0-0xecdf mem 0xd9e8-0xd9ef,0xd9ff8000-0xd9ffbfff irq 40 at dev=
 icebr
 0.0 on pci4br
 ix0: Using MSIX interrupts with 9 vectorsbr
 ix0: Ethernet address: 90:e2:ba:29:c0:54br
 ix0: PCI Express Bus: Speed 5.0GT/s Width x8br
 ix1: lt;Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.5.15gt=
 ; portbr
 0xece0-0xecff mem 0xd9f0-0xd9f7,0xd9ffc000-0xd9ff irq 44 at dev=
 icebr
 0.1 on pci4br
 ix1: Using MSIX interrupts with 9 vectorsbr
 ix1: Ethernet address: 90:e2:ba:29:c0:55br
 ix1: PCI Express Bus: Speed 5.0GT/s Width x8br
 ...br
 br
 pciconf says:br
 ix0@pci0:4:0:0: class=3D0x02 card=3D0x7a118086 chip=3D0x10fb8086 rev=3D=
 0x01br
 hdr=3D0x00br
 =A0 =A0 vendor =A0 =A0 =3D #39;Intel Corporation#39;br
 =A0 =A0 device =A0 =A0 =3D #39;82599EB 10-Gigabit SFI/SFP+ Network Connect=
 ion#39;br
 =A0 =A0 class =A0 =A0 =A0=3D networkbr
 =A0 =A0 subclass =A0 =3D ethernetbr
 br
 but both manuals ixgb and ixgbe 

[no subject]

2013-09-04 Thread gnuhurd91 gnuhurd91

___
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: unexpected idprio 31 behavior on 9.2-BETA2 and 9.2-RC1

2013-09-04 Thread John Baldwin
On Thursday, August 08, 2013 10:41:12 am Eric van Gyzen wrote:
 On 08/08/2013 09:19, Eric van Gyzen wrote:
  On 08/06/2013 14:23, J David wrote:
  On Tue, Aug 6, 2013 at 1:59 PM, Eric van Gyzen e...@vangyzen.net wrote:
  on an otherwise idle amd64 system with 4 CPUs.  The first command in 
the
  build.log file:
 
  rm -rf /usr/obj/home/freebsd/tmp
 
  took over three minutes.  It should have taken about three /seconds/.
 
  uptime reported a load average of around 1.00.
  top showed no threads (user or kernel) using CPU.
  iostat showed an average of less than 20 tps on ada0.
  rm was usually in the RUN state.
  We are looking at something similar.  Would you be able to try to
  reproduce it using a kernel with:
 
  nooptions  SCHED_ULE
  optionsSCHED_4BSD
 
  to see if it makes a difference?  It seems to, but the problem is
  inconsistent enough that I can't be sure.
  The 4BSD scheduler does //not// exhibit this problem.  I tested with the
  latest releng/9.2 (r254054) and an otherwise GENERIC config.
 
 To be thorough, I built a GENERIC kernel at the same rev, and it still
 exhibits the problem.

Please try this change:

Index: sched_ule.c
===
--- sched_ule.c (revision 255020)
+++ sched_ule.c (working copy)
@@ -243,7 +243,7 @@ struct tdq {
int tdq_transferable;   /* Transferable thread count. */
short   tdq_switchcnt;  /* Switches this tick. */
short   tdq_oldswitchcnt;   /* Switches last tick. */
-   u_char  tdq_lowpri; /* Lowest priority thread. */
+   u_short tdq_lowpri; /* Lowest priority thread. */
u_char  tdq_ipipending; /* IPI pending. */
u_char  tdq_idx;/* Current insert index. */
u_char  tdq_ridx;   /* Current removal index. */
@@ -2323,7 +2323,7 @@ sched_choose(void)
tdq-tdq_lowpri = td-td_priority;
return (td);
}
-   tdq-tdq_lowpri = PRI_MAX_IDLE;
+   tdq-tdq_lowpri = PRI_MAX_IDLE + 1;
return (PCPU_GET(idlethread));
 }
 

-- 
John Baldwin
___
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


Package database

2013-09-04 Thread Jim Ballantine
My /var/db/pkg has become corrupt, and I can't find an archive of it to
install in it's place.  Does one exist and if so where?  If not any ideas on
how to rebuild the db?

Thanks

Jim Ballantine
___
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: Package database

2013-09-04 Thread Freddie Cash
On Wed, Sep 4, 2013 at 10:41 AM, Jim Ballantine j.ballant...@gmail.comwrote:

 My /var/db/pkg has become corrupt, and I can't find an archive of it to
 install in it's place.  Does one exist and if so where?  If not any ideas
 on
 how to rebuild the db?


Are you using PKGng or the old pkg_* tools?

Meaning, is your data stored as individual files under
/var/db/pkg/PORTNAME/*, or as a single sqlite database under /var/db/pkg?

If using PKGng, there's a backup copy under /var/db/backup*

If using the older pkg_* tools, you're screwed.  :)


-- 
Freddie Cash
fjwc...@gmail.com
___
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: Package database

2013-09-04 Thread Florent Peterschmitt
Le 04/09/2013 19:43, Freddie Cash a écrit :
 If using PKGng, there's a backup copy under /var/db/backup*

And if the backup is corrupted, maybe with remote query and by making
the list of files in /usr/local, you can match packages that have to be
reinstalled (and maybe rebuild the database without reinstalling all
packages?).

Something to try.

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr |  * Trim your quotations. Really.
Proudly powered by Open Source | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: Lost CAM Access to DVD Writer

2013-09-04 Thread Thomas Schmitt
Hi,

i stumbled over a prescription in xorriso's README:
Currently it is fully supported [...]
 on FreeBSD with ATAPI/CAM support enabled in the kernel, see atapicam(4)

What i read from
  http://www.freebsd.org/cgi/man.cgi?query=atapicamsektion=4
it could be that this is what's missing or not working
properly on your machine.


Further i remember a report where CAM related software needed
to be re-compiled before it worked:
  http://forums.freebsd.org/showthread.php?t=31181
(It also says you don't need atapicam ... shrug)


Have a nice day :)

Thomas

___
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: Package database

2013-09-04 Thread Ben Morrow
Quoth Freddie Cash fjwc...@gmail.com:
 On Wed, Sep 4, 2013 at 10:41 AM, Jim Ballantine j.ballant...@gmail.comwrote:
 
  My /var/db/pkg has become corrupt, and I can't find an archive of it to
  install in it's place.  Does one exist and if so where?  If not any ideas
  on
  how to rebuild the db?
 
 Are you using PKGng or the old pkg_* tools?
 
 Meaning, is your data stored as individual files under
 /var/db/pkg/PORTNAME/*, or as a single sqlite database under /var/db/pkg?
 
 If using PKGng, there's a backup copy under /var/db/backup*
 
 If using the older pkg_* tools, you're screwed.  :)

With either package system /etc/periodic/daily/220.backup-pkgdb backs up
the whole of /var/db/pkg into /var/backups/pkgdb.bak.tbz*. 

With pkgng /usr/local/etc/periodic/daily/411.pkg-backup also backs up
the pkgng db into /var/backups/pkgng.db; probably this means
220.backup-pkgdb should be turned off, but this doesn't happen by
default.

Ben

___
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


Requesting Technical Assistance

2013-09-04 Thread No Wait
Hello.  

For the last 3 weeks or so, I've been unable to load AFF properly.  

The page comes up, but the hyperlinks are placed oddly and I get placeholders 
instead of pictures.  I can't even check messages.  

I appreciate any insight you might have.  Thank you in advance!

Username = Sukokov
  
___
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