Re: Keyboard won't work during OpenBSD 7.1 or 7.2 installation.

2022-11-22 Thread Fred Crowson
if you plug in a USB keyboard at that point it will probably be
recognised so that you can use it for the install.

hth

Fred

On Tue, 22 Nov 2022 at 06:19, Clint  wrote:
>
> Dear Sirs,
>
>
>
> My name is Clint Wu, I had been told the DMP’s EBOX-336x mini PC (product
> page  ) can run OpenBSD
> 7.1.
>
> I had downloaded install71.img & install72.img ad use rufus 3.20 to crate
> USB installer.
>
> When I boot up my mini PC till installation program show up as below
> picture.
>
> My keyboard stop working at this stage. Did any one report this problem
> before?
>
> Can you tell me how to solve this? what should I do next? Please advise,
> thank you.
>
>
>
>
>
> Regards,
> Clint
>
>
>



Re: video shows green box on -current

2021-03-16 Thread Fred Crowson
sysctl kern.video.record=1

There is now more security, same as audio.

Cheers

Fred

On Tue, 16 Mar 2021 at 23:07, Pau  wrote:
>
> Hi,
>
> this is
>
> -current 6.9 GENERIC.MP#410 amd64
>
> on a thinkpad x270 (dmesg bottom)
>
> Up to a few weeks ago I was using video with firefox and iridium
> perfectly well, even for video calls with jit.si and element.io
>
> Now it shows a green box instead. It is not capturing the image.
> Permissions are fine.
>
> This can be reproduced by simply calling
>
> $ video
>
> which "will read YUY2 encoded, 640 pixel wide and 480 pixel high video
> frames from /dev/video and display them using the default Xv(3)
> adaptor"
>
> It shows a green box. The light of the camera turns on, though.
>
> When capturing the video read to a file and reproducing it with e.g.
> mplayer, the result is a grey display.
>
> Using read(2) to grab frames yields the same result.
>
> I updated -current a few minutes ago.
>
> Any idea?
>
> thanks,
>
> Pau
>
> --
> OpenBSD 6.9-beta (GENERIC.MP) #380: Sat Mar  6 11:37:06 MST 2021
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8080216064 (7705MB)
> avail mem = 7819960320 (7457MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xbf0dd000 (62 entries)
> bios0: vendor LENOVO version "R0IET43W (1.21 )" date 09/02/2017
> bios0: LENOVO 20HNA004CD
> acpi0 at bios0: ACPI 5.0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP UEFI SSDT SSDT HPET APIC MCFG ECDT SSDT SSDT
> BOOT BATB SSDT SSDT SSDT WSMT SSDT SSDT DBGP DBG2 MSDM DMAR ASF! FPDT
> UEFI
> acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4)
> RP02(S4) RP04(S4) RP05(S4) RP06(S4) RP07(S4) RP08(S4) RP09(S4)
> RP10(S4) RP11(S4) RP12(S4) RP13(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 2399 Hz
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 1597.05 MHz, 06-8e-09
> 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,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,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,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 24MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 1502.87 MHz, 06-8e-09
> 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,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,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 1 (application processor)
> cpu2: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 1426.38 MHz, 06-8e-09
> 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,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,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 1, core 0, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, 1401.27 MHz, 06-8e-09
> 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,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,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 

Re: What determines source IP of traffic from OpenBSD box ?

2021-02-26 Thread Fred Crowson
Hi,

pkg_add uses the $PKG_PATH environment variable to determine which source to 
use for packages, eg:

wolf:fred ~: env |grep -i pkg
PKG_PATH=https://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/

The interface used will be determined by the boxes routing table, so to specify 
an interface you would need to create a route that used the specified interface.

Hth

Fred

> On 26 Feb 2021, at 10:53, Rachel Roch  wrote:
> 
> Hi
> 
> Let's say I'm running "pkg_add -u" on a OpenBSD-based router with multiple 
> interfaces.
> 
> What determines the source IP ?
> 
> Building on that, there is no "source interface" flag for pkg_add like there 
> is for ping and certain others.  Is there a way for me to configure a default 
> interface for utilities such as pkg_add to use ?
> 
> Thanks !
> 
> Rachel
> 



Re: Black screen when starting Xorg with Dell XPS 13 9350

2019-03-02 Thread Fred Crowson
do you have an .xsession file in your /home/ directory?

machdep.allowaperture=1 should not be needed for xenodm to work...

I once had a similar issue where the X server would start with a black
screen until I toggled either the keyboard brightness setting or the
keyboard shortcut for internal / external monitor.

hth

Fred

On Sat, 2 Mar 2019 at 23:13, Bryan Avery  wrote:
>
> I have been unable to start X with a new install of OpenBSD on my
> laptop. I am a beginner with OpenBSD. This is a Skylake laptop with
> Intel 520 QHD graphics. During boot, the console shows with underscan,
> then the resolution increases (but is still less than native), then
> goes black upon starting Xorg. If I disable xenodm, the console is
> visible and I am able to login on the laptop. The first time I enabled
> and started xenodm, the screen went black. I was able to connect
> through SSH and retrieve the Xorg.0.log which told me to add
> machdep.allowaperture=1 to /etc/sysctl.conf which I did, but the
> screen went black again after I rebooted. I am not able to understand
> what went wrong from looking at the dmesg and Xorg.0.log. I have
> tested this with and without a config in /etc/X11/xorg.conf.d and get
> the same result. I am currently using /etc/X11/xorg.conf.d/intel.conf
> with contents:
>
> Section "Device"
>   Identifier "drm"
>   Driver "intel"
>   Option "TearFree" "true"
> EndSection
>
> dmesg:
>
> OpenBSD 6.4 (GENERIC.MP) #7: Thu Feb 28 18:56:25 CET 2019
> 
> r...@syspatch-64-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8433565696 (8042MB)
> avail mem = 8168701952 (7790MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe (94 entries)
> bios0: vendor Dell Inc. version "1.9.0" date 08/31/2018
> bios0: Dell Inc. XPS 13 9350
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT LPIT SSDT SSDT
> SSDT DBGP DBG2 SSDT BOOT SSDT UEFI SSDT MSDM SSDT SLIC TCPA DMAR BGRT
> ASF!
> acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4)
> PEG2(S4) PXSX(S4) RP09(S4) PXSX(S4) RP10(S4) PXSX(S4) RP11(S4)
> PXSX(S4) RP12(S4) PXSX(S4) RP13(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2295.40 MHz, 06-4e-03
> 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,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,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,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 23MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2294.66 MHz, 06-4e-03
> 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,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,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 1 (application processor)
> cpu2: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2294.65 MHz, 06-4e-03
> 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,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,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 1, core 0, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2294.65 MHz, 06-4e-03
> cpu3: 
> 

Re: FAQ: dmesg archive

2018-06-26 Thread Fred Crowson
It's archive is  only available to the developers. But their is a publicly
list at:

http://dmesgd.nycbug.org/index.cgi

On Tue, 26 Jun 2018, 13:59 Rupert Gallagher,  wrote:

> There seems to be a dm...@openbsd.org address where to post such stuff,
> but I could not find its archive, nor I could find a searchable database.
> Do I have to search harder?
>


Re: HEADS-UP: issues with chromium in -current

2014-10-23 Thread Fred Crowson
On Thu, Oct 23, 2014 at 12:14:03PM +0200, Marc Espie wrote:
 This has been discussed internally, but chromium
 is partly broken these days.
 
 Most specifically, windows refresh does strange things under
 some circumstances.
 
 The circumstances are well-known (thanks to matthieu@):
 modern systems use some composition manager for eye-candy
 on their display. So if you're using a shiny window manager,
 you won't see an issue.
 
 Old-style window managers, such as fvwm, fvwm2 (from ports)
 and cwm don't.  Hence the breakage.
 
 Work-around: start a composition manager, such as xcompmgr
 from base xenocara.  Cry since you lost your background image
 or moire pattern (fvwm-root, from ports, does know about
 composition managers).
 
 We're currently in the process of reporting the problem upstream.
 
 Outside of OpenBSD, most people don't use primitive window managers,
 so they don't see the issue.
 
 It probably started around when chromium switched to Aura for its
 gfx system...


Does this issue include highlighted links becoming invisible?
I ask as using xcompmgr does not solve this problem for me in Chromium.

My set up:
port:fred ~ dmesg|head -2; chrome --version; awesome --version
OpenBSD 5.6-current (GENERIC.MP) #462: Tue Oct 21 16:17:54 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Chromium 38.0.2125.101 
awesome v3.5.5 (Kansas City Shuffle)
 ?? Build: Oct 19 2014 10:55:35 for amd64 by gcc version 4.2.1 
(@amd64.ports.openbsd.org)
 ?? Compiled against Lua 5.2.3 (running with Lua 5.2)
 ?? D-Bus support: ?

cheers 

Fred



Re: OpenBSD 5.6 pre-orders in Germany possible

2014-09-30 Thread Fred Crowson
On Tue, Sep 30, 2014 at 09:02:56PM +0200, Stefan Wollny wrote:
 Am 09/30/14 um 14:42 schrieb Martijn van Duren:
  On Sat, 2014-09-27 at 07:30 +0100, OpenBSD Europe wrote:
  Hi folks,
 
  I just noticed that in Germany Lehmanns (see OpenBSD's order-site)
  already accepts pre-orders for OpenBSD 5.6-release.
 
  Guess what I just did :-)
 
  My little contribution to the project along with a big
  THANK YOU to the devs!
 
  Cheers,
  STEFAN
 
 
  Please don't do this and cancel your order. Things will become obvious on
  Monday :)
 
  I might have missed something, but could you provide me with an update
  on this issue?
  
 
 The openbsdstore.com has opend.
 
 Guess what I just did? ;-)
 
 Cheers,
 STEFAN

Beat me to it - I've just pre-order my 5.6 release :~) 



Re: Can OpenBSD access BBC Iplayer?

2014-09-02 Thread Fred Crowson
On Tue, Sep 02, 2014 at 08:57:34AM +0100, Anthony Campbell wrote:
 Greetings, list! 
 
 I'm a long-standing user of Linux (currently ArchLinux) who is just
 trying out OpenBSD and so far is much impressed. I'm using a Thinkpad
 T42.
 
 The main outstanding problem at the moment is accessing BBC Iplayer,
 which insists on my having Flashplayer installed.
 
 After reading the FAQ and various lists I put libflashplayer.so in
 ~/.mozilla/plugins and installed the fedora_base package as suggested in
 the FAQ. I still can't use Iplayer.
 
 I saw somewhere that Chrome has inbuilt flashplayer but that doesn't
 seem to be the case.
 
 As a workaround I can use get_iplayer to download BBC programmes but is
 it possible to get a browser to access Iplayer?
 
 Anthony


Hi Anthony,

In the past I have managed to get flash to work on OpenBSD - but flash has not 
worked reliablybut not having flash is a positive feature for me ;~)

I have not managed to get iplayer to work in a browser.

If you succeed could you let misc@ know it would be useful for the archives.

Cheers 

Fred



Re: suspend/resume regression

2013-10-03 Thread Fred Crowson
I had the same issue - I've just built a kernel from cvs and suspend /
resume is now working again, but I seem to have lost a few cores :~p

dmesg below.

Cheers

Fred

[1] dmesg:
OpenBSD 5.4-current (GENERIC) #0: Thu Oct  3 13:40:24 BST 2013
f...@port.crowsons.com:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 8447131648 (8055MB)
avail mem = 8214212608 (7833MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xaafd (43 entries)
bios0: vendor TOSHIBA version Version 3.60 date 01/24/2012
bios0: TOSHIBA TOSHIBA
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG ASF! TCPA BOOT SLIC SSDT SSDT SSDT
SSDT
acpi0: wakeup devices LANC(S4) HDEF(S3) RP02(S4) PXSX(S4) RP04(S4) PXSX(S4)
USBB(S4) USBC(S4) EHC1(S4) EHC2(S4) PWRB(S4) LID_(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.31 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,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,A
ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 99MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGP)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 4 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus 5 (RP05)
acpiprt7 at acpi0: bus 6 (RP06)
acpiprt8 at acpi0: bus 7 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PCIB)
acpicpu0 at acpi0: C1, PSS
acpipwrres0 at acpi0: PDOC
acpitz0 at acpi0: critical temperature is 102 degC
acpitoshiba0 at acpi0
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID_
acpibat0 at acpi0: BAT1 model G71C000E4410 serial 001888 type Li-ION
  oem 0
acpidock0 at acpi0: DOCK not docked (0)
cpu0: Enhanced SpeedStep 2492 MHz: speeds: 2501, 2500, 2000, 1800, 1600,
1400, 1200, 1000, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel HD Graphics 3000 rev 0x09
intagp0 at vga1
agp0 at intagp0: aperture at 0xb000, 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 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 Intel 6 Series KT rev 0x04: ports: 1 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x04: msi, address
e8:e0:b7:02:05:5d
ehci0 at pci0 dev 26 function 0 Intel 6 Series USB rev 0x04: apic 2 int 16
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 6 Series HD Audio rev 0x04: msi
azalia0: codecs: Realtek ALC269, Intel/0x2805, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 6 Series PCIE rev 0xb4: msi
pci1 at ppb0 bus 1
sdhc0 at pci1 dev 0 function 0 Ricoh 5U823 SD/MMC rev 0x04: apic 2 int 16
sdmmc0 at sdhc0
ppb1 at pci0 dev 28 function 1 Intel 6 Series PCIE rev 0xb4: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 2 Intel 6 Series PCIE rev 0xb4: msi
pci3 at ppb2 bus 4
iwn0 at pci3 dev 0 function 0 Intel Centrino Advanced-N 6030 rev 0x34:
msi, MIMO 2T2R, MoW, address 00:db:df:1f:24:6c
ppb3 at pci0 dev 28 function 4 Intel 6 Series PCIE rev 0xb4: msi
pci4 at ppb3 bus 5
NEC xHCI rev 0x04 at pci4 dev 0 function 0 not configured
ppb4 at pci0 dev 28 function 5 Intel 6 Series PCIE rev 0xb4: msi
pci5 at ppb4 bus 6
ppb5 at pci0 dev 28 function 6 Intel 82801BAM Hub-to-PCI rev 0xb4: msi
pci6 at ppb5 bus 7
ehci1 at pci0 dev 29 function 0 Intel 6 Series USB rev 0x04: 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
pcib0 at pci0 dev 31 function 0 Intel QM67 LPC rev 0x04
ahci0 at pci0 dev 31 function 2 Intel 6 Series AHCI rev 0x04: msi, AHCI
1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, Hitachi HTS72323, EC2O SCSI3 0/direct
fixed naa.5000cca6d540
sd0: 305245MB, 512 bytes/sector, 625142448 sectors
cd0 at scsibus0 targ 2 lun 0: MATSHITA, DVD-RAM UJ8B2E, 1.20 ATAPI
5/cdrom removable
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0

Re: suspend/resume regression

2013-10-03 Thread Fred Crowson
should have built an mp kernel :~)


