Re: libffi and 'rolling-replace'

2022-01-21 Thread scole_mail
If this is happening while updating gobject-introspection, here is one
possible way to workaround it:

https://mail-index.netbsd.org/pkgsrc-users/2022/01/15/msg035067.html

Thanks


Re: combining /var/mail files

2018-08-23 Thread scole_mail
Another utililty that can reformat mail, extract/rewrite headers, and do
other things with mail files is "formail" from pkgsrc/mail/procmail.

I find it useful from time to time, but it might be showing its age at
this point.


Re: Possible donation of Itanium servers

2018-08-07 Thread scole_mail
Julien Savard  writes:

> Hi,
> NetBSD has no (official) support for itanium yet. Don't know if it is because 
> of lack of hardware or interest. Nevertheless, that would be awesome if 
> someone can work on it.
>
> On Mon, Aug 6, 2018 at 10:22 AM Osipov, Michael  
> wrote:
>
>  Hi folks,
>
>  we have several Intel Itanium severs from HPE which we are going to 
>  replace by the end of this year. They are quite large (4U). We could 
>  donate them (after some internal clarifications) to the foundation. They 
>  must be picked up by someone in Berlin, Germany.
>
>  I did not contact the netbsd-ia64 mailing list because it seems to be dead.
>
>  Best regards,
>
>  Michael Osipov

Hello,
I've been working on itanium infrequently for awhile, albeit without a
lot of progress.

Anyone from NetBSD near Berlin willing to help save these machines?
Please contact me offlist.

Thanks
scole_m...@gmx.com


Re: NetBSD 7.1.1 cairo update issues

2018-03-21 Thread scole_mail
Riccardo Mottola  writes:

>
> Where is the issue?
>

There is an unresolved PR for this http://gnats.netbsd.org/53099

I'm guessing you can see what the problem is in "config.log".  Disabling
the options dri and llvm allowed it to build for me.

Thanks


Re: Unable to join open WEP wireless network

2018-02-02 Thread scole_mail
I'm not sure if you have a similar set up, but thought I'd share this
since it took me awhile to figure out.  This configuration worked for me
when trying to use a password-less wifi with an athn device.  I changed
athn0 to iwi0 below...

In /etc/rc.conf:
 dhcpcd=YES
 dhcpcd_flags="-g -4 -q -b -n iwi0"
 wpa_supplicant=YES
 wpa_supplicant_flags="-i iwi0 -c /etc/wpa_supplicant.conf"

In /etc/wpa_supplicant.conf:
 ctrl_interface=/var/run/wpa_supplicant/
 
 network={
scan_ssid=1
ssid="ks-guest"
# or try this instead of ssid=,
# I think the capital letters are required 
#bssid=10:BD:18:F0:26:F2
key_mgmt=NONE
}


and then running
 > /etc/rc.d/wpa_supplicant restart
 > /etc/rc.d/dhcpcd restart

I had a lot of trouble trying to backquote network names with
parentheses or quotes in the ssid field so I used the bssid instead.
I'm not sure if "-" will have the same issues.

Good luck


Re: Installing FF 52 from pkgsrc: "stable" version instead of nightly

2017-03-13 Thread scole_mail
"J. Lewis Muir"  writes:
>
> Do you actually use that version for everyday use?  According to [1],
> there are many security vulnerabilities that have been fixed since
> Firefox 47, and I would bet many of those vulnerabilities exist in
> Firefox 47.  That's OK to you?
>

Yes, I use it everyday.  It's not ok to me, but I realize the security
risk and feel there aren't other good browser options.

I also realize NetBSD is a volunteer project, and I'm not trying to
denigrate anyone, but there are lots of other vulnerabilities in stable
pkgsrc now.

At the moment, I've got about ~270 packages installed with about 100
different vulnerabilities, so having a few for a working firefox doesn't
seem like a big deal.

Kind Regards


>lintpkgsrc  -i 
Scan Makefiles: ..
Bogus: ${DISTNAME:tl:S/_pl//}-0.1 (from 
/usr/pkgsrc/devel/calltree-perl/Makefile)

