Re: [LaTeX] Missing enumitem.sty

2014-06-12 Thread Antoine Jacoutot
On Wed, Jun 11, 2014 at 03:54:32PM +0200, Xiánwén Chén wrote:
 Hi Antonie,
 
 Thank you. That really helped.
 
 By the way, pkglocate is not a standard system binary, is it? Does it come
 by with another package?

Yes it comes with the pkglocatedb package.

-- 
Antoine



Re: Duplicating a disk

2014-06-12 Thread Maurice McCarthy
Just curious but is sdd any quicker than dd?
Moss

$ pkg_info sdd
Information for inst:sdd-1.52p0

Comment:
faster and improved version of dd

Description:
sdd is a replacement for dd(1).

- Much faster than dd in cases where input block size (ibs) is not equal
  to the output block size (obs).
- sdd does not share the design bugs of dd that cause fragments to be
  read from a pipe and filled up to input block size.
- Statistics are much better readable than from 'dd'.
- rmt support for if=  of=
- Output file is sync'd before doing statistic report.
- Timing available, -time option will print transfer speed
- Timing  Statistics available at any time with SIGQUIT (^\)
- Can seek on input and output
- Fast null input
- Fast null output
- Reblocking on pipes does not fill small input blocks to 
  input block size
- Debug printing
- Progress printing

Maintainer: Christian Weisgerber na...@openbsd.org



Re: Duplicating a disk

2014-06-12 Thread Nick Holland
On 06/11/14 21:26, Nick Holland wrote:
 On 06/11/14 15:55, Christian Weisgerber wrote:
 On 2014-06-11, Peter Fraser p...@thinkage.ca wrote:
 ...
 Also for dd the block size has always been a puzzle.
 
 For accessing a raw device you want it to be a multiple of the
 sector size of the device (512 bytes for most disks) and there is
 usually no point in making it bigger than MAXPHYS (64k on OpenBSD),
 i.e., the maximal size of a single I/O transfer the kernel handles;
 larger reads or writes will be broken up into multiple transfers.
 
 I've heard this a number of times...and yet my testing on hardware I've
 had in front of me (i.e., your throughput may vary) has shown that
 bs=1M does give substantially better throughput when zeroing disks than
 32k, and last time I did extensive testing in this, sizes larger than
 1MB give even better throughput, though the return gets very small after
 around 1MB -- so I usually use 1MB so a pkill -INFO dd will give me an
 indication of the progress in easy to read terms, which I find more
 useful than a 1% reduction in time.
 
 I'm just reporting an observation, not explaining it. :)
 
 Nick.
 

NNNDDD...  It was pointed out I missed the fact that my example
(reading from /dev/zero) is quite different than reading from another disk.

So...your results WILL vary...

