Re: FreeBSD development audio system: KLANG

2012-08-13 Thread Volodymyr Kostyrko
O. Hartmann wrote: A few days ago, I stumbled into sthis at Phoronix: http://www.phoronix.com/scan.php?page=news_item&px=MTE1NzY KLANG is supposed to be an exchange audio system for the kernel, replacing several userland backed systems. Phoronix also claims this approach is supposed to support

Re: FreeBSD development audio system: KLANG

2012-08-13 Thread David Chisnall
On 13 Aug 2012, at 07:57, Volodymyr Kostyrko wrote: > 1. It's targeted at fixing Linux bugs, not FreeBSD ones. FreeBSD sound system > had in-kernel virtual channel mixing support for years. I found this to be the major issue. There were very few things on the list that weren't already supporte

Re: Segfault in rtld - dlopen RTLD_LAZY (was: Re: CFT: vlc 2.0.3 - want to know where it works and where only partly)

2012-08-13 Thread Konstantin Belousov
On Mon, Aug 13, 2012 at 01:13:35AM +0200, Juergen Lock wrote: > On Sun, Aug 05, 2012 at 07:38:11PM +0200, Juergen Lock wrote: > > On Sun, Aug 05, 2012 at 07:13:53PM +0300, Konstantin Belousov wrote: > > > On Sun, Aug 05, 2012 at 05:31:19PM +0200, Juergen Lock wrote: > > > > Hi kib, -current, seems

r239222 boot failure: Lock (sx) USB config SX lock not locked

2012-08-13 Thread Kim Culhan
Seeing this on r239222: panic: Lock (sx) USB config SX lock not locked @ /usr/src/sys/dev/usb/usb/usb_device.c:2781 thanks -kim ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send a

Re: r239222 boot failure back trace

2012-08-13 Thread Kim Culhan
It was found a ps/2 keyboard would work when the usb keyboard would not so was then able to get a backtrace: http://img827.imageshack.us/img827/3622/img0084vc.jpg http://img705.imageshack.us/img705/9816/img0086dms.jpg -kim ___ freebsd-current@freebsd.o

Re: Time to bump default VM_SWZONE_SIZE_MAX?

2012-08-13 Thread Alan Cox
On Sun, Aug 12, 2012 at 5:44 PM, Colin Percival wrote: > Hi all, > > If I'm understanding things correctly, the "maxswzone" value -- set by the > kern.maxswzone loader tunable or to VM_SWZONE_SIZE_MAX by default -- should > be approximately 9 MiB per GiB of swap space. > > The current default for

Re: Segfault in rtld - dlopen RTLD_LAZY (was: Re: CFT: vlc 2.0.3 - want to know where it works and where only partly)

2012-08-13 Thread Juergen Lock
On Mon, Aug 13, 2012 at 01:30:47PM +0300, Konstantin Belousov wrote: > On Mon, Aug 13, 2012 at 01:13:35AM +0200, Juergen Lock wrote: > > On Sun, Aug 05, 2012 at 07:38:11PM +0200, Juergen Lock wrote: > > > On Sun, Aug 05, 2012 at 07:13:53PM +0300, Konstantin Belousov wrote: > > > > On Sun, Aug 05, 2

Re: r239222 boot failure: Lock (sx) USB config SX lock not locked

2012-08-13 Thread Hans Petter Selasky
On Monday 13 August 2012 13:15:00 Kim Culhan wrote: > Seeing this on r239222: > > panic: Lock (sx) USB config SX lock not locked @ > /usr/src/sys/dev/usb/usb/usb_device.c:2781 > > thanks > -kim It's my fault. I'll add the missing locks. Thank you. --HPS _

Re: r239222 boot failure: Lock (sx) USB config SX lock not locked

2012-08-13 Thread Hans Petter Selasky
On Monday 13 August 2012 20:17:31 Hans Petter Selasky wrote: > On Monday 13 August 2012 13:15:00 Kim Culhan wrote: > > Seeing this on r239222: > > > > panic: Lock (sx) USB config SX lock not locked @ > > /usr/src/sys/dev/usb/usb/usb_device.c:2781 > > > > thanks > > -kim > > It's my fault. I'll a

rate-limited [kernel] debugging messages ?

2012-08-13 Thread Luigi Rizzo
In my kernel stuff i tend to define debugging macros of the form #define ND(format, ...) do {} while (0) #define D(format, ...) do { } while (0) so it is convenient to comment them out when not needed anymore. I have recently tried the following rate-limited version, wh

Re: rate-limited [kernel] debugging messages ?

2012-08-13 Thread Andrew Thompson
On 14 August 2012 08:56, Luigi Rizzo wrote: > In my kernel stuff i tend to define debugging macros of the form > > #define ND(format, ...) do {} while (0) > #define D(format, ...) do { } while (0) > > so it is convenient to comment them out when not needed anymore. > > I

Re: Time to bump default VM_SWZONE_SIZE_MAX?

2012-08-13 Thread Peter Jeremy
On 2012-Aug-12 15:44:07 -0700, Colin Percival wrote: >If I'm understanding things correctly, the "maxswzone" value -- set by the >kern.maxswzone loader tunable or to VM_SWZONE_SIZE_MAX by default -- should >be approximately 9 MiB per GiB of swap space. I'm not sure how you got that value. By def

Re: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-13 Thread Mike Tancsa
On 8/3/2012 5:18 PM, John Baldwin wrote: >> >> Seems to apply to RELENG_9 just fine. Are there any stress tests you >> suggest I run that might expose some bugs ? The machine is not >> production yet, so its ok to crash it. > > Probably pho's stress2 stuff. Thinks like dbench might be a good sta

Re: r239222 boot failure: Lock (sx) USB config SX lock not locked

2012-08-13 Thread Kim Culhan
On Mon, Aug 13, 2012 at 2:49 PM, Hans Petter Selasky wrote: > On Monday 13 August 2012 20:17:31 Hans Petter Selasky wrote: >> On Monday 13 August 2012 13:15:00 Kim Culhan wrote: >> > Seeing this on r239222: >> > >> > panic: Lock (sx) USB config SX lock not locked @ >> > /usr/src/sys/dev/usb/usb/us

Re: r239222 boot failure: Lock (sx) USB config SX lock not locked

2012-08-13 Thread Hans Petter Selasky
On Tuesday 14 August 2012 00:36:48 Kim Culhan wrote: > On Mon, Aug 13, 2012 at 2:49 PM, Hans Petter Selasky wrote: > > On Monday 13 August 2012 20:17:31 Hans Petter Selasky wrote: > >> On Monday 13 August 2012 13:15:00 Kim Culhan wrote: > >> > Seeing this on r239222: > >> > > >> > panic: Lock (sx

Re: Time to bump default VM_SWZONE_SIZE_MAX?

2012-08-13 Thread Dag-Erling Smørgrav
Colin Percival writes: > If I'm understanding things correctly, the "maxswzone" value -- set by the > kern.maxswzone loader tunable or to VM_SWZONE_SIZE_MAX by default -- should > be approximately 9 MiB per GiB of swap space. Far less, in fact. As mentioned in loader(8), the default 32 MB limit

Re: swp_pager_meta_build DoS printf

2012-08-13 Thread Dag-Erling Smørgrav
Sergey Kandaurov writes: > What about this patch? It enables to ratelimit the printf. I have a different patch that just prints one message when swzone is exhausted and another when more space becomes available. However, we might want to combine the two, so that it periodically prints a message