Re: nmbclusters: how do we want to fix this for 8.3 ?

2012-02-22 Thread Zaphod Beeblebrox
It could do some good to think of the scale of the problem and maybe the driver can tune to the hardware. First, is 8k packet buffers a reasonable default on a GigE port? Well... on a GigE port, you could have from 100k pps (packets per second) at 1500 bytes to 500k pps at around 300 bytes to trul

Re: Fatal trap 19, Stopped at bge_init_locked+ and bge booting problems

2012-02-22 Thread Attila Nagy
On 02/23/12 21:44, YongHyeon PYUN wrote: I have to ask more information for the controller to Broadcom. Not sure whether I can get some hint at this moment though. :-( Is there anything I can do? I ask this because I have to give back this server very soon. Given that you also have USB related

Re: Fatal trap 19, Stopped at bge_init_locked+ and bge booting problems

2012-02-22 Thread YongHyeon PYUN
On Wed, Feb 22, 2012 at 03:43:54PM +0100, Attila Nagy wrote: > On 02/23/12 05:15, YongHyeon PYUN wrote: > >bge0: mem > >0xf6bf-0xf6bf,0xf6be-0xf6be,0xf6bd-0xf6bd irq 32 > >at device 0.0 on pci3 > >bge0: CHIP ID 0x05719001; ASIC REV 0x5719; CHIP REV 0x57190; PCI-E > >

Resume broken in 8.3-PRERELEASE

2012-02-22 Thread Alexey Dokuchaev
Hi, Yesterday I've updated my laptop to the latest RELENG_8, it booted just fine, however, after coming out of suspend, keyboard does not work (well, almost: I can switch between consoles, Caps Lock works, but I cannot type anything, login, etc., break into debugger with Ctrl-Alt-Esc). Network do

RE: mpslsi0 : Trying sleep, but thread marked as sleeping prohibited

2012-02-22 Thread Desai, Kashyap
> -Original Message- > From: Chuck Swiger [mailto:cswi...@mac.com] > Sent: Thursday, February 23, 2012 6:21 AM > To: Desai, Kashyap > Cc: freebsd-s...@freebsd.org; freebsd-stable; McConnell, Stephen > Subject: Re: mpslsi0 : Trying sleep, but thread marked as sleeping > prohibited > > On

Re: mpslsi0 : Trying sleep, but thread marked as sleeping prohibited

2012-02-22 Thread Chuck Swiger
On Feb 22, 2012, at 4:22 PM, Desai, Kashyap wrote: > Just curious to know, What is a reason that thread can do blocking sleep but > can't do unbounded sleep ? When you block, the scheduler can run other threads and only needs to wake up and run your thread after the blocking condition is complet

RE: mpslsi0 : Trying sleep, but thread marked as sleeping prohibited

2012-02-22 Thread Desai, Kashyap
> -Original Message- > From: Konstantin Belousov [mailto:kostik...@gmail.com] > Sent: Thursday, February 23, 2012 12:45 AM > To: Desai, Kashyap > Cc: freebsd-s...@freebsd.org; freebsd-stable; Justin T. Gibbs; Kenneth > D. Merry; McConnell, Stephen > Subject: Re: mpslsi0 : Trying sleep, bu

Re: panic in 8.3-PRERELEASE

2012-02-22 Thread Rick Macklem
Konstantin Belousov wrote: > On Wed, Feb 22, 2012 at 11:29:40AM -0500, Rick Macklem wrote: > > Hiroki Sato wrote: > > > Hi, > > > > > > Just a report, but I got the following panic on an NFS server > > > running > > > 8.3-PRERELEASE: > > > > > > (from here) > > > pool.allbsd.org dumped core

Re: panic in 8.3-PRERELEASE

2012-02-22 Thread Rick Macklem
John Baldwin wrote: > On Wednesday, February 22, 2012 2:24:14 pm Konstantin Belousov wrote: > > On Wed, Feb 22, 2012 at 11:29:40AM -0500, Rick Macklem wrote: > > > Hiroki Sato wrote: > > > > Hi, > > > > > > > > Just a report, but I got the following panic on an NFS server > > > > running > > > > 8.

Re: [CFT] modular kernel config

2012-02-22 Thread Bjoern A. Zeeb
On 21. Feb 2012, at 13:35 , Alexander Leidinger wrote: > You can download from > http://www.Leidinger.net/FreeBSD/current-patches/ > The files are > - i386_SMALL > - i386_SMALL_loader.conf > - amd64_SMALL > - amd64_SMALL_loader.conf I only looked at the laoder.conf for amd64 and the only com

Re: nmbclusters: how do we want to fix this for 8.3 ?

2012-02-22 Thread Jack Vogel
On Wed, Feb 22, 2012 at 1:44 PM, Luigi Rizzo wrote: > On Wed, Feb 22, 2012 at 09:09:46PM +, Ben Hutchings wrote: > > On Wed, 2012-02-22 at 21:52 +0100, Luigi Rizzo wrote: > ... > > > I have hit this problem recently, too. > > > Maybe the issue mostly/only exists on 32-bit systems. > > > > No,

Re: panic in 8.3-PRERELEASE

2012-02-22 Thread John Baldwin
On Wednesday, February 22, 2012 2:24:14 pm Konstantin Belousov wrote: > On Wed, Feb 22, 2012 at 11:29:40AM -0500, Rick Macklem wrote: > > Hiroki Sato wrote: > > > Hi, > > > > > > Just a report, but I got the following panic on an NFS server running > > > 8.3-PRERELEASE: > > > > > > (from here

Re: nmbclusters: how do we want to fix this for 8.3 ?

2012-02-22 Thread Luigi Rizzo
On Wed, Feb 22, 2012 at 09:09:46PM +, Ben Hutchings wrote: > On Wed, 2012-02-22 at 21:52 +0100, Luigi Rizzo wrote: ... > > I have hit this problem recently, too. > > Maybe the issue mostly/only exists on 32-bit systems. > > No, we kept hitting mbuf pool limits on 64-bit systems when we started

Re: nmbclusters: how do we want to fix this for 8.3 ?

2012-02-22 Thread Luigi Rizzo
On Wed, Feb 22, 2012 at 11:56:29AM -0800, Jack Vogel wrote: > Using igb and/or ixgbe on a reasonably powered server requires 1K mbuf > clusters per MSIX vector, > that's how many are in a ring. Either driver will configure 8 queues on a > system with that many or more > cores, so 8K clusters per po

8.3-BETA1 installation problem

2012-02-22 Thread Omer Faruk SEN
Hi, I am trying to install FreeBSD 8.3-BETA1 to a system with ssd disk recognized as ad6. At fixit mode i can dd device but at installer (sysinstall) when I configured disk and using "w" installer is unable to format devices stating that "Unable to find device node for /dev/ad6s1b in dev. The cre

Re: 8.3-BETA1 installation problem

2012-02-22 Thread Warren Block
On Wed, 22 Feb 2012, Omer Faruk SEN wrote: I am trying to install FreeBSD 8.3-BETA1 to a system with ssd disk recognized as ad6. At fixit mode i can dd device but at installer (sysinstall) when I configured disk and using "w" installer is unable to format devices stating that "Unable to find de

nmbclusters: how do we want to fix this for 8.3 ?

2012-02-22 Thread Jack Vogel
Using igb and/or ixgbe on a reasonably powered server requires 1K mbuf clusters per MSIX vector, that's how many are in a ring. Either driver will configure 8 queues on a system with that many or more cores, so 8K clusters per port... My test engineer has a system with 2 igb ports, and 2 10G ixgbe

Re: nmbclusters: how do we want to fix this for 8.3 ?

2012-02-22 Thread Arnaud Lacombe
Hi, On Wed, Feb 22, 2012 at 2:56 PM, Jack Vogel wrote: > Using igb and/or ixgbe on a reasonably powered server requires 1K mbuf > clusters per MSIX vector, > that's how many are in a ring. Either driver will configure 8 queues on a > system with that many or more > cores, so 8K clusters per port.

Re: panic in 8.3-PRERELEASE

2012-02-22 Thread Konstantin Belousov
On Wed, Feb 22, 2012 at 11:29:40AM -0500, Rick Macklem wrote: > Hiroki Sato wrote: > > Hi, > > > > Just a report, but I got the following panic on an NFS server running > > 8.3-PRERELEASE: > > > > (from here) > > pool.allbsd.org dumped core - see /var/crash/vmcore.0 > > > > Tue Feb 21 10

Re: mpslsi0 : Trying sleep, but thread marked as sleeping prohibited

2012-02-22 Thread Konstantin Belousov
On Wed, Feb 22, 2012 at 07:36:42PM +0530, Desai, Kashyap wrote: > Hi, > > I am doing some code changes in mps dirver. While working on those changes, I > come to know about something which is new to me. > Some expert help is required to clarify my doubt. > > 1. When any irq is register with Free

RE: mpslsi0 : Trying sleep, but thread marked as sleeping prohibited

2012-02-22 Thread Desai, Kashyap
Adding Ed Schouten and Jorg Wunsch as I see there are author of msleep/mtx related APIs. > -Original Message- > From: Desai, Kashyap > Sent: Wednesday, February 22, 2012 7:37 PM > To: freebsd-s...@freebsd.org; freebsd-stable > Cc: 'Kenneth D. Merry'; McConnell, Stephen; Justin T. Gibbs >

Re: panic in 8.3-PRERELEASE

2012-02-22 Thread Rick Macklem
Hiroki Sato wrote: > Hi, > > Just a report, but I got the following panic on an NFS server running > 8.3-PRERELEASE: > > (from here) > pool.allbsd.org dumped core - see /var/crash/vmcore.0 > > Tue Feb 21 10:59:44 JST 2012 > > FreeBSD pool.allbsd.org 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE

Firefox crash after upgrade to 8.3 as of yesterday

2012-02-22 Thread Erich Dollansky
Hi, I installed 8.3 as of yesterday: uname says: FreeBSD AMD620.ovitrap.com 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #28: Tue Feb 21 17:15:07 WIT 2012 er...@amd620.ovitrap.com:/usr/obj/usr/src/sys/AsusAMD620 amd64 Open i.e. www.freebsd.org with firefox and do one of the following to crash

Re: [CFT] modular kernel config

2012-02-22 Thread ~Lst
On Wed, Feb 22, 2012 at 8:03 PM, Alexander Leidinger wrote: > Quoting timp (from Tue, 21 Feb 2012 21:56:04 -0800 > (PST)): > >> Sorry, but for loader.conf you need use 'load' instead of 'enable' >> sed -e "s/enable/load/" loader.conf > > > [blush]fixed[/blush] > > Thanks, > Alexander. It's typo

Re: Fatal trap 19, Stopped at bge_init_locked+ and bge booting problems

2012-02-22 Thread Attila Nagy
On 02/23/12 05:15, YongHyeon PYUN wrote: bge0: mem 0xf6bf-0xf6bf,0xf6be-0xf6be,0xf6bd-0xf6bd irq 32 at device 0.0 on pci3 bge0: CHIP ID 0x05719001; ASIC REV 0x5719; CHIP REV 0x57190; PCI-E ^^ This controller is new one. Probably BCM5719 A1 but no

panic in 8.3-PRERELEASE

2012-02-22 Thread Hiroki Sato
Hi, Just a report, but I got the following panic on an NFS server running 8.3-PRERELEASE: (from here) pool.allbsd.org dumped core - see /var/crash/vmcore.0 Tue Feb 21 10:59:44 JST 2012 FreeBSD pool.allbsd.org 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #7: Thu Feb 16 19:29:19 JST 2012

mpslsi0 : Trying sleep, but thread marked as sleeping prohibited

2012-02-22 Thread Desai, Kashyap
Hi, I am doing some code changes in mps dirver. While working on those changes, I come to know about something which is new to me. Some expert help is required to clarify my doubt. 1. When any irq is register with FreeBSD OS, it sets " TDP_NOSLEEPING" pflag. It means though irq in freebsd is tr

Re: ZFS + nullfs + Linuxulator = panic?

2012-02-22 Thread Paul Mather
On Feb 17, 2012, at 8:27 PM, Konstantin Belousov wrote: > On Thu, Feb 16, 2012 at 12:07:46PM -0500, Paul Mather wrote: >> On Feb 16, 2012, at 10:49 AM, Konstantin Belousov wrote: >> >>> On Thu, Feb 16, 2012 at 10:09:27AM -0500, Paul Mather wrote: On Feb 14, 2012, at 7:47 PM, Konstantin Belou

Re: [CFT] modular kernel config

2012-02-22 Thread Alexander Leidinger
Quoting timp (from Tue, 21 Feb 2012 21:56:04 -0800 (PST)): Sorry, but for loader.conf you need use 'load' instead of 'enable' sed -e "s/enable/load/" loader.conf [blush]fixed[/blush] Thanks, Alexander. -- At least I thought I was dancing, 'til somebody stepped on my hand. --

random problem with 8.3 from yesterday

2012-02-22 Thread Erich Dollansky
Hi, I got a new thumb drive which was FAT formatted. I use this script to change this: !/bin/tcsh # # This script format a thumb drive connected to USB as da0. # printf "You have to run this script as 'root' to succeed.\n" printf "Warning this script will delete all your data from /dev/da0. Cont

Re: Fatal trap 19, Stopped at bge_init_locked+ and bge booting problems

2012-02-22 Thread YongHyeon PYUN
On Wed, Feb 22, 2012 at 08:49:31AM +0100, Attila Nagy wrote: > Hi, > > I get this on a recent stable/9 system with uhci support removed from > the kernel config: > da0 at ciss0 bus 0 scbus0 target 0 lun 0 > da0: Fixed Direct Access SCSI-5 device > da0: 135.168MB/s transfers > da0: Command Queuei

Fatal trap 19, Stopped at bge_init_locked+ and bge booting problems

2012-02-22 Thread Attila Nagy
Hi, I get this on a recent stable/9 system with uhci support removed from the kernel config: da0 at ciss0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 135.168MB/s transfers da0: Command Queueing enabled da0: 286070MB (585871964 512 byte sectors: 255H 32S/T 65535C) cd