(I still like 1M block size for purpose of -INFO output ... but that
wasn't the question)

Nick.



Re: [LaTeX] Missing enumitem.sty

2014-06-12 Thread Xiánwén Chén
Thank you Antoine.

Kind regards,

Xianwen


On Wed, Jun 11, 2014 at 4:05 PM, Antoine Jacoutot ajacou...@bsdfrog.org
wrote:

 On Wed, Jun 11, 2014 at 03:54:32PM +0200, Xiánwén Chén wrote:
  Hi Antonie,
 
  Thank you. That really helped.
 
  By the way, pkglocate is not a standard system binary, is it? Does it
 come
  by with another package?

 Yes it comes with the pkglocatedb package.

 --
 Antoine




--
Xianwen Chen | xchen.tk



OBSD 5.5, netstat -s udp, Counter delivered with a neg value

2014-06-12 Thread Stefan Krüger
Hi,

I noticed an exceptional large UDP netstat counter today:

$ netstat -s -p udp
udp:
85251 datagrams received
0 with incomplete header
0 with bad data length field
72917 with bad checksum
0 with no checksum
188310 input packets software-checksummed
155001 output packets software-checksummed
6189 dropped due to no socket
14484 broadcast/multicast datagrams dropped due to no socket
0 dropped due to missing IPsec protection
0 dropped due to full socket buffers
**
18446744073709543277 delivered
**
72024 datagrams output
67498 missed PCB cache

According to http://grok.qc.to/xref/openbsd/usr.bin/netstat/inet.c#413,
delivered is

u_long delivered;
...
delivered = udpstat.udps_ipackets - udpstat.udps_hdrops -
 udpstat.udps_badlen - udpstat.udps_badsum -
 udpstat.udps_noport - udpstat.udps_noportbcast -
 udpstat.udps_fullsock;

Which is in my case:

udps_ipackets = 85251 datagrams received
udps_hdrops   = 0 with incomplete header
udps_badlen   = 0 with bad data length field
udps_badsum   = 72917 with bad checksum
udps_noport   =  6189 dropped due to no socket
udps_noportbcast = 14484 broadcast/multicast datagrams dropped due to no socket
udps_fullsock = 0 dropped due to full socket buffers

So delivered is (signed) -8339.

This doesn't look right. Should I be worried? Is that a bug?

PS: OpenBSD puffy.example.tld 5.5 GENERIC.MP#0 amd64



Re: Vision 2020: Making OpenBSD the world's fastest OS

2014-06-12 Thread Stuart Henderson
On 2014-06-11, Fred open...@crowsons.com wrote:
 On 06/11/14 15:16, Carsten Kunze wrote:
 - Original Nachricht 
 Von: Rodrigo Mosconi open...@mosconi.mat.br
 An:  Carsten Kunze carsten.ku...@arcor.de
 Datum:   11.06.2014 16:05
 Betreff: Re: Vision 2020: Making OpenBSD the world's fastest OS

 What is the output from echo $?, after you run the getent ...  command?

 $ getent hosts `hostname`
 $ echo $?
 0


 `hostname` should be replaced with a host...eg:

Actually I meant exactly what I typed - the relevant thing here
is whether there is a delay looking up the local hostname.



Re: OpenBSD 5.5 on mSATA SSD unit in PC Engines APU.1C - bad dir ino 2 at offset 0: mangled entry kernel panic

2014-06-12 Thread Stuart Henderson
On 2014-06-11, Chris Cappuccio ch...@nmedia.net wrote:
 SD on APU is USB, and it works fine, although my SD card to test is so 
 pathetically slow that 'noatime' on fliesystem mounts makes a noticeable
 difference. It seems like every bit of disk activity big or small
 has some large waiting time with this random, old SD card.

Same on a random new SD card.


OpenBSD 5.5-current (GENERIC.MP) #85: Sun Apr 27 09:24:33 MDT 2014
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2098511872 (2001MB)
avail mem = 2033987584 (1939MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7e16d820 (6 entries)
bios0: vendor coreboot version SageBios_PCEngines_APU-45 date 04/05/2014
bios0: PC Engines APU
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SPCR HPET APIC HEST SSDT SSDT SSDT
acpi0: wakeup devices AGPB(S4) HDMI(S4) PBR4(S4) PBR5(S4) PBR6(S4) PBR7(S4) 
PE20(S4) PE21(S4) PE22(S4) PE23(S4) PIBR(S4) UOH1(S3) UOH2(S3) UOH3(S3) 
UOH4(S3) UOH5(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD G-T40E Processor, 1000.13 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD G-T40E Processor, 1000.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC
cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: 8 4MB entries fully associative
cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins
acpiprt0 at acpi0: bus -1 (AGPB)
acpiprt1 at acpi0: bus -1 (HDMI)
acpiprt2 at acpi0: bus 1 (PBR4)
acpiprt3 at acpi0: bus 2 (PBR5)
acpiprt4 at acpi0: bus 3 (PBR6)
acpiprt5 at acpi0: bus -1 (PBR7)
acpiprt6 at acpi0: bus 5 (PE20)
acpiprt7 at acpi0: bus -1 (PE21)
acpiprt8 at acpi0: bus -1 (PE22)
acpiprt9 at acpi0: bus -1 (PE23)
acpiprt10 at acpi0: bus 0 (PCI0)
acpiprt11 at acpi0: bus 4 (PIBR)
acpicpu0 at acpi0: C2, PSS
acpicpu1 at acpi0: C2, PSS
acpibtn0 at acpi0: PWRB
cpu0: 1000 MHz: speeds: 1000 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 AMD AMD64 14h Host rev 0x00
ppb0 at pci0 dev 4 function 0 AMD AMD64 14h PCIE rev 0x00: msi
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E (0x2c00), 
msi, address 00:0d:b9:32:ff:b4
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 4
ppb1 at pci0 dev 5 function 0 AMD AMD64 14h PCIE rev 0x00: msi
pci2 at ppb1 bus 2
re1 at pci2 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E (0x2c00), 
msi, address 00:0d:b9:32:ff:b5
rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 4
ppb2 at pci0 dev 6 function 0 AMD AMD64 14h PCIE rev 0x00: msi
pci3 at ppb2 bus 3
re2 at pci3 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E (0x2c00), 
msi, address 00:0d:b9:32:ff:b6
rgephy2 at re2 phy 7: RTL8169S/8110S PHY, rev. 4
ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x40: apic 2 int 19, AHCI 
1.2
scsibus1 at ahci0: 32 targets
ohci0 at pci0 dev 18 function 0 ATI SB700 USB rev 0x00: apic 2 int 18, 
version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 ATI SB700 USB2 rev 0x00: apic 2 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 ATI EHCI root hub rev 2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 ATI SB700 USB rev 0x00: apic 2 int 18, 
version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 ATI SB700 USB2 rev 0x00: apic 2 int 17
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 ATI EHCI root hub rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 ATI SBx00 SMBus rev 0x42: polling
iic0 at piixpm0
pcib0 at pci0 dev 20 function 3 ATI SB700 ISA rev 0x40
ppb3 at pci0 dev 20 function 4 ATI SB600 PCI rev 0x40
pci4 at ppb3 bus 4
ohci2 at pci0 dev 20 function 5 ATI SB700 USB rev 0x00: apic 2 int 18, 
version 1.0, legacy support
ppb4 at pci0 dev 21 function 0 ATI SB800 PCIE rev 0x00
pci5 at ppb4 bus 5
ohci3 at pci0 dev 22 function 0 ATI SB700 USB rev 0x00: apic 2 int 18, 
version 1.0, legacy support
ehci2 at pci0 dev 22 function 2 ATI SB700 USB2 rev 0x00: apic 2 

Re: Vision 2020: Making OpenBSD the world's fastest OS

2014-06-12 Thread InterNetX - Robert Garrett
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If this does not return something, your configuration is broken. period.

this one little thing, that so many people ignore, slows down
everything.. even if you have dns properly configured. Set the hosts
file on your machine properly.

You will be surprised at how much faster it boots, and everything else
runs. This is true on all forms of unix.

RG

On 06/12/2014 04:16 PM, Stuart Henderson wrote:
 getent hosts `hostname`


Mit freundlichen Grüßen

Robert Garrett
Senior System Engineer
Technical Projects  Solutions
- --
InterNetX GmbH
Maximilianstr. 6
93047 Regensburg
Germany

Tel. +49 941 59559-480
Fax  +49 941 59559-245

www.internetx.com
www.facebook.com/InterNetX
www.twitter.com/InterNetX

Geschäftsführer/CEO: Thomas Mörz
Amtsgericht Regensburg, HRB 7142
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTmcsAAAoJEMrvovfl62c8IxQIAJ1otdNkvrklKnCccQwX7DPw
KSJG2UZxX5pU/QwzpJUlNiTxeYXJ8pAuszz8+HC8u/S7Oj2Z0hZ8XykXP+YALg/b
6T/U2Bj8sqf/aV50PKEuXy2TGle8SYikqeBi3NMFsLrZ2bmx237TMWSPl+AWuHBl
h/uAwfYhBqvtFj9gUS9x8fZhyCm6wpelsofuHX/wL5AIfWnvZxkUV2cnp6aI10pN
84+pIfxllyBbR51+OwiBi9tVGgW4gzMq3uxskyepSO8XOEW3l+d9GRxkuuAIZ1cv
Z9mrmsJhWcwuJ84JIgoNRvGQ0MM1u/JkX1pH+lh72L57Ghg8c6nXhexbOf3m9b8=
=0BHs
-END PGP SIGNATURE-



Re: Duplicating a disk -- some timings

2014-06-12 Thread Peter Fraser
Timing on a 4.9 gig partition

# time dd if=/dev/rwd0d of=/dev/rwd1d bs=64k conv=noerror
time dd if=/dev/rwd0d of=/dev/rwd1d bs=64k conv=noerror
81956+1 records in
81956+1 records out
5371101184 bytes transferred in 90.720 secs (59204871 bytes/sec)
1m30.75s real 0m0.07s user 0m6.12s system

# time dd if=/dev/rwd0d of=/dev/rwd1d bs=64m conv=noerror
time dd if=/dev/rwd0d of=/dev/rwd1d bs=64m conv=noerror
80+1 records in
80+1 records out
5371101184 bytes transferred in 177.356 secs (30284285 bytes/sec)
2m57.44s real 0m0.00s user 0m6.80s system

time dd if=/dev/rwd0d of=/dev/rwd1d bs=1m conv=noerror
time dd if=/dev/rwd0d of=/dev/rwd1d bs=1m conv=noerror
5122+1 records in
5122+1 records out
5371101184 bytes transferred in 98.884 secs (54316759 bytes/sec)
1m39.01s real 0m0.01s user 0m6.15s system

# time dd if=/dev/rwd0d of=/dev/rwd1d bs=32k conv=noerror
time dd if=/dev/rwd0d of=/dev/rwd1d bs=32k conv=noerror
163913+0 records in
163913+0 records out
5371101184 bytes transferred in 92.276 secs (58206851 bytes/sec)
1m32.42s real 0m0.11s user 0m9.71s system

# time ( dd if=/dev/rwd0d  bs=64k | dd of=/dev/rwd1d bs=64k conv=noerror )
time ( dd if=/dev/rwd0d  bs=64k | dd of=/dev/rwd1d bs=64k conv=noerror )
81956+1 records in
81956+1 records out
5371101184 bytes transferred in 91.064 secs (58981483 bytes/sec)
81956+1 records in
81956+1 records out
5371101184 bytes transferred in 91.063 secs (58981662 bytes/sec)
1m31.20s real 0m0.07s user 0m11.44s system



Simple Desktop

2014-06-12 Thread J. Scott Heppler

This is to let the community know of another OpenBSD desktop option.
The motivation was to have an environment that was free of pulseaudio,
systemd, hal, udev and other linuxisms.  In some ways it is
a throwback as it contains configuration files that I have been fine
tuning for years (example: the midnight commander ini file has been updated
openoffice - libreoffice).  A similar effort is underway as the PC-BSD
Lumina desktop.  I envision that a patch of the ini file could be
submitted back to the midnight commander maintainer.

I believe that it could be made into a meta-port although I am on the
learning curve as far as porting goes. I am open to suggestions and will
attempt to incorporate bugfixes and suggestion that are consistent with
the overall goal of the project.


Feel free to do what ever you want with it.  The pieces to build the
desktop are at DaemonForums due to a lack of webspace on my part.

http://daemonforums.org/showthread.php?t=8489 


--
Scott H.



Re: Vision 2020: Making OpenBSD the world's fastest OS

2014-06-12 Thread Carsten Kunze
- Original Nachricht 
Von: InterNetX - Robert Garrett robert.garr...@internetx.com
An:  misc@openbsd.org
Datum:   12.06.2014 17:45
Betreff: Re: Vision 2020: Making OpenBSD the world's fastest OS

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 If this does not return something, your configuration is broken. period.
 
 this one little thing, that so many people ignore, slows down
 everything.. even if you have dns properly configured. Set the hosts
 file on your machine properly.
 
 You will be surprised at how much faster it boots, and everything else
 runs. This is true on all forms of unix.

/etc/hosts is:

# cat /etc/hosts
#   $OpenBSD: hosts,v 1.12 2009/03/10 00:42:13 deraadt Exp $
#
# Host Database
#
# RFC 1918 specifies that these networks are internal.
# 10.0.0.0  10.255.255.255
# 172.16.0.0172.31.255.255
# 192.168.0.0   192.168.255.255
#
127.0.0.1   localhost
::1 localhost

What would you expect there?

(DNS resolution in general is fast on my system.)

--Carsten



Re: Vision 2020: Making OpenBSD the world's fastest OS

2014-06-12 Thread Carsten Kunze
- Original Nachricht 
Von: InterNetX - Robert Garrett robert.garr...@internetx.com
An:  misc@openbsd.org
Datum:   12.06.2014 17:45
Betreff: Re: Vision 2020: Making OpenBSD the world's fastest OS

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 If this does not return something, your configuration is broken. period.
 
 this one little thing, that so many people ignore, slows down
 everything.. even if you have dns properly configured. Set the hosts
 file on your machine properly.
 
 You will be surprised at how much faster it boots, and everything else
 runs. This is true on all forms of unix.

My mistake--to send the mails I had been connected to internet. The name in 
/etc/myname is only vaild in the local net. When I change the network 
connection the output of

getent hosts `hostname`

is of the form

IP address hostname.domainname

So everything seems to be ok...

--Carsten



Re: Vision 2020: Making OpenBSD the world's fastest OS

2014-06-12 Thread Fred

On 06/12/14 15:16, Stuart Henderson wrote:

On 2014-06-11, Fred open...@crowsons.com wrote:

On 06/11/14 15:16, Carsten Kunze wrote:

- Original Nachricht 
Von: Rodrigo Mosconi open...@mosconi.mat.br
An:  Carsten Kunze carsten.ku...@arcor.de
Datum:   11.06.2014 16:05
Betreff: Re: Vision 2020: Making OpenBSD the world's fastest OS


What is the output from echo $?, after you run the getent ...  command?


$ getent hosts `hostname`
$ echo $?
0



`hostname` should be replaced with a host...eg:


Actually I meant exactly what I typed - the relevant thing here
is whether there is a delay looking up the local hostname.



I was being a muppet - I didn't notice the `back ticks`

(~:



Re: OpenBSD 5.5 on mSATA SSD unit in PC Engines APU.1C - bad dir ino 2 at offset 0: mangled entry kernel panic

2014-06-12 Thread Chris Cappuccio
Happy to report that Plextor M6M (msata) passes all the tests so far,
unlike msata Sandisk X110.



CWM has all groups application?

2014-06-12 Thread Rodrigo Mosconi
Hi guys,

I would like to know if is possible to make an application (xclock, for
example) to be always present, regardless the selected group.
On my configuration I have a gap, where I place xclock without group.  When
I use grouponlyN all applications hides (ok, described behavior),
including xclock.

Is possible to make xclock  present on all groups?

I understood from cwm(1) and cwmrc(5) that an application can be member of
only one group or no group.  Is that true?

If does not exists allgroups, that feature is interesting to be added?

Thanks



Re: ftp.fr mirror is going down

2014-06-12 Thread Antoine Jacoutot

So, ftp.fr should be back in about 10 days in full shape on a much
much better hardware for a long time hopefully ;-)
Sorry for the inconvenience.


ftp.fr is back.
Please hit it hard and let me know of any issue.
Thank you!

--
Antoine



Re: ftp.fr mirror is going down

2014-06-12 Thread Antoine Jacoutot
 ftp.fr is back.
 Please hit it hard and let me know of any issue.

I forgot to mention that the machine got re-installed so the ssh fingerprint 
changed.

-- 
Antoine



jun 12 snapshot freeze on boot.

2014-06-12 Thread Rodrigo Mosconi
Hi,

I update a machine from May 10 snapshot to a Jun 12 snapshots, and the
system freezes.
It is a virtual machine (hosted-KVM, so I don`t now the versions).  The
bsd.rd boots fine.

Anyone has any clue?

Follow dmesg

Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2014 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 5.5-current (GENERIC) #183: Thu Jun 12 12:51:28 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1056944128 (1007MB)
avail mem = 1020133376 (972MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x3ef0 (10 entries)
bios0: vendor Bochs version Bochs date 01/01/2007
bios0: Bochs Bochs
acpi0 at bios0: rev 0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HPET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: QEMU Virtual CPU version 0.12.3, 2600.51 MHz
cpu0:
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,POPCNT,NXE,LONG,LAHF,ABM,SSE4A,PERF
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 1000MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpihpet0 at acpi0: 1 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02
pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00
pciide0 at pci0 dev 1 function 1 Intel 82371SB IDE rev 0x00: DMA, channel
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: QEMU HARDDISK
wd0: 16-sector PIO, LBA48, 20480MB, 41943040 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: QEMU, QEMU DVD-ROM, 0.12 ATAPI 5/cdrom
removable
wd0(pciide0:0:0): using PIO mode 0, DMA mode 2
cd0(pciide0:0:1): using PIO mode 0
atapiscsi1 at pciide0 channel 1 drive 0
scsibus2 at atapiscsi1: 2 targets
cd1 at scsibus2 targ 0 lun 0: QEMU, QEMU DVD-ROM, 0.12 ATAPI 5/cdrom
removable
cd1(pciide0:1:0): using PIO mode 0
uhci0 at pci0 dev 1 function 2 Intel 82371SB USB rev 0x01: apic 1 int 11
piixpm0 at pci0 dev 1 function 3 Intel 82371AB Power rev 0x03: apic 1 int
9
iic0 at piixpm0
iic0: addr 0x18 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words
00= 01= 02= 03= 04= 05= 06= 07=
iic0: addr 0x1a 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words
00= 01= 02= 03= 04= 05= 06= 07=
iic0: addr 0x29 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words
00= 01= 02= 03= 04= 05= 06= 07=
iic0: addr 0x2b 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words
00= 01= 02= 03= 04= 05= 06= 07=
iic0: addr 0x4c 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words
00= 01= 02= 03= 04= 05= 06= 07=
iic0: addr 0x4e 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words
00= 01= 02= 03= 04= 05= 06= 07=
vga1 at pci0 dev 2 function 0 Cirrus Logic CL-GD5446 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em0 at pci0 dev 3 function 0 Intel 82540EM rev 0x03: apic 1 int 11,
address 52:54:00:27:29:09
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: density unknown
fd1 at fdc0 drive 1: density unknown
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
nvram: invalid checksum



Re: jun 12 snapshot freeze on boot.

2014-06-12 Thread Rodrigo Mosconi
Follow bsd.rd dmesg:

Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2014 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 5.5-current (RAMDISK_CD) #182: Thu Jun 12 13:02:18 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 1056944128 (1007MB)
avail mem = 1023508480 (976MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x3ef0 (10 entries)
bios0: vendor Bochs version Bochs date 01/01/2007
bios0: Bochs Bochs
acpi0 at bios0: rev 0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HPET
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: QEMU Virtual CPU version 0.12.3, 2600.50 MHz
cpu0:
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,POPCNT,NXE,LONG,LAHF,ABM,SSE4A,PERF
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
64b/line 16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: apic clock running at 1000MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02
Intel 82371SB ISA rev 0x00 at pci0 dev 1 function 0 not configured
pciide0 at pci0 dev 1 function 1 Intel 82371SB IDE rev 0x00: DMA, channel
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: QEMU HARDDISK
wd0: 16-sector PIO, LBA48, 20480MB, 41943040 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: QEMU, QEMU DVD-ROM, 0.12 ATAPI 5/cdrom
removable
wd0(pciide0:0:0): using PIO mode 0, DMA mode 2
cd0(pciide0:0:1): using PIO mode 0
atapiscsi1 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: QEMU, QEMU DVD-ROM, 0.12 ATAPI 5/cdrom
removable
cd1(pciide0:1:0): using PIO mode 0
uhci0 at pci0 dev 1 function 2 Intel 82371SB USB rev 0x01: apic 1 int 11
Intel 82371AB Power rev 0x03 at pci0 dev 1 function 3 not configured
vga1 at pci0 dev 2 function 0 Cirrus Logic CL-GD5446 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
em0 at pci0 dev 3 function 0 Intel 82540EM rev 0x03: apic 1 int 11,
address 52:54:00:27:29:09
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at mainbus0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
softraid0 at root
scsibus2 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b



2014-06-12 20:29 GMT-03:00 Rodrigo Mosconi open...@mosconi.mat.br:

 Hi,

 I update a machine from May 10 snapshot to a Jun 12 snapshots, and the
 system freezes.
 It is a virtual machine (hosted-KVM, so I don`t now the versions).  The
 bsd.rd boots fine.

 Anyone has any clue?

 Follow dmesg

 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2014 OpenBSD. All rights reserved.
 http://www.OpenBSD.org

 OpenBSD 5.5-current (GENERIC) #183: Thu Jun 12 12:51:28 MDT 2014
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
 real mem = 1056944128 (1007MB)
 avail mem = 1020133376 (972MB)
 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x3ef0 (10 entries)
 bios0: vendor Bochs version Bochs date 01/01/2007
 bios0: Bochs Bochs
 acpi0 at bios0: rev 0
 acpi0: sleep states S3 S4 S5
 acpi0: tables DSDT FACP SSDT APIC HPET
 acpi0: wakeup devices
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: QEMU Virtual CPU version 0.12.3, 2600.51 MHz
 cpu0:
 FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,POPCNT,NXE,LONG,LAHF,ABM,SSE4A,PERF
 cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
 64b/line 16-way L2 cache
 cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
 cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
 cpu0: apic clock running at 1000MHz
 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 1
 acpihpet0 at acpi0: 1 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpicpu0 at acpi0
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02
 pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00
 pciide0 at pci0 dev 1 function 1 Intel 

Re: xSSL stuff

2014-06-12 Thread Christian Pedaschus
On Tue, 10 Jun 2014 12:14:46 -0600
Theo de Raadt dera...@cvs.openbsd.org wrote:

  I was reading stuff in misc@ about OpenSSL broken things. I see
  people from OpenBSD started LibreSSL project and they are forking
  OpenSSL and remove the bad code. This is past, but I see more and
  more lesions are discovered. It may be a stupid question, but
  having all these, isn't more efficient to start LibreSSL from zero?
 
 Impossible.
 
 The OpenSSL API was built up through accretion over almost 2 decades.
 It is fat, bloated, repetitive, and tricky.  In general, application
 authors have chosen to use the first API's they spot which provide the
 functionality they need.  As a result, almost all of the bloated API
 is potentially used in the greater ecosystem.
 
 It is quite simply impossible to reinvent this particular wheel.  Any
 effort to reinvent it would be highly incompatible.  Features and
 warts are too closely coupled.

wouldn't it be a feature?
less warts, less bugs, less features, less compatible, but secure? 

how many ciphers do we need, to retrieve websites/mails over a secure
channel? (i'm not a crypto guy, would love to get an answer. my bet: 1).

are exotic 1995 devices really worth the trouble?

regards, chris



Re: xSSL stuff

2014-06-12 Thread Brad Smith

On 12/06/14 11:43 PM, Christian Pedaschus wrote:

On Tue, 10 Jun 2014 12:14:46 -0600
Theo de Raadt dera...@cvs.openbsd.org wrote:


I was reading stuff in misc@ about OpenSSL broken things. I see
people from OpenBSD started LibreSSL project and they are forking
OpenSSL and remove the bad code. This is past, but I see more and
more lesions are discovered. It may be a stupid question, but
having all these, isn't more efficient to start LibreSSL from zero?


Impossible.

The OpenSSL API was built up through accretion over almost 2 decades.
It is fat, bloated, repetitive, and tricky.  In general, application
authors have chosen to use the first API's they spot which provide the
functionality they need.  As a result, almost all of the bloated API
is potentially used in the greater ecosystem.

It is quite simply impossible to reinvent this particular wheel.  Any
effort to reinvent it would be highly incompatible.  Features and
warts are too closely coupled.


wouldn't it be a feature?
less warts, less bugs, less features, less compatible, but secure?


What good is having a brand new from scratch API when almost nothing
uses it? There are thousands of apps / libraries using OpenSSL. Are YOU
going to go to each and every project and write SSL code for each
respective project to add support for this from scratch API?

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: xSSL stuff

2014-06-12 Thread Christian Pedaschus
On Thu, 12 Jun 2014 23:51:58 -0400
Brad Smith b...@comstyle.com wrote:

 On 12/06/14 11:43 PM, Christian Pedaschus wrote:
  wouldn't it be a feature?
  less warts, less bugs, less features, less compatible, but secure?
 
 What good is having a brand new from scratch API when almost nothing
 uses it? There are thousands of apps / libraries using OpenSSL. Are
 YOU going to go to each and every project and write SSL code for each
 respective project to add support for this from scratch API?
 

One could have said the same about OpenSSH... or not?



Re: xSSL stuff

2014-06-12 Thread Brad Smith

On 12/06/14 11:59 PM, Christian Pedaschus wrote:

On Thu, 12 Jun 2014 23:51:58 -0400
Brad Smith b...@comstyle.com wrote:


On 12/06/14 11:43 PM, Christian Pedaschus wrote:

wouldn't it be a feature?
less warts, less bugs, less features, less compatible, but secure?


What good is having a brand new from scratch API when almost nothing
uses it? There are thousands of apps / libraries using OpenSSL. Are
YOU going to go to each and every project and write SSL code for each
respective project to add support for this from scratch API?



One could have said the same about OpenSSH... or not?


That doesn't even make any sense.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Fw: xSSL stuff

2014-06-12 Thread Christian Pedaschus
ups, forgot to cc the list...

On Thu, 12 Jun 2014 23:59:46 -0400
Brad Smith b...@comstyle.com wrote:

 On 12/06/14 11:59 PM, Christian Pedaschus wrote:
  On Thu, 12 Jun 2014 23:51:58 -0400
  Brad Smith b...@comstyle.com wrote:
 
  On 12/06/14 11:43 PM, Christian Pedaschus wrote:
  wouldn't it be a feature?
  less warts, less bugs, less features, less compatible, but secure?
 
  What good is having a brand new from scratch API when almost
  nothing uses it? There are thousands of apps / libraries using
  OpenSSL. Are YOU going to go to each and every project and write
  SSL code for each respective project to add support for this from
  scratch API?
 
 
  One could have said the same about OpenSSH... or not?
 
 That doesn't even make any sense.
 

What i was trying to say:
if OpenBSD does it right, then (maybe) the others will follow...
not? 
ok!
Fine for me, just threw my 2 cents into the discussion

Just keep going, i'm sure you guys do the right thing!

regards, chris