Re: Panic at pmap_remove_ptes, 5.2/i386

2013-01-05 Thread Marcin
Hello,

I have been running machine with ddb.panic=1 and ddb.console=1 in hope
I will be able to provide more info after next crash. Unfortunately,
when it crashed today the kernel went to ddb but it was not responding
- it did not show what I typed and even when I tried to type show
panic and press enter nothing happened. I would have tried
cltr-alt-esc shortcut had the kvm would not disconnect me..

Anyway, this time it printed (I could only take a screenshot, hence I
am transcribing it):

uvm_fault(0xd0a11920, 0xffcb1000, 0, 3) -> e
kernel: page fault trap, code =0
Stopped at   pmap_remove_ptes+0x89: xchgl %ebx,0(%eax)

Not sure if this is of any use.

Cheers,
Marcin



Re: Panic at pmap_remove_ptes, 5.2/i386

2012-12-23 Thread Marcin
On 19 December 2012 21:22, Stuart Henderson  wrote:
> On 2012-12-18, Marcin  wrote:
>> I found an older thread  with Stuart reporting similar issue here
>> http://marc.info/?l=openbsd-tech&m=132593610913252
>
> Frequent is kind-of good ;) I had a few crashes close together but
> then nothing (and I've moved most of those boxes to amd64 by now).

Thanks for reply! I was not sure if amd64 port is mature enough, but
changing architecture is definitely an option.

> Really you'll want some way to log DDB output (serial console
> preferably, unless you are lucky and the dmesg buffer survives
> a reboot) and at least run "show all pools" as well as the usual
> trace / ps.

Yes, I set up ddb options on one of the machines to get more info,
unfortunately it wasn't the one which crashed few hours ago :).
Intriguingly, the frequency of crashes seems to decrease, one
of the machines ran for  exactly 8 days (+/- 15 minutes) before it crashed.

Cheers,
-- 
Marcin



Re: http/https timeouts with OpenBSD based firewall

2012-12-08 Thread Marcin
On 24 October 2012 22:07, Marcin  wrote:
>
> Joel, your guess was spot on. Removing "reassemble tcp" from scrub rule indeed
> resolved the issue. Thank you very much!
>

Hi,
Just to help people running into similar issues - there is a registry
key on Windows 2003 which can mitigate the problem.
It needs to be created under:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
and is called Tcp1323Opts (DWORD).
Setting it to value 1 seems to solve the problem.

-- 
Marcin




Re: http/https timeouts with OpenBSD based firewall

2012-10-24 Thread Marcin
On 23 October 2012 12:53, Joel Sing  wrote:
> Unfortunately we have no idea what firewall rules you have configured, however
> I'm going to take random guess and say that you're using a scrub rule
> with 'reassemble tcp' - if this is the case you'll probably find that some
> TCP connections to Windows-based servers will fail, since they often violate
> RFC1323 by using a 0-value timestamp during the three-way handshake, then
> increase it by some value between 0 and 2^31 on the first data packet. Note
> the TS val fields in the first two packets from 64.79.160.13:

Joel, your guess was spot on. Removing "reassemble tcp" from scrub rule indeed
resolved the issue. Thank you very much!

Out of interest - it seems like Windows 2008/2012 behave much better
here as I did not
experience such problems with these systems. Is it the case or was I just lucky?

Thanks again!
-- 
Marcin



OpenBSD 5.1 kernel panic during boot

2012-05-14 Thread Marcin Markowski
  Hi,

I have a problem running a freshly installed OpenBSD 5.1 amd64 on
Intel's server platform. During boot kernel panic occurs, and the only
way to boot is to disable ACPI.

System: OpenBSD 5.1 amd64
Server: Intel SR2600URBRP, 2x Xeon X5650, 6GB RAM

Attachment contains panic message, kernel output, trace and ps command.

PS 2 weeks ago by my mistake, I sent this to bugs@ and I apologize
for that.

-- 
Marcin Markowski
booting hd0a:/bsd: 5669864+1601484+935608+0+617568 [89+499848+323884]=0xd351b8
entry point at 0x1001e0 [7205c766, 3404, 24448b12, 3cb8a304]
[ using 824664 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-2012 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.1 (GENERIC.MP) #207: Sun Feb 12 09:42:14 MST 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 6379212800 (6083MB)
avail mem = 6195228672 (5908MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x8f602000 (64 entries)
bios0: vendor Intel Corp. version "S5500.86B.01.00.0061.030920121535" date 
03/09/2012
bios0: Intel Corporation S5520UR
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S5
acpi0: tables DSDT FACP APIC MCFG HPET SLIT SRAT SPCR WDDT SSDT SSDT HEST BERT 
ERST EINJ
acpi0: wakeup devices MRP1(S5) ZOR1(S4) ZOR2(S4) MRP3(S4) MRP4(S4) MRP5(S4) 
MRP6(S4) MRP7(S4) MRP8(S4) MRP9(S4) GOR1(S4) GOR5(S4) GOR2(S4) GOR3(S4) 
GOR4(S4) GOR6(S4) MRPA(S4) UHC4(S1) UHC5(S1) UHC6(S1) EHC2(S1) ALZA(S5) 
PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) PEX5(S5) UHC1(S1) UHC2(S1) 
UHC3(S1) UHCI(S1) EHC1(S1) IP2P(S5) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz, 2660.65 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 32 (application processor)
cpu1: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz, 2660.30 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF
cpu1: 256KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz, 2660.30 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF
cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 34 (application processor)
cpu3: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz, 2660.30 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF
cpu3: 256KB 64b/line 8-way L2 cache
cpu4 at mainbus0: apid 4 (application processor)
cpu4: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz, 2660.30 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF
cpu4: 256KB 64b/line 8-way L2 cache
cpu5 at mainbus0: apid 36 (application processor)
cpu5: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz, 2660.30 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF
cpu5: 256KB 64b/line 8-way L2 cache
cpu6 at mainbus0: apid 16 (application processor)
cpu6: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz, 2660.30 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF
cpu6: 256KB 64b/line 8-way L2 cache
cpu7 at mainbus0: apid 48 (application processor)
cpu7: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz, 2660.30 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,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF
cpu7: 256KB 64b/line 8-way L2 cache
cpu8 at mainbus0: apid 18 (application processor)
cpu8: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz, 2660.30 MHz
cpu8: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,D

Re: Hardware (firewall) recommendation

2012-04-17 Thread Marcin
On 17 April 2012 09:35, Henning Brauer  wrote:

> * Marcin  [2012-04-17 08:59]:
> > What I am after:
> > * 2 sockets,
>
> what for? unless you run extremely heavy userland proxies, you don't
> get much (any) benefit, especially given that the one-socket machines
> are all 4core now.
>

Fair point. I am also planning to use single inbound and few OpenVPN
outbound
channels, however with AES-NI it should not be a problem for a single
socket server.

> * RAID 1 SAS/SATA controller (2 hard drives are enough)
>
> what for? that increases complexity and thus chance to fail with no
> benefit. you have no precious data on those disks and have two
> machines.
>
>
Simply because those machines are going to be several hundreds miles away.
It is much easier to ask datacenre stuff to replace hard drive so it
rebuilds
and machine continues to run, instead of restoring it from a backup when
the single harddrive fails.


> I'm very happy with Supermicro X9SC* based systems, with Xeon E3-1220
> and an Intel SSD. Check with your local supplier for exact model
> options. Superior performance, 35W idle, no trouble whatsoever, fair
> pricing.
>
>
Thanks for that, this is a failsafe option, although I am looking more
towards IBM/HP/Dell so I can fullfill the requirement for support contracts.

Regards,
-- 
Marcin



Hardware (firewall) recommendation

2012-04-17 Thread Marcin
Hello,

I am looking for a hardware recommendation for a new OpenBSD based
firewalls. So far I have been using IBM x336s, but they are slowly
approaching end of life.

What I am after:
* 1U i386/amd64 server,
* 2 sockets,
* RAID 1 SAS/SATA controller (2 hard drives are enough)
* decent dual LAN onboard
* at least one/preferably two PCI-X slots to add one dual/couple of single
fibre network cards
* IPMI 2.0 with out of band management

I am pushed towards buying from one of the big vendors (IBM/Dell/HP/?) as
one of the requirements is to have 24x7x4h or 24x7x8h support.

Machines will be running pf, bgp, relayd (not necessarily all three on a
single unit), should handle about 200Mbit of traffic (30K-50K pps).

I tried IBM x3550 few years back, but the dumb raid controller was not
supported then, not sure if it changed since.

Thanks in advance,
-- 
Marcin



Re: OT - secondary DNS recommendations

2010-12-08 Thread Marcin Wilk

W dniu 2010-12-09 03:00, Ted Unangst pisze:

On Wed, Dec 8, 2010 at 8:35 PM, Luca Corti  wrote:

On Wed, 2010-12-08 at 11:49 -0500, Scott McEachern wrote:

I know how to use Google to find free alternatives, I'm looking for
*recommendations* for a simple two-domain home network.

Since you are already using Google, you probably won't mind using...
google.

http://code.google.com/speed/public-dns/docs/using.html

google's dns hosting would be great except for the minor inconvenience
of google not hosting other people's DNS...




Hello.
I would recommend https://www.xname.org/index.php
they are free, stable, and work greate for me for many years :)
I also use http://www.twisted4life.com because of interesting server 
location, also free, and also good for many years for me :)




