Re: glitches in framebuffer console - NL/CR

2024-03-20 Thread Valery Ushakov
On Wed, Mar 20, 2024 at 20:37:09 +0100, Riccardo Mottola wrote: > Boot, dmesg, login come up fine, no issue. > > Certain programs however print out the text by making only a NL and no > CR, making a staircase effect. > E.g. pkgin or dhcpcd do that. > Sometimes in this situation also keyboard

Re: Usage/syntax for command-line utilities

2024-03-19 Thread Valery Ushakov
On Mon, Mar 18, 2024 at 20:40:57 -0700, Paul Goyette wrote: > Why do we have drvctl(8) and gpt(8) (for example only, there are > others) which put the device-to-act-on at the end of the command: > > gpt [-Hnqrv] [-m mediasize] [-s sectorsize] [-T timestamp] > command

Re: Removing a superfluous warning from xf86-input-ws/dist/src/ws.c

2024-02-04 Thread Valery Ushakov
On Sun, Feb 04, 2024 at 20:23:24 +0100, Rhialto wrote: > and it prints this warning every time I scroll using the touchpad on my > ThinkPad. Apparently it is a "new" way for touchpads to report scrolling > (both horizontal and vertica). > > These messages are filling up my /var/log/Xorg.0.log

Re: Update ARFLAGS?

2023-12-28 Thread Valery Ushakov
On Fri, Dec 29, 2023 at 12:06:26 +1100, matthew green wrote: > Thomas Klausner writes: > > > As noted in PR 57565, the default ARFLAGS in share/mk/sys.mk are > > broken - they use 'l' which changed behaviour between binutils 2.34 > > and 2.39. > > > > Ok to commit the change? > > > > (This broke

Re: Upgrading a 90s laptop from 5.1 to 10 -- no FD or CDROM

2023-12-22 Thread Valery Ushakov
On Fri, Dec 22, 2023 at 05:48:57 -, jo...@sdf.org wrote: > I couldn't get the version of boot I have to recognize any USB or CF > drives. I guess because not recognized by BIOS? I guess I could upgrade > boot as a first step? [...] > [ 1.040] Firmware Error (ACPI): A valid RSDP was not

Re: Upgrading a 90s laptop from 5.1 to 10 -- no FD or CDROM

2023-12-21 Thread Valery Ushakov
On Wed, Dec 20, 2023 at 23:34:34 -, jo...@sdf.org wrote: > I have a pcmcia 3Com NIC and so internet access (IPv6 only!). But the FD > adapter and the CDROM bay both died years ago. > > I can plug in a pcmcia CF card and mount it. The old BIOS can't boot from > that though. There's also a

Re: grafana rc.d scripts reports process not running

2023-12-15 Thread Valery Ushakov
On Fri, Dec 15, 2023 at 15:17:57 +0100, Thomas Klausner wrote: > So grafana saved its PID into /var/run/grafana.pid, which is what's > configured in the rc.d script as pidfile, but the status command > thinks it's not running, despite a grafana process with the > corresponding PID running. Can

Re: Can't cross-build on macOS: clock.h

2023-10-27 Thread Valery Ushakov
On Fri, Oct 27, 2023 at 19:10:09 +1100, Simon Burge wrote: > isn't installed on all architectures? The original > change was to include but then that added #ifdef magic. > > Since is already a system header file, wouldn't it be > better to make sure is installed everywhere? This happens

Re: gdb issues?

2023-10-11 Thread Valery Ushakov
On Wed, Oct 11, 2023 at 09:31:19 +0200, Havard Eidnes wrote: > armv7: {2} gdb .core > GNU gdb (GDB) 8.3 > Copyright (C) 2019 Free Software Foundation, Inc. > [another dozen or so lines of fsf spam] Pro tip: gdb -q :) -uwe

Re: kernel size change

2023-07-12 Thread Valery Ushakov
On Thu, Jul 13, 2023 at 00:51:45 +0200, Thomas Klausner wrote: > diff old new (after removing address column): For the love of god, please use diff -u for diffs :) -uwe

Re: I can't cross build 10 on 10??

2023-04-28 Thread Valery Ushakov
On Fri, Apr 28, 2023 at 13:22:02 +1200, Lloyd Parkes wrote: > It looks like something is going wrong with the host tools and they are > trying to use host includes when they should be using in-tree includes. One > concise example is [...] > For some reason, the include path isn't set correctly. I

Re: Building old systems

2023-04-20 Thread Valery Ushakov
On Thu, Apr 20, 2023 at 11:08:43 -0600, Brook Milligan wrote: > What should I be configuring to make sure that a tooldir compiler is > usable? The tools in the tooldir expect that the netbsd src makefiles call them with -isysroot (or some such flag(s), sorry, writing from memory). I have some

Re: Building old systems

