On Tue, 28 May 2024, Riccardo Mottola wrote:
My first guess is that configure is re-run unneeded, leading thus to a major
recompile.
Any ideas?
You could make the 2nd & 3rd lines of configure this and confirm:
echo >&2 dying...
exit 1
-RVP
On Thu, 23 May 2024, e...@tilde.team wrote:
[ 301.7983080] waiting for devices: atabus1 atabus2 atabus3
viaide0 channel 1: reset failed for drive 0
In your BIOS, can switch the drive controller to `AHCI' instead of whatever
it is now (probably IDE)?
-RVP
t
works?
-RVP
(down)
move: -1 (down)
move: -1 (left)
move: -1 (down)
move: -1 (down)
move: 1 (up)
move: -1 (left)
move: -1 (left)
move: -1 (left)
move: -1 (left)
move: -1 (left)
move: -1 (left)
move: -1 (left)
```
-RVP
think.
-RVP
--- START mousetest.c ---
/**
* 64-bit systems: hexdump -e '24/1 "%02x " "\n"' /dev/wsmouseN
* 32-bit systems: hexdump -e '20/1 "%02x " "\n"' /dev/wsmouseN
*/
#include
#include
#include
#include
#include
#include
int
main(int argc, char*
esolution (presented by DRMKMS, I think--genfb
doesn't seem to have this issue) and the console ends up with less
than 80x25 cells:
https://mail-index.netbsd.org/netbsd-users/2024/05/10/msg031151.html
On Thu, 11 Apr 2024, Staffan Thomén wrote:
RVP wrote:
and the system will now use the larger
mping to
kernel" stage with a page fault. The GENERIC kernel works fine.
I can reproduce this on real HW too. The 9.4 KASLR kernel works with the
/prekern from 10.99.10; the 10.99.10 KASLR kernel fails to boot.
Looks like a regression. Please file a PR for this.
-RVP
2. Have you tried these same mice on an amd64 system?
3. Can you post the output of:
wsmuxctl -f 0 -l
then that of
wsconsctl -am -f /dev/wsmouseN
on the bluetooth mouse?
-RVP
s both motion and down-scroll buttons.
Can you also show the output of:
xinput list
and,
xinput list-props
-RVP
"EmulateWheel"' and/or `Option "EmulateWheelButton"'
is set if the input driver is "mouse"?
3. Run xev -event mouse > /tmp/xev.log, then a) first move the mouse only, then
b) use the scroll-wheel only? Post the xev.log file, too.
-RVP
.
I get 24 rows and 64 columns! Too low it seems. Do I need a different monitor?
In some cases, the kernel picks the wrong font size. Try a smaller one:
https://mail-index.netbsd.org/netbsd-users/2024/04/11/msg030909.html
-RVP
On Wed, 17 Apr 2024, Todd Gruhn wrote:
How do I put a graphic or wallpaper on there
when I start X11?
/usr/X11R7/bin/xsetwallpaper
Also:
https://mail-index.netbsd.org/tech-x11/2021/12/12/msg002259.html
-RVP
getty Pc" wsvt25 on secure
notice vt100 vs wsvt25?
Is this mis-behaviour seen always or only if you sudo?
https://mail-index.netbsd.org/pkgsrc-users/2024/03/23/msg039239.html
I see this only when using a recent sudo, and only on constty.
-RVP
why it's still needed on NetBSD and why both
XStringToKeysym("XF86LogGrabInfo")
and
XStringToKeysym("XF86_LogGrabInfo")
don't return the same keysym when they should--according to the comments.
They are equivalent on Linux and FreeBSD.
-RVP
can't find that file
in the tarballs in: https://www.x.org/releases/individual/lib/, but,
I didn't search very hard--you should ask on the tech-x11 ML.
-RVP
nt like this will do:
```
$ cat /etc/X11/xorg.conf.d/modesetting.conf
Section "Device"
Identifier "Card0"
Driver "modesetting"
Option "SWcursor" "on"
EndSection
$
```
-RVP
-driver, you can try:
Option "SWcursor" "on"
-RVP
user,
you can use mount_umap(8). But, this 1-to-1 remapping won't work
for pkgsrc, I think, where the installed files can have arbitrary users.
2. Extend secmodel_extensions(9) slightly so that you can do something
like:
```
# rvp & xyz are to
between various EUIDs and the saved-SUID? That's
pretty standard stuff, but, I don't know if it's been encapsulated
in any kind of utility.
-RVP
think:
xterm*faceName: Lucida Console Semi-Condensed
xterm*faceSize: 9
Use an instance-name, but, make it very general. Then `-fa something'
will override the above because it supplies the component which will
win over the *.
HTH,
-RVP
1905 +
+++ .Xresources 2024-01-05 07:51:36.842215151 +
@@ -1,4 +1,4 @@
-xterm.vt100.faceName: Lucida Console Semi-Condensed
-xterm.vt100.faceSize: 9
+XTerm.vt100.faceName: Lucida Console Semi-Condensed
+XTerm.vt100.faceSize: 9
XTerm.vt100.renderFont: false
UXTerm.vt100.renderFont:true
```
That should work.
-RVP
Make sure the PERFUSE_BUFSIZE is lowered for NTFS:
env PERFUSE_BUFSIZE=135168 ntfs-3g /dev/dk1 /mnt
```
-RVP
.
Since this is on Linux, you could try strace(1) or ltrace(1):
strace -rT -o /tmp/mlterm.log mlterm ...
Then, look at the 1st and last fields for anomalies (disregarding things
like read(), select(), poll()--which usually take some time to complete).
-RVP
same
place as the standard output.
Well, here the output of _all_ the scripts is a pipe, so nohup
doesn't redirect the output of your command into a nohup.out file
and here too it gets a SIGPIPE.
HTH,
-RVP
s?:
http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-10/latest/
Thank so much.
sorry, this one:
http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-10/202310051300Z/amd64/
Use the URL with `latest' in it.
-RVP
/laptops/ (section: Graphics)
Try the latest 10-BETA.
-RVP
/VideoAcceleration.html
-RVP
' (for legacy boot)
will work (on x86, at least).
Once the DRMKMS driver takes over, it will choose the highest resolution
supported by your HW. Here, you could try changing the resolution using
the DRM api: xsrc/external/mit/libdrm/dist/tests/modetest/ looks like a
promising subject to gut...
-RVP
HW-decoding on and off using Ctrl-H.
-RVP
-l output.
Do a `stat -x /dev/pts/...' and you should see a size of 0 for all of these.
-RVP
ch doesn't. Also try
out a bunch of IPv6 addresses in the range assigned to you, even
if they're not assigned to any of your machines. You should see
all of them on the gateway machine.
-RVP
hus, icmp packets received from lan side are sent to public interface,
but there is no answer.
Maybe it's an ISP issue? Can you ping your machines from the outside using, say,
an SDF.org account? Check if packets arrive on wm2 on legendre when you do
this.
-RVP
This value represents the type of curses we wish to use on the
# system. Setting this to "curses" means that the system curses
# implementation is fine.
#
# Possible: curses, ncurses, ncursesw, pdcurses
# Default: (depends)
```
So, if you use mk/curses.buildlink3.mk, one should set CURSES_DEFAULT=ncursesw
to compile with ncursesw.
-RVP
On Sun, 3 Sep 2023, Brook Milligan wrote:
Is there a reason not to commit this?
If the ARM gurus are OK with it, then please do.
-RVP
and pdcurses implement
both the termcap (tget*) and the terminfo (tiget*) functions.
If the only reason it is there is because the NetBSD curses requires it,
surely the curses buildlink file should be adding it, when it is
needed (and not otherwise).
Yes!
-RVP
{
/* sudo agetty 115200 ttyS4 */
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <_uart4_pins>;
};
```
No idea which is right (not an ARM-guy!). The folks on port-arm@ would know.
HTH,
-RVP
raised
by packages.
This is more a pkgsrc issue than a curses issue; and a PR was indeed filed...
-RVP
nk3.mk"
.endif
.include "../../mk/bsd.pkg.mk"
or whatever equivalent the in mk/termcap.buildlink3.mk since I see that
PDcurses also has terminfo functions built-in.
-RVP
this
thread):
https://mail-index.NetBSD.org/current-users/2023/04/16/msg043785.html
This _really_ ought to be fixed once and for all.
-RVP
also pull this out as a libtinfo{,w}.*)
I think what's happening here is some functions are being pulled from the
system libterminfo and others from the ncurses impl. resulting in a
half-initialized mish-mash in ncurses's data-structures.
-RVP
s asserted. Does Ctrl-C (or kill -9) end the program?
-RVP
a few myself.
-RVP
tion, right?
Not needed. You can just use a different directory on the System EFI partition.
But, I like to create an EFI partition for each of the different OSes that
are on the disk.
-RVP
", "/usr", etc.)
8. Choose "Partition sizes OK" when done.
Do the rest of the install as usual. After the install is finished, move the
sysinst-written \EFI\Boot\BOOT*.EFI files from the System EFI partition to
a) the NetBSD EFI partition, or b) a different dir. on the System EFI partn.
Then tell your BIOS where the NetBSD *.EFI files are to get a boot menu.
HTH,
-RVP
-average, the
process-display is more like a snapshot. Try reducing the sleep time to, say,
.1s or run a few `openssl speed' tests to see this.
-RVP
as important but I'm also confused by
why disabling ECHO on the parent stdin also disables it for the
pseudo-terminal.
It shouldn't--unless you've unset that bit on the master then copied
those settings over onto the child pty FD.
-RVP
:
mount -t ptyfs ptyfs /dev/pts
-RVP
On Fri, 14 Jul 2023, Todd Gruhn wrote:
Does not have BlueTooth. Do I need this? OR use the BlueTooth already in
computer??? (Another mouse)
Connect that Bluetooth-to-USB dongle to your computer and your mouse
should appear as a USB mouse.
-RVP
()
This looks like flaky hardware. Disabling the nouveau DRMKMS driver like the
previous user suggested should work here. At the bootloader prompt, you can
also do:
userconf disable nouveau*
boot
-RVP
On Mon, 26 Jun 2023, Todd Gruhn wrote:
Is there a way connect sound and F-key?
Each time I press on F-key , computer makes a sound.
In X, xbindkeys: https://pkgsrc.se/x11/xbindkeys
-RVP
On Sun, 4 Jun 2023, adr wrote:
has someone hacked ctwm to give focus to newly created windows,
like AutoFocusToTransients but for all windows?
I've some other patches for ctwm. Does "ClickToFocus" or "SloppyFocus"
work for you?
-RVP
the *right* way to do it, but, I didn't have the time to
wade through the USB specs. & NetBSD kernel docs. for the correct
solution. :)
HTH,
-RVP
PS. Happy to run commands/test patches/etc. if someone more
knowledgeable is willing to do a proper job of this.
Eg.:
export LANG=en_GB.UTF-8
export LC_CTYPE=$LANG
export LC_ALL=""
-RVP
is using or trying to use?
One method is to use fstat(1) when the video is being played (or even when
paused). One of the firefox processes should have /dev/audio opened:
```
$ for pid in $(pgrep -x /usr/pkg/lib/firefox/firefox) ;
do fstat -p $pid; done | fgrep audio
rvp firefox 6654
On Fri, 14 Apr 2023, Rocky Hotas wrote:
On apr 14 1:46, RVP wrote:
+section .note.netbsd.ident
+
+ dd 7; ELF_NOTE_NETBSD_NAMESZ
+ dd 4; ELF_NOTE_NETBSD_DESCSZ
+ dd 1; ELF_NOTE_TYPE_NETBSD_TAG
+ db 'NetBSD',0
+
+ dd 7; ELF_NOTE_NETBSD_NAMESZ
+ dd 4; ELF_NOTE_NETBSD_DESCSZ
+ dd 1; ELF_NOTE_TYPE_NETBSD_TAG
+ db 'NetBSD',0,'$' ; NetBSD string
+ dq 90300; NetBSD version 9.3.0
$
```
-RVP
it as it is in the SuSE Linux distribution, but,
combining `suse15_base' and `suse15_glibc-locale-base' also makes sense
as they're both base glibc packages. The folks on tech-pkg@ would know
better :)
-RVP
/usr/lib64
/emul/linux/usr/share
directories from the `suse_locale-13.1nb4.tgz' package?
Or, if that doesn't work (glibc is version 2.18 in the suse_base-13
package, and 2.31 in the suse_base-15 one), try copying those
dirs. from a system running glibc-2.31.
-RVP
PS. You could also see if your
On Mon, 27 Mar 2023, Mayuresh wrote:
It's vmware, I suppose:
Man-pages sometimes don't reflect what drivers actually do. Can
you check if the vmware driver is doing HW or SW cursor (you
will want a SW cursor):
$ fgrep -i cursor /var/log/Xorg.0.log
-RVP
On Sun, 26 Mar 2023, Mayuresh wrote:
On Fri, Mar 24, 2023 at 09:33:22PM +, RVP wrote:
Try toggling the "HWCursor" option. See:
No luck with that!
Not all X display drivers will have that option. The `vmware' driver does,
where it defaults to `off'. Which driver is Xorg using
ot; option.
Using native xorg.
[...]
However with "-vga vmware", the mouse pointer is not visible (although it
is visible if I use "-vga std").
[...]
Is there any way to diagnose / fix this?
Try toggling the "HWCursor" option. See:
https://man.netbsd.org/amd64/vmware.4
-RVP
On Mon, 23 Jan 2023, Valery Ushakov wrote:
Does screenblank(8) work? You can force the screen off imeediately
with
screenblank -b
and unblank with
screenblank -u
If you have DRMKMS enabled, then this actually works! The program is
completely new to me, so thanks Uwe!
-RVP
have?
-RVP
"medium" will give the same effect :-)
Great! That's something I didn't know. Thanks, Tom.
Cheers,
-RVP
that [...]
That's correct. But as r0ller had a UTF-8 locale set, I didn't mention that.
However, it is better to be precise, so thank you!
-RVP
for the `'
in `néz'.
-RVP
-# locale is en_GB.UTF-8 ie. UTF-8
6e c3 a9 7a |n..z|
0004
$ printf néz | iconv -f UTF-8 -t ISO-8859-1 | hexdump -C
6e e9 7a |n.z|
0003
$
```
-RVP
with UTF-8 input (or my converted UTF-8 input to match
the text encoding in magyar.fst)
c) text in magyar.fst was in UTF-8/Unicode (or, if another encoding, then
flookup did the conversion before doing the text lookup.)
b) and c) are educated guesses.
-RVP
[stem]+CON
néz +swConsonant+néz[stem]+CON+Nom
néz néz[stem]+Verb+IndefSg3
$ echo néz | /tmp/F/bin/flookup alice-master/hi_android/foma/magyar.fst
néz+?
$
```
-RVP
it in the `/etc/powerd/scripts/lid_switch' script.
-RVP
"AccelMethod" "none"' in the config. fragment I
sent you. Then see if modesetting(4) comes up. For the intel(4) driver,
try `Option "AccelMethod" "UXA"', or even `"none"' as a last resort. The
intelfb(4) manpage lists other options which you can turn off or disable
with the SNA or UXA accel-methods.
-RVP
/firmware/i915drmkms/i915/something.bin
$ cat /etc/X11/xorg.conf.d/modesetting.conf
# Depends on kernel DRM
#
Section "Device"
Identifier "Card0"
Driver "modesetting"
# Option "SWcursor" "on"
# Option "ShadowFB" "off"
# Option "AccelMethod" "none"
EndSection
$
-RVP
' {
gfxmode 1366x768
insmod part_gpt
insmod efi_gop
insmod gfxterm
set gfxpayload=keep
insmod ufs2
set root=(hd0,gpt10)
knetbsd /netbsd
boot
}
$ sudo update-grub
---
You may have load a different module for VESA, and change the resolution.
-RVP
a separate machine first to get the feel of
it, and then the process won't feel as scary.
-RVP
of section '.comment':
[ 0] GCC: (NetBSD nb2 20150115) 4.8.4
sysinst should've removed all these older versions when it upgraded the
system, but as none of the symlinks point to it, having it around it shouldn't
cause any problems.
-RVP
On Mon, 14 Nov 2022, RVP wrote:
On Mon, 14 Nov 2022, Mouse wrote:
My guess is that the buffer you're testing with is near the top of the
address space, within ~1GB of address 0x, and what you're
seeing is due to wraparound.
Thanks for that analysis--address-wrapping was my first
```
-RVP
, or b) by NetBSD-ARM just using the C version like the other
ports.
Thx,
-RVP
On Mon, 7 Nov 2022, RVP wrote:
I've not been able to reproduce this at all even with 3 servers (2
providers and 1 local [dovecot +COMPRESS]) on 9.3_STABLE/amd64.
OK. Once I had QEMU + NetBSD-ARMv7 running, it turned out to be an easy
issue to diagnose. Turn out, on ARM, strnlen(3) is written
it here) is
too short, then the threads will just repeatedly re-enter the kernel with
another syscall.
Attach GDB to one of the httpd processes and check what the
timespec/timeval values are.
-RVP
)
oom();
return ret;
@@ -388,6 +393,11 @@
{
char *ret;
+ if (sz == 0) { /* XXX: ape glibc behaviour */
+ if (mem)
+ free(mem);
+ return NULL;
+ }
if (!(ret = realloc( mem, sz )) && sz)
oom();
return ret;
---END---
-RVP
? Or is anyone
from you using mbsync/isync on netbsd?
Try compiling with `-fsanitize=address -g -O0'
-RVP
FreeBSD
successfully opens it with default settings.
Maybe the site doesn't like your User-Agent string (some sites are
confused by anything other than Windows, MacOS or Linux in them).
Fake a different one using a User-Agent Switcher extension from
https://addons.mozilla.org/
-RVP
apply it to the correct keyboard too...
-RVP
print msg | PROCS[proc]
}
{
s = $0
if (match(s, "<[[:digit:]]+>")) {
prio = getprio(s, RSTART, RLENGTH)
s = substr(s, RSTART + RLENGTH)
} else
prio = DEFPRIO
logit(prio, s)
}
END {
for (proc in PROCS)
close(PROCS[proc])
}
```
Input is of the form:
<134>message line...
as described in the Linux logger(1) man-page (if I've got it right).
-RVP
is 1970 + 8000 - 1940 leap days. Not an easily remembered date either
:)...
-RVP
[1]:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/kern_time.c.diff?r1=1.205=1.206_with_tag=MAIN
[2]:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/kern_time.c.diff?r1=1.97=1.98_with_tag=MAIN
* unreasonable system behaviour.
193 */
194 if (ts->tv_sec < 0 || ts->tv_sec > (1LL << 36))
195 return EINVAL;
And, `date 414708200732.17' == (1<<36) + 1 secs.
-RVP
nd that fails on NetBSD nowadays (see checks in kern/tty.c).
Anyway, since NetBSD csh is compiled with -DEDIT, try `set filec edit'.
Then, you can use libedit for standard Emacs-style of line-editing, and
tab for filename completion.
-RVP
iour looks like `-fno-common'.
To compile against a static readline library outside pkgsrc, add the
`-fcommon' flag to CFLAGS, or better yet, configure readline like:
$ CPPFLAGS=-DNEED_EXTERN_PC ./configure [...]
-RVP
On Mon, 5 Sep 2022, Dmitrii Postolov wrote:
Hi! RVP, thanks! Do you recommend that I send bugreport message to NetBSD or
Mozilla?
This looks like a NetBSD issue to me (Category "pkg").
-RVP
Here are the errors I get: http://bwass.org/bucket/err_csh.txt
A _very_ quick hack to compile NetBSD csh on FreeBSD is attached.
Linux would be slightly more complicated (you would need libbsd,
libedit, ...). It should get your started.
There are issues with cmdline editing--try completing
On Sun, 4 Sep 2022, RVP wrote:
You should file a PR for this. Non-English locales are a problem for FF's
_own_ UI elements [...]
Actually, it looks like only non-English _European_ locales (UTF-8) messes-up
FF's UI. Setting LANG to ja_JP.UTF-8, ko_KR.UTF-8 and zh_CN.UTF-8 seems to be
fine
tes don't know about NetBSD specs and try to
display mobile version of site.
Yeah, some sites have a problem with FreeBSD too. I use a User-Agent
Switcher extension for this.
-RVP
```
If someone thinks there can be interest in how I set dual booting,
chainloading NetBSD from GRUB2, and configuring the boot procedure, I
can write a mini-page about it.
Why not: It's not everyday that one sees examples of troubleshooting-by-
rebooting.
Cheers,
-RVP
On Fri, 19 Aug 2022, tlaro...@polynum.com wrote:
Le Thu, Aug 18, 2022 at 07:52:14PM +, RVP a écrit :
1. Can you post the dmesg from Linux?
You will find it at:
http://downloads.kergis.com/misc/rpt.dmesg
```
[0.744901] Loading compiled-in X.509 certificates
[0.772934] Loaded
writes out the
dmesg to /var/tmp/ b) replaces self with /sbin/init and c) reboots.
Then, you can mount the FFS partition in Debian and check the log file.
-RVP
PS. Can one dump the kernel message buffer to a raw disk partition? Does
NetBSD have such a facility? (I know that the Android Linux kernel can
do this.)
he support staff connect a monitor to the machine and take a
movie/picture of the screen?
-RVP
:
userconf=disable nouveau*
Radeon:
userconf=disable radeon*
-RVP
be noticed.
-RVP
On Tue, 16 Aug 2022, RVP wrote:
On Tue, 16 Aug 2022, Marc Baudoin wrote:
The following command-line:
echo 00:00: | grep -E '^([0]{2}[:-]){2}$'
doesn't print anything on NetBSD (9.3) but it prints 00:00: back
(as it should, unless I made a mistake in my regular expression):
- on NetBSD
1 - 100 of 290 matches
Mail list logo