vmm setup example for AMD FX-8300 system

2018-10-09 Thread Tracy Bales
I have a fresh install of 6.3-AMD64 running on an AMD FX-8300 8 core
system.  I have created a 10G disk image.  I then started the vm to boot
the bsd.rd so I can install OpenBSD 6.3-AMD64 into this disk image.  Here
are my issues:

1)  The screen is really slow when the OpenBSD installer starts.  I have to
keep pressing the space bar for the screen to update text output so I can
see the full prompts.  I noticed in several Google searches that people
suggest using SSH instead of CU to connect to the vm to get around the slow
screen output.  My question is how do I connect to the vm if the vm does
not have an OS running on it to accept the SSH connection?

2)  I set sysctl.conf to "net.inet.ip.forwarding=1", added the following to
the end of my default pf.conf: "pass out on egress from !(egress) nat-to
(egress)" and then set hostname.vether0 to "inet 192.168.1.1 255.255.255.0
192.168.1.255".  Finally I rebooted the machine.  SSH does not work to
connect to the vm.  My question, I use "vmctl console 1" and the installer
asks for the location of the install sets and I tell it http, however it
does not connect to the network...what am I missing to get the network to
pass traffic to the vm?

3)  Is there on online example that shows a step-by-step process for
getting thru an OS installation using vmm?  I have tried at least 5
different examples from Google searches and I notice that all of the
examples stop at the point where the bsd.rd is started on the vm for the
first time which points me back to issue number 1 detailed above.

Any help would be greatly appreciated.



kicad will not install on 6.0/i386

2017-01-02 Thread Tracy Bales
kicad will not install using pkg_add.  It reports that it cannot resolve
wxWidgets-gtk2-2.8.12p12

$ doas pkg_add -i kicad
quirks-2.241 signed on 2016-07-29T15:39:09Z
Can't install wxWidgets-gtk2-2.8.12p12 because of libraries
|library gio-2.0.4200.3 not found
| /usr/local/lib/libgio-2.0.so.4200.2 (glib2-2.46.2p0): minor is too small
|library glib-2.0.4200.3 not found
| /usr/local/lib/libglib-2.0.so.4200.2 (glib2-2.46.2p0): minor is too small
|library gobject-2.0.4200.3 not found
| /usr/local/lib/libgobject-2.0.so.4200.2 (glib2-2.46.2p0): minor is too
small
|library gthread-2.0.4200.3 not found
| /usr/local/lib/libgthread-2.0.so.4200.2 (glib2-2.46.2p0): minor is too
small
|library jpeg.68.1 not found
| /usr/local/lib/libjpeg.so.67.0 (jpeg-9a): bad major
|library png.17.3 not found
| /usr/local/lib/libpng.so.17.2 (png-1.6.20): minor is too small
Direct dependencies for wxWidgets-gtk2-2.8.12p12 resolve to libiconv-1.14p3
libmspack-0.5alphav0 gtk+2-2.24.29 iodbc-3.52.10 gettext-0.19.7 sdl-1.2.15p7
Full dependency tree is libcroco-0.6.11 libiconv-1.14p3 glib2-2.46.2p0
libxml-2.9.3 librsvg-2.40.13 gtk-update-icon-cache-3.18.7
gnome-icon-theme-symbolic-3.12.0p2 libmspack-0.5alphav0 bzip2-1.0.6p7
gnome-icon-theme-3.12.0p3 cairo-1.14.6 gettext-0.19.7 lzo2-2.09
python-2.7.11 pango-1.38.1 libffi-3.2.1p0 graphite2-1.3.5 jasper-1.900.1p4
libelf-0.8.13p3 atk-2.18.0 jpeg-9a shared-mime-info-1.5 harfbuzz-1.1.3
gtk+2-2.24.29 png-1.6.20 tiff-4.0.6p0 pcre-8.38 hicolor-icon-theme-0.15
iodbc-3.52.10 gdk-pixbuf-2.32.3 sdl-1.2.15p7 xz-5.2.2p0
Can't install kicad-20100505p5: can't resolve wxWidgets-gtk2-2.8.12p12



