Re: -current firefox segfault: pledge "", syscall 289

2024-02-11 Thread Dorian Büttner

I'm not seeing this in firefox, but in kdevelop when creating a new
project (hit the finish button to finally do it). Not hte pledge issue,
but the tmp dir thing

remarkable xterm output running kdevelop &

sysctl() call failed with code 22
sysctl() call failed with code 22
sysctl() call failed with code 0
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-user'
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects:
"org.freedesktop.DBus.Error.Spawn.PermissionsInvalid"
 "The permission of the setuid helper is not correct"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects:
"org.freedesktop.DBus.Error.Spawn.PermissionsInvalid"
 "The permission of the setuid helper is not correct"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects:
"org.freedesktop.DBus.Error.Spawn.PermissionsInvalid"

[etc, then lots of WARNINGS]

kdevelop:/usr/local/llvm16/lib/../lib/libLLVM-16.so:
/usr/lib/libLLVM.so.8.0 : WARNING:
symbol(_ZTVNSt3__110__function6__funcIN4llvm2cl3optINS2_17PassSummaryActionELb0ENS3_6parserIS5_EEEUlRKS5_E_ENS_9allocatorISB_EEFvSA_EEE)
size mismatch, relink your program
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options



gdb /usr/local/bin/kdevelop kdevelop.core:

GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd7.4"...
(no debugging symbols found)

