Re: 6.0 appreciation
Can I just say that if I'd known you guys were doing tech-inspired parodies for this release's songs, I'd have submitted my effort, though it isn't a Pink Floyd parody - it's Crash Test Dummies' "In the Days of the Caveman", but about mainframes. If I missed the callout, that'll teach me to walk away from the mailing list for ages. On Tue, Sep 20, 2016 at 3:37 AM, Jack J. Woehrwrote: > Props to the team. It's amazing that with the rapid march to W^X that 6.0 > works at all, but it works well. > > All the ports I need are updated successfully with only one that I would > hope for being broken (Seamonkey). > > I can continue to do everything I need to do to stay in business on OpenBSD > 6.0. Donation sent. Thanks! > > -- > Jack J. Woehr # Science is more than a body of knowledge. It's a way of > www.well.com/~jax # thinking, a way of skeptically interrogating the > universe > www.softwoehr.com # with a fine understanding of human fallibility. - Carl > Sagan > -- Aaron Mason - Programmer, open source addict I've taken my software vows - for beta or for worse
Re: cuaU0 problems
On 16-09-20 02:53:06, Z? Loff wrote: > On Mon, Sep 19, 2016 at 03:00:43PM -0500, Edgar Pettijohn wrote: > > On 16-09-19 19:56:31, Kapfhammer, Stefan wrote: > > > Hello Edgar, > > > > > > I have no Soekris, but Apu2 is also connected > > > with a serial cable. > > > > > > When cable is plugged in the controlling pc > > > before booting, it is to be found as /dev/cuaU???0. > > > > > > When I plug it in after the boot completed, it is to be > > > found as /dev/cuaU3. (0/1/2 is normally int. 3G modem) > > > > > > Hope this helps debugging. Feedback would be fine. > > > > Thanks for the reply. It has always worked with: > > > > # cu -l cuaU0 > > > > when it stopped working I tried cuaU{1,2} with same result. > > > > I suppose I may as well provide some dmesg porn. > > > > > > > > > Freundliche Gre / Regards > > > -stefan kapfhammer > > > Originalnachricht > > > Von: Edgar Pettijohn > > > Gesendet: Montag, 19. September 2016 20:52 > > > An: misc@openbsd.org > > > Betreff: cuaU0 problems > > > > > > > > > I use a usb serial cable to talk to my soekris router. That works with > > > 6.0 release but not current. I was hoping to find commits related to it > > > and roll back to find what broke it, but I'm not sure where to look. > > > > > > Any help is appreciated. > > > > > > Thanks, > > > -- > > > Edgar Pettijohn > > > > -- > > Edgar Pettijohddn > > > Maybe unrelated but... > > > OpenBSD 6.0-current (GENERIC.MP) #2139: Sun Sep 18 23:16:59 MDT 2016 > > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP > > is this intentional? Yes. The problem is with an i386 laptop. > > Anyway, are the hubs self-powered? Does it work if connected directly to > the laptop? Maybe the dongle isn't getting enough juice. These sound like good questions. I'm not really a hardware guy so I don't know how to answer them unfortunantly. I'm guessing they are self-powered because they run my flash programmer I use with avr-dude. Not sure how to check the power output. > > Z? > > > > cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) > > 798 MHz > > 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT > > real mem = 3662811136 (3493MB) > > avail mem = 3580022784 (3414MB) > > mpath0 at root > > scsibus0 at mpath0: 256 targets > > mainbus0 at root > > bios0 at mainbus0: date 03/26/12, BIOS32 rev. 0 @ 0xfc200, SMBIOS rev. 2.6 > > @ 0xdae9c000 (64 entries) > > bios0: vendor LENOVO version "83ET69WW (1.39 )" date 03/26/2012 > > bios0: LENOVO 42368J2 > > acpi0 at bios0: rev 2 > > acpi0: sleep states S0 S3 S4 S5 > > acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA > > SSDT SSDT UEFI UEFI UEFI > > acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) EHC2(S3) > > HDEF(S4) > > acpitimer0 at acpi0: 3579545 Hz, 24 bits > > acpihpet0 at acpi0: 14318179 Hz > > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > > cpu0 at mainbus0: apid 0 (boot processor) > > 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-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) > > 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT > > cpu2 at mainbus0: apid 2 (application processor) > > cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) > > 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT > > cpu3 at mainbus0: apid 3 (application processor) > > cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) > > 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT > > ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins > > acpimcfg0 at acpi0 addr 0xf800, bus 0-63 > > acpiec0 at acpi0 > > acpiprt0 at acpi0: bus 0 (PCI0) > > acpiprt1 at acpi0: bus -1 (PEG_) > > acpiprt2 at acpi0: bus 2
Re: cuaU0 problems
On Tue, Sep 20, 2016 at 01:30:35AM +, Stuart Henderson wrote: > On 2016-09-19, Fredwrote: > > According to the dmesg you have: > > > > puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com > > com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo > > com4: probed fifo depth: 0 bytes > > > did you try cuaU3? > > That one would be (tty|cua)04 (which will need additional device > nodes creating with MAKEDEV. But it's PCI not USB. > > It might be behind one of these disabled hubs though: > > uhub2 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" > rev 2.00/0.00 addr 2 > uhub2: device problem, disabling port 1 > uvideo0 at uhub2 port 6 configuration 1 interface 0 "Chicony Electronics Co., > Ltd. Integrated Camera" rev 2.00/7.52 addr 3 > video0 at uvideo0 > uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" > rev 2.00/0.00 addr 2 > uhub3: device problem, disabling port 5 > > (btw, dmesg after the email signature means it gets stripped by most > email programs, so hard to quote :) > Aren't you guys mixing com* and ucom*? If it is a USB dongle it should show up as ucom0 on dmesg. (plus, it used to work as cuaU0) --
Re: cuaU0 problems
On Mon, Sep 19, 2016 at 03:00:43PM -0500, Edgar Pettijohn wrote: > On 16-09-19 19:56:31, Kapfhammer, Stefan wrote: > > Hello Edgar, > > > > I have no Soekris, but Apu2 is also connected > > with a serial cable. > > > > When cable is plugged in the controlling pc > > before booting, it is to be found as /dev/cuaU???0. > > > > When I plug it in after the boot completed, it is to be > > found as /dev/cuaU3. (0/1/2 is normally int. 3G modem) > > > > Hope this helps debugging. Feedback would be fine. > > Thanks for the reply. It has always worked with: > > # cu -l cuaU0 > > when it stopped working I tried cuaU{1,2} with same result. > > I suppose I may as well provide some dmesg porn. > > > > > > Freundliche Gre / Regards > > -stefan kapfhammer > > Originalnachricht > > Von: Edgar Pettijohn > > Gesendet: Montag, 19. September 2016 20:52 > > An: misc@openbsd.org > > Betreff: cuaU0 problems > > > > > > I use a usb serial cable to talk to my soekris router. That works with > > 6.0 release but not current. I was hoping to find commits related to it > > and roll back to find what broke it, but I'm not sure where to look. > > > > Any help is appreciated. > > > > Thanks, > > -- > > Edgar Pettijohn > > -- > Edgar Pettijohddn Maybe unrelated but... > OpenBSD 6.0-current (GENERIC.MP) #2139: Sun Sep 18 23:16:59 MDT 2016 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP is this intentional? Anyway, are the hubs self-powered? Does it work if connected directly to the laptop? Maybe the dongle isn't getting enough juice. Zé > cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 798 > MHz > 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT > real mem = 3662811136 (3493MB) > avail mem = 3580022784 (3414MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: date 03/26/12, BIOS32 rev. 0 @ 0xfc200, SMBIOS rev. 2.6 @ > 0xdae9c000 (64 entries) > bios0: vendor LENOVO version "83ET69WW (1.39 )" date 03/26/2012 > bios0: LENOVO 42368J2 > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA > SSDT SSDT UEFI UEFI UEFI > acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) EHC2(S3) > HDEF(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpihpet0 at acpi0: 14318179 Hz > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > 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-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) > 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT > cpu2 at mainbus0: apid 2 (application processor) > cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) > 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT > cpu3 at mainbus0: apid 3 (application processor) > cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) > 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT > ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins > acpimcfg0 at acpi0 addr 0xf800, bus 0-63 > acpiec0 at acpi0 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (PEG_) > acpiprt2 at acpi0: bus 2 (EXP1) > acpiprt3 at acpi0: bus 3 (EXP2) > acpiprt4 at acpi0: bus 5 (EXP4) > acpiprt5 at acpi0: bus 13 (EXP5) > acpicpu0 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 > halt), PSS > acpicpu1 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 > halt), PSS > acpicpu2 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 > halt), PSS > acpicpu3 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 > halt), PSS > acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2 > acpitz0 at acpi0: critical
Re: cuaU0 problems
On 16-09-20 01:30:35, Stuart Henderson wrote: > On 2016-09-19, Fredwrote: > > According to the dmesg you have: > > > > puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com > > com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo > > com4: probed fifo depth: 0 bytes > > > did you try cuaU3? > > That one would be (tty|cua)04 (which will need additional device > nodes creating with MAKEDEV. But it's PCI not USB. > > It might be behind one of these disabled hubs though: > > uhub2 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" > rev 2.00/0.00 addr 2 > uhub2: device problem, disabling port 1 > uvideo0 at uhub2 port 6 configuration 1 interface 0 "Chicony Electronics Co., > Ltd. Integrated Camera" rev 2.00/7.52 addr 3 > video0 at uvideo0 > uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" > rev 2.00/0.00 addr 2 > uhub3: device problem, disabling port 5 > > (btw, dmesg after the email signature means it gets stripped by most > email programs, so hard to quote :) noted The "device problem, disabling port #" comes up everytime I try to use the cable. As you can see I tried all of my uhub's. I then thought perhaps my hubs broke down on me so I mounted a thumb drive and it worked. I don't really have any other usb devices I can test out. But as mentioned this worked prior to this snapshot. I'm not sure when it broke, but it worked this morning on and amd64 6.0 release desktop. I think the last time I used it with this laptop was when I upgraded the soekris to 6.0. The only reason I found out it was broken was because I was bringing the soekris up to stable and needed the console to disable wd at boot etc. -- Edgar Pettijohn
Re: cuaU0 problems
On 2016-09-19, Fredwrote: > According to the dmesg you have: > > puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com > com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo > com4: probed fifo depth: 0 bytes > did you try cuaU3? That one would be (tty|cua)04 (which will need additional device nodes creating with MAKEDEV. But it's PCI not USB. It might be behind one of these disabled hubs though: uhub2 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhub2: device problem, disabling port 1 uvideo0 at uhub2 port 6 configuration 1 interface 0 "Chicony Electronics Co., Ltd. Integrated Camera" rev 2.00/7.52 addr 3 video0 at uvideo0 uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhub3: device problem, disabling port 5 (btw, dmesg after the email signature means it gets stripped by most email programs, so hard to quote :)
Re: USB ports disabled on Lenovo Thinkpad T61
Just for the record, after compiling a new kernel with fresh 6.0-current source code the problem appears to be resolved on my Thinkpad T61. /usr/ src/sys/dev/usb/usb_subr.c is revision 1.131 now. Thanks Martin, jsg@ for the quick fix. Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email. Original Message Subject: Re: USB ports disabled on Lenovo Thinkpad T61 Local Time: September 19, 2016 6:40 AM UTC Time: September 19, 2016 2:40 PM From: birkel...@gmail.com To: Mike Schreckengost, misc@openbsd.org Martin Pieuchot On Mon, Sep 19, 2016 at 12:47 PM Josh Grosse wrote: On Mon, Sep 19, 2016 at 05:11:43AM -0400, Mike Schreckengost wrote: > Hello misc, > > Sometime between the OpenBSD-current snapshot released on Sep 10 2016 > and the snapshot dated Sep 18 2016, the USB ports on my Lenovo Thinkpad > T61 ceased to function. Upon plugging a device into any of the 3 > available ports, I receive messages such as these: > > uhub2: device problem, disabling port 2 > uhub3: device problem, disabling port 1 > > Is anyone else experiencing a similar issue? Yes, I have a similar issue on an X220, but for me it manifests with the fingerprint reader, a ugen(4) device, and not with two types of umass(4) devices -- both memory stick and dvd burner work fine. It appears to me if I revert src/sys/dev/usb/usb_subr.c to r1.128, the device problem is eliminated, so Martin is in copy for his awareness. (He may already be aware, of course.) Same issue, keyboard/mouse doesn't work after upgrading to Sep 18 snapshot. I'm not even getting a message in dmesg. It's completely silent. I was running Sep 7 before that (where it worked). Also on Lenovo (Thinkpad T440s). -- Klaus
Man page for md5(1)
For md5(1) (and therefore, sha1(1), sha256(1), sha512(1)), the man page has this: "-q Only print the checksum (quiet mode)." Since this has the same behaviour as "cksum -q", would it be best to keep it in line with it: "-q Only print the checksum (quiet mode) or if used in conjunction with the -c flag, only print the failed cases."
Re: hw.sensors.acpibat0.raw0 - does it change state?
Thanks for replies so far re both systat and hw.sensors.acpiac* In both of the cases below I was watching either `sysctl hw.sensors' or `systat sens 1' and could see eg acpiac0.indicator0 change promptly, but there was no indication from sensorsd that the sensor exists. ## no sensorsd.conf file: $ doas sensorsd -c1 & tail -0f /var/log/daemon Sep 19 16:06:45 workpad sensorsd[9181]: startup, system has 22 sensors Sep 19 16:06:48 workpad sensorsd[9181]: acpibat0.watthour3: 33.54 Wh, OK Sep 19 16:06:48 workpad sensorsd[9181]: acpibat0.raw0: 2, OK ## with a sensorsd.conf file $ doas sensorsd -c1 & tail -0f /var/log/daemon Sep 20 09:46:34 workpad sensorsd[88233]: startup, system has 22 sensors Sep 20 09:46:37 workpad sensorsd[29023]: acpibat0.watthour3: 35.45 Wh, OK Sep 20 09:46:37 workpad sensorsd[29023]: acpibat0.watthour3: within limits: 35.45 Wh Sep 20 09:46:37 workpad sensorsd[29023]: acpibat0.raw0: 0, OK ## sensorsd.conf hw.sensors.acpibat0.watthour3:low=3:command=/home/tomr/bin/sensors.sh %l %s %x %t %n %2 %3 %4 hw.sensors.acpiac0.indicator0:command=/home/tom/bin/sensors.sh %l %s %x %t %n %2 %3 %4 hw.sensors.acpibat0.raw0:command=/home/tomr/bin/sensors.sh %l %s %x %t %n %2 %3 %4 (sensors.sh just writes its invocation out to a file) ## hw.sensors $ sysctl hw.sensors hw.sensors.cpu0.temp0=65.00 degC hw.sensors.acpitz0.temp0=63.00 degC (zone temperature) hw.sensors.acpibtn0.indicator0=On (lid open) hw.sensors.acpibat0.volt0=14.80 VDC (voltage) hw.sensors.acpibat0.volt1=16.49 VDC (current voltage) hw.sensors.acpibat0.power0=0.00 W (rate) hw.sensors.acpibat0.watthour0=35.45 Wh (last full capacity) hw.sensors.acpibat0.watthour1=1.77 Wh (warning capacity) hw.sensors.acpibat0.watthour2=0.20 Wh (low capacity) hw.sensors.acpibat0.watthour3=35.45 Wh (remaining capacity), OK hw.sensors.acpibat0.watthour4=46.03 Wh (design capacity) hw.sensors.acpibat0.raw0=0 (battery full), OK hw.sensors.acpiac0.indicator0=On (power supply) hw.sensors.acpithinkpad0.fan0=3680 RPM (apciac0.indicator0 responds reliably to un/plugging) ## dmesg OpenBSD 6.0 (GENERIC.MP) #2319: Tue Jul 26 13:00:43 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8255741952 (7873MB) avail mem = 8001060864 (7630MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (68 entries) bios0: vendor LENOVO version "G6ET96WW (2.56 )" date 04/29/2013 bios0: LENOVO 34486T7 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF! UEFI UEFI MSDM SSDT SSDT UEFI SSDT DBG2 acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz, 1696.41 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,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,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-3337U CPU @ 1.80GHz, 1696.16 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,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz, 1696.16 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,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz, 1696.16 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,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0,
Re: usb disk dirty after every reboot
On Tue, Sep 20, 2016 at 1:43 AM, Jan Starywrote: > > This is current/i386 on an ALIX.1E (demsg below). > I have an USB disk connected for /backup. > > Upon every reboot, the filesystem on that disk is dirty: > WARNING: R/W mount of /backup denied. Filesystem is not clean - run fsck I saw something similar on an APU where the root disk was on (USB-attached) sdcard: http://marc.info/?l=openbsd-misc=144237305322074=2 It seems to be a race. There used to be a 4sec pause in the kernel that was removed: """ Remove 4 second delay on reboot/shutdown that was added 8 years ago to "workaround MP timeout/splhigh/scsi race at reboot time". """ > It seems that it does not get properly umounted when shutting down. > I added 'umount /backup' to my rc.shutdown and that works around it. > > However, what could be causing this? I suspect your addition to the shutdown script makes the unmount early enough that it has time to complete whatever operation it's trying to complete. -- Darren Tucker (dtucker at zip.com.au) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Re: cuaU0 problems
On 16-09-19 22:24:42, Fred wrote: > On 09/19/16 21:49, Edgar Pettijohn wrote: > > On 16-09-19 21:39:33, Fred wrote: > > > On 09/19/16 21:00, Edgar Pettijohn wrote: > > > > On 16-09-19 19:56:31, Kapfhammer, Stefan wrote: > > > > > Hello Edgar, > > > > > > > > > > I have no Soekris, but Apu2 is also connected > > > > > with a serial cable. > > > > > > > > > > When cable is plugged in the controlling pc > > > > > before booting, it is to be found as /dev/cuaU???0. > > > > > > > > > > When I plug it in after the boot completed, it is to be > > > > > found as /dev/cuaU3. (0/1/2 is normally int. 3G modem) > > > > > > > > > > Hope this helps debugging. Feedback would be fine. > > > > > > > > Thanks for the reply. It has always worked with: > > > > > > > > # cu -l cuaU0 > > > > > > > > when it stopped working I tried cuaU{1,2} with same result. > > > > > > > > I suppose I may as well provide some dmesg porn. > > > > > > > > > > > > > > > Freundliche Gre / Regards > > > > > -stefan kapfhammer > > > > > Originalnachricht > > > > > Von: Edgar Pettijohn > > > > > Gesendet: Montag, 19. September 2016 20:52 > > > > > An: misc@openbsd.org > > > > > Betreff: cuaU0 problems > > > > > > > > > > > > > > > I use a usb serial cable to talk to my soekris router. That works with > > > > > 6.0 release but not current. I was hoping to find commits related to > > > > > it > > > > > and roll back to find what broke it, but I'm not sure where to look. > > > > > > > > > > Any help is appreciated. > > > > > > > > > > Thanks, > > > > > -- > > > > > Edgar Pettijohn > > > > > > > > > > According to the dmesg you have: > > > > > > puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com > > > com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo > > > com4: probed fifo depth: 0 bytes > > > > > > did you try cuaU3? > > > > > > hth > > > > > > Fred > > > > I just tried cuaU3 with same results. Also added the -d option with same > > result. > > > > what are the permissions on /dev/cua0[0-4] and /dev/cuaU[0-4] > > and com4 might actually be cua03... > > most odd... Mon Sep 19 5:15:39 ~ $ ls -l /dev | grep cuaU crw-rw 1 root dialer 66, 128 Sep 19 03:42 cuaU0 crw-rw 1 root dialer 66, 129 Sep 19 03:42 cuaU1 crw-rw 1 root dialer 66, 130 Sep 19 03:42 cuaU2 crw-rw 1 root dialer 66, 131 Sep 19 03:42 cuaU3 -- Edgar Pettijohn
Re: cuaU0 problems
On 16-09-19 21:39:33, Fred wrote: > On 09/19/16 21:00, Edgar Pettijohn wrote: > > On 16-09-19 19:56:31, Kapfhammer, Stefan wrote: > > > Hello Edgar, > > > > > > I have no Soekris, but Apu2 is also connected > > > with a serial cable. > > > > > > When cable is plugged in the controlling pc > > > before booting, it is to be found as /dev/cuaU???0. > > > > > > When I plug it in after the boot completed, it is to be > > > found as /dev/cuaU3. (0/1/2 is normally int. 3G modem) > > > > > > Hope this helps debugging. Feedback would be fine. > > > > Thanks for the reply. It has always worked with: > > > > # cu -l cuaU0 > > > > when it stopped working I tried cuaU{1,2} with same result. > > > > I suppose I may as well provide some dmesg porn. > > > > > > > > > Freundliche Gre / Regards > > > -stefan kapfhammer > > > Originalnachricht > > > Von: Edgar Pettijohn > > > Gesendet: Montag, 19. September 2016 20:52 > > > An: misc@openbsd.org > > > Betreff: cuaU0 problems > > > > > > > > > I use a usb serial cable to talk to my soekris router. That works with > > > 6.0 release but not current. I was hoping to find commits related to it > > > and roll back to find what broke it, but I'm not sure where to look. > > > > > > Any help is appreciated. > > > > > > Thanks, > > > -- > > > Edgar Pettijohn > > > > According to the dmesg you have: > > puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com > com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo > com4: probed fifo depth: 0 bytes > > did you try cuaU3? > > hth > > Fred I just tried cuaU3 with same results. Also added the -d option with same result. -- Edgar Pettijohn
Re: cuaU0 problems
On 09/19/16 21:00, Edgar Pettijohn wrote: On 16-09-19 19:56:31, Kapfhammer, Stefan wrote: Hello Edgar, I have no Soekris, but Apu2 is also connected with a serial cable. When cable is plugged in the controlling pc before booting, it is to be found as /dev/cuaU???0. When I plug it in after the boot completed, it is to be found as /dev/cuaU3. (0/1/2 is normally int. 3G modem) Hope this helps debugging. Feedback would be fine. Thanks for the reply. It has always worked with: # cu -l cuaU0 when it stopped working I tried cuaU{1,2} with same result. I suppose I may as well provide some dmesg porn. Freundliche Gre / Regards -stefan kapfhammer Originalnachricht Von: Edgar Pettijohn Gesendet: Montag, 19. September 2016 20:52 An: misc@openbsd.org Betreff: cuaU0 problems I use a usb serial cable to talk to my soekris router. That works with 6.0 release but not current. I was hoping to find commits related to it and roll back to find what broke it, but I'm not sure where to look. Any help is appreciated. Thanks, -- Edgar Pettijohn According to the dmesg you have: puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo com4: probed fifo depth: 0 bytes did you try cuaU3? hth Fred
WG: cuaU0 problems
fwd misc@ Freundliche Grüße / Regards -stefan kapfhammer Originalnachricht Von: Kapfhammer, StefanGesendet: Montag, 19. September 2016 22:33 An: Edgar Pettijohn Betreff: AW: cuaU0 problems I am a bit astonished, that it works without "-d" for you. Without it would wait for a carrier to be detected. Freundliche Grüße / Regards -stefan kapfhammer Originalnachricht Von: Edgar Pettijohn Gesendet: Montag, 19. September 2016 22:01 An: misc@openbsd.org Betreff: Re: cuaU0 problems On 16-09-19 19:56:31, Kapfhammer, Stefan wrote: > Hello Edgar, > > I have no Soekris, but Apu2 is also connected > with a serial cable. > > When cable is plugged in the controlling pc > before booting, it is to be found as /dev/cuaU???0. > > When I plug it in after the boot completed, it is to be > found as /dev/cuaU3. (0/1/2 is normally int. 3G modem) > > Hope this helps debugging. Feedback would be fine. Thanks for the reply. It has always worked with: # cu -l cuaU0 when it stopped working I tried cuaU{1,2} with same result. I suppose I may as well provide some dmesg porn. > > > Freundliche Gre / Regards > -stefan kapfhammer > Originalnachricht > Von: Edgar Pettijohn > Gesendet: Montag, 19. September 2016 20:52 > An: misc@openbsd.org > Betreff: cuaU0 problems > > > I use a usb serial cable to talk to my soekris router. That works with > 6.0 release but not current. I was hoping to find commits related to it > and roll back to find what broke it, but I'm not sure where to look. > > Any help is appreciated. > > Thanks, > -- > Edgar Pettijohn -- Edgar Pettijohn OpenBSD 6.0-current (GENERIC.MP) #2139: Sun Sep 18 23:16:59 MDT 2016 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 798 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D EADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT real mem = 3662811136 (3493MB) avail mem = 3580022784 (3414MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 03/26/12, BIOS32 rev. 0 @ 0xfc200, SMBIOS rev. 2.6 @ 0xdae9c000 (64 entries) bios0: vendor LENOVO version "83ET69WW (1.39 )" date 03/26/2012 bios0: LENOVO 42368J2 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT SSDT UEFI UEFI UEFI acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) 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-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 2.50 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D EADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 2.50 GHz cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D EADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 2.50 GHz cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D EADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus 5 (EXP4) acpiprt5 at acpi0: bus 13 (EXP5) acpicpu0 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), PSS acpicpu1 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), PSS acpicpu2 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), PSS acpicpu3 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), PSS acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2 acpitz0 at acpi0: critical temperature is 98 degC
Re: cuaU0 problems
On 16-09-19 19:56:31, Kapfhammer, Stefan wrote: > Hello Edgar, > > I have no Soekris, but Apu2 is also connected > with a serial cable. > > When cable is plugged in the controlling pc > before booting, it is to be found as /dev/cuaU???0. > > When I plug it in after the boot completed, it is to be > found as /dev/cuaU3. (0/1/2 is normally int. 3G modem) > > Hope this helps debugging. Feedback would be fine. Thanks for the reply. It has always worked with: # cu -l cuaU0 when it stopped working I tried cuaU{1,2} with same result. I suppose I may as well provide some dmesg porn. > > > Freundliche Gre / Regards > -stefan kapfhammer > Originalnachricht > Von: Edgar Pettijohn > Gesendet: Montag, 19. September 2016 20:52 > An: misc@openbsd.org > Betreff: cuaU0 problems > > > I use a usb serial cable to talk to my soekris router. That works with > 6.0 release but not current. I was hoping to find commits related to it > and roll back to find what broke it, but I'm not sure where to look. > > Any help is appreciated. > > Thanks, > -- > Edgar Pettijohn -- Edgar Pettijohn OpenBSD 6.0-current (GENERIC.MP) #2139: Sun Sep 18 23:16:59 MDT 2016 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 798 MHz 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT real mem = 3662811136 (3493MB) avail mem = 3580022784 (3414MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 03/26/12, BIOS32 rev. 0 @ 0xfc200, SMBIOS rev. 2.6 @ 0xdae9c000 (64 entries) bios0: vendor LENOVO version "83ET69WW (1.39 )" date 03/26/2012 bios0: LENOVO 42368J2 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT SSDT UEFI UEFI UEFI acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) 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-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus 5 (EXP4) acpiprt5 at acpi0: bus 13 (EXP5) acpicpu0 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), PSS acpicpu1 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), PSS acpicpu2 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), PSS acpicpu3 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), PSS acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2 acpitz0 at acpi0: critical temperature is 98 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB "PNP0303" at acpi0 not configured "LEN0015" at acpi0 not configured "SMO1200" at acpi0 not configured acpibat0 at acpi0: BAT0 model "42T4751" serial 1690 type LION oem "SANYO" acpiac0 at acpi0: AC unit offline acpithinkpad0 at acpi0 acpithinkpad0: volume: 0x0 "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured acpivideo0 at acpi0: VID_ acpivout at acpivideo0 not configured acpivideo1 at acpi0: VID_ bios0: ROM list:
Re: cuaU0 problems
Hello Edgar, I have no Soekris, but Apu2 is also connected with a serial cable. When cable is plugged in the controlling pc before booting, it is to be found as /dev/cuaU0. When I plug it in after the boot completed, it is to be found as /dev/cuaU3. (0/1/2 is normally int. 3G modem) Hope this helps debugging. Feedback would be fine. Freundliche Grüße / Regards -stefan kapfhammer Originalnachricht Von: Edgar Pettijohn Gesendet: Montag, 19. September 2016 20:52 An: misc@openbsd.org Betreff: cuaU0 problems I use a usb serial cable to talk to my soekris router. That works with 6.0 release but not current. I was hoping to find commits related to it and roll back to find what broke it, but I'm not sure where to look. Any help is appreciated. Thanks, -- Edgar Pettijohn
cuaU0 problems
I use a usb serial cable to talk to my soekris router. That works with 6.0 release but not current. I was hoping to find commits related to it and roll back to find what broke it, but I'm not sure where to look. Any help is appreciated. Thanks, -- Edgar Pettijohn
Re: hw.sensors.acpibat0.raw0 - does it change state?
Mon, 19 Sep 2016 11:53:45 -0600 "Theo de Raadt"> > > > I would like the effect to be nearly instant, but if it's not instant > > > > that's okay. And I'd like to avoid monitoring a dependent variable like > > > > hw.sensors.acpibat0.power0 and then checking the A/C status every time a > > > > change is detected. > > > > > > sensors do not update instantly. They are serviced in a loop by > > > a thread. but it happens soon enough. use 'systat sens 1' to watch. > > > > > > > Hi misc@, > > > > Please advise, is the frequency of sensor updates the same for upd(4) > > and is it possible it becomes the same as other sensors too? Thanks. > > They are polled serially. If one driver is slow, the entire loop slows > down. > > Collection is not interrupt driven. Hi misc@, Theo, Thanks for the details. Latest snapshot here, acpi and cpu sensors for the laptop battery, temp etc are responsive and quick. However the UPS sensor upd is slow or does not get updated, without usb cable reinsert. I'd be happy to assist in establishing if my case is an unique problem. Can provide full dmesg and other details please advise what's required. Kind regards, Anton
Re: hw.sensors.acpibat0.raw0 - does it change state?
> > > I would like the effect to be nearly instant, but if it's not instant > > > that's okay. And I'd like to avoid monitoring a dependent variable like > > > hw.sensors.acpibat0.power0 and then checking the A/C status every time a > > > change is detected. > > > > sensors do not update instantly. They are serviced in a loop by > > a thread. but it happens soon enough. use 'systat sens 1' to watch. > > > > Hi misc@, > > Please advise, is the frequency of sensor updates the same for upd(4) > and is it possible it becomes the same as other sensors too? Thanks. They are polled serially. If one driver is slow, the entire loop slows down. Collection is not interrupt driven.
Re: hw.sensors.acpibat0.raw0 - does it change state?
> > I would like the effect to be nearly instant, but if it's not instant > > that's okay. And I'd like to avoid monitoring a dependent variable like > > hw.sensors.acpibat0.power0 and then checking the A/C status every time a > > change is detected. > > sensors do not update instantly. They are serviced in a loop by > a thread. but it happens soon enough. use 'systat sens 1' to watch. > Hi misc@, Please advise, is the frequency of sensor updates the same for upd(4) and is it possible it becomes the same as other sensors too? Thanks. Kind regards, Anton
Re: usb disk dirty after every reboot
On 16-09-19 18:22:37, Jan Stary wrote: > On Sep 19 10:50:30, ed...@pettijohn-web.com wrote: > > On 16-09-19 17:43:06, Jan Stary wrote: > > > This is current/i386 on an ALIX.1E (demsg below). > > > I have an USB disk connected for /backup. > > > > > > Upon every reboot, the filesystem on that disk is dirty: > > > WARNING: R/W mount of /backup denied. Filesystem is not clean - run fsck > > > > > > It seems that it does not get properly umounted when shutting down. > > > I added 'umount /backup' to my rc.shutdown and that works around it. > > > > > > However, what could be causing this? > > > > > > Jan > > > > What is in your /etc/fstab? > > 5162f658323b2b07.a / ffs rw,softdep 1 1 > 5162f658323b2b07.d /usrffs rw,softdep,noatime,nodev 1 2 > 5162f658323b2b07.e /usr/local ffs rw,softdep,noatime,nodev,wxallowed 1 2 > 5162f658323b2b07.f /varffs rw,softdep,noatime,nodev,nosuid1 2 > 5162f658323b2b07.g /var/logffs rw,softdep,noatime,nodev,nosuid1 2 > 5162f658323b2b07.h /var/wwwffs rw,softdep,noatime,nodev,nosuid1 2 > 5162f658323b2b07.i /var/mail ffs rw,softdep,nodev,nosuid1 2 > 5162f658323b2b07.j /var/mysql ffs rw,softdep,noatime,nodev,nosuid1 2 > 5162f658323b2b07.k /var/postgresql ffs rw,softdep,noatime,nodev,nosuid1 2 > 5162f658323b2b07.l /tmpffs rw,softdep,noatime,nodev,nosuid1 2 > 5162f658323b2b07.m /home ffs rw,softdep,noatime,nodev,nosuid1 2 > > 5162f658323b2b07.n /usr/srcffs rw,softdep,noatime,nodev,nosuid,noauto > 5162f658323b2b07.o /usr/objffs rw,softdep,noatime,nodev,nosuid,noauto > 5162f658323b2b07.p /usr/ports ffs rw,softdep,noatime,nodev,nosuid,noauto > > 9d24108772d1158c.a /backup ffs rw,softdep,noatime,nodev,noexec It works for me. Maybe your filesystem is gunked up or the thumbdrive. -- Edgar Pettijohn
6.0 appreciation
Props to the team. It's amazing that with the rapid march to W^X that 6.0 works at all, but it works well. All the ports I need are updated successfully with only one that I would hope for being broken (Seamonkey). I can continue to do everything I need to do to stay in business on OpenBSD 6.0. Donation sent. Thanks! -- Jack J. Woehr # Science is more than a body of knowledge. It's a way of www.well.com/~jax # thinking, a way of skeptically interrogating the universe www.softwoehr.com # with a fine understanding of human fallibility. - Carl Sagan
Re: usb disk dirty after every reboot
On Sep 19 10:50:30, ed...@pettijohn-web.com wrote: > On 16-09-19 17:43:06, Jan Stary wrote: > > This is current/i386 on an ALIX.1E (demsg below). > > I have an USB disk connected for /backup. > > > > Upon every reboot, the filesystem on that disk is dirty: > > WARNING: R/W mount of /backup denied. Filesystem is not clean - run fsck > > > > It seems that it does not get properly umounted when shutting down. > > I added 'umount /backup' to my rc.shutdown and that works around it. > > > > However, what could be causing this? > > > > Jan > > What is in your /etc/fstab? 5162f658323b2b07.a / ffs rw,softdep 1 1 5162f658323b2b07.d /usrffs rw,softdep,noatime,nodev 1 2 5162f658323b2b07.e /usr/local ffs rw,softdep,noatime,nodev,wxallowed 1 2 5162f658323b2b07.f /varffs rw,softdep,noatime,nodev,nosuid1 2 5162f658323b2b07.g /var/logffs rw,softdep,noatime,nodev,nosuid1 2 5162f658323b2b07.h /var/wwwffs rw,softdep,noatime,nodev,nosuid1 2 5162f658323b2b07.i /var/mail ffs rw,softdep,nodev,nosuid1 2 5162f658323b2b07.j /var/mysql ffs rw,softdep,noatime,nodev,nosuid1 2 5162f658323b2b07.k /var/postgresql ffs rw,softdep,noatime,nodev,nosuid1 2 5162f658323b2b07.l /tmpffs rw,softdep,noatime,nodev,nosuid1 2 5162f658323b2b07.m /home ffs rw,softdep,noatime,nodev,nosuid1 2 5162f658323b2b07.n /usr/srcffs rw,softdep,noatime,nodev,nosuid,noauto 5162f658323b2b07.o /usr/objffs rw,softdep,noatime,nodev,nosuid,noauto 5162f658323b2b07.p /usr/ports ffs rw,softdep,noatime,nodev,nosuid,noauto 9d24108772d1158c.a /backup ffs rw,softdep,noatime,nodev,noexec
Re: usb disk dirty after every reboot
On 16-09-19 17:43:06, Jan Stary wrote: > This is current/i386 on an ALIX.1E (demsg below). > I have an USB disk connected for /backup. > > Upon every reboot, the filesystem on that disk is dirty: > WARNING: R/W mount of /backup denied. Filesystem is not clean - run fsck > > It seems that it does not get properly umounted when shutting down. > I added 'umount /backup' to my rc.shutdown and that works around it. > > However, what could be causing this? > > Jan What is in your /etc/fstab? > > > > OpenBSD 6.0-current (GENERIC) #2062: Sun Sep 18 23:12:44 MDT 2016 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) > 499 MHz > cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW > real mem = 259207168 (247MB) > avail mem = 241659904 (230MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: date 07/19/10, BIOS32 rev. 0 @ 0xfa950 > apm0 at bios0: Power Management spec V1.2 (slowidle) > pcibios0 at bios0: rev 2.1 @ 0xf/0xdfb4 > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/128 (6 entries) > pcibios0: PCI Exclusive IRQs: 5 10 11 > pcibios0: no compatible PCI ICU found: ICU vendor 0x1022 product 0x2090 > pcibios0: Warning, unable to fix up PCI interrupt routing > pcibios0: PCI bus #0 is the last bus > bios0: ROM list: 0xc/0x8000 0xc8000/0xa800 0xef000/0x1000! > cpu0 at mainbus0: (uniprocessor) > mtrr: K6-family MTRR support (2 registers) > amdmsr0 at mainbus0 > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33 > vga1 at pci0 dev 1 function 1 "AMD Geode LX Video" rev 0x00 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES > vr0 at pci0 dev 13 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, > address 00:0d:b9:0e:9e:f4 > ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI > 0x004063, model 0x0034 > glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit > 3579545Hz timer, watchdog, gpio, i2c > gpio0 at glxpcib0: 32 pins > iic0 at glxpcib0 > pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 > wired to compatibility, channel 1 wired to compatibility > wd0 at pciide0 channel 0 drive 0: > wd0: 1-sector PIO, LBA48, 15259MB, 31250432 sectors > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > pciide0: channel 1 ignored (disabled) > auglx0 at pci0 dev 15 function 3 "AMD CS5536 Audio" rev 0x01: irq 11, CS5536 > AC97 > ac97: codec id 0x414c4770 (Avance Logic ALC203 rev 0) > ac97: codec features headphone, 20 bit DAC, 18 bit ADC, No 3D Stereo > audio0 at auglx0 > ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 5, version > 1.0, legacy support > ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 5 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 > addr 1 > isa0 at glxpcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > lpt0 at isa0 port 0x378/4 irq 7 > wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x41 > lm1 at wbsio0 port 0x290/8: W83627HF > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > usb1 at ohci0: USB revision 1.0 > uhub1 at usb1 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 > addr 1 > umass0 at uhub0 port 4 configuration 1 interface 0 "Prolific Technology Inc. > Mass Storage Device" rev 2.00/1.00 addr 2 > umass0: using SCSI over Bulk-Only > scsibus1 at umass0: 2 targets, initiator 0 > sd0 at scsibus1 targ 1 lun 0:SCSI0 0/direct fixed > serial.067b2506 > sd0: 76319MB, 512 bytes/sector, 156301488 sectors > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on wd0a (5162f658323b2b07.a) swap on wd0b dump on wd0b > WARNING: R/W mount of /backup denied. Filesystem is not clean - run fsck -- Edgar Pettijohn
usb disk dirty after every reboot
This is current/i386 on an ALIX.1E (demsg below). I have an USB disk connected for /backup. Upon every reboot, the filesystem on that disk is dirty: WARNING: R/W mount of /backup denied. Filesystem is not clean - run fsck It seems that it does not get properly umounted when shutting down. I added 'umount /backup' to my rc.shutdown and that works around it. However, what could be causing this? Jan OpenBSD 6.0-current (GENERIC) #2062: Sun Sep 18 23:12:44 MDT 2016 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 499 MHz cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW real mem = 259207168 (247MB) avail mem = 241659904 (230MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 07/19/10, BIOS32 rev. 0 @ 0xfa950 apm0 at bios0: Power Management spec V1.2 (slowidle) pcibios0 at bios0: rev 2.1 @ 0xf/0xdfb4 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/128 (6 entries) pcibios0: PCI Exclusive IRQs: 5 10 11 pcibios0: no compatible PCI ICU found: ICU vendor 0x1022 product 0x2090 pcibios0: Warning, unable to fix up PCI interrupt routing pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0xa800 0xef000/0x1000! cpu0 at mainbus0: (uniprocessor) mtrr: K6-family MTRR support (2 registers) amdmsr0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33 vga1 at pci0 dev 1 function 1 "AMD Geode LX Video" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES vr0 at pci0 dev 13 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 00:0d:b9:0e:9e:f4 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 3579545Hz timer, watchdog, gpio, i2c gpio0 at glxpcib0: 32 pins iic0 at glxpcib0 pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 1-sector PIO, LBA48, 15259MB, 31250432 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) auglx0 at pci0 dev 15 function 3 "AMD CS5536 Audio" rev 0x01: irq 11, CS5536 AC97 ac97: codec id 0x414c4770 (Avance Logic ALC203 rev 0) ac97: codec features headphone, 20 bit DAC, 18 bit ADC, No 3D Stereo audio0 at auglx0 ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 5, version 1.0, legacy support ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 5 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 isa0 at glxpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x41 lm1 at wbsio0 port 0x290/8: W83627HF npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 addr 1 umass0 at uhub0 port 4 configuration 1 interface 0 "Prolific Technology Inc. Mass Storage Device" rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0:SCSI0 0/direct fixed serial.067b2506 sd0: 76319MB, 512 bytes/sector, 156301488 sectors vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on wd0a (5162f658323b2b07.a) swap on wd0b dump on wd0b WARNING: R/W mount of /backup denied. Filesystem is not clean - run fsck
Re: Add a Theo fortune cookie
Rather than going through all the trouble of mucking around with the build of an existing application, why not make it a standalone program? Before anyone here goes mad, I can't be bothered testing this; it is something I conjured up in less than two minutes, and I personally do not have any use for this program, nor am I suggesting it goes in base. This is just for fun. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #include #include static const char *talk[] = { "Write more code.", "Make more commits.", "That's because you have been slacking.", "slacker!", "That's what happens when you're lazy.", "idler!", "slackass!", "lazy bum!", "Stop slacking you lazy bum!", "slacker slacker lazy bum bum bum slacker!", "I could search... but I'm a lazy bum ;)", "sshutup sshithead, ssharpsshooting susshi sshplats ssharking assholes.", "Lazy bums slacking on your asses.", "35 commits an hour? That's pathetic!", "Fine software takes time to prepare. Give a little slack.", "I am just stating a fact", "you bring new meaning to the terms slackass. I will have to invent a new term.", "if they cut you out, muddy their back yards", "Make them want to start over, and play nice the next time.", "It is clear that this has not been thought through.", "avoid using abort(). it is not nice.", "That's the most ridiculous thing I've heard in the last two or three minutes!", "I'm not just doing this for crowd response. I need to be right.", "I'd put a fan on my bomb.. And blinking lights...", "I love to fight", "No sane people allowed here. Go home.", "you have to stop peeing on your breakfast", "feature requests come from idiots", "henning and darren / sitting in a tree / t o k i n g / a joint or three", "KICK ASS. TIME FOR A JASON LOVE IN! WE CAN ALL GET LOST IN HIS HAIR!", "shame on you for following my rules.", "altq's parser sucks dead whale farts through the finest chemistry pipette's", "screw this operating system shit, i just want to drive!", "Search for fuck. Anytime you see that word, you have a paragraph to write.", "Yes, but the ports people are into S", "Buttons are for idiots.", "We are not hackers. We are turd polishing craftsmen.", "who cares. style(9) can bite my ass", "It'd be one fucking happy planet if it wasn't for what's under this fucking sticker.", "I would explain, but I am too drunk.", "you slackers don't deserve pictures yet", "Vegetarian my ass", "Wait a minute, that's a McNally's!", "don't they recognize their moral responsibility to entertain me?", "#ifdef is for emacs developers.", "Many well known people become net-kooks in their later life, because they lose touch with reality.", "You're not allowed to have an opinion.", "tweep tweep tweep", "Quite frankly, SSE's alignment requirement is the most utterly retarded idea since eating your own shit.", "Holy verbose prom startup Batman.", "Any day now, when we sell out.", "optimism in man kind does not belong here", "First user who tries to push this button, he pounds into the ground with a rant of death.", "we did farts. now we do sperm. we are cutting edge.", "the default configuration is a mixture of piss, puke, shit, and bloody entrails.", "Stop wasting your time reading people's licenses.", "doing it with environment variables is OH SO SYSTEM FIVE LIKE OH MY GOD PASS ME THE SPOON", "Linux is fucking POO, not just bad, bad REALLY REALLY BAD", "penguins are not much more than chickens that swim.", "i am a packet sniffing fool, let me wipe my face with my own poo", "Whiners. They scale really well.", "in your world, you would have a checklist of 50 fucking workarounds just to make a coffee.", "for once, I have nothing to say.", "You have no idea how fucked we are", "You can call it fart if you want to.", "wavelan is a battle field", "You are in a maze of gpio pins, all alike, all undocumented, and a few are wired to bombs.", "And that is why humppa sucks... cause it has no cause.", "cache aliasing is a problem that would have stopped in 1992 if someone had killed about 5 people who worked at Sun.", "Don't spread rumours about me being gentle.", "If municipal water filtering equipment was built by the gcc developers, the western world would be dead by now.", "kettenis supported a new machine in my basement and all I got to do was fix a 1 character typo in his html page commit.", "industry told us a lesson: when you're an asshole, they
Re: USB ports disabled on Lenovo Thinkpad T61
On Mon, Sep 19, 2016 at 12:47 PM Josh Grossewrote: > On Mon, Sep 19, 2016 at 05:11:43AM -0400, Mike Schreckengost wrote: > > Hello misc, > > > > Sometime between the OpenBSD-current snapshot released on Sep 10 2016 > > and the snapshot dated Sep 18 2016, the USB ports on my Lenovo Thinkpad > > T61 ceased to function. Upon plugging a device into any of the 3 > > available ports, I receive messages such as these: > > > > uhub2: device problem, disabling port 2 > > uhub3: device problem, disabling port 1 > > > > Is anyone else experiencing a similar issue? > > Yes, I have a similar issue on an X220, but for me it manifests with the > fingerprint reader, a ugen(4) device, and not with two types of umass(4) > devices -- both memory stick and dvd burner work fine. > > It appears to me if I revert src/sys/dev/usb/usb_subr.c to r1.128, the > device problem is eliminated, so Martin is in copy for his awareness. > (He may already be aware, of course.) > > Same issue, keyboard/mouse doesn't work after upgrading to Sep 18 snapshot. I'm not even getting a message in dmesg. It's completely silent. I was running Sep 7 before that (where it worked). Also on Lenovo (Thinkpad T440s). -- Klaus
pkg_add -u error
I recently upgraded to the latest snapshot and when upgrading packages I saw this: system(/bin/sh, -c, /usr/local/bin/mktexlsr > /dev/null 2>&1) failed: exit(127) Which makes sense because there is no /usr/local/bin/mktexlsr on my system. I searched for it with pkg_info -Q mktexlsr as well as other variations with no luck. Not sure where to go from here. Ignore post to ports@? Any suggestions? Thanks, -- Edgar Pettijohn
snmpd broken ?
Hi guys, I have an OpenBSD 6.0 Installation and am having trouble with snmpd, it just dies after a time, see example below: # time snmpd -dv snmpe_bind: binding to address X.X.X.X:161 startup traphandler exiting, pid 85031 1m06.67s real 0m00.01s user 0m00.00s system Anyone else with this problem? # uptime 10:07AM up 1 day, 16:55, 1 user, load averages: 0.08, 0.09, 0.08 # uname -a OpenBSD .br 6.0 GENERIC#2148 amd64 Best regards -- Luiz Gustavo Costa | +55 (21) 9-8834-6998 - Mundounix - Consultoria em Software Livre http://www.mundounix.com.br Skype: mundounix
Re: Add a Theo fortune cookie
On 2016-09-17, Callum R. Davieswrote: > For those of use who are already missing M-x theo. Not OK. Use an old mg checkout if you're desperate.
Re: USB ports disabled on Lenovo Thinkpad T61
On Mon, Sep 19, 2016 at 05:11:43AM -0400, Mike Schreckengost wrote: > Hello misc, > > Sometime between the OpenBSD-current snapshot released on Sep 10 2016 > and the snapshot dated Sep 18 2016, the USB ports on my Lenovo Thinkpad > T61 ceased to function. Upon plugging a device into any of the 3 > available ports, I receive messages such as these: > > uhub2: device problem, disabling port 2 > uhub3: device problem, disabling port 1 > > Is anyone else experiencing a similar issue? Yes, I have a similar issue on an X220, but for me it manifests with the fingerprint reader, a ugen(4) device, and not with two types of umass(4) devices -- both memory stick and dvd burner work fine. It appears to me if I revert src/sys/dev/usb/usb_subr.c to r1.128, the device problem is eliminated, so Martin is in copy for his awareness. (He may already be aware, of course.)
Re: hw.sensors.acpibat0.raw0 - does it change state?
Hi, tomr wrote: Am I right in thinking that pulling the power cable cannot be directly detected by sensorsd, because a 'state change' does not occur? A la... hw.sensors.acpibat0.raw0=1 (battery discharging), OK vs: hw.sensors.acpibat0.raw0=2 (battery charging), OK acpiac0.indicator0 ? That's what I use in GNUstep battery monitor - appears to be fine on most laptops I have ad access to. Riccardo
USB ports disabled on Lenovo Thinkpad T61
Hello misc, Sometime between the OpenBSD-current snapshot released on Sep 10 2016 and the snapshot dated Sep 18 2016, the USB ports on my Lenovo Thinkpad T61 ceased to function. Upon plugging a device into any of the 3 available ports, I receive messages such as these: uhub2: device problem, disabling port 2 uhub3: device problem, disabling port 1 Is anyone else experiencing a similar issue? If I can provide any additional information to help debug this problem (beyond my system dmesg, which is attached) please let me know. I'd also be happy to test patches, if necessary. As always, for the OpenBSD devs: thank you so much for your dedication to the OpenBSD project. Your efforts are greatly appreciated by myself and countless others who truly understands the value of a secure, stable, and funtional OS. -Mike /* begin dmesg */ penBSD 6.0-current (GENERIC.MP) #2473: Sun Sep 18 23:24:19 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3177906176 (3030MB) avail mem = 3077156864 (2934MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (73 entries) bios0: vendor LENOVO version "7LETD0WW (2.30 )" date 02/27/2012 bios0: LENOVO 765818U acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF! SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) [...] 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 T7500 @ 2.20GHz, 2394.44 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF,SENSOR cpu0: 4MB 64b/line 16-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz 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)2 Duo CPU T7500 @ 2.20GHz, 2194.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,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF,SENSOR cpu1: 4MB 64b/line 16-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins 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 5 (EXP3) acpiprt6 at acpi0: bus 13 (EXP4) acpiprt7 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, USB2, USB4, EHC0, EHC1 acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB "PNP0303" at acpi0 not configured "IBM0057" at acpi0 not configured tpm0 at acpi0: TPM_ addr 0xfed4/0x5000: device 0x32031114 rev 0x9 acpibat0 at acpi0: BAT0 model "92P1137" serial 6210 type LION oem "SANYO" acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpithinkpad0: volume: 0x7 "PNP0C14" at acpi0 not configured acpidock0 at acpi0: GDCK not docked (0) acpivideo0 at acpi0: VID_ acpivout0 at acpivideo0: LCD0 acpivideo1 at acpi0: VID_ cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2201, 2200, 1600, 1200, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c inteldrm0 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c drm0 at inteldrm0 intagp0 at inteldrm0 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0: msi inteldrm0: 1280x800 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20 uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 21 ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: msi azalia0: codecs: Analog Devices AD1984, 0x/0x, using Analog Devices AD1984 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: msi pci1 at ppb0 bus 2 ppb1
Re: USB printer
On Mon, 19 Sep 2016 11:47:51 +0900 Tuyosi Twrote: > does anyone find good URL about printing with USB printer by cups ? file:///usr/local/share/doc/pkg-readmes/cups-2.1.4 Greetings Ben