--
Marcin "Nicram" Wilk
Homepage: http://www.marcinwilk.eu/



Kernel page fault trap, code=0, uvm_fault, what to do next

2010-02-12 Thread Marcin Wilk
inux binaries
#kern.emul.svr4=1# enable running SVR4 binaries

kern.maxproc=1536

net.inet.ip.porthifirst=51000
net.inet.ip.porthilast=52000

kern.maxfiles=16384
kern.seminfo.semmni=256
kern.seminfo.semmns=2048
kern.shminfo.shmmax=50331648
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
net.inet.udp.recvspace=65536
net.inet.udp.sendspace=65536
net.inet.ip.maxqueue=1200

I cannot show pf.conf here on the list.
Please anyone help if You can.
If there is some more i can do to diagnose problem,
please tell me what to do.

Best Regards

--
Marcin "Nicram" Wilk
Homepage: http://nicram.sytes.net/



Re: current on HP EliteBook 8530w

2010-01-24 Thread Pawlowski Marcin Piotr

Zoran IvaniD wrote:
 

Hi!

This looks same as problem on my hp 6930p. According to Jordan it's some
reference counting bug somewhere. This makes it boot... 



Index: dsdt.c
===
RCS file: /cvs/src/sys/dev/acpi/dsdt.c,v
retrieving revision 1.157
diff -u -p -r1.157 dsdt.c
--- dsdt.c  5 Dec 2009 02:38:11 -   1.157
+++ dsdt.c  23 Jan 2010 23:49:46 -
@@ -3629,7 +3629,7 @@ aml_xparse(struct aml_scope *scope, int 
 			aml_freevalue(opargs[1]);
 
 			/* Create Object Reference */

-   _aml_setvalue(opargs[1], AML_OBJTYPE_OBJREF, opcode, 
opargs[0]);
+   _aml_setvalue(opargs[1], AML_OBJTYPE_INTEGER, 
0xDEADBEEF, opargs[0]);
aml_xaddref(opargs[1], "CondRef");

/* Mark that we found it */



As it comes to my 2530p that helped - acpiec is back on line, battery is 
working.
But both apm -z and apm -S doesn't work and no brightness changes (thats not a 
big deal cause im using light sensor).

Cheers,
pmp



Re: current on HP EliteBook 8530w

2010-01-22 Thread Pawlowski Marcin Piotr

Jan Stary wrote:

Jan Stary wrote:

/bsd panics when booting when ACPI is enabled; boots and works just fine
once ACPI is disabled (via UKC). See full dmesgs below.




What puzzles me is that /bsd.rd (who does the install) has ACPI enabled,
yet runs fine - unlike the /bsd that in installs (see the full dmesg
of bsd.rd below, too):



Looking at the differing ACPI and cpu lines in the dmesgs
of /bsd and /bsd.rd, I see that /bsd has more ACPI parts
(lines missing from a full diff, obviously):



Could it be that one of these (acpicpu, acpibat, ...) that /bsd has
but /bsd.rd has not makes /bsd panic while booting? Is there any
point in trying to disable them one after another in UKC?



On Jan 22 14:28:24, Pawlowski Marcin Piotr wrote:

I've HP ELiteBook 2530p and I'm having panic too when using kernel
with acpi. While I was tracing that I've found that kernel with
disabled acpiec works

I don't know if that would help in Your's case but it's worth trying.



Thank you Marcin, acpiec was the guilty one.
Below is a dmesg of -current with acpiec diabled that boots fine.

As man acpiec says, 


On many systems which have an acpiec device, other ACPI
devices such as acpiac(4), acpibat(4), and acpitz(4)
implicitly depend on the acpiec device.

and indeed, my acpibat and acpiac are confused
(battery is in fact present, and AC is not online just now):

acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online

With acpi enabled, I can run apmd now.  Runs fine, except
that it is confused about AC and the battery, understandably.
apm -A, -C, -L, -H all work; -S (standby) and -z (suspend)
do nothing, though.

Also, after disabling acpiec, my processor's C3 state is back:

acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS


Is there anything I can do to help find out what
exactly is wrong with acpiec on this machine?


Try to get trace while in ddb mode after panic...
And I think that kernel wit ACPI_DEBUG option would be good place to 
start tracking that bug...


If acpidump is working for You that would be helpful too (in my case
it's coredumping).

Cheers,
pmp

P.S.
As it is with my Elitebook:
I'm getting kernel protection fault:

copyvalue: 1f5480Store to default type! 1eeb80

743e Called: \_SB_.PCI0.LPCB.EC0_.RPPC
local0:  0x80201788 cnt:01 stk:60 integer:2
local1:  0x80201b88 cnt:01 stk:61 integer:0
local2:  0x80204208 cnt:02 stk:62 objref: 0x801dfd88 index:0 
opcode:CondRef
kernel: protection fault trap, code=0
Stopped ataml_nodename+0x22:movq0(%rdi),%rdi

And this is trace:
aml_nodename() at aml_nodename+0x22
aml_showvalue() at aml_showvalue+0x32d
aml_die() at aml_die+0x18c
aml_xstore() at aml_xstore+0x1d5
aml_xparse() at aml_xparse+0x6c7
aml_xeval() at aml_xeval+0x135
aml_xparse() at aml_xparse+0x5fe
aml_xeval() at aml_xeval+0x135
aml_evalnode() at aml_evalnode+0x6b
acpiec_gpehandler() at acpiec_gpehandler+0xa6
acpi_isr_thread() at acpi_isr_thread+0x182
end trace frame: 0x0, count: -11

his is part of dmesg output with ACPI_DEBUG turned on:

pr: Add 1d6 aac = c82
aml_evalexpr: LLess c82 b4c = 0
quick: 15bb [LLess] alloc return integer = 0x0
aml_evalexpr: LEqual 0 0 = 1
quick: 15e5 [LEqual] alloc return integer = 0x1
parse-if @ 15e3
aml_evalexpr: LGreater c82 c5a = 1
quick: 15eb [LGreater] alloc return integer = 0x1
parse-if @ 15e9
GTTP acquires mutex THER
aml_evalexpr: ShiftLeft 1 0 = 1
quick: 1614 [ShiftLeft] alloc return integer = 0x1
aml_evalexpr: And 1 1 = 1
quick: 161d [And] alloc return integer = 0x1
parse-if @ 161a
aml_evalexpr: LEqual 0 0 = 1
quick: 1626 [LEqual] alloc return integer = 0x1
parse-if @ 1624
aml_evalexpr: Or 3d 1 = 3d
aml_evalexpr: And 3d 1 = 1
quick: 1636 [And] alloc return integer = 0x1
parse-if @ 1634

--== Eval Method [\\_TZ_.CATZ, 1 args] to i ==--
= Stack \\_TZ_.CATZ:Method
Arg0:  0x801c8908 cnt:02 stk:00 integer: 0

--==Finished evaluating method: \\_TZ_.CATZ i
0x801c2d88 cnt:01 stk:00 integer: 0
= Stack \\_TZ_.CATZ:Method
Arg0:  0x801c8908 cnt:02 stk:00 integer: 0
Local1:  0x8017b208 cnt:01 stk:61 integer: 0
quick: 163e [Match] alloc return integer = 0x0
aml_evalexpr: LNotEqual 0 0 = 0
quick: 1685 [LNotEqual] alloc return integer = 0x0
aml_evalexpr: LOr 0 0 = 0
quick: 1684 [LOr] alloc return integer = 0x0
aml_evalexpr: Not 1 0 = fffe
quick: 16e4 [Not] alloc return integer = 0xfffe
aml_evalexpr: And 1 fffe = 0
GTTP releases mutex THER

--==Finished evaluating method: \\_TZ_.GTTP t
0x801cd608 cnt:01 stk:00 integer: c82
= Stack \\_TZ_.GTTP:Method
Arg0:  0x801c8908 cnt:01 stk:00 integer: 0
Local0:  0x801afc88 cnt:01 stk:60 integer: 0
Local1:  0x801a8d08 cnt:01 stk:61 integer: c82
Local2:  0x801c2c88 cnt:01 stk:62 integer: 1
Local3:  0x80

Re: 4.6 reboots x336 ibm server(s)

2010-01-13 Thread Marcin
2010/1/12 FRLinux :
> On Tue, Jan 12, 2010 at 6:05 PM, Marcin  wrote:
>> However, it hangs later on just after printing out following lines:
>>
>> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
>> mem address conflict 0xff00/0x1000
>> pchb0 at pci0 dev 0 function 0 "Intel E7520 Host" rev 0x0c
>> "Intel E7520 Error Reporting" rev 0x0c at pci0 dev 0 function 1 not 
>> configured
>> ppb0 at pci0 dev 2 function 0 "Intel E7520 PCIE" rev 0x0c
>
> Yup, same error here, precisely at that line.
>
> Just to confirm that we have the same issue, can you try disabling
> ppb* on boot -c then see if it goes to the login prompt?
>

Was even worse for me here, as although disabling ppb* makes the
kernel go slightly further, it has a nasty side effect of disabling
scsi controllerl.

However, I have just checked out and compiled -current and can confirm
the issue is gone - machine booted and all network interfaces are
accessible.

Many thanks to everyone involved in fixing that!

Regards,
Marcin



Re: 4.6 reboots x336 ibm server(s)

2010-01-12 Thread Marcin
2010/1/12 Kenneth R Westerback :
> Please try -current as of today (Jan 13, 2010 Melbourne time), there were
> number of significant fixes committed in the last couple of days.

Hi,

I tried current - the good news is the problem with freeze at startup is gone
 - kernel boots immediately.

However, it hangs later on just after printing out following lines:

pci0 at mainbus0 bus 0: configuration mode 1 (bios)
mem address conflict 0xff00/0x1000
pchb0 at pci0 dev 0 function 0 "Intel E7520 Host" rev 0x0c
"Intel E7520 Error Reporting" rev 0x0c at pci0 dev 0 function 1 not configured
ppb0 at pci0 dev 2 function 0 "Intel E7520 PCIE" rev 0x0c


Thanks,
Marcin



Re: 4.6 reboots x336 ibm server(s)

2010-01-11 Thread Marcin
2009/10/22 FRLinux :
> I have several IBM x series 336 servers and attempted to upgrade them
> today.
(...)
> When applied and i issued a reboot, the server rebooted after locking
> at this line:
>
> "Intel E7520 Error Reporting" rev 0x0c at pci0 dev 0 function 1 not configured
> ppb0 at pci0 dev 2 function 0 "Intel E7520 PCIE" rev 0x0c
>
> At this stage, server reboots and its BIOS issues the following:
> re-booting due to unexpected NMI at :

Hello,

I ran into the same issue with IBM x336 while trying to launch 4.6
after installation.
I checked 4.6 ISO and -current, neither of them booted successfully.

My x336s are fairly standard machines (4GB of RAM, 2x3.2GHz Xeon, 2x73GB SCSI)
however I have Intel em(4) adapter installed.

I equipped my test machine with management card so I am happy to provide
more information in addition to what has been already sent by Steph.

I can also confirm another problem with IBM x336 - while loading the
kernel it freezes
for several minutes, just after "entry point at ." message. The
freeze can be skipped
by pressing any key - the same behaviour was observed with 4.5.

Finally - does anyone successfully use ipmi with x336? I was hoping to
use watchdog,
but it behaved very unstable and lead to kernel panic.

Many thanks,
Marcin



Re: mysterious missing devices

2010-01-09 Thread Pawlowski Marcin Piotr

Pawlowski Marcin Piotr wrote:

Hi,
could someone give me a hint about what is going on with my broadband 
module and fingerprint reader. Thing is that when I'm booting amd64 
kernel I have:


ugen0 at uhub3 port 1 "AuthenTec Fingerprint Sensor" rev 2.00/17.03 addr 2

and when I'm booting i386 kernel I have:

ugen0 at uhub0 port 2 "HP un2400 Mobile Broadband Module HP un2400 
Mobile Broadband Module" rev 2.00/0.01 addr 2


It's interesting that they are somehow "mutually exclusive", meaning the 
first one is not detected by i386 kernel and the second one by amd64 
kernel.


Any hints?



I've found a clue while I was playing with debugging kernel:

uhub0: port 1, device disappeared after reset

I don't know yet if its fault of uhub or something else (pci?).
Any advice would be appreciated...

Cheers,
pmp

OpenBSD 4.6-current (DEBUG) #4: Fri Jan  8 21:19:50 CET 2010
   p...@amnesiac:/usr/src/sys/arch/amd64/compile/DEBUG
real mem = 2004357120 (1911MB)
avail mem = 1941528576 (1851MB)
RTC BIOS diagnostic error e3
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x77ac4000 (22 entries)
bios0: vendor Hewlett-Packard version "68PSU Ver. F.0E" date 09/14/2009
bios0: Hewlett-Packard HP EliteBook 2530p (FU435EA#ABB)
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC MCFG TCPA SSDT SLIC DMAR ASF! SSDT SSDT SSDT
acpi0: wakeup devices LANC(S0) HDEF(S4) RP02(S5) WNIC(S5) RP03(S5) ECF0(S5) 
RP05(S5) ECF0(S5) RP06(S0) NIC_(S0) USB1(S0) USB2(S0) USB3(S0) USB4(S0) 
USB5(S0) USB6(S0) U6RM(S0) EHC1(S0) EHC2(S0) PCIB(S5) HST1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU L9400 @ 1.86GHz, 1862.33 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,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU L9400 @ 1.86GHz, 1862.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu1: 6MB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus -1 (PEGP)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus 3 (RP03)
acpiprt4 at acpi0: bus 68 (PCIB)
acpiprt5 at acpi0: bus 0 (PCI0)
acpiec at acpi0 not configured
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: APPR
acpipwrres1 at acpi0: COMP
acpipwrres2 at acpi0: LPP_
acpitz0 at acpi0: critical temperature 105 degC
acpitz1 at acpi0: critical temperature 110 degC
acpitz2 at acpi0: critical temperature 110 degC
acpitz3 at acpi0: critical temperature 90 degC
acpitz4 at acpi0: critical temperature 105 degC
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 1862 MHz: speeds: 1867, 1866, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0x8000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 10)
drm0 at inteldrm0
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
"Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 "Intel GM45 PT IDER" rev 0x07: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 1 int 18 (irq 11) for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
"Intel GM45 AMT SOL" rev 0x07 at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: apic 1 int 22 
(irq 10), address 00:23:5a:35:25:ca
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 16 (irq 
10)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 17 (irq 
10)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 18 (irq 
11)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 19 (irq 
10)
usb0 at ehci0: USB revision 2.0
uhub_match, dd=0x801ac758
uhub0 at usb0 &

mysterious missing devices

2010-01-07 Thread Pawlowski Marcin Piotr

Hi,
could someone give me a hint about what is going on with my broadband 
module and fingerprint reader. Thing is that when I'm booting amd64 
kernel I have:


ugen0 at uhub3 port 1 "AuthenTec Fingerprint Sensor" rev 2.00/17.03 addr 2

and when I'm booting i386 kernel I have:

ugen0 at uhub0 port 2 "HP un2400 Mobile Broadband Module HP un2400 
Mobile Broadband Module" rev 2.00/0.01 addr 2


It's interesting that they are somehow "mutually exclusive", meaning the 
first one is not detected by i386 kernel and the second one by amd64 kernel.


Any hints?

Cheers,
pmp

amd64 usbdevs output:

Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), 
Intel(0x8086), rev 1.00

  uhub0
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 addr 2: high speed, power 168 mA, config 1, CKA7227(0xb082), 
Chicony Electronics Co., Ltd.(0x04f2), rev 32.18, iSerialNumber SN0001

   uvideo0
 port 6 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), 
Intel(0x8086), rev 1.00

  uhub1
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

  uhub2
 port 1 addr 2: full speed, self powered, config 1, HP Integrated 
Module(0x171d), Broadcom Corp(0x03f0), rev 1.00

   ubt0
 port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

  uhub3
 port 1 addr 2: full speed, power 100 mA, config 1, Fingerprint 
Sensor(0x2810), AuthenTec(0x08ff), rev 17.03

   ugen0
 port 2 powered
Controller /dev/usb4:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

  uhub4
 port 1 powered
 port 2 powered
Controller /dev/usb5:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

  uhub5
 port 1 powered
 port 2 powered

i386 usbdevs output:

Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), 
Intel(0x8086), rev 1.00

  uhub0
 port 1 powered
 port 2 addr 2: high speed, self powered, config 1, HP un2400 Mobile 
Broadband Module(0x201d), HP un2400 Mobile Broadband Module(0x03f0), rev 
0.01

   ugen0
 port 3 powered
 port 4 powered
 port 5 addr 3: high speed, power 168 mA, config 1, CKA7227(0xb082), 
Chicony Electronics Co., Ltd.(0x04f2), rev 32.18, iSerialNumber SN0001

   uvideo0
 port 6 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), 
