Re: wsmouse: disable touch-panel
Timothy Brown - Mon, 10 June 2019 at 08:43:47 > Not too sure about a a config change to disable it. However on my crappy > work Dell laptop (XPS 9343), I can disable it in the BIOS. Have you looked > to see if you can do that? yes. it's not there. the bios is a sad piece of software in this one... -f --
wsmouse: disable touch-panel
hello, i have a faulty touch panel in this notebook and i need to disable it. because of KARL and following -current in general i'd much prefer a non config -e solution. that leaves wscons and X.org. if i read Xorg log file correctly, x.org picks up touch panel from wsmouse. after reading wsmouse(4), it is not clear to me how can i disable mouse1, mouse2, and mouse3. any ideas what i could put in /etc/wsconsctl.conf ? -f -- keyboard.type=pc-xt keyboard.bell.pitch=400 keyboard.bell.period=100 keyboard.bell.volume=50 keyboard.bell.pitch.default=400 keyboard.bell.period.default=100 keyboard.bell.volume.default=50 keyboard.repeat.del1=400 keyboard.repeat.deln=100 keyboard.repeat.del1.default=400 keyboard.repeat.deln.default=100 keyboard.ledstate=0 keyboard.encoding=us keyboard1.type=usb keyboard1.bell.pitch=400 keyboard1.bell.period=100 keyboard1.bell.volume=50 keyboard1.bell.pitch.default=400 keyboard1.bell.period.default=100 keyboard1.bell.volume.default=50 keyboard1.repeat.del1=400 keyboard1.repeat.deln=100 keyboard1.repeat.del1.default=400 keyboard1.repeat.deln.default=100 keyboard1.ledstate=0 keyboard1.encoding=us keyboard2.type=usb keyboard2.bell.pitch=400 keyboard2.bell.period=100 keyboard2.bell.volume=50 keyboard2.bell.pitch.default=400 keyboard2.bell.period.default=100 keyboard2.bell.volume.default=50 keyboard2.repeat.del1=400 keyboard2.repeat.deln=100 keyboard2.repeat.del1.default=400 keyboard2.repeat.deln.default=100 keyboard2.ledstate=0 keyboard2.encoding=us mouse.type=synaptics mouse.rawmode=0 mouse.scale=1472,5398,1408,4728,0,42,70 mouse.tp.tapping=0 mouse.tp.scaling=0.179 mouse.tp.swapsides=0 mouse.tp.disable=0 mouse.tp.edges=0.0,5.0,0.0,5.0 mouse1.type=touch-panel mouse1.rawmode=1 mouse1.scale=0,9600,0,7200,0,0,0 mouse2.type=touch-panel mouse2.rawmode=1 mouse2.scale=0,9600,0,7200,0,0,0 mouse3.type=touch-panel mouse3.rawmode=1 mouse3.scale=0,9600,0,7200,0,0,0 display.type=inteldrm display.width=1600 display.height=900 display.depth=32 display.fontwidth=12 display.fontheight=24 display.emulations=vt100 display.screentypes=std display.focus=4 display.brightness=100.00% display.screen_on=250 display.screen_off=0 display.vblank=off display.kbdact=on display.msact=on display.outact=on [ 2029.961] (--) checkDevMem: using aperture driver /dev/xf86 [ 2030.002] (--) Using wscons driver on /dev/ttyC4 [ 2030.006] X.Org X Server 1.19.7 Release Date: 2019-03-02 [ 2030.007] X Protocol Version 11, Revision 0 [ 2030.008] Build Operating System: OpenBSD 6.5 amd64 [ 2030.009] Current Operating System: OpenBSD monster.obiit.org 6.5 GENERIC.MP#11 amd64 [ 2030.010] Build Date: 08 June 2019 12:59:22PM [ 2030.010] [ 2030.011] Current version of pixman: 0.38.4 [ 2030.012]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 2030.012] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 2030.017] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 10 15:28:54 2019 [ 2030.018] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" [ 2030.019] (==) No Layout section. Using the first Screen section. [ 2030.019] (==) No screen section available. Using defaults. [ 2030.019] (**) |-->Screen "Default Screen Section" (0) [ 2030.020] (**) | |-->Monitor "" [ 2030.021] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 2030.021] (==) Automatically adding devices [ 2030.022] (==) Automatically enabling devices [ 2030.022] (==) Not automatically adding GPU devices [ 2030.023] (==) Max clients allowed: 256, resource mask: 0x1f [ 2030.023] (==) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/ [ 2030.024] (==) ModulePath set to "/usr/X11R6/lib/modules" [ 2030.024] (II) The server relies on wscons to provide the list of input devices. If no devices become available, reconfigure wscons or disable AutoAddDevices. [ 2030.024] (II) Loader magic: 0x1c2c5fec000 [ 2030.025] (II) Module ABI versions: [ 2030.025]X.Org ANSI C Emulation: 0.4 [ 2030.026]X.Org Video Driver: 23.0 [ 2030.026]X.Org XInput driver : 24.1 [ 2030.026]X.Org Server Extension : 10.0 [ 2030.027] (--) PCI:*(0:0:2:0) 8086:0126:1028:0571 rev 9, Mem @ 0xf240/4194304, 0xe000/268435456, I/O @ 0x5000/64 [ 2030.029] (--) PCI: (0:1:0:0) 10de:1246:1028:0571 rev 161, Mem @ 0xf000/33554432, 0xc000/268435456, 0xd000/67108864, I/O @ 0x4000/128 [ 2030.031] (II) LoadModule: "glx" [ 2030.033] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so [ 2030.036] (II) Module glx: vendor="X.Org
Re: [PATCH] Remove "Multibooting" in FAQ
tfrohw...@fastmail.com - Sat, 06 April 2019 at 17:45:42 > I run a dual-boot with Windows 10 on the same partition and the on the same partition? -f --
Re: [PATCH] Remove "Multibooting" in FAQ
Thomas Frohwein - Sat, 06 April 2019 at 12:54:54 > I remember the following as the steps not mentioned in the FAQ that helped me > get it to work. All with MBR and Windows 10. > > 1. Shrink the main partition in Windows disk manager and create a second >partition. the FAQ cannot deal with every possible setup... having a partition on the disk where you want to put openbsd is kind of a basic requirement (just like having a computer), and how you get there is case by case specific. but why would you want to go back to MBR? new notebooks with windows 10 come with GPT. the only real PITA at the moment is that openbsd fdisk cannot add new GPT partitions only edit existing ones. many OEM windows notebooks already come with 4-5 GPT partitions: 1. the 300MB EUFI 2. the 128MB MSR 3. the primary OS partition (normally C:) 4. WinRE (recovery tools) 5. BIOS_RVY (recovery image) (my notebook even had a data (D:) between 4 and 5...) so you need to have the partition destined for openbsd present, then it's possible to edit it in fdisk. -f --
Re: would like: unix user and softraid crypto sharing same password
Mihai Popescu, 05 Mar 2018 00:07: > Did they remove the SHIFT key support on macOS? AH< SO THATS"S THE SECRET< I JUST NEED TO USE THE SHIFT KEY> THANKS COMRADE --
would like: unix user and softraid crypto sharing same password
hello, macOS has this rather user friendly operating mode where one is able to set the volume's FileVault (apple's full disk encryption) password to be the same as their user password and the password is asked only once. after bootup i get a login screen, enter my password, and voila, i am both logged in, and can access the encrypted volume. this works with a boot volume as well. i would like to achieve something similar on OpenBSD but in a bit simpler setup. my softraid crypto volume is just a "data" mount under my home, the system and /home are not encrypted. this setup came to be partly because it's a pain in the ass to always mount the encrypted folder after logging in, so i left some common stuff unencrypted (yes, i know, keydisks...). but it would be nice to have a fully encrypted /home that gets mounted when i enter my user password at the login screen, i don't mind leaving the system unencrypted... any ideas how to achieve this? some nice post auth hooks? in some ways it's bit like authpf... -f --
Re: py3-qt5
Daniel Jakots, 01 Mar 2018 21:50: > On Thu, 1 Mar 2018 21:40:57 -0500, Z Ero> wrote: > > > Not showing in pip3 --list after installed with pkg_add. Not available > > module. Why? > > > > pip and pkg_add are two different package manager. If you run pkg_info, > you should see the package list which would mean it's installed. > You should probably read the FAQ: https://www.openbsd.org/faq/faq15.html this is not true for python. all correctly pkg_add'ed python packages/libs (e.g. py-jinja2) go to `site-packages` and thus should show up in the site-wide pip list. $ pkg_info | grep py- py-MarkupSafe-1.0 implements an XML/HTML/XHTML markup safe string py-jinja2-2.8.1 fast, optionally sandboxed, Python template engine py-pip-9.0.1p0 Python easy_install replacement py-setuptools-28.6.1p0v0 simplified packaging system for Python modules py-virtualenv-15.1.0p0 virtual Python environment builder $ pip2.7 list Jinja2 (2.8.1) MarkupSafe (1.0) pip (9.0.1) setuptools (28.6.1) virtualenv (15.1.0) -f --
Re: sudoedit for doas?
Paul de Weerd, 01 Mar 2018 15:06: > Hi Nick, others, > | what is the reason for your obsession with sudoedit or visudo or > | anything other than just editing the $%&^& file, saving your change and > | testing them on another terminal window? Like is done on almost every > | other config file in a Unix environment? > | > | There is no pfconfedit, daily.localedit, virc.conf, dhcpd.confedit, and > | we do just fine without it. > > crontab -e! :-) disklabel -E (not -e ;p) fdisk -e :} --
timestamp of 'logfile turned over' lines
hello and happy new year, during the christmas holidays i have upgraded my openbsd servers to 6.2 and i have noticed that the timestamps for newsyslog 'logfile turned over' lines changed to something like ISO 8601: $ zgrep turned /var/log/messages* messages:2017-12-31T23:00:01.258Z selene newsyslog[32157]: logfile turned over messages.0.gz:Dec 1 00:00:01 selene newsyslog[4410]: logfile turned over messages.0.gz:2017-12-31T23:00:01.258Z selene newsyslog[32157]: logfile turned over messages.1.gz:Nov 1 00:00:01 selene newsyslog[27587]: logfile turned over messages.1.gz:Dec 1 00:00:01 selene newsyslog[4410]: logfile turned over messages.2.gz:Oct 1 00:00:01 selene newsyslog[73773]: logfile turned over messages.2.gz:Nov 1 00:00:01 selene newsyslog[27587]: logfile turned over i have a monthly rotation set up in newsyslog.conf is anybody else seeing this? -f --
Re: terminals + tmux + vim: ESC + arrows unexpected behaviour
Andreas Kusalananda Kähäri, 14 May 2017 14:28: > tmux has an "escape-time" setting: > > escape-time time > Set the time in milliseconds for which tmux waits > after an escape is input to determine if it is part > of a function or meta key sequences. The default > is 500 milliseconds. > > You are probably pressing the arrow keys within this timeframe. Try > decreasing it to something like 100: > > set-option escape-time 100 thanks, this seems to help. is there a downside to setting this to 0? -f --
terminals + tmux + vim: ESC + arrows unexpected behaviour
there seems to be some unexpected behaviour (at least for me) in terminal vim running under tmux: pressing ESC and right after that the arrow keys to move around (vim purist need not comment on this) get interpreted as different vim commands: for example UP will enter insert mode again, LEFT, RIGHT send some deleting commands, DOWN moves the cursor around in mysterious ways. reproduced this in these environments: openbsd -current: urxvt + tmux + vim openbsd -current: xterm + tmux + vim osx: iterm2 + tmux 2.4 + vim 8.0.596 could not reproduce this on: openbsd 6.0 release leaving tmux always fixes the issue, so i am included to think it might be a tmux issue. any ideas? -f --
Re: github
Nick Holland, 07 Aug 2016 23:36: > > Is this http://[bullshit deleted]/openbsd the official OpenBSD github site? > > I find this part terrifying. > > Nowhere on the OpenBSD website mentions github as anything official. So > you just assumed that the seven letters, "openbsd", in that order, makes > it officially part of the project? No. Examples of this will be found > all over the Internet. i am confused about the shock and terror. i don't have code on github, but through ports we are all github users in one way or another. github is popular and everyone and his dog has either their official repo or a mirror on there. so while taking github links at face value is not correct, it happens all the time and until something else replaces it, it will get only worse. and that brings me to my second point. impersonating projects/persons on popular services (twitter, etc) is as old as domain squating and while it's ok for the openbsd project to totally ignore these filthy nasty new age services, another low friction and low time investment approach could have been to proactively take these usernames/urls and put placeholders or links to the official project site. -f -- the greatest hate springs from the greatest love.
Re: bluetooth audio -> usb dongle?
Edgar Pettijohn, 14 Jun 2016 17:41: > Someone answered a similiar question recently. I believe > the answer was "if the dongle handles the bluetooth" then > it will work. However, if it expects the OS to do any > part of the pairing, etc then it will not work. a quick search for "openbsd bluetooth audio usb" came up only with my question :] does anybody have some actual model numbers that are verified to work? -f -- i thank my lucky stars i'm not superstitious.
Re: Is there such a thing as a fanless OpenBSD-capable laptop?
Ulf Brosziewski, 15 Jun 2016 00:48: > Your feedback in bugs@ would be appreciated. Can you exclude that > it's a hardware failure? Some people claim that various Acer models > are prone to such failures because the touchpads have a bad > electrical grounding. i sent a reply to your bugs@ reply the same day, but the t-mobile server rejected my email after 7 days(!) so i was planning to resend it in some other way, but the list should do :] i also have linux mint on that notebook but i don't use it that much. when i used it, the touchpad was working but now i forget in which mode. i will do a session of a couple of hours and get back to you. just a hunch at the moment but there was similar behaviour on one of my previous netbooks when there was a "mismatch" in the synaptics protocol... -f -- for texas and miss lillie!
bluetooth audio -> usb dongle?
i'd like to use a bluetooth wireless headphone with openbsd. is this possible with some usb dongle? -f -- i am sick and tired of being sick and tired.
Re: Is there such a thing as a fanless OpenBSD-capable laptop?
ropers, 14 Jun 2016 03:37: > > the acer travelmate b115-m is an el cheapo netbook > > with no moving parts if you stick an ssd in it. > > > > Thanks for the addition and dmesg. Do you know if all the Travelmate B115's > are fanless or only the M models, not MP or P? What about the B116's and > B117's? Actually, are all the Travelmate B's fanless? well, it doesn't say on the website, does it? :] i think the biggest difference between MP and M was the multi-touch-screen... i _think_ they are all fanless because of the CPU models, they are not that high end. but 116 and 117 are not bay trail but braswell if i am not mistaken, and i don't know the state of braswell on openbsd... > > it suspends, resumes, most things work; > > the clickpad and the wifi being notable exceptions. > > > > Does this mean that despite dmesg recognition, the pms0 device somehow does > not work at all (=need external mouse), or does this mean just > fancy-schmancy gesturing support won't work (limiting the pad to working > like a conventional trackpad)? the bios has to clickpad settings: basic/advanced. i could not make it work reliably with either of these settings. it seems to work sometimes but than it goes "crazy" and the mouse cursor runs around so fast, it is blurred. so at the moment yes, i have to use an external mouse or vim :] > Is the apparent absence of separate trackpad buttons (as per pics I > googled) an issue? Can the pad's lower parts work like buttons, or is it > only tap-to-click (which I seriously hate)? unfortunately there are no hw buttons... i'd also prefer that. some linux users seem to had luck in setting up X.org for soft buttons, but i did not try as for a while setting the clickpad to emulate double click and middle click seemed to work. then the crazyness came again :] i have sent a bugreport and we'll see. > I see some models have a touchscreen. Does yours? Do all of them? (I'd > rather do without that.) M's don't. > Is the glossy screen annoying? (I prefer matte.) the screen is as the price tag suggests.. not amazing but quite usable. i am very happy with it because my requirements were: cheap, quiet, small, run openbsd w/o uefi (at the time there was none in openbsd). -f -- i'm a tagline. when i grow up i wanna be a novel.
Re: Is there such a thing as a fanless OpenBSD-capable laptop?
Erling Westenvik, 14 Jun 2016 09:03: > With all due respect: This is not the place to ask for detailed specs > for a whole series of computers. You could easily have found answers to all > of your questions above if you had done some very basic homework: > > http://www.acer.com/ac/en/US/content/professional-models/laptops/travelmateb i disagree with your notion of homework. it's a nightmare and these pages tell you shit except the highest level of barely useful information. first of all acer does region specific models, so none of these are the models i have seen in european shops. without the actual dmesgs it is a minefield. models that maybe differ in one letter can have totally different wifi cards and other components. -f -- if you live long enough, it will kill you...
Re: Is there such a thing as a fanless OpenBSD-capable laptop?
the acer travelmate b115-m is an el cheapo netbook with no moving parts if you stick an ssd in it. the sound of silence is very relaxing. it suspends, resumes, most things work; the clickpad and the wifi being notable exceptions. but there is no wifi card blacklist (eat shit lenovo) so problem solved. it's not a monster obviously but high end machines do not come fanless anyway. the plastic is very cheap, but the design is stylish and it's much thinner than it looks on pictures. as a bonus i could buy it without windows and secureboot can be disabled. as good as it gets in notebook world for me... dmesg: http://marc.info/?l=openbsd-tech=146185180505045=2 -f -- equal bytes to women!
Re: no image on external monitor via HDMI output in X
try -current http://marc.info/?l=openbsd-tech=146073262518343=2 -f -- when you come to a fork in the road, take it!
Re: hardware recommendation for openbsd-based thin client?
i don't have experience with the compute sticks, but i would start with updating the BIOS. https://downloadcenter.intel.com/download/25917/BIOS-Update-SCCHTAX5-86A- noah pugsley, 26 May 2016 20:59: > bios0: vendor Intel Corp. version "SCCHTAX5.86A.0014.2015.1119.1410" date > 11/19/2015 > bios0: Intel Corporation STK1AW32SC -f -- i have an exceptionally high q.i.
"Cleared:" in pfctl interface statistics
what is the purpose of the Cleared line of the interface statistics? if i read pfctl(8) correctly, only tables can have their statistics cleared/zeroed (the table command is "zero", and not "clear", perhaps because the latter could evoke "removing all elements of the table", although in other parts of the manpage "flush" is used for this kind of operation) # pfctl -vvsI -i re0 re0 Cleared: Thu Jan 1 01:00:01 1970 References: [ States: 0 Rules: 1 ] In4/Pass:[ Packets: 59988900 Bytes: 74459951479] In4/Block: [ Packets: 13991 Bytes: 1645774] Out4/Pass: [ Packets: 39058098 Bytes: 5850353660 ] Out4/Block: [ Packets: 3167 Bytes: 467994 ] In6/Pass:[ Packets: 18 Bytes: 1152 ] In6/Block: [ Packets: 0 Bytes: 0 ] Out6/Pass: [ Packets: 0 Bytes: 0 ] Out6/Block: [ Packets: 0 Bytes: 0 ] # pfctl -F info pf: statistics cleared # pfctl -vvsI -i re0 re0 Cleared: Thu Jan 1 01:00:01 1970 References: [ States: 0 Rules: 1 ] In4/Pass:[ Packets: 60374772 Bytes: 74945788280] In4/Block: [ Packets: 14028 Bytes: 1647622] Out4/Pass: [ Packets: 39392791 Bytes: 6029106115 ] Out4/Block: [ Packets: 3185 Bytes: 468786 ] In6/Pass:[ Packets: 18 Bytes: 1152 ] In6/Block: [ Packets: 0 Bytes: 0 ] Out6/Pass: [ Packets: 0 Bytes: 0 ] Out6/Block: [ Packets: 0 Bytes: 0 ] -f -- he's teflon brain (nothing sticks).
Re: thinkpad X301: stopping the port, softreset slot 31 was still active.
forgot to add: the drive is a MATSHITA DVD-RAM UJ-844 -f -- when childhood dies, its corpses are called adults.
Re: thinkpad X301: stopping the port, softreset slot 31 was still active.
David Coppa, 27 Apr 2016 15:58: > > the dvd drive lets out terrible shrieks at boot up > > time, and by timing out makes boot up longer. is there > > anything i can do about it? i'd prefer not to take out > > the drive as i have nothing to replace it. > > Maybe disabling cd*? > > # config -e -f /bsd > ukc> disable cd > ukc> quit there is no 'cd' device in the dmesg and disabling it did not help :] disabling 'atapiscsi' also did not help (it's not a pciide device, so not surprising) disabling 'scsibus' does help, but of course all the other drives disappear as well... seems like a magic quirk is wanted dead or alive. -f -- i'm feeling rather blonde today.
thinkpad X301: stopping the port, softreset slot 31 was still active.
a newcomer to my menagerie. stuff mostly works (although did not wake up from zzz when booted from a usb stick). the dvd drive lets out terrible shrieks at boot up time, and by timing out makes boot up longer. is there anything i can do about it? i'd prefer not to take out the drive as i have nothing to replace it. OpenBSD 5.9-current (GENERIC.MP) #1997: Sun Apr 24 17:44:37 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3095072768 (2951MB) avail mem = 2996953088 (2858MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (80 entries) bios0: vendor LENOVO version "6EET56WW (3.16 )" date 10/26/2012 bios0: LENOVO 2777CTO acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) EHC0(S3) EHC1(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 Duo CPU U9400 @ 1.40GHz, 1396.71 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR cpu0: 3MB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU U9400 @ 1.40GHz, 1396.51 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR cpu1: 3MB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xe000, 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 -1 (EXP2) acpiprt5 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: PUBS, resource for USB0, USB3, USB5, EHC0, EHC1 acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 105 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB "PNP0103" at acpi0 not configured "PNP0303" at acpi0 not configured "LEN0006" at acpi0 not configured "PNP0C09" at acpi0 not configured acpibat0 at acpi0: BAT0 model "42T4518" serial 2277 type LiP oem "SONY" acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 "PNP0C14" at acpi0 not configured acpivideo0 at acpi0: VID_ acpivout0 at acpivideo0: LCD0 acpivideo1 at acpi0: VID_ cpu0: Enhanced SpeedStep 1396 MHz: speeds: 1401, 1400, 1200, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07 inteldrm0 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07 drm0 at inteldrm0 intagp0 at inteldrm0 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0: msi inteldrm0: 1440x900 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured "Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: msi, address 00:1c:25:9f:1f:63 uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20 uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 21 uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 22 ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 23 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 82801I HD Audio" rev 0x03: msi azalia0: codecs: Conexant CX20561 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: msi pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: msi pci2 at ppb1 bus 3 iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5300" rev 0x00: msi, MIMO 3T3R, MoW, address 00:21:6a:12:54:50 uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 16 uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 17 uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 18 ehci1 at pci0
turning off the touchscreen
i have installed openbsd -current on an older generation of dell xps 17. this model has a touchscreen, but a faulty one. no amount of calibration helps and needs to be disabled also in windows and linux. i am having difficulties disabling it in openbsd. please find the dmesg, and Xorg.log attached. $ doas wsconsctl | grep mouse wsconsctl: Use explicit arg to view keyboard.map. wsconsctl: Use explicit arg to view keyboard1.map. wsconsctl: Use explicit arg to view keyboard2.map. mouse.type=synaptics mouse.rawmode=0 mouse.scale=1472,5398,1408,4728,0,42,70 mouse1.type=touch-panel mouse1.rawmode=1 mouse1.scale=0,9600,0,7200,0,0,0 mouse2.type=touch-panel mouse2.rawmode=1 mouse2.scale=0,9600,0,7200,0,0,0 mouse3.type=touch-panel mouse3.rawmode=1 mouse3.scale=0,9600,0,7200,0,0,0 $ xinput â¡ Virtual core pointerid=2[master pointer (3)] â â³ Virtual core XTEST pointerid=4[slave pointer (2)] â â³ /dev/wsmouse id=11 [slave pointer (2)] â â³ /dev/wsmouse0 id=7[slave pointer (2)] â â³ /dev/wsmouse3 id=10 [slave pointer (2)] â â³ /dev/wsmouse2 id=9[slave pointer (2)] â â³ /dev/wsmouse1 id=8[slave pointer (2)] ⣠Virtual core keyboard id=3[master keyboard (2)] â³ Virtual core XTEST keyboard id=5[slave keyboard (3)] â³ /dev/wskbd id=6[slave keyboard (3)] i have tried: $ xinput --disable 8 $ xinput --disable 9 $ xinput --disable 10 $ xinput --disable 11 id=11 obviously disables the touchscreen but also the touchpad and the external usb mouse... i can use the touchpad with this: $ xinput --disable 11 $ xinput --enable 7 but it would be nice to have the usb mouse. -f -- OpenBSD 5.9 (GENERIC.MP) #1880: Sat Feb 20 16:48:33 MST 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8462589952 (8070MB) avail mem = 8201916416 (7821MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf9360 (70 entries) bios0: vendor Dell Inc. version "A19" date 09/07/2012 bios0: Dell Inc. Dell System XPS L702X acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC SSDT ASF! HPET APIC MCFG SSDT SSDT SSDT UEFI UEFI UEFI acpi0: wakeup devices P0P1(S4) EHC1(S3) EHC2(S3) HDEF(S3) PXSX(S4) RP01(S3) PXSX(S4) RP02(S3) PXSX(S4) RP04(S1) PXSX(S4) RP05(S3) PXSX(S4) RP06(S4) PEG0(S4) PEGP(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-2450M CPU @ 2.50GHz, 2494.70 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz, 2494.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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz, 2494.34 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz, 2494.34 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus
Re: mini itx from intel
thanks everyone for the dmesg. i bought 2 of these with 8G of RAM and intel SSD drives. they will be used as headless servers, so DRM is not an issue, i was aware of that. they are remote, so openbsd is not installed on them yet, and i had the techie remove the wlans, as they will be in a small server room connected to a switch, so hopefully overheating won't be a problem. i was surprised they have fans, i was aiming for a fanless configuration, but the offer is not that big here in the eu, at least from what i saw. i know they are not powerhouses, but compared to what i have now, they actually are. -f --
Re: mini itx from intel
frantisek holop, 02 Oct 2015 17:55: > thanks everyone for the dmesg. > i bought 2 of these with 8G of RAM > and intel SSD drives. and of course by "2 of these" i meant DN2820FYKH -f -- he has a train of thought. you have a tricycle...
mini itx from intel
does anyone happen to have any of these? http://www.intel.com/content/www/us/en/nuc/nuc-comparison.html plz send dmesg if possible. -f -- loose lips sinks ships
Re: Regarding the default /usr partitioning
Carlos Fenollosa, 29 Jun 2015 15:24: Hi Tim, this is true. However, at some point, even novice users might need to build a port to apply some errata. If that port is one of the big ones (php, in my case), they may realize that they don’t have enough disk space. everyone has different needs of course, but in my 15+ years of openbsd usage both on desktop and servers i needed to build ports exactly counting fingers on 1 hand, give or take times. for important infrastructure software more often than not security patches are applied also backwards to -stable releases and a simple pkg_add -u will do the same as apt-get update/upgrade. of course man-power is not the same so only the real pressing security issues get this treatment. also, only 2 version numbers are supported at any given time, giving you 6+6 months to plan upgrades. too fast for some, too slow for others. in any case, you won't see ancient software on openbsd servers, unlike on some glacier paced linux distros where php5.5 would be considered bleeding edge. desktop users tend to live on -current as ports development follow -current. it takes a bit of getting used to as the base system can get out of sync with snapshot ports for a couple of days at times, but that sounds scarier than it really is. i know it is time for a system update when i get shared library version mismatch error messages when updating ports. the only reasons i had to make packages: 1. the package does not come in the FLAVOR you want, as not all possible combinations are made into packages (man ports) for example vim-7.4.692-gtk2-perl-python-ruby but you want python3-lua-whatever 2. making a debug build (to send bug reports) 3. there is no port for what you want, or your port was rejected for some reason, it's WIP, etc. in this case you still get to use the wonderful scaffolding already in place, and can make packages often with just a couple of lines in a Makefile. creates packages you can update/remove/etc just like official ones. 4. you don't want to wait until your ports mirror catches up with its pre-built and you have a machine with 128G of ram to compile firefox. the fact is, openbsd made me into a lazy admin when it comes to packages, and it is a breath of fresh air every time i come back from work (ubuntu/debian/osx). -f -- you will become rich and famous unless you don't.
Re: when SSDs are not so solid or why no TRIM support can be a good thing :)
Chris Cappuccio, 19 Jun 2015 09:59: The problem identified in this article is _NOT_ TRIM support. It's QUEUED TRIM support. It's an exotic firmware feature that is BROKEN. Suffice to say, if Windows doesn't exercise an exotic feature in PC hardware, it may not be well tested by anybody! the author has clarified in the comments bellow the article that TRIM was the issue and not QUEUED TRIM. -f -- you have 2 choices for dinner -- take it or leave it.
when SSDs are not so solid or why no TRIM support can be a good thing :)
https://blog.algolia.com/when-solid-state-drives-are-not-that-solid/ also note the part relating to ext4: I have to admit, I slept better before reading the changelog. fast, features, realiable: pick any 2. -f -- think honk if you're a telepath.
Re: can't install 5.7 xhci problem
Martin Pieuchot, 16 Jun 2015 14:58: It has been researched by mikeb@ so far without any success. I don't have access to a machine with Intel 8 Series USB xHCI controller so I can't help. As a workaround you might try disabling xhci. sometimes the bios has an option for legacy usb, or xhci boot mode downgrade. when i disabled xhci on notebooks with no such option, the whole usb controller disappeared. i also had xhci problems on two recent machines. i'll be sending sendbug reports with xhci debug enabled when i get the time. -f -- marriage isn't a word, it's a sentence.
partition alignment and advanced format drives
i was putting a 2.5 500G WD disk into a usb enclosure and i noticed that instead of technical information they used to put there (chs, lba, etc) most of the space was taken up by a notice about this being advenced format drive, and how speed will suffer if used with windows xp, etc, without partition realignment. and it had jumpers -- i haven't seen jumpers on drives for ages. IIUC, the jumpers can be used to indicate an offset-by-one: make LBA 63 aligned on hardware sector. quite the backwards compatibility. i got curious how visible this speed difference would be, so while i was setting up the disk anyway, i made this unscientific experiment. some modern linux distros (and win7) use 2048 sectors as offset for their first partition, an alignment of 1MB. openbsd's fdisk uses 64. one thing it does not do is creating partition sizes divisble 1. openbsd default Disk: sd3 geometry: 60801/255/63 [976773168 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] --- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 1 2 - 60800 254 63 [ 64: 976768001 ] OpenBSD partition: [a] offset: [64] size: [976768001] FS type: [4.2BSD] Rounding size to bsize (64 sectors): 976768000 # time newfs /dev/rsd3a /dev/rsd3a: 476937.5MB in 976768000 sectors of 512 bytes 586 cylinder groups of 814.44MB, 26062 blocks, 52224 inodes each super-block backups (for fsck -b #) at: ... 972425408, 974093376, 975761344, 280.28 real 6.32 user 7.59 sys 2. linux style Disk: sd3 geometry: 60801/255/63 [976773168 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] --- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 32 33 - 60800 254 63 [2048: 976766017 ] OpenBSD partition: [a] offset: [2048] size: [976766017] FS type: [4.2BSD] Rounding size to bsize (64 sectors): 976766016 # time newfs /dev/rsd3a /dev/rsd3a: 476936.5MB in 976766016 sectors of 512 bytes 586 cylinder groups of 814.44MB, 26062 blocks, 52224 inodes each super-block backups (for fsck -b #) at: ... 972425408, 974093376, 975761344, 280.78 real 6.99 user 6.01 sys 3. non-aligned Disk: sd3 geometry: 60801/255/63 [976773168 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start:size ] --- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 1 1 - 60800 254 63 [ 63: 976768002 ] OpenBSD partition: [a] offset: [63] size: [976768002] FS type: [4.2BSD] Rounding size to bsize (64 sectors): 976768001 # time newfs /dev/rsd3a /dev/rsd3a: 476937.5MB in 976768000 sectors of 512 bytes 586 cylinder groups of 814.44MB, 26062 blocks, 52224 inodes each super-block backups (for fsck -b #) at: ... 972425408, 974093376, 975761344, 339.51 real 4.46 user 5.63 sys quite a difference. one thing fdisk does not seem to do yet: generate partition sizes divisible by 8. while maybe not necessary on an openbsd only system, in multiboot configurations it might be a matter of being a good neighbour in cases where openbsd is not the last partition on the disk. -f -- i'm so close to hell i can almost see vegas!
Re: Major improvement in CPU temperatures for -current
thinkpad x60s here, copying 130G from one encrypted softraid to another one: 86-89C down to 71-74C. now i need to buy an extra heater :( this is some great news for my testies, our great thanks in the name of the whole family :) -f -- one family builds a wall, two families enjoy it.
Re: partition alignment and advanced format drives
Theo de Raadt, 14 Jun 2015 12:15: some modern linux distros (and win7) use 2048 sectors as offset for their first partition, an alignment of 1MB. openbsd's fdisk uses 64. one thing it does not do is creating partition sizes divisble you have confused yourself. my mistake here, that was an unfinished train of thought that i moved to the bottom of the email and forgot to delete here. sorry about that. i did not mean to imply openbsd is doing anything wrong. quite the contrary. 3. non-aligned offset: [63] 339.51 real 4.46 user 5.63 sys quite a difference. Quite a difference WHAT?? Noone uses a non-pow2 alignment. Everyone aligns -- everyone, except you, in this bogus test. This is not a matter of science. Your message is very confusing since the length of it subtly hints OpenBSD is doing something wrong, and we are not. yes, i can see how you came to that conclusion me forgetting to delete that half sentence up there. but it is exactly the contrary. the whole point of this email was to show how fdisk is doing the correct thing, and that there is no difference performance-wise between 64 and 2048 sector offsets. the misaligned partition example was simply to see the hard drive firmware in action on non-aligned partitions. i used openbsd's fdisk to set up this non-aligment, but i did not mean to imply that fdisk is doing something wrong. i did not include all the commands because it would have made the mail excessively long, but it would have shown clearly that by default fdisk will not create misaligned partitions. again, my mistake. one thing fdisk does not seem to do yet: generate partition sizes divisible by 8. while maybe not necessary on an openbsd only system, in multiboot configurations it might be a matter of being a good neighbour in cases where openbsd is not the last partition on the disk. So you are the one concerned about this. And you already have a setup to test with. So why don't you try writing a diff -- instead of trying to pawn your problem off on someone else? i wasn't trying to pawn my problems on others, but it is true that i am floating this idea around, becasue so far i have not seen any discussion about the merit of this idea. -f -- a true friend knows who you are... but likes you anyway.
Re: acer travelmate b115-m boot panic
another try with XHCI_DEBUG kernel (otherwise vanilla GENERIC.MP), booted from the usb stick. this gets through the problematic point, the ports are not disabled. i am attaching furter info as well: pcidump -v: Domain /dev/pci0: 0:0:0: Intel Bay Trail Host 0x: Vendor ID: 8086 Product ID: 0f00 0x0004: Command: 0007 Status: 0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 0e 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR empty () 0x0014: BAR empty () 0x0018: BAR empty () 0x001c: BAR empty () 0x0020: BAR empty () 0x0024: BAR empty () 0x0028: Cardbus CIS: 0x002c: Subsystem Vendor ID: 1025 Product ID: 0860 0x0030: Expansion ROM Base Address: 0x0038: 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 0:2:0: Intel Bay Trail Video 0x: Vendor ID: 8086 Product ID: 0f31 0x0004: Command: 0007 Status: 0010 0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: 0e 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR mem 32bit addr: 0x9000/0x0040 0x0014: BAR empty () 0x0018: BAR mem prefetchable 32bit addr: 0x8000/0x1000 0x001c: BAR empty () 0x0020: BAR io addr: 0x2050/0x0008 0x0024: BAR empty () 0x0028: Cardbus CIS: 0x002c: Subsystem Vendor ID: 1025 Product ID: 0860 0x0030: Expansion ROM Base Address: 0x0038: 0x003c: Interrupt Pin: 01 Line: 07 Min Gnt: 00 Max Lat: 00 0x00d0: Capability 0x01: Power Management 0x0090: Capability 0x05: Message Signaled Interrupts (MSI) 0x00b0: Capability 0x09: Vendor Specific 0:19:0: Intel Bay Trail AHCI 0x: Vendor ID: 8086 Product ID: 0f23 0x0004: Command: 0007 Status: 02b0 0x0008: Class: 01 Subclass: 06 Interface: 01 Revision: 0e 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR io addr: 0x2048/0x0008 0x0014: BAR io addr: 0x205c/0x0004 0x0018: BAR io addr: 0x2040/0x0008 0x001c: BAR io addr: 0x2058/0x0004 0x0020: BAR io addr: 0x2020/0x0020 0x0024: BAR mem 32bit addr: 0x9091d000/0x0800 0x0028: Cardbus CIS: 0x002c: Subsystem Vendor ID: 1025 Product ID: 0860 0x0030: Expansion ROM Base Address: 0x0038: 0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00 0x0080: Capability 0x05: Message Signaled Interrupts (MSI) 0x0070: Capability 0x01: Power Management 0x00a8: Capability 0x12: SATA 0:20:0: Intel Bay Trail xHCI 0x: Vendor ID: 8086 Product ID: 0f35 0x0004: Command: 0006 Status: 0290 0x0008: Class: 0c Subclass: 03 Interface: 30 Revision: 0e 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR mem 64bit addr: 0x9090/0x0001 0x0018: BAR empty () 0x001c: BAR empty () 0x0020: BAR empty () 0x0024: BAR empty () 0x0028: Cardbus CIS: 0x002c: Subsystem Vendor ID: 1025 Product ID: 0860 0x0030: Expansion ROM Base Address: 0x0038: 0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00 0x0070: Capability 0x01: Power Management 0x0080: Capability 0x05: Message Signaled Interrupts (MSI) 0:26:0: Intel Bay Trail TXE 0x: Vendor ID: 8086 Product ID: 0f18 0x0004: Command: 0106 Status: 0010 0x0008: Class: 10 Subclass: 80 Interface: 00 Revision: 0e 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10 0x0010: BAR mem 32bit addr: 0x9080/0x0010 0x0014: BAR mem 32bit addr: 0x9070/0x0010 0x0018: BAR empty () 0x001c: BAR empty () 0x0020: BAR empty () 0x0024: BAR empty () 0x0028: Cardbus CIS: 0x002c: Subsystem Vendor ID: 1025 Product ID: 0860 0x0030: Expansion ROM Base Address: 0x0038: 0x003c: Interrupt Pin: 01 Line: 07 Min Gnt: 00 Max Lat: 00 0x0080: Capability 0x01: Power Management 0x00a0: Capability 0x05: Message Signaled Interrupts (MSI) 0:27:0: Intel Bay Trail HD Audio 0x: Vendor ID: 8086 Product ID: 0f04 0x0004: Command: 0006 Status: 0010 0x0008: Class: 04 Subclass: 03 Interface: 00 Revision: 0e 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10 0x0010: BAR mem 64bit addr: 0x9091/0x4000 0x0018: BAR empty ()
acer travelmate b115-m boot panic
hello, here is a partial dmesg from an acer travelmate b115-m. this is fairly new hardware and it almost boots up all the way. 1. wifi is atheros. sigh. will try to replace it (hopefully there is no whitelist like on lenovo) 2. notice that spdmem identifies 4G of RAM, but only 2 show up. 3. no inteldrm support yet 4. IIUC, something is wrong with the usb hub and in the process the boot device is lost. i tried disabling xhci, no disabled port messages, however no usb at all. bios has no usb legacy options. i'd be happy to test patches :) -f OpenBSD 5.7-current (GENERIC.MP) #898: Wed May 27 11:51:38 MDT 2015 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 80clock_battery cpu0: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (GenuineIntel 686-class) 2.17 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,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,MOVBE,POPCNT,DEADLINE,RDRAND,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS real mem = 2027171840 (1933MB) avail mem = 1981759488 (1889MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 09/12/14, BIOS32 rev. 0 @ 0xef725, SMBIOS rev. 2.7 @ 0xe6eb0 (22 entries) bios0: vendor Insyde Corp. version 1.26 date 09/12/2014 bios0: Acer TravelMate B115-M acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI UEFI SSDT HPET LPIT APIC MCFG SSDT SSDT SSDT SSDT SSDT CSRT SSDT FPDT acpi0: wakeup devices XHC1(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) EHC1(S3) 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) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 83MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (GenuineIntel 686-class) 2.17 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,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,MOVBE,POPCNT,DEADLINE,RDRAND,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (GenuineIntel 686-class) 2.17 GHz cpu2: 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,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,MOVBE,POPCNT,DEADLINE,RDRAND,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (GenuineIntel 686-class) 2.17 GHz cpu3: 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,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,MOVBE,POPCNT,DEADLINE,RDRAND,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 87 pins ioapic0: misconfigured as apic 1, remapped to apid 2 acpimcfg0 at acpi0 addr 0xe000, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (RP01) acpiprt2 at acpi0: bus 2 (RP02) acpiprt3 at acpi0: bus 3 (RP03) acpiprt4 at acpi0: bus -1 (RP04) acpiec0 at acpi0 acpicpu0 at acpi0: C1, PSS acpicpu1 at acpi0: C1, PSS acpicpu2 at acpi0: C1, PSS acpicpu3 at acpi0: C1, PSS acpipwrres0 at acpi0: PC05, resource for RP01 acpipwrres1 at acpi0: USBC, resource for OTG1, EHC1 acpitz0 at acpi0: critical temperature is 105 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpiac0 at acpi0: AC unit offline acpibat0 at acpi0: BAT1 model AC14B8K serial 37768 type LION oem UNKNOWN acpibtn2 at acpi0: LID_ acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F bios0: ROM list: 0xc/0xe400! 0xce800/0x1000 cpu0: Enhanced SpeedStep 2167 MHz: speeds: 2159, 2158, 1992, 1826, 1660, 1494, 1328, 1162, 996, 830, 664, 498 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel Bay Trail Host rev 0x0e vga1 at pci0 dev 2 function 0 Intel Bay Trail Video rev 0x0e intagp at vga1 not configured wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ahci0 at pci0 dev 19 function 0 Intel Bay Trail AHCI rev 0x02: msi, AHCI 1.3 ahci0: port 0: 3.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: ATA, WDC WD5000LPVX-2, 01.0 SCSI3 0/direct fixed naa.50014ee2b5f5f032 sd0: 476940MB, 512 bytes/sector, 976773168 sectors xhci0 at pci0 dev 20 function 0 Intel Bay Trail xHCI rev 0x0e: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 Intel xHCI root hub rev 3.00/1.00 addr 1 Intel Bay Trail TXE rev 0x0e at pci0 dev 26 function 0 not configured
Re: acer travelmate b115-m boot panic
and it looks like newer notebooks get this RTC clock_battery warning as well. -f -- i'm a virgin, but i'm just not very good at it.
Re: acer travelmate b115-m boot panic
frantisek holop, 30 May 2015 00:23: 4. IIUC, something is wrong with the usb hub and in the process the boot device is lost. i tried disabling xhci, no disabled port messages, however no usb at all. bios has no usb legacy options. according to the linux dmesg, some of the string descriptors are malformed: [7.398979] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [7.398984] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [7.398988] usb usb1: Product: xHCI Host Controller [7.398991] usb usb1: Manufacturer: Linux 3.13.0-37-generic xhci_hcd [7.398994] usb usb1: SerialNumber: :00:14.0 [7.399972] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003 [7.399976] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [7.399979] usb usb2: Product: xHCI Host Controller [7.399983] usb usb2: Manufacturer: Linux 3.13.0-37-generic xhci_hcd [7.399986] usb usb2: SerialNumber: :00:14.0 [7.713376] usb 1-2: new high-speed USB device number 2 using xhci_hcd [7.731567] usb 1-2: New USB device found, idVendor=05e3, idProduct=0608 [7.731574] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [7.731577] usb 1-2: Product: USB2.0 Hub [7.901178] usb 1-4: new high-speed USB device number 3 using xhci_hcd [7.988058] usb 1-4: New USB device found, idVendor=1bcf, idProduct=2c57 [7.988061] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [7.988063] usb 1-4: Product: HD WebCam [7.988064] usb 1-4: Manufacturer: NC2141102T503020A3LM09 [8.129517] usb 1-2.1: new full-speed USB device number 4 using xhci_hcd [8.148652] usb 1-2.1: string descriptor 0 malformed (err = -61), defaulting to 0x0409 [8.152390] usb 1-2.1: New USB device found, idVendor=0489, idProduct=e04e [8.152392] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [8.225338] usb 1-2.3: new high-speed USB device number 5 using xhci_hcd [8.243074] usb 1-2.3: New USB device found, idVendor=125f, idProduct=102e [8.243077] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [8.243078] usb 1-2.3: Product: USB Flash Drive [8.243080] usb 1-2.3: Manufacturer: USB 2.0 [8.243081] usb 1-2.3: SerialNumber: 43a67742cf415a [8.248217] usb-storage 1-2.3:1.0: USB Mass Storage device detected [8.248501] scsi2 : usb-storage 1-2.3:1.0 [8.248608] usbcore: registered new interface driver usb-storage [ 22.606182] usbcore: registered new interface driver btusb [ 22.844086] usbcore: registered new interface driver ath3k [ 22.929986] usbcore: registered new interface driver uvcvideo [ 23.029317] usb 1-2.1: USB disconnect, device number 4 [ 23.229541] usb 1-2.1: new full-speed USB device number 6 using xhci_hcd [ 23.247279] usb 1-2.1: string descriptor 0 malformed (err = -61), defaulting to 0x0409 [ 23.250613] usb 1-2.1: New USB device found, idVendor=0489, idProduct=e04e [ 23.250620] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 -- i couldn't repair your brakes so i made your horn louder.
lidsuspend results in reboot
since the apr 24 snapshot, doing a lidsuspend results in a reboot when raising the lid. this has worked as recently back as the 12 april snapshot. can anybody reproduce this? OpenBSD 5.7-current (GENERIC.MP) #834: Fri Apr 24 00:00:30 MDT 2015 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 2137341952 (2038MB) avail mem = 2090110976 (1993MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 03/31/11, BIOS32 rev. 0 @ 0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (67 entries) bios0: vendor LENOVO version 7BETD8WW (2.19 ) date 03/31/2011 bios0: LENOVO 1705CTO 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) 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) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 166MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF 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, resource for USB0, USB2, USB7 acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 97 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4629 serial 327 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000 0xd/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03 intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1024x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices AD1981HD audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 pci1 at ppb0 bus 2 em0 at pci1 dev 0 function 0 Intel 82573L rev 0x00: msi, address 00:16:d3:b6:19:57 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21 pci2 at ppb1 bus 3 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22 pci3 at ppb2 bus 4 ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23 pci4 at ppb3 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 ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci5 at ppb4 bus 21 cbb0 at pci5 dev 0 function 0 Ricoh 5C476 CardBus rev 0xb4: apic 1 int 16 Ricoh 5C552 Firewire rev 0x09 at pci5 dev 0 function 1 not configured sdhc0 at pci5 dev 0 function 2 Ricoh 5C822 SD/MMC rev 0x18: apic 1 int 18 sdmmc0 at sdhc0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA, channel 0
Re: lidsuspend results in reboot
Mike Larkin, 29 Apr 2015 14:30: On Wed, Apr 29, 2015 at 11:18:05PM +0200, frantisek holop wrote: since the apr 24 snapshot, doing a lidsuspend results in a reboot when raising the lid. this has worked as recently back as the 12 april snapshot. can anybody reproduce this? Please try a later snapshot as there were various resume fixes that went in around the 26th. mea culpa sorry for the noise, should have tried a later snapshot first. -f -- i am so open-minded my brain falls out.
overheating thinkpad after resume
hello, i have hinted about this issue before, but it is becoming something that quite bothers me, so i thought i might ask for help. i have a thinkpad x60s. after resuming from lidsuspend, for no apparent reason the temperature keeps hanging around 70-71. if i make a reboot, it will go back to 55. not all resumings result in this higher temperature, but once it happens, it seems to keep this state after multiple lidsuspends, again, until reboot. any ideas how to track this down? no rogue interrupts, no high cpu usage... 2 usersLoad 1.25 1.16 1.14 (1-25 of 31)Tue Apr 14 22:32:59 2015 SENSOR VALUE STATUS DESCRIPTION acpitz0.temp0 54.00 degC zone temperature acpitz1.temp0 72.00 degC zone temperature acpibtn0.indicator0On lid open acpibat0.volt0 14.40 V DC voltage acpibat0.volt1 16.43 V DC current voltage acpibat0.power00.00 W rate acpibat0.watthour0 21.75 Wh last full capacity acpibat0.watthour11.09 Wh warning capacity acpibat0.watthour20.20 Wh low capacity acpibat0.watthour3 20.91 WhOKremaining capacity acpibat0.watthour4 28.80 Wh design capacity acpibat0.raw0 0 rawOKbattery idle acpiac0.indicator0 On power supply acpithinkpad0.temp054.00 degC acpithinkpad0.temp144.00 degC acpithinkpad0.temp351.00 degC acpithinkpad0.temp432.00 degC acpithinkpad0.temp631.00 degC acpithinkpad0.fan0 3090 RPM acpidock0.indicator0 Off unknown not docked cpu0.temp0 72.00 degC aps0.temp0 44.00 degC aps0.temp1 44.00 degC aps0.indicator0 Off Keyboard Active aps0.indicator1 Off Mouse Active aps0.indicator2On Lid Open aps0.raw0 465 raw X_ACCEL aps0.raw1 512 raw Y_ACCEL aps0.raw2 465 raw X_VAR aps0.raw3 512 raw Y_VAR softraid0.drive0 onlineOKsd1 load averages: 1.51, 1.27, 1.18 61 processes: 1 running, 58 idle, 2 on processor CPU0 states: 0.0% user, 0.0% nice, 0.2% system, 0.0% interrupt, 99.8% idle CPU1 states: 3.8% user, 0.0% nice, 2.2% system, 0.0% interrupt, 94.0% idle Memory: Real: 341M/865M act/tot Free: 1129M Cache: 365M Swap: 0K/2252M PID USERNAME PRI NICE SIZE RES STATE WAIT TIMECPU COMMAND 29231 _x11 20 15M 25M sleep select5:30 4.64% Xorg 22368 f 20 246M 263M run poll 10:48 0.78% firefox 13203 f 20 2488K 3556K sleep kqread1:41 0.63% tmux 24019 _sndio 2 -20 440K 956K idle poll 2:33 0.00% sndiod 10611 f 20 3620K 13M sleep poll 1:16 0.00% gkrellm ... $ vmstat -i interrupt total rate irq0/clock4465583 199 irq0/ipi 8587915 384 irq130/acpi0 44740 irq81/inteldrm0 18890 irq160/azalia01437612 64 irq85/ppb0 10 irq83/uhci2 10 irq84/uhci3460 irq84/ehci0911663 40 irq80/ahci0 1419214 63 irq129/pckbc0 220 irq131/pckbc0 920 Total16828512 753 OpenBSD 5.7-current (GENERIC.MP) #798: Sun Apr 12 01:37:34 MDT 2015 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 2137341952 (2038MB) avail mem = 2090119168 (1993MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 03/31/11, BIOS32 rev. 0 @ 0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (67 entries) bios0: vendor LENOVO version 7BETD8WW (2.19 ) date 03/31/2011 bios0: LENOVO 1705CTO acpi0 at bios0: rev 2 acpi0: sleep
Re: What happens to OpenBSD when Secure Boot becomes manditory?
Todd C. Miller, 02 Apr 2015 14:47: Please read those articles again, Secure Boot is *not* mandatory for Windows 10. The major change is that for Windows 8 Microsoft *required* hardware vendors to provide a setting to disable Secure Boot. To be certified for Windows 10, the hardware is no longer required to have this setting. So no one is being forced to make Secure Boot mandatory. If some hardware vendors choose not to include a way to turn it off they'll simply lose some business. At worst this creates new opportunities for vendors interested in PC sales for Linux, BSD, etc... The sky is not falling. it is starting to fall, for me at least. there are notebooks as we speak coming with windows 8.1 and already have no secure boot [off] switch in their bios. a friend stopped by with a fairly unspecial mid-range acer notebook and i couldn't indulge in dmesg porn because it wouldn't boot any external media without keys present on them. hardware vendors are perhaps not forced to remove it, but they will. it's one less variable thus one less support issue. also, how will you check on an online shop if the bios actually has a secure boot off switch? you can't find even basic chipset information on their product description pages, let alone bios options. buying notebooks online has just become impossible. i am fairly fed up with notebook vendors. wifi adapter whitelists, secure boot, it's been going downhill for the last 15 years. locking me out of my own notebook because ms can't get its shit together is the last drop. we'll be all running openbsd in VM's only on windows 123. or go back to desktop machines where cannot be locked down so easily and buy bigger backpacks. -f -- don't /usr/bin/talk to strangers
mac mini - virtualbox - openbsd amd64?
has anybody tried running openbsd in virtualbox on a mac mini? is X11, etc feasable? -f -- if r is reverse, how come d is forward?
Re: uxterm is showing UTF-8 chars with errors?
Thisis theone, 03 Mar 2015 16:55: $ touch árvíztűrő tükörfúrógép $ ls -lah -rw--- 1 user user 0B Feb 8 18:20 ??rv??zt??r?? t??k??rf??r??g??p $ I am using uxterm on OpenBSD 5.6. How can my uxterm show these accents in this way? Why doesn't it displays it as it is? look in the archives, there was a discussion not that long ago. $ ls |cat árvíztűrő tükörfúrógép -f -- the word of the day is legs. now spread the word!
Re: ehci_idone: ex=0xd90fd934 is done!
i confirm that with the latest snapshot that includes the latest ehci fix these messages went away. thank you. -f -- doubt is the beginning of wisdom
ehci_idone: ex=0xd90fd934 is done!
recently i have bought a cheapo usb hub, nothing fancy, just to keep the mouse, keyboard, wifi in one place. i have it plugged in at boot time. in dmesg.boot things look good. then hotplugd starts to run and receives all these devices. by the time i login, all the devices work but i have this in the logs: /var/log/messages: Feb 18 10:25:42 hatvan attach[5808]: DEVCLASS=0, DEVNAME=uhub5 Feb 18 10:25:42 hatvan attach[26613]: DEVCLASS=3, DEVNAME=run0 Feb 18 10:25:42 hatvan attach[6382]: DEVCLASS=0, DEVNAME=ums0 Feb 18 10:25:42 hatvan attach[19471]: DEVCLASS=0, DEVNAME=uhid1 Feb 18 10:25:42 hatvan attach[7128]: DEVCLASS=0, DEVNAME=uhid2 Feb 18 10:25:42 hatvan attach[21013]: DEVCLASS=0, DEVNAME=softraid0 Feb 18 10:25:42 hatvan attach[28869]: DEVCLASS=5, DEVNAME=wsmouse2 Feb 18 10:25:42 hatvan attach[31776]: DEVCLASS=5, DEVNAME=wsmouse1 Feb 18 10:25:42 hatvan attach[24252]: DEVCLASS=0, DEVNAME=ugen0 Feb 18 10:25:42 hatvan attach[22473]: DEVCLASS=0, DEVNAME=ukbd0 Feb 18 10:25:42 hatvan attach[12734]: DEVCLASS=0, DEVNAME=uhid3 Feb 18 10:25:42 hatvan attach[20698]: DEVCLASS=0, DEVNAME=uhid0 Feb 18 10:25:42 hatvan attach[14234]: DEVCLASS=0, DEVNAME=sensordev Feb 18 10:25:42 hatvan attach[22971]: DEVCLASS=0, DEVNAME=uhidev3 Feb 18 10:25:42 hatvan attach[30500]: DEVCLASS=0, DEVNAME=scsibus2 Feb 18 10:25:42 hatvan attach[29655]: DEVCLASS=0, DEVNAME=uhidev1 Feb 18 10:25:42 hatvan attach[6644]: DEVCLASS=0, DEVNAME=uhidev2 Feb 18 10:25:42 hatvan attach[3098]: DEVCLASS=0, DEVNAME=ums1 Feb 18 10:25:42 hatvan attach[12115]: DEVCLASS=0, DEVNAME=scsibus3 Feb 18 10:25:42 hatvan attach[7499]: DEVCLASS=5, DEVNAME=wskbd1 Feb 18 10:25:42 hatvan attach[21089]: DEVCLASS=0, DEVNAME=vscsi0 Feb 18 10:25:42 hatvan attach[23823]: DEVCLASS=0, DEVNAME=uhidev0 Feb 18 10:25:43 hatvan /bsd: ehci_idone: ex=0xd90fd934 is done! Feb 18 10:25:43 hatvan last message repeated 2 times Feb 18 10:25:43 hatvan /bsd: ehci_idone: ex=0xd90fda84 is done! Feb 18 10:25:46 hatvan dhclient[4435]: run0 down; exiting /var/log/daemon: Feb 18 10:25:42 hatvan hotplugd[20965]: started Feb 18 10:25:42 hatvan hotplugd[20965]: uhub5 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: run0 attached, class 3 Feb 18 10:25:42 hatvan hotplugd[20965]: wsmouse1 attached, class 5 Feb 18 10:25:42 hatvan hotplugd[20965]: ums0 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: uhid0 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: uhid1 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: uhid2 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: uhidev0 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: wskbd1 attached, class 5 Feb 18 10:25:42 hatvan hotplugd[20965]: ukbd0 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: uhidev1 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: wsmouse2 attached, class 5 Feb 18 10:25:42 hatvan hotplugd[20965]: ums1 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: uhidev2 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: uhid3 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: uhidev3 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: ugen0 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: scsibus2 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: vscsi0 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: sensordev attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: scsibus3 attached, class 0 Feb 18 10:25:42 hatvan hotplugd[20965]: softraid0 attached, class 0 Feb 18 10:25:46 hatvan dhclient[4435]: run0 down; exiting Feb 18 10:25:51 hatvan dhclient[6032]: DHCPREQUEST on run0 to 255.255.255.255 Feb 18 10:25:52 hatvan dhclient[6032]: DHCPACK from 10.10.10.1 (xx:xx:xx:xx:xx:xx) Feb 18 10:25:52 hatvan dhclient[6032]: bound to 10.10.10.60 -- renewal in 604780 seconds. so i thought i'd mention it, because ehci_idone messages are not good news :] -f OpenBSD 5.7-beta (GENERIC.MP) #742: Tue Feb 17 12:50:59 MST 2015 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 2137341952 (2038MB) avail mem = 2090029056 (1993MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 03/31/11, BIOS32 rev. 0 @ 0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (67 entries) bios0: vendor LENOVO version 7BETD8WW (2.19 ) date 03/31/2011 bios0: LENOVO 1705CTO 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) 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
Re: What are the disadvantages of soft updates?
Mihai Popescu, 21 Jan 2015 14:34: but in my experience it is not that hard to get a corrupted filesystem with softupdates and i had to stop using it. but i seem to attract panics and page faults. in the recent past i had corrupted filesystems even without softupdates, up to a point that nowadays i mount -o sync,noatime. i have a toshiba ssd, so it actually feels like having softupdates on :) when your hardware (and its drivers) are solid, i am all for it though. i just dont have that hw. I might be quick on judgement or even mess with thread's topic, but did you reported that problem anywere close to openbsd project lists? SSD is a very used hardware under OpenBSD, it is not so exotic. I think that are developers who can take a look at your problem if you report it. i meant hardware in general, not the disk. sometimes laptops (esp. the cheaper ones) contain questionable devices... i saw panics with ath mainly. -f -- words are not food, though sometimes we must eat them.
Re: PostgreSQL 9.4: initdb: invalid locale settings
openda...@hushmail.com, 21 Jan 2015 19:29: Why won't `postgresql-server-9.4.0` accept my locale? Just upgraded to 5.7 from 5.5. Whatever `postgresql-server` version was in 5.5 didn't have this problem. % su _postgresql % initdb -D /var/postgresql/data/ LC_ALL is not supported yet, try LC_CTYPE. $ sudo su - _postgresql $ export LC_CTYPE=en_US.UTF-8 $ initdb -D /var/postgresql/data -U postgres -E UTF8 -A md5 -W $ psql -U postgres -l Password for user postgres: List of databases Name| Owner | Encoding | Collate |Ctype| Access privileges ---+--+--+-+-+--- postgres | postgres | UTF8 | C | en_US.UTF-8 | template0 | postgres | UTF8 | C | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | C | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres (3 rows) -f -- if practice makes perfect, and nobody's perfect, why practice?
Re: PostgreSQL 9.4: initdb: invalid locale settings
openda...@hushmail.com, 21 Jan 2015 20:41: Hello, On 21. januar 2015 at 8:26 PM, frantisek holop min...@obiit.org wrote: LC_ALL is not supported yet, try LC_CTYPE. $ sudo su - _postgresql $ export LC_CTYPE=en_US.UTF-8 $ initdb -D /var/postgresql/data -U postgres -E UTF8 -A md5 -W $ psql -U postgres -l I couldn't get it to work with `LC_CTYPE`. It did, however, work with `initdb -D /var/postgresql/data/ --no-locale`. you are not giving details, so i don't know. but a non-utf8 database nowadays is very limiting. -f -- god? i'm no god. god has mercy.
Re: What are the disadvantages of soft updates?
Alexandre Ratchov, 20 Jan 2015 10:17: in *my* practice, yes. I lost no single file last 10 years despite the frequent system crashes during kernel development experimenting. very nice, i dont doubt that. but in my experience it is not that hard to get a corrupted filesystem with softupdates and i had to stop using it. but i seem to attract panics and page faults. in the recent past i had corrupted filesystems even without softupdates, up to a point that nowadays i mount -o sync,noatime. i have a toshiba ssd, so it actually feels like having softupdates on :) when your hardware (and its drivers) are solid, i am all for it though. i just dont have that hw. -f -- day-by-day a day goes by.
suspend/resume regression
is anybody else seeing regression in suspend/resume? i am noticing that my 100% resume ratio is starting to decline. at resume time, the thinkpad half moon icon starts blinking and nothing else happens. not all resumes fail, but i cannot see a pattern. i suspend every night and resume every morning. any ideas what i could try? this was not an issue in the past (started in november/december IIRC). -f OpenBSD 5.7-beta (GENERIC.MP) #669: Sat Jan 10 23:12:49 MST 2015 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 2137341952 (2038MB) avail mem = 2090065920 (1993MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/31/11, BIOS32 rev. 0 @ 0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (67 entries) bios0: vendor LENOVO version 7BETD8WW (2.19 ) date 03/31/2011 bios0: LENOVO 1705CTO 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) 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) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 166MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF 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, resource for USB0, USB2, USB7 acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 97 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4629 serial 327 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000 0xd/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03 intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1024x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices AD1981HD audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 pci1 at ppb0 bus 2 em0 at pci1 dev 0 function 0 Intel 82573L rev 0x00: msi, address 00:16:d3:b6:19:57 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21 pci2 at ppb1 bus 3 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22 pci3 at ppb2 bus 4 ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23 pci4 at ppb3 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 ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci5 at ppb4 bus 21 cbb0 at pci5 dev 0 function 0 Ricoh 5C476 CardBus rev 0xb4: apic 1 int 16 Ricoh 5C552 Firewire rev 0x09 at pci5 dev 0 function 1 not configured sdhc0 at pci5 dev 0 function 2 Ricoh 5C822 SD/MMC rev 0x18: apic 1 int 18 sdmmc0 at sdhc0 cardslot0 at cbb0 slot 0 flags 0
hotplugd attach into /etc/examples?
now that there is a dedicated place for examples, i think it would be easier to get started with hotplugd/attach with a file instead of copy pasting from the manual page... the only difference from the man page example is simple logging with logger(1) (to help add new devices), and commenting out (but leaving for reference) the sony camera example. i think it would be useful to somehow advertise these examples (perhaps a reference in their respective man files) as they are easy to overlook, especially for newcomers, and could save some d'oh moments... -f Index: etc/examples/attach === RCS file: etc/examples/attach diff -N etc/examples/attach --- /dev/null 1 Jan 1970 00:00:00 - +++ etc/examples/attach 24 Dec 2014 09:58:07 - @@ -0,0 +1,24 @@ +#!/bin/sh + +DEVCLASS=$1 +DEVNAME=$2 + +logger -i -t attach DEVCLASS=$DEVCLASS, DEVNAME=$DEVNAME + +case $DEVCLASS in +2) + # disk devices + disklabel=`/sbin/disklabel $DEVNAME 21 | \ + sed -n '/^label: /s/^label: //p'` + logger -i -t attach disklabel='$disklabel' +# case $disklabel in +# Sony*DSC*) +# mount -o nodev,nosuid /dev/$DEVNAMEi /mnt/camera +# ;; +# esac + ;; +3) + # network devices; requires hostname.$DEVNAME + sh /etc/netstart $DEVNAME + ;; +esac Index: usr.sbin/hotplugd/hotplugd.8 === RCS file: /cvs/src/usr.sbin/hotplugd/hotplugd.8,v retrieving revision 1.12 diff -u -p -r1.12 hotplugd.8 --- usr.sbin/hotplugd/hotplugd.821 Jan 2014 03:15:46 - 1.12 +++ usr.sbin/hotplugd/hotplugd.824 Dec 2014 09:58:10 - @@ -85,34 +85,6 @@ Script to execute on device attachment. .It /etc/hotplug/detach Script to execute on device detachment. .El -.Sh EXAMPLES -Sample -.Pa attach -script: -.Bd -literal -offset indent -#!/bin/sh - -DEVCLASS=$1 -DEVNAME=$2 - -case $DEVCLASS in -2) - # disk devices - disklabel=`/sbin/disklabel $DEVNAME 2\*(Gt1 | \e - sed -n '/^label: /s/^label: //p'` - case $disklabel in - Sony*DSC*) - # Sony DSC camera - mount -o nodev,nosuid /dev/$DEVNAMEi /mnt/camera - ;; - esac - ;; -3) - # network devices; requires hostname.$DEVNAME - sh /etc/netstart $DEVNAME - ;; -esac -.Ed .Sh SEE ALSO .Xr hotplug 4 .Sh HISTORY
Re: hotplugd attach into /etc/examples?
Ingo Schwarze, 24 Dec 2014 11:34: now that there is a dedicated place for examples, You misunderstand. The point of creating /etc/examples was not to create a new place for documentation. The point was to be able to delete lots of junk from /etc/ without being held back by the substantial work of properly integrating the information into manual pages. i understand but disagree. for me /etc/examples is the same concept as /usr/local/share/examples the latter is a great way to not clutter up /etc/ at package install time, but at the same time it does not throw out the baby with the bathwater, and it gives me a file i can quickly start working on (together with the man page) instead of copy-pasting everything ab ovo from documentation, especially when many config files need minimal changes for common operation. example config files can be quite helpful and can save a lot of headache, googling and questions to mailing lists. i think hotplugd is special case, because without at least a skeleton attach script it is utterly useless, and i think there should have been a commented out script file from the beginning under /etc/hotplugd (and not /etc/hotplug). the patch i sent is just an idea, i was fairly sure it would never get it in its current form, but i wanted to start a discussion about it. copying the whole /etc/ structure inside /etc/examples seemed excessive for this, after all they are just examples. last but not least, a whole shell script inside a man page seems totally out of place for me, excessive or not. -f -- 2 wrongs don't make a right - but 3 lefts do!
Re: hw.setperf affects only 1 (of several) cores?
Marinos Yannikos, 23 Dec 2014 12:20: Practical implications: a Supermicro A1SAi based server sitting on my desk gets quite warm at 61°C when idle and supposedly clocked down to half the nominal CPU frequency at hw.setperf=0 (Linux: 43°C). this is a difficult issue, because as far as i know, there are no tools to query per cpu setperf/temperature. i was also thinking about sending an email, as i think i see something vagualy similar on my thinkpad notebook, but how to collect data? in a 18C room (i like cold), i start up the notebook (not resume), that was off all night, and it goes to 46C in a couple of minutes. fair enough, the other notebooks in the room (3) have very similar/same temperatures (windows and linux). for the sake of this scientific experiment, i don't start anything heavy (browser, etc), just a terminal. every 6 minutes or so, the temperature goes up 1C, and in 40 minutes, i am at 53C and it will go up to 56C by the time i finish this email. now, 50~58C are common temperatures for common usage on a common notebook. but this room is 18C, and the notebook is basically idle. (i will also boot linux on it later to compare) it seems to me, that at 18C, an idle CPU at 1000MHz should be around 45~48C. resume is a whole other thing. in a 18C room, after a whole night of being off, temperature goes into the high 60s and early 70C right away and it is clear it should be at least 20 less. but i was trying to get more data on this for a bug report. -f $ sysctl hw hw.machine=i386 hw.model=Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) hw.ncpu=2 hw.byteorder=1234 hw.pagesize=4096 hw.disknames=sd0:2a6c0cb2b714a4f0,sd1:9b35dfa2af509654 hw.diskcount=2 hw.sensors.acpitz0.temp0=52.00 degC (zone temperature) hw.sensors.acpitz1.temp0=53.00 degC (zone temperature) hw.sensors.acpibtn0.indicator0=On (lid open) hw.sensors.acpibat0.volt0=14.40 VDC (voltage) hw.sensors.acpibat0.volt1=16.65 VDC (current voltage) hw.sensors.acpibat0.power0=0.00 W (rate) hw.sensors.acpibat0.watthour0=23.71 Wh (last full capacity) hw.sensors.acpibat0.watthour1=1.19 Wh (warning capacity) hw.sensors.acpibat0.watthour2=0.20 Wh (low capacity) hw.sensors.acpibat0.watthour3=23.71 Wh (remaining capacity), OK hw.sensors.acpibat0.watthour4=28.80 Wh (design capacity) hw.sensors.acpibat0.raw0=0 (battery full), OK hw.sensors.acpiac0.indicator0=On (power supply) hw.sensors.acpithinkpad0.temp0=52.00 degC hw.sensors.acpithinkpad0.temp1=42.00 degC hw.sensors.acpithinkpad0.temp3=49.00 degC hw.sensors.acpithinkpad0.temp4=18.00 degC hw.sensors.acpithinkpad0.temp6=18.00 degC hw.sensors.acpithinkpad0.fan0=3011 RPM hw.sensors.acpidock0.indicator0=Off (not docked), UNKNOWN hw.sensors.cpu0.temp0=53.00 degC hw.sensors.aps0.temp0=42.00 degC hw.sensors.aps0.temp1=42.00 degC hw.sensors.aps0.indicator0=On (Keyboard Active) hw.sensors.aps0.indicator1=Off (Mouse Active) hw.sensors.aps0.indicator2=On (Lid Open) hw.sensors.aps0.raw0=466 (X_ACCEL) hw.sensors.aps0.raw1=511 (Y_ACCEL) hw.sensors.aps0.raw2=466 (X_VAR) hw.sensors.aps0.raw3=511 (Y_VAR) hw.sensors.softraid0.drive0=online (sd1), OK hw.cpuspeed=1000 hw.setperf=0 hw.vendor=LENOVO hw.product=1705CTO hw.version=ThinkPad X60s hw.serialno=LVB7000 hw.uuid=b3bcd5e0-08e3-11dc-9e40-c19b215ac37f hw.physmem=2137341952 hw.usermem=2111606784 hw.ncpufound=2 hw.allowpowerdown=1 hw.perfpolicy=auto OpenBSD 5.6-current (GENERIC.MP) #630: Thu Dec 18 01:03:03 MST 2014 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 2137341952 (2038MB) avail mem = 2090070016 (1993MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/31/11, BIOS32 rev. 0 @ 0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (67 entries) bios0: vendor LENOVO version 7BETD8WW (2.19 ) date 03/31/2011 bios0: LENOVO 1705CTO 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) 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) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 166MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF ioapic0 at mainbus0: apid 1 pa 0xfec0,
Re: ffs and utf8
Joel Rees, 01 Dec 2014 22:04: Hmm. What would you suggest doing with the following file name? /etc (You may need a Japanese font to display it.) If you try to normalize it on a *nix box, it will hopefully conflict with your system file permissions. But, then what do you do with it? this example has potential to confuse of course, however NFD normalizing will not turn it into '/etc', as they are not composite characters: '/': unicode cat=Po 'e': unicode cat=Ll 't': unicode cat=Ll 'c': unicode cat=Ll (Po=other punctuation, Ll=lowercase letter) -f -- i quit drinking/smoking/ sex once. very boring 15 minutes.
Re: ffs and utf8
Stefan Sperling, 29 Nov 2014 18:17: Are you aware of 'detox' package? There's also converters/convmv $ touch »´ÁÉǑÄ« $ convmv * wrong/unknown from encoding! $ convmv -f utf8 -t latin1 * Starting a dry run without changes... iso-8859-1 doesn't cover all needed characters for: ./»´ÁÉǑÄ« To prevent damage to your files, we won't continue. First fix this or correct options! convmv is a precision tool. it needs to know the source and target encoding, and is very careful. in contrast my tool is much more blunt, because i dont care about an exact 1:1 mapping as on my disks punctuation and diacritics are not welcome. -f -- life is like... an analogy.
ffs and utf8
i have written for myself a small python3 script that removes accented characters and all utf8 symbols from filenames, a kind of utf-8 to ascii sanitizer. while working on it, i created some strange test cases (e.g. »´ÁÉǑÄ«) for filenames and i was pleasently surprised that the files were created/read/renamed/deleted without problems. is it true to say then, that ffs is entirely utf8 safe, and/or that ffs is actually an utf-8 encoded filesystem as IIRC Mac OS is? or is it some kind of happy accident that it works? :) -f -- mips = meaningless index of processor speed
Re: ffs and utf8
frantisek holop, 29 Nov 2014 13:02: while working on it, i created some strange test cases (e.g. »´ÁÉǑÄ«) for filenames and i was pleasently surprised that the files were created/read/renamed/deleted without problems. i think i should clarify this a bit: they show perfect in midnight commander, not in shell. $ touch »´ÁÉǑÄ« $ ls ?? -f -- to every rule there's an exception vice versa.
Re: ffs and utf8
Ville Valkonen, 29 Nov 2014 14:08: Are you aware of 'detox' package? $ touch »´ÁÉǑÄ« $ detox * $ ls A_A_A_A_C_A_A_ $ touch »´ÁÉǑÄ« $ my_silly_script $ ls aeoa perhaps with some massaging detox can be made to work like my script, i dont know. but that is actually besides the point. i wrote my own 128 lines python script to have fun, see how some stuff works, learn about utf-8, etc. as an added bonus, it is also a mass renamer that can remove and add strings from/to filenames. and when it will grow up, it will also autotag music files, create art thumbnail and feed it to cmus! :) where is your detox now? :) -f -- dinner: dead animals and some stuff out of the ground.
Re: ffs and utf8
Paolo Aglialoro, 29 Nov 2014 13:56: Shouldn't in 2014 the aim having all working in utf-8? sure. but i like my filenames ascii and whitespaceless. shows my age. -f -- what a nice night for an evening. -- steven wright
Re: making firefox less insecure
Jorge Gabriel Lopez Paramount, 16 Nov 2014 15:55: Seems heavy, and probably harder to set up and maintain than (e) and (f). Sure it's harder to set up, but believe me, after setting up the maintenance is almost zero. I restart every week that server as read-write to patch it as if the browsers weren't memory hungry enough, and slow: so let's throw them inside a VM that is another pile of huge unadited codebase (especially when the guest is linux)? the browsing experience of resource hungry sites on older generation notebooks is abismal as it is, a VM is hardly the solution for me. it is true that noscript needs handholding, and not all sites subscribe to the philosophy of graceful degradation of user experience when javascript is disabled, but together with urlfilter they pack a punch and serves my needs well. if your bank serves you exploits through javascript, you have bigger things to worry about than your $HOME :) and probably should change your bank asap. regarding the ssh key stealing, they are password protected anyway, right? -f -- atheism is a non-prophet organization.
Re: troublesome threesome: home network woes (maybe not (only) a router issue)
there must be something more than what meets the eye: i fished out another home gateway, a huawei this time. interestingly the symptoms are very similar (well, it also probably runs some version of linux). openbsd wifi - huawei - linux wifi: 64 bytes from 192.168.1.66: icmp_seq=356 ttl=64 time=388.439 ms 64 bytes from 192.168.1.66: icmp_seq=357 ttl=64 time=402.701 ms 64 bytes from 192.168.1.66: icmp_seq=358 ttl=64 time=7.685 ms 64 bytes from 192.168.1.66: icmp_seq=359 ttl=64 time=3.425 ms --- 192.168.1.66 ping statistics --- 424 packets transmitted, 332 packets received, 4 duplicates, 21.7% packet loss round-trip min/avg/max/std-dev = 2.767/133.146/2781.459/256.199 ms packet loss and crazy latency times. again, pinging only the gateway is perfect. pinging from linux is perfect. only pinging from openbsd to linux through the router is not. i have tried now 2 routers and 2 wifi network devices, ath(4), run(4), and the symptoms are always similar. the delayed pings are interesting: openbsd: 23:35:15.363306 10.10.10.60 10.10.10.33: icmp: echo request (seq:310) 23:35:16.521805 10.10.10.33 10.10.10.60: icmp: echo reply (seq:310) linux: 23:35:16.515386 10.10.10.60 10.10.10.33: icmp: echo request seq 310 23:35:16.515490 10.10.10.33 10.10.10.60: icmp: echo reply seq 310 openbsd: 23:35:18.393363 10.10.10.60 10.10.10.33: icmp: echo request (seq:313) 23:35:18.643357 10.10.10.33 10.10.10.60: icmp: echo reply (seq:313) linux: 23:35:18.635922 10.10.10.60 10.10.10.33: icmp: echo request seq 313 23:35:18.636006 10.10.10.33 10.10.10.60: icmp: echo reply seq 313 in other words, linux answers right away once it gets the request, and openbsd gets reply right away. so it seems the delay happens inside the router (both routers). and of course the packet loss, that is unacceptable. anybody has an idea what i could try? -f -- illiterate? write for a free brochure!
Re: troublesome threesome: home network woes (the surprising finale)
so i went a bit crazy and fished out 2 more home routers, one more usb dongle (only supported on linux) and a windows machine. quite a lan party i am having. using the 4 routers helped me rule out the router. and using another usb dongle on linux helped me confirm it is definitely not an openbsd issue. the crucial clue for me was trying: openbsd wifi - router - ethernet linux where suddenly everything was ok. that ruled out openbsd wifi issues (on run(4); ath(4) kind of works, but being internal it is not nice that it has 1/3 of the usb dongle's througput) and finally pinging linux from windows showed exactly the same kind of erratic behaviour i was seeing from openbsd. sorry for the monologue, but writing my research to the mailing list really makes me concentrate and as a bonus maybe someone can chime in and/or learn something from it. today's moral lesson: write at least 3 mails to misc@ before starting pointing fingers. and that linux is a good talker but bad listener. hehe. have a nice weekend. i am glad i did not waste mine on this. -f -- it takes both rain and sunshine to make a rainbow.
Re: lost+found disappeared
Alexander Hall, 30 Oct 2014 00:48: On 10/30/14 00:11, frantisek holop wrote: what does it mean when /lost+found disappears? i am sure i had it a couple of days ago (because that is when i completely reinstalled the system). A reinstall does not render you any lost+found directories. with newfs and everything? -f -- this is a tagline- whatever that is!
Re: lost+found disappeared
Philip Guenther, 29 Oct 2014 21:26: On Wed, Oct 29, 2014 at 4:11 PM, frantisek holop min...@obiit.org wrote: what does it mean when /lost+found disappears? i am sure i had it a couple of days ago (because that is when i completely reinstalled the system). How confident are you that it existed at that point? Looking at my own laptop, I don't see one in /. Indeed, the only partitions with one are those that have needed one after a crash. newfs certainly doesn't create one by default. i was fairly certain as i was opening the files in it to see what showed up there. but with all the panics and the reinstalls i got confused. sorry about that, perhaps i was looking at it before the reinstall as this is the first panic i got after the reinstall. i mounted everything using sync so it looks like it survived the panic and fsck much better :) is there a way to record the bootup fsck output without a serial console? (just had a panic again, but this time a blind 'boot dump' resulted only in a reboot) I would be bidding on cheap computers on ebay and starting with the plainest install possible if my box was failing like yours. i agree that at the moment my openbsd experience is very suboptimal. in fact, i get a panic sooner or later every 3-4 days (i suspend with lid). i am not a masochist (i keep telling myself), i am just trying to get a good kernel core dump and a usable bug report. the problem is that sometimes the fs cannot survive a lockup like this out of the blue. however the first genuine (not fs related) panic i got was i think ath(4) related. throughput on this card is very bad (and i am sitting next to the router) and periodically i have to kickstart it with ifconfig scan because it just stops. and the netbsd driver is of no help here :( so my next step is trying a run(4) usb dongle for a couple of days and see if the panics go away. this is a thinkpad X60s, and those don't come cheap. i am not aware (yet) of any of the hw failing, so i would like to keep it. -f -- i plan to live forever or die trying.
Re: lost+found disappeared
Jan Stary, 30 Oct 2014 10:25: Ah, so you completely reinstalled? Then you have a fresh system where there are no lost+found directories. These are only created when fsck needs to reattach UNREF files. these are the last lines of fsck i can see: /dev/sd0a (65714a12cd3919f3.a): UNREF FILE I=2182994 OWNER=f MODE=100600 /dev/sd0a: SIZE=12070 MTIME=Oct 29 23:35 2014 (CLEARED) /dev/sd0a (65714a12cd3919f3.a): FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED) /dev/sd0a (65714a12cd3919f3.a): SUMMARY INFORMATION BAD (SALVAGED) /dev/sd0a (65714a12cd3919f3.a): BLK(S) MISSING IN BIT MAPS (SALVAGED) /dev/sd0a (65714a12cd3919f3.a): 375626 files, 5521342 used, 10992840 free (6488 frags, 1373294 blocks, 0.0% fragmentation) /dev/sd0a (65714a12cd3919f3.a): MARKING FILE SYSTEM CLEAN $ ls / altroot/ boot bsd.rd dev/ etc/ mnt/ sbin/tmp/ var/ bin/ bsd bsd.sp emul/home/root/sys@ usr/ -f -- this message was brought to you by the Campaign to Save Humans.
Re: lost+found disappeared
Otto Moerbeek, 30 Oct 2014 12:59: fsck_ffs only creates lost+found if it needs to link a lost file, but it does not do that in preen mode. Preen mode is used by the rc script. thank you for the explanation. from the man page it seemed that preen mode is identical to normal mode except 1) uses also /etc/fstab 2) forces -y on minor issues. but there are more differences then. -f -- to a cat, no! means not while i'm looking.
troublesome threesome: home network woes
i have network problem i am trying to solve but i am stuck. any ideas to track this down are welcome. my home network (wifi, dhcp): router (D-link DI-524): 10.10.10.1 openbsd (current) notebook: 10.10.10.60 linux mint (r17) notebook: 10.10.10.33 the problem: connecting from openbsd to linux is very unreliable. pf is disabled. openbsd - router, perfect: 64 bytes from 10.10.10.1: icmp_seq=5444 ttl=64 time=1.344 ms 64 bytes from 10.10.10.1: icmp_seq=5445 ttl=64 time=1.327 ms load: 1.31 cmd: ping 23507 [running] 0.17u 0.17s 0% 97k 5446 packets transmitted, 5446 packets received, 52 duplicates, 0.0% packet loss round-trip min/avg/max/std-dev = 1.120/3.009/352.791/5.335 ms openbsd - 8.8.8.8, perfect: 64 bytes from 8.8.8.8: icmp_seq=750 ttl=48 time=13.160 ms 64 bytes from 8.8.8.8: icmp_seq=751 ttl=48 time=13.913 ms load: 1.10 cmd: ping 29382 [runnable] 0.02u 0.11s 0% 73k 752 packets transmitted, 752 packets received, 8 duplicates, 0.0% packet loss round-trip min/avg/max/std-dev = 11.604/15.112/174.934/7.288 ms linux - openbsd, perfect: 64 bytes from gw (10.10.10.1): icmp_seq=5813 ttl=64 time=1.42 ms 64 bytes from gw (10.10.10.1): icmp_seq=5814 ttl=64 time=1.51 ms --- gw ping statistics --- 5814 packets transmitted, 5813 received, 0% packet loss, time 5821699ms rtt min/avg/max/mdev = 1.178/10.962/1008.744/60.079 ms, pipe 2 openbsd - linux, abysmal: 64 bytes from 10.10.10.33: icmp_seq=285 ttl=64 time=1.992 ms 64 bytes from 10.10.10.33: icmp_seq=286 ttl=64 time=2.245 ms 64 bytes from 10.10.10.33: icmp_seq=287 ttl=64 time=219.239 ms 64 bytes from 10.10.10.33: icmp_seq=288 ttl=64 time=232.502 ms 64 bytes from 10.10.10.33: icmp_seq=318 ttl=64 time=1065.398 ms 64 bytes from 10.10.10.33: icmp_seq=319 ttl=64 time=55.879 ms 64 bytes from 10.10.10.33: icmp_seq=320 ttl=64 time=2.062 ms 64 bytes from 10.10.10.33: icmp_seq=321 ttl=64 time=490.335 ms 64 bytes from 10.10.10.33: icmp_seq=322 ttl=64 time=504.393 ms load: 1.14 cmd: ping 9855 [running] 0.00u 0.01s 0% 93k 323 packets transmitted, 169 packets received, 1 duplicates, 47.7% packet loss round-trip min/avg/max/std-dev = 1.992/292.443/2008.553/444.272 ms if i ssh to linux, i get dropped very soon. ssh-ing from linux to openbsd works as expected. am i missing something? -f -- one family builds a wall, two families enjoy it.
Re: troublesome threesome: home network woes (yes, it is a router issue)
frantisek holop, 30 Oct 2014 20:31: i have network problem i am trying to solve but i am stuck. any ideas to track this down are welcome. i fished out some cables et voila, when both notebooks are connected as god meant it, the router is happy: ethernet openbsd - ethernet linux: 64 bytes from 10.10.10.144: icmp_seq=932 ttl=64 time=0.611 ms 64 bytes from 10.10.10.144: icmp_seq=933 ttl=64 time=0.495 ms 64 bytes from 10.10.10.144: icmp_seq=934 ttl=64 time=0.403 ms 64 bytes from 10.10.10.144: icmp_seq=935 ttl=64 time=0.808 ms load: 1.38 cmd: ping 8765 [running] 0.00u 0.01s 0% 73k 936 packets transmitted, 936 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.393/0.689/5.801/0.247 ms ethernet linux - ethernet openbsd: 64 bytes from 10.10.10.74: icmp_seq=1045 ttl=255 time=0.854 ms 64 bytes from 10.10.10.74: icmp_seq=1046 ttl=255 time=0.781 ms 64 bytes from 10.10.10.74: icmp_seq=1047 ttl=255 time=0.718 ms ^C --- 10.10.10.74 ping statistics --- 1047 packets transmitted, 1047 received, 0% packet loss, time 1045998ms rtt min/avg/max/mdev = 0.363/0.653/26.694/0.818 ms however: ethernet openbsd - wifi linux: 64 bytes from 10.10.10.33: icmp_seq=67 ttl=64 time=202.044 ms 64 bytes from 10.10.10.33: icmp_seq=68 ttl=64 time=114.513 ms 64 bytes from 10.10.10.33: icmp_seq=69 ttl=64 time=147.893 ms 64 bytes from 10.10.10.33: icmp_seq=74 ttl=64 time=1330.733 ms 64 bytes from 10.10.10.33: icmp_seq=75 ttl=64 time=320.779 ms 64 bytes from 10.10.10.33: icmp_seq=76 ttl=64 time=226.164 ms load: 1.12 cmd: ping 30571 [running] 0.00u 0.00s 0% 95k 77 packets transmitted, 69 packets received, 10.4% packet loss round-trip min/avg/max/std-dev = 1.610/212.516/1788.324/344.446 ms 64 bytes from 10.10.10.33: icmp_seq=77 ttl=64 time=136.124 ms we are back where we were. and last but not least: wifi openbsd - ethernet linux: 64 bytes from 10.10.10.144: icmp_seq=87 ttl=64 time=1.525 ms 64 bytes from 10.10.10.144: icmp_seq=88 ttl=64 time=2.532 ms 64 bytes from 10.10.10.144: icmp_seq=89 ttl=64 time=1.536 ms load: 1.13 cmd: ping 19554 [running] 0.00u 0.00s 0% 75k 90 packets transmitted, 90 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 1.337/2.926/31.723/4.308 ms who would have thought? quite a surprise. any suggestions for a good home router? the only advanced feature i use is static dhcp entries. -f -- to learn more about paranoids, follow them around!
lost+found disappeared
what does it mean when /lost+found disappears? i am sure i had it a couple of days ago (because that is when i completely reinstalled the system). should i recreate it by hand? shouldn't fsck create it? especially when there were a lot of UNREF files and an unclean shutdown... (just had a panic again, but this time a blind 'boot dump' resulted only in a reboot) -f -- it's the end of the world as we know it.
Re: panic: ffs_blkfree: bad size
Philip Guenther, 26 Oct 2014 14:23: From the backtrace, either a bogus block number ended up in a single-indirect block, or the filesystem superblock was corrupted. Or something is scrambling memory. I think you're correct that this filesystem has been damaged by whatever memory corruption you've been experiencing beyond the point fsck handles. Time to backup, newfs, reinstall and restore. And if you're still seeing memory corruptions then maybe roll back to a version that didn't experience those and see if you can bisect to whatever change caused the problem. done and done, reinstalled. for the time being, can i minimize panic related fs errors by mounting using `sync` flag? -f -- i could prove god statistically. -- george gallup
Re: mutt and gmail
Dmitrij D. Czarkoff, 25 Oct 2014 22:21: FWIW I use mbsync (from mail/isync) to sync Gmail to local maildir, and have my mutt set up to work in maildir only. I set up cron to call mbsync on schedule, and I from then I totally forgot about the crappiness of Gmail's IMAP interface. thanks for the tip. i got a couple of other tips off-list, all describing some offline sync, fetchmail and other solutions, which are fine. however mutt is seen as a fine gmail and/or imap client and i would normally take this to the mutt mailing list (obviously). without full debugging it is not possible to know which component is failing in the chain. it's just that there is a lot of ongoing work on SSL in openbsd, so i thought i might bring it up here as the error message specifically mentioned SSL. -f -- smile, its the second best thing you can do with your lips.
panic: ffs_blkfree: bad size
memtest did not reveal errors. unfortunately i got another panic, during some routine file operations. (after the 2 previous panics, fsck required manual running, and even multiple runs, so maybe this one is choking on fsck's best efforts, i dont know.) savecore: reboot after panic: ffs_blkfree: bad size savecore: system went down at Sun Oct 26 12:26:47 2014 savecore: writing core to /var/crash/bsd.2.core savecore: writing kernel to /var/crash/bsd.2 # gdb (gdb) file /var/crash/bsd.2 Reading symbols from /var/crash/bsd.2...(no debugging symbols found)...done. (gdb) target kvm /var/crash/bsd.2.core #0 0xd0557603 in boot () (gdb) where #0 0xd0557603 in boot () #1 0xd03bbba6 in reboot () #2 0xd037cdd2 in db_boot_dump_cmd () #3 0xd037d4a4 in db_command () #4 0xd037d6ec in db_command_loop () #5 0xd03818da in db_trap () #6 0xd0553c1b in kdb_trap () #7 0xd05643b7 in trap () #8 0xd0200b31 in alltraps () #9 0xd0553937 in Debugger () #10 0xd03ca2c1 in panic () #11 0xd04c98d4 in ffs_blkfree () #12 0xd04d1249 in ffs_indirtrunc () #13 0xd04d26d9 in ffs_truncate () #14 0xd04e3bb3 in ufs_inactive () #15 0xd03f8814 in VOP_INACTIVE () #16 0xd03f14ce in vput () #17 0xd04e8f05 in ufs_remove () #18 0xd03f84a9 in VOP_REMOVE () #19 0xd03f5a14 in dounlinkat () #20 0xd03f5ada in sys_unlink () #21 0xd0563dd4 in syscall () #22 0xd0200bf3 in Xsyscall () #23 0xf5cf4fa8 in ?? () #24 0x005b in ?? () #25 0x0063 in ?? () #26 0x0033 in ?? () #27 0x0033 in ?? () #28 0x814a2c80 in ?? () #29 0x841844f0 in ?? () #30 0xcfbd2248 in ?? () #31 0x37944cb4 in ?? () #32 0x37938aba in ?? () #33 0x0028 in ?? () #34 0x000a in ?? () #35 0x0003 in ?? () #36 0x0002 in ?? () #37 0x08b08735 in ?? () #38 0x002b in ?? () #39 0x00200257 in ?? () #40 0xcfbd221c in ?? () #41 0x0033 in ?? () #42 0x in ?? () -f -- go and catch a falling star...
mutt and gmail
i'd like to ask other gmail on mutt users if they experience a Mailbox closed issue if they have it open for longer stretches of time. reopening the mailbox works but it is kind of a PITA. after making a debug enabled mutt, its debug log reveals the following: [2014-10-25 15:44:16] SSL error: I/O error [2014-10-25 15:44:16] Connection to imap.gmail.com closed [2014-10-25 15:44:18] imap_cmd_step: Error reading server response. [2014-10-25 15:44:18] imap_exec: command failed: [2014-10-25 15:44:18] Error polling mailboxes [2014-10-25 15:44:18] Mailbox closed mutt-1.5.23p6v0-sasl -f -- i'm weird, but i'm saving up to be eccentric.
Re: pool_do_get panic
a similar panic. looks like i am off to memtest86 savecore: reboot after panic: pool_do_get: mcl2k free list modified: page 0xd8af7000; item addr 0xd8af7800; offset 0x0=0x80 != 0x416a2108 savecore: writing core to /var/crash/bsd.1.core savecore: writing kernel to /var/crash/bsd.1 (gdb) file /var/crash/bsd.1 Reading symbols from /var/crash/bsd.1...(no debugging symbols found)...done. (gdb) target kvm /var/crash/bsd.1.core #0 0xd0557603 in boot () (gdb) where #0 0xd0557603 in boot () #1 0xd03bbba6 in reboot () #2 0xd037cdd2 in db_boot_dump_cmd () #3 0xd037d4a4 in db_command () #4 0xd037d6ec in db_command_loop () #5 0xd03818da in db_trap () #6 0xd0553c1b in kdb_trap () #7 0xd05643b7 in trap () #8 0xd0200b31 in alltraps () #9 0xd0553937 in Debugger () #10 0xd03ca2c1 in panic () #11 0xd03ccd12 in assertwaitok () #12 0xd039fa53 in bufq_wait () #13 0xd03e99dd in bwrite () #14 0xd03f8bd4 in VOP_BWRITE () #15 0xd03ec8be in cluster_wbuild () #16 0xd03ece08 in cluster_write () #17 0xd04d69c7 in ffs_write () #18 0xd03f8282 in VOP_WRITE () #19 0xd0514504 in uvn_io () #20 0xd05146de in uvn_put () #21 0xd050b204 in uvm_pager_put () #22 0xd051505e in uvn_flush () #23 0xd0515745 in uvm_vnp_sync () #24 0xd03f73b5 in sys_sync () #25 0xd03f08c2 in vfs_syncwait () #26 0xd03f22f9 in vfs_shutdown () #27 0xd0557617 in boot () #28 0xd03bbba6 in reboot () #29 0xd037cdd2 in db_boot_dump_cmd () #30 0xd037d4a4 in db_command () #31 0xd037d6ec in db_command_loop () #32 0xd03818da in db_trap () #33 0xd0553c1b in kdb_trap () #34 0xd05643b7 in trap () #35 0xd0200b31 in alltraps () #36 0xd0553937 in Debugger () #37 0xd03ca2c1 in panic () #38 0xd03ccd12 in assertwaitok () #39 0xd03a950d in malloc () #40 0xd0744814 in intel_crtc_mode_get () #41 0xd0714897 in drm_fb_helper_restore_fbdev_mode () #42 0xd074a2fe in intel_fb_restore_mode () #43 0xd07213e7 in inteldrm_doswitch () #44 0xd0721492 in inteldrm_show_screen () #45 0xd0824764 in wsdisplay_switchtoconsole () #46 0xd0553b24 in kdb_trap () #47 0xd05643b7 in trap () #48 0xd0200b31 in alltraps () #49 0xd0553937 in Debugger () #50 0xd03ca2c1 in panic () #51 0xd03c7a4f in pool_do_get () #52 0xd03c733f in pool_get () #53 0xd03debb1 in m_clget () #54 0xd03e3bb9 in sosend () #55 0xd03d0f6b in soo_write () #56 0xd03ce564 in dofilewritev () #57 0xd03ce76c in sys_writev () #58 0xd0563dd4 in syscall () #59 0xd0200bf3 in Xsyscall () #60 0xf5e75fa8 in ?? () #61 0x2685005b in ?? () #62 0x23070063 in ?? () #63 0x0f6d0033 in ?? () #64 0xcfbf0033 in ?? () #65 0x23073500 in ?? () #66 0x0001 in ?? () #67 0xcfbf2ec8 in ?? () #68 0x23072250 in ?? () #69 0x23073500 in ?? () #70 0x0003 in ?? () #71 0x0079 in ?? () #72 0x0003 in ?? () #73 0x0002 in ?? () #74 0x02aaa9fd in ?? () #75 0x002b in ?? () #76 0x00200282 in ?? () #77 0xcfbf2e9c in ?? () #78 0x0033 in ?? () #79 0x in ?? () -f -- new members urgently required for suicide club.
X11 screen blanking issue
on a thinkpad X60s this works: xset dpms force off this doesnt: xset +dpms xset dpms 0 0 300 anybody has an idea how can i make the screen blanking work? OpenBSD 5.6-current (GENERIC.MP) #442: Thu Oct 23 13:25:47 MDT 2014 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 2137354240 (2038MB) avail mem = 2090131456 (1993MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/31/11, BIOS32 rev. 0 @ 0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (67 entries) bios0: vendor LENOVO version 7BETD8WW (2.19 ) date 03/31/2011 bios0: LENOVO 1705CTO 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) 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) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 166MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF 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, resource for USB0, USB2, USB7 acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 97 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4629 serial 327 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000 0xd/0x1000 0xe/0x1! cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03 intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1024x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices AD1981HD audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 pci1 at ppb0 bus 2 em0 at pci1 dev 0 function 0 Intel 82573L rev 0x00: msi, address 00:16:d3:b6:19:57 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21 pci2 at ppb1 bus 3 ath0 at pci2 dev 0 function 0 Atheros AR5212 rev 0x01: apic 1 int 17 ath0: AR5424 10.3 phy 6.1 rf5424 10.2 eeprom 5.3, WOR2W, address 00:19:7e:4c:f7:1f ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22 pci3 at ppb2 bus 4 ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23 pci4 at ppb3 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 ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci5 at ppb4 bus 21 cbb0 at pci5 dev 0 function 0 Ricoh 5C476 CardBus rev 0xb4: apic 1 int 16 Ricoh 5C552 Firewire rev 0x09 at pci5 dev 0 function 1 not configured sdhc0 at pci5 dev 0 function 2 Ricoh 5C822 SD/MMC rev 0x18: apic 1 int 18 sdmmc0 at sdhc0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 ichpcib0 at pci0 dev
Re: X11 screen blanking issue
ok, it seems a paused mplayer could be the reason. is that expected? -f -- if you stand up to be counted someone will take your seat.
Re: X11 screen blanking issue
Christian Weisgerber, 24 Oct 2014 21:46: On 2014-10-24, frantisek holop min...@obiit.org wrote: ok, it seems a paused mplayer could be the reason. is that expected? Yes. MPlayer disables screen blanking. When you watch a movie, you usually don't press keys or move the mouse, but you still don't want your screen to switch off. i agree, but usually the screen moves :) i think the state should be restored also upon pausing the movie, at least it makes sense to me. -f -- in hell, you can't send people to hell...
pool_do_get panic
i had no visible ddb prompt unfortunately, so no show registers, etc but i managed a boot dump blindly. (i did not have enough space at reboot time, so i ran savecore manually later) $ sudo savecore /var/crash savecore: reboot after panic: pool_do_get: mcl2k free list modified: page 0xd7e2c000; item addr 0xd7e2c000; offset 0x0=0x754208 != 0xa39ee339 savecore: system went down at Thu Oct 23 18:08:04 2014 savecore: /var/crash/bounds: No such file or directory savecore: writing core to /var/crash/bsd.0.core savecore: writing kernel to /var/crash/bsd.0 it is not the first time i meet mr. pool_do_get, but it is not something i can reproduce at will. $ gdb GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-unknown-openbsd5.6. (gdb) file /var/crash/bsd.0 Reading symbols from /var/crash/bsd.0...(no debugging symbols found)...done. (gdb) target kvm /var/crash/bsd.0.core #0 0xd0560284 in boot () (gdb) where #0 0xd0560284 in boot () #1 0xd03c49d6 in reboot () #2 0xd0385a42 in db_boot_crash_cmd () #3 0xd03860f4 in db_command () #4 0xd038633c in db_command_loop () #5 0xd038a52a in db_trap () #6 0xd055c8db in kdb_trap () #7 0xd056d007 in trap () #8 0xd0200b31 in alltraps () #9 0xd055c5f7 in Debugger () #10 0xd03d2d81 in panic () #11 0xd03d57d2 in assertwaitok () #12 0xd03b22dd in malloc () #13 0xd075a704 in intel_crtc_mode_get () #14 0xd072a397 in drm_fb_helper_restore_fbdev_mode () #15 0xd076025e in intel_fb_restore_mode () #16 0xd0736f77 in inteldrm_doswitch () #17 0xd0737022 in inteldrm_show_screen () #18 0xd083c424 in wsdisplay_switchtoconsole () #19 0xd055c7e4 in kdb_trap () #20 0xd056d007 in trap () #21 0xd0200b31 in alltraps () #22 0xd055c5f7 in Debugger () #23 0xd03d2d81 in panic () #24 0xd03d050f in pool_do_get () #25 0xd03cfdff in pool_get () #26 0xd03e7681 in m_clget () #27 0xd02c56c6 in ath_getmbuf () ---Type return to continue, or q return to quit--- #28 0xd02c57ed in ath_rxbuf_init () #29 0xd02c5eec in ath_rx_proc () #30 0xd02c2d84 in ath_intr1 () #31 0xd055f168 in intr_handler () #32 0xd0202742 in Xintr_ioapic2 () OpenBSD 5.6-current (GENERIC.MP) #381: Sun Oct 12 15:53:21 MDT 2014 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 2137354240 (2038MB) avail mem = 2090033152 (1993MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/18/07, BIOS32 rev. 0 @ 0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (67 entries) bios0: vendor LENOVO version 7BETC9WW (2.10 ) date 04/18/2007 bios0: LENOVO 1705CTO 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) 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) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 166MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF 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, resource for USB0, USB2, USB7 acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 97 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4629 serial 327 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000 0xd/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0:
Re: HEADS-UP: issues with chromium in -current
Marc Espie, 23 Oct 2014 12:14: This has been discussed internally, but chromium is partly broken these days. Most specifically, windows refresh does strange things under some circumstances. my funny story is with dual head under openbox. when i switch back to the virtual desktop where chrome is, it is gone. until i mouse over it, then it reappears. quite the hide and seek game. Outside of OpenBSD, most people don't use primitive window managers, so they don't see the issue. as 99% of the primitive window managers are developed outside of openbsd, i'd say that is a contradiction. -f -- never test for an error you don't know how to handle.
ath stops working until a manual scan
ath started misbehaving really bad recently. it works for a couple of minutes and then i have to do ifconfig ath0 scan, and starts working again. i know ath support is very picky, but this one is an older one, and except a hiccup here and there, i dont recall frustration on this scale. any ideas? $ ifconfig ath0 ath0: flags=28863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,NOINET6 mtu 1500 lladdr x priority: 4 groups: wlan egress media: IEEE802.11 autoselect (DS11 mode 11b) status: active ieee80211: nwid chan 6 bssid 00:22:b0:a2:6a:c0 wpakey not displayed wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip inet 10.10.10.60 netmask 0xff00 broadcast 10.10.10.255 $ netstat -ni NameMtu Network Address Ipkts IerrsOpkts Oerrs Colls lo0 32768 Link 0 00 0 0 lo0 32768 ::1/128 ::1 0 00 0 0 lo0 32768 fe80::%lo0/ fe80::1%lo0 0 00 0 0 lo0 32768 127/8 127.0.0.10 00 0 0 em0*1500 Link x0 00 0 0 ath01500 Link x32752782375111 0 ath01500 10.10.10/24 10.10.10.60 32752782375111 0 enc0* 0 Link 0 00 0 0 pflog0 33192 Link 0 04 0 0 OpenBSD 5.6-current (GENERIC.MP) #368: Sun Oct 5 21:44:34 MDT 2014 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 2137354240 (2038MB) avail mem = 2090033152 (1993MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/18/07, BIOS32 rev. 0 @ 0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (67 entries) bios0: vendor LENOVO version 7BETC9WW (2.10 ) date 04/18/2007 bios0: LENOVO 1705CTO 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) 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) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 166MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF 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, resource for USB0, USB2, USB7 acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 97 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4629 serial 327 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000 0xd/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03 intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1024x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices AD1981HD audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 pci1
Re: ath stops working until a manual scan
Stefan Sperling, 15 Oct 2014 17:36: On Wed, Oct 15, 2014 at 05:22:00PM +0200, frantisek holop wrote: ath started misbehaving really bad recently. it works for a couple of minutes and then i have to do ifconfig ath0 scan, and starts working again. Can you elaborate on what recently means? Did it ever work properly, and if so, when? recently = this week. however this notebook has been in storage for ~2 years, so i would lie if i said i remember exactly how it was. but i do remember that it was usable on a daily basis (and it was used for around a year) without doing scans to resume online activity. then it went into storage. a bit of a soap opera, but that's life. since i sent that email, connections have not dropped. i will try to disable -powersave if it happens again (although i did not try to turn it on) -f -- i am so open-minded my brain falls out.
Re: thinkpad wifi/dhclient issue
the last part of this saga is, that i have moved to a new place, and the issue went away. so it seems it was router related. just another strange story from the home router front. -f -- i have nothing to say, but i can say it loudly.
Re: thinkpad wifi/dhclient issue
frantisek holop, 25 Sep 2014 17:28: for everybody out there who likes a good mystery, the 900 ping issue has happened mid-day as well for the first time. it is the equivalent of yanking the ethernet cable. so it is not an exclusively resume connected, but resume (and startup) is a way to reproduce instantly. i have realised that i dont have to wait 1 second between every ping. sudo ping -f -c 999 8.8.8.8 helps in some cases almost instantly. -f -- what a day may bring, a day may take away.
Re: thinkpad temperature climbs after resume
David Hoskin, 24 Sep 2014 12:18: On 9/24/14, frantisek holop min...@obiit.org wrote: there seems to be a problem with my thinkpad X60s after resume: the cpu temperature keeps going up gradually, no matter that the machine is idle. I've experienced this sometimes for the past couple of months on my Thinkpad T420. As a workaround, $ apm -H $ apm -C after resume seems to cure it. yes, this seems to be working, thanks. so i guess this goes into /etc/apm/resume -f -- some people fall for everything and stand for nothing.
Re: thinkpad temperature climbs after resume
frantisek holop, 25 Sep 2014 11:18: David Hoskin, 24 Sep 2014 12:18: On 9/24/14, frantisek holop min...@obiit.org wrote: there seems to be a problem with my thinkpad X60s after resume: the cpu temperature keeps going up gradually, no matter that the machine is idle. I've experienced this sometimes for the past couple of months on my Thinkpad T420. As a workaround, $ apm -H $ apm -C after resume seems to cure it. yes, this seems to be working, thanks. so i guess this goes into /etc/apm/resume but what is making the temperature rise? the machine is idle, load is 0.0, setperf=0, cpuspeed is the lowest. -f -- it has been discovered: research causes cancer in rats.
Re: thinkpad wifi/dhclient issue
for everybody out there who likes a good mystery, the 900 ping issue has happened mid-day as well for the first time. it is the equivalent of yanking the ethernet cable. so it is not an exclusively resume connected, but resume (and startup) is a way to reproduce instantly. this time however when dhclient went to grab a new lease, it started spinning and had to be killed. so i made a debug version and hope to gdb attach to it. perhaps it is not a timeout, because network activity must be present, if i dont start pinging, connections never come back. so perhaps it is filling up some buffer? what a nice guessing game :) -f -- my favorite mythical creature? the honest politician.
thinkpad wifi/dhclient issue
i have this strange issue with my thinkpad X60s that i dont remember having before (the machine was in storage for 2 years) when i boot up (or resume), i get a dhcp lease from my home router (another openbsd notebook also works with that router using a usb dongle run0) however after i get the lease, connections do not work. if i rerun dhclient, i get the lease again, and still no connections. but the strange thing is, that some ~900 pings later (~15 minutes), dhclient kicks in life again, gets another lease, and voila, i have connections. the 2 dhclient outputs look the same, no difference whatsoever. this also does not happen with em0, connections work right after dhclient. 11:54:39 $ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: icmp_seq=895 ttl=50 time=1034.245 ms 64 bytes from 8.8.8.8: icmp_seq=896 ttl=50 time=25.040 ms 64 bytes from 8.8.8.8: icmp_seq=897 ttl=50 time=23.596 ms 64 bytes from 8.8.8.8: icmp_seq=898 ttl=50 time=23.027 ms 64 bytes from 8.8.8.8: icmp_seq=899 ttl=50 time=22.841 ms 64 bytes from 8.8.8.8: icmp_seq=900 ttl=50 time=22.024 ms 64 bytes from 8.8.8.8: icmp_seq=901 ttl=50 time=22.273 ms 64 bytes from 8.8.8.8: icmp_seq=902 ttl=50 time=22.263 ms 64 bytes from 8.8.8.8: icmp_seq=903 ttl=50 time=23.256 ms 64 bytes from 8.8.8.8: icmp_seq=904 ttl=50 time=23.353 ms 64 bytes from 8.8.8.8: icmp_seq=905 ttl=50 time=23.646 ms 64 bytes from 8.8.8.8: icmp_seq=906 ttl=50 time=22.888 ms 64 bytes from 8.8.8.8: icmp_seq=907 ttl=50 time=22.238 ms 64 bytes from 8.8.8.8: icmp_seq=908 ttl=50 time=22.547 ms 64 bytes from 8.8.8.8: icmp_seq=909 ttl=50 time=22.211 ms --- 8.8.8.8 ping statistics --- 904 packets transmitted, 9 packets received, 99.0% packet loss round-trip min/avg/max/std-dev = 21.989/135.159/1033.790/317.715 ms 12:09:56 $ it definitely looks like some timeout, but timeout of what? dmesg attached. -f OpenBSD 5.6-current (GENERIC.MP) #338: Wed Sep 10 17:55:18 MDT 2014 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 2137354240 (2038MB) avail mem = 2090008576 (1993MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/18/07, BIOS32 rev. 0 @ 0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (67 entries) bios0: vendor LENOVO version 7BETC9WW (2.10 ) date 04/18/2007 bios0: LENOVO 1705CTO 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) 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) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 166MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF 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, resource for USB0, USB2, USB7 acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 97 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4629 serial 327 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000 0xd/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03 intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1024x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) Intel 82945GM Video rev
Re: Android Studio
Kevin Chadwick, 24 Sep 2014 10:22: http://marc.info/?l=openbsd-miscm=132934643309355w=2 That thread mentions getting the Android emulator running and creating a hello world program on OpenBSD but I think required? linux emulation and so i386 and copying from a linux install. A recent Intellij is in ports which Android Studio Beta is based on and whilst I hope Gnome/KDE requirments for Linux are mis-prints and not on the OSX version maybe there's a chance it will work without Linux emulation like netbeans does compared to the pain of recompiling eclipse. i tried to do the experiment later and the emulator bombed out. i dont remember the exact errors now, but it was graphics related. i think it's hard to reproduce even the successful experiment, because google is really agressive in updating the SDK. i think there is a massive amount of work to be done to make openbsd a possible android development platform. back to the linux mint usb key i am afraid. -f -- last week i couldn't even spell engineer, now i are one.
thinkpad temperature climbs after resume
there seems to be a problem with my thinkpad X60s after resume: the cpu temperature keeps going up gradually, no matter that the machine is idle. normal operating temperature is around 50-55C. however after a resume, quite quickly the temperature starts to climb and the whole notebook is becoming noticably hot on the outside. a reboot restores the correct temperature again. $ grep apmd /etc/rc.conf.local apmd_flags=-C disabling acpitz does not help. normal operation: hw.sensors.acpitz0.temp0=52.00 degC (zone temperature) hw.sensors.acpitz1.temp0=51.00 degC (zone temperature) hw.sensors.acpithinkpad0.temp0=52.00 degC hw.sensors.acpithinkpad0.temp1=54.00 degC hw.sensors.acpithinkpad0.temp3=49.00 degC hw.sensors.acpithinkpad0.temp4=32.00 degC hw.sensors.acpithinkpad0.temp6=31.00 degC hw.sensors.acpithinkpad0.fan0=3102 RPM hw.sensors.cpu0.temp0=51.00 degC hw.sensors.aps0.temp0=54.00 degC hw.sensors.aps0.temp1=54.00 degC after resume it starts to climb: hw.sensors.acpitz0.temp0=59.00 degC (zone temperature) hw.sensors.acpitz1.temp0=75.00 degC (zone temperature) hw.sensors.acpithinkpad0.temp0=59.00 degC hw.sensors.acpithinkpad0.temp1=51.00 degC hw.sensors.acpithinkpad0.temp3=61.00 degC hw.sensors.acpithinkpad0.temp4=22.00 degC hw.sensors.acpithinkpad0.temp6=22.00 degC hw.sensors.acpithinkpad0.fan0=3115 RPM hw.sensors.cpu0.temp0=75.00 degC hw.sensors.aps0.temp0=51.00 degC hw.sensors.aps0.temp1=51.00 degC OpenBSD 5.6-current (GENERIC.MP) #338: Wed Sep 10 17:55:18 MDT 2014 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF real mem = 2137354240 (2038MB) avail mem = 2090008576 (1993MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/18/07, BIOS32 rev. 0 @ 0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (67 entries) bios0: vendor LENOVO version 7BETC9WW (2.10 ) date 04/18/2007 bios0: LENOVO 1705CTO 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) 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) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 166MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF 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, resource for USB0, USB2, USB7 acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 97 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4629 serial 327 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000 0xd/0x1000 0xdc000/0x4000! 0xe/0x1! cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1667, 1333, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03 intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1024x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices AD1981HD audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20 pci1 at ppb0 bus 2 em0 at pci1 dev 0 function 0 Intel 82573L rev 0x00: msi, address 00:16:d3:b6:19:57 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1
rc.subr(8) typo?
i am not sure if this is intentional but daemon_timeout looks different in the man page than the other variables. -f -- the next sentence is true. the last sentence was false. Index: rc.subr.8 === RCS file: /cvs/src/share/man/man8/rc.subr.8,v retrieving revision 1.25 diff -u -p -r1.25 rc.subr.8 --- rc.subr.8 9 Jul 2014 14:19:22 - 1.25 +++ rc.subr.8 22 Sep 2014 13:06:33 - @@ -232,7 +232,7 @@ Arguments to call the daemon with. .It Va daemon_user User to run the daemon as, using .Xr su 1 . -.It Ar daemon Ns _timeout +.It Va daemon_timeout Maximum time in seconds to wait for the .Cm start , .Cm stop
Re: tmux mutt and f1
Tobias Ulmer, 26 Aug 2014 15:41: On Mon, Aug 25, 2014 at 10:42:57PM +0200, frantisek holop wrote: does anyone know of a way to make urxvt play together nicely with mutt (and tmux) regarding the f1 key? it works in xterm... macro index,pager f1 shell-escapeless /usr/local/share/doc/mutt/manual.txtenter help Works in urxvt for me. You're probably using the wrong TERM/termName setting. Should be rxvt-256color and screen inside tmux hmm. .tmux.conf: set -g default-terminal screen-256color .Xdefaults: urxvt.termName: screen-256color ... XTerm.termName: screen-256color you are right. changing it to urxvt.termName: rxvt-256color makes it work. (xterm works with screen-256color) what kept confusing me is that other programs like midnight commander and vim had no problems. shrug. thank you. -f -- life is like... an analogy.
tmux mutt and f1
does anyone know of a way to make urxvt play together nicely with mutt (and tmux) regarding the f1 key? it works in xterm... macro index,pager f1 shell-escapeless /usr/local/share/doc/mutt/manual.txtenter help -f -- on a scale of 1 to 10, 4 is about 7.
Re: sshfs does not seem to work correctly
hmm, on Mon, Aug 04, 2014 at 01:15:03PM +, Stuart Henderson said that On 2014-08-03, Carsten Kunze carsten.ku...@arcor.de wrote: I use sshfs to synchronize a filesystem of 15 GB between two machines. Read access seems to be ok but on writing the mount point does not seem to work anymore. Error message of cp(1) is No such file or directory ls(1) to the mount point gives the same message. (Nothing in /var/log/messages) Is it a known problem for sshfs that the mount point may disappear? (OpenBSD 5.5 amd64) --Carsten There were some problems with FUSE that were fixed post-5.5, perhaps you ran into one of those. (There are still certainly some missing features and possibly also other problems in the existing code, but no recent reports). If you still see such problems on -current/forthcoming 5.6 then the best option would be to make a proper problem report, with log information / output from a run with FUSE_DEBUG set, backtraces from the sshfs process if it crashes, etc. actually i am seeing fuse regression with ntfs-3g in -current. i was able to copy ~1TB of data from external usb drives formatted ntfs in 5.5. in -current the process accessing the drive will inevitably spin and is not possible to kill. i was looking for a way to make a debug build and make a more detailed report. of course it could be also ntfs-3g but it wasn't updated since april. -f -- if money doesn't grow on trees, why is it green?
Re: openbsd and chromebooks
hmm, on Fri, Jul 25, 2014 at 02:11:00PM -0400, Mike Burns said that Anybody know of any small laptops (not necessarily chromebooks) that run OpenBSD well? Thinkpad X1 Carbon. -current works well: wifi, keyboard, mouse, touchscreen, suspend, resume, USB, headphones. See my recent thread zzz + /dev/wsmouse if you run into suspend/resume issues, or if you want to see a dmesg. i am afraid this is a wholly different price category than the chromebooks. anyone tried anyo of the HP ones? -f -- good words cost no more than bad.
openbsd and chromebooks
has anyone tried any of the existing chromebooks? any dmesgs? http://en.wikipedia.org/wiki/Chromebook#Chromebook_models -f -- tap here with hammer for a new monitor.
Re: openbsd and chromebooks
hmm, on Fri, Jul 25, 2014 at 11:45:32AM -0400, Stuart McMurray said that I tried putting it on an SD card on my acer c270. I don't have a dmesg at the moment. Wireless and the trackpad didn't work, but a cheapy USB wireless device did. The biggest problem was putting it on the SD card made disk IO really, really slow. The lack of 802.11n was also kinda a bummer. well, there is no 802.11n in openbsd :) but i understand what you mean. the wifi is not supported on my current notebook either, so i am used to usb helpers. i am interested in the newest samsung chromebook. looks quite nice. -f -- in the country of the blind, the one-eyed man is king.
Re: sound problem
hmm, on Fri, Jul 18, 2014 at 10:06:11PM +, Stuart Henderson said that On 2014-07-18, frantisek holop min...@obiit.org wrote: i am having difficulties listening to music on this notebook. any ideas what i could try? did it just start recently or has it been happening for a while? i use this machine only recently so i have no base for comparison... if new (last week or so) then before poking at anything else I would try a newer kernel, post 2014/07/17, and see if it goes away OpenBSD 5.5-current (GENERIC.MP) #241: Sun Jul 13 20:45:12 MDT 2014 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP i will keep trying -f -- nothing is fool-proof to a sufficiently talented fool.
sound problem
i am having difficulties listening to music on this notebook. any ideas what i could try? $ sudo /usr/bin/sndiod -d snd0: watchdog timeout OpenBSD 5.5-current (GENERIC.MP) #241: Sun Jul 13 20:45:12 MDT 2014 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz (GenuineIntel 686-class) 2.27 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF,PERF,ITSC real mem = 3144249344 (2998MB) avail mem = 3080417280 (2937MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/09/10, SMBIOS rev. 2.6 @ 0xeb4f0 (54 entries) bios0: vendor Dell Inc. version A10 date 10/25/2010 bios0: Dell Inc. Vostro 3500 acpi0 at bios0: rev 3 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC SSDT MCFG SLIC HPET OSFR acpi0: wakeup devices P0P1(S3) P0P2(S3) P0P3(S3) P0P4(S3) P0P5(S3) BR20(S3) PEX0(S3) PEX1(S3) PEX2(S4) PEX3(S3) PEX4(S3) PEX5(S3) PEX6(S3) PEX7(S3) GBE_(S4) EHCI(S0) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 133MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1.0, IBE cpu1 at mainbus0: apid 4 (application processor) cpu1: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz (GenuineIntel 686-class) 2.27 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF,PERF,ITSC cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz (GenuineIntel 686-class) 2.27 GHz cpu2: 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF,PERF,ITSC cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz (GenuineIntel 686-class) 2.27 GHz cpu3: 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF,PERF,ITSC ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 32 (BR20) acpiprt2 at acpi0: bus 17 (PEX0) acpiprt3 at acpi0: bus 18 (PEX1) acpiprt4 at acpi0: bus 19 (PEX2) acpiprt5 at acpi0: bus -1 (PEX3) acpiprt6 at acpi0: bus -1 (PEX4) acpiprt7 at acpi0: bus -1 (PEX5) acpiprt8 at acpi0: bus -1 (PEX6) acpiprt9 at acpi0: bus -1 (PEX7) acpicpu0 at acpi0: C3, C1, PSS acpicpu1 at acpi0: C3, C1, PSS acpicpu2 at acpi0: C3, C1, PSS acpicpu3 at acpi0: C3, C1, PSS acpitz0 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB acpibat0 at acpi0: BAT0 model DELL TXWRR03 serial 3378 type LION oem SMP acpiac0 at acpi0: AC unit online acpibtn2 at acpi0: LID0 acpibtn3 at acpi0: SBTN acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD02 bios0: ROM list: 0xc/0xf000 0xcf000/0x1000 cpu0: Enhanced SpeedStep 2262 MHz: speeds: 2262, 2261, 2128, 1995, 1862, 1729, 1596, 1463, 1330, 1197 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel Core Host rev 0x12 vga1 at pci0 dev 2 function 0 Intel HD Graphics rev 0x12 intagp0 at vga1 agp0 at intagp0: aperture at 0xc000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1366x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) Intel 3400 MEI rev 0x06 at pci0 dev 22 function 0 not configured ehci0 at pci0 dev 26 function 0 Intel 3400 USB rev 0x06: apic 0 int 16 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 3400 HD Audio rev 0x06: msi azalia0: codecs: IDT 92HD81B1X, Intel/0x2804, using IDT 92HD81B1X audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 3400 PCIE rev 0x06: apic 0 int 17 pci1 at ppb0 bus 17 ppb1 at pci0 dev 28 function 1 Intel 3400 PCIE rev 0x06: apic 0 int 16 pci2 at ppb1 bus 18 Broadcom BCM43224 rev 0x01 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 28 function 2 Intel 3400 PCIE rev 0x06: apic 0 int 18 pci3 at ppb2 bus 19 re0 at pci3 dev 0 function 0 Realtek 8168 rev 0x03: RTL8168D/8111D (0x2800), msi, address a4:ba:db:b7:76:bf rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ehci1 at pci0 dev 29 function 0 Intel 3400 USB rev 0x06: apic 0 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI