Re: Exist operating systems that ship without blobs?

2016-02-23 Thread David Young
On Sun, Feb 21, 2016 at 09:25:52PM -0500, Thor Lancelot Simon wrote:
> On Fri, Feb 19, 2016 at 04:33:40PM -0600, David Young wrote:
> > 
> > BTW, I think a reasonable precaution to take with a lot of devices,
> > their firmware and drivers, open- or closed-source (but especially
> > closed source), is to put them under supervision of, say, an IOMMU.
> 
> It's reasonable, for sure, but it's not enough.  There are BSD derived
> operating systems out there which do this to complicate life for 
> malicious hot-plug PCIe devices.  Unfortunately, it doesn't really work,
> since you can always find some sensitive region that does have DMA enabled
> (if you get in early enough, the pages used for the disk transfers that
> bring in kernel modules, for example -- or libc) and scribble on it.

Not sure I follow.  You are talking about a malicious device that
performs bus-mastering accesses before the OS has initialized the IOMMU?

Dave

-- 
David Young
dyo...@pobox.comUrbana, IL(217) 721-9981


Re: non-ASCII support?

2016-02-23 Thread Petar Bogdanovic
On Wed, Feb 24, 2016 at 07:46:56AM +1100, Malcolm Herbert wrote:
> Folks - I use a combination of bash, screen, irssi (all on NetBSD) at   
> the remote end and putty (on Windows) or Terminal (on Ubuntu) at the
> local end and haven't been able to get utf-8 working end-to-end ... 
> 
> Are there tips or pointers on getting more-than-merely-ASCII working
> with this combination? Are there testing tools I can use to work out
> which bit might be dropping the ball?

I remember only setting LANG for screen and clearing TERMCAP for irssi,
the latter only being relevant for irssi-colors:

   irssi_su LANG=en_US.UTF-8 /usr/pkg/bin/screen -S irssi -d -m -e^Yy \
