Re: SOHO IPv6 router problems

2015-07-02 Thread Stefan Sperling
On Wed, Jul 01, 2015 at 11:57:01PM +0200, Patrik Lundin wrote:
 ff02::/16  ::1UGRS   
 00 32768 8 lo0  
 ff02::%em0/32  fe80::d250:99ff:fe51:78e8%em0  UC 
 10 - 4 em0  
 ff02::1:2%em0  link#1 UHLc   
 02 - 4 em0  
 ff02::%em1/32  fe80::d250:99ff:fe51:78e9%em1  UC 
 00 - 4 em1  
 ff02::%lo0/32  ::1UC 
 00 32768 4 lo0  

 nd6_ns_input: NS packet from non-neighbor
 nd6_ns_input: src=:XXX::a01:30c1:d3d7:a677:d09e
 nd6_ns_input: dst=ff02:2::1:ff51:78e9
 nd6_ns_input: tgt=fe80::d250:99ff:fe51:78e9

Your windows box is trying to reach address ff02:2::1:ff51:78e9, a mix of
'all routers' ff02::2 and em1's link local address.
But there is no address in the ff02::/32 prefix on em1 for some reason.
Note that em0 does have an address in this prefix: ff02::1:2%em0



Re: iked x509 negotiation problem with BlackBerry OS 10.3.1

2015-07-02 Thread Denis Lapshin

Can it be MTU problem?

On 02.07.2015 11:51, Denis Lapshin wrote:

Hi,
Have working setup with OpenIKEd and Win7 machine in part of IPsec 
link negotiating by using IKEv2 and MSCHAP-v2. Using certificate and 
2048 key in *.P12 form.


10.0.20.0/24 is local network
10.0.10.0/24 is IPsec network
DNS server is 10.0.20.1

/etc/iked.conf is:

ikev2 winauth passive esp \
from 10.0.20.0/24 to 10.0.10.0/24 \
local IP_of_server peer any \
srcid myserver.domain \
eap mschap-v2 \
config address 10.0.10.10 \
config netmask 255.255.255.0 \
config name-server 10.0.20.1 \
#   ikesa auth hmac-sha1 enc 3des group modp2048 \
#   childsa auth hmac-sha1 enc aes-256 group modp2048 \
tag $name-$id

The server machine has working PF with some rules to allow traffic 
over ports {isakmp, ipsec-nat-t} and both protos {ah, esp}.
While IPsec between Win7 and server has established, can ping DNS 
server only. No other traffic can pass in this stage of setup 
encrypted connection.


But my question is below and about connection setup between BB OS 
10.3.1 and iked only.


Trying to do the same setup with BlackBerry 10.3.1 OS using the same 
/etc/iked.conf just another user certificate and 2048 key in *.P12 
(*.PFX) form have been imported into BB phone and installed in phone's 
Certificate storage. All seems to be going fine since than but no.


The Profile to make IPsec VPN on BB phone is:
---
Server address: IP_of_server
Gateway type: Generic IKEv2 VPN Server (tried Microsoft IKEv2 VPN 
Server, but unsuccessful too)

Auth Type: EAP-MSCHAPv2
Authentication ID Type: FQDN
Auth ID: myserver.domain
MSCHAPv2 EAP Identity: username
MSCHAPv2 EAP Identity: username
MSCHAPv2 Password: userpass
Gateway Auth Type: PKI
Gateway Auth ID Type: FQDN
Gateway Auth ID: myserver.domain
Allow Untrusted Cert: Prompt
Gateway CA Cert: CAmyserver.domain.name
Perfect Forward Secrecy: set_to_YES
Auto IP: set_to_YES
Auto DNS: set_to_YES
Auto Determine Algorithm: set_to_YES

IKE lifetime in Sec.: 86400
IPSec Lifetime: 10800
NAT Keep Alive: 30
DPD Frequency: 240

Use Proxy: set_to_NO
-

Once trying to connect to server with running iked -dvv options using 
BB phone - the result from iked:

...
ikev2_pld_payloads: payload SK nextpayload IDi critical 0x00 length 272
ikev2_msg_decrypt: IV length 16
ikev2_msg_decrypt: encrypted payload length 240
ikev2_msg_decrypt: integrity checksum length 12
ikev2_msg_decrypt: integrity check succeeded
ikev2_msg_decrypt: decrypted payload length 240/240 padding 15
ikev2_pld_payloads: decrypted payload IDi nextpayload CERTREQ critical 
0x00 length 19

ikev2_pld_id: id FQDN/myserver.domain length 15
ikev2_pld_payloads: decrypted payload CERTREQ nextpayload CP critical 
0x00 length 5

ikev2_pld_certreq: type X509_CERT signatures length 0
ikev2_pld_certreq: invalid certificate request
ikev2_resp_recv: failed to parse message

The same connection works fine between Win7 and iked. Log of iked is 
below:

...
ikev2_msg_decrypt: encrypted payload length 160
ikev2_msg_decrypt: integrity checksum length 12
ikev2_msg_decrypt: integrity check succeeded
ikev2_msg_decrypt: decrypted payload length 160/160 padding 7
ikev2_pld_payloads: decrypted payload AUTH nextpayload CP critical 
0x00 length 28

ikev2_pld_auth: method SHARED_KEY_MIC length 20
ikev2_pld_payloads: decrypted payload CP nextpayload SA critical 0x00 
length 32

ikev2_pld_cp: type REPLY length 24
ikev2_pld_cp: INTERNAL_IP4_ADDRESS 0x0001 length 4
ikev2_pld_cp: INTERNAL_IP4_NETMASK 0x0002 length 4
ikev2_pld_cp: INTERNAL_IP4_DNS 0x0003 length 4
ikev2_pld_payloads: decrypted payload SA nextpayload TSi critical 0x00 
length 44
ikev2_pld_sa: more 0 reserved 0 length 40 proposal #1 protoid ESP 
spisize 4 xforms 3 spi 0x84ea51d8

ikev2_pld_xform: more 3 reserved 0 length 12 type ENCR id AES_CBC
ikev2_pld_attr: attribute type KEY_LENGTH length 256 total 4
ikev2_pld_xform: more 3 reserved 0 length 8 type INTEGR id HMAC_SHA1_96
ikev2_pld_xform: more 0 reserved 0 length 8 type ESN id NONE
ikev2_pld_payloads: decrypted payload TSi nextpayload TSr critical 
0x00 length 24

ikev2_pld_ts: count 1 length 16
ikev2_pld_ts: type IPV4_ADDR_RANGE protoid 0 length 16 startport 0 
endport 65535

ikev2_pld_ts: start 10.0.10.0 end 10.0.10.255
ikev2_pld_payloads: decrypted payload TSr nextpayload NONE critical 
0x00 length 24

ikev2_pld_ts: count 1 length 16
ikev2_pld_ts: type IPV4_ADDR_RANGE protoid 0 length 16 startport 0 
endport 65535

ikev2_pld_ts: start 10.0.20.0 end 10.0.20.255
ikev2_msg_send: IKE_AUTH from IP_of_server:4500 to IP_of_client:4500, 
212 bytes, NAT-T

pfkey_sa_add: update spi 0x84ea51d8
pfkey_sa: udpencap port 4500
ikev2_childsa_enable: loaded CHILD SA spi 0x84ea51d8
pfkey_sa_add: add spi 0xcfea0559
pfkey_sa: udpencap port 4500
ikev2_childsa_enable: loaded CHILD SA spi 0xcfea0559
ikev2_childsa_enable: loaded flow 0x20527e400
ikev2_childsa_enable: loaded 

iked x509 negotiation problem with BlackBerry OS 10.3.1

2015-07-02 Thread Denis Lapshin

Hi,
Have working setup with OpenIKEd and Win7 machine in part of IPsec link 
negotiating by using IKEv2 and MSCHAP-v2. Using certificate and 2048 key 
in *.P12 form.


10.0.20.0/24 is local network
10.0.10.0/24 is IPsec network
DNS server is 10.0.20.1

/etc/iked.conf is:

ikev2 winauth passive esp \
from 10.0.20.0/24 to 10.0.10.0/24 \
local IP_of_server peer any \
srcid myserver.domain \
eap mschap-v2 \
config address 10.0.10.10 \
config netmask 255.255.255.0 \
config name-server 10.0.20.1 \
#   ikesa auth hmac-sha1 enc 3des group modp2048 \
#   childsa auth hmac-sha1 enc aes-256 group modp2048 \
tag $name-$id

