PHP PATH_INFO
I'm working on migrating a website from very old OpenSBD 4.5 to 7.5 I got nginx & php mostly working in chroot environment. browser to mysite.ca/Boards.php works as expected; but when launched with PATH_INFO as in mysite.ca/Boards.php/SMS this presents 404 not found. A search online produced several pages where PHP script was accessed but $_SERVER['PATH_INFO'] was empty; so they are one step ahead of my situation; since PHP script does not get invoked for me. Here is portion of /etc/nginx/nginx.conf which I expect needs changing. location ~ \.php$ { try_files $uri $uri/ =404; fastcgi_pass unix:run/php-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; includefastcgi_params; } Thanks for any suggestions to resolve this.
Re: nginx + php = system() not working?
I tried a few things with nginx not in chroot; but got permission errors. The message provided no clue as to which file/directory might be causing it; so eventually I gave up. After some brainstorming; we decided to run inside chroot; use php functions other than system() and use a cron job to do the work that is outside chroot. Now a new issue; nginx does not start during boot; yet does start manually - why? The following commands were issued immediately after boot. # cat /etc/rc.conf.local nginx_flags="" pkg_scripts=php83_fpm # /etc/rc.d/nginx start nginx(ok) On Fri, May 17, 2024 at 10:19 AM Souji Thenria wrote: > On Fri May 17, 2024 at 2:56 PM BST, F Bax wrote: > > In /etc/rc.conf.local - I changed nginx_flags="-u -p /home/Testing" > > (home directory of a real user). > > reboot system and now browser is refused connection > > This site can’t be reached 192.168.1.131 refused to connect. > > Neither /var/www/logs/{access|error}.log is changed. > > What else needs to change? > > Can you verify that nginx is running? > You may have an error in your configuration. You can check the nginx > configuration using nginx -t. > > Another issue might be that nginx is still running as www and doesn't > have access to /home/Testing. > > Regards, > Souji >
Re: nginx + php = system() not working?
Thanks for the tips and security warnings Mike, Souji and Dan, In php-fpm.conf - I changed "; chroot = /var/www" to comment. In /etc/rc.conf.local - I changed nginx_flags="-u -p /home/Testing" (home directory of a real user). reboot system and now browser is refused connection This site can’t be reached 192.168.1.131 refused to connect. Neither /var/www/logs/{access|error}.log is changed. /var/log/php-fpm.log show normal startup; then nothing in any /var/log/ files. [17-May-2024 09:41:59] NOTICE: fpm is running, pid 8072 [17-May-2024 09:41:59] NOTICE: ready to handle connections What else needs to change?
nginx + php = system() not working?
I think I missed something simple? I installed 7.5 release in a VM. I then installed nginx and PHP 8.3.3; with pkg_add. I then ran these two commands: # rcctl enable php83_fpm # rcctl start php83_fpm I found an issue with php system() function; so created this simple script which produces "HiThere"; why is the date not presented?
Re: viomb0 unable to allocate256 physmem pages, error 12
I'm not a coder; but I found source for viomb; which calls uvm_pglistalloc; which calls uvm_pmr_getpages which mentions ENOMEM: https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/uvm/uvm_pmemrange.c?rev=1.66&content-type=text/plain There I found this comment: * fail if any of these conditions is true: * [1] there really are no free pages, or * [2] only kernel "reserved" pages remain and *the UVM_PLA_USERESERVE flag wasn't used. * [3] only pagedaemon "reserved" pages remain and *the requestor isn't the pagedaemon nor the syncer. Unsure how I might use this information to get rid of the previously mentioned error message.. On Tue, May 14, 2024 at 2:28 PM Peter J. Philipp wrote: > On Tue, May 14, 2024 at 01:58:18PM -0400, F Bax wrote: > > Recently installed 7.5 amd64 in qemu VM (8G RAM) under proxmox. See this > > message many times on console and dmesg. > > > > viomb0 unable to allocate 256 physmem pages, error 12 > > > > What does this mean? How to resolve this issue? > > Hi, > > When you see "error " it's good to look up the manpage on errno. > Under number 12 it says: ENOMEM "Cannot Allocate Memory". But look for > yourself for a deeper explanation. Also if you want to hunt for this errno > in the code you would most likely grep for ENOMEM. > > Best Regards, > -pjp > > -- > ** all info about me: lynx https://callpeter.tel, dig loc > delphinusdns.org ** > >
viomb0 unable to allocate256 physmem pages, error 12
Recently installed 7.5 amd64 in qemu VM (8G RAM) under proxmox. See this message many times on console and dmesg. viomb0 unable to allocate 256 physmem pages, error 12 What does this mean? How to resolve this issue?
forwarding email to outlook,com fails
A couple of email addresses on my OpenBSD server are forwarded to microsoft domains. For quite some time; this has worked flawlessly. Recently something changed. Now, an email sent from sendgrid.com to my server results in a bounced message from outlook.com with this error. received-spf: Fail (protection.outlook.com: domain of u3352509.wl010.sendgrid.net does not designate 64.140.xxx.yyy as permitted sender) receiver=protection.outlook.com; client-ip=64.140.xxx.yyy; helo= myserver.ca; Where xxx,yyy & myserver hide real values. It seems outlook.com believes my server is "sending" email for sendgrid; whereas originating server is valid and my server is just forwarding. Anyone else encounter this situation; is there a way to resolve this?
Re: Why is disk full?
Looks like sparse files are no longer sparse on /mnt/wd2l/ !! Thanks Otto & Aner. du reported different sizes for several dozen folders that contain files created by scan to PDF. Not all of the scanned files were affected; but some might contain mostly blank pages. For one sample file; ls -l reports -rw-rw 1 fbax fbax 6683710 Oct 21 2019 du reports 13056 /mnt/wd1/ ... 13184 /mnt/wd2l/ ... rsync -anvS does NOT report these files! Is there an easy way to make these files to be sparse on wd2l? On Tue, Mar 29, 2022 at 11:32 AM Aner Perez wrote: > You may have large files with "holes" in them (i.e. sparse files). Rsync > has a --sparse > (-S) flag that tries to create holes in the replicated files when it finds > sequences of > nulls in the source file. > > The -a flag does not turn on this sparse file handling. > > You can run "du" on different directories to narrow down where the file > size difference is > coming from. > > - Aner > > On 3/29/22 10:58, F Bax wrote: > > I used rsync to copy files. > > sudo rsync -anv --delete /mnt/wd1l/ /mnt/wd2l/ > > reports no changes required (runtime under 3 minutes). > > sudo diff -r /mnt/wd1l/ /mnt/wd2l/ > > reports no difference (runtime 10 hours) > > > > $ sudo df -i /mnt/wd1l/ /mnt/wd2l/ > > Filesystem 512-blocks Used Avail Capacity iused ifree %iused > > Mounted on > > /dev/wd1l 2138940784 1997329632 3466412898% 483707 33313411 > 1% > >/mnt/wd1l > > /dev/wd2l 2138951776 2033043696 -1039504 100% 483707 33313411 > 1% > >/mnt/wd2l > > > > On Tue, Mar 29, 2022 at 10:49 AM F Bax wrote: > > > >> I used rsync to copy files. df -i reports 483707 inodes used for both > >> partitions. > >> sudo rsync -anv --delete /mnt/wd1l/ /mnt/wd2l/ > >> reports no changes required (runtime under 3 minutes). > >> sudo diff -r /mnt/wd1l/ /mnt/wd2l/ > >> reports no difference (runtime 10 hours) > >> > >> On Tue, Mar 29, 2022 at 10:39 AM Otto Moerbeek wrote: > >> > >>> On Tue, Mar 29, 2022 at 10:25:34AM -0400, F Bax wrote: > >>> > >>>> I copied all files from /mnt/wd1l to /mnt/wd2l > >>>> > >>>> wd2l is slightly larger than wd1l; yet wd2l is full! > >>>> > >>>> $ df -h /mnt/wd1l /mnt/wd2l > >>>> Filesystem Size Used Avail Capacity Mounted on > >>>> /dev/wd1l 1020G 952G 16.5G 98% /mnt/wd1l > >>>> /dev/wd2l 1020G 969G -508M 100% /mnt/wd2l > >>> How did you copy? Some forms of copy will cause hardlinked files to be > >>> separate files on the destination. df -i will tell how many inodes you > >>> have used. If wd2l has more inodes in use, I bet it's that. > >>> > >>> -Otto > >>> > >>>> Output from disklabel is almost identical: > >>>> > >>>> type: SCSI > >>>> disk: SCSI disk > >>>> label: WDC WD2000FYYZ-0 > >>>> flags: > >>>> bytes/sector: 512 > >>>> sectors/track: 63 > >>>> tracks/cylinder: 255 > >>>> sectors/cylinder: 16065 > >>>> cylinders: 243201 > >>>> total sectors: 3907029168 > >>>> rpm: 0 > >>>> interleave: 1 > >>>> trackskew: 0 > >>>> cylinderskew: 0 > >>>> headswitch: 0 # microseconds > >>>> track-to-track seek: 3907029168 # microseconds > >>>> drivedata: 0 > >>>> > >>>> Difference between wd1 and wd2: > >>>> wd1: interleave: 0 > >>>> wd2: interleave: 1 > >>>> > >>>> Partition details (A added 'wd1/wd2' to beginning of line: > >>>> # size offset fstype [fsize bsize cpg] > >>>> wd1l: 2147472640 525486208 4.2BSD 8192 65536 1 > >>>> wd2l: 2147483647 63 4.2BSD 8192 65536 1 > >>>> > >>>> Why is wd2l full? > >
Re: Why is disk full?
# dumpfs /dev/rwd1l | head -1 magic 11954 (FFS1)timeWed Jan 8 19:45:37 2020 # dumpfs /dev/rwd2l | head -1 magic 11954 (FFS1)timeSun Mar 27 13:01:58 2022 On Tue, Mar 29, 2022 at 11:07 AM Otto Moerbeek wrote: > On Tue, Mar 29, 2022 at 10:58:49AM -0400, F Bax wrote: > > > I used rsync to copy files. > > sudo rsync -anv --delete /mnt/wd1l/ /mnt/wd2l/ > > reports no changes required (runtime under 3 minutes). > > sudo diff -r /mnt/wd1l/ /mnt/wd2l/ > > reports no difference (runtime 10 hours) > > > > $ sudo df -i /mnt/wd1l/ /mnt/wd2l/ > > Filesystem 512-blocks Used Avail Capacity iused ifree %iused > > Mounted on > > /dev/wd1l 2138940784 1997329632 3466412898% 483707 33313411 > 1% > > /mnt/wd1l > > /dev/wd2l 2138951776 2033043696 -1039504 100% 483707 33313411 > 1% > > /mnt/wd2l > > Ok, then it could be an FFS1 vs FFS2 thing. FFS2 has a larger > meta-data overhead due to its larger inodes. > > Check > > # dumpfs /dev/rwd1l | head -1 > # dumpfs /dev/rwd2l | head -1 > > -Otto > > > > > On Tue, Mar 29, 2022 at 10:49 AM F Bax wrote: > > > > > I used rsync to copy files. df -i reports 483707 inodes used for both > > > partitions. > > > sudo rsync -anv --delete /mnt/wd1l/ /mnt/wd2l/ > > > reports no changes required (runtime under 3 minutes). > > > sudo diff -r /mnt/wd1l/ /mnt/wd2l/ > > > reports no difference (runtime 10 hours) > > > > > > On Tue, Mar 29, 2022 at 10:39 AM Otto Moerbeek wrote: > > > > > >> On Tue, Mar 29, 2022 at 10:25:34AM -0400, F Bax wrote: > > >> > > >> > I copied all files from /mnt/wd1l to /mnt/wd2l > > >> > > > >> > wd2l is slightly larger than wd1l; yet wd2l is full! > > >> > > > >> > $ df -h /mnt/wd1l /mnt/wd2l > > >> > Filesystem Size Used Avail Capacity Mounted on > > >> > /dev/wd1l 1020G 952G 16.5G 98% /mnt/wd1l > > >> > /dev/wd2l 1020G 969G -508M 100% /mnt/wd2l > > >> > > >> How did you copy? Some forms of copy will cause hardlinked files to be > > >> separate files on the destination. df -i will tell how many inodes you > > >> have used. If wd2l has more inodes in use, I bet it's that. > > >> > > >> -Otto > > >> > > >> > > > >> > Output from disklabel is almost identical: > > >> > > > >> > type: SCSI > > >> > disk: SCSI disk > > >> > label: WDC WD2000FYYZ-0 > > >> > flags: > > >> > bytes/sector: 512 > > >> > sectors/track: 63 > > >> > tracks/cylinder: 255 > > >> > sectors/cylinder: 16065 > > >> > cylinders: 243201 > > >> > total sectors: 3907029168 > > >> > rpm: 0 > > >> > interleave: 1 > > >> > trackskew: 0 > > >> > cylinderskew: 0 > > >> > headswitch: 0 # microseconds > > >> > track-to-track seek: 3907029168 # microseconds > > >> > drivedata: 0 > > >> > > > >> > Difference between wd1 and wd2: > > >> > wd1: interleave: 0 > > >> > wd2: interleave: 1 > > >> > > > >> > Partition details (A added 'wd1/wd2' to beginning of line: > > >> > # size offset fstype [fsize bsize cpg] > > >> > wd1l: 2147472640 525486208 4.2BSD 8192 65536 1 > > >> > wd2l: 2147483647 63 4.2BSD 8192 65536 1 > > >> > > > >> > Why is wd2l full? > > >> > > > >
Re: Why is disk full?
I used rsync to copy files. sudo rsync -anv --delete /mnt/wd1l/ /mnt/wd2l/ reports no changes required (runtime under 3 minutes). sudo diff -r /mnt/wd1l/ /mnt/wd2l/ reports no difference (runtime 10 hours) $ sudo df -i /mnt/wd1l/ /mnt/wd2l/ Filesystem 512-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/wd1l 2138940784 1997329632 3466412898% 483707 33313411 1% /mnt/wd1l /dev/wd2l 2138951776 2033043696 -1039504 100% 483707 33313411 1% /mnt/wd2l On Tue, Mar 29, 2022 at 10:49 AM F Bax wrote: > I used rsync to copy files. df -i reports 483707 inodes used for both > partitions. > sudo rsync -anv --delete /mnt/wd1l/ /mnt/wd2l/ > reports no changes required (runtime under 3 minutes). > sudo diff -r /mnt/wd1l/ /mnt/wd2l/ > reports no difference (runtime 10 hours) > > On Tue, Mar 29, 2022 at 10:39 AM Otto Moerbeek wrote: > >> On Tue, Mar 29, 2022 at 10:25:34AM -0400, F Bax wrote: >> >> > I copied all files from /mnt/wd1l to /mnt/wd2l >> > >> > wd2l is slightly larger than wd1l; yet wd2l is full! >> > >> > $ df -h /mnt/wd1l /mnt/wd2l >> > Filesystem Size Used Avail Capacity Mounted on >> > /dev/wd1l 1020G 952G 16.5G 98% /mnt/wd1l >> > /dev/wd2l 1020G 969G -508M 100% /mnt/wd2l >> >> How did you copy? Some forms of copy will cause hardlinked files to be >> separate files on the destination. df -i will tell how many inodes you >> have used. If wd2l has more inodes in use, I bet it's that. >> >> -Otto >> >> > >> > Output from disklabel is almost identical: >> > >> > type: SCSI >> > disk: SCSI disk >> > label: WDC WD2000FYYZ-0 >> > flags: >> > bytes/sector: 512 >> > sectors/track: 63 >> > tracks/cylinder: 255 >> > sectors/cylinder: 16065 >> > cylinders: 243201 >> > total sectors: 3907029168 >> > rpm: 0 >> > interleave: 1 >> > trackskew: 0 >> > cylinderskew: 0 >> > headswitch: 0 # microseconds >> > track-to-track seek: 3907029168 # microseconds >> > drivedata: 0 >> > >> > Difference between wd1 and wd2: >> > wd1: interleave: 0 >> > wd2: interleave: 1 >> > >> > Partition details (A added 'wd1/wd2' to beginning of line: >> > # size offset fstype [fsize bsize cpg] >> > wd1l: 2147472640 525486208 4.2BSD 8192 65536 1 >> > wd2l: 2147483647 63 4.2BSD 8192 65536 1 >> > >> > Why is wd2l full? >> >
Why is disk full?
I copied all files from /mnt/wd1l to /mnt/wd2l wd2l is slightly larger than wd1l; yet wd2l is full! $ df -h /mnt/wd1l /mnt/wd2l Filesystem Size Used Avail Capacity Mounted on /dev/wd1l 1020G 952G 16.5G 98% /mnt/wd1l /dev/wd2l 1020G 969G -508M 100% /mnt/wd2l Output from disklabel is almost identical: type: SCSI disk: SCSI disk label: WDC WD2000FYYZ-0 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 243201 total sectors: 3907029168 rpm: 0 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 3907029168 # microseconds drivedata: 0 Difference between wd1 and wd2: wd1: interleave: 0 wd2: interleave: 1 Partition details (A added 'wd1/wd2' to beginning of line: # size offset fstype [fsize bsize cpg] wd1l: 2147472640 525486208 4.2BSD 8192 65536 1 wd2l: 2147483647 63 4.2BSD 8192 65536 1 Why is wd2l full?
Nagios check_by_ssh
nagios install creates user _nagios with login = /sbin/nologin I have some OpenBSD systems not configured to send email to external addresses; there is one system (host0) that is configured to send email outside. I wish to use nagios on host0 to monitor the other systems and send notifications to an offsite email address. I was thinking that some sort of restricted shell (only access to /usr/local/libexec/nagios/) would be appropriate. Anyone able to provide a clue how this can be accomplished? Is there a best practices document for using check_by_ssh in OpenBSD? Frank
Re: spamd whitelist
Thanks for the suggestion. I whitelisted the ip addresses for mta[567]. am0.yahoodns.net ; but email from yahoo still gets bounced. Is there an easy way to find all the other sources at yahoo? The message bounced back to yahoo contains... Received: from [66.196.81.173] by nm34.bullet.mail.bf1.yahoo.com with NNFMP; 24 Feb 2015 00:55:04 - Received: from [98.139.212.250] by tm19.bullet.mail.bf1.yahoo.com with NNFMP; 24 Feb 2015 00:55:04 - Received: from [127.0.0.1] by omp1059.mail.bf1.yahoo.com with NNFMP; 24 Feb 2015 00:54:41 - On Sat, Feb 21, 2015 at 9:09 PM, Edgar Pettijohn wrote: > On 02/21/15 18:29, Martin Brandenburg wrote: > >> Edgar Pettijohn wrote: >> >>> On 02/21/15 18:09, trondd wrote: >>> On 2015-02-21 18:57, Martin Brandenburg wrote: > That doesn't mean you can't find the information somewhere else. > > I just did this for gmail by simply sending a couple emails, letting gmail retry for a couple hours and grabbing the IPs out of spamdb. Tim. $ host yahoo.com >>> yahoo.com has address 98.138.253.109 >>> yahoo.com has address 98.139.183.24 >>> yahoo.com has address 206.190.36.45 >>> yahoo.com mail is handled by 1 mta5.am0.yahoodns.net. >>> yahoo.com mail is handled by 1 mta6.am0.yahoodns.net. >>> yahoo.com mail is handled by 1 mta7.am0.yahoodns.net. >>> >>> $ nslookup mta5.am0.yahoodns.net >>> Server: 192.168.1.1 >>> Address:192.168.1.1#53 >>> >>> Non-authoritative answer: >>> Name: mta5.am0.yahoodns.net >>> Address: 66.196.118.34 >>> Name: mta5.am0.yahoodns.net >>> Address: 66.196.118.36 >>> Name: mta5.am0.yahoodns.net >>> Address: 98.136.216.25 >>> Name: mta5.am0.yahoodns.net >>> Address: 66.196.118.35 >>> Name: mta5.am0.yahoodns.net >>> Address: 98.136.216.26 >>> Name: mta5.am0.yahoodns.net >>> Address: 98.138.112.35 >>> Name: mta5.am0.yahoodns.net >>> Address: 98.138.112.32 >>> Name: mta5.am0.yahoodns.net >>> Address: 98.138.112.37 >>> >>> so on and so forth for the following mta's. add the ip's to your >>> whitelist and it should be good to go. >>> >>> >>> Just because you send mail to Yahoo through those IPs doesn't mean they >> send mail to you from those IPs. It's not unheard of for incoming and >> outgoing mail to go through different servers once you get to a certain >> size. >> >> (It may well be that they do go through the same servers. A lot of this >> is guesswork anyway without information direct from the source.) >> >> -- Martin >> >> I agree its possible, but its a good place to start. > > $ dig yahoo.com mx > > ; <<>> DiG 9.4.2-P2 <<>> yahoo.com mx > ;; global options: printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24018 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;yahoo.com. IN MX > > ;; ANSWER SECTION: > yahoo.com. 1000IN MX 1 mta7.am0.yahoodns.net. > yahoo.com. 1000IN MX 1 mta5.am0.yahoodns.net. > yahoo.com. 1000IN MX 1 mta6.am0.yahoodns.net. > > no need to cc me i'm on the list
spamd whitelist
In this archived message; Peter explains here how to get ip address for various gmail servers - which can then be added to whitelist... http://marc.info/?l=openbsd-misc&m=136449396910976&w=2 When I try this process for yahoo.com; I get $ host -ttxt yahoo.com yahoo.com descriptive text "v=spf1 redirect=_spf.mail.yahoo.com" $ host -ttxt _spf.mail.yahoo.com _spf.mail.yahoo.com descriptive text "v=spf1 ptr:yahoo.com ptr:yahoo.net ?all" What should I do with "ptr" info?
Re: 5.2 > 5.3 mouse issues
On Tue, Jun 4, 2013 at 1:19 PM, F Bax wrote: > I just upgraded from 5.2-release to 5.3-release and notice the following > issues with touchpad mouse control. > 1) using left-click then drag to hilight then copy text no longer works; > happens in term window or gui app (ie: firefox). > 2) When using google maps in firefox; the mouse pointer takes about 2-3 > seconds to convert from pointer to grab/drag to move map within window. > 3) Another website I use has an interface to maps; left-click mouse never > converts from pointer to grab/drag mode. > After further testing; I find that all three issues are in fact a single problem. When I left-click, I must wait 3 seconds before taking any of the previously mentioned drag actions (either to hilight text or to scroll maps). I also found that the same issue arises when trying to move or resize a window. Can someone please point me to the correct file that allows me to tinker with settings that will "fix" this behaviour? dmesg follows OpenBSD 5.3 (GENERIC.MP) #62: Tue Mar 12 18:21:20 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3218931712 (3069MB) avail mem = 3110813696 (2966MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version "7IET30WW (1.11 )" date 07/13/2007 bios0: LENOVO 8744J2U acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT S SDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2 (S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1994.62 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM 2,SSSE3,CX16,xTPR,PDCM,LONG,LAHF,PERF cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1994.34 MHz cpu1: 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM 2,SSSE3,CX16,xTPR,PDCM,LONG,LAHF,PERF cpu1: 4MB 64b/line 16-way L2 cache ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 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 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "92P1133" serial 4562 type LION oem "Panasonic" acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) cpu0: Enhanced SpeedStep 1994 MHz: speeds: 2000, 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: msi pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Mobility FireGL V5250" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 1 int 16 drm0 at radeondrm0 azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: msi pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: msi, address 00:1a:6b:6b:20:6c ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: msi pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: msi, MoW1, address 00:1b:77:8d:23:55 ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: msi pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: msi pci5 at ppb4 bus 12 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 16 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 17 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18 uhci3 at pci0 dev 29 function 3 &quo
5.2 > 5.3 mouse issues
I just upgraded from 5.2-release to 5.3-release and notice the following issues with touchpad mouse control. 1) using left-click then drag to hilight then copy text no longer works; happens in term window or gui app (ie: firefox). 2) When using google maps in firefox; the mouse pointer takes about 2-3 seconds to convert from pointer to grab/drag to move map within window. 3) Another website I use has an interface to maps; left-click mouse never converts from pointer to grab/drag mode. I don't know how I can copy/paste my dmesg into this email; so its available here: http://www.gallery.bax.on.ca/dmesg53.txt
grep options - man page vs behaviour
The grep man page does not mention that -[num] behaves the same as -C[num]; or if it does, I didn't see it?
5.0 -> 5.1 Touchpad mouse tap now ignored
I upgraded from 5.0 to 5.1 yesterday; everything looks good except that tap of touchpad is ignored. It used to act the same as left click. dmesg follows... Are there any suggestions what files I should be looking at? OpenBSD 5.1 (GENERIC.MP) #207: Sun Feb 12 09:42:14 MST 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3218931712 (3069MB) avail mem = 3119144960 (2974MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (68 entries) bios0: vendor LENOVO version "7IET30WW (1.11 )" date 07/13/2007 bios0: LENOVO 8744J2U acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1994.68 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LONG,LAHF cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1994.34 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LONG,LAHF cpu1: 4MB 64b/line 16-way L2 cache ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 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 12 (EXP3) acpiprt6 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 not present acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) cpu0: Enhanced SpeedStep 1994 MHz: speeds: 2000, 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: msi pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Mobility FireGL V5250" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 1 int 16 drm0 at radeondrm0 azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices AD1981HD audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: msi pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: msi, address 00:1a:6b:6b:20:6c ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: msi pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: msi, MoW1, address 00:1b:77:8d:23:55 ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: msi pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: msi pci5 at ppb4 bus 12 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 16 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 17 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 19 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2 pci6 at ppb5 bus 21 cbb0 at pci6 dev 0 function 0 "TI PCI1510 CardBus" rev 0x00: apic 1 int 16 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 pcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02 pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) ahci0 at pci0 dev 31 function 2 "Intel 82801GBM AHCI" rev 0x02: msi, AHCI 1.1 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