Re: Cups not run after Upgrade 6.2
Hi :p Ok, i delete /var/cache/cups. And, into /etc/cups/, i've not file cupsd.conf! $ ls -al /etc/cups/ total 64 drwxr-xr-x 4 root _cups512 Oct 10 13:28 . drwxr-xr-x 59 root wheel 2560 Oct 16 01:10 .. -rw-r--r-- 1 root _cups936 Oct 9 19:30 command.types -rw-r--r-- 1 root _cups 10802 Oct 9 17:41 cups-pdf.conf -rw-r--r-- 1 root _cups 0 Oct 9 16:34 lpoptions drwxr-xr-x 2 root _cups512 Oct 9 19:30 ppd -rw-r--r-- 1 root _cups273 Sep 15 19:58 printcap -rw--- 1 root _cups886 Oct 9 15:39 printers.conf.O drwx-- 2 root _cups512 Aug 29 20:37 ssl -rw-r- 1 root _cups111 Oct 10 13:28 subscriptions.conf -rw-r- 1 root _cups401 Oct 9 20:10 subscriptions.conf.O Le 10/16/17 à 08:45, Robert Klein a écrit : > Hi, > > On Mon, 16 Oct 2017 08:10:41 +0200 > "Stephane HUC \"PengouinBSD\"" wrote: > >> The output is none: >> >> [08:07:05] :root@ptb-zou: ~ $ /usr/local/sbin/cupsd -t >> [08:07:05] :root@ptb-zou: ~ $ >> > > I'd have expected something like > > "/etc/cups/cupsd.conf" is OK. > > > but you probably don't need cupsd.conf/ > > >> And about file log: >> >> $ cat >> /var/log/cups/error_log >> >> >> E [09/Oct/2017:20:10:22 +0200] Unable to create >> "/var/cache/cups/job.cache.N": No such file or directory >> E [10/Oct/2017:13:28:09 +0200] Unable to create >> "/var/cache/cups/job.cache.N": No such file or directory >> >> $ ls -al /var/cache/ | grep cups >> drwxr-xr-x 2 root wheel 512 Oct 15 21:24 cups >> >> do i need _cups user rights? >> > > yes. You can just delete the directory, cups recreates it on start. > > > Best regards > Robert > > > > > > >> >> Le 10/16/17 à 08:01, Robert Klein a écrit : >>> Hi, >>> >>> On Sun, 15 Oct 2017 21:35:30 +0200 >>> "Stephane HUC \"PengouinBSD\"" wrote: >>> Hi, After upgrade to 6.2 (amd64), Cups not run! $ doas rcctl start cupsd cupsd(failed) >>> >>> What is the output of >>> >>> /usr/local/sbin/cupsd -t >>> >>> run as root? >>> >>> >>> Is there anything in the /var/log/cups/error_log logfile? >>> >>> >>> Best regards >>> Robert >> > -- ~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<< Stephane HUC as PengouinBSD or CIOTBSD b...@stephane-huc.net signature.asc Description: OpenPGP digital signature
Re: Cups not run after Upgrade 6.2
Hi, On Mon, 16 Oct 2017 08:10:41 +0200 "Stephane HUC \"PengouinBSD\"" wrote: > The output is none: > > [08:07:05] :root@ptb-zou: ~ $ /usr/local/sbin/cupsd -t > [08:07:05] :root@ptb-zou: ~ $ > I'd have expected something like "/etc/cups/cupsd.conf" is OK. but you probably don't need cupsd.conf/ > And about file log: > > $ cat > /var/log/cups/error_log > > > E [09/Oct/2017:20:10:22 +0200] Unable to create > "/var/cache/cups/job.cache.N": No such file or directory > E [10/Oct/2017:13:28:09 +0200] Unable to create > "/var/cache/cups/job.cache.N": No such file or directory > > $ ls -al /var/cache/ | grep cups > drwxr-xr-x 2 root wheel 512 Oct 15 21:24 cups > > do i need _cups user rights? > yes. You can just delete the directory, cups recreates it on start. Best regards Robert > > Le 10/16/17 à 08:01, Robert Klein a écrit : > > Hi, > > > > On Sun, 15 Oct 2017 21:35:30 +0200 > > "Stephane HUC \"PengouinBSD\"" wrote: > > > >> Hi, > >> > >> After upgrade to 6.2 (amd64), Cups not run! > >> > >> $ doas rcctl start cupsd > >> cupsd(failed) > > > > What is the output of > > > > /usr/local/sbin/cupsd -t > > > > run as root? > > > > > > Is there anything in the /var/log/cups/error_log logfile? > > > > > > Best regards > > Robert >
Re: Cups not run after Upgrade 6.2
The output is none: [08:07:05] :root@ptb-zou: ~ $ /usr/local/sbin/cupsd -t [08:07:05] :root@ptb-zou: ~ $ And about file log: $ cat /var/log/cups/error_log E [09/Oct/2017:20:10:22 +0200] Unable to create "/var/cache/cups/job.cache.N": No such file or directory E [10/Oct/2017:13:28:09 +0200] Unable to create "/var/cache/cups/job.cache.N": No such file or directory $ ls -al /var/cache/ | grep cups drwxr-xr-x 2 root wheel 512 Oct 15 21:24 cups do i need _cups user rights? Le 10/16/17 à 08:01, Robert Klein a écrit : > Hi, > > On Sun, 15 Oct 2017 21:35:30 +0200 > "Stephane HUC \"PengouinBSD\"" wrote: > >> Hi, >> >> After upgrade to 6.2 (amd64), Cups not run! >> >> $ doas rcctl start cupsd >> cupsd(failed) > > What is the output of > > /usr/local/sbin/cupsd -t > > run as root? > > > Is there anything in the /var/log/cups/error_log logfile? > > > Best regards > Robert -- ~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<< Stephane HUC as PengouinBSD or CIOTBSD b...@stephane-huc.net signature.asc Description: OpenPGP digital signature
Re: Cups not run after Upgrade 6.2
Hi, On Sun, 15 Oct 2017 21:35:30 +0200 "Stephane HUC \"PengouinBSD\"" wrote: > Hi, > > After upgrade to 6.2 (amd64), Cups not run! > > $ doas rcctl start cupsd > cupsd(failed) What is the output of /usr/local/sbin/cupsd -t run as root? Is there anything in the /var/log/cups/error_log logfile? Best regards Robert
Re: DMCA Free OpenBSD VPS Hosting, multiple payment methods
As already recommanded in another post www.1984.is They are located in Reykjavík / Iceland. I had in the past a OpenBSD VPS there (now shared hosting but maybe again a VPS). They provide by default Ubuntu / Debian but you also could use .ISO's. Drop them a mail about the .ISO's, they are friendly but thats are Debian people and they are unexperienced about OpenBSD - as they host using Debian / KVM. Remember, it is a island and sometimes they are not reachable or slow (based on my location). > Hi, > > Anyone know a good non-DMCA-compliant (outside US) VPS hosting, > OpenBSD-firendly? Traffic is mostly torrent-related. > > Good bandwidth and Bitcoin payments also a plus. > > Most offshore VPS providers offers default ubuntu-debian or centos iso > images, some even FreeBSD iso, but OpenBSD is being a bit hard to > find. In > the past i saw some provider offering to mount your own custom iso via > a > webpanel, but this contact I have no more. > > If have any tips, will be welcomed. > > cheers. > > x9p > >
Linking gdb errors when compiling -current src tree
Hi misc@, Greetings from me! I am trying to follow this link (https://man.openbsd.org/release#3._Build_a_new_base_system) to build base system of -current src tree. But unfortunately, I come across following error in linking gdb: cc -O2 -pipe -DPIE_DEFAULT=1 -o gdb gdb.o libgdb.a ../bfd/libbfd.a -lreadline ../opcodes/libopcodes.a -liberty -lncurses -lm -liberty -lkvm libgdb.a(main.o): In function `captured_main': /usr/src/gnu/usr.bin/binutils/gdb/main.c:(.text+0x7e6): warning: warning: strcpy() is almost always misused, please use strlcpy() /usr/src/gnu/usr.bin/binutils/gdb/main.c:(.text+0x7ff): warning: warning: strcat() is almost always misused, please use strlcat() libgdb.a(target.o): In function `normal_pid_to_str': /usr/src/gnu/usr.bin/binutils/gdb/target.c:(.text+0x3047): warning: warning: sprintf() is often misused, please use snprintf() libgdb.a(main.o): In function `captured_main': /usr/src/gnu/usr.bin/binutils/gdb/main.c:(.text+0xa4): undefined reference to `bindtextdomain' /usr/src/gnu/usr.bin/binutils/gdb/main.c:(.text+0xac): undefined reference to `textdomain' /usr/src/gnu/usr.bin/binutils/gdb/main.c:(.text+0x4b7): undefined reference to `dcgettext' /usr/src/gnu/usr.bin/binutils/gdb/main.c:(.text+0x606): undefined reference to `dcgettext' /usr/src/gnu/usr.bin/binutils/gdb/main.c:(.text+0x78d): undefined reference to `dcgettext' /usr/src/gnu/usr.bin/binutils/gdb/main.c:(.text+0x9b9): undefined reference to `dcgettext' /usr/src/gnu/usr.bin/binutils/gdb/main.c:(.text+0xa60): undefined reference to `dcgettext' libgdb.a(main.o):/usr/src/gnu/usr.bin/binutils/gdb/main.c:(.text+0xb46): more undefined references to `dcgettext' follow cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error 1 in gnu/usr.bin/binutils/obj/gdb (Makefile:1176 'gdb') *** Error 1 in gnu/usr.bin/binutils/obj (Makefile:21479 'all-gdb') *** Error 1 in gnu/usr.bin/binutils (Makefile.bsd-wrapper:46 'all') *** Error 1 in gnu/usr.bin (:48 'all') *** Error 1 in gnu (:48 'all') *** Error 1 in . (:48 'all') *** Error 1 in . (Makefile:95 'do-build') *** Error 1 in /usr/src (Makefile:74 'build') Could anyone give some clues about this issue? Thanks very much in advance! Best Regards Nan Xiao
Re: CoDel Flows
Thanks Mike! When I was using newqueue/hfsc I used to assign queues to certain traffic like below: match inet proto tcp from any to any port ssh set queue (ssh_bulkq, ssh_prioq) match inet proto {tcp,udp} from any to any port {domain,ntp} set queue (dnsq, ackq) match inet proto {tcp,udp} from any to any port {www,https} set queue (webq, ackq) match inet proto tcp from any to any port ftp set queue (webq, ackq) And I was looking how to do that when using flow queues but it seems that it is not needed anymore (if I'm not mistaken) , all you need to do is define a flow queue and that's it. Regards, Glenn On Mon, Oct 16, 2017 at 2:06 AM, Mike Belopuhov wrote: > On Sat, Oct 14, 2017 at 02:51 +, Glenn Faustino wrote: > > Hi Mike, > > > > I'm using HFSC with two root queues (1 for uplink and 1 for downlink), > can > > you please share your config for FQ-CoDel with HFSC with two queues if > you > > don't mind? > > > > Regards, > > Glenn > > > > I'm not certain which config you're talking about but there's nothing > particularly different about any of those that I've used. I'd like to > know instead what might be causing trouble for you to figure out what > piece of documentation can be improved. > > Having said that I tend to set quantum a bit lower when CPU resources > are abundant and latency is not increased as a result. For example, > OpenWRT sets it to 300 by default which might mean that they optimize > for an average packet size on the internet (or it might not, I don't > know for sure why do they do it). My limited testing hasn't shown any > quantifiable gain when doing that. > > Regards, > Mike >
Re: DMCA Free OpenBSD VPS Hosting, multiple payment methods
> Try Hetzner CX series of servers in Germany. They are not actually > friendly, but have ISO mount so that you can install. Could not find DMCA-related info on the pages of company. Being Germany, I expect the worst in torrent-related matters. > Other one is https://www.1984.is in Iceland. I am planning to try one from > them in near future. Also could not find anything related, but being in Iceland it is worth a try :) Thnx !!! > Regards. > â > Ajitabh Pandey > http://ajitabhpandey.info cheers.. x9p
Re: DMCA Free OpenBSD VPS Hosting, multiple payment methods
Try Hetzner CX series of servers in Germany. They are not actually friendly, but have ISO mount so that you can install. Other one is https://www.1984.is in Iceland. I am planning to try one from them in near future. Regards. — Ajitabh Pandey http://ajitabhpandey.info On Mon, 16 Oct 2017 at 6:50 AM, x9p wrote: > Hi, > > Anyone know a good non-DMCA-compliant (outside US) VPS hosting, > OpenBSD-firendly? Traffic is mostly torrent-related. > > Good bandwidth and Bitcoin payments also a plus. > > Most offshore VPS providers offers default ubuntu-debian or centos iso > images, some even FreeBSD iso, but OpenBSD is being a bit hard to find. In > the past i saw some provider offering to mount your own custom iso via a > webpanel, but this contact I have no more. > > If have any tips, will be welcomed. > > cheers. > > x9p > >
DMCA Free OpenBSD VPS Hosting, multiple payment methods
Hi, Anyone know a good non-DMCA-compliant (outside US) VPS hosting, OpenBSD-firendly? Traffic is mostly torrent-related. Good bandwidth and Bitcoin payments also a plus. Most offshore VPS providers offers default ubuntu-debian or centos iso images, some even FreeBSD iso, but OpenBSD is being a bit hard to find. In the past i saw some provider offering to mount your own custom iso via a webpanel, but this contact I have no more. If have any tips, will be welcomed. cheers. x9p
frozen clock on Intel NUC
I have tried to submit this to bugs@ twice in the past two days, once directly via sendbug and again by webmail, but as far as I can tell, it has not been accepted. Posting here in the hopes of making some devs aware of this issue... >Synopsis: Recent TSC changes seem to result in frozen clock on Intel NUC >Category: kernel >Environment: System : OpenBSD 6.2 Details : OpenBSD 6.2-current (GENERIC.MP) #148: Fri Oct 13 16:30:01 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP Architecture: OpenBSD.amd64 Machine : amd64 >Description: After upgrading to a recent snapshot, I noticed the following line in dmesg and a frozen clock once the system was up: acpitimer0: recalibrated TSC frequency -1 Hz I believe this is due to the recent TSC timecounter changes committed by mikeb. >How-To-Repeat: Happens all the time with current snapshot. >Fix: Disabling acpitimer in UKC is enough to bring the system up with a functional clock. dmesg: OpenBSD 6.2-current (GENERIC.MP) #148: Fri Oct 13 16:30:01 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP Real mem = 4192968704 (3998MB) avail mem = 4059029504 (3870MB) User Kernel Config UKC> disable acpiti,\^H \^Hmer 387 acpitimer* disabled UKC> quit Continuing... mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xedcb0 (49 entries) bios0: vendor Intel Corp. version "PYBSWCEL.86A.0058.2016.1102.1842" date 11/02/2016 bios0: Intel Corporation NUC5CPYB 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 TPM2 CSRT SSDT acpi0: wakeup devices BRCM(S0) XHC1(S4) HDEF(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) acpitimer at acpi0 not configured acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Celeron(R) CPU N3050 @ 1.60GHz, 1680.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,AES,RDRAND,NXE,RDTSCP,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 4 (application processor) cpu1: Intel(R) Celeron(R) CPU N3050 @ 1.60GHz, 1600.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,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 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 addr 0xe000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (RP01) acpiprt2 at acpi0: bus 2 (RP02) acpiprt3 at acpi0: bus 3 (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 acpipwrres0 at acpi0: ID3C, resource for ISP3 acpipwrres1 at acpi0: CLK0, resource for CAMD acpipwrres2 at acpi0: CLK0 acpipwrres3 at acpi0: CLK1, resource for CAM3 acpipwrres4 at acpi0: USBC, resource for XHC1 acpipwrres5 at acpi0: FN00, resource for FAN0 acpitz0 at acpi0: critical temperature is 115 degC chvgpio0 at acpi0: GPO1 uid 2 addr 0xfed88000/0x8000 irq 48, 59 pins "ITE8713" at acpi0 not configured "BCM43241" at acpi0 not configured sdhc0 at acpi0: SDHC addr 0x81429000/0x1000 irq 47 sdhc0: SDHC 3.0, 200 MHz base clock sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed, dma "INTL9C60" at acpi0 not configured "INTL9C60" at acpi0 not configured "8086228A" at acpi0 not configured "8086228A" at acpi0 not configured dwiic0 at acpi0: I2C6 addr 0x81425000/0x1000 irq 37 iic0 at dwiic0 dwiic1 at acpi0: I2C7 addr 0x81423000/0x1000 irq 38 iic1 at dwiic1 acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: SLPB chvgpio1 at acpi0: GPO0 uid 1 addr 0xfed8/0x8000 irq 49, 56 pins chvgpio2 at acpi0: GPO2 uid 3 addr 0xfed9/0x8000 irq 50, 24 pins chvgpio3 at acpi0: GPO3 uid 4 addr 0xfed98000/0x8000 irq 91, 55 pins "MSFT0101" at acpi0 not configured "INT3398" at acpi0 not configured "PNP0C0B" at acpi0 not configured acpivideo0 at acpi0: GFX0 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 p
Fwd: Re: Cups not run after Upgrade 6.2
And? About Cups information? "The CUPS binaries (lpr, lpq, lprm) are no longer symlinked into /usr/bin." What's the relationship betweeen this 3 binaries about Cups, and dysfunctiong by starting the daemon with rcctl? Please, explain-me; because i dont understand! FIY: In fact, i translate in french those documentation: https://wiki.obsd4a.net/doku.php?id=openbsd.org:faq:upgrade62 Le 10/15/17 à 23:50, Jacqueline Jolicoeur a écrit : >> After upgrade to 6.2 (amd64), Cups not run! >> >> $ doas rcctl start cupsd >> cupsd(failed) >> > Did you miss anything from here when you did your upgrade? > > https://www.openbsd.org/faq/upgrade62.html -- ~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<< Stephane HUC as PengouinBSD or CIOTBSD b...@stephane-huc.net signature.asc Description: OpenPGP digital signature
chronium ports
owing to the great effort of ports maintener , i finsh ' make install ' of chronium's port in openbsd *snapshot* installed PC . but it takes long time ( 18hr ) on my old machime . - # pkg_info | grep chromium chromium-61.0.3163.100p0 Chromium browser # dmesg| grep CPU cpu0: Intel(R) Xeon(R) CPU W3550 @ 3.07GHz, 3200.52 MHz
Cups not run after Upgrade 6.2
Hi, After upgrade to 6.2 (amd64), Cups not run! $ doas rcctl start cupsd cupsd(failed) -- ~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<< Stephane HUC as PengouinBSD or CIOTBSD b...@stephane-huc.net
Re: Japanese Input in xterm
On 17/10/15 19:43, Cág wrote: Niels Kobschaetzki wrote: Thanks a lot. But you are using sakura and not xterm for typing Japanese. I want to use xterm so that I can leave more dependencies behind :) You can build st (recommended) as it doesn't have any dependencies that aren't in the install, if I amn't mistaken; or try rxvt-unicode. xterm is an unholy mess and shouldn't be used by anybody. But xterm is in base unlike urxvt or the VTE-terminals. Maybe OpenBSD should change to urxvt in base. Seems to me, from the user-perspective, that it would be a simmilar change as from screen to tmux. Niels
Re: "athn0: could not load firmware" for AR9271
> There's a problem where this chip does not get enough juice from the USB host > >controller in some cases. I have tested it, feeding +5Vcc from the computer power supply, it is not about "juice". I had the same problem on the SB700. I bet it is another hw bug masked of by software.
Re: "athn0: could not load firmware" for AR9271
Hi, Another data point..(sorry to top post... but felt it's appropriate) I've got APU as well. Running OpenBSD 6.1: OpenBSD 6.1 (GENERIC.MP) #24: Wed Oct 4 18:47:09 CEST 2017 rob...@syspatch-61-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP # dmesg | grep athn athn0 at pci4 dev 0 function 0 "Atheros AR9281" rev 0x01: apic 5 int 16 athn0: AR9280 rev 2 (2T2R), ROM rev 22, address 04:f0:21:1b:b3:68 Wireless was very poorly performing. I'm not actually using the wireless because of this. I anticipated the performance challenges from reading the mailing lists, so it's not a show stopper for me. Cheers, Steve W. On 15/10/2017 6:50 AM, Stefan Sperling wrote: On Sat, Oct 14, 2017 at 11:59:11AM -0400, Tim Stewart wrote: Maximilian Pichler writes: The dmesg is the same as previously (this is on the APU), except for: athn0 at pci5 dev 0 function 0 "Atheros AR9281" rev 0x01: apic 2 int 16 athn0: AR9280 rev 2 (2T2R), ROM rev 22, address xx:xx:xx:xx:xx:e2 I'm debugging some issues with my wle200nx in a PC Engines apu2c4, and I have a very similar dmesg output: athn0 at pci4 dev 0 function 0 "Atheros AR9281" rev 0x01: apic 5 int 16 athn0: AR9280 rev 2 (2T2R), ROM rev 22, address 04:f0:21:26:d3:28 I am curious, is it expected that the first line says "Atheros AR9281" and the second says "AR9280"? In particular, athn(4) makes the AR9281 sound less capable: The AR9281 is a single-chip PCIe 802.11n solution. It exists in PCIe Mini Card (XB91) and half Mini Card (HB91) form factors. It operates in the 2GHz spectrum and supports 1 transmit path and 2 receiver paths (1T2R). This is indeed contradictory information. The string "AR9281" comes from a static list in OpenBSD's kernel and bears no actual relation to what's in the hardware. Provided the in-kernl list is correct, It means the manufacturor has written the PCI ID of an AR9281 into the card's PCI config space. The OS will try to attach a driver which matches on this PCI ID. Once attached, the driver performs actual probing and finds an AR9280 chip. If the driver were misidentifying the chip this could lead to all sorts of problems and misbehaviours. Whether the driver's probing or the vendor's PCI ID is correct, I cannot tell. I'll note though that no code which is specific to the 9281 seems to exist in our driver. That's a bad sign, and could indicate that this chip isn't properly supported yet. I will reply with more details if I can better quantify the issues I'm having. Please do.
Re: Japanese Input in xterm
On 17/10/15 15:20, Jens John wrote: On Sun, Oct 15, 2017 at 11:07:55AM +0200, Niels Kobschaetzki wrote: > I do this because I prefer the default font in xterms for Latin > text, and the Japanese font is too big for my tastes. For > Japanese it's the other way around. A bigger font is necessary to > show the detail of kanji. Either way, it's only a display issue > and I can edit documents even if the font doesn't display them > properly. I hoped, I can find a way to use both at once - Terminess for ascii, a Japanese font for Japanese. If specifying multiple fonts in xterm's font resource key at the same time is not possible, you can achieve this exact behaviour in urvxt, which supports font lookup lists. There, I have: meaning, that if a CJK glyph can't be found in Fantasque Sans, it looks up the glyph in the next listed font. My understanding was that faceName and faceNameDoublesize are for that. Doublesized characters like CJK-characters the font from faceNameDoublesize is used and for normal sized characters the font from faceName is used. It seems I am mistaken. -- Schöne Grüße Niels
Re: Japanese Input in xterm
Niels Kobschaetzki wrote: > Thanks a lot. But you are using sakura and not xterm for typing > Japanese. I want to use xterm so that I can leave more dependencies > behind :) You can build st (recommended) as it doesn't have any dependencies that aren't in the install, if I amn't mistaken; or try rxvt-unicode. xterm is an unholy mess and shouldn't be used by anybody. -- caóc
Re: Japanese Input in xterm
> On 15. Oct 2017, at 20:24, Tuyosi T wrote: > > ps > > in case of roxterm > if the character encoding is set to UTF8 , input japanese is OK . > > i think xterm is poor at japanese . xfce4-Terminal works fine, too Niels
softraid i/o error 5 @ CRYPTO block
Hello During recent update from older -current amd64 to newest -current amd64 kernel printed softraid/CRYPTO error. This error message was printed after re-linking of kernel which failed. What does this mean? Small part of dmesg: sd1 at scsibus1 targ 1 lun 0: SCSI2 0/direct fixed sd1: 71682MB, 512 bytes/sector, 146805279 sectors root on rd0a swap on rd0b dump on rd0b softraid0: sd1: i/o error 5 @ CRYPTO block 27426768 syncing disks... OpenBSD 6.2-current (GENERIC.MP) #149: Sat Oct 14 14:21:11 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP *** full dmesg: https://paste.opensuse.org/ebf3782c OpenBSD 6.2-current (RAMDISK_CD) #147: Sat Oct 14 14:25:36 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 632704 (6018MB) avail mem = 6116085760 (5832MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe6df0 (39 entries) bios0: vendor Acer version "V2.21" date 12/16/2013 bios0: Acer Aspire E1-531G acpi0 at bios0: rev 2 acpi0: tables DSDT FACP UEFI ASF! HPET APIC MCFG SSDT BOOT ASPT DBGP FPDT SSDT SSDT SSDT acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Pentium(R) CPU B960 @ 2.20GHz, 2195.37 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE cpu at mainbus0: not configured ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 3 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (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 acpicpu at acpi0 not configured "10250759" at acpi0 not configured "ETD0500" at acpi0 not configured "INT3F0D" at acpi0 not configured "PNP0C0A" at acpi0 not configured "ACPI0003" at acpi0 not configured "PNP0C0C" at acpi0 not configured "PNP0C0D" at acpi0 not configured "PNP0C0E" at acpi0 not configured "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured "INT340E" at acpi0 not configured 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 1:0:0: mem address conflict 0xfff8/0x8 vendor "NVIDIA", unknown product 0x1140 (class display subclass VGA, rev 0xa1) at pci1 dev 0 function 0 not configured vga1 at pci0 dev 2 function 0 "Intel HD Graphics 2000" rev 0x09 wsdisplay1 at vga1 mux 1: console (80x25, vt100 emulation) "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 0 int 16 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 7 Series HD Audio" rev 0x04 at pci0 dev 27 function 0 not configured ppb1 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi pci2 at ppb1 bus 2 2:0:0: mem address conflict 0xf800/0x800 bge0 at pci2 dev 0 function 0 "Broadcom BCM57785" rev 0x10, BCM57765 B0 (0x57785100): msi, address b8:88:e3:d3:08:70 brgphy0 at bge0 phy 1: BCM57765 10/100/1000baseT PHY, rev. 4 sdhc0 at pci2 dev 0 function 1 "Broadcom SD Host Controller" rev 0x10: apic 0 int 17 sdhc0: SDHC 3.0, 200 MHz base clock sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma vendor "Broadcom", unknown product 0x16be (class system subclass miscellaneous, rev 0x10) at pci2 dev 0 function 2 not configured vendor "Broadcom", unknown product 0x16bf (class system subclass miscellaneous, rev 0x10) at pci2 dev 0 function 3 not configured ppb2 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi pci3 at ppb2 bus 3 iwn0 at pci3 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev 0x35: msi, MIMO 2T2R, MoW, address 00:27:10:a7:bf:cc ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 0 int 23 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 HM77 LPC" rev 0x04 at pci0 dev 31 function 0 not configured ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3 ahci0: port 0: 3.0Gb/s ahci0: port 2: 1.5Gb/s scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed naa.5000c5005c9384dd sd0: 476940MB, 512 bytes/sector, 976773168 sectors cd0 at scsibus0 targ 2 lun 0: ATAPI 5/cdrom removable
Re: Japanese Input in xterm
ps in case of roxterm if the character encoding is set to UTF8 , input japanese is OK . i think xterm is poor at japanese . regard
Re: CoDel Flows
On Sat, Oct 14, 2017 at 02:51 +, Glenn Faustino wrote: > Hi Mike, > > I'm using HFSC with two root queues (1 for uplink and 1 for downlink), can > you please share your config for FQ-CoDel with HFSC with two queues if you > don't mind? > > Regards, > Glenn > I'm not certain which config you're talking about but there's nothing particularly different about any of those that I've used. I'd like to know instead what might be causing trouble for you to figure out what piece of documentation can be improved. Having said that I tend to set quantum a bit lower when CPU resources are abundant and latency is not increased as a result. For example, OpenWRT sets it to 300 by default which might mean that they optimize for an average packet size on the internet (or it might not, I don't know for sure why do they do it). My limited testing hasn't shown any quantifiable gain when doing that. Regards, Mike
Re: vmd: alpine-virt guest, clock synchronization issue
Hi Leo, > > i had the exact same problem and i fixed it by running the following > command every minute. > >> chronyd -q 'pool pool.ntp.org iburst' > > It's not a perfect solution, but it works fine. good and done is better than perfect :) Will give a try with your workaround, but setting up ntpd on the host machine. less internet traffic is always better (and the guys at pool.ntp.org may get angry with a */1 query rate) > Greetings > Leo > > cheers. x9p
6.2-Release - Firefox and Codeblocks Issues
Hi, Firefox / Firefox-ESR I can not access my protonmail.com email account on both of these versions as I can't get to the login screen (it hangs on the loading screen) - this is evident by going to https://mail.protonmail.com/login. I have experienced this same issue on two different installs, so I believe anyone trying to access this site or some others will face the same issue. My guess is that it is due to the JavaScript functions it is running on this page. Chromium works without issue and shows the login form. Problem is, I really despise Chromium and actively try to stay away from all Google services. ### Codeblocks This crashes as soon as I open it. I can briefly see the codeblocks graphic before it does so. $ codeblocks Starting Code::Blocks Release 16.01 rev 10692 Oct 2 2017, 19:06:03 - wx2.8.12 (OpenBSD, unicode) - 64 bit Initialize EditColourSet . Initialize EditColourSet: done. Abort trap (core dumped) $ gdb (gdb) core codeblocks.core Core was generated by `codeblocks'. Program terminated with signal 6, Aborted. #0 0x0f1d99cdb2da in ?? ()
Re: multiple aliases files in opensmtpd
On Sun, Oct 15, 2017 at 05:18:33PM +0200, Peter Hessler wrote: > I'm in the process of migrating my email server from Postfix to > OpenSMTPd, and are running into a small issue. > > In my postfix configuration, I had multiple aliases files. The system > default one, my local one, and one for the mailing list software I use. > > according to the aliases(5) man page, I should be able to use > ':include:/path/to/file' to include files, but that seems to be ignored. I don't think thats what you want. It works like so: edgar:include: /path/to/filename cat /path/to/filename george, user2, someoneelse thus being the same as having edgar: george, user2, someoneelse in the aliases file. Then again maybe it is what you want and it isn't working. > > Is this possible? Can I configure smtpd.conf to pull in multiple aliases > into a single lookup table? > > Obviously, the workaround is 'cat aliases aliases.local aliases.foo > > /path/to/file' > but I'd prefer not to use that. > seems like you could do something like: table aliases file:/etc/mail/aliases table local file:/etc/mail/aliases.local accept for local alias deliver to mbox accept for local alias deliver to mbox etc, etc > -- > Overdrawn? But I still have checks left! >
multiple aliases files in opensmtpd
I'm in the process of migrating my email server from Postfix to OpenSMTPd, and are running into a small issue. In my postfix configuration, I had multiple aliases files. The system default one, my local one, and one for the mailing list software I use. according to the aliases(5) man page, I should be able to use ':include:/path/to/file' to include files, but that seems to be ignored. Is this possible? Can I configure smtpd.conf to pull in multiple aliases into a single lookup table? Obviously, the workaround is 'cat aliases aliases.local aliases.foo > /path/to/file' but I'd prefer not to use that. -- Overdrawn? But I still have checks left!
Re: pkgconfig not available
I get this... "ksh: pkgconfig: not found" Hmm. # apropos pkg |grep config pkg-config(1) - fetch metadata about installed software packages # pkg-config --help Okay, well, something needs to be corrected somewhere, pkg_mgr was indicating "pkgconfig" ? Thanks On 10/15/17 10:16, Marc Espie wrote: > On Sun, Oct 15, 2017 at 09:55:40AM -0400, Daniel Villarreal wrote: >> re: pkgconfig not available >> >> I see pkgconfig as being available in OpenBSD 6.2 when I run pkg_mgr, >> but I don't see it in several mirrors. Please advise. >> >> Thanks, >> Daniel Villarreal > > Did you try running it ? > > pkgconfig is part of the base system, as a complete rewrite. > No wonder you won't find it in packages. >
Re: pkgconfig not available
On Sun, Oct 15 2017, Daniel Villarreal wrote: > re: pkgconfig not available > > I see pkgconfig as being available in OpenBSD 6.2 when I run pkg_mgr, > but I don't see it in several mirrors. Please advise. pkg-config is part of the base system. ports/devel/pkgconfig has this line: IGNORE= Replaced with BSD clone in OpenBSD 4.1 which means that pkgconfig is not built. Maybe pkg_mgr ought to look at the "ignore" field in the sqlports database? -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
Re: pkgconfig not available
On Sun, Oct 15, 2017 at 09:55:40AM -0400, Daniel Villarreal wrote: > re: pkgconfig not available > > I see pkgconfig as being available in OpenBSD 6.2 when I run pkg_mgr, > but I don't see it in several mirrors. Please advise. > > Thanks, > Daniel Villarreal Did you try running it ? pkgconfig is part of the base system, as a complete rewrite. No wonder you won't find it in packages.
pkgconfig not available
re: pkgconfig not available I see pkgconfig as being available in OpenBSD 6.2 when I run pkg_mgr, but I don't see it in several mirrors. Please advise. Thanks, Daniel Villarreal
Re: Japanese Input in xterm
On Sun, Oct 15, 2017 at 11:07:55AM +0200, Niels Kobschaetzki wrote: > > I do this because I prefer the default font in xterms for Latin > > text, and the Japanese font is too big for my tastes. For > > Japanese it's the other way around. A bigger font is necessary to > > show the detail of kanji. Either way, it's only a display issue > > and I can edit documents even if the font doesn't display them > > properly. > > I hoped, I can find a way to use both at once - Terminess for ascii, a > Japanese font for Japanese. If specifying multiple fonts in xterm's font resource key at the same time is not possible, you can achieve this exact behaviour in urvxt, which supports font lookup lists. There, I have: URxvt.font: xft:Fantasque Sans Mono:style=Regular:size=15,\ xft:IPAGothic:antialias=false,\ xft:DejaVu Serif URxvt.boldFont: xft:Fantasque Sans Mono:style=Bold,\ xft:IPAGothic:style=bold:antialias=false,\ xft:DejaVu Sans Mono:style=bold,\ xft:DejaVu Serif:style=bold URxvt.letterSpace: -1 meaning, that if a CJK glyph can't be found in Fantasque Sans, it looks up the glyph in the next listed font.
Re: athn0: device timeout and network hanging with AR9285
On Sun, Oct 15, 2017 at 12:38:56AM -0500, Ax0n wrote: > Frequently -- several times per hour when I'm actively doing stuff on my > laptop, the network hangs for perhaps 30-60 seconds. This coincides with > athn0 timeout messages on the console. I don't have much data to back up my > claim that it feels like it's more frequent since the upgrade to 6.2, but > it was happening under 6.1 Stable as well. I notice it more if I am moving > large-ish files around, but that could simply be because my work gets > interrupted. athn can indeed stall and be generally slow on channels where other access point are active as well. The first thing to check is to see if you can find an empty channel to move it to.
Re: iwm fatal firmware error on - current
On Sat, Oct 14, 2017 at 04:24:29PM -0600, Dan Jones wrote: > On 6.2 current shortly after boot iwm fails with the error: > > iwm0: fatal firmware error > iwm0: could not remove MAC context (error 35) > > The device is able to initially connect get an address and connect for a few > minutes. Output from ifconfig and dmesg are below. Let me know what other > troubleshooting steps will be helpful. > This looks like a spurious failure during disassociation from an AP. When this error happens, the device will be reset and should resume normal operation. Is this a recurring issue or did it happen just once?
Re: "athn0: could not load firmware" for AR9271
On Sat, Oct 14, 2017 at 11:59:11AM -0400, Tim Stewart wrote: > Maximilian Pichler writes: > > > The dmesg is the same as previously (this is on the APU), except for: > > athn0 at pci5 dev 0 function 0 "Atheros AR9281" rev 0x01: apic 2 int 16 > > athn0: AR9280 rev 2 (2T2R), ROM rev 22, address xx:xx:xx:xx:xx:e2 > > I'm debugging some issues with my wle200nx in a PC Engines apu2c4, and I > have a very similar dmesg output: > > athn0 at pci4 dev 0 function 0 "Atheros AR9281" rev 0x01: apic 5 int 16 > athn0: AR9280 rev 2 (2T2R), ROM rev 22, address 04:f0:21:26:d3:28 > > I am curious, is it expected that the first line says "Atheros AR9281" > and the second says "AR9280"? In particular, athn(4) makes the AR9281 > sound less capable: > > The AR9281 is a single-chip PCIe 802.11n solution. It exists in PCIe > Mini Card (XB91) and half Mini Card (HB91) form factors. It operates in > the 2GHz spectrum and supports 1 transmit path and 2 receiver paths > (1T2R). This is indeed contradictory information. The string "AR9281" comes from a static list in OpenBSD's kernel and bears no actual relation to what's in the hardware. Provided the in-kernl list is correct, It means the manufacturor has written the PCI ID of an AR9281 into the card's PCI config space. The OS will try to attach a driver which matches on this PCI ID. Once attached, the driver performs actual probing and finds an AR9280 chip. If the driver were misidentifying the chip this could lead to all sorts of problems and misbehaviours. Whether the driver's probing or the vendor's PCI ID is correct, I cannot tell. I'll note though that no code which is specific to the 9281 seems to exist in our driver. That's a bad sign, and could indicate that this chip isn't properly supported yet. > I will reply with more details if I can better quantify the issues I'm > having. Please do.
Re: vmd: alpine-virt guest, clock synchronization issue
Hey, On 10/14/17 21:01, x9p wrote: While running Alpine-virt 3.6.2 VM guest under OpenBSD 6.1 host, i noticed the clock frequency is 2x slower on the guest machine. This can be a problem for applications that relies on accurate time. Even after sync clock with ntpd inside alpine-virt guest, it gets out-of-sync a few seconds later. I get on the guest about half the clock frequency of the host. i had the exact same problem and i fixed it by running the following command every minute. chronyd -q 'pool pool.ntp.org iburst' It's not a perfect solution, but it works fine. Greetings Leo
Re: Japanese Input in xterm
On 17/10/15 08:34, Tuyosi T wrote: hi Niels . i am a japenese , so i write down about japanese input method in http://openbsd-akita.blogspot.jp/2017/10/openbsd-62-lumina.html . i use ibus-anthy . scim-anthy is impossible for me . Thanks a lot. But you are using sakura and not xterm for typing Japanese. I want to use xterm so that I can leave more dependencies behind :) -- Schöne Grüße Niels
Re: Japanese Input in xterm
On 17/10/15 08:35, Bryan Linton wrote: On 2017-10-15 09:38:56, Niels Kobschaetzki wrote: On 17/10/15 07:12, Niels Kobschaetzki wrote: > On 17/10/15 06:41, Niels Kobschaetzki wrote: > > Hi, > > > > I am trying to get Japanese input working in xterm but I just cannot get > > it to work. It works in xfce4-terminal though. > > > > I have in my .profile and my .xsession: > > export LANG=en_US.UTF-8 > > export LC_NUMERIC=de_DE.UTF-8 > > export LC_TIME=de_DE.UTF-8 > > export LC_MONETARY=de_DE.UTF-8 > > export LC_PAPER=de_DE.UTF-8 > > export LC_NAME=de_DE.UTF-8 > > export LC_ADDRESS=de_DE.UTF-8 > > export LC_TELEPHONE=de_DE.UTF-8 > > export LC_MEASUREMENT=de_DE.UTF-8 > > export LC_IDENTIFICATION=de_DE.UTF-8 > > export LC_CTYPE=en_US.UTF-8 > > > > export GTK_IM_MODULE=ibus > > export XMODIFIERS="@im=ibus" xterm > > export QT_IM_MODULE=ibus > > > > I am not sure though what exactly is necessary now because I tried now a > > lot to get it working. > > > > In my .Xdefaults I have: > > XTerm*faceName: Terminess Powerline:style=Medium > > XTerm*faceSize: 13 > > xterm*faceNameDoublesize: Sazanami Mincho > > XTerm*utf8: true > > XTerm*locale: utf8 > > XTerm*inputMethod: ibus > > > > When I have ibus-anthy activated the pop over appears and I can type > > Japanese but when I hit enter to place it, no characters appear. When I > > want to open a japanese web page like https://www.asahi.com in lynx > > there are only garbled characters (and w3m crashes). > > > > A mail in Japanese appears correctly in mutt though. > > > > What I am missing? > > I got a bit further. When I start xterm with "xterm -cjk_width" it works > \o/ > > But setting "XTerm*cjkWidth: true" in .Xdefaults has no effect (yes, I > do a xrdb -merge .Xdefaults) And now I found yet another issue. The moment I use xterm*faceNameDoublesize the character "ü" breaks and the line-drawing characters on the bottom of the index of mutt break as well I have mostly the same settings as you do in .xinitrc, except I use UIM instead of ibus. Everything works well for me. What do you mean when you say, "when I hit enter to place it, no characters appear"? Does nothing happen at all? Or do you see dotted rectangles instead of kanji? nothing appears at all. I use two different commands to launch xterms depending on whether I want to use Japanese or not. In the normal xterm, I can input text and create documents, but I see dotted rectangles because I use the default font. If I view that file with the proper fonts after creating it, it's fine, so I know the input is being properly sent and recorded. I have a jxterm.sh command contaning the following command: env LC_ALL=ja_JP.UTF-8 xterm -fa "Sazanami Gothic" -fs 16 $1 that I run whenever I want to explicitly use (and see) Japanese. When I start xterm with these settings, everything works as expected. Even the "ü" ;) Thanks :) I just tried it without setting the environment, and even then it works. And when I set XTerm*faceName: Sazanami Mincho:style=Regular it also works. The problem seems to be that XTerm*faceNameDoublesize isn't used for some reason. I do this because I prefer the default font in xterms for Latin text, and the Japanese font is too big for my tastes. For Japanese it's the other way around. A bigger font is necessary to show the detail of kanji. Either way, it's only a display issue and I can edit documents even if the font doesn't display them properly. I hoped, I can find a way to use both at once - Terminess for ascii, a Japanese font for Japanese. Does this work if you try using UIM? What about SCIM? I tried so far only ibus. I think it is purely a display, not an IM-method-problem. As written above. When I start it with the settings from you, it works. UIM seems to be moribund. There have been some recent commits, but the last release was in 2015. The current release does not work with QT5. I brought this up on ports@, since recent commits have enabled QT5 support, and it was suggested that I contact upstream and ask them to make a proper release. I am used to use ibus for quite some time now. I prefer fcitx (instead of ibus) with mozc (instead of anthy) but I found that I can get them only properly to work in Arch Linux. Niels
Re: Openbsd 6.1 and Current Console Freezes and lockup Proxmox PVE5.0
On 13 Oct 2017, at 0:11, Mike Larkin wrote: On Thu, Oct 12, 2017 at 10:36:42PM +0200, Michał Koc wrote: On Thu, Oct 12, 2017 at 01:23:36PM +0200, Michał Koc wrote: On Sun, Oct 08, 2017 at 11:59:52PM +0200, Oliver Marugg wrote: On 7 Oct 2017, at 22:01, Mike Larkin wrote: On Sat, Oct 07, 2017 at 02:19:58PM +0200, Oliver Marugg wrote: Just to add a 4th situation of hangs: Login via proxmox (pve)/kvm serial console (via noVNC), login successful: Vm guest in pve hangs, cpu usage at above 102%. Only way is to hard stop the Vm guest. -oliver sounds like a kvm bug. Ask your provider to investigate the host side when this happens. Thanks Mike, will do so. The proxmox guys have also the idea that it could be a bug in kvm hypervisor (which is the hypervisor part for proxmox) and will affect OpenBSD since 4.9, they wrote me in their public forum. As far as I understood they do not know what OpenBSD needs in kvm or what/where should be fixed in kvm run OpenBSD without that freezes. -oliver From what I read, the cpu spins to 100%, which means somewhere on the host it's likely spinning also. Start with systrace/ptrace/ktrace/whatever on the host qemu-kvm and go from there... -ml Hi, it looks like the cpu process of kvm (CPU 0/KVM) is issuing 1500+ of ioctl(15, KVM_RUN, 0) per second while running OpenBSD 6.2 guest. What CPU profile is being presented to the OpenBSD guest? I've seen things like this happen when a vCPU is claimed to have monitor/mwait support, but the hypervisor implements those as NOPs, which just results in spinning like this. In short - try changing the type of CPU presented to the guest and see if that changes behaviour. At least then you'll have more data points to work with. -ml Okey, How would You disable monitor/mwait support in KVM to be presented to guest ? Well, monitor/mwait was just what I recall contributing to something *like* this. If you can determine the guest %rip during each ioctl(vm_run) and give me a kernel or disassembly I may be able to see if it's something obvious. That, or describe a way I can repro this locally. I have a machine I could put linux on for an evening to test. -ml proxmox is debian 9 based they uses an ubuntu kernel 4.10.17-3-pve (modified?). It seems that makes it a step harder to compare in this case. I tested my OpenBSD Guestswith different processor types like Mike suggested, stablest fit shows as kvm64 (eq. pentium4 I think) which is also standard in proxmox kvm. Other processors types like core2duo, pentium or opteron freeze/hangs somewhen within 30 minutes after starting, I tested all through. changing CPU to pentium or setting name='monitor'/> does not actually change anything in scope of host cpu utilization BR M.K. In case of linux guest the process issues about 15 of those ioctls per second. In any case I cannot make openbsd to starve KVM host cpu. OpenBSD uses at most(when idle) 7% of cpu. My versions: - OpenBSD 6.2 amd64 - KVM 2.8.1 BR M.K.
arm support for board
How is the OpenBSD support for this arm board? http://a.co/fi7nXzg ESPRESSObin SBUD102 64 Bit Single Board Computer Network Switch Thanks
Re: Japanese Input in xterm
On 2017-10-15 09:38:56, Niels Kobschaetzki wrote: > On 17/10/15 07:12, Niels Kobschaetzki wrote: > > On 17/10/15 06:41, Niels Kobschaetzki wrote: > > > Hi, > > > > > > I am trying to get Japanese input working in xterm but I just cannot get > > > it to work. It works in xfce4-terminal though. > > > > > > I have in my .profile and my .xsession: > > > export LANG=en_US.UTF-8 > > > export LC_NUMERIC=de_DE.UTF-8 > > > export LC_TIME=de_DE.UTF-8 > > > export LC_MONETARY=de_DE.UTF-8 > > > export LC_PAPER=de_DE.UTF-8 > > > export LC_NAME=de_DE.UTF-8 > > > export LC_ADDRESS=de_DE.UTF-8 > > > export LC_TELEPHONE=de_DE.UTF-8 > > > export LC_MEASUREMENT=de_DE.UTF-8 > > > export LC_IDENTIFICATION=de_DE.UTF-8 > > > export LC_CTYPE=en_US.UTF-8 > > > > > > export GTK_IM_MODULE=ibus > > > export XMODIFIERS="@im=ibus" xterm > > > export QT_IM_MODULE=ibus > > > > > > I am not sure though what exactly is necessary now because I tried now a > > > lot to get it working. > > > > > > In my .Xdefaults I have: > > > XTerm*faceName: Terminess Powerline:style=Medium > > > XTerm*faceSize: 13 > > > xterm*faceNameDoublesize: Sazanami Mincho > > > XTerm*utf8: true > > > XTerm*locale: utf8 > > > XTerm*inputMethod: ibus > > > > > > When I have ibus-anthy activated the pop over appears and I can type > > > Japanese but when I hit enter to place it, no characters appear. When I > > > want to open a japanese web page like https://www.asahi.com in lynx > > > there are only garbled characters (and w3m crashes). > > > > > > A mail in Japanese appears correctly in mutt though. > > > > > > What I am missing? > > > > I got a bit further. When I start xterm with "xterm -cjk_width" it works > > \o/ > > > > But setting "XTerm*cjkWidth: true" in .Xdefaults has no effect (yes, I > > do a xrdb -merge .Xdefaults) > > And now I found yet another issue. The moment I use > xterm*faceNameDoublesize the character "ü" breaks and the line-drawing > characters on the bottom of the index of mutt break as well > I have mostly the same settings as you do in .xinitrc, except I use UIM instead of ibus. Everything works well for me. What do you mean when you say, "when I hit enter to place it, no characters appear"? Does nothing happen at all? Or do you see dotted rectangles instead of kanji? I use two different commands to launch xterms depending on whether I want to use Japanese or not. In the normal xterm, I can input text and create documents, but I see dotted rectangles because I use the default font. If I view that file with the proper fonts after creating it, it's fine, so I know the input is being properly sent and recorded. I have a jxterm.sh command contaning the following command: env LC_ALL=ja_JP.UTF-8 xterm -fa "Sazanami Gothic" -fs 16 $1 that I run whenever I want to explicitly use (and see) Japanese. I do this because I prefer the default font in xterms for Latin text, and the Japanese font is too big for my tastes. For Japanese it's the other way around. A bigger font is necessary to show the detail of kanji. Either way, it's only a display issue and I can edit documents even if the font doesn't display them properly. Does this work if you try using UIM? What about SCIM? UIM seems to be moribund. There have been some recent commits, but the last release was in 2015. The current release does not work with QT5. I brought this up on ports@, since recent commits have enabled QT5 support, and it was suggested that I contact upstream and ask them to make a proper release. I attempted to do so, but it seems like whoever is in charge is not there any more. I was only able to contact a Debian maintainer, who said they do not have the power to create a full and proper release, so it looks like SCIM might be a better choice than UIM. -- Bryan
Re: Japanese Input in xterm
hi Niels . i am a japenese , so i write down about japanese input method in http://openbsd-akita.blogspot.jp/2017/10/openbsd-62-lumina.html . i use ibus-anthy . scim-anthy is impossible for me . --- regards
Re: Japanese Input in xterm
On 17/10/15 07:12, Niels Kobschaetzki wrote: On 17/10/15 06:41, Niels Kobschaetzki wrote: Hi, I am trying to get Japanese input working in xterm but I just cannot get it to work. It works in xfce4-terminal though. I have in my .profile and my .xsession: export LANG=en_US.UTF-8 export LC_NUMERIC=de_DE.UTF-8 export LC_TIME=de_DE.UTF-8 export LC_MONETARY=de_DE.UTF-8 export LC_PAPER=de_DE.UTF-8 export LC_NAME=de_DE.UTF-8 export LC_ADDRESS=de_DE.UTF-8 export LC_TELEPHONE=de_DE.UTF-8 export LC_MEASUREMENT=de_DE.UTF-8 export LC_IDENTIFICATION=de_DE.UTF-8 export LC_CTYPE=en_US.UTF-8 export GTK_IM_MODULE=ibus export XMODIFIERS="@im=ibus" xterm export QT_IM_MODULE=ibus I am not sure though what exactly is necessary now because I tried now a lot to get it working. In my .Xdefaults I have: XTerm*faceName: Terminess Powerline:style=Medium XTerm*faceSize: 13 xterm*faceNameDoublesize: Sazanami Mincho XTerm*utf8: true XTerm*locale: utf8 XTerm*inputMethod: ibus When I have ibus-anthy activated the pop over appears and I can type Japanese but when I hit enter to place it, no characters appear. When I want to open a japanese web page like https://www.asahi.com in lynx there are only garbled characters (and w3m crashes). A mail in Japanese appears correctly in mutt though. What I am missing? I got a bit further. When I start xterm with "xterm -cjk_width" it works \o/ But setting "XTerm*cjkWidth: true" in .Xdefaults has no effect (yes, I do a xrdb -merge .Xdefaults) And now I found yet another issue. The moment I use xterm*faceNameDoublesize the character "ü" breaks and the line-drawing characters on the bottom of the index of mutt break as well Niels
Re: Japanese Input in xterm
On 17/10/15 06:41, Niels Kobschaetzki wrote: Hi, I am trying to get Japanese input working in xterm but I just cannot get it to work. It works in xfce4-terminal though. I have in my .profile and my .xsession: export LANG=en_US.UTF-8 export LC_NUMERIC=de_DE.UTF-8 export LC_TIME=de_DE.UTF-8 export LC_MONETARY=de_DE.UTF-8 export LC_PAPER=de_DE.UTF-8 export LC_NAME=de_DE.UTF-8 export LC_ADDRESS=de_DE.UTF-8 export LC_TELEPHONE=de_DE.UTF-8 export LC_MEASUREMENT=de_DE.UTF-8 export LC_IDENTIFICATION=de_DE.UTF-8 export LC_CTYPE=en_US.UTF-8 export GTK_IM_MODULE=ibus export XMODIFIERS="@im=ibus" xterm export QT_IM_MODULE=ibus I am not sure though what exactly is necessary now because I tried now a lot to get it working. In my .Xdefaults I have: XTerm*faceName: Terminess Powerline:style=Medium XTerm*faceSize: 13 xterm*faceNameDoublesize: Sazanami Mincho XTerm*utf8: true XTerm*locale: utf8 XTerm*inputMethod: ibus When I have ibus-anthy activated the pop over appears and I can type Japanese but when I hit enter to place it, no characters appear. When I want to open a japanese web page like https://www.asahi.com in lynx there are only garbled characters (and w3m crashes). A mail in Japanese appears correctly in mutt though. What I am missing? I got a bit further. When I start xterm with "xterm -cjk_width" it works \o/ But setting "XTerm*cjkWidth: true" in .Xdefaults has no effect (yes, I do a xrdb -merge .Xdefaults) Niels
Anyone else running 6.2 on a T430 - Experiencing issues with overheating and battery drain / fan noise?
Hi, To see if this would help my laptop - but nope. I'm not sure what exactly is going on here but fan is running at full pelt, and it's uncomfortably hot. The strange thing is my laptop is mostly sitting pretty idle: A very average / typical output of top: CPU0 states: 1.2% user, 0.0% nice, 1.0% system, 1.0% interrupt, 96.8% idle CPU1 states: 5.2% user, 0.0% nice, 1.2% system, 0.0% interrupt, 93.6% idle CPU2 states: 4.0% user, 0.0% nice, 1.4% system, 0.0% interrupt, 94.6% idle CPU3 states: 1.8% user, 0.0% nice, 2.2% system, 0.0% interrupt, 96.0% idle I have tried enabling apmd to see if it will sort this out for me: apmd_flags="-A" But it doesn't, or at least if it does it is not noticeable to me. I haven't really been using OpenBSD other than on my desktop - so installing on this Thinkpad is pretty new. I am used to Debian on this, and maybe I'm comparing or something but this doesn't really seem right. I am reluctant to think this is a hardware issue just due to the timing of just switching from Debian. I have an SSD in this Thinkpad - putting a regular spinner HDD in Debian would make it go like this, fans / heat / quicker battery drain. I just don't want to take OpenBSD off of this cause I have a nice setup with XFCE (Gnome is my ultimate favourite with Debian - but the performance of it on this machine with OpenBSD is nowhere near as snappy or responsive as I am used to) If anyone has any experience with this issue and can maybe help in some way, I'll be very appreciative. Here's my dmesg: OpenBSD 6.2 (GENERIC.MP) #0: Thu Oct 12 19:53:18 CEST 2017 r...@syspatch-62-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8256528384 (7874MB) avail mem = 7999270912 (7628MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9c000 (68 entries) bios0: vendor LENOVO version "G1ETB2WW (2.72 )" date 01/31/2017 bios0: LENOVO 23493A4 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF! UEFI UEFI POAT SSDT SSDT DMAR UEFI DBG2 acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, 2594.58 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: TSC frequency 2594582720 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) i5-3320M CPU @ 2.60GHz, 2594.11 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,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-3320M CPU @ 2.60GHz, 2594.11 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,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-3320M CPU @ 2.60GHz, 2594.11 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,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 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus 4 (EXP3) acpicpu0 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C2(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C2(350@