Here's my dmesg:

OpenBSD 6.0 (GENERIC.MP) #1992: Tue Jul 26 12:52:55 MDT 2016
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Atom(TM) CPU 330 @ 1.60GHz ("GenuineIntel" 686-class) 1.61
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF,SENSOR
real mem  = 3748806656 (3575MB)
avail mem = 3664297984 (3494MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 12/14/10, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.5
@ 0xfd170 (27 entries)
bios0: vendor American Megatrends Inc. version "1.0c" date 12/14/2010
bios0: Supermicro X7SLA
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG SLIC OEMB
acpi0: wakeup devices P0P2(S4) P0P1(S4) PS2K(S4) PS2M(S4) EUSB(S4) MC97(S4)
P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) LAN0(S1) P0P9(S4) LAN1(S1)
USB0(S4) USB1(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Atom(TM) CPU 330 @ 1.60GHz ("GenuineIntel" 686-class) 1.61
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF,SENSOR
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Atom(TM) CPU 330 @ 1.60GHz ("GenuineIntel" 686-class) 1.61
GHz
cpu2:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF,SENSOR
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Atom(TM) CPU 330 @ 1.60GHz ("GenuineIntel" 686-class) 1.61
GHz
cpu3:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF,SENSOR
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf000, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus 4 (P0P1)
acpiprt3 at acpi0: bus 1 (P0P4)
acpiprt4 at acpi0: bus -1 (P0P5)
acpiprt5 at acpi0: bus -1 (P0P6)
acpiprt6 at acpi0: bus -1 (P0P7)
acpiprt7 at acpi0: bus 2 (P0P8)
acpiprt8 at acpi0: bus 3 (P0P9)
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
acpicpu2 at acpi0: C1(@1 halt!)
acpicpu3 at acpi0: C1(@1 halt!)
"PNP0501" at acpi0 not configured
"PNP0501" at acpi0 not configured
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc/0xaa00!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02
inteldrm0 at pci0 dev 2 function 0 "Intel 82945G Video" rev 0x02
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0: apic 4 int 16
inteldrm0: 1280x1024
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
ppb0 at pci

Re: kicad will not install on 6.0/i386

2017-01-02 Thread Tracy Bales
Thanks, that did the trick!

On Mon, Jan 2, 2017 at 7:15 PM, Josh Grosse  wrote:

> On Mon, Jan 02, 2017 at 04:23:57PM -0800, Tracy Bales wrote:
> > kicad will not install using pkg_add.  It reports that it cannot resolve
> > wxWidgets-gtk2-2.8.12p12
>
> Tracy, it appears to me that you have an old glib2 installed, from
> 5.9-release.
> The glib2 for 6.0-release is 2.48.1, whereas your installed version is
> 2.46.2p0:
>
> > $ doas pkg_add -i kicad
> > quirks-2.241 signed on 2016-07-29T15:39:09Z
> > Can't install wxWidgets-gtk2-2.8.12p12 because of libraries
> > |library gio-2.0.4200.3 not found
> > | /usr/local/lib/libgio-2.0.so.4200.2 (glib2-2.46.2p0): minor is too
> small
> > |library glib-2.0.4200.3 not found
> > | /usr/local/lib/libglib-2.0.so.4200.2 (glib2-2.46.2p0): minor is too
> small
> > |library gobject-2.0.4200.3 not found
>
> You should keep your packages in sync with the release you're using.
> After you
> upgraded from 5.9 to 6.0, you should have updated all of your installed
> packages
> with # pkg_add -u.  Back up your system, give that a try before installing
> packages for 6.0 that expect any installed  dependencies to be at the
> correct
> revisions.



Trouble getting gpsk31 to connect with sound device...

2012-01-21 Thread Tracy Bales
I'm running OpenBSD 5.0/i386.  I used pkg_add to install the gpsk31
package.  I tried running the program with the following sound devices:
default, /dev/audio, /dev/audioctl and /dev/sound.  Each attempt to execute
gpsk31 returns the following:

init_audio: can't open /dev/audio
Cannot initialize audio device: /dev/audio -1

(The device name changes accordingly)

My machine has an ATI SBx00 HD Audio device which the azalia driver sees as
a Realtek ALC888 device.

Has anyone else had problems getting gpsk31 running?  Thanks...



Re: Trouble getting gpsk31 to connect with sound device...

2012-01-21 Thread Tracy Bales
OK...I did a system reboot.  And now I'm finding out that the azalia driver
will not change the sample rate from 48 KHz to 8 KHz.  I also tried using
audioctl record.sample_rate=8000 but it returns with record.sample_rate:
48000 -> 48000

So, is the problem with the azalia driver or my hardware?  Can others
running the azalia driver change their sample_rate to anything else but
48000?

On Sat, Jan 21, 2012 at 10:09 PM, Tracy Bales  wrote:

> I'm running OpenBSD 5.0/i386.  I used pkg_add to install the gpsk31
> package.  I tried running the program with the following sound devices:
> default, /dev/audio, /dev/audioctl and /dev/sound.  Each attempt to execute
> gpsk31 returns the following:
>
> init_audio: can't open /dev/audio
> Cannot initialize audio device: /dev/audio -1
>
> (The device name changes accordingly)
>
> My machine has an ATI SBx00 HD Audio device which the azalia driver sees
> as a Realtek ALC888 device.
>
> Has anyone else had problems getting gpsk31 running?  Thanks...



Re: Trouble getting gpsk31 to connect with sound device...

2012-01-22 Thread Tracy Bales
Remco, using aucat did the jobvery simple "fix" was to use your
suggestion and insert aucat_flags= into /etc/rc.conf.local

And I used default for the audio device in /usr/local/share/gpsk31/gpsk.conf

Thanks for the direct and simple suggestion!

On Sun, Jan 22, 2012 at 12:21 AM, Remco  wrote:

> Tracy Bales wrote:
>
> > OK...I did a system reboot.  And now I'm finding out that the azalia
> > driver
> > will not change the sample rate from 48 KHz to 8 KHz.  I also tried using
> > audioctl record.sample_rate=8000 but it returns with record.sample_rate:
> > 48000 -> 48000
> >
> > So, is the problem with the azalia driver or my hardware?  Can others
> > running the azalia driver change their sample_rate to anything else but
> > 48000?
> >
>
> The ALC888 chip supports 44.1/48/96/192 kHz, but that's not necessarily a
> show stopper.
>
> > On Sat, Jan 21, 2012 at 10:09 PM, Tracy Bales 
> > wrote:
> >
> >> I'm running OpenBSD 5.0/i386.  I used pkg_add to install the gpsk31
> >> package.  I tried running the program with the following sound devices:
> >> default, /dev/audio, /dev/audioctl and /dev/sound.  Each attempt to
> >> execute gpsk31 returns the following:
> >>
> >> init_audio: can't open /dev/audio
> >> Cannot initialize audio device: /dev/audio -1
> >>
>
> AFAICT /dev/audioctl can't be used to play audio.
>
> Unfortunately the error message is a bit vague, the program doesn't really
> tell the reason of the failure. In general you're most likely best of by
> not using these audio devices directly. Try running aucat(1) as a daemon
> (e.g.: aucat -l), this would also take care of sample rate conversions.
> (usually automatically)
> To have aucat start up at boot time you'll need at least an
> empty "aucat_flags=" in your rc.conf.local file.
>
> I don't know gpsk31 and whether it has been converted to use OpenBSD's
> libsndio, but I reckon it has, otherwise you're probably out of luck. If it
> has, you should be able to use sndio(7) device names. (e.g. aucat:0
> i.o. /dev/audio)
>
> I also advise to read the mentioned man pages.