2023-04-19 Thread Valery Ushakov
On Wed, Apr 19, 2023 at 16:34:19 -0600, Brook Milligan wrote: > I am trying to build an old kernel with build.sh on a recent > (9.99.108) amd64 system. However, compiling nbmake fails > immediately with errors like > > /usr/bin/ld: buf.o:(.bss+0x0): multiple definition of `debug_file'; >

Re: LLONG_MAX not available from c++

2023-03-31 Thread Valery Ushakov
On Fri, Mar 31, 2023 at 15:25:02 +, RVP wrote: > You have to create an empty file for `-E -dM' to work correctly: Not necessary, -x c++ is enough, but that's a very common pitfall indeed. # c, despite being called as c++ $ g++ -dM -E - < /dev/null | egrep -i 'stdc|plus' #define

i386: 9.99.107 traps booting on VirtualBox

2022-11-30 Thread Valery Ushakov
I tried to upgrade a 32-bit VBox VM from 9.99.99 to .107 and the kernel from the yesterday's sources crashes on boot. ... attimer1: attached to pcppi0 fatal page fault in supervisor mode trap type 6 code 0 eip 0xc0d3d808 cs 0x8 eflags 0x10246 cr2 0x3c ilevel 0x7 esp 0x6 curlwp 0xc1657840 pid 0

Re: noisy dhcpcd messages

2022-11-07 Thread Valery Ushakov
On Sat, Nov 05, 2022 at 17:41:54 +0300, Valery Ushakov wrote: > > Or syslog has a different bug, because more details from the same log > > file: > > You can probably run syslog with debugging enabled, but it looks like > it needs a small fix to be able to specif

Re: noisy dhcpcd messages

2022-11-05 Thread Valery Ushakov
On Sat, Nov 05, 2022 at 13:38:34 +0100, Thomas Klausner wrote: > Date: Sat, 5 Nov 2022 13:38:34 +0100 > From: Thomas Klausner > Subject: Re: noisy dhcpcd messages > To: current-users@NetBSD.org > > On Tue, Nov 01, 2022 at 01:29:19PM +0300, Valeriy E. Ushakov wrote: > > On Tue, Nov 01, 2022 at

Re: nosiy dhcpcd messages

2022-11-01 Thread Valery Ushakov
On Tue, Nov 01, 2022 at 10:05:19 +0100, Thomas Klausner wrote: > What's up with these log lines? > > Oct 31 07:52:59 yt dhcpcd[3496]: wm0: requesting DHCPv6 information > Oct 31 07:53:52 yt syslogd[4885]: last message repeated 5 times [...] > This is not a new issue, I can find these log lines

Re: building source against installed libraries?

2022-10-31 Thread Valery Ushakov
On Mon, Oct 31, 2022 at 12:07:03 +0100, Thomas Klausner wrote: > On Mon, Oct 31, 2022 at 01:46:56PM +0300, Valeriy E. Ushakov wrote: > > On Mon, Oct 31, 2022 at 11:10:24 +0100, Thomas Klausner wrote: > > > > > For test builds, I use 'USETOOLS=no make' to avoid building a > > > toolchain.

Re: building source against installed libraries?

2022-10-31 Thread Valery Ushakov
On Mon, Oct 31, 2022 at 11:10:24 +0100, Thomas Klausner wrote: > For test builds, I use 'USETOOLS=no make' to avoid building a > toolchain. However that still wants to link against libraries built > in the source tree, i.e. I have to 'cd /usr/src/lib/libcrypto && > USETOOLS=no make' to build a

Re: How to map Alt keys in X windows under NetBSD-9?

2022-10-11 Thread Valery Ushakov
On Tue, Oct 11, 2022 at 01:28:31 -0700, Brian Buhrow wrote: > It looks like all is working as I expect, except I can't seem to > generate an alt-return key sequence. I just get a bell when I try > to do this and the application I'm using doesn't receive the > keystroke. I haven't used xterm in

Re: Virtio Viocon driver - possible to backport from OpenBSD?

2022-08-05 Thread Valery Ushakov
On Thu, Aug 04, 2022 at 21:53:25 +0200, Matthias Petermann wrote: > the OpenBSD virtio driver has its origin in NetBSD. Viocon Support > was added later and not ported back yet. I am wondering how much > effort it would take to merge it from > >

Re: namespace pollution? clone()

2022-08-01 Thread Valery Ushakov
On Mon, Aug 01, 2022 at 16:50:14 +0200, Thomas Klausner wrote: > On Mon, Aug 01, 2022 at 05:45:23PM +0300, Valeriy E. Ushakov wrote: > > Shouldn't we expose __clone(2) (the real symbol in the reserved > > namespace) under _NETBSD_SOURCE and only hide clone(2) weak alias > > under _GNU_SOURCE?

Re: namespace pollution? clone()

2022-08-01 Thread Valery Ushakov
On Mon, Aug 01, 2022 at 15:57:19 +0200, Thomas Klausner wrote: > On Tue, Jul 26, 2022 at 03:03:54PM +0200, Martin Husemann wrote: > > On Tue, Jul 26, 2022 at 03:46:14PM +0300, Valery Ushakov wrote: > > > On Linux clone(2) is declared only for _GNU_SOURCE, which explains why &

Re: namespace pollution? clone()