Core was generated by `kdevelop'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.27.1...done.
Loaded symbols for /usr/lib/libpthread.so.27.1


[many things work well]

Reading symbols from /usr/local/lib/libavahi-client.so.0.2...done.
Loaded symbols for /usr/local/lib/libavahi-client.so.0.2
Reading symbols from /usr/libexec/ld.so...Error while reading shared
library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be
2) [in module /usr/libexec/ld.so]

[many things work well again]

Reading symbols from /usr/lib/libcurses.so.15.0...done.
Loaded symbols for /usr/lib/libcurses.so.15.0
#0  thrkill () at /tmp/-:2
2   /tmp/-: No such file or directory.
    in /tmp/-



backtrace:

#0  thrkill () at /tmp/-:2
#1  0x1dd61efc52c4b45b in ?? ()
#2  0x0b710f5d6d72 in _libc_abort () at
/usr/src/lib/libc/stdlib/abort.c:51
#3  0x0b71b79e1744 in llvm::report_fatal_error ()
   from /usr/local/llvm16/lib/../lib/libLLVM-16.so
#4  0x0b71b79e157d in llvm::report_fatal_error ()
   from /usr/local/llvm16/lib/../lib/libLLVM-16.so
#5  0x0b71b79cc66f in (anonymous
namespace)::CommandLineParser::addOption
    () from /usr/local/llvm16/lib/../lib/libLLVM-16.so
#6  0x0b71b79bf060 in (anonymous
namespace)::CommandLineParser::registerSubCommand () from
/usr/local/llvm16/lib/../lib/libLLVM-16.so
#7  0x0b71b79d08a4 in llvm::object_creator<(anonymous
namespace)::CommandLineParser>::call () from
/usr/local/llvm16/lib/../lib/libLLVM-16.so
#8  0x0b71b7a2628b in llvm::ManagedStaticBase::RegisterManagedStatic ()
   from /usr/local/llvm16/lib/../lib/libLLVM-16.so
#9  0x0b71b79c9003 in llvm::cl::OptionCategory::OptionCategory ()
   from /usr/local/llvm16/lib/../lib/libLLVM-16.so
#10 0x0b71b79bed6e in llvm::cl::getGeneralCategory ()
   from /usr/local/llvm16/lib/../lib/libLLVM-16.so
#11 0x0b71b7b4773c in
_ZN4llvm2cl3optIbLb0ENS0_6parserIbEEEC2IJA13_cNS0_4descENS0_11initializerIbEENS0_12OptionHiddenDpRKT_
()

   from /usr/local/llvm16/lib/../lib/libLLVM-16.so
#12 0x0b71b7b501d1 in _GLOBAL__sub_I_DIBuilder.cpp ()
---Type  to continue, or q  to quit---
   from /usr/local/llvm16/lib/../lib/libLLVM-16.so
#13 0x0b7108be0989 in ?? () from /usr/libexec/ld.so
#14 0x0005 in ?? ()
#15 0x592ba000 in ?? ()
#16 0x in ?? ()
Current language:  auto; currently asm


Is that helpful to anyone?





On 1/26/24 4:23 PM, Kirill Miazine wrote:

Most recent package on amd64 snapshot from yesterday:

OpenBSD 7.4-current (GENERIC.MP) #1625: Thu Jan 25 09:16:39 MST 2024

gdb says

[...]
#0  shmget () at /tmp/-:2
2   /tmp/-: No such file or directory.
 in /tmp/-





Re: OpenBSD 6.2: okular crash if passed any file

2017-10-12 Thread Dorian Büttner



On 10/11/17 20:03, Federico Giannici wrote:

Hi.
I just upgraded to OpenBSD 6.2 (amd64).
Everything seems OK... apart from okular (the KDE files viewer).

Am I the only one with is problem?


I'm using snapshots and I've seen this for say 3 months or so.
I could verify this on a second amd64 machine, but couldn't even figure 
out whether firefox changed the way it passes pdf to okular or if okular 
itself broke.
In some/few seemingly random cases I could convince okular to load pdf 
from the file/open menu after giving them shorter file names. However, 
my tests yielded to many random results for me to file a bug report.




shutdown -hp now doesn't power down

2015-01-27 Thread Dorian Büttner
Good evening,

my notebook doesn't powerdown anymore when the power supply is 
connected, it just reboots (looks like it can't power off). However it 
works when run on battery only. If memory serves well, there was some 
hibernation code work in december, but at roughly the same time the 
manufacturer published a bios update so I can't tell what's the root 
cause here.
Also, when I close the lid the machine keeps suspend/resume cycling?

http://wikisend.com/download/975438/W740SU.DSDT.dsl
http://wikisend.com/download/111590/W740SU.tgz

dmesg attached and hopefully the wikisend thing works...

Just wanted to stray this in as I've seen a call to test what's going 
into release ;-)

Thanks,
Dorian
OpenBSD 5.7-beta (GENERIC.MP) #44: Tue Jan 27 08:33:26 CET 2015
r...@smartie.doris.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8489222144 (8095MB)
avail mem = 8259362816 (7876MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb270 (35 entries)
bios0: vendor American Megatrends Inc. version 4.6.5 date 09/11/2014
bios0: Notebook W740SU
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT SSDT SSDT SSDT MCFG HPET SSDT SSDT DMAR
acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) 
PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) 
PXSX(S4) RP08(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) i7-4750HQ CPU @ 2.00GHz, 1995.70 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,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz, 1995.38 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz, 1995.38 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz, 1995.38 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz, 1995.38 MHz
cpu4: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu4: 256KB 64b/line 8-way L2 cache
cpu4: smt 1, core 0, package 0
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz, 1995.38 MHz
cpu5: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu5: 256KB 64b/line 8-way L2 cache
cpu5: smt 1, core 1, package 0
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz, 1995.38 MHz
cpu6: 

Re: upgrade 5.4 - 5.5 -- openldap bdb database

2014-05-07 Thread Dorian Büttner

maybe related?
http://marc.info/?l=openbsd-cvsm=138183876907016w=2

I also stumbled over an old nawk short after, no clue if that could have 
been invoked.


On 07.05.2014 04:21, Stuart Henderson wrote:

What arch is this Daniel? I've done multiple 5.4-5.5 upgrades
with OpenLDAP/bdb without need for additional steps, but they were
all on amd64.


On 2014-05-02, LEVAI Daniel l...@ecentrum.hu wrote:

Hi!

I've recently upgraded one of my systems to 55 from 54 (btw, for me, the
most painful upgrade since ~3.9; I don't know what happened but
everything was against me), and one of the obstacles was the openldap
upgrade. I was using openldap-2.4 with bdb on 5.4 also, so I thought it
would be a clean cut. After trying to start slapd, it barked about the
bdb's consistency:

__db.001: unable to find environment
txn_checkpoint interface requires an environment configured for the transaction 
subsystem
... etc ... (the precise error message would require the restore of the
old db files, but what's important is there)

db4_verify of course told me the same, and db4_recover, or slapcat and
the likes were futile. So I just shrugged and went about to restore my
backups, but even the one week old backup did seem to be corrupt :-/

Long story short, I had to install a 5.4 OpenBSD, pkg_add
openldap-server, copy over the openldap-data directory, slapcat to an
ldif file then slapadd on the server to a clean and fresh openldap data
directory.
The logic is the same as for the rrdtool upgrade, but that is at least
mentioned in the upgrade faq ;-P

So if it seems this is a real upgrade issue for someone else also, and
not a PEBKAC, then I think it would be fair to mention this on
upgrade55.html. I could cook up a diff, if it turns out I was not
hallucinating.


Daniel




Re: Haswell/Iris Pro 5200 protection fault trap

2013-11-21 Thread Dorian Büttner
,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID

cpu7: 256KB 64b/line 8-way L2 cache
cpu7: smt 1, core 3, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus 3 (RP04)
acpiec0 at acpi0
acpicpu0 at acpi0: C1, PSS
acpicpu1 at acpi0: C1, PSS
acpicpu2 at acpi0: C1, PSS
acpicpu3 at acpi0: C1, PSS
acpicpu4 at acpi0: C1, PSS
acpicpu5 at acpi0: C1, PSS
acpicpu6 at acpi0: C1, PSS
acpicpu7 at acpi0: C1, PSS
acpitz0 at acpi0: critical temperature is 120 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: LID0
acpiac0 at acpi0: AC unit offline
acpibat0 at acpi0: BAT0 model BAT serial 0001 type LION oem Notebook
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD0
cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1900, 1800, 1700, 
1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz

pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x0d04 
rev 0x08

vga1 at pci0 dev 2 function 0 Intel Iris Pro Graphics 5200 rev 0x08
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
error: [drm:pid0:i915_write32] *ERROR* Unknown unclaimed register before 
writing to 10
error: [drm:pid0:intel_dp_set_link_train] *ERROR* Timed out waiting for 
DP idle patterns
error: [drm:pid0:i915_write32] *ERROR* Unknown unclaimed register before 
writing to 64040

inteldrm0: 1920x1080
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
azalia0 at pci0 dev 3 function 0 Intel Core 4G HD Audio rev 0x08: msi
azalia0: No codecs found
Intel 8 Series xHCI rev 0x05 at pci0 dev 20 function 0 not configured
Intel 8 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 Intel I217-V rev 0x05: msi, address 
00:90:f5:ec:b4:bc

ehci0 at pci0 dev 26 function 0 Intel 8 Series USB rev 0x05: 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
azalia1 at pci0 dev 27 function 0 Intel 8 Series HD Audio rev 0x05: msi
azalia1: codecs: VIA/0x8446
audio0 at azalia1
ppb0 at pci0 dev 28 function 0 Intel 8 Series PCIE rev 0xd5
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 Intel 8 Series PCIE rev 0xd5: msi
pci2 at ppb1 bus 2
rtsx0 at pci2 dev 0 function 0 Realtek RTS5229 Card Reader rev 0x01: msi
sdmmc0 at rtsx0
ppb2 at pci0 dev 28 function 3 Intel 8 Series PCIE rev 0xd5: msi
pci3 at ppb2 bus 3
iwn0 at pci3 dev 0 function 0 Intel Centrino Advanced-N 6235 rev 0x24: 
msi, MIMO 2T2R, AGN, address b4:b6:76:94:75:be

ehci1 at pci0 dev 29 function 0 Intel 8 Series USB rev 0x05: 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 HM87 LPC rev 0x05
ahci0 at pci0 dev 31 function 2 Intel 8 Series AHCI rev 0x05: msi, 
AHCI 1.3

scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, HGST HTS541515A9, KA0O SCSI3 
0/direct fixed naa.5000cca74bc08f9c

sd0: 1430799MB, 512 bytes/sector, 2930277168 sectors
sd1 at scsibus0 targ 1 lun 0: ATA, Crucial_CT240M50, MU02 SCSI3 
0/direct fixed naa.500a0751094539ce

sd1: 228936MB, 512 bytes/sector, 468862128 sectors, thin
ichiic0 at pci0 dev 31 function 3 Intel 8 Series SMBus rev 0x05: apic 
2 int 18

iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
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
pms0: Synaptics clickpad, firmware 8.1
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
uhub2 at uhub0 port 1 Intel Rate Matching Hub rev 2.00/0.05 addr 2
uhub3 at uhub1 port 1 Intel Rate Matching Hub rev 2.00/0.05 addr 2
ugen0 at uhub3 port 4 Intel product 0x07da rev 2.00/78.69 addr 3
uvideo0 at uhub3 port 6 configuration 1 interface 0 Generic BisonCam, 
NB Pro rev 2.00/6.03 addr 4

video0 at uvideo0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd1a (8ea3fb2bf1e89f1f.a) swap on sd1b dump on sd1b


Am 17.11.2013 07:00, schrieb Jonathan Gray:

On Sat, Nov 16, 2013 at 02:14:34PM +0100, Dorian Büttner wrote:

Cheers,

On cold boots I'm getting a ddb about azalia stuff, not a kernel
panic but a protection fault trap, which I uploaded as a screenshot
over here: http://s16.postimg.org/xjymk6egl/IMAG0053

Haswell/Iris Pro 5200 protection fault trap

2013-11-16 Thread Dorian Büttner

Cheers,

On cold boots I'm getting a ddb about azalia stuff, not a kernel panic 
but a protection fault trap, which I uploaded as a screenshot over here: 
http://s16.postimg.org/xjymk6egl/IMAG0053.jpg
Sorry for that format, it's just hard to capture that as log file if 
everything is usb and you don't have appropriate equipment at hand.
The dmesg below however appears as it's more related to the drm. I can 
disable azalia in boot -c on cold boot, that would bring up the system, 
any warm reboot would just run through with the azalia enabled.
Apart from that, when I close X the machine seemingly hangs with black 
screen and accept no input from keyboard, i.e. I cannot blind reboot 
from another VT. There are still some drm errors in the dmesg, but  the 
laptop boots with it.
Let me know if any additional input/log is appreciated? Again, I just 
can't log to any serial atm.


Thanks and br,
Dorian


OpenBSD 5.4-current (GENERIC.MP) #5: Wed Nov 13 19:25:04 CET 2013
r...@smartie.doris.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8489422848 (8096MB)
avail mem = 8255299584 (7872MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb270 (35 entries)
bios0: vendor American Megatrends Inc. version 4.6.5 date 08/13/2013
bios0: Notebook W740SU
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT SSDT SSDT SSDT MCFG HPET SSDT SSDT DMAR
acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) 
RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) 
RP07(S4) PXSX(S4) RP08(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) i7-4750HQ CPU @ 2.00GHz, 1995.63 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,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz, 1995.38 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID

cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz, 1995.38 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID

cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz, 1995.38 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID

cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz, 1995.39 MHz
cpu4: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID

cpu4: 256KB 64b/line 8-way L2 cache
cpu4: smt 1, core 0, package 0
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz, 1995.38 MHz
cpu5: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID

cpu5: 256KB 64b/line 8-way L2 cache
cpu5: smt 1, core 1, package 0
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz, 1995.38 MHz
cpu6: 

Re: UEFI

2013-11-07 Thread Dorian Büttner

Am 06.11.2013 19:34, schrieb STeve Andre':



ps: Has anyone run OpenBSD on a System76 laptop?



Not exactly, I got a Schenker S413 which System76 seems to sell as 
Galago UltraPro or something like that. Barebone is Clevo W740SU, 
however retailers seem to be free to implement modified BIOSes.
As the thread opener, I wiped the preinstalled Win partition with 
OpenBSD and the machine wouldn't let me enter the BIOS anymore until I 
physically removed the drive. However, no combination of settings would 
allow to boot from the drive, I finally mounted it in an older i386, 
fdisk/installed again, then it suddenly booted in the S413.
Occasionally, it drops into ddb on boot when messing with the azalia(?), 
apart from that it has some yet unsopported HW like the the SDMMC stsp 
is asking for on want.html, i217-V NIC, and a graphics board that yells 
some errors about unknown registers but finally shows up with 1080p 
console resolution.
For the NIC it looks like netbsd has already support in their wm driver, 
no idea if that can easily be ported, or if it makes sense at all. If 
someone has patches to test, I'd gladly volunteer.


Back to the question has anyone run the precise answer would propably 
be no, I just managed to boot OpenBSD on it.


BR,
Dorian



Re: amd64 snapshot mp drops on ibm X3560 M2

2011-07-28 Thread Dorian Büttner

Am 28.07.2011 08:01, schrieb Matthew Dempsky:

On Wed, Jul 27, 2011 at 2:44 PM, Dorian B|ttnerdorian.buett...@gmx.de  wrote:

Actually gotten fingers on a somewhat powerful machine and I thought why not
test a snapshot on it.
Leading is bsd with ps and trace, followed by bsd.sp which boots ok.
Hope this is not a maloperation?

Looks like acpicpu(4) doesn't like the DSDT's _PSS value.

Run acpidump -o ibm-x3560-m2 as root and it will generate a bunch of
ibm-x3560-m2.* files.  Tar these up and upload them somewhere so the
ACPI hackers can take a look and figure out what's wrong.

Posted the tar over here:

http://www.2shared.com/file/-XMSjFgY/ibm-x3560-m2.html

Thanks again,
Dorian



amd64 snapshot mp drops on ibm X3560 M2

2011-07-27 Thread Dorian Büttner
Actually gotten fingers on a somewhat powerful machine and I thought why 
not test a snapshot on it.

Leading is bsd with ps and trace, followed by bsd.sp which boots ok.
Hope this is not a maloperation?


C1:tCNC0:B:lNC0CNC1CNC1B:tCNC0ZC:BZCB*| OpenBSD/amd64 BOOT 3.17
boot
booting hd0a:/bsd: 5642280+1593676+932928+0+617952 
[89+498624+322808]=0xd2aa38

entry point at 0x1001e0 [7205c766, 3404, 24448b12, 9e18a304]
[ using 822360 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-2011 OpenBSD. All rights reserved. http://www.OpenBSD.org

OpenBSD 5.0-beta (GENERIC.MP) #42: Tue Jul 26 20:04:38 MDT 2011
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 80clock_battery
real mem = 21463166976 (20468MB)
avail mem = 20877697024 (19910MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x7f6bd000 (78 entries)
bios0: vendor IBM Corp. version -[D6E126AUS-1.02]- date 06/26/2009
bios0: IBM 49Y6498
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S5
acpi0: tables DSDT FACP TCPA APIC MCFG SLIC HPET SRAT SLIT SSDT SSDT 
ERST DMAR
acpi0: wakeup devices UHC1(S4) UHC2(S4) UHC3(S4) UHC4(S4) UHC5(S4) 
EHC1(S4) EHC2(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) Xeon(R) CPU X5570 @ 2.93GHz, 2933.79 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU X5570 @ 2.93GHz, 2933.44 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu1: 256KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU X5570 @ 2.93GHz, 2933.44 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU X5570 @ 2.93GHz, 2933.44 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu3: 256KB 64b/line 8-way L2 cache
cpu4 at mainbus0: apid 16 (application processor)
cpu4: Intel(R) Xeon(R) CPU X5570 @ 2.93GHz, 2933.44 MHz
cpu4: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu4: 256KB 64b/line 8-way L2 cache
cpu5 at mainbus0: apid 18 (application processor)
cpu5: Intel(R) Xeon(R) CPU X5570 @ 2.93GHz, 2933.44 MHz
cpu5: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu5: 256KB 64b/line 8-way L2 cache
cpu6 at mainbus0: apid 20 (application processor)
cpu6: Intel(R) Xeon(R) CPU X5570 @ 2.93GHz, 2933.44 MHz
cpu6: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu6: 256KB 64b/line 8-way L2 cache
cpu7 at mainbus0: apid 22 (application processor)
cpu7: Intel(R) Xeon(R) CPU X5570 @ 2.93GHz, 2933.44 MHz
cpu7: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu7: 256KB 64b/line 8-way L2 cache
cpu8 at mainbus0: apid 1 (application processor)
cpu8: Intel(R) Xeon(R) CPU X5570 @ 2.93GHz, 2933.44 MHz
cpu8: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu8: 256KB 64b/line 8-way L2 cache
cpu9 at mainbus0: apid 3 (application processor)
cpu9: Intel(R) Xeon(R) CPU X5570 @ 2.93GHz, 2933.44 MHz
cpu9: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu9: 256KB 64b/line 8-way L2 cache
cpu10 at mainbus0: apid 5 (application processor)
cpu10: 

Re: mouse cursor keeps jumping up and left in latest snapshot

2010-06-03 Thread Dorian Büttner
On Thursday 03 June 2010 17:25:18 Otto Moerbeek wrote:
 On Thu, Jun 03, 2010 at 04:46:27PM +0200, Christopher Zimmermann wrote:
  Hello,
 
  today I upgraded my system to the latest snapshot from some -current
  version end of april.
 
  Now in all gtk application my mouse cursor often jumps to the upper
  and/or left edge of the screen (not of the application window).
  I already recompiled gtk+2 and some of the gtk2 applications, but it
  did not help.
 
  Does anyone else have a similar experience? Any ides? The only idea
  I have is reinstalling the whole system :(
 
 
  Christopher

 a dmesg, my kingdom for a dmesg...

I'll give it a try - from what I can tell, w/o anything else for the computer 
to do the mouse will remain quite useful and seemingly warp only occasionaly 
into the corner, but for example launching a konsole window and rebuild 
system will make the mouse get cought in the taskbar. And, so far, I only see 
this on amd64, i386 machines are fine so far.

Now, here's the dmesg:

OpenBSD 4.7-current (GENERIC.MP) #11: Wed Jun  2 19:33:30 CEST 2010
r...@zock.doris.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3487432704 (3325MB)
avail mem = 3380908032 (3224MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf (58 entries)
bios0: vendor Phoenix Technologies, LTD version ASUS M2A-VM ACPI BIOS 
Revision 2302 date 02/05/2009
bios0: ASUSTeK Computer INC. M2A-VM
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT HPET MCFG APIC
acpi0: wakeup devices USB0(S5) USB1(S5) USB2(S5) USB3(S5) USB4(S5) USB5(S5) 
AZAL(S3) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE8
(S4) UAR1(S5) UAR2(S5) PS2M(S5) PS2K(S5) PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+, 3000.33 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+, 2999.89 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P2P_)
acpiprt2 at acpi0: bus 1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus 2 (PCE7)
acpiprt8 at acpi0: bus -1 (PCE8)
acpiprt9 at acpi0: bus -1 (AGP_)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature 75 degC
acpibtn0 at acpi0: PWRB
aibs0 at acpi0
cpu0: PowerNow! K8 2999 MHz: speeds: 3000 2800 2600 2400 2200 2000 1800 1000 
MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 ATI RS690 Host rev 0x00
ppb0 at pci0 dev 2 function 0 ATI RS690M PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce 8800 GTS rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 7 function 0 ATI RS690 PCIE rev 0x00
pci2 at ppb1 bus 2
re0 at pci2 dev 0 function 0 Realtek 8168 rev 0x01: RTL8168 2 (0x3800), apic 
4 int 19 (irq 10), address 00:1b:fc:73:9e:b8
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ahci0 at pci0 dev 18 function 0 ATI SB600 SATA rev 0x00: apic 4 int 22 (irq 
11), AHCI 1.1
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, SAMSUNG HD320KJ, CP10 SCSI3 0/direct 
fixed
sd0: 305245MB, 512 bytes/sec, 625142448 sec total
ohci0 at pci0 dev 19 function 0 ATI SB600 USB rev 0x00: apic 4 int 16 (irq 
3), version 1.0, legacy support
ohci1 at pci0 dev 19 function 1 ATI SB600 USB rev 0x00: apic 4 int 17 (irq 
4), version 1.0, legacy support
ohci2 at pci0 dev 19 function 2 ATI SB600 USB rev 0x00: apic 4 int 18 (irq 
5), version 1.0, legacy support
ohci3 at pci0 dev 19 function 3 ATI SB600 USB rev 0x00: apic 4 int 17 (irq 
4), version 1.0, legacy support
ohci4 at pci0 dev 19 function 4 ATI SB600 USB rev 0x00: apic 4 int 18 (irq 
5), version 1.0, legacy support
ehci0 at pci0 dev 19 function 5 ATI SB600 USB2 rev 0x00: apic 4 int 19 (irq 
10)
usb0 at ehci0: USB revision 

gcc4,amd64 - mk.conf?

2010-05-30 Thread Dorian Büttner
Marco's instructions, pointed to from the undeadly article, mentions to 
set COMPILER_VERSION=gcc4 in mk.conf, as opposed to current.html which 
does not list this step.


Does it make any difference having it in mk.conf or not? Propably this 
would have been explixitely mentioned in the 2010/05/09 change, if I'm 
not totally wrong.


Thanks,
Dorian



Re: disklabel - new paritition

2010-04-05 Thread Dorian Büttner
I remember seeing odd numbers come up when trying to modify the 
partition the system actually booted from.
Have you tried booting from an alternative media (usb, cdrom,...) and 
modify your disklabel from there?


bdz schrieb:

hi!

i installed my system with the automated disklabel layout, i just made 
some size modifications. the disk is a 500G sata. i got a lot of space 
at the end of the disk that now i want to use as storage. i can not add 
the new label 'l' because disklabel says:


  a l
offset: [0]
The offset must be = 0 and  0, the limits of the OpenBSD portion
of the disk. The 'b' command can change these limits.

the response is the same for any specified number.

here is the current layout:
  p
OpenBSD area: 0-0; size: 0; free: 63
#size   offset  fstype [fsize bsize  cpg]
  a:  2104452   63  4.2BSD   2048 163841 # /
  b:  2104515  2104515swap  
  c:9767731680  unused  
  d:   530145  4209030  4.2BSD   2048 163841 # /tmp

  e: 10490445  4739175  4.2BSD   2048 163841 # /var
  f:  4209030 15229620  4.2BSD   2048 163841 # /usr
  g:  2104515 19438650  4.2BSD   2048 163841 # 
/usr/X11R6
  h: 12594960 21543165  4.2BSD   2048 163841 # 
/usr/local

  i:  4209030 34138125  4.2BSD   2048 163841 # /usr/src
  j:  4209030 38347155  4.2BSD   2048 163841 # /usr/obj
  k:  2104515 42556185  4.2BSD   2048 163841 # /home

it displays the OpenBSD area: 0-0 wrong. what do you suggest to help 
with this situation?


could the following work?
- use disklabel -e
- make a new line with label 'l':
  l: SIZE OFFSET RAID   2048 163841 # /home/storage

- SIZE: c size - (sizes a,b,d-k + 63)
- OFFSET: size k + offset k
- RAID for softraid crypto
- :x

using 4.6-RELEASE. see /var/run/dmesg.boot attached

thank you,
adam
 rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configured to 
native-PCI
pciide0: using apic 8 int 19 (irq 11) for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: SAMSUNG HD502IJ
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x01: apic 8 int 19 
(irq 11)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5
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 pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
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, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x4e/2: W83627THF rev 0x84
lm1 at wbsio0 port 0x290/8: W83627THF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhub5 at uhub1 port 2 ATEN International product 0x7000 rev 1.10/1.00 addr 2
uhidev0 at uhub5 port 1 configuration 1 interface 0 Sun Microsystems Type 7 
Keyboard rev 2.00/1.04 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 33
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub5 port 4 configuration 1 interface 0 Alcor Micro USB Mouse rev 
1.10/51.27 addr 4
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost carrier
epic0: lost 

Re: ports install problem

2010-02-07 Thread Dorian Büttner

Hi Paolo,

as Matthias already pointed out, python doesn't have a no_x11 Flavor. I 
had the ruby thing in mind while typing, it ends up similar.

Sorry again for the confusion.

Dorian


Paolo Supino schrieb:

Hi Dorian

  I did as you wrote below, but ...

$ sudo -i
Password:
# cd /usr/ports/lang/python/2.5/
# export FLAVOR=no_x11
# make install
Fatal: no flavors for this port. (in lang/python/2.5)
*** Error code 1

Stop.
#

:-(


--
TIA
Paolo



On Sat, Feb 6, 2010 at 9:39 PM, Dorian B|ttner dorian.buett...@gmx.de 
mailto:dorian.buett...@gmx.de wrote:


Paolo Supino schrieb:

Hi

 I'm trying to install php5-core from /usr/ports/www/php5/core
... When I run `make install` I get the following output:
# cd ports/www/php5/core/
# make install
===  Checking files for php5-core-5.2.10
 Fetch http://us2.php.net/distributions/php-5.2.10.tar.gz
php-5.2.10.tar.gz 100%

|*|
11165 KB08:05
 Fetch http://blade2k.humppa.hu/suhosin-0.9.27.tgz
ftp: Error retrieving file: 404 Not Found
 Fetch http://download.suhosin.org/suhosin-0.9.27.tgz
suhosin-0.9.27.tgz 100%

||
 113 KB00:02
 Fetch
http://blade2k.humppa.hu/suhosin-patch-5.2.10-0.9.7-openbsd.patch.gz
suhosin-patch-5.2.10-0... 100%

|*|
23026   00:00
 (SHA256) php-5.2.10.tar.gz: OK
 (SHA256) suhosin-0.9.27.tgz: OK
 (SHA256) suhosin-patch-5.2.10-0.9.7-openbsd.patch.gz: OK
===  php5-core-5.2.10 depends on: gettext-=0.17 - found
===  php5-core-5.2.10 depends on: metaauto-* - found
===  php5-core-5.2.10 depends on: autoconf-2.13 - found
===  php5-core-5.2.10 depends on: libxml-* - not found
===  Verifying install for libxml-* in textproc/libxml
===  Checking files for libxml2-2.6.32
 Fetch ftp://xmlsoft.org/libxml/libxml2-2.6.32.tar.gz
Failed to open file.
 Fetch

ftp://ftp.no.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz

No such file or directory
 Fetch

ftp://ftp.dit.upm.es/linux/gnome/sources/libxml2/2.6/libxml2-2.6.32.tar.gz

Failed to open file.
 Fetch

http://ftp.acc.umu.se/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
ftp: Error retrieving file: 404 Not Found
 Fetch

ftp://ftp.belnet.be/mirror/ftp.gnome.org/sources/libxml2/2.6/libxml2-2.6.32.tar.gz

libxml2-2.6.32.tar.gz: No such file or directory
 Fetch

ftp://ftp.unina.it/pub/linux/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz

No such directory.
 Fetch

ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/libxml2/2.6/libxml2-2.6.32.tar.gz

libxml2-2.6.32.tar.gz: No such file or directory.
 Fetch

ftp://ftp.no.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz

No such file or directory
 Fetch

http://fr2.rpmfind.net/linux/gnome.org/sources/libxml2/2.6/libxml2-2.6.32.tar.gz

ftp: Error retrieving file: 404 Not Found
 Fetch

http://planetmirror.com/pub/gnome/sources/libxml2/2.6/libxml2-2.6.32.tar.gz

 Size does not match for
/usr/ports/distfiles/libxml2-2.6.32.tar.gz
 Fetch

http://mirror.aarnet.edu.au/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz

ftp: Error retrieving file: 404 Not Found
 Fetch

ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz

Failed to open file.
 Fetch
ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
Failed to open file.
 Fetch
ftp://ftp.openbsd.org/pub/OpenBSD/distfiles//libxml2-2.6.32.tar.gz
libxml2-2.6.32.tar.gz 100%

|*|
 4611 KB02:56
 (SHA256) libxml2-2.6.32.tar.gz: OK
===  libxml-2.6.32p2 depends on: python-=2.5,2.6 - not found
===  Verifying install for python-=2.5,2.6 in lang/python/2.5
===  python-2.5.4p1 uses X11, but /usr/X11R6 not found.
=== Returning to build of libxml-2.6.32p2
===  libxml-2.6.32p2 depends on: python-=2.5,2.6 - not found
===  Verifying install for python-=2.5,2.6 in lang/python/2.5
===  python-2.5.4p1 uses X11, but /usr/X11R6 not found.
=== Returning to build of libxml-2.6.32p2
Dependency check failed
*** Error code 1

Stop in /usr/ports/textproc/libxml (line 1621 of
/usr/ports/infrastructure/mk/bsd.port.mk http://bsd.port.mk).
*** Error code 1

Stop in 

Re: ports install problem

2010-02-06 Thread Dorian Büttner

Paolo Supino schrieb:

Hi

  I'm trying to install php5-core from /usr/ports/www/php5/core ... 
When I run `make install` I get the following output:

# cd ports/www/php5/core/
# make install
===  Checking files for php5-core-5.2.10
 Fetch http://us2.php.net/distributions/php-5.2.10.tar.gz
php-5.2.10.tar.gz 100% 
|*| 
11165 KB08:05

 Fetch http://blade2k.humppa.hu/suhosin-0.9.27.tgz
ftp: Error retrieving file: 404 Not Found
 Fetch http://download.suhosin.org/suhosin-0.9.27.tgz
suhosin-0.9.27.tgz 100% 
|| 
  113 KB00:02
 Fetch 
http://blade2k.humppa.hu/suhosin-patch-5.2.10-0.9.7-openbsd.patch.gz
suhosin-patch-5.2.10-0... 100% 
|*| 
23026   00:00

 (SHA256) php-5.2.10.tar.gz: OK
 (SHA256) suhosin-0.9.27.tgz: OK
 (SHA256) suhosin-patch-5.2.10-0.9.7-openbsd.patch.gz: OK
===  php5-core-5.2.10 depends on: gettext-=0.17 - found
===  php5-core-5.2.10 depends on: metaauto-* - found
===  php5-core-5.2.10 depends on: autoconf-2.13 - found
===  php5-core-5.2.10 depends on: libxml-* - not found
===  Verifying install for libxml-* in textproc/libxml
===  Checking files for libxml2-2.6.32
 Fetch ftp://xmlsoft.org/libxml/libxml2-2.6.32.tar.gz
Failed to open file.
 Fetch 
ftp://ftp.no.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz 


No such file or directory
 Fetch 
ftp://ftp.dit.upm.es/linux/gnome/sources/libxml2/2.6/libxml2-2.6.32.tar.gz 


Failed to open file.
 Fetch 
http://ftp.acc.umu.se/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz

ftp: Error retrieving file: 404 Not Found
 Fetch 
ftp://ftp.belnet.be/mirror/ftp.gnome.org/sources/libxml2/2.6/libxml2-2.6.32.tar.gz 


libxml2-2.6.32.tar.gz: No such file or directory
 Fetch 
ftp://ftp.unina.it/pub/linux/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz 


No such directory.
 Fetch 
ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/libxml2/2.6/libxml2-2.6.32.tar.gz 


libxml2-2.6.32.tar.gz: No such file or directory.
 Fetch 
ftp://ftp.no.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz 


No such file or directory
 Fetch 
http://fr2.rpmfind.net/linux/gnome.org/sources/libxml2/2.6/libxml2-2.6.32.tar.gz 


ftp: Error retrieving file: 404 Not Found
 Fetch 
http://planetmirror.com/pub/gnome/sources/libxml2/2.6/libxml2-2.6.32.tar.gz 


 Size does not match for /usr/ports/distfiles/libxml2-2.6.32.tar.gz
 Fetch 
http://mirror.aarnet.edu.au/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz 


ftp: Error retrieving file: 404 Not Found
 Fetch 
ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz 


Failed to open file.
 Fetch 
ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz

Failed to open file.
 Fetch 
ftp://ftp.openbsd.org/pub/OpenBSD/distfiles//libxml2-2.6.32.tar.gz
libxml2-2.6.32.tar.gz 100% 
|*| 
 4611 KB02:56

 (SHA256) libxml2-2.6.32.tar.gz: OK
===  libxml-2.6.32p2 depends on: python-=2.5,2.6 - not found
===  Verifying install for python-=2.5,2.6 in lang/python/2.5
===  python-2.5.4p1 uses X11, but /usr/X11R6 not found.
=== Returning to build of libxml-2.6.32p2
===  libxml-2.6.32p2 depends on: python-=2.5,2.6 - not found
===  Verifying install for python-=2.5,2.6 in lang/python/2.5
===  python-2.5.4p1 uses X11, but /usr/X11R6 not found.
=== Returning to build of libxml-2.6.32p2
Dependency check failed
*** Error code 1

Stop in /usr/ports/textproc/libxml (line 1621 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/textproc/libxml (line 2018 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/textproc/libxml (line 1444 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/textproc/libxml (line 1984 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/textproc/libxml (line 1474 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/www/php5/core (line 1621 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/www/php5/core (line 2018 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/www/php5/core (line 1444 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/www/php5/core (line 1984 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/www/php5/core (line 1474 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

#


  Why does PHP5 need Python, and why does Python need X11? What am I 
doing wrong?




--
TIA
Paolo


cd /usr/ports/lang/python/2.5
env FLAVOR=no_x11 make install clean

or similar, then restart as above



Re: ath AR5424 support

2010-01-23 Thread Dorian Büttner

Brynet schrieb:

Luis Henriques wrote:
  

Hi!

I finally got tired of not using my wireless card on my laptop and decided to
take a look at the code.  I compared the ath OpenBSD code with similar drivers
on NetBSD and Linux kernels, start adding/correcting the ath code and finally
got it to work.  I am currently able to use my AR5424 wireless card!



I think you may have just duplicated some existing work, Damien commited
a new Atheros driver in -CURRENT.. it was named athn(4).

http://marc.info/?l=openbsd-cvsm=125821878008903w=2

You might have been able to adapt this new driver, instead of pulling in
code from Linux (..even if it may be ISC licenced).

  

1) Most of the code I'm using is from Linux driver which is AFAIK GPL'ed code.
   Is this a problem?



If it is GPL code, it's very unlikely to be commited.

-Bryan.
  
If I remember correctly the AR5424 is the AzureWave assembled into some 
EEE Models amongst others.
I don't think it is supported by athn 
http://www.openbsd.org/cgi-bin/man.cgi?query=athnapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html


Regards,
Dorian



Re: Lucent Technologies Orinoco Wifi card (PCMCIA) and OpenBSD?

2009-12-07 Thread Dorian Büttner

Mikael Bak schrieb:

Hi list,

Seems to me that this card isn't recognized at boot time (dmesg pasted at the 
end of this email). It's a PCMCIA card. Instead of a wifi device OpenBSD tries 
to allocate a serial port (com3).
  

Hi Mikael,

some time ago I had a usb wlan adapter from avaya at hand 
http://old.nabble.com/AVAYA-Wireless-USB-Client-%28Gold%29-td21817914.html
It turned out, then when opening the cover of the desk stand it was 
nothing more than a pcmcia card attached to a usb adapter. Avaya used 
also orinoco chips in their products, and it was back in times of 
802.11b and wep was believed/announced to be totally secure.

I suspect whether you have anything newer that would be worth investigating?

Regards,
Dorian



Re: PF simple rdr help?

2009-10-07 Thread Dorian Büttner
On Thursday 08 October 2009 00:47:09 Andres Salazar wrote:
 Hello guys,
 
 I have the following rules .. iam trying to put the IP of the PF box
 into the browser and have it get the page thats on 208.99.249.95.
 
 When I do that the connection just hangs and doesnt give me any content.
 
 cat /etc/pf.conf
 ## Macros
 ## TABLES
 ## GLOBAL OPTIONS
 ## TRAFFIC NORMALIZATION
 ## QUEUEING RULES
 ## TRANSLATION RULES (NAT)
 rdr pass on re0 proto tcp from any to any port 80 - 208.99.249.95
 ## FILTER RULES
 pass in log all keep state
 pass out log all keep state
 
 # cat /etc/sysctl.conf
  net.inet.ip.forwarding=1# 1=Permit forwarding (routing) of IPv4
  packets net.inet.ip.mforwarding=1   # 1=Permit forwarding (routing) of
  IPv4 multicast packets
 
 
 pflog says:
 
 
 Oct 08 00:44:27.605603 rule 0/(match) rdr in on re0: my.ip.here.50755
 
  208.99.249.95.80: S 6447955:6447955(0) win 5840 mss
 
 1460,sackOK,timestamp 8290643[|tcp] (DF)
 Oct 08 00:44:27.605612 rule 1/(match) pass out on re0:
 my.ip.here.50755  208.99.249.95.80: S 6447955:6447955(0) win 5840
 mss 1460,sackOK,timestamp 8290643[|tcp] (DF)
 
 Thanks for the help.
 
 Andres
 
Probably what you want might be something like this in pf.conf
match in on $int_if proto tcp from any to ($ext_if) port www rdr-to 127.0.0.1 
port 5000
and in inetd.conf:
127.0.0.1:5000  stream  tcp nowait  nobody  /usr/bin/nc nc -w 20 
my.internal.gateway.ip.here 80

I believe this was somewhere in the pf faq, not exactly sure, you should start 
inetd of course.

If I'm right you wanna see what's your home hosted httpd doing on the outside 
interface using your dyndns fqdn from internal network or similar. Actually 
there's changes in pf so you might want to specify your version.

Regards,
Dorian



Re: Accessing lan from internet

2009-09-03 Thread Dorian Büttner

halcon schrieb:

El miC), 02-09-2009 a las 18:48 +, Daniel Bolgheroni escribiC3:
  

On Wed, 2 Sep 2009, halcon wrote:



Hello

I am administering a small linux/windows lan from my laptop/OpenBSD-4.5
base, without any problem, using # ssh u...@192.168.0.xxx; how could i
accesss the lan from internet?

u...@hostname? u...@external ip?

I have read many docs without success, thanks in advance.

francisco 
  

Are you using these cheap routers available everywhere?

Port forwarding, forwarding, virtual server, etc.



Yes, i am, my gateway is 192.168.0.1 it is a cheap D-Link, behind, there
are 2 Linux boxes (Ubuntu and Slackware), and 2 windows boxes (Windows
Pro 2000 and Windows XP Home).

If i understood well; it could be:

  

ssh [hostname|IP] -- log into hostname as current username
  


ssh Slackware|192.168.0.1

  

ssh au...@[hostname|IP] --log into hostname as auser
  


or ssh j...@slackware|192.168.0.1

  

where IP is the current gateway to your lan.
  


Is it correct, Dhu?
  

I use ssh -l username host ip or fqdn



Re: ar5xxx.h

2009-09-03 Thread Dorian Büttner

Dimitri schrieb:

Sep  2 19:26:28 babilonia /bsd: ath0: unable to reset hardware; hal status 0
Sep  2 19:26:49 babilonia /bsd: ath0: unable to reset hardware; hal status 0
Sep  2 19:27:03 babilonia /bsd: ath0: unable to reset hardware; hal status
4096

I read man and I see:

  

Do you see your wlan chip in the man ath? It's not yet supported.

PS. Sorry, I forgot this... I run OpenBSD 4.6 snapshots whit last version of
ar5xxx.h, but 4.5 has the same problem. my dmesg show this wireless:
ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2b:a0:10:3d

Thanks.

Dimitri.-
http://deoxyt2.livejournal.com
OpenBSD - Free, Functional  Secure




Re: cvs question

2009-09-03 Thread Dorian Büttner
On Thursday 03 September 2009 21:07:52 Brian Whalen wrote:
 When one enters cvs get commands, like cvs get src, ports, or xenocara,
 is one getting stable or current versions of these, how can one tell?
 
 Brian
 

Normally you would not guess after fetching, but specifying in the command 
line. I believe the faq examples are quite explanatory:
http://www.openbsd.org/faq/faq5.html#BldGetSrc

Dorian



Re: cvs question

2009-09-03 Thread Dorian Büttner
On Thursday 03 September 2009 22:21:46 Brian Whalen wrote:
 Dorian B|ttner wrote:
  On Thursday 03 September 2009 21:07:52 Brian Whalen wrote:
  When one enters cvs get commands, like cvs get src, ports, or xenocara,
  is one getting stable or current versions of these, how can one tell?
 
  Brian
 
  Normally you would not guess after fetching, but specifying in the
  command line. I believe the faq examples are quite explanatory:
  http://www.openbsd.org/faq/faq5.html#BldGetSrc
 
  Dorian
 
 I got multitudes of errors with those examples, then saw some faqs on
 openbsd101.  I am currently using cvsup since I am more familiar with
 that.  That is working, albeit slowly, since I'm having to go to other
 countries to get the data currently.
 
 Brian
 
ok just as a hint then, if you haven't already stumbled over it, there's csup 
in ports which does pretty much the same as cvsup but written in c. You can 
even use your supfile with it.



Re: Cant change the partion to 4.2BSD in disklabel -e

2009-08-23 Thread Dorian Büttner

Siju George schrieb:

Now when I try to change fstype of partition k using disklabel -e

I get the following output
# Extended partition 3: type 05 start 87907680 size 68388705
# Extended partition 1: type 05 start 3903795 size 64484910
disklabel: warning, DOS partition table with no valid OpenBSD partition
disklabel: line 24: too few fields
re-edit the label? [y]:

and the fstype is not changed to 4.2BSD :-(

Could Somebody help me with this?

Thanks

--Siju
  

Use fdisk to change the type.



Re: Question about connection rate limiting with pf.

2009-07-10 Thread Dorian Büttner

Anathae Townsend schrieb:

the following pf.conf fragment allows ssh connections from the outside world

to my firewall

pass in on egress proto tcp from any to egress port ssh keep state \
  (max-src-conn 10, max-src-conn-rate 4/20, overload brutes flush global)

If I understand tables and pf properly, and I have a default block all in
rule
could I not change it to the following fragment and allow only those not
already
added to the brutes table in?

pass in on egress proto tcp from ! brutes to egress port ssh keep state \
  (max-src-conn 10, max-src-conn-rate 4/20, overload brutes flush global)
  
However, the faq-example (is it that where I got it from?) does a block 
in quick from brutes right at the top of the filter section which 
prevents unnecessary further parsing of rules for this kind of guests. 
Dependant on your needs, your version might suite as well.




Re: List of old forked or frozen code like apache that needs cleanup?

2009-06-04 Thread Dorian Büttner

patrick keshishian schrieb:

You mean something like the bug database?

http://www.openbsd.org/query-pr.html

select State: Open click Query PRs. You can even customize the
list by Category, Class, Severity and Priority.

--patrick
  


6020/kernel is a dup of 5946/kernel, isn't it?



Re: Building OpenBSD

2009-05-12 Thread Dorian Büttner

Chuck Robey schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm still working on getting my system in shape to let me do the coding I'm
after.  In doing my building of /usr/src, I'm hitting an odd problem, maybe if
you listen, you could let me know if you recognize it.

BTW, to begin with, I've read the manual before I started.  I deleted both my
sources and my /usr/obj, recreated the sources via cvs (from my onboard cvsup
archive) and then followed the instructions in the manual for all the rest.  I
made no truly obvious error, I did read the manual.

Like I said above, I'm getting my sources via cvsup, and since they're the src
with no tag or date, so I would suppose you'd call this current.  I'm hitting
a problem in building lib/csu/i386/crt0.c.  The Makefile there is asking for a
gcc parameter of -fpie which is provoking gcc to claim that it doesn't
recognize that argument.  I was specifically curious if maybe it might have been
a single warping of '-fpie from the more likely -fpic but it shows up this
way in about 5 separate instances in the Makefile,v that the error springs from,
so it's not just a single instance error, or one error in cvs.  This is the gcc
I just installed from the 4.5 release, installed only a week ago.  i didn't see
any listing of any particular order (beyond ending up with the make build 
target).

Anyone else recognize this?  I've never done a OpenBSD build before (I'm too
used to doing it the FreeBSD way, so I'm trying very hard not to make any
obvious assumption error, in making my move.)

My hope is, if I rebuild to -current from  my sources, perhaps some of my errors
in rebuilding ports will evaporate?
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoKK9wACgkQz62J6PPcoOla5ACgkUxR/r1RQ6AjJHW2rgtwJe5P
+ekAn2Bp4VkCHQ2+h0PmslkM5XkKvQ4o
=bOOU
-END PGP SIGNATURE-
  
Did you not only read the manual but the faq also? And is your system 
actually running a version before 2008/11/11?

http://www.de.openbsd.org/faq/upgrade-old.html



Re: problems setting up a firewall with nat

2009-05-09 Thread Dorian Büttner

Jean-Frangois SIMON schrieb:

Hello James,
If no output to parse means no errors, and verbose mode just repeat all the
lines of the pf.conf, then yes it parses.

pflog0 keeps silent, nothing in here while trying to connect from the subnet
to the internet.

2009/5/10 James Records james.reco...@gmail.com

  

Does your pf.conf parse? Try pfctl -nf /etc/pf.conf if it's not parsing it
will not load and behave as you describe also tcpdump on the pflog


interface
  

as well to give yourself another data point

J

Sent from my iPhone

On May 9, 2009, at 3:05 PM, Jean-Frangois SIMON jfsimon1...@gmail.com
wrote:

 Sorry for forgotting the rest, here you are :


ext_if is actlually working, configures to an adsl box using DHCP and
actually lynx displays pages.

int_if is the local network that I want to go through openbsd box to
access
to internet so I can filter with pf.

The configuration is a standard nat rule + packet forwarding between the
two
interfaces so called em0 and em1 resp ext_if and int_if.

As indicated before, I have pf enables, inet forward lines uncommented in
sysctl.con

Packets are received on int_if but not forwarded to ext_if.

Did I miss something ? Here below pf.conf

2009/5/9 Robert rob...@openbsd.pap.st

 On Sat, 9 May 2009 22:52:32 +0200
  

Jean-Frangois SIMON jfsimon1...@gmail.com wrote:
# cat /etc/pf.conf
#   $OpenBSD: pf.conf,v 1.38 2009/02/23 01:18:36 deraadt Exp $
#
# See pf.conf(5) for syntax and examples; this sample ruleset uses
# require-order to permit mixing of NAT/RDR and filter rules.
# Remember to set net.inet.ip.forwarding=1 and/or
net.inet6.ip6.forwarding=1
# in /etc/sysctl.conf if packets are to be forwarded between interfaces.

ext_if=em0
int_if=em1

set loginterface $ext_if
set require-order no
set skip on lo
scrub in all

# NAT/filter rules and anchors for ftp-proxy(8)
#nat-anchor ftp-proxy/*
#rdr-anchor ftp-proxy/*
nat on $ext_if from ($int_if:network) - ($ext_if)
#rdr pass on ! egress proto tcp to port ftp - 127.0.0.1 port 8021
#anchor ftp-proxy/*
#pass out proto tcp from $proxy to any port ftp

# NAT/filter rules and anchors for relayd(8)
#rdr-anchor relayd/*
#anchor relayd/*

# NAT rules and anchors for spamd(8)
#table spamd-white persist
#table nospamd persist file /etc/mail/nospamd
#no rdr on egress proto tcp from nospamd to any port smtp
#no rdr on egress proto tcp from spamd-white to any port smtp
#rdr pass on egress proto tcp from any to any port smtp - 127.0.0.1 port
spamd

#block in
pass in
pass out

#pass in on $int_if proto tcp to any port 80

#block in quick from urpf-failed to any # use with care

# By default, do not permit remote connections to X11
block in on ! lo0 proto tcp from any to any port 6000

antispoof for ext_if

 Hello,


Please can you help me with this :

I just installed the 4.5 OpenBSD, set up the inet forwarding for
unicast and multicase, include the standard NAT rule in pf.conf such
as : nat on $ext_if from ($int_if:network) - ($ext_if)
enable pf
check with pfctl -s nat that the correct rule is set.

That does not work, with tcpdump i see that packets are not
forwarded, i see them on int_if but not on ext_if.

Can you give me some help to find out where the problem is ?

Thanks.

  

Because you dont have a pass rule they get blocked?
Guessing only goes so far.

Tell us what you want to do.
Tell us what you tried to get it working.
Tell us what is in your relevant configs.

Perhaps then someone can tell you what to do.

- Robert


Do you have sysctl net.inet.ip.forwarding=1? As described on top of pf.conf?



Re: Wireless ral(4) problem

2009-05-02 Thread Dorian Büttner

Tom schrieb:

Hi Giancarlo,

  I have the same problem. On 4.5-release. My wifi card locks up and
often will lock up the machine if there
is heavy traffic (like a BitTorrent).

ral0 at pci0 dev 14 function 0 Ralink RT2661 rev 0x00: irq 10,
address 00:14:85:xx:xx:xx
ral0: MAC/BBP RT2661D, RF RT2529 (MIMO XR)

  I'm using Linux wireless clients that talk to the OpenBSD router and
as far as I can tell, they all have powersave
turned off.

  Has this been addressed in -current at all I wonder?

  Tom
  
What I experience, is, that the traffic leading to the freeze doesn't 
need to come in via the ral card, it can be on an vr interface as well.
I have used several services ftp, http etc for ages now on the vr 
devices without a hitch, and since I inserted the ral into the soekris 
it randomly locks up 'by itself',
and will do nearly immediately if I suck files via wired LAN. So I 
suspect this is something in the driver itself, propably more to do with 
resource allocation or somewhat.
Anyone knows some useful test scenario, I'll gladly do the practical 
work here?




Re: newfs block device

2009-04-22 Thread Dorian Büttner

John Brahy schrieb:

Have I completely lost my mind or should I be able to give newfs a block device?

# df -ht ffs
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/wd0a 1006M203M753M21%/
/dev/wd0j  7.9G6.0G1.5G81%/home
/dev/wd0i 1006M6.0K956M 0%/tmp
/dev/wd0d  3.9G1.2G2.6G32%/usr
/dev/wd0k  9.8G730M8.6G 8%/usr/local
/dev/wd0f  2.0G   66.6M1.8G 3%/usr/obj
/dev/wd0e  2.0G1.1G774M60%/usr/src
/dev/wd0h 1006M123M833M13%/var
/dev/wd0l  114G   78.4G   30.1G72%/virtualhosts
/dev/wd1a  367G   84.9G264G24%/backups
/dev/wd0g  2.0G221M1.7G12%/usr/ports
# umount obj
# newfs /dev/wd0f
newfs: /dev/wd0f: block device
#

I thought that I have done that before. Have we lost functionality in
4.5 or just my mind?
  

According to the man page, use raw device instead /dev/rwd0f.



Re: PF and H.323 / Videoconference systems

2009-04-22 Thread Dorian Büttner

Fernando Alvarez schrieb:

Hi all,

I've trying to configure an OpenBSD box to allow PF to pass
video-conference traffic through a NATed network without success.

I tried to setup the most basic configuration in order to find out where
the problem could be. Last test I did, I configured an OpenBSD box with
two network interfaces ($if_int and $if_ext) and PF enabled. NAT is done
on $if_ext, and all the traffic is redirected from LAN to the videoconf
PC.

[VideoConf PC][OpenBSD box]-LAN
192.168.10.2/24  .10   172.22.1.200/16

- When I try to call (using Netmeeting and other H.323 software) from
the VideoconfPC to a PC, the other party answers and audio flows only in
one direction: The PC in the LAN hears what I say, but nothing is heard
in the VideoConf PC.

- When I try to call from the LAN to the VideoConf PC (using OBSD's
external IP as address) Netmeeting says the other party is not
responding.

Tcpdump does not show any blocked packet and the rdr seems to work
properly. As you can see bellow, my pf.conf is very simple:

Any ideas? What do you think I've misconfigured?

pf.conf
-
# interfaces
if_ext = pcn0
if_int = pcn1

videoconf = 192.168.10.2

nat log on $if_ext from $videoconf to any - $if_ext
rdr log on $if_ext - $videoconf

pass log all
--

Thanks in advance,

Fernando Alvarez
  

Hi Fernando,

you could google for H.323 over NAT and find tons of hits, none of 
them giving you an easy answer. The problem is, that the nat device 
rewrites the source ip address in the tcp-header, while it does not 
inspect the H.323 packet's Protocol data unit which also contains the 
source ip address. This is most likely irritating your apps.


Several workarounds exist:
- use H.323 aware firewall
- stick with a provider that lets you use his session border controller
- check your apps if you could propably go with public stun servers
- give gnu gatekeeper a try, which is in ports 
http://www.gnugk.org/h323-proxy.html

- ... (i.e. put netmeeting in a dmz)

Regards,
Dorian



Re: ral(4) driver and RT2860 + RT2850 chips

2009-04-09 Thread Dorian Büttner

Chris Jones schrieb:

Has anyone had any experience with this card running under OpenBSD?

ral0 at pci0 dev 17 function 0 Ralink RT2860 rev 0x00: irq 11, address
00:0e:8e:20:84:94
ral0: MAC/BBP RT2860 (rev 0x0102), RF RT2850 (2T3R)
sis0 at pci0 dev 18 function 0 NS DP83815 10/100 rev 0x00, DP83815D:
irq 5, address 00:00:24:c0:7a:ac

  
ral0 at pci0 dev 17 function 0 Ralink RT2860 rev 0x00: irq 15, address 
00:08:54:86:5e:6e

ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (MIMO 2T3R)

different supplier, with a slight lower rev# (Longshine(R)  LCS-8231N


hostname.ral0
-

up media autoselect mode 11g mediaopt hostap \
nwid MYNWID wpa wpaprotos wpa2 \
wpapsk MYPRESHAREDKEY \
chan 7
  


inet 192.168.168.62 255.255.255.224 192.168.168.63 media autoselect mode 
11g \

chan 6 mediaopt hostap nwid dr.poop wpa wpaakms psk wpaciphers ccmp \
wpagroupcipher ccmp wpaprotos wpa2 wpapsk $(wpa-psk dr.poop PRESHAREDKEY)

Some time ago we had a thread here with net5501s randomly going 
unresponsive with those cards inserted. My actual observation is, that 
it does not have anything to with the card itself. More likely, I can 
wait for the box to hangup seemingly by itself for like two or four 
days, or I can ftp or sftp into it grabbing a large file, it will hang 
within a few seconds then. The soekris clock will make a sprint then, it 
skews forward some days within the few seconds reaching the reset 
button. Unfortuanately, I have no idea how to nail this down, any 
instruction welcome.

Curious, what you will encounter here.

Regards,
Dorian



toggle X screens on intel in obsd?

2009-02-23 Thread Dorian Büttner

Found this one in the www: http://www.thinkwiki.org/wiki/Sample_Fn-F7_script

Is there something similar one can do in OpenBSD? No clue, how to grab 
the fn-f8 event here... brightness adjustment works somehow out of the 
box, but the screen toggle doesn't seem to do anything.
Would be nice for attaching the eee to larger display. Or does the intel 
driver only allow for mirroring at the moment?


Thanks,
Dorian



Re: Instability in -current with ral/rt2860?

2009-02-17 Thread Dorian Büttner

bbee schrieb:

On Sat, 7 Feb 2009, Dorian B|ttner wrote:

bbee schrieb:

 In a net5501 I have a rt2860 ral card, running the Feb 04 snapshot:
 ral0 at pci0 dev 14 function 0 Ralink RT2860 rev 0x00: irq 10
 ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (MIMO 2T3R)

Do you also have the mini pci card? Here is mine, which I got myself 
2 or 3 days ago:
ral0 at pci0 dev 17 function 0 Ralink RT2860 rev 0x00: irq 15, 
address 00:08:54:86:5e:6e

ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (MIMO 2T3R)
Also in a net5501.


No, this is a pci card, an Edimax EW-7728IN, it's listed in ral(4).

Totally can't confirm the 2 hour time frame with the need for reboot. 
I have connection loss every now and then, but I'm just on my way 
getting some external antennas for the box, hope that will help. 
During initial setup, but that will be more a problem on 
configuration side (pf or somewhat) I had a system crash which made 
the box come with a date 20h in future, which I haven't seen before.


I wasn't having connection problems before, other than described in PR 
5958, where ral just stops transmitting. If that's also the issue 
you're having (which is different from the hangs I'm having with 
-current), then I don't think it's an antenna problem. I have 3 10dBi 
omni antennas on this ral.


Did you try -current? Could you please grab a snapshot, disable the 
watchdog and see if your box also hangs after a few hours, since we 
have pretty much identical hardware? It's 5 minutes of work using 
bsd.rd and sysmerge.


Can you assure your powersupply is ok/not running at it's limit? 
There have been issues with those originally shipped with the 5501.


I'm pretty sure the PSU is ok, it worked fine for 4.4 and it's an 
official Soekris one (well.. sort of.. I haggled it off of Wim, no 
idea where he got it :)


Thanks for your reply.

bbee
M y net5501 showed that error again today, it didn't accept any input on 
the serial anymore, but I have two pics from systat vmstat and top - if 
anyone thinks they're useful I can send them offlist. However I 
personally haven't detected anything unusual in the screens.

If anything else to test, please let me know.



Re: OpenBSD 4.4-release; Lockup after enabling 2nd NIC; both are Linksys EG1032

2009-02-08 Thread Dorian Büttner

John Schofield schrieb:

I'm new to OpenBSD, so I may be doing something stupid. But Google,
the FAQ, and other resources have not shed any light.

I'm attempting to set up an IBM ThinkCentre desktop PC as a
router/firewall for my home network. OpenBSD did not recognize the
onboard NIC, and it did not appear on the supported hardware list as
far as I could tell, so I purchased two Linksys Gigabit NICs that were
listed. (EG1032, probably V3, as they show up as re0 and re1.) I also
disabled the onboard NIC in BIOS.

When doing the install from the CD (OpenBSD 4.4-release), if I
configure re0 ONLY, everything works fine. If I also give re1 an IP,
the system locks up with no error message printed. I was able to
install successfully by only configuring re0.

Once installed and booted from the internal HD, I attempted to enable
re1. I got the same symptom -- system freeze with no error message
upon attempting to activate the card. This was the same whether I
activated the card via sh /etc/netstart or whether I rebooted.

I swapped cards and cabling, thinking that I had a bad card. The
behavior continued unchanged. The re0 (which had been re1) card
worked, and activating the re1 card (which used to be re0) locked the
system.

For the record, my /etc/hostname.re0 currently in use is:
inet 192.168.1.20 255.255.255.0 NONE

The hostname.re1 (currently in my /root directory) is:
inet 10.10.10.1 255.255.255.0 NONE

To further attempt to rule out bad hardware, I installed Linux (Ubuntu
8.10). Both NICs operated flawlessly. (I realize that this is not
conclusive, as different OS's can exercise hardware in different
ways.)

After reinstalling OpenBSD and replicating the issue, I was unable to
find any further troubleshooting information or logs which indicated
what the problem was. I'm attaching dmesg output (dmesg.txt),
/var/run/dmesg.boot, and my /var/log/messages. I welcome suggestions
as to solutions or further troubleshooting steps.  (All of the above
logs were gathered after booting to single-user mode, moving
/etc/hostname.re1 to the /root directory, and rebooting.)


John Schofield
OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.93GHz (GenuineIntel 686-class) 2.93 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CNXT-ID,xTPR
real mem  = 795373568 (758MB)
avail mem = 760115200 (724MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/25/05, BIOS32 rev. 0 @ 0xfd6ec, SMBIOS 
rev. 2.34 @ 0xefb60 (49 entries)
bios0: vendor IBM version 2FKT15AUS date 05/25/2005
bios0: IBM 813116U
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP TCPA APIC BOOT MCFG
acpi0: wakeup devices EXP0(S5) EXP1(S5) EXP2(S5) EXP3(S5) USB1(S3) USB2(S3) 
USB3(S3) USB4(S3) USBE(S3) SLOT(S5) KBC_(S3) PSM_(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus -1 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus -1 (EXP3)
acpiprt6 at acpi0: bus 10 (SLOT)
acpicpu0 at acpi0
acpitz0 at acpi0: critical temperature 255 degC
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc/0xaa00! 0xe/0x1!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82915G Host rev 0x04
vga1 at pci0 dev 2 function 0 Intel 82915G Video rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xc000, size 0x1000
drm at vga1 unsupported
ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03: irq 3
pci1 at ppb0 bus 2
bge0 at pci1 dev 0 function 0 Broadcom BCM5751 rev 0x11: can't find mem space
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 9
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: irq 10
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 82801BA Hub-to-PCI rev 0xd3
pci2 at ppb1 bus 10
re0 at pci2 dev 0 function 0 Linksys EG1032 rev 0x10: RTL8169S (0x0400), irq 
12, address 00:1e:e5:d7:4e:0b
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0
re1 at pci2 dev 1 function 0 Linksys EG1032 rev 0x10: RTL8169S (0x0400), irq 
10, address 00:1e:e5:d7:4e:3b
rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 0
auich0 at pci0 dev 30 function 2 Intel 82801FB AC97 rev 0x03: irq 3, ICH6 AC97
ac97: codec id 0x41445368 (Analog Devices AD1888)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
ichpcib0 at pci0 dev 31 function 0 Intel 82801FB LPC rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FB SATA rev 0x03: DMA, channel 0 

Re: Instability in -current with ral/rt2860?

2009-02-07 Thread Dorian Büttner

bbee schrieb:

Hi,

In a net5501 I have a rt2860 ral card, running the Feb 04 snapshot:
ral0 at pci0 dev 14 function 0 Ralink RT2860 rev 0x00: irq 10
ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (MIMO 2T3R)

Do you also have the mini pci card? Here is mine, which I got myself 2 
or 3 days ago:
ral0 at pci0 dev 17 function 0 Ralink RT2860 rev 0x00: irq 15, address 
00:08:54:86:5e:6e

ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (MIMO 2T3R)
Also in a net5501.
I've been trying snapshots off and on since damien@ started tinkering 
with the rt2860 code two months ago. With any snapshot from the last 2 
months, I can't get the box to stay up for more than 2 hours (or less) 
without it rebooting. If I turn off the watchdog timer, it will just 
hang without printing any messages. If I ifconfig ral0 down, the box 
is rock stable.


Is anyone else seeing this with -current or a snapshot, with this ral 
or a different one? I'd file a problem report but there's nothing to 
go on, other than my suspicions that the changes to rt2860 in the last 
2 months are the cause.

I can try to narrow it down to a specific commit if that will help?

Totally can't confirm the 2 hour time frame with the need for reboot. I 
have connection loss every now and then, but I'm just on my way getting 
some external antennas for the box, hope that will help. During initial 
setup, but that will be more a problem on configuration side (pf or 
somewhat) I had a system crash which made the box come with a date 20h 
in future, which I haven't seen before.
Can you assure your powersupply is ok/not running at it's limit? There 
have been issues with those originally shipped with the 5501.
If I switch to a 4.4 kernel, the hangs stop but the widely reported 
ral traffic freezes are still there (PR 5958), which was what I was 
hoping to fix.


Please CC,

bbee




Re: mount_ffs = Invalid argument

2009-02-06 Thread Dorian Büttner

Jean-Frangois schrieb:

Hi All,

I used to have a disk with Ext3 partitions that I just wish to use now
as a ffs disk in OpenBSD. So I used fdisk and disklabel in order to make
new system and finally this does not mount returning Invalid argument.
  

How about newfs?



Re: AVAYA Wireless USB Client (Gold)

2009-02-05 Thread Dorian Büttner

Jonathan Gray schrieb:

On Wed, Feb 04, 2009 at 12:37:26PM +0100, Dorian B?ttner wrote:
  
Patch applies cleanly - can you please not commit it? Attaching the  
device raises following message(s):

Feb  4 14:24:28 LT213 /bsd: wi0 at uhub2
Feb  4 14:24:28 LT213 /bsd:  port 1 Avaya Orinoco Gold rev 1.10/0.00  
addr 2

Feb  4 14:24:28 LT213 /bsd: wi0: open intr pipe failed: BAD_ADDRESS
Feb  4 14:24:28 LT213 /bsd: wi0: open pipes failed
unplugging it drops into ddb:
uvm_fault(0xd080ea80, 0x0, 0, 3) - e
kernel: page fault trap, code=0
Stopped at   wi_usb_activate+0x21:   movl   $0x1,0x4(%eax)

Thanks,
Dorian



Right this means it is likely some other chipset.
  
It suddenly came to my mind that propably that thing will need some 
firmware laoded. Indeed, the Avaya support page states something that 
their driver would include it, but I haven't been able to figure which 
file exactly in the archive is the firmware.

http://support.avaya.com/japple/css/japple?temp.documentID=127020temp.productID=107632temp.bucketID=108025PAGE=Document
If anyone is interested in supporting this hw, I'll gladly help testing. 
The .inf file lists numerous other usb-vendor-ids that have sold this 
chip, however in order to proceed I'll try to get myself a more modern 
usb wlan stick that' supported.




Re: AVAYA Wireless USB Client (Gold)

2009-02-04 Thread Dorian Büttner

Jonathan Gray schrieb:

On Tue, Feb 03, 2009 at 08:08:45PM +0100, Dorian B?ttner wrote:
  
Feb  3 19:02:55 eee /bsd: ugen0 at uhub2 port 1 vendor 0x0d98 Avaya  
Wireless USB Adapter rev 1.10/0.00 addr 2


According to http://www.wifihowto.org/?mo=HowTo;Item=14 it should work  
with the wi driver, but wi doesn't attach, I only get the ugen0.
PC24E-H-FC is printed on the sticker at the bottom, and it's most likely  
rebranded lucent or proxim.

Is there a quick hack to attach a wi instance to it?

Thanks again,
Dorian



The page you linked says nothing of USB devices, it could require
firmware to be loaded or be a different chipset entirely.

Assuming usbdevs -v shows 0x0300 for the product id try this:

  

It does :-)

cd /usrc/src
patch -p0  /path/to/diff
cd /usrc/src/sys/dev/usb
make

compile a kernel as usual


Index: sys/dev/usb/usbdevs
===
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.405
diff -u -p -r1.405 usbdevs
--- sys/dev/usb/usbdevs 19 Jan 2009 10:20:05 -  1.405
+++ sys/dev/usb/usbdevs 3 Feb 2009 23:39:21 -
@@ -416,6 +416,7 @@ vendor SMC3 0x0d5c  SMC
 vendor PEN 0x0d7d  Pen Drive
 vendor ABC 0x0d8c  ABC
 vendor CONCEPTRONIC0x0d8e  Conceptronic
+vendor AVAYA   0x0d98  Avaya
 vendor MSI 0x0db0  Micro Star International
 vendor ELCON   0x0db7  ELCON Systemtechnik
 vendor SITECOMEU   0x0df6  Sitecom Europe
@@ -873,6 +874,9 @@ product AUDIOVOX PC5740 0x3701  PC5740 E
 
 /* Avance Logic products */

 product AVANCELOGIC USBAUDIO   0x0100  USB Audio Speaker
+
+/* Avaya products */
+product AVAYA ORINOCO_GOLD 0x0300  Orinoco Gold
 
 /* Averatec products */

 product AVERATEC USBWLAN   0x4013  WLAN
Index: sys/dev/usb/if_wi_usb.c
===
RCS file: /cvs/src/sys/dev/usb/if_wi_usb.c,v
retrieving revision 1.44
diff -u -p -r1.44 if_wi_usb.c
--- sys/dev/usb/if_wi_usb.c 11 Oct 2007 18:33:14 -  1.44
+++ sys/dev/usb/if_wi_usb.c 3 Feb 2009 23:39:21 -
@@ -228,6 +228,7 @@ const struct wi_usb_type {
{{ USB_VENDOR_ADAPTEC, USB_PRODUCT_ADAPTEC_AWN8020 }, 0 },
{{ USB_VENDOR_AMBIT, USB_PRODUCT_AMBIT_WLAN }, 0 },
{{ USB_VENDOR_ASUSTEK, USB_PRODUCT_ASUSTEK_WL140 }, 0 },
+   {{ USB_VENDOR_AVAYA, USB_PRODUCT_AVAYA_ORINOCO_GOLD }, 0 },
{{ USB_VENDOR_AVERATEC, USB_PRODUCT_AVERATEC_USBWLAN }, 0 },
{{ USB_VENDOR_COMPAQ, USB_PRODUCT_COMPAQ_W100 }, 0 },
{{ USB_VENDOR_COMPAQ, USB_PRODUCT_COMPAQ_W200 }, 0 },
  


Patch applies cleanly - can you please not commit it? Attaching the 
device raises following message(s):

Feb  4 14:24:28 LT213 /bsd: wi0 at uhub2
Feb  4 14:24:28 LT213 /bsd:  port 1 Avaya Orinoco Gold rev 1.10/0.00 
addr 2

Feb  4 14:24:28 LT213 /bsd: wi0: open intr pipe failed: BAD_ADDRESS
Feb  4 14:24:28 LT213 /bsd: wi0: open pipes failed
unplugging it drops into ddb:
uvm_fault(0xd080ea80, 0x0, 0, 3) - e
kernel: page fault trap, code=0
Stopped at   wi_usb_activate+0x21:   movl   $0x1,0x4(%eax)

Thanks,
Dorian



AVAYA Wireless USB Client (Gold)

2009-02-03 Thread Dorian Büttner
Feb  3 19:02:55 eee /bsd: ugen0 at uhub2 port 1 vendor 0x0d98 Avaya 
Wireless USB Adapter rev 1.10/0.00 addr 2


According to http://www.wifihowto.org/?mo=HowTo;Item=14 it should work 
with the wi driver, but wi doesn't attach, I only get the ugen0.
PC24E-H-FC is printed on the sticker at the bottom, and it's most likely 
rebranded lucent or proxim.

Is there a quick hack to attach a wi instance to it?

Thanks again,
Dorian



Re: fetch package dependencies

2009-02-02 Thread Dorian Büttner
On Monday 02 February 2009 13:02:59 Hannah Schroeter wrote:
 Hi!

 On Sun, Feb 01, 2009 at 02:01:03PM +0100, Dorian B|ttner wrote:
 is there an easy way to fetch a package along with it's recursive
 dependencies? Scenario is:
 eee904ha does not have network access at all right now. In order to
 proceed installing useful things, let's say firefox, I'd like to suck
 packages onto a usb stick and installl from there.
 I thought I could go to the soekris box, which unfortunately isn't that
 -current, and do something like pkg_add -n mozilla -firefox,  but the
 output is totally garbled with libc mismatches and things like that.
 
 Any idea?

 I'd think using a net connected box, setting PKG_CACHE and PKG_PATH and
 then pkg_add -n package_you_want. The required packages should end up
 in the PKG_CACHE directory. From there you should be able to transfer
 them over to the eeepc. If the soekris isn't current, you could try this
 in a chroot environment or a virtual machine (e.g. qemu) setup.

 Thanks,
 Dorian

 Kind regards,

 Hannah.
Thanks,
I'll look out for something to usb-connect to the network then.
Regards,
Dorian



Re: fetch package dependencies

2009-02-02 Thread Dorian Büttner

Ingo Schwarze schrieb:

Ted Unangst schrieb am Mon, Feb 02, 2009 at 05:16:42PM -0500:
  

On Mon, Feb 2, 2009 at 4:44 PM, Ingo Schwarze schwa...@usta.de wrote:



  

P.S.
What the heck are you going to do with firefox on a box lacking
network access?
  


  

off the top of my head: operative phrase possibly being right now,
it can be a real annoyance to have to wait until net access is
available and then install all of firefox before using it.  or to read
documentation or other reports generated locally.  or because not all
nets are the internet.

there's no counting the number of times i've used a computer without a
decent browser and wished it had one, but i've never used a computer
that had firefox installed where i regretted that fact and wished it
hadn't.  putting it on a machine even if you can't anticipate a need
for it is a good idea.



You are probably right, there seem to be several good reasons.

Either way, may P.S. wasn't meant to insult the OP, sorry if it
felt like that; Dorian definitely asked an interesting question.
  

No prob, let's take taxipilot as an example :)
I tried some of the suggested hints, but haven't found for example nspr 
end up in the package cache, some other deps might also be missing, 
desktop-file-utils didn't want to install at all, looks like something's 
broken in the snapshot...

I'll give it another try tomorrow.
However, during pkg_add -nv dbus- I felt like seeing some 
useradd/groupadd commands fly by, I'll drop an extra eye on that.




fetch package dependencies

2009-02-01 Thread Dorian Büttner

Hi all,

is there an easy way to fetch a package along with it's recursive 
dependencies? Scenario is:
eee904ha does not have network access at all right now. In order to 
proceed installing useful things, let's say firefox, I'd like to suck 
packages onto a usb stick and installl from there.
I thought I could go to the soekris box, which unfortunately isn't that 
-current, and do something like pkg_add -n mozilla -firefox,  but the 
output is totally garbled with libc mismatches and things like that.


Any idea?

Thanks,
Dorian



Re: pppoe not reconnecting

2008-12-21 Thread Dorian Büttner

Christian Weisgerber schrieb:

Every few weeks...months, the PPPoE session for my ADSL line goes
away (some time during the night) and is not reestablished.  The
corresponding pppoe interface is down, state initial, a number
of PADIs have been sent, but no further retries seem to be happening.
When I become aware of the problem, I only need to do ifconfig
pppoe0 up and a new session is established immediately.

In this part of the world, PPPoE sessions for consumer ADSL lines
are dropped after 24h, so there is a daily disconnect, but pppoe
reconnects right away.  No problem there.  Other session drops
happen from time to time and look suspiciously like scheduled
maintenance work at the ISP.  When I've been around to witness this,
pppoe has reconnected eventually.

However, sometimes pppoe just seems get wedged and stop retrying.
Does anybody else see this too?

  
I remember such behaviour back to the days when I had DSL with dynamic 
addresses, this is 1y+ ago. The outages appeared to occure absolutely 
random and had nothing to do with the 24h renewal cycle.

Since I have DSL with static IP, no more problem.



Re: Openbsd mounting

2008-12-20 Thread Dorian Büttner

rizzo0917 schrieb:
 and usb devices. 
  


keyword is hotplugd(8), includes example.



misc/libutf8 doesn't fetch

2008-11-26 Thread Dorian Büttner
further investigation makes me assume that it would not be a real 
[EMAIL PROTECTED], though.
Might also be a bad ftp-server on the other side? Error also occurs 
using command-line ftp:


# ftp ftp://ftp.ilog.fr/pub/Users/haible/utf8/libutf8-0.8.tar.gz
Connected to ftp.ilog.fr.
220 (vsFTPd 2.0.1)
331 Please specify the password.
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Switching to Binary mode.
250 Directory successfully changed.
Retrieving pub/Users/haible/utf8/libutf8-0.8.tar.gz
local: libutf8-0.8.tar.gz remote: libutf8-0.8.tar.gz
500 Bad EPRT protocol.
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for libutf8-0.8.tar.gz (314406 
bytes).


I can also ftp into the directory, but when issuing an ls, it garbles 
the screen with special chars.


On the other side, I can use Windows/firefox to browse the ftp  
directory and get the file.


Anyone an idea what's going on here? I have running a somewhate current 
with the ethernet driver cleanup patches recently posted on undeadly.


Thanks,
Dorian



Re: LDAP and OpenBSD

2008-10-10 Thread Dorian Büttner

raven schrieb:

Hi misc :)

I'm thinking how my users into an ldap db can login into my openbsd 
machine as users. I try to use google but no clue at all.

Thanks guys :)

Francesco

try:

openbsd login ldap

as keywords, the first hit itself leads to a link collection.



Re: DHCPD on 4.3 not passing options

2008-10-09 Thread Dorian Büttner

Beto schrieb:

# Servidor System Imager
option  option-100 192.168.1.252;
option  option-140 192.168.1.252;

Any idea , how to solve this?
Thanks in advance.
  
' sure you need the quotation marks? It is my understanding this would 
serve a string rather than an ip-address type.




Re: PCI Compliant Vulnerability Scanner

2008-10-03 Thread Dorian Büttner

Stuart VanZee schrieb:

Once again it is time for the quarterly security review
required for my company to maintain PCI compliance.
Unfortunately, It seems that the Nessus scanner that we
had been using is no longer free.  Can anyone recommend
a PCI compliant vulnerability scanner that I can use
on OpenBSD.  It will need to be able to scan both OpenBSD
and Windows boxen.

Really, Nessus has worked so well for us in the past that
I wouldn't be opposed to just buying it except for the
fact that it went from free to $1200.  That really blows
a huge hole in the budget of the small co I work for.

For those USians who have to maintain PCI compliance,
what are you guys using?

Stuart van Zee
[EMAIL PROTECTED]
  

Looking for openvas?
http://www.derkeiler.com/Mailing-Lists/securityfocus/pen-test/2005-11/0067.html



Re: Limit number of login sessions

2008-09-21 Thread Dorian Büttner
On Sunday 21 September 2008 02:16:58 Maximo Pech wrote:
 Hi I'm looking for a way to configure a limit for the maximum number of
 simultaneous login sessions for a user. I want to do this for preventing
 users to create multiple ssh sessions. I think something similar can be
 done trough pf, but that's not the approach I'm looking for.

Hi how about the sessionlimit in login.conf? Haven't ever used it myself but 
sounds quite promising.



Re: Limit number of login sessions

2008-09-21 Thread Dorian Büttner
On Sunday 21 September 2008 02:16:58 Maximo Pech wrote:
 Hi I'm looking for a way to configure a limit for the maximum number of
 simultaneous login sessions for a user. I want to do this for preventing
 users to create multiple ssh sessions. I think something similar can be
 done trough pf, but that's not the approach I'm looking for.

Hi how about the sessionlimit in login.conf? Haven't ever used it myself but 
sounds quite promising.
Or just forget that, I was in a FreeBSD console :-/



Re: dhcpd and bootp

2008-09-19 Thread Dorian Büttner

Lars Kotthoff schrieb:

Hi all,

 I'm trying to get DHCP with BOOTP to work, but it just won't. I've set up
dhcpd.conf with explicit allow bootp; and allow booting; the filename directive
is in the declaration for the specific host. Tftp is running through inetd and
works -- I've confirmed this by manually connecting to the server and
downloading the image file.

I'm starting dhcpd with the name of the interface to listen on as the only
commandline argument. The client tries to connect to port 67, but dhcpd doesn't
listen on this port (it doesn't listen on any port) and therefore the client
fails. I can rule out an error on the client side as it did work with a
different dhcp/bootp server which had the same configuration.

My packet filter is set up to not block any traffic on internal interfaces at
all. Am I missing a configuration option or something like that to tell dhcpd to
listen on port 67? I'm running OpenBSD 4.4. Any help appreciated.

Thanks,

Lars
  

How about dhcpd(8) options -d, -f, -n? Any useful output, then?



Re: Does OpenBSD have adjustkernel?

2008-09-14 Thread Dorian Büttner

Ling Xiaoheng schrieb:

Hey,guys:

In NetBSD its have adjustkernel perl script can custom your kernel
configuration file,how about OpenBSD?
I custom my OpenBSD kernel configuration and rebuild it,but in the
dmesg I found

OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC

I rename my configuration file to OpenBSD,but in dmesg its also
GENERIC,how can I change it?

linyin
  
Just config and compile 'OpenBSD' then instead of 'GENERIC'? And install 
this bsd[.mp] then, of course.
It's pretty much what's written in the build-your-custom-kernel-howto 
except you replace GENERIC by OpenBSD.




Re: Does OpenBSD have adjustkernel?

2008-09-14 Thread Dorian Büttner
On Sunday 14 September 2008 20:16:17 Ivan Arsenyev wrote:
The GENERIC kernel should be sufficient for most all systems
   and situations.

 I think it's his decision. If he'll do drivers patches and even do
 new drivers, if he will use custom mk.conf, and maybe even
 custom cvs tree why not use custom kernel config too.

 By the way if he'll get problems with something, they are will not
 consider by community, if his kernel isn't GENERIC, so it's better
 to build GENERIC kernel every time along with custom and hold
 it for bad day.

   In NetBSD its have adjustkernel perl script can custom your kernel

 I really don't see reason to write such. Just write your own config base on
 sys/arch/(your architecture)/conf/GENERIC and sys/conf/GENERIC and
 some online information. Don't forget that the bootloader give you choose
 kernel patch, so you're always in safe place.

   I rename my configuration file to OpenBSD,but in dmesg its also
   GENERIC,how can I change it?

 Didn't you forget to build it? :-) or did make install, or put compiled
 kernel
 to right place manually?

Looks like dmesg holds several boot processes in it and it just had the old 
kernel name on top of it with the newer one somewhere towards the end.
That's at least my conclusion from the off-list communication, as long as 
there aren't any misunderstandings remaining and I guess he was looking for 
something like the ident-line in FreeBSD kernel configs.



Re: Using snapshots - not sure with upgrade process - BFU :-)

2008-09-03 Thread Dorian Büttner

Tomas Bodzar schrieb:

Hi all,



I still read FAQ and some man pages again and again (useful and very readable 
info),but I'm still not sure or my english is terrible :-)



If I have 4.3 -release and make Upgrade with install44.iso snapshot (say from 
28.8.),do I need all the changes pointed here 
http://www.openbsd.org/faq/current.html or only changes after 28.8. or make 
changes only for things I was using or all changes are in snapshot?

I tried apply patches or follow -stable couple of times and everyting was ok - FAQ is 
clear for me.But here I'm not so sure.

I'm trying this in Qemu so mistakes are not so terrible.



During Upgrade there is an info to apply manually necessary changes in /etc 
,but which changes?I have config only for pf(4),I have this system for learn 
base (utilities and so on).



Could someone point me to right direction (what to read about snapshots,man 
page) ?

  
It's my understanding that anything changed is contained in the 
snapshot, except it doesn't change your configuration during an upgrade. 
You can use sysmerge (see plus.html for that) nowadays with etc44.tgz to 
merge configuration changes.




Re: OpenLDAP

2008-09-03 Thread Dorian Büttner

John Nietzsche schrieb:

I am in need for performance. Is replacing bdb with ldbm a good ideia?

Thanks once more.

On Wed, Sep 3, 2008 at 10:28 AM, Henning Brauer [EMAIL PROTECTED] wrote:
  

* John Nietzsche [EMAIL PROTECTED] [2008-09-03 13:22]:


is there any chance the next openbsd release holds an unbroken OpenLDAP?
  

I'd say the chance of ever having an unbroken OpenLDAP release on any
OS is pretty damn low.

that said, openldap works as well on openbsd as it does on other oses.
the only thing that does not work in 4.4 is the bdb backend. but then,
the bdb backend has almost ever been terrible, so you are better off
using another one anyway. i recommend ldbm. you will have to use
slapcat and slapadd to convert your database.

--
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam

slapd.conf(5) has a section dedicated to backends - actually, regarding 
bdb and ldbm, the opposite is true but you may want to check the other 
options like sql (however, I don't know if that info is appropriate).
For example, man slapd-sql. Or something like 'apropos slapd' will also 
yield some hints.




Re: Changing password in kerberized environment is not working.

2008-08-30 Thread Dorian Büttner
On Friday 29 August 2008 16:30:21 John Nietzsche wrote:
 Hi folks,

 i have configured my openbsd kerberos server. It is serving two other
 computer in my home network. One of this client is running openbsd the
 other is Windows XP.

 I am able to login into any of these 2 client and authentication goes
 through kerberos 100% successful. I can log in to the server 100% ok.
 After logged in any given machine, i can reach another through
 obtaining a service ticket, what gives me a SSO enviroment.

 The problem is that i cannot change password from any of those
 machine, i got the following:

 [EMAIL PROTECTED] passwd -K
 [EMAIL PROTECTED]'s Password:
 New password:
 Verifying password - New password:
 Reply from server: Authentication failed
 [EMAIL PROTECTED]


 [EMAIL PROTECTED] passwd -K
 [EMAIL PROTECTED]'s Password:
 New password:
 Verifying password - New password:
 Reply from server: Authentication failed
 [EMAIL PROTECTED]


 And on windows i get a screen witht he following:

 1326: Logon failure: unknow user or bad password.

 What i cannot understand is why i can login on any of the machine, but
 cannot change password.

 What am i doing wrong?


 OpenBSD machine is 4.3 stable and the other, Windows XP.
 Kerberos(heimdal) is the standard that comes with OpenBSD 4.3

Hi all,

what is the setup at all for this scenario?
I am able to get tickets from my openbsd server (kinit), but never got the 
remote login thing working.
The only place to configure was the change in login.conf, propably I'm 
overseeing something.

Thanks,
Dorian



Re: config GENERIC error

2008-08-03 Thread Dorian Büttner

pezking schrieb:

On Sun, Aug 3, 2008 at 3:17 PM, Emilio Perea [EMAIL PROTECTED] wrote:

  

On Sun, Aug 03, 2008 at 02:54:17PM -0500, pezking wrote:


Hello,

This is my first OpenBSD mailing list post so I hope I am in the correct
place, and if I am not I apologize in advance. I'm having some trouble
upgrading from OpenBSD 4.2 to 4.3 - particularly at the config GENERIC
stage. I am a little bit stumped as I have not edited the kernel in any
  

way


in my previous install, or in this one (thus just using GENERIC). I've
followed the steps in the handbook but this is the error I get when I do
config GENERIC inside /usr/src/sys/arch/i386/conf/:

  

I believe config changed in between releases.  You should upgrade to
4.3 release and then update to stable.




Thanks for the fast replies guys. I'll try your suggestion Emilio, just to
make sure, for the tag option in my supfile, do I just do . as I would
with FreeBSD to get the current release?

Shane
  

for current, you use tag=. , and for -stable something like tag=OPENBSD_4_3
release is what ships on cd.



Re: OpenSSL Certificate Authority Setup

2008-06-19 Thread Dorian Büttner

GVG GVG schrieb:

Dear Group,

I was trying to create a my own CA for signing certificates for sendmail and
when I did apply the following command:

---
openssl ca -policy policy_anything -out cert.pem -infiles csr.pem
---

I got:


Using configuration from /etc/ssl/openssl.cnf
variable lookup failed for ca::default_ca
28423:error:0E06D06C:configuration file routines:NCONF_get_string:no
value:/usr/src/lib/libssl/src/crypto/conf/conf_lib.c:329:group=ca
name=default_ca


I understand that openssl.cnf doesn't have any 'ca' reference and it fails
but why is that? What's the reason not having this entry in the default
openssl OpenBSD configuration? I am missing something?

Also, in http://openbsd.org/faq/faq10.html#HTTPS; explains how to sign the
certificate by yourself. Is that the same action?

Thanks for your support

George
  

security/tinyca is a nice graphical tool for that, btw.



Re: Wrong ownership of /var/named/master ?

2008-06-15 Thread Dorian Büttner

Andreas Maus schrieb:

Hi.

While configuring named on my sweet new Soekris 5501 I discovered
a little *uhm* misconfiguration (I would not call it a bug).

By default the permissions of /var/named/master is set to 0755
and owned by root:wheel. named runs in the chroot /var/named
with the user named, group named.

For most operations this permission/ownership is sufficient.
But if you try to use dynamic updates named will fail to create
the required journals:

15-Jun-2008 16:31:29.885 zone internal.wlan.badphish.dyndns.org/IN: sending 
notifies (serial 200806131)
15-Jun-2008 16:40:22.278 client 192.168.254.202#1025: updating zone '11g.wlan.badphish.dyndns.org/IN': adding an RR at 'nibbler.11g.wlan.badphish.dyndns.org' A 
15-Jun-2008 16:40:22.279 client 192.168.254.202#1025: updating zone '11g.wlan.badphish.dyndns.org/IN': adding an RR at 'nibbler.11g.wlan.badphish.dyndns.org' TXT

15-Jun-2008 16:40:22.280 journal file master/11g.wlan.badphish.dyndns.org.jnl 
does not exist, creating it
15-Jun-2008 16:40:22.280 master/11g.wlan.badphish.dyndns.org.jnl: create: 
permission denied
15-Jun-2008 16:40:22.280 client 192.168.254.202#1025: updating zone 
'11g.wlan.badphish.dyndns.org/IN': error: journal open failed: unexpected error

and dynmic updates will not work.

Simple fix:

chown named /var/named/master

Is this a known issue? At least the permissions of /var/named/master
is root:wheel since 4.1 (I am using 4.3 right now).

Perhaps can be fixed in 4.4 or is there a special reason to set
/var/named/master to root:wheel?

Many thanks in advance,

Andreas.

  
propably the file you gave named in the zone-section of named.conf needs 
to be existing in the first place. give named sufficient permission to 
read and, for dynamic update, to write in it - no bug here and no need 
to change directory ownership.




Re: [OpenBSD 4.2] dhclient issues

2008-05-18 Thread Dorian Büttner

Chris schrieb:

I am having issues with one of my OBSD boxes receiving DHCP IP address
from my ADSL modem. This problem has just started recently and I am
not sure if it's a software or hardware that's causing the issue. My
network interface is fxp0 and if I do ifconfig fxp0, it shows
status: no career. If I do dhclient fxp0 I get the following:

  
no carrier means no cable connection - check your hw. what do the 
status LEDs on either your nic and your modem indicate?




Re: Editing C with...

2008-05-04 Thread Dorian Büttner

Steve Shockley schrieb:


 Had a royal PITA the other day when I misspelled softdep in the 
/usr line in fstab, and didn't know how to use ed.




No prob w/o ed :) You can just cat /etc/fstab | grep -v usr  
/etc/fstab.new followed by echo 'whatever'  /etc/fstab.new and then 
mv everything to it's correct destination.
From time to time I use such mess to train english kezboard lazouts in 
single user mode.


Cheers,
Dorian



Re: Correctly uninstall default Apache and install Apache 2.2.4?

2008-04-21 Thread Dorian Büttner

Ed Flecko schrieb:

Hi folks,
For a variety of reasons and features, I'd like to install the
apache-httpd-2.2.4.tgz package. As a side note, I tried to install it
on OpenBSD 4.2, and there are a few package dependencies it apparently
is missing (at least on my box, which runs 4.2 without X) because the
install fails.

Anyway,

1.) Is there a correct way to uninstall the default Apache 1.3 that
ships with OpenBSD? I can't use a pkg_delete... can I?
2.) Maybe I don't need to? If I don't uninstall the original Apache,
will the new version overwrite the 1.3 version?
3.) Do I need to chroot the Apache 2.2.4 or will the default install
set it up that way?

Thank you,
Ed
  
1) Not recommended since 1.3 is part of the base distro. Just set 
httpd_flags=NO in /etc/rc.conf.local
to prevent startup. Dependencies problem is most likely due to expat 
which is in xbase, you may want to try 4.3 instead which is to be 
released in a couple of days.
2) No, since packages install somewhere under /usr/local, while base 
distro is in parent directories.
3) 'find /usr/local/share -type d | grep apache'  or similar and look 
around if you find some useful docs/configuration examples or even 
startup scripts/snippets that you can use in /etc/rc.local.


Regards,
Dorian



Re: RDR question

2008-04-14 Thread Dorian Büttner

Monah Baki schrieb:

rdr on $ext_if proto tcp from 192.168.2.0/24 to any port 80 - \
127.0.0.1 port 5000
  


You changed the 'to'-part from 'to $ext_if' to 'to any', yes, but you 
also modified the 'rdr on' device to $ext_if. Why not leave it $int_if 
as before? Should work here?




Re: RDR question

2008-04-13 Thread Dorian Büttner

Monah Baki schrieb:


rdr on $int_if proto tcp from $int_net to $ext_if port 80 - \
   127.0.0.1 port 5000

  


unless you host the unwanted sites on $ext_if, you may try to any 
instead and let us know?




Re: Problem installing milter-spamd -setenv

2008-04-04 Thread Dorian Büttner
What instructions do you mean? WANT_LIBMILTER seems to be the default 
since a good couple of releases, i.e. no need to rebuild?




Re: adjusting the mtu with vr(4)

2007-11-25 Thread Dorian Büttner
On Sunday 25 November 2007 00:00:45 Sevan / Venture37 wrote:
 Is the support for adjusting the mtu with VIA Rhine-II chipset based
 interfaces missing because of hardware limitations or because support for
 it hasn't been written yet??

 # ifconfig vr0 mtu 1492
 ifconfig: SIOCSIFMTU: Inappropriate ioctl for device



 Sevan / Venture37
 _
 The next generation of MSN Hotmail has arrived - Windows Live Hotmail
 http://www.newhotmail.co.uk

Appears to me that via hands out specs on a nda  case-by-case basis. Not sure 
why soekris decided to use those chips in the net-5501. Actually they use via 
rhine-III but they behave the same.
If you're routing to dsl you can workaround in pf.conf by putting a line like 
scrub out on $ext_if max-mss 1452
in the normalization section.

Regards,
Dorian



Re: ASUS P5B-VM SE and 3 sata drives, GURU need help ...

2007-11-12 Thread Dorian Büttner

Adriaan schrieb:

On Nov 12, 2007 9:21 PM, Rover [EMAIL PROTECTED] wrote:
  

I have a problem initializing SATA HDDs in OpenBDS, please help:
ASUS P5B-VM SE, there is an onboard controller: SATA Intel (4) and IDE
Jmicron (1). I have 3 SATA drives connected (160GB, 500GB and 500GB), no
RAID configured, and one CD-ROM drive, so the BIOS recognize them correctly
as hd0+*, hd1+, hd2, cd0.

When I finished installing the OS I could see only wd0 and wd1 (160MB and
500MB) connected ONLY(!) via SATA 3 and 4 ports on motherboard (and any HHDs
connected to this one, 500+500, 500+160 and etc), and wd2 is always
unavailable no matter how and what I dob

What else should I try? :,(
--



You could start by posting the full dmesg output, so people can see
what kind of hardware you have and which version of OpenBSD.

=Adriaan=
  


Have you tried playing with the bios settings? I had some issues with an 
ide controller in native or legacy mode. I think legacy mode works better.


Regards,
Dorian



Re: BIS3780

2007-11-03 Thread Dorian Büttner
On Friday 02 November 2007 20:11:44 Stuart VanZee wrote:
[...]
 Google, Yahoo, even that MSN search thing came up with
 SQUAT when I typed in BIS3780 so I am pretty sure that
 this is a futile effort but didn't think it would hurt to try here
 since I have tried everywhere else I can think of.

Doesn't give a concrete answer to the question but delivers an imagaination on 
what this is about: http://en.wikipedia.org/wiki/IBM_2780/3780

Regards,
d

 Thanks

 s



Re: OpenBSD Sound

2007-11-03 Thread Dorian Büttner

Jacob Meuser schrieb:

resending, sorry if this is a dup.

On Fri, Nov 02, 2007 at 02:59:13PM +0100, Dorian B?ttner wrote:

  

No kde doesn't play anything at all, kmixer doesn't have any available device.



ah, you have kdemultimedia installed.  there were a couple issues
with that port that mostly broke arts, but have been fixed in the
last few days.  either uninstall kdemultimedia, or update to
kdemultimedia-3.5.8p0.

  
kdemultimedia is deinstalled, and I thaught I could easily work around 
by using amarok instead. But that would not work since the kde 
soundsystem already was in use of the audio. To make this issue somewhat 
sillier, kandalf came up pointing me to artsdsp which I found out to be 
the wrong lane, either.
Lastly, on further googling, I found your libxine patch which enables 
the usage of artsd and that seems to be sufficient for now.


Thanks,
Dorian



Re: OpenBSD Sound

2007-11-02 Thread Dorian Büttner
On Wednesday 31 October 2007 22:22:15 Jacob Meuser wrote:
[...]
 probably not; at least not anytime soon.

 something for newbie hackers to work on: an ISC licensed audio daemon.

Sorry for hijacking this thread, propably anyone has a quick hint to make my 
audio work in kde.

Built /usr/src/regress/sys/dev/audio/obj as described here 
http://www.nabble.com/NVIDIA-MCP51-HD-Audio-azalia-problems-t4629307.html
and autest -r 48000 delivers good quality tone.

relevant dmesg seems to be this one:
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 
int
21 (irq 10)
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Realtek/0x0862 (rev. 0.1), HDA version 1.0
azalia0: codec: Motorola/0x3055 (rev. 7.0), HDA version 1.0
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1]: No audio function groups
audio0 at azalia0

However this doesn't seem to be a driver problem since autest passed with 
success. It's just that kde doesn't detect the device, where can I look at to 
nail down the problem? pkg_info contains either esound and arts.

Thanks,
Dorian



Re: OpenBSD Sound

2007-11-02 Thread Dorian Büttner
On Friday 02 November 2007 14:41:18 Daniel wrote:
[...]
  ok I removed the auto-suspend checkbox in the control center audio
  settings. After restarting the system I now have better values:
  $ audioctl play.rate
  play.rate=48000
  $ audioctl play.open
  play.open=1
  $ artscat testcase.wav
  plays fine :)) however kde doesn't. There seems to be the glue
  missing between the artsd and the kde sound system?

 If you mean the kde system notification sounds are not working check
 this:

 KDE Control Center / Sound  Multimedia / System Notifications:
 Bottom Right corner - [Player Settings] button.

 HTH,

 Daniel

No kde doesn't play anything at all, kmixer doesn't have any available device.



Re: OpenBSD Sound

2007-11-02 Thread Dorian Büttner
On Friday 02 November 2007 13:42:33 Dorian B|ttner wrote:
 On Friday 02 November 2007 13:07:54 Jacob Meuser wrote:
  On Fri, Nov 02, 2007 at 12:42:29PM +0100, Dorian B?ttner wrote:
   On Wednesday 31 October 2007 22:22:15 Jacob Meuser wrote:
   [...]
  
probably not; at least not anytime soon.
   
something for newbie hackers to work on: an ISC licensed audio
daemon.
  
   Sorry for hijacking this thread, propably anyone has a quick hint to
   make my audio work in kde.
  
   Built /usr/src/regress/sys/dev/audio/obj as described here
   http://www.nabble.com/NVIDIA-MCP51-HD-Audio-azalia-problems-t4629307.ht
  ml and autest -r 48000 delivers good quality tone.
  
   relevant dmesg seems to be this one:
   azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02:
   apic 2 int
   21 (irq 10)
   azalia0: host: High Definition Audio rev. 1.0
   azalia0: codec: Realtek/0x0862 (rev. 0.1), HDA version 1.0
   azalia0: codec: Motorola/0x3055 (rev. 7.0), HDA version 1.0
   azalia0: codec[1]: No support for modem function groups
   azalia0: codec[1]: No audio function groups
   audio0 at azalia0
  
   However this doesn't seem to be a driver problem since autest passed
   with success. It's just that kde doesn't detect the device, where can I
   look at to nail down the problem? pkg_info contains either esound and
   arts.
 
  is artsd running?
 
  $ pgrep -l artsd

 2299 artsd

  is the audio device opened for playback?
 
  $ audioctl play.open

 play.open=0
 seems not to be 'yes'? it is read-only variable.

  is it actuall artsd that has /dev/sound opened?  (artsd uses /dev/sound
  instead of /dev/audio)
 
  $ fstat /dev/sound

 empty table

  if all those are yes, then see if it works:
 
  $ artscat file.wav
 
  oh, and since you have azalia, you may need to tell artsd to resample
  to 48kHz.  K Menu - Settings - Sounds  Multimedia - Sound System
  In the Hardware tab.  Check Use custom sampling rate, set it to
  48000 Hz.  or manually starts artsd with 'artsd -r 48000'.

 done, but didn't help. Shouldn't artsd appear in the list of available
 soundsystems, btw?

 THanks,
 Dorian

ok I removed the auto-suspend checkbox in the control center audio settings.
After restarting the system I now have better values:
$ audioctl play.rate
play.rate=48000
$ audioctl play.open
play.open=1
$ artscat testcase.wav
plays fine :)) however kde doesn't. There seems to be the glue missing between
the artsd and the kde sound system?



Re: OpenBSD Sound

2007-11-02 Thread Dorian Büttner
On Friday 02 November 2007 13:07:54 Jacob Meuser wrote:
 On Fri, Nov 02, 2007 at 12:42:29PM +0100, Dorian B?ttner wrote:
  On Wednesday 31 October 2007 22:22:15 Jacob Meuser wrote:
  [...]
 
   probably not; at least not anytime soon.
  
   something for newbie hackers to work on: an ISC licensed audio
   daemon.
 
  Sorry for hijacking this thread, propably anyone has a quick hint to make
  my audio work in kde.
 
  Built /usr/src/regress/sys/dev/audio/obj as described here
  http://www.nabble.com/NVIDIA-MCP51-HD-Audio-azalia-problems-t4629307.html
  and autest -r 48000 delivers good quality tone.
 
  relevant dmesg seems to be this one:
  azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic
  2 int
  21 (irq 10)
  azalia0: host: High Definition Audio rev. 1.0
  azalia0: codec: Realtek/0x0862 (rev. 0.1), HDA version 1.0
  azalia0: codec: Motorola/0x3055 (rev. 7.0), HDA version 1.0
  azalia0: codec[1]: No support for modem function groups
  azalia0: codec[1]: No audio function groups
  audio0 at azalia0
 
  However this doesn't seem to be a driver problem since autest passed with
  success. It's just that kde doesn't detect the device, where can I look
  at to nail down the problem? pkg_info contains either esound and arts.

 is artsd running?

 $ pgrep -l artsd

2299 artsd


 is the audio device opened for playback?

 $ audioctl play.open

play.open=0
seems not to be 'yes'? it is read-only variable.

 is it actuall artsd that has /dev/sound opened?  (artsd uses /dev/sound
 instead of /dev/audio)

 $ fstat /dev/sound
empty table

 if all those are yes, then see if it works:

 $ artscat file.wav

 oh, and since you have azalia, you may need to tell artsd to resample
 to 48kHz.  K Menu - Settings - Sounds  Multimedia - Sound System
 In the Hardware tab.  Check Use custom sampling rate, set it to
 48000 Hz.  or manually starts artsd with 'artsd -r 48000'.
done, but didn't help. Shouldn't artsd appear in the list of available 
soundsystems, btw?

THanks,
Dorian



Re: OpenBSD Sound

2007-11-02 Thread Dorian Büttner
No, it didn't.
Actually tryin' a fresh install - slightly remember that it did work on the
fresh install.  I'll let you know.


On Friday 02 November 2007 15:45:49 Stijn wrote:
 Dorian,

 One wild guess: does it change when you start KDE as root?

 HTH,
 Stijn

 Dorian B|ttner wrote:
  On Friday 02 November 2007 14:41:18 Daniel wrote:
  [...]
 
  ok I removed the auto-suspend checkbox in the control center audio
  settings. After restarting the system I now have better values:
  $ audioctl play.rate
  play.rate=48000
  $ audioctl play.open
  play.open=1
  $ artscat testcase.wav
  plays fine :)) however kde doesn't. There seems to be the glue
  missing between the artsd and the kde sound system?
 
  If you mean the kde system notification sounds are not working check
  this:
 
  KDE Control Center / Sound  Multimedia / System Notifications:
  Bottom Right corner - [Player Settings] button.
 
  HTH,
 
  Daniel
 
  No kde doesn't play anything at all, kmixer doesn't have any available
  device.



Re: LDAP users

2007-10-24 Thread Dorian Büttner

Linus SwCFCB$las schrieb:


OpenBSD doesn't include an LDAP module though so you'd have to write
your own, details for how to do so is in the login.conf(5) man page.
Or perhaps you can google something, someone else has probably built
one already.


login_ldap no longer in ports?



Re: NFS exporting /usr/ports and -maproot=root

2007-10-18 Thread Dorian Büttner

Landry Breuil schrieb:

Hi,

i'm struggling to make my ports-tree usable on all my machines, it
seems that in my configuration -maproot=root in /etc/exports doesn't
work:

on the server (4.1 stable), /etc/exports contains :
/usr/ports -maproot=root client
perms : drwxrwxr-x  47 root  wsrc  1024 Oct 18 19:40 /usr/ports

on the client (-current), /etc/fstab contains :
server:/usr/ports /usr/ports nfs rw,nosuid 0 0
perms : drwxrwxr-x  47 root  wsrc  1024 Oct 18 19:40 /usr/ports

Nfs mount works fine, showmount -a is fine (i have client:/usr/ports
line), as a normal user (i'm in wsrc group) i can create files in
remote ports-tree, but as root it seems impossible, either using sudo
touch, sudo -u root touch or su - then touch, i'm always getting
touch: /usr/ports/test: Permission denied
As ports-tree uses extensively sudo, i'm kinda blocked..

I ran tcpdump on both, and i get this error :
 19:36:40.443005 server.nfsd  client.816: xid 0x944ace5 reply ok 60
create ERROR: Permission denied

I tried with -maproot=0, -maproot=0:0 with no luck. I know this works
for many people, so what have i missed here ? btw, i restarted
portmap/nfsd/mountd, and mountd -d doesn't give errors..

Thanks for any help,

Landry
  
What if you share a directory on the server from a partition that has 
the nosuid flag set in fstab?

/dev/wd0a / ffs rw 1 1
/dev/wd0f /home ffs rw,nodev,nosuid 1 2
/dev/wd0e /usr ffs rw,nodev 1 2
/dev/wd0g /var ffs rw,nodev,nosuid 1 2
/dev/wd0d /tmp ffs rw,nodev,nosuid 1 2



Re: Tool for HD analyzing

2007-09-28 Thread Dorian Büttner

Leonardo Marques wrote:

Hey guys,

I've a HD which are returning a lot of errors. Someone know some good
tool to analyze this disk and tell me if i've to replace it or if
exist some way to repair it?

HD: WDC WD1200JD-00HBB0

Errors:

dmesg |grep -i wd0
wd0 at pciide0 channel 0 drive 0: WDC WD1200JD-00HBB0
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
dkcsum: wd0 matches BIOS drive 0x82
wd0(pciide0:0:0): timeout
wd0a: device timeout reading fsbn 96 of 96-127 (wd0 bn 159; cn 0 tn 2
sn 33), retrying
wd0a: device timeout reading fsbn 96 of 96-127 (wd0 bn 159; cn 0 tn 2
sn 33), retrying
wd0a: device timeout reading fsbn 96 of 96-127 (wd0 bn 159; cn 0 tn 2
sn 33), retrying
wd0a: device timeout reading fsbn 96 of 96-127 (wd0 bn 159; cn 0 tn 2
sn 33), retrying
wd0a: device timeout reading fsbn 96 of 96-127 (wd0 bn 159; cn 0 tn 2
sn 33), retrying
wd0a: device timeout reading fsbn 96 of 96-127 (wd0 bn 159; cn 0 tn 2 sn 33)
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)

Thanks for all attention.

  


Wasn't it up to the manufacturer to provide some diagnostic tool which 
also delivers an error code used for the RMA process.


Thanks,
Dorian



Re: Unstable PPPoE

2007-07-28 Thread Dorian Büttner

Timothy Wilson wrote:


/etc/hostname.pppoe:

inet 0.0.0.0 255.255.255.255 NONE pppoedev url0 authproto auto
authname 'user' authkey 'pass' up
dest 0.0.0.1
!/sbin/route/ add default -ifp pppoe0 0.0.0.1

echo up  /etc/hostname.url0

Please feel free to give suggetions to my pf.conf etc!
  



Hi Timothy,

I'm recently setting up my box to do pppoe as well, and I found your 
hostname.pppoe not working at all, unless I changed authproto to pap.

auto isn't even supposed to work.

Here's what man ifconfig says:
authproto proto
Set the PPP authentication protocol on the specified interface
acting as a client.  The protocol name can be either `chap',
`pap', or `none'.  In the latter case, authentication will be
turned off.


I'm wondering why your box goes online at all?
Regards,
Dorian