Panic when trying to boot 10.0_RC3 on a Dell Precision 3660

2024-01-31 Thread Silas
Hi! there. Just tried to boot NetBSD 10.0_RC3 on a Dell Precision 3660 workstation from amd64 ISO image burned in a DVD-RW. Got the following panic error (transcribed - so there can be errors): boot device: root device: panic: usbd_transfer: not done cpu0: Begin

Possible causes for "Resource temporarily unavailable"?

2022-11-30 Thread Silas
Hello. I'm running some small number of NVMM virtual machines. Sometimes one of them just get killed with: qemu: qemu_thread_create: Resource temporarily unavailable dmesg shows: pid 4381 (qemu-system-x86_): user write of 3221100864@0x76db1c5ce000 at 5314544 failed: 27

Re: Program segfaults if compiled with -pg and linked to shared library

2021-03-04 Thread Silas
On Thu, Mar 04, 2021 at 09:59:39AM +, RVP wrote: That should've read "no profiling data _on external calls_". Because, clearly, internal calls in the source are being profiled. Maybe this way of profiling fits the OP's needs? It does. Thanks! I opened a PR (56031) about this because, if

Re: Program segfaults if compiled with -pg and linked to shared library

2021-03-02 Thread Silas
On Mon, Mar 01, 2021 at 10:42:56AM +1100, MJ wrote: On 1/03/2021 10:35 am, RVP wrote: On FreeBSD-12.2 and OpenBSD-6.8 (both having Clang 10.0.1 as the native compiler), the program segfaults even when not linked with any external shared libs. It looks like profiling on the *BSDs needs static

Program segfaults if compiled with -pg and linked to shared library

2021-02-28 Thread Silas
Hello. Given this program: #include int main(int argc, char *argv[]) { printf("Hello world\n"); return 0; } I'm trying to profile it: $ gcc -g -pg -Wl,-R/usr/lib -L/usr/lib -lcurses -o prog prog.c ld: /usr/lib/libc.so.12: warning: warning: __findenv is an

Re: Unicode to ASCII

2021-02-20 Thread Silas
On Fri, Feb 19, 2021 at 08:08:25PM -0700, Bob Proulx wrote: I'll be honest and say I did not look but on another system I am using "iconv" for this type of thing routinely. I will cross my fingers and hope it is available in pkgsrc. iconv -f UTF-8 -t ASCII//TRANSLIT fileout It seems it is

Re: postfix for 2 domains on 1 vps 1 ip

2021-01-05 Thread Silas
On Fri, Jan 01, 2021 at 04:50:16PM -0700, Bob Proulx wrote: SPF identifies authorized IP addresses for domains in the message envelope. Therefore the reverse DNS pointer record does not matter in this. The hostname does not matter. Only the IP address as indicated through a DNS response.

Re: X server crashes after updating from 7.1 to 8.2

2020-08-06 Thread Silas
On Thu, Aug 06, 2020 at 09:12:23PM +0200, r0ller wrote: I also had similar experience with i915 drmkms so I ended up generating an xorg.conf and added the option AccelMethod in the device section like this which solved the issue: Option    "AccelMethod"    "uxa" This indeed helped me a lot!

X server crashes after updating from 7.1 to 8.2

2020-08-04 Thread Silas
Randomly, my X server crashes with apparent no reason. Most of the times, it happens when firefox tries to play a multimedia file, but it also happens randomly like when selecting a text on a PDF file (using evince3) or resizing a windows (I'm using i3 window manager). On NetBSD 7.1, I got

Re: postfix different behavior for mail command and python smtplib

2020-07-05 Thread Silas
On Mon, Jul 06, 2020 at 12:39:17AM +0530, Mayuresh wrote: From postfix logs the difference between both scenarios is: the mails generated by mail command are picked up by the `pickup' daemon while those sent using python library are picked up directly by smtpd. Not a Postfix specialist here,

Re: Java for NetBSD

2020-04-05 Thread Silas
Hi! On Sun, Apr 05, 2020 at 02:42:43PM +0300, John m0t wrote: Under sh shell {./java} command will return *not found* and under bash shell I get *no such file or directory*. the said file is executable. the {ls} command on that directory shows the java file. Could someone tell my why? If

Re: Setting up postfix

2019-01-17 Thread Silas
On Thu, Jan 17, 2019 at 05:50:58PM +0100, Csányi Pál wrote: I'm using Gmail and I set my box for POP3, but not for IMAP. BTW, mutt recently added support for SMTP and IMAP (I don't know about POP3) out of the box, so you don't need external programs like msmtp or isync. Open the manual

Re: Mailing list manager on NetBSD

2019-01-17 Thread Silas
On Wed, Jan 16, 2019 at 07:09:56AM +0530, Mayuresh wrote: Since your friend runs multiple lists, may be he has been able to put such restriction. Please do share if you can. I talked to him. He let it be clear that it is a [ugly?] workaround. Actually, he wanted to use a mailing list

Re: Setting up postfix

2019-01-17 Thread Silas
On Wed, Jan 16, 2019 at 07:47:28PM +0100, Csányi Pál wrote: I am following https://www.netbsd.org/docs/guide/en/chap-mail.html chapter to set up mail on my old laptop. Hi! I believe you just want to send and receive e-mails from your mail server, don't you? If so, I recommend installing a

Re: Mailing list manager on NetBSD

2019-01-15 Thread Silas
On Sat, Jan 12, 2019 at 11:53:18AM +0530, Mayuresh wrote: For a nearly static mailing list using postfix aliases is looking quite economical, presumably it would have the smallest footprint as MTA itself is doing the core job. This is interesting. A friend of mine works for a university and

The simple algorithm on rand(3)

2016-08-10 Thread Silas Silva
to use random(3) instead? Thanks. -- Silas

Behaviour in shell script with job control enabled

2016-07-06 Thread Silas Silva
n bash, output is: no no Using NetBSD 7.0. Why enabling (or not) job control (-m) should change the script behaviour? Thanks. -- Silas