Re: Xorg blanks until I switch to a TTY and back on 6.5

2019-05-01 Thread Daniel Bolgheroni
On Wed, May 01, 2019 at 04:43:09PM +, Jonathan Gray wrote:
> On Wed, May 01, 2019 at 12:34:12PM -0300, Daniel Bolgheroni wrote:
> > On Mon, Apr 29, 2019 at 07:05:25AM +, Jonathan Gray wrote:
> > > Does this help?
> > 
> > It was already commited but fixed the problem here.
> > 
> > However, I still can't see the correct modes set for LVDS-1 and for the
> > external monitor on HDMI-1. An ultrawide 2560x1080 monitor can see at most
> > 1920x1080, but worked fine with the previous drm.
> 
> There is a change queued for the next 4.19 release which concerns the
> modesetting xorg driver, I'm not sure if it is relevant:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/plain/queue-4.19/revert-drm-i915-fbdev-actually-configure-untiled-displays.patch

It's not, I'm sorry. I will try the next iteractions.

Thank you for your work.

-- 
db



Re: Xorg blanks until I switch to a TTY and back on 6.5

2019-05-01 Thread Daniel Bolgheroni
On Mon, Apr 29, 2019 at 07:05:25AM +, Jonathan Gray wrote:
> Does this help?

It was already commited but fixed the problem here.

However, I still can't see the correct modes set for LVDS-1 and for the
external monitor on HDMI-1. An ultrawide 2560x1080 monitor can see at most
1920x1080, but worked fine with the previous drm.

Thank you.

$ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS-1 connected primary 1366x768+0+0 (normal left inverted right x axis y 
axis) 277mm x 156mm
   1366x768  60.00*+
   1280x720  60.0059.9959.8659.74
   1024x768  60.0460.00
   960x720   60.00
   928x696   60.05
   896x672   60.01
   1024x576  59.9559.9659.9059.82
   960x600   59.9360.00
   960x540   59.9659.9959.6359.82
   800x600   60.0060.3256.25
   840x525   60.0159.88
   864x486   59.9259.57
   700x525   59.98
   800x450   59.9559.82
   640x512   60.02
   700x450   59.9659.88
   640x480   60.0059.94
   720x405   59.5158.99
   684x384   59.8859.85
   640x400   59.8859.98
   640x360   59.8659.8359.8459.32
   512x384   60.00
   512x288   60.0059.92
   480x270   59.6359.82
   400x300   60.3256.34
   432x243   59.9259.57
   320x240   60.05
   360x202   59.5159.13
   320x180   59.8459.32
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected (normal left inverted right x axis y axis)
   1920x1080 60.0050.0059.9430.0029.97
   1920x1080i60.0050.0059.94
   1680x1050 59.88
   1600x900  60.00
   1280x1024 75.0260.02
   1152x864  75.00
   1280x720  60.0050.0059.94
   1024x768  75.0360.00
   800x600   75.0060.32
   720x576   50.00
   720x480   60.0059.94
   640x480   75.0060.0059.94
   720x400   70.08
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
$



> 
> Index: sys/dev/pci/drm/drm_fb_helper.c
> ===
> RCS file: /cvs/src/sys/dev/pci/drm/drm_fb_helper.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 drm_fb_helper.c
> --- sys/dev/pci/drm/drm_fb_helper.c   14 Apr 2019 10:14:51 -  1.13
> +++ sys/dev/pci/drm/drm_fb_helper.c   29 Apr 2019 06:58:25 -
> @@ -575,6 +575,9 @@ static bool drm_fb_helper_is_bound(struc
>  #ifdef notyet
>   if (READ_ONCE(dev->master))
>   return false;
> +#else
> + if (!SPLAY_EMPTY(>files))
> + return false;
>  #endif
>  
>   drm_for_each_crtc(crtc, dev) {
> 

-- 
db



Re: Xorg blanks until I switch to a TTY and back on 6.5

2019-04-28 Thread Daniel Bolgheroni
On Sun, Apr 28, 2019 at 11:26:54PM +, Charles wrote:
> Is anyone else experiencing this issue on third gen core-I series Intel
> chips with integrated graphics? Or on any other chips for that matter?

Yes, can confirm on a ThinkPad X220.

Also, with the latest snapshot, the correct modes for LVDS-1 and HDMI-1 (an
external 2560x1080 monitor) are not correctly detected. In fact, the 2560x1080
mode isn't listed by xrandr.

Thank you.

/var/log/Xorg.0.log:
[  7548.941] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
(Operation not permitted)
Check that you have set 'machdep.allowaperture=1'
in /etc/sysctl.conf and reboot your machine
refer to xf86(4) for details
[  7548.941]linear framebuffer access unavailable
[  7548.966] (--) Using wscons driver on /dev/ttyC4
[  7548.986]
X.Org X Server 1.19.7
Release Date: 2019-03-02
[  7548.986] X Protocol Version 11, Revision 0
[  7548.986] Build Operating System: OpenBSD 6.5 amd64
[  7548.986] Current Operating System: OpenBSD bike.home 6.5 GENERIC.MP#38 amd64
[  7548.986] Build Date: 28 April 2019  07:11:21AM
[  7548.986]
[  7548.987] Current version of pixman: 0.36.0
[  7548.987]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  7548.987] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  7548.987] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr 28 14:03:51 
2019
[  7548.987] (==) Using system config directory 
"/usr/X11R6/share/X11/xorg.conf.d"
[  7548.990] (==) No Layout section.  Using the first Screen section.
[  7548.990] (==) No screen section available. Using defaults.
[  7548.990] (**) |-->Screen "Default Screen Section" (0)
[  7548.990] (**) |   |-->Monitor ""
[  7548.990] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[  7548.990] (==) Automatically adding devices
[  7548.990] (==) Automatically enabling devices
[  7548.990] (==) Not automatically adding GPU devices
[  7548.990] (==) Max clients allowed: 256, resource mask: 0x1f
[  7548.991] (==) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
[  7548.991] (==) ModulePath set to "/usr/X11R6/lib/modules"
[  7548.991] (II) The server relies on wscons to provide the list of input 
devices.
If no devices become available, reconfigure wscons or disable 
AutoAddDevices.
[  7548.991] (II) Loader magic: 0xff502cd
[  7548.991] (II) Module ABI versions:
[  7548.991]X.Org ANSI C Emulation: 0.4
[  7548.991]X.Org Video Driver: 23.0
[  7548.991]X.Org XInput driver : 24.1
[  7548.991]X.Org Server Extension : 10.0
[  7548.991] (--) PCI:*(0:0:2:0) 8086:0126:17aa:21da rev 9, Mem @ 
0xf000/4194304, 0xe000/268435456, I/O @ 0x5000/64
[  7548.991] (II) LoadModule: "glx"
[  7548.992] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[  7548.996] (II) Module glx: vendor="X.Org Foundation"
[  7548.996]compiled for 1.19.7, module version = 1.0.0
[  7548.996]ABI class: X.Org Server Extension, version 10.0
[  7548.997] (==) Matched modesetting as autoconfigured driver 0
[  7548.997] (==) Assigned the driver to the xf86ConfigLayout
[  7548.997] (II) LoadModule: "modesetting"
[  7548.997] (II) Loading /usr/X11R6/lib/modules/drivers/modesetting_drv.so
[  7548.998] (II) Module modesetting: vendor="X.Org Foundation"
[  7548.998]compiled for 1.19.7, module version = 1.19.7
[  7548.998]Module class: X.Org Video Driver
[  7548.998]ABI class: X.Org Video Driver, version 23.0
[  7548.998] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  7549.010] (**) modeset(0): claimed PCI slot 0@0:2:0
[  7549.010] (II) modeset(0): using default device
[  7549.027] (II) modeset(0): Creating default Display subsection in Screen 
section
"Default Screen Section" for depth/fbbpp 24/32
[  7549.027] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  7549.027] (==) modeset(0): RGB weight 888
[  7549.027] (==) modeset(0): Default visual is TrueColor
[  7549.027] (II) Loading sub module "glamoregl"
[  7549.027] (II) LoadModule: "glamoregl"
[  7549.030] (II) Loading /usr/X11R6/lib/modules/libglamoregl.so
[  7549.036] (II) Module glamoregl: vendor="X.Org Foundation"
[  7549.036]compiled for 1.19.7, module version = 1.0.0
[  7549.036]ABI class: X.Org ANSI C Emulation, version 0.4
[  7549.036] (II) glamor: OpenGL accelerated X.org driver based.
[  7549.069] (II) glamor: EGL version 1.4:
[  7549.073] (II) modeset(0): glamor initialized
[  7549.073] (II) modeset(0): Output LVDS-1 has no monitor section
[  7549.075] (II) modeset(0): Output 

Re: Automated remote install

2018-12-17 Thread Daniel Bolgheroni
On Mon, Dec 17, 2018 at 01:36:57PM +, secli...@boxdan.com wrote:
> On Mon, Dec 17, 2018 at 10:22:56AM -0200, Daniel Bolgheroni wrote:
> > Maybe ansible is not the answer here.
> 
> You are probably correct. Do you know a better way?

If you're going to run on some public cloud, they usually offer the
possibility of keeping a custom image you provide, and use this image to
deploy new VMs based on it.

You can do a normal install and customize it adding the python package
(you do not need ansible on the target machine, just python) and your
public ssh key for the user ansible will use to connect.

This customization can be done manually or using siteXX.tgz and
install.site that OpenBSD provides:

https://www.openbsd.org/faq/faq4.html#site

>From here you should be able to point ansible from the control machine
to the target VM, and run your playbook to further customize your
installation.  Of course that, at this point, the network should be
already up.  This depends on your public cloud, but usually a 'dhcp'
inside your hostname.if(5) will do.

But note again this is not a fully-automated installation using ansible,
which isn't trivial on any OS. But it helps a lot.

-- 
db



Re: Automated remote install

2018-12-17 Thread Daniel Bolgheroni
On Mon, Dec 17, 2018 at 09:23:08AM +, secli...@boxdan.com wrote:
> Has anyone successfully automated (i.e with Ansible/etc) the process of
> installing OpenBSD on a remote server?
> 
> The most recent attempts at remote installation (manual or automated) that I
> was able to find, are fairly old:
> https://jcs.org/notaweblog/2014/09/12/remotely_installing_openbsd_qemu
> https://github.com/jedisct1/yaifo
> https://www.dim13.org/Install-OpenBSD-on-remote-host-without-KVM
> http://frankgroeneveld.nl/2014/04/13/remote-installation-of-openbsd-from-linux/
> 
> jcs indicates that his QEMU-based method demands knowing what kind of
> network card is in the server. This seems hard to automate.

I don't know how you would do this with ansible, since the node
requirement is at least a network connection already running, ssh (which
is not in bsd.rd) and python (which is only on ports).  In another
words, a pretty complete OS setup already.

See this:
https://docs.ansible.com/ansible/2.7/installation_guide/intro_installation.html#managed-node-requirements

And some problems Joshua Stein described he could hit with YAIFO (the
first link you posted) would also apply here.  Note that this isn't
limited to OpenBSD.

Maybe ansible is not the answer here.

Cheers,

-- 
db



Re: VMM sh: time sleep 30 takes 56 seconds

2018-10-23 Thread Daniel Bolgheroni
On Tue, Oct 23, 2018 at 04:47:06AM +, Mike Larkin wrote:
> On Mon, Oct 22, 2018 at 02:52:42AM -0200, Daniel Bolgheroni wrote:
> > On Fri, Oct 19, 2018 at 04:16:51AM +, Mike Larkin wrote:
> > > On Thu, Oct 18, 2018 at 10:34:20PM -0300, Daniel Bolgheroni wrote:
> > > > On Wed, Oct 17, 2018 at 08:42:46PM +, Mike Larkin wrote:
> > > > > A 1000Hz host helps here. I get 10.32s real time on sleep 10 with 
> > > > > that setting.
> > > > > 
> > > > > Note that qemu behaves the same way on OpenBSD.
> > > > 
> > > > OK, the output is still slow when on serial, but things improved
> > > 
> > > Is the console baudrate 9600 or 115200?
> > 
> > It's running at 115200.
> > 
> > $ vmctl start 1 -c
> > Connected to /dev/ttyp7 (speed 115200)
> 
> ^^^ if this is what you are using to determine that, I'd ask you to ensure
> that you stty com0 115200 in /etc/boot.conf and that the /etc/ttys line
> has 115200 for the console also. The baudrate from the output of the 'cu'
> used by 'vmctl console' always prints 115200 in this case, even if vmd
> is only outputting at 9600.

Yes, it was my assumption. I already had 'stty com0 115200' in /etc/boot.conf
and now adjusted /etc/ttys to 115200 where appropriate. And things improved:

9600 in /etc/ttys:
# time cat /etc/ttys
(...)
1m09.27s real 0m00.00s user 0m00.00s system
#

115200 in /etc/ttys:
# time cat /etc/ttys
0m11.66s real 0m00.00s user 0m00.00s system
#

As for comparison, I made the same test connected to a Orange Pi Zero, also at
115200, using a USB-to-serial converter uftdi(4):
# time cat /etc/ttys
0m04.03s real 0m00.00s user 0m00.00s system
#

I don't know if this is somehow related to interrupts previously discussed and,
in these cases, it's running -current snapshots, e.g. HZ=100.

Thank you.

-- 
db



Re: VMM sh: time sleep 30 takes 56 seconds

2018-10-21 Thread Daniel Bolgheroni
On Fri, Oct 19, 2018 at 04:16:51AM +, Mike Larkin wrote:
> On Thu, Oct 18, 2018 at 10:34:20PM -0300, Daniel Bolgheroni wrote:
> > On Wed, Oct 17, 2018 at 08:42:46PM +, Mike Larkin wrote:
> > > A 1000Hz host helps here. I get 10.32s real time on sleep 10 with that 
> > > setting.
> > > 
> > > Note that qemu behaves the same way on OpenBSD.
> > 
> > OK, the output is still slow when on serial, but things improved
> 
> Is the console baudrate 9600 or 115200?

It's running at 115200.