On 3 October 2013 14:04, Fred Crowson fred.crow...@gmail.com wrote:

 I had the same issue - I've just built a kernel from cvs and suspend /
 resume is now working again, but I seem to have lost a few cores :~p

 dmesg below.

 Cheers

 Fred

 [1] dmesg:
 OpenBSD 5.4-current (GENERIC) #0: Thu Oct  3 13:40:24 BST 2013
 f...@port.crowsons.com:/usr/src/sys/arch/amd64/compile/GENERIC
 real mem = 8447131648 (8055MB)
 avail mem = 8214212608 (7833MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xaafd (43 entries)
 bios0: vendor TOSHIBA version Version 3.60 date 01/24/2012
 bios0: TOSHIBA TOSHIBA
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP HPET APIC MCFG ASF! TCPA BOOT SLIC SSDT SSDT SSDT
 SSDT
 acpi0: wakeup devices LANC(S4) HDEF(S3) RP02(S4) PXSX(S4) RP04(S4)
 PXSX(S4) USBB(S4) USBC(S4) EHC1(S4) EHC2(S4) PWRB(S4) LID_(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.31 MHz
 cpu0:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,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,A
ES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: smt 0, core 0, package 0
 cpu0: apic clock running at 99MHz
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (PEGP)
 acpiprt2 at acpi0: bus 1 (RP01)
 acpiprt3 at acpi0: bus 2 (RP02)
 acpiprt4 at acpi0: bus 4 (RP03)
 acpiprt5 at acpi0: bus -1 (RP04)
 acpiprt6 at acpi0: bus 5 (RP05)
 acpiprt7 at acpi0: bus 6 (RP06)
 acpiprt8 at acpi0: bus 7 (RP07)
 acpiprt9 at acpi0: bus -1 (RP08)
 acpiprt10 at acpi0: bus -1 (PCIB)
 acpicpu0 at acpi0: C1, PSS
 acpipwrres0 at acpi0: PDOC
 acpitz0 at acpi0: critical temperature is 102 degC
 acpitoshiba0 at acpi0
 acpiac0 at acpi0: AC unit online
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: LID_
 acpibat0 at acpi0: BAT1 model G71C000E4410 serial 001888 type Li-ION
   oem 0
 acpidock0 at acpi0: DOCK not docked (0)
 cpu0: Enhanced SpeedStep 2492 MHz: speeds: 2501, 2500, 2000, 1800, 1600,
 1400, 1200, 1000, 800 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
 vga1 at pci0 dev 2 function 0 Intel HD Graphics 3000 rev 0x09
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xb000, 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 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
 puc0 at pci0 dev 22 function 3 Intel 6 Series KT rev 0x04: ports: 1 com
 com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
 com4: probed fifo depth: 0 bytes
 em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x04: msi, address
 e8:e0:b7:02:05:5d
 ehci0 at pci0 dev 26 function 0 Intel 6 Series USB rev 0x04: apic 2 int
 16
 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 6 Series HD Audio rev 0x04: msi
 azalia0: codecs: Realtek ALC269, Intel/0x2805, using Realtek ALC269
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 6 Series PCIE rev 0xb4: msi
 pci1 at ppb0 bus 1
 sdhc0 at pci1 dev 0 function 0 Ricoh 5U823 SD/MMC rev 0x04: apic 2 int 16
 sdmmc0 at sdhc0
 ppb1 at pci0 dev 28 function 1 Intel 6 Series PCIE rev 0xb4: msi
 pci2 at ppb1 bus 2
 ppb2 at pci0 dev 28 function 2 Intel 6 Series PCIE rev 0xb4: msi
 pci3 at ppb2 bus 4
 iwn0 at pci3 dev 0 function 0 Intel Centrino Advanced-N 6030 rev 0x34:
 msi, MIMO 2T2R, MoW, address 00:db:df:1f:24:6c
 ppb3 at pci0 dev 28 function 4 Intel 6 Series PCIE rev 0xb4: msi
 pci4 at ppb3 bus 5
 NEC xHCI rev 0x04 at pci4 dev 0 function 0 not configured
 ppb4 at pci0 dev 28 function 5 Intel 6 Series PCIE rev 0xb4: msi
 pci5 at ppb4 bus 6
 ppb5 at pci0 dev 28 function 6 Intel 82801BAM Hub-to-PCI rev 0xb4: msi
 pci6 at ppb5 bus 7
 ehci1 at pci0 dev 29 function 0 Intel 6 Series USB rev 0x04: 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
 pcib0 at pci0 dev 31 function 0 Intel QM67 LPC rev 0x04
 ahci0 at pci0 dev 31 function 2 Intel 6 Series AHCI rev 0x04: msi, AHCI
 1.3
 scsibus0 at ahci0: 32 targets
 sd0 at scsibus0 targ 0 lun 0: ATA, Hitachi HTS72323, EC2O SCSI3 0/direct
 fixed naa.5000cca6d540
 sd0: 305245MB, 512 bytes/sector, 625142448 sectors
 cd0 at scsibus0 targ 2 lun 0: MATSHITA, DVD-RAM UJ8B2E, 1.20 ATAPI
 5/cdrom removable
 isa0 at pcib0
 isadma0 at isa0
 pckbc0

Re: suspend/resume regression

2013-10-03 Thread Fred Crowson
On 3 October 2013 14:08, Fred Crowson fred.crow...@gmail.com wrote:
 should have built an mp kernel :~)


 On 3 October 2013 14:04, Fred Crowson fred.crow...@gmail.com wrote:

 I had the same issue - I've just built a kernel from cvs and suspend /
 resume is now working again, but I seem to have lost a few cores :~p

 dmesg below.

 Cheers

 Fred

 [1] dmesg:
 OpenBSD 5.4-current (GENERIC) #0: Thu Oct  3 13:40:24 BST 2013
 f...@port.crowsons.com:/usr/src/sys/arch/amd64/compile/GENERIC
 real mem = 8447131648 (8055MB)
 avail mem = 8214212608 (7833MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xaafd (43 entries)
 bios0: vendor TOSHIBA version Version 3.60 date 01/24/2012
 bios0: TOSHIBA TOSHIBA
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP HPET APIC MCFG ASF! TCPA BOOT SLIC SSDT SSDT SSDT
 SSDT
 acpi0: wakeup devices LANC(S4) HDEF(S3) RP02(S4) PXSX(S4) RP04(S4)
 PXSX(S4) USBB(S4) USBC(S4) EHC1(S4) EHC2(S4) PWRB(S4) LID_(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.31 MHz
 cpu0:
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: smt 0, core 0, package 0
 cpu0: apic clock running at 99MHz
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (PEGP)
 acpiprt2 at acpi0: bus 1 (RP01)
 acpiprt3 at acpi0: bus 2 (RP02)
 acpiprt4 at acpi0: bus 4 (RP03)
 acpiprt5 at acpi0: bus -1 (RP04)
 acpiprt6 at acpi0: bus 5 (RP05)
 acpiprt7 at acpi0: bus 6 (RP06)
 acpiprt8 at acpi0: bus 7 (RP07)
 acpiprt9 at acpi0: bus -1 (RP08)
 acpiprt10 at acpi0: bus -1 (PCIB)
 acpicpu0 at acpi0: C1, PSS
 acpipwrres0 at acpi0: PDOC
 acpitz0 at acpi0: critical temperature is 102 degC
 acpitoshiba0 at acpi0
 acpiac0 at acpi0: AC unit online
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: LID_
 acpibat0 at acpi0: BAT1 model G71C000E4410 serial 001888 type Li-ION
 oem 0
 acpidock0 at acpi0: DOCK not docked (0)
 cpu0: Enhanced SpeedStep 2492 MHz: speeds: 2501, 2500, 2000, 1800, 1600,
 1400, 1200, 1000, 800 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
 vga1 at pci0 dev 2 function 0 Intel HD Graphics 3000 rev 0x09
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xb000, 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 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
 puc0 at pci0 dev 22 function 3 Intel 6 Series KT rev 0x04: ports: 1 com
 com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
 com4: probed fifo depth: 0 bytes
 em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x04: msi, address
 e8:e0:b7:02:05:5d
 ehci0 at pci0 dev 26 function 0 Intel 6 Series USB rev 0x04: apic 2 int
 16
 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 6 Series HD Audio rev 0x04: msi
 azalia0: codecs: Realtek ALC269, Intel/0x2805, using Realtek ALC269
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 6 Series PCIE rev 0xb4: msi
 pci1 at ppb0 bus 1
 sdhc0 at pci1 dev 0 function 0 Ricoh 5U823 SD/MMC rev 0x04: apic 2 int
 16
 sdmmc0 at sdhc0
 ppb1 at pci0 dev 28 function 1 Intel 6 Series PCIE rev 0xb4: msi
 pci2 at ppb1 bus 2
 ppb2 at pci0 dev 28 function 2 Intel 6 Series PCIE rev 0xb4: msi
 pci3 at ppb2 bus 4
 iwn0 at pci3 dev 0 function 0 Intel Centrino Advanced-N 6030 rev 0x34:
 msi, MIMO 2T2R, MoW, address 00:db:df:1f:24:6c
 ppb3 at pci0 dev 28 function 4 Intel 6 Series PCIE rev 0xb4: msi
 pci4 at ppb3 bus 5
 NEC xHCI rev 0x04 at pci4 dev 0 function 0 not configured
 ppb4 at pci0 dev 28 function 5 Intel 6 Series PCIE rev 0xb4: msi
 pci5 at ppb4 bus 6
 ppb5 at pci0 dev 28 function 6 Intel 82801BAM Hub-to-PCI rev 0xb4: msi
 pci6 at ppb5 bus 7
 ehci1 at pci0 dev 29 function 0 Intel 6 Series USB rev 0x04: 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
 pcib0 at pci0 dev 31 function 0 Intel QM67 LPC rev 0x04
 ahci0 at pci0 dev 31 function 2 Intel 6 Series AHCI rev 0x04: msi, AHCI
 1.3
 scsibus0 at ahci0: 32 targets
 sd0 at scsibus0 targ 0 lun 0: ATA, Hitachi HTS72323, EC2O SCSI3 0/direct
 fixed naa.5000cca6d540
 sd0: 305245MB, 512 bytes/sector, 625142448 sectors
 cd0 at scsibus0 targ 2 lun 0: MATSHITA, DVD-RAM UJ8B2E

Re: install5x.iso

2013-09-13 Thread Fred Crowson
How much memory and disk does your SPARC have?

You might want to consider a lighter weight browser like midori or netsurf
- I've not bother powering up my old SPARC boxes for about five years - and
I always ran them headless, so my advice is a bit out of date ;~)

hth

Fred
On 13 Sep 2013 16:40, Richard Thornton thornton.rich...@gmail.com wrote:

 In general I really like and appreciate all that is done by developers with
 OpenBSD.  The OS is stable and it works well, and shipping it with X
 already functional is a big help, especially on older boxes.  Because to
 compile xorg with this old sparc box under FreeBSD was taking  24 hours
 and it still was not done.


 On Fri, Sep 13, 2013 at 11:19 AM, Gregor Best g...@ring0.de wrote:

  On Fri, Sep 13, 2013 at 10:06:10AM -0400, Richard Thornton wrote:
   I am curious - given that OpenBSD ships each RELEASE with X , but
   applications like Firefox will not work without installing another DE,
   [...]
 
  That is not true. I ran Firefox and Chrome on a clean OpenBSD 4.9
  installation when it was released and I have been able to since then,
  and I find it hard to believe it was different before.
 
   [...]
   XFCE; why not ship OpenBSD with the basic X, but with the necessary
   libraries to allow FireFox to run and other applications like R to
 output
   graphics?  Also why not go ahead and ship with Firefox?  The disk would
   still be within the size of a standard CD.
   [...]
 
  Installing Firefox with pkg_add adds the required libraries
  automatically. If it does not, that's a bug in the port that should be
  reported.
 
  Adding Firefox to the base system would be a very bad idea. It is a huge
  load of code that needs to be maintained and not everyone uses Firefox.
  What if I want Chrome instead? Add that to base? What about dillo?
  netsurf? Why not add OpenOffice while we are at it?
 
  --
  Gregor Best



Re: suspend/resume not working on thinkpad X41

2013-07-16 Thread Fred Crowson
On 15 July 2013 00:03, haris ha...@2f30.org wrote:

 Hi.

 Just updated today with new snapshot and suspend
 seems broken. After closing lid or typing `zzz`, the laptop tries to go
 to sleep, and then resumes with blank screen.

 All sets show the same date (July 14th), so I think it's not due to an
 older X build date.

 Last upgrade was about 1 and 1/2 month, so it's dofficult to trace where
 the suspend stopped working.

 Blindly typing reboot/halt -p does the trick for now.


Hi,

I've just update my X41 to OpenBSD 5.4-beta (GENERIC) #26: Sat Jul 13
15:15:49 MDT 2013 snapshot (dmesg below [1] when docked [2] when not
docked) - and I'm not seeing this issue if it on it's docking station -
suspend and resume seem to work fine, but when it's not docked closing the
lid or doing zzz causes it to suspend, and then resume immediately - but
with the screen blanked.

The diff between the two dmesg is shown in [a] below.

Not sure if this information is useful for further debugging.

Cheers

Fred

[a] dm54.x41 is docked dmesg, and dm54nd.x41 is when not docked

--- dm54.x41 Tue Jul 16 17:10:12 2013
+++ dm54nd.x41 Tue Jul 16 19:06:11 2013
@@ -1,6 +1,6 @@
 OpenBSD 5.4-beta (GENERIC) #26: Sat Jul 13 15:15:49 MDT 2013
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
-cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel 686-class)
1.60 GHz
+cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel 686-class)
599 MHz
 cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,EST,TM2,PERF
 real mem  = 1600516096 (1526MB)
 avail mem = 1562923008 (1490MB)
@@ -27,7 +27,7 @@
 acpiprt4 at acpi0: bus -1 (EXP3)
 acpiprt5 at acpi0: bus 4 (PCI1)
 acpiprt6 at acpi0: bus -1 (DOCK)
-acpicpu0 at acpi0: C3, C2, C1, PSS
+acpicpu0 at acpi0: C3, C3, C2, C1, PSS
 acpipwrres0 at acpi0: PUBS
 acpitz0 at acpi0: critical temperature is 97 degC
 acpibtn0 at acpi0: LID_
@@ -35,12 +35,12 @@
 acpibat0 at acpi0: BAT0 model IBM-92P1147 serial   502 type LION oem
Panasonic
 acpibat1 at acpi0: BAT1 not present
 acpibat2 at acpi0: BAT2 not present
-acpiac0 at acpi0: AC unit online
+acpiac0 at acpi0: AC unit offline
 acpithinkpad0 at acpi0
-acpidock0 at acpi0: GDCK docked (15)
+acpidock0 at acpi0: GDCK not docked (0)
 acpidock1 at acpi0: MDCK not docked (0)
 bios0: ROM list: 0xc/0xe800! 0xce800/0x1600 0xd/0x1000
0xdc000/0x4000! 0xe/0x1
-cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1500, 1400, 1300, 1200,
1100, 1000, 900, 800, 600 MHz
+cpu0: Enhanced SpeedStep 599 MHz: speeds: 1600, 1500, 1400, 1300, 1200,
1100, 1000, 900, 800, 600 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x03
 vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x03
@@ -82,10 +82,6 @@
 wd0 at pciide0 channel 0 drive 0: HTC426060G9AT00
 wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
-atapiscsi0 at pciide0 channel 1 drive 0
-scsibus0 at atapiscsi0: 2 targets
-cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD/CDRW UJDA775, CB03 ATAPI
5/cdrom removable
-cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
 ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x03: apic 1
int 23
 iic0 at ichiic0
 spdmem0 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-4200CL3 SO-DIMM
@@ -99,7 +95,6 @@
 uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
 isa0 at ichpcib0
 isadma0 at isa0
-com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
@@ -109,18 +104,12 @@
 wsmouse0 at pms0 mux 0
 pcppi0 at isa0 port 0x61
 spkr0 at pcppi0
-lpt2 at isa0 port 0x3bc/4: polled
 aps0 at isa0 port 0x1600/31
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 mtrr: Pentium Pro MTRR support
-uhub5 at uhub0 port 1 IBM Hub rev 2.00/0.01 addr 2
 ugen0 at uhub3 port 2 STMicroelectronics Biometric Coprocessor rev
1.00/0.01 addr 2
 vscsi0 at root
-scsibus1 at vscsi0: 256 targets
+scsibus0 at vscsi0: 256 targets
 softraid0 at root
