Re: new panic in cpu_reset() with WITNESS

2012-01-21 Thread Andriy Gapon
on 20/01/2012 17:41 Gleb Smirnoff said the following: > > On Tue, Jan 17, 2012 at 03:02:42PM +0400, Gleb Smirnoff wrote: > T> New panic has been introduced somewhere between > T> r229851 and r229932, that happens on shutdown if > T> kernel has WITNESS and doesn't have WITNESS_SKIPSPIN. > > I've

Re: [RFT] Major snd_hda rewrite

2012-01-21 Thread Alexander Motin
source code of xbmc used to play losseless file here: https://github.com/Fneufneu/xbmc/blob/freebsdAE/xbmc/cores/AudioEngine/Sinks/AESinkOSS.cpp and my dmesg: http://fneufn.eu/freebsd/dmesg.verb.htpc.20120121.txt -- Alexander Motin ___ fr

locks under printf(9) and WITNESS [Was: new panic in cpu_reset() with WITNESS]

2012-01-21 Thread Andriy Gapon
BTW, we have a quite strange situation with spin locks in console output path. cnputs_mtx is marked as MTX_NOWITNESS, supposedly because cnputs (printf) can be called in any locking context (even during normal operation). But there are a number of console-specific locks (scrlock, uart_hwmtx, "sys

Re: [RFT] Major snd_hda rewrite

2012-01-21 Thread Alexander Motin
They are printed only when hw.snd.verbose set to 4. you can find the source code of xbmc used to play losseless file here: https://github.com/Fneufneu/xbmc/blob/freebsdAE/xbmc/cores/AudioEngine/Sinks/AESinkOSS.cpp and my dmesg: http://fneufn.eu/freebsd

Re: [RFT] Major snd_hda rewrite

2012-01-21 Thread Dominic Fandrey
Hello, On 11/01/2012 20:33, Alexander Motin wrote: I would like request for testing of my work on further HDA sound driver improvement. ... Comments and tests results are welcome! I've been testing the first version of your patch on an HP 6510b, since the 12th of January. hdac0@pci0:0:27:0:

Re: [RFT] Major snd_hda rewrite

2012-01-21 Thread Alexander Motin
On 01/21/12 18:24, Dominic Fandrey wrote: Hello, On 11/01/2012 20:33, Alexander Motin wrote: I would like request for testing of my work on further HDA sound driver improvement. ... Comments and tests results are welcome! I've been testing the first version of your patch on an HP 6510b, sinc

Re: [RFT] Major snd_hda rewrite

2012-01-21 Thread Alexander Motin
On 01/21/12 18:48, Alexander Motin wrote: On 01/21/12 18:24, Dominic Fandrey wrote: On 11/01/2012 20:33, Alexander Motin wrote: I would like request for testing of my work on further HDA sound driver improvement. ... Comments and tests results are welcome! I've been testing the first version

Re: new panic in cpu_reset() with WITNESS

2012-01-21 Thread Andriy Gapon
on 21/01/2012 15:38 Andriy Gapon said the following: > on 20/01/2012 17:41 Gleb Smirnoff said the following: >> >> On Tue, Jan 17, 2012 at 03:02:42PM +0400, Gleb Smirnoff wrote: >> T> New panic has been introduced somewhere between >> T> r229851 and r229932, that happens on shutdown if >> T> kern

Re: locks under printf(9) and WITNESS [Was: new panic in cpu_reset() with WITNESS]

2012-01-21 Thread Andriy Gapon
on 21/01/2012 16:37 Andriy Gapon said the following: > > BTW, we have a quite strange situation with spin locks in console output path. > cnputs_mtx is marked as MTX_NOWITNESS, supposedly because cnputs (printf) can > be > called in any locking context (even during normal operation). But there a

FreeBSD hangs on boot after kernel upgrade to 9.0-R

2012-01-21 Thread mato
Hi, I've used freebsd-update to upgrade from 8.2-R to 9.0-R and all looked nice until the first reboot. Now my FreeBSD always hangs midway through the boot process and the last message output is: "uhub3: http://www.pipni.cz/ ___ freebsd-current@freebsd.