The server machine has working PF with some rules to allow traffic over 
ports {isakmp, ipsec-nat-t} and both protos {ah, esp}.
While IPsec between Win7 and server has established, can ping DNS server 
only. No other traffic can pass in this stage of setup encrypted connection.


But my question is below and about connection setup between BB OS 10.3.1 
and iked only.


Trying to do the same setup with BlackBerry 10.3.1 OS using the same 
/etc/iked.conf just another user certificate and 2048 key in *.P12 
(*.PFX) form have been imported into BB phone and installed in phone's 
Certificate storage. All seems to be going fine since than but no.


The Profile to make IPsec VPN on BB phone is:
---
Server address: IP_of_server
Gateway type: Generic IKEv2 VPN Server (tried Microsoft IKEv2 VPN 
Server, but unsuccessful too)

Auth Type: EAP-MSCHAPv2
Authentication ID Type: FQDN
Auth ID: myserver.domain
MSCHAPv2 EAP Identity: username
MSCHAPv2 EAP Identity: username
MSCHAPv2 Password: userpass
Gateway Auth Type: PKI
Gateway Auth ID Type: FQDN
Gateway Auth ID: myserver.domain
Allow Untrusted Cert: Prompt
Gateway CA Cert: CAmyserver.domain.name
Perfect Forward Secrecy: set_to_YES
Auto IP: set_to_YES
Auto DNS: set_to_YES
Auto Determine Algorithm: set_to_YES

IKE lifetime in Sec.: 86400
IPSec Lifetime: 10800
NAT Keep Alive: 30
DPD Frequency: 240

Use Proxy: set_to_NO
-

Once trying to connect to server with running iked -dvv options using BB 
phone - the result from iked:

...
ikev2_pld_payloads: payload SK nextpayload IDi critical 0x00 length 272
ikev2_msg_decrypt: IV length 16
ikev2_msg_decrypt: encrypted payload length 240
ikev2_msg_decrypt: integrity checksum length 12
ikev2_msg_decrypt: integrity check succeeded
ikev2_msg_decrypt: decrypted payload length 240/240 padding 15
ikev2_pld_payloads: decrypted payload IDi nextpayload CERTREQ critical 
0x00 length 19

ikev2_pld_id: id FQDN/myserver.domain length 15
ikev2_pld_payloads: decrypted payload CERTREQ nextpayload CP critical 
0x00 length 5

ikev2_pld_certreq: type X509_CERT signatures length 0
ikev2_pld_certreq: invalid certificate request
ikev2_resp_recv: failed to parse message

The same connection works fine between Win7 and iked. Log of iked is below:
...
ikev2_msg_decrypt: encrypted payload length 160
ikev2_msg_decrypt: integrity checksum length 12
ikev2_msg_decrypt: integrity check succeeded
ikev2_msg_decrypt: decrypted payload length 160/160 padding 7
ikev2_pld_payloads: decrypted payload AUTH nextpayload CP critical 0x00 
length 28

ikev2_pld_auth: method SHARED_KEY_MIC length 20
ikev2_pld_payloads: decrypted payload CP nextpayload SA critical 0x00 
length 32

ikev2_pld_cp: type REPLY length 24
ikev2_pld_cp: INTERNAL_IP4_ADDRESS 0x0001 length 4
ikev2_pld_cp: INTERNAL_IP4_NETMASK 0x0002 length 4
ikev2_pld_cp: INTERNAL_IP4_DNS 0x0003 length 4
ikev2_pld_payloads: decrypted payload SA nextpayload TSi critical 0x00 
length 44
ikev2_pld_sa: more 0 reserved 0 length 40 proposal #1 protoid ESP 
spisize 4 xforms 3 spi 0x84ea51d8

ikev2_pld_xform: more 3 reserved 0 length 12 type ENCR id AES_CBC
ikev2_pld_attr: attribute type KEY_LENGTH length 256 total 4
ikev2_pld_xform: more 3 reserved 0 length 8 type INTEGR id HMAC_SHA1_96
ikev2_pld_xform: more 0 reserved 0 length 8 type ESN id NONE
ikev2_pld_payloads: decrypted payload TSi nextpayload TSr critical 0x00 
length 24

ikev2_pld_ts: count 1 length 16
ikev2_pld_ts: type IPV4_ADDR_RANGE protoid 0 length 16 startport 0 
endport 65535

ikev2_pld_ts: start 10.0.10.0 end 10.0.10.255
ikev2_pld_payloads: decrypted payload TSr nextpayload NONE critical 0x00 
length 24

ikev2_pld_ts: count 1 length 16
ikev2_pld_ts: type IPV4_ADDR_RANGE protoid 0 length 16 startport 0 
endport 65535

ikev2_pld_ts: start 10.0.20.0 end 10.0.20.255
ikev2_msg_send: IKE_AUTH from IP_of_server:4500 to IP_of_client:4500, 
212 bytes, NAT-T

pfkey_sa_add: update spi 0x84ea51d8
pfkey_sa: udpencap port 4500
ikev2_childsa_enable: loaded CHILD SA spi 0x84ea51d8
pfkey_sa_add: add spi 0xcfea0559
pfkey_sa: udpencap port 4500
ikev2_childsa_enable: loaded CHILD SA spi 0xcfea0559
ikev2_childsa_enable: loaded flow 0x20527e400
ikev2_childsa_enable: loaded flow 0x204a56800
sa_state: EAP_VALID - ESTABLISHED from 

Re: X fails to start with latest sparc64 snapshot

2015-07-02 Thread Pedro Tender
Hi,

I'm experiencing the same issue with today -CURRENT AMD64 using NV driver.
If I configure xorg.conf and use the VESA driver I'm able to boot X (not
@1920x1080 however - still searching if it's possible using VESA).
Has the NV driver become unsupported?

graphic card dmesg info is:
vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x0659 rev
0xa1

I can supply more information if needed.

Regards.​

On Tue, Jun 30, 2015 at 9:20 PM, Markus Lude markus.l...@gmx.de wrote:

 Hello,

 after upgrading to snapshot from june 29th on my sun blade 100 (sparc64)
 X fails to start.

 ...
 [39.465] (II) MACH64: Driver for ATI Mach64 chipsets
 [39.470] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card
 support
 [39.472] (**) MACH64(0): Depth 24, (--) framebuffer bpp 32
 [39.479] (**) MACH64(0): Option reference_clock 29.5MHz
 [39.479] (==) MACH64(0): Using EXA acceleration architecture
 [39.481] (EE) Unable to map mmio aperture. Invalid argument (22)
 [39.481] (WW) MACH64: Mach64 in slot 0:19:0 could not be detected!
 [39.487] (II) UnloadModule: mach64
 [39.487] (EE) Screen(s) found, but none have a usable configuration.

 snapshot from june 26th/27th worked.

 dmesg, Xorg.0.log and xorg.conf attached below

 sysctl.conf:
 machdep.allowaperture=1

 Regards,
 Markus
 console is keyboard/display
 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2015 OpenBSD. All rights reserved.
 http://www.OpenBSD.org

 OpenBSD 5.8-beta (GENERIC) #603: Mon Jun 29 09:07:15 MDT 2015
 dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC
 real mem = 536870912 (512MB)
 avail mem = 511508480 (487MB)
 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root: Sun Blade 100 (UltraSPARC-IIe)
 cpu0 at mainbus0: SUNW,UltraSPARC-IIe (rev 1.4) @ 502 MHz
 cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K external
 (64 b/l)
 psycho0 at mainbus0: pci108e,a001, impl 0, version 0, ign 7c0
 psycho0: bus range 0-1, PCI bus 0
 psycho0: dvma map c000-dfff
 pci0 at psycho0
 ebus0 at pci0 dev 12 function 0 Sun RIO EBus rev 0x01
 flashprom at ebus0 addr 0-f not configured
 clock1 at ebus0 addr 0-1fff: mk48t59
 ebus1 at pci0 dev 7 function 0 Acer Labs M1533 ISA rev 0x00
 dma at ebus1 addr 0- ivec 0x2a not configured
 power0 at ebus1 addr 800-82f ivec 0x20
 com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo
 com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo
 gem0 at pci0 dev 12 function 1 Sun ERI Ether rev 0x01: ivec 0x7c6,
 address 00:03:ba:18:3a:e9
 ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
 0x0010dd, model 0x0002
 Sun FireWire rev 0x01 at pci0 dev 12 function 2 not configured
 ohci0 at pci0 dev 12 function 3 Sun USB rev 0x01: ivec 0x7e4, version
 1.0, legacy support
 alipm0 at pci0 dev 3 function 0 Acer Labs M7101 Power rev 0x00: 223KHz
 clock
 iic0 at alipm0
 max1617 at alipm0 addr 0x18 skipped due to alipm0 bugs
 scm001 at alipm0 addr 0x20 skipped due to alipm0 bugs
 spdmem0 at iic0 addr 0x50: 512MB SDRAM ECC PC133CL2
 autri0 at pci0 dev 8 function 0 Acer Labs M5451 Audio rev 0x01: ivec
 0x7e3
 ac97: codec id 0x41445348 (Analog Devices AD1881A)
 ac97: codec features headphone, Analog Devices Phat Stereo
 audio0 at autri0
 midi0 at autri0: 4DWAVE MIDI UART
 pciide0 at pci0 dev 13 function 0 Acer Labs M5229 UDMA IDE rev 0xc3:
 DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
 pciide0: using ivec 0x7cc for native-PCI interrupt
 wd0 at pciide0 channel 0 drive 0: ST3120213A
 wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
 atapiscsi0 at pciide0 channel 0 drive 1
 scsibus1 at atapiscsi0: 2 targets
 cd0 at scsibus1 targ 0 lun 0: LITEON, CD-ROM LTN486S, Y3S2 ATAPI 5/cdrom
 removable
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
 wd1 at pciide0 channel 1 drive 0: WDC WD1600AAJB-00J3A0
 wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
 wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
 ppb0 at pci0 dev 5 function 0 Intel S21152BB rev 0x00
 pci1 at ppb0 bus 1
 rl0 at pci1 dev 2 function 0 D-Link DFE-530TX+ rev 0x10: ivec 0x7d5,
 address 00:11:95:21:ec:70
 rlphy0 at rl0 phy 0: RTL internal PHY
 machfb0 at pci0 dev 19 function 0 ATI Rage XL rev 0x27
 machfb0: ATY,RageXL, 800x600
 wsdisplay0 at machfb0 mux 1: console (std, sun emulation)
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0 Sun OHCI root hub rev 1.00/1.00 addr 1
 uhidev0 at uhub0 port 1 configuration 1 interface 0 Fujitsu Component
 Type 6 Keyboard rev 1.00/1.02 addr 2
 uhidev0: iclass 3/1
 ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 33
 wskbd0 at ukbd0: console keyboard, using wsdisplay0
 uhidev1 at uhub0 port 2 configuration 1 interface 0 Logitech USB-PS/2
 Optical Mouse rev 2.00/20.00 addr 3
 uhidev1: iclass 3/1
 ums0 at uhidev1: 