-scsibus2 at softraid0: 256 targets
+scsibus1 at softraid0: 256 targets
 root on wd0a (f6f5f64836073053.a) swap on wd0b dump on wd0b
-ugen0 detached
-uhub5 detached
-uhub5 at uhub0 port 1 IBM Hub rev 2.00/0.01 addr 2
-ugen0 at uhub3 port 2 STMicroelectronics Biometric Coprocessor rev
1.00/0.01 addr 2

[1] dmesg when docked:
OpenBSD 5.4-beta (GENERIC) #26: Sat Jul 13 15:15:49 MDT 2013
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel 686-class)
1.60 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,EST,TM2,PERF
real mem  = 1600516096 (1526MB)
avail mem = 1562923008 (1490MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/14/06, BIOS32 rev. 0 @ 0xfd750,
SMBIOS rev. 2.33 @ 0xe0010 (59 entries)
bios0: vendor 

Re: Any other ThinkPad W500 users out there?

2013-07-03 Thread Fred Crowson
On 2 July 2013 14:39, Mikhail Krutov n...@takino.org wrote:

 On Sun, Jun 30, 2013 at 02:43:28AM -0400, STeve Andre' wrote:
  If so, I'd like to know if you are running a recent 5.3-current. Mail me
  off list so we don't pollute misc@.
 Steve,
 My opinion (if it costs anything) is that this info won't polute.
 No central directory is found on OpenBSD laptop compatibility and
 misc@ is only source. If you would buy one, please keep list (or me)
 informed.
 :)


NYC Bug has a publicly searchable dmesg database at:

http://www.nycbug.org/?action=dmesgd

Which can sometimes be useful for checking compatibility...

hth

Fred



Re: Serial and parallel port detection

2013-03-06 Thread Fred Crowson
On 4 March 2013 10:12, Jacques Pelletier jpellet...@ieee.org wrote:
 Is it possible to do this in C?

 Also, what are the name of the serial devices?

 Is serial port via bluetooth or IrDA supported?

I have used birda for IrDA to talk to Nokia 8210 mobile phone this was
back in 2003 on OpenBSD, and was the 3.1/3.2 era. So this would be
possible, but I've not tried it in the last 10 years :~)

Cheers

Fred



Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide

2013-02-16 Thread Fred Crowson
On 14 February 2013 22:12, Fred Crowson fred.crow...@gmail.com wrote:
 On 14 February 2013 08:42, Hugo Villeneuve h...@eintr.net wrote:

 I self reply to this very old email for prosperity and because I
 was asked off list how I boot GENERIC on my Compaq Presario 433
 (486).

 I figured which drivers to disable via trial and error and it has
 worked every release since. I can boot GENERIC by disabling:

 it
 schsio

 Disabling one or the other doesn't work. Both need to be disabled.

 See boot(8/i386) and boot_config(8) for details on how to do that.

 dmesg with trace/ps:
 http://eintr.net/temporaire/486-issues.txt

 I don't know if that would work with the original Toshiba Libretto
 70, but it works for my Compaq Presario 433 and I've been told for
 an IBM ValuePoint 486DX2/66.


 [Note: GENERIC compiled without it,schsio works fine. GENERIC with
 every drivers, that attach to isa, not in RAMDISK disabled and it
 and/or schsio re-enabled fails. Beside this, my Compaq Presario 433
 works fine.  It's my only OpenBSD computer running 24/7 and
 occasionally does NFS/Diskless server duty.]


 Well, I've booted up my Libretto 70ct and and busy installing -current
 (hopefully it will be finished by the weekend ;~)

 But my recollection of the issue having built a lot of kernels since
 4.4 when I first encountered the issue is that it has more to do with
 the fact the Libretto only has 16 Mb of RAM, and if the kernel is
 bigger than 6.5 Mb it appears to run out of memory.

 I've not invested much effort in solving this recently - partly as I
 knew that I'm not ever going to upgrade it to 32Mb of RAM - and as
 Nick hinted this will be come a limiting factor.

 But you've motivated me to have another go at fixing my little old
 Libretto 70CT :~)

 Fred

Wow - that seems to have worked! It still running through it's first
boot process, so I've not managed to log in yet. dmesg below.

But the root device softraid not configured and the kernel: integer
divide fault trap, code=0 have usually happened by this stage in the
boot process.

What is really odd is the libretto does not have either an it or
schsio devices in it...

I'll confirm in the morning if I can log in.

Cheers

Fred

dmesg:

OpenBSD 5.3-beta (GENERIC) #29: Tue Feb 12 17:00:52 MST 2013
t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 16445440 (15MB)
avail mem = 5246976 (5MB)
User Kernel Config
UKC disable it
322 it* disabled
323 it* disabled
UKC disable schsio
310 schsio* disabled
311 schsio* disabled
312 schsio* disabled
313 schsio* disabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
apm0 at bios0: Power Management spec V1.2
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xe4000/0xc000
cpu0 at mainbus0: (uniprocessor)
cpu0: F00F bug workaround installed
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: IBM-DDLA-21620
wd0: 16-sector PIO, LBA, 1551MB, 3177216 sectors
wd0(wdc0:0:0): using BIOS timings
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: SB MIDI UART
audio0 at sb0
opl at sb0 not configured
wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
audio1 at wss0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pcic0 at isa0 port 0x3e0/2 iomem 0xd/65536
pcic0 controller 0: Intel 82365SL rev 1 has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
xe0 at pcmcia0 function 0 Xircom, CreditCard 10Base-T, PS-CE2-10
port 0x340/16  , irq 9:
address 00:80:c7:42:37:d9
pcmcia1 at pcic0 controller 0 socket 1
pcic0: irq 11, polling enabled
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (2e31d83074fc8391.a) swap on wd0b dump on wd0b
Automatic boot in progress: starting file system checks.
/dev/wd0a (2e31d83074fc8391.a): file system is clean; not checking
setting tty flags
kbd: keyboard mapping set to uk
pf enabled
machdep.allowaperture: 0 - 2
starting network
DHCPDISCOVER on xe0 to 255.255.255.255 port 67 interval 1
DHCPOFFER from 192.168.5.9 (00:03:47:e3:9f:db)
DHCPREQUEST on xe0 to 255.255.255.255 port 67
DHCPACK from 192.168.5.9 (00:03:47:e3:9f:db)
bound to 192.168.5.27 -- renewal in 21598

Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide

2013-02-14 Thread Fred Crowson
On 14 February 2013 08:42, Hugo Villeneuve h...@eintr.net wrote:

 I self reply to this very old email for prosperity and because I
 was asked off list how I boot GENERIC on my Compaq Presario 433
 (486).

 I figured which drivers to disable via trial and error and it has
 worked every release since. I can boot GENERIC by disabling:

 it
 schsio

 Disabling one or the other doesn't work. Both need to be disabled.

 See boot(8/i386) and boot_config(8) for details on how to do that.

 dmesg with trace/ps:
 http://eintr.net/temporaire/486-issues.txt

 I don't know if that would work with the original Toshiba Libretto
 70, but it works for my Compaq Presario 433 and I've been told for
 an IBM ValuePoint 486DX2/66.


 [Note: GENERIC compiled without it,schsio works fine. GENERIC with
 every drivers, that attach to isa, not in RAMDISK disabled and it
 and/or schsio re-enabled fails. Beside this, my Compaq Presario 433
 works fine.  It's my only OpenBSD computer running 24/7 and
 occasionally does NFS/Diskless server duty.]


Well, I've booted up my Libretto 70ct and and busy installing -current
(hopefully it will be finished by the weekend ;~)

But my recollection of the issue having built a lot of kernels since
4.4 when I first encountered the issue is that it has more to do with
the fact the Libretto only has 16 Mb of RAM, and if the kernel is
bigger than 6.5 Mb it appears to run out of memory.

I've not invested much effort in solving this recently - partly as I
knew that I'm not ever going to upgrade it to 32Mb of RAM - and as
Nick hinted this will be come a limiting factor.

But you've motivated me to have another go at fixing my little old
Libretto 70CT :~)

Fred



Re: gimp 2.8 on OpeBSD -current

2012-07-05 Thread Fred Crowson
On 4 July 2012 00:54, Stuart Henderson s...@spacehopper.org wrote:
 On 2012-07-03, Fred Crowson fred.crow...@gmail.com wrote:
 Hi misc@

 I'm getting the following errors when running gimp-2.8.0p0 on OpenBSD
 -current (Jun 28 i386 snapshot):

 x41:fred ~ gimp reading.jpg
 /usr/local/lib/gimp/2.0/plug-ins/file-jpeg: fatal error: Segmentation fault

 (gimp:18542): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error

 This issue is only with opening jpeg files - I can create new files
 and export them to jpeg or png or save the as .xcf files fine.

 Any clues to debugging this issue further?

 Make sure everything is up to date: userland, kernel, all packages


Thanks misc@ - yes my system was out of date.

Fred



gimp 2.8 on OpeBSD -current

2012-07-03 Thread Fred Crowson
Hi misc@

I'm getting the following errors when running gimp-2.8.0p0 on OpenBSD
-current (Jun 28 i386 snapshot):

x41:fred ~ gimp reading.jpg
/usr/local/lib/gimp/2.0/plug-ins/file-jpeg: fatal error: Segmentation fault

(gimp:18542): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error

This issue is only with opening jpeg files - I can create new files
and export them to jpeg or png or save the as .xcf files fine.

Any clues to debugging this issue further?

thanks

Fred

dmesg:

OpenBSD 5.2-beta (GENERIC) #251: Thu Jun 28 01:30:25 MDT 2012
t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel
686-class) 1.60 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,NXE,EST,TM2
real mem  = 1600516096 (1526MB)
avail mem = 1563533312 (1491MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/14/06, BIOS32 rev. 0 @
0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (59 entries)
bios0: vendor IBM version 74ET61WW (2.06 ) date 03/14/2006
bios0: IBM 2525FAG
apm0 at bios0: Power Management spec V1.2
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0xe800! 0xce800/0x1600 0xd/0x1000
0xdc000/0x4000! 0xe/0x1
cpu0 at mainbus0: (uniprocessor)
cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1500, 1400, 1300,
1200, 1100, 1000, 900, 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
mem address conflict 0x5f70/0x8
io address conflict 0x5800/0x8
io address conflict 0x5808/0x4
io address conflict 0x5810/0x8
io address conflict 0x580c/0x4
pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x03
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 0xc000, size 0x1000
inteldrm0 at vga1: no ifp : irq 11
drm0 at inteldrm0
Intel 82915GM Video rev 0x03 at pci0 dev 2 function 1 not configured
ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03: irq 11
pci1 at ppb0 bus 2
bge0 at pci1 dev 0 function 0 Broadcom BCM5751M rev 0x11, BCM5750 B1
(0x4101): irq 11, address 00:16:d3:2f:63:7c
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: irq 11
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd3
pci2 at ppb1 bus 4
cbb0 at pci2 dev 0 function 0 Ricoh 5C476 CardBus rev 0x8d: irq 11
sdhc0 at pci2 dev 0 function 1 Ricoh 5C822 SD/MMC rev 0x13: irq 11
sdmmc0 at sdhc0
iwi0 at pci2 dev 2 function 0 Intel PRO/Wireless 2915ABG rev 0x05:
irq 11, address 00:16:6f:c1:16:40
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 Intel 82801FB AC97 rev 0x03: irq
11, ICH6 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
Intel 82801FB Modem rev 0x03 at pci0 dev 30 function 3 not configured
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x03: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: HTC426060G9AT00
wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD/CDRW UJDA775, CB03 ATAPI
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x03: irq 11
iic0 at ichiic0
spdmem0 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-4200CL3 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
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0

Re: after upgrade to current(25-06-2012), can not login ssh

2012-06-25 Thread Fred Crowson
On 25 June 2012 12:41, johnw johnw.m...@gmail.com wrote:
 I change UsePrivilegeSeparation sandbox to UsePrivilegeSeparation yes,
 then i can login now.
 maybe the sandbox feature has something broken.
 thank you.

The following article gives some more information on the sandbox function:

http://www.undeadly.org/cgi?action=articlesid=20110721123003

hth

Fred



Re: 5.1 and snapshots freeze changing between X and console

2012-06-19 Thread Fred Crowson
On 18 June 2012 16:17, Steve fivering...@yahoo.com.au wrote:
 Hi This is still occurring using latest snapshot.

 On multiple HP compaq pcs.
 Message received say inteldrm0 gpu hung.
 I am unable to run X -configure.
 fails with a seg fault.
 Any thoughts ?

 Thanks

This might be linked to:

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

Can you try a snapshot after the 12 June?

hth

Fred



Re: realtek 8188ce not configured

2012-05-30 Thread Fred Crowson
On 30 May 2012 21:45, patrick keshishian pkesh...@gmail.com wrote:
 Hi misc@,

 Lenovo won't let me replace the Realtek 8188CE mini-pci card that came
 with it with another. The hardware refuses to boot with an
 unauthorized network card detected or somesuch error (brilliant!).

 What are the chances of getting this card working with obsd? :)

 --patrick

Would  the tpwireless package help?

Fred



Re: Huawei EM770W modem in GPS mode

2012-05-08 Thread Fred Crowson
On 7 May 2012 08:10, Baurzhan Muftakhidinov baurthefi...@gmail.com wrote:
 Will try latest snapshot to see how it works.

 For those who interested in Huawei EM770W GPS function:
 I finally managed to make GPS work in Linux.
 Direct echo 'AT^WPDGP'  /dev/ttyUSB0 did not work, so I used wvdial to pass
 this command to device.
 so, /dev/ttyUSB3 is your GPS device.

 Cheers,


Have you tried getting it to work with pppd?

hth

Fred



Re: MySQL connection error after upgrade 4.9-5.0

2012-03-14 Thread Fred Crowson
On 14 March 2012 09:53, Uwe Dippel udip...@gmail.com wrote:
 I have this unfortunate occurrence on one of my production machines:
 Database Error: Unable to connect to the database:Could not connect to
MySQL
 I studied the Upgrade Guide 4.9 to 5.0 intensely before and after, but
 can't find what went wrong. I just did the upgrade, and made the links
 as proposed (so I hope)

 # pwd
 /etc/php-5.2
 # ls -l
 total 0
 lrwxr-xr-x  1 root  wheel  26 Mar 14 17:26 gd.ini -
/etc/php-5.2.sample/gd.ini
 lrwxr-xr-x  1 root  wheel  29 Mar 14 17:25 mysql.ini -
 /etc/php-5.2.sample/mysql.ini

 # ls -l /var/www/conf/modules
 total 0
 lrwxr-xr-x  1 root  daemon  41 Mar 14 16:26 php.conf -
 /var/www/conf/modules.sample/php-5.2.conf

 I also tried to copy the modified php.ini from /var/www/conf to
/etc/php-5.2.ini
 Then the result is:
 Database Error: Unable to connect to the database:The MySQL adapter
 mysql is not available.

 pkg_info looks okay:
 mini_sendmail-chroot-1.3.6p1 static mini_sendmail for chrooted apache
 mysql-client-5.1.54p0 multithreaded SQL database (client)
 mysql-server-5.1.54p9 multithreaded SQL database (server)
 nano-2.2.6  Pico editor clone with enhancements
 [...]
 pfstat-2.3p1packet filter statistics visualization
 php-5.2.17p5server-side HTML-embedded scripting language
 php-gd-5.2.17p4 image manipulation extensions for php5
 php-mysql-5.2.17p3  mysql database access extensions for php5
 png-1.5.4   library for manipulating PNG images

 I am very grateful for any help or advice how to further debug this.

 Uwe


How did you start your mysql server?

What does your logs say in /var/mysql/ ?

hth

Fred



Re: Lenovo E320: strange things happen with X