Intel(0x8086), rev 1.00

  uhub1
 port 1 addr 2: high speed, power 100 mA, config 1, DataTraveler 
2.0(0x1603), Kingston(0x0951), rev 2.00, iSerialNumber 
89900090

   umass0
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

  uhub2
 port 1 addr 2: full speed, self powered, config 1, HP Integrated 
Module(0x171d), Broadcom Corp(0x03f0), rev 1.00

   ubt0
 port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

  uhub3
 port 1 powered
 port 2 powered
Controller /dev/usb4:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

  uhub4
 port 1 powered
 port 2 powered
Controller /dev/usb5:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00

  uhub5
 port 1 powered
 port 2 powered

dmesgs:
OpenBSD 4.6-current (GENERIC.MP) #56: Mon Jan  4 17:26:38 MST 2010
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2004357120 (1911MB)
avail mem = 1941385216 (1851MB)
RTC BIOS diagnostic error e3
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x77ac4000 (22 entries)
bios0: vendor Hewlett-Packard version "68PSU Ver. F.0E" date 09/14/2009
bios0: Hewlett-Packard HP EliteBook 2530p (FU435EA#ABB)
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC MCFG TCPA SSDT SLIC DMAR ASF! SSDT 
SSDT SSDT
acpi0: wakeup devices LANC(S0) HDEF(S4) RP02(S5) WNIC(S5) RP03(S5) 
ECF0(S5) RP05(S5) ECF0(S5) RP06(S0) NIC_(S0) USB1(S0) USB2(S0) USB3(S0) 
USB4(S0) USB5(S0) USB6(S0) U6RM(S0) EHC1(S0) EHC2(S0) PCIB(S5) HST1(S5)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU L9400 @ 1.86GHz, 1862.30 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,SMX,EST,TM2,CX16,xTPR,NXE,LONG

cpu0: 6MB 64b/line 16-way L2 cache
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU L9400 @ 1.86GHz, 1862.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,

Re: Relayd and numer of open files.

2009-09-24 Thread Marcin
2009/9/24 Stuart Henderson :
> relayd already sets the limit as high as the login class allows.
>
> for daemons started from /etc/rc or by root the class is normally
> "daemon", so you might want to add a higher openfiles-max for daemon
> to login.conf (the default isn't in the file, but seems to be 1024).

Thanks for your reply,

That is quite intriguing, cause my login.conf (4.5 stable) says:

# Settings used by /etc/rc and root
# This must be set properly for daemons started as root by inetd as well.
(...)
daemon:\
(..)
:openfiles-cur=128:\

 and indeed increasing this value solved the problem.

> N.B. with this many checks you might bump into PR 6165.

Thanks - I already did, but luckily I can live with that - there is enough
servers  to let one or two slip every now and then.

Btw, I am very impressed with relayd - it turned out to be a fantastic
piece of software. Extremely stable and it is not sitting idle: ;)
total: 1600835 sessions
last: 1769/60s 1769/h 3678430/d sessions
average: 1735/60s 113301/h 1339257/d sessions

Cheers,
-- 
Marcin



Relayd and numer of open files.

2009-09-24 Thread Marcin
Hi all,

While trying to implement relayd to load balance traffic using
redirection method for 7 external http/https services distributed
amongst 35 internal hosts I came across what I believe is the file handle limit.

Due to a number of servers the total number of health check queries
 is 219 however only first 119 succeeds, while remaining queries
log 'error: tcp connect error' message.

Although the problem is easily resolvable with ulimit executed before
relayd I wonder if more fundamental change to increase RLIMIT_NOFILE
inside relayd would make sense?

Thanks,
-- 
Marcin



Re: Wireshark

2009-08-20 Thread Pawlowski Marcin Piotr
On Wed, 19 Aug 2009 19:51:25 +0200
merlyn  wrote:

> On Monday 17 August 2009 00:51:28 stan wrote:
> > I realize that there is histroy here but I really need to make this
> > tool work, and OpenBSD is my OS of choice for network related
> > functions.
> >
> > Has anyone gotten wireshark to compile on OpenBSD 4.5? I am trying
> > to build version 1.2.1, if that matters.
> 
> Hi stan,
> last version of Wireshark I've successfully compiled was 0.99.8.
> If you'll have more good luck than me, send a patch to this mailing
> list.
> 
> --
> Merlyn
> Aberdeen
> Scotland
> 
> 

Here it's 1.0.7 (i think) and it's working under i386 and amd64
http://student.if.uj.edu.pl/Marcin.Pawlowski/openbsd/ports/wireshark.tar.gz
When I will have some free time I will update it ;-)

Cheers,
pmp



cardbus rtw malfunction

2009-08-13 Thread Pawlowski Marcin Piotr
Hi,
I've recently (yesterday) compiled new GENERIC kernel and it have
difficulties while detecting and using my rtw card. I have two laptops
running the same kernel:

- IBM 240x - rtw works fine with 4.5 but there are bad Vcc requests
  with 4.6:

cbb0: bad Vcc request. sock_ctrl 0x0, sock_status 0x3b20
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cbb0: bad Vcc request. sock_ctrl 0x30, sock_status 0x3b20
rtw0 at cardbus0 dev 0 function 0 "D-Link Systems DWL-610" rev 0x20:
irq 9
rtw0: ver RTL8180F, radio SA2400A, amp SA2411, address 00:11:95:8d:cd:1a
cbb0: bad Vcc request. sock_ctrl 0x0, sock_status 0x3b68
cbb0: bad Vcc request. sock_ctrl 0x30, sock_status 0x3b20

- Dell Latitude - rtw works with 4.5 but doesn't with 4.6:

rtw0 at cardbus0 dev 0 function 0 "D-Link Systems DWL-610" rev 0x20:
  irq 11 rtw0: ver unknown 0x, 
rtw0: reset failed

Some tips how to repair r...@dell ?

Cheers,
pmp

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of dmesg.dell.log]

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of dmesg.ibm.log]

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of pcidump.dell.log]

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of pcidump.ibm.log]



Re: tmux vs wake

2009-06-06 Thread Pawlowski Marcin Piotr
On Fri, 5 Jun 2009 14:44:35 -0400
"STeve Andre'"  wrote:

> On Friday 05 June 2009 11:29:00 Pawlowski Marcin Piotr wrote:
> > Hi all,
> > I'm a little bit curious about why there is place in bin for tmux(1)
> > and there is no place for wake(8). In my opinion it's a little bit
> > unfair. Could someone explain it?
> >
> > Information about why wake(8) was removed:
> > http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/wake/Attic/Makefile?hide
> >attic=0;only_with_tag=HEAD
> >
> > Cheers!
> 
> Gotta love it, fan clubs for commands!  The proper solution there is
> to put it back into /usr/src/usr.sbin, link it up, and you'll have it
> once again. This IS open source, isn't it--if you want to make/keep
> different commands, you can.  You are on your own, but wake(1) is
> hardly a monster.
> 
> So while I'd like to see it in the official distribution, the option
> is there to keep it in *your* distribution.
> 
> --STeve Andre'
> 

Thanks for Your answer. Well said, I'm doing that with few ports (ex.
wireshark) and I'm maintaining my own xenocara source tree (because
lack of support for my graphic card). While asking that question I was
only curios why there wasn't place for wake and now there is for tmux.
Simple answer was that tmux replaced window and I didn't noticed that.
Yes that was my fault...

Cheers!



Re: tmux vs wake

2009-06-05 Thread Pawlowski Marcin Piotr
On Fri, 5 Jun 2009 17:53:11 +0200 (MEST)
Mats O Jansson  wrote:

> On Fri, 5 Jun 2009, Pawlowski Marcin Piotr wrote:
> 
> > Hi all,
> > I'm a little bit curious about why there is place in bin for tmux(1)
> > and there is no place for wake(8). In my opinion it's a little bit
> > unfair. Could someone explain it?
> 
> life isn't fair...
> 
> tmux replaced window.
> 
> one removed, one added.
> 

Thanks, I didn't noticed that. No more questions.

Cheers.



tmux vs wake

2009-06-05 Thread Pawlowski Marcin Piotr
Hi all,
I'm a little bit curious about why there is place in bin for tmux(1)
and there is no place for wake(8). In my opinion it's a little bit
unfair. Could someone explain it?

Information about why wake(8) was removed:
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/wake/Attic/Makefile?hideattic=0;only_with_tag=HEAD

Cheers!



Re: Security issue, damn I've been hacked

2009-02-20 Thread Marcin Wilk

I didn't reply here for a long time, but this crack me :D
You are the king :D

Jean-Francois pisze:

Hi All,

It looks like my server running since few days has already been hacked.
It looks like a new user called 'daemon' ID 1 and a new group daemon.
User's full name 'The devil itself'  First time I find out evidence
of hack on my server, however it's only one month running !!

