Re: EuroBSDcon slides: pivot_root for BSD including NetBSD code

2012-11-05 Thread Valeriy E. Ushakov
On Tue, Oct 23, 2012 at 10:53:24 -0500, Eric Haszlakiewicz wrote: On Sat, Oct 20, 2012 at 04:17:35PM +0200, Adrian Steinmann wrote: http://marabu.ch/pivot_root_eurobsdcon_2012/index.html I looking for feedback especially if we should integrate this into a mount -t pivot / mount_pivot

Re: [RFC][PATCH] _UC_TLSBASE for all ports

2012-08-11 Thread Valeriy E. Ushakov
On Sat, Aug 11, 2012 at 16:03:08 -0700, Matt Thomas wrote: On Aug 11, 2012, at 10:35 AM, Thor Lancelot Simon wrote: On Sat, Aug 11, 2012 at 06:45:12AM +, Christos Zoulas wrote: It is a slippery slope, but I think in this case it is wise to bend. If we cannot reach agreement here,

Re: [RFC][PATCH] _UC_TLSBASE for all ports

2012-08-10 Thread Valeriy E. Ushakov
On Fri, Aug 10, 2012 at 10:19:03 -0700, Matt Thomas wrote: On Aug 10, 2012, at 9:58 AM, Joerg Sonnenberger wrote: On Fri, Aug 10, 2012 at 04:36:17PM +, Emmanuel Dreyfus wrote: Summary of the previous episode: NetBSD's swapcontext restores the thread_self pointer. When using

Re: error in sys/cdefs.h ?

2012-04-30 Thread Valeriy E. Ushakov
On Mon, Apr 30, 2012 at 12:06:27 -0700, Paul Goyette wrote: While trying to muddle my way through the net80211 module mess, I noticed the following line in sys/cdefs.h: #define __link_set_entry(set, idx) (__link_set_begin(set)[idx]) This is the only place where

Re: UFS and POSIX test suite

2012-01-01 Thread Valeriy E. Ushakov
On Sun, Jan 01, 2012 at 18:12:48 +, Roland C. Dowdeswell wrote: On Sun, Jan 01, 2012 at 07:05:06PM +0100, Emmanuel Dreyfus wrote: I intentend to use it to hunt bugs for NetBSD FUSE. Without any surprise, there are a lot of failures, but I am a it surprised to see that NetBSD UFS

NetBSD/usermode (Was: CVS commit: src)

2011-12-22 Thread Valeriy E. Ushakov
On Wed, Dec 21, 2011 at 16:47:49 +0100, Reinoud Zandijk wrote: From the beginning of the usermode project, we struggled with the fact that system calls in usermode's userland will go to the wrong kernel [...] Because you chose to run userland code in the same process with the usermode kernel

Re: Audio drivers- Difference between start_output and trigger_output.

2011-12-14 Thread Valeriy E. Ushakov
Disclaimer: it's almost 10 years since I last touched our audio framework :) On Wed, Dec 14, 2011 at 23:23:31 +1100, Nat Sloss wrote: I have read audio(9) and have looked at several audio drivers. I was having trouble with btsco and have found it uses start output instead of trigger

Re: Lost file-system story

2011-12-12 Thread Valeriy E. Ushakov
On Sun, Dec 11, 2011 at 23:23:33 -0500, Donald Allen wrote: On Sun, Dec 11, 2011 at 9:53 PM, Greg A. Woods wo...@planix.ca wrote: Perhaps this sentence from McKusick's memo about fsck will help you to understand:  fsck is able to repair corrupted file systems using procedures based upon

Re: PROC_PC() macro usage in kern/kern_clock.c

2010-12-21 Thread Valeriy E. Ushakov
On Tue, Dec 21, 2010 at 20:49:10 +, Christos Zoulas wrote: In article acbbaf3908cb43b8b169e639cb181...@tpad4, Toru Nishimura locor...@alkyltechnology.com wrote: Guys, There are two ports, sh3 and mips, which define PROC_PC() macro in cpu.h. They look both wrong and un-compileable

Re: Please do not yell at people for trying to help you.

2010-11-12 Thread Valeriy E. Ushakov
On Fri, Nov 12, 2010 at 21:59:54 +0100, Joerg Sonnenberger wrote: On Fri, Nov 12, 2010 at 08:31:39PM +, Eduardo Horvath wrote: The assignment: foo.size = htole64(size); Cannot be replaced with: __inline __asm(stxa %1, [%0] ASI_LITLE : foo.size : size); Actually, it should

Re: Please do not yell at people for trying to help you.

2010-11-12 Thread Valeriy E. Ushakov
On Fri, Nov 12, 2010 at 21:29:58 +, Eduardo Horvath wrote: On Fri, Nov 12, 2010 at 09:23:07PM +, Eduardo Horvath wrote: On Sat, 13 Nov 2010, Valeriy E. Ushakov wrote: On Fri, Nov 12, 2010 at 21:59:54 +0100, Joerg Sonnenberger wrote: On Fri, Nov 12, 2010 at 08:31

Re: SLIP coexisting with serial data?

2010-10-10 Thread Valeriy E. Ushakov
On Sun, Oct 10, 2010 at 04:41:40 -0400, der Mouse wrote: I have a situation in which it would be useful to run SLIP on a serial console. Obviously, this won't work very well at present. (The machine has only one serial port and no useful network interfaces.) Maybe something like SLIRP

Re: ptrace(2) PT_STEP changes and gdb

2010-08-17 Thread Valeriy E. Ushakov
On Tue, Aug 17, 2010 at 17:07:14 +0200, Joerg Sonnenberger wrote: Problem is that historically PT_STEP's data argument was ignored and the in-tree gdb has one case where it provides a signal number as data. What is the best solution? From looking at all the cases, I think the only sane

Re: box drawing characters vs. WSDISPLAY_FONTENC_ISO

2010-04-27 Thread Valeriy E. Ushakov
On Tue, Apr 27, 2010 at 16:07:21 -0400, Michael wrote: the idea to automatically generate them, add encoding tables for ISO fonts that map box drawing characters to 0x100 and above, YES! I was thinking about this at some point but never had enough round tuits and/or motivation. Thanks!