2012-02-14 Thread Fred Crowson
On 14 February 2012 11:41, Rod Whitworth glis...@witworx.com wrote:
 There goes $552.59 ... ;((

 I guess I'd bettr watch the commit messages closely for good news. We
 live in hope.

 Thanx for the message, even if it's bad news. I don't have to try lots
 of desperate tricks to investigate further.

The public dmesg database is at: http://www.nycbug.org/index.php?NAV=dmesgd

hth

Fred



Re: Lenovo E320: strange things happen with X

2012-02-14 Thread Fred Crowson
On 14 February 2012 12:48, Rod Whitworth glis...@witworx.com wrote:
/snipped

 Boags if you like!

The true nectar - the OpenBSD of beers ;~)



Re: sparc64 5.0

2012-01-24 Thread Fred Crowson
On 24 January 2012 22:51, Richard Thornton thornton.rich...@gmail.com wrote:
 Now that I have it setup with the correct package path, etc, I am finding
 out 5.0 is much better than 4.9 was;

That's the beauty of OpenBSD - it keeps getting better, thanks to all
the developers efforts.

 Someone recently told me that Solaris uses SMI labels on its disks, is this
 the same with OpenBSD?

No. See disklabel (8) and newfs(8) for more information.

hth

Fred



Re: Add Route at Boot Time

2012-01-20 Thread Fred Crowson
On 20 January 2012 14:29, Hendrickson, Kenneth khend...@harris.com wrote:
 +--+
 |   Firewall   |
 |  | .33.34.35.97
 | vr0dhcpd |  |  |  |  |  Wired Network
 | 172.24.10.21 |--+--+--+--+- 172.24.10/24
 |  |
 |  |   +-+
 | vr1  |   | Wireless Router |
 | 172.24.20.1  |---| 172.24.20.2 |Wireless Network
 |  |   | 192.168.2.1 |--- 192.168.2/24
 |  |   |   dhcpd |
 |  |   +-+
 | vr2  |
 | 172.24.30.1  |- Future Use
 |  |
 |  |   +-+
 | vr3 dhclient |---|   Cable Modem   |--- Internet Cloud
 +--+   +-+

 Problem.  I need to manually do:
route add -inet 192.168.2.0/24 172.24.20.2

 How do I get this done automagically at boot time?
 What man pages do I need to (re-)read?

 Thanks,
 Ken


Add:

!route add -inet 192.168.2.0/24 172.24.20.2

to the appropriate hostname.if

See man hostname.if

hth

Fred



Re: Difference between openbsd.org and www.openbsd.org

2011-12-02 Thread Fred Crowson
On 2 December 2011 22:11, Nils Reu_e nilsreu...@googlemail.com wrote:
 Hi misc@,

 I just noticed that http://openbsd.org/errata50.html (without www) does
 not list the RELIABILITY FIX 001. http://www.openbsd.org/errata50.html
 does have it though. Keep up the good work :)

 Regards,
 Nils


Some hints:

http://marc.info/?l=openbsd-miscw=2r=1s=openbsd.org+www.openbsd.orgq=b

openbsd.org != www.openbsd.org

try nslookup on both

Please use www.openbsd.org.

hth

Fred



Re: How to enable IP/TCP checksumming in software?

2011-10-15 Thread Fred Crowson
On 15 October 2011 11:08, Samuel Kidman samkid...@iinet.net.au wrote:
 Hello

 I have just installed OpenBSD on a hobby server. All is going well except I
 have hit a pretty major stumbling block in that I
 can't get my network configuration working. I have assigned a static IPv4
 address to the server, and I tried pinging my
 desktop computer. I opened up a packet sniffer on my desktop and I can see
 the packets coming in from the server,
 however the IP checksums are all set to 0. I read in the release notes that
 OpenBSD will set the checksum to zero before
 passing the packet to hardware to perform the checksum operation. This
 obviously isn't working on my system, so I was
 wondering how to get it working, or how to just get it done in software?

 I am using the re (realtek ethernet) driver.

 Regards, Sam


There is a lack of information: what is configuration?

What is the output of:

ifconfig re

grep forwarding /etc/sysctl.conf

is pf enabled?

I don't think 0 checksums are your issue.

hth

Fred



Re: Scanning detection, Single Packet Authorization

2011-10-11 Thread Fred Crowson
On 11 October 2011 13:36, Cezary Cieplinski forsakenli...@gmx.com wrote:
 Dear All,
 I am new member here, also noob in OpenBSD.
 And have some simple question.
 Can you please tell me if there any technique to detect port scanning.
 Is there any PF feature which I can use? Or any independent package similar to
 linux psad?
 I am also interested in port knocking is there any support for it in OpenBSD.
 I am looking for similar functionality like fwknop - Single Packet 
 Authorization.
 Best regards.



PF has excellent logging capabilities - which should help in detecting
port scanning, and if you read the src tracking part of the man page
it should prove useful.

Port knocking has been discussed many times on the mailing list:
http://marc.info/?l=openbsd-miscw=2r=1s=port+knockingq=b

hth

Fred



Re: external monitor DisplayPort

2011-09-20 Thread Fred Crowson
On 20 September 2011 23:35, Pau vim.u...@googlemail.com wrote:
 Hello,

 I just installed a 5.0 snapshot on a thinkpad x201s.

 I am trying to use an external monitor which is connected via the
 docking station with the DisplayPort to the thinkpad.

 When I reboot, I get into the bios menu and then press fn+f7 to make
 sure that the external monitor is selected. Then the blue
 messages appear on the external monitor.

 After the boot, when I startx, the external monitor goes black and only the
 laptop is on. Pressing again fn+f7 does not help.

 Has anybody successfully used an external monitor on a docking station
 with a DisplayPort connector?

 I have used this laptop on a number of projectors and external
 monitors successfully with obsd without having to play with
 xorg.conf.

 Any hint?

 thanks



Hi,

I don't have a displayport with my X41 docking station but I use,
xrandr(1) in my .xinitrc file to use my external monitor:

xrandr --auto --output VGA --mode 1600x1200 --output LVDS --off

hth

Fred



Re: avr

2011-09-20 Thread Fred Crowson
On 18 September 2011 15:37, igor denisov saufe...@gmail.com wrote:
 Hello there,

 May someone tell me how to program Atmega through usb using FDTI?


No, but avr tools are in ports [1] and work well on OpenBSD.

hth

Fred

[1] grep  avr index.txt
-rw-r--r--  1 276  1254625119 Aug 16 01:30:08 2011 avr-binutils-2.20.tgz
-rw-r--r--  1 276  1259747634 Aug 16 02:40:30 2011 avr-gcc-4.3.4p0.tgz
-rw-r--r--  1 276  1252395408 Aug 16 10:43:03 2011 avr-gdb-6.8p5.tgz
-rw-r--r--  1 276  1253127710 Aug 16 08:37:55 2011 avr-libc-1.7.1.tgz
-rw-r--r--  1 276  125 331274 Aug 16 17:32:18 2011 avrdude-5.10p2.tgz



Re: where's the dmesg archive?

2011-09-09 Thread Fred Crowson
On 9 September 2011 12:21, Douglas Ray doug...@cpan.org wrote:
 Those dmesg(8)s everyone posts to dm...@openbsd.org - where are they
 archived?

 thanks,
 Douglas


Some people have put dmesgs online at:

http://www.nycbug.org/index.php?NAV=dmesgd;SQLIMIT=20

hth

Fred



Re: Recompile OpenBSD without built-in Apache 1.3

2011-06-29 Thread Fred Crowson
On 29 June 2011 09:12, Benny Lofgren bl-li...@lofgren.biz wrote:
 Not to encourage or discourage the OP either way, I don't think you
 should assume that he's only got one system to play with. After all,
 it is perfectly feasible to make install builds on one system and
 installing them on another (or a thousand others).

 Who knows, he might have invented a new extremely secure and robust
 toaster he needs firmware for? :-)

A toaster without a web server is so last century.



Re: website down from here

2011-06-21 Thread Fred Crowson
On 21 June 2011 05:37, Samuel Baldwin recursive.for...@gmail.com wrote:
 http://www.downforeveryoneorjustme.com/www.openbsd.org

 Simply openbsd.org works, however.
 --
 Samuel Baldwin - logik.li


openbsd.org and www.openbsd.org are two different systems see:

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

hth

Fred



Re: problems configuring wireless adapter on ThinkPad T-23

2011-05-02 Thread Fred Crowson
On 1 May 2011 22:48, Dale Scott dalesc...@shaw.ca wrote:
 Hi Fred, thanks for helping.

 What happens when you do an ifconfig rtw0 scan?
 Do you see your access point?

 It looks like I see my access point, as well as one neighbor's (see below).
 Fyi, I went through config for both wired and wireless interfaces when I
 installed OpenBSD 4.8, but didn't know how to specify the WEP key for rtw0.
 Is it possible to config both fxp0 and rtw0 simultaneously? I typically use
 a wired connection in my study (convenience and because Wireless signal
 level is low), but use wireless everywhere else.

 # ifconfig rtw0 scan
 rtw0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu
1500
 lladdr 00:09:5b:e2:15:2b
 priority: 4
 groups: wlan
 media: IEEE802.11 autoselect (DS1 mode 11b)
 status: no network
 ieee80211: nwid sundancer chan6 bssid 00:13:46:fa:9b:56 127dB nwkey
 0xXX
 nwid sundancer chan 6 bssid 00:13:46:fa:9b:56 127dB 54M
 privacy,short_preamble,short_slottime
 lladdr 00:23:7d:05:94:69 127dB 11M ibss cache
 nwid TELUS3645 chan 1 bssid 00:26:88:e7:e9:30 126dB 54M
 privacy,short_slottime
 #

 Dale


Hi Dale,

It looks like you have successfully configured your interface, but
then you need to get an IP address, so you need an:

/sbin/dhclient rtw0

You can do this automatically in a hostname.if file (see man
hostname.if), but it should look something like:

dhcp \
nwid sundancer nwkey 0xYourHexPassword

hth

Fred



Re: CLO did not complete?

2011-04-24 Thread Fred Crowson
On 24 April 2011 17:40,  timo.my...@gmail.com wrote:
 Hi,

 I noticed following lines during boot:
 ahci0: CLO did not complete
 ahci0: device on port 0 didn't come ready, TFD: 0x150

 They don't seem to cause anything noticable except few seconds of delay on 
 boot
 process.
 Any idea whats causing this and how to get rid of those?

It might be linked to this:

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

hth

Fred



Re: l2tpd

2011-04-13 Thread Fred Crowson
On 13 April 2011 14:11, pavel pocheptsov lilit-aibo...@mail.ru wrote:
 does openbsd have l2tpd-daemon in packages or ports?



http://lmgtfy.com/?q=l2tpd+openbsd



Re: vmware 4.9 strange message in shutdown

2011-02-07 Thread Fred Crowson
On 7 February 2011 21:51, Orestes Leal R. l...@cubacatering.avianet.cu wrote:
 Sorry, I did not finish my first mail:

 I'm running 4.9-BETA inside VMWARE Workstation 7.0 (running windows 7)

 I'm getting the following error when I shutdown the machine (inside vmware
 WS 7.0)

 I issue: shutdown -hp now

 then I get:

 vmware: sending length failed , eax=m, ecx=
 vmt0: failed to send shutdown ping

 finally it shutdown but no so fast.


 this is because?



x41:fred /usr/src find ./ -name vmt* -exec grep -C3 failed to send
shutdown ping {} \; -print
}

if (vm_rpc_send(sc-sc_tclo_rpc, NULL, 0) != 0) {
printf(%s: failed to send shutdown ping\n, DEVNAME(sc));
}

vm_rpc_close(sc-sc_tclo_rpc);
./sys/dev/vmt.c

hth

Fred



Re: Please help me decide: OpenWrt vs. OpenBSD

2011-01-20 Thread Fred Crowson
On 20 January 2011 16:42, S Mathias smathias1...@yahoo.com wrote:
  I've been using OpenBSD since 2.5, '99.

 Does anyone using OpenBSD as a Desktop OS? :O you do? :O wow.

It's been my preferred OS desktop since 2.9, and since I changed jobs
its now my work desktop :~)



Re: OpenBSD 4.8 modify rts values

2011-01-06 Thread Fred Crowson
On 6 January 2011 10:58, Sam Fourman Jr. sfour...@gmail.com wrote:
 Hello list

 I have a OpenBSD wifi AP and it has a ral 2860 device

 I need to modify the rts values like in this link

 http://supremetechs.com/2009/07/24/slow-wifi-iphone-3gs/


 does ifconfig have this ability?

mtu setting might be what your after, but I guess this would be better
solved in pf using fragment handling.

hth

Fred



Re: pfsync nic problem.

2010-12-23 Thread Fred Crowson
On 23 December 2010 18:24, Alessandro Baggi alessandro.ba...@gmail.com wrote:

 This problem is not theoretical.

but the dmesg, pf.conf and ifconfig output is.

:~)



Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-15 Thread Fred Crowson
On 14/12/2010, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote:
snipped
 are rarely as bad. A graphical and simple (probably impossible) OpenBSD
 browser, would really be something, but now I'm just dreaming.
/snipped

xxxterm should fit that description.

hth

Fred
(Sent from xxxterm :~])



Re: re(4) benchmarking - unusually slow

2010-12-08 Thread Fred Crowson
There have been some recent commits to the re code:

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/re.c

Running current might improve re's performance.

hth

Fred



Re: FYI: Error building kernel with CBB_DEBUG option

2010-12-08 Thread Fred Crowson
On 8 December 2010 20:08, Dave Anderson d...@daveanderson.com wrote:
 I'm not asking for support on this; I primarily want to make sure that
 whatever developer uses this option knows it's broken before the next
 time he needs it.

 I have a Sony Vaio PCG-FX120 notebook (inherited, and not enough spare
 cash to replace it at this time) with cardbus slots that don't work
 (almost certainly because the BIOS provides incorrect PCI configuration
 info).  The CBB_DEBUG option looked like it might provide some useful
 information for figuring out how to hack it to work, so I tried building
 a test kernel with that option (initially using a late-November version
 of current, then updated my source tree to 7 December and tried again).
 This is the error I get:

 cc -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-main
 -Wno-uninitialized -Wno-format -Wstack-larger-than-2047
 -fno-builtin-printf -fno-builtin -snprintf -fno-builtin-vsnprintf
 -fno-builtin-log -fno-builtin-log2 -fno-builtin-malloc -O2 -pipe
 -nostdinc -I.  -I../../../.. -I../../../../arch -DDDB -DDIAGNOSTIC
 -DKTRACE -DACCOUNTING -DKMEMSTATS -DPTRACE -DPOOL_DEBUG -DCRYPTO
 -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_43
 -DCOMPAT_O47 -DLKM -DFFS -DFFS2 -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA
 -DEXT2FS -DMFS -DNNPFS -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DNFSCLIENT
 -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DINET -DALTQ -DINET6
 -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE -DMROUTING -DMPLS -DBOOT_CONFIG
 -DUSER_PCICONF -DKVM86 -DUSER_LDT -DAPERTURE -DCOMPAT_SVR4
 -DCOMPAT_LINUX -DCOMPAT_FREEBSD -DCOMPAT_AOUT -DPROCFS -DNTFS
 -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL
 -DWSDISPLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS=6
 -DWSDISPLAY_COMPAT_PCVT -DX86EMU -DONEWIREVERBOSE -DPCGFX120 -DCBB_DEBUG
 -DMAXUSERS=80 -D_KERNEL -c ../../../../dev/pci/pccbb.c
 ../../../../dev/pci/pccbb.c: In function 'pccbb_checksockstat':
 ../../../../dev/pci/pccbb.c:881: error: 'sockevent' undeclared (first use in
this function)
 ../../../../dev/pci/pccbb.c:881: error: (Each undeclared identifier is
reportedonly once
 ../../../../dev/pci/pccbb.c:881: error: for each function it appears in.)
 *** Error code 1

 Stop in /usr/src/sys/arch/i386/compile/TEST (line 92 of
/usr/share/mk/sys.mk).

