Re: 64 Queue Sizes in OpenBSD 5.8

2015-08-15 Thread Peter N. M. Hansteen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/12/15 10:17, Andy Lemin wrote:
 Hi,
 
 Is their any news whether we'll have 64bit PF queue sizes soon?
 
 Our link between our Primary and DR DCs needs more than 4.2Gbps,
 but we cannot shape traffic above this due to the 32bit queues.

Which version are you running now?

Peeking at /usr/src/sys/net/hfsc.{c,h} appears to indcate that hfsc
(which is what the 5.5 and later queues uses) has 64 bit values where
it counts.

- - Peter

- -- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
iQIcBAEBAgAGBQJVzwqRAAoJELJiGF9h4DyeH2EP/03hC+KLr5x3kLfbK1o9QpqY
ISDHd0OPFTRkC9zxzPqOllKF2uTQoS0l7M6uXI+Uta700zj1OmTVOU8rB6NtXpin
zO0OX+Adv0x/F6iWlAX4mOcM1mrd0Pj75ONw3OuqNXYwNSk4jo71mYPotprUux+z
HwYVkR/p5AOJ9Z5aYBWLfmy7aAVyTX8s8KvWZpiTOcJoSDNgdBeaSD+5N1mpMG7P
qVzwEkPsDWUl84alb7zyIYhoZ3kDoWUgnacD3/vauOdWhZTGUNg/w7LA7siM53vf
+/ubJFEmV4eST+oV0901pnxQAEs8RnNaoc2+zSCWV6+In4v4BOut7aD7g9y5it8x
3G5nSG7FwMSMxoOoEC5o+NMeTE1fUk7CaolY7ShhbMRFPiSXGsaZEVbFdFsd8XBV
qAE83rTTGMl47DIzyi+zT0m0qxezSaExpJEEIgpGnA5xevQJGVGAsKkwVyfpDxVV
q1AQzJTvvy+fLphVJJCcSQLaJtnYpLEIjkvDWiG0O9qPSVwvD5fWdXFDkBwyMP+Q
gkYbjHYgwD9EP5jlg/tyPGf80i38nP/J9uS8IJZROTp5pOWXvh5cD3rOzMg6nP/0
oxLmqcY0Fd1NHoDa8157/Ax73NbqC7vVsAWremPX7pRyT09ux8/hyRAlRITcURHn
SnjWPPze6Oe3UyVG38tQ
=VSqK
-END PGP SIGNATURE-



Schenker S405 experience

2015-08-15 Thread Thomas Bohl
TL;DR: dmesg at the bottom. The machine works great. Thank you developers.


Hello,

I thought sharing a few data of my new laptop Schenker S405 could
interest someone.

OpenBSD 5.8 (GENERIC.MP) #1235: Mon Aug 10 06:54:34 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP


BIOS:
UEFI can be and was disabled by default. Bought the system without OS
though. PXE boot works. Used it for the installation.


ACPI:
Closing the lid sets the system to sleep. Opening the lid will wake the
system up. The monitor will not come back on at first. You have to
switch terminals. But that works reliable.


Touchpad:
Must be touched when the bootloader comes up. Otherwise it will not be
recognized and will send arbitrary characters upon touching or clicking.


Sound:
In and out just works.


SD-Card reader:
Just works.


Ethernet:
Just works.


WLAN:
Pre install options were Intel Wireless-AC 3160 or 7260. So I ordered
without WLAN and bought a Ralink RT3090 (SilverStone ECW01) separately.
Works perfectly.


Fn-Keys:
What works out of the box:
  Sound controls
  Touchpad on/off
  Monitor off
  Webcam on/off
  Suspend
  Play/Pause
What doesn't:
  Monitor brightness
  (pictogram of a plain) WLAN on/off
  Switch monitor


USB 3.0 Ports:
I only have USB 2.0 devices. They all work except for a Samsung SE-506
portable Blu-ray writer. When plugged in directly:
uhub0: device problem, disabling port 1

