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! S

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: 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 (ht

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); > >

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 w

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 , > Toru Nishimura wrote: > >Guys, > > > >There are two ports, sh3 and mips, which define PROC_PC() macro in > >cpu.h. They look both wrong and un-compileable indeed. It's apparent > >they are a sort of leftovers never

Re: Sun keyboard on i386?

2011-07-13 Thread Valeriy E. Ushakov
On Wed, Jul 13, 2011 at 02:51:02 -0400, Mouse wrote: > kbd0 at com0 > [...] > > But it doesn't work. I added a printf to sunkbd_match, and it's > never even getting called. Is there some kind person here who has > any idea why not and can point me in a useful direction? I daresay > it's someth

Re: Sun keyboard on i386?

2011-07-13 Thread Valeriy E. Ushakov
On Wed, Jul 13, 2011 at 11:53:41 -0400, Mouse wrote: > Oh well. It would have been a nice hack, but it's sounding like more > effort than it's worth to me. Make it a line discipline, may be? For a simple example take a look at src/sys/dev/hpc/hpf1275a_tty.c - which is a driver for HP F1275a ser

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 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 the orde

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 > outp

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 kerne

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 NetB

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 __link_set

Accessing EHCI_USBINTR (Was: CVS commit: src/sys/dev/pci)

2012-07-19 Thread Valeriy E. Ushakov
On Fri, Jul 20, 2012 at 01:26:19 +, Valeriy E. Ushakov wrote: > Module Name: src > Committed By: uwe > Date: Fri Jul 20 01:26:19 UTC 2012 > > Modified Files: > src/sys/dev/pci: ehci_pci.c > > Log Message: > EHCI_USBINTR is 4 bytes wide, use pr

NetBSD/i386 handling of CR2 vs. VirtualBox "raw" mode

2012-07-25 Thread Valeriy E. Ushakov
I've been playing with NetBSD/i386 under VirtualBox (on non VT-x host). VirtualBox "raw" mode executes guest code by patching it and running it as-is. Currently there are several problems that prevent netbsd from running under raw mode. I've kludged around the first two (add a 4-byte nop in Xspl

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: [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 agre

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 / moun

Problems with Apple's wired aluminium keyboard (vs. EHCI?)

2013-03-11 Thread Valeriy E. Ushakov
I have installed recent netbsd-6 (self built, RC1) on Mac mini G4. I have Apple wired aluminium keyboard. It worked fine during installation, but has problems with installed system. Install kernel says the following about it: uhub3 at uhub2 port 1: Apple, Inc. Keyboard Hub, class 9/0, rev 2.00/