Dave

It's now fixed ... you've got to love OpenBSD Dev's :~)



Re: em(4) is just 10baseT

2010-11-16 Thread Fred Crowson
On 16 November 2010 22:24, Jochen Fabricius jfabric...@web.de wrote:
 Hi all,

 today I discovered that my network connection on an Acer Aspire X3900 is
only 10baseT. Never realized it before because the speed is enough (mostly
relatively slow internet connection, no large files to/from other machines).
System is 4.8-release.

 I checked:
 - wiring: even at shortest connection to the switch only 10baseT was
available
 - other switches
 - other machines with the same cables, same port on switch

 The PHY is a 82578, and as I understand the commit messages the support is
still basic, but shouldn't at least 100baseTX work? That's what all my
switches support. I have to check with a 1 GbE switch, but I don't know if I
can get one in the next time. Has anyone higher speeds working with this PHY?

 Before release I tried a 4.8 BETA on this machine, but I never checked for
network speed.

 Ifconfig output and dmesg below. Do you need anything else?

 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 90:fb:a6:46:db:e1
priority: 0
groups: egress
media: Ethernet autoselect (10baseT full-duplex,rxpause,txpause)
status: active
inet6 fe80::92fb:a6ff:fe46:dbe1%em0 prefixlen 64 scopeid 0x1
inet 10.0.0.100 netmask 0xff00 broadcast 10.0.0.255


Hi,

What does:

ifconfig em0 media

say?

Fred



Re: How to test if sound is working?

2010-11-08 Thread Fred Crowson
On 8 November 2010 17:10, James Hozier guitars...@yahoo.com wrote:
/snipped

 Patching file azalia_codec.c using Plan A...
 Hunk
 #1 failed at 64.
 1 out of 1 hunks failed--saving rejects to azalia_codec.c.rej
 done

 Dunno if that means anything.


The patching of the azailia_codec.c file failed, the code that could
not be patched was saved as a hunk to a file called
azailia_codec.c.rej - this file will tell what failed...

If it had worked it would have given you a message like:

Patching file azalia_codec.c using Plan A...
Hunk #1 succeeded at 64.
Hmm...  Ignoring the trailing garbage.
done

hth

Fred



Re: How to test if sound is working?

2010-11-08 Thread Fred Crowson
On 8 November 2010 22:04, James Hozier guitars...@yahoo.com wrote:

 $ cat azalia_codec.c.rej
 @@ -64,6 +64,13 @@
this-name = NULL;
this-qrks = AZ_QRK_NONE;
switch (this-vid) {
 +case 0x10134206:
 +this-name = Cirrus Logic CS4206;
 +if (this-subid == 0x106b4d00) {/* APPLE_MBP55 */
 +this-qrks |= AZ_QRK_GPIO_UNMUTE_1 |
 +AZ_QRK_GPIO_UNMUTE_3;
 +}
 +break;
case 0x10ec0260:
this-name = Realtek ALC260;
break;

 What does this mean? It looks like a snippet of code from the original patch
file?

Hi James,

For some reason patch(1) did not insert the code into azalia_codec.c
- I would guess that the reason was that patch file had some
formatting that patch(1) did not like. Have another go at creating and
patching the file, or you can either manually add those 7 new lines to
azailia_codec.c after line 77 of azaila_codec.c

Thus when you rebuilt your kernel - it did not have this new bit of code in.

hth

Fred



Re: How to test if sound is working?

2010-11-08 Thread Fred Crowson
On 8 November 2010 22:55, Fred Crowson fred.crow...@gmail.com wrote:
 For some reason patch(1) did not insert the code into azalia_codec.c
 - I would guess that the reason was that patch file had some
 formatting that patch(1) did not like. Have another go at creating and
 patching the file, or you can either manually add those 7 new lines to
 azailia_codec.c after line 77 of azaila_codec.c

Sorry the 7 new lines go in after line 66 of azailia_codec.c (version
1.151 from CVS).

Fred



Re: availability of Building Firewalls with OpenBSD and PF, 3rd ed.

2010-10-21 Thread Fred Crowson
http://marc.info/?l=openbsd-miscm=127426139631321w=2



Re: Looks like my 4.8 CD is in the mail!

2010-10-20 Thread Fred Crowson
My OpenBSD 4.8 disks turned up in the post this morning :~)

Awesome - thanks for another great release :~)

Fred



athn0: radio is disabled by hardware switch

2010-10-16 Thread Fred Crowson
Hi Misc@

I have a Lenovo S10-3 ideapad notebook, but I am unable to configure
the athn0 interface, if I try a scan, or try to configure the
interface I get the following messages:

Oct 16 15:49:51 s3 /bsd: athn0: radio is disabled by hardware switch
Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1

There is a switch on the side of the notebook - but it has no effect
the same is true of the Fn+F5 key sequence.

The wifi led is lit initially when the notebook is booted, but when it
gets to approximately the acpibat0 line on boot the led goes off and
stays off.

The device is identified as:
s3:fred ~ dmesg|grep ath
athn0 at pci2 dev 0 function 0 Atheros AR9285 rev 0x01: apic 2 int
18 (irq 11), address 90:4c:e5:c8:29:20
athn0: AR9285 rev 2 (1T1R), ROM rev 14

However from the man page there is a WB195 version which is a
WiFi/Bluetooth combo - which I believe is the device in this laptop.

Can anyone tell me if the WB195 device is supported and if it is how I
can use that driver to see if it fixes my issue?

thanks

Fred

dmesg and pcidump -v follow:
dmesg:
OpenBSD 4.8-current (GENERIC.MP) #456: Tue Oct  5 20:18:06 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Atom(TM) CPU N450 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE
real mem  = 1062621184 (1013MB)
avail mem = 1035210752 (987MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/03/10, BIOS32 rev. 0 @
0xfdca0, SMBIOS rev. 2.5 @ 0xdf010 (28 entries)
bios0: vendor LENOVO version 2ACN21WW date 02/03/2010
bios0: LENOVO S10-3
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP TCPA MCFG HPET APIC BOOT SLIC SSDT SSDT SSDT
acpi0: wakeup devices EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCIB(S3)
USB1(S3) USB2(S3) USB4(S3) EUSB(S3) LID_(S3)
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: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU N450 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (EXP1)
acpiprt2 at acpi0: bus -1 (EXP2)
acpiprt3 at acpi0: bus 9 (EXP3)
acpiprt4 at acpi0: bus -1 (EXP4)
acpiprt5 at acpi0: bus 17 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID_
acpibat0 at acpi0: BAT1 model L09S6Y14 serial   type LION oem SANYO
acpiac0 at acpi0: AC unit offline
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: IGD0
acpivout0 at acpivideo0: DD02
acpivout1 at acpivideo0: DD01
bios0: ROM list: 0xc/0xda00! 0xce000/0x1000 0xdf000/0x800!
cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
bridge mem address conflict 0xf050/0x10
pchb0 at pci0 dev 0 function 0 Intel Pineview DMI rev 0x00
vga1 at pci0 dev 2 function 0 Intel Pineview Video rev 0x00
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 (irq 11)
drm0 at inteldrm0
Intel Pineview Video rev 0x00 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02:
apic 2 int 22 (irq 255)
azalia0: codecs: Realtek ALC272
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2
int 16 (irq 11)
pci1 at ppb0 bus 5
mem address conflict 0xf052/0x1000
mem address conflict 0xf051/0x1
re0 at pci1 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL
(0x2480), apic 2 int 16 (irq 11), address 00:26:9e:ee:33:9e
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 2
int 18 (irq 3)
pci2 at ppb1 bus 9
mem address conflict 0xf010/0x1
athn0 at pci2 dev 0 function 0 Atheros AR9285 rev 0x01: apic 2 int
18 (irq 11), address 90:4c:e5:c8:29:20
athn0: AR9285 rev 2 (1T1R), ROM rev 14
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2
int 23 (irq 5)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB 

Re: athn0: radio is disabled by hardware switch

2010-10-16 Thread Fred Crowson
On 16 October 2010 18:37, Dmitrij Czarkoff czark...@gmail.com wrote:
 On Sat, Oct 16, 2010 at 5:12 PM, Fred Crowson fred.crow...@gmail.com wrote:
 Hi Misc@

 I have a Lenovo S10-3 ideapad notebook, but I am unable to configure
 the athn0 interface, if I try a scan, or try to configure the
 interface I get the following messages:

 Oct 16 15:49:51 s3 /bsd: athn0: radio is disabled by hardware switch
 Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
 Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
 Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1
 Oct 16 15:49:52 s3 /bsd: athn0: radio is disabled by hardware switch
 Oct 16 15:49:52 s3 /bsd: athn0: unable to reset hardware; reset status 1

 There is a switch on the side of the notebook - but it has no effect
 the same is true of the Fn+F5 key sequence.

 The wifi led is lit initially when the notebook is booted, but when it
 gets to approximately the acpibat0 line on boot the led goes off and
 stays off.

 Do You have any output on switching the hardware switch?

The hardware switch doesn't result in any output...

 It seems You have softkill. Try booting any linux livecd and play
 around rfkill utility.

I'll give that a go

Thanks

Fred



Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Fred Crowson
On 11 October 2010 23:49, Brad Tilley b...@16systems.com wrote:
 On 10/11/2010 04:59 PM, Martin Schrvder wrote:
 2010/10/11 Dmitry-T dmitr...@yandex.ru:
 How you use the OpenBSD as web servers and hosting platform?

 RTFAQ

 Permanently catch and kill processes?

 man ulimit

 What do you see when you man ulimit?

Isn't l33t speak for hey man your really pushing me up and over the limit?



Connecting to Oracle DB from OpenBSD

2010-10-07 Thread Fred Crowson
Hi misc@

Can any one share any wisdom on connecting to an Oracle DB from OpenBSD?

Thanks

Fred



Re: Connecting to Oracle DB from OpenBSD

2010-10-07 Thread Fred Crowson
On 7 October 2010 18:42, Jim Razmus j...@bonetruck.org wrote:

 Typically, applications leverage the Oracle client libraries to connect
 to the database.  Oracle does not provide these libraries for OpenBSD.

 A couple options:

 Perl DBI Proxy
 Linux Oracle client running under emulation
 Perhaps ODBC (however I believe this needs the Oracle client too)

 I have used the Perl DBI Proxy option successfully.  The caveat is
 increased complexity since you need the proxy running on a host with the
 Oracle client.  Just more parts to break/manage.

 One other thought, change databases to Postgresql, MySQL, or SQL Server
 which all have client software in the ports tree.

 Best regards,
 jim@


Hi,

Thanks for all the suggestions,  long-term I would love to move the DB
to Postgresql, but currently that is highly unlikely.

I was thinking that Linux emulation might be the way to go, but I'll
give the Perl DBI proxy a go, I agree that it's added complexity, but
that is marginally preferable to running a Linux/Apache2/PHP/Oracle
development server :~)

thanks for all the suggestions,

Fred



Re: 2-3 General Question

2010-09-22 Thread Fred Crowson
On 22 September 2010 21:51, LOL elvis4...@gmail.com wrote:
 Wow, Thanks very much for all the answer. When I sayed that I think it's
 stupid to install all the port tree just to search, I meant that the ports
 tree is for install object from source. So if you just use it for searching,
 you're not using it for the right thing ? But thanks for the pkg_mgr and
 pkg_info -Q, I didn't know about them. I asked if there was a bootloader
 because I would like to dual-boot with Windows 7.

 But thanks anyway, you respond too all my answer, you're all very great ! :)


I don't (thankfully :~P) have any Windows 7, but I have always found
using NTLDR to dual boot between windows and OpenBSD very satisfying.

hth

Fred
PS: my boot.ini when I used to dual boot my X41 Laptop:

[boot loader]
timeout=5
default c:\openbsd40.pbr=OpenBSD - a real OS ;~)
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=Microsoft Windows XP
Professional /fastdetect
c:\openbsd40.pbr=OpenBSD - a real OS ;~)



Re: random disconnects on openbsd4.7

2010-09-03 Thread Fred Crowson
2010/9/3 Marcos Laufer mar...@ipv4networks.com:
 Hi, this is what i get when connecting with ssh -vvv:

 srv1:/root{5240}# ssh -vvv obsd47
 OpenSSH_4.8, OpenSSL 0.9.7j 04 May 2006

/snipped

 obsd47:~{1}# debug1: channel 0: free: client-session, nchannels 1
 debug3: channel 0: status: The following connections are open:
   #0 client-session (t4 r0 i0/0 o0/0 fd 5/6 cfd -1)

 debug3: channel 0: close_fds r 5 w 6 e 7 c -1
 Read from remote host obsd47: Connection reset by peer
 Connection to obsd47 closed.
 debug1: Transferred: stdin 0, stdout 0, stderr 92 bytes in 2406.7 seconds
 debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
 debug1: Exit status -1
 debug1: compress outgoing: raw data 401, compressed 235, factor 0.59
 debug1: compress incoming: raw data 773, compressed 365, factor 0.47
 srv1:/root{5241}#

Does setting the ServerAliveInterval (see ssh_config(5)) make any difference?

hth

Fred



Re: random disconnects on openbsd4.7

2010-08-24 Thread Fred Crowson
2010/8/24 Marcos Laufer mar...@ipv4networks.com:
 Hello list, i'm having random logoffs from a recently installed OpenBSD 4.7
 installed on a DL360 server, and updated to stable.
 The symptoms are simple, i log in, wait a while, and i get suddenly logged
 off.

 It goes like this:

 obsd47:~{8}#
 Read from remote host obsd47: Connection reset by peer
 Connection to obsd47 closed.
 srv1:/root{4994}#
 srv1:/root{4994}#
 srv1:/root{4994}# ssh obsd47
 r...@obsd47's password:
 Last login: Mon Aug 23 22:04:07 2010 from srv1
 OpenBSD 4.7-stable (GENERIC.MP) #0: Fri Aug 20 16:38:15 ART 2010


Hi,

Using ssh -vvv might give some further clues to the issue.

hth

Fred



Re: Boot hang on 4.7/sparc64

2010-07-28 Thread Fred Crowson
On 28 July 2010 06:57, Nathan Sandver nsand...@gmail.com wrote:

 The swap partition I created at wd1b is correctly listed in /etc/fstab:
 # cat /mnt/etc/fstab
 /dev/wd1b none swap sw 0 0
 /dev/wd0a / ffs rw 1 1
 /dev/wd1a /usr ffs rw,nodev 1 2


What happens when you remove the wd1b line from fstab?



Latest snapshot bsd.rd causes Libretto to reboot

2010-07-16 Thread Fred Crowson
Hi misc@

The latest snapshot ramdisk kernels are causing my Libretto 70CT to
reboot - this is a new development in the saga related to PR6052.

To try and track down the issue, I built a ramdisk kernel with two
extra options DEBUG and SR_DEBUG, the resulting dmesg is shown below.

If anyone could explain why ramdisk is finding a 0 sized root
filesystem - I would appreciate any hints :~)

Thanks

Fred
PS should I send a copy of this to gn...@?

x41:fred ~/snaps cu -l /dev/cuaU0 -s19200
Connected
bsd.gdb
booting hd0a:bsd.gdb:
/-\|/3497332-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+402256|
[159+122272/-\|/-\|+105875/-\|/-]=0x3eff4c
entry point at 0x200120

