[no subject]

2024-06-05 Thread kirill
>Synopsis:  double-free in ld.lld
>Category:  compiler
>Environment:
System  : OpenBSD 7.5
Details : OpenBSD 7.5-current (GENERIC.MP) #141: Mon Jun  3 
16:33:28 WEST 2024
 
catap@matebook.local:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:

It had happened on make at mail/grommunio/gromox, and I recall that
I had at least once on this machine the same looking issue (ld
failed on double-free) when I build security/rbw a few weeks ago.
This time I preserve the core file and here the stacktrace:

(gdb) bt
#0  thrkill () at /tmp/-:2
#1  0x8aba133fe37afb76 in ?? ()
#2  0x00023aeb3646 in _libc_abort () at 
/usr/src/lib/libc/stdlib/abort.c:61
#3  0x00023aee8774 in wrterror (d=0x23f2ed818, msg=0x23ae3eb48 
"bogus pointer (double free?) %p") at /usr/src/lib/libc/stdlib/malloc.c:378
#4  0x00023aeef1df in findpool (p=0xdfdfdfdfdfdfdfdf, 
argpool=0x282, foundpool=0x2d5214d98, saved_function=0x2d5214dd8)
at /usr/src/lib/libc/stdlib/malloc.c:1594
#5  0x00023aeea7ef in orealloc (p=0xdfdfdfdfdfdfdfdf, 
newsz=274877906880, argpool=) at 
/usr/src/lib/libc/stdlib/malloc.c:1812
#6  _libc_realloc (ptr=0xdfdfdfdfdfdfdfdf, size=274877906880) at 
/usr/src/lib/libc/stdlib/malloc.c:1971
#7  0x01af615d in ?? ()
#8  0x03d659e8 in ?? ()
#9  0x03d657da in ?? ()
#10 0x03d6a8cd in ?? ()
#11 0x03d711b8 in ?? ()
#12 0x03ca55c2 in ?? ()
#13 0x03ca4509 in ?? ()
#14 0x03ca45c6 in ?? ()
#15 0x000228a60482 in _rthread_start (v=0x0) at 
/usr/src/lib/librthread/rthread.c:96
#16 0x00023aeb895a in __tfork_thread () at 
/usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:87
(gdb)

I run a few days old snapshot and core file if it needed here:
https://kirill.korins.ky/pub/ld.lld.core.gz

>How-To-Repeat:
I have no idea how to make small reproducer
>Fix:
Same here, no idea how to fix, but as workarround the next run usually 
helps.


