Re: Early use of log() does not end up in kernel msg buffer

2015-04-06 Thread Poul-Henning Kamp
In message <552326a2.5000...@badgerio.us>, Eric Badger writes: >> The reason was systems not running syslog having slow serial consoles. > >Correct me if I've misunderstood, but that doesn't seem to matter here; >the proposed change adds logging to the message buffer but leaves >logging

Re: Early use of log() does not end up in kernel msg buffer

2015-04-06 Thread Eric Badger
On 04/06/2015 04:11 PM, Poul-Henning Kamp wrote: In message <2033248.eu3rhs8...@ralph.baldwin.cx>, John Baldwin writes: I think phk@ broke this back in 70239. Before that the log() function did this: log() { /* log to the msg buffer */ kvprintf(fmt, msglogchar, ...);

Re: Nothing can boot anymore - video issues

2015-04-06 Thread Devin Teske
> On Apr 6, 2015, at 1:35 PM, Shawn Webb wrote: > > On Mon, 2015-04-06 at 13:59 -0400, Shawn Webb wrote: >> On Sun, 2015-04-05 at 12:07 -0700, Rui Paulo wrote: >>> On Apr 5, 2015, at 09:11, Shawn Webb wrote: So I just updated my laptop and desktop to a recent HEAD. Both machines

Re: panic: object has cached pages on recent HEAD

2015-04-06 Thread Don Lewis
On 6 Apr, To: curr...@freebsd.org wrote: > I just got this panic on my port builder machine running a recent > version of HEAD (last updated in the last few days): > > panic: object has cached pages on recent HEAD > > As you can see, I was pushing it really hard: > > last pid: 76867; load aver

Re: async pass(4) patches available

2015-04-06 Thread Kenneth D. Merry
On Mon, Apr 06, 2015 at 15:39:56 +0200, Fabian Keil wrote: > "Kenneth D. Merry" wrote: > > > I have put patches to add an asynchronous interface to the pass(4) driver > > and add a new camdd(8) utility here: > > > > FreeBSD/head as of SVN revision 280857: > > > > http://people.freebsd.org/~ken/

Re: Early use of log() does not end up in kernel msg buffer

2015-04-06 Thread Adrian Chadd
On 6 April 2015 at 14:11, Poul-Henning Kamp wrote: > > In message <2033248.eu3rhs8...@ralph.baldwin.cx>, John Baldwin writes: > >>I think phk@ broke this back in 70239. Before that the log() function did >>this: >> >>log() >>{ >> >> /* log to the msg buffer */ >> kvprintf(fmt

Re: Early use of log() does not end up in kernel msg buffer

2015-04-06 Thread Poul-Henning Kamp
In message <2033248.eu3rhs8...@ralph.baldwin.cx>, John Baldwin writes: >I think phk@ broke this back in 70239. Before that the log() function did >this: > >log() >{ > > /* log to the msg buffer */ > kvprintf(fmt, msglogchar, ...); > > if (!log_open) { > /*

panic: object has cached pages on recent HEAD

2015-04-06 Thread Don Lewis
I just got this panic on my port builder machine running a recent version of HEAD (last updated in the last few days): panic: object has cached pages on recent HEAD As you can see, I was pushing it really hard: last pid: 76867; load averages: 62.92, 41.93, 41.40up 7+10:24:04 13:45:01 448 p

Re: Nothing can boot anymore - video issues

2015-04-06 Thread Shawn Webb
On Mon, 2015-04-06 at 13:59 -0400, Shawn Webb wrote: > On Sun, 2015-04-05 at 12:07 -0700, Rui Paulo wrote: > > On Apr 5, 2015, at 09:11, Shawn Webb wrote: > > > > > > So I just updated my laptop and desktop to a recent HEAD. Both machines > > > boot using gptzfsboot. The boot spinner shows, then

Re: Is a high witness refcount indicative of a missing unlock?

2015-04-06 Thread John Baldwin
On Sunday, March 29, 2015 02:29:42 PM Lars wrote: > Hi, > I am poking around for a cause for my repeating deadlock issues on my system > based on r 279869. ddb show witness show the “vnode interlock” and the “zfs” > locks both with reference counts over 200K. Obviously they are related, and > th

Re: Early use of log() does not end up in kernel msg buffer

2015-04-06 Thread John Baldwin
On Thursday, March 26, 2015 10:20:13 PM Eric Badger wrote: > Using log(9) when no process is reading the log results in the message > going only to the console (contrast with printf(9), which goes to the > console and to the kernel message buffer in this case). I believe it is > truer to the sem

Re: How to hotplug pci/e devices in freeBSD? (Or How to remove and rescan/re-enumerate pci device?)

2015-04-06 Thread John Baldwin
On Thursday, April 02, 2015 10:17:47 AM Eran Harpaz wrote: > I'm looking for a way to refresh/re-enumerate the pci device list. > > In Linux, you can remove a particular pci device, and then after preforming > a "rescan" the device will appear again. In Linux it is done by: > > echo 1 > /sys/bus/

Re: SSE in libthr

2015-04-06 Thread John Baldwin
On Saturday, March 28, 2015 10:41:48 AM Adrian Chadd wrote: > Ok, so how do we reduce the amount of FPU save and restores, or make > them cheaper? Or make them more useful. If you are using SSE/AVX more often between context switches in ways that are beneficial then that might offset the cost of

Re: Nothing can boot anymore - video issues

2015-04-06 Thread Shawn Webb
On Sun, 2015-04-05 at 12:07 -0700, Rui Paulo wrote: > On Apr 5, 2015, at 09:11, Shawn Webb wrote: > > > > So I just updated my laptop and desktop to a recent HEAD. Both machines > > boot using gptzfsboot. The boot spinner shows, then when it's supposed to > > transition to the Beastie logo screen

Re: [RFC] Add "GELI Passphrase:" prompt to boot loader

2015-04-06 Thread Devin Teske
> On Apr 6, 2015, at 10:52 AM, Eric van Gyzen wrote: > > On 04/06/2015 13:39, Devin Teske wrote: >> >>> On Apr 6, 2015, at 10:24 AM, Eric van Gyzen wrote: >>> >>> On 04/06/2015 12:58, Devin Teske wrote: Hi -current, I have a pending enhancement to the boot loader that Colin P.

Re: [RFC] Add "GELI Passphrase:" prompt to boot loader

2015-04-06 Thread Eric van Gyzen
On 04/06/2015 13:39, Devin Teske wrote: > >> On Apr 6, 2015, at 10:24 AM, Eric van Gyzen wrote: >> >> On 04/06/2015 12:58, Devin Teske wrote: >>> Hi -current, >>> >>> I have a pending enhancement to the boot loader that Colin P. and I >>> have been working on together. >>> >>> URL: https://review

Re: [RFC] Add "GELI Passphrase:" prompt to boot loader

2015-04-06 Thread Devin Teske
> On Apr 6, 2015, at 10:24 AM, Eric van Gyzen wrote: > > On 04/06/2015 12:58, Devin Teske wrote: >> Hi -current, >> >> I have a pending enhancement to the boot loader that Colin P. and I >> have been working on together. >> >> URL: https://reviews.freebsd.org/D2105

Re: [RFC] Add "GELI Passphrase:" prompt to boot loader

2015-04-06 Thread Eric van Gyzen
On 04/06/2015 12:58, Devin Teske wrote: > Hi -current, > > I have a pending enhancement to the boot loader that Colin P. and I > have been working on together. > > URL: https://reviews.freebsd.org/D2105 > > The nature of the patch is to cause the boot loader to p

[RFC] Add "GELI Passphrase:" prompt to boot loader

2015-04-06 Thread Devin Teske
Hi -current, I have a pending enhancement to the boot loader that Colin P. and I have been working on together. URL: https://reviews.freebsd.org/D2105 The nature of the patch is to cause the boot loader to prompt for the GELI passphrase and then pass that on (

Re: async pass(4) patches available

2015-04-06 Thread Fabian Keil
"Kenneth D. Merry" wrote: > I have put patches to add an asynchronous interface to the pass(4) driver > and add a new camdd(8) utility here: > > FreeBSD/head as of SVN revision 280857: > > http://people.freebsd.org/~ken/async_pass.head.20150330.1.txt [...] > Comments and testing are welcome! A