Re: RStudio

2015-07-02 Thread Ulises M. Alvarez

On 07/02/2015 07:08 AM, Richard Thornton wrote:

Has anybody built RStudio for OpenBSD?



Nop; may I suggest you emacs + ess? It's worth a try.
--
Ulises M. Alvarez
http://sophie.unam.mx/



RStudio

2015-07-02 Thread Richard Thornton

Has anybody built RStudio for OpenBSD?


Richard



Re: RStudio

2015-07-02 Thread Zé Loff
On Thu, Jul 02, 2015 at 08:08:42AM -0400, Richard Thornton wrote:
 Has anybody built RStudio for OpenBSD?
 
 
 Richard

The last time I tried porting it I gave up while trying to figure out
all the dependencies (and dependencies thereof), which are
'conveniently' fetched from github and the like, and compiled by a bunch
of automatically called install scripts. A lot of these dependencies
required patching (which is a PITA with this 'automatic installation'
method) and/or were available as (OpenBSD) packages, which I find much
preferable.

personal rambling
It wasn't long before I decided it just wasn't worth the effort. Plus
RStudio -- which has some *very* strong selling points, don't get me
wrong -- has been getting a bit too bloatware-y for my taste, so I just
stuck with my beloved vim + Vim-R-Plugin setup (especially since I
managed to install pandoc).
/personal rambling

-- 



Re: [OFFTOPIC] Re: Order Acknowledgement from OpenBSD Store - Order No. 40393

2015-07-02 Thread Pedro Tender
They have never responded to mine even though I've received the replacement for 
the AMD64 cd but never the fixed typo sticker. 



 On 02 Jul 2015, at 21:08, Maurice McCarthy m...@mythic-beasts.com wrote:
 
 On 2015-07-02 18:10, Jorge Gabriel Lopez Paramount wrote:
 Hi all,
 
 I know this is not related to OpenBSD directly but hope someone might
 help; I ordered a CD set and a rucksack more than one month ago and I
 have not received them yet so I'm wondering what happened. I tried to
 write to the orders email address of the OpenBSD Store but got no
 response.
 
 I spent that money mainly as a contribution but would not mind
 receiving those goods, if someone have an idea how I could contact the
 Store besides calling I would appreciate it.
 
 --
 Best regards,
 Jorge Lopez.
 
 This is the contact page for the store
 
 https://www.openbsdstore.com/cgi-bin/live/ecommerce.pl?site=shop_openbsdeurope_comstate=pagepage=contact
 
 They usually answer queries to ord...@openbsdstore.com very quickly
 M



Re: [OFFTOPIC] Re: Order Acknowledgement from OpenBSD Store - Order No. 40393

2015-07-02 Thread Jorge Gabriel Lopez Paramount

Quoting Maurice McCarthy m...@mythic-beasts.com:


On 2015-07-02 18:10, Jorge Gabriel Lopez Paramount wrote:

Hi all,

I know this is not related to OpenBSD directly but hope someone might
help; I ordered a CD set and a rucksack more than one month ago and I
have not received them yet so I'm wondering what happened. I tried to
write to the orders email address of the OpenBSD Store but got no
response.


This is the contact page for the store

https://www.openbsdstore.com/cgi-bin/live/ecommerce.pl?site=shop_openbsdeurope_comstate=pagepage=contact

They usually answer queries to ord...@openbsdstore.com very quickly



Thanks, I already got a response by email.

--
Best regards,
Jorge Lopez.



This message was sent using IMP, the Internet Messaging Program.



Re: regression with wsdisplay? 2015-06-30 amd64 snap

2015-07-02 Thread patrick keshishian
On 7/2/15, Mike Larkin mlar...@azathoth.net wrote:
 On Thu, Jul 02, 2015 at 11:50:06AM -0700, patrick keshishian wrote:
 p.s., and evidently, after the sleep/wake, the laptop does not
 care to shutdown, neither by reboot(8) nor the power-button
 press (requires 10s hold of the power-button).


 You're looking at not too much time between a working kernel
 and the broken one, bisecting diffs might help us track down what
 failed more quickly.

reverting dev/acpi/acpicpu.c back to 1.63 from 1.64 seems
to fix my issue.

Unfortunately, 1.63-1.64 contains a mass of changes.


 Also, please use sendbug so we get an acpidump.

will do.