It looks like ntpd was the entry daemon connected to other than ntp site
but I'm not sure.
I am not sure at all about this, maybe one has changed the daemon.
After I checked the adresses that this daemon connected to, they were
very strange as webservers content (blogs, default page 'It works' and
so one ... I guess ntp servers shall not act like this).

Please find enclosed the ntpd server md5 print, one could check
if /usr/sbin/ntpd (OpenBSD 4.4) has the same print ?
md5 print of ntpd daemon (/usr/sbin) on my OpenBSD 4.4 :
a0c8961d5818b438ecbfd6c40be47a5f

Thanks for your kind help.




gstreamer problem

2009-01-16 Thread Pawlowski Marcin Piotr
Hi,
I'm currently porting Exaile music player and I've found that there is
some lack of functionality in gstreamer-plugins-good (ex. no
autoaudiosink). So I want to find out if it's only my or others have
the same problem.
To diagnose that I'm asking for gst-feedback-0.10 and gst-inspect-0.10
output but before please install gsteamer-plugins-good.

Thanks and cheers!



Re: OpenBSD on IBM System X3550 7879

2008-10-23 Thread Marcin
2008/10/23 John Nietzsche <[EMAIL PROTECTED]>:
> I have tried on an IBM server, but could not get it working. If you
> succed, let me know.
>
> I believe raid controller is not supported.
>

Hello,

I'm not sure if this could be of any help, but I had very similar
problems with installation of Linux, until I found out that you HAVE
TO create raid array or the controller won't expose drives to the OS.
I expected it to work in a  kind of "pass-through" mode by default,
when you can access drives from the OS, but this wasn't the case.

So, please make sure you have created a RAID using mini menu after
POST, before you start OpenBSD installation process

Regards,
-- 
Marcin



dhcpd: send_packet: No buffer space available

2008-09-14 Thread marcin

Hi,

I have network server running on OpenBSD 4.3. Kernel was patched and
recompiled with changed amount of queue for hfsc and cbq to 768.
This machine has 3 interface, two external and one internal.
On each interface i have hfsc queing active. On server i have DHCPD server,
DNS (bind), PF+queing, Postfix + sasl + postgrey + clamd for small group of 
users.

Server working for 100 hosts.

My problem: In my logs i'm getting following message:
   dhcpd: send_packet: No buffer space available

I tried to change my NIC, change values for sysctl, but this did not help 
me... Someone had similar problem ?
Below I included additional information which can help to set the cause of 
problem


Thank You!

# sysctl

net.inet.udp.sendspace=262144
net.inet.udp.recvspace=262144

net.bpf.bufsize=10485760
net.bpf.maxbufsize=10485760

# top
load averages:  0.21,  0.21,  0.18 
14:55:41

55 processes:  54 idle, 1 on processor
CPU states:  2.9% user,  0.0% nice,  0.6% system,  4.4% interrupt, 92.1% 
idle

Memory: Real: 135M/264M act/tot  Free: 233M  Swap: 0K/1026M used/tot

# netstat -m

1033 mbufs in use:
   914 mbufs allocated to data
   40 mbufs allocated to packet headers
   79 mbufs allocated to socket names and addresses
889/1180/6144 mbuf clusters in use (current/peak/max)
2688 Kbytes allocated to network (75% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines


# dmesg
Sep  7 14:44:56 roki /bsd: OpenBSD 4.3 (GENERIC) #0: Tue Aug 19 13:21:56 
CEST 2008

Sep  7 14:44:56 roki /bsd: /usr/src/sys/arch/i386/compile/GENERIC
Sep  7 14:44:56 roki /bsd: cpu0: AMD Athlon(tm) XP 2400+ ("AuthenticAMD" 
686-class, 512KB L2 cache) 1.82 GHz
Sep  7 14:44:56 roki /bsd: cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

Sep  7 14:44:56 roki /bsd: real mem  = 536375296 (511MB)
Sep  7 14:44:56 roki /bsd: avail mem = 510599168 (486MB)
Sep  7 14:44:56 roki /bsd: mainbus0 at root
Sep  7 14:44:56 roki /bsd: bios0 at mainbus0: AT/286+ BIOS, date 07/11/03, 
BIOS32 rev. 0 @ 0xfdb10, SMBIOS rev. 2.3 @ 0xf0630
Sep  7 14:44:56 roki /bsd: bios0: vendor American Megatrends Inc. version 
"P1.90" date 07/11/2003

Sep  7 14:44:56 roki /bsd: bios0: American Megatrends Inc. Uknown
Sep  7 14:44:56 roki /bsd: acpi0 at bios0: rev 0
Sep  7 14:44:56 roki /bsd: acpi0: tables DSDT FACP APIC
Sep  7 14:44:56 roki /bsd: acpi0: wakeup devices PS2M(S4) PS2K(S4) UAR1(S4) 
USB1(S4) USB2(S4) EHCI(S4) LAN_(S4) MDM_(S4) PCI0(

Sep  7 14:44:56 roki /bsd: acpitimer0 at acpi0: 3579545 Hz, 24 bits
Sep  7 14:44:56 roki /bsd: acpiprt0 at acpi0: bus 0 (PCI0)
Sep  7 14:44:56 roki /bsd: acpicpu0 at acpi0
Sep  7 14:44:56 roki /bsd: acpibtn0 at acpi0: PWRB
Sep  7 14:44:56 roki /bsd: bios0: ROM list: 0xc/0xf400
Sep  7 14:44:56 roki /bsd: cpu0 at mainbus0
Sep  7 14:44:56 roki /bsd: pci0 at mainbus0 bus 0: configuration mode 1 (no 
bios)
Sep  7 14:44:56 roki /bsd: pchb0 at pci0 dev 0 function 0 "SiS 746 PCI" rev 
0x02
Sep  7 14:44:56 roki /bsd: agp0 at pchb0: aperture at 0xd000, size 
0x400
Sep  7 14:44:56 roki /bsd: ppb0 at pci0 dev 1 function 0 "SiS 86C202 VGA" 
rev 0x00

Sep  7 14:44:56 roki /bsd: pci1 at ppb0 bus 1
Sep  7 14:44:56 roki /bsd: vga1 at pci1 dev 0 function 0 "NVIDIA GeForce FX 
5200" rev 0xa1
Sep  7 14:44:56 roki /bsd: wsdisplay0 at vga1 mux 1: console (80x25, vt100 
emulation)
Sep  7 14:44:56 roki /bsd: wsdisplay0: screen 1-5 added (80x25, vt100 
emulation)
Sep  7 14:44:56 roki /bsd: pcib0 at pci0 dev 2 function 0 "SiS 85C503 
System" rev 0x25
Sep  7 14:44:56 roki /bsd: pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" 
rev 0x00: 746: DMA, channel 0 wired to compatibili

Sep  7 14:44:56 roki /bsd: wd0 at pciide0 channel 0 drive 0: 
Sep  7 14:44:56 roki /bsd: wd0: 16-sector PIO, LBA48, 152627MB, 312581808 
sectors
Sep  7 14:44:56 roki /bsd: wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA 
mode 5

Sep  7 14:44:56 roki /bsd: pciide0: channel 1 disabled (no drives)
Sep  7 14:44:56 roki /bsd: ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 
USB" rev 0x0f: irq 3, version 1.0, legacy support
Sep  7 14:44:56 roki /bsd: ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 
USB" rev 0x0f: irq 5, version 1.0, legacy support
Sep  7 14:44:56 roki /bsd: ehci0 at pci0 dev 3 function 2 "SiS 7002 USB" rev 
0x00: irq 10

Sep  7 14:44:56 roki /bsd: usb0 at ehci0: USB revision 2.0
Sep  7 14:44:56 roki /bsd: uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 
addr 1
Sep  7 14:44:56 roki /bsd: re0 at pci0 dev 11 function 0 "D-Link Systems 
DGE-528T" rev 0x10: RTL8169/8110SB (0x1000), irq 7, a

Sep  7 14:44:56 roki /bsd: rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 3
Sep  7 14:44:56 roki /bsd: em0 at pci0 dev 12 function 0 "Intel PRO/1000MT 
(82545GM)" rev 0x04: irq 11, address 00:1b:21:21:e3
Sep  7 14:44:56 roki /bsd: fxp0 at pci0 dev 13 function 0 "Intel 8255x" rev 
0x0c, i82550: irq 4, address 00:02:b3:8d:76:dd

Sep  7 14:44:56 roki /bsd: inphy0 at fxp0 phy 1: i82555 10/100 PHY, r

Re: 1000BaseSX recommended card

2008-07-22 Thread Marcin
2008/7/22 Vladislav Stoyanov <[EMAIL PROTECTED]>:
> I would like to buy a pair of 1000BaseSX cards up to 200EUR each from Germany 
> for an OpenBSD-based gateway.
[..]
>
> Any ideas and recommendations on these or any other cards available for 
> purchase within Germany are more than welcome!

Hi Vladimir,

I have a very good experience with Intel PRO/1000 XF (SC connectors
were required, hence the XF model). Two of them have been running
happily for over 18 months so far.
Not sure if you can still buy these cards, though.

-- 
Regards,
Marcin



trunk(4) and Nortel ERS

2008-02-18 Thread Marcin Głuc
Hello Misc,

Anybody successed  with configuration of Nortel ERS 55xx, MLT/LACP and
OpenBSD trunk iface?

I am geting duplicate icmp messages from OpenBSD machine.

64 bytes from x.x.x.x: icmp_seq=2 ttl=255 time=0.070 ms
64 bytes from x.x.x.x: icmp_seq=2 ttl=255 time=0.175 ms (DUP!)

-- 
Fen



Re: Boost OpenBSD security - Zophie for 3.9

2006-07-03 Thread Marcin Wilk

At 07:18 2006-07-03, you wrote:

On 7/2/06, Marcin Wilk <[EMAIL PROTECTED]> wrote:

At 22:35 2006-07-02, you wrote:
>On Sun, Jul 02, 2006 at 12:20:49PM -0700, Greg Thomas wrote:
> > On 7/2/06, Tobias Ulmer <[EMAIL PROTECTED]> wrote:
> >> On Sun, Jul 02, 2006 at 03:13:59PM +0200, Tomasz Zielinski wrote:
> >>> Hello,
> >>>
> >>> Zophie is patch that contains new security features for 
OpenBSD 3.9. BSD

> >>> license. I have not tested it personaly, but probably it's worth to
> >>> analyze it and maybe even incorporate. More info:
> >>> http://www.0penbsd.com/zophie.html, http://akcja.0penbsd.com/zosia/
> >>>
> >> I normally don't take the bait, but this one is so cute...
> >>
> >> After reading through the diffs: (not supplied for added obfusication?)
> >>
> >> - add a new sysctl to the kernel.
> >> - patch some userland tools.
> >> - If this sysctl is set, supress certain information.
> >>
> >> Rocket sience! Even the dumbest scriptkiddie could just compile
> >> and run these tools from the original OpenBSD sources.
> >>
> >> Probably the whole "Polish Underground Group profess OpenBSD OS as a
> >> religion" is a big subtle joke? If so, well done and thanks 
for the good

> >> laugh :)
> >
> > If it is a subtle joke I sure like the screenshots of the install.
>
>However, note that the page is quite frank about what is being done,
>from the web page quoted above:
>
>- kern.zophie.privacy
>   This setting is responsible for process privacy in finger, last,
>netstat, ps, users, w, and who.
>   Value 1 turns on this feature.
>
>This, obviously, still doesn't make it very useful (if only because,
>even after you've mounted everything noexec, you still have top, and so
>on and so forth) - but the above should be enough to arouse suspicion.
>
> Joachim