memmap: 0-9fc00 10-102: 101c000
physload:  100-200 (16M) 8-9f (16M) 5c0-1000 (16M) 1000-101c
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2010 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.7-current (lib.rd) #0: Fri Jul 16 14:15:59 BST 2010
f...@x41.crowsons.com:/usr/src/sys/arch/i386/compile/lib.rd
cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 16478208 (15MB)
avail mem = 12292096 (11MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
apminfo: 20102, code f[]/f[], data f[], ept 6270
apm0 at bios0: Power Management spec V1.2
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xe4000/0xc000
cpu0 at mainbus0: (uniprocessor)
cpu0: F00F bug workaround installed
pci_mode_detect: mode 1 enable failed ()
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd: trying table 3
pckbd: table set of 3 failed
pckbd: trying table 2
pckbd: settling on table 2
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: IBM-DDLA-21620
wd0: 16-sector PIO, LBA, 1551MB, 3177216 sectors
wd0(wdc0:0:0): using BIOS timings
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pcic0 at isa0 port 0x3e0/2 iomem 0xd/16384
pcic0 controller 0: Intel 82365SL rev 1 has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
Xircom, CreditCard 10Base-T, PS-CE2-10, 2.10 (manufacturer 0x105,
product 0x10b) at pcmcia0 function 0 not configured
pcmcia1 at pcic0 controller 0 socket 1
pcic0: irq 9, polling enabled
biomask fde5 netmask fde5 ttymask 
Timecounters tick every 10.000 msec
rd0: fixed, 3800 blocks
dkcsum: bootdev=0xa000
dkcsum: BIOS drive 0x80 checksum is 0xc150947a
Disk GEOM 16/63/3152 - BIOS GEOM 64/63/788
timeout delayed -1
dkcsum: wd0 checksum is 0xc150947a
timeout delayed -1
dkcsum: wd0 matches BIOS drive 0x80
timeout delayed -1
dkcsum: wd0 is primary boot disk
timeout delayed -1
dkcsum: wd0 is alternate boot disk
timeout delayed -1
timeout delayed -2
root on rd0a swap on rd0b dump on rd0b
dev=0x1100 chrdev=0x2f00 rawdev=0x2f02
timeout delayed -1
panic: root filesystem has size 0
timeout delayed -1

syncing disks... done

dumping to dev 1101, offset 0
dump error 19

rebooting...
~
[EOT]



Re: PTY allocation error

2010-07-12 Thread Fred Crowson
On 12 July 2010 20:46, Leonardo Carneiro - Veltrac
lscarne...@veltrac.com.br wrote:
 I ONLY run the sshd that are allowed to connect from the Internet in
 non-standard ports. Anyone that matters to know knows on witch port the sshd
 is running.


And any one who doesn't just runs nmap to find port 222 :~)

Fred



Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide fault trap

2010-07-10 Thread Fred Crowson
On 10 July 2010 06:58, Joel Sing js...@openbsd.org wrote:
 Hi Ariel/Fred,

 Could one of you please try a current kernel with softraid disabled (boot
 with 'bsd -c' and type 'disable softraid' and then 'quit' at the UKC
prompt)
 and let me know if this resolves the issue?

 Thanks,

 Joel

Hi Joel,

Booting with softraid disabled does not solve the issue.

Hopefully, I'll find time over the next few weeks to do more investigations

thanks

Fred

Output of boot process follows:

Connected
 OpenBSD/i386 BOOT 3.02
boot bsd -c
booting hd0a:bsd:
/-\|/8127708-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-+1088136\
[61+365104|/-\|/-\|/-\|/-\|/-\|/+350630-\|/-\|/-\|/-\|/-\|/-]=0x978d18
entry point at 0x200120

[ using 716212 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-2010 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.7-current (GENERIC) #111: Sat Jul 10 00:33:14 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 16478208 (15MB)
avail mem = 6356992 (6MB)
User Kernel Config
UKC disable softraid
  9 softraid0 disabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high, charging
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xe4000/0xc000
cpu0 at mainbus0: (uniprocessor)
cpu0: F00F bug workaround installed
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: BI-MDDAL2-6102
wd0: 16-sector PIO, LBA, 1551MB, 3177216 sectors
wd0(wdc0:0:0): using BIOS timings
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: SB MIDI UART
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: SB Yamaha OPL3
wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
audio1 at wss0
pcppi0 at isa0 port 0x61
midi2 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pcic0 at isa0 port 0x3e0/2 iomem 0xd/65536
pcic0 controller 0: Intel 82365SL rev 1 has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
xe0 at pcmcia0 function 0 Xircom, CreditCard 10Base-T, PS-CE2-10
port 0x340/16, irq 9: address 00:80:c7:42:37:d9
pcmcia1 at pcic0 controller 0 socket 1
pcic0: irq 11, polling enabled
biomask e145 netmask e345 ttymask fbdf
vscsi0 at root
scsibus0 at vscsi0: 256 targets
root device softraid not configured
kernel: integer divide fault trap, code=0
Stopped at  cpu_switchto+0x76:  popl%ebx
ddb ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
 8  0  0  0  20x100200pfpurge
 7  0  0  0  20x100200pcic0,0,1
 6  0  0  0  20x100200pcic0,0,0
 5  0  0  0  20x100200apm0
 4  0  0  0  20x100200syswq
 3  0  0  0  20x100200idle0
 2  0  0  0  20x100200kmthread
*1  0  0  0  7   0swapper
 0 -1  0  0  3 0x80200  wdccmdswapper
ddb trace
cpu_switchto(d0202fe5,0,d0b7af08,d03ecf17,d09a1458) at cpu_switchto+0x76
end(0,0,0,efffeecc,efffeecc) at 0xd0b7aed8
(null)(d0d1c004,d0997aa0,0,73637376,3069) at 0
ddb boot poweroff

Attempting to power down...
~
[EOT]



Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds in integet divide fault trap

2010-07-09 Thread Fred Crowson
On 9 July 2010 10:20, Ariel Burbaickij ariel.burbaic...@gmail.com wrote:
 Hello all,
 following situation:
 I installed OpenBSD 4.7 on Toshiba Libretto 70 4.7 using hard drive donor
 installation method,
 i.e. I used the original Libretto harddrive and installed OpenBSD 4.7 from
 install47.iso
 on it using different machine. Space is left on the disk for hybernation
 information to be saved.
 Once installed back to Libretto 70 I am able to boot but only up to
 following point (last 3 messages from dmesg and message from kernel):
 vscsi0 at root
 scsibus0  at vscsii0: 256 targets
 softraid0 at root
 kernel: integer divide fault trap, code=0
 Stopped at cpu_switchto+0x76



Hi,

This is a known problem with the Libretto 70 - see PR6052

http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=6052

The ramdisks boot fine - but their is a subtle problem that has been
around since OpenBSD 4.3 and 4.4, and I have been to busy (and lazy)
to narrow down the bug that is causing this issue.

The Libretto happily runs OpenBSD 4.3 :~)

Thanks

Fred



Re: Zend Framework pear-PHPUnit2 on OpenBSD

2010-06-30 Thread Fred Crowson
On 30 June 2010 08:53, Stuart Henderson s...@spacehopper.org wrote:

 Talk to the port's maintainer.



ok, will do thanks.

Fred



Zend Framework pear-PHPUnit2 on OpenBSD

2010-06-29 Thread Fred Crowson
Hi Misc@

Is any one using PHPUnit for regression testing on OpenBSD?

I'm successfully running the Zend Framework on OpenBSD 4.7 and
would like to integrate PHPUnit for testing, I've installed the
pear-PHPUnit2-2.1.6p1 package, but it doesn't seem to include the
phpunit.php script - I'm sure I'm missing something obvious

Any clues appreciated.

thanks

Fred



Re: reset stalled usb-device

2010-05-27 Thread Fred Crowson
On Tue, May 25, 2010 at 11:23 PM, Andreas Mueller
andr...@stapelspeicher.org wrote:
 Hi list,

 I've got an USB-UMTS-stick (Huawei 169G, basically crippled Huawei 169 
 without sd-card slot and antenna port) and I'm using OpenBSD 4.6 as an 
 Internet gateway.
 This works most of the time, but after some time it just hangs. This
 happens independent from everything I could make my mind of, like load,
 interval etc. I did not find a way to reproduce.
 The pppd connect-script just fails and I assume this is a hardware-bug as
 a soft-reboot mostly doesn't help.
 I usually manual disconnect the stick and reattach it.

 This is pretty lame, so I am searching for a way to surpass this
 procedure. Is there a way to kinda-hardreset the usb-device? (Tools,
 kernel-module/patch?)


 Thanks in advance
 Andreas MCller

Hi Andreas,

My E169 hangs (usually due to signal dropping out on the move) it
usually connects again happily if I do:

 pkill pppd
 ifconfig ppp0 destroy

and then run my create and pppd scripts again, and if that doesn't
work - then a detach and reattach usually fixes the problem - not a
slick solution but it works for me on my E169.

hth

Fred



Re: Trying to set diskless(8) -- hanging in RPC timeout for server

2010-05-11 Thread Fred Crowson
On Tue, May 11, 2010 at 12:50 AM, Stefan Unterweger
stefan+open...@aleturo.com wrote:
 Hello!

 I'm trying to set up my server for diskless boots, as described
 in the diskless(8) manpage (at the moment, more or less mostly as
 an academic exercise, but I was planning to take my oldish
 laptops to some use this way).

 I went along the instructions from the manpage, setting up the
 various pieces as I was instructed; since I was already running
 a limited PXE boot environment so that I can do installs more
 rapidly, many of the steps were already done, having to setup
 only rarpd and nfs.

 However, when I now try to get the client actually to boot from
 this setup, it fails quite miserably when trying to mount the
 root filesystem via NFS. The kernel just hangs forever, printing
 RPC timeout for server 172.23.255.255 (0xac17) prog 10.

 After some research, I came up with an old posting from misc
 (http://archives.neohapsis.com/archives/openbsd/2004-01/0603.html),
 but without any solution. The problem described there is quite
 similar to the one I'm experiencing here, but without all the
 peculiarities that were used there (i.e., I'm using a stock
 4.6-release, stock-dhcpd, stock-everything). Especially, my
 client does the same thing as the Soekris in that old posting,
 i.e. trying to connect to the NFS server at the broadcast address
 172.23.255.255, instead of 172.23.12.2, which would be the real
 public address of the server. It _does_ connect to 172.23.12.2 on
 the original PXE bootstrap, but that might as well be because
 dhcpd tells it to do so, as far as I understood the process.

 Since the server also runs some other services, pf is running,
 which I first guessed might be the culprit. However, even with
 pass quick for everything coming from the particular client,
 nothing changes. tcpdump on the pflog-interface shows the sunrpc
 packets to be allowed, so I don't think that it is a PF issue.
 Disabling PF didn't change anything, for that matter.

 rpcinfo(8) shows everything up and running:
 | % rpcinfo -p
 |program vers proto   port
 | 102   tcp111  portmapper
 | 102   udp111  portmapper
 | 132   udp   2049  nfs
 | 133   udp   2049  nfs
 | 132   tcp   2049  nfs
 | 133   tcp   2049  nfs
 | 1000210   udp759  nlockmgr
 | 1000211   udp759  nlockmgr
 | 1000213   udp759  nlockmgr
 | 1000214   udp759  nlockmgr
 | 1000211   tcp776  nlockmgr
 | 1000213   tcp776  nlockmgr
 | 1000214   tcp776  nlockmgr
 | 1000241   udp992  status
 | 1000241   tcp726  status
 | 151   udp994  mountd
 | 153   udp994  mountd
 | 151   tcp   1011  mountd
 | 153   tcp   1011  mountd

 Especially the portmapper itself, as this one seems to be the
 service that the client seems unable to find. Or at least, that's
 how I interpret the prog 10 which scrolls continuously on
 the client's error message.

 I have already tried to have tcpdump have a look at what's going
 on, but unfortunately, I don't see very much in its output:
 | $ tcpdump -n -s 140 -i em0 host 172.23.13.138
 | tcpdump: listening on em0, link-type EN10MB
 | 01:29:31.853178 172.23.13.138.718  172.23.255.255.111: udp 96
 | 01:29:36.853392 172.23.13.138.718  172.23.255.255.111: udp 96
 | 01:29:41.853479 172.23.13.138.718  172.23.255.255.111: udp 96
 (ad infinitum)

 As far as I see it, the client sends some UDP packet to the
 portmapper, but does not get any response.

 Since it looks like a RPC/NFS issue, I tried to see if normal
 NFS access would yield similar issues, so I had the same client
 try to connect from some Linux livecd thingie. This succeeded on
 the first try---hence, NFS seems to work, at least in general.
 However, the straightforward nfs mount did connect using
 172.23.13.2 (i.e., the real address of the server), not the
 broadcast address. Trying to do a mount to
 172.23.255.255:/export/client resulted in an error message,
 namely Network is unreachable, but no blip comes up at the
 tcpdump above which was still running at this time, so it might
 as well have been Linux who won't allow to connect NFS on
 the broadcast address.

 The previously mentioned old mailinglist posting mentioned that
 rpc.bootparamd'd be needed, but starting it or not does not make
 any difference (and
http://www.netbsd.org/docs/network/netboot/intro.i386.html
 kind of implies that rpc.bootparamd is not needed on i386, and
 the manpage actively discourages it).


 I'm now quite at a loss now, and don't know where to look
 anymore. I'm sure it's just some small thing that I'm still
 overlooking, or some interoperatibility issue with some parts of
 that setup, but I don't know where to look anymore.

 Thanks in advance for any hints, or for just having the patience
 to read through to the end. :o)

 s//un

Hi,

What 

Re: Extra key-presses in X

2010-04-04 Thread Fred Crowson
On Sun, Apr 4, 2010 at 1:35 PM, Brad DeMorrow bdemor...@gmail.com wrote:
 I have an interesting problem with my laptop...
 When I start X, a lot of the keys that I press are duplicated.. ex, if I
 type 'ls' in xterm for example - I will most of the time get 'lls' instead..
 It appears to only happen when the keys that I press overlap... when I start
 typing at any decent rate..
 Issue doesn't happen when not running X.
 Has anyone seen this issue before?
 Running 4.6 release

 I know the general rule is 'upgrade to -current', so I'll do that when I get
 the chance...

 dmesg below:

snipped
 bios0: vendor TOSHIBA version Version 1.90 date 07/25/2003
 bios0: TOSHIBA Satellite Pro 6100
/snipped

I have seen this issue with a Toshiba Portege 2000 - it only happened
in X windows and I did not manage to find a fix.

Not much help...

Fred



Re: Joomla - MySQL Problem: Could not connect to MySQL

2010-03-08 Thread Fred Crowson
On Mon, Mar 8, 2010 at 9:07 PM, Jan malepa...@googlemail.com wrote:
 Hello all together,

 I installed PHP and MySQL on my box (running apache). When I try to install
 Joomla, the MySQL Database is recognized by the precheck of the install
 script. But when I try to connect to the database I get the following error
 msg:

 Unable to connect to the database: Could not connect to MySQL

 I'm a newbie using BSD. I tried really hard, but a simple mistake could be
 possible.

 I added the following 3 packets, installed MySQL and set the symbolic links:
 mysql-server-5.0.51ap1.tgz
 php5-core-5.2.6.tgz
 php5-mysqli-5.2.6.tgz

 I start mysql using the command:
 /usr/local/bin/mysqld_safe 

 I'm also able open the DB using mysql -u root -p.

What happens when you try:

mysql -h localhost -u root -p

But as the error messages says - Joomla cannot connect to your database (mysql).

Have a look in /var/www/logs/ especially the error logs and also in
the error logs for
mysql - they should help resolve this issue.

hth

Fred



Re: creating instalation CD

2010-01-22 Thread Fred Crowson
On 1/22/10, Nick Holland n...@holland-consulting.net wrote:

 Start at the top of faq5.html and start reading, don't just skip
 to the punchline you are after.  You blew past a lot of very
 important steps.

 You at least need to start from section 5.2, though 5.1 is totally
 brilliant writing, too.  A definite page turner. :)

 Nick.
 (ok, maybe it is more of a cure for insomnia...)

The faq and the man pages in OpenBSD are brilliant.

