rwhod in 5.9 ?

2016-05-03 Thread stan
Building 5.9 machines to replace 5.5 ones. Looking in /usr/src on the 5.9
machines, I do not see the code for rwhod. Has this been removed, and if
so, why? We use this on all of our mahcines.


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



rwhod

2016-05-02 Thread stan
Preparing to upgrade some 5.5 machines to 5.9

I seem to be missing /usr/sbin/rwhod on a freshly installed 5.9 machine.
Is there soemthing special I have to do to get this isnalled?


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: FW: Re: watchdog suport for new hardware

2016-04-28 Thread stan
On Thu, Apr 28, 2016 at 02:18:25PM +0100, Stuart Henderson wrote:
> On 2016/04/28 08:56, stan wrote:
> > On Thu, Apr 28, 2016 at 08:44:49AM +0100, Stuart Henderson wrote:
> > > Stan, can you send the information that is output when you run
> > > sendbug -P as root? Just putting the whole thing inline in a
> > > reply-to-all to this mail would be fine. Please add "sysctl hw"
> > > output as well. Ideally we want a way to identify the watchdog
> > > itself rather than the general machine type etc. which is why
> > > I'm hoping they follow Microsoft's spec (which is the de-facto 
> > > standard for this).
> > 
> > 
> > Sorry got distracted and frgot to cc the list.
> 
> OK, pity, there doesn't seem to be anything to properly identify
> the watchdog in acpi tables. Just the vendor-specific thing which
> needs reading to figure things out further. If they had followed
> the usual spec then the driver would have been *very* generally
> useful.
> 
> In that case maybe the approach would be to do something similar
> to acpithinkpad, but matching SECD instead of MHKV, and then
> looking for the SEL0002 HID. But I only know a bit about how
> to find my way round the decompiled files, so ignore me if
> a real ACPI hacker steps in with a better idea ;)
> 
> > hw.vendor=Schweitzer Engineering Laboratories, Inc.
> > hw.product=SEL-3355
> 
> An alternative might be to match on vendor/product, see the last
> commit to sys/dev/ic/re.c for how to do this, but then you're
> having to look at fixed addresses which they seem to be providing
> via acpi.
> 

As I look at what the vendor did, I discover they were working in the
arch/i386 codebase. 2 questions. First should this not be in amd64, as this
is a 64 bit machine, and if so does that change any of the discussions as to
how to detect the hardware?


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: FW: Re: watchdog suport for new hardware

2016-04-28 Thread stan
On Thu, Apr 28, 2016 at 02:18:25PM +0100, Stuart Henderson wrote:
> On 2016/04/28 08:56, stan wrote:
> > On Thu, Apr 28, 2016 at 08:44:49AM +0100, Stuart Henderson wrote:
> > > Stan, can you send the information that is output when you run
> > > sendbug -P as root? Just putting the whole thing inline in a
> > > reply-to-all to this mail would be fine. Please add "sysctl hw"
> > > output as well. Ideally we want a way to identify the watchdog
> > > itself rather than the general machine type etc. which is why
> > > I'm hoping they follow Microsoft's spec (which is the de-facto 
> > > standard for this).
> > 
> > 
> > Sorry got distracted and frgot to cc the list.
> 
> OK, pity, there doesn't seem to be anything to properly identify
> the watchdog in acpi tables. Just the vendor-specific thing which
> needs reading to figure things out further. If they had followed
> the usual spec then the driver would have been *very* generally
> useful.
> 
> In that case maybe the approach would be to do something similar
> to acpithinkpad, but matching SECD instead of MHKV, and then
> looking for the SEL0002 HID. But I only know a bit about how
> to find my way round the decompiled files, so ignore me if
> a real ACPI hacker steps in with a better idea ;)
> 
> > hw.vendor=Schweitzer Engineering Laboratories, Inc.
> > hw.product=SEL-3355
> 
> An alternative might be to match on vendor/product, see the last
> commit to sys/dev/ic/re.c for how to do this, but then you're
> having to look at fixed addresses which they seem to be providing
> via acpi.
> 

Let me apologize right here for my lack of knowledge as to low level
hardware coding.

So, given that, please help me to understand why reading the DSDT ACPI
table and finding the SEL0002 is not the correct solution here?  BTW, they
also identify an SEL0001 device, but I have not asked them what that is,
and )so far) I do not need to know. For what it is worth this hardware
vendor has been very helpful, and the corporate philosophy is to do things
"the right way". For instance, they released code to support this device for
Linux. When I talked to them, i brought up liscneing concerns with the
BSD's. The reply was, already been there, thought about that. It is dual
GPL, and BSD liscneced. Really a pleasant sunrise, as this is not in their
mainstream area of expertise. i was really pleased that the project team
had researched the OSS issues that well.




-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: FW: Re: watchdog suport for new hardware

2016-04-28 Thread stan
On Thu, Apr 28, 2016 at 08:44:49AM +0100, Stuart Henderson wrote:
> Stan, can you send the information that is output when you run
> sendbug -P as root? Just putting the whole thing inline in a
> reply-to-all to this mail would be fine. Please add "sysctl hw"
> output as well. Ideally we want a way to identify the watchdog
> itself rather than the general machine type etc. which is why
> I'm hoping they follow Microsoft's spec (which is the de-facto 
> standard for this).


Sorry got distracted and frgot to cc the list.