$ vmctl start 1 -c
Connected to /dev/ttyp7 (speed 115200)
[ using 2145656 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2018 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 6.4 (GENERIC.MP) #364: Thu Oct 11 13:30:23 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 520093696 (496MB)
avail mem = 495116288 (472MB)

(...)

Thank you.

-- 
db



Re: VMM sh: time sleep 30 takes 56 seconds

2018-10-18 Thread Daniel Bolgheroni
On Wed, Oct 17, 2018 at 08:42:46PM +, Mike Larkin wrote:
> A 1000Hz host helps here. I get 10.32s real time on sleep 10 with that 
> setting.
> 
> Note that qemu behaves the same way on OpenBSD.

OK, the output is still slow when on serial, but things improved
with 1000 Hz.  I was going to ask why 1000 Hz isn't the default
then, but got the response.  I'll leave here for reference:

  https://openbsd.amsterdam/clock.html

Thank you.

  # for i in $(jot 10); do
  >   time sleep 30;
  > done
  0m33.67s real 0m00.00s user 0m00.00s system
  0m33.96s real 0m00.00s user 0m00.00s system
  0m33.92s real 0m00.00s user 0m00.00s system
  0m33.62s real 0m00.00s user 0m00.00s system
  0m33.66s real 0m00.00s user 0m00.00s system
  0m33.64s real 0m00.00s user 0m00.00s system
  0m33.61s real 0m00.00s user 0m00.00s system
  0m33.85s real 0m00.00s user 0m00.00s system
  0m33.97s real 0m00.00s user 0m00.00s system
0m33.74s real 0m00.00s user 0m00.00s system
  #

-- 
db



Re: VMM sh: time sleep 30 takes 56 seconds

2018-10-13 Thread Daniel Bolgheroni
On Sat, Oct 13, 2018 at 01:08:23AM +, Jordan Geoghegan wrote:
> Hello,
> 
> Not sure if this is a bug or not, so I thought I would ask misc@ first.
> 
> I was writing a script in my vmm guest that involved killing and restarting
> a long running process every hour using sleep "3600", and I noticed it ended
> up sleeping for 2 hours and 56 minutes, rather than an hour.
> 
> To test, I ran "time sleep 30" and got this result:
> 
> vmm$ time sleep 30
>     0m57.50s real 0m00.00s user 0m00.00s system
> 
> When run on bare metal, I get this result:
> 
> server$ time sleep 30
>     0m30.00s real 0m00.00s user 0m00.00s system
> 
> I have "sysctl kern.timecounter.hardware=tsc" set in the vm to prevent clock
> drift, otherwise the vm clock runs at around half speed.
> 
> When "time sleep 30" is run on a vm without "sysctl
> kern.timecounter.hardware=tsc" set, it reports the correct amount of time
> being spent sleeping, but since the clock runs at around half speed without
> tsc enabled, it still ends up sleeping for almost a minute.
> 
> The host machine is running 6.3 stable, the guest is running the latest
> snapshot. I tried running a 6.3-stable guest with the same results.
> 
> Has this been fixed in current? I don't have a vmm capable machine available
> running current, I only own spare macppc and i386 hardware which runs
> current.

I get the same results as yours also with a -current vm running on
-current, also with kern.timecounter.hardware=tsc on the vm.

# time sleep 30
0m59.99s real 0m00.00s user 0m00.00s system
# time sleep 30
1m00.30s real 0m00.00s user 0m00.00s system
# time sleep 30
1m00.30s real 0m00.00s user 0m00.00s system
#

I don't know if it's somehow related to the same interrupt thing, but I
also get a slow scroll when attached to the console.

OpenBSD 6.4 (GENERIC.MP) #364: Thu Oct 11 13:30:23 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8451125248 (8059MB)
avail mem = 8185724928 (7806MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (64 entries)
bios0: vendor LENOVO version "8DET73WW (1.43 )" date 10/12/2016
bios0: LENOVO 4291MV7
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT 
SSDT DMAR UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3) 
EHC2(S3) HDEF(S4)
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) i5-2520M CPU @ 2.50GHz, 2492.33 MHz, 06-2a-07
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,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
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) i5-2520M CPU @ 2.50GHz, 2491.91 MHz, 06-2a-07
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,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
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) i5-2520M CPU @ 2.50GHz, 2491.91 MHz, 06-2a-07
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,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
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) i5-2520M CPU @ 2.50GHz, 2491.91 MHz, 06-2a-07
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,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf800, bus 0-63
acpiec0 

Re: chrome 68 and protonmail

2018-09-17 Thread Daniel Bolgheroni
On Fri, Sep 14, 2018 at 05:39:21AM +, vincent delft wrote:
> Hello,
> 
> With the last version of Chrome (Chromium 68.0.3440.106) on -current, I can
> no more login in protonmail.
> 
> In fact after the 2nd login screen chrome complains about an issue.

In chromium or iridium, on address bar, go to chrome://flags and
set the option:

  Experimental Validate Asm.js and convert to WebAssembly when valid.

to Disabled.

In Firefox, on address bar, go to about:config and set the option:

  javascript.options.asmjs

to false. 

Hope this helps.

Cheers,

-- 
db



Re: Employers, Jobs and OpenBSD

2018-07-14 Thread Daniel Bolgheroni
On Sat, Jul 14, 2018 at 11:47:48AM +, Peter N. M. Hansteen wrote:
> You may also (dangerously) get used to having defaults that are actually
> sane and come to expect that everything has a man page with content that
> actually matches the software and provides useful information.
> 
> Which in turn may have you swearing more than you would otherwise at the
> imbecilities you will stumble across in other systems. Depending on a
> number of external factors, swearing (certainly swearing at potential
> employers) could be inadvisable in several thinkable contexts.

I see this as the major "drawback" of using OpenBSD almost exclusively.
You expect systems to be this high standard, and when they don't (which is
often), your patience can become limited when even the most basic things
on other systems is just a pain in the ass to get it working.

Speaking of OpenBSD in the work place, the shitty attitude of some
"engineers" is something to be concerned also. The kind of people who
dismiss solid (but unknown to them) solutions but bang their heads
against a wall on a 15-year tutorial found on an abandoned blog to get
something to work is everywhere.

-- 
db



Re: Wireless on ThinkPad T40 - Connects but no data

2018-07-13 Thread Daniel Bolgheroni
On Fri, Jul 13, 2018 at 07:32:50AM +, Stuart Henderson wrote:
> On 2018-07-13, Daniel Bolgheroni  wrote:
> > I get very poor signal on a ThinkPad X220.  It works at max 3 meters away
> > from the router.  After that, almost 100% packet loss.  The AP doesn't
> > matter.  However, it is not OpenBSD-related:
> >
> > https://forums.lenovo.com/t5/ThinkPad-X-Series-Laptops/X220-wifi-very-poor-performance/td-p/484303
> 
> No such problems on my laptops (X220, X201). iwn seems fairly
> solid in most cases so if seeing problems there I would check
> that the u.fl connectors are properly seated (if you want to try
> disconnecting/reconnecting to see if that helps you may want tweezers,
> they are a bit fiddly).

Already did this check, but no success. I don't know if it's a failed
module or failed antennas. For now I am using an urtwn(4).

Thank you.

-- 
db



Re: Wireless on ThinkPad T40 - Connects but no data

2018-07-12 Thread Daniel Bolgheroni
On Thu, Jul 12, 2018 at 06:57:43PM +, Mike Coddington wrote:
> I've got a Thinkpad X220 and have experienced a similar issue. My
> machine uses the iwn(4) driver, but I have also seen the same behavior
> with a cheapo USB wireless dongle that I plug in. This is mainly useless
> information, but here is what I am wondering: does this problem occur
> for you when you connect to other access points? My connectivity issue only
> crops up at my office's access point. Things work great at home and on
> the bus. You may want to try and connect to some other public wifi networks
> and see if the problem is the same for you. I also noticed that I could
> *CONNECT* to the access point fine, but only ARPs would make it to my
> machine. Maybe do some tcpdump work and see if your problem is similar. 
> 
> I haven't really spent a whole heck of a lot of time troubleshooting my
> own problem because I can connect via a wired connection. However,
> hopefully my experience gets you headed in the right direction.  

I get very poor signal on a ThinkPad X220.  It works at max 3 meters away
from the router.  After that, almost 100% packet loss.  The AP doesn't
matter.  However, it is not OpenBSD-related:

https://forums.lenovo.com/t5/ThinkPad-X-Series-Laptops/X220-wifi-very-poor-performance/td-p/484303

ThinkPad T420 works great with iwn(4).

-- 
db



Re: sed disappearing last line

2018-07-10 Thread Daniel Bolgheroni
On Tue, Jul 10, 2018 at 07:34:48AM +, Andreas Kusalananda Kähäri wrote:
> On Tue, Jul 10, 2018 at 09:29:55AM +0200, Andreas Kusalananda Kähäri wrote:
> > This is really a question about what the "N" command should be doing if
> > there is no further input.  GNU sed seems to output the current pattern
> > space.
> >
> > POSIX says:
> >
> > If no next line of input is available, the N command verb shall
> > branch to the end of the script and quit without starting a new
> > cycle or copying the pattern space to standard output.
> >
> >
> > Note: "without [...] copying the pattern space to standard output"
> >
> > So this makes me believe that OpenBSD sed is doing the correct thing
> > with regards to the POSIX spec. for sed.

Indeed, this matches the OpenBSD behaviour.

Thank you.

-- 
db



sed disappearing last line

2018-07-09 Thread Daniel Bolgheroni
Working with some input/commands which dealt with multiline pattern
spaces, noticed a behaviour I was not expecting. Reducing the test to a
simple case:

  $ echo "foo\nbar\nbaz" | sed "1d; N"
  bar
  baz
  $

This is for 3 lines of input. However, same command but for 4 lines of
input:

  $ echo "foo\nbar\nbaz\nqux" | sed "1d; N"
  bar
  baz   <--- qux not here
  $

For 6 lines of input:

  $ echo "foo\nbar\nbaz\nqux\nquux\nquuz" | sed "1d; N"
  bar
  baz
  qux
  quux  <--- quuz not here
  $

(use echo -e if on bash)

When the input has an even number of lines, the last line disappears. My
understanding is this isn't supposed to happen, but I'm unsure if it has
something to do with POSIX gray areas of undefined behaviours. For
instance, GNU sed from ports presents a different behaviour (second test
case but with gsed):

  $ echo "foo\nbar\nbaz\nqux" | gsed "1d; N"
  bar
  baz
  qux   <--- qux here
  $

Before suggesting anything, anyone with a stronger experience on sed
historical behaviours can shed some light on if this is acceptable?

Thank you.

-- 
db



Re: Suspend on Lenovo T440

2018-05-05 Thread Daniel Bolgheroni
On Sat, May 05, 2018 at 03:14:32PM +, Ken M wrote:
> So I recently picked up a Lenovo T440 for a good price to use as my OpenBSD 
> road
> warrior and replace the aging Toshiba I was using. Everything works but 2
> things:
> 
> 1. Bluetooth of course
> 2. Resume from suspend on lid close
> 
> I am writing because of number 2. For now I have disabled suspend on lid close
> but I was wondering if other T440 users might have gotten suspend and resume 
> on
> lod close and open to work for another option on this computer.

Please check if this helps you:

https://marc.info/?l=openbsd-misc=152230308012611=2

-- 
db



Re: NFS keeps crashing

2018-04-21 Thread Daniel Bolgheroni
On Sat, Apr 21, 2018 at 10:38:48AM +, Rupert Gallagher wrote:
> What I do not like of obsd is the negative energy of its community. We
> all have a sympatic gene and tend to mirror the social environment. We
> should be mindful of it, and try to stay positive. Another thing I do
> not like is the absence of industrial support. I mean, am I the only
> one on obsd nfs with windows 10 clients? It feels too much pioneering
> around here...

On how to report properly, please refer to:

https://www.openbsd.org/report.html

The project website has a list of vendors offering commercial,
"industrial" support.  Please refer to:

https://www.openbsd.org/support.html

-- 
db



Audio stuttering on media playback with sndiod

2018-04-04 Thread Daniel Bolgheroni
Hi,

audio is stuttering on media playback when run through sndiod. It's OK
without it.

Here is an example of audio/cmus attaching to play a mp3 file:

x250$ doas sndiod -ddd
snd0 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup
helper(helper|ini): created
worker(worker|ini): created
listen(/tmp/aucat/aucat0|ini): created
sock(sock|ini): created
helper: recv: cmd = 0, num = 0, mode = 3, fd = -1
helper: send: cmd = 3, num = 0, mode = 0, fd = 3
sock,rmsg,widl: AUTH message
sock,rmsg,widl: HELLO message
sock,rmsg,widl: hello from , mode = 1, ver 7
sock,rmsg,widl: using snd0 pst=cfg.default, mode = 1
cmus0: overwritten slot 0
snd0 pst=cfg: device requested
worker: send: cmd = 0, num = 0, mode = 3, fd = -1
worker: recv: cmd = 3, num = 0, mode = 0, fd = 6
sio(rsnd/0|ini): created
snd0 pst=ini: 48000Hz, s16le, play 0:1, rec 0:1, 8 blocks of 960 frames
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: SETPAR message
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: playback channels 0:1 -> 0:1
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: 44100Hz sample rate, 882 frame blocks
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: 13230 frame buffer
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: GETPAR message
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: GETPAR message
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: START message
cmus0 vol=127,pst=ini,mmc=off: playing s16le -> s16le
cmus0 vol=127,pst=ini,mmc=off: allocated 13230/20286 fr buffers
cmus0 vol=127,pst=sta,mmc=off: 44100Hz, s16le, play 0:1, 15 blocks of 882 frames
cmus0 vol=127,pst=sta,mmc=off,rmsg,widl: building SETVOL message, vol = 127
snd0 pst=ini: device started
snd0 pst=run: started
cmus0 vol=127,pst=run,mmc=off: attached at -7056, delta = 0
cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 0
resamp: 882/960
cmus0 vol=127,pst=run,mmc=off: set weight: 23170/23170
snd0 pst=run: rec hw xrun, rused = 5760/7680
snd0 pst=run: play hw xrun, pused = 1920/7680
snd0 pst=run: rec hw xrun, rused = 4800/7680
snd0 pst=run: play hw xrun, pused = 2880/7680
snd0 pst=run: rec hw xrun, rused = 3840/7680
snd0 pst=run: play hw xrun, pused = 3840/7680
snd0 pst=run: rec hw xrun, rused = 2880/7680
snd0 pst=run: play hw xrun, pused = 4800/7680
snd0 pst=run: rec hw xrun, rused = 1920/7680
snd0 pst=run: play hw xrun, pused = 5760/7680
snd0 pst=run: rec hw xrun, rused = 960/7680
snd0 pst=run: play hw xrun, pused = 6720/7680
snd0 pst=run: rec hw xrun, rused = 5760/7680
snd0 pst=run: play hw xrun, pused = 1920/7680
snd0 pst=run: rec hw xrun, rused = 4800/7680
snd0 pst=run: play hw xrun, pused = 2880/7680
snd0 pst=run: rec hw xrun, rused = 3840/7680
snd0 pst=run: play hw xrun, pused = 3840/7680
snd0 pst=run: rec hw xrun, rused = 2880/7680
snd0 pst=run: play hw xrun, pused = 4800/7680
snd0 pst=run: rec hw xrun, rused = 1920/7680
snd0 pst=run: play hw xrun, pused = 5760/7680
snd0 pst=run: rec hw xrun, rused = 960/7680
snd0 pst=run: play hw xrun, pused = 6720/7680
snd0 pst=run: rec hw xrun, rused = 5760/7680
snd0 pst=run: play hw xrun, pused = 1920/7680
snd0 pst=run: rec hw xrun, rused = 4800/7680
snd0 pst=run: play hw xrun, pused = 2880/7680
snd0 pst=run: rec hw xrun, rused = 3840/7680
snd0 pst=run: play hw xrun, pused = 3840/7680