Thanks to you and the Developers.

All I need to do is learn how to read :~)

Fred



Lenovo S10-2 Fails to Boot: fatal page fault

2010-01-20 Thread Fred Crowson
Hi Misc,

Just been given an Intel Atom Lenovo S10-2 netbook, and I'm trying to
see if I can boot OpenBSD on it but it keeps panicing the message
(hand copied) is:

boot bsd.rd
booting hd0a: bsd.rd: 5823604+916112 [52+217184+203214] = 0x6d42dc
entry point at 0x200120
fatal page fault 96) in supervisor mode
trap type 6 code 0 eip d046b59c cs 8 eflags 10092 cr2 522bf343 cpl0
panic: trap type 6, code=0, pc=d046b59c

I'm booting from a USB pen drive that boots openbsd fine on my X41 laptop.

Any suggestions?

Thanks

Fred



Re: Lenovo S10-2 Fails to Boot: fatal page fault

2010-01-20 Thread Fred Crowson
On 1/20/10, Fred Crowson fred.crow...@googlemail.com wrote:
 Hi Misc,

 Just been given an Intel Atom Lenovo S10-2 netbook, and I'm trying to
 see if I can boot OpenBSD on it but it keeps panicing the message
 (hand copied) is:

 boot bsd.rd
 booting hd0a: bsd.rd: 5823604+916112 [52+217184+203214] = 0x6d42dc
 entry point at 0x200120
 fatal page fault 96) in supervisor mode
 trap type 6 code 0 eip d046b59c cs 8 eflags 10092 cr2 522bf343 cpl0
 panic: trap type 6, code=0, pc=d046b59c

 I'm booting from a USB pen drive that boots openbsd fine on my X41 laptop.

 Any suggestions?

 Thanks

 Fred

Should have added that I was trying the official 4.6 i386 CD, and a
snapshot dated 20 Jan from a USB memory stick both resulted in the
fatal page fault (6).

Thanks

Fred



Building Kernels

2009-12-27 Thread Fred Crowson
Hi Misc,

I'm building kernels to try a fix an issue with my Libretto [1], but
I'm getting the following error:

make: don't know how to make vers.o. Stop in
/usr/src/sys/arch/i386/compile/lib46noit.

This is as a result of the 19 Oct 09 change to Makefile.i386 [2]

If I change vers.o back to newvers in the Makefile it works - what I
am missing to get it to work without editing the Makefile.i386?

Thanks

Fred

[1] http://marc.info/?l=openbsd-bugsm=123248925609937
The issue is caused by the changes to the sys/dev/isa/it.c on 3 Apr 08
[2]http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/i386/conf/Makefile.i386.diff?r1=1.53;r2=1.54;f=h



Re: Building Kernels

2009-12-27 Thread Fred Crowson
On 12/27/09, Markus Hennecke markus-henne...@markus-hennecke.de wrote:
 Fred Crowson schrieb:
 Hi Misc,

 I'm building kernels to try a fix an issue with my Libretto [1], but
 I'm getting the following error:

 make: don't know how to make vers.o. Stop in
 /usr/src/sys/arch/i386/compile/lib46noit.

 This is as a result of the 19 Oct 09 change to Makefile.i386 [2]

 If I change vers.o back to newvers in the Makefile it works - what I
 am missing to get it to work without editing the Makefile.i386?

 You need an up to date config(8).

 Kind regards,
Markus

Thanks! That's solved it.

Fred



Re: Hard disk errors - OpenBSD reports errors, SMART says all is well.

2009-12-26 Thread Fred Crowson
On 12/26/09, John O'Connor j...@jpoc.org wrote:
 Hi,

 I am getting some strange errors from an openBSD system that I am
 using as a backup server.

 I transfer some files onto the system via ftp. (1260 files with a
 total size of 60G.)

 The transfer works OK and then I try to check the newly arrived
 files.

 The last file in the set is an md5 file of the whole set.

 I now try:

 sum -c abc.md5  result.txt

 I get an error.

 First, I see a number of IO errors and then finally a message that
 the file system is full. (It is not.)

 sum: abc.md5: read error: Input/output error

 /home2: write failed, file system is full

A dmesg would be good, and what is the output from:

disklabel(8), fdisk(8) and df -h (df(1))

It might give some clues as to the issue you have.

hth

Fred



Re: problems with pgt

2009-12-20 Thread Fred Crowson
On 12/20/09, Kyle E arad...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello list,

 I have recently installed 4.6 via PXE and FTP. The hardware is a Soekris
 net4501. I am having a problem getting a mini-pci Intersil Prism
 GT/Duette wireless card using the pgt driver to work properly. All
 other network interfaces are working fine.

 It appears to associate to the access point (the IP is manually assigned):

 pgt0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 lladdr 00:0c:41:18:c7:bd
 priority: 4
 groups: wlan egress
 media: IEEE802.11 autoselect (OFDM24)
 status: active
 ieee80211: nwid XX chan 5 bssid 00:21:29:ae:56:9d nwkey not
 displayed 100dBm
 inet 192.168.1.50 netmask 0xff00 broadcast 192.168.1.255
 inet6 fe80::20c:41ff:fe18:c7bd%pgt0 prefixlen 64 scopeid 0x6

 and I can see packets being transmitted on the interface with tcpdump:

 tcpdump: listening on pgt0, link-type EN10MB
 16:41:14.406814 arp who-has 192.168.1.1 tell 192.168.1.50
 16:41:15.291450 arp who-has 192.168.1.1 tell 192.168.1.50

 I can also use wireshark on another computer to see ARP queries coming
 from the pgt0 interface, and the replies being sent back to it.
 In any case, it seems that the pgt0 interface cannot receive any data.

 Any ideas?
 Thanks very much for any help.

How is pf configured?

Fred



Re: Help

2009-12-19 Thread Fred Crowson
On 12/20/09, A.I. siu...@yahoo.com wrote:
 Hi

 I am OpenBSD user. I have new computer AMD 4 core + 16G ram . I install
 OpenBSD amd 64bit 4.6 version . I find out openbsd work with 2.6G ram by
 dmesg. How to let OpenBSD work with 16G Ram.

 Suen

The following thread should help:

http://marc.info/?t=12456707794r=1w=2

Fred



Re: ATutor

2009-12-16 Thread Fred Crowson
On 12/16/09, Predrag Punosevac punoseva...@gmail.com wrote:
 Dear All,

 Is anybody using Learning Management System ATutor? The only LMS I
 noticed in ports is Moodle which is terribly outdate. I looked into
 installation of ATutor and it seems to me that it is just of bunch of
 xhtml, java-script, and php files which have to up unloaded in the right
 directory and correctly linked with MySQL. Obviously ATutor also
 requires PHP module for Apache.

 Does anybody see the value of porting ATutor?

 Best,
 Predrag

 P.S. Do people have any experience with Drupal as LMS? Does it have a
 grade-book?

What's wrong with Moodle?  I know that the packaged version is behind the
current release but you can upgrade quite easily.

And it runs nicely in the httpd chroot.

Fred



Re: ATutor

2009-12-16 Thread Fred Crowson
On 12/16/09, Fred Crowson fred.crow...@googlemail.com wrote:
 On 12/16/09, Predrag Punosevac punoseva...@gmail.com wrote:
 Dear All,

 Is anybody using Learning Management System ATutor? The only LMS I
 noticed in ports is Moodle which is terribly outdate. I looked into
 installation of ATutor and it seems to me that it is just of bunch of
 xhtml, java-script, and php files which have to up unloaded in the right
 directory and correctly linked with MySQL. Obviously ATutor also
 requires PHP module for Apache.

 Does anybody see the value of porting ATutor?

 Best,
 Predrag

 P.S. Do people have any experience with Drupal as LMS? Does it have a
 grade-book?

 What's wrong with Moodle?  I know that the packaged version is behind the
 current release but you can upgrade quite easily.

 And it runs nicely in the httpd chroot.

 Fred

Sorry should have said have you asked on ports@ about bring moodle up
to the latest version?

Thanks

Fred
PS I would added to my own to-do list but I'm already behind on
getting netbeans uptodate



Re: ATutor

2009-12-16 Thread Fred Crowson
On 12/16/09, Predrag Punosevac punoseva...@gmail.com wrote:
 No, I have not asked on ports about updating. I contacted privately the
 port maintainer who promised that he will update port pending on his
 time. Fortunately, he happens to work on more interesting things than
 updating Moodle. Since he is busy and I need the port I fell it is up
 to me to send the diff which people will test.

 Well guess what? I did little bit of research and asking around so
 I prefer to spend my time on ATutor. That is just a personal preference.

 The Moodle in present state is useless as it doesn't contain the
 grade-book module. The grade-book has been introduced in Moodle one or
 two releases after the Kev's port. Some of more interesting features
 of Moodle according to my source are closed source and needs to be
 purchased. I am all ears and I would love to be contradicted and
 provided with other testimonials. ATutor feels lot simpler than Moodle
 but I might be very wrong.

 Most Kind Regards,
 Predrag Punosevac

I've never used ATutor, so I cannot give any opinion, but I have been
running moodle on OpenBSD for about two years so that I can play with
it's features that I am not allow to play with on the Moodle server
that is run by the school I work at.

I've been happy with moodle on OpenBSD and upgrading was as simple as
instructions on the moodle website, and as a teacher I like the fact
that moodle tries to consider pedagogy when implementing features.

Good luck with what ever you choose.

Fred



Re: ioctl error

2009-12-11 Thread Fred Crowson
On 12/11/09, Ismail OZATAY ism...@ismailozatay.net wrote:
  Fred Crowson yazmD1E:

   On 12/10/09, Ismail OZATAY   ism...@ismailozatay.net   wrote:

 Hi all ,

 Today my openbsd server started to send some errors to syslog that i
 could not find anything about this error.

 symon: if(mtd0) failed (ioctl error)

 what does it mean ?

 Regards

 ismail

 http://www.lmgtfy.com/?q=symon+system+monitor
   might be a good start...

 Dear Fred ,

 http://www.lmgtfy.com is a usefull web site for kids and handicaps. You
 could advice me to read something about symon. Never suggest it again or if

I would never condescend to give you advice, but I would recommend reading:

http://www.lmgtfy.com/?q=OpenBSD+mailing+list+etiquette

 you do not want to help anybody do not reply these posts, ok ? Probably i
 will never use Regards again...

I am sure Regards will miss your company.

Thanks

Fred



Re: ioctl error

2009-12-10 Thread Fred Crowson
On 12/10/09, Ismail OZATAY ism...@ismailozatay.net wrote:
 Hi all ,

 Today my openbsd server started to send some errors to syslog that i
 could not find anything about this error.

 symon: if(mtd0) failed (ioctl error)

 what does it mean ?

 Regards

 ismail

http://www.lmgtfy.com/?q=symon+system+monitor

might be a good start...



Re: pf route-to doesn't work for me after upgrading to 4.6

2009-12-04 Thread Fred Crowson
On 12/4/09, Alexander Bochmann a...@lists.gxis.de wrote:
 Hi,

 did anything change in regard to pf rules with the
 route-to option in recent versions of OpenBSD?

 I've just reinstalled an old system that was running
 OpenBSD 3.9 with 4.6, and gave it my old pf rulesets.

 There is a rule that is supposed to send all traffic
 originating from a certain local network into a tunnel
 instead of to the default gateway. Which it did with 3.9.

 Now it seems to do nothing - outgoing traffic just
 follows the default route, regardless of the route-to
 rule.

 It was basically something like this:

 pass in quick on $int_if route-to $vpn_if from $special_net \
   to ! localnets keep state

 (The relevant traffic comes in through $vpn_if by itself.)

 Also tried binding the rule on the external interface,
 and using the route-to syntax with gateway address,
 but that didn't work either.

 Alex.


pf has virtually been rewritten in that time

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/pf.c



Re: Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-30 Thread Fred Crowson
On 11/29/09, Stuart Henderson s...@spacehopper.org wrote:
 Here is the set of files involved with this commit;
 http://anoncvs.estpak.ee/cgi-bin/cgit/openbsd-src/commit/?id=7ca5b93e36fc8d27fe992c1deb942debc710aeea

 Note that you will also need to revert the change to the kernel
 configuration file.

 (Thanks Rivo for the useful things you run on your anoncvs mirror :-)

Hi Stuart,