Bogus: ${KBUILDNAME:tl}-0.1.9998.8.2814.25 (from 
/usr/pkgsrc/devel/kbuild/Makefile)
14960 packages
Version mismatch: 'firefox' 47.0.1 vs 50.1.0


Installed vulnerable packages:
Package jpeg-9b has a multiple-vulnerabilities vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-3616
Package jasper-1.900.29nb1 has a unspecified vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9560
Package jasper-1.900.29nb1 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5498
Package jasper-1.900.29nb1 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5499
Package jasper-1.900.29nb1 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5500
Package jasper-1.900.29nb1 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5501
Package jasper-1.900.29nb1 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5502
Package jasper-1.900.29nb1 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5503
Package jasper-1.900.29nb1 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5504
Package openjpeg-2.1.2 has a null-pointer-bug vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9114
Package openjpeg-2.1.2 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9117
Package openjpeg-2.1.2 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9115
Package openjpeg-2.1.2 has a buffer-overflow vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9118
Package openjpeg-2.1.2 has a null-pointer-bug vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9113
Package openjpeg-2.1.2 has a null-pointer-bug vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9116
Package openjpeg-2.1.2 has a floating-point-exception vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9112
Package libarchive-3.2.1nb2 has a denial-of-service vulnerability, see 
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5601
Package libarchive-3.2.1nb2 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-8689
Package libarchive-3.2.1nb2 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-8687
Package libarchive-3.2.1nb2 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-8688
Package pcre-8.39 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-6004
Package policykit-0.9nb20 has a integer-overflow vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-4625
Package policykit-0.9nb20 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-3218
Package policykit-0.9nb20 has a privilege-escalation vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-3255
Package policykit-0.9nb20 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-3256
Package zziplib-0.13.59 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5974
Package zziplib-0.13.59 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5975
Package zziplib-0.13.59 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5976
Package zziplib-0.13.59 has a denial-of-service vulnerability, see 
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5977
Package zziplib-0.13.59 has a denial-of-service 

Re: Installing FF 52 from pkgsrc: "stable" version instead of nightly

2017-03-11 Thread scole_mail
Marco Beishuizen  writes:
>
> It's on NetBSD/i386 7.0.2.

I guess I've also been having that same issue on i386 for awhile.  The
last stable version that worked for me was firefox-47.0.1 which was in
pkgsrc-2016Q2 I believe.  So I've been using that version.

I think these are the commands I used to roll back to that version and
rebuild it with pkgsrc=pkgsrc-2016Q4, and firefox=pkgsrc-2016Q2

 cd .../pkgsrc/www/firefox
 cvs -q update -dP -r pkgsrc-2016Q2
 bmake install
 bmake clean
 # revert sources back to pkgsrc-2016Q4
 cvs -q update -dP -r pkgsrc-2016Q4

I don't know if this method will work if you are using current pkgsrc.

Thanks


Re: Best way to receive netbsd.org list messages?

2017-02-09 Thread scole_mail
"Thomas Mueller"  writes:
>
> from Dave Huang:
> 
>> Gnus can do NNTP access very well.
>
> That unfortunately requires Emacs, which I found too difficult; I tried in 
> both Linux and DOS.
>
> I find vi easier, and good even without a graphic interface.
>

I also use gnus with NNTP gmane, and haven't had any problems.  But I
have to admit the setup and learning curve is really steep.

If you are still searching for a NNTP newsreader, you might try
pkgsrc/news/pan.  It is an easy to use GUI and still pretty powerful.


Re: modules tutorial

2016-09-15 Thread scole_mail
Leonardo Taccari  writes:

> Hello Jan!
>
> Jan Danielsson writes:
>> [...] 
>>Is there something like
>> http://www.tldp.org/LDP/lkmpg/2.4/html/c147.htm but for NetBSD?
>> [...] 
> `src/sys/modules/examples/' is probably what you're looking for!
>
> HTH!

Here is another, don't know how accurate or up-to-date it is
 http://www.home.unix-ag.org/bmeurer/NetBSD/howto-lkm.html


named time-out errors

2016-03-24 Thread scole_mail
I've been running my own forwarding bind server for awhile, and after
updating my i386 7.0 machine about 2 weeks ago I started get named
errors like

24-Mar-2016 09:58:50.695 client 0xb992b800 (svn.freebsd.org): query_find: 
unexpected error after resuming: timed out
24-Mar-2016 09:58:50.695 client 0xba055800 (svn.freebsd.org): query_find: 
unexpected error after resuming: timed out
24-Mar-2016 09:59:38.533 client 0xba055800 (svn.freebsd.org): query_find: 
unexpected error after resuming: timed out
24-Mar-2016 10:01:36.877 client 0xb992b800 (mail-index.netbsd.org): query_find: 
unexpected error after resuming: timed out
24-Mar-2016 10:02:10.022 client 0xb980b800 (mhonarc.org): query_find: 
unexpected error after resuming: timed out
24-Mar-2016 10:03:28.970 client 0xb980b800 (www.netbsd.org): query_find: 
unexpected error after resuming: timed out

I noticed because name lookups were sometimes slow or failing, but most
of the time things work fine.

BIND apparently had been updated to 9.10.3-P4 recently.  I didn't
change anything in named.conf, but maybe I should.  Anyone have any
suggestions what to look at?

Thanks



Re: /netbsd: wd0a: error reading fsbn?

2016-01-08 Thread scole_mail
I tried with skip= and not seek= and didn't get any kernel messages.
Just for my own peace of mind, I'll be swapping this disk out soon.

Thanks everyone for the information.


Re: /netbsd: wd0a: error reading fsbn?

2016-01-07 Thread scole_mail
I think I should amend my previous reply:

dd if=/dev/rwd0d seek=3522687 count=1 of=foo

didn't generate any kernel messagese, but the file generated looks very
suspicious:

dstar# dd if=/dev/rwd0d seek=3522687 count=1 of=foo
1+0 records in
1+0 records out
512 bytes transferred in 0.001 secs (512000 bytes/sec)
dstar# /bin/ls -l foo 
-rw-r--r--  1 root  users  1803616256 Jan  7 15:20 foo
dstar# du -hs foo 
96K foo

which I guess is more evidence of the disk going bad.

Thanks


/netbsd: wd0a: error reading fsbn?

2016-01-07 Thread scole_mail
While copying some files between disks I got these errors:

/netbsd: wd0a: error reading fsbn 3522624 of 3522624-3522751 (wd0 bn 3522687; 
cn 3494 tn 11 sn 42), retrying
/netbsd: wd0: (uncorrectable data error)
/netbsd: wd0a: error reading fsbn 3522624 of 3522624-3522751 (wd0 bn 3522687; 
cn 3494 tn 11 sn 42), retrying
/netbsd: wd0: (uncorrectable data error)
/netbsd: wd0: soft error (corrected)

and I retried to copy same files

/netbsd: wd0a: error reading fsbn 3522624 of 3522624-3522751 (wd0 bn 3522687; 
cn 3494 tn 11 sn 42), retrying
/netbsd: wd0: (uncorrectable data error)
/netbsd: wd0a: error reading fsbn 3522624 of 3522624-3522751 (wd0 bn 3522687; 
cn 3494 tn 11 sn 42), retrying
/netbsd: wd0: (uncorrectable data error)
/netbsd: wd0a: error reading fsbn 3522624 of 3522624-3522751 (wd0 bn 3522687; 
cn 3494 tn 11 sn 42), retrying
/netbsd: wd0: (uncorrectable data error)
/netbsd: wd0a: error reading fsbn 3522624 of 3522624-3522751 (wd0 bn 3522687; 
cn 3494 tn 11 sn 42), retrying
/netbsd: wd0: (uncorrectable data error)
/netbsd: wd0a: error reading fsbn 3522624 of 3522624-3522751 (wd0 bn 3522687; 
cn 3494 tn 11 sn 42), retrying
/netbsd: wd0: (uncorrectable data error)
/netbsd: wd0a: error reading fsbn 3522624 of 3522624-3522751 (wd0 bn 3522687; 
cn 3494 tn 11 sn 42)
/netbsd: wd0: (uncorrectable data error)

What does it mean and what corrective action should I take if
any?  Is the disk going bad or file(s) corrupted or what?  I 
was copying some large .tgz as well as normal directories of files.

Thanks