2022-07-26 Thread Valery Ushakov
On Tue, Jul 26, 2022 at 13:27:43 +0300, Valery Ushakov wrote: > On Tue, Jul 26, 2022 at 12:00:16 +0200, Thomas Klausner wrote: > > > I wonder why it's visible though, since in sched.h it's protected by > > _NETBSD_SOURCE. > > Re-run that command with -E -dD and withou

Re: namespace pollution? clone()

2022-07-26 Thread Valery Ushakov
On Tue, Jul 26, 2022 at 12:00:16 +0200, Thomas Klausner wrote: > I wonder why it's visible though, since in sched.h it's protected by > _NETBSD_SOURCE. Re-run that command with -E -dD and without -c and related options -uwe

syslog spam from nslookup

2022-06-27 Thread Valery Ushakov
recentish current spams syslog on each invocation of nslookup: Jun 27 18:48:53 hd32 nslookup: setting maxthreads to 4 from 128 Jun 27 18:48:53 hd32 nslookup: isc_hp_new: max_hps=1 max_threads=4 Jun 27 18:49:08 hd32 syslogd[305]: last message repeated 3 times Looks like Christos added this to

Re: Archive of .iso images for -current

2022-06-15 Thread Valery Ushakov
On Wed, Jun 15, 2022 at 00:05:43 +, Chavdar Ivanov wrote: > On 14 June 2022 23:06:56 (+01:00), Roland Illig wrote: > > > NetBSD-current fails for me in a VirtualBox with more than 1 CPU. > > > > https://gnats.netbsd.org/56883 > > https://gnats.netbsd.org/56884 > >

Re: x86 console size

2022-06-09 Thread Valery Ushakov
On Thu, Jun 09, 2022 at 20:50:07 +, RVP wrote: > On Thu, 9 Jun 2022, Valery Ushakov wrote: > > > Can't we just fix the font name in wsfont/bold16x32.h to be > > Boldface-16x32? :) Avoids confusion in wsfontload -l output too. > > Yes! I would prefer that. Any object

Re: x86 console size

2022-06-08 Thread Valery Ushakov
On Wed, Jun 08, 2022 at 21:35:49 +, RVP wrote: > Apropos that: can this patch be applied so that font-names (and their > filenames) can be quoted more intuitively? > Like this: > > setvar ttyE0 fontBoldface\ 16x32 > > instead of (currently) this: > > setvar ttyE0 font

Re: x86 console size

2022-06-07 Thread Valery Ushakov
On Tue, Jun 07, 2022 at 19:02:08 +0200, Reinoud Zandijk wrote: > On Sun, Jun 05, 2022 at 11:52:51AM +, RVP wrote: > > On Sun, 5 Jun 2022, Reinoud Zandijk wrote: > > > > > Could switching to the big fonts be an option? > > > > > > > With both fonts compiled in you can switch between them >

Re: Framebuffer console font size selection issues?

2022-05-27 Thread Valery Ushakov
On Thu, May 26, 2022 at 17:13:37 -0500, John D. Baker wrote: > So, I managed to switch "ttyE0" ("constty") to "Boldface" (8x16). I > tried to do the same for the other virtual terminals, but "/dev/ttyE0" > seems hard-coded rather than operate on the current terminal or to be > able to specify a

Re: /dev/wsfont permissions (Was: CVS commit: src/sys/dev/wsfont)

2022-05-17 Thread Valery Ushakov
On Fri, May 13, 2022 at 02:49:29 +0300, Valery Ushakov wrote: > On Thu, May 12, 2022 at 23:17:42 +, Valeriy E. Ushakov wrote: > > > Module Name:src > > Committed By: uwe > > Date: Thu May 12 23:17:42 UTC 2022 > > > > Modifi

/dev/wsfont permissions (Was: CVS commit: src/sys/dev/wsfont)

2022-05-12 Thread Valery Ushakov
On Thu, May 12, 2022 at 23:17:42 +, Valeriy E. Ushakov wrote: > Module Name: src > Committed By: uwe > Date: Thu May 12 23:17:42 UTC 2022 > > Modified Files: > src/sys/dev/wsfont: wsfontdev.c > > Log Message: > wsfont(4): WSDISPLAYIO_LDFONT requires device opened for writing.

Re: xterm-color256: Different behavior between NetBSD 9.2 and 9.99.93?

2022-02-03 Thread Valery Ushakov
On Thu, Feb 03, 2022 at 14:15:45 +0100, Martin Husemann wrote: > Bug in the terminfo compiler? http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/tic/tic.c#rev1.39 sounds like it might be related. -uwe

Re: Heads up: objdir is now rm -rf resistent

2021-12-15 Thread Valery Ushakov
On Wed, Dec 15, 2021 at 07:53:55 -0500, Greg Troxel wrote: > I wonder if "rm -rf" should actually succeed with these modes, by doing > a chmod when necessary. It has always seem to me that -f is supposed to > really mean -f. But maybe POSIX says otherwise. That would be a security hole,

Re: Help with libcurses and lynx under NetBSD-9 and -current?