dmesg:
OpenBSD 7.5-current (GENERIC.MP) #141: Mon Jun  3 16:33:28 WEST 2024
catap@matebook.local:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16890646528 (16108MB)
avail mem = 16357482496 (15599MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x8e2c2000 (32 entries)
bios0: vendor HUAWEI version "1.10" date 01/12/2023
bios0: HUAWEI EUL-WX9
efi0 at bios0: UEFI 2.7
efi0: XX rev 0x10010
acpi0 at bios0: ACPI 5.1
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP UEFI SSDT SSDT SSDT SSDT SSDT TPM2 SSDT MSDM LPIT WSMT 
SSDT DBGP DBG2 SSDT NHLT HPET APIC MCFG SSDT SSDT DMAR FPDT BGRT
acpi0: wakeup devices XHC_(S3) XDCI(S4) HDAS(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) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2399 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz, 3292.33 MHz, 06-8e-0c, patch 
00fa
cpu0: cpuid 1 
edx=bfebfbff
 
ecx=77fafbbf
cpu0: cpuid 6 eax=27f7 ecx=9
cpu0: cpuid 7.0 
ebx=29c67af
 edx=bc000600
cpu0: cpuid a vers=4, gp=4, gpwidth=48, ff=3, ffwidth=48
cpu0: cpuid d.1 eax=f
cpu0: cpuid 8001 edx=2c100800 
ecx=121
cpu0: cpuid 8007 edx=100
cpu0: msr 
10a=a0a0c2b
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 
4-way L2 cache, 6MB 64b/line 12-way L3 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz, 3292.33 MHz, 06-8e-0c, patch 
00fa
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz, 3239.80 MHz, 06-8e-0c, patch 
00fa
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz, 3041.85 MHz, 06-8e-0c, patch 
00fa
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz, 2844.95 MHz, 06-8e-0c, patch 
00fa
cpu4: smt 1, core 0, package 0
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz, 2701.57 MHz, 06-8e-0c, patch 
00fa
cpu5: smt 1, core 1, package 0
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz, 2584.30 MHz, 06-8e-0c, patch 
00fa
cpu6: smt 1, core 2, package 0

[no subject]

2024-05-03 Thread Alan Third
>Synopsis:  Kernel panic in malloc in acpi on boot
>Category:  amd64
>Environment:
System  : OpenBSD 7.5
Details : OpenBSD 7.5 (GENERIC) #79: Wed Mar 20 15:33:49 MDT 2024
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
During boot the kernel panics:

panic: malloc: allocation too large, type = 33, size = 292057776136

This is during some ACPI stuff:

May  3 10:11:55 shetland /bsd: acpimcfg0 at acpi0
May  3 10:11:55 shetland /bsd: acpimcfg0: addr 0xe000, bus 0-255
May  3 10:11:55 shetland /bsd: acpiprt0 at acpi0: bus 0 (PCI0)
May  3 10:11:55 shetland /bsd: acpiprt1 at acpi0: bus 5 (P32_)
May  3 10:11:55 shetland /bsd: acpiprt2 at acpi0: bus 1 (EXP1)
May  3 10:11:55 shetland /bsd: acpiprt3 at acpi0: bus 2 (EXP2)
May  3 10:11:55 shetland /bsd: acpiprt4 at acpi0: bus 3 (EXP3)
May  3 10:11:55 shetland /bsd: acpiprt5 at acpi0: bus -1 (EXP4)
May  3 10:11:55 shetland /bsd: acpiec0 at acpi0
May  3 10:11:55 shetland /bsd: acpibtn0 at acpi0: PWRB(wakeup)
May  3 10:11:55 shetland /bsd: acpibtn1 at acpi0: LID0
May  3 10:11:55 shetland /bsd: acpiac0 at acpi0: AC unit offline
May  3 10:11:55 shetland /bsd: acpibat0 at acpi0: BAT0 model "Primary" serial   
type LION oem "Hewlett-Packard"
May  3 10:11:55 shetland /bsd: acpipci0 at acpi0 PCI0panic: malloc: allocation 
too large, type = 33, size = 292057776136
May  3 10:11:55 shetland /bsd: Stopped at   db_enter+0x14:  popq%rbp
May  3 10:11:55 shetland /bsd: TIDPIDUID PRFLAGS PFLAGS  
CPU  COMMAND   
May  3 10:11:55 shetland /bsd: * 0  0  0 0x1  0x200
0  swapper
May  3 10:11:55 shetland /bsd: 
db_enter(10,82a71f50,202,8,81088874,82a71f50) at 
db_enter+0x14
May  3 10:11:55 shetland /bsd: 
panic(8214026b,8214026b,9,21,8254c9f4,82a71f60) 
at panic+0xb5
May  3 10:11:55 shetland /bsd: 
malloc(440008,21,9,440008,25b3688f05d2f74d,44) at malloc+0x772
May  3 10:11:55 shetland /bsd: 
aml_parse(800a8388,74,0,800a8388,ea672887508aced1,82130dc1)
 at aml_parse+0x178d
May  3 10:11:55 shetland /bsd: 
aml_parse(800a8388,54,c,800a8388,ea672887508b0330,5) at 
aml_parse+0x3bc
May  3 10:11:55 shetland /bsd: 
aml_eval(0,80074608,74,82a723f0,82a723f0,0) at 
aml_eval+0x2ed
May  3 10:11:55 shetland /bsd: 
aml_evalnode(800745ac,80074588,4,82a723f0,82a72510,800745ac)
 at aml_evalnode+0xb8
May  3 10:11:55 shetland /bsd: 
acpipci_osc(80034c00,80034c00,59fbccd8a1e70f9d,8002e400,80034c00,10011)
 at acpipci_osc+0xd8
May  3 10:11:55 shetland /bsd: 
acpipci_attach(8002e400,80034c00,82a72718,8002e400,b0432038d1d2c90f,8002e400)
 at acpipci_attach+0x81
May  3 10:11:55 shetland /bsd: 
config_attach(8002e400,8252c3b8,82a72718,81269280,4d408b9edff77a83,80072888)
 at config_attach+0x1e2
May  3 10:11:55 shetland /bsd: 
acpi_foundhid(80072888,8002e400,37e5a12358844216,8126c430,8002e400,80073088)
 at acpi_foundhid+0x324
May  3 10:11:55 shetland /bsd: 
aml_find_node(80073088,821f631c,8126c430,8002e400,1f60488c732a2e22,8126c430)
 at aml_find_node+0x84
May  3 10:11:55 shetland /bsd: 
aml_find_node(80031b88,821f631c,8126c430,8002e400,1f60488c732a2e22,8126c430)
 at aml_find_node+0xd1
May  3 10:11:55 shetland /bsd: 
aml_find_node(82628220,821f631c,8126c430,8002e400,1f60488c73b01d47,82a72a18)
 at aml_find_node+0xd1
May  3 10:11:55 shetland /bsd: end trace frame: 0x82a72bc0, count: 0
May  3 10:11:55 shetland /bsd: https://www.openbsd.org/ddb.html describes the 
minimum info required in bug
May  3 10:11:55 shetland /bsd: reports.  Insufficient info makes it difficult 
to find and fix bugs.

This is a fresh install, and the installer crashes the same way. I
upgraded the BIOS to the latest version and that made no difference.

I have photos of the console which I can send if they're more useful
than the above, but they're quite large so I didn't want to just send
them.

>How-To-Repeat:
Boot system

>Fix:
Disabling ACPI allows the system to boot.


dmesg:
OpenBSD 7.5 (GENERIC) #79: Wed Mar 20 15:33:49 MDT 2024
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 2118729728 (2020MB)
avail mem = 2033692672 (1939MB)
User Kernel Config
UKC> disable acpi
472 acpi0 disabled
UKC> exit
Continuing...
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe8380 (18 entries)
bios0: vendor Hewlett-Packard version "F.24" date 

[no subject]

2024-03-03 Thread kyle land
`stretch~~


[no subject]

2024-01-23 Thread Luiz de Milon

SENDBUG: -*- sendbug -*-
SENDBUG: Lines starting with `SENDBUG' will be removed automatically.
SENDBUG:
SENDBUG: Choose from the following categories:
SENDBUG:
SENDBUG: system user library documentation kernel alpha aarch64 amd64 
arm hppa i386 m88k mips64 mips64el powerpc powerpc64 riscv64 sh sparc64

SENDBUG:
SENDBUG:
To: bugs@openbsd.org
Subject: String of emojis and IRC color codes crashes tmux
From: hiriga...@riseup.net
Cc: hiriga...@riseup.net
Reply-To: hiriga...@riseup.net

>Synopsis:  String of emojis and IRC color codes crashes tmux (and has 
issues with ncurses)

>Category:    library
>Environment:
    System  : OpenBSD 7.4
    Details : OpenBSD 7.4 (GENERIC.MP) #1396: Sun Oct  8 09:20:40 
MDT 2023

 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

    Architecture: OpenBSD.amd64
    Machine : amd64
>Description:
    When the following file is `cat`ed in tmux, the server crashes. 
This also messes up the rendering in weechat, so I believe the bug may 
be in ncurses rather than tmux.


    ~ $ hexdump -C this-crashes
      f0 9f 87 a8 f0 9f 87 b2  f0 9f 87 b6 f0 9f 87 af 
||

    0010  f0 9f 87 b2 f0 9f 87 a7  0a |.|
    0019
    ~ $ hexdump -C this-does-not
      f0 9f 87 b2 f0 9f 87 b6  f0 9f 87 af f0 9f 87 b2 
||

    0010  f0 9f 87 a7 0a |.|
    0015

Here's a ktrace output of the server, up to the crash. I input `cat 
this-crashes` and pressed enter, and then
tmux exited with "server exited unexpectedly" and after that, i have to 
`reset` because my terminal stops behaving correctly. (it seems like it 
gets fixed to a certain length, i get long lines ending with % after it 
crashes, after any command, such as ls. ls -l also does not align 
properly, etc. etc.)



 23866 tmux STRU  struct kevent { ident=5, filter=EVFILT_READ, 
flags=0x1, fflags=0<>, data=1, udata=0xd88d19387b8 }

 23866 tmux RET   kevent 1
 23866 tmux CALL clock_gettime(CLOCK_MONOTONIC,0x7c8f3fea64e0)
 23866 tmux STRU  struct timespec { 2158618.909373185 }
 23866 tmux RET   clock_gettime 0
 23866 tmux CALL  ioctl(5,FIONREAD,0x7c8f3fea641c)
 23866 tmux RET   ioctl 0
 23866 tmux CALL  read(5,0xd88c139aa00,0x1)
 23866 tmux GIO   fd 5 read 1 bytes
   "c"
 23866 tmux RET   read 1
 23866 tmux CALL  gettimeofday(0x7c8f3fea64d0,0)
 23866 tmux STRU  struct timeval { 1706063732<"Jan 24 02:35:32 
2024">.173102 }

 23866 tmux RET   gettimeofday 0
 23866 tmux CALL  gettimeofday(0x7c8f3fea6410,0)
 23866 tmux STRU  struct timeval { 1706063732<"Jan 24 02:35:32 
2024">.173107 }

 23866 tmux RET   gettimeofday 0
 23866 tmux CALL  gettimeofday(0xd88d19385f0,0)
 23866 tmux STRU  struct timeval { 1706063732<"Jan 24 02:35:32 
2024">.173112 }

 23866 tmux RET   gettimeofday 0
 23866 tmux CALL  kbind(0x7c8f3fea61b8,24,0xdcc9ee19dd2aa3fc)
 23866 tmux RET   kbind 0
 23866 tmux CALL  kbind(0x7c8f3fea6178,24,0xdcc9ee19dd2aa3fc)
 23866 tmux RET   kbind 0
 23866 tmux CALL clock_gettime(CLOCK_MONOTONIC,0x7c8f3fea64e0)
 23866 tmux STRU  struct timespec { 2158618.909505995 }
 23866 tmux RET   clock_gettime 0
 23866 tmux CALL clock_gettime(CLOCK_MONOTONIC,0x7c8f3fea64e0)
 23866 tmux STRU  struct timespec { 2158618.909509964 }
 23866 tmux RET   clock_gettime 0
 23866 tmux CALL 
kevent(4,0xd88c1389000,1,0xd88c1376800,64,0x7c8f3fea6438)

 23866 tmux STRU  struct timespec { 10.790533000 }
 23866 tmux STRU  struct kevent { ident=8, filter=EVFILT_WRITE, 
flags=0x11, fflags=0<>, data=0, udata=0xd88a5e6b508 }
 23866 tmux STRU  struct kevent { ident=8, filter=EVFILT_WRITE, 
flags=0x11, fflags=0<>, data=8192, udata=0xd88a5e6b508 }

 23866 tmux RET   kevent 1
 23866 tmux CALL clock_gettime(CLOCK_MONOTONIC,0x7c8f3fea64e0)
 23866 tmux STRU  struct timespec { 2158618.909524839 }
 23866 tmux RET   clock_gettime 0
 23866 tmux CALL  kbind(0x7c8f3fea6398,24,0xdcc9ee19dd2aa3fc)
 23866 tmux RET   kbind 0
 23866 tmux CALL  write(8,0xd88c139a300,0x1)
 23866 tmux GIO   fd 8 wrote 1 bytes
   "c"
 23866 tmux RET   write 1
 23866 tmux CALL  gettimeofday(0x7c8f3fea64d0,0)
 23866 tmux STRU  struct timeval { 1706063732<"Jan 24 02:35:32 
2024">.173576 }

 23866 tmux RET   gettimeofday 0
 23866 tmux CALL clock_gettime(CLOCK_MONOTONIC,0x7c8f3fea64e0)
 23866 tmux STRU  struct timespec { 2158618.909899176 }
 23866 tmux RET   clock_gettime 0
 23866 tmux CALL clock_gettime(CLOCK_MONOTONIC,0x7c8f3fea64e0)
 23866 tmux STRU  struct timespec { 2158618.909904195 }
 23866 tmux RET   clock_gettime 0
 23866 tmux CALL kevent(4,0,0,0xd88c1376800,64,0x7c8f3fea6438)
 23866 tmux STRU  struct timespec { 10.790139000 }
 23866 tmux STRU  struct kevent [2] { i

[no subject]

2023-11-20 Thread dnied
>Synopsis:  mail always behaves as if keepsave were enabled
>Category:  user
>Environment:
System  : OpenBSD 7.3
Details : OpenBSD 7.3 (GENERIC.MP) #3: Tue Jul 25 08:20:26 MDT 2023
 
r...@syspatch-73-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
When quitting /usr/bin/mail with 'q', messages that were saved from
MBOX (i.e.: +mbox) to other mailboxes with the 'save' command, and
therefore marked with an asterisk in the 'headers' listing, are also
retained in MBOX, though the 'keepsave' option is not enabled.
>How-To-Repeat:
At mail's prompt, in MBOX:

unset keepsave  <-- if needed
s 10-11 +foo/bar.mbox
q
>Fix:


dmesg:
OpenBSD 7.3 (GENERIC.MP) #3: Tue Jul 25 08:20:26 MDT 2023

r...@syspatch-73-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16760291328 (15983MB)
avail mem = 16232927232 (15480MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf59a0 (11 entries)
bios0: vendor Hetzner version "2017" date 11/11/2017
bios0: Hetzner vServer
acpi0 at bios0: ACPI 1.0
acpi0: sleep states S5
acpi0: tables DSDT FACP APIC HPET WAET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Xeon Processor (Skylake, IBRS), 2295.17 MHz, 06-55-04
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,PCLMUL,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,CLWB,AVX512CD,AVX512BW,AVX512VL,PKU,WAITPKG,MD_CLEAR,IBRS,IBPB,SSBD,ARAT,XSAVEOPT,XSAVEC,XGETBV1,MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 4MB 64b/line 
16-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 1000MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel Xeon Processor (Skylake, IBRS), 2295.05 MHz, 06-55-04
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,PCLMUL,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,CLWB,AVX512CD,AVX512BW,AVX512VL,PKU,MD_CLEAR,IBRS,IBPB,SSBD,ARAT,XSAVEOPT,XSAVEC,XGETBV1,MELTDOWN
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 4MB 64b/line 
16-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel Xeon Processor (Skylake, IBRS), 2295.57 MHz, 06-55-04
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,CLWB,AVX512CD,AVX512BW,AVX512VL,PKU,MD_CLEAR,IBRS,IBPB,SSBD,ARAT,XSAVEOPT,XSAVEC,XGETBV1,MELTDOWN
cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 4MB 64b/line 
16-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel Xeon Processor (Skylake, IBRS), 2295.21 MHz, 06-55-04
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,CLWB,AVX512CD,AVX512BW,AVX512VL,PKU,MD_CLEAR,IBRS,IBPB,SSBD,ARAT,XSAVEOPT,XSAVEC,XGETBV1,MELTDOWN
cpu3: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 4MB 64b/line 
16-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins
acpihpet0 at acpi0: 1 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
"ACPI0006" at acpi0 not configured
acpipci0 at acpi0 PCI0
com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
acpicmos0 at acpi0
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"QEMU0002" at acpi0 not configured
"ACPI0010" at acpi0 not configured
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
acpicpu2 at acpi0: C1(@1 halt!)
acpicpu3 at acpi0: C1(@1 halt!)
cpu0: using 

[no subject]

2023-09-02 Thread root
>Synopsis:  Kernel Panic Crash Report
>Category:  Kernel Crash
>Environment:
System  : OpenBSD 7.3
Details : OpenBSD 7.3 (GENERIC.MP) #3: Tue Jul 25 08:20:26 MDT 2023
 
r...@syspatch-73-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
I encountered kernel panic on my OpenBSD machine. Traces are attached 
below.
>How-To-Repeat:
Not applicable
>Fix:
Not applicable

show panic, trace, ps, show uvm, show bcstats:

ddb{0}> show panic
*cpu0: ffs_blkfree: freeing free block
ddb{0}> trace
db_enter() at db_enter+0x10
panic(820a314d) at panic+0xbf
ffs_blkfree(fd8171433b48,118788,4000) at ffs_blkfree+0x75d
ffs_truncate(fd8171433b48,0,0,) at ffs_truncate+0xb07
ufs_inactive(8000337750d8) at ufs_inactive+0xbd
VOP_INACTIVE(fd817ff66b18,800033661608) at VOP_INACTIVE+0x47
vput(fd817ff66b18) at vput+0x59
ufs_remove(800033775180) at ufs_remove+0xec
VOP_REMOVE(fd82107b7128,fd817ff66b18,800033775240) at VOP_REMOVE+0x
3e
dounlinkat(800033661608,ff9c,c70e7902800,0) at dounlinkat+0xbd
syscall(8000337753b0) at syscall+0x3af
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7da3d7c9ed30, count: -12
ddb{0}> ps
   PID TID   PPIDUID  S   FLAGS  WAIT  COMMAND
*13803  137755  58447  0  70x12gzip
 58447  429061   9350  0  30x82  wait  newsyslog
  9350  422329  40497  0  30x10008a  sigsusp   sh
 40497  490639  98419  0  30x100090  piperdcron
 14663   31278  81883 89  3   0x1100092  kqreadrelayd
 65439  246336  81883 89  3   0x1100092  kqreadrelayd
 56396  161483  81883 89  3   0x1100092  kqreadrelayd
 63252  505782  81883 89  3   0x1100092  kqreadrelayd
 60866  374734  81883 89  3   0x1100092  kqreadrelayd
 61282   67839  81883 89  3   0x1100092  kqreadrelayd
 21197  280249  81883 89  3   0x1100092  kqreadrelayd
 77641  514421  81883 89  3   0x1100092  kqreadrelayd
 81883  348145  1  0  30x80  kqreadrelayd
 58922  328055  58449107  30x100090  fsleepvmd
 58922  220684  58449107  3   0x4100090  fsleepvmd
 58922   57372  58449107  3   0x4100090  kqreadvmd
 69632  145999  54283 53  30x90  kqreadunbound
 54283  417487  1 53  3   0x190  kqreadunbound
 34674  447018  0  0  3 0x14200  bored sosplice
  1577  199306  1  0  30x100083  ttyin getty
 856565705  1  0  30x100083  ttyin getty
 79194   61373  1  0  30x100083  ttyin getty
 42355  350936  1  0  30x100083  ttyin getty
 96780   13152  1  0  30x100083  ttyin getty
 98793  274644  1  0  30x100083  ttyin getty
 98419  259620  1  0  30x100098  kqreadcron
 75029  150444  1  0  30x100083  kqreadendlessh
 61784  212587  1750  30x81  nanoslp   perl
 51708  156805  50455846  3   0x1100098  kqreaddhcpcd
 18421  152918  50455846  3   0x1100098  kqreaddhcpcd
 58644  467989  50455  0  30x88  kqreaddhcpcd
 50455  231324  1846  3   0x1100098  kqreaddhcpcd
 47054   62478  1 99  3   0x1100090  kqreadsndiod
 92753  496962  1110  30x100090  kqreadsndiod
 37878  280724  1  0  30x100080  kqreadvmd
 25152   54346  1107  3   0x1100092  kqreadvmd
 58449  112553  1107  3   0x1100092  kqreadvmd
 42608   72591  1107  3   0x1100092  kqreadvmd
 30669   79798  1  0  3   0x192  kqreadvmd
 53267   85298  1  0  30x100080  kqreadhttpd
 98542   67077  1 67  3   0x1100092  kqreadhttpd
 95677  288095  1 67  3   0x1100092  kqreadhttpd
 88325   79045  1 67  3   0x1100092  kqreadhttpd
 82711  298852  1 67  3   0x1100092  kqreadhttpd
 50535  198420  64634 95  3   0x1100092  kqreadsmtpd
 684035068  64634103  3   0x1100092  kqreadsmtpd
 86054  289378  64634 95  3   0x1100092  kqreadsmtpd
 27702  251952  64634 95  30x100092  kqreadsmtpd
 41115  131829  64634 95  3   0x1100092  kqreadsmtpd
 99330   67494  64634 95  3   0x1100092  kqreadsmtpd
 64634  252968  1  0  30x100080  kqreadsmtpd
 61829  196820  48292 94  3   0x1100092  kqreadrad
 70490   23426  48292 94  3   0x1100092  kqreadrad
 48292  282467  1  0  30x100080  kqreadrad
 60310  158327  1 77  3   0x1100090  kqread

[no subject]

2023-04-12 Thread Chris Jones
Synopsis: Experiencing frequent but intermittent network delays for 
host bound and transit traffic on my OpenBSD router/firewall after 
upgrading from 7.2 to 7.3

Category: system kernel amd64 Environment:

System  : OpenBSD 7.3
	Details : OpenBSD 7.3 (GENERIC.MP) #1125: Sat Mar 25 10:36:29 MDT 
2023

 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64

Description:
	I noticed that after upgrading from 7.2 to 7.3, frequent but 
intermittent network delays. These delays are very brief but when they 
happen they typically last from 500 - 900 ms. If I ping my gateway, I 
generally get sub millisecond pings (0.400 - 0.700 ms) but 
intermittently I'll get an echo replies (typically 1 echo reply) that 
can range from 200 - 900ms. Then it returns to the sub millisecond echo 
responses for a period of time (no pattern). Because these "delays" are 
noticable for both host bound traffic (eg. SSH to the OpenBSD router) 
and transit traffic, it affects persistent connections destined to the 
router or passing through it.


	It's noticible for things like SSH sessions to the OpenBSD router, 
video and voice calls, or any other persistent connection. I've looked 
at the system processes to see if there are any noticable spikes in CPU 
usage, but I'm not seeing anything that stands out.


	I'm not noticing these same symptoms for other layer2 traffic. I can 
ping other hosts on my LAN and my switch and do not notice this 
behaviour, so it's only for connections to or transiting through the 
router.


Here is a sample output from pinging my gateway:

64 bytes from 10.77.1.1: icmp_seq=629 ttl=255 time=687.979 ms
64 bytes from 10.77.1.1: icmp_seq=630 ttl=255 time=0.420 ms
64 bytes from 10.77.1.1: icmp_seq=631 ttl=255 time=0.754 ms
64 bytes from 10.77.1.1: icmp_seq=632 ttl=255 time=0.418 ms
64 bytes from 10.77.1.1: icmp_seq=633 ttl=255 time=0.682 ms
64 bytes from 10.77.1.1: icmp_seq=634 ttl=255 time=0.435 ms
64 bytes from 10.77.1.1: icmp_seq=635 ttl=255 time=0.490 ms
64 bytes from 10.77.1.1: icmp_seq=636 ttl=255 time=0.780 ms
64 bytes from 10.77.1.1: icmp_seq=637 ttl=255 time=0.546 ms
64 bytes from 10.77.1.1: icmp_seq=638 ttl=255 time=0.697 ms
64 bytes from 10.77.1.1: icmp_seq=639 ttl=255 time=0.690 ms
64 bytes from 10.77.1.1: icmp_seq=640 ttl=255 time=658.827 ms
64 bytes from 10.77.1.1: icmp_seq=641 ttl=255 time=0.571 ms
64 bytes from 10.77.1.1: icmp_seq=642 ttl=255 time=0.383 ms
64 bytes from 10.77.1.1: icmp_seq=643 ttl=255 time=0.591 ms
64 bytes from 10.77.1.1: icmp_seq=644 ttl=255 time=0.555 ms
64 bytes from 10.77.1.1: icmp_seq=645 ttl=255 time=0.634 ms
64 bytes from 10.77.1.1: icmp_seq=646 ttl=255 time=0.541 ms
64 bytes from 10.77.1.1: icmp_seq=647 ttl=255 time=0.638 ms
64 bytes from 10.77.1.1: icmp_seq=648 ttl=255 time=0.689 ms
64 bytes from 10.77.1.1: icmp_seq=649 ttl=255 time=0.740 ms
64 bytes from 10.77.1.1: icmp_seq=650 ttl=255 time=0.667 ms
64 bytes from 10.77.1.1: icmp_seq=651 ttl=255 time=0.615 ms
64 bytes from 10.77.1.1: icmp_seq=652 ttl=255 time=0.737 ms
64 bytes from 10.77.1.1: icmp_seq=653 ttl=255 time=0.412 ms
64 bytes from 10.77.1.1: icmp_seq=654 ttl=255 time=0.625 ms
64 bytes from 10.77.1.1: icmp_seq=655 ttl=255 time=0.334 ms
64 bytes from 10.77.1.1: icmp_seq=656 ttl=255 time=0.446 ms
64 bytes from 10.77.1.1: icmp_seq=657 ttl=255 time=0.719 ms
64 bytes from 10.77.1.1: icmp_seq=658 ttl=255 time=0.760 ms
64 bytes from 10.77.1.1: icmp_seq=659 ttl=255 time=0.745 ms
64 bytes from 10.77.1.1: icmp_seq=660 ttl=255 time=0.749 ms
64 bytes from 10.77.1.1: icmp_seq=661 ttl=255 time=0.765 ms
64 bytes from 10.77.1.1: icmp_seq=662 ttl=255 time=589.051 ms
64 bytes from 10.77.1.1: icmp_seq=663 ttl=255 time=0.359 ms
64 bytes from 10.77.1.1: icmp_seq=664 ttl=255 time=0.657 ms
64 bytes from 10.77.1.1: icmp_seq=665 ttl=255 time=0.492 ms
64 bytes from 10.77.1.1: icmp_seq=666 ttl=255 time=0.711 ms
64 bytes from 10.77.1.1: icmp_seq=667 ttl=255 time=0.850 ms
64 bytes from 10.77.1.1: icmp_seq=668 ttl=255 time=0.664 ms
64 bytes from 10.77.1.1: icmp_seq=669 ttl=255 time=0.464 ms
64 bytes from 10.77.1.1: icmp_seq=670 ttl=255 time=0.620 ms
64 bytes from 10.77.1.1: icmp_seq=671 ttl=255 time=0.333 ms
64 bytes from 10.77.1.1: icmp_seq=672 ttl=255 time=0.353 ms

My network configuration is as follows:

ls -las hostname.*
4 -rw-r-  1 root  wheel   31 May 15  2021 hostname.aggr0
4 -rw-r-  1 root  wheel3 May 15  2021 hostname.em0
4 -rw-r-  1 root  wheel3 May 18  2020 hostname.em1
4 

[no subject]

2022-11-05 Thread bauerm
>Synopsis:  programs can crash xenocara servers
>Category:  system
>Environment:
System  : OpenBSD 7.1
Details : OpenBSD 7.1-current (GENERIC.MP) #20: Thu Jul  7 13:04:50 
CEST 2022
 
bau...@x220.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
X server(s) crash when certain programs run (e.g. cgoban-1.9.12p3)
>How-To-Repeat:

% doas pkg_add cgoban
% cgoban


If you want to keep your X Session:

% Xephyr :1 &
% env DISPLAY=:1 cgoban

>Fix:
As the manpage kvm_getargv(3) explains, programs may put
anything in their argv. And cgoban seems to set *argv to
NULL. If xprop(1) is run on cgoban after patching xenocara with the
diff below, xprop shows 
   WM_COMMAND(STRING) = {  }
which supports my guess.


Index: xserver/os/client.c
===
RCS file: /cvs/xenocara/xserver/os/client.c,v
retrieving revision 1.5
diff -r1.5 client.c
163c163,170
< *cmdname = strdup(argv[0]);
---
> /* 
>  * argvmay be NULL (error from kvm_getargv(3))
>  * argv[0] may be NULL (cmd withheld by application)
>  */
> if (argv == NULL || argv[0] == NULL) 
> *cmdname = strdup("");
> else
> *cmdname = strdup(argv[0]);



[no subject]

2021-10-20 Thread elyes
>Synopsis:  <6.9 and 7.0 install.* don't boot in uefi mode>
>Category:  <'BOOTX64.EFI' file issue>
>Environment:
System  : OpenBSD 7.0
Details : OpenBSD 7.0 (GENERIC.MP) #232: Thu Sep 30 14:25:29 MDT 
2021
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:

>How-To-Repeat:

>Fix:



dmesg:
OpenBSD 7.0 (GENERIC.MP) #232: Thu Sep 30 14:25:29 MDT 2021
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8468086784 (8075MB)
avail mem = 8195424256 (7815MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb170 (61 entries)
bios0: vendor Intel Corp. version "BLH6710H.86A.0163.2018.1023.1559" date 
10/23/2018
bios0: Intel Corporation DH67BL
acpi0 at bios0: ACPI 4.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC SSDT MCFG HPET
acpi0: wakeup devices P0P1(S4) P0P2(S4) P0P3(S4) P0P4(S4) GBE_(S4) BR20(S3) 
EUSB(S3) USBE(S3) PEX0(S4) BR21(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) 
PEX5(S4) PEX6(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) i3-2120 CPU @ 3.30GHz, 3292.95 MHz, 06-2a-07
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, 3292.54 MHz, 06-2a-07
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, 3292.53 MHz, 06-2a-07
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, 3292.53 MHz, 06-2a-07
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus -1 (P0P2)
acpiprt3 at acpi0: bus -1 (P0P3)
acpiprt4 at acpi0: bus -1 (P0P4)
acpiprt5 at acpi0: bus 1 (PEX0)
acpiprt6 at acpi0: bus 2 (BR21)
acpiprt7 at acpi0: bus -1 (PEX1)
acpiprt8 at acpi0: bus -1 (PEX2)
acpiprt9 at acpi0: bus 3 (PEX3)
acpiprt10 at acpi0: bus -1 (PEX4)
acpiprt11 at acpi0: bus -1 (PEX5)
acpiprt12 at acpi0: bus -1 (PEX6)
acpiprt13 at acpi0: bus -1 (PEX7)
acpipci0 at acpi0 PCI0: 0x0010 0x0011 0x
acpicmos0 at acpi0
acpibtn0 at acpi0: PWRB
acpicpu0 at acpi0: C3(350@104 mwait.3@0x20), C2(500@80 mwait.3@0x10), C1(1000@1 
mwait.1), PSS
acpicpu1 at acpi0: C3(350@104 mwait.3@0x20), C2(500@80 mwait.3@0x10), C1(1000@1 
mwait.1), PSS
acpicpu2 at acpi0: C3(350@104 mwait.3@0x20), C2(500@80 mwait.3@0x10), C1(1000@1 
mwait.1), PSS
acpicpu3 at acpi0: C3(350@104 mwait.3@0x20), C2(500@80 mwait.3@0x10), C1(1000@1 
mwait.1), PSS
cpu0: using VERW MDS workaround (except on vmm entry)
cpu0: Enhanced SpeedStep 3292 MHz: speeds: 3300, 3100, 2900, 2700, 2500, 2300, 
2100, 1900, 1700, 1600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 2000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi, SANDYBRIDGE, gen 6
"Intel 6 Series MEI" 

[no subject]

2021-09-04 Thread wilfried . meindl
>Synopsis:  Maverick word in the sort(1) manpage
>Category:  documentation
>Environment:
System  : OpenBSD 6.9
Details : OpenBSD 6.9 (GENERIC) #5: Tue Aug 10 08:11:10 MDT 2021
 
r...@syspatch-69-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
There is a superfluous word in the description of the --random-source
option of the sort(1) manpage. The second sentence contains
"will use produce" which probably should just be "will produce".
>How-To-Repeat:

>Fix:
Delete the word "use" in the second sentence of the description of
the --random-source option in the sort(1) manpage.



[no subject]

2021-07-08 Thread landwar
>Synopsis:  
>Category:  
>Environment:
System  : OpenBSD 6.9
Details : OpenBSD 6.9 (GENERIC) #4: Mon Jun  7 08:20:14 MDT 2021
 
r...@syspatch-69-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
<"Realtek 8192SE" doesn't work. the nice people in #openbsd said i 
could use sendbug since it's probably just a small change.>
>How-To-Repeat:

>Fix:



dmesg:
OpenBSD 6.9 (GENERIC) #4: Mon Jun  7 08:20:14 MDT 2021
r...@syspatch-69-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 3741057024 (3567MB)
avail mem = 3612397568 (3445MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x9f800 (25 entries)
bios0: vendor American Megatrends Inc. version "080015" date 06/18/2009
bios0: MEDION E131x series
acpi0 at bios0: ACPI 3.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SLIC WDRT OEMB HPET SSDT
acpi0: wakeup devices SBAZ(S4) P0PC(S4) PCE5(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Sempron(tm) Processor 210U, 1507.01 MHz, 0f-6f-02
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,NXE,MMXX,FFXSR,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,EAPICSP,AMCR8,3DNOWP
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB 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: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 3 (PCE5)
acpiprt3 at acpi0: bus 2 (PCE4)
acpiec0 at acpi0
acpipci0 at acpi0 PCI0
acpicmos0 at acpi0
"SYN1504" at acpi0 not configured
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 not present
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: SLPB
"pnp0c14" at acpi0 not configured
acpibtn2 at acpi0: PWRB
acpicpu0 at acpi0: !C3(@1000 io@0x815), !C2(@100 io@0x814), C1(@1 halt!), PSS
acpitz0 at acpi0: critical temperature is 100 degC
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: LCD_
cpu0: Cool'n'Quiet K8 1507 MHz: speeds: 1500 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "ATI RS690 Host" rev 0x00
ppb0 at pci0 dev 1 function 0 "ATI RS690 PCIE" rev 0x00
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 5 function 0 "ATI Radeon X1250 IGP" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci1 dev 5 function 2 "ATI RS690 HD Audio" rev 0x00: msi
azalia0: no supported codecs
ppb1 at pci0 dev 4 function 0 "ATI RS690 PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
"Realtek 8192SE" rev 0x10 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 5 function 0 "ATI RS690 PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
re0 at pci3 dev 0 function 0 "Realtek 8101E" rev 0x02: RTL8102E (0x3480), msi, 
address 00:24:21:6e:03:03
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ahci0 at pci0 dev 18 function 0 "ATI SB600 SATA" rev 0x00: apic 1 int 22, AHCI 
1.1
ahci0: port 2: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 2 lun 0:  
t10.ATA_HP_SSD_S700_1TB_HBSA41050900066_
sd0: 953869MB, 512 bytes/sector, 1953525168 sectors, thin
ohci0 at pci0 dev 19 function 0 "ATI SB600 USB" rev 0x00: apic 1 int 16, 
version 1.0, legacy support
ohci1 at pci0 dev 19 function 1 "ATI SB600 USB" rev 0x00: apic 1 int 17, 
version 1.0, legacy support
ohci2 at pci0 dev 19 function 2 "ATI SB600 USB" rev 0x00: apic 1 int 18, 
version 1.0, legacy support
ohci3 at pci0 dev 19 function 3 "ATI SB600 USB" rev 0x00: apic 1 int 17, 
version 1.0, legacy support
ohci4 at pci0 dev 19 function 4 "ATI SB600 USB" rev 0x00: apic 1 int 18, 
version 1.0, legacy support
ehci0 at pci0 dev 19 function 5 "ATI SB600 USB2" rev 0x00: apic 1 int 19
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 
addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x14: SMI
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 4GB DDR2 SDRAM non-parity PC2-6400CL6 SO-DIMM
azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic 1 int 16
azalia1: codecs: Realtek ALC888
audio0 at azalia1
pcib0 at pci0 dev 20 function 3 "ATI SB600 ISA" rev 0x00
ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00
pci4 at ppb3 bus 4
pchb1 at pci0 dev 24 function 0 "AMD 0Fh HyperTransport" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD 0Fh Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD 0Fh DRAM Cfg" rev 0x00
kate0 at pci0 dev 

[no subject]

2021-02-01 Thread Neet Kucing
I was trying to install 6.8 but after booting shortly the font became too
small . And i cant read anything . Is there any way to handle this ? I use
HP Probook 242 G1 . The installation medium was created just about
20minutes ago , and the host was MX linux live .


(No Subject)

2021-01-17 Thread ndelluomo
subscribe

[no subject]

2020-10-20 Thread Jon Fineman
>Synopsis:  claws-mail 3.17.6 core dump
>Category:  package
>Environment:
System  : OpenBSD 6.8
Details : OpenBSD 6.8 (GENERIC.MP) #98: Sun Oct  4 18:13:26 MDT 2020
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
claws-mail core dumped.

My configuration is imap.

>How-To-Repeat:
No idea. It happened after being in claws-mail for many hours.
I quickly clicked two messages to "trash".

gdb:
desktop(~)$: gdb -c claws-mail.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-openbsd6.8".
Core was generated by `claws-mail'.
Program terminated with signal 10, Bus error.
#0  0x0bc66463bf10 in ?? ()
(gdb) bt
#0  0x0bc66463bf10 in ?? ()
#1  0x0bc685a403c0 in ?? ()
#2  0x0001 in ?? ()
#3  0x0bc636b35260 in ?? ()
#4  0x0010 in ?? ()
#5  0x in ?? ()
(gdb) 


>Fix:



dmesg:
OpenBSD 6.8 (GENERIC.MP) #98: Sun Oct  4 18:13:26 MDT 2020
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17047867392 (16258MB)
avail mem = 16516153344 (15751MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x8b1d7000 (57 entries)
bios0: vendor Intel Corp. version "SYSKLi35.86A.0042.2016.0409.1246" date 
04/09/2016
bios0: Intel corporation NUC6i5SYB
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET LPIT SSDT SSDT SSDT SSDT DBGP 
DBG2 SSDT SSDT UEFI SSDT BGRT DMAR
acpi0: wakeup devices PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) PEGP(S4) 
SIO1(S3) RP09(S4) PXSX(S4) RP10(S4) PXSX(S4) RP11(S4) PXSX(S4) RP12(S4) 
PXSX(S4) RP13(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz, 1796.46 MHz, 06-4e-03
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz, 1712.02 MHz, 06-4e-03
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz, 1696.05 MHz, 06-4e-03
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz, 1696.05 MHz, 06-4e-03
cpu3: 

[no subject]

2020-10-16 Thread melvin
>Synopsis:  AMDGPU no-retry page fault at boot
>Category:  kernel
>Environment:
System  : OpenBSD 6.8
Details : OpenBSD 6.8-current (GENERIC.MP) #115: Fri Oct 16 
00:42:26 MDT 2020
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
When my system (Ryzen 2400G) boots up, the following error occurres (alongside 
a no-retry page fault).
[drm] *ERROR* IB test failed on gfx (-60).
[drm] *ERROR* ib ring test failed (-60).
The no-retry page fault only happened in the previous snapshots while doing 
GPU-intensive tasks; now it happens just before Xorg starts.
If it helps: The blue messages are kinda messed up and cloned on the right half 
of the screen. I can use the TTY normally after that.
>How-To-Repeat:
Boot a Ryzen 2400G PC with the enabled AMDGPU driver in the Kernel and in Xorg.
>Fix:
-


dmesg:
OpenBSD 6.8-current (GENERIC.MP) #115: Fri Oct 16 00:42:26 MDT 2020
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 14961664000 (14268MB)
avail mem = 14493130752 (13821MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xe8d60 (48 entries)
bios0: vendor American Megatrends Inc. version "F50a" date 11/27/2019
bios0: Gigabyte Technology Co., Ltd. AB350N-Gaming WIFI
acpi0 at bios0: ACPI 6.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT SSDT SSDT SSDT MCFG SSDT HPET UEFI TPM2 
SSDT CRAT CDIT SSDT SSDT SSDT SSDT WSMT SSDT
acpi0: wakeup devices GPP0(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) GPP6(S4) 
GP17(S4) XHC0(S4) XHC1(S4) GP18(S4) GPP1(S4) PTXH(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.84 MHz, 17-11-00
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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.26 MHz, 17-11-00
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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.26 MHz, 17-11-00
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu2: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: disabling user TSC (skew=108)
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3593.26 MHz, 17-11-00
cpu3: 

Re: run0 drops connection ; previously -- (No Subject)

2020-10-09 Thread Stefan Sperling
On Fri, Oct 09, 2020 at 12:21:13AM -0500, flint pyrite wrote:
> Update: I replaced my netgear N600 wifi router with a netgear ac1750.
> It has been a few days and I have not had the issue yet. I am thinking
> it was a router problem disconnecting and then ifconfig getting stuck
> in an uninteruptable io read or wait state. I did not know how to
> solve the OpenBSD handling of the issue, however.

There are few drivers in our tree which handle disconnects from the AP.
Most of damien's drivers get you up and running but they don't implement
all possible state transitions.

As far as I know, this is fixed in iwm and iwx. Any other drivers will
likely just appear to "hang" if the AP disconnects them and require
manual ifconfig down/up to restore.

Patches welcome.



[no subject]

2020-06-20 Thread william Gunnells
Sorry I don't have much information. I didn't get the dmesg saved. OpenBSD
would not boot on MSI Laptop GE63 Raider RGB 8RE. It took a while. I was
bummed because it ran fine in OpenBSD6.6

But I think in DDB I ran verbose and it stopped at acpivideo0. I ran boot
reboot to exit and boot -c to get into UKC mode and disabled acpivideo.
Everything came up I thought at first it was sd1 drive like a scsi error or
something. I was really going in the wrong direction. Turned out to be a
Video related after reading everything single 

[no subject]

2020-03-28 Thread all
>Synopsis: 
>Category:  
>Environment:
System  : OpenBSD 6.6
Details : OpenBSD 6.6 (GENERIC.MP) #6: Tue Mar 10 01:55:59 MDT 2020
 
r...@syspatch-66-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:



 

>How-To-Repeat:
 
>Fix:



dmesg:
OpenBSD 6.6 (GENERIC.MP) #6: Tue Mar 10 01:55:59 MDT 2020

r...@syspatch-66-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4261072896 (4063MB)
avail mem = 4119207936 (3928MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdffb7020 (7 entries)
bios0: vendor coreboot version "4.0.7" date 02/28/2017
bios0: PC Engines APU2
acpi0 at bios0: ACPI 4.0
acpi0: sleep states S0 S1 S2 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HEST SSDT SSDT HPET
acpi0: wakeup devices PWRB(S4) PBR4(S4) PBR5(S4) PBR6(S4) PBR7(S4) PBR8(S4) 
UOH1(S3) UOH3(S3) UOH5(S3) XHC0(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
Cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD GX-412TC SOC, 998.28 MHz, 16-30-01
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,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PERFTSC,PCTRL3,ITSC,BMI1,XSAVEOPT
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD GX-412TC SOC, 998.14 MHz, 16-30-01
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,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PERFTSC,PCTRL3,ITSC,BMI1,XSAVEOPT
cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD GX-412TC SOC, 998.14 MHz, 16-30-01
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PERFTSC,PCTRL3,ITSC,BMI1,XSAVEOPT
cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD GX-412TC SOC, 998.14 MHz, 16-30-01
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PERFTSC,PCTRL3,ITSC,BMI1,XSAVEOPT
cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins
ioapic1 at mainbus0: apid 5 pa 0xfec2, version 21, 32 pins, remapped
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PBR4)
acpiprt2 at acpi0: bus 1 (PBR5)
acpiprt3 at acpi0: bus 2 (PBR6)
acpiprt4 at acpi0: bus 3 (PBR7)
acpiprt5 at acpi0: bus 4 (PBR8)
acpicpu0 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu1 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu2 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpicpu3 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB
acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
acpicmos0 at acpi0
cpu0: 998 MHz: speeds: 1000 800 600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 16h Root Complex" rev 0x00
pchb1 at pci0 dev 2 function 0 "AMD AMD64 16h Host" 

[no subject]

2019-12-16 Thread carlosbuj
>Synopsis:  
>Category:  
>Environment:
System  : OpenBSD 6.6
Details : OpenBSD 6.6 (GENERIC.MP) #3: Thu Nov 21 03:20:01 MST 2019
 
r...@syspatch-66-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:

>How-To-Repeat:

>Fix:



dmesg:
OpenBSD 6.6 (GENERIC.MP) #3: Thu Nov 21 03:20:01 MST 2019

r...@syspatch-66-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1975635968 (1884MB)
avail mem = 1903104000 (1814MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xecdc0 (52 entries)
bios0: vendor American Megatrends Inc. version "5.11" date 11/20/2015
bios0: ECS BSWI-D2
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG SSDT SSDT SSDT UEFI LPIT CSRT
acpi0: wakeup devices XHC1(S4) HDEF(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) 
RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) PWRB(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) Celeron(R) CPU N3050 @ 1.60GHz, 1600.31 MHz, 06-4c-03
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu0: 1MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 79MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3.3, IBE
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Celeron(R) CPU N3050 @ 1.60GHz, 1600.02 MHz, 06-4c-03
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,TSC_ADJUST,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu1: 1MB 64b/line 16-way L2 cache
cpu1: smt 0, core 2, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 115 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 at acpi0: bus 2 (RP04)
acpiec0 at acpi0: not present
acpicpu0 at acpi0: C3(10@1000 mwait.1@0x64), C2(10@500 mwait.1@0x58), C1(1000@1 
mwait.1), PSS
acpicpu1 at acpi0: C3(10@1000 mwait.1@0x64), C2(10@500 mwait.1@0x58), C1(1000@1 
mwait.1), PSS
acpipwrres0 at acpi0: USBC, resource for XHC1
acpicmos0 at acpi0
acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
"PNP0C14" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: using VERW MDS workaround
cpu0: Enhanced SpeedStep 1600 MHz: speeds: 1601, 1600, 1520, 1440, 1360, 1280, 
1200, 1120, 1040, 960, 880, 800, 720, 640, 560, 480 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Braswell Host" rev 0x21
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x21
drm0 at inteldrm0
inteldrm0: msi
ahci0 at pci0 dev 19 function 0 "Intel Braswell AHCI" rev 0x21: msi, AHCI 1.3.1
ahci0: PHY offline on port 0
ahci0: port 1: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 1 lun 0:  naa.50026b7763068799
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
xhci0 at pci0 dev 20 function 0 "Intel Braswell xHCI" rev 0x21: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
addr 1
"Intel Braswell TXE" rev 0x21 at pci0 dev 26 function 0 not configured
azalia0 at pci0 dev 27 function 0 "Intel Braswell HD Audio" rev 0x21: msi
azalia0: codecs: Realtek ALC662, Intel/0x2883, using Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel Braswell PCIE" rev 0x21: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 3 "Intel Braswell PCIE" rev 0x21: msi
pci2 at ppb1 bus 2
re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H (0x5400), 
msi, address f4:4d:30:41:0f:b8
rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
pcib0 at pci0 dev 31 function 0 "Intel Braswell PCU LPC" rev 0x21
ichiic0 at pci0 dev 31 function 3 "Intel Braswell SMBus" rev 0x21: apic 1 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-12800 SO-DIMM
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 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0 mux 1
pcppi0 at isa0 port 0x61
spkr0 at pcppi0

[no subject]

2019-08-12 Thread mondschein
Hi,
sorry, just forgot to mention that on the Venu 7140 pro audio does not
work either, not even after fw_update. On Linux it works with the
firmware-intel-sound packge.
Cheers


pEpkey.asc
Description: application/pgp-keys


[no subject]

2019-06-17 Thread ? ??
reject



[no subject]

2019-06-11 Thread nanz
>Synopsis:  certificate is not yet valid>
>Category:  
>Environment:
System  : OpenBSD 6.5
Details : OpenBSD 6.5 (GENERIC.MP) #0: Wed Apr 24 22:17:55 CEST 2019
 
r...@syspatch-65-i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP

Architecture: OpenBSD.i386
Machine : i386
>Description:

>How-To-Repeat:
https://cdn.openbsd.org/pub/OpenBSD
After that run "syspatch -c" command as root user.>
>Fix:
http://cdn.openbsd.org/pub/OpenBSD
Then syspatch runs without error message.>


dmesg:
OpenBSD 6.5 (GENERIC.MP) #0: Wed Apr 24 22:17:55 CEST 2019
r...@syspatch-65-i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
real mem  = 2146828288 (2047MB)
avail mem = 2092339200 (1995MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 20/21/15, BIOS32 rev. 0 @ 0xfac40
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Genuine Intel(R) CPU @ 1.60GHz ("GenuineIntel" 686-class) 1.61 GHz, 
06-26-01
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.0.2.0.3, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU @ 1.60GHz ("GenuineIntel" 686-class) 1.60 GHz, 
06-26-01
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
mpbios0: bus 0 is type PCI   
mpbios0: bus 64 is type ISA   
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3880/96 (4 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x8186
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #18 is the last bus
bios0: ROM list: 0xc8000/0x2400 0xca800/0x4c00 0xcf800/0xee00
cpu0: unknown Enhanced SpeedStep CPU, msr 0x061210190600101b
cpu0: using only highest, current and lowest power states
cpu0: Enhanced SpeedStep 1600 MHz: speeds: 1600, 1600, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel E600 Host" rev 0x05
pchb1 at pci0 dev 1 function 0 "Intel E600 Config" rev 0x00
ppb0 at pci0 dev 23 function 0 "Intel E600 PCIE" rev 0x00
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 "Intel EG20T PCIE" rev 0x01
pci2 at ppb1 bus 2
"Intel EG20T Packet Hub" rev 0x01 at pci2 dev 0 function 0 not configured
"Intel EG20T Ethernet" rev 0x02 at pci2 dev 0 function 1 not configured
"Intel EG20T GPIO" rev 0x01 at pci2 dev 0 function 2 not configured
ohci0 at pci2 dev 2 function 0 "Intel EG20T USB" rev 0x02: apic 0 int 19, 
version 1.0
ohci1 at pci2 dev 2 function 1 "Intel EG20T USB" rev 0x02: apic 0 int 19, 
version 1.0
ohci2 at pci2 dev 2 function 2 "Intel EG20T USB" rev 0x02: apic 0 int 19, 
version 1.0
ehci0 at pci2 dev 2 function 3 "Intel EG20T USB" rev 0x02: apic 0 int 19
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
addr 1
"Intel EG20T USB Client" rev 0x02 at pci2 dev 2 function 4 not configured
sdhc0 at pci2 dev 4 function 0 "Intel EG20T SDIO" rev 0x01: apic 0 int 18
sdhc0: SDHC 1.0, 50 MHz base clock
sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed
sdhc1 at pci2 dev 4 function 1 "Intel EG20T SDIO" rev 0x01: apic 0 int 18
sdhc1: SDHC 1.0, 50 MHz base clock
sdmmc1 at sdhc1: 4-bit, sd high-speed, mmc high-speed
ahci0 at pci2 dev 6 function 0 "Intel EG20T AHCI" rev 0x02: msi, AHCI 1.1
ahci0: port 0: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0:  SCSI3 0/direct 
fixed t10.ATA_KingSpec_KSM-mSATA.5-008SJ_MSA0513021900095_
sd0: 7641MB, 512 bytes/sector, 15649200 sectors, thin
ohci3 at pci2 dev 8 function 0 "Intel EG20T USB" rev 0x02: apic 0 int 16, 
version 1.0
ohci4 at pci2 dev 8 function 1 "Intel EG20T USB" rev 0x02: apic 0 int 16, 
version 1.0
ohci5 at pci2 dev 8 function 2 "Intel EG20T USB" rev 0x02: apic 0 int 16, 
version 1.0
ehci1 at pci2 dev 8 function 3 "Intel EG20T USB" rev 0x02: apic 0 int 16
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
addr 1
"Intel EG20T DMA" rev 0x00 at pci2 dev 10 function 0 not configured
puc0 at pci2 dev 10 function 1 "Intel EG20T Serial" rev 0x01: ports: 16 com
com4 at puc0 port 0 apic 0 int 19: ti16750, 64 byte fifo
puc1 at pci2 dev 10 function 2 "Intel EG20T Serial" rev 0x00: ports: 16 com
com5 at puc1 port 0 apic 0 int 19: ti16750, 64 byte fifo
puc2 at pci2 dev 10 function 3 "Intel EG20T Serial" rev 0x00: ports: 16 

[no subject]

2019-05-09 Thread Mischa
>Synopsis:  ifconfig bridge crashed host
>Category:  
>Environment:
System  : OpenBSD 6.5
Details : OpenBSD 6.5 (GENERIC.MP) #0: Wed Apr 24 23:38:54 CEST 2019
 
r...@syspatch-65-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:

Issued the command "ifconfig bridge" on a server running
vmm/vmd exclusively, after part of the output was shown the
machine froze. Connecting to the console it showed the debug
prompt. 

There is only limited information I was able to capture on the debug
prompt, not sure if this is heplful:

ddb{3}> p
818993d1
ddb{3}> trace
savectx(6,0,2000,36,b75479de000,2000) at savectx+0xb1
end of kernel
end trace frame: 0x7f7c69d0, count: -1
ddb{3}> next
After 23 instructions
Stopped at  x86_ipi_db+0x2f:ret
ddb{3}> next
After 4 instructions
Stopped at  x86_ipi_db+0x2f:ret


>How-To-Repeat:
Have not tried to reproduce. :/
>Fix:



dmesg:
OpenBSD 6.5 (GENERIC.MP) #0: Wed Apr 24 23:38:54 CEST 2019

r...@syspatch-65-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 34329825280 (32739MB)
avail mem = 33279778816 (31738MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xcf49c000 (84 entries)
bios0: vendor Dell Inc. version "6.4.0" date 07/23/2013
bios0: Dell Inc. PowerEdge R610
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR HPET DMAR MCFG WD__ SLIC ERST HEST BERT EINJ 
SRAT TCPA SSDT
acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 32 (boot processor)
cpu0: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz, 3325.40 MHz, 06-2c-02
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 1
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz, 1596.01 MHz, 06-2c-02
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 0, package 0
cpu2 at mainbus0: apid 34 (application processor)
cpu2: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz, 3325.01 MHz, 06-2c-02
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 1
cpu3 at mainbus0: apid 2 (application processor)
cpu3: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz, 1596.01 MHz, 06-2c-02
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 1, package 0
cpu4 at mainbus0: apid 36 (application processor)
cpu4: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz, 3325.01 MHz, 06-2c-02
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN
cpu4: 256KB 64b/line 8-way L2 cache
cpu4: smt 0, core 2, package 1
cpu5 at mainbus0: apid 4 (application processor)
cpu5: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz, 1596.01 MHz, 06-2c-02
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,MELTDOWN
cpu5: 256KB 64b/line 8-way L2 

[no subject]

2019-05-05 Thread carlosbuj
>Synopsis:  
>Category:  
>Environment:
System  : OpenBSD 6.5
Details : OpenBSD 6.5 (GENERIC.MP) #0: Wed Apr 24 23:38:54 CEST 2019
 
r...@syspatch-65-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:

>How-To-Repeat:

>Fix:



dmesg:
OpenBSD 6.5 (GENERIC.MP) #0: Wed Apr 24 23:38:54 CEST 2019

r...@syspatch-65-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1975635968 (1884MB)
avail mem = 1906188288 (1817MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xecdc0 (52 entries)
bios0: vendor American Megatrends Inc. version "5.11" date 11/20/2015
bios0: ECS BSWI-D2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG SSDT SSDT SSDT UEFI LPIT CSRT
acpi0: wakeup devices XHC1(S4) HDEF(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) 
PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PWRB(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) Celeron(R) CPU N3050 @ 1.60GHz, 1600.41 MHz, 06-4c-03
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT,MELTDOWN
cpu0: 1MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 79MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3.3, IBE
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Celeron(R) CPU N3050 @ 1.60GHz, 1600.00 MHz, 06-4c-03
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT,MELTDOWN
cpu1: 1MB 64b/line 16-way L2 cache
cpu1: smt 0, core 2, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 115 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 at acpi0: bus 2 (RP04)
acpiec0 at acpi0: not present
acpicpu0 at acpi0: C3(10@1000 mwait.1@0x64), C2(10@500 mwait.1@0x58), C1(1000@1 
mwait.1), PSS
acpicpu1 at acpi0: C3(10@1000 mwait.1@0x64), C2(10@500 mwait.1@0x58), C1(1000@1 
mwait.1), PSS
acpipwrres0 at acpi0: USBC, resource for XHC1
acpicmos0 at acpi0
acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
"PNP0C14" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: Enhanced SpeedStep 1600 MHz: speeds: 1601, 1600, 1520, 1440, 1360, 1280, 
1200, 1120, 1040, 960, 880, 800, 720, 640, 560, 480 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Braswell Host" rev 0x21
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x21
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1920x1080, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
ahci0 at pci0 dev 19 function 0 "Intel Braswell AHCI" rev 0x21: msi, AHCI 1.3.1
ahci0: PHY offline on port 0
ahci0: port 1: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 1 lun 0:  SCSI3 0/direct 
fixed naa.50026b7763068799
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
xhci0 at pci0 dev 20 function 0 "Intel Braswell xHCI" rev 0x21: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
addr 1
"Intel Braswell TXE" rev 0x21 at pci0 dev 26 function 0 not configured
azalia0 at pci0 dev 27 function 0 "Intel Braswell HD Audio" rev 0x21: msi
azalia0: codecs: Realtek ALC662, Intel/0x2883, using Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel Braswell PCIE" rev 0x21: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 3 "Intel Braswell PCIE" rev 0x21: msi
pci2 at ppb1 bus 2
re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H (0x5400), 
msi, address f4:4d:30:41:0f:b8
rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
pcib0 at pci0 dev 31 function 0 "Intel Braswell PCU LPC" rev 0x21
ichiic0 at pci0 dev 31 function 3 "Intel Braswell SMBus" rev 0x21: apic 1 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-12800 SO-DIMM
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 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)

[no subject]

2019-01-01 Thread antoniomurdaca
>Synopsis:  rclone Illegal instruction (core dumped)
>Category:  sysutils
>Environment:
System  : OpenBSD 6.4
Details : OpenBSD 6.4 (GENERIC) #3: Thu Dec 20 18:03:29 CET 2018
 
r...@syspatch-64-i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

Architecture: OpenBSD.i386
Machine : i386
>Description:
rclone as installed with pkg_add on i386 is broken (couldn't test on 
amd64 though).
>How-To-Repeat:
# pkg_add rclone
# rclone
>Fix:
backtrace from gdb shows the following, not sure if it could help but 
this is easily reproducible anyway:

openbsd# gdb rclone
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 "i386-unknown-openbsd6.4"...(no debugging symbols 
found)

(gdb) r
Starting program: /usr/local/bin/rclone

Program received signal SIGILL, Illegal instruction.
0x0807ea8b in runtime.check ()
Current language:  auto; currently minimal
(gdb) bt
#0  0x0807ea8b in runtime.check ()
#1  0x31e30bc0 in ?? ()
#2  0x09214180 in crypto/tls.emptyConfig ()
#3  0x091ac10c in ?? ()
#4  0xcf7f9db8 in ?? ()
#5  0x080497d4 in x_cgo_init ()
Previous frame inner to this frame (corrupt stack?)


dmesg:
OpenBSD 6.4 (GENERIC) #3: Thu Dec 20 18:03:29 CET 2018
r...@syspatch-64-i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
real mem  = 267931648 (255MB)
avail mem = 247988224 (236MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 01/15/14, BIOS32 rev. 0 @ 0xfd0e4
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe/0xa800
cpu0 at mainbus0: (uniprocessor)
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 499 
MHz, 05-0a-02
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
mtrr: K6-family MTRR support (2 registers)
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10, address 
00:0d:b9:30:ee:20
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
vr1 at pci0 dev 10 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 
00:0d:b9:30:ee:21
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
vr2 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 15, address 
00:0d:b9:30:ee:22
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 
3579545Hz timer, watchdog, gpio, i2c
gpio0 at glxpcib0: 32 pins
iic0 at glxpcib0
maxtmp0 at iic0 addr 0x4c: lm86
pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 1-sector PIO, LBA, 3831MB, 7847280 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12, version 1.0, 
legacy support
ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 
addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 
addr 1
nvram: invalid checksum
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (4f3622fe4c657b3b.a) swap on wd0b dump on wd0b
clock: unknown CMOS layout

usbdevs:
Controller /dev/usb0:
addr 01: 1022: AMD, EHCI root hub
 high speed, self powered, config 1, rev 1.00
 driver: uhub0
Controller /dev/usb1:
addr 01: 1022: AMD, OHCI root hub
 full speed, self powered, config 1, rev 1.00
 driver: uhub1

pcidump:
Domain /dev/pci0:
 0:1:0: AMD Geode LX
0x: Vendor ID: 1022 Product ID: 2080
0x0004: Command: 0005 Status: 0220
0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 33
0x000c: BIST: 00 Header Type: 80 Latency Timer: f8 Cache Line Size: 08
 

[no subject]

2018-09-26 Thread Sebastian Benoit
r...@openbsd.org
Cc: 
Bcc: 
Subject: Re: httpd 408 Request Timeout
Reply-To: 
In-Reply-To: <20180926094240.gc3...@mail.webmonster.de>

Sebastian Benoit(be...@openbsd.org) on 2018.09.26 11:42:40 +0200:
> Alexander Bluhm(alexander.bl...@gmx.net) on 2018.09.26 01:00:17 +0200:
> > On Mon, Mar 12, 2018 at 06:42:28PM +0100, Nikola Kolev wrote:
> > > [12/Mar/2018:19:16:56 +0100] " " 408 0 server default, client 1 
> > > (1 
> > > active), 10.0.2.2:56670 -> 10.0.2.15, timeout (408 Request Timeout) ...
> > 
> > According to a private mail from Nikola, this error message is
> > caused by the httpd request timeout configuration.  Our default is
> > 60 seconds while Firefox uses 115 seconds.
> > 
> > about:config network.http.keep-alive.timeout 115
> > 
> > So I think we should increase httpd's default to 120 seconds.  Then
> > Firefox closes the persistent connection first and we don't get
> > this ugly error messages.
> > 
> > ok?
> 
> Sorry, but i think sending a 408 is wrong:
> 
> The request timeout is the time the server waits for the client to send an
> HTTP-Request.
> 
> If the server reaches that timeout, it should close the connection, not
> generate a 408.
> 
> https://tools.ietf.org/html/rfc7230#page-55
> 6.5.  Failures and Timeouts
> 
> Indeed, it seems that only httpd sends a 408 in this case, all other servers
> i tested just close the connection.
> 
> Same if its waiting for more requests in the keep-alive case.

Here is a diff that should make httpd close the connection without any
response if it did not receive anything yet (also in the keep-alive case, if
it is waiting for the next request).

Instead of using a new variable clt_seendata this could probably be just a
new value for clt_toread?

diff --git usr.sbin/httpd/httpd.h usr.sbin/httpd/httpd.h
index 4b1d9d72237..75a62fb3ada 100644
--- usr.sbin/httpd/httpd.h
+++ usr.sbin/httpd/httpd.h
@@ -359,6 +359,7 @@ struct client {
int  clt_done;
int  clt_chunk;
int  clt_inflight;
+   int  clt_seendata;
struct range_dataclt_ranges;
struct fcgi_data clt_fcgi;
char*clt_remote_user;
diff --git usr.sbin/httpd/server.c usr.sbin/httpd/server.c
index 5f4304705d8..67712cc8462 100644
--- usr.sbin/httpd/server.c
+++ usr.sbin/httpd/server.c
@@ -1019,7 +1019,10 @@ server_error(struct bufferevent *bev, short error, void 
*arg)
struct evbuffer *dst;
 
if (error & EVBUFFER_TIMEOUT) {
-   server_abort_http(clt, 408, "timeout");
+   if (clt->clt_seendata)
+   server_abort_http(clt, 408, "timeout");
+   else
+   server_abort_http(clt, 0, "timeout");
return;
}
if (error & EVBUFFER_ERROR) {
diff --git usr.sbin/httpd/server_http.c usr.sbin/httpd/server_http.c
index 9306082edaf..742e1b2c207 100644
--- usr.sbin/httpd/server_http.c
+++ usr.sbin/httpd/server_http.c
@@ -216,6 +216,8 @@ server_read_http(struct bufferevent *bev, void *arg)
goto done;
}
 
+   clt->clt_seendata = 1;
+
while (!clt->clt_headersdone) {
if (!clt->clt_line) {
/* Peek into the buffer to see if it looks like HTTP */
@@ -498,6 +500,7 @@ server_read_httpcontent(struct bufferevent *bev, void *arg)
if (clt->clt_toread == 0) {
fcgi_add_stdin(clt, NULL);
clt->clt_toread = TOREAD_HTTP_HEADER;
+   clt->clt_seendata = 1;
bufferevent_disable(bev, EV_READ);
bev->readcb = server_read_http;
return;



[no subject]

2018-08-04 Thread mmagnis
nosubscribe



[no subject]

2018-07-19 Thread kawashima_james
>Synopsis:  dhclient cannot get a lease until next reboot
>Category:  system
>Environment: System  : OpenBSD 6.3 Details : OpenBSD 6.3 (GENERIC.MP) 
>#4: Sun Jun 17 11:22:20 CEST 2018 
>r...@syspatch-63-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP 
>Architecture: OpenBSD.amd64 Machine : amd64
>Description: [[ really sorry, I cannot disclose much information about my 
>current machine ]] interface em0 fails to negotiate a dhcp lease. when this 
>happens, nothing can be done and reboot is the only solution.
    problem is exactly the same as the thread I linked below:
        verbose dhclient shows that it sends one request every 1 second but 
always fails (see link for output details). tcpdump shows that requests go but 
responses do not come back. other OSes (Windows, Mac OS) have no problem even 
with the same cable (both before and after the problem occurs). finally,
        router reboot does not solve the problem.
        I cannot send you my full system info,
        but please tell me if you need specific information about some of my 
hardware or other stuff.
        I will just paste for now the dmesg line for my network card:
            em0 at pci0 dev 31 function 6 "Intel I219-LM" rev 0x21: msi 
...failed to apply em_phy_no_cable_workaround.
        what does "em_phy_no_cable_workaround" mean?
        
        link to same problem reported by someone else: 
http://openbsd-archive.7691.n7.nabble.com/openbsd-63-eta-and-dhcpclient-problem-td338428.html

        Thank you for your patience and your excellent work with this 
miraculously clean/stable/secure OS.

        James KAWASHIMA

>How-To-Repeat: boot and do not plug the em0 ethernet cable in when 
>/etc/netstart searches for a link (at boot)
        until now the bug happened only when booting without the cable plugged 
in. >Fix: reboot



[no subject]

2018-06-18 Thread pjp
>Synopsis:  Monitor display is cyan/white
>Category:  system
>Environment:
System  : OpenBSD 6.3
Details : OpenBSD 6.3-current (GENERIC.MP) #27: Sun Jun 17 13:53:55 
MDT 2018
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
I updated to a snapshot on this machine today.  And the monitor
went cyan.  Please see picture:
 http://centroid.eu/private/p6180004.jpg
>How-To-Repeat:
No idea.
>Fix:
Not a clue.


dmesg:
OpenBSD 6.3-current (GENERIC.MP) #27: Sun Jun 17 13:53:55 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4259340288 (4062MB)
avail mem = 4083118080 (3893MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeafb0 (100 entries)
bios0: vendor American Megatrends Inc. version "E7728MLN.209" date 12/22/2011
bios0: MEDIONPC MS-7728
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC SSDT MCFG SLIC HPET
acpi0: wakeup devices BR20(S3) EUSB(S3) USBE(S3) PEX0(S4) RTL_(S1) PEX1(S4) 
PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) PEX6(S4) PEX7(S4) P0P1(S4) P0P2(S3) 
P0P3(S3) P0P4(S3) [...]
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) i3-2120 CPU @ 3.30GHz, 3293.03 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, 3292.52 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, 3292.52 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, 3292.52 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PEX0)
acpiprt2 at acpi0: bus -1 (PEX1)
acpiprt3 at acpi0: bus -1 (PEX2)
acpiprt4 at acpi0: bus -1 (PEX3)
acpiprt5 at acpi0: bus 3 (PEX4)
acpiprt6 at acpi0: bus 4 (PEX5)
acpiprt7 at acpi0: bus -1 (PEX6)
acpiprt8 at acpi0: bus -1 (PEX7)
acpiprt9 at acpi0: bus 1 (P0P1)
acpiprt10 at acpi0: bus -1 (P0P2)
acpiprt11 at acpi0: bus -1 (P0P3)
acpiprt12 at acpi0: bus -1 (P0P4)
acpicpu0 at acpi0: C3(350@104 mwait.3@0x20), C1(1000@1 halt), PSS
acpicpu1 at acpi0: C3(350@104 mwait.3@0x20), C1(1000@1 halt), PSS
acpicpu2 at acpi0: C3(350@104 mwait.3@0x20), C1(1000@1 halt), PSS
acpicpu3 at acpi0: C3(350@104 mwait.3@0x20), C1(1000@1 halt), PSS
acpicmos0 at acpi0
"INT3F0D" at acpi0 not configured
acpibtn0 at acpi0: PWRB
cpu0: Enhanced SpeedStep 3293 MHz: speeds: 3300, 3100, 2900, 2700, 2500, 2300, 
2100, 1900, 1700, 1600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
ppb0 at pci0 dev 1 function 0 "Intel Core 2G PCIE" rev 0x09: msi
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 6450" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 6400 Audio" rev 0x00: msi
azalia0: no supported codecs
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 6 

Re: (No Subject)

2018-04-04 Thread Mike Larkin
On Wed, Apr 04, 2018 at 07:20:34AM -0400, yeahtheboy...@protonmail.com wrote:
> >Synopsis:VMD causes system to lock up
> >Category:user
> >Environment:
>   System  : OpenBSD 6.3
>   Details : OpenBSD 6.3-current (GENERIC.MP) #119: Sun Apr  1 
> 22:08:17 MDT 2018
>
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>   Architecture: OpenBSD.amd64
>   Machine : amd64
> >Description:
>   Hello! \
>   Starting vmd then using vmctl to load a "Virtual" Alpine Linux image \
>   causes the system to lock up and the following is printed to the 
> serial: \
>   [   0.000] ACPI BIOS Error (bug): A valid RSDP was not found \
>   (20160831/tbxfroot-244)
> >How-To-Repeat:
>   vmctl start docker \
>   -Lcm 2048M \
>   -r /home/user/Downloads/alpine-virt-3.7.0-x86_64.iso \
>   -d /home/user/.docker/docker.img
> >Fix:
>   Not as far as I'm aware.
> 
> SENDBUG: dmesg, pcidump, acpidump and usbdevs are attached.
> SENDBUG: Feel free to delete or use the -D flag if they contain sensitive 
> information.
> 

As pd@ pointed out in his later comment, this is a regression that was
introduced while I was refactoring FPU code. The good news is we know what
caused it. The bad news is that we haven't tracked down why that would cause
it to fail yet.

But we (pd@ and I) are looking at it. For now, you can try to revert that diff
he posted already.

-ml

> dmesg:
> OpenBSD 6.3-current (GENERIC.MP) #119: Sun Apr  1 22:08:17 MDT 2018
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8541995008 (8146MB)
> avail mem = 8276049920 (7892MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe9690 (19 entries)
> bios0: vendor American Megatrends Inc. version "P2.80" date 10/01/2013
> bios0: ASRock FM2A55M-DGS
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC FPDT MCFG AAFT HPET IVRS SSDT SSDT CRAT BGRT
> acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) 
> SBAZ(S4) UAR1(S4) P0PC(S4) OHC1(S4) EHC1(S4) OHC2(S4) EHC2(S4) OHC3(S4) 
> EHC3(S4) OHC4(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 16 (boot processor)
> cpu0: AMD A8-6600K APU with Radeon(tm) HD Graphics, 3893.38 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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
> cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 
> 16-way L2 cache
> cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
> cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> acpitimer0: recalibrated TSC frequency 3892920965 Hz
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, IBE
> cpu1 at mainbus0: apid 17 (application processor)
> cpu1: AMD A8-6600K APU with Radeon(tm) HD Graphics, 3892.92 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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
> cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 
> 16-way L2 cache
> cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
> cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 18 (application processor)
> cpu2: AMD A8-6600K APU with Radeon(tm) HD Graphics, 3892.93 MHz
> cpu2: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
> cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 
> 16-way L2 cache
> cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
> cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu2: smt 0, core 2, package 0
> cpu3 at mainbus0: apid 19 (application processor)
> cpu3: AMD A8-6600K APU with Radeon(tm) HD Graphics, 3892.92 MHz
> cpu3: 
> 

Re: (No Subject)

2018-04-04 Thread Pratik Vyas

* yeahtheboy...@protonmail.com  [2018-04-04 
07:20:34 -0400]:


Synopsis:   VMD causes system to lock up
Category:   user
Environment:

System  : OpenBSD 6.3
Details : OpenBSD 6.3-current (GENERIC.MP) #119: Sun Apr  1 
22:08:17 MDT 2018
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64

Description:

Hello! \
Starting vmd then using vmctl to load a "Virtual" Alpine Linux image \
causes the system to lock up and the following is printed to the 
serial: \
[   0.000] ACPI BIOS Error (bug): A valid RSDP was not found \
(20160831/tbxfroot-244)

How-To-Repeat:

vmctl start docker \
-Lcm 2048M \
-r /home/user/Downloads/alpine-virt-3.7.0-x86_64.iso \
-d /home/user/.docker/docker.img

Fix:

Not as far as I'm aware.



Hi!

Thanks for your bug report.

Can you test if it does not lock up when backing out this change? 
https://github.com/openbsd/src/commit/78080c4e6cb000d4e3a7d251f8b4ae1db7c1163f.diff


You might have to hand edit as it did not cleanly reverse apply for me.

--
Pratik



(No Subject)

2018-04-04 Thread yeahtheboys69
>Synopsis:  VMD causes system to lock up
>Category:  user
>Environment:
System  : OpenBSD 6.3
Details : OpenBSD 6.3-current (GENERIC.MP) #119: Sun Apr  1 
22:08:17 MDT 2018
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
Hello! \
Starting vmd then using vmctl to load a "Virtual" Alpine Linux image \
causes the system to lock up and the following is printed to the 
serial: \
[   0.000] ACPI BIOS Error (bug): A valid RSDP was not found \
(20160831/tbxfroot-244)
>How-To-Repeat:
vmctl start docker \
-Lcm 2048M \
-r /home/user/Downloads/alpine-virt-3.7.0-x86_64.iso \
-d /home/user/.docker/docker.img
>Fix:
Not as far as I'm aware.

SENDBUG: dmesg, pcidump, acpidump and usbdevs are attached.
SENDBUG: Feel free to delete or use the -D flag if they contain sensitive 
information.

dmesg:
OpenBSD 6.3-current (GENERIC.MP) #119: Sun Apr  1 22:08:17 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8541995008 (8146MB)
avail mem = 8276049920 (7892MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe9690 (19 entries)
bios0: vendor American Megatrends Inc. version "P2.80" date 10/01/2013
bios0: ASRock FM2A55M-DGS
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG AAFT HPET IVRS SSDT SSDT CRAT BGRT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) 
SBAZ(S4) UAR1(S4) P0PC(S4) OHC1(S4) EHC1(S4) OHC2(S4) EHC2(S4) OHC3(S4) 
EHC3(S4) OHC4(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD A8-6600K APU with Radeon(tm) HD Graphics, 3893.38 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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
acpitimer0: recalibrated TSC frequency 3892920965 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 17 (application processor)
cpu1: AMD A8-6600K APU with Radeon(tm) HD Graphics, 3892.92 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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 18 (application processor)
cpu2: AMD A8-6600K APU with Radeon(tm) HD Graphics, 3892.93 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 19 (application processor)
cpu3: AMD A8-6600K APU with Radeon(tm) HD Graphics, 3892.92 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,ITSC,BMI1
cpu3: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu3: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 

Re: acme-client subject alternative names bug?

2017-09-15 Thread Stuart Henderson
On 2017/09/14 15:04, William Leuschner wrote:
>   When acme-client is asked to renew a certificate which uses the Subject 
> Alternative Names feature, it fails with the error "domain not listed: 
> example.com". The configuration file I'm using is below:
..
> domain headcount.se.rit.edu {
>   alternative names { headcount.se.rit.edu peanut.se.rit.edu }

Renewals work for me. How does your current certificate look?

$ openssl x509 -in  -text -noout

One difference between your config and mine is that I don't repeat the
"main" domain in "alternative names". (It's not required, and maybe that
triggers a bug).



acme-client subject alternative names bug?

2017-09-14 Thread William Leuschner
>Synopsis:  acme-client fails to renew certificates with multiple subject 
>alternative names
>Category:  system
>Environment:
System  : OpenBSD 6.1
Details : OpenBSD 6.1 (GENERIC.MP) #20: Sat Apr  1 13:45:56 MDT 2017
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
When acme-client is asked to renew a certificate which uses the Subject 
Alternative Names feature, it fails with the error "domain not listed: 
example.com". The configuration file I'm using is below:

#
# $OpenBSD: acme-client.conf,v 1.4 2017/03/22 11:14:14 benno Exp $
#
authority letsencrypt {
agreement url 
"https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf;
api url "https://acme-v01.api.letsencrypt.org/directory;
account key "/etc/acme/letsencrypt-privkey.pem"
}

authority letsencrypt-staging {
agreement url 
"https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf;
api url "https://acme-staging.api.letsencrypt.org/directory;
account key "/etc/acme/letsencrypt-staging-privkey.pem"
}

domain headcount.se.rit.edu {
alternative names { headcount.se.rit.edu peanut.se.rit.edu }
domain key "/etc/ssl/acme/private/headcount.se.rit.edu.key"
domain certificate "/etc/ssl/acme/headcount.se.rit.edu.crt"
domain full chain certificate 
"/etc/ssl/acme/headcount.se.rit.edu.fullchain.pem"
sign with letsencrypt-staging
}

>How-To-Repeat:
1. Use acme-client to request a certificate with at least two SANs.
2. Use acme-client to renew that certificate
>Fix:
As far as I can tell, the problem lies with the for loop beginning on 
line 247 of revokeproc.c. When there are multiple SANs, this code fails 
immediately after finding a SAN that doesn't match the requested domain name, 
even if it has already found the requested domain name. If I'm not mistaken, it 
should exit the loop after finding the requested domain.


dmesg:
OpenBSD 6.1 (GENERIC.MP) #20: Sat Apr  1 13:45:56 MDT 2017
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4206497792 (4011MB)
avail mem = 4074336256 (3885MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe9ec0 (81 entries)
bios0: vendor Hewlett-Packard version "786G7 v01.13" date 07/20/2011
bios0: Hewlett-Packard HP Compaq 8000 Elite SFF PC
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC HPET DMAR
acpi0: wakeup devices COM1(S4) PCI0(S4) PEG1(S4) PEG2(S4) IGBE(S4) PCX1(S4) 
PCX2(S4) PCX5(S4) PCX6(S4) HUB_(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) 
USB5(S3) USB6(S3) [...]
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)2 Quad CPU Q9550 @ 2.83GHz, 2826.60 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
cpu0: apic clock running at 332MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz, 2826.26 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
cpu1: 6MB 64b/line 16-way L2 cache
cpu1: smt 0, core 2, package 0
cpu2 at mainbus0: apid 3 (application processor)
cpu2: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz, 2826.25 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,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
cpu2: 6MB 64b/line 16-way L2 cache
cpu2: smt 0, core 3, package 0
cpu3 at mainbus0: apid 1 (application processor)
cpu3: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz, 2826.25 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,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
cpu3: 6MB 64b/line 16-way L2 cache
cpu3: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf400, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEG1)
acpip

[no subject]

2017-06-29 Thread carlosbuj
>Synopsis:  
>Category:  
>Environment:
System  : OpenBSD 6.1
Details : OpenBSD 6.1 (GENERIC.MP) #8: Tue Jun 27 08:50:26 CEST 2017
 
rob...@syspatch-61-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:

>How-To-Repeat:

>Fix:



dmesg:
OpenBSD 6.1 (GENERIC.MP) #8: Tue Jun 27 08:50:26 CEST 2017

rob...@syspatch-61-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4166774784 (3973MB)
avail mem = 4035809280 (3848MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe6d00 (40 entries)
bios0: vendor Insyde version "F.37" date 05/16/2013
bios0: Hewlett-Packard HP 650 Notebook PC
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP UEFI ASF! HPET APIC MCFG WDAT SSDT BOOT ASPT DBGP FPDT 
MSDM SSDT SSDT SSDT SSDT BGRT
acpi0: wakeup devices P0P1(S4) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(S0) 
PXSX(S4) RP01(S4) NIC_(S5) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) 
RP04(S4) PXSX(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz, 2195.31 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: TSC frequency 2195307120 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz, 2195.02 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz, 2195.02 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz, 2195.02 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus -1 (RP02)
acpiprt4 at acpi0: bus 2 (RP03)
acpiprt5 at acpi0: bus 3 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PEG0)
acpiprt11 at acpi0: bus -1 (PEG1)
acpiprt12 at acpi0: bus -1 (PEG2)
acpiprt13 at acpi0: bus -1 (PEG3)
acpiec0 at acpi0
acpicpu0 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpicpu1 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpicpu2 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpicpu3 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpitz0 at acpi0: critical temperature is 120 degC
"INT3F0D" at acpi0 not configured
acpibat0 at acpi0: BAT0 type LiOn oem "HP"
"HPQ8001" at acpi0 not configured
"SYN1E68" at acpi0 not configured
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
"HPQ6001" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT340E" at acpi0 not configured
acpidock0 at acpi0: DOCK not docked (0)
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 2195 MHz: speeds: 2200, 2100, 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 "Intel Core 2G Host" rev 0x09
inteldrm0 at pci0 

[no subject]

2017-06-29 Thread carlosbuj
>Synopsis:  
>Category:  
>Environment:
System  : OpenBSD 6.1
Details : OpenBSD 6.1 (GENERIC.MP) #8: Tue Jun 27 08:50:26 CEST 2017
 
rob...@syspatch-61-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:

>How-To-Repeat:

>Fix:



dmesg:
OpenBSD 6.1 (GENERIC.MP) #8: Tue Jun 27 08:50:26 CEST 2017

rob...@syspatch-61-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4166774784 (3973MB)
avail mem = 4035809280 (3848MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe6d00 (40 entries)
bios0: vendor Insyde version "F.37" date 05/16/2013
bios0: Hewlett-Packard HP 650 Notebook PC
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP UEFI ASF! HPET APIC MCFG WDAT SSDT BOOT ASPT DBGP FPDT 
MSDM SSDT SSDT SSDT SSDT BGRT
acpi0: wakeup devices P0P1(S4) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(S0) 
PXSX(S4) RP01(S4) NIC_(S5) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) 
RP04(S4) PXSX(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz, 2195.34 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: TSC frequency 2195341800 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz, 2195.01 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz, 2195.01 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz, 2195.01 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus -1 (RP02)
acpiprt4 at acpi0: bus 2 (RP03)
acpiprt5 at acpi0: bus 3 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PEG0)
acpiprt11 at acpi0: bus -1 (PEG1)
acpiprt12 at acpi0: bus -1 (PEG2)
acpiprt13 at acpi0: bus -1 (PEG3)
acpiec0 at acpi0
acpicpu0 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpicpu1 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpicpu2 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpicpu3 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpitz0 at acpi0: critical temperature is 120 degC
"INT3F0D" at acpi0 not configured
acpibat0 at acpi0: BAT0 type LiOn oem "HP"
"HPQ8001" at acpi0 not configured
"SYN1E68" at acpi0 not configured
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
"HPQ6001" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT340E" at acpi0 not configured
acpidock0 at acpi0: DOCK not docked (0)
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 2195 MHz: speeds: 2200, 2100, 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 "Intel Core 2G Host" rev 0x09
inteldrm0 at pci0 

[no subject]

2017-03-16 Thread zrzut01
>Synopsis: rcs issue with $Log$ usage
>Category:  amd64 system
>Environment:
System  : OpenBSD 6.0
Details : OpenBSD 6.0 (GENERIC.MP) #2319: Tue Jul 26 13:00:43
MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64

>Description:
When user uses $Log$ in rcs (revision control system) next actions
can brake their repositories of tracked files. Espaceially 'rcs
-o' which removes revisions. rcsdiff will show improper information as
well.
>How-To-Repeat:
1. Create file i.e. hello.c as:
#include 
int main(void)
{

}
2. ci the file to the repository with some comment
3. co the file and modify it as:
#include 
int main(void)
{
int a;
}
4. ci the file to the repository with some comment
5. do: 'rcsdiff -r1.1 -r1.2 hello.c' - it will show correct
output
6. co the file and modify it as:
/*
 * $Log$
 */
#include 
int main(void)
{
int a;
}
7. ci the file to the repository with some comment
8. co the file and modify it as:
/*
 * $Log$
 */
#include 
int main(void)
{
int a;
a = 10;
}
9. ci the file to the repository with some comment
10. do: 'rcsdiff -r1.1 -r1.2 hello.c' - it will show incorrect
output
In case of 'rcs -o' to remove revision 1.4 the repository will be
broken as a result.



[no subject]

2017-03-15 Thread zrzut01
Synopsis: rcs issue with $Log$ 
usageCategory: amd64 
systemEnvironment: 
System : OpenBSD 
6.0 Details : 
OpenBSD 6.0 (GENERIC.MP) #2319: Tue Jul 26 13:00:43 MDT 
2016dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 Architecture: OpenBSD.amd64 
Machine : 
amd64Description: When user uses 
$Log$ in rcs (revision control system) next actions can brake their 
repositories of tracked files. Espaceially 'rcs -o' which removes revisions. 
rcsdiff will show improper information as well.How-To-Repeat:1. Create file 
i.e. hello.c as:#include stdio.hint main(void){}2. ci the file to the 
repository with some comment3. co the file and modify it as:#include 
stdio.hint main(void){int a;}4. ci the file to the repository with some 
comment5. do: 'rcsdiff -r1.1 -r1.2 hello.c' - it will show correct output6. co 
the file and modify it as:/** $Log$*/#include stdio.hint 
main(void){int a;}7. ci the file to the repository with some comment8. co the 
file and modify it as:/** $Log$*/#include stdio.hint 
main(void){int a;a = 10;}9. ci the file to the repository with some comment10. 
do: 'rcsdiff -r1.1 -r1.2 hello.c' - it will show incorrect outputIn case of 
'rcs -o' to remove revision 1.4 the repository will be broken as a result.

[no subject]

2016-11-30 Thread Andrew
> Synopsis: cannot write to USB connected tape drive
>Category:  
>Environment:
System  : OpenBSD 6.0
Details : OpenBSD 6.0 (GENERIC.MP) #1171: Tue Jul 26 17:03:19 MDT 
2016
 
dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP

Architecture: OpenBSD.sparc64
Machine : sparc64
>Description:
I have a USB connected DAT drive. It works fine on other OSes. It has not 
worked on other OpenSBD installs on other Sparc64 machines.
I can read the tapes, I think. However, attempting to write: tar -c -b32 -f 
/dev/st0 /home
produces the error message:

 st0(umass1:1:0): Check Condition (error 0x70) on opcode 0x8
SENSE KEY: Blank Check
 INFO: 0x2000 (VALID flag on)
 ASC/ASCQ: End-Of-Data Detected

This is essentially reporting that the tape is blank: obviously - it is a brand 
new tape, and I am attempting to write on it!
This is NOT an error. However, it may be a consequence of some unwarrented 
attempt to read before writing. 


>How-To-Repeat:
Connect a USB DAT drive, with a brand new DAT72 tape in it. Then attempt to tar 
to it.

>Fix:A
There is no obvious work-around (apart from, perhaps, using a SCSI tape 
drive).


dmesg:
OpenBSD 6.0 (GENERIC.MP) #1171: Tue Jul 26 17:03:19 MDT 2016
dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
real mem = 4160749568 (3968MB)
avail mem = 4067524608 (3879MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: Sun Fire T200
cpu0 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu1 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu2 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu3 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu4 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu5 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu6 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu7 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu8 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu9 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu10 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu11 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu12 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu13 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu14 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
cpu15 at mainbus0: SUNW,UltraSPARC-T1 (rev 0.0) @ 1000 MHz
vbus0 at mainbus0
"flashprom" at vbus0 not configured
cbus0 at vbus0
vldc0 at cbus0
vldcp0 at vldc0 chan 0x0: ivec 0x0, 0x1 channel "hvctl"
"ldom-primary" at vldc0 chan 0x1 not configured
"fmactl" at vldc0 chan 0x3 not configured
vldc1 at cbus0
"ldmfma" at vldc1 chan 0x4 not configured
vldc2 at cbus0
vldcp1 at vldc2 chan 0x14: ivec 0x28, 0x29 channel "spds"
"system-management" at vldc2 chan 0xd not configured
vcons0 at vbus0: ivec 0x111, console
vrtc0 at vbus0
"fma" at vbus0 not configured
"sunvts" at vbus0 not configured
"sunmc" at vbus0 not configured
"explorer" at vbus0 not configured
"led" at vbus0 not configured
"flashupdate" at vbus0 not configured
"ncp" at vbus0 not configured
vpci0 at mainbus0: bus 2 to 7, dvma map 8000-
pci0 at vpci0
ppb0 at pci0 dev 0 function 0 "PLX PEX 8532" rev 0xbc
pci1 at ppb0 bus 3
ppb1 at pci1 dev 1 function 0 "PLX PEX 8532" rev 0xbc
pci2 at ppb1 bus 4
em0 at pci2 dev 0 function 0 "Intel 82571EB" rev 0x06: ivec 0x795, address 
00:14:4f:e6:39:9e
em1 at pci2 dev 0 function 1 "Intel 82571EB" rev 0x06: ivec 0x796, address 
00:14:4f:e6:39:9f
ppb2 at pci1 dev 2 function 0 "PLX PEX 8532" rev 0xbc
pci3 at ppb2 bus 5
ppb3 at pci1 dev 8 function 0 "PLX PEX 8532" rev 0xbc: msi
pci4 at ppb3 bus 6
ppb4 at pci1 dev 9 function 0 "PLX PEX 8532" rev 0xbc
pci5 at ppb4 bus 7
mpi0 at pci5 dev 0 function 0 "Symbios Logic SAS1064E" rev 0x02: msi
mpi0: UNUSED, firmware 1.9.0.0
scsibus1 at mpi0: 63 targets
sd0 at scsibus1 targ 2 lun 0:  SCSI3 0/direct fixed 
naa.5000c5000fc58f7f
sd0: 140014MB, 512 bytes/sector, 286749488 sectors
vpci1 at mainbus0: bus 2 to 9, dvma map 8000-
pci6 at vpci1
ppb5 at pci6 dev 0 function 0 "PLX PEX 8532" rev 0xbc
pci7 at ppb5 bus 3
ppb6 at pci7 dev 1 function 0 "PLX PEX 8532" rev 0xbc
pci8 at ppb6 bus 4
ppb7 at pci8 dev 0 function 0 "Intel 41210 PCIE-PCIX" rev 0x09
pci9 at ppb7 bus 5
ebus0 at pci9 dev 2 function 0 "Acer Labs M1533 ISA" rev 0x00
com0 at ebus0 addr 3f8-3ff ivec 0x2: ns16550a, 16 byte fifo
ohci0 at pci9 dev 5 function 0 "Acer Labs M5237 USB" rev 0x03: ivec 0x7c1, 
version 1.0, legacy support
ohci1 at pci9 dev 6 function 0 "Acer Labs M5237 USB" rev 0x03: ivec 0x7c3, 
version 1.0, legacy support
pciide0 at pci9 dev 8 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4: DMA, 
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7c4 for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 

[no subject]

2016-11-09 Thread notfound
>Synopsis:  
>Category:  
>Environment:
System  : OpenBSD 6.0
Details : OpenBSD 6.0 (GENERIC.MP) #2319: Tue Jul 26 13:00:43 MDT 
2016
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:

>How-To-Repeat:

>Fix:



dmesg:
OpenBSD 6.0 (GENERIC.MP) #2319: Tue Jul 26 13:00:43 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2130546688 (2031MB)
avail mem = 2061561856 (1966MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf69a0 (10 entries)
bios0: vendor SeaBIOS version "rel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org" 
date 04/01/2014
bios0: QEMU Standard PC (i440FX + PIIX, 1996)
acpi0 at bios0: rev 0
acpi0: sleep states S5
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Core i7 9xx (Nehalem Class Core i7), 2800.47 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,SSSE3,CX16,SSE4.1,SSE4.2,x2APIC,POPCNT,HV,NXE,LONG,LAHF
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 999MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel Core i7 9xx (Nehalem Class Core i7), 2800.14 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,SSSE3,CX16,SSE4.1,SSE4.2,x2APIC,POPCNT,HV,NXE,LONG,LAHF
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu1: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu1: smt 0, core 0, package 1
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
"ACPI0006" at acpi0 not configured
"PNP0303" at acpi0 not configured
"PNP0F13" at acpi0 not configured
"PNP0700" at acpi0 not configured
"PNP0501" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"QEMU0002" at acpi0 not configured
pvbus0 at mainbus0: KVM
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0:  ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 disabled (no drives)
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 int 9
iic0 at piixpm0
vga1 at pci0 dev 2 function 0 "Red Hat QXL Video" rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio0: address 52:54:00:26:b2:25
virtio0: msix shared
azalia0 at pci0 dev 4 function 0 "Intel 82801FB HD Audio" rev 0x01: apic 0 int 
11
azalia0: No codecs found
virtio1 at pci0 dev 5 function 0 "Qumranet Virtio Console" rev 0x00
virtio1: no matching child driver; not configured
uhci0 at pci0 dev 6 function 0 "Intel 82801I USB" rev 0x03: apic 0 int 10
uhci1 at pci0 dev 6 function 1 "Intel 82801I USB" rev 0x03: apic 0 int 11
uhci2 at pci0 dev 6 function 2 "Intel 82801I USB" rev 0x03: apic 0 int 11
ehci0 at pci0 dev 6 function 7 "Intel 82801I USB" rev 0x03: apic 0 int 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
virtio2 at pci0 dev 7 function 0 "Qumranet Virtio Storage" rev 0x00
vioblk0 at virtio2
scsibus2 at vioblk0: 2 targets
sd0 at scsibus2 targ 0 lun 0:  SCSI3 0/direct fixed
sd0: 102400MB, 512 bytes/sector, 209715200 sectors
virtio2: msix shared
virtio3 at pci0 dev 8 function 0 "Qumranet Virtio Memory" rev 0x00
viomb0 at virtio3
virtio3: apic 0 int 11
isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 1: density unknown
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
usb1 at 

[no subject]

2016-10-10 Thread Lampshade
> Hello folks,
> 
> I'd like to know if somebody is interested in looking into porting the
> Nouveau open-source Nvidia graphics driver to OpenBSD. I realize it
> requires the cooperation of the Nvidia company. And if it is already in the
> works, it would be great if you could let me know.
> 
> Sincerely,
> Bill L
> 
Does Nvidia released signed firmware for
consumer grade Pascal GPUs? Or complete
signed firmware for second-gen Maxwell
GPUs? As far as I know they don't.



[no subject]

2016-10-10 Thread Bill Loucks
Hello folks,

I'd like to know if somebody is interested in looking into porting the
Nouveau open-source Nvidia graphics driver to OpenBSD. I realize it
requires the cooperation of the Nvidia company. And if it is already in the
works, it would be great if you could let me know.

Sincerely,
Bill L


relayd(8) 'TLS client and server' mode, wildcard certs and X509v3 Subject Alternative Name(s)

2016-10-08 Thread Marcus MERIGHI
first: thanks for relayd!

After a few days with relayd I think that:

a) when dealing with a wildcard server certificate relayd fails in
   rewriting the cert with the local CA.
b) when dealing with X509v3 Subject Alternative Name(s) relayd fails to
   connect to the destination server.


Index:
- examples short (site, cn, subjaltnames, log line)
- relayd.conf
- relayd.block
- examples verbose with certs


examples short:
1) 13.14.0.10 (BAD_CERT_DOMAIN):
 CN=*.services.xerox.com
 DNS:*.services.xerox.com, DNS:services.xerox.com
 10.0.0.1 -> 13.14.0.10:443, done

2) gmx.at (BAD_CERT_DOMAIN): 
 CN=*.gmx.at
 DNS:*.gmx.at
 10.0.0.1 -> 82.165.230.18:443, done

3) arbeiterkammer.at (FAIL): 
 CN=*.arbeiterkammer.at, 
 DNS:*.arbeiterkammer.at, DNS:arbeiterkammer.at
 10.0.0.1 -> 188.65.79.84:443, TLS connect error

4) landestheater.net (FAIL):
 CN=www.noe-kulturkarten.at
 DNS:www.noe-kulturkarten.at, DNS:geschichte.landesmuseum.net,
 [many more skipped]
 10.0.0.1 -> 80.120.141.37:443, TLS connect error


my relayd.conf

log all
prefork 5
http protocol "httpsfilter" {
tls ca key "/etc/ssl/private/ca.key" password "almostforgotten"
tls ca cert "/etc/ssl/ca.crt"

return error
block

match request header set "Keep-Alive" value "$TIMEOUT"
match request header set "Connection" value "close"

pass request method HEAD url log
pass request method GET url log
pass request method POST url log

block request url log file "/etc/relayd.block" label "Blockiert!"
}
relay httpsproxy {
listen on 127.0.0.1 port 8443 tls
protocol "httpsfilter"
forward with tls to destination
}
[similiar block for http omitted]


/etc/relayd.block excerpt:

adservingfactory.com/
scorecardresearch.com/
atemda.com/
adrtx.net/


example 1
https://13.14.0.10/
relayd: relay httpsproxy, session 954 (1 active), 0, 10.0.0.20 ->
  13.14.0.10:443, done
firefox says: SSL_ERROR_BAD_CERT_DOMAIN
-BEGIN CERTIFICATE-
MIIGJzCCBQ+gAwIBAgIRAOv3mKJUpc1TP1RbkNmrYUAwDQYJKoZIhvcNAQELBQAw
gZYxCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO
BgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNPTU9ETyBDQSBMaW1pdGVkMTwwOgYD
VQQDEzNDT01PRE8gUlNBIE9yZ2FuaXphdGlvbiBWYWxpZGF0aW9uIFNlY3VyZSBT
ZXJ2ZXIgQ0EwHhcNMTYwNjI5MDAwMDAwWhcNMTcwNjI5MjM1OTU5WjCCAQ8xCzAJ
BgNVBAYTAlVTMQ4wDAYDVQQREwUwNjg1MDEUMBIGA1UECBMLQ29ubmVjdGljdXQx
EDAOBgNVBAcTB05vcndhbGsxGTAXBgNVBAkTEDQ1IEdsb3ZlciBBdmVudWUxGjAY
BgNVBAoTEVhlcm94IENvcnBvcmF0aW9uMRswGQYDVQQLExJXb3JsZCBIZWFkcXVh
cnRlcnMxNzA1BgNVBAsTLklzc3VlZCB0aHJvdWdoIFhlcm94IENvcnBvcmF0aW9u
IEUtUEtJIE1hbmFnZXIxHDAaBgNVBAsTE1ByZW1pdW1TU0wgV2lsZGNhcmQxHTAb
BgNVBAMMFCouc2VydmljZXMueGVyb3guY29tMIIBIjANBgkqhkiG9w0BAQEFAAOC
AQ8AMIIBCgKCAQEAxK3Tae1KHYRAavGfHwVpjkNbnAjJqglSPkukHf/oBAWpnaZT
LFl57ecgRZasXFATpQ5Lrs62sgJwjM7hw5bgV71pVpZGPS+au9y+HXEVEf2BTjHq
2UjzMHy2roamrDVsHuxZeziozl8T58+FvOGRXN52rgSaZT4LZ+toj/wbtzQuvmeh
MuDDwl+X0B/YyQ79b0ToPMZRtcuxNLzudbVIQIN9/h1Xa/R/tgVQ3pJkDOfkFo9o
qYbSAs3S56TilHcovMPZpK/bTkFlsZbaBzafxj7Sce8kta1b/ecNc7DtxMC/bZmM
pxlquJgo/h1l52/vXy7I+ZE6QVIrE/RnO3GhTwIDAQABo4IB8jCCAe4wHwYDVR0j
BBgwFoAUmvMr2s+tT7YvuypISCoStxtCwSQwHQYDVR0OBBYEFOJOK3aWD3d4l9Zs
GLRWBLFZV2yjMA4GA1UdDwEB/wQEAwIFoDAMBgNVHRMBAf8EAjAAMB0GA1UdJQQW
MBQGCCsGAQUFBwMBBggrBgEFBQcDAjBQBgNVHSAESTBHMDsGDCsGAQQBsjEBAgED
BDArMCkGCCsGAQUFBwIBFh1odHRwczovL3NlY3VyZS5jb21vZG8uY29tL0NQUzAI
BgZngQwBAgIwWgYDVR0fBFMwUTBPoE2gS4ZJaHR0cDovL2NybC5jb21vZG9jYS5j
b20vQ09NT0RPUlNBT3JnYW5pemF0aW9uVmFsaWRhdGlvblNlY3VyZVNlcnZlckNB
LmNybDCBiwYIKwYBBQUHAQEEfzB9MFUGCCsGAQUFBzAChklodHRwOi8vY3J0LmNv
bW9kb2NhLmNvbS9DT01PRE9SU0FPcmdhbml6YXRpb25WYWxpZGF0aW9uU2VjdXJl
U2VydmVyQ0EuY3J0MCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5jb21vZG9jYS5j
b20wMwYDVR0RBCwwKoIUKi5zZXJ2aWNlcy54ZXJveC5jb22CEnNlcnZpY2VzLnhl
cm94LmNvbTANBgkqhkiG9w0BAQsFAAOCAQEAru8LU5ITz9eEC4RIi9OoilSfOz87
9DAa0XS8iCoor0hMaXsa4xaPl8l9qxBKcyU6kiOhs9XdsExSfqKQDofh1VfNQsrs
0H6F5i/sLstDqDtzOUf6UF6WawunF/1E6mhd+GYwiJirgQTEpnjltigglljsG3vH
u3Rmy5r13bynYS/gRkXg8eIbXzrPRD9sEQNkOouyixPCOQHAjvJShXT2Vkl9OiGp
mAfCmML3R0k94KTINzt+356Swh0p4vSsIEwgRWDh1eyJcKv0ykQl5u2KGQM31RIz
Xkq/sT2YSJvgtYnfPP1CwFdgq3q2wqXPA2gt6hHI9eyUCmIGS22UnKhHmg==
-END CERTIFICATE-


example 2
https://www.gmx.at/
relayd: relay httpsproxy, session 953 (1 active), 0, 10.0.0.1 
  -> 82.165.230.18:443, done
firefox says: SSL_ERROR_BAD_CERT_DOMAIN
-BEGIN CERTIFICATE-
MIIHSzCCBjOgAwIBAgIIaHuA0PKxfPAwDQYJKoZIhvcNAQELBQAwgdkxCzAJBgNV
BAYTAkRFMSUwIwYDVQQKExxULVN5c3RlbXMgSW50ZXJuYXRpb25hbCBHbWJIMR8w
HQYDVQQLExZULVN5c3RlbXMgVHJ1c3QgQ2VudGVyMRwwGgYDVQQIExNOb3Jkcmhl
aW4gV2VzdGZhbGVuMQ4wDAYDVQQREwU1NzI1MDEQMA4GA1UEBxMHTmV0cGhlbjEg
MB4GA1UECRMXVW50ZXJlIEluZHVzdHJpZXN0ci4gMjAxIDAeBgNVBAMTF1RlbGVT
ZWMgU2VydmVyUGFzcyBERS0yMB4XDTE1MDIyNTA4MDcwNVoXDTE4MDMwMjIzNTk1
OVowgZkxCzAJBgNVBAYTAkRFMR4wHAYDVQQKDBUxJjEgTWFpbCAmIE1lZGlhIEdt
Y

[no subject]

2016-10-07 Thread Dario Niedermann
>Synopsis:  make: empty expansion of $(Category:  user
>Environment:
System  : OpenBSD 5.8
Details : OpenBSD 5.8 (GENERIC.MP) #1: Wed Oct 14 19:40:42 CEST 2015
 
jas...@stable-58-i386.mtier.org:/binpatchng/work-binpatch58-i386/src/sys/arch/i386/compile/GENERIC.MP

Architecture: OpenBSD.i386
Machine : i386
>Description:
I'm having a problem with OpenBSD's make, where the local
variables $(How-To-Repeat:
=== TEST MAKEFILE ===
a.o:# just touch 'a.c' before running this makefile

.c.o:
cd $(Fix:




[no subject]

2016-04-13 Thread bwalzer
>Synopsis:  smtpd: Probable tag scope issue
>Category:  system documentation amd64
>Environment:
System  : OpenBSD 5.9
Details : OpenBSD 5.9 (GENERIC) #1761: Fri Feb 26 01:15:04 MST 2016
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

Architecture: OpenBSD.amd64
Machine : amd64
>Description:


Incoming email is received by smtpd, forwarded to amavisd-new,
received from amavisd-new by smtpd and then a local delivery is
performed. Outgoing mail is received by smtpd, forwarded to
dkimproxy.out, received from dkimproxy.out by smtpd and is then
relayed to the destination out on the net.

Here is the /etc/mail/smtpd.conf file that was intended to do that:

*** start /etc/mail/smtpd.conf ***

listen on all
listen on lo0 port 10025 tag AMAVIS
listen on lo0 port 10028 tag DKIM_OUT

table aliases db:/etc/mail/aliases.db

accept for local alias  deliver to mbox

accept tagged DKIM_OUT for any relay

accept tagged AMAVIS for any alias  deliver to mbox
accept from any for domain "wgc.mb.ca" relay via smtp://127.0.0.1:10024

#lets send everything to dkimproxy and let it figure out what to do
accept from local for any relay via smtp://127.0.0.1:10027

*** end /etc/mail/smtpd.conf ***

Sorry for not simplifying but as an IT professional might say "the
system was already in production" so I wanted to ensure I was at least
being accurate.

>How-To-Repeat:

We eventually discovered two situations where the system exhibited unexpected 
behaviour:

1. If the email was coming from a remote system, addressed to a user
   on the system, where that user had a .forward directing the email
   off the system again.

   The delivery would fail when amavisd-new attempted to deliver back
   to smtpd with something to the effect of "unknown user".

2. If the email was coming from a remote system, addressed to a user
   in the /etc/mail/aliases.db file, where the redirect was off the
   system.

   The delivery would complete but it ended up going to a local user
   with the same user id as the intended remote email address.


>Fix:


Replacing this line in the smtpd.conf file:

accept tagged AMAVIS for any alias  deliver to mbox

... with this line:

accept tagged AMAVIS for domain "wgc.mb.ca"  alias  deliver to mbox

... caused the system to operate in the expected way.

I strongly suspect (I have not looked at any code) that the problem
involves the scope of the AMAVIS tag. Based on the behaviour it seems
likely that when smtpd attempts the local delivery of the email coming
from amavisd-new and encounters the .forward/alias that the AMAVIS tag
is still set for the second run through the rule set caused by the
redirection. Since this is a new local delivery that would not be what
most people would expect.

If it turns out that is the desired behaviour then the places where a
tag can be expected to be valid should be documented in the man page
... actually, that might be a good idea anyway. It might also be a
good idea to define what happens in the case of multiple tags.



dmesg:
OpenBSD 5.9 (GENERIC) #1761: Fri Feb 26 01:15:04 MST 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1020203008 (972MB)
avail mem = 985178112 (939MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe4da0 (23 entries)
bios0: vendor Intel Corp. version "LY66210M.86A.0122.2007.0822.2001" date 
08/22/2007
bios0: Intel Corporation D201GLY
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices MAC0(S4) PS2K(S4) PS2M(S4) EUSB(S3) USB_(S3) USB2(S3) 
USB3(S3) AC97(S4) MC97(S4) ELAN(S4) ELAK(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) Celeron(R) CPU 220 @ 1.20GHz, 1200.19 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,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,LONG,LAHF,PERF,SENSOR
cpu0: 512KB 64b/line 2-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.1, IBE
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 14, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpicpu0 at acpi0: C1(@1 halt!)
acpibtn0 at acpi0: PWRB
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "SiS 662 PCI" rev 0x01
agp at pchb0 not configured
ppb0 at pci0 dev 1 function 0 "SiS 648FX AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SiS 964 ISA" rev 0x36
pciide0 at pci0 dev 2 

[no subject]

2016-03-23 Thread joachim
>Synopsis:  pkg_add without _pkgfetch user gives wrong error message
>Category:  userland
>Environment:
System  : OpenBSD 5.9
Details : OpenBSD 5.9-current (GENERIC.MP) #1945: Sat Mar 19 
22:40:01 MDT 2016
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
I forgot to sysmerge, then ran pkg_add -ui. This results in the output

Error from 
http://ftp.meerval.net/pub/OpenBSD/snapshots/packages/amd64/
Can't locate object method "fatal" via package 
"OpenBSD::PackageRepository::HTTP" at 
/usr/libdata/perl5/OpenBSD/PackageRepository.pm line 592.
http://ftp.meerval.net/pub/OpenBSD/snapshots/packages/amd64/ is 
empty
Couldn't find updates for (...)

The message 'Can't locate object method "fatal"...' refers to the
following line in /usr/libdata/perl5/OpenBSD/PackageRepository.pm

$state->fatal("Couldn't change identity: can't find #1", $user);

I concur with espie@'s commit message for r1.119 that I "deserve this."
That said, actually emitting the message "Couldn't change identity..."
would still be preferable.
>How-To-Repeat:
Presumably, remove the user _pkgfetch then use pkg_add in any
substantial capacity.
>Fix:
Run sysmerge, of course.

My perl-fu isn't strong enough to quickly produce a working patch, I'm
afraid.

dmesg:
OpenBSD 5.9-current (GENERIC.MP) #1945: Sat Mar 19 22:40:01 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 80
real mem = 8238260224 (7856MB)
avail mem = 7984238592 (7614MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xacbfd000 (66 entries)
bios0: vendor LENOVO version "N14ET33W (1.11 )" date 11/09/2015
bios0: LENOVO 20BSCTO1WW
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP ASF! HPET ECDT APIC MCFG SSDT SSDT SSDT SSDT SSDT SSDT 
SSDT SSDT SSDT SSDT PCCT SSDT TCPA SSDT UEFI MSDM BATB FPDT UEFI DMAR
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2095.48 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,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
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.1.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2095.15 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,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2095.15 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,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2095.15 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,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 

[no subject]

2016-02-05 Thread ilavsky . martin
>Synopsis:  escape rksh when user has access to man(1)
>Category:  system
>Environment:
System  : OpenBSD 5.8
Details : OpenBSD 5.8 (GENERIC) #1170: Sun Aug 16 02:26:00 MDT 2015
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
user can escape rksh shell when he has access to man(1) using custom 
MANPAGER env variable
>How-To-Repeat:
rksh user setup:

# grep whoo /etc/passwd
whoo:*:1001:1001:test user:/home/whoo:/bin/rksh
# grep rksh /etc/shells
/bin/rksh
#

# cd /home/whoo
# ls -lad . .profile
drwxr-xr-x  4 whoo  whoo   512 Feb  5 00:06 .
-rw-r--r--  1 root  wheel  136 Feb  5 09:57 .profile
#

# grep -vE '^$|^#' .profile
PATH="/home/whoo/bin"
export PATH HOME TERM
#

# ll /home/whoo/bin/
total 872
drwxr-xr-x  2 root  whoo 512 Feb  5 10:10 .
drwxr-xr-x  4 whoo  whoo 512 Feb  5 00:06 ..
-r-xr-xr-x  1 root  bin   422520 Aug 16 10:19 man
#

man copied from /usr/bin/

When logged as user whoo:

$ cd /
rksh: cd: restricted shell - can't cd
$ cd ..
rksh: cd: restricted shell - can't cd
$ unset PATH
rksh: unset: PATH is read only
$
$ export MANPAGER="/bin/csh -c /bin/csh"
$
$ man man
openbsd:man {1} setenv PATH "/bin:/usr/bin:/sbin:/usr/sbin"
openbsd:man {2} cd /
openbsd: {3} ls -la
total 34724
drwxr-xr-x  13 root  wheel  512 Dec  9 13:53 .
drwxr-xr-x  13 root  wheel  512 Dec  9 13:53 ..
drwxr-xr-x   2 root  wheel  512 Aug 16 10:18 altroot
drwxr-xr-x   2 root  wheel 1024 Aug 16 10:19 bin
-rw-r--r--   1 root  wheel69780 Dec  9 12:45 boot

openbsd: {4} id
uid=1001(whoo) gid=1001(whoo) groups=1001(whoo)
openbsd: {5}
openbsd: {5} cd /usr/src
openbsd:src {6} pwd
/usr/src
openbsd:src {7}

>Fix:


dmesg:
OpenBSD 5.8 (GENERIC) #1170: Sun Aug 16 02:26:00 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 520028160 (495MB)
avail mem = 500477952 (477MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe1000 (10 entries)
bios0: vendor innotek GmbH version "VirtualBox" date 12/01/2006
bios0: innotek GmbH VirtualBox
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP APIC SSDT
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E3-1240 V2 @ 3.40GHz, 3392.96 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,MWAIT,SSSE3,NXE,LONG,LAHF,PERF
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: CPU supports MTRRs but not enabled by BIOS
cpu0: apic clock running at 1000MHz
cpu0: mwait min=64, max=64
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
acpibat0 at acpi0: BAT0 not present
acpiac0 at acpi0: AC unit online
acpivideo0 at acpi0: GFX0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0:  ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
vga1 at pci0 dev 2 function 0 "InnoTek VirtualBox Graphics Adapter" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em0 at pci0 dev 3 function 0 "Intel 82540EM" rev 0x02: apic 1 int 19, address 
08:00:27:4a:36:ae
"InnoTek VirtualBox Guest Service" rev 0x00 at pci0 dev 4 function 0 not 
configured
piixpm0 at pci0 dev 7 function 0 "Intel 82371AB Power" rev 0x08: SMBus disabled
em1 at pci0 dev 8 function 0 "Intel 82540EM" rev 0x02: apic 1 int 16, address 
08:00:27:bd:8d:cd
ahci0 at pci0 dev 13 function 0 "Intel 82801HBM AHCI" rev 0x02: apic 1 int 21, 
AHCI 1.1
ahci0: device on port 0 didn't come ready, TFD: 0x171
ahci0: port 0: 3.0Gb/s
scsibus2 at ahci0: 32 targets
sd0 at scsibus2 targ 0 lun 0:  SCSI3 0/direct fixed 
t10.ATA_VBOX_HARDDISK_VB6c7e77f0-608bff3e_
sd0: 20480MB, 512 bytes/sector, 41943040 sectors
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a (ac508e847be44516.a) swap on sd0b dump on sd0b

usbdevs:
usbdevs: no USB 

[no subject]

2016-01-28 Thread herminio . hernandezjr
>Synopsis:  
>Category:  
>Environment:
System  : OpenBSD 5.8
Details : OpenBSD 5.8 (GENERIC) #1170: Sun Aug 16 02:26:00 MDT 2015
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
I cannot connect to ftp mirrors to install packages
>How-To-Repeat:
Below are the commands that I run. You can see I have ip connectivity 
(icmp) but cannot connect to servers.

# pkg_add ddrescue
Error from http://mirror.esc7.net/pub/OpenBSD/5.8/packages/amd64/
ftp: connect: No route to host
http://mirror.esc7.net/pub/OpenBSD/5.8/packages/amd64/ is empty
Can't find ddrescue
# curl http://mirror.esc7.net/pub/OpenBSD/5.8/packages/amd64/ddrescue-1.19.tgz  
 
curl: (7) Couldn't connect to server
# ftp -a mirror.esc7.net
Trying 72.53.191.10...
ftp: connect to address 72.53.191.10: No route to host
Trying 2604:c400:0:1::10...
ftp: connect: No route to host
ftp> quit
# ping mirror.esc7.net
PING mirror.esc7.net (72.53.191.10): 56 data bytes
64 bytes from 72.53.191.10: icmp_seq=0 ttl=56 time=42.414 ms
64 bytes from 72.53.191.10: icmp_seq=1 ttl=56 time=42.072 ms
64 bytes from 72.53.191.10: icmp_seq=2 ttl=56 time=42.172 ms
64 bytes from 72.53.191.10: icmp_seq=3 ttl=56 time=42.091 ms



dmesg:
OpenBSD 5.8 (GENERIC) #1170: Sun Aug 16 02:26:00 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 520085504 (495MB)
avail mem = 500535296 (477MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf19c0 (10 entries)
bios0: vendor Bochs version "Bochs" date 01/01/2011
bios0: Bochs Bochs
acpi0 at bios0: rev 0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HPET
acpi0: wakeup devices
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 E5-2630L v2 @ 2.40GHz, 423.43 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SS,SSE3,PCLMUL,VMX,SSSE3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,LONG,LAHF,PERF,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 1000MHz
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins
acpihpet0 at acpi0: 1 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
pvbus0 at mainbus0: KVM
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 int 9
iic0 at piixpm0
vga1 at pci0 dev 2 function 0 "Cirrus Logic CL-GD5446" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00: Virtio 
Network Device
vio0 at virtio0: address 04:01:9e:d9:30:01
virtio0: apic 0 int 11
virtio1 at pci0 dev 4 function 0 "Qumranet Virtio Network" rev 0x00: Virtio 
Network Device
vio1 at virtio1: address 04:01:9e:d9:30:02
virtio1: apic 0 int 11
virtio2 at pci0 dev 5 function 0 "Qumranet Virtio Storage" rev 0x00: Virtio 
Block Device
vioblk0 at virtio2
scsibus1 at vioblk0: 2 targets
sd0 at scsibus1 targ 0 lun 0:  SCSI3 0/direct fixed
sd0: 21504MB, 512 bytes/sector, 44040229 sectors
virtio2: apic 0 int 10
virtio3 at pci0 dev 6 function 0 "Qumranet Virtio Memory" rev 0x00: Virtio 
Memory Balloon Device
viomb0 at virtio3
virtio3: apic 0 int 10
isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 1: density unknown
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
nvram: invalid checksum
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (c8fefe4975345a6f.a) swap on sd0b dump on sd0b
clock: unknown CMOS layout

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

pcidump:
Domain /dev/pci0:
 0:0:0: Intel 82441FX
0x: Vendor ID: 8086 

[no subject]

2016-01-27 Thread sven falempin
>Synopsis: carping an interface that is in a bridge
>Category: kernel
>Environment:
System  : OpenBSD 5.8
Details : OpenBSD 5.8-stable (GENERIC) #1: Tue Dec 15 18:48:49 GMT 2015
root@flash:/usr/src/sys/arch/amd64/compile/GENERIC

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
missconfiguring carp with bridges crash the kernel
>How-To-Repeat:
ifconfig bridge0 create
ifconfig bridge0 add em3
ifconfig carp1 carpdev em3
>Fix:
dont missconfigure, propose a patch on bridge/carp documentation in
ifconfig, if i found how

SENDBUG: dmesg, pcidump, acpidump and usbdevs are attached.
SENDBUG: Feel free to delete or use the -D flag if they contain sensitive
information.

dmesg:
OpenBSD 5.8-stable (GENERIC) #1: Tue Dec 15 18:48:49 GMT 2015
root@flash:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 4169097216 (3975MB)
avail mem = 4038897664 (3851MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe9570 (14 entries)
bios0: vendor American Megatrends Inc. version "BAR3NA01" date 08/11/2015
bios0: NF533 NF533
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG LPIT HPET SSDT SSDT SSDT UEFI
acpi0: wakeup devices XHC1(S4) EHC1(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4)
BRCM(S0) BRC3(S0)
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) Celeron(R) CPU J1900 @ 1.99GHz, 2000.45 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,RDRAND,NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu0: 1MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 83MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3.3, IBE
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 87 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 7 (RP02)
acpiprt3 at acpi0: bus 8 (RP03)
acpiprt4 at acpi0: bus 9 (RP04)
acpiec0 at acpi0: not present
acpicpu0 at acpi0
C2: state 6: substate 8 >= num 3: C3(10@1500 mwait.1@0x52), C1(1000@1
mwait.1), PSS
acpipwrres0 at acpi0: PLPE
acpipwrres1 at acpi0: PLPE
acpipwrres2 at acpi0: USBC, resource for EHC1, OTG1
acpipwrres3 at acpi0: CLK0, resource for CAM1
acpipwrres4 at acpi0: CLK1, resource for CAM0, CAM2
acpitz0 at acpi0: critical temperature is 90 degC
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: GFX0
cpu0: Enhanced SpeedStep 2000 MHz: speeds: 1993, 1992, 1909, 1826, 1743,
1660, 1577, 1494, 1411, 1328 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Bay Trail Host" rev 0x0e
vga1 at pci0 dev 2 function 0 "Intel Bay Trail Video" rev 0x0e
intagp at vga1 not configured
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
xhci0 at pci0 dev 20 function 0 "Intel Bay Trail xHCI" rev 0x0e: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
"Intel Bay Trail TXE" rev 0x0e at pci0 dev 26 function 0 not configured
ppb0 at pci0 dev 28 function 0 "Intel Bay Trail I2C" rev 0x0e: msi
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 vendor "Pericom", unknown product 0x2608 rev
0x00
pci2 at ppb1 bus 2
ppb2 at pci2 dev 1 function 0 vendor "Pericom", unknown product 0x2608 rev
0x00: msi
pci3 at ppb2 bus 3
em0 at pci3 dev 0 function 0 "Intel I350" rev 0x01: msi, address
00:30:18:c0:cc:38
em1 at pci3 dev 0 function 1 "Intel I350" rev 0x01: msi, address
00:30:18:c0:cc:39
ppb3 at pci2 dev 2 function 0 vendor "Pericom", unknown product 0x2608 rev
0x00: msi
pci4 at ppb3 bus 4
em2 at pci4 dev 0 function 0 "Intel I211" rev 0x03: msi, address
00:30:18:c9:37:d6
ppb4 at pci2 dev 3 function 0 vendor "Pericom", unknown product 0x2608 rev
0x00: msi
pci5 at ppb4 bus 5
ppb5 at pci2 dev 4 function 0 vendor "Pericom", unknown product 0x2608 rev
0x00: msi
pci6 at ppb5 bus 6
em3 at pci6 dev 0 function 0 "Intel I350" rev 0x01: msi, address
00:30:18:c0:cb:ec
em4 at pci6 dev 0 function 1 "Intel I350" rev 0x01: msi, address
00:30:18:c0:cb:ed
ppb6 at pci0 dev 28 function 1 "Intel Bay Trail PCIE" rev 0x0e: msi
pci7 at ppb6 bus 7
em5 at pci7 dev 0 function 0 "Intel I211" rev 0x03: msi, address
00:30:18:c9:37:d3
ppb7 at pci0 dev 28 function 2 "Intel Bay Trail PCIE" rev 0x0e: msi
pci8 at ppb7 bus 8
em6 at pci8 dev 0 function 0 "Intel I211" rev 0x03: msi, address
00:30:18:c9:37:d4
ppb8 at 

[no subject]

2016-01-19 Thread hiroshi-n
>Synopsis:  Realtek RTL8111H is not correctly handled.
>Category:  Kernel
>Environment:
System  : OpenBSD 5.8
Details : OpenBSD 5.8 (GENERIC.MP) #1236: Sun Aug 16 02:31:04 MDT 
2015
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
RTL8111H on ASUS N3150I-C is detected, but hardware address is 
00:00:00:00:00:00, not working.
>How-To-Repeat:
Boot and ifconfig/dmesg.
>Fix:
none


dmesg:
OpenBSD 5.8 (GENERIC.MP) #1236: Sun Aug 16 02:31:04 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4116299776 (3925MB)
avail mem = 3987648512 (3802MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xebec0 (46 entries)
bios0: vendor American Megatrends Inc. version "0304" date 05/28/2015
bios0: ASUS All Series
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG SSDT SSDT SSDT UEFI LPIT CSRT
acpi0: wakeup devices UAR1(S4) UAR2(S4) PS2K(S3) PS2M(S3) XHC1(S4) HDEF(S4) 
PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) 
BRCM(S0) BRC1(S0)
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) Celeron(R) CPU N3150 @ 1.60GHz, 1680.40 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu0: 1MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 79MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3.3, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Celeron(R) CPU N3150 @ 1.60GHz, 1679.94 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu1: 1MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Celeron(R) CPU N3150 @ 1.60GHz, 1679.94 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu2: 1MB 64b/line 16-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Celeron(R) CPU N3150 @ 1.60GHz, 1679.94 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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu3: 1MB 64b/line 16-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 115 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus 2 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpiec0 at acpi0: not present
acpicpu0 at acpi0
C2: state 6: substate 8 >= num 3
C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0
C2: state 6: substate 8 >= num 3
C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0
C2: state 6: substate 8 >= num 3
C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0
C2: state 6: substate 8 >= num 3
C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: CLK0, resource for CAMD
acpipwrres1 at acpi0: CLK0, resource for CAM1
acpipwrres2 at acpi0: CLK1, resource for CAM2, CAM3
acpipwrres3 at acpi0: USBC, resource for XHC1
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: Enhanced SpeedStep 1680 MHz: speeds: 1601, 1600, 1520, 1440, 1360, 1280, 
1200, 1120, 1040, 960, 880, 800, 720, 640, 560, 480 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x2280 rev 0x21
vga1 at pci0 dev 2 function 0 vendor "Intel", unknown product 0x22b1 rev 0x21
intagp at vga1 not configured
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 

[no subject]

2015-11-29 Thread Todd C. Miller
On Sat, 28 Nov 2015 20:19:22 -0800, Serguey Parkhomovsky wrote:

> Looks like you beat me to it! skeyinit still needs pledge getpw, though:

It's not needed for the plain passwd db but maybe it is for YP.
I've added getpw in the pledge call and then revoked getpw, proc,
and exec once authentication is complete.

 - todd



[no subject]

2015-11-28 Thread rjohnson
>Synopsis:  skeyinit -s does not accept sequence count
>Category:  user
>Environment:
System  : OpenBSD 5.8
Details : OpenBSD 5.8-stable (GENERIC.MP) #24: Fri Nov 27 12:27:29 
MST 2015
 
rjohnson@silt.localdomain:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
S/Key authn works for login as samplusr:skey, for 'sudo -a skey -v', 
and for skeyinit without -s.

However, skeyinit -s prompts for a sequence count (whether or not a 
sequence count is provided on the command line), then presents an ERROR about 
the sequence count being out of range even though it's in range.

$ skeyinit -s
otp-sha1 193 host09419
S/Key Password:
[Updating samplusr with sha1]
Old seed: [sha1] host09419
You need the 6 words generated from the "skey" command.
Enter sequence count from 1 to 1: 200
ERROR: Count must be between 1 and 
Enter sequence count from 1 to 1: ^C

$ skeyinit -n 200 -s
otp-sha1 192 host09419
S/Key Password:
[Updating samplusr with sha1]
Old seed: [sha1] host09419
You need the 6 words generated from the "skey" command.
Enter sequence count from 1 to 1: 200
ERROR: Count must be between 1 and 
Enter sequence count from 1 to 1: ^C

(The system was upgraded from OpenBSD 5.6-stable, where skeyinit -s did 
not present the ERROR about sequence count out of range)
>How-To-Repeat:
Execute 'skeyinit -s' on a system with S/Key enabled and set up for the 
user
>Fix:



dmesg:
OpenBSD 5.8-stable (GENERIC.MP) #24: Fri Nov 27 12:27:29 MST 2015
rjohnson@silt.localdomain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1056952320 (1007MB)
avail mem = 1021083648 (973MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x3ea0 (11 entries)
bios0: vendor Seabios version "0.5.1" date 01/01/2007
bios0: Red Hat KVM
acpi0 at bios0: rev 0
acpi0: sleep states S5
acpi0: tables DSDT FACP SSDT APIC SSDT
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: QEMU Virtual CPU version (cpu64-rhel6), 2000.50 MHz
cpu0: 
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,HV,NXE,LONG,LAHF
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 1000MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: QEMU Virtual CPU version (cpu64-rhel6), 2000.35 MHz
cpu1: 
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,HV,NXE,LONG,LAHF
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu1: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu1: smt 0, core 0, package 1
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
pvbus0 at mainbus0: KVM
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 20480MB, 41943040 sectors
wd0(pciide0:0:0): using PIO mode 0, DMA mode 2
pciide0: channel 1 disabled (no drives)
uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 int 9
iic0 at piixpm0
iic0: addr 0x18 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words 
00= 01= 02= 03= 04= 05= 06= 07=
iic0: addr 0x1a 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words 
00= 01= 02= 03= 04= 05= 06= 07=
iic0: addr 0x29 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words 
00= 01= 02= 03= 04= 05= 06= 07=
iic0: addr 0x2b 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words 
00= 01= 02= 03= 04= 05= 06= 07=
iic0: addr 0x4c 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words 
00= 01= 02= 03= 04= 05= 06= 07=
iic0: addr 0x4e 00=00 01=00 02=00 03=00 04=00 

[no subject]

2015-11-21 Thread Dennis Lindroos
>Synopsis:reading from st(4) never stops (no eof?)
>Category:kernel
>Environment:
System  : OpenBSD 5.8
Details : OpenBSD 5.8 (GENERIC) #143: Sun Aug 16 06:15:00 MDT 2015
 dera...@alpha.openbsd.org:/usr/src/sys/arch/alpha/compile/GENERIC

Architecture: OpenBSD.alpha
Machine : alpha
>Description:
Since upgrading to OpenBSD 5.8, the st(4) SCSI tape doesn't work properly.
Writing files/data to it looks like working as normal, but
when i start reading data, the drive operates, the data is read and the
tape drive stops but the read goes on forever!

For example, with dd(1) if=/dev/nrst0 bs=32k i end up
reading the last 32k block all over again
(the process is in "physio" state) until i interrupt it.

I tried writing extra EOF markers with mt(1) and different block sizes.
I get no kernel messages etc.
btw. I'm quite sure it worked in 5.7 but i can't go back now.


>How-To-Repeat:
Write some data e.g. with dd(1), rewind and try to read it.

>Fix:


dmesg:
OpenBSD 5.8 (GENERIC) #143: Sun Aug 16 06:15:00 MDT 2015
dera...@alpha.openbsd.org:/usr/src/sys/arch/alpha/compile/GENERIC
AlphaServer DS10 617 MHz
8192 byte page size, 1 processor.
real mem = 1342177280 (1280MB)
rsvd mem = 2990080 (2MB)
avail mem = 1310072832 (1249MB)
User Kernel Config
UKC> disable ukphy
 23 ukphy* disabled
UKC> disable ohci
115 ohci* disabled
UKC> disable ehci
116 ehci* disabled
UKC> disable uhci
114 uhci* disabled
UKC> quit
Continuing...
mainbus0 at root
cpu0 at mainbus0: ID 0 (primary), 21264A-6 (pass 2.3 or 2.4)
cpu0: architecture extensions: 307
tsc0 at mainbus0: 21272 Chipset, Cchip rev 0
tsc0: 2 Dchips, 1 memory bus of 16 bytes
tsc0: arrays present: 256MB, 1024MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0 hose 0
pci0 at tsp0 bus 0
sio0 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0xc3
dc0 at pci0 dev 9 function 0 "DEC 21142/3" rev 0x41: dec 6600 irq 29,
address 00:10:64:30:aa:c3
dcphy0 at dc0 phy 31: internal PHY
dc1 at pci0 dev 11 function 0 "DEC 21142/3" rev 0x41: dec 6600 irq 30,
address 00:00:00:00:00:00
dcphy1 at dc1 phy 31: internal PHY
pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc1:
DMA, channel 0 wired to compatibility, channel 1 wired to
compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  ATAPI
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
"NEC USB" rev 0x41 at pci0 dev 14 function 0 not configured
"NEC USB" rev 0x41 at pci0 dev 14 function 1 not configured
"NEC USB" rev 0x02 at pci0 dev 14 function 2 not configured
ahc0 at pci0 dev 15 function 0 "Adaptec AHA-3960D U160" rev 0x01: dec
6600 irq 39
scsibus1 at ahc0: 16 targets, initiator 7
sd0 at scsibus1 targ 1 lun 0:  SCSI2
0/direct fixed eui.0e1100261454
sd0: 34732MB, 512 bytes/sector, 71132000 sectors
sd1 at scsibus1 targ 2 lun 0:  SCSI2
0/direct fixed eui.0e1100147233
sd1: 34732MB, 512 bytes/sector, 71132000 sectors
ahc1 at pci0 dev 15 function 1 "Adaptec AHA-3960D U160" rev 0x01: dec
6600 irq 38
scsibus2 at ahc1: 16 targets, initiator 7
qlw0 at pci0 dev 16 function 0 "QLogic ISP1020" rev 0x05: dec 6600 irq 43
qlw0: firmware rev 4.66.0, attrs 0x0
scsibus3 at qlw0: 16 targets, initiator 7
st0 at scsibus3 targ 6 lun 0:  SCSI2
1/sequential removable naa.500e09e6b775
vga0 at pci0 dev 17 function 0 "TI 3DLabs Permedia 2" rev 0x01
wsdisplay0 at vga0 mux 1
wsdisplay0: screen 0-5 added (80x25, vt100 emulation)
isa0 at sio0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x3bc/4 irq 7
mcclock0 at isa0 port 0x70/2: mc146818 or compatible
tsciic0 at tsc0
iic0 at tsciic0
spdmem0 at iic0 addr 0x50: 128MB SDRAM registered ECC PC66
spdmem1 at iic0 addr 0x51: 128MB SDRAM registered ECC PC66
spdmem2 at iic0 addr 0x52: 512MB SDRAM registered ECC PC66
spdmem3 at iic0 addr 0x53: 512MB SDRAM registered ECC PC66
stray isa irq 3
vscsi0 at root
scsibus4 at vscsi0: 256 targets
softraid0 at root
scsibus5 at softraid0: 256 targets
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 80.0MHz DT, offset = 0x7f
ahc0: target 2 using 16bit transfers
ahc0: target 2 synchronous at 80.0MHz DT, offset = 0x7f
sd2 at scsibus5 targ 1 lun 0:  SCSI2 0/direct fixed
sd2: 7441MB, 512 bytes/sector, 15239472 sectors
sd3 at scsibus5 targ 2 lun 0:  SCSI2 0/direct fixed
sd3: 8760MB, 512 bytes/sector, 17942032 sectors
sd4 at scsibus5 targ 3 lun 0:  SCSI2 0/direct fixed
sd4: 36856MB, 512 bytes/sector, 75481088 sectors

[no subject]

2015-09-27 Thread giovanni
>Synopsis:  device timeout after some minutes of use with athn(4)
>Category:  wireless
>Environment:
System  : OpenBSD 5.8
Details : OpenBSD 5.8-current (GENERIC.MP) #1377: Wed Sep 23 
20:48:11 MDT 2015
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
>Description:
After some minutes of use the athn(4) device times out and no more
traffic goes through the interface.
athn0 at uhub3 port 2 configuration 1 interface 0 "NETGEAR WNA WNA1100" 
rev 2.00/1.08 addr 4
athn0: AR9271 rev 1 (1T1R), ROM rev 15, address e0:46:9a:09:d9:65
athn0: device timeout

>How-To-Repeat:
Use athn(4) "NETGEAR WNA WNA1100" for some minutes,
increasing sc->sc_tx_timer in if_athn_usb.c does not help.
>Fix:
The only workaround known is to unplug the device and then plug it again


dmesg:
OpenBSD 5.8-current (GENERIC.MP) #1377: Wed Sep 23 20:48:11 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3835400192 (3657MB)
avail mem = 3715055616 (3542MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae3a000 (60 entries)
bios0: vendor LENOVO version "H5ET69WW (1.12 )" date 11/15/2012
bios0: LENOVO 62742QG
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT ASF! HPET APIC MCFG FPDT SSDT SSDT UEFI UEFI 
MSDM UEFI DBG2
acpi0: wakeup devices P0P1(S4) GLAN(S4) EHC1(S3) EHC2(S3) XHC_(S3) HDEF(S4) 
PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) 
PXSX(S4) RP05(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-2348M CPU @ 2.30GHz, 2295.13 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i3-2348M CPU @ 2.30GHz, 2294.79 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i3-2348M CPU @ 2.30GHz, 2294.79 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i3-2348M CPU @ 2.30GHz, 2294.79 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus 3 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PEG0)
acpiprt11 at acpi0: bus -1 (PEG1)
acpiprt12 at acpi0: bus -1 (PEG2)
acpiprt13 at acpi0: bus -1 (PEG3)
acpiec0 at acpi0
acpicpu0 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpicpu1 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpicpu2 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpicpu3 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 83 degC
acpitz1 at acpi0: critical temperature is 126 degC
acpibat0 at acpi0: BAT0 model "45N1045" serial  2329 type LION oem 
"313100504d53"
acpithinkpad0 at 

[no subject]

2015-09-07 Thread YASUOKA Masahiko
On Tue, 08 Sep 2015 13:33:52 +0900 (JST)
YASUOKA Masahiko  wrote:
>>Synopsis: acpi attach fail "ACPI control unavailable"
>>Category: system
>>Environment:
>   System  : OpenBSD 5.8
>   Details : OpenBSD 5.8-current (GENERIC.MP) #1362: Mon Sep  7 
> 07:00:12 MDT 2015
>
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>   Architecture: OpenBSD.amd64
>   Machine : amd64
>>Description:
>   Boot OpenBSD on VMware guest (vm version 8) on VMware ESXi 5.5
>   with efiboot, attaching acpi(4) failed with the message "ACPI
>   control unavailable".
> 
>   - vmx0 also failed to attach with the message "failed to map
> interrupt".
>   - ESXi is running on DELL PowerEdge R420.
>   - This doesn't happen if OpenBSD boot with BIOS boot.
>>How-To-Repeat:
>   Repeat always at least on the environment written in "Description"
>>Fix:
>   Applying the diff following fixes the problem.  SMI_CMD is not
>   available when HW_REDUCED_ACPI flag is set (section 4.1 in ACPI
>   6.0 spec)

The diff was confusing.  HW_REDUCED_ACPI is not related and actually
it is not set on the VMware.

ACPI 6.0 spec says in section 5.2.9, acpi_enable == 0 or acpi_disable
== 0 means the legacy mode is not supported.

Index: dev/acpi/acpi.c
===
RCS file: /cvs/src/sys/dev/acpi/acpi.c,v
retrieving revision 1.294
diff -u -p -r1.294 acpi.c
--- dev/acpi/acpi.c 6 Sep 2015 16:47:48 -   1.294
+++ dev/acpi/acpi.c 8 Sep 2015 05:20:49 -
@@ -910,12 +910,11 @@ acpi_attach(struct device *parent, struc
}
 
/*
-* Check if we are able to enable ACPI control
+* Check if legacy mode is supported
 */
-   if (sc->sc_fadt->smi_cmd &&
+   if (sc->sc_fadt->smi_cmd && 
(!sc->sc_fadt->acpi_enable && !sc->sc_fadt->acpi_disable)) {
-   printf(", ACPI control unavailable\n");
-   return;
+   printf(", no legacy mode");
}
 
/*
@@ -1501,6 +1500,10 @@ int
 acpi_enable(struct acpi_softc *sc)
 {
int idx;
+
+   /* legacy mode is not supported */
+   if (sc->sc_fadt->acpi_enable == 0 && sc->sc_fadt->acpi_disable == 0)
+   return 0;
 
acpi_write_pmreg(sc, ACPIREG_SMICMD, 0, sc->sc_fadt->acpi_enable);
idx = 0;



[no subject]

2015-08-25 Thread phil
Synopsis:  ping6 prints wrong source address if -V rtable switch is used.
Category:  user
Environment:
System  : OpenBSD 5.7
Details : OpenBSD 5.7-stable (GENERIC) #2: Fri Aug 14 15:13:51 AEST 
2015
 
r...@router.unita.com.au:/usr/src/sys/arch/amd64/compile/GENERIC

Architecture: OpenBSD.amd64
Machine : amd64
Description:
When determining the source address to print (this bug is display only, 
it does not
affect the actual packet on the wire) ping6 does not take into account whether 
the -V option has
been given to select an alternate routing table. It therefore uses the default 
routing table.

How-To-Repeat:

$ route -n -T 2 show -inet6
Routing tables

Internet6:
DestinationGatewayFlags   Refs  
Use   Mtu  Prio Iface
default::1UGS0  
 85 - 8 pppoe2
2001:44b8:2110:3665::/64   fe80::223:7dff:fe1c:decb%pppoe2 U  0 
   0 - 4 pppoe2
2001:44b8:2110:3665::1 2001:44b8:2110:3665::1 Hl 0  
  0 - 1 lo0
fe80::%pppoe2/64   fe80::223:7dff:fe1c:decb%pppoe2 U  0 
   0 - 4 pppoe2
fe80::223:7dff:fe1c:decb%pppoe2fe80::223:7dff:fe1c:decb%pppoe2 Hl 0 
   0 - 1 lo0
ff01::%pppoe2/32   fe80::223:7dff:fe1c:decb%pppoe2 UC 0 
   0 - 4 pppoe2
ff02::%pppoe2/32   fe80::223:7dff:fe1c:decb%pppoe2 UC 1 
   0 - 4 pppoe2
ff02::1:2%pppoe2   fe80::223:7dff:fe1c:decb%pppoe2 UHc1 
  53 - 4 pppoe2

$ ifconfig pppoe2 | grep inet6
inet6 fe80::223:7dff:fe1c:decb%pppoe2 -  prefixlen 64 scopeid 0x11
inet6 2001:44b8:2110:3665::1 -  prefixlen 64

$ ping6 -V2 google.com
PING6(56=40+8+8 bytes) 2001:44b8:2126:b865::1 -- 2404:6800:4006:801::200e
16 bytes from 2404:6800:4006:801::200e, icmp_seq=0 hlim=58 time=33.145 ms

(expecting to see 2001:44b8:2110:3665::1, but seeing 
2001:44b8:2126:b865::1) 

$ sudo tcpdump -nvvi pppoe2 icmp6
tcpdump: listening on pppoe2, link-type PPP_ETHER
12:10:34.798301 2001:44b8:2110:3665::1  2404:6800:4006:800::200e: icmp6: echo 
request (id:4ec1 seq:4) [icmp6 cksum ok] (len 16, hlim 64)

(packet is actually sent from correct address)

Fix:

Index: sbin/ping6/ping6.c
===
RCS file: /cvs/src/sbin/ping6/ping6.c,v
retrieving revision 1.101
diff -u -p -u -r1.101 ping6.c
--- sbin/ping6/ping6.c  16 Jan 2015 06:40:00 -  1.101
+++ sbin/ping6/ping6.c  26 Aug 2015 01:50:02 -
@@ -261,7 +261,7 @@ main(int argc, char *argv[])
size_t rthlen;
int mflag = 0;
uid_t uid;
-   u_int rtableid;
+   u_int rtableid = 0;

if ((s = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6))  0)
err(1, socket);
@@ -763,6 +763,11 @@ main(int argc, char *argv[])
setsockopt(dummy, IPPROTO_IPV6, IPV6_RTHDR,
(void *)rthdr, (rthdr-ip6r_len + 1)  3))
err(1, UDP setsockopt(IPV6_RTHDR));
+
+if (rtableid  0 
+   setsockopt(dummy, SOL_SOCKET, SO_RTABLE, rtableid,
+   sizeof(rtableid))  0)
+   err(1, setsockopt(SO_RTABLE));

if (connect(dummy, (struct sockaddr *)src, len)  0)
err(1, UDP connect);





dmesg:
OpenBSD 5.7-stable (GENERIC) #2: Fri Aug 14 15:13:51 AEST 2015
r...@router.unita.com.au:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 4101713920 (3911MB)
avail mem = 3988647936 (3803MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe9f80 (86 entries)
bios0: vendor Hewlett-Packard version 786G1 v01.08 date 08/25/2008
bios0: Hewlett-Packard HP Compaq dc7900 Small Form Factor
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC HPET DMAR
acpi0: wakeup devices COM1(S4) COM2(S4) PCI0(S4) PEG1(S4) PEG2(S4) IGBE(S4) 
PCX1(S4) PCX2(S4) PCX5(S4) PCX6(S4) HUB_(S4) USB1(S3) USB2(S3) USB3(S3) 
USB4(S3) USB5(S3) [...]
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)2 Duo CPU E8400 @ 3.00GHz, 2992.88 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 332MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins

(no subject)

2015-08-19 Thread Witold Cichoń

Hello

I use OpenBSD version 5.7.
I noticed a problem with the routing of the IPsec.
I'm trying to redirect all traffic from a private subnet 
(192.168.127.0/24) to another host.


192.168.127.0/24 Host A - IPsec - Host B --- Internet

Details below:

On host A:

# ipsecctl -s a
FLOWS:
flow esp in from 0.0.0.0/0 to 192.168.127.0/24 peer b.b.b.b type require
flow esp out from 192.168.127.0/24 to 0.0.0.0/0 peer b.b.b.b type require

SAD:
esp tunnel from a.a.a.a to b.b.b.b spi 0x03e8 auth hmac-sha2-256 enc 
aes-256
esp tunnel from b.b.b.b to a.a.a.a spi 0x03e9 auth hmac-sha2-256 enc 
aes-256

#

And interfaces:
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 32768
priority: 0
groups: lo
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:22:4d:ac:88:b6
priority: 0
media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
status: active
inet 192.168.127.1 netmask 0xff00 broadcast 192.168.127.255
inet6 fe80::222:4dff:feac:88b6%em0 prefixlen 64 scopeid 0x1

---

I am trying to ping a host directly connected to the host A, but all 
packets are going in IPsec channel (interface enc0). I think packets 
should go to interface rl0.


---


$ ping 192.168.127.44
PING 192.168.127.44 (192.168.127.44): 56 data bytes
--- 192.168.127.44 ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss


# tcpdump -ni enc0
tcpdump: listening on enc0, link-type ENC
21:58:27.268213 (authentic,confidential): SPI 0x03e8: 192.168.127.1 
 192.168.127.44: icmp: echo request (encap)
21:58:28.272609 (authentic,confidential): SPI 0x03e8: 192.168.127.1 
 192.168.127.44: icmp: echo request (encap)
21:58:29.282629 (authentic,confidential): SPI 0x03e8: 192.168.127.1 
 192.168.127.44: icmp: echo request (encap)
21:58:30.292668 (authentic,confidential): SPI 0x03e8: 192.168.127.1 
 192.168.127.44: icmp: echo request (encap)





And another problem/question:
In previous versions of OpenBSD the command netstat -rn showed routes 
associated with IPsec. In version 5.7, this information was gone. Is 
there any other way to see the routes associated with IPsec?


Best Regards

Witold Cichon



Re: (no subject)

2015-08-19 Thread Stuart Henderson
On 2015/08/19 18:52, Witold Cichoń wrote:
 Hello
 
 I use OpenBSD version 5.7.
 I noticed a problem with the routing of the IPsec.
 I'm trying to redirect all traffic from a private subnet (192.168.127.0/24)
 to another host.
..
 FLOWS:
 flow esp in from 0.0.0.0/0 to 192.168.127.0/24 peer b.b.b.b type require
 flow esp out from 192.168.127.0/24 to 0.0.0.0/0 peer b.b.b.b type require
..

 I am trying to ping a host directly connected to the host A, but all packets
 are going in IPsec channel (interface enc0). I think packets should go to
 interface rl0.

OpenBSD's ipsec implementation is flow-based, not route-based. It will
hoover up all packets matching the flow irrespective of route table
entries directing them elsewhere (including your local connected routes).

You need a bypass flow to go with this 0.0.0.0/0 entry.

 In previous versions of OpenBSD the command netstat -rn showed routes
 associated with IPsec. In version 5.7, this information was gone. Is there
 any other way to see the routes associated with IPsec?

The best I think you can find at the moment is the FLOWS section
in ipsecctl -sa.




Re: (no subject)

2015-08-19 Thread Stuart Henderson
On 2015/08/19 20:47, Witold Cichoń wrote:
 Thanks for the clarification.
 
 This means that it is not possible to create a IPsec channel between any
 subnet and 0.0.0.0/0?

Like I said:

You need a bypass flow to go with this 0.0.0.0/0 entry.




Re: (no subject)

2015-08-19 Thread Stuart Henderson
On 2015/08/19 21:15, Witold Cichoń wrote:
 I'm sorry, I missed sentence:
 
 You need a bypass flow to go with this 0.0.0.0/0 entry.
 
 Any advice how to do that?

If I understand correctly what you're trying to do, I think perhaps this:

flow esp from 192.168.127.0/24 to 192.168.127.0/24 type bypass




Re: (no subject)

2015-08-19 Thread Witold Cichoń

Thanks for the clarification.

This means that it is not possible to create a IPsec channel between any 
subnet and 0.0.0.0/0?



Stuart Henderson wrote:

On 2015/08/19 18:52, Witold Cichoń wrote:

Hello

I use OpenBSD version 5.7.
I noticed a problem with the routing of the IPsec.
I'm trying to redirect all traffic from a private subnet (192.168.127.0/24)
to another host.

..

FLOWS:
flow esp in from 0.0.0.0/0 to 192.168.127.0/24 peer b.b.b.b type require
flow esp out from 192.168.127.0/24 to 0.0.0.0/0 peer b.b.b.b type require

..


I am trying to ping a host directly connected to the host A, but all packets
are going in IPsec channel (interface enc0). I think packets should go to
interface rl0.

OpenBSD's ipsec implementation is flow-based, not route-based. It will
hoover up all packets matching the flow irrespective of route table
entries directing them elsewhere (including your local connected routes).

You need a bypass flow to go with this 0.0.0.0/0 entry.


In previous versions of OpenBSD the command netstat -rn showed routes
associated with IPsec. In version 5.7, this information was gone. Is there
any other way to see the routes associated with IPsec?

The best I think you can find at the moment is the FLOWS section
in ipsecctl -sa.





Re: (no subject)

2015-08-19 Thread Witold Cichoń

I'm sorry, I missed sentence:


You need a bypass flow to go with this 0.0.0.0/0 entry.


Any advice how to do that?



Stuart Henderson wrote:

On 2015/08/19 18:52, Witold Cichoń wrote:

Hello

I use OpenBSD version 5.7.
I noticed a problem with the routing of the IPsec.
I'm trying to redirect all traffic from a private subnet (192.168.127.0/24)
to another host.

..

FLOWS:
flow esp in from 0.0.0.0/0 to 192.168.127.0/24 peer b.b.b.b type require
flow esp out from 192.168.127.0/24 to 0.0.0.0/0 peer b.b.b.b type require

..


I am trying to ping a host directly connected to the host A, but all packets
are going in IPsec channel (interface enc0). I think packets should go to
interface rl0.

OpenBSD's ipsec implementation is flow-based, not route-based. It will
hoover up all packets matching the flow irrespective of route table
entries directing them elsewhere (including your local connected routes).

You need a bypass flow to go with this 0.0.0.0/0 entry.


In previous versions of OpenBSD the command netstat -rn showed routes
associated with IPsec. In version 5.7, this information was gone. Is there
any other way to see the routes associated with IPsec?

The best I think you can find at the moment is the FLOWS section
in ipsecctl -sa.





Re: (no subject)

2015-08-19 Thread Raul Miller
On Wed, Aug 19, 2015 at 3:15 PM, Witold Cichoń wcic...@gmail.com wrote:
 You need a bypass flow to go with this 0.0.0.0/0 entry.

 Any advice how to do that?

Use  flow bypass  in ipsecadm?

-- 
Raul

On Wed, Aug 19, 2015 at 3:15 PM, Witold Cichoń wcic...@gmail.com wrote:
 I'm sorry, I missed sentence:

 You need a bypass flow to go with this 0.0.0.0/0 entry.

 Any advice how to do that?




 Stuart Henderson wrote:

 On 2015/08/19 18:52, Witold Cichoń wrote:

 Hello

 I use OpenBSD version 5.7.
 I noticed a problem with the routing of the IPsec.
 I'm trying to redirect all traffic from a private subnet
 (192.168.127.0/24)
 to another host.

 ..

 FLOWS:
 flow esp in from 0.0.0.0/0 to 192.168.127.0/24 peer b.b.b.b type require
 flow esp out from 192.168.127.0/24 to 0.0.0.0/0 peer b.b.b.b type require

 ..

 I am trying to ping a host directly connected to the host A, but all
 packets
 are going in IPsec channel (interface enc0). I think packets should go to
 interface rl0.

 OpenBSD's ipsec implementation is flow-based, not route-based. It will
 hoover up all packets matching the flow irrespective of route table
 entries directing them elsewhere (including your local connected routes).

 You need a bypass flow to go with this 0.0.0.0/0 entry.

 In previous versions of OpenBSD the command netstat -rn showed routes
 associated with IPsec. In version 5.7, this information was gone. Is
 there
 any other way to see the routes associated with IPsec?

 The best I think you can find at the moment is the FLOWS section
 in ipsecctl -sa.





[no subject]

2015-07-23 Thread reza kakhki
Hi misc
I want to implement simple MPLS network according to this page
http://lteo.net/blog/2013/09/03/a-small-mpls-test-network-built-with-openbsd/
but when configuring PE1 , after run this command  ifconfig mpe0 mplslabel
666  i got this log
 ifconfig: SIOCSETLABEL: Network is unreachable  , why i can't define
label for mpe0 group ? ( i'm using openBSD 5.7 on virtual machine )
can any help me please ?


[no subject]

2015-07-15 Thread eric
Synopsis:  Console flooded with scsci_xfer pool exhausted! after some 
uptime. Machine not responding
Category:  system kernel amd64
Environment:
System  : OpenBSD 5.8
Details : OpenBSD 5.8-beta (GENERIC) #1075: Fri Jul 10 06:30:44 MDT 
2015
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

Architecture: OpenBSD.amd64
Machine : amd64
Description:
The machine runs on Vultr.com KVM hosting. After a couple of days of 
uptime, the machine stops responding. Viewing the console of the VM shows a 
flood of scsci_xfer pool exhausted!

The machine is primarily a OpenSMTPD/Cyrus IMAPD mail server for 
personal use (little traffic), but also runs a seldomy used OpenVPN server for 
my own use. In addition to that backup are taken nightly using Attic 
(https://attic-backup.org) .

This also occurred on 5.8-beta snapshot from middle of May (don't 
remember exact snapshot)
How-To-Repeat:
Add
Seem to be more related to uptime than actual activity.
Fix:
N/A


dmesg:
OpenBSD 5.8-beta (GENERIC) #1075: Fri Jul 10 06:30:44 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 788398080 (751MB)
avail mem = 760733696 (725MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf62f0 (9 entries)
bios0: vendor SeaBIOS version 
rel-1.8.1-0-g4adadbd-20150316_085822-nilsson.home.kraxel.org date 04/01/2014
bios0: QEMU Standard PC (i440FX + PIIX, 1996)
acpi0 at bios0: rev 0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HPET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Virtual CPU e7da7129d3ee, 2400.35 MHz
cpu0: 
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,RDRAND,HV,NXE,LONG,LAHF,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 1000MHz
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins
acpihpet0 at acpi0: 1 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02
pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00
pciide0 at pci0 dev 1 function 1 Intel 82371SB IDE rev 0x00: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: QEMU, QEMU DVD-ROM, 2.3. ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 1 function 2 Intel 82371SB USB rev 0x01: apic 0 int 11
piixpm0 at pci0 dev 1 function 3 Intel 82371AB Power rev 0x03: apic 0 int 9
iic0 at piixpm0
vga1 at pci0 dev 2 function 0 Cirrus Logic CL-GD5446 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
virtio0 at pci0 dev 3 function 0 Qumranet Virtio Network rev 0x00: Virtio 
Network Device
vio0 at virtio0: address 56:00:00:0a:08:ab
virtio0: apic 0 int 11
virtio1 at pci0 dev 4 function 0 Qumranet Virtio Storage rev 0x00: Virtio 
Block Device
vioblk0 at virtio1
scsibus2 at vioblk0: 2 targets
sd0 at scsibus2 targ 0 lun 0: VirtIO, Block Device,  SCSI3 0/direct fixed
sd0: 15360MB, 512 bytes/sector, 31457280 sectors
virtio1: apic 0 int 11
virtio2 at pci0 dev 5 function 0 Qumranet Virtio Memory rev 0x00: Virtio 
Memory Balloon Device
viomb0 at virtio2
virtio2: apic 0 int 10
virtio3 at pci0 dev 6 function 0 Qumranet Virtio RNG rev 0x00: Virtio Entropy 
Device
viornd0 at virtio3
virtio3: apic 0 int 10
isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 1: density unknown
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
nvram: invalid checksum
uhidev0 at uhub0 port 1 configuration 1 interface 0 QEMU QEMU USB Tablet rev 
2.00/0.00 addr 2
uhidev0: iclass 3/0
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
softraid0: sd1 was not shutdown properly
sd1 at scsibus4 targ 1 lun 0: OPENBSD, SR CRYPTO, 005 SCSI2 0/direct fixed

[no subject]

2015-04-21 Thread Benoit Meunier
Synopsis: wget crash
Category: user
Environment:
System  : OpenBSD 5.6
Details : OpenBSD 5.6-stable (GENERIC) #0: Sat Nov  1 23:51:30 CET 
2014
 
b...@sirius.deftcode.eu:/u/usr/src/sys/arch/i386/compile/GENERIC

Architecture: OpenBSD.i386
Machine : i386

GNU Wget 1.16 built on openbsd5.6.

+digest +https +ipv6 +iri +large-file +nls +ntlm +opie -psl +ssl/openssl 

Wgetrc: 
/etc/wgetrc (system)
Locale: 
/usr/local/share/locale 
Compile: 
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=/etc/wgetrc 
-DLOCALEDIR=/usr/local/share/locale -I. -I../lib -I../lib 
-I/usr/local/include -O2 -pipe 
Link: 
cc -O2 -pipe -L/usr/local/lib -lssl -lcrypto -lz -lidn -lpcre 
/usr/local/lib/libiconv.so.6.0 /usr/local/lib/libintl.so.6.0 
/usr/local/lib/libiconv.so.6.0 -lc -Wl,-rpath,/usr/local/lib 
ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a 

Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
http://www.gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic hnik...@xemacs.org.
Please send bug reports and questions to bug-w...@gnu.org.

Description:
wget crash when using this command:
/usr/local/bin/wget --page-requisites http://rjbs.manxome.org/rubric/entry/2076 
   
--2015-04-21 11:25:38--  http://rjbs.manxome.org/rubric/entry/2076
Resolving rjbs.manxome.org (rjbs.manxome.org)... 70.87.222.20
Connecting to rjbs.manxome.org (rjbs.manxome.org)|70.87.222.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘rjbs.manxome.org/rubric/entry/2076’

rjbs.manxome.org/rubric/entry/2076  [ =   
   ]   7.90K  --.-KB/s   in 0.1s   

2015-04-21 11:25:38 (73.2 KB/s) - ‘rjbs.manxome.org/rubric/entry/2076’ 
saved [8085]

Loading robots.txt; please ignore errors.
--2015-04-21 11:25:38--  http://rjbs.manxome.org/robots.txt
Reusing existing connection to rjbs.manxome.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 88 [text/plain]
Saving to: ‘rjbs.manxome.org/robots.txt’

rjbs.manxome.org/robots.txt 
100%[=]
  88  --.-KB/s   in 0s 

2015-04-21 11:25:38 (4.66 MB/s) - ‘rjbs.manxome.org/robots.txt’ saved 
[88/88]

Conversion from ‘UTF-8’ to ‘UTF-8’ isn't supported
Segmentation fault (core dumped)
-
In GDB (with peda):
[--registers---]
   [29/4555]
EAX: 0x7f6bc880 (http://rjbs.manxome.org/rubric/style/rubric.css;)
EBX: 0x35108074 -- 0x20022f78 
ECX: 0x228ea468 -- 0x0 
EDX: 0x0 
ESI: 0x0 
EDI: 0x7f6bc880 (http://rjbs.manxome.org/rubric/style/rubric.css;)
EBP: 0xcfbc0788 -- 0xcfbc0848 -- 0xcfbc0938 -- 0xcfbc0ac8 -- 0xcfbc0b08 -- 
0x0 
ESP: 0xcfbc074c -- 0x15121060 -- 0xc74c085 
EIP: 0x296b9d6 
(8\nuT@B\212\b\204\311tL8\nuH@B\212\b\204\311t@8\nu@B\212\b\204\311t48\nu0@B\212\b\204\311t(8\nu$@B\212\b\204\311t\034\070\nu\030@B\212\b\204\$
11t\020\070\nu\f@B\212\b\204\311t\004\070\nt\240\017\266)
EFLAGS: 0x210202 (carry parity adjust zero sign trap INTERRUPT direction 
overflow)
[-code-]
   0x296b9d0 L2:movcl,BYTE PTR [eax]
   0x296b9d2 L2+2: test   cl,cl
   0x296b9d4 L2+4: je 0x296ba2e L3
= 0x296b9d6 L2+6: cmpBYTE PTR [edx],cl
   0x296b9d8 L2+8:   jne0x296ba2e L3
   0x296b9da L2+10: inceax
   0x296b9db L2+11: incedx
   0x296b9dc L2+12: movcl,BYTE PTR [eax]
[stack-]
| 0xcfbc074c -- 0x15121060 -- 0xc74c085 
0004| 0xcfbc0750 -- 0x7f6bc880 
(http://rjbs.manxome.org/rubric/style/rubric.css;)
0008| 0xcfbc0754 -- 0x0 
0012| 0xcfbc0758 -- 0x7 
0016| 0xcfbc075c -- 0x295bad2 -- 0x89e0558b 
0020| 0xcfbc0760 -- 0x80 
0024| 0xcfbc0764 -- 0x35100de0 (UTF-8)
0028| 0xcfbc0768 -- 0x104d00 
[--]
Legend: code, data, rodata, value
Stopped reason: SIGSEGV
L2 () at /u/usr/src/lib/libc/arch/i386/string/strcmp.S:26
26  cmpb%cl,(%edx)  /* chars match??? */

How-To-Repeat:
/usr/local/bin/wget --page-requisites http://rjbs.manxome.org/rubric/entry/2076 
   
Fix:



[no subject]

2015-02-22 Thread web
Synopsis:  System stuck in slow CPU state when speedstep enabled
Category: amd64
Environment:
System  : OpenBSD 5.6
Details : OpenBSD 5.6 (GENERIC.MP) #333: Fri Aug  8 00:20:21 MDT 
2014
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
Description:
When Enhanced Speedstep is enabled, sysctl reports cpuspeed = 800 and LAME 
encodes run at roughly x15 speed.   Setting hw.setperf to 100 has no affect.

With Speedstep disabled in BIOS, cpuspeed reports 3100 and LAME encodes at 
roughly x40 speed.

How-To-Repeat:
Enable Speedstep

Fix:
Disable Speedstep in BIOS


dmesg:
OpenBSD 5.6 (GENERIC.MP) #333: Fri Aug  8 00:20:21 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8372895744 (7985MB)
avail mem = 8141225984 (7764MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec2b0 (75 entries)
bios0: vendor American Megatrends Inc. version 2202 date 12/08/2014
bios0: ASUS All Series
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT LPIT SSDT SSDT MCFG HPET SSDT SSDT BGRT
acpi0: wakeup devices UAR1(S4) PS2K(S4) PS2M(S4) PXSX(S4) RP01(S4) PXSX(S4) 
RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) 
RP08(S4) GLAN(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz, 3093.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,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) i5-4440 CPU @ 3.10GHz, 3092.85 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) i5-4440 CPU @ 3.10GHz, 3092.85 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) i5-4440 CPU @ 3.10GHz, 3092.85 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
ioapic0 at mainbus0: apid 8 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 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP02)
acpiprt3 at acpi0: bus 1 (PEG0)
acpiprt4 at acpi0: bus -1 (PEG1)
acpiprt5 at acpi0: bus -1 (PEG2)
acpiec0 at acpi0: not present
acpicpu0 at acpi0: C1, PSS
acpicpu1 at acpi0: C1, PSS
acpicpu2 at acpi0: C1, PSS
acpicpu3 at acpi0: C1, PSS
acpipwrres0 at acpi0: FN00, resource for FAN0
acpipwrres1 at acpi0: FN01, resource for FAN1
acpipwrres2 at acpi0: FN02, resource for FAN2
acpipwrres3 at acpi0: FN03, resource for FAN3
acpipwrres4 at acpi0: FN04, resource for FAN4
acpitz0 at acpi0: critical temperature is 105 degC
acpitz1 at acpi0: critical temperature is 105 degC
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID0
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 4G Host rev 0x06
ppb0 at pci0 dev 1 function 0 Intel Core 4G PCIE rev 0x06: msi
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 Intel HD Graphics 4600 rev 0x06
intagp at 

[no subject]

2014-12-23 Thread feinerer
Synopsis:  Resume (after zzz) not working
Category:  i386
Environment:
System  : OpenBSD 5.6
Details : OpenBSD 5.6-current (GENERIC) #610: Fri Dec 19 07:34:22 
MST 2014
 
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

Architecture: OpenBSD.i386
Machine : i386
Description:
zzz appears to work correctly, i.e., screen becomes black, hard disk is
spun down, power light is blinking. Resuming (by pressing the power button)
reactivates the disk and the power light is constantly on. However, the screen
stays dead. Only hard reset (power button long pressed) helps.

As far as I know resuming has never worked on this machine; so no regression.

This machine is a laptop (Dell Latitude D610).
How-To-Repeat:
zzz
Fix:
Unknown


dmesg:
OpenBSD 5.6-current (GENERIC) #610: Fri Dec 19 07:34:22 MST 2014
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel 686-class) 1.60 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,EST,TM2,PERF
real mem  = 2146783232 (2047MB)
avail mem = 2099384320 (2002MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/02/05, BIOS32 rev. 0 @ 0xffe90, SMBIOS 
rev. 2.3 @ 0xf7860 (60 entries)
bios0: vendor Dell Inc. version A06 date 10/02/2005
bios0: Dell Inc. Latitude D610
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC ASF! MCFG SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) PBTN(S4) PCI0(S5) USB0(S0) USB1(S0) USB2(S0) 
USB4(S0) USB3(S0) MODM(S3) PCIE(S4) NIC_(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 132MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 3 (PCIE)
acpicpu0 at acpi0: C3, C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature is 101 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model DELL Y13385 serial 5489 type LION oem Sanyo
acpibat1 at acpi0: BAT1 not present
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpidock0 at acpi0: GDCK not docked (0)
acpivideo0 at acpi0: VID_
acpivideo1 at acpi0: VID_
acpivideo2 at acpi0: VID2
bios0: ROM list: 0xc/0x1
cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333, 1067, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82915GM PCIE rev 0x03: apic 1 int 16
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 ATI Radeon Mobility M300 M22 rev 0x00
drm0 at radeondrm0
radeondrm0: msi
ppb1 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x03: apic 1 int 16
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 Broadcom BCM5751 rev 0x01, BCM5750 A1 (0x4001): 
apic 1 int 16, address 00:12:3f:1b:68:2c
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: apic 1 int 16
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: apic 1 int 17
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: apic 1 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: apic 1 int 19
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x03: apic 1 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd3
pci3 at ppb2 bus 3
cbb0 at pci3 dev 1 function 0 TI PCI6515 CardBus rev 0x00: apic 1 int 19
TI PCI6515 CardBus rev 0x00 at pci3 dev 1 function 5 not configured
iwi0 at pci3 dev 3 function 0 Intel PRO/Wireless 2200BG rev 0x05: apic 1 int 
17, address 00:13:ce:10:71:85
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 4 device 0 cacheline 0x10, lattimer 0x20
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 Intel 82801FB AC97 rev 0x03: apic 1 int 16, 
ICH6 AC97
ac97: codec id 0x83847650 (SigmaTel STAC9750/51)
ac97: codec features headphone, 20 bit DAC, 20 bit ADC, SigmaTel 3D
audio0 at auich0
Intel 82801FB Modem rev 0x03 at pci0 dev 30 function 3 not configured
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x03: DMA, channel 
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: TOSHIBA MK1031GAS
wd0: 16-sector PIO, LBA, 95396MB, 195371568 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at 

[no subject]

2014-12-04 Thread mischief
the mount(2) manual is missing the definition of struct fusefs_args and
tmpfs_args. mount.h isn't hard to reach for but it should be consistent.



[no subject]

2014-11-19 Thread juan
Synopsis:  Manual page out-of-date(1) referenced by packages(7) does not 
exist
Category:  documentation
Environment:
System  : OpenBSD 5.6
Details : OpenBSD 5.6 (GENERIC) #310: Fri Aug  8 00:14:24 MDT 2014
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

Architecture: OpenBSD.amd64
Machine : amd64
Description:
While reading the manual page packages(7) a couple of days ago, I found
it reference under PACKAGE VERSIONS section of packages(7) a link to 
out-of-date(1). Following out-of-date(1) through the cgi manual page results 
in: No results found.
How-To-Repeat:
GET 
www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man7/packages.7?query=packagessec=7
AND Follow 'out-of-date(1)' hyperlink.
Fix:
Remove the reference manual out-of-date(1) or edit to another 
reference manual that describe a tool that look a those dependencies ...


dmesg:
OpenBSD 5.6 (GENERIC) #310: Fri Aug  8 00:14:24 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1056964608 (1008MB)
avail mem = 1020145664 (972MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xeb01f (11 entries)
bios0: vendor Xen version 3.4.5-rc1-pre date 01/04/2013
bios0: Xen HVM domU
acpi0 at bios0: rev 2
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 48 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz, 2500.50 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,SSSE3,CX16,SSE4.1,NXE,LONG,LAHF
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu at mainbus0: not configured
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02
pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00
pciide0 at pci0 dev 1 function 1 Intel 82371SB IDE rev 0x00: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: QEMU HARDDISK
wd0: 16-sector PIO, LBA48, 40960MB, 83886080 sectors
wd0(pciide0:0:0): using PIO mode 0, DMA mode 2
pciide0: channel 1 disabled (no drives)
uhci0 at pci0 dev 1 function 2 Intel 82371SB USB rev 0x01: apic 1 int 23
piixpm0 at pci0 dev 1 function 3 Intel 82371AB Power rev 0x01: SMBus disabled
vga1 at pci0 dev 2 function 0 Cirrus Logic CL-GD5446 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
XenSource Platform Device rev 0x01 at pci0 dev 3 function 0 not configured
em0 at pci0 dev 4 function 0 Intel 82540EM rev 0x03: apic 1 int 32, address 
00:16:3e:0f:fc:43
em1 at pci0 dev 5 function 0 Intel 82540EM rev 0x03: apic 1 int 36, address 
00:16:3e:60:63:63
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: density unknown
fd1 at fdc0 drive 1: density unknown
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
nvram: invalid checksum
uhidev0 at uhub0 port 2 configuration 1 interface 0 QEMU 0.10.2 QEMU USB 
Tablet rev 1.00/0.00 addr 2
uhidev0: iclass 3/1
uhid0 at uhidev0: input=6, output=0, feature=0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (5623cf196d9e2199.a) swap on wd0b dump on wd0b
clock: unknown CMOS layout

usbdevs:
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00
 port 1 powered
 port 2 addr 2: full speed, power 100 mA, config 1, QEMU USB Tablet(0x0001), 
QEMU 0.10.2(0x0627), rev 0.00, iSerialNumber 1



[no subject]

2014-09-06 Thread E. L. Evans V
Synopsis:  unable to install 5.4, 5.5 on HP dc5800 PC
Category:  misc
Environment:
System  : OpenBSD 5.5
Details : OpenBSD 5.5

Architecture: OPENBSD
Machine:
Description:
INSTALL OpenBSD 5.5 via CD, select either redirect or no
redirect of console.  Installation appears to proceed normally.  Reboot.
 Reboot fails with following error:

pci4 at ppb3 bus 4
em2 at pci4 dev 0 function 0 Intel 82571EB rev 0x06: apic 1 int 17,
address 00:1f:29:56:76:3f
em3 at pci4 dev 0 function 1 Intel 82571EB rev 0x06: apic 1 int 16,
address 00:1f:29:56:76:3e
vga1 at pci0 dev 2 function 0 Intel 82Q33 Video rev 0x02
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0: couldn't find agp
uvm_fault(0x81daaf00, 0x20, 0, 1) - e
kernel: page fault trap, code=0
Stopped at  drm_fb_helper_restore_fbdev_mode+0xd:   movl
0x20(%rdi),%edx
drm_fb_helper_restore_fbdev_mode() at drm_fb_helper_restore_fbdev_mode+0xd
intel_fb_restore_mode() at intel_fb_restore_mode+0x33
drm_lastclose() at drm_lastclose+0x1f
drm_attach() at drm_attach+0x237
config_attach() at config_attach+0x1bc
end trace frame: 0x81ecbd30, count: 0

How-To-Repeat:
Reinstall, reboot.  Further, this occurs on two of the
aforementioned PC's, and across various installation options, various
BIOS options.
Fix:
I do not have a fix

SENDBUG: Run sendbug as root if this is an ACPI report!
SENDBUG: dmesg and usbdevs are attached.
SENDBUG: Feel free to delete or use the -D flag if they contain
sensitive information.

dmesg:
ddb{0} dmesg
OpenBSD 5.5 (GENERIC.MP) #315: Wed Mar  5 09:37:46 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3185242112 (3037MB)
avail mem = 3091902464 (2948MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xea7c0 (69 entries)
bios0: vendor Hewlett-Packard version 786F2 v01.04 date 01/31/2008
bios0: Hewlett-Packard HP Compaq dc5800 Microtower
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC HPET
acpi0: wakeup devices COM1(S4) COM2(S4) PCI0(S4) PEG1(S4) PEG2(S4)
IGBE(S4) PCX
1(S4) PCX2(S4) PCX5(S4) PCX6(S4) HUB_(S4) USB1(S3) USB2(S3) USB3(S3)
USB4(S3) U
SB5(S3) [...]
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)2 Duo CPU E8400 @ 3.00GHz, 2992.93 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C
FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,
EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 332MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2992.51 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C
FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,
EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF
cpu1: 6MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf400, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEG1)
acpiprt2 at acpi0: bus -1 (PEG2)
acpiprt3 at acpi0: bus 32 (PCX1)
acpiprt4 at acpi0: bus 48 (PCX2)
acpiprt5 at acpi0: bus -1 (PCX5)
acpiprt6 at acpi0: bus -1 (PCX6)
acpiprt7 at acpi0: bus 7 (HUB_)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpibtn0 at acpi0: PBTN
cpu0: Enhanced SpeedStep 2992 MHz: speeds: 3000, 1998 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82Q33 Host rev 0x02
ppb0 at pci0 dev 1 function 0 Intel 82Q33 PCIE rev 0x02: msi
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 IDT 89HPES12N3A rev 0x0e
pci2 at ppb1 bus 2
ppb2 at pci2 dev 2 function 0 IDT 89HPES12N3A rev 0x0e
pci3 at ppb2 bus 3
em0 at pci3 dev 0 function 0 Intel 82571EB rev 0x06: apic 1 int 19,
address 0
0:1f:29:56:76:3d
em1 at pci3 dev 0 function 1 Intel 82571EB rev 0x06: apic 1 int 18,
address 0
0:1f:29:56:76:3c
ppb3 at pci2 dev 4 function 0 IDT 89HPES12N3A rev 0x0e
pci4 at ppb3 bus 4
em2 at pci4 dev 0 function 0 Intel 82571EB rev 0x06: apic 1 int 17,
address 0
0:1f:29:56:76:3f
em3 at pci4 dev 0 function 1 Intel 82571EB rev 0x06: apic 1 int 16,
address 0
0:1f:29:56:76:3e
vga1 at pci0 dev 2 function 0 Intel 82Q33 Video rev 0x02
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0: couldn't find agp
uvm_fault(0x81daaf00, 0x20, 0, 1) - e
kernel: page fault trap, code=0
Stopped at  drm_fb_helper_restore_fbdev_mode+0xd:   movl
0x20(%rdi),%edx

drm_fb_helper_restore_fbdev_mode() at 

[no subject]

2014-08-22 Thread athompso
Synopsis:  IPv6 default gw entered during install does not get recorded in 
/etc/mygate
Category:  system
Environment:
System  : OpenBSD 5.5
Details : OpenBSD 5.5 (GENERIC) #271: Wed Mar  5 09:31:16 MST 2014
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

Architecture: OpenBSD.amd64
Machine : amd64
Description:
An IPv6 default gateway manually entered during install does not get 
preserved or recorded in /etc/mygate; upon reboot the system has no IPv6 
default gateway.
How-To-Repeat:
Instead of picking one of the link-local candidate gateways, type in an 
IPv6 gateway address during install.
Fix:
Manually edit /etc/mygate after installation.


dmesg:
OpenBSD 5.5 (GENERIC) #271: Wed Mar  5 09:31:16 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 17163083776 (16367MB)
avail mem = 16697638912 (15924MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf0c70 (11 entries)
bios0: vendor SeaBIOS version 
rel-1.7.5-0-ge51488c-20140602_164612-nilsson.home.kraxel.org date 04/01/2014
bios0: QEMU Standard PC (i440FX + PIIX, 1996)
acpi0 at bios0: rev 0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HPET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
acpihpet0 at acpi0: 1 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Common KVM processor, 2267.00 MHz
cpu0: 
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,x2APIC,NXE,LONG,LAHF
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 1000MHz
cpu at mainbus0: not configured
mpbios0: bus 0 is type PCI   
mpbios0: bus 1 is type ISA   
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 11, 24 pins
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02
pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00
pciide0 at pci0 dev 1 function 1 Intel 82371SB IDE rev 0x00: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
uhci0 at pci0 dev 1 function 2 Intel 82371SB USB rev 0x01: apic 0 int 11
piixpm0 at pci0 dev 1 function 3 Intel 82371AB Power rev 0x03: apic 0 int 9
iic0 at piixpm0
vga1 at pci0 dev 2 function 0 Cirrus Logic CL-GD5446 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
virtio0 at pci0 dev 3 function 0 Qumranet Virtio Memory rev 0x00: Virtio 
Memory Balloon Device
viomb0 at virtio0
virtio0: apic 0 int 11
virtio1 at pci0 dev 10 function 0 Qumranet Virtio Storage rev 0x00: Virtio 
Block Device
vioblk0 at virtio1
scsibus0 at vioblk0: 2 targets
sd0 at scsibus0 targ 0 lun 0: VirtIO, Block Device,  SCSI3 0/direct fixed
sd0: 32768MB, 512 bytes/sector, 67108864 sectors
virtio1: apic 0 int 10
virtio2 at pci0 dev 18 function 0 Qumranet Virtio Network rev 0x00: Virtio 
Network Device
vio0 at virtio2: address 3e:36:7d:fb:28:0b
virtio2: apic 0 int 10
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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 1: density unknown
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
nvram: invalid checksum
uhidev0 at uhub0 port 1 configuration 1 interface 0 QEMU QEMU USB Tablet rev 
2.00/0.00 addr 2
uhidev0: iclass 3/0
uhid0 at uhidev0: input=6, output=0, feature=0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (ba6837eec0853d10.a) swap on sd0b dump on sd0b
clock: unknown CMOS layout

usbdevs:
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x8086), rev 1.00
 port 1 addr 2: full speed, power 100 mA, config 1, QEMU USB Tablet(0x0001), 
QEMU(0x0627), rev 0.00, iSerialNumber 42
 port 2 powered

pcidump:
Domain /dev/pci0:
 0:0:0: Intel 82441FX
0x: Vendor ID: 8086 Product ID: 1237
0x0004: Command: 0103 Status: 
0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 02
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR empty ()
0x0014: BAR empty ()

[no subject]

2014-02-12 Thread urban
Synopsis:  OpenBSD VM freezes when qemu sends it the ACPI 
power-button-pressed event
Category:  kernel
Environment:
System  : OpenBSD 5.4
Details : OpenBSD 5.4 (GENERIC.MP) #0: Mon Jan 20 19:07:21 MET 2014
 
r...@dna54.y42.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
Description:
On an SMP v5.4 system running in a qemu/KVM VM, the qemu
system_powerdown command (which is the equivalent of issuing
virsh shutdown guest if qemu is under libvirt control) will
cause the OpenBSD guest to freeze totally.
The host is linux x86_64 (Debian and Fedora). This can be reproduced 
with
OpenBSD (amd64) versions 5.3, 5.4 and 5.5 (snapshot), and also with qemu
versions 0.12.5, 1.6.1, 1.7.5 (snapshot from 2014-02-12).

I do not know if qemu or OpenBSD is at fault. I also opened a qemu bug,
which can be found here:
https://bugs.launchpad.net/qemu/+bug/1279500
How-To-Repeat:
Install a SMP OpenBSD in a qemu VM and send it an ACPI 
power-button-pressed
event.
Fix:
The only workaround is to disable mpbios(4), but this is no workaround
on an SMP system.



dmesg:
OpenBSD 5.4 (GENERIC.MP) #0: Mon Jan 20 19:07:21 MET 2014
r...@dna54.y42.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3204427776 (3055MB)
avail mem = 3111464960 (2967MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xbec0 (11 entries)
bios0: vendor Bochs version Bochs date 01/01/2007
bios0: Bochs Bochs
acpi0 at bios0: rev 0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HPET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
acpihpet0 at acpi0: 1 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: QEMU Virtual CPU version 0.12.5, 3411.92 MHz
cpu0: 
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,POPCNT,NXE,LONG,LAHF,PERF
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 1000MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: QEMU Virtual CPU version 0.12.5, 3411.60 MHz
cpu1: 
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,POPCNT,NXE,LONG,LAHF,PERF
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu1: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu1: smt 0, core 0, package 1
mpbios0: bus 0 is type PCI   
mpbios0: bus 1 is type ISA   
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02
pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00
pciide0 at pci0 dev 1 function 1 Intel 82371SB IDE rev 0x00: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: QEMU, QEMU DVD-ROM, 0.12 ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 0
uhci0 at pci0 dev 1 function 2 Intel 82371SB USB rev 0x01: apic 2 int 11
piixpm0 at pci0 dev 1 function 3 Intel 82371AB Power rev 0x03: apic 2 int 9
iic0 at piixpm0
iic0: addr 0x4c 48=00 words 00= 01= 02= 03= 04= 05= 
06= 07=
iic0: addr 0x4e 48=00 words 00= 01= 02= 03= 04= 05= 
06= 07=
vga1 at pci0 dev 2 function 0 Cirrus Logic CL-GD5446 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
virtio0 at pci0 dev 3 function 0 Qumranet Virtio Network rev 0x00: Virtio 
Network Device
vio0 at virtio0: address 52:54:00:d5:62:00
virtio0: apic 2 int 11
virtio1 at pci0 dev 4 function 0 Qumranet Virtio Storage rev 0x00: Virtio 
Block Device
vioblk0 at virtio1
scsibus1 at vioblk0: 2 targets
sd0 at scsibus1 targ 0 lun 0: VirtIO, Block Device,  SCSI3 0/direct fixed
sd0: 225280MB, 512 bytes/sector, 461373440 sectors
virtio1: apic 2 int 11
virtio2 at pci0 dev 5 function 0 Qumranet Virtio Memory rev 0x00: Virtio 
Memory Balloon Device
viomb0 at virtio2
virtio2: apic 2 int 10
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, 

[no subject]

2014-01-23 Thread jon
Synopsis:  lspci broken and PCI USB hub not recognized on sparc64
Category:  sparc64
Environment:
System  : OpenBSD 5.5
Details : OpenBSD 5.5-beta (GENERIC) #128: Wed Jan 22 06:50:22 MST 
2014
 
t...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC

Architecture: OpenBSD.sparc64
Machine : sparc64
Description:
My system is a Sun Ultra 5, that I received with three open PCI slots.  
I inserted a generic 5-port USB 2.0 PCI card 
into one of the slots, but it was not detected in dmesg or usbdevs, as 
you can see below.  I installed pciutils and 
usbutils from packages, to see if the controller was at least 
recognized by the kernel.  lsusb returns no output.  
Running lspci did not work as expected as an unprivileged user or as 
root.  As an unprivileged user I got this error:

pcilib: Cannot open /dev/pci
lspci: Cannot find any working access method.

Running lspci as root, I received this different error:

lspci: obsd_read: ioctl(PCIOCREAD) failed

On my system /dev/pci is a symlink to /dev/pci0, which is mode 700 - I 
suspect the unprivileged user error was basically
a permissions error on the device node.  The root error is more 
concerning, since according to pci(4) that should always 
work as root when PCI devices are present.

How-To-Repeat:
Plug a generic USB 2.0 PCI card into a Sun Ultra 5 and run lspci.
Fix:
unknown, possibly change kernel build to include different drivers, and 
change kernel data structures used in lspci


dmesg:
OpenBSD 5.5-beta (GENERIC) #128: Wed Jan 22 06:50:22 MST 2014
t...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 134217728 (128MB)
avail mem = 118308864 (112MB)
mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 1.2) @ 269.853 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K external (64 
b/l)
psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign 7c0
psycho0: bus range 0-2, PCI bus 0
psycho0: dvma map c000-dfff
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 Sun Simba rev 0x11
pci1 at ppb0 bus 1
ebus0 at pci1 dev 1 function 0 Sun PCIO EBus2 rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 
72c000-72c003, 72f000-72f003
power0 at ebus0 addr 724000-724003 ivec 0x25
SUNW,pll at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 40-40007f ivec 0x2b: rev 3.2
sabtty0 at sab0 port 0: console
sabtty1 at sab0 port 1
comkbd0 at ebus0 addr 3083f8-3083ff ivec 0x29: no keyboard
comms0 at ebus0 addr 3062f8-3062ff ivec 0x2a
wsmouse0 at comms0 mux 0
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 70-7f ivec 0x22: polled
fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 72-720003 ivec 0x27 
not configured
clock1 at ebus0 addr 0-1fff: mk48t59
flashprom at ebus0 addr 0-f not configured
audioce0 at ebus0 addr 20-2000ff, 702000-70200f, 704000-70400f, 
722000-722003 ivec 0x23 ivec 0x24: nvaddrs 0
audio0 at audioce0
hme0 at pci1 dev 1 function 1 Sun HME rev 0x01: ivec 0x7e1, address 
ff:ff:ff:ff:ff:ff
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
machfb0 at pci1 dev 2 function 0 ATI Mach64 rev 0x9a
machfb0: ATY,GT-B, 1152x900
wsdisplay0 at machfb0 mux 1
wsdisplay0: screen 0 added (std, sun emulation)
pciide0 at pci1 dev 3 function 0 CMD Technology PCI0646 rev 0x03: DMA, 
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7e0 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: ST34342A
wd0: 16-sector PIO, LBA, 4103MB, 8404830 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: LG, CD-ROM CRD-8322B, 1.05 ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
ppb1 at pci0 dev 1 function 0 Sun Simba rev 0x11
pci2 at ppb1 bus 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
bootpath: /pci@1f,0/pci@1,1/ide@3,0/disk@0,0
root on wd0a (8e05fe923331f791.a) swap on wd0b dump on wd0b
WARNING: clock lost 16094 days -- CHECK AND RESET THE DATE!

usbdevs:
usbdevs: no USB controllers found



[no subject]

2013-06-10 Thread root
Synopsis:  VM guest (KVM/qemu on debian 6) acting as smtp/imap/http server 
paniced during operation
Category:  kernel panic
Environment:
System  : OpenBSD 5.3
Details : OpenBSD 5.3 (GENERIC.MP) #0: Mon Jun  3 00:14:10 MEST 2013
 
r...@dna53.y42.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Architecture: OpenBSD.amd64
Machine : amd64
Description:
system paniced - no idea what the cause was
How-To-Repeat:
don't know how to repeat
Fix:
no fix known


dmesg:
OpenBSD 5.3 (GENERIC.MP) #0: Mon Jun  3 00:14:10 MEST 2013
r...@dna53.y42.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3220156416 (3070MB)
avail mem = 3112005632 (2967MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xbec0 (11 entries)
bios0: vendor Bochs version Bochs date 01/01/2007
bios0: Bochs Bochs
acpi0 at bios0: rev 0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HPET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
acpihpet0 at acpi0: 1 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: QEMU Virtual CPU version 0.12.5, 3411.94 MHz
cpu0: 
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,POPCNT,NXE,LONG,LAHF,PERF
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: apic clock running at 1000MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: QEMU Virtual CPU version 0.12.5, 3411.63 MHz
cpu1: 
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,POPCNT,NXE,LONG,LAHF,PERF
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu1: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
mpbios0: bus 0 is type PCI   
mpbios0: bus 1 is type ISA   
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82441FX rev 0x02
pcib0 at pci0 dev 1 function 0 Intel 82371SB ISA rev 0x00
pciide0 at pci0 dev 1 function 1 Intel 82371SB IDE rev 0x00: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: QEMU, QEMU DVD-ROM, 0.12 ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 0
uhci0 at pci0 dev 1 function 2 Intel 82371SB USB rev 0x01: apic 2 int 11
piixpm0 at pci0 dev 1 function 3 Intel 82371AB Power rev 0x03: apic 2 int 9
iic0 at piixpm0
iic0: addr 0x4c 48=00 words 00= 01= 02= 03= 04= 05= 
06= 07=
iic0: addr 0x4e 48=00 words 00= 01= 02= 03= 04= 05= 
06= 07=
vga1 at pci0 dev 2 function 0 Cirrus Logic CL-GD5446 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
virtio0 at pci0 dev 3 function 0 Qumranet Virtio Network rev 0x00: Virtio 
Network Device
vio0 at virtio0: address 52:54:00:a3:ee:0d
virtio0: apic 2 int 11
virtio1 at pci0 dev 4 function 0 Qumranet Virtio Storage rev 0x00: Virtio 
Block Device
vioblk0 at virtio1
scsibus1 at vioblk0: 2 targets
sd0 at scsibus1 targ 0 lun 0: VirtIO, Block Device,  SCSI3 0/direct fixed
sd0: 225280MB, 512 bytes/sector, 461373440 sectors
virtio1: apic 2 int 11
virtio2 at pci0 dev 5 function 0 Qumranet Virtio Memory rev 0x00: Virtio 
Memory Balloon Device
viomb0 at virtio2
virtio2: apic 2 int 10
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: density unknown
fd1 at fdc0 drive 1: density unknown
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
nvram: invalid checksum
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (816a6ba366cd06e8.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
clock: unknown CMOS layout

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

pcidump:
Domain /dev/pci0:
 

[no subject]

2013-05-14 Thread NeZetiC
Synopsis:  Elantech touchpad v2 detected but synaptics fails
Category:  kernel
Environment:
System  : OpenBSD 5.3
Details : OpenBSD 5.3 (EEEPC) #5: Tue May 14 11:51:36 CEST 2013
 nezetic@dwalin.local
:/var/src/sys/arch/i386/compile/EEEPC

Architecture: OpenBSD.i386
Machine : i386
Description:
My laptop have an Elantech touchpad. It's a v2 generation, firmware
version 0x140200.
OpenBSD -current contains patchs for supporting this kind of
touchpad via synaptics.
On my computer, -current kernel pms driver detects and initializes
it successfully.
But synaptics xserver driver fail to load.
Kernel report a timeout (pckbc: command timeout).
How-To-Repeat:
- Computer with Elantech touchpad (v2, firmware 0x140200)
- Boot OpenBSD -current kernel
- Touchpad is detected
- Start X11
- Synaptics module fails to initialize
Fix:
Patching pms kernel driver, using values from linux kernel
fix the bug on my laptop (but I didn't investigated why).

Synaptics loads without error, and touchpad is fully supported.

--- dev/pckbc/pms-new.c Mon May 13 12:43:22 2013
+++ dev/pckbc/pms.c Tue May 14 11:59:15 2013
@@ -1492,22 +1492,22 @@
elantech_ps2_cmd(sc, ELANTECH_PS2_CUSTOM_COMMAND) ||
elantech_ps2_cmd(sc, 0x10) ||
elantech_ps2_cmd(sc, ELANTECH_PS2_CUSTOM_COMMAND) ||
-   elantech_ps2_cmd(sc, 0x54) ||
+   elantech_ps2_cmd(sc, 0xc4) ||
pms_set_scaling(sc, 1) ||
elantech_ps2_cmd(sc, ELANTECH_PS2_CUSTOM_COMMAND) ||
elantech_ps2_cmd(sc, ELANTECH_CMD_WRITE_REG) ||
elantech_ps2_cmd(sc, ELANTECH_PS2_CUSTOM_COMMAND) ||
elantech_ps2_cmd(sc, 0x11) ||
elantech_ps2_cmd(sc, ELANTECH_PS2_CUSTOM_COMMAND) ||
-   elantech_ps2_cmd(sc, 0x88) ||
-   pms_set_scaling(sc, 1) ||
-   elantech_ps2_cmd(sc, ELANTECH_PS2_CUSTOM_COMMAND) ||
+   elantech_ps2_cmd(sc, 0x8a) ||
+   pms_set_scaling(sc, 1)) //||
+   /*elantech_ps2_cmd(sc, ELANTECH_PS2_CUSTOM_COMMAND) ||
elantech_ps2_cmd(sc, ELANTECH_CMD_WRITE_REG) ||
elantech_ps2_cmd(sc, ELANTECH_PS2_CUSTOM_COMMAND) ||
elantech_ps2_cmd(sc, 0x21) ||
elantech_ps2_cmd(sc, ELANTECH_PS2_CUSTOM_COMMAND) ||
elantech_ps2_cmd(sc, 0x88) ||
-   pms_set_scaling(sc, 1))
+   pms_set_scaling(sc, 1))*/
return (-1);

/* Read back reg 0x10 to ensure hardware is ready. */

dmesg:
OpenBSD 5.3 (EEEPC) #5: Tue May 14 11:51:36 CEST 2013
nezetic@dwalin.local:/var/src/sys/arch/i386/compile/EEEPC
cpu0: Intel(R) Atom(TM) CPU N455 @ 1.66GHz (GenuineIntel 686-class) 1.67
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF
real mem  = 1063383040 (1014MB)
avail mem = 1034997760 (987MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/12/11, BIOS32 rev. 0 @ 0xf0010,
SMBIOS rev. 2.6 @ 0xf0760 (31 entries)
bios0: vendor American Megatrends Inc. version 0703 date 04/12/2011
bios0: ASUSTeK Computer INC. 1001PXD
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG ECDT OEMB HPET GSCI SSDT SLIC
acpi0: wakeup devices P0P1(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU N455 @ 1.66GHz (GenuineIntel 686-class) 1.67
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 1, remapped to apid 2
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiec0 at acpi0
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P0P4)
acpiprt2 at acpi0: bus 2 (P0P5)
acpiprt3 at acpi0: bus -1 (P0P6)
acpiprt4 at acpi0: bus 1 (P0P7)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpitz0 at acpi0: critical temperature is 98 degC
acpibat0 at acpi0: BAT0 model 1001PXD serial   type LION oem ASUS
acpiac0 at acpi0: AC unit online
acpiasus0 at acpi0
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
bios0: ROM list: 0xc/0xda00!
cpu0: Enhanced SpeedStep 1667 MHz: speeds: 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel Pineview DMI rev 0x00
vga1 at pci0 dev 2 function 0 Intel Pineview Video rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 

[no subject]

2013-05-07 Thread openbsd . org
Synopsis:  ypldap improvements
Category:  system
Environment:
System  : OpenBSD 5.3
Details : OpenBSD 5.3 (GENERIC) #53: Tue Mar 12 18:15:44 MDT 2013
 
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC

Architecture: OpenBSD.amd64
Machine : amd64
Description:
This is a proposal for two independent improvements to ypldap, with
the objective of making the generated NIS maps more usable in
legacy heterogeneous environments by:

* stripping hash type prefixes such as {CRYPT} from password
  attributes
* allowing some attributes to NOT be mapped in the passwd map,
  so that a regular NIS passwd map can be generated rather than
  a BSD master.passwd map (i.e. allow expire, change, and class to
  be omitted from the mapping).

How-To-Repeat:

Fix:

Index: ldapclient.c
===
RCS file: /cvs/src/usr.sbin/ypldap/ldapclient.c,v
retrieving revision 1.26
diff -u -r1.26 ldapclient.c
--- ldapclient.c30 Apr 2012 21:40:03 -  1.26
+++ ldapclient.c7 May 2013 16:56:53 -
@@ -477,11 +477,26 @@
}
aldap_free_attr(ldap_attrs);
} else {
+   char *attr_val;
+
+   if (*idm-idm_attrs[i] == '\0')
+   continue;
if (aldap_match_attr(m, idm-idm_attrs[i], ldap_attrs) 
== -1)
return (-1);
if (ldap_attrs[0] == NULL)
return (-1);
-   if (strlcat(ir-ir_line, ldap_attrs[0],
+
+   attr_val = ldap_attrs[0];
+
+   /* For password, strip hash name */
+   if (i == ATTR_PASSWD  *attr_val == '{') {
+   while (*attr_val  *attr_val != '}')
+   attr_val++;
+   if (*attr_val == '}')
+   attr_val++;
+   }
+
+   if (strlcat(ir-ir_line, attr_val,
sizeof(ir-ir_line)) = sizeof(ir-ir_line)) {
aldap_free_attr(ldap_attrs);
return (-1);
@@ -603,6 +618,8 @@
bzero(attrs, sizeof(attrs));
for (i = 0, j = 0; i  ATTR_MAX; i++) {
if (idm-idm_flags  F_FIXED_ATTR(i))
+   continue;
+   if (*idm-idm_attrs[i] == '\0')
continue;
attrs[j++] = idm-idm_attrs[i];
}


dmesg:
OpenBSD 5.3 (GENERIC) #53: Tue Mar 12 18:15:44 MDT 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 4025417728 (3838MB)
avail mem = 3895869440 (3715MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (45 entries)
bios0: vendor Phoenix Technologies LTD version 6.00 date 03/19/2009
bios0: VMware, Inc. VMware Virtual Platform
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC BOOT
acpi0: wakeup devices USB_(S1)
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 E5520 @ 2.27GHz
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,SSE3,SSSE3,CX16,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 65MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpibat0 at acpi0: BAT1 not present
acpibat1 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
vmt0 at mainbus0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x01
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x08
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: NECVMWar, VMware IDE CDR00, 1.00 ATAPI 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x08: SMBus disabled
vga1 at pci0 dev 15 function 0 VMware Virtual SVGA II rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
mpi0 at pci0 dev 16 function 0 Symbios Logic 53c1030 rev 0x01: apic 1 int 17
scsibus1 at mpi0: 16 targets, initiator 7
sd0 at scsibus1 targ 0 lun 0: VMware, Virtual disk, 1.0 SCSI2 0/direct fixed
sd0: 

[no subject]

2012-12-01 Thread micologist
Synopsis:  Ivy Bridge + 1 GB shared GPU disables intagp, panics inteldrm
Category:  kernel amd64
Environment:
System  : OpenBSD 5.2
Details : OpenBSD 5.2-current (GENERIC) #0: Sat Dec  1 16:59:33 EST 
2012
 
david@crlf.localdomain:/usr/src/sys/arch/amd64/compile/GENERIC

Architecture: OpenBSD.amd64
Machine : amd64
Description:
On my Ivy Bridge i5-3570k based system, using the latest snapshots, the 
kernel panics if I set my integrated intel GPU to share 1 GB of memory. I have 
a trivial patch to get intagp to handle this case. I came up with it by 
repeating the structure already found in the code. The system boots fine 
afterwards, and I was able to start X11 earlier in the day, multiple times, 
without any crashes or hangs. The following message appeared numerous times in 
the console when running X11: intagp: binding into stolen memory! (0x) 
[NB _ is a placeholder].  
Unfortunately, I am not having any success starting X11 with 1 GB shared memory 
in the evening. I scaled my shared memory usage down to 128 MB to file this 
report.
How-To-Repeat:
Fix:
Index: agp_i810.c
===
RCS file: /cvs/src/sys/dev/pci/agp_i810.c,v
retrieving revision 1.71
diff -r1.71 agp_i810.c
564a565,567
   case AGP_INTEL_SNB_GMCH_GMS_STOLEN_1024M:
   isc-stolen = (1048576 - stolen) * 1024 / 4096;
   break;
Index: agpreg.h
===
RCS file: /cvs/src/sys/dev/pci/agpreg.h,v
retrieving revision 1.15
diff -r1.15 agpreg.h
297a298
 #define AGP_INTEL_SNB_GMCH_GMS_STOLEN_1024M   (0x11  3)


dmesg:
OpenBSD 5.2-current (GENERIC) #0: Sat Dec  1 16:59:33 EST 2012
david@crlf.localdomain:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 16991432704 (16204MB)
avail mem = 16516657152 (15751MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xee7f0 (28 entries)
bios0: vendor American Megatrends Inc. version P2.50 date 10/31/2012
bios0: ASRock Z77 Extreme4
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG SSDT AAFT HPET SSDT SSDT SSDT BGRT
acpi0: wakeup devices CIR_(S3) PS2K(S4) PS2M(S4) UAR1(S4) P0P1(S4) USB1(S3) 
USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) USB7(S3) RP01(S4) RP02(S4) 
RP03(S4) RP04(S4) RP05(S4) BR40(S4) RP06(S4) RP07(S4) RP08(S4) PEGP(S4) 
PEG0(S4) PEG1(S4) PEG2(S4) PEG3(S4) GLAN(S4) EHC1(S4) EHC2(S4) XHC_(S4) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz, 3400.56 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 100MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus -1 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus 2 (RP04)
acpiprt6 at acpi0: bus 3 (RP05)
acpiprt7 at acpi0: bus 4 (RP06)
acpiprt8 at acpi0: bus 5 (BR40)
acpiprt9 at acpi0: bus -1 (RP07)
acpiprt10 at acpi0: bus 6 (RP08)
acpiprt11 at acpi0: bus -1 (PEG0)
acpiprt12 at acpi0: bus -1 (PEG1)
acpiprt13 at acpi0: bus -1 (PEG2)
acpiprt14 at acpi0: bus -1 (PEG3)
acpiec0 at acpi0: Failed to read resource settings
acpicpu0 at acpi0: C3, C2, C1, PSS
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID0
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 3400 MHz: speeds: 3401, 3400, 3300, 3100, 3000, 2900, 
2800, 2600, 2500, 2400, 2200, 2100, 2000, 1900, 1700, 1600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Xeon E3-1200v2 Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel HD Graphics 4000 rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1: apic 2 int 16
drm0 at inteldrm0
Intel 7 Series xHCI rev 0x04 at pci0 dev 20 function 0 not configured
Intel 7 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 Intel 7 Series USB rev 0x04: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 

[no subject]

2012-04-04 Thread Лина Ганичева
Dnap{i bewep K`phqnwj` qnbernb`k` lme `dpeq rbni!) 
g`und| m` ln~ qrrp`mhwjs cfkyoblcj.pochtamt.ru]khm`pGhlhm` r`l ln8 hl.! 
eqkh qbnandem h unx g`gm`jnlhr|q.!))) 



[no subject]

2011-08-08 Thread mella2
Hi guys!I just want to know where are you because I saw your great deal of the 
chana binni I'm interested

Sent from my BlackBerry. wireless device