When will OpenBSD become a friendly place for bug reporters?
Hi! We all know that bugs don't get fixed without backtraces. After few years of using OpenBSD I am annoyed to get mocked for not sending backtraces, but why I don't send them? The answer is: OpenBSD doesn't provide software packages with debugging symbols. Do I look like a Gentoo user? It's not cool to leave no choice to bug reporters but to make them rebuild all ports they use with: $ env CFLAGS='-pipe -g' DEBUG=-g make -j $(sysctl -n hw.ncpu) reinstall The current OpenBSD is definetely not friendly to bug reporters, so don't blame me when I refuse to send backtraces, I am simply not in mood to rebuild software when it shouldn't be necessary, I value my time.
ed(1) man page doesn't mention use of single / and ?
Hi! I am not good at explaining something shortly and clearly to fit into proper documentation, so I'll just describe my experience here. Terminating regular expressions with / or ? is necessary only if they are followed by commands, otherwise the following are legal in both OpenBSD ed, Plan 9 ed and GNU ed: /something / ? g/ing I hope I made life of many ed users easier :)
video(1): Xv adaptor unable to display yuy2?
Hi! I don't understand how to use video(1), what is wrong with Xv(3)? My webcam works fine with other applications (uTox, Toxic). P.S. To make my webcam work I disabled xhci(4), now my USB is handled by ehci(4). mazocomp$ video video: could not find a usable encoding mazocomp$ video -q video device /dev/video: encodings: yuy2 frame sizes (width x height, in pixels) and rates (in frames per second): 160x120: 30 176x144: 30 320x240: 30 352x288: 30 640x480: 30 controls: brightness, contrast, saturation, gamma, sharpness mazocomp$ video -e yuy2 video: Xv adaptor 0 can't display yuy2 mazocomp$ video -e yuy2 -s 640x480 -r 30 video: Xv adaptor 0 can't display yuy2 mazocomp$ video - video: adaptor 0 has no usable encodings video: could not find a usable encoding mazocomp$ video - -e yuy2 video: adaptor 0 has no usable encodings video: Xv adaptor 0 can't display yuy2 mazocomp$ dmesg sibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: SCSI3 0/direct fixed naa.50014ee6b16cb4fa sd0: 476940MB, 512 bytes/sector, 976773168 sectors ichiic0 at pci0 dev 31 function 3 "Intel 9 Series SMBus" rev 0x03: apic 2 int 18 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM isa0 at pcib0 isadma0 at isa0 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 Unclaimed register detected before reading register 0x23a0 uhidev0 at uhub0 port 2 configuration 1 interface 0 "A4Tech USB Mouse" rev 1.10/3.14 addr 2 uhidev0: iclass 3/1, 4 report ids ums0 at uhidev0 reportid 1: 8 buttons, Z dir wsmouse1 at ums0 mux 0 uhid0 at uhidev0 reportid 4: input=5, output=0, feature=0 ugen0 at uhub0 port 4 "Generic USB2.0-CRW" rev 2.00/39.60 addr 3 uvideo0 at uhub0 port 6 configuration 1 interface 0 "Chicony Electronics Co.,Ltd. Lenovo EasyCamera" rev 2.00/95.60 addr 4 video0 at uvideo0 uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.03 addr 2 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (3c4038c4be3c16ce.a) swap on sd0b dump on sd0b error: [drm:pid28732:intel_pipe_update_start] *ERROR* Potential atomic update failure on pipe A error: [drm:pid28732:intel_pipe_update_start] *ERROR* Potential atomic update failure on pipe A error: [drm:pid28732:intel_pipe_update_start] *ERROR* Potential atomic update failure on pipe A error: [drm:pid28732:intel_pipe_update_start] *ERROR* Potential atomic update failure on pipe A error: [drm:pid28732:intel_pipe_update_start] *ERROR* Potential atomic update failure on pipe A umodem0 at uhub0 port 1 configuration 1 interface 1 "Nokia product 0x069c" rev 1.10/1.00 addr 5 umodem0: data interface 0, has CM over data, has break umodem0: could not set data multiplex mode umodem0 detached umodem0 at uhub0 port 1 configuration 1 interface 1 "Nokia product 0x069c" rev 1.10/1.00 addr 5 umodem0: data interface 0, has CM over data, has break umodem0: could not set data multiplex mode umodem0 detached umodem0 at uhub0 port 1 configuration 1 interface 1 "Nokia product 0x069c" rev 1.10/1.00 addr 5 umodem0: data interface 0, has CM over data, has break umodem0: could not set data multiplex mode umodem0 detached umodem0 at uhub0 port 1 configuration 1 interface 1 "Nokia product 0x069c" rev 1.10/1.00 addr 5 umodem0: data interface 0, has CM over data, has break umodem0: could not set data multiplex mode umodem0 detached umodem0 at uhub0 port 1 configuration 1 interface 1 "Nokia product 0x069c" rev 1.10/1.00 addr 5 umodem0: data interface 0, has CM over data, has break umodem0: could not set data multiplex mode umodem0 detached umodem0 at uhub0 port 1 configuration 1 interface 1 "Nokia product 0x069c" rev 1.10/1.00 addr 5 umodem0: data interface 0, has CM over data, has break umodem0: could not set data multiplex mode umodem0 detached umodem0 at uhub0 port 1 configuration 1 interface 1 "Nokia product 0x069c" rev 1.10/1.00 addr 5 umodem0: data interface 0, has CM over data, has break umodem0: could not set data multiplex mode umodem0 detached umodem0 at uhub0 port 1 configuration 1 interface 1 "Nokia product 0x069c" rev 1.10/1.00 addr 5 umodem0: data interface 0, has CM over data, has break umodem0: could not set data multiplex mode umodem0 detached umodem0 at uhub0 port 1 configuration 1 interface 1 "Nokia product 0x069c" rev 1.10/1.00 addr 5 umodem0: data interface 0, has CM over data, has break umodem0: could not set data multiplex mode umodem0 detached umodem0 at uhub0 port 1 configuration 1 interface 1 "Nokia product 0x069c" rev 1.10/1.00 addr 5 umodem0: data interface 0, has CM over data, has break umodem0: c
Re: smtpd relay problem
Hi! Try to modify my configs under your username and address: /etc/mail/smtpd.conf: - table aliases file:/etc/mail/aliases table secrets file:/etc/mail/secrets listen on lo0 accept for local alias deliver to mbox accept for any relay via tls+auth://mazoc...@disroot.org:587 auth - /etc/mail/secrets: - mazocomp mazoc...@disroot.org:my_password - /home/mazocomp/.mailrc: - set ask set crt set from=mazoc...@disroot.org ignore message-id received date fcc status resent-date resent-message-id resent-from in-reply-to - You might also want to fetch mail via IMAP or POP3, here is my /home/mazocomp/.fdm.conf (# pkg_add fdm): - action "inbox" mbox "/var/mail/%u" account "Leonid Bobrov" imaps server "disroot.org" user "mazocomp" pass "my_password" match all action "inbox" - Also note that you might want to not delete your mail at gmail server, so after pass "my_password" append: keep Also I do not know if gmail uses default IMAPS port, so you have to manually after server "disroot.org" write: port 123
Re: OpenCVS: No LockDir? :)
On Sat, Apr 28, 2018 at 11:27:07PM +0300, mazoc...@disroot.org wrote: > Hi! > > opencvs server: ignoring unknown option 'LockDir' > > It appears running anonymous OpenCVS server is awesome :D > > Anyway, it works, but if I remove LockDir, anonymous GNU CVS > stops working because it can't create LockDir :) > > As far as I understand anonymous OpenCVS doesn't create > lock directory and just gives me files I need, right? > Ok, after reading OpenCVS's cvs.5 I see $CVSROOT/CVSROOT/config supports only 3 options. Does OpenCVS need other options from GNU CVS for $CVSROOT/CVSROOT/config or they should stay left out?
OpenCVS: No LockDir? :)
Hi! opencvs server: ignoring unknown option 'LockDir' It appears running anonymous OpenCVS server is awesome :D Anyway, it works, but if I remove LockDir, anonymous GNU CVS stops working because it can't create LockDir :) As far as I understand anonymous OpenCVS doesn't create lock directory and just gives me files I need, right?
Re: Plans to port the amdgpu(4) driver? (=to support Radeons made 2014/2015 and after.) Hardware/other donations needed?
On Wed, Apr 25, 2018 at 09:08:12PM +1000, Jonathan Gray wrote: > drivers/gpu/drm/amd in linux has over 1.5 million lines of code. Which > is multiple times larger than the complete OpenBSD kernel source... > Wow, this driver is fatter than elephant. Anyway, thank you for updating radeondrm(4), now I can use my PC with Kaveri APU.
Re: Help setting up email with opensmtp.
On Fri, Feb 23, 2018 at 08:06:23PM +, Stuart Henderson wrote: > On 2018-02-23, ed...@pettijohn-web.com wrote: > > > > On Feb 22, 2018 9:44 PM, mazocomp wrote: > >> > >> On Thu, Feb 22, 2018 at 08:36:49PM -0600, Edgar Pettijohn wrote: > >> > However, with this setup you should be able to just use sendbug(1). > >> > > >> > sendbug will envoke sendmail aka smtpctl and then submit it your local > >> > smtpd > >> > who will then relay it via gmail. > >> > >> Hi! > >> > >> Excuse me for ignorant question below. I don't have external server, so > >> I use remote e-mail provider: I configured mutt to fetch mail via IMAP > >> and send mail via SMTP. > >> > >> My question is if I'll use only base utilities (for example, mail(1)), > >> with that configuration I will only be able to send mail, but not > >> receive it, won't I? (I hope there is a way to use mail(1) without > >> having external server) > >> > > > > To my knowledge there is nothing in base to fetch from an imap/pop server. > > However, there are some utilities in ports that do. But if you're > > going to go that route you may as well just use mutt in my humble > > opinion. > > I would recommend fdm (in packages) if you need to fetch from an > IMAP/POP server to a local mail file or maildir. > > For sending via a remote provider you can configure smtpd to handle > SMTP authentication for sending, there's an example in the manual. > > Thank you! Now it's time to learn fdm and goodbye mutt :)
Re: Help setting up email with opensmtp.
On Thu, Feb 22, 2018 at 08:36:49PM -0600, Edgar Pettijohn wrote: > However, with this setup you should be able to just use sendbug(1). > > sendbug will envoke sendmail aka smtpctl and then submit it your local smtpd > who will then relay it via gmail. Hi! Excuse me for ignorant question below. I don't have external server, so I use remote e-mail provider: I configured mutt to fetch mail via IMAP and send mail via SMTP. My question is if I'll use only base utilities (for example, mail(1)), with that configuration I will only be able to send mail, but not receive it, won't I? (I hope there is a way to use mail(1) without having external server)
Re: SHA256.sig not contained in install62.iso
On Tue, Feb 20, 2018 at 12:59:08PM +0100, Theo Buehler wrote: > On Tue, Feb 20, 2018 at 12:56:06PM +0100, Nicolas Schmidt wrote: > > Hi, > > > > I am finally getting around to upgrading 6.1->6.2. When I try to install > > from CD using the install62.iso image, the install script complains that it > > can't find SHA256.sig (indeed, it's on it). > > > > Is that supposed to happen? > > Yes. The last paragraph from > https://www.openbsd.org/faq/faq4.html#Download says: > > The installXX.iso and installXX.fs images do not contain an SHA256.sig > file, and the installer will complain that it can't check the > signatures. It is not possible for the installer to verify the sets with > these images. After all, if someone were to make a rogue installXX.iso > file, they could certainly change the installer to say the files were > legitimate. Thus, you must verify those installer downloads separately. > Isn't the same true when I download file sets from any mirror? After all I download SHA256.sig abd file sets from mirror, how can I trust it?
Re: considering a move to OpenBSD
On Thu, Feb 08, 2018 at 01:41:20PM -0800, Charlie Eddy wrote: > hello misc, > Hi! > I am considering a move to OpenBSD, since I subscribed to this mailing list > some time ago (~few months). I want to take advantage of security. > Good, go ahead, all doors are open. > However, a programmer who I know personally and respect considers OpenBSD > to be old-school, in a negative sense. He recommends Arch Linux as > superior, because more new. Does the difference boil down to one's > definition of free software, and then compliance with that definition? > It's good to listen opinions and have advices. But remember you have your own opinion, so make your own choice and say aloud: I CHOOSE TO!!! Also I don't understand what does it mean more new. If you mean new features, Linux is chaotic, so if number of features is more important to you than quality of OS, then Arch Linux is really a good choice. > I have read up on this a lot, and this is a serious question. I have heard > that it is unimportant what *nix you're on after a few years of using one > or the other, in terms of functionality. I am interested in embedded > devices. I think that bends the needle towards Arch, but the security of > OpenBSD is also attractive. What considerations should I take into account? > It is really important what Unix-like OS you're using, first of all it matters to you. Make your choice depending on what you want technically. I don't use Linux, FreeBSD, NetBSD, DragonFlyBSD or any other Unix-like OS because they don't meet my needs. OpenBSD has everything I can't live without. I choose security, simplicity and code quality. > Regards, > Charlie > Regards, Leonid Bobrov
Re: Little OpenCVS bug
On Sun, Feb 04, 2018 at 09:03:04PM +, Stuart Henderson wrote: > On 2018-02-04, mazocomp wrote: > > Hi! > > > > I tried updating both /usr/src and /usr/ports with OpenCVS. It worked, > > but it also downloaded empty directories (GNU CVS never did that): > > > > $ ls /usr/src/ > > CVSMakefile.cross distribgames include > > kerberosV libexecregressshare usr.bin > > Makefile binetcgnukerberosIV > > liblkmsbin sysusr.sbin > > $ ls /usr/src/kerberosIV/man/ > > CVS > > $ ls /usr/ports/www/vimb/ > > CVS patches pkg > > $ > > > > My ~/.cvsrc is: > > > > # $OpenBSD: dot.cvsrc,v 1.3 2016/10/31 20:50:11 tb Exp $ > > # > > diff -uNp > > update -Pd > > checkout -P > > rdiff -u > > > > > > Need more information on exactly what you did, I just did a test checkout > using opencvs and it works as expected here. > > (Whereas gnu cvs *does* download and create the empty directories, and then > if you used -P it goes through at the end to remove them again). > > I did "$ opencvs -d anon...@anoncvs.fr.openbsd.org:/cvs update" in both /usr/ports and /usr/src directories.
Little OpenCVS bug
Hi! I tried updating both /usr/src and /usr/ports with OpenCVS. It worked, but it also downloaded empty directories (GNU CVS never did that): $ ls /usr/src/ CVSMakefile.cross distribgames include kerberosV libexecregressshare usr.bin Makefile binetcgnukerberosIV liblkmsbin sysusr.sbin $ ls /usr/src/kerberosIV/man/ CVS $ ls /usr/ports/www/vimb/ CVS patches pkg $ My ~/.cvsrc is: # $OpenBSD: dot.cvsrc,v 1.3 2016/10/31 20:50:11 tb Exp $ # diff -uNp update -Pd checkout -P rdiff -u
Re: Good GPU for OpenBSD build?
I believe this is easy to read: https://www.openbsd.org/amd64.html Kernel drivers != X.org drivers
Re: wxallowed flag
On Fri, Jan 26, 2018 at 08:12:11PM -0700, Theo de Raadt wrote: > I think you have interpreted the situation backwards. > > The wxallowed flag is not on other filesystems. Therefore, binaries > on those filesystems which misbehave will fail. > > There are about 15 programs which need fixing, and the wxallowed could > become a piece of history. > > Unfortunately some of those 15 are very large ecosystems, and their > upstreams are not yet concerned about this problem. > > >Is this a really good idea to keep wxallowed flag on /usr/local by > >default? Is this so scary that many poop software will break (this is > >not a big loss at all)? After all not enabling this flag by default is > >the right thing to do, reliance on W|X should go to /dev/null > > > >The only problem I see after removing this flag and removing python > >is that it also removes packages which, for example, have > >devel/desktop-file-utils in run dependencies, but they work without it. > > > > Hm, grepping Makefiles finds 51 files which contain USE_WXNEEDED. As I understand many of these ports are clean (for example, python), but this variable is used for their broken extensions. So, I have to identify which ones are exactly broken (Stuart Henderson said this is the trickier part), contact their developers (if the software is not abandoned) and send patches, right? databases/mongodb/Makefile:USE_WXNEEDED = Yes devel/darcs/Makefile:USE_WXNEEDED = Yes devel/mono-addins/Makefile:USE_WXNEEDED = Yes devel/qt-creator/Makefile:USE_WXNEEDED =Yes devel/spidermonkey52/Makefile:USE_WXNEEDED =Yes devel/valgrind/Makefile:USE_WXNEEDED = Yes devel/zeal/Makefile:USE_WXNEEDED = Yes editors/ghostwriter/Makefile:USE_WXNEEDED = Yes editors/libreoffice/Makefile:USE_WXNEEDED= Yes emulators/desmume/Makefile:USE_WXNEEDED = Yes emulators/dynamips/Makefile:USE_WXNEEDED= Yes emulators/higan/Makefile:USE_WXNEEDED = Yes emulators/mednafen/Makefile:USE_WXNEEDED = Yes emulators/qemu/Makefile:USE_WXNEEDED= Yes emulators/sdlmame/Makefile:USE_WXNEEDED=Yes games/urbanterror/Makefile:USE_WXNEEDED = Yes lang/gforth/Makefile:USE_WXNEEDED = Yes lang/ghc/Makefile:USE_WXNEEDED =special lang/libv8/Makefile:USE_WXNEEDED= Yes lang/mono/Makefile:USE_WXNEEDED=Yes lang/node/Makefile:USE_WXNEEDED = Yes lang/obc/Makefile:USE_WXNEEDED =Yes lang/python/Makefile.inc:USE_WXNEEDED = Yes lang/racket-minimal/Makefile:USE_WXNEEDED = Yes lang/ruby/Makefile.inc:USE_WXNEEDED ?= Yes lang/sbcl/Makefile:USE_WXNEEDED = Yes net/qsyncthingtray/Makefile:USE_WXNEEDED = Yes textproc/wkhtmltopdf/Makefile:USE_WXNEEDED =Yes www/chromium/Makefile:USE_WXNEEDED= Yes www/iridium/Makefile:USE_WXNEEDED= Yes www/phantomjs/Makefile:USE_WXNEEDED = Yes www/ruby-capybara-webkit/Makefile:USE_WXNEEDED =Yes www/webkit/Makefile:USE_WXNEEDED = Yes www/webkitgtk4/Makefile:USE_WXNEEDED = Yes x11/cool-retro-term/Makefile:USE_WXNEEDED = Yes x11/qt4/Makefile:USE_WXNEEDED = Yes # QtWebKit x11/smtube/Makefile:USE_WXNEEDED = Yes devel/jdk/1.8/Makefile:USE_WXNEEDED=Yes emulators/mupen64plus/ui-console/Makefile:USE_WXNEEDED =Yes games/0ad/base/Makefile:USE_WXNEEDED = Yes x11/gnome/devhelp/Makefile:USE_WXNEEDED=Yes x11/gnome/gjs/Makefile:USE_WXNEEDED=Yes x11/gnome/libgepub/Makefile:USE_WXNEEDED= Yes x11/gnome/shell/Makefile:USE_WXNEEDED= Yes x11/mate/atril/Makefile:USE_WXNEEDED= Yes x11/mate/engrampa/Makefile:USE_WXNEEDED=Yes x11/mate/eom/Makefile:USE_WXNEEDED= Yes x11/mate/pluma/Makefile:USE_WXNEEDED= Yes x11/qt5/qtdeclarative/Makefile:USE_WXNEEDED = Yes x11/qt5/qtwebengine/Makefile:USE_WXNEEDED = Yes x11/qt5/qtwebkit/Makefile:USE_WXNEEDED =Yes
Re: wxallowed flag
Well, I've just checked python's port and created a package without USE_WXNEEDED and it works pretty well. How about I'll send a patch to ports@ which will create "wx" or "no_wx" flavor?
Re: wxallowed flag
On Fri, Jan 26, 2018 at 12:28:00PM +0100, Marc Espie wrote: > On Fri, Jan 26, 2018 at 12:56:15PM +0200, mazocomp wrote: > > Hi! > > > > Is this a really good idea to keep wxallowed flag on /usr/local by > > default? Is this so scary that many poop software will break (this is > > not a big loss at all)? After all not enabling this flag by default is > > the right thing to do, reliance on W|X should go to /dev/null > > > > The only problem I see after removing this flag and removing python > > is that it also removes packages which, for example, have > > devel/desktop-file-utils in run dependencies, but they work without it. > > I don't see your patches for fixing the rather important shit that still > requires wxallowed. > So you mean broken packages are more important than system's default security? Was that true when ProPolice was enabled by default?
wxallowed flag
Hi! Is this a really good idea to keep wxallowed flag on /usr/local by default? Is this so scary that many poop software will break (this is not a big loss at all)? After all not enabling this flag by default is the right thing to do, reliance on W|X should go to /dev/null The only problem I see after removing this flag and removing python is that it also removes packages which, for example, have devel/desktop-file-utils in run dependencies, but they work without it.
Re: History documentation
On Wed, Jan 24, 2018 at 12:22:18PM +0100, who one wrote: > Hey, strange, there is 5.3 in > https://cloudflare.cdn.openbsd.org/pub/OpenBSD/doc/history/ > > is this still maintained? > > Many thanks. > > > Sent: Saturday, January 20, 2018 at 1:21 PM > > From: mazocomp > > To: misc@openbsd.org > > Subject: History documentation > > > > Hi! > > Both obsd-faq.txt and pf-faq.txt in pub/OpenBSD/doc/ are same as > > obsd-faq52.txt and pf-faq52.txt in pub/OpenBSD/doc/history/ > > So I wonder is there a point to keep them out of date? > > > > > Well, it doesn't look like it is maintained.
History documentation
Hi! Both obsd-faq.txt and pf-faq.txt in pub/OpenBSD/doc/ are same as obsd-faq52.txt and pf-faq52.txt in pub/OpenBSD/doc/history/ So I wonder is there a point to keep them out of date?
Re: 6.2-current on a MacBook
On Sat, Jan 13, 2018 at 05:18:49PM +0100, Stefan Sperling wrote: > On Sat, Jan 13, 2018 at 04:35:49PM +0100, Jan Stary wrote: > > This is 6.2-current on an old MacBook1,1 model A1181. > > Everythng seems to work fine (dmesg below). > > > > What do people use for pasting instead of > > the nonexistent and shift-insert? > > A USB mouse :) > I do: $ dmesg > dmesg.log And then I just attach that file to my mail: OpenBSD 6.2-current (GENERIC.MP) #342: Wed Jan 10 17:12:33 MST 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4192116736 (3997MB) avail mem = 4058152960 (3870MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe6f10 (68 entries) bios0: vendor LENOVO version "E0CN47WW" date 03/23/2016 bios0: LENOVO 80QQ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI ASF! BOOT LPIT MCFG SSDT UEFI ASPT HPET WDAT SSDT POAT APIC SSDT SSDT DBGP DMAR CSRT FPDT acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) GLAN(S4) EHC1(S3) EHC2(S4) XHC_(S3) HDEF(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 addr 0xe000, bus 0-255 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-5005U CPU @ 2.00GHz, 1895.90 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,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,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache acpihpet0: recalibrated TSC frequency 1995385738 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.2.4.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz, 1895.62 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,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,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT 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-5005U CPU @ 2.00GHz, 1895.62 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,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,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT 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-5005U CPU @ 2.00GHz, 1895.62 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,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,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 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG0) acpiprt2 at acpi0: bus -1 (PEG1) acpiprt3 at acpi0: bus -1 (PEG2) acpiprt4 at acpi0: bus 1 (RP01) acpiprt5 at acpi0: bus -1 (RP02) acpiprt6 at acpi0: bus 2 (RP03) acpiprt7 at acpi0: bus 3 (RP04) acpiprt8 at acpi0: bus -1 (RP05) acpiprt9 at acpi0: bus -1 (RP06) acpiprt10 at acpi0: bus -1 (RP07) acpiprt11 at acpi0: bus -1 (RP08) acpiec0 at acpi0 acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpibat0 at acpi0: BAT0 model "15S4A01" serial 1120 type LiP oem "ANYO" "VPC2004" at acpi0 not configured "INT3F0D" at acpi0 not configured "IDEA0100" at acpi0 not configured "ETD064D" at acpi0 not configured acpiac0 at acpi0: AC unit offline acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB "INT340E" at acpi
Advanced Programming in the Unix Environment 3rd Edition
diff --git books.html books.html index 0a3abb7e8..93fef71b1 100644 --- books.html +++ books.html @@ -319,7 +319,7 @@ This book is similar to The Practice of Programming, but older. The examples are given in Fortran and PL/I. -Advanced Programming in the Unix Environment (2nd Edition) +Advanced Programming in the Unix Environment (3rd Edition) by W. Richard Stevens, Stephen A. Rago This is a very detailed and easy to read book. It has several examples
uvideo0: could not open VS pipe: INVAL + error: [drm:pid49266:intel_pipe_update_start] *ERROR* Potential atomic update failure on pipe A
$ fswebcam --- Opening /dev/video0... Trying source module v4l2... /dev/video0 opened. No input was specified, using the first. Adjusting resolution from 384x288 to 320x240. Error starting stream. VIDIOC_STREAMON: Invalid argument Unable to use mmap. Using read instead. --- Capturing frame... Timed out waiting for frame! No frames captured. $ dmesg | grep video acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F uvideo0 at uhub0 port 6 configuration 1 interface 0 "Chicony Electronics Co.,Ltd. Lenovo EasyCamera" rev 2.00/95.60 addr 5 video0 at uvideo0 uvideo0: could not open VS pipe: INVAL uvideo0: could not open VS pipe: INVAL $ dmesg | grep error error: [drm:pid49266:intel_pipe_update_start] *ERROR* Potential atomic update failure on pipe A $ I hope that is fixable, I'd like to use my built-in webcam for videocalls... By the way, I think the only solution for this: $ dmesg | grep 8188EE "Realtek 8188EE" rev 0x01 at pci3 dev 0 function 0 not configured $ is smashing this built-in adapter with hammer. Full dmesg + sysctl: OpenBSD 6.2-beta (GENERIC.MP) #74: Tue Sep 5 23:38:55 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4192116736 (3997MB) avail mem = 4058050560 (3870MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe6f10 (68 entries) bios0: vendor LENOVO version "E0CN47WW" date 03/23/2016 bios0: LENOVO 80QQ acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI ASF! BOOT LPIT MCFG SSDT UEFI ASPT HPET WDAT SSDT POAT APIC SSDT SSDT DBGP DMAR CSRT FPDT acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) GLAN(S4) EHC1(S3) EHC2(S4) XHC_(S3) HDEF(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 addr 0xe000, bus 0-255 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-5005U CPU @ 2.00GHz, 1995.63 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,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,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: TSC frequency 1995630480 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.2.4.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz, 1995.38 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,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,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT 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-5005U CPU @ 2.00GHz, 1995.38 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,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,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT 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-5005U CPU @ 2.00GHz, 1995.38 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,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,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 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG0) acpiprt2 at acpi0: bus -1 (PEG1) acpiprt3 at acpi0: bus -1 (PEG2) acpiprt4 at acpi0: bus 1 (RP01) acpiprt5 at acpi0: bus -1 (RP02) acpiprt6 at acpi0: bus 2 (RP03) acpiprt7 at acpi0: bus 3 (RP04) acpiprt8 at acpi0: bus -1 (RP05) acpiprt9 at acpi0: bus -1 (RP06) acpiprt10 at acpi0: bus -1 (RP07) acpiprt11 at acpi0: bus -1 (RP08) acpiec0 at acpi0 acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1