sh -c \"TERMCAP= exec /usr/pkg/bin/irssi --home=/data/irssi\"

   (irssi_su being something like `su irssi -c')


That's remote NetBSD-6 and local GNU/Linux.

Petar


Re: non-ASCII support?

2016-02-23 Thread matthew sporleder
On Tue, Feb 23, 2016 at 3:46 PM, Malcolm Herbert  wrote:
> Folks - I use a combination of bash, screen, irssi (all on NetBSD) at
> the remote end and putty (on Windows) or Terminal (on Ubuntu) at the
> local end and haven't been able to get utf-8 working end-to-end ...
>
> Are there tips or pointers on getting more-than-merely-ASCII working
> with this combination? Are there testing tools I can use to work out
> which bit might be dropping the ball?
>
> Given the world-wide nature of development on NetBSD, I don't believe
> it isn't supported, I'm very probably just not doing it right ... :)
>
> Regards,
> Malcolm
>
> --
> Malcolm Herbert
> m...@mjch.net


I recently got all of this working thanks to:
http://docs.perl6.org/language/unicode_entry

and settings in my terminal (osx)
advanced -> text encoding -> utf-8
my lang:
~ $ echo $LANG
en_US.UTF-8

(that's local and remote after ssh)


in screenrc:
defutf8 on
utf8 on

/SET term_charset utf-8 in irssi

start screen with -U

and now I can finally use perl6 characters in irc. «like this»


Aw: Re: ext2fs mount issue maybe just a temporary problem

2016-02-23 Thread Carsten Kunze
Swift Griggs  wrote:

> Just out of curiosity, since I also use ext2fs somewhat often, did you 
> create the file system with NetBSD or with Linux? I've noticed a lot more 
> problems when I create the file system under Linux.

I always created them on Linux since I did expect fewer problems then.  
Actually I never had problems beside severe performance issues.  But this may 
now have changed significantly because of disabling the atime update.

But thanks for the tip, I'll create them on NetBSD next time.  Maybe this also 
improves performance.

--Carsten


Re: Changing one's subscribed-from email address

2016-02-23 Thread Constantine A. Murenin
On 21 February 2016 at 14:32, Malcolm Herbert  wrote:
> On Mon, Feb 22, 2016, at 07:18, Petar Bogdanovic wrote:
>> You can "talk" to majord...@netbsd.org, i.e. send commands to majordomo
>> within the body of messages addressed to majord...@netbsd.org.
>>
>> Examples:
> :
>>
>> AFAIR, more than one command per message is allowed (subscribe!).
>
> yes, however you may need to perform the authorisation round-dance for
> each command, which may be a pain ... :)

just write a two-line perl script, then. :)

C.


Re: UMTS/LTE support

2016-02-23 Thread Pierre Pronchery
On 02/23/16 19:21, Frank Wille wrote:
> Pierre Pronchery wrote:
> 
>> Try to obtain more information about the card you can get:
>> - is it exposing a USB device? (my PCI express cards do)
>> - in turn, is it exposing a serial port?
> 
> Ok. Doing that is a lot of work, though.

Just googling and reading.

One example: http://www.thinkwiki.org/wiki/Wireless_WAN_Adapters

> Can you provide details about your working PCIe cards?

I have the Ericsson F3507g and the Sierra Wireless EM7345. Both work
well with NetBSD in my experience. I use both on ThinkPad laptops they
were intended for (X301 and T440s respectively). Even these laptops may
require a BIOS update to recognize them though.

HTH,
-- 
khorben




Unexpected error while trying to mount ext2fs

2016-02-23 Thread Carsten Kunze
Hello,

I have a USB flash drive with ext2fs as second and third MBR slice (no slice 1 
and 4 exists).  Slice 2 and 3 are mapped to partition sd0e and sd0f.  When I 
try to mount partition sd0e I get an unexpected error:

# disklabel sd0 
# /dev/rsd0d:
type: SCSI
disk: DataTraveler 2.0
label: fictitious
flags: removable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 255
sectors/cylinder: 8160
cylinders: 7531
total sectors: 61457664
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

6 partitions:
#sizeoffset fstype [fsize bsize cpg/sgs]
 d:  61457664 0 unused  0 0# (Cyl.  0 -   7531*)
 e:   9026816  52430848 Linux Ext2  0 0# (Cyl.   6425*-   7531*)
 f:  31457280  20973568 Linux Ext2  0 0# (Cyl.   2570*-   6425*)
disklabel: boot block size 0
disklabel: super block size 0

# mount /dev/sd0e /mnt/usb  
mount: no match for `sd0e': No such process

What does "no match" and "no such process" mean?  It did work when there had 
only been sd0e.  Now sd0f is added "below" (note the offset) sd0e.  Maybe this 
causes issues?

--Carsten


Re: UMTS/LTE support

2016-02-23 Thread Pierre Pronchery
On 02/21/16 14:27, Frank Wille wrote:
> I don't find much information about WWAN (UMTS, LTE) data card support in
> NetBSD. Do I have to be careful which one to select?

Try to obtain more information about the card you can get:
- is it exposing a USB device? (my PCI express cards do)
- in turn, is it exposing a serial port?

Reading through some (Linux) forums may help obtaining this information.

If the answer is yes for both questions, then it should work with
pppd(8) as usual. Then you may also find comms/deforaos-phone useful if
you need a GUI.

Otherwise, YMMV. Sometimes it's just a matter of registering a device in
the kernel; or it's a lot more work and a new driver is required.

HTH,
-- 
khorben



Re: Changing one's subscribed-from email address

2016-02-23 Thread Julian H. Stacey

"Thomas Mueller" wrote  Sat, 20 Feb 2016 19:12:40 +

> I am subscribed to several @netbsd.org emailing lists, and would like to 
> change my email address for all.
> 
> Do I have to unsubscribe from the old and subscribe to the new, one by one 
> for every individual list, or is there a way to change email address for all 
> subscribed lists en masse?
> 
> I looked through the website, it looks like I have to subscribe new address 
> and unsubscribe old address for every list of interest, one by one, or am I 
> missing something?
> 
> FreeBSD emailing lists have the facility for changing one's email address for 
> all lists of interest en masse, which I did about eleven hours ago.
> 
> I have problems with bounces relating to Yahoo/AT/Bellsouth server, and to 
> contact them I had to login with email and password, then go through a 
> CAPTCHA which at the latest update consisted of muddled letters swimming 
> around, or a muddled audio version, so I couldn't see or hear what was what.

A copy of man majordomo is here, & answers half your question:

http://www.berklix.org/help/majordomo/majordomo.txt

"Unsubscribe yourself (or address if specified) from the
named list.  If list  is ``*'' (an asterisk), unsubscribe
from all lists on this Major- domo server."

Cheers,
Julian
--
Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich http://berklix.eu/jhs/
 Mail plain text,  No quoted-printable, HTML, base64, MS.doc.
 Prefix old lines '> '  Reply below old, like play script.  Break lines by 80.