Missing libcrypto file in -current
Hi all: I just installed 5.8 on the x86_64 arch. Immediately after installing, I upgraded to -current. Upon rebooting into the new -current, a number of errors appeared in the dmesg after the network started. The first error was: ssh-keygen: can't load library 'libcrypto.so.36.1' A cascade of errors followed: syslogd, pflogd, ntpd, and smtpd. In fact, I don't have 'libcrypto.so.36.1' but 'libcrypto.so.35.0.' Did I possibly miss something obvious in the upgrade (??) or should I take this over to tech@? Thanks. dmesg: OpenBSD 5.8-current (GENERIC.MP) #1562: Mon Nov 2 09:25:07 MST 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 11 real mem = 8436838400 (8045MB) avail mem = 8177016832 (7798MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0450 (82 entries) bios0: vendor Dell Inc. version "A03" date 02/13/2010 bios0: Dell Inc. OptiPlex 780 acpi0 at bios0: rev 2 acpi0: TCPA checksum error acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET TCPA SLIC acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI3(S5) PCI1(S5) PCI5(S5) PCI6(S5) KBD_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2992.93 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,XSAVE,NXE, LONG,LAHF,PERF,SENSOR cpu0: 6MB 64b/line 16-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 332MHz 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 E8400 @ 3.00GHz, 2992.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,XSAVE,NXE, LONG,LAHF,PERF,SENSOR cpu1: 6MB 64b/line 16-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 4 (PCI4) acpiprt1 at acpi0: bus 2 (PCI2) acpiprt2 at acpi0: bus 3 (PCI3) acpiprt3 at acpi0: bus 1 (PCI1) acpiprt4 at acpi0: bus -1 (PCI5) acpiprt5 at acpi0: bus -1 (PCI6) acpiprt6 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C1(1000@1 mwait.1) acpicpu1 at acpi0: C1(1000@1 mwait.1) acpibtn0 at acpi0: VBTN cpu0: unknown Enhanced SpeedStep CPU, msr 0x0616092606000926 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2992 MHz: speeds: 3000, 2000 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Q45 Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel Q45 PCIE" rev 0x03: msi pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 5450" rev 0x00 drm0 at radeondrm0 radeondrm0: msi azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 5470 Audio" rev 0x00: msi azalia0: no supported codecs "Intel Q45 HECI" rev 0x03 at pci0 dev 3 function 0 not configured pciide0 at pci0 dev 3 function 2 "Intel Q45 PT IDER" rev 0x03: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 8 int 18 for native-PCI interrupt pciide0: channel 0 ignored (not responding; disabled or no drives?) pciide0: channel 1 ignored (not responding; disabled or no drives?) puc0 at pci0 dev 3 function 3 "Intel Q45 KT" rev 0x03: ports: 1 com com4 at puc0 port 0 apic 8 int 17: ns16550a, 16 byte fifo com4: probed fifo depth: 0 bytes em0 at pci0 dev 25 function 0 "Intel ICH10 D BM LM" rev 0x02: msi, address b8:ac:6f:a4:35:01 uhci0 at pci0 dev 26 function 0 "Intel 82801JD USB" rev 0x02: apic 8 int 16 uhci1 at pci0 dev 26 function 1 "Intel 82801JD USB" rev 0x02: apic 8 int 17 uhci2 at pci0 dev 26 function 2 "Intel 82801JD USB" rev 0x02: apic 8 int 22 ehci0 at pci0 dev 26 function 7 "Intel 82801JD USB" rev 0x02: apic 8 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia1 at pci0 dev 27 function 0 "Intel 82801JD HD Audio" rev 0x02: msi azalia1: codecs: Analog Devices AD1984A audio0 at azalia1 ppb1 at pci0 dev 28 function 0 "Intel 82801JD PCIE" rev 0x02: msi pci2 at p
Re: Sony Vaio OBSD 5.8 screen blanking forever
On Sun, Nov 15, 2015 at 12:34:33PM -0700, Jack J. Woehr wrote: > I've done xset s off. KDE is set not to blank. > You could try this combination: xset -dpms; xset s off See xset(1).
Re: Error : page Ports - Working with Ports
On Tue, Nov 07, 2017 at 01:09:02PM +0100, Stephane HUC "PengouinBSD" wrote: > I'm not going to submit a diff when I'm trying to understand if what i'm > higlighting it's normal... really, sorry! You might be surprised at how much you learn about an issue, and refining your thoughts, by preparing a diff. You might realize you were confused about the subject and discard the diff, but it will be time well spent in any event.
xfce4 and gtk+3 applications
Hi all - I've just installed xfce and xfce-extras on my x86_64 box, running the snapshot from 11/11. I'm having trouble with gtk+3 applications such as firefox and geany. It *seems* gtk+3 is not being recognized, i.e., the scrollbar is an inoperative, wide gtk+2-type scrollbar, applications appear as though they are missing theming, e.g., there are no icons in the toolbars, all menu entries are scrunched together, etc. Also, in some xfce utilities, like the Notifications and Power Manager settings windows, are missing things like sliders and drop-down boxes; they are just text, and are therefore virtually unusable. I believe I have all the appropriate gtk+3 packages installed, as all gtk+3 apps work well when I'm using Awesome WM. Is this a gtk+3 issue, or am I missing some essential setting or package? Any suggestions? dmesg: OpenBSD 6.2-current (GENERIC) #202: Sat Nov 11 18:57:14 MST 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 8436838400 (8045MB) avail mem = 8174391296 (7795MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0450 (82 entries) bios0: vendor Dell Inc. version "A03" date 02/13/2010 bios0: Dell Inc. OptiPlex 780 acpi0 at bios0: rev 2 acpi0: TCPA checksum error acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET TCPA DMAR SLIC acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI3(S5) PCI1(S5) PCI5(S5) PCI6(S5) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2992.93 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,XSAVE,NXE,LONG,LAHF,PERF,SENSOR cpu0: 6MB 64b/line 16-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 332MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE cpu at mainbus0: not configured ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins , remapped to apid 8 acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 4 (PCI4) acpiprt1 at acpi0: bus 2 (PCI2) acpiprt2 at acpi0: bus 3 (PCI3) acpiprt3 at acpi0: bus 1 (PCI1) acpiprt4 at acpi0: bus -1 (PCI5) acpiprt5 at acpi0: bus -1 (PCI6) acpiprt6 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C1(1000@1 mwait.1) acpibtn0 at acpi0: VBTN "*pnp0c14" at acpi0 not configured "PNP0401" at acpi0 not configured cpu0: unknown Enhanced SpeedStep CPU, msr 0x0616092606000926 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2992 MHz: speeds: 3000, 2000 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Q45 Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel Q45 PCIE" rev 0x03: msi pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 5450" rev 0x00 drm0 at radeondrm0 radeondrm0: msi azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 5470 Audio" rev 0x00: msi azalia0: no supported codecs "Intel Q45 HECI" rev 0x03 at pci0 dev 3 function 0 not configured pciide0 at pci0 dev 3 function 2 "Intel Q45 PT IDER" rev 0x03: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 8 int 18 for native-PCI interrupt pciide0: channel 0 ignored (not responding; disabled or no drives?) pciide0: channel 1 ignored (not responding; disabled or no drives?) puc0 at pci0 dev 3 function 3 "Intel Q45 KT" rev 0x03: ports: 1 com com4 at puc0 port 0 apic 8 int 17: ns16550a, 16 byte fifo com4: probed fifo depth: 15 bytes em0 at pci0 dev 25 function 0 "Intel ICH10 D BM LM" rev 0x02: msi, address b8:ac:6f:a4:35:01 uhci0 at pci0 dev 26 function 0 "Intel 82801JD USB" rev 0x02: apic 8 int 16 uhci1 at pci0 dev 26 function 1 "Intel 82801JD USB" rev 0x02: apic 8 int 17 uhci2 at pci0 dev 26 function 2 "Intel 82801JD USB" rev 0x02: apic 8 int 22 ehci0 at pci0 dev 26 function 7 "Intel 82801JD USB" rev 0x02: apic 8 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 azalia1 at pci0 dev 27 function 0 "Intel 82801JD HD Audio" rev 0x02: msi azalia1: codecs: Analog Devices AD1984A audio0 at azalia1 ppb1 at pci0 dev 28 function 0 "Intel 82801JD PCIE" rev 0x02: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 "Intel 82801JD PCIE" rev 0x02: msi pci3 at ppb2 bus 3 uhci3 at pci0 dev 29 function 0 "Intel 82801JD USB" rev 0x02: apic 8 int 23 uhci4 at pci0 dev 29 function 1 "Intel 82801JD USB" rev 0x02: apic 8 int 17 uhci5 at pci0 dev 29 function 2 "Intel 82801JD USB" rev 0x02: apic 8 int 18 ehci1 at pci0 dev 29 function 7 "Intel 82801JD USB" rev 0x02: apic 8 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 con
Re: xfce4 and gtk+3 applications
On Wed, Nov 15, 2017 at 02:16:49AM +0100, Zeljko Jovanovic wrote: > > On 13.11.2017. 00:47, Dutch Ingraham wrote: > I encountered this long ago, but it is actually not an OpenBSD or gtk+3 issue. > The problem is lack of gtk+3 themes in Xfce 4.12. Until Xfce 4.14 is released, > you can try adding some theme from an another source. For example, > https://www.gnome-look.org/p/1191436/ looks promising. Indeed, I added a few of the available themes and the difference between gtk+2 and gtk+3 themes was the issue. Thanks!
Re: Please: Is there ANY chance that Linux binaries might run again???
On Sat, Mar 11, 2017 at 12:57:59PM -0700, Theo de Raadt wrote: > > On Sat, 11 Mar 2017, ropers wrote: > > > Was 32-on-64 compatibility somehow easier to achieve on the Linux side? > > > Or did they just keep throwing code and more code at the problem because > > > they felt they really, really had to have this? It's that kind of idle > > > curiosity. If nobody's interested in explaining or hearing this > > > explained, then sorry for the noise. > > > > There's (at least) three parts to such compat for the kernel: > > > > 1) the low-level kernel<->userspace boundary handling. > > A 32-bit process has a different pmap, adding code and requiring the > > uvm layer to indirect or test which is in play for its operations. The > > syscall/trap interface is quite different too; amd64 is so much > > nicer for syscall entry and %fs/%gs handling than i386. You don't > > want that shit in your nice 64bit kernel! > > > > 2) ABI mapping > > So you called some syscall and it has the result to copy out to > > userspace. Oh wait, which ABI is this process using, the 64bit ABI > > that matches the kernel's structure layouts or a completely different > > ABI that requires checking for overflow and then repacking structures > > to match the 32bit ABI? Yay, we get to think about that every time we > > do copyin/copyout! Let's see, 490 calls to those two functions in 119 > > files (not counting sys/arch/*). OSes that support this tend to > > introduce an abstraction layer to reduce the number of those that are > > needed, but that's still cognitive load. > > > > 3) interprocess handling > > a) 64bit -> 32bit > >You weren't really planning on having gdb64 and gdb32, so at least > >ptrace() has to be capable to letting a 64bit process manipulate a > >32bit process. Go look at FreeBSD's sys/kern/sys_process.c for > >example and examine the COMPAT_FREEBSD32 blocks. They've done it, > >obviously, but it's not simple, beautiful code. A comment like > > > > * This CPP subterfuge is to try and reduce the number of ifdefs in > > * the body of the code. > > > >is a warning that feature is costing you a chunk. > > > > b) 32bit -> 64bit > >Maybe you ban 32bit ptrace() of 64bit processes (most do IIRC), but > >you still want 32bit processes to be able to use sysctl(KERN_PROC) > >and see 64bit processes > > > > > > Implementations have jumped through all those hoops, but at what cost in > > complexity and security holes, and there *have* a been a bunch! A google > > search for "security hole in 32bit compat" immediately turned up this > > article: > > https://lwn.net/Articles/406466/ > > > > Adding "FreeBSD" or "NetBSD" to the search turns up hits for them too. > > This stuff is *hard* and the benefit is...? > > > > Nope, don't want it. > > Thanks Philip. > > By the way the history of OS compat in *BSD is interesting. > > Chris Torek built his LBL sparc code to the SunOS ABI. It was > incomplete. But enough to bring the system up. > > I pulled his sparc code into NetBSD. At the time NetBSD was > transition and even extending the machine-independent system call API > in the not-yet-released 4.4BSD-lite2, rather than having every > architecture contain it's own table. > > Torek's API wasn't good enough to handle structures which needed > modification on the way to/from kernel/userland, so I created the idea > of a zone on the stack where arguments could be tweaked before being > passed on. > > Thus was born the first real compat layer. Compat HPUX was created > very soon, then compat for SCO Unix, some FreeBSD compat, and then > Linux compat which was far nastier because their socket system calls > had been added in a really adhoc fashion. > > There's another problem Philip hasn't brought up. > > 4) The people who rely on the compat layers don't care enough to > maintain it. The people who work on the mainline system don't > care about the compat layers because they don't use them. The > cultures aren't aligned in the same direction. Compat layers > rot very quickly. Although I don't use compat, this is incredibly interesting information from both Phillip and Theo. Thanks to both of you.
HDD not found
Just asking for a sanity check. I tried installing 5.6 from CD on a WD1600AAJS HDD and was presented with "Available disks are: none." This seems to be a fairly mainstream drive around for several years (mine being manufactured in 2010), so I just want to check whether I've missed some critical install instruction. I followed section 4.5 of the FAQ and accepted default settings and used entire disk. The same install disk has been used without incident on other installations and a different OS was installed on the HDD after the attempt chronicled above. Your suggestions/advice are appreciated. dmesg to follow: OpenBSD 5.6 (RAMDISK_CD) #303: Fri Aug 8 00:25:26 MDT 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 8401186816 (8011MB) avail mem = 8172158976 (7793MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0450 (82 entries) bios0: vendor Dell Inc. version "A03" date 02/13/2010 bios0: Dell Inc. OptiPlex 780 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET SLIC acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2992.90 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF cpu0: 6MB 64b/line 16-way L2 cache cpu0: apic clock running at 332MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpiprt0 at acpi0: bus 4 (PCI4) acpiprt1 at acpi0: bus 2 (PCI2) acpiprt2 at acpi0: bus 3 (PCI3) acpiprt3 at acpi0: bus 1 (PCI1) acpiprt4 at acpi0: bus -1 (PCI5) acpiprt5 at acpi0: bus -1 (PCI6) acpiprt6 at acpi0: bus 0 (PCI0) pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Q45 Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel Q45 PCIE" rev 0x03: msi pci1 at ppb0 bus 1 vga1 at pci0 dev 2 function 0 "Intel Q45 Video" rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) "Intel Q45 Video" rev 0x03 at pci0 dev 2 function 1 not configured "Intel Q45 HECI" rev 0x03 at pci0 dev 3 function 0 not configured pciide0 at pci0 dev 3 function 2 "Intel Q45 PT IDER" rev 0x03: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 8 int 18 for native-PCI interrupt pciide0: channel 0 ignored (not responding; disabled or no drives?) pciide0: channel 1 ignored (not responding; disabled or no drives?) "Intel Q45 KT" rev 0x03 at pci0 dev 3 function 3 not configured em0 at pci0 dev 25 function 0 "Intel ICH10 D BM LM" rev 0x02: msi, address b8:ac:6f:a4:35:01 uhci0 at pci0 dev 26 function 0 "Intel 82801JD USB" rev 0x02: apic 8 int 16 uhci1 at pci0 dev 26 function 1 "Intel 82801JD USB" rev 0x02: apic 8 int 17 uhci2 at pci0 dev 26 function 2 "Intel 82801JD USB" rev 0x02: apic 8 int 22 ehci0 at pci0 dev 26 function 7 "Intel 82801JD USB" rev 0x02: apic 8 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 "Intel 82801JD HD Audio" rev 0x02 at pci0 dev 27 function 0 not configured ppb1 at pci0 dev 28 function 0 "Intel 82801JD PCIE" rev 0x02: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 "Intel 82801JD PCIE" rev 0x02: msi pci3 at ppb2 bus 3 uhci3 at pci0 dev 29 function 0 "Intel 82801JD USB" rev 0x02: apic 8 int 23 uhci4 at pci0 dev 29 function 1 "Intel 82801JD USB" rev 0x02: apic 8 int 17 uhci5 at pci0 dev 29 function 2 "Intel 82801JD USB" rev 0x02: apic 8 int 18 ehci1 at pci0 dev 29 function 7 "Intel 82801JD USB" rev 0x02: apic 8 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa2 pci4 at ppb3 bus 4 "Intel 82801JDO LPC" rev 0x02 at pci0 dev 31 function 0 not configured pciide1 at pci0 dev 31 function 2 "Intel 82801H RAID" rev 0x02: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide1: using apic 8 int 18 for native-PCI interrupt "Intel 82801JD SMBus" rev 0x02 at pci0 dev 31 function 3 not configured usb2 at uhci0: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb6 at uhci4: USB revision 1.0 uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb7 at uhci5: USB revision 1.0 uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at mainbus0 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 pckbd0
Re: HDD not found
On 11/19/14 18:18, Bertrand Janin wrote: Dutch Ingraham wrote : Just asking for a sanity check. I tried installing 5.6 from CD on a WD1600AAJS HDD and was presented with "Available disks are: none." This seems to be a fairly mainstream drive around for several years (mine being manufactured in 2010), so I just want to check whether I've missed some critical install instruction. I followed section 4.5 of the FAQ and accepted default settings and used entire disk. The same install disk has been used without incident on other installations and a different OS was installed on the HDD after the attempt chronicled above. Your suggestions/advice are appreciated. dmesg to follow: OpenBSD 5.6 (RAMDISK_CD) #303: Fri Aug 8 00:25:26 MDT 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 8401186816 (8011MB) avail mem = 8172158976 (7793MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0450 (82 entries) bios0: vendor Dell Inc. version "A03" date 02/13/2010 bios0: Dell Inc. OptiPlex 780 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET SLIC acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz, 2992.90 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF cpu0: 6MB 64b/line 16-way L2 cache cpu0: apic clock running at 332MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpiprt0 at acpi0: bus 4 (PCI4) acpiprt1 at acpi0: bus 2 (PCI2) acpiprt2 at acpi0: bus 3 (PCI3) acpiprt3 at acpi0: bus 1 (PCI1) acpiprt4 at acpi0: bus -1 (PCI5) acpiprt5 at acpi0: bus -1 (PCI6) acpiprt6 at acpi0: bus 0 (PCI0) pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Q45 Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel Q45 PCIE" rev 0x03: msi pci1 at ppb0 bus 1 vga1 at pci0 dev 2 function 0 "Intel Q45 Video" rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) "Intel Q45 Video" rev 0x03 at pci0 dev 2 function 1 not configured "Intel Q45 HECI" rev 0x03 at pci0 dev 3 function 0 not configured pciide0 at pci0 dev 3 function 2 "Intel Q45 PT IDER" rev 0x03: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 8 int 18 for native-PCI interrupt pciide0: channel 0 ignored (not responding; disabled or no drives?) pciide0: channel 1 ignored (not responding; disabled or no drives?) "Intel Q45 KT" rev 0x03 at pci0 dev 3 function 3 not configured em0 at pci0 dev 25 function 0 "Intel ICH10 D BM LM" rev 0x02: msi, address b8:ac:6f:a4:35:01 uhci0 at pci0 dev 26 function 0 "Intel 82801JD USB" rev 0x02: apic 8 int 16 uhci1 at pci0 dev 26 function 1 "Intel 82801JD USB" rev 0x02: apic 8 int 17 uhci2 at pci0 dev 26 function 2 "Intel 82801JD USB" rev 0x02: apic 8 int 22 ehci0 at pci0 dev 26 function 7 "Intel 82801JD USB" rev 0x02: apic 8 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 "Intel 82801JD HD Audio" rev 0x02 at pci0 dev 27 function 0 not configured ppb1 at pci0 dev 28 function 0 "Intel 82801JD PCIE" rev 0x02: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 "Intel 82801JD PCIE" rev 0x02: msi pci3 at ppb2 bus 3 uhci3 at pci0 dev 29 function 0 "Intel 82801JD USB" rev 0x02: apic 8 int 23 uhci4 at pci0 dev 29 function 1 "Intel 82801JD USB" rev 0x02: apic 8 int 17 uhci5 at pci0 dev 29 function 2 "Intel 82801JD USB" rev 0x02: apic 8 int 18 ehci1 at pci0 dev 29 function 7 "Intel 82801JD USB" rev 0x02: apic 8 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa2 pci4 at ppb3 bus 4 "Intel 82801JDO LPC" rev 0x02 at pci0 dev 31 function 0 not configured pciide1 at pci0 dev 31 function 2 "Intel 82801H RAID" rev 0x02: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide1: using apic 8 int 18 for native-PCI interrupt "Intel 82801JD SMBus" rev 0x02 at pci0 dev 31 function 3 not configured usb2 at uhci0: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5 "Intel UHCI roo
Re: HDD not found
On 11/19/14 22:27, Nick Holland wrote: On 11/19/14 19:38, Dutch Ingraham wrote: On 11/19/14 18:18, Bertrand Janin wrote: Dutch Ingraham wrote : Just asking for a sanity check. I tried installing 5.6 from CD on a WD1600AAJS HDD and was presented with "Available disks are: none." This seems to be a fairly mainstream drive around for several years (mine being manufactured in 2010), so I just want to check whether I've missed some critical install instruction. I followed section 4.5 of the FAQ and accepted default settings and used entire disk. ... I don't think it's a drive problem, it doesn't seem to find your disk controller at all. I would go in the BIOS and play with the disk controller settings. -b Absolutely. Disks are disks. it's the interface that you were missing. Excellent - thank you, Bertrand. For anyone else with this particular issue and BIOS version, note that the "SATA Operation" option may need to be set to "legacy." That's best avoided, and I suspect you can. I suspect you went from "Worst setting" to "second worst setting". Looks like your system was set to "RAID" originally. Most of these systems have two options -- AHCI and "Legacy", some have the third option of "RAID". You don't want "RAID"...it is software-only RAID, and under some conditions you can have the BIOS clobber data on the second disk that your non-SW RAID OS set up as a second disk. OpenBSD was one of the first OSs to disable the support of those controlers in that mode to prevent problems, but at least some Linux systems do now, too. AHCI is a huge performance boost over "legacy" in general, and in some cases, the "legacy" support is horrifically slow, slower than the old pciide interfaces that never dreamed of AHCI. Good news is if you flip it from "Legacy" to "AHCI", things will Just Work if you used DUIDs during setup. Nick. Thanks for that elucidation, Nick. You are correct that the initial setting was "RAID On." This BIOS actually has four choices: RAID Autodetect / AHCI RAID Autodetect / ATA RAID On Legacy I did use DUIDs during setup. I'll take the opportunity to look into this further. Thanks again.
Re: Why doesn't 'l' in ed(1) show a trailing '$'?
On 11/23/14 20:02, Einfach Jemand wrote: Am 23.11.2014 23:08, schrieb Daniel Dickman: On Sun, Nov 23, 2014 at 4:43 PM, Jason McIntyre wrote: On Sun, Nov 23, 2014 at 10:46:23AM +0100, Ezequiel Garz?n wrote: Hello, everyone. I've noticed that in OpenBSD ed(1) doesn't mark the end of each line with a '$' when the list command 'l' is invoked. Is this a deliberate deviation from the POSIX standard? Is there any rationale for it? It looks like this should help "print the addressed lines unambiguously" when dealing with trailing spaces, no? Thanks and cheers, Ezequiel i don't know, but i'd like to. there is nothing in bin/ed/POSIX concerning `l', but commit history to that file is not exactly inspiring. there is nothing in the posix page for ed documenting whether this is something recent. it's there in 2008, and in the 2013 update. it would be good to know how other bsds behave, and whether the behaviour is considered desireable. then we'd know if behaviour should be changed, or whether a doc update is enough. if i don;t get any concrete feedback on that, i'll update the doc. anyone want to chip in? jmc Hi Jason, commenting out CFLAGS+=-DBACKWARDS and recompiling will show the $ at the end of long lines. bin/ed/README says: BACKWARDS - for backwards compatibility This hasn't changed since 1995. Anyone know what ed is supposed to be backwards compatible with? Hello, probably "backwards" with regard to the pre-posix aera. Apparently there was no exact or a different specification for the "l" command of ed before IEEE P1003.2 Draft 11.1. (that document was closed on July 19, 1991) Looking at IEEE P1003.2 Draft 11.2 [1] you will notice that paragraph 4.20.7.3.14 "List Command" was added/changed in draft 11.1. Note the "1" at the right end of each line... and the document states -- Quote-- This draft uses small numbers in the right margin in lieu of change bars. 2 ``2'' denotes changes from Draft 11.1 to Draft 11.2. ``1'' denotes 2 changes from Draft 11 to Draft 11.1. All diff-marks prior to Draft 11.1 1 have been removed. Trivial informative (i.e., non-normative) changes and purely editorial changes such as grammar, spelling, or cross references are not diff-marked. -- End Quote -- Does anyone have drafts earlier than 11.1 of IEEE P1003.2 so this could be verified. The manpage of ed from the sixth edition unix (V6 1975) [2] does not mention the $ at the end of a line for the "l" command. The ed reference in appendix 1 of my exemplar of "The Unix Programming Environment" by Kernighan and Pike from 1984 does not mention the $ at the end of a listed line either. Looking at the X/Open CAE Specifications, Commands and Utilities, Issue 4, Version 2 from September 1994 [3], the $ at the end of each line for the ed "l" command is specified at page 290. Unfirtunately I have no access to earlier versions of this document. [1] http://www.nic.funet.fi/pub/doc/posix/p1003.2/d11.2/all [2] http://roguelife.org/~fujita/COOKIES/HISTORY/V6/ed.1.html [3] https://www2.opengroup.org/ogsys/catalog/c436 HTH rru I'm afraid I don't know ed well, but in response to Jason's query I can confirm that ed in FreeBSD 10.1-RELEASE does print the "$" after issuing the "l" command. From the GNU ed manual[1]: "(.,.)l Prints the addressed lines unambiguously. The end of each line is marked with a '$', and every '$' character within the text is printed with a preceding backslash. The current address is set to the last line printed." [1] http://www.gnu.org/software/ed/manual/ed_manual.html
mouse spontaneously detaches in console
Hello all: I have three different installs of OpenBSD: one -RELEASE, one -STABLE, and one -CURRENT. My wired usb mouse spontaneously detaches on each one when remaining in the console for about 15 seconds. However, that was never much of an issue when I was only using -RELEASE and -STABLE, since enabling wsmoused would stop that behavior. However, with -CURRENT, while enabling wsmoused does still stop the detaching while in the console, the mouse does not then work in X. I see there was a recent addition to the Changelog: "Stopped supporting wsmoused(8) and X(7) in parallel. Code is racy and known to break mice upon resume." Unfortunately, from a technical basis, I don't know what that means, or whether that contributes to my issue. Is there a way to have the mouse in both console and X in this situation? Thanks for your help and if further info is needed, please let me know. dmesg with detached mouse message follows: - OpenBSD 5.6-current (GENERIC.MP) #699: Tue Dec 16 15:55:06 MST 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 11 real mem = 3149918208 (3003MB) avail mem = 3062276096 (2920MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0450 (82 entries) bios0: vendor Dell Inc. version "A03" date 04/29/2009 bios0: Dell Inc. OptiPlex 760 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET SLIC acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI3(S5) PCI1(S5) PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz, 2660.35 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF 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 265MHz 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 E7300 @ 2.66GHz, 2660.00 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF cpu1: 3MB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 4 (PCI4) acpiprt1 at acpi0: bus 2 (PCI2) acpiprt2 at acpi0: bus 3 (PCI3) acpiprt3 at acpi0: bus 1 (PCI1) acpiprt4 at acpi0: bus -1 (PCI5) acpiprt5 at acpi0: bus -1 (PCI6) acpiprt6 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C1 acpicpu1 at acpi0: C1 acpibtn0 at acpi0: VBTN cpu0: unknown Enhanced SpeedStep CPU, msr 0x061a0a1c06000a1c cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2660 MHz: speeds: 2667, 1600 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Q45 Host" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel Q45 PCIE" rev 0x03: msi pci1 at ppb0 bus 1 vga1 at pci0 dev 2 function 0 "Intel Q45 Video" rev 0x03 intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1440x900 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel Q45 Video" rev 0x03 at pci0 dev 2 function 1 not configured "Intel Q45 HECI" rev 0x03 at pci0 dev 3 function 0 not configured pciide0 at pci0 dev 3 function 2 "Intel Q45 PT IDER" rev 0x03: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 8 int 18 for native-PCI interrupt pciide0: channel 0 ignored (not responding; disabled or no drives?) pciide0: channel 1 ignored (not responding; disabled or no drives?) puc0 at pci0 dev 3 function 3 "Intel Q45 KT" rev 0x03: ports: 1 com com4 at puc0 port 0 apic 8 int 17: ns16550a, 16 byte fifo com4: probed fifo depth: 15 bytes em0 at pci0 dev 25 function 0 "Intel ICH10 D BM LM" rev 0x02: msi, address 00:23:ae:55:75:df uhci0 at pci0 dev 26 function 0 "Intel 82801JD USB" rev 0x02: apic 8 int 16 uhci1 at pci0 dev 26 function 1 "Intel 82801JD USB" rev 0x02: apic 8 int 17 uhci2 at pci0 dev 26 function 2 "Intel 82801JD USB" rev 0x02: apic 8 int 22 ehci0 at pci0 dev 26 function 7 "Intel 82801JD USB" rev 0x02: apic 8 int 22 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 82801JD HD Audio" rev 0x02: msi azalia0: codecs: Analog Devices AD19
Mutt Sidebar not working properly
Hello all: I installed the binary mutt last week with the compressed, sasl, and sidebar flavors. I also used my standard .muttrc from other systems. Everything worked fine except the sidebar. While all folders are present, and I can scroll to any folder, no folder will open. The folders do seem to be in sync, though. As an exercise, I deleted the package and compiled the port with the gpgme, sasl, and sidebar flavors; there was no difference as to the sidebar issue. My current system is OpenBSD 5.7 GENERIC.MP#834 amd64 -current to Feb. 2. I am using IMAP. Any hints as to where the issue may lie are appreciated. If my .muttrc, dmesg or anything else is needed, please let me know. Thanks.
Re: Mutt Sidebar not working properly
On 02/13/15 01:31, Jan Stary wrote: > On Feb 12 20:19:05, s...@gmx.us wrote: >> Hello all: >> >> I installed the binary mutt last week with the compressed, sasl, and sidebar >> flavors. I also used my standard .muttrc from other systems. Everything >> worked fine except the sidebar. While all folders are present, and I can >> scroll to any folder, no folder will open. The folders do seem to be in >> sync, >> though. >> >> As an exercise, I deleted the package and compiled the port with the gpgme, >> sasl, and sidebar flavors; there was no difference as to the sidebar issue. >> >> My current system is OpenBSD 5.7 GENERIC.MP#834 amd64 -current to Feb. 2. I >> am using IMAP. >> >> Any hints as to where the issue may lie are appreciated. If my .muttrc, >> dmesg >> or anything else is needed, please let me know. Thanks. > > On Feb 13 06:42:26, alexan...@salmin.biz wrote: >> Hi, >> >> I'd say its way easier to help you and debug it with your .muttrc-file. I'm >> using sidebar >> with mutt and have no issues with it. >> >> Send both mutt -v output and .muttrc > > ... to ports@ I seem to be unable to post to ports@, even though I am subscribed and receiving posts. Thanks for your replies, and I'll pick this back up when I get that posting issue straightened out.
Re: .kshrc Definitions under X
> Still not able to do this. My /home/henri/.profile have this: > > export ENV="$HOME/.kshrc" > export LC_CTYPE="en_US.UTF-8" > export GOPATH=$HOME/go > PATH=$PATH:$HOME/Scripts > > My .kshrc > - > export PS1='$PWD $ ' > alias quit=exit > alias clr=clear > alias logout=exit > alias bye=exit > alias j=jobs > > > BUT printenv says: > -- > /home/henri $ printenv > _=/usr/bin/printenv > XAUTHORITY=/home/henri/.Xauthority > LOGNAME=henri > WINDOWPATH=5 > WINDOWID=6291457 > HOME=/home/henri > LC_CTYPE=en_US.UTF-8 > DISPLAY=:0 > GOPATH=/home/henri/go > MAIL=/var/mail/henri > PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/home/henri/Scripts > SHELL=/bin/ksh > PS1=$PWD $ > TERM=st-256color > USER=henri > > Looks like it reads the PS1 env but not the rest, or they don't work. > Also I don't intend to use only xterm, but others term. emulators. > -- > Regards > > Henrique Lengler > While there are other things above that may cause you issues, the main one I see is the use of the st terminal emulator; I've had trouble with that in the past. Have you tried just starting with xterm and troubleshooting from there forward?