2021-09-21 Thread Valery Ushakov
On Tue, Sep 21, 2021 at 17:24:16 +0930, Brett Lymn wrote: > On Tue, Sep 21, 2021 at 07:08:16AM +0300, Valery Ushakov wrote: > > > > nl/nonl are defined to affect *input* translation, turning off ICRNL, > > so that apps can distinguish carriage return key. I *guess* that

Re: Help with libcurses and lynx under NetBSD-9 and -current?

2021-09-20 Thread Valery Ushakov
On Tue, Sep 21, 2021 at 07:43:28 +0930, Brett Lymn wrote: > On Mon, Sep 20, 2021 at 02:44:21PM +0300, Valery Ushakov wrote: > > > > > > Not always. You are right it is ttys that is doing it. The bug was > > > that cursor down with onlcr on always moved the cu

Re: Help with libcurses and lynx under NetBSD-9 and -current?

2021-09-20 Thread Valery Ushakov
On Mon, Sep 20, 2021 at 07:37:55 +0930, Brett Lymn wrote: > On Fri, Sep 17, 2021 at 02:32:39PM +0300, Valery Ushakov wrote: > > > > Huh?! ^J does NOT have that side effect, ttys onlcr does. Which > > should be turned off for curses output, shouldn't it? > > >

Re: Help with libcurses and lynx under NetBSD-9 and -current?

2021-09-17 Thread Valery Ushakov
On Fri, Sep 17, 2021 at 07:33:00 +0930, Brett Lymn wrote: > which was the case with the previous bug I squashed. That one had been > there since curses was imported into NetBSD, every other terminal in > popular use must use ^J for cud1 which had the side effect of moving the > cursor to the

Re: VirtualBox guest additions - new failure

2021-09-15 Thread Valery Ushakov
On Mon, Aug 09, 2021 at 20:11:52 +0100, Chavdar Ivanov wrote: > Awesome, thanks! The following does the job: > > --- src/VBox/Additions/common/VBoxGuest/VBoxGuest-netbsd.c.ORIG > 2021-07-28 17:16:22.0 +0100 > +++ src/VBox/Additions/common/VBoxGuest/VBoxGuest-netbsd.c > 2021-08-09

Re: /bin/sh tabcomplete

2021-09-14 Thread Valery Ushakov
On Tue, Sep 14, 2021 at 17:24:11 +0700, Robert Elz wrote: > Date:Tue, 14 Sep 2021 09:19:36 +0100 > From:Patrick Welche > Message-ID: > > | It seems that after updating a box from August -current to yesterday's > | -current, /bin/sh's tabcomplete no longer

Re: VirtualBox guest additions build failure