--patrick


 -ml

 On 7/2/15, patrick keshishian pkesh...@gmail.com wrote:
  Just noticed this issue with:
 
  OpenBSD 5.8-beta (GENERIC) #1050: Tue Jun 30 11:10:13 MDT 2015
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
 
  After a sleep/wake cycle I noticed that key-repeat stopped working.
 
  Running top(1) I see that the display isn't being updated, requiring
  pressing the space-bar to force an update.
 
  Last snapshot on this laptop without any major issues was:
 
  OpenBSD 5.7-current (GENERIC) #973: Tue Jun  2 09:37:26 MDT 2015
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
 
  One change was I installed a new 9-Cell battery on this laptop.
 
  Ideas?
 
  I'll try a new snap in a few days.
 
  --patrick
 
 
  dmesg diff:
 
  --- dmesg.boot-snap-20150602   Wed Jun  3 20:38:38 2015
  +++ dmesg.boot-snap-20150630   Thu Jul  2 11:29:46 2015
  @@ -1,7 +1,7 @@
  -OpenBSD 5.7-current (GENERIC) #973: Tue Jun  2 09:37:26 MDT 2015
  +OpenBSD 5.8-beta (GENERIC) #1050: Tue Jun 30 11:10:13 MDT 2015
   dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
   real mem = 1861025792 (1774MB)
  -avail mem = 1800888320 (1717MB)
  +avail mem = 180082 (1717MB)
   mpath0 at root
   scsibus0 at mpath0: 256 targets
   mainbus0 at root
  @@ -15,7 +15,7 @@ acpi0: wakeup devices PB5_(S5) OHC1(S3) OHC2(S3)
  EHCI(
   acpitimer0 at acpi0: 3579545 Hz, 32 bits
   acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
   cpu0 at mainbus0: apid 0 (boot processor)
  -cpu0: AMD Athlon(tm) Processor L110, 1197.21 MHz
  +cpu0: AMD Athlon(tm) Processor L110, 1197.19 MHz
   cpu0:
  FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,SVM,EAPICSP,AMCR8,3DNOWP
   cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
  64b/line 16-way L2 cache
   cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
  associative
  @@ -34,10 +34,10 @@ acpiprt5 at acpi0: bus -1 (PB7_)
   acpiprt6 at acpi0: bus 9 (P2P_)
   acpiprt7 at acpi0: bus 1 (AGP_)
   acpiec0 at acpi0
  -acpicpu0 at acpi0: C3, C2
  +acpicpu0 at acpi0: C3(@83 io@0x8015), C2(@18 io@0x8014)
   acpitz0 at acpi0: critical temperature is 100 degC
   acpiac0 at acpi0: AC unit online
  -acpibat0 at acpi0: BAT1 model UM09A41 serial 22962 type LION oem
  SONY
  +acpibat0 at acpi0: BAT1 model UM09A41 serial 14 type LION oem SONY
   acpibtn0 at acpi0: LID_
   acpibtn1 at acpi0: SLPB
   acpibtn2 at acpi0: PWRB
 
 
  Full dmesg:
 
  OpenBSD 5.8-beta (GENERIC) #1050: Tue Jun 30 11:10:13 MDT 2015
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
  real mem = 1861025792 (1774MB)
  avail mem = 180082 (1717MB)
  mpath0 at root
  scsibus0 at mpath0: 256 targets
  mainbus0 at root
  bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf1010 (17 entries)
  bios0: vendor Phoenix Technologies LTD version v1.3307 date
  05/31/2010
  bios0: Gateway LT31
  acpi0 at bios0: rev 2
  acpi0: sleep states S0 S3 S4 S5
  acpi0: tables DSDT FACP APIC MCFG HPET BOOT SLIC
  acpi0: wakeup devices PB5_(S5) OHC1(S3) OHC2(S3) EHCI(S3) HDAU(S3)
  acpitimer0 at acpi0: 3579545 Hz, 32 bits
  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
  cpu0: AMD Athlon(tm) Processor L110, 1197.19 MHz
  cpu0:
  FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,SVM,EAPICSP,AMCR8,3DNOWP
  cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
  64b/line 16-way L2 cache
  cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
  associative
  cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully
  associative
  mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
  cpu0: apic clock running at 199MHz
  ioapic0 at mainbus0: apid 1 pa 0xfec0, version 21, 24 pins
  acpimcfg0 at acpi0 addr 0xe000, bus 0-8
  acpihpet0 at acpi0: 14318180 Hz
  acpiprt0 at acpi0: bus 0 (PCI0)
  acpiprt1 at acpi0: bus -1 (PB3_)
  acpiprt2 at acpi0: bus -1 (PB4_)
  acpiprt3 at acpi0: bus 3 (PB5_)
  acpiprt4 at acpi0: bus 4 (PB6_)
  acpiprt5 at acpi0: bus -1 (PB7_)
  acpiprt6 at acpi0: bus 9 (P2P_)
  acpiprt7 at acpi0: bus 1 (AGP_)
  acpiec0 at acpi0
  

Re: Why does my 5.7 laptop suspend when I close the lid?

2015-07-02 Thread Joel Rees
FWIW, I just tried shutting the lid on this netbook, to see what would happen.

Disks went quiet quickly enough to assume it was sleep and not hibernate.

I waited maybe a minute, then opened the lid. No response. On keyboard
activity, i could hear the disks spin up.

Tried ssh from outside, but I had disabled password access and hadn't
copied the relevant tokens to the other box. Did get a Permission
denied (publickey, keyboard-interactive) response once, but a few
minutes later, there was no route to host. I woud guess it went back
to sleep and wouldn't wake up, except this time the disks did not go
quiet.

Ended up with a long press on the power button.

Is this failure of the screen to wake up likely to be caused by my
putting off installing something to manage sleep states? Is it perhaps
a result of some BIOS setting? (Guess I should poke around in there.)

Some of the contents of /var/log, in case anyone is interested:

In /var/log/Xorg.0.log.old, these lines seem relevant. (Should I post more?):
--
[  1251.334] (==) ws: /dev/wsmouse: Buttons: 7
[  1251.334] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[  1251.334] (II) XINPUT: Adding extended input device /dev/wsmouse
(type: MOUSE, id 8)
[  1251.334] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[  1251.335] (**) /dev/wsmouse: (accel) acceleration profile 0
[  1251.335] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[  1251.335] (**) /dev/wsmouse: (accel) acceleration threshold: 4
[  6931.125] (II) VESA(0): Setting up VESA Mode 0x1D4 (1366x768)
[  6931.127] (II) VESA(0): VBESetVBEMode failed
[  6931.128] (EE)
Fatal server error:
[  6931.128] (EE) EnterVT failed for screen 0
[  6931.128] (EE)
[  6931.128] (EE)
Please consult the The X.Org Foundation support
 at http://wiki.x.org
 for help.
[  6931.128] (EE) Please also check the log file at
/var/log/Xorg.0.log for additional information.
[  6931.128] (EE)
[  6931.129] (EE) ws: /dev/wsmouse: unknown command 4
--
/var/log/messages from around that point look like this. (Again,
should I post more?):
--
Jul  3 08:18:37 phool savecore: no core dump
Jul  3 09:00:01 phool syslogd: restart
Jul  3 10:07:50 phool /bsd: uhub0 detached
Jul  3 10:13:59 phool /bsd: uhub3 detached
Jul  3 10:13:59 phool /bsd: video0 detached
Jul  3 10:13:59 phool /bsd: uvideo0 detached
Jul  3 10:13:59 phool /bsd: uhub1 detached
Jul  3 10:13:59 phool /bsd: uhub4 detached
Jul  3 10:13:59 phool /bsd: uhub2 detached
Jul  3 10:13:59 phool /bsd: uhub0 at usb0 AMD xHCI root hub rev
3.00/1.00 addr 1
Jul  3 10:13:59 phool /bsd: uhub1 at usb3 AMD OHCI root hub rev
1.00/1.00 addr 1
Jul  3 10:13:59 phool /bsd: uhub2 at usb1 AMD EHCI root hub rev
2.00/1.00 addr 1
Jul  3 10:13:59 phool /bsd: uhub3 at usb4 AMD OHCI root hub rev
1.00/1.00 addr 1
Jul  3 10:13:59 phool /bsd: uhub4 at usb2 AMD EHCI root hub rev
2.00/1.00 addr 1
Jul  3 10:13:59 phool /bsd: uvideo0 at uhub2
Jul  3 10:13:59 phool /bsd:  port 4 configuration 1 interface 0
Generic HP Webcam-50 rev 2.00/5.26 addr 2
Jul  3 10:13:59 phool /bsd: video0 at uvideo0
Jul  3 10:25:27 phool /bsd: splassert: assertwaitok: want 0 have 9
Jul  3 10:27:26 phool /bsd: splassert: bufcache_take: want 6 have 9
Jul  3 10:29:27 phool /bsd: splassert: buf_acquire: want 6 have 9
Jul  3 10:31:27 phool /bsd: splassert: buf_map: want 6 have 9
Jul  3 10:33:27 phool /bsd: splassert: reassignbuf: want 6 have 9
Jul  3 10:35:27 phool /bsd: splassert: buf_release: want 6 have 9
Jul  3 10:40:36 phool syslogd: start
Jul  3 10:40:36 phool /bsd: OpenBSD 5.7-current (GENERIC_GPT.MP) #0:
Sun Jun 14 23:13:31 JST 2015
Jul  3 10:40:36 phool /bsd:
r...@phool.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC_GPT.MP
Jul  3 10:40:36 phool /bsd: real mem = 1835790336 (1750MB)
Jul  3 10:40:36 phool /bsd: avail mem = 1776336896 (1694MB)
Jul  3 10:40:36 phool /bsd: mpath0 at root
Jul  3 10:40:36 phool /bsd: scsibus0 at mpath0: 256 targets
Jul  3 10:40:36 phool /bsd: mainbus0 at root
Jul  3 10:40:36 phool /bsd: bios0 at mainbus0: SMBIOS rev. 2.8 @
0xe4800 (43 entries)
Jul  3 10:40:36 phool /bsd: bios0: vendor Insyde version F.0A date 07/16/2014
Jul  3 10:40:36 phool /bsd: bios0: Hewlett-Packard HP Pavilion 10 Notebook PC
Jul  3 10:40:36 phool /bsd: acpi0 at bios0: rev 2
Jul  3 10:40:36 phool /bsd: acpi0: sleep states S0 S3 S4 S5
Jul  3 10:40:36 phool /bsd: acpi0: tables DSDT FACP UEFI HPET APIC
MCFG ASF! BOOT FPDT MSDM SSDT SSDT SSDT SSDT SSDT
Jul  3 10:40:36 phool /bsd: acpi0: wakeup devices GPP0(S5) GPP1(S4)
OHC1(S3) OHC2(S3) OHC3(S3) EHC1(S3) EHC2(S3) EHC3(S3) XHC0(S4)
AWAD(S4)
Jul  3 10:40:36 phool /bsd: acpitimer0 at acpi0: 3579545 Hz, 32 bits
Jul  3 10:40:36 phool /bsd: acpihpet0 at acpi0: 14318180 Hz
Jul  3 10:40:36 phool /bsd: acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
Jul  3 10:40:36 phool /bsd: cpu0 at mainbus0: apid 0 (boot processor)
Jul  3 10:40:36 phool /bsd: cpu0: AMD A4-1200 APU with Radeon(TM) HD
Graphics, 998.25 MHz
--

Re: gr-osmosdr

2015-07-02 Thread Aaron Bieber
EdaSky writes:

 Greetings

 I would like to expand my Hamshack on SDR receiver via GQRX
 I would also like to analyze signals over gnuradio and build 
 port of gqrx and required dependency progs. 

 I bought

 http://dxpatrol.pt/
 ugen1 at uhub0 port 5 Realtek RTL2838UHIDIR rev 2.00 / 1.00 addr 2

 With ./comms/rtl-sdr works great on the FM Radio

 I built gnuradio from VIP Ports (thank you)
 Using RTL in gnuradio and buid Gqrx requires gnuradio-osmosdr

 It is possible to build gr-osmosdr?

 build prints lot of errors on


I believe I had it working at one point.. For sure I got SDR# going.

I will try and revive my stuff.. probably post it to wip if I get
anything going.

 OpenBSD 5.8-beta (GENERIC.MP) # 983: Fri Jun 26 10:19:43 MDT 2015
 dera...@i386.openbsd.org: /usr/src/sys/arch/i386/compile/GENERIC.MP


 git clone git://git.osmocom.org/gr-osmosdr
 cd gr-osmosdr/
 git checkout gr3.6
 mkdir build
 cd build/
 cmake ../
 make


 [  3%] Building CXX object 
 lib/CMakeFiles/gnuradio-osmosdr.dir/osmosdr_source_c_impl.cc.o
 In file included from 
 /usr/local/include/boost/thread/detail/platform.hpp:17,
  from /usr/local/include/boost/thread/thread.hpp:12,
  from /usr/local/include/gruel/thread.h:25,
  from /usr/local/include/gnuradio/gr_basic_block.h:36,
  from /usr/local/include/gnuradio/gr_hier_block2.h:26,
  from 
 /home/edasky/SRC/gr-osmosdr/include/osmosdr/osmosdr_source_c.h:25,
  from 
 /home/edasky/SRC/gr-osmosdr/lib/osmosdr_source_c_impl.h:23,
  from 
 /home/edasky/SRC/gr-osmosdr/lib/osmosdr_source_c_impl.cc:30:
 /usr/local/include/boost/config/requires_threads.hpp:47:5: error: #error 
 Compiler threading support is not turned on. Please set the correct 
 command line options for threading: -pthread (Linux), -pthreads (Solaris) 
 or -mthreads (Mingw32)
 In file included from /usr/local/include/boost/thread/thread.hpp:12,
  from /usr/local/include/gruel/thread.h:25,
  from /usr/local/include/gnuradio/gr_basic_block.h:36,
  from /usr/local/include/gnuradio/gr_hier_block2.h:26,
  from 
 /home/edasky/SRC/gr-osmosdr/include/osmosdr/osmosdr_source_c.h:25,
  from 
 /home/edasky/SRC/gr-osmosdr/lib/osmosdr_source_c_impl.h:23,
  from 
 /home/edasky/SRC/gr-osmosdr/lib/osmosdr_source_c_impl.cc:30:
 /usr/local/include/boost/thread/detail/platform.hpp:69:9: error: #error 
 Sorry, no boost threads are available for this platform.
 In file included from /usr/local/include/gruel/thread.h:25,
  from /usr/local/include/gnuradio/gr_basic_block.h:36,
  from /usr/local/include/gnuradio/gr_hier_block2.h:26,
  from 
 /home/edasky/SRC/gr-osmosdr/include/osmosdr/osmosdr_source_c.h:25,
  from 
 /home/edasky/SRC/gr-osmosdr/lib/osmosdr_source_c_impl.h:23,
  from 
 /home/edasky/SRC/gr-osmosdr/lib/osmosdr_source_c_impl.cc:30:
 /usr/local/include/boost/thread/thread.hpp:19:2: error: #error Boost 
 threads unavailable on this platform
 In file included from /usr/local/include/boost/thread/detail/thread.hpp:16,
  from /usr/local/include/boost/thread/thread.hpp:22,
  from /usr/local/include/gruel/thread.h:25,
  from /usr/local/include/gnuradio/gr_basic_block.h:36,
  from /usr/local/include/gnuradio/gr_hier_block2.h:26,
  from 
 /home/edasky/SRC/gr-osmosdr/include/osmosdr/osmosdr_source_c.h:25,
  from 
 /home/edasky/SRC/gr-osmosdr/lib/osmosdr_source_c_impl.h:23,
  from 
 /home/edasky/SRC/gr-osmosdr/lib/osmosdr_source_c_impl.cc:30:
 /usr/local/include/boost/thread/mutex.hpp:18:2: error: #error Boost 
 threads unavailable on this platform
 In file included from /usr/local/include/boost/thread/detail/thread.hpp:20,
  from /usr/local/include/boost/thread/thread.hpp:22,
  from /usr/local/include/gruel/thread.h:25,
  from /usr/local/include/gnuradio/gr_basic_block.h:36,
  from /usr/local/include/gnuradio/gr_hier_block2.h:26,
  from 
 /home/edasky/SRC/gr-osmosdr/include/osmosdr/osmosdr_source_c.h:25,
  from 
 /home/edasky/SRC/gr-osmosdr/lib/osmosdr_source_c_impl.h:23,
  from 
 /home/edasky/SRC/gr-osmosdr/lib/osmosdr_source_c_impl.cc:30:
 /usr/local/include/boost/thread/detail/thread_heap_alloc.hpp:19:2: error: 
 #error Boost threads unavailable on this platform
 In file included from 
 /usr/local/include/boost/thread/detail/thread_group.hpp:9,
  from /usr/local/include/boost/thread/thread.hpp:26,
  from /usr/local/include/gruel/thread.h:25,
  from /usr/local/include/gnuradio/gr_basic_block.h:36,
  from /usr/local/include/gnuradio/gr_hier_block2.h:26,
  

Re: Why does my 5.7 laptop suspend when I close the lid?

2015-07-02 Thread Theo de Raadt
 FWIW, I just tried shutting the lid on this netbook, to see what would happen.
 
 Disks went quiet quickly enough to assume it was sleep and not hibernate.
 
 I waited maybe a minute, then opened the lid. No response. On keyboard
 activity, i could hear the disks spin up.
 
 Tried ssh from outside, but I had disabled password access and hadn't
 copied the relevant tokens to the other box. Did get a Permission
 denied (publickey, keyboard-interactive) response once, but a few
 minutes later, there was no route to host. I woud guess it went back
 to sleep and wouldn't wake up, except this time the disks did not go
 quiet.
 
 Ended up with a long press on the power button.

Congratulations.

You have a laptop that suspend/resume does not work on.  It needs
to be fixed.

Back we were super active working on suspend/resume we asked EVERYONE
TO TEST repeatedly.

Many people did not test.

Almost like they assumed others would do the testing.  Even after lots
of notice from us that suspend/resume is entirely undocumented BS.
Also, like they didn't understand when a group of developers is super
active, and asks for testing, that is because they are in the thick of
it, understand almost all the pieces better, have enthusiasm, etc.  That
is the time to try to help.   Later on, it is more difficult to get
back into it.

Since suspend/resume was highly functioning, lid suspend was turned on
so that the remaining systems could be tested and we'd finally get
reports.

Hurray.  We are finally getting reports.  Eventually we'll collect
enough information and make further advancements resolving these
suspend/resume probblems.

Maybe we'll even find someone out there pulling up their sleeves and
providing more insight into the remaining issues.



Re: [OFFTOPIC] Re: Order Acknowledgement from OpenBSD Store - Order No. 40393

2015-07-02 Thread fRANz
On Thu, Jul 2, 2015 at 10:32 PM, Pedro Tender pedro.ten...@fabamaq.com wrote:

 They have never responded to mine even though I've received the replacement 
 for the AMD64 cd but never the fixed typo sticker.

The same for me (Order No. 1951), I'm waiting for CDs and a T-Shirt
never shipped...
Only the second cd was arrived after a while
-f



Re: Why does my 5.7 laptop suspend when I close the lid?

2015-07-02 Thread Joel Rees
On Fri, Jul 3, 2015 at 11:58 AM, Theo de Raadt dera...@cvs.openbsd.org wrote:
 FWIW, I just tried shutting the lid on this netbook, to see what would 
 happen.

 Disks went quiet quickly enough to assume it was sleep and not hibernate.

 I waited maybe a minute, then opened the lid. No response. On keyboard
 activity, i could hear the disks spin up.

Tried it again, and lifting the lid spun the disks up.

 Tried ssh from outside, but I had disabled password access and hadn't
 copied the relevant tokens to the other box. Did get a Permission
 denied (publickey, keyboard-interactive) response once, but a few
 minutes later, there was no route to host. I woud guess it went back
 to sleep and wouldn't wake up, except this time the disks did not go
 quiet.

 Ended up with a long press on the power button.

After that, a short press on the power button started the power-down
sequence properly, so there was no need of fsck on the next boot.

If one refrains from trying too many things in the dark, it looks like
one can avoid losing control, so it's just a matter of figuring out
what gets the screen fired back up.

 Congratulations.

 You have a laptop that suspend/resume does not work on.  It needs
 to be fixed.

I'll try to find the threads and dig in, but I'd kind of like to focus
on WIFI and dual-boot with GPT-only MSWindows for this beast first.
Lots of unsupported fun on it. Hopefully, I'll be able to make some
time for something useful next week.

(I'd almost say that when I bought this box about a month and a half
ago, I should have gone for an older box, but I need the motivation to
dig in. :)

-- 
Joel Rees



[OFFTOPIC] Re: Order Acknowledgement from OpenBSD Store - Order No. 40393

2015-07-02 Thread Jorge Gabriel Lopez Paramount

Hi all,

I know this is not related to OpenBSD directly but hope someone might  
help; I ordered a CD set and a rucksack more than one month ago and I  
have not received them yet so I'm wondering what happened. I tried to  
write to the orders email address of the OpenBSD Store but got no  
response.


I spent that money mainly as a contribution but would not mind  
receiving those goods, if someone have an idea how I could contact the  
Store besides calling I would appreciate it.


--
Best regards,
Jorge Lopez.


Quoting Jorge Gabriel Lopez Paramount jorge.lopez.paramo...@googlemail.com:


Hi all,

Hope somebody could help, I placed this order one month ago and I  
had not received the goods in my address, would you please let me  
know the status of this order? If it has already been delivered, how  
can I check where the package is?


Thanks for your kind help.

--
Best regards,
Jorge Lopez.


Quoting ord...@openbsdstore.com:


=0D
   OpenBSD Store=0D
=0D
=0D
   OpenBSD Store, =0D
=0D
=0D
   Zednax Ltd, =0D
   Meadow House, =0D
   Meadow Lane, =0D
   Nottingham, =0D
   NG2 3HS, =0D
   United Kingdom, =0D
=0D
=0D
   Tel: 0115 986 8786, Fax: 0115 986 8737=0D
=0D
   Order Acknowledgement=0D
=0D
   Order Number: 40393=0D
   Order Date: 15/05/2015=0D
=0D
   Mr. Jorge Gabriel Lopez Paramount=0D
   85 Priv Gustavo A Becquer=0D
=0D
   Tlaquepaque, =0D
=0D
   Jalisco, =0D
=0D
   45600, =0D
   Mexico, =0D
   , =0D
=0D
=0D
=0D
=0D
   =0D
Description=0D
   =0D
Unit Price=0D
   =0D
Quantity=0D
   =0D
Cost=0D
   =0D
   =0D
   =0D
   =0D
   =0D
OpenBSD version 5.7=0D
   =0D
#8364;44.00=0D
   =0D
1=0D
   =0D
#8364;44.00=0D
   =0D
   =0D
   =0D
   =0D
   =0D
   =0D
   =0D
Lightweight Rucksack=0D
   =0D
#8364;12.50=0D
   =0D
1=0D
   =0D
#8364;12.50=0D
   =0D
   =0D
   =0D
   =0D
=0D
=0D
=0D
   =0D
=0D
=0D
   =0D
   -=0D
=0D
=0D
   VAT Registration No. GB 855 4468 92=0D
=0D
=0D
   Company No. 5321754=0D
=0D
=0D
   VAT =C2=A39.41=0D
   =0D
   Export VAT =C2=A39.41=0D
   =0D
=0D
=0D
   Total: =C2=A356.50=0D
   Carriage/Transaction Fee: =C2=A315.00=0D
   Grand Total: =C2=A362.09=0D
=0D
   PLEASE NOTIFY OF ANY DISCREPENCIES VIA EMAIL=0D
   Payment by Card (MC), last 4 digits 9302, Expires 09/19=0D
   =0D
   Authorisation Code: 094286=0D
   Merchant Number: =0D
   Terminal Number: =0D
   Order ID (SEQ ID): =0D
   =0D
   =0D
   =0D
=0D
=0D
=0D
=0D







This message was sent using IMP, the Internet Messaging Program.







This message was sent using IMP, the Internet Messaging Program.



regression with wsdisplay? 2015-06-30 amd64 snap

2015-07-02 Thread patrick keshishian
Just noticed this issue with:

OpenBSD 5.8-beta (GENERIC) #1050: Tue Jun 30 11:10:13 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

After a sleep/wake cycle I noticed that key-repeat stopped working.

Running top(1) I see that the display isn't being updated, requiring
pressing the space-bar to force an update.

Last snapshot on this laptop without any major issues was:

OpenBSD 5.7-current (GENERIC) #973: Tue Jun  2 09:37:26 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

One change was I installed a new 9-Cell battery on this laptop.

Ideas?

I'll try a new snap in a few days.

--patrick


dmesg diff:

--- dmesg.boot-snap-20150602Wed Jun  3 20:38:38 2015
+++ dmesg.boot-snap-20150630Thu Jul  2 11:29:46 2015
@@ -1,7 +1,7 @@
-OpenBSD 5.7-current (GENERIC) #973: Tue Jun  2 09:37:26 MDT 2015
+OpenBSD 5.8-beta (GENERIC) #1050: Tue Jun 30 11:10:13 MDT 2015
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
 real mem = 1861025792 (1774MB)
-avail mem = 1800888320 (1717MB)
+avail mem = 180082 (1717MB)
 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root
@@ -15,7 +15,7 @@ acpi0: wakeup devices PB5_(S5) OHC1(S3) OHC2(S3) EHCI(
 acpitimer0 at acpi0: 3579545 Hz, 32 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
-cpu0: AMD Athlon(tm) Processor L110, 1197.21 MHz
+cpu0: AMD Athlon(tm) Processor L110, 1197.19 MHz
 cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,SVM,EAPICSP,AMCR8,3DNOWP
 cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
 cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
@@ -34,10 +34,10 @@ acpiprt5 at acpi0: bus -1 (PB7_)
 acpiprt6 at acpi0: bus 9 (P2P_)
 acpiprt7 at acpi0: bus 1 (AGP_)
 acpiec0 at acpi0
-acpicpu0 at acpi0: C3, C2
+acpicpu0 at acpi0: C3(@83 io@0x8015), C2(@18 io@0x8014)
 acpitz0 at acpi0: critical temperature is 100 degC
 acpiac0 at acpi0: AC unit online
-acpibat0 at acpi0: BAT1 model UM09A41 serial 22962 type LION oem SONY
+acpibat0 at acpi0: BAT1 model UM09A41 serial 14 type LION oem SONY
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibtn2 at acpi0: PWRB


Full dmesg:

OpenBSD 5.8-beta (GENERIC) #1050: Tue Jun 30 11:10:13 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1861025792 (1774MB)
avail mem = 180082 (1717MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf1010 (17 entries)
bios0: vendor Phoenix Technologies LTD version v1.3307 date 05/31/2010
bios0: Gateway LT31
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG HPET BOOT SLIC
acpi0: wakeup devices PB5_(S5) OHC1(S3) OHC2(S3) EHCI(S3) HDAU(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) Processor L110, 1197.19 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,SVM,EAPICSP,AMCR8,3DNOWP
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-8
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PB3_)
acpiprt2 at acpi0: bus -1 (PB4_)
acpiprt3 at acpi0: bus 3 (PB5_)
acpiprt4 at acpi0: bus 4 (PB6_)
acpiprt5 at acpi0: bus -1 (PB7_)
acpiprt6 at acpi0: bus 9 (P2P_)
acpiprt7 at acpi0: bus 1 (AGP_)
acpiec0 at acpi0
acpicpu0 at acpi0: C3(@83 io@0x8015), C2(@18 io@0x8014)
acpitz0 at acpi0: critical temperature is 100 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model UM09A41 serial 14 type LION oem SONY
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: LCD_
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 ATI RS690 Host rev 0x00
ppb0 at pci0 dev 1 function 0 ATI RS690 PCIE rev 0x00
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 5 function 0 ATI Radeon X1250 IGP rev 0x00
drm0 at radeondrm0
radeondrm0: msi
ppb1 at pci0 dev 5 function 0 ATI RS690 PCIE rev 0x00: msi
pci2 at ppb1 bus 3
re0 at pci2 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL
(0x2480), msi, address 00:23:8b:ef:11:11
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb2 at pci0 dev 6 function 0 ATI RS690 PCIE rev 0x00: msi
pci3 at ppb2 bus 4
ral0 at pci3 dev 0 function 0 

Re: regression with wsdisplay? 2015-06-30 amd64 snap

2015-07-02 Thread patrick keshishian
p.s., and evidently, after the sleep/wake, the laptop does not
care to shutdown, neither by reboot(8) nor the power-button
press (requires 10s hold of the power-button).

On 7/2/15, patrick keshishian pkesh...@gmail.com wrote:
 Just noticed this issue with:

 OpenBSD 5.8-beta (GENERIC) #1050: Tue Jun 30 11:10:13 MDT 2015
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

 After a sleep/wake cycle I noticed that key-repeat stopped working.

 Running top(1) I see that the display isn't being updated, requiring
 pressing the space-bar to force an update.

 Last snapshot on this laptop without any major issues was:

 OpenBSD 5.7-current (GENERIC) #973: Tue Jun  2 09:37:26 MDT 2015
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

 One change was I installed a new 9-Cell battery on this laptop.

 Ideas?

 I'll try a new snap in a few days.

 --patrick


 dmesg diff:

 --- dmesg.boot-snap-20150602  Wed Jun  3 20:38:38 2015
 +++ dmesg.boot-snap-20150630  Thu Jul  2 11:29:46 2015
 @@ -1,7 +1,7 @@
 -OpenBSD 5.7-current (GENERIC) #973: Tue Jun  2 09:37:26 MDT 2015
 +OpenBSD 5.8-beta (GENERIC) #1050: Tue Jun 30 11:10:13 MDT 2015
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
  real mem = 1861025792 (1774MB)
 -avail mem = 1800888320 (1717MB)
 +avail mem = 180082 (1717MB)
  mpath0 at root
  scsibus0 at mpath0: 256 targets
  mainbus0 at root
 @@ -15,7 +15,7 @@ acpi0: wakeup devices PB5_(S5) OHC1(S3) OHC2(S3) EHCI(
  acpitimer0 at acpi0: 3579545 Hz, 32 bits
  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
 -cpu0: AMD Athlon(tm) Processor L110, 1197.21 MHz
 +cpu0: AMD Athlon(tm) Processor L110, 1197.19 MHz
  cpu0:
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,SVM,EAPICSP,AMCR8,3DNOWP
  cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
 64b/line 16-way L2 cache
  cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
 associative
 @@ -34,10 +34,10 @@ acpiprt5 at acpi0: bus -1 (PB7_)
  acpiprt6 at acpi0: bus 9 (P2P_)
  acpiprt7 at acpi0: bus 1 (AGP_)
  acpiec0 at acpi0
 -acpicpu0 at acpi0: C3, C2
 +acpicpu0 at acpi0: C3(@83 io@0x8015), C2(@18 io@0x8014)
  acpitz0 at acpi0: critical temperature is 100 degC
  acpiac0 at acpi0: AC unit online
 -acpibat0 at acpi0: BAT1 model UM09A41 serial 22962 type LION oem SONY
 +acpibat0 at acpi0: BAT1 model UM09A41 serial 14 type LION oem SONY
  acpibtn0 at acpi0: LID_
  acpibtn1 at acpi0: SLPB
  acpibtn2 at acpi0: PWRB


 Full dmesg:

 OpenBSD 5.8-beta (GENERIC) #1050: Tue Jun 30 11:10:13 MDT 2015
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
 real mem = 1861025792 (1774MB)
 avail mem = 180082 (1717MB)
 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf1010 (17 entries)
 bios0: vendor Phoenix Technologies LTD version v1.3307 date 05/31/2010
 bios0: Gateway LT31
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP APIC MCFG HPET BOOT SLIC
 acpi0: wakeup devices PB5_(S5) OHC1(S3) OHC2(S3) EHCI(S3) HDAU(S3)
 acpitimer0 at acpi0: 3579545 Hz, 32 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: AMD Athlon(tm) Processor L110, 1197.19 MHz
 cpu0:
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,SVM,EAPICSP,AMCR8,3DNOWP
 cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
 64b/line 16-way L2 cache
 cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
 associative
 cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully
 associative
 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
 cpu0: apic clock running at 199MHz
 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 21, 24 pins
 acpimcfg0 at acpi0 addr 0xe000, bus 0-8
 acpihpet0 at acpi0: 14318180 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (PB3_)
 acpiprt2 at acpi0: bus -1 (PB4_)
 acpiprt3 at acpi0: bus 3 (PB5_)
 acpiprt4 at acpi0: bus 4 (PB6_)
 acpiprt5 at acpi0: bus -1 (PB7_)
 acpiprt6 at acpi0: bus 9 (P2P_)
 acpiprt7 at acpi0: bus 1 (AGP_)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C3(@83 io@0x8015), C2(@18 io@0x8014)
 acpitz0 at acpi0: critical temperature is 100 degC
 acpiac0 at acpi0: AC unit online
 acpibat0 at acpi0: BAT1 model UM09A41 serial 14 type LION oem SONY
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibtn2 at acpi0: PWRB
 acpivideo0 at acpi0: VGA_
 acpivout0 at acpivideo0: LCD_
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 ATI RS690 Host rev 0x00
 ppb0 at pci0 dev 1 function 0 ATI RS690 PCIE rev 0x00
 pci1 at ppb0 bus 1
 radeondrm0 at pci1 dev 5 function 0 ATI Radeon X1250 IGP rev 0x00
 drm0 at radeondrm0
 radeondrm0: msi
 ppb1 at pci0 

Re: regression with wsdisplay? 2015-06-30 amd64 snap

2015-07-02 Thread Mike Larkin
On Thu, Jul 02, 2015 at 11:50:06AM -0700, patrick keshishian wrote:
 p.s., and evidently, after the sleep/wake, the laptop does not
 care to shutdown, neither by reboot(8) nor the power-button
 press (requires 10s hold of the power-button).
 

You're looking at not too much time between a working kernel
and the broken one, bisecting diffs might help us track down what
failed more quickly.

Also, please use sendbug so we get an acpidump.

-ml

 On 7/2/15, patrick keshishian pkesh...@gmail.com wrote:
  Just noticed this issue with:
 
  OpenBSD 5.8-beta (GENERIC) #1050: Tue Jun 30 11:10:13 MDT 2015
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
 
  After a sleep/wake cycle I noticed that key-repeat stopped working.
 
  Running top(1) I see that the display isn't being updated, requiring
  pressing the space-bar to force an update.
 
  Last snapshot on this laptop without any major issues was:
 
  OpenBSD 5.7-current (GENERIC) #973: Tue Jun  2 09:37:26 MDT 2015
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
 
  One change was I installed a new 9-Cell battery on this laptop.
 
  Ideas?
 
  I'll try a new snap in a few days.
 
  --patrick
 
 
  dmesg diff:
 
  --- dmesg.boot-snap-20150602Wed Jun  3 20:38:38 2015
  +++ dmesg.boot-snap-20150630Thu Jul  2 11:29:46 2015
  @@ -1,7 +1,7 @@
  -OpenBSD 5.7-current (GENERIC) #973: Tue Jun  2 09:37:26 MDT 2015
  +OpenBSD 5.8-beta (GENERIC) #1050: Tue Jun 30 11:10:13 MDT 2015
   dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
   real mem = 1861025792 (1774MB)
  -avail mem = 1800888320 (1717MB)
  +avail mem = 180082 (1717MB)
   mpath0 at root
   scsibus0 at mpath0: 256 targets
   mainbus0 at root
  @@ -15,7 +15,7 @@ acpi0: wakeup devices PB5_(S5) OHC1(S3) OHC2(S3) EHCI(
   acpitimer0 at acpi0: 3579545 Hz, 32 bits
   acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
   cpu0 at mainbus0: apid 0 (boot processor)
  -cpu0: AMD Athlon(tm) Processor L110, 1197.21 MHz
  +cpu0: AMD Athlon(tm) Processor L110, 1197.19 MHz
   cpu0:
  FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,SVM,EAPICSP,AMCR8,3DNOWP
   cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
  64b/line 16-way L2 cache
   cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
  associative
  @@ -34,10 +34,10 @@ acpiprt5 at acpi0: bus -1 (PB7_)
   acpiprt6 at acpi0: bus 9 (P2P_)
   acpiprt7 at acpi0: bus 1 (AGP_)
   acpiec0 at acpi0
  -acpicpu0 at acpi0: C3, C2
  +acpicpu0 at acpi0: C3(@83 io@0x8015), C2(@18 io@0x8014)
   acpitz0 at acpi0: critical temperature is 100 degC
   acpiac0 at acpi0: AC unit online
  -acpibat0 at acpi0: BAT1 model UM09A41 serial 22962 type LION oem SONY
  +acpibat0 at acpi0: BAT1 model UM09A41 serial 14 type LION oem SONY
   acpibtn0 at acpi0: LID_
   acpibtn1 at acpi0: SLPB
   acpibtn2 at acpi0: PWRB
 
 
  Full dmesg:
 
  OpenBSD 5.8-beta (GENERIC) #1050: Tue Jun 30 11:10:13 MDT 2015
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
  real mem = 1861025792 (1774MB)
  avail mem = 180082 (1717MB)
  mpath0 at root
  scsibus0 at mpath0: 256 targets
  mainbus0 at root
  bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf1010 (17 entries)
  bios0: vendor Phoenix Technologies LTD version v1.3307 date 05/31/2010
  bios0: Gateway LT31
  acpi0 at bios0: rev 2
  acpi0: sleep states S0 S3 S4 S5
  acpi0: tables DSDT FACP APIC MCFG HPET BOOT SLIC
  acpi0: wakeup devices PB5_(S5) OHC1(S3) OHC2(S3) EHCI(S3) HDAU(S3)
  acpitimer0 at acpi0: 3579545 Hz, 32 bits
  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
  cpu0: AMD Athlon(tm) Processor L110, 1197.19 MHz
  cpu0:
  FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,SVM,EAPICSP,AMCR8,3DNOWP
  cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
  64b/line 16-way L2 cache
  cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
  associative
  cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully
  associative
  mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
  cpu0: apic clock running at 199MHz
  ioapic0 at mainbus0: apid 1 pa 0xfec0, version 21, 24 pins
  acpimcfg0 at acpi0 addr 0xe000, bus 0-8
  acpihpet0 at acpi0: 14318180 Hz
  acpiprt0 at acpi0: bus 0 (PCI0)
  acpiprt1 at acpi0: bus -1 (PB3_)
  acpiprt2 at acpi0: bus -1 (PB4_)
  acpiprt3 at acpi0: bus 3 (PB5_)
  acpiprt4 at acpi0: bus 4 (PB6_)
  acpiprt5 at acpi0: bus -1 (PB7_)
  acpiprt6 at acpi0: bus 9 (P2P_)
  acpiprt7 at acpi0: bus 1 (AGP_)
  acpiec0 at acpi0
  acpicpu0 at acpi0: C3(@83 io@0x8015), C2(@18 io@0x8014)
  acpitz0 at acpi0: critical temperature is 100 degC
  acpiac0 at acpi0: AC unit online
  acpibat0 at acpi0: BAT1 model UM09A41 serial 14 type LION oem SONY
  

PKG_CACHE directory permissions and pkg_add(1) -n option

2015-07-02 Thread Dale Lindskog
It is discouraged but possible to run pkg_add(1), with the -n option, as a 
user other than root.  However, if pkg_add(1) does not have write 
permission to $PKG_CACHE, then error messages are produced.  For example:

$ ls -ld $PKG_CACHE
drwxr-xr-x  2 root  wheel  3072 Jul  2 12:13 /var/pkg_cache
$ pkg_add -vn gcal
pkg_add should be run as root
Update candidates: quirks-2.54 - quirks-2.54
quirks-2.54 signed on 2015-03-08T12:33:05Z
Fatal error: Ustar 
[ftp://ftp.openbsd.org/pub/OpenBSD/5.7/packages/amd64/gcal-3.6.3p0.tgz][?]: 
Error while reading header
 at /usr/libdata/perl5/OpenBSD/Ustar.pm line 89.

These error messages are less than clear about the underlying permissions 
problem, especially when -v is omitted.  (-v is what produces the first 
line of output: 'pkg_add should be run as root'.)

It is desirable to me (a) to run pkg_add -n as a non-root user and (b) 
that non-root users are unable to write to the PKG_CACHE directory.  One 
solution is for pkg_add(1) to silently omit the attempt to copy the 
package to an unwritable $PKG_CACHE.  Below is a diff that does that, and 
modifies pkg_add(1)'s man page accordingly.

I realize this should go to tech@, but I'm worried that I'm being dumb in 
some kind of way, and my understanding is that dumb posts, if they must 
occur, are better sent to misc@ first for vetting.  :)

Index: pkg_add.1
===
RCS file: /cvs/src/usr.sbin/pkg_add/pkg_add.1,v
retrieving revision 1.132
diff -u -p -r1.132 pkg_add.1
--- pkg_add.1   16 Apr 2015 20:01:39 -  1.132
+++ pkg_add.1   2 Jul 2015 19:00:43 -
@@ -188,7 +188,8 @@ or
 If the environment variable
 .Ev PKG_CACHE
 is set to a directory name, every package retrieved from a distant location
-will also be copied here.
+will also be copied here, provided pkg_add has write permission to that 
+directory
 .Pp
 Some packages may depend on other packages.
 When resolving dependencies
@@ -371,7 +372,7 @@ Don't actually install a package, just r
 would be taken if it was.
 Will still copy packages to
 .Ev PKG_CACHE
-if applicable.
+if applicable and if pkg_add has write permission to that directory.
 .It Fl P Ar type
 Check permissions for distribution, where
 .Ar type
@@ -745,7 +746,7 @@ if no
 option is specified.
 .It Ev PKG_CACHE
 If set, any package retrieved from a distant location will be copied to
-that directory as well.
+that directory as well, if pkg_add has write permission to that directory.
 .It Ev PKG_PATH
 If a given package name cannot be found,
 the directories named by
Index: OpenBSD/PackageRepository.pm
===
RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm,v
retrieving revision 1.113
diff -u -p -r1.113 PackageRepository.pm
--- OpenBSD/PackageRepository.pm4 Mar 2015 13:55:32 -   1.113
+++ OpenBSD/PackageRepository.pm2 Jul 2015 19:00:44 -
@@ -534,7 +534,7 @@ sub open_pipe
$object-{pid2} = $pid2;
} else {
open STDERR, '', $object-{errors};
-   if (defined $object-{cache_dir}) {
+   if (defined $object-{cache_dir} and -w $object-{cache_dir}) {
my $pid3 = open(my $in, -|);
$self-did_it_fork($pid3);
if ($pid3) {



Re: [OFFTOPIC] Re: Order Acknowledgement from OpenBSD Store - Order No. 40393

2015-07-02 Thread Maurice McCarthy

On 2015-07-02 18:10, Jorge Gabriel Lopez Paramount wrote:

Hi all,

I know this is not related to OpenBSD directly but hope someone might
help; I ordered a CD set and a rucksack more than one month ago and I
have not received them yet so I'm wondering what happened. I tried to
write to the orders email address of the OpenBSD Store but got no
response.

I spent that money mainly as a contribution but would not mind
receiving those goods, if someone have an idea how I could contact 
the

Store besides calling I would appreciate it.

--
Best regards,
Jorge Lopez.


This is the contact page for the store

https://www.openbsdstore.com/cgi-bin/live/ecommerce.pl?site=shop_openbsdeurope_comstate=pagepage=contact

They usually answer queries to ord...@openbsdstore.com very quickly
M