Process privacy itself is done in kernel so top & other tools (like
lsof for example) will not work.
Ps, users, w & who are pathed to not show other users that are in &
this is independent with process privacy.

You may find OpenBSD that is on screenshots here:
http://nicram.sytes.net/openbsd/openbsd-3.9-i386-zophie.iso
It is extactly same OpenBSD.
& yes it is very easy to make it on Your own :) This is how KISS apps
should be made, even when they change something in kernel :)

Best Regards


Do I understand correctly I could just cvs co usr/bin/who and use the
official who and see who is online?


Yes because only process privacy is done in kernel.



Re: Boost OpenBSD security - Zophie for 3.9

2006-07-02 Thread Marcin Wilk

At 22:35 2006-07-02, you wrote:

On Sun, Jul 02, 2006 at 12:20:49PM -0700, Greg Thomas wrote:
> On 7/2/06, Tobias Ulmer <[EMAIL PROTECTED]> wrote:
>> On Sun, Jul 02, 2006 at 03:13:59PM +0200, Tomasz Zielinski wrote:
>>> Hello,
>>>
>>> Zophie is patch that contains new security features for OpenBSD 3.9. BSD
>>> license. I have not tested it personaly, but probably it's worth to
>>> analyze it and maybe even incorporate. More info:
>>> http://www.0penbsd.com/zophie.html, http://akcja.0penbsd.com/zosia/
>>>
>> I normally don't take the bait, but this one is so cute...
>>
>> After reading through the diffs: (not supplied for added obfusication?)
>>
>> - add a new sysctl to the kernel.
>> - patch some userland tools.
>> - If this sysctl is set, supress certain information.
>>
>> Rocket sience! Even the dumbest scriptkiddie could just compile
>> and run these tools from the original OpenBSD sources.
>>
>> Probably the whole "Polish Underground Group profess OpenBSD OS as a
>> religion" is a big subtle joke? If so, well done and thanks for the good
>> laugh :)
>
> If it is a subtle joke I sure like the screenshots of the install.

However, note that the page is quite frank about what is being done,
from the web page quoted above:

- kern.zophie.privacy
  This setting is responsible for process privacy in finger, last,
netstat, ps, users, w, and who.
  Value 1 turns on this feature.

This, obviously, still doesn't make it very useful (if only because,
even after you've mounted everything noexec, you still have top, and so
on and so forth) - but the above should be enough to arouse suspicion.

Joachim


Process privacy itself is done in kernel so top & other tools (like 
lsof for example) will not work.
Ps, users, w & who are pathed to not show other users that are in & 
this is independent with process privacy.


You may find OpenBSD that is on screenshots here: 
http://nicram.sytes.net/openbsd/openbsd-3.9-i386-zophie.iso

It is extactly same OpenBSD.
& yes it is very easy to make it on Your own :) This is how KISS apps 
should be made, even when they change something in kernel :)


Best Regards



Re: Apache: Odd Errors with HTTPS and NameVirtualHosts

2006-05-25 Thread Marcin Wilk

Hi
I was wrong & i'm sorry for my mistake.
I didn't veryify is it really use more than one certificate because i 
was shure that it must wor that's why (i didn't think that there may 
be function to choose some other, that is not working added then?:S>).

I've just try how it's work & it uses only 1 certificate for all SSL vhosts :/
Sorry again for misinformation about that.

At 06:25 2006-05-25, you wrote:

On 5/24/06, Marcin Wilk <[EMAIL PROTECTED]> wrote:

I'm using OpenBSD 3.7 with default Apache with SSL over two
VirtualHosts witht he same IP.


Really.  Have you actually verified that your client receives
different server certificates when you connect?  Or do you use the
same certificate for both virtual hosts?

(I don't understand why you hid the hostnames when you showed the
snippet of your httpd.conf; if you had used real hostnames I wouldn't
be sending this email as I would have been able to get the answers
myself.  It's not like your host won't have been scanned at some point
by worms...)


Philip Guenther




Re: Apache: Odd Errors with HTTPS and NameVirtualHosts

2006-05-24 Thread Marcin Wilk

Hi
I'm using OpenBSD 3.7 with default Apache with SSL over two 
VirtualHosts witht he same IP.


Here is how it works in there:

NameVirtualHost *:80
NameVirtualHost *:443


ServerName myservername.com



ServerName needssl.myservername.com
DocumentRoot /var/www/htdocs/mydomainssl
SSLEngine on
SSLCertificateFile /etc/ssl/server-ssl2.crt
SSLCertificateKeyFile /etc/ssl/private/ssl2.key


second ssl is just default:


DocumentRoot /var/www/htdocs
ServerName myservername.com
ServerAdmin i'[EMAIL PROTECTED]
ErrorLog logs/error_log
TransferLog logs/access_log

SSLEngine on
SSLCertificateFile/etc/ssl/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.key


As You can see the main difference are certificate files.

At 00:51 2006-05-25, you wrote:

Okay, but this is only part of the problem from what I understand from
reading the provided link. How can I have multiple sites on the same
server then if I don't use name-based virtual hosts without using
multiple IP addresses?

Any idea about the other issue I'm having?

Best,
Adam

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Spruell, Darren-Perot
Sent: Wednesday, May 24, 2006 1:42 PM
To: misc@openbsd.org
Subject: Re: Apache: Odd Errors with HTTPS and NameVirtualHosts

From: [EMAIL PROTECTED]
> At startup of Apache I get a warning notice of "[warn] NameVirtualHost
> xxx.xxx.xxx.xxx:443 has no VirtualHosts".
>
> I have two virtual hosts for port 80 based on IP to ServerName. I then

> have one virtual host for SSL port 443. I have "NameVirtualHost
> xxx.xxx.xxx.xxx:80" and "NameVirtualHost xxx.xxx.xxx.xxx:443".
>
> Any ideas or suggestions how to resolve these problems would be much
> appreciated.

http://httpd.apache.org/docs/1.3/vhosts/name-based.html

"Name-based virtual hosting cannot be used with SSL secure servers
because of the nature of the SSL protocol."

DS


Marcin "Nicram" Wilk