2021-05-08 Thread Valery Ushakov
On Wed, Apr 28, 2021 at 19:38:39 +0100, Chavdar Ivanov wrote: > Anyway, thanks; now works as before (the daemon still exits but the > reason is different, as before - [...] > 10:19:44.966110 main Error: Failed to connect to the guest > property service! Error: VERR_NOT_SUPPORTED >

Re: VirtualBox guest additions build failure

2021-04-27 Thread Valery Ushakov
On Tue, Apr 27, 2021 at 21:45:10 +0100, Chavdar Ivanov wrote: > I switched early today my VirtualBox NetBSD-current guest; as usual, I > rebuilt the additions (it works without them, but it is better to have > them - e.g. without them the X cursor is almost invisible). There are > a couple of

Re: pkgsrc build hang of python38

2021-02-27 Thread Valery Ushakov
On Sat, Feb 27, 2021 at 21:50:35 +0100, Riccardo Mottola wrote: > python38 hangs during build. I tried several times, it hangs in > exactly the same place again. I don't know of course where the issue > comes from, since all is new now :) I vaguely remember running into something like this b/c

Re: Help with libcurses and lynx under NetBSD-9 and -current?

2021-01-27 Thread Valery Ushakov
On Wed, Jan 27, 2021 at 08:49:26 -0800, Brian Buhrow wrote: > 1. How do I get pkgsrc/www/lynx to compile using -ncurses instead > of the native curses library? I tried setting various options in > /etc/mk.conf, but it looks like it really wants to compile using the > native curses library. I

Re: [HEADS UP] pkgsrc default database directory changed

2020-12-10 Thread Valery Ushakov
On Wed, Dec 02, 2020 at 11:28:41 +0100, Thomas Klausner wrote: > The new default for the pkgsrc database (which contains information > about all installed packages) in pkgsrc-HEAD has changed from > /var/db/pkg to ${PREFIX}/pkgdb (so usually /usr/pkg/pkgdb). This seems to be broken with current

Re: diskless sparc locks up under memory pressure

2020-12-08 Thread Valery Ushakov
On Sat, Nov 07, 2020 at 18:33:26 +0300, Valery Ushakov wrote: > I've upgraded my Krups (64MB RAM, diskless) to 9.99.75 as of Nov 6 and > the machine is locking up at boot time in rc.d/fccache. If I disable > fccache in rc.conf it boots but then eventually locks up when > make

Re: atexit(), dlclose() and more atexit()

2020-06-30 Thread Valery Ushakov
On Tue, Jun 30, 2020 at 15:09:14 +0200, Kamil Rytarowski wrote: > On 30.06.2020 14:24, Valery Ushakov wrote: > > On Tue, Jun 30, 2020 at 13:43:00 +0200, Kamil Rytarowski wrote: > > > >> On 30.06.2020 05:16, Jason Thorpe wrote: > >>> > >>>> O

Re: atexit(), dlclose() and more atexit()

2020-06-30 Thread Valery Ushakov
On Tue, Jun 30, 2020 at 13:43:00 +0200, Kamil Rytarowski wrote: > On 30.06.2020 05:16, Jason Thorpe wrote: > > > >> On Jun 29, 2020, at 5:13 PM, Kamil Rytarowski wrote: > >> > >>> > >>> The atexit() function shall register the function pointed to by func, to > >>> be called without arguments

Re: NetBSD 9.0 RC1 amd64 not working on VirtualBox 6.1.0

2019-12-12 Thread Valery Ushakov
On Thu, Dec 12, 2019 at 06:47:50 +0100, Bodie wrote: > On 11.12.2019 23:32, Valery Ushakov wrote: > > On Wed, Dec 11, 2019 at 23:15:38 +0100, Bodie wrote: > > > > > FYI https://www.virtualbox.org/ticket/19146 > > > > > > Not possible to boot

Re: File sharing over virtio-9p

2019-10-28 Thread Valery Ushakov
On Mon, Oct 28, 2019 at 12:29:40 +0900, Ryota Ozaki wrote: > On Fri, Oct 25, 2019 at 11:19 PM Mouse wrote: > > > > > [W]hich of the following is more readable to the user: > > > > > $ ls foo > > > ls: foo: No such file or directory > > > > > or > > > > > $ ls foo > > > ls: stat(foo): No such

Re: File sharing over virtio-9p

2019-10-24 Thread Valery Ushakov
On Fri, Oct 25, 2019 at 12:56:43 +0900, Ryota Ozaki wrote: > > @@ -72,7 +74,7 @@ serverconnect(const char *addr, unsigned short port) > > [...] > > + err(1, "setsockopt(SO_NOSIGPIPE)"); > > > > I'd just trim it down to "SO_NOSIGPIPE". > > > > +err(1, "open(%s)", path); > > > >

Re: Tar extract behaviour changed

2019-10-24 Thread Valery Ushakov
On Thu, Oct 24, 2019 at 05:26:41 +0200, Martin Husemann wrote: > Deal with this properly in sysinst would mean: > > 1) run a script like: > rm -f /tmp/list > for s in *.${suffix} > do >for dir in $( tar tvf "$s" | egrep '^d' | awk '{ print $9}' ) >do > readlink "$dir" && echo

Re: File sharing over virtio-9p

2019-10-24 Thread Valery Ushakov
On Thu, Oct 24, 2019 at 13:32:59 +0900, Ryota Ozaki wrote: > I've prepared complete patches ready to commit: > https://www.netbsd.org/~ozaki-r/tweak-MAKEDEV.diff > https://www.netbsd.org/~ozaki-r/vio9p.diff > https://www.netbsd.org/~ozaki-r/vio9p-configs.diff >

Re: How to best build a smalle libcurses for tiny crunched installers?

2019-07-26 Thread Valery Ushakov
On Thu, Jul 25, 2019 at 23:27:51 +0300, Valery Ushakov wrote: > On Thu, Jul 25, 2019 at 21:38:16 +0200, Martin Husemann wrote: > > > I wonder if we could build a hack version of libcurses with > > DISABLE_WCHAR, or is it better to just include the relevant files > > f

Re: How to best build a smalle libcurses for tiny crunched installers?

2019-07-25 Thread Valery Ushakov
On Thu, Jul 25, 2019 at 21:38:16 +0200, Martin Husemann wrote: > I wonder if we could build a hack version of libcurses with > DISABLE_WCHAR, or is it better to just include the relevant files > from libcurses in libhack instead? I did some work to excise the enhanced curses stuff from the

Re: CVS commit: src/usr.sbin/postinstall

2019-06-13 Thread Valery Ushakov
On Thu, Jun 13, 2019 at 17:07:36 -, Christos Zoulas wrote: > In article <20190613112930.gr17...@pony.stderr.spb.ru>, > Valery Ushakov wrote: > >On Thu, Jun 13, 2019 at 12:50:02 +0200, Manuel Bouyer wrote: > > > >> On Thu, Jun 13, 2019 at 01:13:52PM +0300, Va

Re: CVS commit: src/usr.sbin/postinstall

2019-06-13 Thread Valery Ushakov
On Thu, Jun 13, 2019 at 12:50:02 +0200, Manuel Bouyer wrote: > On Thu, Jun 13, 2019 at 01:13:52PM +0300, Valery Ushakov wrote: > > On Thu, Jun 13, 2019 at 10:00:03 +0200, Manuel Bouyer wrote: > > > > > On Thu, Jun 13, 2019 at 06:17:29AM +0300, Valery Ushakov wrote: &g

Re: CVS commit: src/usr.sbin/postinstall

