libGL error: failed to open drm device: Permission denied
Hello misc@, I noticed the following error while running chrome from the shell this evening: libGL error: failed to open drm device: Permission denied libGL error: failed to load driver: i965 Which I think means that I'm not getting accelerated X. A search of misc archives led me to this: https://marc.info/?l=openbsd-misc&m=146159057503035&w=2 which in turn led to: https://marc.info/?l=openbsd-misc&m=145125527304834&w=2 Based on the information in those threads, I checked to see what TTY I was logged in on: gabe@xps:~$ env _=/usr/bin/env LOGNAME=gabe WINDOWPATH=ttyC4 WINDOWID=20971533 XTERM_SHELL=/bin/ksh HOME=/home/gabe LC_CTYPE=en_US.UTF-8 XTERM_VERSION=XTerm/OpenBSD(330) DISPLAY=:0 SSH_AGENT_PID=92062 GOPATH=/home/gabe PATH=/home/gabe/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games SSH_AUTH_SOCK=/tmp/ssh-xfkLowrabhm9/agent.77539 PS1=\[\u@\]\[\h\]:\[\w\]\$ TERM=screen-256color SHELL=/bin/ksh USER=gabe XTERM_LOCALE=en_US.UTF-8 Seemingly WINDOWPATH=ttyC4 (but I don't really know the right way to check this) - so I added an entry to my /etc/fbtab: /dev/ttyC4 0600 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/drm0 duplicating what I saw for ttyC0. I rebotted and confirmed that I was indeed now the owner of /dev/drm0: gabe@xps:~$ ls -l /dev/drm* crw--- 1 gabe wheel 87, 0 Aug 25 21:18 /dev/drm0 crw--- 1 root wheel 87, 1 Aug 25 21:18 /dev/drm1 crw--- 1 root wheel 87, 2 Aug 25 21:18 /dev/drm2 crw--- 1 root wheel 87, 3 Aug 25 21:18 /dev/drm3 Then I ran glxgears, and got the permission denied message again: gabe@xps:~$ glxgears libGL error: failed to open drm device: Permission denied libGL error: failed to load driver: i965 And, sure enough when I rechecked /dev/drm: gabe@xps:~$ ls -l /dev/drm* crw--- 1 root wheel 87, 0 Aug 25 21:18 /dev/drm0 crw--- 1 root wheel 87, 1 Aug 25 21:18 /dev/drm1 crw--- 1 root wheel 87, 2 Aug 25 21:18 /dev/drm2 crw--- 1 root wheel 87, 3 Aug 25 21:18 /dev/drm3 I'm no longer the owner. I'm not sure when this started, but I don't have this issue on my 6.1 box, just on the one running current. Sometimes, forcing the permissions on /dev/drm0 does work: gabe@xps:~$ doas chown gabe /dev/drm0 doas (g...@xps.my.domain) password: gabe@xps:~$ glxgears Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. But then, as soon as I exit glxgears, /dev/drm0 goes right back to being owned by root, and the error message comes back. Xorg log, and dmesg below... there are some drm0 errors in the dmesg that maybe are related? If anyone has any ideas, I'm open to trying them out. If not, I'l probably do a clean install on this machine as it has been awhile since the last one. Also, not sure if it's relevant, but I'm a member of the `staff` login class on this machine Thanks, gabe. gabe@xps:~$ cat /var/log/Xorg.0.log [20.707] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem (Operation not permitted) Check that you have set 'machdep.allowaperture=1' in /etc/sysctl.conf and reboot your machine refer to xf86(4) for details [20.707]linear framebuffer access unavailable [20.716] (--) Using wscons driver on /dev/ttyC4 [20.730] X.Org X Server 1.18.4 Release Date: 2016-07-19 [20.730] X Protocol Version 11, Revision 0 [20.730] Build Operating System: OpenBSD 6.2 amd64 [20.730] Current Operating System: OpenBSD xps.my.domain 6.2 GENERIC.MP#40 amd64 [20.730] Build Date: 25 August 2017 11:23:34AM [20.730] [20.730] Current version of pixman: 0.34.0 [20.730]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [20.730] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [20.731] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 25 22:22:37 2017 [20.732] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" [20.733] (==) No Layout section. Using the first Screen section. [20.733] (==) No screen section available. Using defaults. [20.733] (**) |-->Screen "Default Screen Section" (0) [20.733] (**) | |-->Monitor "" [20.734] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [20.734] (==) Disabling SIGIO handlers for input devices [20.734] (==) Automatically adding devices [20.734] (==) Automatically enabling devices [20.734] (==) Not automatically adding GPU devices [20.734] (==) Max clients allowed: 256, resource mask: 0x1f [20.740] (==) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/f
/etc/netstart - order of operations (lo vs physical interfaces)
Just a quick clarification, lo(4) says that the loopback interface should be configured last, and /etc/netstart seems to support this but netstart(8) says that the loopback interface is configured `before` physical interfaces: from netstart(8): > netstart performs the following operations, in the sequence given: > > • Set the machine's name. > • Configure the loopback interface. > • Configure all the physical interfaces. from lo(4): > The loopback interface should be the last interface configured, as > protocols may use the order of configuration as an indication of > priority. The loopback should never be configured first unless no > hardware interfaces exist. Typo, or am I misunderstanding something? If it's a typo, patch to update netstart(8) inline. Thanks, gabe. index: netstart.8 │·· === │·· RCS file: /cvs/src/share/man/man8/netstart.8,v │·· retrieving revision 1.23 │·· diff -u -p -r1.23 netstart.8 │·· --- netstart.8 7 Mar 2018 09:54:23 - 1.23 │·· +++ netstart.8 27 Apr 2018 12:18:44 - │·· @@ -60,9 +60,9 @@ performs the following operations, in th │·· .It │·· Set the machine's name. │·· .It │·· -Configure the loopback interface. │·· -.It │·· Configure all the physical interfaces. │·· +.It │·· +Configure the loopback interface. │·· .It │·· Configure the following non-physical interfaces: │·· .Xr trunk 4 ,
Re: PPPoE connection closing right after authentication?
On 03/20, Jon Martin wrote: > I'm hoping someone can do a sanity check for me. > > I'm trying to get an OpenBSD 6.2 router working with Teksavvy DSL. > Teksavvy uses PPPoE over Telus DSL. It seems to authenticate just fine, > but then my box immediately terminates the connection? > > My hostname.pppoe0, pretty much straight out of the man pages: > > inet 0.0.0.0 255.255.255.255 NONE \ > pppoedev em0 \ > authproto pap authname 'myteka...@teksavvy.com' authkey 'HiThere' \ > up debug > dest 0.0.0.1 > !/sbin/route add default -ifp pppoe0 0.0.0.1 > > Explicity turning off the dial-on-demand link1 flag does not change the > behaviour I'm seeing. I have put the logs created by the debug flag at > the bottom of this message. I'm on teksavvy as well, only thing I had to do special was login to the DSL modem and tell it to stop trying to login over PPPoE as well. I don't think you can be logged in twice. Not sure this is your issue, but might want to double check. gabe.
Re: Hard Freeze with Snapshots After Aug 19 on ThinkPad X1 Carbon
On 08/30, Bryan Vyhmeister wrote: > I'm running OpenBSD/amd64 5.4-current with GENERIC.MP from 2013/08/19 > downloaded from the mirrors on a Levovo ThinkPad X1 Carbon. Both > snapshots I have tried (2013/08/25 and 2013/08/29) after the 19th have > resulted in hard system freezes every few hours. I don't have any logs > or anything else that indicate a hard freeze but everything just hard > freezes. I first noticed because I left the ThinkPad running overnight > on my desk and when I came back to the system the next morning it was > hard frozen. Several times during the day while I'm working I have also > experienced the same thing. Anyone else seeing something similar? > > Bryan I'm seeing the same thing on my desktop (dmesg below). Random freezes, no debug output that I've seen in any logs, first time I noticed was after updating to aug24 snapshot, behavior is the same with aug29th. I followed instructions in current for upgrading, perhaps I'll try a fresh install (non upgrade) w/the latest snap to see if that helps. Don't have much more data at the moment, still can't reliably get the freeze to happen, sometimes it's when I launch tmux (tmux attach -t0) sometimes it's when I have a lot of xterms open... last night it was when I was playing warzone2100 (hey, I just got good video support with my radeon card!!!) always happens in X though, I can use the machine all day long via ssh from work w/out an issue. I'll try and track down more data, and run through the disable apmd, etc process laster this afternoon. And if it's useful, I can backtrack through snapshots to see where this started happening. gabe. OpenBSD 5.4-current (GENERIC.MP) #48: Thu Aug 29 11:22:15 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8031686656 (7659MB) avail mem = 7809785856 (7447MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb2c0 (50 entries) bios0: vendor AMI version "P01-B2" date 08/03/2011 bios0: Acer Aspire X1430 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG SLIC HPET SSDT SSDT acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) GEC_(S4) PE20(S4) PE21(S4) PE22(S4) PE23(S4) UHC1(S3) UHC2(S3) USB3(S3) UHC4(S3) USB5(S3) UHC7(S3) UHC6(S3) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD E-450 APU with Radeon(tm) HD Graphics, 1647.32 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,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: 8 4MB entries fully associative cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu0: smt 0, core 0, package 0 cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD E-450 APU with Radeon(tm) HD Graphics, 1646.49 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,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache cpu1: 8 4MB entries fully associative cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 0 pa 0xfec0, version 21, 24 pins ioapic0: misconfigured as apic 3, remapped to apid 0 acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (PE20) acpiprt2 at acpi0: bus -1 (PE21) acpiprt3 at acpi0: bus 6 (PE22) acpiprt4 at acpi0: bus -1 (PE23) acpiprt5 at acpi0: bus -1 (BR15) acpiprt6 at acpi0: bus -1 (PCE6) acpiprt7 at acpi0: bus -1 (PCE7) acpiprt8 at acpi0: bus -1 (PCE8) acpiprt9 at acpi0: bus 1 (BR14) acpicpu0 at acpi0: C2, PSS acpicpu1 at acpi0: C2, PSS acpibtn0 at acpi0: PWRB cpu0: 1647 MHz: speeds: 1650 1320 825 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "AMD AMD64 14h Host" rev 0x00 radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 6320" rev 0x00: apic 0 int 18 drm0 at radeondrm0 azalia0 at pci0 dev 1 function 1 "ATI Radeon HD 6310 HD Audio" rev 0x00: msi azalia0: no supported codecs ppb0 at pci0 dev 4 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi pci1 at ppb0 bus 1 ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 0 int 19, AHCI 1.2 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed naa.5001517959405bba sd0: 76319MB, 512 bytes/sector, 156301488 sectors, thin sd1 at scsibus0 targ 1 lun 0: SCSI3 0/direct fixed naa.5000c500359a829f sd1: 476940MB, 512 bytes/sector, 976773168 sectors ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00:
Re: Hard Freeze with Snapshots After Aug 19 on ThinkPad X1 Carbon
On 09/02, Gabriel Guzman wrote: > On 08/30, Bryan Vyhmeister wrote: > > I'm running OpenBSD/amd64 5.4-current with GENERIC.MP from 2013/08/19 > > downloaded from the mirrors on a Levovo ThinkPad X1 Carbon. Both > > snapshots I have tried (2013/08/25 and 2013/08/29) after the 19th have > > resulted in hard system freezes every few hours. I don't have any logs > > or anything else that indicate a hard freeze but everything just hard > > freezes. I first noticed because I left the ThinkPad running overnight > > on my desk and when I came back to the system the next morning it was > > hard frozen. Several times during the day while I'm working I have also > > experienced the same thing. Anyone else seeing something similar? > > > > Bryan > > I'm seeing the same thing on my desktop (dmesg below). Random freezes, > no debug output that I've seen in any logs, first time I noticed was > after updating to aug24 snapshot, behavior is the same with aug29th. > > I followed instructions in current for upgrading, perhaps I'll try a > fresh install (non upgrade) w/the latest snap to see if that helps. Completed a fresh install to the Sept 3rd snapshot and was still having the same problem, though much less frequently. Just upgraded to sept 7th snap this evening, and so far so good. dmesg and xorg logs attached for the record. I'll keep playing and updating and see if it happens again. Thanks for the hard work! gabe. OpenBSD 5.4-current (GENERIC.MP) #51: Fri Sep 6 11:44:23 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8031686656 (7659MB) avail mem = 7809789952 (7447MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb2c0 (50 entries) bios0: vendor AMI version "P01-B2" date 08/03/2011 bios0: Acer Aspire X1430 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG SLIC HPET SSDT SSDT acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) GEC_(S4) PE20(S4) PE21(S4) PE22(S4) PE23(S4) UHC1(S3) UHC2(S3) USB3(S3) UHC4(S3) USB5(S3) UHC7(S3) UHC6(S3) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD E-450 APU with Radeon(tm) HD Graphics, 1647.30 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,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: 8 4MB entries fully associative cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu0: smt 0, core 0, package 0 cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD E-450 APU with Radeon(tm) HD Graphics, 1646.50 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,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache cpu1: 8 4MB entries fully associative cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 0 pa 0xfec0, version 21, 24 pins ioapic0: misconfigured as apic 3, remapped to apid 0 acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (PE20) acpiprt2 at acpi0: bus -1 (PE21) acpiprt3 at acpi0: bus 6 (PE22) acpiprt4 at acpi0: bus -1 (PE23) acpiprt5 at acpi0: bus -1 (BR15) acpiprt6 at acpi0: bus -1 (PCE6) acpiprt7 at acpi0: bus -1 (PCE7) acpiprt8 at acpi0: bus -1 (PCE8) acpiprt9 at acpi0: bus 1 (BR14) acpicpu0 at acpi0: C2, PSS acpicpu1 at acpi0: C2, PSS acpibtn0 at acpi0: PWRB cpu0: 1647 MHz: speeds: 1650 1320 825 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "AMD AMD64 14h Host" rev 0x00 radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 6320" rev 0x00: apic 0 int 18 drm0 at radeondrm0 azalia0 at pci0 dev 1 function 1 "ATI Radeon HD 6310 HD Audio" rev 0x00: msi azalia0: no supported codecs ppb0 at pci0 dev 4 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi pci1 at ppb0 bus 1 ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 0 int 19, AHCI 1.2 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed naa.5001517959405bba sd0: 76319MB, 512 bytes/sector, 156301488 sectors, thin sd1 at scsibus0 targ 1 lun 0: SCSI3 0/direct fixed naa.5000c500359a829f sd1: 476940MB, 512 bytes/sector, 976773168 sectors ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 0 i
porter's handbook - pkg-readmes
While working on a port recently, I was unable to find documentation on creating a pkg-readme. I'm not sure if it's not there, or I just didn't look hard enough. In any case, here's a proposed change to www/faq/ports/specialtopics.html to add some information about pkg-readmes. If this is something that's better left undocumented to prevent exponential growth of readme files for frivolous reasons... well, then feel free to ignore this patch. I'm happy to add more information to relevant man pages as well, but not sure where it would make sense. gabe. Index: specialtopics.html === RCS file: /var/cvs/www/faq/ports/specialtopics.html,v retrieving revision 1.29 diff -u -p -u -r1.29 specialtopics.html --- specialtopics.html 10 Oct 2012 08:50:07 - 1.29 +++ specialtopics.html 18 Oct 2013 02:04:58 - @@ -51,6 +51,7 @@ PERFORMANCE OF THIS DOCUMENTATION 3.4 - Audio Applications 3.5 - Manual pages 3.6 - rc.d(8) scripts + 3.7 - Package Readmes @@ -1217,6 +1218,30 @@ A script can also be found in the templates directory of your ports tree. + + + +3.7 - Package Readmes +This section provides details on installing a package readme. + +Does my package need a readme? +A package may require special instructions to run on OpenBSD, or +additional files may need to be downloaded before the port will work +properly, or your port may rely on additional packages to support +additional functionality. If this is the case, and you are unable to +provide those features via flavors, a readme may be warranted. + +Creating and installing a readme +You can create a README file in the pkg directory of your port with +the relevant information. Once your file is complete, add + +@cwd ${LOCALBASE}/share/doc/pkg-readmes +${FULLPKGNAME} + +to your generated PLIST file. This will allow the pkg tools to copy +your README to /usr/local/share/doc/pkg-readmes/ when your port is +installed, and notify the user to check there for additional +information.
Re: porter's handbook - pkg-readmes
On 10/18, Stuart Henderson wrote: > On 2013-10-18, Gabriel Guzman wrote: > > +Does my package need a readme? > > +A package may require special instructions to run on OpenBSD, or > > +additional files may need to be downloaded before the port will work > > +properly, or your port may rely on additional packages to support > > +additional functionality. If this is the case, and you are unable to > > new sentence, new line > > > +provide those features via flavors, a readme may be warranted. > > I wouldn't talk about flavours here, this encourages people to add > flavours just for optional deps > > > + > > +Creating and installing a readme > > +You can create a README file in the pkg directory of your port with > > +the relevant information. Once your file is complete, add > > should tell people to base it on infrastructure/README.template > > > + > > +@cwd ${LOCALBASE}/share/doc/pkg-readmes > > +${FULLPKGNAME} > > + > > +to your generated PLIST file. This will allow the pkg tools to copy > > +your README to /usr/local/share/doc/pkg-readmes/ when your port is > > +installed, and notify the user to check there for additional > > +information. > > Adding this manually with @cwd is only for things where PREFIX has > been changed, normally "make plist" picks this up by itself.. > Thanks for the feedback, here's a diff w/the requested changes. gabe. Index: specialtopics.html === RCS file: /var/cvs/www/faq/ports/specialtopics.html,v retrieving revision 1.29 diff -u -p -u -r1.29 specialtopics.html --- specialtopics.html 10 Oct 2012 08:50:07 - 1.29 +++ specialtopics.html 18 Oct 2013 23:29:00 - @@ -51,6 +51,7 @@ PERFORMANCE OF THIS DOCUMENTATION 3.4 - Audio Applications 3.5 - Manual pages 3.6 - rc.d(8) scripts + 3.7 - Package Readmes @@ -1217,6 +1218,39 @@ A script can also be found in the templates directory of your ports tree. + + + +3.7 - Package Readmes +This section provides details on installing a package readme. + +Does my package need a readme? +A package may require special instructions to run on OpenBSD, or +additional files may need to be downloaded before the port will work +properly, or your port may rely on additional packages to support +additional functionality. +If this is the case, a readme may be warranted. + +Creating and installing a readme +You can create a README file in the pkg directory of your port with +the relevant information. +You should base your readme on the template proivded in +ports/infrastructure/README.template +Once your file is complete, the pkg tools will automatically copy it +to /usr/local/share/doc/pkg-readmes/ and notify the user to check there +for additional information. + +use make lib-depends-check or +Alternate PREFIX +If you need to modify ${PREFIX} for your port, and +make plist is unable to automatically pick up your +README file, you may need to add + + +@cwd ${LOCALBASE}/share/doc/pkg-readmes +${FULLPKGNAME} + +to your generated PLIST file.
Re: porter's handbook - pkg-readmes
On 10/19, Gabriel Guzman wrote: > On 10/18, Stuart Henderson wrote: > > On 2013-10-18, Gabriel Guzman wrote: > > > +Does my package need a readme? > > > +A package may require special instructions to run on OpenBSD, or > > > +additional files may need to be downloaded before the port will work > > > +properly, or your port may rely on additional packages to support > > > +additional functionality. If this is the case, and you are unable to > > > > new sentence, new line > > > > > +provide those features via flavors, a readme may be warranted. > > > > I wouldn't talk about flavours here, this encourages people to add > > flavours just for optional deps > > > > > + > > > +Creating and installing a readme > > > +You can create a README file in the pkg directory of your port with > > > +the relevant information. Once your file is complete, add > > > > should tell people to base it on infrastructure/README.template > > > > > + > > > +@cwd ${LOCALBASE}/share/doc/pkg-readmes > > > +${FULLPKGNAME} > > > + > > > +to your generated PLIST file. This will allow the pkg tools to copy > > > +your README to /usr/local/share/doc/pkg-readmes/ when your port is > > > +installed, and notify the user to check there for additional > > > +information. > > > > Adding this manually with @cwd is only for things where PREFIX has > > been changed, normally "make plist" picks this up by itself.. > > > > Thanks for the feedback, here's a diff w/the requested changes. > gabe. Opps, last diff had a typo... fixed. Index: specialtopics.html === RCS file: /var/cvs/www/faq/ports/specialtopics.html,v retrieving revision 1.29 diff -u -p -u -r1.29 specialtopics.html --- specialtopics.html 10 Oct 2012 08:50:07 - 1.29 +++ specialtopics.html 19 Oct 2013 16:07:29 - @@ -51,6 +51,7 @@ PERFORMANCE OF THIS DOCUMENTATION 3.4 - Audio Applications 3.5 - Manual pages 3.6 - rc.d(8) scripts + 3.7 - Package Readmes @@ -1217,6 +1218,38 @@ A script can also be found in the templates directory of your ports tree. + + + +3.7 - Package Readmes +This section provides details on installing a package readme. + +Does my package need a readme? +A package may require special instructions to run on OpenBSD, or +additional files may need to be downloaded before the port will work +properly, or your port may rely on additional packages to support +additional functionality. +If this is the case, a readme may be warranted. + +Creating and installing a readme +You can create a README file in the pkg directory of your port with +the relevant information. +You should base your readme on the template proivded in +ports/infrastructure/README.template +Once your file is complete, the pkg tools will automatically copy it +to /usr/local/share/doc/pkg-readmes/ and notify the user to check there +for additional information. + +Alternate PREFIX +If you need to modify ${PREFIX} for your port, and +make plist is unable to automatically pick up your +README file, you may need to add + + +@cwd ${LOCALBASE}/share/doc/pkg-readmes +${FULLPKGNAME} + +to your generated PLIST file.
/dev/urandom in chroot
Hello Misc, I have a web program that attempts to access /dev/urandom from within the /var/www chroot. Based on archive searches and googling, I've removed the nodev flag from that mount and have created the random devices in /var/www/dev/* This allows the program to work, but I'm wondering if there is a better way to do this that doesn't involve removing the nodev setting from /var. Would it be preferable to use a language function for getting pseudo random bytes instead of relying on the device? Thanks for your time, gabe.
Re: /dev/urandom in chroot
On 10/29, Theo de Raadt wrote: > >I have a web program that attempts to access /dev/urandom from within the > >/var/www chroot. Based on archive searches and googling, I've removed > >the nodev flag from that mount and have created the random devices in > >/var/www/dev/* > > So basically remove a layer of security. Awesome. See what they made > you do? Yeah, I didn't feel like that was a great idea. I was fairly sure the nodev flag was put there on purpose. > > The /dev/*random nodes are not specified in any standard, furthermore > once you get into chroot all bets are off (like you discovered). > > >This allows the program to work, but I'm wondering if there is a better > >way to do this that doesn't involve removing the nodev setting from > >/var. > > Rewrite it so that it uses other ways to get randomness. The arc4random > API is exposed in various programming layers. > > >Would it be preferable to use a language function for getting pseudo > >random bytes instead of relying on the device? > > Yes. Definately. Great, thanks for confirmation on that, I'll fix the program so I don't need to make devices inside my cozy chroot and push the changes upstream. gabe.
Re: Funding for Skylake support
On 01/07, Jordon wrote: > > On Jan 7, 2017, at 2:19 PM, Peter Membrey wrote: > > > > Hi all, > > > > I've gotten OpenBSD up and running on a new Intel NUC, but unfortunately > Skylake isn't supported. I was able to get X working in software accelerated > mode, but it would be great to see true support for the chipset. Unfortunately > I don't have the necessary skills to work on this myself, but I am willing to > put my money where my mouth is. > > > > I realise that for a lot of people, the issue is time and not money, but > that aside, would anybody be interested in focusing on adding support for > Skylake? The deliverable would be getting Skylake support merged. > > > > Happy to discuss what sort of funding would be needed. > > > > Thanks in advance! > > > > Kind Regards, > > > > Peter Membrey > > > > > I second this. OpenBSD runs really well on my TP x260 with the UEFI frame > buffer, but full Skylake support could turn it into my ‘main system’. > When Skylake support hits the tree, count me in for a donation as well. Donated now. Thanks OpenBSD, gabe.
man.openbsd.org truncating ksh(1) man page
Hello misc@, Not sure if there are other pages that also have this problem, but ksh(1): http://man.openbsd.org/OpenBSD-current/man1/ksh.1 is truncated somewhere in the *Parameters* section. The man page from 5.0: http://man.openbsd.org/OpenBSD-5.0/cat1/ksh.0 is ok, but starting at 5.1: http://man.openbsd.org/OpenBSD-5.1/man1/ksh.1 we have the problem, and it exists in all subsequent release man pages (on the web, man(1) manuals are just fine). I'm not sure where these are generated, or I'd take a look to see what's wrong. Thanks for OpenBSD! gabe.
Re: Openbsd broke my hard drive twice! Getting frustrated
I've been seeing a similar issue on a DELL XPS 13" Developer edition I got back in June -- ran fine with ubuntu as shipped with Dell, and then I wiped and installed OpenBSD and now can't even access the BIOS. I'm *sure* it's a BIOS issue as the BIOS is probably trying to do something silly with the hardisk. Haven't gotten around to flashing the BIOS to a newer version as I'm fairly sure I'll need to remove the harddisk before the system will even let me boot (and that involves taking apart most of the laptop). It's sad that BIOSes are so buggy these days, and a bit crazy that something you do to the disk would cause the BIOS to freak out. Oh well, whenever the Dell support people pick up the phone, I'll complain to them for all the good it will do. The Dell had no problem booting the install media from usb, was just when it came time to try and boot from HD that the BIOS freaked, and now won't allow me to access the BIOS settings or the "choose which media to boot from" menu. To the OP -- This is definitely not OpenBSD breaking your system, it's OpenBSD doing one of the things it does best... exposing bugs in *other* places (: and I feel your pain, it's quite frustrating when hardware we've paid for can't handle something that should be easy. gabe.
Re: Openbsd broke my hard drive twice! Getting frustrated
On 12/29, Gabriel Guzman wrote: > I've been seeing a similar issue on a DELL XPS 13" Developer edition I got > back in June -- ran fine with ubuntu as shipped with Dell, and then I > wiped and installed OpenBSD and now can't even access the BIOS. I figured out the issue. On my machine (DEL XPS 13) it was the "Intel Rapid Boot" option in BIOS. Disabling that resolved all my boot issues. I can now boot with MBR or GPT off the internal SSD. And, I can also access the BIOS with the internal SSD installed in the system (this was not possible before) gabe.
Re: Openbsd broke my hard drive twice! Getting frustrated
On 05/04, Christoph Viethen wrote: > Hello, > > on 04.05.2016 05:30, Gabriel Guzman wrote: > > > I figured out the issue. On my machine (DEL XPS 13) it was the "Intel > > Rapid Boot" option in BIOS. Disabling that resolved all my boot issues. > > I can now boot with MBR or GPT off the internal SSD. And, I can also > > access the BIOS with the internal SSD installed in the system (this was > > not possible before) > > Ooouuhh ... Intel Rapid Start still messing up machines? > > I'm aware your problem may be related to a different phenomenon. Just > meaning to say: Lenovo (and probably other large vendors as well) released > BIOS updates during 2014 to fix some rather nasty Intel Rapid Start issues, > so in case your machine is of sufficient age, you might like to look into > this. Thanks for the info! Yeah, my machine is from right around then. My BIOS version is from 2014, so it's possible this was fixed with a BIOS update. Thanks, gabe.
Re: Openbsd broke my hard drive twice! Getting frustrated
On 05/04, Andrew Gwozdziewycz wrote: > Hi Gabe, > > I found it possible to boot and install 5.9 on an XPS 13" (9333)[0], but > had problems getting the all important suspend to RAM (or anything which > allowed me to close the lid and reopen to resume work) to work. Were you > successful in getting this necessary laptop functionality working correctly? > > If so, would you mind sharing your configs? I'd love to reinstall OpenBSD > on this machine, but can't sacrifice that. Hi Andrew -- Suspend just works for me. No config necessary. I just made sure apmd was running and then either typing zzz, or closing the lid suspends the machine and opening it wakes it back up. Maybe it was an issue that has since been fixed? My machine is also an XPS 13 9333. dmesg included for good measuere. gabe. OpenBSD 5.9-current (GENERIC.MP) #2002: Sun May 1 06:35:58 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8474284032 (8081MB) avail mem = 8212860928 (7832MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe0fc0 (69 entries) bios0: vendor Dell Inc. version "A06" date 11/07/2014 bios0: Dell Inc. XPS13 9333 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP ASF! HPET LPIT APIC MCFG SSDT SSDT SSDT SSDT SSDT UEFI POAT BATB FPDT SLIC UEFI SSDT BGRT CSRT acpi0: wakeup devices P0P1(S4) GLAN(S4) EHC1(S4) EHC2(S4) XHC_(S4) HDEF(S4) TPD4(S4) TPD7(S0) TPD8(S0) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(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) i5-4210U CPU @ 1.70GHz, 1596.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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,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-4210U CPU @ 1.70GHz, 1596.31 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,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,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-4210U CPU @ 1.70GHz, 1596.31 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,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,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-4210U CPU @ 1.70GHz, 1596.31 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,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,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 (P0P1) acpiprt2 at acpi0: bus 1 (RP01) acpiprt3 at acpi0: bus 2 (RP03) acpiprt4 at acpi0: bus -1 (PEG0) acpiprt5 at acpi0: bus -1 (PEG1) acpiprt6 at acpi0: bus -1 (PEG2) acpiec0 at acpi0 acpicpu0 at acpi0: C3(200@332 mwait.1@0x50), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@332 mwait.1@0x50), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@332 mwait.1@0x50), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@332 mwait.1@0x50), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpitz0 at acpi0: critical temperature is 105 degC acpitz1 at acpi0: critical temperature is 105 degC "PNP0C14" at acpi0 not configured "INT3F0D" at acpi0 not configured "ACPI0008" at acpi0 not configured "MSFT0001" at acpi0 not configured "SYN0608" at acpi0 not configured dwiic0 at acpi0: I2C1 addr 0xfe
Dell XPS13 9333 Touchpad doesn't work
Hello misc@ I have a Dell XPS 13 9333 that I recently installed OpenBSD on. For the most part everything runs great. WiFi, suspend resume, everything. The laptop has both a touchscreen and a touchpad. The touchscreen works just fine, I can use it as a pointing device w/out problems. The touchpad however doesn't seem to be recognized by the system. I'm not sure if it's user error or some hardware that's not recognized. dmesg and other output included below. Anyone have any idea what I might be able to try to get this working? Plugging in an external mouse also works just fine. Thanks, gabe. OpenBSD 5.9-current (GENERIC.MP) #2002: Sun May 1 06:35:58 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8474284032 (8081MB) avail mem = 8212860928 (7832MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe0fc0 (69 entries) bios0: vendor Dell Inc. version "A06" date 11/07/2014 bios0: Dell Inc. XPS13 9333 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP ASF! HPET LPIT APIC MCFG SSDT SSDT SSDT SSDT SSDT UEFI POAT BATB FPDT SLIC UEFI SSDT BGRT CSRT acpi0: wakeup devices P0P1(S4) GLAN(S4) EHC1(S4) EHC2(S4) XHC_(S4) HDEF(S4) TPD4(S4) TPD7(S0) TPD8(S0) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(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) i5-4210U CPU @ 1.70GHz, 1596.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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,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-4210U CPU @ 1.70GHz, 1596.31 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,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,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-4210U CPU @ 1.70GHz, 1596.31 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,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,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-4210U CPU @ 1.70GHz, 1596.31 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,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,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 (P0P1) acpiprt2 at acpi0: bus 1 (RP01) acpiprt3 at acpi0: bus 2 (RP03) acpiprt4 at acpi0: bus -1 (PEG0) acpiprt5 at acpi0: bus -1 (PEG1) acpiprt6 at acpi0: bus -1 (PEG2) acpiec0 at acpi0 acpicpu0 at acpi0: C3(200@332 mwait.1@0x50), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@332 mwait.1@0x50), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@332 mwait.1@0x50), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@332 mwait.1@0x50), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpitz0 at acpi0: critical temperature is 105 degC acpitz1 at acpi0: critical temperature is 105 degC "PNP0C14" at acpi0 not configured "INT3F0D" at acpi0 not configured "ACPI0008" at acpi0 not configured "MSFT0001" at acpi0 not configured "SYN0608" at acpi0 not configured dwiic0 at acpi0: I2C1 addr 0xfe105000/0x1000 irq 7 iic0 at dwiic0 ihidev0 at iic0 addr 0x2c irq 39dwiic0: timed out reading remaining 29 , failed fetching initial HID descriptor "DLL060A" at acpi0 not configured acpibtn0 at
diff - FAQ5 missing info on updating current source tree
FAQ5 is missing a sentence: Index: faq5.html === RCS file: /cvs/www/faq/faq5.html,v retrieving revision 1.267 diff -u -p -u -r1.267 faq5.html --- faq5.html 1 May 2016 16:59:24 - 1.267 +++ faq5.html 6 May 2016 04:54:43 - @@ -263,6 +263,8 @@ $ cvs -qd anon...@anoncvs.example.org Replace src with the module you want, such as xenocara or ports. +Once you have the tree checked out, you can update it at a later time with + $ cd /usr/src $ cvs -qd anon...@anoncvs.example.org:/cvs up -Pd
Re: Dell XPS13 9333 Touchpad doesn't work
On 05/07, Mark Kettenis wrote: > Please send bug reports to b...@openbsd.org. > > > dwiic0 at acpi0: I2C1 addr 0xfe105000/0x1000 irq 7 > > iic0 at dwiic0 > > ihidev0 at iic0 addr 0x2c irq 39dwiic0: timed out reading remaining 29, > > failed fetching initial HID descriptor > > "DLL060A" at acpi0 not configured > > Can you try what happens if you disable dwiic in UKC? See > boot_config(8) for information on how to do that. Doesn't seem to make a difference. Strangely, while in UKC, if I hit the touchpad I do get gibberish on the screen (see below immediately after entering UKC I accidentally grazed the touchpad). Thanks for your help, gabe. OpenBSD 5.9-current (GENERIC.MP) #2002: Sun May 1 06:35:58 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8474284032 (8081MB) avail mem = 8212860928 (7832MB) User Kernel Config UKC> oo'7\^G7\^G7\^G7\^G\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H7\^G717\^G7\^G7\^G7\^G7\^G7\^G7\^G7\^G7\^G7\^G'\^G''o''\M-'\M-'\M-'\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^U\M^U\M^U\M^U\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G\^G Unknown command, try help UKC> UKC> DI\^H \^H\^H \^Hdisable \^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^H\^H \^Hfind di\^H \^Hwi UKC> disable dwiic0 UKC> \^Gk\^H \^Hfind dwi* UKC> find dwiic* 396 dwiic* at acpi0 flags 0x0 UKC> \^Gk\^H \^Hfind dwoi\^H \^H\^H \^Hiic0 UKC> find dwiic* 396 dwiic* at acpi0 flags 0x0 UKC> find dwiic0 UKC> find dwiic 396 dwiic* at acpi0 flags 0x0 UKC> disable dwiic 396 dwiic* disabled UKC> quit Continuing... mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe0fc0 (69 entries) bios0: vendor Dell Inc. version "A06" date 11/07/2014 bios0: Dell Inc. XPS13 9333 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP ASF! HPET LPIT APIC MCFG SSDT SSDT SSDT SSDT SSDT UEFI POAT BATB FPDT SLIC UEFI SSDT BGRT CSRT acpi0: wakeup devices P0P1(S4) GLAN(S4) EHC1(S4) EHC2(S4) XHC_(S4) HDEF(S4) TPD4(S4) TPD7(S0) TPD8(S0) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(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) i5-4210U CPU @ 1.70GHz, 1596.58 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF LUSH,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,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,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-4210U CPU @ 1.70GHz, 1596.31 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,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,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-4210U CPU @ 1.70GHz, 1596.31 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,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,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-4210U CPU @ 1.70GHz, 1596.31 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,D
Re: Hard Freeze with Snapshots After Aug 19 on ThinkPad X1 Carbon
On 09/02, Gabriel Guzman wrote: > On 08/30, Bryan Vyhmeister wrote: > > I'm running OpenBSD/amd64 5.4-current with GENERIC.MP from 2013/08/19 > > downloaded from the mirrors on a Levovo ThinkPad X1 Carbon. Both > > snapshots I have tried (2013/08/25 and 2013/08/29) after the 19th have > > resulted in hard system freezes every few hours. I don't have any logs > > or anything else that indicate a hard freeze but everything just hard > > freezes. I first noticed because I left the ThinkPad running overnight > > on my desk and when I came back to the system the next morning it was > > hard frozen. Several times during the day while I'm working I have also > > experienced the same thing. Anyone else seeing something similar? > > > > Bryan > > I'm seeing the same thing on my desktop (dmesg below). Random freezes, > no debug output that I've seen in any logs, first time I noticed was > after updating to aug24 snapshot, behavior is the same with aug29th. Just for the archives. No longer seeing any freezes. I noticed there was a commit that fixed some issues with radeon and drm in the changelog: "Moved most of the uses of workqs in drm(4) to the new taskq api. Fixes hangs on radeon(4)." which I guess was what the problem was, however since I was never able to produce any useful debug output along with my crashes, I'm not totally sure. dmesg attached for archives. thanks, gabe. OpenBSD 5.4-current (GENERIC.MP) #170: Fri Nov 29 13:36:17 MST 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8031686656 (7659MB) avail mem = 7809740800 (7447MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb2c0 (50 entries) bios0: vendor AMI version "P01-B2" date 08/03/2011 bios0: Acer Aspire X1430 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG SLIC HPET SSDT SSDT acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) GEC_(S4) PE20(S4) PE21(S4) PE22(S4) PE23(S4) UHC1(S3) UHC2(S3) USB3(S3) UHC4(S3) USB5(S3) UHC7(S3) UHC6(S3) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD E-450 APU with Radeon(tm) HD Graphics, 1646.69 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,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: 8 4MB entries fully associative cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu0: smt 0, core 0, package 0 cpu0: apic clock running at 199MHz cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD E-450 APU with Radeon(tm) HD Graphics, 1646.50 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,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache cpu1: 8 4MB entries fully associative cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 0 pa 0xfec0, version 21, 24 pins ioapic0: misconfigured as apic 3, remapped to apid 0 acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (PE20) acpiprt2 at acpi0: bus -1 (PE21) acpiprt3 at acpi0: bus 6 (PE22) acpiprt4 at acpi0: bus -1 (PE23) acpiprt5 at acpi0: bus -1 (BR15) acpiprt6 at acpi0: bus -1 (PCE6) acpiprt7 at acpi0: bus -1 (PCE7) acpiprt8 at acpi0: bus -1 (PCE8) acpiprt9 at acpi0: bus 1 (BR14) acpicpu0 at acpi0: C2, PSS acpicpu1 at acpi0: C2, PSS acpibtn0 at acpi0: PWRB cpu0: 1646 MHz: speeds: 1650 1320 825 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "AMD AMD64 14h Host" rev 0x00 radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 6320" rev 0x00: apic 0 int 18 drm0 at radeondrm0 azalia0 at pci0 dev 1 function 1 "ATI Radeon HD 6310 HD Audio" rev 0x00: msi azalia0: no supported codecs ppb0 at pci0 dev 4 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi pci1 at ppb0 bus 1 ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 0 int 19, AHCI 1.2 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed naa.5001517959405bba sd0: 76319MB, 512 bytes/sector, 156301488 sectors, thin sd1 at scsibus0 targ 1 lun 0: SCSI3 0/direct fixed naa.5000c500359a829f sd1: 476940MB, 512 bytes/sector, 976773168 sectors ohci0 at pci0 dev 18 function 0 "ATI SB700 USB"
is it ok to run smtpd on 127.0.0.1 and have pf rdr-to it
Hi list, The spamd(8) man page has the following example: table persist table persist file "/etc/mail/nospamd" pass in on egress proto tcp from any to any port smtp \ rdr-to 127.0.0.1 port spamd pass in on egress proto tcp from to any port smtp pass in log on egress proto tcp from to any port smtp pass out log on egress proto tcp to any port smtp Here, spamd is listening on 127.0.0.1, and smtpd is (presumably) listening on any interface. Is there a problem with only allowing smtpd to listen on 127.0.0.1 as well, and change the pass in rule to: pass in on egress proto tcp from to port smtp \ rdr-to 127.0.0.1 port smtp This configuration is working, but I want to be sure I'm not doing something stupid w/out realizing it. pf.conf and smtpd.conf files below. Thanks, gabe. ==pf.conf== # By default, do not permit remote connections to X11 block in on ! lo0 proto tcp to port 6000:6010 # cat pf.conf cat: pf.conf: No such file or directory # cat /etc/pf.conf # $OpenBSD: pf.conf,v 1.50 2011/04/28 00:19:42 mikeb Exp $ # # See pf.conf(5) for syntax and examples. # Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1 # in /etc/sysctl.conf if packets are to be forwarded between interfaces. # macros tcp_services="{ 53, 80, 113, 143, 443, 465 }" udp_services="{ 53 }" icmp_types="echoreq" # options set block-policy return set loginterface egress set skip on lo #scrub incoming packets match in all scrub (no-df) #setup a default deny policy block all #activate spoofing protection for all interfaces block in quick from urpf-failed #allow l2tp tunnels pass quick proto { esp, ah } from any to any pass in quick on egress proto udp from any to any \ port {500, 4500, 1701} keep state pass on enc0 from any to any keep state (if-bound) #allow tcp_services pass in on egress proto tcp to port $tcp_services keep state #allow udp_services pass in on egress proto udp to port $udp_services keep state # pass in icmp traffic pass in inet proto icmp all icmp-type $icmp_types #let this machine pass anything out pass out quick # rules for sshd(8) block quick from pass in on egress proto tcp to port ssh keep state \ (max-src-conn-rate 5/30, overload flush global) # rules for spamd(8) table persist table persist file "/etc/mail/nospamd" pass in on egress proto tcp to port smtp \ rdr-to 127.0.0.1 port spamd pass in on egress proto tcp from to port smtp \ rdr-to 127.0.0.1 port smtp pass in log on egress proto tcp from to port smtp \ rdr-to 127.0.0.1 port smtp pass out log on egress proto tcp to port smtp # By default, do not permit remote connections to X11 block in on ! lo0 proto tcp to port 6000:6010 ==smtpd.conf== # $OpenBSD: smtpd.conf,v 1.6 2013/01/26 09:38:25 gilles Exp $ # This is the smtpd server system-wide configuration file. # See smtpd.conf(5) for more information. listen on lo0 tls listen on egress smtps auth table aliases db:/etc/mail/aliases.db accept for local alias deliver to mbox accept from any for domain dojocho.org deliver to mbox accept from any for domain lifewaza.com deliver to mbox accept for any relay
Re: (5.4-i386) framebuffer console
On 12/14, Adam Jensen wrote: > On 12/14/2013 12:09 AM, Adam Jensen wrote: > >I noticed on [The OpenBSD 5.4 Release](http://www.openbsd.org/54.html) > > > >"wsdisplay(4) now attaches to inteldrm(4) and provides a framebuffer > >console." > > > >drm supports the radeon driver and I have an old Thinkpad T60 with: > > > >vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility X1300 M52-64" rev 0x00 > >radeondrm0 at vga1: apic 1 int 16 > > > > After closer inspection, wsdisplay attaches to inteldrm specifically, not > just generic drm. So I guess radeondrm isn't suitable for a framebuffer > console. Luckily, I have a machine with the Intel 945G Chipset that I can > re-task and dedicate to OpenBSD tinkering. Game on. Not sure if it made it in time for 5.4 or not, but running a current snapshot: radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 6320" rev 0x00: apic 0 int 18 drm0 at radeondrm0 radeondrm0: VRAM: 512M 0x - 0x1FFF (512M used) radeondrm0: GTT: 512M 0x2000 - 0x3FFF radeondrm0: 1920x1080 wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 radeondrm framebuffer just works. gabe.
Re: (5.4-i386) framebuffer console
On 12/14, Adam Jensen wrote: > On 12/14/2013 02:57 PM, Gabriel Guzman wrote: > >wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using > >wskbd0 > > > > Did you get a framebuffer (no X11) console working with a decent resolution radeondrm0: 1920x1080 > font and [much] more than 25 lines of 80 characters? If so, how did you do 51 lines, 161 characters. > it - what's your recipe? just boot the machine (: no tweaking required. I guess if it's not working for you, then something is wrong, since I didn't have to do anything to get it working on my end. I haven't tried to adjust the framebuffer settings, or change the font as the default is fine for me. gabe.
Re: Request for Funding our Electricity
On 01/14, Theo de Raadt wrote: > Nicolai, and others, > > I'd like to take the opportunity to thank all of those stepping up > to the call for contributions. Every little bit helps. > > For those who ask, the OpenBSD Foundation is the best path for > contributions. > > I hope some larger contributors will step up, to take a more long term > view (like Google does). Rather than the "little people" funding our > efforts. Many of the things we do in OpenBSD are often incorporated > into products made by multi-million dollar companies. > > This is not a BSD vs GPL issue, it is about a plain lack of goodwill, > something you cannot mandate via a license. A lack of goodwill is > effectively badwill. > > There is a good list in the last paragraph of the OpenSSH web site. > Maybe the community's activism can make inroads there which we have > not been able to. $10.00 montly donation to OpenBSD Foundation setup. On the other hand, I would definitely pay for a cupcake made by an OBSD developer. Thanks all for your work, gabe.
Re: azalia
Also running 4.3 generic, and been reading here and in archives about people having issues with the azalia driver. Here is my info, if it's useful to devs, or if you guys need anything else from me, let me know: short story: xmms works fine - cdio cdplay doesn't work - ogg123 doesn't work - cat file.wav > /dev/(audio|sound) works, but can't set sample rates. # cat track01.wav > /dev/audio works (plays slow) # cat track01.wav > /dev/sound works (plays slow) attempting to set the play.rate or play.sample_rate seems to do nothing: # audioctl play.rate=44100 audioctl: set failed: Invalid argument # aucat track01.wav aucat: AUDIO_SETINFO: Invalid argument attempting to play an ogg file through the sun driver: # ogg123 house_of_cards.ogg Audio Device: Sun audio driver output Playing: house_of_cards.ogg Ogg Vorbis stream: 2 channel, 44100 Hz Title: House of Cards Artist: Radiohead Genre: 12 Date: 2008 Album: In Rainbows Track number: 08 Error: Cannot open device sun same when trying to use /dev/sound w/the sun driver: # ogg123 -d sun -o dev:/dev/sound house_of_cards.ogg Audio Device: Sun audio driver output Playing: house_of_cards.ogg Ogg Vorbis stream: 2 channel, 44100 Hz Title: House of Cards Artist: Radiohead Genre: 12 Date: 2008 Album: In Rainbows Track number: 08 Error: Cannot open device sun. # cdio cdplay No CD device name specified. Defaulting to cd0. cdio: can't configure audio device Playing through xmms works fine. dmesg: OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz ("GenuineIntel" 686-class) 1. 60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR real mem = 1063669760 (1014MB) avail mem = 1020456960 (973MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/20/08, BIOS32 rev. 0 @ 0xfdcf0, SMBIOS rev. 2.4 @ 0xe0010 (70 entries) bios0: vendor LENOVO version "7PETB2WW (2.12 )" date 02/20/2008 bios0: LENOVO 76509LU acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1 (S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus -1 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2 acpitz0 at acpi0: critical temperature 127 degC acpitz1 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "42T4513" serial 5504 type LION oem "SANYO" acpiac0 at acpi0: AC unit online bios0: ROM list: 0xc/0x1! 0xd/0x1a00 0xd1a00/0x1000 0xe/0x1! cpu0 at mainbus0 cpu0: unknown Enhanced SpeedStep CPU, msr 0x060f0c2b06000c2b cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 1600 MHz (1388 mV): speeds: 1600, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c agp0 at pchb0: aperture at 0xe000, size 0x800 vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: irq 11 uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: irq 11 ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: irq 11 azalia0: codec[s]: Conexant/0x5045 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: irq 11 pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: irq 11 pci2 at ppb1 bus 3 wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: irq 11, MoW 1, address 00:1f:3c:18:d8:83 ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03: irq 11 pci3 at ppb2 bus 4 bge0 at pci3 dev 0 function 0 "Broadcom BCM5787M" rev 0x02, BCM5754/5787 A2 (0xb 002): irq 11, address 00:1c:25:90:79:9f brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0 uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: irq 10 uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: irq 11 uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: irq 11 ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: irq 11 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2
Re: azalia
Deanna Phillips wrote: Gabriel Guzman <[EMAIL PROTECTED]> writes: Also running 4.3 generic, and been reading here and in archives about people having issues with the azalia driver. Here is my info, if it's useful to devs, or if you guys need anything else from me, let me know: short story: xmms works fine - cdio cdplay doesn't work - ogg123 doesn't work - cat file.wav > /dev/(audio|sound) works, but can't set sample rates. These are all sure signs of a device fixed at a 48 kHz sample rate. The driver is doing the best it can with the crummy hardware it's been given. I figured it was something along those lines, as attempting to change the sample rate wasn't working. Thanks for all the work on this driver! and 4.3 is awesome, thanks to all the devs. gabe.
Re: WARNING: / was not properly unmounted
On Fri, 16 Oct 2009 19:32:05 -0600 Theo de Raadt wrote: > > I was having this issue with -current from Oct 9th, and now with > > -current from Oct 14th. Basically, I issue: > > > > # halt -p > > > > And get all the proper messages, including the: Synching Disks... > > Done. That happens just before the power is flipped off. > > > > Everytime I turn the machine back on, I get the "WARNING: / was not > > properly unmounted" and fsck is run, and marks all the filesystems > > as clean. > > > > Just in case, I issued a: > > > > # shutdown now > > > > dropped into single user mode and ran fsck on all partitions > > manually, marked them all as clean and issued: > > You have a multiprocessor machine. This issue is known... and we > think we know how to fix it. It affects only a few people, which is > curious. > > In case the archives want to know. This is no longer an issue, at least, not on my machine. Fixed in 4.7 (likely well before). gabe.
Re: Unable to power down after halting
On Mon, 12 Oct 2009 18:06:45 -0500 Marco Peereboom wrote: > Fixed in 4.6. It's fixed for me too in -current, though now there is another small problem. If I issue a halt -p The disks are synched (at least, I get the message), and the system is powered off. The problem is, every time I power the system back on, I get the message telling me the disks were not cleanly unmounted, and a file system check runs. Hadn't reported it since I was planning on updating and rebuilding in a few days in any case. dmesg below. gabe. dmesg: OpenBSD 4.6-current (GENERIC.MP) #2: Tue Oct 6 22:37:38 EDT 2009 r...@etranger.my.domain:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz ("GenuineIntel" 686-class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR real mem = 1063669760 (1014MB) avail mem = 1022169088 (974MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/20/08, BIOS32 rev. 0 @ 0xfdcf0, SMBIOS rev. 2.4 @ 0xe0010 (70 entries) bios0: vendor LENOVO version "7PETB2WW (2.12 )" date 02/20/2008 bios0: LENOVO 76509LU acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) 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: apic clock running at 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz ("GenuineIntel" 686-class) 1.60 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus -1 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature 127 degC acpitz1 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "42T4513" serial 5504 type LION oem "SANYO" acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 bios0: ROM list: 0xc/0x1! 0xd/0x1a00 0xd1a00/0x1000 0xe/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 GM965 Host" rev 0x0c vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c 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 1 int 16 (irq 10) drm0 at inteldrm0 "Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20 (irq 11) uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 21 (irq 11) ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 22 (irq 11) 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 function 0 "Intel 82801H HD Audio" rev 0x03: apic 1 int 17 (irq 11) azalia0: codecs: Conexant CX20549 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 1 int 20 (irq 11) pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: apic 1 int 21 (irq 11) pci2 at ppb1 bus 3 wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 1 int 17 (irq 11), MoW1, address 00:1f:3c:18:d8:83 ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03: apic 1 int 22 (irq 11) pci3 at ppb2 bus 4 bge0 at pci3 dev 0 function 0 "Broadcom BCM5787M" rev 0x02, BCM5754/5787 A2 (0xb002): apic 1 int 18 (irq 11), address 00:1c:25:90:79:9f brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0 uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 16 (irq 10) uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 17 (irq 11) uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: apic 1 int 18 (irq 11) ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 19 (irq 11) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3 pci4 at ppb3 bus 21 cbb0 at pci4 dev 0 function 0 "Ricoh 5C4
WARNING: / was not properly unmounted
I was having this issue with -current from Oct 9th, and now with -current from Oct 14th. Basically, I issue: # halt -p And get all the proper messages, including the: Synching Disks... Done. That happens just before the power is flipped off. Everytime I turn the machine back on, I get the "WARNING: / was not properly unmounted" and fsck is run, and marks all the filesystems as clean. Just in case, I issued a: # shutdown now dropped into single user mode and ran fsck on all partitions manually, marked them all as clean and issued: # halt Waited for the message telling me I could press any key to reboot, or power off the machine. I powered off the machine, waited a few seconds, and powered it back on. Sure enough, "WARNING: / was not properly unmounted" Just reporting in case anyone else is seeing this issue and wants the dmesg, or any other info. I will likely grab a snapshot and upgrade to it unless I hear otherwise from anyone here. I realize running -current is not supported, so I'm not looking for any hand-holding, just willing to provide information if it's wanted. Thanks, gabe. OpenBSD 4.6-current (GENERIC.MP) #3: Wed Oct 14 00:35:34 EDT 2009 r...@etranger.my.domain:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz ("GenuineIntel" 686-class) 1. 60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR real mem = 1063669760 (1014MB) avail mem = 1022148608 (974MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/20/08, BIOS32 rev. 0 @ 0xfdcf0, SMBIOS rev. 2.4 @ 0xe0010 (70 entries) bios0: vendor LENOVO version "7PETB2WW (2.12 )" date 02/20/2008 bios0: LENOVO 76509LU acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1 (S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) 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: apic clock running at 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz ("GenuineIntel" 686-class) 1.60 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus -1 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature 127 degC acpitz1 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "42T4513" serial 5504 type LION oem "SANYO" acpiac0 at acpi0: AC unit offline acpithinkpad0 at acpi0 bios0: ROM list: 0xc/0x1! 0xd/0x1a00 0xd1a00/0x1000 0xe/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 GM965 Host" rev 0x0c vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c 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 1 int 16 (irq 10) drm0 at inteldrm0 "Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20 (irq 11) uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 21 (irq 11) ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 22 (irq 11) 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 function 0 "Intel 82801H HD Audio" rev 0x03: apic 1 int 1 7 (irq 11) azalia0: codecs: Conexant CX20549 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 1 int 20 (irq 11) pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: apic 1 int 21 (irq 11) pci2 at ppb1 bus 3 wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 1 int 17 (irq 11), MoW1, address 00:1f:3c:18:d8:83 ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03: apic 1 int 22 (irq 11) pci3 at ppb2 bus 4 bge0 at pci3 dev 0 function 0 "Broadcom BCM5787M" rev 0x02, BCM5754/5787 A2 (0xb 002): apic 1 int 18 (irq 11), address 00:1c:25:90:79:9f brgphy0 at bge0 phy 1:
Re: What VM does OpenBSD run well under>
On Sun, 1 Nov 2009 18:24:21 +0200 Ross Cameron wrote: > OpenBSD 4.6 i386 seems quite happy in VirtualBox 3.0.10 r54097 (Fedora > 11 i686 as a host). > > No funnies at all, just boot the cd46.iso image and ftp install and no > issues whatsoever (SMP and non-SMP VMs). Same with -current... even builds fine. gabe.