Homepage:
http://nicram.sytes.net
Maintainer of:
http://ng.pl.eu.org
http://mga.pl.eu.org

AQQ:66491 , GG:2941385 , ICQ:126530466
YM&AIM:nicr4m , Skype:nicrame
Tlen:[EMAIL PROTECTED] , MSN:[EMAIL PROTECTED]
Jabber:[EMAIL PROTECTED], [EMAIL PROTECTED]
IRC: http://www.ii2.org/user.php?nick=nicram 



XMail mail server - random crashes, maybe OpenBSD fault?

2006-02-17 Thread Marcin Wilk

Hello
XMail is mail server of my choice because it is all what i need 
(SMTP/POP3 in one app, very simple configuration, remotely 
administration withs pecial protoco, very fast working etc. etc.).
The problem with XMail on OpenBSD is that it randomly crashing 
(generating xmail.core).

It happend only with OpenBSD OS.
I investigate this with XMail author & we think it may be OpenBSD 
library error, not XMail itself.


Here are my compile instructions:
cd /usr/src
wget http://www.xmailserver.org/xmail-1.23-pre01.tar.gz
# this is special version dedicated to BSD OSs (checked for errors by 
the author & a little optimized for BSDs)

tar zxvf xmail-1.23-pre01.tar.gz
cd xmail-1.23-pre01
export XMAIL_DEBUG=1
gmake -f Makefile.bsd OSTYPE=OpenBSD

Here are instructions that i made after compile ends succefully 
(never had any problems with that):

cp -r MailRoot /var
chmod 700 /var/MailRoot
cp bin/* /var/MailRoot/bin/
cp bin/CtrlClnt /usr/sbin
mkdir /usr/share/doc/xmail
cp docs/* /usr/share/doc/xmail/
mv /usr/sbin/sendmail /usr/sbin/sendmail.orig
cp bin/sendmail /usr/sbin/sendmail.xmail
chmod +s /usr/sbin/sendmail.xmail
cp sendmail.sh /usr/sbin/sendmail
chmod +x /usr/sbin/sendmail

The XMail configurations are other on other servers, but i got chance 
to use it on few OpenBSD servers & everywhere is the same problem!


The first server (Pentium4/OpenBSD 3.7-release.i386) (about 5 
domains, about 100 users, 1 mailing list accout):

DMESG: http://nicram.sytes.net/openbsd/xmail/pentium4/dmesg.txt
gdb /var/MailRoot/bin/XMail /XMail.core: 
http://nicram.sytes.net/openbsd/xmail/pentium4/problem.txt
XMail.core file if someone would like to check it: 
http://nicram.sytes.net/openbsd/xmail/pentium4/xmail.core


The second server (Duron/OpenBSD 3.8-release.i386) (3 domain, 6 
users, 0 mailing list accounts):

DMESG: http://nicram.sytes.net/openbsd/xmail/duron/dmesg.txt
gdb /var/MailRoot/bin/XMail /XMail.core: 
http://nicram.sytes.net/openbsd/xmail/duron/problem.txt


In both cases the problem is with _thread_start () from 
/usr/lib/libpthread.so.6.1


I have installed XMail with same isntructions on OpenBSD 
3.8-release.amd64 today but with 1 domain & 1 user.
but i think soon it will do the same & crash, then i will prepeare 
LOG files like those here.


I'm using XMail on some Linux server too, it is working there for a 7 
months without any problems (ful uptime of server, about 60 users, 5 
domains, few mailing list accounts). Even when i testes XMail on 
windows it was stable :S


Can anyone using XMail confirm this, or someone that got something to 
do with OpenBSD source says omething about this libpthread.so.6.1 problem?

Any comments please :)

Best Regards



Re: The Apache Question

2006-02-07 Thread Marcin Wilk

Why change that
It is apache, but with some pathes. But still iti s apache (changing 
name may be bad for futurre coders, that wouldl ike to make somep 
lugin for OpenBSD http server, & before they will start to make it, 
theyw ill have to learn, that httpd in OBSD is just apache 1.3).


Besides i don't understand why so many people would like to change 
current web server, when it's working fine & well & it is enough secure?

Is there any realy nice argument besides the digit ?
I think no, so, why people always ask that

At 22:11 2006-02-07, you wrote:
Wouldn't it be better then to start a spinoff project (openhttpd or 
something comes to mind) instead of still calling it apache httpd 1.3?


Stuart Henderson wrote:

On 2006/02/07 21:23, RedShift wrote:

I've noticed OpenBSD still uses Apache httpd 1.3.

Well, not exactly. Diff the source trees and you'll see it's not
quite the same thing...




Re: Audio problem - cannot play from 2 ources in the same time

2006-01-15 Thread Marcin Wilk

At 21:57 2006-01-14, you wrote:

On Sat, Jan 14, 2006 at 09:15:54PM +0100, Marcin Wilk wrote:
> Hello!
>
> At first, here are some LOG files that may help:
> dmesg: http://nicram.sytes.net/openbsd/dmesg.txt
> audioctl -a: http://nicram.sytes.net/openbsd/audioctl.txt
> mixerctl -a: http://nicram.sytes.net/openbsd/mixerctl.txt
>
> My system is OpenBSD release 3.8 with generic kernel on AMD64
> platform (AMD Sempron 2500+ 64bit).
> Sound card that i got is Creative Labs SoundBlaster PCI 128 (4
> speakers version on CT588 chipset).
>
> The problem is that when i play music with Mplayer (on KDE using
> GMPlayer) it works fine, tot he moment when KDE play some systems
> sound (when warning window appear or something).
> If it happend, them Mplayer can't play audio files & present error
> windows: http://nicram.sytes.net/openbsd/maplayer2.png ([AO SUN]
> Can't open audio device /dev/audio, Device busy -> nosound.).
> If i will wait some time (30-60 seconds) then it may play again
> without problems.
> Ahh about mplayer.. Everytime i'm start gmplayer or whan i open
> anything this message is appear:
> http://nicram.sytes.net/openbsd/mplayer-start.png .
>
> Another nice thing is with XMMS. When i set it to use SUN audio
> driver than same problem like with Mplayer appear.
> But sometimes i may solve it.. by seting XMMS to use eSound driver.
> But sometimes it don't help, but make XMMS freeze like that for many
> minutes: http://nicram.sytes.net/openbsd/xmms-freeze.png .
>
> I have made ps auxw save when it is freezed:
> http://nicram.sytes.net/openbsd/xmms-freeze.txt .
>
> Other info that may help:
> Using standard installation. KDE & all other software is installed
> from packages from official FTP.
>
> I thionk that there is no fullduplex support for this sound card on
> OpenBSD.If i'm right the questin is: will it be done some day? or
> there is no chance for that? (i understand that it's not important
> for this OS).
>
> Best Regards
> Marcin Wilk
>

I might be wrong, but it seems to be normal behaviour. It is not
possible (as far as i know) that more than one application opens the
audio device.
To handle this, there are several audio daemons that provide access from
more than one application to a single soundcard (and mix them).  Some
common used ones are artsd on KDE and esd (I prefer this one, because
it's small and does not use so much cpu).  Gnome has it's own I guess.
I bet if you do a "pkill artsd", the problems with mplayer and xmms are
gone (artsd frees the sound device after a specific amount of time, that
is your 30-60 seconds).

A better solution is to configure mplayer, xmms and other apps to use
arts (Kde apps do this by default). There is a plugin available for
xmms.  mplayer can also be configured, see it's manpage...

Tobias


Ahm. thanks You for explanation.
I will use arts or something then.

Best Regards
Marcin Wilk



Audio problem - cannot play from 2 ources in the same time

2006-01-14 Thread Marcin Wilk

Hello!

At first, here are some LOG files that may help:
dmesg: http://nicram.sytes.net/openbsd/dmesg.txt
audioctl -a: http://nicram.sytes.net/openbsd/audioctl.txt
mixerctl -a: http://nicram.sytes.net/openbsd/mixerctl.txt

My system is OpenBSD release 3.8 with generic kernel on AMD64 
platform (AMD Sempron 2500+ 64bit).
Sound card that i got is Creative Labs SoundBlaster PCI 128 (4 
speakers version on CT588 chipset).


The problem is that when i play music with Mplayer (on KDE using 
GMPlayer) it works fine, tot he moment when KDE play some systems 
sound (when warning window appear or something).
If it happend, them Mplayer can't play audio files & present error 
windows: http://nicram.sytes.net/openbsd/maplayer2.png ([AO SUN] 
Can't open audio device /dev/audio, Device busy -> nosound.).
If i will wait some time (30-60 seconds) then it may play again 
without problems.
Ahh about mplayer.. Everytime i'm start gmplayer or whan i open 
anything this message is appear: 
http://nicram.sytes.net/openbsd/mplayer-start.png .


Another nice thing is with XMMS. When i set it to use SUN audio 
driver than same problem like with Mplayer appear.
But sometimes i may solve it.. by seting XMMS to use eSound driver. 
But sometimes it don't help, but make XMMS freeze like that for many 
minutes: http://nicram.sytes.net/openbsd/xmms-freeze.png .


I have made ps auxw save when it is freezed: 
http://nicram.sytes.net/openbsd/xmms-freeze.txt .


Other info that may help:
Using standard installation. KDE & all other software is installed 
from packages from official FTP.


I thionk that there is no fullduplex support for this sound card on 
OpenBSD.If i'm right the questin is: will it be done some day? or 
there is no chance for that? (i understand that it's not important 
for this OS).


Best Regards
Marcin Wilk



Re: system processes

2006-01-04 Thread Marcin Wilk

Hi
Zophie can help You with that:
http://www.0penbsd.com/zophie.html

Best Regards

At 21:59 2006-01-04, you wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

How I can make that non-root (or non-wheel) user's cannot view processes
of other users?
iD8DBQFDvDc+oN5ZK8eGpqMRAoGiAKDGZI9Zs5fy91d5mQK/k92uXcZoAQCg8ciP
rIpVkKsS1nUH3MZgZeTu13Q=
=BSjJ
-END PGP SIGNATURE-




Re: openbsd web site design proposals (from HOTO write bad docs)

2005-11-28 Thread Marcin Wilk

If someone care the layout of book instead the content, he shouldn't read it.
If someone care  the layout of OpenBSD website more than content, he 
should change OS, & use some other, that got nice website.


At 12:20 2005-11-28, you wrote:

hmm, on Mon, Nov 28, 2005 at 12:15:30PM +0100, Marcin Wilk said that
> Current website is vry useful.
> Useful don't have to be nice.
> From my poin of view it shows how OpenBSD is working. Maybe design
> isn't  the most nice, but inside there is best documentation ever.
> The same is with OS itself. It's not the most nice OS (no flowers on
> letter, no clouds & angels on the KDE icons) but the power of source
> make it the most stable & secure OS around. So if website present how
> OS is.. Then it should not be changed.


but nobody talks about the content.  the content is excellent!
would it be a sin to make it a little more pleasing to the eye?

a book can be very good inside, but if the form is disturbing
doesn't that make the reading experience weaker maybe
even nerving?

-f
--
dyslexics of the world: untie!




Re: openbsd web site design proposals (from HOTO write bad docs)

2005-11-28 Thread Marcin Wilk

Current website is vry useful.
Useful don't have to be nice.
From my poin of view it shows how OpenBSD is working. Maybe design 
isn't  the most nice, but inside there is best documentation ever. 
The same is with OS itself. It's not the most nice OS (no flowers on 
letter, no clouds & angels on the KDE icons) but the power of source 
make it the most stable & secure OS around. So if website present how 
OS is.. Then it should not be changed.


At 11:06 2005-11-28, you wrote:

hmm, on Mon, Nov 28, 2005 at 11:52:27AM +0200, John G. Gavrilitsa said that
> Aaa.. Propose your work, no matter alfa/beta...
> for everybody's viewing pleasure

i will, i will.  hopefully others as well.
we all know the mantra here.  shut up and so on.

just need some time,  i did not except this thread
to escalate like this.  i know empty words do nothing.

at least it's out in the open that some people would
welcome something else and not everybody agrees with
the way Nick's doing the pages (not content-wise of course)


god, i miss the polls on undeadly.

-f
--
man is the only animal that blushes.  or needs to.




Apache UserDir - access from web browser

2005-11-22 Thread Marcin Wilk

Hello
Some time ago how can i do that:
Apache run in chroot & may read users website folders,
FTP for every user run in chroot.
The solution was to make user directories in /var/www/users/USERNAME 
& make apache read their websites from /var/www/users/USERNAME/www directory.
So i do that & chroot for apache & ftp work very well, & websites are 
accessible with http://serverdomain/~username/ .
The problem is that when some user got some website & put in it links 
like that:

something it will not work correct.
It will try to load http://serverdomain/somelocation/somefile.html 
instead of http://serverdomain/~username/somelocation/somefile.html .
When I enter into some user directory from web browser 
(http://serverdomain/~username/) & if folder is without index.html or 
other index file there is link call "Parent Directory" that is 
directing onto http://serverdomain/ but it should not be there.


Part of my Apache configuration about user dirs:

UserDir /var/www/users/*/www/


AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec

Order allow,deny
Allow from all


Order deny,allow
Deny from all



What can i do with that? What did i do wrong here?

Best Regards



Re: Chrooted apache with chrooted ftp - how users can upload websites now?

2005-11-05 Thread Marcin Wilk

Thank You all for respond!

My ftp sessions were in chroot by /etc/ftpchroot ofcourse, so users 
cannot read anything outside their home folders. I didn't know how to 
make them got access into other folder (/var/www/users/username), but 
only there + home.
As shell i'm using "nologin" because it is for website hosting only. 
So in my case i think i will just make /var/www/users/username their 
home directories.


I remember that there was some software (some ftp server) that read 
supported folders for opening from file that was in user home dir. 
You may put there just /home/username & /var/www/users/username, put 
link in /home/user/ folder & he may access to both directories 
specified but nothing else. To bad ftpd don't got such option. At 
least i'm happy because the solution is simple like making users home 
directories in /var/www/users/username.


Thank You all!

Best Regards



Chrooted apache with chrooted ftp - how users can upload websites now?

2005-11-04 Thread Marcin Wilk

Hello!
I was searching & i can't find answer.
I got OpenBSD 3.7 with default Apache (chrooted) & i'm using ftp 
server fdrom base system enabled by inetd.
I would like to make users not be able to read anything except their 
own /home/user folder & /var/www/users/user folder.

How can i do that with such configuration?
Is there any way to do that, or do i have to use some other FTP server?
If i have to use other ftp, what will give features that i need?

Best Regards



Re: OpenBSD's 10th birthday

2005-10-18 Thread Marcin Wilk

So happy bithday OpenBSD!

Thanks again for this project!

At 11:00 2005-10-18, you wrote:

Now it is really OpenBSD's 10th birthday ;)




Re: Happy Birthday OpenBSD

2005-10-14 Thread Marcin Wilk

HAPPY BIRTHDAY OPENBSD !!!

Thank You Theo De Raadt for 10 years of hard work under OpenBSD!
Thank You community for support, hacking & learning OpenBSD!

VIVA LA OpenBSD!
Wszystkiego najlepszego!

At 11:53 2005-10-14, you wrote:

  
< HAPPY BIRTHDAY OPENBSD >
 
\   ^__^
 \  (oo)\___
(__)\   )\/\
||w |
|| ||


10`s years :)




Re: Audio play too fast on AC97 onboard

2005-10-11 Thread Marcin Wilk

Thank You all for help!

I have made /etc/mplayer/mplayer.conf file & put there:

srate=48000
framedrop=1
fs=1
af-adv=force=1
vf=pp=lb

For all other software i have put in the /etc/esd.conf file:

auto_spawn=1
spawn_options=-r 48000 -nobeeps -as 2
spawm_wait_ms=100

& i will ocnfigure all other software for using esound.

Thank You all again :)



Audio play too fast on AC97 onboard

2005-10-11 Thread Marcin Wilk
eatures 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at auvia0
rl0 at pci0 dev 8 function 0 "Realtek 8139" rev 0x10: irq 10 address 
00:c0:df:12:12:f1

rlphy0 at rl0 phy 0: RTL internal phy
xl0 at pci0 dev 9 function 0 "3Com 3c905B 100Base-TX" rev 0x24: irq 
11, address 00:10:4b:9c:31:3f

exphy0 at xl0 phy 24: 3Com internal media interface
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 (mux 1 ignored for console): console keyboard, using 
wsdisplay0

pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
sysbeep0 at pcppi0
lpt1 at isa0 port 0x278/4: polled
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask eb6d netmask ef6d ttymask ff6f
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
wd0c:  aborted command, interface CRC error reading fsbn 0 (wd0 bn 0; 
cn 0 tn 0 sn 0), retrying

wd0: soft error (corrected)
dkcsum: wd0 matched BIOS disk 80
sd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x0
SENSE KEY: Not Ready
 ASC/ASCQ: Medium Not Present
sd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x1b
SENSE KEY: Not Ready
 ASC/ASCQ: Medium Not Present
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
wd0: transfer error, downgrading to Ultra-DMA mode 3
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 3
sd0(pciide0:0:1): using PIO mode 0
wd0a:  aborted command, interface CRC error reading fsbn 16 of 16-31 
(wd0 bn 109691836; cn 108821 tn 4 sn 16), retrying

wd0: soft error (corrected)
auvia0: codec invalid
auvia0: codec invalid

Can anyone suggest some solution for me please ?

Best Regards
Marcin Wilk