2019-06-13 Thread Valery Ushakov
Thu, Jun 13, 2019 at 06:17:29AM +0300, Valery Ushakov wrote: > > > [...] > > > I've been using etcupdate for ages so I only ever really used > > > postinstall to fix "obsolete" and "catpages". etcupdate -a has some > > > kinks and may be we s

Re: CVS commit: src/usr.sbin/postinstall

2019-06-13 Thread Valery Ushakov
On Thu, Jun 13, 2019 at 10:00:03 +0200, Manuel Bouyer wrote: > On Thu, Jun 13, 2019 at 06:17:29AM +0300, Valery Ushakov wrote: > > [...] > > I've been using etcupdate for ages so I only ever really used > > postinstall to fix "obsolete" and "catpages".

Re: CVS commit: src/usr.sbin/postinstall

2019-06-12 Thread Valery Ushakov
On Wed, Jun 12, 2019 at 13:45:24 -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Wed Jun 12 17:45:24 UTC 2019 > > Modified Files: > src/usr.sbin/postinstall: postinstall > > Log Message: > Remove hard-coded lists of rc files and generate them

Re: Enabling xdm in sysinst breaks console login?

2019-06-09 Thread Valery Ushakov
On Sun, Jun 09, 2019 at 23:45:34 +1000, matthew green wrote: > sounds like constty should work for all cases, is there a > any issue i'm missing? To provide a bit more context. From the etc.i386/ttys log: revision 1.19 date: 2008-10-07 14:00:01 +0400; author: abs;

Re: Enabling xdm in sysinst breaks console login?

2019-06-08 Thread Valery Ushakov
On Sat, Jun 08, 2019 at 19:36:52 -0500, John D. Baker wrote: > On Sat, 8 Jun 2019, David Brownlee wrote: > > > That looks to be it - now I recall I set console off and constty on to > > DTRT with or without wscons. > > I've been wondering what the "constty" device was all about. The thread is

Build fails on Linux in CTF

2019-06-08 Thread Valery Ushakov
Building amd64 on a linux host. Build fails in tools/libctf with tools/libctf/../../external/cddl/osnet/sys/sys/uio.h:77:15: error: field 'uio_segflg' has incomplete type enum uio_seg uio_segflg; ^ tools/libctf/../../external/cddl/osnet/sys/sys/uio.h:78:14: error: field

Re: sysinst garbled screen on i386 - curses issue?

2019-06-07 Thread Valery Ushakov
On Fri, Jun 07, 2019 at 22:15:41 +0100, David Brownlee wrote: > There seems to be something off with the cursor positioning [...] > Does anyone else see this or am I going quietly mad? :) lib/54263? -uwe

Re: jemalloc fallout for i386 on amd64?