Script started on Thu Apr 28 08:45:28 2016
# sendbug -P
SENDBUG: -*- sendbug -*-
SENDBUG: Lines starting with `SENDBUG' will be removed automatically.
SENDBUG:
SENDBUG: Choose from the following categories:
SENDBUG:
SENDBUG: system user library documentation kernel alpha amd64 arm hppa i386 
m88k mips64 powerpc sh sparc sparc64 vax
SENDBUG:
SENDBUG:
To: b...@openbsd.org
Subject: 
From: root
Cc: root
Reply-To: root

>Synopsis:  
>Category:  
>Environment:
System  : OpenBSD 5.9
Details : OpenBSD 5.9 (GENERIC.MP) #0: Wed Apr 27 18:40:39 EDT 2016
 
r...@test.power.charleston.kapstonepaper.com:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:

>How-To-Repeat:

>Fix:


SENDBUG: dmesg, pcidump, acpidump and usbdevs are attached.
SENDBUG: Feel free to delete or use the -D flag if they contain sensitive 
information.

dmesg:
OpenBSD 5.9 (GENERIC.MP) #0: Wed Apr 27 18:40:39 EDT 2016

r...@test.power.charleston.kapstonepaper.com:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16991633408 (16204MB)
avail mem = 16472473600 (15709MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe0840 (59 entries)
bios0: vendor Schweitzer Engineering Laboratories, Inc. version "B_1.5.49152.2 
X64" date 12/18/2015
bios0: Schweitzer Engineering Laboratories, Inc. SEL-3355
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP SSDT HPET APIC MCFG FPDT ASF! SSDT SSDT SSDT SSDT UEFI 
POAT SSDT BERT HEST EINJ ERST UEFI UEFI DBG2
acpi0: wakeup devices P0P1(S0) GLAN(S0) EHC1(S0) EHC2(S0) HDEF(S0) PXSX(S0) 
PXSX(S0) PXSX(S0) PXSX(S0) PXSX(S0) RP08(S0) PEG1(S0) PEG3(S0)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-3612QE CPU @ 2.10GHz, 2095.58 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-3612QE CPU @ 2.10GHz, 2095.24 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-3612QE CPU @ 2.10GHz, 2095.24 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-3612QE CPU @ 2.10GHz, 2095.24 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
cpu4 at mainbus0: apid 4 (application processor)
cpu4: Intel(R) Core(TM) i7-3612QE CPU @ 2.10GHz, 2095.24 MHz
cpu4: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RD

Re: FW: Re: watchdog suport for new hardware

2016-04-28 Thread stan
On Thu, Apr 28, 2016 at 08:44:49AM +0100, Stuart Henderson wrote:
> Stan, can you send the information that is output when you run
> sendbug -P as root? Just putting the whole thing inline in a
> reply-to-all to this mail would be fine. Please add "sysctl hw"
> output as well. Ideally we want a way to identify the watchdog
> itself rather than the general machine type etc. which is why
> I'm hoping they follow Microsoft's spec (which is the de-facto 
> standard for this).

Absolutely. I am in the process of bailing a 5.9 machine to install this
on, so hopefully I can send this today.

Thanks for the interest in our issues.


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



OpenBSD mailserver success stories ?

2016-04-26 Thread stan
WE are in the early engineering stages of building a replacement system for
one that we installed about 25 years ago that has served us well, and aged
gracefully. However it is tied to some commercial software for a vendor that
long ago fell into the back hole of commercial software vendors. Yep, no
source code.

So, I am doing some soul searching. Our OS decision tree that is a legacy
from that time is as follows:

if faces the outside world, or is network curious (DNS for example) OS =
OpenBSD

else if OS need fancy GUI, or commercial software is involve OS = Linux

els OS = FreeBSD

this has served us well for many years, but it has been a long time since
we did anteing involving FreeBSD. Granted I still have solid machines
protected by modern OpenBSD fireballs, but ... I am thinking I may want to
go down to  2 choices for OS's. 

Given that, most of the things we are doing with FreeBSD,  Apache, Samba,
NFS etc, do not concern me as to doing them with OpenBSD. but I am a bit
concerned about the mailserver. We use it for internal mail, and it gets mail
from a large variety of systems, and devices, not all of which are modern.
also I offer our users many options for retrieving their mail. With this in
mid, I'd like to hear the experience of others using OpenBSD for
mailserver.

Thanks.

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



FW: Re: watchdog suport for new hardware

2016-04-26 Thread stan
- Forwarded message from stan <st...@panix.com> -

From: stan <st...@panix.com>
To: Theo de Raadt <dera...@cvs.openbsd.org>
Subject: Re: watchdog suport for new hardware
Date: Tue, 26 Apr 2016 09:19:20 -0400
User-Agent: Mutt/1.5.4i
X-Operating-System: Debian GNU/Linux
X-Kernel-Version: 2.4.23
X-Uptime: 09:17:17 up 91 days,  8:18,  1 user,  load average: 0.00, 0.02, 0.04
X-Editor: gVim

Hee is the core of the functionality:


/*  $OpenBSD: selwd.c,v 1.0 2016/04/01 05:00:00 jsg Exp $   */
/*
 * Copyright (c) 2016 PREMIER System Integrators
 *
 * Permission to use, copy, modify, and distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 *
 * Schweitzer Engineering Laboratories: SEL-3355 Embedded controller
*/

#include 
#include 
#include 
#include 
#include 
#include 

#include 

#include 
#include 

struct selwd_softc {
/* sc_dev must be the first item in the struct */
struct device   sc_dev;
/* device access through bus space */
bus_space_tag_t sc_iot;
bus_space_handle_t  sc_ioh;
};

int selwd_wait(bus_space_tag_t, bus_space_handle_t, bool);

/* Autoconfiguration glue */
int selwd_probe(struct device *, void *, void *);
void selwd_attach(struct device *, struct device *, void *);
int selwd_print(void *, const char *);
int selwd_wd_cb(void *, int);

/* functions to interact with the controller */
void selwd_write_wdog(bus_space_tag_t, bus_space_handle_t, int);
u_int8_t selwd_read_wdog(bus_space_tag_t, bus_space_handle_t);
u_int8_t selwd_read_status(bus_space_tag_t, bus_space_handle_t);
void selwd_abort(bus_space_tag_t, bus_space_handle_t);
u_int32_t selwd_read_boardid(bus_space_tag_t, bus_space_handle_t);
u_int32_t selwd_read_mcversion(bus_space_tag_t, bus_space_handle_t);
u_int16_t selwd_read_pciboardid(bus_space_tag_t, bus_space_handle_t);
u_int8_t selwd_read_ledctl0(bus_space_tag_t, bus_space_handle_t);
void selwd_write_ledctl0(bus_space_tag_t, bus_space_handle_t, u_int8_t);
u_int8_t selwd_read_ledctl1(bus_space_tag_t, bus_space_handle_t);
void selwd_write_ledctl1(bus_space_tag_t, bus_space_handle_t, u_int8_t);
u_int8_t selwd_read_miscctl0(bus_space_tag_t, bus_space_handle_t);
u_int8_t selwd_read_miscctl1(bus_space_tag_t, bus_space_handle_t);
void selwd_read_modelno(bus_space_tag_t, bus_space_handle_t, char*);
void selwd_read_serialno(bus_space_tag_t, bus_space_handle_t, char*);
void selwd_read_configid(bus_space_tag_t, bus_space_handle_t, char*);

/* macros to extract bits from the status register */
#define EC_STATUS_IBF(status)   (((status) >> 0x1) & 0x1)
#define EC_STATUS_OBF(status)   (((status) & 0x1))
#define EC_STATUS_BUSY(status)  (((status) >> 0x4) & 0x1)
#define EC_STATUS_STATE(status) (((status) >> 0x6) & 0x3)

struct cfattach selwd_ca = {
sizeof(struct selwd_softc), selwd_probe, selwd_attach
};

struct cfdriver selwd_cd = {
NULL, "selwd", DV_DULL
};

const char* selwd_models[] = { SELWD_DEV_3355, SELWD_DEV_3360 };

int selwd_wait(bus_space_tag_t iot, bus_space_handle_t ioh, bool useobf)
{
uint32_t timeout = 0;
uint8_t status = 0;

while (timeout < 50) {
status = bus_space_read_1(iot, ioh, SELWD_CMD);
if ((EC_STATUS_IBF(status) == 0x0) &&
(EC_STATUS_BUSY(status) == 0x0) &&
(EC_STATUS_STATE(status) != 0x3) &&
((EC_STATUS_OBF(status) == 0x0) || !useobf)) {
return 1;
}
delay(10);
++timeout;
}
return 0;
}

static __inline void
selwd_conf_enable(bus_space_tag_t iot, bus_space_handle_t ioh, u_int8_t cmd)
{
/* write the desired command to the command register */
bus_space_write_1(iot, ioh, SELWD_CMD, cmd);
/* wait for controller to be ready */
selwd_wait(iot,ioh,0);
}

static __inline u_int8_t
selwd_conf_read(bus_space_tag_t iot, bus_space_handle_t ioh, u_int8_t target)
{
/* write the target address to the data register */
bus_space_write_1(iot, ioh, SELWD_DATA, target);
/* wait for controller to be ready */
selwd_wait(iot, ioh,1);
/* return the value from the data register */
return (bu

watchdog suport for new hardware

2016-04-26 Thread stan
We are embarking on a project where we will be using a number of
industrially hardened computers manufactured by  Schweitzer Engineering
Laboratories, Inc. (SEL). SEL provides a very well whiten document
describing certain special features of these computers. One of these is a
hardware watchdog. 

We have contracted a systems integrator to write a device driver for this
watchdog, with the stipulation that the code will be relapsed under the BSD
licence. This work is essiantly complete, and I was wondering if someone could
suggest to me the best way to submit this for (potential) inclusion in the
OpenBSD base system?

Thanks for all the good work on a really solid OS!


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: Audio problems on OpenBSD 5.7

2015-05-15 Thread Stan Gammons

On 05/15/15 13:34, Mihai Popescu wrote:

For thread subject's sake, just stay on FreeBSD


No worries, I will.

Thanks for your help with resolving the audio problem.



Re: Audio problems on OpenBSD 5.7

2015-05-14 Thread Stan Gammons

On 05/14/15 13:35, Alexandre Ratchov wrote:

On Thu, May 14, 2015 at 06:20:07AM -0500, Stan Gammons wrote:

Ok. Let's start over. When the system starts it doesn't automatically start
KDE. When I login I'm able to get the sound to play noise with cat
/dev/urandom  /dev/audio.  Audioctl and mixerctl both display the various
settings when I run them. When I run startkde4, the sound icon is in the
lower right on the screen, the volume control slider is present and the
notification sounds play. But, there is no audio device shown in kmix and
when I click on the drop down to select the audio device, it's empty. As I
said before, I don't have this problem with FreeBSD. So, if the azalia
driver is the same, why do I have this problem on OpenBSD?

FWIW, neither the azalia driver, nor the audio API are the same in
freebsd and openbsd. If openbsd native tools work, but kmix
doesn't, most probably openbsd-specific bits in kmix are incomplete
(kmix itself or whatever audio framework it uses).

If you don't have multiple audio cards and you don't need to switch
between them, you don't have to worry, just ignore kmix. Audio is
supposed to somewhat work by default in audio programs fully ported
to openbsd.


Ignore kmix?  You're kidding, right?   I need to be able to just the 
microphone input level, so I need a mixer.  I guess one could adjust it 
manually with mixerctl. Thanks, but no thanks.



Stan



Re: Audio problems on OpenBSD 5.7

2015-05-14 Thread Stan Gammons
On May 14, 2015 1:52 AM, Jan Stary h...@stare.cz wrote:

 On May 13 20:08:45, bryan.pimm...@gmail.com wrote:
  In fact, after killing sndiod things work fine, *except* for that
  afterwards only one program can play sound simultaneously.

 That sounds like a sndiod problem then.
 Please launch sndiod again in a script(1)
 as sndiod -d -d -d, play an audio file
 (with aucat or play or whatever) and post the log.

 On May 13 19:53:20, sg063...@gmail.com wrote:
  Same here.
  The mixer doesn't recognize the sound chip is the problem I have.

 Depending on what exactly you mean by that,
 that's probably not the same problem.

 Jan


Ok. Let's start over. When the system starts it doesn't automatically start
KDE. When I login I'm able to get the sound to play noise with cat
/dev/urandom  /dev/audio.  Audioctl and mixerctl both display the various
settings when I run them. When I run startkde4, the sound icon is in the
lower right on the screen, the volume control slider is present and the
notification sounds play. But, there is no audio device shown in kmix and
when I click on the drop down to select the audio device, it's empty. As I
said before, I don't have this problem with FreeBSD. So, if the azalia
driver is the same, why do I have this problem on OpenBSD?

Stan



Re: Audio problems on OpenBSD 5.7

2015-05-13 Thread Stan Gammons
On May 13, 2015 7:09 PM, Bryan Pimmler bryan.pimm...@gmail.com wrote:

 In fact, after killing sndiod things work fine, *except* for that
 afterwards only one program can play sound simultaneously.


Same here.

The mixer doesn't recognize the sound chip is the problem I have.  Audioctl
and mixerctl both output  the various settings when run in a terminal from
KDE, but no sound device is listed in the setup dialog.

Stan



Re: Audio problems on OpenBSD 5.7

2015-05-12 Thread Stan Gammons

On 05/12/15 21:22, Bryan Pimmler wrote:

Hello!

I can't seem to get audio to work on OpenBSD 5.7:

After booting, cat /dev/urandom  /dev/audio makes the expected noise.

But any sort of audio player (be it aucat, xmms, or rhythmbox) doesn't
work. For example aucat -i test.wav just hangs without playing
anything. Furthermore, it seems to put the system in a different
state, even after killed. Now trying cat /dev/urandom  /dev/audio
again just fails with /dev/audio: Device busy. On the other hand,
the system bell still works: echo -ne '\007' gives a beep on the
speaker.

More details below.

Thanks

Bryan





Sounds similar to the problems I had.  I was using KDE and the 
notifications type sounds worked but no sound card was recognized by 
Kmix.  I gave up trying to figure out what the problem was and went back 
to FreeBSD. FreeBSD recognizes the sound chip as a Realtek ALC887 and 
the audio playback device under the music category is OSS.



Stan



Realtek ALC887 on OpenBSD 5.7 current

2015-05-11 Thread Stan Gammons
: apic 5 
int 16

azalia0: codecs: Realtek/0x0887
audio0 at azalia0
pcib0 at pci0 dev 20 function 3 ATI SB700 ISA rev 0x40
ppb2 at pci0 dev 20 function 4 ATI SB600 PCI rev 0x40
pci3 at ppb2 bus 3
ohci2 at pci0 dev 20 function 5 ATI SB700 USB rev 0x00: apic 5 int 18, 
version 1.0, legacy support

ppb3 at pci0 dev 21 function 0 ATI SB800 PCIE rev 0x00
pci4 at ppb3 bus 4
radeondrm0 at pci4 dev 0 function 0 ATI Radeon HD 6570 rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia1 at pci4 dev 0 function 1 ATI Radeon HD 6670 Audio rev 0x00: msi
azalia1: no supported codecs
ohci3 at pci0 dev 22 function 0 ATI SB700 USB rev 0x00: apic 5 int 18, 
version 1.0, legacy support

ehci2 at pci0 dev 22 function 2 ATI SB700 USB2 rev 0x00: apic 5 int 17
usb3 at ehci2: USB revision 2.0
uhub3 at usb3 ATI EHCI root hub rev 2.00/1.00 addr 1
pchb1 at pci0 dev 24 function 0 AMD AMD64 15/0xh Link Cfg rev 0x00
pchb2 at pci0 dev 24 function 1 AMD AMD64 15/0xh Address Map rev 0x00
pchb3 at pci0 dev 24 function 2 AMD AMD64 15/0xh DRAM Cfg rev 0x00
km0 at pci0 dev 24 function 3 AMD AMD64 15/0xh Misc Cfg rev 0x00
pchb4 at pci0 dev 24 function 4 AMD AMD64 15/0xh CPU Power rev 0x00
pchb5 at pci0 dev 24 function 5 AMD AMD64 15/0xh Host rev 0x00
usb4 at ohci0: USB revision 1.0
uhub4 at usb4 ATI OHCI root hub rev 1.00/1.00 addr 1
usb5 at ohci1: USB revision 1.0
uhub5 at usb5 ATI OHCI root hub rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbc0: using irq 12 for aux slot
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
it0 at isa0 port 0x2e/2: IT8728F rev 1, EC port 0x228
usb6 at ohci2: USB revision 1.0
uhub6 at usb6 ATI OHCI root hub rev 1.00/1.00 addr 1
usb7 at ohci3: USB revision 1.0
uhub7 at usb7 ATI OHCI root hub rev 1.00/1.00 addr 1
uhidev0 at uhub0 port 1 configuration 1 interface 0 Logitech USB 
Optical Mouse rev 2.00/43.01 addr 2

uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
uhub8 at uhub0 port 2 Dell Dell USB Keyboard Hub rev 1.10/2.00 addr 3
uhidev1 at uhub8 port 1 configuration 1 interface 0 Dell Dell USB 
Keyboard rev 1.10/2.00 addr 4

uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev2 at uhub8 port 1 configuration 1 interface 1 Dell Dell USB 
Keyboard rev 1.10/2.00 addr 4

uhidev2: iclass 3/0, 3 report ids
uhid0 at uhidev2 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0
uhid2 at uhidev2 reportid 3: input=3, output=0, feature=0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (da66c67020420ad1.a) swap on sd0b dump on sd0b
radeondrm0: 1600x900
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)

$ audioctl
name=HD-Audio
encodings=slinear_le:16:2:1,slinear_le:20:4:1,slinear_le:24:4:1
properties=full_duplex,independent
hiwat=8
lowat=7
mode=
play.rate=48000
play.channels=2
play.precision=16
play.bps=2
play.msb=1
play.encoding=slinear_le
play.samples=0
play.pause=1
play.active=0
play.block_size=3840
play.errors=0
record.rate=48000
record.channels=2
record.precision=16
record.bps=2
record.msb=1
record.encoding=slinear_le
record.samples=0
record.pause=1
record.active=0
record.block_size=3840
record.errors=0


Stan



Re: Realtek ALC887 on OpenBSD 5.7 current

2015-05-11 Thread Stan Gammons

On 05/11/15 18:10, Antoine Jacoutot wrote:

On Mon, May 11, 2015 at 05:32:19PM -0500, Stan Gammons wrote:

On 05/11/15 17:20, Ed Martinez wrote:

On 05/11/15 15:00, Stan Gammons wrote:

module-console-kit.c: Unable to contact D-Bus system bus:
org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket
/var/run/dbus/system_bus_socket: No such file or directory

   May need to start dbus?


Looks like it's running

$ ps -aux |grep dbus
root 20899  0.0  0.0   800  1176 ??  IsSun11PM0:00.29
/usr/local/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
stan 30474  0.0  0.0  1640  2824 ??  Is 4:24PM0:01.04
/usr/local/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
stan  2148  0.0  0.0   160   300 p1  R+ 5:29PM0:00.00 grep dbus
stan 23223  0.0  0.0   468  1728 C0  I  4:24PM0:00.00
dbus-launch --sh-syntax --exit-with-session


$ cat /etc/rc.conf.local
sshd_flags=NO
pkg_scripts=dbus_daemon avahi_daemon

I did not look at your original issue but if you are indeed running current, 
you must keep up with the FAQ:
http://www.openbsd.org/faq/current.html#20150404




Changing dbus_daemon to messagebus  fixed the syslog error, but Kmix 
still shows no capture devices.  No sound device is displayed in the 
audio hardware setup either.




Re: Realtek ALC887 on OpenBSD 5.7 current

2015-05-11 Thread Stan Gammons

On 05/11/15 17:20, Ed Martinez wrote:

On 05/11/15 15:00, Stan Gammons wrote:
module-console-kit.c: Unable to contact D-Bus system bus: 
org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket 
/var/run/dbus/system_bus_socket: No such file or directory 


   May need to start dbus?



Looks like it's running

$ ps -aux |grep dbus
root 20899  0.0  0.0   800  1176 ??  IsSun11PM0:00.29 
/usr/local/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
stan 30474  0.0  0.0  1640  2824 ??  Is 4:24PM0:01.04 
/usr/local/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session

stan  2148  0.0  0.0   160   300 p1  R+ 5:29PM0:00.00 grep dbus
stan 23223  0.0  0.0   468  1728 C0  I  4:24PM0:00.00 
dbus-launch --sh-syntax --exit-with-session



$ cat /etc/rc.conf.local
sshd_flags=NO
pkg_scripts=dbus_daemon avahi_daemon
multicast_host=YES



Re: qt4-4.8.6p0

2015-05-07 Thread Stan Gammons
On 05/07/15 02:12, Vadim Zhukov wrote:

 07 мая 2015 г. 4:46 пользователь Stan Gammons 
 sg063...@gmail.com 
 mailto:sg063...@gmail.com написал:
 
  Is qt4-4.8.6p0 broken in 5.7 release?  I tried to install KDE4 using 
 http://ftp.openbsd.org/pub/OpenBSD/5.7/packages/amd64/ as the package 
 path and when it gets to 98 percent while extracting qt4, it gets a 
 fatal error stating [lib/qt4/translations/qt_de.qml]: Premature end of 
 archive. It states a partial installation recorded as 
 partial-qt4-4.8.6p0.2 at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 817

 Try a mirror. Actually, using mirrors is a recommended way.

 Check if you could install other big packages - maybe some software, 
 like HTTP caching server, between you and the Internet has problems. 
 Try to get this file separately, and install locally, by pointing 
 pkg_add directly to it.

 --
 Vadim Zhukov


Trying one of the mirrors solved the problem.

Thanks!


Stan



qt4-4.8.6p0

2015-05-06 Thread Stan Gammons
Is qt4-4.8.6p0 broken in 5.7 release?  I tried to install KDE4 using 
http://ftp.openbsd.org/pub/OpenBSD/5.7/packages/amd64/ as the package 
path and when it gets to 98 percent while extracting qt4, it gets a 
fatal error stating [lib/qt4/translations/qt_de.qml]: Premature end of 
archive. It states a partial installation recorded as 
partial-qt4-4.8.6p0.2 at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 817



Stan



Re: 1U / 2 Computers? For redundant FW pair

2015-01-21 Thread Stan Gammons

On 01/21/15 20:31, Predrag Punosevac wrote:

Daniel Ouellet wrote:
  

there is 23 model that are twin model in 1U:

http://www.supermicro.com/products/nfo/1UTwin.cfm

But they share the power supply. May be that's what you didn't like.

On 1/21/15 7:31 AM, Alan McKay wrote:
I know that Supermicro has some interesting side-by-sides starting at
2U, but I'm not aware of anything in 1U.  Basically I'd like to have
my redundant FW pairs take up less rack space.   I guess another
option would be half-width 1U if anything like that exists, and
install a rack shelf.

So when the power supply fails you will have both FW down not just one.
Nice :) Even if the FW were only sharing the same case the idea is dumb
because you will have to take off line good FW to fix the one which
failed.

Now somebody posted the link to pfSense hardware where each individual
FW is removable. That would seems like the solution which fits the bill
perfectly and doesn't suffer the problem I just pointed out. However
catch 22 is that the case has a non-standard width so you will have to
adjust your rack :)

Cheers,
Predrag



While I don't really recommend them, the older Nokia IP260 was a 1U half 
rack wide appliance. Nokia made a frame that held 2 of them in a 1U 
standard 19 inch rack space. OpenBSD will run on them, but it requires a 
little effort to get it to work.  Or it did the last time I tried it. My 
efforts to get OpenBSD to work on them is either in the archives of this 
list or tech@. The current CheckPoint 2200 series is of similar width 
and not as deep as the IP260. I don't know if they offer a mounting 
plate to rack 2 side by side. We either sit them on top of something in 
the rack or install a shelf in the rack. I've yet to try OpenBSD on one 
though.  If we have a spare 2207 at work, I'll see if OpenBSD will run 
on it.



Stan



Re: Unable to install openbsd 5.6 in a HP Proliant ML115 G5

2015-01-07 Thread Stan Gammons

On 01/07/15 20:34, Stuart Henderson wrote:

On 2015-01-06, Steve Shockley steve.shock...@shockley.net wrote:

On 1/5/2015 7:52 PM, Stuart Henderson wrote:

Some things to try: (Change only 1 thing at a time, and remember what you 
changed.)

Also check the baseboard/system firmware; I didn't see anything
specifically related in the release notes but HP occasionally makes
undocumented fixes.

 From what I understand, HP stopped making firmware updates available
without a support contract.



That was the case when I tried to download a SPP (service pack for 
proliant) back late summer of last year.  I'm sure it's no different 
now.  Kinda sucks in my opinion.



Stan



Re: AMD64 packages

2014-12-12 Thread Stan Gammons
On Dec 12, 2014 1:06 PM, Theo de Raadt dera...@cvs.openbsd.org wrote:

  ian kremlin wrote on Thu, Dec 11, 2014 at 10:04:26PM -0500:
 
   whenever i grab a snapshot and get library version mismatches after a
   `pkg_add -u`, i've found the easiest way to get those objects
 
  Definitely not the easiest way.  Waiting for the next snapshot is
  definitely much easier and safer for the average user.
 
   is grab a fresh source tree and compile them manually.
   for example, libc:
 
  There are dragons.


 No, Ingo, stop right there.

 What he is trying to do is create a frankenstein.  People who do this
 will run into problems.

 Then they'll submit a bug report.

 It ends badly.


I never dreamed that asking a simple question of about how long it might be
before I could fix what I screwed up would end causing all of this.
Whenever new packages are available, I'll fix what I broke and try to not
do it again.

Stan



AMD64 packages

2014-12-10 Thread Stan Gammons
When will new packages be built for AMD64?   I'm getting library errors
with the latest snapshot and the current packages.

Stan



Re: AMD64 packages

2014-12-10 Thread Stan Gammons
On Dec 10, 2014 10:03 PM, STeve Andre' and...@msu.edu wrote:

 On 12/10/14 20:51, Stan Gammons wrote:

 When will new packages be built for AMD64?   I'm getting library errors
 with the latest snapshot and the current packages.

 Stan


 They come out frequently, but not on a set schedule.  Since the
 last set came out on the 6th, I would expect the next set in the
 next several days -- unless some change caused a cascade of
 non-compiles in which case the problem will be worked on before
 the next release.

 You might want to subscribe to the ports-changes changes list,
 which will show you what's been changed.  The source-changes
 list will show you all the other cvs commits.  Look at

 http://www.openbsd.org/mail.html

Ok.  The way I normally update is by downloading the install5x.iso, make
the cd and boot from it, do an upgrade, reboot, do a sysmerge, then do
pkg_add -u.  After all the failures because of the library mismatch, kde4
will no longer start due to an ssl library mismatch.  Bummer...  Looks like
it's wait until new packages are built.

Stan



Re: Packet Filter router i368 vs 64bit

2014-12-02 Thread Stan Gammons

On 12/02/14 09:51, Chris Cappuccio wrote:

Stan Gammons [sg063...@gmail.com] wrote:

The APU1C works fine for a home network.  The only 2 things I dislike are
the CPU temperature and the link LED's are off when the Ethernet ports are
linked at 1 gig. I've complained about the link LED issue on the PC Engines
support forum, but I guess there's no desire to fix it. Oh well.


Call me crazy, but when OpenBSD takes over control of the Realtek chips,
isn't it OpenBSD's responsibility to program them properly, not the BIOS?



Well, using any version of OpenBSD 5.5 and newer the LEDs work right 
with this NIC.


re0 at pci2 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E-VL 
(0x2c80), msi, address 90:2b:34:af:eb:1a

rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5

With this NIC, which is the one in the APU, the LEDs don't work right.

re0 at pci1 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E 
(0x2c00), msi, address 00:0d:b9:33:75:88

rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 4

So, the question is why don't the LEDs work right on the NIC in the 
APU?  The NIC in the APU is very similar to the one that the LEDs do 
work right on.


I'm pretty sure the FreeBSD Realtek driver is the same as the OpenBSD 
one, although I haven't tried FreeBSD on an APU.  Or have I tried Linux 
on one.  I guess I could try both on the APU to see if there's any 
difference.



Stan



Re: Packet Filter router i368 vs 64bit

2014-11-28 Thread Stan Gammons

On 11/28/14 01:32, Blaise Hizded wrote:

On 11/28/2014 06:01 AM, Brad Smith wrote:

On 11/27/14 23:50, jungle Boogie wrote:

Hi,
On 27 November 2014 at 20:38,  thev...@openmailbox.org wrote:

you can just use old hardware for these purposes.

from the man who literally wrote the book on pf (from pf tutorial via
http://home.nuug.no/~peter/pf/en/long-firewall.html):

I have not seen comparable tests performed recently [3.1 era],
but in my
own experience and that of others, the PF filtering overhead is
pretty
much negligible. As one data point, the machine which gateways
between
one of the networks where I've done a bit of work and the world is a
Pentium III 450MHz with 384MB of RAM. When I've remembered to
check, I've
never seen the machine at less than 96 percent 'idle' according
to top.


Yes, that's true! But less fun. ;)

I do have some Dell dimensions machine with OpenBSD -current running
now that I could easily get two NICs but its kinda old and slow to
update current. I'll measure the power to see how much it uses.

With the fact that old hardware, why would the APU be OK and not good?

I don't see anyone claiming it would not be good. It's more like if you
happen to have some old hw around that it would probably be good enough
for what you're describing but the APU system would also do the job just
fine.



I run the previous generation ALIX 2D13 with OpenBSD 5.6 on it for a
home firewall with 10MB WAN broadband and 100MB between computers.
All is fine: low temperature, low consumption, same speed as with a
basic 100MBB switch.

So I guess the APU1C is fast enought for a home network.



The APU1C works fine for a home network.  The only 2 things I dislike 
are the CPU temperature and the link LED's are off when the Ethernet 
ports are linked at 1 gig. I've complained about the link LED issue on 
the PC Engines support forum, but I guess there's no desire to fix it. 
Oh well.


# sysctl hw
hw.machine=amd64
hw.model=AMD G-T40E Processor
hw.ncpu=2
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:ec53da01dd2f4a0e,sd1:
hw.diskcount=2
hw.sensors.km0.temp0=51.50 degC
hw.cpuspeed=1000
hw.setperf=100
hw.vendor=PC Engines
hw.product=APU
hw.version=1.0
hw.serialno=843042
hw.physmem=2098520064
hw.usermem=2098503680
hw.ncpufound=2
hw.allowpowerdown=1
hw.perfpolicy=manual


Stan



Re: Major KDE4 problems

2014-11-27 Thread Stan Gammons

On 11/27/14 15:06, Chris Bennett wrote:

I haven't used any KDE in a long while but my Father uses it.
I decided to install KDE4.

It starts up very slowly. But only the widgets and settings menus show
up. No startup programs bar, button, whatever shows up.
Leave buttons fail. I can only get out with Ctrl-Alt-Backspace.




I saw something to this on a Dell Latitude D630.  I can't say as this is 
the fix for you, but adding this to sysctl.conf seems to have fixed it 
for me


kern.shminfo.shmall=51200
kern.shminfo.shmmni=1024
kern.maxfiles=2

If you start kde from the command line, run the commands manually like 
this to see if kde starts ok.


sysctl kern.shminfo.shmall=51200
sysctl kern.shminfo.shmmni=1024
sysctl kern.maxfiles=2


Stan



Re: Packet Filter router i368 vs 64bit

2014-11-27 Thread Stan Gammons

On 11/27/14 21:35, jungle Boogie wrote:

Hello All,
On 25 November 2014 at 12:52, Motty Cruz motty.c...@gmail.com wrote:

Hello all,
I am searching for hardware to build a router with OpenBSD. I have found
mixed signals as to fastest system with i386 or 64bit. I know in the past
i386 OpenBSD used to perform a lot better than 64bit system.


I'm in similar situation as Motty, I'd like an OBSd to use for pf.

I'm interested in this: http://store.netgate.com/kit-APU1C4.aspx
with the msata drive.

Anyone have any objections? I know the NICs are not intel so that will
probably get a strike against it, but I like the low power.




I have a couple of the APU1C's and they are Ok.  They had and to some 
extent still have a few BIOS issues. Perhaps it's nit picking, but I 
wish they would fix the LED link rate issue.  The APU's do run pretty 
warm, but that doesn't seem to hurt reliability.



Stan



Re: Packet Filter router i368 vs 64bit

2014-11-27 Thread Stan Gammons

On 11/27/14 22:01, jungle Boogie wrote:

Hi Stan,
On 27 November 2014 at 19:49, Stan Gammons sg063...@gmail.com wrote:

On 11/27/14 21:35, jungle Boogie wrote:

Anyone have any objections? I know the NICs are not intel so that will
probably get a strike against it, but I like the low power.



I have a couple of the APU1C's and they are Ok.  They had and to some extent
still have a few BIOS issues. Perhaps it's nit picking, but I wish they
would fix the LED link rate issue.  The APU's do run pretty warm, but that
doesn't seem to hurt reliability.



Well I think to run free/openBSD, you have to run a bios update.
Hopefully there's a newer bios that resolved those issues you




The latest BIOS, 9/8/2014, doesn't fix the LED issue.

I saw Brad's comments in the other email. The APU is Ok to use as a home 
firewall. I have no experience on using one in more demanding environment.



Stan



Re: apcupsd via USB on 5.6

2014-11-20 Thread Stan Gammons

On 11/20/14 19:24, trondd wrote:

When you sent this, I had a new UPS in the mail on its way to me that I
specifically bought to be compatible with OBSD.

I, too, have the same issue.

Tim.

On Thu, Nov 20, 2014 at 11:03 AM, Steven Surdock 
ssurd...@engineered-net.com wrote:


I just upgrade from 5.5 to 5.6 on i386 and apcupsd won't recognize my UPS
plugged into a USB port.  On 5.5 the UPS was attached to ugen0 but on 5.6
it say uhidev0.  Apcupsd mentions that the uhidev0 device type won't work.
I see that I can get some info from sensord (which is cool).  Any
suggestions for getting the UPS working with apcupds?

Oct 22 16:16:42 builder02 /bsd: ugen0 at uhub1 port 1 American Power
Conversion Smart-UPS 1500 FW:601.3.D USB FW:1.3 rev 1.10/0.06 addr 2

Nov 20 08:54:27 builder02 /bsd: uhidev0 at uhub1 port 1 configuration 1
interface 0 American Power Conversion Smart-UPS 1500 FW:601.3.D USB
FW:1.3 rev 1.10/0.06 addr 2

-Steve S.


This could be the same as the problem I had with an APC usb ups using 
NUT on OpenBSD 5.6


I had to add this to usb_quirks.c and recompile the kernel in order to 
get the ups to communicate again.  I wish things were left the way they 
were in 5.5  so I don't have to do this.


+ { USB_VENDOR_APC, USB_PRODUCT_APC_UPS,ANY,{ 
UQ_BAD_HID }},
+ { USB_VENDOR_APC, USB_PRODUCT_APC_UPS5G,  ANY,{ UQ_BAD_HID }},



Stan



Re: kde4-4.13.3p0 on OpenBSD 5.6 10/15/2014 AMD64 snapshot

2014-11-04 Thread Stan Gammons
On 11/04/14 00:44, Vadim Zhukov wrote:

 04 нояб. 2014 г. 3:11 пользователь Stan Gammons 
 sg063...@gmail.com 
 mailto:sg063...@gmail.com написал:
 
  Does anyone besides me experience crashes with Dolphin on 
 kde4-4.13.3p0?  When I click on the kde crash handler developer 
 information tab it churns forever and ever and ever and never returns 
 any information.

 What the ulimit -a command says?


$ ulimit -a
time(cpu-seconds)unlimited
file(blocks) unlimited
coredump(blocks) unlimited
data(kbytes) 524288
stack(kbytes)4096
lockedmem(kbytes)2701294
memory(kbytes)   8101456
nofiles(descriptors) 512
processes128
$


 Also, could you post all uncommented global options in your 
 /etc/samba/smb.conf?



[global]

workgroup = WORKGROUP

load printers = yes

log file = /var/log/samba/smbd.%m

max log size = 50

dns proxy = no

[homes]
comment = Home Directories
browseable = no
writable = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes


Like Federico who also replied to this thread, I'm unable to put a 
finger on an exact cause for the crashes.  But wonder if it's some 
combination of running KDE, Firefox and Thunderbird.

Oh, there is another thing I failed to mention.  I log in and manually 
start kde with startkde4   Some times when I logout that way it will 
hang and ctrl-alt-backspace is needed to return to the command line.  
Some times kwin will crash when I logout also.


Stan



Re: kde4-4.13.3p0 on OpenBSD 5.6 10/15/2014 AMD64 snapshot

2014-11-04 Thread Stan Gammons
On Nov 4, 2014 4:59 PM, Vadim Zhukov persg...@gmail.com wrote:

 05 нояб. 2014 г. 1:29 пользователь Stan Gammons
sg063...@gmail.com
написал:

 
 
  On 11/04/14 00:44, Vadim Zhukov wrote:
 
  04 нояб. 2014 г. 3:11 пользователь Stan Gammons
sg063...@gmail.com
написал:
  
   Does anyone besides me experience crashes with Dolphin on
kde4-4.13.3p0?  When I click on the kde crash handler developer information
tab it churns forever and ever and ever and never returns any information.
 
  What the ulimit -a command says?
 
 
  $ ulimit -a
  time(cpu-seconds)unlimited
  file(blocks) unlimited
  coredump(blocks) unlimited
  data(kbytes) 524288
  stack(kbytes)4096
  lockedmem(kbytes)2701294
  memory(kbytes)   8101456
  nofiles(descriptors) 512

 That's likely to be a problem. Please, adjust number-of-open-files limits
in /etc/login.conf and /etc/sysctl.conf. pkg_info kde-runtime will give
you some clues. Remember that you'll need to re-login to make login.conf
changes apply.


I did sysctl kern.shminfo.shmall=51200 kern.shminfo.shmmni=1024
and sysctl kern.maxfiles=2

as pkg_info kde-runtime says, but that really broke things. Now kde doesn't
start. I get a fatal error saying no screen found

Stan



Re: kde4-4.13.3p0 on OpenBSD 5.6 10/15/2014 AMD64 snapshot

2014-11-04 Thread Stan Gammons
On 11/04/14 16:59, Vadim Zhukov wrote:

 05 нояб. 2014 г. 1:29 пользователь Stan Gammons 
 sg063...@gmail.com 
 mailto:sg063...@gmail.com написал:
 
 
  On 11/04/14 00:44, Vadim Zhukov wrote:
 
  04 нояб. 2014 г. 3:11 пользователь Stan Gammons 
 sg063...@gmail.com mailto:sg063...@gmail.com написал:
  
   Does anyone besides me experience crashes with Dolphin on 
 kde4-4.13.3p0?  When I click on the kde crash handler developer 
 information tab it churns forever and ever and ever and never returns 
 any information.
 
  What the ulimit -a command says?
 
 
  $ ulimit -a
  time(cpu-seconds)unlimited
  file(blocks) unlimited
  coredump(blocks) unlimited
  data(kbytes) 524288
  stack(kbytes)4096
  lockedmem(kbytes)2701294
  memory(kbytes)   8101456
  nofiles(descriptors) 512

 That's likely to be a problem. Please, adjust number-of-open-files 
 limits in /etc/login.conf and /etc/sysctl.conf. pkg_info kde-runtime 
 will give you some clues. Remember that you'll need to re-login to 
 make login.conf changes apply.



Disregard the previous email. I accidentally deleted 
machdep.allowaperture=2 from sysctl.conf which caused the no screens 
found message.

I didn't see anything in pkg_info kde-runtime about login.conf   I left 
it the way it was.

Now to see if dolphin or kwn crashes again.



Stan



kde4-4.13.3p0 on OpenBSD 5.6 10/15/2014 AMD64 snapshot

2014-11-03 Thread Stan Gammons
Does anyone besides me experience crashes with Dolphin on 
kde4-4.13.3p0?  When I click on the kde crash handler developer 
information tab it churns forever and ever and ever and never returns 
any information.



$ cat /etc/rc.conf.local
sshd_flags=NO
multicast_host=YES
pkg_scripts=dbus_daemon avahi_daemon cupsd

$ cat /etc/sysctl.conf
machdep.allowaperture=2 # See xf86(4)
$

$ dmesg
OpenBSD 5.6-current (GENERIC.MP) #424: Wed Oct 15 17:01:29 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8535351296 (8139MB)
avail mem = 8299438080 (7914MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xed460 (58 entries)
bios0: vendor American Megatrends Inc. version FD date 01/23/2013
bios0: Gigabyte Technology Co., Ltd. 970A-DS3
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG HPET SSDT BGRT
acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) GEC_(S4) 
UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) 
PE21(S4) PE22(S4) PE23(S4) [...]

acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD FX(tm)-4100 Quad-Core Processor , 3616.99 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,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully 
associative
cpu0: DTLB 32 4KB entries fully associative, 32 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 200MHz
cpu1 at mainbus0: apid 17 (application processor)
cpu1: AMD FX(tm)-4100 Quad-Core Processor , 3616.57 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,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully 
associative
cpu1: DTLB 32 4KB entries fully associative, 32 4MB entries fully 
associative

cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 18 (application processor)
cpu2: AMD FX(tm)-4100 Quad-Core Processor , 3616.57 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT,ITSC
cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully 
associative
cpu2: DTLB 32 4KB entries fully associative, 32 4MB entries fully 
associative

cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 19 (application processor)
cpu3: AMD FX(tm)-4100 Quad-Core Processor , 3616.57 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT,ITSC
cpu3: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu3: ITLB 48 4KB entries fully associative, 24 4MB entries fully 
associative
cpu3: DTLB 32 4KB entries fully associative, 32 4MB entries fully 
associative

cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 5 pa 0xfec0, version 21, 24 pins
ioapic1 at mainbus0: apid 6 pa 0xfec2, version 21, 32 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P0PC)
acpiprt2 at acpi0: bus 4 (PE20)
acpiprt3 at acpi0: bus -1 (PE21)
acpiprt4 at acpi0: bus -1 (PE22)
acpiprt5 at acpi0: bus -1 (PE23)
acpiprt6 at acpi0: bus -1 (PC02)
acpiprt7 at acpi0: bus -1 (PC03)
acpiprt8 at acpi0: bus 1 (PC04)
acpiprt9 at acpi0: bus -1 (PC05)
acpiprt10 at acpi0: bus -1 (PC06)
acpiprt11 at acpi0: bus -1 (PC07)
acpiprt12 at acpi0: bus 2 (PC09)
acpiprt13 at acpi0: bus -1 (PC0A)
acpiprt14 at acpi0: bus -1 (PC0B)
acpiprt15 at acpi0: bus -1 (PC0C)
acpiprt16 at acpi0: bus -1 (PC0D)
acpicpu0 at acpi0: C2, PSS
acpicpu1 at acpi0: C2, PSS

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-02 Thread Stan Gammons

On 11/02/14 00:51, Theo de Raadt wrote:

On 2 November 2014 06:15, Theo de Raadt dera...@cvs.openbsd.org wrote:

A serial console is a serial port on a machine exposing it's boottime
console.  OpenBSD cannnot use select a USB serial connector as a console
tty, no more than it can select some random serial pci card.  The logic
for finding the device happens too late.

If this is the other way around, then the laptop is just doing serial.
What's console about it.  It is just talking serial, to something else
which is console.  You don't need the word console, nor do we need
to know the colour of the cable you choose.

Naddy is precise.  You used the wrong words.

Ah, okay. Thank you. But even if the laptop end of the setup wouldn't
properly be called a serial console, do I understand correctly then
that it would work to use it with a run-of-the-mill USB-to-serial
adapter in the way I describe? Meaning, use it as a terminal (or
terminal emulator, or technically, laptop, running OpenBSD, running a
terminal emulat-- arrgh!). Anyway, do I understand correctly that it
would work the way I expect, and that (my imprecise terminology
notwithstanding) Patrick's reply is applicable?

And further, just to make sure I'm really getting this, is it actually
correct then to call the (bog standard) physical RS-232 port on the
headless computer the serial console? Or am I still on the wrong
track, and does a real, genuine, proper serial console involve custom
hardware beyond a standard physical serial port?

That is a lot of words.  I do not understand your questions.

Can a device which does serial console expose it's console over serial
to another device which does serial?

Yes.

Because serial ports can talk to each other.

Whatever you want, just try it.  Unbelievable..




Sounds like the question, in a very around about way, is can you use a 
laptop or desktop with a USB to serial converter with  a given terminal 
program to communicate with an OpenBSD machine that uses a serial console.


The answer is yes and I fail to see why this is such a problem.


Stan



Re: nfsen on 5.5

2014-10-10 Thread Stan Gammons
On Oct 10, 2014 12:48 PM, Steven Surdock ssurd...@engineered-net.com
wrote:

  -Original Message-
  From: Josh Grosse [mailto:j...@jggimi.homeip.net]
  Sent: Friday, October 10, 2014 1:16 PM
  To: Steven Surdock
  Cc: misc@openbsd.org
  Subject: Re: nfsen on 5.5
 
  On Fri, Oct 10, 2014 at 04:52:18PM +, Steven Surdock wrote:
   Anybody successfully using nfsen?
  
   It was working on 5.4 (except for the portTracker plugin) and now
   under 5.5 the rrd's are not being updated.  I uninstalled and
   re-initialized and still no luck.
  
   -Steve S.
  
  I've been using it since before 5.5, and it works fine for me.  Two
  considerations:
 
  If your webserver is chrooted, rrdtool must be included in the chroot,
per
  /usr/local/share/doc/pkg-readmes/rrdtool-*. The rrdtool-chroot script
  makes this easy.
 
  Your pflow(4) device must use a version of netflow protocol compatible
  with nfcapd, which are versions 1,5,7, and 9.  The pflow driver supports
  protocol versions 5 and 10.  Use 5, which is the default.

 Not chrooted.  Flow records are being updated and stored correctly. The
RRD and associated PNGs aren't being updated.  I can still use the rrd
generated images to look at flows.  I've never gotten PortTracker working
as it says it segfault in the log.


Does syslog have a message saying unable to create graph: no such file or
directory?  That's what is happening for me on the Oct 3 snapshot of
OpenBSD 5.6  I figured it was operator malfunction :)

Stan



Re: [BULK] Re: nfsen on 5.5

2014-10-10 Thread Stan Gammons
On Oct 10, 2014 2:16 PM, Steven Surdock ssurd...@engineered-net.com
wrote:

  -Original Message-
  From: Josh Grosse [mailto:j...@jggimi.homeip.net]
 
  On Fri, Oct 10, 2014 at 05:46:40PM +, Steven Surdock wrote:
 
   Not chrooted.  Flow records are being updated and stored correctly.
   The RRD and associated PNGs aren't being updated.  I can still use the
   rrd generated images to look at flows.  I've never gotten PortTracker
   working as it says it segfault in the log.
 
  I've never used PortTracker, as I do not have sufficient capacity on the
  nfsen collector.  It is described as experimental, also.
 
  I am running a very simple configuration, collecting flows from two
  firewalls.  The webserver is chrooted nginx, so my database is inside
  /var/www with a symbolic link in /var/db, as directed by the nfsen pkg-
  readme.
 
  Here's my nfsen.conf, with comments removed
 
 
  $BASEDIR = /usr/local;
  $BINDIR=${BASEDIR}/bin;
  $LIBEXECDIR=${BASEDIR}/libdata/perl5/site_perl/NfSen;
  $CONFDIR=/etc;
  $HTMLDIR= /var/www/htdocs/nfsen;
  $DOCDIR=${BASEDIR}/share/doc/nfsen;
  $VARDIR=/var/db/nfsen;
  $PROFILESTATDIR=${VARDIR}/profiles-stat;
  $PROFILEDATADIR=${VARDIR}/profiles-data;
  $BACKEND_PLUGINDIR=${BASEDIR}/lib/nfsen/plugins;
  $FRONTEND_PLUGINDIR=${HTMLDIR}/plugins;
  $PREFIX  = '/usr/local/bin';
  $USER= _nfcapd;
  $WWWUSER  = www;
  $WWWGROUP = www;
  $BUFFLEN = 20;
  $SUBDIRLAYOUT = 1;
  $ZIPcollected  = 1;
  $ZIPprofiles   = 1;
  $PROFILERS = 2;
  $DISKLIMIT = 98;
  $PROFILERS = 6;
  %sources = (
 
  );
  $low_water = 90;
  $syslog_facility = 'local3';
  @plugins = (
  );
  %PluginConf = (
demoplugin = {
param2 = 42,
param1 = { 'key' = 'value' },
},
otherplugin = [
'mary had a little lamb'
],
  );
  $MAIL_FROM   = 'nf...@jggimi.homeip.net';
  $SMTP_SERVER = 'localhost';
  $MAIL_BODY = q{
  Alert '@alert@' triggered at timeslot @timeslot@ }; 1;

 Mine is nearly identical...

 $BASEDIR = /usr/local;
 $BINDIR=${BASEDIR}/bin;
 $LIBEXECDIR=${BASEDIR}/libdata/perl5/site_perl/NfSen;
 $CONFDIR=/etc;
 $HTMLDIR= /var/www/htdocs/nfsen;
 $DOCDIR=${BASEDIR}/share/doc/nfsen;
 $VARDIR=/var/db/nfsen;
 $PROFILESTATDIR=${VARDIR}/profiles-stat;
 $PROFILEDATADIR=${VARDIR}/profiles-data;
 $BACKEND_PLUGINDIR=${BASEDIR}/lib/nfsen/plugins;
 $FRONTEND_PLUGINDIR=${HTMLDIR}/plugins;
 $PREFIX  = '/usr/local/bin';
 $USER= _nfcapd;
 $WWWUSER  = www;
 $WWWGROUP = www;
 $BUFFLEN = 20;
 $SUBDIRLAYOUT = 1;
 $ZIPcollected= 1;
 $ZIPprofiles = 1;
 $PROFILERS = 2;
 $DISKLIMIT = 95;
 $PROFILERS = 6;
 %sources = (
 );
 $low_water = 90;
 $syslog_facility = 'local3';
 @plugins = (
 );
 %PluginConf = (
 );
 $MAIL_FROM   = 'ssud...@engineered-net.com';
 $SMTP_SERVER = 'localhost';
 $MAIL_BODY   = q{
 Alert '@alert@' triggered at timeslot @timeslot@
 };
 1;


I see you don't have anything in %sources (   );   My /etc/nfsen.conf has
the default entries.  Maybe that's part of my problem.

Stan



Re: combination of ssh port fowarding and pf redirection

2014-10-10 Thread stan
On Thu, Oct 09, 2014 at 07:27:37AM -0300, Giancarlo Razzolini wrote:
 On 08-10-2014 18:25, stan wrote:
  Anyone have any sugestions as to how to make this work?
 Did you try the suggestion I gave you off list, of making two ssh
 connections? Also, you could provide more details of your setup? Both
 your e-mails trying to explain it, were confusing. I think I understood
 what you want, but I'm not sure.
 
 Cheers
 
 
Thought i replied to this one, but I do not see it

First, sorry  missed your offline reply, the accont this s tied to gets a
lot of spam.

In any case, I wrote this p to try to carify the issue.


I am having trouble establishing a ssh tunnell to an OpenBSD 5.5 machine. Here 
is the command I am running on the remoote macine:

ssh -v -v -v -g -f -L 6030:phfw1:5432 stan@phfw1 -N

The targer OpneBSD machine is in the DNS and resolves corectly as phfw1

Here is the /etc/ssh/sshd_config file from the OpenBSD machine:


#   $OpenBSD: sshd_config,v 1.93 2014/01/10 05:59:19 djm Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options override the
# default value.

#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

# The default requires explicit activation of protocol 1
#Protocol 2

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key
#HostKey /etc/ssh/ssh_host_ecdsa_key
#HostKey /etc/ssh/ssh_host_ed25519_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 1024

# Ciphers and keying
#RekeyLimit default none

# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10

#RSAAuthentication yes
#PubkeyAuthentication yes

# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
# but this is overridden so installations will only check .ssh/authorized_keys
AuthorizedKeysFile  .ssh/authorized_keys

#AuthorizedPrincipalsFile none

#AuthorizedKeysCommand none
#AuthorizedKeysCommandUser nobody

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes

#AllowAgentForwarding yes
#AllowTcpForwarding yes
GatewayPorts yes
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PermitTTY yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
UseLogin no
UsePrivilegeSeparation sandbox  # Default for new installations.
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10:30:100
PermitTunnel yes
#ChrootDirectory none
#VersionAddendum none

# no default banner path
#Banner none

# override default of no subsystems
Subsystem   sftp/usr/libexec/sftp-server

# Example of overriding settings on a per-user basis
#Match User anoncvs
#   X11Forwarding no
#   AllowTcpForwarding no
#   PermitTTY no
#   ForceCommand cvs server


When I run the command I get hte following output


Script started on Thu 09 Oct 2014 01:58:55 PM EDT
]0;s...@plabws1.mcn.chs: ~stan@plabws1:~$ ./tst2
OpenSSH_5.9p1 Debian-5ubuntu1.4, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /home/stan/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to phfw1 [10.209.142.152] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load /home/stan/.ssh/id_rsa as a RSA1 public key
debug1: identity file /home/stan/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/stan/.ssh/id_rsa-cert type -1
debug3: Incorrect RSA1 identifier
debug3: Could not load /home/stan/.ssh/id_dsa as a RSA1 public key
debug1: identity file /home/stan/.ssh/id_dsa type 2
debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
debug1: identity file /home/stan/.ssh/id_dsa-cert type -1

Re: nfsen on 5.5

2014-10-10 Thread Stan Gammons

On 10/10/14 20:12, Steven Surdock wrote:

-Original Message-
From: Stan Gammons [mailto:sg063...@gmail.com]

On Oct 10, 2014 12:48 PM, Steven Surdock ssurd...@engineered-net.com
wrote:

-Original Message-
From: Josh Grosse [mailto:j...@jggimi.homeip.net]

On Fri, Oct 10, 2014 at 04:52:18PM +, Steven Surdock wrote:

Anybody successfully using nfsen?

It was working on 5.4 (except for the portTracker plugin) and now
under 5.5 the rrd's are not being updated.  I uninstalled and
re-initialized and still no luck.

-Steve S.


I've been using it since before 5.5, and it works fine for me.  Two
considerations:

If your webserver is chrooted, rrdtool must be included in the chroot,

per

/usr/local/share/doc/pkg-readmes/rrdtool-*. The rrdtool-chroot script
makes this easy.

Your pflow(4) device must use a version of netflow protocol compatible
with nfcapd, which are versions 1,5,7, and 9.  The pflow driver

supports

protocol versions 5 and 10.  Use 5, which is the default.

Not chrooted.  Flow records are being updated and stored correctly. The

RRD and associated PNGs aren't being updated.  I can still use the rrd
generated images to look at flows.  I've never gotten PortTracker working
as it says it segfault in the log.
Does syslog have a message saying unable to create graph: no such file or
directory?  That's what is happening for me on the Oct 3 snapshot of
OpenBSD 5.6  I figured it was operator malfunction :)

I may have pooched myself.  I upgraded from a -stable build system that I use 
and it appears that that system is a little lost.  In comparing -stable ports I 
noticed it was running php-5.4.32. Since the latest php for 5.5 is 5.4.30 I 
suspect my build system got out of sync.  I re-installed 5.5 release on my 
system with 5.5 release packages and nfsen seems to be working.  Thanks for the 
insight and guidance.


Glad you got it going.

I got rid of the unable to create graph messages, but I still have a 
couple of problems I haven't figured out. One being getting php to work 
with nginx?  Does one need to use php-fpm?



Stan



Re: combination of ssh port fowarding and pf redirection

2014-10-08 Thread stan
Anyone have any sugestions as to how to make this work?

On Tue, Oct 07, 2014 at 07:32:53PM -0400, stan wrote:
 Sorry that I did not make this clear.
 
 Here s what I am tryin to do, I have a DB server behind a OpenbSD firewall
 that we control. I have a non routable nework behind it that connect
 outbound doing NAT, and inbound using rt fowarding. I have this wrking so
 that mahines on the orporate network can cnnect to it by conecting to the
 apropriate port on the firewall.
 
 We have a corporate VPN to access only certain machines on that network.
 The firewall hapens to NOT be ne of thse, and I need access to this
 database whiile conected ia the PVPN/
 
 So, what I need to do is set up an ssh tunnell through one of te machines
 hat are accessiable from the VPN. So what I am tyring to do is set hat
 tunnell p. But the OpenBSD machine s efusing the conection, as shown.
 
 So, hee is a diagram of what I am tryng to do
 
 External machine - VPN - our machine - SSH tunnel - FW - DB machine
 
 This works already:
 
 our machine - FW - DB machine
 
 des that make it clearer?
 
 On Mon, Oct 06, 2014 at 09:22:52PM -0300, Giancarlo Razzolini wrote:
  On 06-10-2014 20:59, stan wrote:
   I have a pf configuration which corectly fowards external conections to
   port 5432 on a machine on the inside. Iam trying to set up a machine on 
   the
   outside to use ssh port fowarding to send ackets to port 5432 on the
   machine runing pf (firewall). Here is my ssh command line:
  
   ssh -v -v -v -g -f -L 6030:phfw1:5432 stan@phfw1 -N
  
   I keep getting errrs in auth.og about falure to connect on that port.
  
   Any idea what I am ding wrong?
  
  
  
  Very confusing. But if I understood correctly, you are trying to make a
  tcp port on a machine behind your firewall, available to others, in your
  internal lan, to others, right? Well, for starters, I wouldn't use dns
  names on the port forwarding part. It's prone to errors, not to mention
  the fact that you'll get confused wheter the name is resolved locally or
  remote. But it's remote, IIRC. In your case, you need to add your ip
  address to the forwarding. In your case, it would become:
  
  -L LOCAL IP:6030:REMOTE SIDE IP:5432
  
  If it's not this that you want, please clarify.
  
  Cheers,
  
  [demime 1.01d removed an attachment of type application/pkcs7-signature 
  which had a name of smime.p7s]
  
 
 -- 
 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in e-mail?
 

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: combination of ssh port fowarding and pf redirection

2014-10-07 Thread stan
Sorry that I did not make this clear.

Here s what I am tryin to do, I have a DB server behind a OpenbSD firewall
that we control. I have a non routable nework behind it that connect
outbound doing NAT, and inbound using rt fowarding. I have this wrking so
that mahines on the orporate network can cnnect to it by conecting to the
apropriate port on the firewall.

We have a corporate VPN to access only certain machines on that network.
The firewall hapens to NOT be ne of thse, and I need access to this
database whiile conected ia the PVPN/

So, what I need to do is set up an ssh tunnell through one of te machines
hat are accessiable from the VPN. So what I am tyring to do is set hat
tunnell p. But the OpenBSD machine s efusing the conection, as shown.

So, hee is a diagram of what I am tryng to do

External machine - VPN - our machine - SSH tunnel - FW - DB machine

This works already:

our machine - FW - DB machine

des that make it clearer?

On Mon, Oct 06, 2014 at 09:22:52PM -0300, Giancarlo Razzolini wrote:
 On 06-10-2014 20:59, stan wrote:
  I have a pf configuration which corectly fowards external conections to
  port 5432 on a machine on the inside. Iam trying to set up a machine on the
  outside to use ssh port fowarding to send ackets to port 5432 on the
  machine runing pf (firewall). Here is my ssh command line:
 
  ssh -v -v -v -g -f -L 6030:phfw1:5432 stan@phfw1 -N
 
  I keep getting errrs in auth.og about falure to connect on that port.
 
  Any idea what I am ding wrong?
 
 
 
 Very confusing. But if I understood correctly, you are trying to make a
 tcp port on a machine behind your firewall, available to others, in your
 internal lan, to others, right? Well, for starters, I wouldn't use dns
 names on the port forwarding part. It's prone to errors, not to mention
 the fact that you'll get confused wheter the name is resolved locally or
 remote. But it's remote, IIRC. In your case, you need to add your ip
 address to the forwarding. In your case, it would become:
 
 -L LOCAL IP:6030:REMOTE SIDE IP:5432
 
 If it's not this that you want, please clarify.
 
 Cheers,
 
 [demime 1.01d removed an attachment of type application/pkcs7-signature which 
 had a name of smime.p7s]
 

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



combination of ssh port fowarding and pf redirection

2014-10-06 Thread stan
I have a pf configuration which corectly fowards external conections to
port 5432 on a machine on the inside. Iam trying to set up a machine on the
outside to use ssh port fowarding to send ackets to port 5432 on the
machine runing pf (firewall). Here is my ssh command line:

ssh -v -v -v -g -f -L 6030:phfw1:5432 stan@phfw1 -N

I keep getting errrs in auth.og about falure to connect on that port.

Any idea what I am ding wrong?



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: combination of ssh port fowarding and pf redirection

2014-10-06 Thread stan
BTW here is the error mesage from auth.log

authlog:Oct  6 13:40:45 phfw1 sshd[13604]: error: connect to phfw1 port
5432 failed: Connection refused

On Mon, Oct 06, 2014 at 07:59:10PM -0400, stan wrote:
 I have a pf configuration which corectly fowards external conections to
 port 5432 on a machine on the inside. Iam trying to set up a machine on the
 outside to use ssh port fowarding to send ackets to port 5432 on the
 machine runing pf (firewall). Here is my ssh command line:
 
 ssh -v -v -v -g -f -L 6030:phfw1:5432 stan@phfw1 -N
 
 I keep getting errrs in auth.og about falure to connect on that port.
 
 Any idea what I am ding wrong?
 
 
 
 -- 
 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in e-mail?
 

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Compiling a modern version of Amanad on OpenBSD 5.5

2014-09-26 Thread stan
WE have a large investment in an Amanda backup system that has served us
faithfully for years, backing up a diverse mix of OpenbSD, Linux, HP{-UX,
FreeBSD, and Solaris systems.

The Amanda server is at version 2.65., 

We recently upgraaded sme of our OpenBSD machines from 4.5 to 5.5. I have
manda (client only) to compile on this version ofthe oS.

I do realizethee is a really old version of Amanda in the ports tree, and
yes it compiles, but it is too old to work with our server.

It is a great shame that a package which was originally famous for compling
and running on virtually everything that looked vaugely *NIX like has been
pushed by the comercail vendor who has come to dominate he development of
this package into something that is very dependent on may Linux specific
libraries. If I werestarting over, of course, I would chose something else
for backup, but we have large installed base ofthis system.

We arecomited to retaining OpnebSD asa key component of a upcoing
widesrpead upgaede of our systems.

Can anyone please give me some help with this?


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: low power device

2014-09-19 Thread Stan Gammons

On 09/19/14 11:21, Andreas Bartelt wrote:


I've just reflashed the 4/5/2014 version which is now called current 
production -- the same problem regarding re0. So yes, probably it's a 
flaky NIC. Taken together with the flaky mSATA drive of some APU.1c 
revisions and the unusually high operating temperature, I really can't 
recommend this device. On the other hand, there were a couple of 
positive reports regarding the APU.1c on misc@, so maybe I just had 
bad luck...


Best regards
Andreas



Sounds like a hardware problem.  The APU I use most has been running for 
nearly a month.  It's running the following and I haven't had any 
problems with it.  Yes, it does run warm. Anywhere from 58 to 62 C.


OpenBSD 5.6 (GENERIC.MP) #314: Thu Jul 31 15:16:43 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 
ffclock_battery,ROM_cksum,config_unit,memory_size,fixed_disk,invalid_time

real mem = 2098511872 (2001MB)
avail mem = 2033926144 (1939MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7e16d820 (7 entries)
bios0: vendor coreboot version 4.0 date 07/08/2014
bios0: PC Engines APU

# sysctl hw.sensors
hw.sensors.km0.temp0=61.50 degC

I have another APU with the latest BIOS and a Kingston 60GB msata SSD 
drive, but I haven't let it run for long periods of time to see how warm 
it gets.



Stan



Re: low power device

2014-09-18 Thread Stan Gammons

On 09/18/14 16:47, Steve Litt wrote:

How many ethernet ports does it have? I'd love to use something like
that as a firewall/router.

SteveT




The APU has 3 - 1 gig Ethernet ports and works great as a firewall.


Stan



Re: low power device

2014-09-18 Thread Stan Gammons

On 09/18/14 17:21, Steve Litt wrote:

On Thu, 18 Sep 2014 16:54:13 -0500
Stan Gammons sg063...@gmail.com wrote:


On 09/18/14 16:47, Steve Litt wrote:

How many ethernet ports does it have? I'd love to use something like
that as a firewall/router.

SteveT



The APU has 3 - 1 gig Ethernet ports and works great as a firewall.


Stan


Thanks Stan,

What's the device's exact name, and where do I get one?

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance



Sorry, I should have included the link to the website. 
http://www.pcengines.ch/apu.htm


Click shop to find a location near you.


Stan



Re: low power device

2014-09-18 Thread Stan Gammons

On 09/18/14 19:22, Chuck Burns wrote:

On Thursday, September 18, 2014 7:52:38 PM Steve Litt wrote:

I just remembered a third question: I can plug in a USB keyboard, but
how do I view the computer's output while installing OpenBSD or
troubleshooting? Ssh is good when it's running smoothly, but not for
preboot stuff.

Thanks,

Usually, it's a serial console



Yes, the APU has a serial console.  Baud rate is 115,200.  To install 
OpenBSD, boot from a CD. At the boot prompt, before it times out and 
continues to boot, type stty com0 115200 and press return. Then type 
set tty com0 and press return. Then press return at the boot prompt 
to continue the boot process.  Choose yes when the install ask if you 
want to use com0 as the console.



Stan



Re: low power device

2014-09-18 Thread Stan Gammons

On 09/18/14 21:13, System Administrator wrote:

On 18 Sep 2014 at 17:33, Stan Gammons wrote:


On 09/18/14 17:21, Steve Litt wrote:

On Thu, 18 Sep 2014 16:54:13 -0500
Stan Gammons sg063...@gmail.com wrote:


On 09/18/14 16:47, Steve Litt wrote:

How many ethernet ports does it have? I'd love to use something like
that as a firewall/router.

SteveT



The APU has 3 - 1 gig Ethernet ports and works great as a firewall.


Stan

Thanks Stan,

What's the device's exact name, and where do I get one?

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Sorry, I should have included the link to the website.
http://www.pcengines.ch/apu.htm

Click shop to find a location near you.


Stan



Hi,

PC Engines documentation for the APU is not explicit whether the RAM is
ECC or not. Researching the AMD G CPU it appears that it is only
compatible with non-ECC memory. Can you confirm that from your unit?

Also, is there consensus among developers to what extent having ECC RAM
is crucial for production servers and appliances? To put it another way
-- PC Engines do claim that their products are industrial grade, so
would you trust the APU as a key component of your infrastructure if it
does not have ECC RAM?

Thanks in advance,
-Jacob.



It doesn't have ECC memory.  Below is the dmesg from one of the APU's I 
have.  They aren't used in a production environment, so I can't comment 
on their reliability.


OpenBSD 5.6 (GENERIC.MP) #314: Thu Jul 31 15:16:43 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 
ffclock_battery,ROM_cksum,config_unit,memory_size,fixed_disk,invalid_time

real mem = 2098511872 (2001MB)
avail mem = 2033926144 (1939MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7e16d820 (7 entries)
bios0: vendor coreboot version 4.0 date 07/08/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,PAGE1GB,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,PAGE1GB,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:33:7c:50

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:33:7c:51

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:33:7c:52

rgephy2

Hatchet

2014-09-14 Thread Stan Gammons
Besides hatchet, what do you use to generate a report for pflog files?   
I was looking for something like what Lire does with iptables.



Stan



OpenBSD on a Dell R900

2014-09-05 Thread Stan Gammons

I deleted the original thread on this subject, so sorry for another one.

I tried 5.6 current on the R900 and the ide controller is still hosed.  
Not that it really matters, just wanted to report my findings.   Here's 
the dmesg



Stan


OpenBSD 5.6-current (GENERIC.MP) #353: Fri Aug 29 03:11:18 MDT 2014
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 137416605696 (131050MB)
avail mem = 133749886976 (127553MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xbfb9c000 (97 entries)
bios0: vendor Dell Inc. version 1.2.0 date 11/11/2010
bios0: Dell Inc. PowerEdge R900
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR HPET MCFG SLIC ERST HEST BERT EINJ 
TCPA SSDT

acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2394.20 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu0: 3MB 64b/line disabled L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 265MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.0, IBE
cpu1 at mainbus0: apid 8 (application processor)
cpu1: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.90 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu1: 3MB 64b/line disabled L2 cache
cpu1: smt 0, core 0, package 2
cpu2 at mainbus0: apid 16 (application processor)
cpu2: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.90 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu2: 3MB 64b/line disabled L2 cache
cpu2: smt 0, core 0, package 4
cpu3 at mainbus0: apid 24 (application processor)
cpu3: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.90 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu3: 3MB 64b/line disabled L2 cache
cpu3: smt 0, core 0, package 6
cpu4 at mainbus0: apid 2 (application processor)
cpu4: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.89 MHz
cpu4: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu4: 3MB 64b/line disabled L2 cache
cpu4: smt 0, core 2, package 0
cpu5 at mainbus0: apid 10 (application processor)
cpu5: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.90 MHz
cpu5: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu5: 3MB 64b/line disabled L2 cache
cpu5: smt 0, core 2, package 2
cpu6 at mainbus0: apid 18 (application processor)
cpu6: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.90 MHz
cpu6: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu6: 3MB 64b/line disabled L2 cache
cpu6: smt 0, core 2, package 4
cpu7 at mainbus0: apid 26 (application processor)
cpu7: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.90 MHz
cpu7: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu7: 3MB 64b/line disabled L2 cache
cpu7: smt 0, core 2, package 6
cpu8 at mainbus0: apid 1 (application processor)
cpu8: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.89 MHz
cpu8: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu8: 3MB 64b/line disabled L2 cache
cpu8: smt 0, core 1, package 0
cpu9 at mainbus0: apid 9 (application processor)
cpu9: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.90 MHz
cpu9: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu9: 3MB 64b/line disabled L2 cache
cpu9: smt 0, core 1, package 2
cpu10 at mainbus0: apid 17 (application processor)
cpu10: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.90 MHz
cpu10: 
FPU,VME,DE

OpenBSD 5.5 Stable on Dell R900

2014-09-04 Thread Stan Gammons
I've been tinkering with OpenBSD 5.5 stable on a Dell R900 and found out 
the CD/DVD isn't recognized when I try to do an install from the CD.  I 
was able to install OpenBSD 5.5 stable using the DRAC and mounting the 
CD as  a virtual CD.  After the OS reboots, it appears to recognize the 
CD drive as a virtual CD.  When I try to mount the cd with mount -t 
CD9660 -r /dev/cd0a /mnt/cdrom I get the error no media present 
although there is a CD in the drive.  Anyone know what gives with CD 
drive not working as expected on the R900? dmesg below.


I was trying rebuilt the kernel and binaries in hopes of making a 
patched version of 5.5 stable to load on an APU.1C  A process that 
doesn't take too long to do on an R900.



Stan


OpenBSD 5.5 (GENERIC.MP) #0: Thu Sep  4 12:40:01 CDT 2014
r...@test.test.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 137416605696 (131050MB)
avail mem = 133750005760 (127553MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xbfb9c000 (97 entries)
bios0: vendor Dell Inc. version 1.2.0 date 11/11/2010
bios0: Dell Inc. PowerEdge R900
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR HPET MCFG SLIC ERST HEST BERT EINJ 
TCPA SSDT

acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2394.20 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu0: 3MB 64b/line disabled L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 265MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.0, IBE
cpu1 at mainbus0: apid 8 (application processor)
cpu1: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.89 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu1: 3MB 64b/line disabled L2 cache
cpu1: smt 0, core 0, package 2
cpu2 at mainbus0: apid 16 (application processor)
cpu2: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.89 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu2: 3MB 64b/line disabled L2 cache
cpu2: smt 0, core 0, package 4
cpu3 at mainbus0: apid 24 (application processor)
cpu3: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.89 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu3: 3MB 64b/line disabled L2 cache
cpu3: smt 0, core 0, package 6
cpu4 at mainbus0: apid 2 (application processor)
cpu4: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.89 MHz
cpu4: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu4: 3MB 64b/line disabled L2 cache
cpu4: smt 0, core 2, package 0
cpu5 at mainbus0: apid 10 (application processor)
cpu5: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.89 MHz
cpu5: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu5: 3MB 64b/line disabled L2 cache
cpu5: smt 0, core 2, package 2
cpu6 at mainbus0: apid 18 (application processor)
cpu6: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.89 MHz
cpu6: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu6: 3MB 64b/line disabled L2 cache
cpu6: smt 0, core 2, package 4
cpu7 at mainbus0: apid 26 (application processor)
cpu7: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.89 MHz
cpu7: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu7: 3MB 64b/line disabled L2 cache
cpu7: smt 0, core 2, package 6
cpu8 at mainbus0: apid 1 (application processor)
cpu8: Intel(R) Xeon(R) CPU E7330 @ 2.40GHz, 2393.89 MHz
cpu8: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,NXE,LONG,LAHF,PERF

cpu8: 3MB 64b/line disabled L2 cache
cpu8: smt 0, core 1, package 0
cpu9 at mainbus0: apid 9 (application processor)
cpu9: Intel(R) Xeon

Re: OpenBSD 5.5 Stable on Dell R900

2014-09-04 Thread Stan Gammons

On 09/04/14 20:58, Nick Holland wrote:
Take a look in the system BIOS, there may be some knobs to twist for 
the on-board SATA interface. IF it is there, the one I might try would 
be switching the interface from IDE to AHCI mode -- I've seen some 
machines with AHCI support that have pathetic IDE operation. You may 
also wish to upgrade the BIOS. Why not, that's what Dell would tell 
you to do. :) Wouldn't hurt trying -current on it, either. 


If I remember right, enable and disable are the only options for the 
integrated peripherals.  1.2.0 is the latest BIOS according to the Dell 
website.


I have the 08-29-14 snapshot.  I'll see what it does.  Using the 2900 
may be the better option.



I was trying rebuilt the kernel and binaries in hopes of making a
patched version of 5.5 stable to load on an APU.1C  A process that
doesn't take too long to do on an R900.

probably takes longer to boot the machine than to build a kernel. :-/


It does take a while to test 128GB of memory. Unlike some machines, you 
can hit the space bar and terminate the memory test.  The machines that 
you can't terminate the memory test on take a while to boot especially 
when they have 512GB or more memory. :)



Stan



Kernel build instructions

2014-09-03 Thread Stan Gammons
Shouldn't the rebuilding the kernel instructions on this page

http://www.openbsd.org/stable.html

also state that you need to specify GENERIC.MP in order to build a
multiprocessor kernel on a multiprocessor machine?

Stan



Re: Dell PE2900 instant-reboot with 5.5-RELEASE

2014-08-23 Thread Stan Gammons

On 08/23/14 18:30, Adam Thompson wrote:

On 14-08-23 05:49 PM, Adam Thompson wrote:
Copying install55.fs to a USB stick and booting from it starts to 
boot, gets part-way through the boot process, then suddenly reboots.


All amd64 images fail in exactly the same way.  The server logs a 
Machine Check Exception on CPU1 along with a bunch of Unknown OEM 
Sensor triggered events.  (It's a Dell - how can the OEM [i.e. Dell!] 
sensors be unknown???)


And now begins the torturous process of determining what changed - 
booting a 4.0 amd64 CD works just fine.


I was about to start a binary search to find the last version that 
worked correctly, but I see the main site and mirrors all go back as 
far as 5.3 and no further.


My google-fu is weak, apparently - where do I find (i.e. download) 
older releases that I can't find my CDs for?





I would try a CD image to see if it reboots.  Use the DRAC, if 
available,  to log the output.


I have seen bad memory cause machine check exceptions.  Although it's 
odd that an older OpenBSD image boots.  Might want to run Dell diags to 
see if it turns up anything.  Or reseat all of the DIMMs to see if that 
helps.


The PE2900 is a bit old.  A little more modern hardware, if possible,  
might be a better option.  One of my favourite Dell machines is the 
R900, but it's pretty old too...



Stan



Re: APU.1C

2014-08-20 Thread Stan Gammons

On 08/20/14 17:24, Stuart Henderson wrote:

On 2014-08-19, Stan Gammons sg063...@gmail.com wrote:

Anyway.  Did you have to sign a NDA to get the datasheet?  I see on the RealTek 
website where they say it supports jumbo frames to 9K. Wonder if RealTek would 
answer some questions about the register config for jumbo frames?

I just found it on google, didn't take long and it's easier now you have
the strings from my previous mail to search for :)

It's probably not too horrible to find in another OS's driver if there's
one known to support it (as opposed to the vendor's own driver which
was a right mess last time I looked). Probably easier than finding a
vendor contact willing and able to give out information.



Ok.  I have another APU.1C that I can experiment with now.  Guess I 
could try one of the other BSDs to see about jumbo frames and the link 
LED issue.




Stan



APU.1C

2014-08-19 Thread Stan Gammons
Stan Gammons s_gammons at charter.net writes:

 On 07/29/14 04:01, Stuart Henderson wrote:
 That's to do with the traffic that the system is handling, you
 wouldn't normally expect to see all that much fragmented traffic. If
 there are lots of fragments, are you using pppoe? If so then make sure
 you either use 'scrub max-mss' or set suitable MTU on all machines on
 the lan. (In some cases you can use a larger MTU with pppoe RFC4638,
 but the re(4) driver doesn't yet support jumbo frames on the APU's nic
 so this won't be available to you).
 Are there other issues with the re(4) driver on the APU besides jumbo
 frames?  The LED on the Ethernet ports on the one I have don't seem to
 be working right.  At 100 meg the amber link LED is on, but at 1 gig the
 LED is off.  I would have thought the green LED would be on for a 1 gig
 link.   Other than that, I'm pretty pleased with how OpenBSD runs on it.

 From the datasheet, The RTL8111E supports customizable LED operation modes
via IO register offset 18h~19h. I haven't spotted anything setting this in
our driver so perhaps it's initialized to strange values by the BIOS.
Standard behaviour is for the link led to blink when it has link at any
speed, or when this LED is high for extended periods, it indicates that a
link problem exists.

The datasheet is also annoyingly silent about the register config for jumbo
frames.



I tried to reply to this email several days ago only to learn the entire subnet 
my ISP assigned DCHP IP address is on several of the IP blacklist.

Anyway.  Did you have to sign a NDA to get the datasheet?  I see on the RealTek 
website where they say it supports jumbo frames to 9K. Wonder if RealTek would 
answer some questions about the register config for jumbo frames?

There is a new version of BIOS for the APU. It's dated Jul 08, 2014.  It 
doesn't solve the LED issue though. I don't recall seeing a link LED blink. All 
I've seen is amber, yellow, green or not lit. I've seen the activity LED blink 
at a constant rate when the NIC port was attached to a switch port that's 
configured as a trunk port.

The pcengines support forum also has a link to the coreboot source code for the 
APU. It looks like it requires the Sage EDK to compile though.  Bummer.  I'm 
not that great a C programmer, so I guess it doesn't matter.


Stan



APU.1C was MinnowBoard MAX

2014-08-08 Thread Stan Gammons

On 07/29/14 04:01, Stuart Henderson wrote:
That's to do with the traffic that the system is handling, you 
wouldn't normally expect to see all that much fragmented traffic. If 
there are lots of fragments, are you using pppoe? If so then make sure 
you either use 'scrub max-mss' or set suitable MTU on all machines on 
the lan. (In some cases you can use a larger MTU with pppoe RFC4638, 
but the re(4) driver doesn't yet support jumbo frames on the APU's nic 
so this won't be available to you). 


Are there other issues with the re(4) driver on the APU besides jumbo 
frames?  The LED on the Ethernet ports on the one I have don't seem to 
be working right.  At 100 meg the amber link LED is on, but at 1 gig the 
LED is off.  I would have thought the green LED would be on for a 1 gig 
link.   Other than that, I'm pretty pleased with how OpenBSD runs on it.



Stan



Re: Access denied when trying to access SMB shares using AMD64 -current with Dolphin on KDE4

2014-07-30 Thread Stan Gammons
 On Jul 29, 2014, at 9:17 PM, Stan Gammons s_gamm...@charter.net wrote:
 
 Why am I not being prompted for the username and password when I try to 
 access the SMB share with Dolphin or Konqueror?
 
 

After a little further looking, I found I'm able to access the SMB share if I 
put the credentials in  System Settings  Sharing  Windows Shares.  If the 
username and password are blank, I'm not prompted for credentials.  Is this by 
design?  KDE version is 4.13.3


Stan



Access denied when trying to access SMB shares using AMD64 -current with Dolphin on KDE4

2014-07-29 Thread Stan Gammons
As the subject says, I get access denied errors when I try to access SMB 
shares.  Dolphin and Konqueror both recognize the shares, but I'm never 
prompted for the username and password to access them. I'm able to 
access the shares from a windows machine, but not from the OpenBSD machine.


The SMB shares are on a FreeNAS 9.2.1.5 machine which has this in the 
log.smbd file.


create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2014/07/29 20:48:30.879440,  1] ../source3/smbd/service.c:550(make_connection_s
num)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED


I'm able to login and see the shares with the smbclient on the OpenBSD 
machine.


Why am I not being prompted for the username and password when I try to 
access the SMB share with Dolphin or Konqueror?



Stan



Re: MinnowBoard MAX

2014-07-28 Thread Stan Gammons
 On Jul 28, 2014, at 5:38 AM, Stuart Henderson s...@spacehopper.org wrote:
 
 On 2014-07-27, Chris Cappuccio ch...@nmedia.net wrote:
 emigrant [emig...@gmail.com] wrote:
 new toy for OpenBSD? ;) -  http://www.minnowboard.org/meet-minnowboard-max/
 
 The 2core/2GB model looks similar in spec and price to the PC Engines APU,
 albiet with less LAN ports and possibly a better CPU.
 
 It's quite a bit smaller (99x74 vs 152x152) and has video out, though.
 
 If they only support UEFI that will be a problem for OpenBSD.
 
 Yes.
 

A fellow from Intel told me they are coming out with Coreboot firmware for the 
Minnowboard max, no ETA other than soon, and he didn't know if any of the 
BSD's would work with it.  He said the forthcoming FreeBSD 11 almost boots with 
the Minnowboard max as is.

Maybe OpenBSD will run on the PC Engines APU.1C


Stan



Re: MinnowBoard MAX

2014-07-28 Thread Stan Gammons
 On Jul 28, 2014, at 6:10 AM, Jonathan Gray j...@jsg.id.au wrote:
 
 On Mon, Jul 28, 2014 at 10:38:04AM +, Stuart Henderson wrote:
 On 2014-07-27, Chris Cappuccio ch...@nmedia.net wrote:
 emigrant [emig...@gmail.com] wrote:
 new toy for OpenBSD? ;) -  
 http://www.minnowboard.org/meet-minnowboard-max/
 
 The 2core/2GB model looks similar in spec and price to the PC Engines APU,
 albiet with less LAN ports and possibly a better CPU. 
 
 It's quite a bit smaller (99x74 vs 152x152) and has video out, though.
 

Anyone running OpenBSD on the PC Engines APU.1C ?


Stan



Re: MinnowBoard MAX

2014-07-28 Thread Stan Gammons
 On Jul 28, 2014, at 8:49 PM, Chris Cappuccio ch...@nmedia.net wrote:
 
 Stan Gammons [s_gamm...@charter.net] wrote:
 
 A fellow from Intel told me they are coming out with Coreboot firmware for 
 the Minnowboard max, no ETA other than soon, and he didn't know if any of 
 the BSD's would work with it.  He said the forthcoming FreeBSD 11 almost 
 boots with the Minnowboard max as is.
 
 That's good


Yes, just not sure how long it will be.

He also told me CircuitCo is in the process of releasing some lure's so one has 
additional Ethernet port options. One lure maybe as soon as late August.

 
 Maybe OpenBSD will run on the PC Engines APU.1C
 
 It does, quite well (OpenBSD fixed the Coreboot ACPI definitions for it to 
 work, to everyone's benefit)

That's great.  I may get one of those instead of waiting on the Minnowboard and 
CircuitCo option.


Thanks!

Stan



Re: OpenBSD 5.5 on Nokia IP260

2014-07-17 Thread Stan Gammons

On 07/17/14 15:20, Chris Cappuccio wrote:

Stan Gammons [s_gamm...@charter.net] wrote:

I know it's ancient and minimal hardware, but I've been tinkering with
OpenBSD 5.5 on a Nokia IP260 with an 8GB compact flash.  The OS was
installed on the compact flash using a card reader on a Dell laptop.  The OS
boots and networking works as long as I specify the MAC using lladdr in
hostname.xxx and use duids. If you don't use duids the partitions will not
mount when the compact flash is moved from the laptop to the IP260.  But I
see some errors on an 8GB compact flash that I didn't see with a 1GB compact
flash.  Could it be the 8GB compact flash is more than what the IP260
supported? Here's the dmesg

If the 1GB flash didn't have ultra-DMA support, that would explain why
you only see this error on the 8GB flash. Smells like the IP260 doesn't connect
the ultra-DMA wires back to the intel IDE chip, so only PIO mode or mwDMA will
work.


Yes, that's the problem.  Disabling DMA with ukc solves the problem.

I've since loaded OpenBSD 5.5 on a 16GB compact flash and it works too.  
A 32GB compact flash might even work.  I don't have one to see though.


Thanks to Jonathan Gray for the link to the write up on the CF socket.


Stan



OpenBSD 5.5 on Nokia IP260

2014-07-16 Thread Stan Gammons
I know it's ancient and minimal hardware, but I've been tinkering with 
OpenBSD 5.5 on a Nokia IP260 with an 8GB compact flash.  The OS was 
installed on the compact flash using a card reader on a Dell laptop.  
The OS boots and networking works as long as I specify the MAC using 
lladdr in hostname.xxx and use duids. If you don't use duids the 
partitions will not mount when the compact flash is moved from the 
laptop to the IP260.  But I see some errors on an 8GB compact flash that 
I didn't see with a 1GB compact flash.  Could it be the 8GB compact 
flash is more than what the IP260 supported? Here's the dmesg


OpenBSD 5.5-current (GENERIC) #104: Sun May 11 07:51:32 MDT 2014
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(TM) CPU 400MHz (GenuineIntel 686-class) 401 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE,PERF

real mem  = 536379392 (511MB)
avail mem = 515194880 (491MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: PC BIOS, date //
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xe/0x1!
cpu0 at mainbus0: (uniprocessor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82815 Host rev 0x04
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xf800, size 0x240
ppb0 at pci0 dev 1 function 0 Intel 82815 AGP rev 0x04
pci1 at ppb0 bus 1
ppb1 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x05
pci2 at ppb1 bus 2
ubsec0 at pci2 dev 0 function 0 Broadcom 5823 rev 0x01: 3DES MD5 SHA1 
AES RNG PK, irq 10
cbb0 at pci2 dev 1 function 0 TI PCI1520 CardBus rev 0x01: irq 11, 
CardBus support disabled
cbb1 at pci2 dev 1 function 1 TI PCI1520 CardBus rev 0x01: irq 11, 
CardBus support disabled
fxp0 at pci2 dev 2 function 0 Intel 82559ER rev 0x10, i82551: irq 5, 
address 00:00:00:00:00:00

inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci2 dev 3 function 0 Intel 82559ER rev 0x10, i82551: irq 6, 
address 00:00:00:00:00:00

inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
fxp2 at pci2 dev 4 function 0 Intel 82559ER rev 0x10, i82551: irq 7, 
address 00:00:00:00:00:00

inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 4
fxp3 at pci2 dev 5 function 0 Intel 82559ER rev 0x10, i82551: irq 9, 
address 00:00:00:00:00:00

inphy3 at fxp3 phy 1: i82555 10/100 PHY, rev. 4
cbb0: bad Vcc request. sock_ctrl 0x400, sock_status 0x3206
cardslot0 at cbb0 slot 0 flags 0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801BA LPC rev 0x05: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801BA IDE rev 0x05: DMA, 
channel 0 wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: SanDisk SDCFHNJC-008G
wd0: 1-sector PIO, LBA48, 7629MB, 15625216 sectors
wd1 at pciide0 channel 0 drive 1: FUJITSU MHV2040AS
wd1: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
ichiic0 at pci0 dev 31 function 3 Intel 82801BA SMBus rev 0x05: irq 9
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 256MB SDRAM non-parity PC133CL2
spdmem1 at iic0 addr 0x51: 256MB SDRAM non-parity PC133CL2
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4: polled
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio0 at nsclpcsio0: 29 pins
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
nvram: invalid checksum
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 512
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x61
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 512
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x61
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 512
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x61
wd0: transfer error, downgrading to Ultra-DMA mode 0
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 0
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 

Re: OpenBSD 5.5 on Nokia IP260

2014-07-16 Thread Stan Gammons

On 07/16/14 20:38, Ted Unangst wrote:

On Wed, Jul 16, 2014 at 20:26, Stan Gammons wrote:

I know it's ancient and minimal hardware, but I've been tinkering with
OpenBSD 5.5 on a Nokia IP260 with an 8GB compact flash.  The OS was
installed on the compact flash using a card reader on a Dell laptop.
The OS boots and networking works as long as I specify the MAC using
lladdr in hostname.xxx and use duids. If you don't use duids the
partitions will not mount when the compact flash is moved from the
laptop to the IP260.  But I see some errors on an 8GB compact flash that
I didn't see with a 1GB compact flash.  Could it be the 8GB compact
flash is more than what the IP260 supported? Here's the dmesg

Could be.


I'm wondering if 4GB was the maximum supported since that's what I've 
seen for the CF for other Nokia IP models made around the same time as 
the IP260. The technical specs I've seen for the IP260 show 40GB as the 
maximum hard disk, but it didn't specify a maximum for the CF.  1GB and 
8GB are all I have at the moment though.  Will have to see if I can find 
one.





wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0: soft error (corrected)
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 512
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x61
wd0: transfer error, downgrading to PIO mode 4
wd0(pciide0:0:0): using PIO mode 4
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd0c: device timeout reading fsbn 65 (wd0 bn 65; cn 0 tn 1 sn 2), retrying
wd0: soft error (corrected)
root on wd0a (511531c0c5c7c075.a) swap on wd0b dump on wd0b
clock: unknown CMOS layout

This looks more like pciide controller issues. Either it or the CF
aren't playing nice with each other. But once downgraded to PIO mode,
it appears everything has been slowed down enough to work again.



The controller probably doesn't like the CF.  Is there a way to debug 
this further to see if that's the case?



Stan



Re: OpenBSD 5.5 on Nokia IP260

2014-07-16 Thread Stan Gammons

On 07/16/14 20:53, Nick Holland wrote:

On 07/16/14 21:26, Stan Gammons wrote:

I know it's ancient and minimal hardware, but I've been tinkering with
OpenBSD 5.5 on a Nokia IP260 with an 8GB compact flash.  The OS was
installed on the compact flash using a card reader on a Dell laptop.
The OS boots and networking works as long as I specify the MAC using
lladdr in hostname.xxx and use duids. If you don't use duids the
partitions will not mount when the compact flash is moved from the
laptop to the IP260.

As expected.  on your Dell, it's probably in a USB adapter, and comes up
as an sd(4) device; on the IDE bus, it comes up as a wd(4) device.


Exactly.




But I see some errors on an 8GB compact flash that
I didn't see with a 1GB compact flash.  Could it be the 8GB compact
flash is more than what the IP260 supported? Here's the dmesg

OpenBSD 5.5-current (GENERIC) #104: Sun May 11 07:51:32 MDT 2014
  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

...[snipped, but thanks for providing!]...

scsibus2 at softraid0: 256 targets
wd0(pciide0:0:0): timeout
  type: ata
  c_bcount: 512
  c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x61
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying

...[and slow, painful downgrade to PIO]...

This might help:
http://www.openbsd.org/faq/faq12.html#i386flash
This will probably really hurt the performance on your hard disk as
well, so it may not be worth doing; as it is, your system finds what
each can do just fine on its own.  But being this is a firewall, reboot
time might mean more than disk througput...

Nick.



That fixed it.  It boots without the errors now.

Thanks!


Stan



Re: OpenBSD 5.5 on Nokia IP260

2014-07-16 Thread Stan Gammons

I failed to include the new dmesg in the last email

User Kernel Config
UKC chang wd
 53 wd* at wdc0|wdc1|wdc*|wdc*|pciide*|pciide* channel -1 flags 0x0
change (y/n) ? y
channel [-1] ?
flags [0] ? 0x0ff0
 53 wd* changed
 53 wd* at wdc0|wdc1|wdc*|wdc*|pciide*|pciide* channel -1 flags 0xff0
UKC quit
Continuing...
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: PC BIOS, date //
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xe/0x1!
cpu0 at mainbus0: (uniprocessor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82815 Host rev 0x04
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xf800, size 0x240
ppb0 at pci0 dev 1 function 0 Intel 82815 AGP rev 0x04
pci1 at ppb0 bus 1
ppb1 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x05
pci2 at ppb1 bus 2
ubsec0 at pci2 dev 0 function 0 Broadcom 5823 rev 0x01: 3DES MD5 SHA1 
AES RNG PK, irq 10
cbb0 at pci2 dev 1 function 0 TI PCI1520 CardBus rev 0x01: irq 11, 
CardBus support disabled
cbb1 at pci2 dev 1 function 1 TI PCI1520 CardBus rev 0x01: irq 11, 
CardBus support disabled
fxp0 at pci2 dev 2 function 0 Intel 82559ER rev 0x10, i82551: irq 5, 
address 00:00:00:00:00:00

inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci2 dev 3 function 0 Intel 82559ER rev 0x10, i82551: irq 6, 
address 00:00:00:00:00:00

inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
fxp2 at pci2 dev 4 function 0 Intel 82559ER rev 0x10, i82551: irq 7, 
address 00:00:00:00:00:00

inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 4
fxp3 at pci2 dev 5 function 0 Intel 82559ER rev 0x10, i82551: irq 9, 
address 00:00:00:00:00:00

inphy3 at fxp3 phy 1: i82555 10/100 PHY, rev. 4
cbb0: bad Vcc request. sock_ctrl 0x400, sock_status 0x3206
cardslot0 at cbb0 slot 0 flags 0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801BA LPC rev 0x05: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801BA IDE rev 0x05: DMA, 
channel 0 wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: SanDisk SDCFHNJC-008G
wd0: 1-sector PIO, LBA48, 7629MB, 15625216 sectors
wd1 at pciide0 channel 0 drive 1: FUJITSU MHV2040AS
wd1: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4
wd1(pciide0:0:1): using PIO mode 4
pciide0: channel 1 disabled (no drives)
ichiic0 at pci0 dev 31 function 3 Intel 82801BA SMBus rev 0x05: irq 9
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 256MB SDRAM non-parity PC133CL2
spdmem1 at iic0 addr 0x51: 256MB SDRAM non-parity PC133CL2
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4: polled
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio0 at nsclpcsio0: 29 pins
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
nvram: invalid checksum
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (511531c0c5c7c075.a) swap on wd0b dump on wd0b
clock: unknown CMOS layout

Thanks again for the help.


Stan



Re: Problem installing KDE4

2014-07-12 Thread Stan Gammons

On 07/12/14 01:26, Vadim Zhukov wrote:

12.07.2014 2:17 пользователь Stan Gammons
s_gamm...@charter.net напи�ал:

I downloaded install55.iso dated July 11, 2014 from ftp.openbsd.org this

afternoon and after a new install I tried to install kde4 using the
snapshot packages from the same site which are dated July 8, 2014. In doing
so I get can't resolve errors on glib2-2.40.0p7 and python-2.7.7 which
causes lots of other errors due to the dependency on these packages.   Is
the older snapshot of the packages the problem or is something else wrong?

It's just a consistency problem, packages and base sets are not built at
the same time (and sometimes with the same base code, ever). Even more,
currently there is a hackathon going on, so things get out of sync easily.
Your options are:

1) Wait for about a week.

2) Get  update ports tree, then run dpb x11/kde4 (or whatever) to get a
consistent set of packages.



I reinstalled the July 06 AMD64 install55.iso and KDE4 installed Ok with 
the packages dated July 08.


Is there a way to find out whether or not a given date package(s) will 
work with a current build iso? Other than installing a current iso and 
finding out the hard way.



Stan



Problems installing KDE4

2014-07-11 Thread Stan Gammons
Forgot to say this is on AMD64


Stan



Problem installing KDE4

2014-07-11 Thread Stan Gammons
I downloaded install55.iso dated July 11, 2014 from ftp.openbsd.org this 
afternoon and after a new install I tried to install kde4 using the snapshot 
packages from the same site which are dated July 8, 2014. In doing so I get 
can't resolve errors on glib2-2.40.0p7 and python-2.7.7 which causes lots of 
other errors due to the dependency on these packages.   Is the older snapshot 
of the packages the problem or is something else wrong?


Stan



SSH fails to run

2014-07-06 Thread Stan Gammons
I grabbed the 07-04-2014 snapshot of OpenBSD for AMD64 and was trying to get 
KDE4 to run and ran into some problems. One is SSH fails to run.  When I try to 
run it with /usr/sbin/sshd several error messages are displayed. Starting with 
key_load_private: incorrect passphrase supplied to decrypt private key. 
key_load_public: invalid format. The other message state it unable to load any 
of the host keys with the same passphrase erroer and invalid format.  Does 
anyone know what's causing this?  

As for the other problems, it doesn't seem to like my Radeon HD 6570 card. 
Perhaps I need to get a non Radeon video card.


Stab



Re: SSH fails to run

2014-07-06 Thread Stan Gammons
 On Jul 6, 2014, at 10:33 AM, Christian Weisgerber na...@mips.inka.de wrote:
 
 On 2014-07-06, Stan Gammons s_gamm...@charter.net wrote:
 
 I grabbed the 07-04-2014 snapshot of OpenBSD for AMD64 and was
 
 I'll guess that you mean July 4.  There was no amd64 snapshot with
 that date, so I presume you grabbed an older one _on_ that date.
 
 trying to get KDE4 to run and ran into some problems. One is SSH
 fails to run.  When I try to run it with /usr/sbin/sshd several
 error messages are displayed. Starting with key_load_private:
 incorrect passphrase supplied to decrypt private key.
 
 Fixed about a week ago.
 There's a new snapshot up.
 

Ok.  I'll grab another snapshot later today, but I could of sworn the one I got 
yesterday had a July 04 date.

Stan



Re: SSH fails to run

2014-07-06 Thread Stan Gammons
 On Jul 6, 2014, at 10:33 AM, Christian Weisgerber na...@mips.inka.de wrote:
 
 On 2014-07-06, Stan Gammons s_gamm...@charter.net wrote:
 
 I grabbed the 07-04-2014 snapshot of OpenBSD for AMD64 and was
 
 I'll guess that you mean July 4.  There was no amd64 snapshot with
 that date, so I presume you grabbed an older one _on_ that date.
 
 trying to get KDE4 to run and ran into some problems. One is SSH
 fails to run.  When I try to run it with /usr/sbin/sshd several
 error messages are displayed. Starting with key_load_private:
 incorrect passphrase supplied to decrypt private key.
 
 Fixed about a week ago.
 There's a new snapshot up.
 


The July 06 snapshot is working for me.

Thanks.

Stan



Re: Radeondrm on OpenBSD 5.5 stable

2014-06-15 Thread Stan Gammons

On 06/14/2014 11:30 AM, Jonathan Gray wrote:

On Tue, Jun 10, 2014 at 04:39:03PM -0500, Stan Gammons wrote:

On 06/10/2014 12:01 AM, Jonathan Gray wrote:

On Mon, Jun 09, 2014 at 04:53:23AM -0500, Stan Gammons wrote:

On 06/09/2014 01:56 AM, Jonathan Gray wrote:

On Sun, Jun 08, 2014 at 07:01:56AM -0500, Stan Gammons wrote:

Is there a known problem with the Radeon driver on OpenBSD 5.5 AMD64
stable?   I noticed the text on the console was scrolling very slow
while src.tar.gz was extracting.  I didn't time it, but it seem to take
2 to 3 times as long to return to the command line compared to
extracting the same file on a slower i386 machine.   Syslog output is
below.

Well things are going to be slow when all the acceleration is being
disabled.  It isn't clear if the problem you're encountering is
due to something like missing firmware as you didn't include a dmesg.



It loads or tries to load firmware at boot.

Here's the dmesg info.

So it seems something isn't working right with the GART.
Could you try the following diff to force it to a smaller size?

Diff against -current but will likely apply to 5.5

Index: sys/dev/pci/drm/radeon/rs400.c
===
RCS file: /cvs/src/sys/dev/pci/drm/radeon/rs400.c,v
retrieving revision 1.4
diff -u -p -r1.4 rs400.c
--- sys/dev/pci/drm/radeon/rs400.c  9 Feb 2014 12:33:44 -   1.4
+++ sys/dev/pci/drm/radeon/rs400.c  10 Jun 2014 04:57:21 -
@@ -54,6 +54,8 @@ void rs400_gart_adjust_size(struct radeo
rdev-mc.gtt_size = 32 * 1024 * 1024;
return;
}
+   DRM_ERROR(Forcing to 32M GART size\n);
+   rdev-mc.gtt_size = 32 * 1024 * 1024;
  }
  
  void rs400_gart_tlb_flush(struct radeon_device *rdev)

It didn't seem to like that.

Is there some kind of bios option to change the gart size?

I'd also be interested to hear if pulling one of your
2GB dimms changes anything.



The only video related option I see in BIOS is frame buffer size. It is 
set to auto.


I pulled a DIMM so it only has 2GB and it doesn't look like anything 
changed.


OpenBSD 5.5 (GENERIC.MP) #1: Tue Jun 10 16:24:29 CDT 2014
r...@gateway.home.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1994326016 (1901MB)
avail mem = 1932685312 (1843MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (52 entries)
bios0: vendor Award Software International, Inc. version FK date 
08/31/2010

bios0: Gigabyte Technology Co., Ltd. GA-MA74GM-S2
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT HPET MCFG APIC
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) 
USB5(S3) USB6(S3) SBAZ(S4) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) 
PCE6(S4) PCE7(S4) PCE8(S4) [...]

acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) II X2 250 Processor, 3021.29 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,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
associative

cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 201MHz
cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) II X2 250 Processor, 3020.90 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,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
associative

cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P2P_)
acpiprt2 at acpi0: bus 2 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7)
acpiprt8 at acpi0: bus -1 (PCE8)
acpiprt9 at acpi0: bus 1 (AGP_)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0: 3021 MHz: speeds: 3000 2300 1800 800 MHz
pci0

Re: Radeondrm on OpenBSD 5.5 stable

2014-06-10 Thread Stan Gammons
 On Jun 10, 2014, at 12:01 AM, Jonathan Gray j...@jsg.id.au wrote:
 
 On Mon, Jun 09, 2014 at 04:53:23AM -0500, Stan Gammons wrote:
 On 06/09/2014 01:56 AM, Jonathan Gray wrote:
 On Sun, Jun 08, 2014 at 07:01:56AM -0500, Stan Gammons wrote:
 Is there a known problem with the Radeon driver on OpenBSD 5.5 AMD64
 stable?   I noticed the text on the console was scrolling very slow
 while src.tar.gz was extracting.  I didn't time it, but it seem to take
 2 to 3 times as long to return to the command line compared to
 extracting the same file on a slower i386 machine.   Syslog output is 
 below.
 Well things are going to be slow when all the acceleration is being
 disabled.  It isn't clear if the problem you're encountering is
 due to something like missing firmware as you didn't include a dmesg.
 
 
 
 It loads or tries to load firmware at boot.
 
 Here's the dmesg info.
 
 So it seems something isn't working right with the GART.
 Could you try the following diff to force it to a smaller size?
 
 Diff against -current but will likely apply to 5.5
 
 Index: sys/dev/pci/drm/radeon/rs400.c
 ===
 RCS file: /cvs/src/sys/dev/pci/drm/radeon/rs400.c,v
 retrieving revision 1.4
 diff -u -p -r1.4 rs400.c
 --- sys/dev/pci/drm/radeon/rs400.c9 Feb 2014 12:33:44 -1.4
 +++ sys/dev/pci/drm/radeon/rs400.c10 Jun 2014 04:57:21 -
 @@ -54,6 +54,8 @@ void rs400_gart_adjust_size(struct radeo
rdev-mc.gtt_size = 32 * 1024 * 1024;
return;
}
 +DRM_ERROR(Forcing to 32M GART size\n);
 +rdev-mc.gtt_size = 32 * 1024 * 1024;
 }
 
 void rs400_gart_tlb_flush(struct radeon_device *rdev)


I'll try the diff later today.

Do you keep getting duplicate emails on this subject?  I keep getting 
duplicates on this as well as other emails.  Something weird is going on here...

Stan



Re: Radeondrm on OpenBSD 5.5 stable

2014-06-10 Thread Stan Gammons

On 06/10/2014 12:01 AM, Jonathan Gray wrote:

On Mon, Jun 09, 2014 at 04:53:23AM -0500, Stan Gammons wrote:

On 06/09/2014 01:56 AM, Jonathan Gray wrote:

On Sun, Jun 08, 2014 at 07:01:56AM -0500, Stan Gammons wrote:

Is there a known problem with the Radeon driver on OpenBSD 5.5 AMD64
stable?   I noticed the text on the console was scrolling very slow
while src.tar.gz was extracting.  I didn't time it, but it seem to take
2 to 3 times as long to return to the command line compared to
extracting the same file on a slower i386 machine.   Syslog output is
below.

Well things are going to be slow when all the acceleration is being
disabled.  It isn't clear if the problem you're encountering is
due to something like missing firmware as you didn't include a dmesg.



It loads or tries to load firmware at boot.

Here's the dmesg info.

So it seems something isn't working right with the GART.
Could you try the following diff to force it to a smaller size?

Diff against -current but will likely apply to 5.5

Index: sys/dev/pci/drm/radeon/rs400.c
===
RCS file: /cvs/src/sys/dev/pci/drm/radeon/rs400.c,v
retrieving revision 1.4
diff -u -p -r1.4 rs400.c
--- sys/dev/pci/drm/radeon/rs400.c  9 Feb 2014 12:33:44 -   1.4
+++ sys/dev/pci/drm/radeon/rs400.c  10 Jun 2014 04:57:21 -
@@ -54,6 +54,8 @@ void rs400_gart_adjust_size(struct radeo
rdev-mc.gtt_size = 32 * 1024 * 1024;
return;
}
+   DRM_ERROR(Forcing to 32M GART size\n);
+   rdev-mc.gtt_size = 32 * 1024 * 1024;
  }
  
  void rs400_gart_tlb_flush(struct radeon_device *rdev)


It didn't seem to like that.

OpenBSD 5.5 (GENERIC.MP) #1: Tue Jun 10 16:24:29 CDT 2014
r...@gateway.home.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4141809664 (3949MB)
avail mem = 4022943744 (3836MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (52 entries)
bios0: vendor Award Software International, Inc. version FK date 
08/31/2010

bios0: Gigabyte Technology Co., Ltd. GA-MA74GM-S2
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT HPET MCFG APIC
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) 
USB5(S3) USB6(S3) SBAZ(S4) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) 
PCE6(S4) PCE7(S4) PCE8(S4) [...]

acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) II X2 250 Processor, 3021.29 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,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
associative

cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 201MHz
cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) II X2 250 Processor, 3020.91 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,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
associative

cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P2P_)
acpiprt2 at acpi0: bus 2 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7)
acpiprt8 at acpi0: bus -1 (PCE8)
acpiprt9 at acpi0: bus 1 (AGP_)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0: 3021 MHz: speeds: 3000 2300 1800 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 ATI RS740 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 2100 rev 0x00
drm0 at radeondrm0
radeondrm0: apic 2 int 18
ppb1 at pci0 dev 2 function 0 ATI RS690M PCIE rev 0x00: msi
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel 82571EB rev 0x06: apic 2 int 18, 
address 00:15:17:cd:db

Re: Radeondrm on OpenBSD 5.5 stable

2014-06-09 Thread Stan Gammons

On 06/09/2014 01:56 AM, Jonathan Gray wrote:

On Sun, Jun 08, 2014 at 07:01:56AM -0500, Stan Gammons wrote:

Is there a known problem with the Radeon driver on OpenBSD 5.5 AMD64
stable?   I noticed the text on the console was scrolling very slow
while src.tar.gz was extracting.  I didn't time it, but it seem to take
2 to 3 times as long to return to the command line compared to
extracting the same file on a slower i386 machine.   Syslog output is below.

Well things are going to be slow when all the acceleration is being
disabled.  It isn't clear if the problem you're encountering is
due to something like missing firmware as you didn't include a dmesg.




It loads or tries to load firmware at boot.

Here's the dmesg info.


OpenBSD 5.5 (GENERIC.MP) #0: Sat Jun  7 22:45:43 CDT 2014
r...@gateway.home.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4141809664 (3949MB)
avail mem = 4022943744 (3836MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (52 entries)
bios0: vendor Award Software International, Inc. version FK date 
08/31/2010

bios0: Gigabyte Technology Co., Ltd. GA-MA74GM-S2
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT HPET MCFG APIC
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) 
USB5(S3) USB6(S3) SBAZ(S4) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) 
PCE6(S4) PCE7(S4) PCE8(S4) [...]

acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) II X2 250 Processor, 3021.32 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,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
associative

cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 201MHz
cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) II X2 250 Processor, 3020.91 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,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
associative

cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P2P_)
acpiprt2 at acpi0: bus 2 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7)
acpiprt8 at acpi0: bus -1 (PCE8)
acpiprt9 at acpi0: bus 1 (AGP_)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0: 3021 MHz: speeds: 3000 2300 1800 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 ATI RS740 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 2100 rev 0x00
drm0 at radeondrm0
radeondrm0: apic 2 int 18
ppb1 at pci0 dev 2 function 0 ATI RS690M PCIE rev 0x00: msi
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel 82571EB rev 0x06: apic 2 int 18, 
address 00:15:17:cd:db:42
em1 at pci2 dev 0 function 1 Intel 82571EB rev 0x06: apic 2 int 19, 
address 00:15:17:cd:db:43
ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x00: apic 2 int 
22, AHCI 1.1

scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, Maxtor 7Y250M0, YAR5 SCSI3 0/direct 
fixed t10.ATA_Maxtor_7Y250M0_Y64Y10TE_

sd0: 239372MB, 512 bytes/sector, 490234752 sectors
sd1 at scsibus0 targ 1 lun 0: ATA, Maxtor 6Y250M0, YAR5 SCSI3 0/direct 
fixed t10.ATA_Maxtor_6Y250M0_Y64DMDWE_

sd1: 239371MB, 512 bytes/sector, 490232639 sectors
cd0 at scsibus0 targ 2 lun 0: HL-DT-ST, DVDRAM GH24NS95, RN01 ATAPI 
5/cdrom removable
ohci0 at pci0 dev 18 function 0 ATI SB700 USB rev 0x00: apic 2 int 16, 
version 1.0, legacy support
ohci1 at pci0 dev 18 function 1 ATI SB700 USB rev 0x00: apic 2 int 16, 
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

Re: Radeondrm on OpenBSD 5.5 stable

2014-06-09 Thread Stan Gammons
On 06/09/2014 01:56 AM, Jonathan Gray wrote:
 On Sun, Jun 08, 2014 at 07:01:56AM -0500, Stan Gammons wrote:
 Is there a known problem with the Radeon driver on OpenBSD 5.5 AMD64
 stable?   I noticed the text on the console was scrolling very slow
 while src.tar.gz was extracting.  I didn't time it, but it seem to take
 2 to 3 times as long to return to the command line compared to
 extracting the same file on a slower i386 machine.   Syslog output is below.
 Well things are going to be slow when all the acceleration is being
 disabled.  It isn't clear if the problem you're encountering is
 due to something like missing firmware as you didn't include a dmesg.



I tried to send this earlier and apparently it didn't send for some reason.

It loads or tries to load firmware at boot.

Here's the dmesg info.


OpenBSD 5.5 (GENERIC.MP) #0: Sat Jun  7 22:45:43 CDT 2014
r...@gateway.home.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4141809664 (3949MB)
avail mem = 4022943744 (3836MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (52 entries)
bios0: vendor Award Software International, Inc. version FK date 
08/31/2010
bios0: Gigabyte Technology Co., Ltd. GA-MA74GM-S2
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT HPET MCFG APIC
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) 
USB5(S3) USB6(S3) SBAZ(S4) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) 
PCE6(S4) PCE7(S4) PCE8(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) II X2 250 Processor, 3021.32 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,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
associative
cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 201MHz
cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) II X2 250 Processor, 3020.91 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,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
associative
cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P2P_)
acpiprt2 at acpi0: bus 2 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7)
acpiprt8 at acpi0: bus -1 (PCE8)
acpiprt9 at acpi0: bus 1 (AGP_)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0: 3021 MHz: speeds: 3000 2300 1800 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 ATI RS740 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 2100 rev 0x00
drm0 at radeondrm0
radeondrm0: apic 2 int 18
ppb1 at pci0 dev 2 function 0 ATI RS690M PCIE rev 0x00: msi
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel 82571EB rev 0x06: apic 2 int 18, 
address 00:15:17:cd:db:42
em1 at pci2 dev 0 function 1 Intel 82571EB rev 0x06: apic 2 int 19, 
address 00:15:17:cd:db:43
ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x00: apic 2 int 
22, AHCI 1.1
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, Maxtor 7Y250M0, YAR5 SCSI3 0/direct 
fixed t10.ATA_Maxtor_7Y250M0_Y64Y10TE_
sd0: 239372MB, 512 bytes/sector, 490234752 sectors
sd1 at scsibus0 targ 1 lun 0: ATA, Maxtor 6Y250M0, YAR5 SCSI3 0/direct 
fixed t10.ATA_Maxtor_6Y250M0_Y64DMDWE_
sd1: 239371MB, 512 bytes/sector, 490232639 sectors
cd0 at scsibus0 targ 2 lun 0: HL-DT-ST, DVDRAM GH24NS95, RN01 ATAPI 
5/cdrom removable
ohci0 at pci0 dev 18 function 0 ATI SB700 USB rev 0x00: apic 2 int 16, 
version 1.0, legacy support
ohci1 at pci0 dev 18 function 1 ATI SB700 USB rev 0x00: apic 2 int 16, 
version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 ATI SB700 USB2 rev 0x00: apic 2 int 17

Radeondrm on OpenBSD 5.5 stable

2014-06-08 Thread Stan Gammons
Is there a known problem with the Radeon driver on OpenBSD 5.5 AMD64 
stable?   I noticed the text on the console was scrolling very slow 
while src.tar.gz was extracting.  I didn't time it, but it seem to take 
2 to 3 times as long to return to the command line compared to 
extracting the same file on a slower i386 machine.   Syslog output is below.




Jun  7 22:47:09 gateway /bsd: radeondrm0: VRAM: 128M 0xD000 
- 0xD7FF (128M used)
Jun  7 22:47:09 gateway /bsd: radeondrm0: GTT: 512M 0xA000 - 
0xBFFF
Jun  7 22:47:09 gateway /bsd: drm: PCIE GART of 512M enabled (table at 
0x0891F000).
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:r100_ring_test] *ERROR* 
radeon: ring test failed (scratch(0x15E4)=0xCAFEDEAD)
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:r100_cp_init] *ERROR* 
radeon: cp isn't working (-22).
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:rs690_startup] *ERROR* 
failed initializing CP (-22).
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:rs690_init] *ERROR* 
Disabling GPU acceleration
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:r100_cp_fini] *ERROR* 
Wait for CP idle timeout, shutting down CP.
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:r100_gui_wait_for_idle] 
*ERROR* radeon: wait for empty RBBM fifo failed ! Bad things might happen.
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:r100_cp_disable] *ERROR* 
Failed to wait GUI idle while programming pipes. Bad things might happen.

Jun  7 22:47:09 gateway /bsd: drm: radeon: cp finalized
Jun  7 22:47:09 gateway /bsd: radeondrm0: 1600x900
Jun  7 22:47:09 gateway /bsd: wsdisplay0 at radeondrm0 mux 1: console 
(std, vt100 emulation), using wskbd0
Jun  7 22:47:09 gateway /bsd: wsdisplay0: screen 1-5 added (std, vt100 
emulation)Jun  7 22:47:09 gateway /bsd: radeondrm0: VRAM: 128M 
0xD000 - 0xD7FF (128M used)
Jun  7 22:47:09 gateway /bsd: radeondrm0: GTT: 512M 0xA000 - 
0xBFFF
Jun  7 22:47:09 gateway /bsd: drm: PCIE GART of 512M enabled (table at 
0x0891F000).
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:r100_ring_test] *ERROR* 
radeon: ring test failed (scratch(0x15E4)=0xCAFEDEAD)
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:r100_cp_init] *ERROR* 
radeon: cp isn't working (-22).
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:rs690_startup] *ERROR* 
failed initializing CP (-22).
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:rs690_init] *ERROR* 
Disabling GPU acceleration
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:r100_cp_fini] *ERROR* 
Wait for CP idle timeout, shutting down CP.
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:r100_gui_wait_for_idle] 
*ERROR* radeon: wait for empty RBBM fifo failed ! Bad things might happen.
Jun  7 22:47:09 gateway /bsd: error: [drm:pid0:r100_cp_disable] *ERROR* 
Failed to wait GUI idle while programming pipes. Bad things might happen.

Jun  7 22:47:09 gateway /bsd: drm: radeon: cp finalized
Jun  7 22:47:09 gateway /bsd: radeondrm0: 1600x900
Jun  7 22:47:09 gateway /bsd: wsdisplay0 at radeondrm0 mux 1: console 
(std, vt100 emulation), using wskbd0
Jun  7 22:47:09 gateway /bsd: wsdisplay0: screen 1-5 added (std, vt100 
emulation)




Re: PF log entry

2014-05-28 Thread Stan Gammons
On 05/28/2014 04:10 PM, Philip Guenther wrote:
 On Tue, May 27, 2014 at 7:12 PM, Stan Gammons s_gamm...@charter.net 
 mailto:s_gamm...@charter.net wrote:

 Using tcpdump -n -ttt -r /var/log/pflog I have a log entry with
 [len16asnlen69] at the end.  The packet was from port 65500 to
 161.  What is len16asnlen69 ?


 If something in tcpdump output isn't described by the manpage, you'll 
 need to check the source and see what the code generating it didn't 
 like.  In this case, it's likely that the higher-level protocol inside 
 the packet claimed there was more data than fit in the packet.  Could 
 be a bug in what's generating it...or could be a bug in tcpdump's 
 parser for the higher-level protocol.


 Philip Guenther



I see no reference to len or asnlen in the tcpdump man. Given the source 
IP I thought it might be something odd.  I haven't looked through the 
tcpdump code to see what generated that type entry. This is the log 
entry minus the target IP.

May 27 04:37:36.728724  rule 63/(match) block in on em0: 125.96.160.190.65500  
xx.xxx.xx.xx.161: [len16asnlen69]



PF log entry

2014-05-27 Thread Stan Gammons
Using tcpdump -n -ttt -r /var/log/pflog I have a log entry with 
[len16asnlen69] at the end.  The packet was from port 65500 to 161.  
What is len16asnlen69 ?




Snapshot and packages

2014-05-24 Thread Stan Gammons
I thought I understood the different flavors of OpenBSD but apparently not 
since I keep getting version errors when I try to add packages to sparc64 
snapshots. The packages I'm trying are from the /snapshot/packages/sparc64 
folder on the same mirror I got the snapshot .iso from.  Are these the packages 
one is suppose to use?  If not, how does one determine which packages will work 
with a snapshot?


Stan



Re: Snapshot and packages

2014-05-24 Thread Stan Gammons

On 05/24/2014 08:51 AM, Kenneth Westerback wrote:

On 24 May 2014 09:31, Stan Gammons s_gamm...@charter.net wrote:

I thought I understood the different flavors of OpenBSD but apparently not 
since I keep getting version errors when I try to add packages to sparc64 
snapshots. The packages I'm trying are from the /snapshot/packages/sparc64 
folder on the same mirror I got the snapshot .iso from.  Are these the packages 
one is suppose to use?  If not, how does one determine which packages will work 
with a snapshot?


Stan


Can you be more specific about what 'version errors' you are seeing?
And the dates of the snapshots you are using?

 Ken


Ken, the snapshot .iso is 05-24-2014.  The packages are 05-23-2014. 
Below is the error.  I take it it's want libc.so.74 and the installed 
version is libc.so.75




Stan


# pkg_add -v bison
Can't install libiconv-1.14p1 because of libraries
|library c.74.2 not found
| /usr/lib/libc.so.75.0 (system): bad major
Can't install gettext-0.18.2p4: can't resolve libiconv-1.14p1
Can't install bison-2.3p1: can't resolve gettext-0.18.2p4,libiconv-1.14p1
#
# ls /usr/lib
crt0.o  libedit.a   libfuse.a libmenu.so.6.0  
libocurses.alibpcap_p.a libsndio_p.alibtermlib_p.a
crtbegin.o  libedit.so.5.1  libfuse.so.1.1 
libmenu_p.a libocurses.so.6.0   libperl.a libsqlite3.a
libusbhid.a
crtbeginS.o libedit_p.a libfuse_p.a libmenuw.a  
libocurses_p.a  libperl.so.15.0 libsqlite3.so.27.0  libusbhid.so.7.0
crtend.olibevent.a  libiberty.a libmenuw.so.6.0 
libossaudio.a   libpthread.a libsqlite3_p.a  libusbhid_p.a
crtendS.o   libevent.so.4.1 libiberty.so.11.0 
libmenuw_p.alibossaudio.so.4.0  libpthread.so.18.0 
libssl.alibutil.a
debug   libevent_p.alibiberty_p.a 
libmilter.a libossaudio_p.a libpthread_p.a 
libssl.so.24.1  libutil.so.12.1
gcc-lib libexpat.a  libkeynote.a libmilter.so.3.0
libotermcap.a   libreadline.a libssl_p.a  libutil_p.a
gcrt0.o libexpat.so.11.0libkeynote_p.a 
libmilter_p.a   libotermcap.so.6.0  libreadline.so.4.0 
libstdc++.a liby.a
libc.a  libexpat_p.alibkvm.a libncurses.a
libotermcap_p.a libreadline_p.a libstdc++.so.57.0   liby_p.a
libc.so.75.0libfl.a libkvm.so.16.0 
libncurses.so.14.0  libpanel.a  librpcsvc.a libstdc++_p.a   
libz.a
libc_p.alibfl_p.a   libkvm_p.a libncurses_p.a  
libpanel.so.6.0 librpcsvc.so.2.0 libsupc++.a libz.so.5.0
libcrypto.a libform.a   libl.a libncursesw.a   
libpanel_p.alibrpcsvc_p.a libsupc++_p.a   libz_p.a
libcrypto.so.27.0   libform.so.6.0  libl_p.a libncursesw.so.14.0 
libpanelw.a libskey.a libtermcap.apkgconfig
libcrypto_p.a   libform_p.a libm.a libncursesw_p.a 
libpanelw.so.6.0libskey.so.6.0 libtermcap.so.14.0
libcurses.a libformw.a  libm.so.9.0 libobjc.a   
libpanelw_p.a   libskey_p.a libtermcap_p.a
libcurses.so.14.0   libformw.so.6.0 libm_p.a libobjc.so.6.0  
libpcap.a   libsndio.a libtermlib.a
libcurses_p.a   libformw_p.alibmenu.a libobjc_p.a 
libpcap.so.8.0  libsndio.so.6.0 libtermlib.so.14.0

#



Re: Snapshot and packages

2014-05-24 Thread Stan Gammons

On 05/24/2014 09:10 AM, Kenneth Westerback wrote:


Well, mismatches like that happen a lot during library changes. Not
much we can do about it giving the differing speeds of building a snap
and generating a new set of packages.

In this case the bump to 75.0 took place on May 12th, so that seems a
bit long, but not impossible. The only solution is to wait for the
packages to be updated.

 Ken




I guess I could go back to the release version and apply patches.

Does anyone know when the packages will be updated?

Thanks!


Stan



Schweitzer SEL-3354 hardened computer 5.0 install and no video

2012-03-17 Thread stan
I am trying to iinstall 5. on a SEL-3354 hardened AMD64 machine. I have
managed to install it, and get it to boot, but I am not getting any video
out of either VGA port after rebooting from the installattion. I did have
ideo during the isnatllation, and the console appears to be active on this,
as I cna log in using hte USN keyboard, and can then see that login session
using who while loged in ove the network. Jere is dmesg output:


e 2, Ultra-DMA mode 4
ATI SBx00 HD Audio rev 0x00 at pci0 dev 20 function 2 not configured
pcib0 at pci0 dev 20 function 3 ATI SB600 ISA rev 0x00
ppb4 at pci0 dev 20 function 4 ATI SB600 PCI rev 0x00
pci5 at ppb4 bus 6
em0 at pci5 dev 3 function 0 Intel PRO/1000MT (82540EM) rev 0x03: apic 1 int 
20, address 00:30:a7:04:7c:33
em1 at pci5 dev 4 function 0 Intel PRO/1000MT (82540EM) rev 0x03: apic 1 int 
21, address 00:30:a7:04:7c:34
unknown vendor 0x1aa9 product 0x0007 (class system subclass miscellaneous, rev 
0x01) at pci5 dev 5 function 0 not configured
unknown vendor 0x1aa9 product 0x0006 (class communications subclass serial, rev 
0x01) at pci5 dev 5 function 1 not configured
unknown vendor 0x1aa9 product 0x0003 (class DASP subclass miscellaneous, rev 
0x01) at pci5 dev 5 function 2 not configured
unknown vendor 0x1aa9 product 0x0005 (class DASP subclass synchronization, rev 
0x01) at pci5 dev 5 function 3 not configured
pchb1 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00
pchb2 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00
pchb3 at pci0 dev 24 function 2 AMD AMD64 0Fh DRAM Cfg rev 0x00
pchb4 at pci0 dev 24 function 3 AMD AMD64 0Fh Misc Cfg rev 0x00
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 ATI OHCI root hub rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 ATI OHCI root hub rev 1.00/1.00 addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3 ATI OHCI root hub rev 1.00/1.00 addr 1
usb4 at ohci3: USB revision 1.0
uhub4 at usb4 ATI OHCI root hub rev 1.00/1.00 addr 1
usb5 at ohci4: USB revision 1.0
uhub5 at usb5 ATI OHCI root hub rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
umass0 at uhub0 port 2 configuration 1 interface 0 Sony DRX-830U rev 
2.00/0.00 addr 2
umass0: using ATAPI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
cd0 at scsibus1 targ 1 lun 0: SONY, DVD RW DRU-830A, SS25 ATAPI 5/cdrom 
removable serial.054c02d1MP005BAE
uhub6 at uhub0 port 3 vendor 0x0424 product 0x2514 rev 2.00/b.b3 addr 3
uhidev0 at uhub1 port 1 configuration 1 interface 0 CHICONY Compaq USB 
Keyboard rev 1.10/1.05 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub1 port 1 configuration 1 interface 1 CHICONY Compaq USB 
Keyboard rev 1.10/1.05 addr 2
uhidev1: iclass 3/0, 2 report ids
uhid at uhidev1 reportid 1 not configured
uhid at uhidev1 reportid 2 not configured
softraid0 at root
scsibus2 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
OpenBSD 5.0 (RAMDISK_CD) #36: Wed Aug 17 10:27:31 MDT 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: AMD Athlon(tm) 64 Processor 2600+ (AuthenticAMD 686-class, 512KB L2 
cache) 1.61 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16
real mem  = 3623153664 (3455MB)
avail mem = 3556896768 (3392MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/18/11, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.5 @ 0x9f800 (28 entries)
bios0: vendor Diversified Technology, Inc. version 1.06 date 07/18/2011
bios0: Diversified Technology, Inc. ETX-M690
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET TCPA SSDT
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 21, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 6 (P0P6)
acpiprt2 at acpi0: bus 1 (P0P1)
acpiprt3 at acpi0: bus 2 (PCE4)
acpiprt4 at acpi0: bus 3 (PCE5)
bios0: ROM list: 0xc/0xd800
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
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
vga1 at pci1 dev 5 function 0 ATI Radeon X1250 IGP rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
ppb1 at pci0 dev 4 function 0 vendor ATI, unknown product 0x7914 rev 0x00
pci2 at ppb1 bus 2
mskc0 at pci2 dev 0 function 0 Marvell Yukon 88E8040 rev 0x13, Yukon-2 FE+ 
rev. A0 (0x0): apic 1 int 16
msk0 at mskc0 port A: address 00:20:13:f4:84:44
eephy0 at msk0 phy 0: 88E3016 10/100 PHY, rev. 0
ppb2 at pci0 dev 5 function 0 ATI RS690 PCIE rev 0x00
pci3 at ppb2 bus 3
jmb0 at pci3 dev 0 function 0 JMicron 

Strange DNS results

2010-11-02 Thread stan
I have a couple of 4.6 machines that I use for internal name servers.
Yesterday, while changing a few DNS records, I mis typed the name I was
searching for, and found out that somehow I seem to subject to someone who
has set up a wildcard DNS machine. Look at this:


o...@pdns2:etc# nslookup
 server localhost
Default server: localhost
Address: 127.0.0.1#53
Default server: localhost
Address: ::1#53
 foo
Server: localhost
Address:127.0.0.1#53

Non-authoritative answer:
Name:   foo.pm3..YYY.co
Address: 68.178.232.99

I have replaced my real domain name with XXX.YYY 

Can anyone suggest how this has happened, and how I can fix it?

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: scrotwm hangs X after update to 4.8

2010-11-02 Thread stan
On Tue, Nov 02, 2010 at 06:22:43PM +0200, Gregory Edigarov wrote:
 well, it seems like it was xorg.conf.
 
 after running X -configure and reinstalling the config - problem seems
 to have wanished.
 
 will observe the behaviour, though...
 
What are the diferences between the old config file, and the new one?


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: Strange DNS results

2010-11-02 Thread stan
On Tue, Nov 02, 2010 at 04:28:49PM +0100, Ariane van der Steldt wrote:
 On Tue, Nov 02, 2010 at 07:53:05AM -0500, stan wrote:
  I have a couple of 4.6 machines that I use for internal name servers.
  Yesterday, while changing a few DNS records, I mis typed the name I was
  searching for, and found out that somehow I seem to subject to someone who
  has set up a wildcard DNS machine. Look at this:
  
  
 
 Your localhost dns probably uses another dns server (from your ISP)
 that returns this IP address on anything that doesn't exist. Browsing
 to the address yields a page that says the site is not available.
 Your isp is helpfully aiding your webbrowsing experience by letting you
 know something that your browser usually tells you, but ofcourse, your
 isp does it prettier and in their own house-style. You should praise and
 thank your isp for their consideration. ;)
 
 How to fix it: complain to your isp or stop using their (dns) service.
 
 
Thank you.

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



firewall rukes for OPC?

2010-07-22 Thread stan
I need to allow an OPC client and server to connect through one of my
firewalls.

Can anyone tell me what ports I need to open up for this to work?

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



What stupif mitake am I making?

2009-12-22 Thread stan
I have a redundnat pair of firewalls (4.6) and I am trying to block access
from outside to the subet set up fr pfsync. I have the following rules 
in pf.conf

ext_if = bge0
int_if = eme0

match in all scrub (no-df)

pass# to establish keep-state

block in quick from 10.209.128.20 to any
block in on ! lo0 proto tcp to port 6000:6010
# Block telnet from outside the powerhouse network
block in  on $ext_if proto tcp from any to any port 23

block out on $ext_if from 192.168.254.0/24 to any
block out on $int_if from 192.168.254.0/24 to any
block in on $ext_if from any to 192.168.254.0/24
block in on $int_if from any to 192.168.254.0/24

But I can still ping 192.168.254.253, which is the IP for one side of that
link

What stupid mistake am I making?

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: What stupif mitake am I making?

2009-12-22 Thread stan
On Tue, Dec 22, 2009 at 12:51:11PM -0500, Steve Shockley wrote:
 On 12/22/2009 11:35 AM, stan wrote:
 int_if = eme0
 
 ?
 

Good catch. 

But the test is from the outsiide, so I don't think this mistake is what's
causing my problems.

What I want to do is block all tarffic relate to the pfsync link from
leaving eiither the internal, or the external interface, and block all
traffic bound to this interface. 

Can anyone give me an example?

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: What stupid mitake am I making?

2009-12-22 Thread stan
On Tue, Dec 22, 2009 at 12:51:11PM -0500, Steve Shockley wrote:
 On 12/22/2009 11:35 AM, stan wrote:
 int_if = eme0
 
 ?
 

OK now I have this:

set skip on lo
ext_if = bge0
int_if = em0
pfsync_if = em1

match in all scrub (no-df)

block out quick from $pfsync_if to $ext_if
block out quick from $pfsync_if to $int_if
block in quick from $int_if to $pfsync_if
block in quick from $int_if to $pfsync_if

And I can still pint the pfsync interface.

What basic mistake am I making ?

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: What stupif mitake am I making?

2009-12-22 Thread stan
On Tue, Dec 22, 2009 at 12:51:11PM -0500, Steve Shockley wrote:
 On 12/22/2009 11:35 AM, stan wrote:
 int_if = eme0
 
 ?
 

OK. pfctl -s rules shows:

r...@phfw2:etc# pfctl -s rule 
match in all scrub (no-df)
block drop out quick inet from 192.168.254.0/24 to any
block drop in quick inet from any to 192.168.254.0/24
pass all flags S/SA keep state
block drop in quick inet from 10.209.128.20 to any
block drop in on ! lo0 proto tcp from any to any port 6000:6010
block drop in on bge0 proto tcp from any to any port = telnet
block drop out quick on bge0 inet from 192.168.254.0/24 to any
block drop in quick on bge0 inet from 192.168.254.0/24 to any
block drop out quick on em0 inet from 192.168.254.0/24 to any
block drop in quick on em0 inet from 192.168.254.0/24 to any
block drop out on bge0 inet proto carp from 192.168.254.0/24 to any
block drop out on bge0 inet proto pfsync from 192.168.254.0/24 to any
block drop out on bge0 inet proto icmp from 192.168.254.0/24 to any
block drop out on em0 inet proto carp from 192.168.254.0/24 to any
block drop out on em0 inet proto pfsync from 192.168.254.0/24 to any
block drop out inet from 192.168.254.254 to 10.209.142.153
block drop out inet from 192.168.254.254 to 170.85.106.145
block drop in inet from 170.85.106.145 to 192.168.254.254


But I can still ping 192.168.254.253 from the outside. What don't I
understand!

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: What stupid mitake am I making?

2009-12-22 Thread stan
On Tue, Dec 22, 2009 at 10:18:11PM +0200, Jussi Peltola wrote:
 State. Blocking outgoing traffic will not prevent replies being allowed
 out.
 

OK, but pfctl -s rules includes the following:'

block drop in quick inet from any to 192.168.254.0/24

Which I think is an expansion of this rule I have in pf.conf

block in quick from any to 192.168.254.0/24

So,, why does that not stop it?

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



An ospf configuration question

2009-12-22 Thread stan
I have a pair of redundandt fiirewalls (4.6). Eacg machine has 3
interfaces, bge0 to the outside, em0, to the inside, and em1 for pfsync. I
have the following in /etc/opsf.conf


# $OpenBSD: ospfd.conf,v 1.2 2005/02/06 20:07:09 norby Exp $


# global configuration
router-id 10.209.142.154
redistribute connected

# areas
area 0.0.0.120 {
interface bge0 {
auth-type none
}
interface em0 {
passive
auth-type none
}
}

But the systems are advertising a route to the IP network that is for
pfsync. How can I fix this?

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



adding a 3rd location to a bridge

2009-12-17 Thread stan
I have 2 4.6 machine that bridge an Ethernet network between 2 locations. I
need to add another machine that will bring a 3rd location into this
bridge. 

I seem to be close, but I am missing something here. I seem to have the
flows and SA's set up on the 3rd machine. here is what the herad end :

r...@pb48:etc# ipsecctl -sa
FLOWS:
flow esp in proto etherip from 10.209.120.15 to 10.209.142.156 peer
10.209.120.15 srcid 10.209.142.156/32 dstid 10.209.120.15/32 type use
flow esp out proto etherip from 10.209.142.156 to 10.209.120.15 peer
10.209.120.15 srcid 10.209.142.156/32 dstid 10.209.120.15/32 type require
flow esp in proto etherip from 10.209.120.20 to 10.209.142.156 peer
10.209.120.20 srcid 10.209.142.156/32 dstid 10.209.120.20/32 type use
flow esp out proto etherip from 10.209.142.156 to 10.209.120.20 peer
10.209.120.20 srcid 10.209.142.156/32 dstid 10.209.120.20/32 type require

SAD:
esp tunnel from 10.209.120.15 to 10.209.142.156 spi 0x0cead2aa auth
hmac-sha2-256 enc aes
esp tunnel from 10.209.142.156 to 10.209.120.15 spi 0x23cc9243 auth
hmac-sha2-256 enc aes
esp tunnel from 10.209.120.20 to 10.209.142.156 spi 0x31702a48 auth
hmac-sha2-256 enc aes
esp tunnel from 10.209.142.156 to 10.209.120.20 spi 0xdc20c4e2 auth
hmac-sha2-256 enc aes

The existing working bridge is the one with an IP of 10.209.120.15, and the
new one is 10.209.120.20

On the workign bridge herre is what I have:

r...@pblab:root# ipsecctl -s all
FLOWS:
flow esp in proto etherip from 10.209.142.156 to 10.209.120.15 peer
10.209.142.156 srcid 10.209.120.15/32 dstid 10.209.142.156/32 type use
flow esp out proto etherip from 10.209.120.15 to 10.209.142.156 peer
10.209.142.156 srcid 10.209.120.15/32 dstid 10.209.142.156/32 type require

SAD:
esp tunnel from 10.209.120.15 to 10.209.142.156 spi 0x0cead2aa auth
hmac-sha2-256 enc aes
esp tunnel from 10.209.142.156 to 10.209.120.15 spi 0x23cc9243 auth
hmac-sha2-256 enc aes

On the new one, I have:

r...@pb82:etc# ipsecctl -s all
FLOWS:
flow esp in proto etherip from 10.209.142.156 to 10.209.120.20 peer
10.209.142.156 srcid 10.209.120.20/32 dstid 10.209.142.156/32 type use
flow esp out proto etherip from 10.209.120.20 to 10.209.142.156 peer
10.209.142.156 srcid 10.209.120.20/32 dstid 10.209.142.156/32 type require

SAD:
esp tunnel from 10.209.120.20 to 10.209.142.156 spi 0x31702a48 auth
hmac-sha2-256 enc aes
esp tunnel from 10.209.142.156 to 10.209.120.20 spi 0xdc20c4e2 auth
hmac-sha2-256 enc aes

This appears to be correct to me.

On the head end I have a /etc/bridgename.bridge0 file that looks like this:

r...@pb48:etc# cat /etc/bri*
add gif0
add gif1
add nfe0
stp nfe0
up

and gif files thatlook like this:

r...@pb48:etc# ls  /etc/hos*gif*   
/etc/hostname.gif0  /etc/hostname.gif1

o...@pb48:etc# cat /etc/host*gif*
tunnel 10.209.142.156 10.209.120.15
up
tunnel 10.209.142.156 10.209.120.20
up


On the new bridge PC I have the folowing:

r...@pb82:etc# cat /etc/bri*
add gif0 add vr1
stp vr1
up

and

r...@pb82:etc# cat /etc/ho*gif*
tunnel 10.209.120.20 10.209.142.156
up

But things do not seem to be working. What am I missing?

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: adding a 3rd location to a bridge

2009-12-17 Thread stan
On Thu, Dec 17, 2009 at 10:53:41AM -0500, stan wrote:
 I have 2 4.6 machine that bridge an Ethernet network between 2 locations. I
 need to add another machine that will bring a 3rd location into this
 bridge. 
 
 I seem to be close, but I am missing something here. I seem to have the
 flows and SA's set up on the 3rd machine. here is what the herad end :
 
here is more dta on this:

Encap:
Source Port  DestinationPort  Proto
SA(Address/Proto/Type/Direction)
10.209.120.15/32   0 10.209.142.156/32  0 97 10.209.120.15/esp/use/in
10.209.142.156/32  0 10.209.120.15/32   0 97 
10.209.120.15/esp/require/out
10.209.120.20/32   0 10.209.142.156/32  0 97 10.209.120.20/esp/use/in
10.209.142.156/32  0 10.209.120.20/32   0 97 
10.209.120.20/esp/require/out

On the working unit:

Encap:
Source Port  DestinationPort  Proto
SA(Address/Proto/Type/Direction)
10.209.142.156/32  0 10.209.120.15/32   0 97 10.209.142.156/esp/use/in
10.209.120.15/32   0 10.209.142.156/32  0 97 
10.209.142.156/esp/require/out

On the non working one:

Encap:
Source Port  DestinationPort  Proto
SA(Address/Proto/Type/Direction)
10.209.142.156/32  0 10.209.120.20/32   0 97 10.209.142.156/esp/use/in
10.209.120.20/32   0 10.209.142.156/32  0 97 
10.209.142.156/esp/require/out

On the working unit:

bridge0: flags=41UP,RUNNING
priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
nfe0 flags=ebLEARNING,DISCOVER,STP,AUTOEDGE,PTP,AUTOPTP
port 1 ifpriority 128 ifcost 65535 forwarding role root
gif0 flags=3LEARNING,DISCOVER
port 5 ifpriority 0 ifcost 0

On the non working one:

r...@pb82:etc# brconfig -a
bridge0: flags=41UP,RUNNING
priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
vr1 flags=ebLEARNING,DISCOVER,STP,AUTOEDGE,PTP,AUTOPTP
port 2 ifpriority 128 ifcost 65535 forwarding role designated
gif0 flags=3LEARNING,DISCOVER
port 7 ifpriority 0 ifcost 0

What other data can I collect to help diagnose this issue?






-- 
On the heade end:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
On the heade end:
c: What is the most annoying thing in e-mail?



Re: adding a 3rd location to a bridge

2009-12-17 Thread stan
On Thu, Dec 17, 2009 at 10:53:41AM -0500, stan wrote:
 I have 2 4.6 machine that bridge an Ethernet network between 2 locations. I
 need to add another machine that will bring a 3rd location into this
 bridge. 
 
 I seem to be close, but I am missing something here. I seem to have the
 flows and SA's set up on the 3rd machine. here is what the herad end :

tcpdump on gif0 on the non working machine shows arp requests when i ping a
machine on the head end network. But tcpdump on gif1 on the head end does
not show these. 

What does that tell us?

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



A question about puting OpenBSD on a Soekris

2009-12-15 Thread stan
I am trying to put OpenBSD on some Soekris machines. I have looked around
and fount the flashrd toolkit. Uinsg it, I was able to create a bootable
compact flash image for one of the machines. However, I pretty much did it
by following the driections without understnaidng what was being don, and
we all know where that leads  :-)

Now, I am trying to change a fwe things, and I need to get a better
understnading of what is being done here. Specifically, I want to create a
larger /usr partion in the vnd iamge. What determiens the size of these? I
have looked through the cfgflashrd, and the growimg scripts, but I don't
see any knobs to tweak in these for this. 

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



  1   2   3   >