Thanks for the link - I spent the weekend building kernels - but I've
not got it past 4.3-current as of 3 Apr 08 :~(

Hopefully this weekend coming I'll get round to get the libretto to
boot a new kernel.

Fred



Re: Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-28 Thread Fred Crowson
Hi Misc@

Well the Libretto successfully boots with a kernel from the 3 April
2008 and crashes with a kernel built from 4 April 2008.

Using:

cvs up -D3 Apr 2008 and cvs up -D4 Apr 2008

to update my source tree.

The list of files that changed between the two days are:

P arch/amd64/conf/GENERIC
P arch/i386/conf/GENERIC
P arch/sparc64/dev/ebus_mainbus.c
P dev/isa/it.c
P dev/isa/itvar.h
P dev/pci/if_bge.c
P dev/pci/if_bgereg.h
P dev/pci/if_lii.c
P dev/pci/if_txp.c

I'm guessing the changes to dev/isa/it.c or  dev/isa/itvar.h are
responsible but I've no idea how to debug this any further.

I'm guessing I need to somehow back out the changes to 1.28 of it.c
and 1.8 of itvar.h in the current versions of the file and see if that
allows the Libretto to boot - but my brain cannot cope with that
tonight :~(

I'll report back  if it works :~)

Fred



Re: Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-23 Thread Fred Crowson
On 11/18/09, Hou, Ruoyu phoenix...@gmail.com wrote:
 All tests ended with
 kernel: integer divide fault trap, code=0
 Stopped atcpu_switchto+0x76:  popl%ebx

 When softraid disabled
 ddbtrace
 cpu_switchto(d073cfa0,a26000,d0a20f18,d0a20ef8,d0202f41) at
 cpu_switchto+0x76
 (null)(d020241,0,d0a20f18,d037cab8,d0854018) at 0
 end(d0746c60,d073cfa0,0,d073cf57,0) at 0xd0a20ef8
 config_rootfound(d073cfa0,0,d0a20fa0,d0360adf,2) at config_rootfound+0x3c
 main(0,0,0,0,0) at main+0x4b8

 When acpi disabled/apm disabled/apm  acpi disabled
 ddbtrace
 cpu_switchto(d0851534,d0c17800,d0a20f18,d03763c9,d0c17800) at
 cpu_switchto+0x76

 cfdata(d0c17800,0c17800,0,0,d15ca984) at cfdata+0x44e8
 config_attach(0,d084a0a4,0,0,d073cf57) at config_attach+0xfd
 config_rootfound(d073cfa0,0,d0a20fa0,d0360adf,2) at config_rootfound+0x27
 main(0,0,0,0,0) at main+0x4b3

Hi misc@,

I tried this again with 23 Nov 09 snapshot, but it is still crashing
with an integer divide fault trap, as per PR 6052 [1].

The verbose output of dmesg and the ps and trace are included below [2].

The Libretto 70CT works fine with OpenBSD 4.3.  This is not a major
issue, I'm just fond of my Libretto 70CT and want it running the
latest and greatest OS with 4.6 :~)  I am happy to continue debugging
this issue but would be keen to have any pointers in the right
direction.

Thanks,

Fred

[1] http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=6052
[2]The verbose output is shown below:

Script started on Mon Nov 23 23:11:23 2009
x41:fred ~ cu -l /dev/cuaU0 -s19200
Connected
 OpenBSD/i386 BOOT 3.02
boot bsd -c
booting hd0a:bsd:
/-\|/6774012-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+1054568
[52+352880|/-\|/-\|/-\|/-\|/-\|/+335902-\|/-\|/-\|/-\|/-\|/]=0x81f89c
entry point at 0x200120

[ using 689208 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-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.6-current (GENERIC) #391: Mon Nov 23 05:29:52 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 16478208 (15MB)
avail mem = 7233536 (6MB)
User Kernel Config
UKC verbose
autoconf verbose enabled
UKC quit
Continuing...
 probing for mainbus0
 mainbus probe returned 1
mainbus0 at root
 probing for pci*
 pci probe returned 0
 probing for amdmsr0
 amdmsr probe returned 0
 probing for isa0
 isa probe returned 0
 probing for eisa0
 eisa probe returned 0
 probing for bios0
 bios probe returned 1
 probing for cpu0
 cpu probe returned 0
 probing for ioapic*
 ioapic probe returned 0
 probing for esm0
 esm probe returned 0
 bios probe won
bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
 probing for apm0
 apm probe returned 1
 probing for mpbios0
 mpbios probe returned 0
 probing for pcibios0
 pcibios probe returned 0
 probing for acpi0
 acpi probe returned 0
 apm probe won
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 1%
apm0: AC on, battery charge low, charging
 probing for mpbios0
 mpbios probe returned 0
 probing for pcibios0
 pcibios probe returned 0
 probing for acpi0
 acpi probe returned 0
 no winning probe
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xe4000/0xc000
 probing for pci*
 pci probe returned 0
 probing for amdmsr0
 amdmsr probe returned 0
 probing for isa0
 isa probe returned 0
 probing for eisa0
 eisa probe returned 0
 probing for cpu0
 cpu probe returned 1
 probing for ioapic*
 ioapic probe returned 0
 probing for esm0
 esm probe returned 0
 cpu probe won
cpu0 at mainbus0: (uniprocessor)
cpu0: F00F bug workaround installed
 probing for pci*
 pci probe returned 0
 probing for amdmsr0
 amdmsr probe returned 0
 probing for isa0
 isa probe returned 1
 probing for eisa0
 eisa probe returned 0
 probing for ioapic*
 ioapic probe returned 0
 probing for esm0
 esm probe returned 0
 isa probe won
isa0 at mainbus0
 probing for isadma0
 probing for isadma0 succeeded
isadma0 at isa0
 probing for ast0
 probing for ast0 failed
 probing for com0
 probing for com0 succeeded
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
 probing for com1
 probing for com1 succeeded
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 probing for com2
 probing for com2 failed
 probing for cy0
 probing for cy0 failed
 probing for pckbc0
 probing for pckbc0 succeeded
pckbc0 at isa0 port 0x60/5
 probing for pckbd*
 pckbd probe returned 2
 probing for pms*
 pms probe 

Re: disk geometry problem

2009-10-11 Thread Fred Crowson
On 10/11/09, Michael ber...@opensuse.us wrote:
 I think I found the source of several problems on my hd.
 I have an 40 gig hd (WDC WD400BB-75DEA0) that right now has:
 #1: primary partition with Windows 2kpro
 #2: extended partition with Windows D partition, PCLinuxOS, and extra
 ext2fs partitions for files
 #3. end of hd has my primary partition with OpenBSD 4.4

 OpenBSD and dos(partition magic) both show geometry of 4863,255,63
 linux shows geometry of 4865,255,63). Actual sectors (even printed on
 hd) is 78125000, but linux shows 78156225.

 I don't know what to do to fix that.

 The systems have been running ok, but I can't mount the PCLinuxOS
 partition from OpenBSD and when trying to install 4.5 or 4.6, I get
 the ERR M problem.

 I use Windows strictly for powerpoint files and I don't get on the
 internet with it, linux for flash and other junk like that. OpenBSD is
 my main running system.

 Any help greatly appreciated. I tried google, but didn't see anything
 to fix this.

How are you getting the various OS to boot?

A bit more info would be a help...

Fred



Re: NUT UPS monitor APC Back UPS CS-350 (nut-2.2.2p1)

2009-10-08 Thread Fred Crowson
On 10/7/09, Brynet bry...@gmail.com wrote:
/snipped
 Also, if this program supports serial UPS devices.. and if it happened
 to attach as a ucom(4) device.. the proper device node would be
 /dev/cuaU0 not /dev/ttyU0.

 See tty(4) and ucom(4) for more info.

Thanks for the correction - it should have been the calling unit cua*

Fred



Re: NUT UPS monitor APC Back UPS CS-350 (nut-2.2.2p1)

2009-10-07 Thread Fred Crowson
On 10/6/09, Zbigniew li...@ispid.com.pl wrote:
 Hallo,

 Following the tips found at https://calomel.org/nut_ups.html I was trying to
 make NUT operate APC Back UPS CS-350. The device introduces itself as:

 #v+
   ugen0 at uhub0 port 1 American Power Conversion Back-UPS CS 350
 FW:807.q7.I
   USB FW:q7 rev 1.10/0.06 addr 2
 #v-


 My config:

 #v+
 [apc]
 driver = usbhid-ups
 port = /dev/ugen0.00
 pollfreq = 60
 desc = Back UPS CS-350
 #v-

Your port looks incorrect for OpenBSD.

It should look like:  /dev/ttyU0

see: tty(4) for more info

Fred



Re: Defending OpenBSD Performance

2009-09-17 Thread Fred Crowson
On 9/15/09, 4625 4625...@gmail.com wrote:
 On Mon, 14 Sep 2009 13:39:46 -0400 Tom Smith wrote:

 But, I'd like to have hard technicaly data to demonstrate that while
 Linux and FreeBSD may scale to a gazillion CPUs and PetaBytes of
 Memory that OpenBSD makes a fine firewall or desktop or mail server,
 etc and point out that the old article so many people cite is indeed
 *old*.

 Firewall and mail server - may be. But desktop would not be so fine.


I've been using OpenBSD as my main desktop OS since 2.9 - it rocked then
and it is awesome now.

Fred
PS YMMV - but for me it is far more stable, flexible, reliable, secure, and
fun to use.
PPS Thanks to the OpenBSD team I have an excellent desktop OS that I can
also run servers with.



Re: gcc to 4.1 openbsd

2009-09-02 Thread Fred Crowson
On 8/17/09, Yamidt Henao yamidthe...@gmail.com wrote:
 Hi,

 where I find the gcc version for OpenBSD 4.1.

 Best Regards,

 Y.H

By ordering OpenBSD 4.1 CD set from  http://www.openbsd.org/orders.html

tbox:fred ~ gcc --version
gcc (GCC) 3.3.5 (propolice)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

tbox:fred ~ uname -a
OpenBSD tbox.crowsons.net 4.1 GENERIC#1435 i386

hth

Fred



Re: IrDA

2009-09-02 Thread Fred Crowson
On 8/30/09, soko.tica soko.t...@gmail.com wrote:
 On 8/28/09, Mike Hammer mikeham...@fastmail.fm wrote:

 Does anyone have IrDA working on a T60 Thinkpad?

 FAQ http://openbsd.org/i386.html#hardware
 says:

 Unsupported Hardware:
 Infrared devices, such as commonly found on laptops


I have in the past successfully used the birda package on i386 laptops
to get IrDA working with OpenBSD.

YMMV - I've not done this recently...

hth

Fred



Re: Problems using SUNIX 8 serial port card

2009-08-04 Thread Fred Crowson
On 8/4/09, Laurent Salle lsa...@taciturne.net wrote:
 I'm having problems using a Sunix PCI card with 8 serial port on a
 Soekris board. This hardware will be used as a console server: each of
 the 8 serial ports will be attached  to the console of other Soekris box
 to provide out of band management.

 When I attach the console port of a managed box to any port from 2 to 8
 of the 8x serial card, I get garbage.

 If I attach the same hardware (cable and managed box) to the first port
 of the 8x serial card, I get clear text.

 The command I use for the firs port is :

 # cu -l cua03 -s 19200

 and everything works fine.

 To use the 8th port, I use:

 # cu -l cua0a -s 19200

 and I get garbled text, almost like when the baudrate is not correctly set.

 This drive me to thing that my problem comes from the way I create the
 missing /dev/ files. Right after the install, the /dev/ folder contains
 only files for 4 ports:

 # cd /dev
 # ls cua0* tty0*
 cua00 cua01 cua02 cua03 tty00 tty01 tty02 tty03
 #

 I'm creating the missing dev files with the following commands:

 # cd /dev/
 # /dev/MAKEDEV tty04
 # /dev/MAKEDEV tty05
 # /dev/MAKEDEV tty06
 # /dev/MAKEDEV tty07
 # /dev/MAKEDEV tty08
 # /dev/MAKEDEV tty09
 # /dev/MAKEDEV tty0a
 # ls -l cua0* tty0*
 crw-rw  1 uucp  dialer8, 128 Aug  4 22:35 cua00
 crw-rw  1 uucp  dialer8, 129 Aug  4 22:35 cua01
 crw-rw  1 uucp  dialer8, 130 Aug  4 22:35 cua02
 crw-rw  1 uucp  dialer8, 131 Aug  4 22:35 cua03
 crw-rw  1 uucp  dialer8, 132 Aug  4 22:43 cua04
 crw-rw  1 uucp  dialer8, 133 Aug  4 22:43 cua05
 crw-rw  1 uucp  dialer8, 134 Aug  4 22:43 cua06
 crw-rw  1 uucp  dialer8, 135 Aug  4 22:43 cua07
 crw-rw  1 uucp  dialer8, 136 Aug  4 22:43 cua08
 crw-rw  1 uucp  dialer8, 137 Aug  4 22:43 cua09
 crw-rw  1 uucp  dialer8, 138 Aug  4 22:43 cua0a
 crw---  1 root  tty   8,   0 Aug  4 22:44 tty00
 crw-rw  1 uucp  dialer8,   1 Aug  4 22:35 tty01
 crw-rw  1 uucp  dialer8,   2 Aug  4 22:35 tty02
 crw-rw  1 uucp  dialer8,   3 Aug  4 22:35 tty03
 crw-rw  1 uucp  dialer8,   4 Aug  4 22:43 tty04
 crw-rw  1 uucp  dialer8,   5 Aug  4 22:43 tty05
 crw-rw  1 uucp  dialer8,   6 Aug  4 22:43 tty06
 crw-rw  1 uucp  dialer8,   7 Aug  4 22:43 tty07
 crw-rw  1 uucp  dialer8,   8 Aug  4 22:43 tty08
 crw-rw  1 uucp  dialer8,   9 Aug  4 22:43 tty09
 crw-rw  1 uucp  dialer8,  10 Aug  4 22:43 tty0a
 #

 All hardware is new, and I've tried with two different cards of the same
 model.

 I'm runing OpenBSD 4.5 stable, but I get identical results with OpenBSD
 4.4 stable (26/04/2009).

 I've tried using directly mknod instead of using MAKEDEV.

 Do I have anything to do to use this card excepted the creation of the
 /dev/ttyOx and /dev/cua0x files ?

 Does any modification has to be done to the kernel with a config -e /bsd
 command ?

 More details about the card:

 http://www.sunix.com.tw/cc/en/detail.php?class_a=29prod_id=366
 MN: SER4066RM

 The dmesg is below:

Thanks for the dmesg.

What's the output from: grep tty00 /etc/ttys on the soekris boxes that
you are connecting to the card?

For my PCEngines alix board I needed to change the baud rate from the
standard 9600:

alix:fred ~ grep tty00 /etc/ttys
tty00   /usr/libexec/getty std.38400  vt220   on  secure
alix:fred ~

HTH

Fred



Re: iwi annoyance when changing AP

2009-07-23 Thread Fred Crowson
On 7/23/09, Jeremy Chase jeremych...@gmail.com wrote:
 David,

 You are right. The way I laid out the example it would go back to
 dlink. For the sake
 of argument assume that I have also edited /etc/hostname.iwi0 dhcp
 nwid attwifi, as that doesn't seem to work either.

 But, what you are saying to do is to use ifconfig to setup the network
 connection
 and then dhclient once you can get 'status: active' in ifconfig. The
 problem I have is
 that I can't reliably get ifconfig to get an active status. It does
 work sometimes, but
 for some reason it is not consistent.

 Jeremy

Hi Jeremy,

iwi does seem to be a bit picky about changing access points without a
reboot (I've though about replacing it on my laptop with another
card), what usually works for me is the following sequence of
commands:

x41:fred ~ sudo ifconfig iwi0 down
x41:fred ~ sudo ifconfig iwi0 nwid myaccesspoint nwkey mykey
x41:fred ~ sudo ifconfig iwi0 scan
x41:fred ~ sudo /sbin/dhclient iwi0

Doing the scan after changing settings but before issuing a dhclient
seems to get iwi into an active state.

HTH

Fred



fonts in NetBeans

2009-07-21 Thread Fred Crowson

Hi Misc@

I'm wondering if someone can point me in the right direction, I've just 
upgraded from a 4.5-snapshot to a 4.6-current snapshot and installed 
netbeans-5.5p5 from snapshot packages.


The problem I've got is the output window of netbeans is displaying 
small squares instead of fonts suggesting that it cannot find one of the 
font libraries, and fontconfig seems to have been removed - can any one 
suggest how I can go about debugging this?


Thanks

Fred

x41:fred /etc/X11 dmesg|head -2
OpenBSD 4.6-current (GENERIC) #62: Wed Jul 15 17:27:21 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

x41:fred /etc/X11 uname -a
OpenBSD x41.crowsons.com 4.6 GENERIC#62 i386



Re: fonts in NetBeans

2009-07-21 Thread Fred Crowson

James Hartley wrote:
On Tue, Jul 21, 2009 at 12:09 PM, Fred Crowson open...@crowsons.net 
mailto:open...@crowsons.net wrote:


The problem I've got is the output window of netbeans is displaying
small squares instead of fonts suggesting that it cannot find one of
the font libraries, and fontconfig seems to have been removed - can
any one suggest how I can go about debugging this?


This has been reported before:

http://marc.info/?l=openbsd-miscw=2r=1s=square+netbeansq=b 


Thanks for the pointer - the problem is the same, but it has not been 
resolved - I'm looking through a ktrace to see if that will give any 
pointers as to the issue.


Fred



Re: fonts in NetBeans

2009-07-21 Thread Fred Crowson

James Hartley wrote:
On Tue, Jul 21, 2009 at 12:09 PM, Fred Crowson open...@crowsons.net 
mailto:open...@crowsons.net wrote:


The problem I've got is the output window of netbeans is displaying
small squares instead of fonts suggesting that it cannot find one of
the font libraries, and fontconfig seems to have been removed - can
any one suggest how I can go about debugging this?


This has been reported before:

http://marc.info/?l=openbsd-miscw=2r=1s=square+netbeansq=b 
http://marc.info/?l=openbsd-miscw=2r=1s=square+netbeansq=b


Searching marc I also found:

http://marc.info/?l=openbsd-portsm=122167437629408w=2

So I'll take this off line.

Thanks

Fred



Re: EuroBSDCon 2009, Cambridge, UK

2009-07-15 Thread Fred Crowson
On 7/15/09, Rod Whitworth glis...@witworx.com wrote:
 On Tue, 14 Jul 2009 19:56:35 +0200, Henning Brauer wrote:

* Sevan / Venture37 ventur...@gmail.com [2009-07-14 19:50]:
 Still some time to go but wondering, who's going?
 I'm very much looking forward to attending for the time.

otto, tedu and I will be speaking. enough incentive? :)

 I didn't even know that when I committed the time and money to be there
 but if I was wavering that would have swayed me but I'm still hoping
 that I can get to meet a whole bunch of other OpenBSD users who aren't
 on the speaker list.

 After all, the cost of a return flight from Australia plus transport in
 UK and conference costs make it an expensive weekend and I'd like to
 come back with more faces to put with names.

 So, see you all there!

I've paid for my ticket - this will be my nearest EuroBSD Conference -
I'll not need a flight to this one :~)

Fred



  1   2   3   >