It works when plugged in over a self-powered hub:
umass1 at uhub3
  port 1 configuration 1 interface 0 MediaTek Inc MT1956 rev 2.00/0.00
addr 11
umass1: using ATAPI over Bulk-Only
scsibus5 at umass1: 2 targets, initiator 0
cd0 at scsibus5 targ 1 lun 0: TSSTcorp, BDDVDW SE-506CB, TS02 ATAPI
5/cdrom removable

So I assume a power issue.


Video playback:
Not accelerated at the moment but ok to watch in sort bursts. Nothing
for a whole movie. Can't really describe what I see. It looks smooth and
flickering at the same time. (Like not all parts of a picture are
updated a the same time.)
Only on videos with 3840x2160 you need to add -framedrop to mplayer or
the video will start to lack behind the audio.


Webcam:
'mplayer tv://' only returns a green screen:
MPlayer SVN-r37396 (C) 2000-2015 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: v4l2
  name: Video 4 Linux 2 input
  author: Martin Olschewski olschew...@zpr.uni-koeln.de
  comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl,
VIDIOC_G_PARM was used instead.
Selected device: Generic USB video class device
  Capabilities:  video capture  read/write  streaming
  supported norms:
  inputs: 0 = Camera Terminal;
  Current input: 0
  Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Inappropriate ioctl for device
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl streamon failed: Invalid argument
[VO_XV] It seems there is no Xvideo support for your video card
available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
==
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x10208b8b4000] bicubic scaler, from yuyv422 to bgra using
MMXEXT
VO: [x11] 640x480 = 640x480 BGRA
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==
Audio: no sound
Starting playback...
V:   0.0   2/  2 ??% ??% ??,?% 0 0
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.


# sysctl hw
hw.machine=amd64
hw.model=Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:3da24752d515020e
hw.diskcount=1
hw.sensors.cpu0.temp0=46.00 degC
hw.sensors.acpitz0.temp0=12.00 degC (zone temperature)
hw.sensors.acpitz1.temp0=27.80 degC (zone temperature)
hw.sensors.acpitz2.temp0=29.80 degC (zone temperature)
hw.sensors.acpibtn2.indicator0=On (lid open)
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpibat0.volt0=15.12 VDC (voltage)
hw.sensors.acpibat0.volt1=17.09 VDC (current voltage)
hw.sensors.acpibat0.current0=0.00 A (rate)
hw.sensors.acpibat0.amphour0=2.95 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.29 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.00 Ah (low capacity)
hw.sensors.acpibat0.amphour3=2.95 Ah (remaining capacity), OK
hw.sensors.acpibat0.amphour4=2.95 Ah (design capacity)
hw.sensors.acpibat0.raw0=0 

Re: Schenker S405 experience

2015-08-15 Thread Stefan Sperling
On Sat, Aug 15, 2015 at 05:53:14PM +0200, Thomas Bohl wrote:
 WLAN:
 Pre install options were Intel Wireless-AC 3160 or 7260. So I ordered
 without WLAN and bought a Ralink RT3090 (SilverStone ECW01) separately.
 Works perfectly.

Water under the bridge now, but these intel cards are supported
by iwm(4) so you could have just ordered with the wifi option.

Anyway, thanks for sharing all these details.



doas ticket workaround

2015-08-15 Thread Ted Unangst
for those of you missing sudo's ability to remember your password for repeated
invocations, a sneaky workaround...

create a new user _doas. make a doas.conf like the following.

permit :wheel as _doas cmd ksh
permit nopass _doas

If you need to run multiple commands, start a shell as this new _doas user.
Then run whatever you like, using doas. The _doas user doesn't actually have
any privileges, so this isn't like running ksh as root. They still run
everything through doas, so it gets logged, etc. When you're done, logout and
you're back to typing your password.

(I was working on a small diff to let doas do this for you when I realized I
think all the pieces are already in place.)



NSA transition to quantum resistant algorithms

2015-08-15 Thread Devin Reade
Interesting background info, including recommended minimum key sizes during the 
interim:

http://m.nsa.gov/ia/programs/suiteb_cryptography/index.shtml