(... flood)

The same on a X220 gives me this (it's OK here):

x220$ doas sndiod -ddd
snd0 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup
helper(helper|ini): created
worker(worker|ini): created
listen(/tmp/aucat/aucat0|ini): created
sock(sock|ini): created
helper: recv: cmd = 0, num = 0, mode = 3, fd = -1
helper: send: cmd = 3, num = 0, mode = 0, fd = 3
sock,rmsg,widl: AUTH message
sock,rmsg,widl: HELLO message
sock,rmsg,widl: hello from , mode = 1, ver 7
sock,rmsg,widl: using snd0 pst=cfg.default, mode = 1
cmus0: overwritten slot 0
snd0 pst=cfg: device requested
worker: send: cmd = 0, num = 0, mode = 3, fd = -1
worker: recv: cmd = 3, num = 0, mode = 0, fd = 6
sio(rsnd/0|ini): created
snd0 pst=ini: 48000Hz, s16le, play 0:1, rec 0:1, 8 blocks of 960 frames
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: SETPAR message
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: playback channels 0:1 -> 0:1
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: 44100Hz sample rate, 882 frame blocks
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: 13230 frame buffer
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: GETPAR message
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: GETPAR message
cmus0 vol=127,pst=ini,mmc=off,rmsg,widl: START message
cmus0 vol=127,pst=ini,mmc=off: playing s16le -> s16le
cmus0 vol=127,pst=ini,mmc=off: allocated 13230/20286 fr buffers
cmus0 vol=127,pst=sta,mmc=off: 44100Hz, s16le, play 0:1, 15 blocks of 882 frames
cmus0 vol=127,pst=sta,mmc=off,rmsg,widl: building SETVOL message, vol = 127
snd0 pst=ini: device started
snd0 pst=run: started
cmus0 vol=127,pst=run,mmc=off: attached at -7056, delta = 0
cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 0
resamp: 882/960
cmus0 vol=127,pst=run,mmc=off: set weight: 23170/23170

I couldn't spot any difference in the initialization, but on the run,
the former case is flooded with this pair 

Re: [Arduino] CLI serial monitor

2018-04-03 Thread Daniel Bolgheroni
On Wed, Apr 04, 2018 at 02:58:20AM +, Olivier Burelli wrote:
> should i use cat /dev/DEVICE >> file.txt ?

Considering the sketch you posted, you should have no problem using
cu(1), which is in base:

# cu -9600 -l/dev/cuaU0

To quit, type '~.' (tilde + dot). For more info about other escape
signals and what else is possible, please refer to the manual page: 

$ man cu

Cheers,

-- 
db



Re: ThinkPad X250 not resuming

2018-03-29 Thread Daniel Bolgheroni
On Thu, Mar 29, 2018 at 05:56:05AM +, Mike Larkin wrote:
> Turn off the TPM in the bios and try again.

Working now.

Thank you.

-- 
db



ThinkPad X250 not resuming

2018-03-28 Thread Daniel Bolgheroni
Hi,

over the last years, OpenBSD worked so great on every ThinkPad I
had/have, that it almost feels I'm doing something very stupid when it
doesn't. 

With a X250 I got my hands on recently, on a new installation, the
latest snapshot suspends OK, but trying to resume has no effect. The
power led keeps fading and I have to power cycle.

apmd is running with -A flag.

Anything I am missing?

Thank you.

dmesg:
OpenBSD 6.3 (GENERIC.MP) #107: Sat Mar 24 14:21:59 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8469942272 (8077MB)
avail mem = 8206176256 (7826MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xccbfd000 (64 entries)
bios0: vendor LENOVO version "N10ET50W (1.29 )" date 02/26/2018
bios0: LENOVO 20CL006VBR
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC ASF! HPET ECDT APIC MCFG SSDT SSDT SSDT SSDT SSDT 
SSDT SSDT SSDT SSDT PCCT SSDT TCPA SSDT UEFI MSDM BATB FPDT UEFI BGRT DMAR
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.53 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
acpihpet0: recalibrated TSC frequency 2594004639 Hz
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.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.23 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
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-5600U CPU @ 2.60GHz, 2494.23 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
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-5600U CPU @ 2.60GHz, 2494.23 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpicpu0 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1
acpipwrres1 at acpi0: NVP3, resource for PEG_
acpipwrres2 at acpi0: NVP2, resource for PEG_
acpitz0 at acpi0: critical temperature is 128 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
"LEN0071" at acpi0 not configured
"LEN0046" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "45N1773" serial  1004 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 model "45N1775" serial   632 type LION 

Re: considering a move to OpenBSD

2018-02-08 Thread Daniel Bolgheroni
On Thu, Feb 08, 2018 at 09:41:20PM +, Charlie Eddy wrote:
> hello misc,
> 
> I am considering a move to OpenBSD, since I subscribed to this mailing list
> some time ago (~few months). I want to take advantage of security.
> 
> However, a programmer who I know personally and respect considers OpenBSD
> to be old-school, in a negative sense. He recommends Arch Linux as
> superior, because more new. Does the difference boil down to one's
> definition of free software, and then compliance with that definition?
> 
> I have read up on this a lot, and this is a serious question. I have heard
> that it is unimportant what *nix you're on after a few years of using one
> or the other, in terms of functionality. I am interested in embedded
> devices. I think that bends the needle towards Arch, but the security of
> OpenBSD is also attractive. What considerations should I take into account?

I don't think that, if you ask the same question on an Arch Linux
mailing list, people will suggest you to run OpenBSD. Since you're on an
OpenBSD mailing list, the odds are people here will... nevermind.

There are a lot (really, a lot) of things you should consider.
Honestly, these opiniated, one-sentence answers like these should ring
bells on your head, and work as an alert (because it's newer? really?).

That being said, the mindset of "going to shop" when choosing software
(e.g. comparing project features to see which one "offers more for the
lowest price") is just wrong. What do you really need? "Embedded",
"security" or any single-worded reason won't say much.

No words here will spare you the work you have to do by yourself. Install
it and put it to work. Then, then take your own conclusions.

-- 
db



Sites in firefox stop loading with "out of memory" in console

2017-04-18 Thread Daniel Bolgheroni
Ultimately some sites opened with Firefox 52 stop loading with "out of
memory" in console.  Two ofenders are https://app.wire.com and
https://www.protonmail.com/login, and both seem related to asm.js.

Note that Firefox doesn't crash, but the sites beeing loaded just stop
being loaded, and the F12 console notifies the error (console messages
below). This occurred also with the previous 51 version but not with
firefox-esr 45. Chrome works OK.

I already tweaked /etc/login.conf and the relevant part is:

staff:\
:datasize-cur=4096M:\
:datasize-max=infinity:\
:stacksize-cur=32M:\
:maxproc-max=512:\
:maxproc-cur=256:\
:ignorenologin:\
:requirehome@:\
:tc=default:

I tried to ktrace the process opening the ProtonMail login site. Two
"out of memory" messages in console corresponding to two "mmap -1 errno
12 Cannot allocate memory".

$ kdump -f ktrace.out | fgrep -C25 memory
 24760 firefox  CALL  
__thrsleep(0x1670c8e82e38,CLOCK_REALTIME,0,0x1670f79ede80,0x1670c8e82f04)
 24760 firefox  RET   __thrsleep 0
 24760 firefox  CALL  clock_gettime(CLOCK_MONOTONIC,0x7f7e44d8)
 24760 firefox  STRU  struct timespec { 44565.727442111 }
 24760 firefox  RET   clock_gettime 0
 24760 firefox  CALL  mprotect(0x298015817000,0x1000,0x3)
 24760 firefox  RET   mprotect 0
 24760 firefox  CALL  mprotect(0x298015817000,0x1000,0x5)
 24760 firefox  RET   mprotect 0
 24760 firefox  CALL  
mmap(0,0x8000,0x3,0x1002,-1,0)
 24760 firefox  RET   mmap 24673942310912/0x1670d9911000
 24760 firefox  CALL  
mmap(0,0x8000,0x3,0x1002,-1,0)
 24760 firefox  RET   mmap 24673866743808/0x1670d510
 24760 firefox  CALL  
mmap(0,0x8000,0x3,0x1002,-1,0)
 24760 firefox  RET   mmap 24676063653888/0x167158023000
 24760 firefox  CALL  
mmap(0,0x8000,0x3,0x1002,-1,0)
 24760 firefox  RET   mmap 24674684030976/0x167105c6d000
 24760 firefox  CALL  
mmap(0,0x8000,0x3,0x1002,-1,0)
 24760 firefox  RET   mmap 24674885947392/0x167111cfd000
 24760 firefox  CALL  
mmap(0,0x8000,0x3,0x1002,-1,0)
 24760 firefox  RET   mmap 24676806189056/0x167184446000
 24760 firefox  CALL  __thrwakeup(0x16716c7eba38,1)
 24760 firefox  RET   __thrwakeup 0
 24760 firefox  RET   __thrsleep 0
 24760 firefox  CALL  
mmap(0,0x180011000,0,0x1002,-1,0)
 24760 firefox  RET   mmap -1 errno 12 Cannot allocate memory
 24760 firefox  CALL  gettimeofday(0x7f7e4568,0)
 24760 firefox  STRU  struct timeval { 1492564136<"Apr 18 22:08:56 
2017">.731298 }
 24760 firefox  RET   gettimeofday 0
 24760 firefox  CALL  
mmap(0,0x8000,0x3,0x1002,-1,0)
 24760 firefox  RET   mmap 24675854073856/0x16714b844000
 24760 firefox  CALL  clock_gettime(CLOCK_MONOTONIC,0x7f7ea918)
 24760 firefox  STRU  struct timespec { 44565.728584189 }
 24760 firefox  RET   clock_gettime 0
 24760 firefox  CALL  gettimeofday(0x7f7ea910,0)
 24760 firefox  STRU  struct timeval { 1492564136<"Apr 18 22:08:56 
2017">.731404 }
 24760 firefox  RET   gettimeofday 0
 24760 firefox  CALL  gettimeofday(0x7f7ea6b8,0)
 24760 firefox  STRU  struct timeval { 1492564136<"Apr 18 22:08:56 
2017">.731623 }
 24760 firefox  RET   gettimeofday 0
 24760 firefox  CALL  gettimeofday(0x7f7eabd0,0)
 24760 firefox  STRU  struct timeval { 1492564136<"Apr 18 22:08:56 
2017">.731640 }
 24760 firefox  RET   gettimeofday 0
 24760 firefox  CALL  clock_gettime(CLOCK_MONOTONIC,0x7f7eac68)
 24760 firefox  STRU  struct timespec { 44565.728985299 }
 24760 firefox  RET   clock_gettime 0
 24760 firefox  CALL  gettimeofday(0x7f7eac60,0)
 24760 firefox  STRU  struct timeval { 1492564136<"Apr 18 22:08:56 
2017">.731808 }
 24760 firefox  CALL  
mmap(0,0x8000,0x3,0x1002,-1,0)
 24760 firefox  RET   gettimeofday 0
 24760 firefox  RET   mmap 24673649692672/0x1670c8201000
--
 24760 firefox  CALL  mprotect(0x2980158a,0x1000,0x5)
 24760 firefox  RET   mprotect 0
 24760 firefox  CALL  
mmap(0,0x11000,0x3,0x1002,-1,0)
 24760 firefox  RET   mmap 24673836089344/0x1670d33c4000
 24760 firefox  CALL  mprotect(0x2980158a,0x1000,0x3)
 24760 firefox  RET   mprotect 0
 24760 firefox  CALL  mprotect(0x2980158a,0x1000,0x5)
 24760 firefox  RET   mprotect 0
 24760 firefox  CALL  mprotect(0x2980158a,0x1000,0x3)
 24760 firefox  RET   mprotect 0
 24760 firefox  CALL  mprotect(0x2980158a,0x1000,0x5)
 24760 firefox  RET   mprotect 0
 24760 firefox  CALL  mprotect(0x2980158a,0x1000,0x3)
 24760 firefox  RET   mprotect 0
 24760 firefox  CALL  

Re: jme0: watchdog timeout

2017-02-09 Thread Daniel Bolgheroni
On Wed, Feb 08, 2017 at 10:04:04AM +, Comète wrote:
> Hi,
> 
> I use OpenBSD 6.0 amd64 (stable) on a Shuttle XS35v2. I've installed
> "ushare" but same problem with "minidlna" and I don't think the problem comes
> from these apps... When I try to read a big file (ex.: a 1Go video) from my
> DLNA player, nothing starts playing and the jme driver on the Shuttle reports
> these warnings on dmesg:
> 
> jme0: watchdog timeout
> jme0: stopping transmitter
> timeout!
> jme0: stopping transmitter timeout!
> jme0: stopping transmitter
> timeout!
> jme0: watchdog timeout
> jme0: stopping transmitter timeout!
> jme0:
> stopping transmitter timeout!
> jme0: watchdog timeout
> jme0: stopping
> transmitter timeout!
> jme0: stopping transmitter timeout!
> jme0: stopping
> transmitter timeout!
> jme0: watchdog timeout
> jme0: stopping transmitter
> timeout!
> jme0: stopping transmitter timeout!
> jme0: watchdog timeout
> jme0:
> watchdog timeout
> 
> and the NIC sometimes stops working until I reboot the
> machine.
> 
> I saw an identical report on the mailing list some time ago, but I
> didn't manage to find it.

I did report to bugs@ a while ago:

http://marc.info/?l=openbsd-bugs=146958374430709=2

-- 
db



Re: Wandboard Quad can't boot anymore

2016-08-31 Thread Daniel Bolgheroni
On Tue, Aug 30, 2016 at 08:44:44PM -0400, Joe Gidi wrote:
> I suspect/fear that the answer might be, "your hardware died", but since
> the armv7 port is under heavy development, maybe this information will be
> of some value to the devs...
> 
> I've been running snapshots on my Wandboard Quad for the past few weeks
> without incident. Sometime yesterday or last night, the system went down
> (no response to pings or serial console) and wouldn't boot back up. I
> pulled the SD card and mounted it in a working machine, and found nothing
> in the logs indicating what might have gone wrong.
> 
> Both bsd and bsd.rd hang during boot, with this as the last line of dmesg:
> 
> simplebus5 at mainbus0: "regulators"

It's not something specific to your hardware as I can see it too.

-- 
db



Re: Belkin N300

2016-07-30 Thread Daniel Bolgheroni
On Sat, Jul 30, 2016 at 08:00:26AM -0400, Richard Thornton wrote:
> Does this USB wireless add-o, which uses a realtek chipset, work with
> OpenBSDThe installer sees it, the firmware fails to load.

It's common for manufacturers to sell completely different hardware with
the same marketing name. Revisions can help a little.

Check usb(4) man page as there are 3 different drivers for Realtek USB
chipsets.

-- 
db



Re: FOSS tools for flashing motherboard BIOS?

2016-06-06 Thread Daniel Bolgheroni
On Mon, Jun 06, 2016 at 09:52:49AM -0400, Alan Corey wrote:
> 
> On the Arch Linux page at
> https://wiki.archlinux.org/index.php/Flashing_BIOS_from_Linux there's
> mention of a couple programs that might work: BiosDisk and Flashrom.
> Anybody use either of those under OpenBSD?  I haven't tried chasing
> down the source and trying to build them, I was a little surprised
> they aren't in sysutils.  I don't see anything in there for flashing,
> just looking in pbrowser.

See this:

http://marc.info/?l=openbsd-ports=146464871825362=2

-- 
db



Re: VAX - are we dropping support in 5.9?

2016-01-26 Thread Daniel Bolgheroni
On Mon, Jan 25, 2016 at 08:59:34PM -0500, Nick Holland wrote:
>
> But why was I running a Sun E250?  What could it do better than anything
> else for me?  When my E250 did something strange (which it did from time
> to time), there wasn't much that I (as a non-coder) could do about
> it...nor was there much interest in "fixing" these power-hungry slugs by
> those that could.  They didn't have one, and they didn't want one.   How
> much was I helping OpenBSD by running on an E250?  Close to zero.  Could
> have helped a lot more if I took the money spent on power and air
> conditioning my basement and sent it to the group.

In some markets, the problem is a little deeper: not so long ago, these
non-x86 platforms used to cost too much. Today, they're almost
impossible to find, even the not-so-odd platforms like sparc and
sparc64.

Not so long ago, it was common to find 50 MHz sparc machines costing the
same as a decent car, not to say sparc64, even when GHz amd64 were
available.

I still run on a macppc and used to run on a hppa, which I bought cheap,
probably because the guy who sold didn't know what to do with it.

-- 
db



Re: [mot] serious about clang/llvm?

2015-10-23 Thread Daniel Bolgheroni
On Fri, Oct 23, 2015 at 04:43:50AM -0400, Mayuresh Kathe wrote:
> i have been reading up online news about the core team considering a move
> from 'gcc' to "clang/llvm".
> is it really true? wouldn't that add a whole lot of complexity to the base
> system? isn't clang/llvm written in c++11? wouldn't 'pcc' be a better
> alternative? especially because (i think) openbsd is striving to deliver a
> compact base install with as small a disk footprint as possible!
> i had heard rumours about the openbsd core team having a part of openbsd
> built using 'pcc', is it true? if yes, did that effort not produce desirable
> results?

There are more things to LLVM/clang than its complexity and the fact
that it's written in C++. GCC is also pretty complex. For a better
clarification, check this:

http://marc.info/?l=openbsd-misc=137530560232232=2

Cheers,

-- 
db



Re: tmux losing session

2015-10-22 Thread Daniel Bolgheroni
On Thu, Oct 22, 2015 at 07:24:24PM -0200, Daniel Bolgheroni wrote:
> Anyone experiencing this?

>From tmux(1):

If the socket is accidentally removed, the SIGUSR1 signal
may be sent to the tmux server process to recreate it (note
that this will fail if any parent directories are missing).

Sorry for the noise.

-- 
db



tmux losing session

2015-10-22 Thread Daniel Bolgheroni
Hi misc@,

tmux session from 2 days ago, login into the machine and then:

$ tmux attach
$ tmux attach
no sessions
$

Minutes ago it was OK. No traces left. First time I thought I wasn't
awake enough.

Anyone experiencing this?

Thank you.

OpenBSD 5.8-current (GENERIC.MP) #1477: Tue Oct 13 17:36:04 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2087387136 (1990MB)
avail mem = 2020061184 (1926MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (73 entries)
bios0: vendor LENOVO version "7LET51WW (1.21 )" date 08/22/2007
bios0: LENOVO 7661E91
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF! SSDT SSDT 
SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) IGBE(S4) EXP0(S4) 
EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) 
USB3(S3) USB4(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1197.27 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,NXE,LONG,LAHF,PERF,SENSOR
cpu0: 4MB 64b/line 16-way 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 199MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1197.00 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,NXE,LONG,LAHF,PERF,SENSOR
cpu1: 4MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), C1(1000@1 
mwait.1)
acpicpu1 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), C1(1000@1 
mwait.1)
acpipwrres0 at acpi0: PUBS, resource for USB0, USB2, USB4, EHC0, EHC1
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4552" serial39 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06170a2b06000617
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1197 MHz: speeds: 2000, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
intagp0 at vga1
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1280x800
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
em0 at pci0 dev 25 function 0 "Intel ICH8 IGP M AMT" rev 0x03: msi, address 
00:1c:25:40:02:d7
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 21
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 22
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: msi
azalia0: codecs: Analog Devices AD1984, Conexant/0x2bfa, using Analog Devices 
AD1984
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: msi
pci2 at ppb1 bus 3
ath0 at pci2 dev 0 function 0 "Atheros AR5212" rev 0x01: apic 1 int 17
ath0: AR5424 10.3 phy 6.1 rf5424 10.2 eeprom 5.3, WOR2W, address 
00:1c:26:b6:75:06
ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03: msi
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x03: msi
pci4 at ppb3 bus 5
ppb4 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x03: msi
pci5 at ppb4 bus 13
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 16
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 17
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: apic 1 int 18

Re: Resolve names from chroot'ed OpenBSD httpd

2015-05-22 Thread Daniel Bolgheroni
On Fri, May 22, 2015 at 06:39:53AM -0400, Dain Bentley wrote:
 I had this issue a while back.  Have you tried restarting the server?

Sure, but didn't solve the problem.

http://marc.info/?l=openbsd-miscm=135603654831609w=2



Resolve names from chroot'ed OpenBSD httpd

2015-05-21 Thread Daniel Bolgheroni
Hi,

Any advice on resolving names from a chroot'ed httpd?

OpenBSD 5.7, Wordpress downloaded from site, mariadb configured, paths
set on httpd.conf. Also have /var/www/etc/hosts and
/var/www/etc/resolv.conf in place.

Works almost as expected, except for some functions like installing
plugins/themes, which I get a lot of php_network_getaddresses:
getaddrinfo failed: no address associated with name when activating
Wordpress debug.

Warning: stream_socket_client(): unable to connect to
tcp://api.wordpress.org:80 (php_network_getaddresses: getaddrinfo
failed: no address associated with name) in
/htdocs/wordpress/wp-includes/class-http.php on line 1008

Same problem with nginx from ports.

Thank you.

-- 
db



Re: Amv7 support sunxi SoC router board Lamobo R1 (BPi-R1)?

2015-01-03 Thread Daniel Bolgheroni
On Fri, Jan 02, 2015 at 11:11:18AM +0800, f5b wrote:
 Does Amv7 support sunxi SoC router board Lamobo R1 (BPi-R1)?

It's armv7, not amv7. I have a Banana Pi which can load OpenBSD but
won't complete the boot. Allwinner A20 still has some issues.

There is a topic which discuss some of these issues on tech@:

http://marc.info/?l=openbsd-techm=141227625722523w=2

Also check the a...@openbsd.org mailing list.

Cheers,

-- 
db



[patch] little typo on current.html

2014-03-20 Thread Daniel Bolgheroni
Little typo on current.html.

Index: current.html
===
RCS file: /cvs/www/faq/current.html,v
retrieving revision 1.475
diff -u -p -r1.475 current.html
--- current.html19 Mar 2014 20:10:29 -  1.475
+++ current.html21 Mar 2014 02:42:42 -
@@ -762,7 +762,7 @@ which supports L2TP, PPTP and PPPoE (cur
 uucpd(8) has been removed.
 As a result, the old binaries and manual pages should be removed:
 pre
-rm -f /usr/libxec/uucpd
+rm -f /usr/libexec/uucpd
 rm -f /usr/share/man/man8/uucpd.8
 /pre



Re: Cannot set stty parameters and read from /dev/ttyU0

2014-01-07 Thread Daniel Bolgheroni
On Tue, Jan 07, 2014 at 03:05:39PM +, Jurjen Oskam wrote:
 Hi everybody,
 
 Earlier I had a Linux machine (well, a Raspberry Pi actually) which
 I used to read out my energy meter. The energy meter was connected
 to a USB port with a custom FTDI cable. The energy meter only
 supports reading from it, writing to it is not possible.

Some years ago I used a Arduino Duemilanove in a project. This board
uses the FTDI chipset uftdi(4). As Remco, it worked pretty well for me
too, using cu(1) or tip(1) + /dev/cuaUx.

-- 
db



Re: Hard Freeze with Snapshots After Aug 19 on ThinkPad X1 Carbon

2013-09-02 Thread Daniel Bolgheroni
On Fri, Aug 30, 2013 at 08:00:50AM -0700, Bryan Vyhmeister wrote:
 I'm running OpenBSD/amd64 5.4-current with GENERIC.MP from 2013/08/19
 downloaded from the mirrors on a Levovo ThinkPad X1 Carbon. Both
 snapshots I have tried (2013/08/25 and 2013/08/29) after the 19th have
 resulted in hard system freezes every few hours. I don't have any logs
 or anything else that indicate a hard freeze but everything just hard
 freezes. I first noticed because I left the ThinkPad running overnight
 on my desk and when I came back to the system the next morning it was
 hard frozen. Several times during the day while I'm working I have also
 experienced the same thing. Anyone else seeing something similar?

The machine I have here freezes after a few minutes, every time I boot up
after keeping it turned off for a hour or so. However, it began to
happen after DRM changes as I reported here:

http://marc.info/?l=openbsd-bugsm=137270813308946w=2

After reboot, no problem with random freezes, so I don't think it's the
same cause as yours.



Re: Can't compile binaries :/

2013-07-01 Thread Daniel Bolgheroni
On Mon, Jul 01, 2013 at 09:54:48PM +0300, jV wrote:
 
 Any ideas why it keeps failing here ?

http://openbsd.org/faq/current.html



Re: Disable inteldrm

2013-06-06 Thread Daniel Bolgheroni
On Thu, Jun 06, 2013 at 02:37:54PM +0200, Gregor Best wrote:

 Just for the record, that URL links to a post about IPSEC. I'm quite
 confident you meant another post :)

Sorry. This is the thread:

http://marc.info/?l=openbsd-miscm=136689079009585w=2

 Might I ask why you want to disable inteldrm? A bug report that leads to
 an actual fix for your problem might be more useful than sidestepping
 the issue.

I explained in the link above (now the correct one).

The hardware is pretty generic, and only one person signaled to have the
same issue, so I thought it was pretty specific to my configuration.

Thank you.



Re: seeking: xrandr magic

2013-04-26 Thread Daniel Bolgheroni
On Thu, Apr 25, 2013 at 03:56:50PM -0400, Ted Unangst wrote:
 
 Is there a single command I can put in .xinitrc? A single correct
 sequence of commands?
 

Don't know how running xrandr multiple times affects its behaviour. My
setup is similar to yours and in particular, this works for me:

xrandr --output LVDS1 --primary --mode 1366x768 --output VGA1 --mode
1920x1080 --right-of LVDS1



OpenBSD freeze after DRM changes

2013-04-25 Thread Daniel Bolgheroni
Hi misc@,

after one of the screenshots that include the DRM changes, my laptop
began to freeze after the first boot. Sometimes it freezes at Pentium
Pro MTRR support, but most of the times it freezes no more than 1 minute
after login.

After reboot, the system runs rock solid.

dmesg and pcidump included below.

Anyone experiencing the same?
Thank you.

dmesg:
OpenBSD 5.3-current (GENERIC.MP) #103: Wed Apr 24 09:33:02 MDT 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3168403456 (3021MB)
avail mem = 3076415488 (2933MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xfc480 (33 entries)
bios0: vendor American Megatrends Inc. version 200.T02 date 10/26/2010
bios0: POSITIVO POSITIVO MOBILE
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SLIC ECDT DBGP BOOT OEMB HPET GSCI ATKG SSDT
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB5(S3) EUSB(S3) USB3(S3) 
USB4(S3) USB6(S3) USBE(S3) HDAC(S3) P0P1(S4) P0P2(S3) P0P3(S3) WLAN(S3) 
P0P4(S3) P0P7(S4) GLAN(S4) P0P8(S3) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz, 2640.43 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG,LAHF,PERF
cpu0: 1MB 64b/line 4-way L2 cache
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz, 2200.08 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG,LAHF,PERF
cpu1: 1MB 64b/line 4-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiec0 at acpi0
acpihpet0 at acpi0: 14318179 Hz
acpi0: unable to load \\_SB_.PCI0._INI.USBT
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (P0P2)
acpiprt3 at acpi0: bus 2 (P0P3)
acpiprt4 at acpi0: bus 3 (P0P4)
acpiprt5 at acpi0: bus 5 (P0P7)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpitz0 at acpi0: critical temperature is 110 degC
acpiac0 at acpi0: AC unit in unknown state
acpibat0 at acpi0: BAT0 not present
acpiasus at acpi0 not configured
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
cpu0: Enhanced SpeedStep 2640 MHz: speeds: 2300, 1600, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x09
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel GM45 Video rev 0x09 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2 int 16
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2 int 17
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2 int 19
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 int 18
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: msi
azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: msi
pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 Atheros AR2427 rev 0x01: apic 2 int 17
athn0: AR9285 rev 2 (1T1R), ROM rev 13, address 48:5d:60:a2:e0:6a
ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: msi
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x03: msi
pci4 at ppb3 bus 5
re0 at pci4 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D (0x2800), 
apic 2 int 17, address e0:69:95:a1:cb:1b
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2 int 23
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 2 int 19
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 2 int 18
ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 2 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x93
pci5 at ppb4 bus 6
pcib0 at pci0 dev 31 function 0 Intel 82801IBM LPC rev 0x03
ahci0 at pci0 dev 31 function 2 Intel 82801I AHCI rev 0x03: msi, AHCI 1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, TOSHIBA MK3265GS, GJ00 SCSI3 0/direct 
fixed naa.5393138822a0
sd0: 305245MB, 512 bytes/sector, 625142448 

Re: Server

2013-03-14 Thread Daniel Bolgheroni
On Wed, Mar 13, 2013 at 10:51:17AM -0300, Andi wrote:
 Hello everybody,
 
 I'm thinking about putting the openBSD 5.2, in a desktop machine, in order
 to make this a server.
 
 The hardware configuration is:
 intel i3, 1TB of HD, nvidia 9800.
 
 But I'm wondering about this, if it will be good idea?
 If it's recommended... if openBSD is good to run a database... etc

If you're asking, it's probably more than enough.



Re: how to upgrade gcc 4.2.1 to gcc-4.7.1

2013-01-17 Thread Daniel Bolgheroni
On Thu, Jan 17, 2013 at 10:29:16PM +0800, WANG Siyuan wrote:
 Hi,
 
 I install gcc 4.7 on openbsd using pkg_add. after installation, I use
 'gcc -v' to check, I found it is also gcc 4.2 !

Try egcc -v.




tmux separate pane characters

2012-12-07 Thread Daniel Bolgheroni
Hi misc@,

I have an issue with some fonts when using tmux, as they don't display
the separate characters between panes.
   
Are there any -a option as in mc or 'ascii_chars=' as in mutt?

Thank you.



Trouble waking up with -current

2012-10-11 Thread Daniel Bolgheroni
Hi misc@,

I've been running the latest -current for a few days and facing an
issue with USB and sleep/wake up process. 

When I boot with some USB device plugged in, I have no problem.
However, if I disconnect, I see it in the dmesg. If I connect it again,
there is no dmesg message and the device becomes unusable.

This isn't a new issue, but I used to solve this putting the box to
sleep and waking it up soon after. The problem is that, with the latest
-current, I can't put it to sleep. It seems to begin the process, makes
some movement, but returns with a blank screen, and I need to cold
reboot. 

It used to work just fine with 5.1.

Any ideas?
Thank you.

OpenBSD 5.2-current (GENERIC.MP) #35: Tue Oct  2 14:25:50 MDT 2012
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3184132096 (3036MB)
avail mem = 3076956160 (2934MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xfc480 (33 entries)
bios0: vendor American Megatrends Inc. version 200.T02 date 10/26/2010
bios0: POSITIVO POSITIVO MOBILE
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SLIC ECDT DBGP BOOT OEMB HPET GSCI ATKG SSDT
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB5(S3) EUSB(S3) USB3(S3) 
USB4(S3) USB6(S3) USBE(S3) HDAC(S3) P0P1(S4) P0P2(S3) P0P3(S3) WLAN(S3) 
P0P4(S3) P0P7(S4) GLAN(S4) P0P8(S3) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz, 3220.54 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG,LAHF
cpu0: 1MB 64b/line 4-way L2 cache
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz, 2300.08 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG,LAHF
cpu1: 1MB 64b/line 4-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiec0 at acpi0
acpihpet0 at acpi0: 14318179 Hz
acpi0: unable to load \\_SB_.PCI0._INI.USBT
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (P0P2)
acpiprt3 at acpi0: bus 2 (P0P3)
acpiprt4 at acpi0: bus 3 (P0P4)
acpiprt5 at acpi0: bus 5 (P0P7)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpitz0 at acpi0: critical temperature is 110 degC
acpiac0 at acpi0: AC unit in unknown state
acpibat0 at acpi0: BAT0 not present
acpiasus at acpi0 not configured
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
cpu0: Enhanced SpeedStep 3220 MHz: speeds: 2300, 1600, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16
drm0 at inteldrm0
Intel GM45 Video rev 0x09 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2 int 16
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2 int 17
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2 int 19
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 int 18
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: msi
azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: msi
pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 Atheros AR2427 rev 0x01: apic 2 int 17
athn0: AR9285 rev 2 (1T1R), ROM rev 13, address 48:5d:60:a2:e0:6a
ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: msi
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x03: msi
pci4 at ppb3 bus 5
re0 at pci4 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D (0x2800), 
apic 2 int 17, address e0:69:95:a1:cb:1b
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2 int 23
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 2 int 19
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 2 int 18
ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 2 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x93
pci5 at ppb4 bus 6
pcib0 at pci0 dev 31 

Re: Calomel.org

2012-07-26 Thread Daniel Bolgheroni
On Thu, Jul 26, 2012 at 07:47:46AM +0200, Joakim Dellrud wrote:
 
 Perhaps a resource of howtos/FAQ can be created since OpenBSD does not
 change to much between releases? Or is that not interesting either?

Maybe you should, _at least_, read the www page, _at least_ to know that
a FAQ already exists.



Re: Unresponsive -current + rtorrent

2012-07-12 Thread Daniel Bolgheroni
On Fri, Jun 15, 2012 at 11:21:06AM +0200, David Coppa wrote:
 
 Can you check if the old 0.12.9/0.8.9 exposes the same symptoms on
 recent -current?

Sorry, but really missed this.

 I'm thinking about backing out the update to 0.13.2/0.9.2...

This solves the problem for amd64.
Thank you.



Re: Lemote Fuloong

2012-07-05 Thread Daniel Bolgheroni
On Thu, Jul 05, 2012 at 12:12:43PM +, Code Blue wrote:
 
 |library c.64.1 not found
 | /usr/lib/libc.so.65.0 (system): bad major

Your mirror is probably not so current. Try using another mirror.



Re: Kernel Panic (?)(!)

2012-07-05 Thread Daniel Bolgheroni
On Thu, Jul 05, 2012 at 03:28:06PM +0200, rustyBSD wrote:
 Question: should I report a bug ?

Are you sure your disk is fine?



Re: Kernel Panic (?)(!)

2012-07-05 Thread Daniel Bolgheroni
On Thu, Jul 05, 2012 at 04:33:37PM +0200, rustyBSD wrote:
 
 Fine ? How could I know ? I get operation not supported by device when
 trying to read smart infos with smartctl.
 In all cases, even if my disk is destroyed, OpenBSD shouldn't crash,
 because the disk in question is not the disk on which OpenBSD is installed.

And how can anyone know this if you didn't tell at first?



Re: Unresponsive -current + rtorrent

2012-06-01 Thread Daniel Bolgheroni
On Fri, Jun 01, 2012 at 09:53:37AM +0200, David Coppa wrote:
 
 Yes, this is something I've also noticed.
 No, I don't know how to patch it up.
 In other words, please be my guest and help me in trying to debug this
 problem...

OK, will try to make some tests this weekend.

Thank you.



Unresponsive -current + rtorrent

2012-05-31 Thread Daniel Bolgheroni
Hi misc@,

Running the latest snapshot, there are some issues I'm facing when I run
rtorrent + ~5 downloads.

The system becomes VERY unresponsive, varying between 5 seconds of activity
and 10 seconds locked.

Before this, had 2 complete locks, and did a cold reboot. No serial to
try something, nor a second computer atm either.

Running top, I see that sometimes CPU for rtorrent goes to more than
200%. Running systat, the interrupts maintain its pace, but at the
boundaries of the 10 sec locks,  I can see 'ipi' going to something around
100 (1 million).

Didn't find what ipi means. A 'man -k' gives me ipic.

Thoughts?
Thank you.

OpenBSD 5.1-current (GENERIC.MP) #302: Fri May 25 19:24:55 MDT 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2110390272 (2012MB)
avail mem = 2031915008 (1937MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xfc480 (33 entries)
bios0: vendor American Megatrends Inc. version 200.T02 date 10/26/2010
bios0: POSITIVO POSITIVO MOBILE
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SLIC ECDT DBGP BOOT OEMB HPET GSCI ATKG SSDT
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB5(S3) EUSB(S3) USB3(S3) 
USB4(S3) USB6(S3) USBE(S3) HDAC(S3) P0P1(S4) P0P2(S3) P0P3(S3) WLAN(S3) 
P0P4(S3) P0P7(S4) GLAN(S4) P0P8(S3) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz, 2300.43 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,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG,LAHF
cpu0: 1MB 64b/line 4-way L2 cache
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Pentium(R) Dual-Core CPU T4500 @ 2.30GHz, 2300.08 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,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG,LAHF
cpu1: 1MB 64b/line 4-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiec0 at acpi0
acpihpet0 at acpi0: 14318179 Hz
uvm_km_kmem_grow: grown to 0x8001
acpi0: unable to load \\_SB_.PCI0._INI.USBT
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (P0P2)
acpiprt3 at acpi0: bus 2 (P0P3)
acpiprt4 at acpi0: bus 3 (P0P4)
acpiprt5 at acpi0: bus 5 (P0P7)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpitz0 at acpi0acpitz0: THRM: failed to read _CRT
: no critical temperature defined
acpiac0 at acpi0: AC unit in unknown state
acpibat0 at acpi0: BAT0 not present
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: LCDD
acpivideo1 at acpi0: VGA_
cpu0: Enhanced SpeedStep 2300 MHz: speeds: 2300, 1600, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16
drm0 at inteldrm0
Intel GM45 Video rev 0x09 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2 int 16
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2 int 17
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2 int 19
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 int 18
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: msi
azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: msi
pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 Atheros AR2427 rev 0x01: apic 2 int 17
athn0: AR9285 rev 2 (1T1R), ROM rev 13, address 48:5d:60:a2:e0:6a
ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: msi
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x03: msi
pci4 at ppb3 bus 5
re0 at pci4 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D (0x2800), 
apic 2 int 17, address e0:69:95:a1:cb:1b
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2 int 23
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 2 int 19
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 2 int 18
ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 2 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb4 at pci0 

Re: Unresponsive -current + rtorrent

2012-05-31 Thread Daniel Bolgheroni
On Fri, Jun 01, 2012 at 01:15:19PM +1000, Brett wrote:

 I don't have a solution, except to only run the amount of torrents your 
 machine can handle (5 or 6 is ok for my computer). Since rtorrent is normally 
 very lightweight it should be able to cope with a lot more than it currently 
 can.

There is a kryptonite. If I run audio/cplay also (sndio?), the system
completely freezes.

 PS this thread should probably have been on ports@. 

Maybe, but because it probably exposes something that is system related,
I thought it could be posted here.

Thank you.



Re: 4.4 m68k packages?

2012-05-11 Thread Daniel Bolgheroni
On Fri, May 11, 2012 at 07:27:00AM -0400, Nick Holland wrote:

 So...build what you want!  It's part of the fun!

Last time I used one took 3 days to compile wget.



Re: OT: SSH not secure?

2012-05-10 Thread Daniel Bolgheroni
On Wed, May 09, 2012 at 02:35:42PM -0300, Christiano F. Haesbaert wrote:
 
 That's because you need to buy AutoBucket.

Made my day.



Re: s/nfs_server/nfsd_flags/

2012-03-15 Thread Daniel Bolgheroni
On Thu, Mar 15, 2012 at 10:10:54AM +0001, Jason McIntyre wrote:
 
 i don;t think anyone poking their nose in /etc/rc.conf will think they
 are looking at four sections.

BTW, this is another point I was going to make. I tried very hard to
distinguish between these four sections as it is now, but I couldn't.



daemons call order in /etc/rc

2012-03-15 Thread Daniel Bolgheroni
Hi,

any reason why

  [ -f /etc/rc.local ]  . /etc/rc.local

is not called between

  echo -n 'starting local daemons:'

and

  echo '.'

in /etc/rc?

Suppose I want to init rsync at startup. As I don't have any /etc/rc.d/
script, and I follow 'Starting up local daemons and configuration' in
10.3 section of the FAQ, I end up with this at startup:

 rsyncstarting local daemons: cron.

Applying this patch, I end up with:

starting local daemons: cron rsync.

Thoughts?
Thank you.

Index: rc
===
RCS file: /cvs/src/etc/rc,v
retrieving revision 1.399
diff -u -r1.399 rc
--- rc  10 Mar 2012 10:37:13 -  1.399
+++ rc  15 Mar 2012 12:22:50 -
@@ -529,13 +529,12 @@
echo '.'
 fi
 
-[ -f /etc/rc.local ]  . /etc/rc.local
-
 ifconfig -g carp -carpdemote 128   # disable carp interlock
 
 mixerctl_conf
 echo -n 'starting local daemons:'
 start_daemon apmd sensorsd hotplugd watchdogd cron wsmoused xdm
+[ -f /etc/rc.local ]  . /etc/rc.local
 echo '.'
 
 date


-- 
Daniel Bolgheroni dan...@devio.us
http://devio.us/~dbolgheroni

ASCII ribbon campaign ( )
against HTML e-mailX
  / \
(and no top-post also, please)



s/nfs_server/nfsd_flags/

2012-03-13 Thread Daniel Bolgheroni
Hi,

according to rc.conf v1.149, nfs_server was removed and left just as
backward compatibility.

However, manpage for rc.conf still refers to nfs_server as an example
for the second section. FAQ section 6.7 also uses nfs_server instead of
the newer nfsd_flags.

Cheers,



Unknown error: code 60 installing OpenBSD/macppc in iMac G3

2012-03-11 Thread Daniel Bolgheroni
Hi misc@,

tired of using these crap CD-ROM units, I've decided to give it a try
booting from a TFTP server, to install OpenBSD/macppc on one of the
iMacs I have here.

I configured tftpd running on a OpenBSD/amd64 machine according to
section 6.10 of the FAQ, with the needed files.

So, here is what I have:

0  boot enet:,ofwboot /bsd.rd
CLIENT: 000a27d6afae 192.168.1.32
SERVER: 001b242e5ce6 192.168.1.7
Transfer FILE ofwboot \
TFTP-actual=fe88 TFTP-adler32=2e938515 load-size=fe88 adler32=2e938515

Loading ELF
 OpenBSD/macppc BOOT 1.2
open(/pci@f400/ethernet:/etc/boot.conf): Unknown error: code 60
boot

After this, the same error repeats trying /bsd.rd, /bsd, etc.

Anyone has any clues on this? I really don't want to ever touch an
optical driver again.

Thank you.



Re: My OpenBSD 5.0 installation experience (long rant)

2012-03-07 Thread Daniel Bolgheroni
On Wed, Mar 07, 2012 at 02:49:01PM +0100, Leonardo Sabino dos Santos wrote:
 Sorry about the tone earlier, but I'm still incredulous that the
 install program would do something as serious as overwriting the
 partition table by default without confirmation.

An installation of an unknown OS, with no backups, answering questions
without reading it, complaining on the mailing list...

Smart move, buddy.



Re: I want buy labtop ,work OpenBSD, wireless network must work

2011-12-30 Thread Daniel Bolgheroni
On Fri, Dec 30, 2011 at 12:36:11PM +0330, Mostaf Faridi wrote:
 Thanks all guys .
 Sorry for my bad English , I must use laptop , but I used labtop .
 For me model is very important ,for example I want know which model of
 Lenovo work good with OpenBSD . For example I want know Lenovo ThinkPad
 7000t work good or no
 On Dec 30, 2011 12:28 PM, Vitali coonar...@gmail.com wrote:

Most distributors have only 1 bit to deal with this info:

- wifi
- no wifi

In such places, asking just for the brand is ask to much
already. Depending on where you live, you'll have to figure it out
yourself.

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



Re: Proper way to update system + ports?

2011-12-20 Thread Daniel Bolgheroni
On Tue, Dec 20, 2011 at 06:43:37AM -0800, James Hozier wrote:
 
 I guess it is sort of ironic that trying to build Firefox from
 -stable was broken, but in -current it worked fine.
 
 As far as keeping up with -current goes, would it be bad netiquette
 to update my system every 12 hours just to keep up with the changes?
 Or is that being a resource hog?

Very little change in -stable. You're wasting your time.

I don't know if you noted that there is a commit on why your port broke.

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



Re: kernel panic (mii_phy_setmedia) on mac mini A1347 with trace and ps picture url

2011-12-19 Thread Daniel Bolgheroni
On Mon, Dec 19, 2011 at 04:10:16PM +0400, Wesley M. wrote:
 
 Here is the ps message : http://i43.tinypic.com/mkufyo.jpg
 Here is the
 trace message : http://i40.tinypic.com/25syfxf.jpg 

Have you tried to disable whatever it is on boot?

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



Re: Upgrading AMD64 4.9-stable to 5.0

2011-12-19 Thread Daniel Bolgheroni
On Mon, Dec 19, 2011 at 01:02:59PM -0500, Richard Thornton wrote:
 it appears
 that the packages in 4.9 are not always upgradeable to those in 5.0 and
 most packages in 5.0 fail to install due to library dependencies.

What?

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



Re: RAM seen vs. RAM available HP ML 570 G2

2011-12-07 Thread Daniel Bolgheroni
On Wed, Dec 07, 2011 at 04:05:07PM +0100, Nomen Nescio wrote:
  Yes, exactly. OpenBSD supports 4GB RAM only on 64-bit architectures.
 
 Isn't that a limitation of Intel x32 rather than an OpenBSD limitation?

Modern x86 processors support PAE (Physical Address Extension) in which
a 32-bit processor can address more than 32-bit physical addresses. But
not without the OS supporting it.

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



Re: RAM seen vs. RAM available HP ML 570 G2

2011-12-07 Thread Daniel Bolgheroni
On Wed, Dec 07, 2011 at 04:25:15PM +, Kevin Chadwick wrote:
 On Wed, 7 Dec 2011 13:45:56 -0200
 Daniel Bolgheroni wrote:
 
  Modern x86 processors support PAE (Physical Address Extension) in which
  a 32-bit processor can address more than 32-bit physical addresses. But
  not without the OS supporting it.
 
 Wouldn't that make ROP attacks more difficult too? Though I guess the
 effort would be a waste of time when you can move to 64bit anyway.

I don't think so. The PAE-aware kernel will manage/map this extra
physical addresses, but as noted above, processes still only see 4 GB.

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



Re: Narcicism?

2011-12-02 Thread Daniel Bolgheroni
On Fri, Dec 02, 2011 at 02:25:06AM +1100, John Tate wrote:

 I'm 24 years old. I was a Linux hacker since I was 13. I am a bit of a guru
 and do my own Kerberos and such on an all BSD/Linux network. OpenBSD and
 Debian Linux. I love OpenBSD, I'm a bit weird because I use bash. I can put
 up with being made fun of. At 13 I didn't just start learning Linux I
 started learning C++ as well. I failed to apprehend it properly at that
 age, but at an older age I relearned it well. I am the guru sort of guy, I
 know a hell of a lot but I'm still connecting it and in that sense still
 learning.

I feel strange everytime someone says they love OpenBSD.

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



Problems with bge0: watchdog timeout -- resetting

2010-01-05 Thread Daniel Bolgheroni
 -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



locking at mtrr w/ bsd.mp

2010-01-04 Thread Daniel Bolgheroni
 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uvideo0 at uhub0 port 3 configuration 1 interface 0 Image Processor Lenovo 
EasyCamera rev 2.00/28.67 addr 2
video0 at uvideo0
umass0 at uhub0 port 5 configuration 1 interface 0 Generic USB2.0-CRW rev 
2.00/58.87 addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0 0/direct 
removable
sd0: drive offline
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
uhidev0 at uhub1 port 2 configuration 1 interface 0 PIXART USB OPTICAL MOUSE 
rev 1.10/1.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Problems with bge0: watchdog timeout-- resetting

2010-01-04 Thread Daniel Bolgheroni
=50 
46=50 47=50 48=1c 49=50 4a=1c 4b=50 4c=50 4d=50 4e=1c 4f=50 ee=10 words 00=4d80 
01=3000 02=4b00 03=5000 04=5000 05=5000 06=5000 07=5000
spdmem0 at iic0 addr 0x51: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uvideo0 at uhub0 port 3 configuration 1 interface 0 Image Processor Lenovo 
EasyCamera rev 2.00/28.67 addr 2
video0 at uvideo0
umass0 at uhub0 port 5 configuration 1 interface 0 Generic USB2.0-CRW rev 
2.00/58.87 addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0 0/direct 
removable
sd0: drive offline
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
uhidev0 at uhub1 port 2 configuration 1 interface 0 PIXART USB OPTICAL MOUSE 
rev 1.10/1.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting
bge0: watchdog timeout -- resetting

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: tmux as an educational facilitator

2009-11-05 Thread Daniel Bolgheroni
On Thu, 5 Nov 2009, frantisek holop wrote:

 as an old time screen user i was perplexed to see that when i
 attached to an already attached tmux session, both clients were
 updated real time and accepted input as well.  the ascii art with
 the differing terminal window sizes is also a breakthrough idea.

$ screen -x

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: thanks for 4.6!

2009-10-22 Thread Daniel Bolgheroni
On Wed, 21 Oct 2009, Brad Tilley wrote:

 On Wed, Oct 21, 2009 at 1:45 PM, John Cosimano j...@cosmicnetworks.net 
 wrote:
 
 One thing that screen got right is the A key. It's a lot closer to
 Ctrl than B. So far, key proximity has been my only annoyance. I'm
 guessing that can be customized.

I resisted to C-b until now, but finally changed to C-a. Yes, it's 
easier.

Cheers,

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: thanks for 4.6!

2009-10-21 Thread Daniel Bolgheroni
On Wed, 21 Oct 2009, John Cosimano wrote:

 received my pre-order about the same time as others.
 
 just upgraded 3 machines (from 4.5) in less than 90 minutes. my machines
 aren't super-customized, so sysmerge(8) works like a dream for me. i
 de-installed screen(1) and will start using tmux(1), as it's in base.
 thanks for the effort of doing that---screen was always among the very
 first packages i installed on a virgin system.

tmux just rocks. I missed it A LOT in machines with 4.5 or earlier.

Cheers,

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Error on usb(4) man page

2009-09-25 Thread Daniel Bolgheroni
Hi,

On DESCRIPTION:

(...) The controller attaches to a physical bus (like pci(4) or 
cardbus(4)). The USB bus attaches to the controller and the root hub 
attaches to the controller.

The root hub attachs to the USB bus, not to the controller.

Teers,

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: procfs in OpenBSD

2009-09-21 Thread Daniel Bolgheroni
On Sat, 19 Sep 2009, Sergio Andr?s G?mez del Real wrote:

 Hi.
 
 I failed googling about this topic. Any help please? :D :D :D :D

This?

# mount -t procfs /proc /proc

Teers,

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: Defending OpenBSD Performance

2009-09-16 Thread Daniel Bolgheroni
On Wed, 16 Sep 2009, Bret S. Lambert wrote:

 I think you're missing the point; marco was talking about the dumbing down of
 what's considered acceptible for being called a professional; in this case,
 mostly the fact that once you start presenting system administration as a
 series of buttons to push, you get button-pushing monkeys, not people who
 solve problems.

Just reminds me a quote:

Programming today is a race between software engineers striving to 
build bigger and better idiot-proof programs, and the universe trying to 
produce bigger and better idiots.  So far, the universe is winning. 
~Author Unknown

Teers,

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: Supporting OpenBSD

2009-09-15 Thread Daniel Bolgheroni
On Tue, 15 Sep 2009, Aaron Mason wrote:

 Perhaps you could make a donation and download the files?  You get
 what you desire and you support the project.  It wouldn't be as
 complete as the CDs, but you still get to contribute without paying
 huge taxes.

Yes, that's the point.

Teers,

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: Supporting OpenBSD

2009-09-10 Thread Daniel Bolgheroni
On Tue, 8 Sep 2009, Nick Holland wrote:

 Thanks to those that contribute money and buy CDs.

I would like to buy CDs, but in Brazil these kind of products have a 
high tax fee applied when they hit the harbour. For a $50 CD, I'll 
probably pay almost $almost $70 to someone I don't want to contribute. 
This doesn't include the shipment cost (~$30 I suspect).

I don't have a Paypal account (yet). If it's worth to trust him, I don't 
know, but I much prefer to donate $50 (although they will deduct 3.9% in 
my case, but at least OpenBSD doesn't have the CD cost) than to pay 
almost the triple to government, shipment, etc. Don't care if I don't 
get the CDs.

Is it possible to OpenBSD to make profit for the project selling books 
or manuals? I don't know the costs or if it's worth (like CDs are better 
for the project than T-shirts, mugs, etc.). It's tax free here, and I 
think: if it's free here, maybe it's somewhere else.

Teers,

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Relevant article

2009-09-10 Thread Daniel Bolgheroni
Hi,

since Nick Holland touched on the DESIGN aspect in his e-mail regarding 
supporting OpenBSD, I think this article pretty much reflects the 
reality here.

http://www.osnews.com/story/22135/The_Problem_with_Design_and_Implementation

Just think it's worth reading.

Teers,

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: Accessing lan from internet

2009-09-02 Thread Daniel Bolgheroni
On Wed, 2 Sep 2009, halcon wrote:

 Hello
 
 I am administering a small linux/windows lan from my laptop/OpenBSD-4.5
 base, without any problem, using # ssh u...@192.168.0.xxx; how could i
 accesss the lan from internet?
 
 u...@hostname? u...@external ip?
 
 I have read many docs without success, thanks in advance.
 
 francisco 

Are you using these cheap routers available everywhere?

Port forwarding, forwarding, virtual server, etc.

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



tmux status bar

2009-08-27 Thread Daniel Bolgheroni
Hi misc@,

just noticed the status bar of tmux gone with the latest snapshot. I 
didn't followed the cvs entries for a couple of days. Is this a normal 
behaviour? My .tmux.conf is below:

--.tmux.conf--
set-option -g status-bg default
set-option -g status-fg black
set-option -g message-bg yellow
set-option -g message-fg black
set-option -g history-limit 32768

set-window-option -g main-pane-width 80
--

Any hints? Thank you.

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: tmux status bar

2009-08-27 Thread Daniel Bolgheroni
On Thu, 27 Aug 2009, Han Boetes wrote:

 Daniel Bolgheroni wrote:
  just noticed the status bar of tmux gone with the latest
  snapshot. I didn't followed the cvs entries for a couple of
  days. Is this a normal behaviour?
 
 Works fine here. Are you sure you ran make depend all or make
 clean all? Otherwises changes in tmux.h won't propagate in
 rebuilding all objects and you get funny behaviour.

I've installed from snapshots.

Thank you.

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: tmux status bar

2009-08-27 Thread Daniel Bolgheroni
On Thu, 27 Aug 2009, Nicholas Marriott wrote:

 This is probably because the behaviour changed a while ago so reverse is no
 longer in the default status-attr and message-attr, so this now sets the
 colours to black on black.
 
 Change these it should be fine (I guess you want green on black?).

Actually did it, but forgot to restart the server. Working fine now. 

Thank you.

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: Wireless USB Adaptor

2009-08-26 Thread Daniel Bolgheroni
On Tue, 25 Aug 2009, Brad Tilley wrote:

  Maybe it's worth to see this presentation:
 
  http://www.openbsd.org/papers/brhard2007/
 
 I definitely agree with OpenBSD's uncompromising stance on this. I'll
 take quality code from sensible devs over binary blobs any day. I
 admire folks who stand-up for what is right. That's one reason I
 choose OpenBSD over other free operating systems.
 
 At the same time, I unfortunately have to help Joe User. Occasionally
 I'm being paid to help Joe User. So I have to suffer fools when that
 is the case ;) and I'm a nice guy who likes to accommodate, but
 attempt to educate at the same time. RTFM does not work on most Joe
 Users and they often go away from that sort of conversation thinking
 OpenBSD is for jerks (although it is not) and I do not wish to add to
 that misconception. So, I was hoping to come-up with some informal
 rules to help bridge the gap between us and them.
 
 Thanks for all the advice. I'll keep suffering fools for now.

Seriously, I think it'll make your life a lot easier if you instruct the 
Joe User to buy hardware 100% supported by OpenBSD than to trying to 
support these black boxes sold anywhere.

OpenBSD for a long time was doing a HUGE job trying to convince 
manufacturers how bad is for everyone to have hardware with closed 
documentation. Don't support them.

Teers,

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: calendar typo?

2009-08-25 Thread Daniel Bolgheroni
On Tue, 25 Aug 2009, Igor Sobrado wrote:

 On Tue, Aug 25, 2009 at 11:16 AM, frantisek holopmin...@obiit.org wrote:
  hi there,
 
  Aug 25  Constitution Day in Paragual
 
  shouldn't that be Paraguai?
 
 Indeed, it is a typo.  However, is it not a much more usual spelling
 Paraguay?

Right, in english is Paraguay.

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: Wireless USB Adaptor

2009-08-25 Thread Daniel Bolgheroni
On Tue, 25 Aug 2009, Brad Tilley wrote:

 Hey guys,
 
 I'm looking for some generic advice to give folks who cannot or
 willnot verify what chipset a wireless usb adapter is using before
 purchase. What do you guys say to people who do not want to use
 apropos wireless or man ath, but at the same time want to just walk
 into Walmart (or where ever) and purchase a wireless USB adapter so
 their OpenBSD Laptop can do 802.11? Are there some percentage rules we
 can provide? Such as ... 80% of Linksys and 70% of Dlink stuff works.
 Don't touch XYZ adapters... Again, keeping it simple and in layman
 terms. Any suggestion outside of RTFM ;) is much appreciated.

Maybe it's worth to see this presentation:

http://www.openbsd.org/papers/brhard2007/

Teers,

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: cvs rdiff error

2009-08-13 Thread Daniel Bolgheroni
On Thu, 6 Aug 2009, patrick keshishian wrote:

 On Thu, Aug 6, 2009 at 2:57 PM, Daniel Bolgheronim...@dbolgheroni.eng.br 
 wrote:
  On Thu, 6 Aug 2009, Stuart Henderson wrote:
 
  On 2009-08-06, Daniel Bolgheroni m...@dbolgheroni.eng.br wrote:
   I'm trying to use cvs rdiff command in some files but I'm getting error:
 
  Try another mirror, anoncvs3.usa runs OpenCVS which doesn't support all
  features yet.
 
  $ cvs -danon...@anoncvs3.usa.openbsd.org:/cvs version
  Client: Concurrent Versions System (CVS) 1.11.1p1 (client/server)
  Server: OpenCVS 4.5
 
  Yes, it works with others servers. However, I'm getting another error.
 
  For example:
 
  $ pwd
  /usr/src/sys/arch/hppa/hppa
  $ cvs -danon...@rt.fm:/cvs rdiff -u -t pmap.c
  cvs server: cannot find module `pmap.c' - ignored
  $ cvs -danon...@rt.fm:/cvs rdiff -r1.138 -r1.137 pmap.c
  cvs server: cannot find module `pmap.c' - ignored
  $
 
  It only fails with the rdiff command. Works fine with others I use most,
  like log, diff, etc.
 
  Any hints again?
 
 from cvs(1):
rdiff  Prepare  a  collection  of  diffs  as  a patch file
   between two releases in the repository.
 ...
rdiff [-flags] [-V vn] [-r t|-D d [-r t2|-D d2]]
modules...
 vs.
diff  [-kl] [rcsdiff_options] [[-r rev1 | -D date1] [-r
rev2 | -D date2]] [files...]

Yes, you're right. But when:

$ cvs rdiff -c -u -t sys/arch/i386/i386/pmap.c

This works. But most of the times, it fails with:

$ cvs rdiff -c -u -t sys/arch/i386/i386/pmap.c
ssh_exchange_identification: read: Connection reset by peer
cvs [rdiff aborted]: end of file from server (consult above messages if 
any)
$

Don't know why. Anyway, thank you for helping.

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: cvs rdiff error

2009-08-06 Thread Daniel Bolgheroni
On Thu, 6 Aug 2009, Stuart Henderson wrote:

 On 2009-08-06, Daniel Bolgheroni m...@dbolgheroni.eng.br wrote:
  I'm trying to use cvs rdiff command in some files but I'm getting error:
 
 Try another mirror, anoncvs3.usa runs OpenCVS which doesn't support all
 features yet.
 
 $ cvs -danon...@anoncvs3.usa.openbsd.org:/cvs version
 Client: Concurrent Versions System (CVS) 1.11.1p1 (client/server)
 Server: OpenCVS 4.5

Yes, it works with others servers. However, I'm getting another error.

For example:

$ pwd
/usr/src/sys/arch/hppa/hppa
$ cvs -danon...@rt.fm:/cvs rdiff -u -t pmap.c
cvs server: cannot find module `pmap.c' - ignored
$ cvs -danon...@rt.fm:/cvs rdiff -r1.138 -r1.137 pmap.c
cvs server: cannot find module `pmap.c' - ignored
$

It only fails with the rdiff command. Works fine with others I use most, 
like log, diff, etc.

Any hints again?

Thank you.

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: boot disk ???

2009-08-05 Thread Daniel Bolgheroni
On Wed, 5 Aug 2009, PJ wrote:

 It's not I who is having problems. I think it's OpenBSD.

I think you're not trying to help yourself.

Even you beeing ironic in your first message, people are trying to help.

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



cvs rdiff error

2009-08-04 Thread Daniel Bolgheroni
Hi,

I'm trying to use cvs rdiff command in some files but I'm getting error:

As an example:

$ pwd
/usr/src/sys/arch/hppa/hppa
$ sudo cvs -danon...@anoncvs3.usa.openbsd.org:/cvs rdiff -u -t intr.c
cvs [server aborted]: cvs_server_rdiff: Bad address
cvs [rdiff aborted]: end of file from server (consult above messages if 
any)

My ~/.ssh/config is configured as explained in FAQ:

Host anoncvs3.usa.openbsd.org
  Compression no
  Port 2022

This server supports connection on port 2022. Also tried different 
servers. No firewalls.

Any hints?

Thank you.

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: Colors and layout behaviour in tmux

2009-07-27 Thread Daniel Bolgheroni
On Fri, 24 Jul 2009, Nicholas Marriott wrote:

 Hi
 
  I'm trying to get colors right in tmux and just updated to the latest 
  snapshot to see if I get it running.
  
  Ways I'm trying to initialize tmux:
  
  $ TERM=screen tmux
  $ TERM=screen tmux -2
  $ TERM=screen tmux -8
  $ TERM=screen tmux -d
 
 Unless you are running tmux inside screen, you should not use TERM=screen
 outside.
 
 You should have TERM=screen /inside/ tmux. tmux will set that itself but you
 should be careful not to change it in shell startup files.

Probably I missed this. What's the recommended TERM entry to use with 
tmux? Now I am running with

$ TERM=color_xterm tmux -2

  Actually this problem appears specifically when running alpine. When in 
  tmux, I can just see one or one or two colors. No problem in mc. Is this e
 
 By default, it appears alpine has colours disabled. Can you go to the colour
 menu (S then K), and make sure the color style is set to use-termdef?

Actually, I didn't realize this. As I said above, I'm running with the 
-2 parameter. I was using the force-ansi-16color (not use-termdef) with 
screen, but changed to force-xterm-256color. Working fine now.
 
  Speaking of layouts, it seems that some commands which work inside tmux 
  can't be used in ~/.tmux.conf:
  
  I'm trying this in ~/.tmux.conf:
  
  select-layout main-vertical
  
  I get this:
  
  /home/dbolgheroni/.tmux.conf: can't establish current session at line 3
 
 You are trying to set the layout before any sessions have been created, see
 below.
 
  No problem if I comment this line.
  
  If I use something like new-window in conf file, tmux doesn't get 
  started, nor an error message shows up.
 
 This is probably due to a bug I have fixed earlier today (cmd.c r1.9).
 
 Even with this fix, you will not be able to use new-window/select-layout in 
 the
 configuration file without creating a session first.

 The usual way to create initial windows in the configuration file is to have
 something like:
 
 # create new session with emacs in window 0
 new emacs
 # create some more windows
 neww top
 neww
 # split the previous window and set its layout
 splitw
 splitw
 selectl even-vertical
 
 Then start the tmux server with tmux attach (or tmux start).
 
 If you start it with tmux new, tmux will load the configuration file -
 creating the session and windows with the commands in it - then create the
 second new session requested by the new command on the command line. I'd 
 like
 to make this a bit more obvious but so far I haven't thought of a good
 solution.

Will try with the latest snapshot.
 
  Also, when in tmux, I can't have the behaviour expected by main-vertical 
  unless I already splitted window. Is this normal?
 
 I don't understand what you mean. None of the layouts can do anything unless
 you have multiple panes already. If you want to force a window to take up only
 part of the full terminal size, you can use the force-width and force-height
 options.

I was expecting that _if I split_, it will act as main-vertical. Yes, 
I'm using force-width option.

Thank you.

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Colors and layout behaviour in tmux

2009-07-24 Thread Daniel Bolgheroni
Hi misc@,

I'm trying to get colors right in tmux and just updated to the latest 
snapshot to see if I get it running.

Ways I'm trying to initialize tmux:

$ TERM=screen tmux
$ TERM=screen tmux -2
$ TERM=screen tmux -8
$ TERM=screen tmux -d

Actually this problem appears specifically when running alpine. When in 
tmux, I can just see one or one or two colors. No problem in mc. Is this 
related to the application itself? No problems running in screen, 
though.

Speaking of layouts, it seems that some commands which work inside tmux 
can't be used in ~/.tmux.conf:

I'm trying this in ~/.tmux.conf:

select-layout main-vertical

I get this:

/home/dbolgheroni/.tmux.conf: can't establish current session at line 3

No problem if I comment this line.

If I use something like new-window in conf file, tmux doesn't get 
started, nor an error message shows up.

Also, when in tmux, I can't have the behaviour expected by main-vertical 
unless I already splitted window. Is this normal?

Thank you.

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: what mean is M-Up key?

2009-07-19 Thread Daniel Bolgheroni
On Sun, 19 Jul 2009, jings...@teekoo.com wrote:

 M key means Meta key. It is normally the Alt key.
 
 On 07/20/09, John Wong wrote:
  Sorry, the question maybe ..
  I'm tmux/openbsd user, i read the man page, and see some key is like M-Up
  resize-pane -U 5.
  But what exactly should i type?
  
  I know C-b mean is Ctrl + b, but M-o ...
  what is M- key?
  Please help, thank you.

Or try Esc if Alt doesn't work.

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: About the OpenBSD repository

2009-06-23 Thread Daniel Bolgheroni
On Mon, 22 Jun 2009, Fernando Quintero wrote:

 Hello list,
 
 I have a question:
 
 I was reading about version control systems and i found a lot of the
 distributed software with best performance, but really i don't know much
 about it.
 There are some technicals or philosophicals reasons why the OpenBSD
 repository does not change to something other than CVS?

To FAQ:

1. Why we use cvs?
2. Why we don't WANT to use svn, git, etc.?
3. What I should not question in an OpenBSD mailing list?
4. What am I doing here?

--
Daniel Bolgheroni m...@dbolgheroni.eng.br
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \
mQGiBEjsKN8RBACIeANsMaUPV5vlbI0B1WGElqhLXdyR941fInJesLFUV+QlJ1Xi
qsmmCa2GTiz1SQm4g0N7FxOQeW42x9Iv0kg5vjwkZ7uC1LJDZlVvoThpnk007WYK
h19X+fbpQkK1kjWDd7TNiebDdvRcvVFJybSfGsqmrw/qufZ67HffLb9T2wCgx7ml
LjrFFlT3+18v6wy0T169DVsD/RU8fOfPwEK4Gc/BkfCB/JjHax2TYitMn9oNylYw
VdkuyFoaCEU2GmGP1/R1uT5U3TsKa0vIVBIiDTAOyZKhLgMejNyagKn4PuLcMyqo
CCV7uOPCuMsEFmXNDQekLhGpWlSD3vLoqr/mO0T867qZjIuQ9An58VLcX6LSdGtG
6yV7A/0fJ4fC2+RJWLmHPKb8sgNpjByt7NjaumAGVqPPtGu9M6indImBB0HB+S3O
7vM0pf6rzfE69D9zc0ySJJ3tCo/r4TdMrx/tx6wbz/7pyfsIRbsCG+87VxqInnEP
cg0zlN749NwBouPa2UTYMxXsJuv0OmX3W7EZ3vgL9lQ1BWzZn7QRRGFuaWVsIEJv
bGdoZXJvbmmIYAQTEQIAIAUCSOwo3wIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheA
AAoJEP423E9NZH/MPBMAmgNfL1njMlTBhhxiDdKsd6BLlcizAKCmVIP0jDarapBp
j7FUQgJ3npAvS7kBDQRI7CjfEAQAl6exFKqLkBCjr8s5XoadLpvSFE5faif5l6q6
HcfKP2FFtUfSj46cvCLVYzip78KJjxGkksS36rrrKfgHH7z+2Oem+G5drtvMWmeA
14tFvJGWHKL1WR5P1fe593aaw8CHmiQxSkENyVN+Q8FvqUoZ5tPtGqVzlPmflU5K
bcJphs8AAwUD/1CyyvbvMWNDPJLqZI1TiEkg3+2Kc67CFXhoS4DYCgObjnhA7GOO
BB0PXHPMhtwqIhCQA0+u2YOstreW1UT+zY3ynQbc7bnHmCdRzEmCRLSqe44+nWkY
QXD5tEOuMtAjJDQm7wQxRXA9EQouz4CLxz7uhEa5MJjoGdNkIqzDc/tCiEkEGBEC
AAkFAkjsKN8CGwwACgkQ/jbcT01kf8yHNQCfV+eHlKqAwdPfnM9IxGiKotVXeEYA
oKr5TGPxFG04Q3QnwX4+Acu78Svu
=mJV8
-END PGP PUBLIC KEY BLOCK-



Re: About the OpenBSD repository

2009-06-23 Thread Daniel Bolgheroni
On Tue, 23 Jun 2009, Ted Unangst wrote:

 On Wed, Jun 24, 2009 at 3:14 PM, Daniel Bolgheronim...@dbolgheroni.eng.br 
 wrote:

  3. What I should not question in an OpenBSD mailing list?
 
 The development process.  It's a good bet that the people who have
 been developing OpenBSD for 10 years know more about how it's
 developed than you do.

Don't take these as my questions. I read this mailing list time enough 
to know this.

--
Daniel Bolgheroni m...@dbolgheroni.eng.br
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \
mQGiBEjsKN8RBACIeANsMaUPV5vlbI0B1WGElqhLXdyR941fInJesLFUV+QlJ1Xi
qsmmCa2GTiz1SQm4g0N7FxOQeW42x9Iv0kg5vjwkZ7uC1LJDZlVvoThpnk007WYK
h19X+fbpQkK1kjWDd7TNiebDdvRcvVFJybSfGsqmrw/qufZ67HffLb9T2wCgx7ml
LjrFFlT3+18v6wy0T169DVsD/RU8fOfPwEK4Gc/BkfCB/JjHax2TYitMn9oNylYw
VdkuyFoaCEU2GmGP1/R1uT5U3TsKa0vIVBIiDTAOyZKhLgMejNyagKn4PuLcMyqo
CCV7uOPCuMsEFmXNDQekLhGpWlSD3vLoqr/mO0T867qZjIuQ9An58VLcX6LSdGtG
6yV7A/0fJ4fC2+RJWLmHPKb8sgNpjByt7NjaumAGVqPPtGu9M6indImBB0HB+S3O
7vM0pf6rzfE69D9zc0ySJJ3tCo/r4TdMrx/tx6wbz/7pyfsIRbsCG+87VxqInnEP
cg0zlN749NwBouPa2UTYMxXsJuv0OmX3W7EZ3vgL9lQ1BWzZn7QRRGFuaWVsIEJv
bGdoZXJvbmmIYAQTEQIAIAUCSOwo3wIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheA
AAoJEP423E9NZH/MPBMAmgNfL1njMlTBhhxiDdKsd6BLlcizAKCmVIP0jDarapBp
j7FUQgJ3npAvS7kBDQRI7CjfEAQAl6exFKqLkBCjr8s5XoadLpvSFE5faif5l6q6
HcfKP2FFtUfSj46cvCLVYzip78KJjxGkksS36rrrKfgHH7z+2Oem+G5drtvMWmeA
14tFvJGWHKL1WR5P1fe593aaw8CHmiQxSkENyVN+Q8FvqUoZ5tPtGqVzlPmflU5K
bcJphs8AAwUD/1CyyvbvMWNDPJLqZI1TiEkg3+2Kc67CFXhoS4DYCgObjnhA7GOO
BB0PXHPMhtwqIhCQA0+u2YOstreW1UT+zY3ynQbc7bnHmCdRzEmCRLSqe44+nWkY
QXD5tEOuMtAjJDQm7wQxRXA9EQouz4CLxz7uhEa5MJjoGdNkIqzDc/tCiEkEGBEC
AAkFAkjsKN8CGwwACgkQ/jbcT01kf8yHNQCfV+eHlKqAwdPfnM9IxGiKotVXeEYA
oKr5TGPxFG04Q3QnwX4+Acu78Svu
=mJV8
-END PGP PUBLIC KEY BLOCK-



Re: Open Vs Free BSD

2009-06-22 Thread Daniel Bolgheroni
On Fri, 19 Jun 2009, Holger Kipp wrote:

 On Fri, Jun 19, 2009 at 09:47:35AM +0100, Michal wrote:

 For the masses:
 
 - NetBSD: Run on any hardware (including toasters)
 - OpenBSD: Be as secure as possible
 - FreeBSD: provide best system for x86-platforms

It's a mistake to make this association.

OpenBSD people chose security as an argument to describe what the OS 
is. It's true and I believe it can attract more users, but on the other 
side, people seem to think OpenBSD is ONLY used when you need security, 
like a firewall, router, etc.

OpenBSD is a GENERIC OS which can be used to do _almost_ every task a 
computer system is able to.

Teers,

--
Daniel Bolgheroni m...@dbolgheroni.eng.br
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: Samsung HD License Issue

2009-05-04 Thread Daniel Bolgheroni
On Mon, 4 May 2009, David Vasek wrote:

 On Mon, 4 May 2009, Jochem Kossen wrote:
 
  It appeared more people were confused by the text, and both Microsoft
  and Samsung have explained that the terms mean, that if you use a
  different operating system than Windows with this drive, you need to
  get the appropriate license to use said different operating system.
 
 Possibly, but you need to get the mentioned license _from Microsoft_, as is
 written in the license: ...may require an additional license from Microsoft.
 
   Hybrid Disk Drive products are licensed for use only on devices that
   deploy the Windows VISTA Operating System as their principal operating
   System. If you or any other party install(s) an operating system on the
   computing device that is not Windows Vista, the use of this Hybrid Disk
   Drive may require an additional license from Microsoft. For further
   information, please contact Microsoft.
 
 It seems we are no longer buying hardware products, we are only buying
 permissions to use them - almost everything contains some form of firmware or
 microcode now. You never _own_ that code built-in in your hardware, you are
 only a licensee, thus you are bound by the license to use the firmware. Crazy,
 really crazy world! I hope that such licenses are illegal, illegal in every
 country.

Maybe it's saying that if you use the Hybrid feature of the hardware, 
you _may_ require an additional license, i.e. if you flash the 
non-volatile memory. Weird.

This is why I love laws, lawyers, etc. They just make these things 
possible.

--
Daniel Bolgheroni m...@dbolgheroni.eng.br
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \
mQGiBEjsKN8RBACIeANsMaUPV5vlbI0B1WGElqhLXdyR941fInJesLFUV+QlJ1Xi
qsmmCa2GTiz1SQm4g0N7FxOQeW42x9Iv0kg5vjwkZ7uC1LJDZlVvoThpnk007WYK
h19X+fbpQkK1kjWDd7TNiebDdvRcvVFJybSfGsqmrw/qufZ67HffLb9T2wCgx7ml
LjrFFlT3+18v6wy0T169DVsD/RU8fOfPwEK4Gc/BkfCB/JjHax2TYitMn9oNylYw
VdkuyFoaCEU2GmGP1/R1uT5U3TsKa0vIVBIiDTAOyZKhLgMejNyagKn4PuLcMyqo
CCV7uOPCuMsEFmXNDQekLhGpWlSD3vLoqr/mO0T867qZjIuQ9An58VLcX6LSdGtG
6yV7A/0fJ4fC2+RJWLmHPKb8sgNpjByt7NjaumAGVqPPtGu9M6indImBB0HB+S3O
7vM0pf6rzfE69D9zc0ySJJ3tCo/r4TdMrx/tx6wbz/7pyfsIRbsCG+87VxqInnEP
cg0zlN749NwBouPa2UTYMxXsJuv0OmX3W7EZ3vgL9lQ1BWzZn7QRRGFuaWVsIEJv
bGdoZXJvbmmIYAQTEQIAIAUCSOwo3wIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheA
AAoJEP423E9NZH/MPBMAmgNfL1njMlTBhhxiDdKsd6BLlcizAKCmVIP0jDarapBp
j7FUQgJ3npAvS7kBDQRI7CjfEAQAl6exFKqLkBCjr8s5XoadLpvSFE5faif5l6q6
HcfKP2FFtUfSj46cvCLVYzip78KJjxGkksS36rrrKfgHH7z+2Oem+G5drtvMWmeA
14tFvJGWHKL1WR5P1fe593aaw8CHmiQxSkENyVN+Q8FvqUoZ5tPtGqVzlPmflU5K
bcJphs8AAwUD/1CyyvbvMWNDPJLqZI1TiEkg3+2Kc67CFXhoS4DYCgObjnhA7GOO
BB0PXHPMhtwqIhCQA0+u2YOstreW1UT+zY3ynQbc7bnHmCdRzEmCRLSqe44+nWkY
QXD5tEOuMtAjJDQm7wQxRXA9EQouz4CLxz7uhEa5MJjoGdNkIqzDc/tCiEkEGBEC
AAkFAkjsKN8CGwwACgkQ/jbcT01kf8yHNQCfV+eHlKqAwdPfnM9IxGiKotVXeEYA
oKr5TGPxFG04Q3QnwX4+Acu78Svu
=mJV8
-END PGP PUBLIC KEY BLOCK-



Re: European orders

2009-03-31 Thread Daniel Bolgheroni
On Tue, 31 Mar 2009, Daniel Seuffert wrote:

 Theo de Raadt wrote:
 
 Mr. de Raadt,
 
 you are the guy that has accused Mr. Vandeputte in public. You are the guy
 that failed to put
 any evicence on the public table. Stop whining, show your evidence like Mr.
 Vandeputte has
 and is apparently preparing to show up in the very near future.
 
 I have respect for your contributions to Open Source, nothing more or less.
 
 Stop speculating if I have ever bought a t-shirt, a poster, a CD-set or
 anything else from
 Mr. Vandeputte or anybody else. That's none of your business.
 
 I don't care what you do for a living.  If it's not enough get a job and work
 like anybody else.

What's a real job to you?

Fun, often I see the people who claim they work hard is the same type 
of people who has a real job and spend a day seeing Youtube videos at 
work.

--
Daniel Bolgheroni m...@dbolgheroni.eng.br
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: European orders - Thank you Theo and your team, some of us appreciate you!

2009-03-31 Thread Daniel Bolgheroni
On Mon, 30 Mar 2009, Michael Grigoni wrote:

 A modular approach to an O/S would be welcome; say a major version every five
 years, with an a la carte menu of features, which are subject to versioning

 much like there is a 'version 3 MS-Windows', with known performance
 characteristics
 and resource requirements.

Five years in open source is far more than five years in closed source.

OpenBSD has a release every six months (as you should know). Not more, 
not less. Almost all open source projects do not have a _fixed_ release 
cycle, or even a release cycle at all, and this seems to be a tendency.

--
Daniel Bolgheroni m...@dbolgheroni.eng.br
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \
mQGiBEjsKN8RBACIeANsMaUPV5vlbI0B1WGElqhLXdyR941fInJesLFUV+QlJ1Xi
qsmmCa2GTiz1SQm4g0N7FxOQeW42x9Iv0kg5vjwkZ7uC1LJDZlVvoThpnk007WYK
h19X+fbpQkK1kjWDd7TNiebDdvRcvVFJybSfGsqmrw/qufZ67HffLb9T2wCgx7ml
LjrFFlT3+18v6wy0T169DVsD/RU8fOfPwEK4Gc/BkfCB/JjHax2TYitMn9oNylYw
VdkuyFoaCEU2GmGP1/R1uT5U3TsKa0vIVBIiDTAOyZKhLgMejNyagKn4PuLcMyqo
CCV7uOPCuMsEFmXNDQekLhGpWlSD3vLoqr/mO0T867qZjIuQ9An58VLcX6LSdGtG
6yV7A/0fJ4fC2+RJWLmHPKb8sgNpjByt7NjaumAGVqPPtGu9M6indImBB0HB+S3O
7vM0pf6rzfE69D9zc0ySJJ3tCo/r4TdMrx/tx6wbz/7pyfsIRbsCG+87VxqInnEP
cg0zlN749NwBouPa2UTYMxXsJuv0OmX3W7EZ3vgL9lQ1BWzZn7QRRGFuaWVsIEJv
bGdoZXJvbmmIYAQTEQIAIAUCSOwo3wIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheA
AAoJEP423E9NZH/MPBMAmgNfL1njMlTBhhxiDdKsd6BLlcizAKCmVIP0jDarapBp
j7FUQgJ3npAvS7kBDQRI7CjfEAQAl6exFKqLkBCjr8s5XoadLpvSFE5faif5l6q6
HcfKP2FFtUfSj46cvCLVYzip78KJjxGkksS36rrrKfgHH7z+2Oem+G5drtvMWmeA
14tFvJGWHKL1WR5P1fe593aaw8CHmiQxSkENyVN+Q8FvqUoZ5tPtGqVzlPmflU5K
bcJphs8AAwUD/1CyyvbvMWNDPJLqZI1TiEkg3+2Kc67CFXhoS4DYCgObjnhA7GOO
BB0PXHPMhtwqIhCQA0+u2YOstreW1UT+zY3ynQbc7bnHmCdRzEmCRLSqe44+nWkY
QXD5tEOuMtAjJDQm7wQxRXA9EQouz4CLxz7uhEa5MJjoGdNkIqzDc/tCiEkEGBEC
AAkFAkjsKN8CGwwACgkQ/jbcT01kf8yHNQCfV+eHlKqAwdPfnM9IxGiKotVXeEYA
oKr5TGPxFG04Q3QnwX4+Acu78Svu
=mJV8
-END PGP PUBLIC KEY BLOCK-



Re: mouse cursor is gone after running xorgconfig with nv driver

2009-03-12 Thread Daniel Bolgheroni
On Thu, 12 Mar 2009, Dave K wrote:

 On Tue, Mar 10, 2009 at 8:41 PM, microlaser microla...@gmail.com wrote:
  Hi, I am running openbsd 4.4 on an amd64 with the nv driver, with an
 nvidia
  gforce 6200.  I used xorgconfig to reconfigure x and now the mouse cursor
 is
  gone.  anyone have any idea how to get it back?  Thanks
 
 I've not had an OpenBSD system with an Nvidia hardware config, but I
 have had to put:
 
 OptionHWcursorFalse
 
 in the Device section of the Xorg config on certain Linux and
 Solaris systems using Nvidia 6150 hardware.

Yes, never looked up to the problem until now but it seems it's a bug in 
the Xorg 'nv' driver. There are several bug reports reporting the same 
problem, in various systems.

Teers,

--
Daniel Bolgheroni m...@dbolgheroni.eng.br
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \
mQGiBEjsKN8RBACIeANsMaUPV5vlbI0B1WGElqhLXdyR941fInJesLFUV+QlJ1Xi
qsmmCa2GTiz1SQm4g0N7FxOQeW42x9Iv0kg5vjwkZ7uC1LJDZlVvoThpnk007WYK
h19X+fbpQkK1kjWDd7TNiebDdvRcvVFJybSfGsqmrw/qufZ67HffLb9T2wCgx7ml
LjrFFlT3+18v6wy0T169DVsD/RU8fOfPwEK4Gc/BkfCB/JjHax2TYitMn9oNylYw
VdkuyFoaCEU2GmGP1/R1uT5U3TsKa0vIVBIiDTAOyZKhLgMejNyagKn4PuLcMyqo
CCV7uOPCuMsEFmXNDQekLhGpWlSD3vLoqr/mO0T867qZjIuQ9An58VLcX6LSdGtG
6yV7A/0fJ4fC2+RJWLmHPKb8sgNpjByt7NjaumAGVqPPtGu9M6indImBB0HB+S3O
7vM0pf6rzfE69D9zc0ySJJ3tCo/r4TdMrx/tx6wbz/7pyfsIRbsCG+87VxqInnEP
cg0zlN749NwBouPa2UTYMxXsJuv0OmX3W7EZ3vgL9lQ1BWzZn7QRRGFuaWVsIEJv
bGdoZXJvbmmIYAQTEQIAIAUCSOwo3wIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheA
AAoJEP423E9NZH/MPBMAmgNfL1njMlTBhhxiDdKsd6BLlcizAKCmVIP0jDarapBp
j7FUQgJ3npAvS7kBDQRI7CjfEAQAl6exFKqLkBCjr8s5XoadLpvSFE5faif5l6q6
HcfKP2FFtUfSj46cvCLVYzip78KJjxGkksS36rrrKfgHH7z+2Oem+G5drtvMWmeA
14tFvJGWHKL1WR5P1fe593aaw8CHmiQxSkENyVN+Q8FvqUoZ5tPtGqVzlPmflU5K
bcJphs8AAwUD/1CyyvbvMWNDPJLqZI1TiEkg3+2Kc67CFXhoS4DYCgObjnhA7GOO
BB0PXHPMhtwqIhCQA0+u2YOstreW1UT+zY3ynQbc7bnHmCdRzEmCRLSqe44+nWkY
QXD5tEOuMtAjJDQm7wQxRXA9EQouz4CLxz7uhEa5MJjoGdNkIqzDc/tCiEkEGBEC
AAkFAkjsKN8CGwwACgkQ/jbcT01kf8yHNQCfV+eHlKqAwdPfnM9IxGiKotVXeEYA
oKr5TGPxFG04Q3QnwX4+Acu78Svu
=mJV8
-END PGP PUBLIC KEY BLOCK-



  1   2   >