2019-05-13 Thread Valery Ushakov
On Sun, May 12, 2019 at 08:12:35 +0200, Martin Husemann wrote: > On Sun, May 12, 2019 at 04:43:45AM +0300, Valery Ushakov wrote: > > I have an old i386 kmk binary built on 6.1 > > > Core was generated by `kmk'. > > Program terminated with signal SIGSEGV, Segmentation f

jemalloc fallout for i386 on amd64?

2019-05-11 Thread Valery Ushakov
I have an old i386 kmk binary built on 6.1 $ file kBuild/bin/netbsd.amd64/kmk kBuild/bin/netbsd.amd64/kmk: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 6.1.5, with debug_info, not stripped As you might have

Re: Automated report: NetBSD-current/i386 test failure

2019-04-29 Thread Valery Ushakov
On Mon, Apr 29, 2019 at 10:29:43 +0700, Robert Elz wrote: > I've done some searching (not exhaustive for sure) and the only > thing I can find that uses 'F' in our tree that I can find is > (which provided the newly added example in snprintb.3) > which is missing that final NUL after the F field

Re: cross-compiling fails on MacOS

2019-02-25 Thread Valery Ushakov
On Mon, Feb 25, 2019 at 15:55:33 +0100, K. Schreiner wrote: > tryed to cross-compile NetBSD (amd64) on MacOS and failed with > > > create compat/.depend > compile compat/atoll.lo > clang: error: unknown argument: '-fno-ipa-sra' > > *** Failed target: atoll.lo > *** Failed command:

Re: "libmpfr.so.4" not found

2018-10-03 Thread Valery Ushakov
On Wed, Oct 03, 2018 at 18:57:42 +0700, Robert Elz wrote: > dependall ===> tools/xz-include > /bin/sh > /readonly/release/testing/src/tools/xz-include/../../external/public-domain/xz/dist/configure > --enable-threads=no --disable-nls CC=cc >

Re: VirtualBox mouse problem

2018-06-11 Thread Valery Ushakov
On Mon, Jun 11, 2018 at 21:53:13 +0300, Arto Huusko wrote: > Valery Ushakov kirjoitti 10.6.2018 klo 20:19: > > > NetBSD vboxguest driver now provides wsmouse(4) interface so X11 can > > use stock "ws" driver. > > Thanks, using "ws" driver fixed th

Re: VirtualBox mouse problem

2018-06-10 Thread Valery Ushakov
Moi, Arto. On Sun, Jun 10, 2018 at 16:06:38 +0300, Arto Huusko wrote: > I recently updated my virtualbox netbsd installation to 8.99.18, but > this caused the mouse to stop working correctly. > xorg.conf for mouse has simply: > > Section "ServerLayout" > InputDevice"Mouse0"

Re: More build.sh ctf fallout on a linux host

2018-06-04 Thread Valery Ushakov
On Sun, Jun 03, 2018 at 18:16:47 -0700, Chuck Silvers wrote: > > /home/uwe/work/netbsd/ro/src/tools/libctf/../../external/cddl/osnet/dist/uts/common/rpc/types.h:57:9: > > error: unknown type name 'u_longlong_t' > > typedef u_longlong_t ulonglong_t; > > ^ > > I was afraid that might

More build.sh ctf fallout on a linux host

2018-06-03 Thread Valery Ushakov
# compile libctf/ctf_error.lo cc -pipe -O2 -DCTF_OLD_VERSIONS -I/home/uwe/work/netbsd/ro/src/tools/libctf/../compat -I/home/uwe/work/netbsd/ro/src/tools/libctf/../../external/cddl/osnet/sys -I/home/uwe/work/netbsd/ro/src/tools/libctf/../../external/cddl/osnet/include

Re: Missing file after postisnstall?

2018-02-12 Thread Valery Ushakov
On Tue, Feb 13, 2018 at 06:22:41 +0800, Paul Goyette wrote: > On Tue, 13 Feb 2018, Paul Goyette wrote: > > > On Tue, 13 Feb 2018, Valery Ushakov wrote: > > > > > On Tue, Feb 13, 2018 at 05:40:22 +0800, Paul Goyette wrote: > > > > > > > I rec

Re: Missing file after postisnstall?

2018-02-12 Thread Valery Ushakov
On Tue, Feb 13, 2018 at 05:40:22 +0800, Paul Goyette wrote: > I recently updated from 8.99.7 to 8.99.12 and noticed that my daily security > job reported a missing file: > > Checking special files and directories. > ./etc/rc.d/dhcpd6 missing > > Shouldn't this have been found and

Re: cross-compiling kernel

2017-08-04 Thread Valery Ushakov
On Fri, Aug 04, 2017 at 14:18:36 +0200, Riccardo Mottola wrote: > Is building an x86 a "full cross compile"? I suppose yes and I > followef the NetBSD build for sparc, just with x86. Yes, it's full cross compilation. > I want to use the standard kernel GENERIC, thus I did: > > ./build.sh -U

Re: building a kernel "the old way"

2017-05-26 Thread Valery Ushakov
On Fri, May 26, 2017 at 11:11:21 +0200, Christian Groessler wrote: > Date: Fri, 26 May 2017 11:11:21 +0200 > From: Christian Groessler <ch...@groessler.org> > Subject: Re: building a kernel "the old way" > To: port-mac...@netbsd.org, current-users@netbsd.org > >

Re: building a kernel "the old way"

2017-05-24 Thread Valery Ushakov
On Thu, May 25, 2017 at 04:07:09 +0300, Valery Ushakov wrote: > Move your /etc/mk.conf out of the way temporarily. I suspect you > might be running into some obscure corner cases of objdir handling. [...] Alternatively, run (nb)make obj before running (nb)make dependall, since your m

Re: building a kernel "the old way"

2017-05-24 Thread Valery Ushakov
On Thu, May 25, 2017 at 03:14:10 +0200, Christian Groessler wrote: > On 05/25/17 01:25, Christian Groessler wrote: > > If you guys/gals run "config"/"nbconfig", do you have a lib/compat dir > > in the compile dir? > > Any input on that? Yes, there is such a directory. See my earlier replies

Re: building a kernel "the old way"

2017-05-24 Thread Valery Ushakov
On Thu, May 25, 2017 at 01:50:23 +0200, Christian Groessler wrote: > On 05/25/17 01:44, Robert Swindells wrote: > > Christian Groessler wrote: > > > I should have a complete source tree. 'build.sh', at least, was able to > > > build the whole system without errors. [...] >

Re: building a kernel "the old way"

2017-05-24 Thread Valery Ushakov
On Wed, May 24, 2017 at 16:59:58 +0200, Christian Groessler wrote: > with "old way" I mean not using build.sh. > > I ran: > > - > [muc-twinppc:/local/netbsd-src/src/sys/arch/macppc/conf]$ config GENERIC > Build directory is ../compile/GENERIC > Don't forget to run "make

Re: i386 on VirturalBox boot failed

2016-11-30 Thread Valery Ushakov
On Wed, Nov 30, 2016 at 13:34:16 +0300, Valery Ushakov wrote: > On Wed, Nov 30, 2016 at 04:58:40 +0300, Valery Ushakov wrote: > > > On Wed, Nov 30, 2016 at 08:53:02 +0900, Jun Ebihara wrote: > > > > > VirtualBox 5.0.30 on CentOS6.8: > > > > > > use

Re: i386 on VirturalBox boot failed

2016-11-29 Thread Valery Ushakov
On Wed, Nov 30, 2016 at 08:53:02 +0900, Jun Ebihara wrote: > VirtualBox 5.0.30 on CentOS6.8: > > use nyftp iso image: > > NetBSD 7.99.42 GENERIC.201611131540Z ... boot fine. > > dmesg: > https://github.com/ebijun/NetBSD/blob/master/dmesg/i386/VirtualBox > > NetBSD 7.99.42

Re: rasops15 byte order bug

2016-09-16 Thread Valery Ushakov
On Fri, Sep 16, 2016 at 13:05:16 -0400, Michael wrote: > On Fri, 16 Sep 2016 11:11:34 +0200 > Manuel Bouyer wrote: > > > On Wed, Sep 14, 2016 at 01:40:50PM -0700, scole_mail wrote: > > > Anyone using a 15/16 bit rasops console without issues? I think there is > > > a

Re: rasops15 byte order bug

2016-09-16 Thread Valery Ushakov
On Wed, Sep 14, 2016 at 13:40:50 -0700, scole_mail wrote: > Anyone using a 15/16 bit rasops console without issues? I think > there is a byte order error in rasops15.c Are you sure it's not the case of missing RI_BSWAP flag in your framebuffer attachment? -uwe

Re: Does wscons use compat syscalls to switch sessions

2015-10-18 Thread Valery Ushakov
? Shouldn't all "current" production code be > using "current" syscalls and/or ioctls? This might be (haven't looked) the same problem I complained about some time ago on tech-kern: http://mail-index.netbsd.org/tech-kern/2013/12/15/msg016327.html On Sun, Dec 15, 2013 at 15:35:01 +

Re: npf build break

2013-11-26 Thread Valery Ushakov
On Tue, Nov 26, 2013 at 16:16:22 +0100, Joerg Sonnenberger wrote: On Tue, Nov 26, 2013 at 06:25:25AM +0400, Valery Ushakov wrote: On Tue, Nov 26, 2013 at 00:25:55 +, Mindaugas Rasiukevicius wrote: Patrick Welche pr...@cam.ac.uk wrote: I'm seeing on -current/amd64 with gcc 4.5.4

Re: editors/Sigil vs. binutils-2.23

2013-10-12 Thread Valery Ushakov
On Sat, Oct 12, 2013 at 14:49:03 +0200, Thomas Klausner wrote: Linking CXX executable ../../bin/sigil ld: /scratch/editors/Sigil/work/.buildlink/qt4/lib/libQtCore.so: undefined reference to symbol 'pthread_cancel' ld: note: 'pthread_cancel' is defined in DSO /usr/lib/libpthread.so.1 so try

Re: Clue needed - failure trying to build from old sources

2013-10-10 Thread Valery Ushakov
On Wed, Oct 09, 2013 at 21:08:09 -0700, Paul Goyette wrote: I then attempt to run a 'build.sh build' using ./build.sh -T /build/test/tools/x86_64/amd64 \ -D /build/test/dest/amd64 \ -O /build/test/obj/amd64 \ -R /build/test/release \

Re: Clue needed - failure trying to build from old sources

2013-10-10 Thread Valery Ushakov
On Thu, Oct 10, 2013 at 05:27:56 -0700, Paul Goyette wrote: On Thu, 10 Oct 2013, Valery Ushakov wrote: On Wed, Oct 09, 2013 at 21:08:09 -0700, Paul Goyette wrote: /build/test/tools/x86_64/amd64/bin/x86_64--netbsd-gcc\ --sysroot=/build/test/dest/amd64 -o npfctl

Re: emacs-24.3: test request

2013-09-08 Thread Valery Ushakov
On Sun, Sep 08, 2013 at 10:13:13 +0100, Robert Swindells wrote: Thomas Klausner wrote: On Sun, Sep 08, 2013 at 11:59:51AM +0400, Valeriy E. Ushakov wrote: Haven't you or someone else complained about problems with emacs24 vs. environ a few months ago? This is still the same issue I've

Re: emacs-24.3: test request

2013-09-08 Thread Valery Ushakov
On Sun, Sep 08, 2013 at 14:23:47 +0400, Valery Ushakov wrote: On Sun, Sep 08, 2013 at 13:25:52 +0400, Valery Ushakov wrote: On Sun, Sep 08, 2013 at 10:13:13 +0100, Robert Swindells wrote: Thomas Klausner wrote: On Sun, Sep 08, 2013 at 11:59:51AM +0400, Valeriy E. Ushakov wrote

Re: emacs-24.3: test request

2013-09-08 Thread Valery Ushakov
On Sun, Sep 08, 2013 at 14:36:41 +0400, Valery Ushakov wrote: Date: Sun, 8 Sep 2013 14:36:41 +0400 From: Valery Ushakov u...@stderr.spb.ru To: Robert Swindells r...@fdy2.co.uk, w...@netbsd.org, pkgsrc-us...@netbsd.org, current-users@NetBSD.org Subject: Re: emacs-24.3: test request