Re: FBI And OpenBSD...
On 12/15/10 2:17 PM, Randy Wrench wrote: The above url carried an article which is disturbing to say the least... Wait a minute... I thought US citizens stayed away from the crypto code to keep it untainted of US export controls. I smell a prank. (And prey that's the case.) Michael
OpenBSD's cure for insomnia
Dear Theo and Co. Thank you very much for the new ACPI code. Seriously, thank you. My netbook finally sleeps, having sat uselessly in a drawer nearly a year waiting for this day. Thanks for the WPA support too. Time to buy a 4.8 set. Michael
OGD1 graphics board available to an interested dev
I couldn't help but notice that the Linux Fund/BSD Fund folks are giving away an OGD1 dual-head, FPGA-based graphics device to interested developers who is willing to port its tools (in C), xorg driver and come up with novel uses such as cryptography. Application instructions are at: http://linuxfund.org/projects/ogd1/ Michael
Acer 1410 4.8 beta sleep issue: no keyboard after wake
Hello all, I've submitted a summary, dmesg info and sensor info to dmesg@ but perhaps someone has a quick fix? An Acer Aspire 1410/1810t Notebook with the August 3rd amd64 ISO snapshot will suspend but upon wake, the keyboard will only allow console switching. All other input is ignored either from the built-in keyboard or a USB keyboard. Kernel messages such as the keyboard insertion appear. If suspended from X11, keyboard input will go to the error console but not be interpreted by the shell. Any suggestions? So close! Michael OpenBSD 4.8-beta (GENERIC.MP) #262: Tue Aug 3 14:47:13 MDT 2010 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error 80clock_battery real mem = 2073477120 (1977MB) avail mem = 2004455424 (1911MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe7d10 (35 entries) bios0: vendor INSYDE version v1.3308 date 01/05/2010 bios0: Acer Aspire 1410 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP DMAR HPET APIC MCFG ASF! SLIC BOOT SSDT SSDT SSDT acpi0: wakeup devices UHC0(S3) UHC1(S3) UHC2(S3) UHCR(S3) EHC1(S3) UHC3(S3) UHC4(S3) UHC5(S3) EHC2(S3) PXSX(S4) EXP1(S4) PXSX(S4) EXP2(S4) PXSX(S4) EXP3(S4) PXSX(S4) EXP4(S4) PXSX(S4) EXP5(S4) PXSX(S4) EXP6(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: Genuine Intel(R) CPU U2300 @ 1.20GHz, 1197.17 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG cpu0: 1MB 64b/line 4-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Genuine Intel(R) CPU U2300 @ 1.20GHz, 1197.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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,NXE,LONG cpu1: 1MB 64b/line 4-way L2 cache ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 4 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (EXP1) acpiprt2 at acpi0: bus -1 (EXP2) acpiprt3 at acpi0: bus -1 (EXP3) acpiprt4 at acpi0: bus 2 (EXP4) acpiprt5 at acpi0: bus -1 (EXP5) acpiprt6 at acpi0: bus -1 (EXP6) acpiec0 at acpi0 acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: LID0 acpibtn2 at acpi0: SLPB acpibat0 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit offline acpivideo0 at acpi0: OVGA pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0x8000, size 0x1000 inteldrm0 at vga1: apic 4 int 16 (irq 11) drm0 at inteldrm0 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 4 int 16 (irq 11) ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 4 int 19 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic 4 int 22 (irq 11) azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 4 int 17 (irq 255) pci1 at ppb0 bus 1 alc0 at pci1 dev 0 function 0 Attansic Technology L1C rev 0xc0: apic 4 int 16 (irq 11), address 00:26:9e:80:2f:32 atphy0 at alc0 phy 0: F1 10/100/1000 PHY, rev. 11 ppb1 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 4 int 19 (irq 255) pci2 at ppb1 bus 2 iwn0 at pci2 dev 0 function 0 Intel WiFi Link 1000 rev 0x00: apic 4 int 19 (irq 11), MIMO 1T2R, BGS, address 00:1e:64:16:12:54 uhci1 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 4 int 23 (irq 11) uhci2 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 4 int 19 (irq 10) uhci3 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 4 int 16 (irq 11) ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 4 int 23 (irq 11) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x93 pci3 at ppb2 bus 3 pcib0 at pci0 dev 31 function 0 Intel 82801IEM LPC rev 0x03 pciide0 at pci0 dev 31 function 2 Intel 82801I SATA rev 0x03: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using apic 4 int 19 (irq 10) for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: WDC WD1600BEVT-00A23T0 wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 ichiic0 at pci0 dev 31 function 3 Intel 82801I SMBus rev
Re: HP laptops again
A lot of folks will enjoy full suspend/resume in the upcoming 4.8 release and more is sure to come in the future. Top understatement I've heard this year. Keep up the good work. Michael
Re: mandoc
I think we want to lock Kristaps in a room until he writes a C compiler. Nah, while Kristaps is in Stockholm, Northern Sweden provides *true* isolation: http://pcc.ludd.ltu.se/ Michael
Re: RouterBOARD RB600A support
there are bad news about RB600A. As everybody can read on MicroTik's website, RB600A has suddenly been discontinued: http://www.routerboard.com/pricelist.php?showProduct=55 They also removed the case for this board. Why did this happen? The board is a four year old design that was later reavealed by the chip maker that it could have been 2X the speed. MT suggest the RB800 but it costs more money and is indeed not binary compatible. The RB600A is a variation on a reference design that was modified for volume production. MT products change and are well below $100 for MIPS-based systems. As of last week, a vendor in the US and the MT office in Riga had about 20 units at reasonable prices. Mail me off-list for details on any of these points. Actually, maybe it was space aliens. Or at least illegal alien Latvians living in Chicago... Michael
Re: OpenBSD Volunteer needed today in Los Angeles - Solved!
Steve Shockley wrote: On 2/22/2010 9:23 AM, Bret S. Lambert wrote: Unless some benefactor is willing to come forward and deal with the logistical headache of doing the paperwork and keeping it all as up to date as it needs to be, it's not going to happen, even if getting an EAL meant ponies, rainbows, and money trees for everybody. Can't someone just port it from FreeBSD? Can't port a process but a group certification may be an option. Note the recent Re: Is OpenBSD + PF accredited or certified in any way ? thread. I'll inquire with GeNUA, FreeBSD and the person who asked at the conference. Do any OpenBSD Foundation people care about EAL? Michael
Re: OpenBSD Volunteer needed today in Los Angeles - Solved!
Thank you Seth and Brooke for materializing and putting on a great OpenBSD booth at SCaLE in Los Angeles. Overheard question of the day: Could you please get EAL level 4 certification so I can use you in the US Air Force? (Milaero country...) Michael
Re: OpenBSD Volunteer needed today in Los Angeles (Was European Disorders)
Although I am unable to attend this conference, I was speaking the other day with devs about having booths at european conferences. Are you involved in this kind of thing? That's odd. You had the best conference and community network I've ever seen hands down. Anywhere. Period. I wouldn't be here If I hadn't seen it. As I understand it, the European circuit was also operated in perfect compliance with its written agreement*. What are your goals? More users, developers or sponsors? I've heard mixed messages on this and each audience benefits different strategies and choice of venues. Involved? Yes and happy to help any way I can. Magic wand? No. Michael * Shit, didn't have one, despite money being involved. Post it if you have it else live and learn.
Re: OpenBSD Volunteer needed today in Los Angeles - Solved!
In my own opinion EAL level 4 cert has some serious issues. A lot of what you get is Process and Procedure done by some large corporate entity. What you find is code revs rarely go through certification. For example Cisco ASA / Pix have to run pretty old code to get EAL 4 cert. my US$.02 worth If the EAL level X rubber stamp with travel cost only $.02, how far would OpenBSD be from compliance? Michael
OpenBSD Volunteer needed today in Los Angeles
OpenBSD has a booth at the SCaLE conference in Los Angeles and no one appears to be available to staff it. It's a great conference and I highly recommend someone drop by to staff it Saturday and Sunday. Where: LAX Westin hotel, 5400 W Century Blvd. Call me for help with registration and orientation: 503-789-8978 Michael
Re: Old EmBSD docs
Nonsense. Many new embedded boards have limited flash memory soldered on. I think most of the developers are tired of seeing people shoot themselves in the foot then show up on the list complaining about blood loss. Pointing out that some people might have a justification for inflicting pain upon themselves only encourages harmful behavior. I was incorrect about the example product. My error. However, the paradox remains: arguably the best routing OS available requires blood loss on the most cost-effective routing hardware available. Fortunately, it remains the best none the less and the blood loss is acceptable. Keep up the good work. Michael.
Re: Old EmBSD docs
here's a better idea: just use a standard install. It is very difficult to buy a 1G flash media anymore that isn't covered in dust, so it is hard (if not nearly impossible) to justify building a crippled system anymore. Nonsense. Many new embedded boards have limited flash memory soldered on. Michael.
Re: OpenBSD support of EFI?
In reading through the recent Intel Mac Mini thread, I'm confused by what appears to OpenBSD's support? OpenBSD now supports EFI? Or is EFI have some compatibility mode with the older BIOS standard? If the broader question is does OpenBSD work on the Mac mini x86? The answer is yes. Simply updating the firmware under OS X should make installation go smoothy. I have used it with the standard OpenBSD boot loader but have not yet tried dual booting with OS X. Holding down the option key will probably allow the firmware to see an OS X partition and boot from it. May people reportedly use rEFIt as an alternative loader: http://refit.sourceforge.net/ GRUB can also be used with some caveats (I learned this at 03:00 this morning and thought I would interject). I have not verified this with the GRUB in ports but the one in NetBSD's pkgsrc is not mac mini friendly. It can be patched if you are adventurous: http://www.scl.ameslab.gov/Projects/mini-xen/grub-a20.patch Else you can pull stage2 from a working Linux live CD such as a recent Ubuntu and install it with the 'grub' or 'grub-install' utilities. A system using GRUB may also need to have a root partition of under 512MB in size. A GRUB is a bug after all... Michael.
WPA hardware workaround, for what it's worth
Hello all, For those who urgently need WPA-enabled wireless support on OpenBSD... The D-Link DWL-G730AP portable router is small, USB-powered and in Client mode can connect to a wireless network using WPA and provide an EtherNet LAN with DHCP. It's top drawback is that the configuration interface requires a JavaScript-enabled browser. lynx in base cannot be used to configure it but it will remember its configuration should you often have OpenBSD guests on a given network. They retail for about $52 US on up. Michael.
UFS2 status in 4.3?
Hello, I didn't see any mention of changes to UFS2 support in 4.3: http://www.openbsd.org/43.html#new Will it still require a kernel recompilation to use? Perhaps no? http://fxr.watson.org/fxr/source/conf/GENERIC?v=OPENBSD Is it bootable? Thanks, Michael.
Re: What is our ultimate goal??
By this, I mean, developers *are* working on improving the features currently offered by OpenBSD. In general people work on things which they will find the most useful first. Sometimes this matches up with what you want, other times it doesn't. Are they willing to take a suggestions from the users side? Ask them. However, you will get far further with suggestions backed by a solid understanding of each issue, plus funding. The benefits of a broad yet shallow feature set can be found in most alternative operating systems and you are welcome to use them. Michael.
hw.setperf in marketing speak?
Hello all, Can someone tell me what marketing speak to look for to determine if a motherboard supports hw.setperf and apmd -C/A CPU speed regulation? I have an unremarkable Intel D845GBV P4 board that supports hw.setperf fine but a full-featured Intel SE7221BK1-E P4 server board that does not. The same goes for some Via Mini-ITX boards. The technical documentation only has vague references to power management but nothing specific. Is this a question of support for a given board not being implemented yet? Many thanks, Michael.
BSDTalk preview: Peter Hansteen interview
Dear BSDTalk listeners, As you know, Will the nicest guy in the business Backman has been busy with a new job and Eastern snow storms. Here is a preview of a BSDTalk interview I did with Peter Hansteen just after OpenCon about pf and his new book on the subject: http://home.nuug.no/~peter/BSDTalk-PeterHansteen.ogg http://home.nuug.no/~peter/BSDTalk-PeterHansteen.mp3 Peter makes a pretty good case for IP Tables users that there is an easier way. Enjoy, Michael Dexter on behalf of BSDTalk
OpenBSD on ASUS eee pc 701 notes/caveats
Hello all, For want of information about running OpenBSD on the ASUS eee pc 701, I have had access to a 4GB with camera but no modem model and have some things to report: You can Google for those that may or may not have the empty Mini-PCIe slot. The machine is literally mini ASUS notebook, bios and all with the notable exception that it uses Hynix NAND flash memory that uses a Silicon Motion SM223 interface to make it appear as an ATA interface (wd0). The machine is very USB friendly and it appears you can boot to any of its USB interfaces or the SD slot. (Not SDIO for use with wlan etc.) On boot, hit Esc for the BBS POPUP menu which will allow you to choose what USB (and probably internal SD flash) device you want to boot to. BIOS is at F2 but the BBS POPUP saves many trips to it. Note that your device of choice may or may not show up by name. My CD drive was sometimes but not always named in the list. Choosing what sounded like the SD slot would allow booting to the external CD Drive. I booted from a USB CD-Rom and installed 4.2 to a Lexar 2MB memory stick that appeared as sd0, leaving the internal flash drive untouched. It boots and works, with a few caveats: - It's still an Intel-based product and a wimpy-sounding fan may come on when you aren't doing much. - The Atheros 10/100 LAN does not appear to be supported. I resorted to USB LAN (Linksys url0). - The Azure AW-GE780 ath0 wlan reports: ark5k_ar5212_nic_wakeup: failed to resume the AR5212 (again) ath0: ath_chan_set: unable to reset channel 4 (2427 MHz) - I had to enable ath0 under the included OS, watch for the light on the case. - There's only one mouse button. - startx started fine but left some artifacts on-screen. I didn't experiment further. - The included glove is a plus. - The high-resolution video should be good for presentations. - hw.setperf is supported. - zzz does not seem to fully suspend it though I am not an apm/acpi/etc wiz. - The pearl color one requires at least one Hello Kitty sticker. I have included the dmesg below and send it to [EMAIL PROTECTED] I hope someone finds this useful and I may be able to answer specific questions. Michael. OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel 686-class) 631 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF real mem = 527527936 (503MB) avail mem = 502427648 (479MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 10/17/07, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.5 @ 0xf06c0 (37 entries) bios0: vendor American Megatrends Inc. version 0401date 10/17/2007 bios0: ASUSTeK Computer INC. 701 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 3.0 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf76a0/176 (9 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801FB LPC rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0xf800! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82915GM/PM/GMS Host rev 0x04 vga1 at pci0 dev 2 function 0 Intel 82915GM/GMS Video rev 0x04: aperture at 0xd000, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Intel 82915GM/GMS Video rev 0x04 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801FB HD Audio rev 0x04: irq 5 azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Realtek/0x0662 (rev. 1.1), HDA version 1.0 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04 pci1 at ppb0 bus 4 ppb1 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x04 pci2 at ppb1 bus 3 vendor Attansic Technology, unknown product 0x2048 (class network subclass ethernet, rev 0xa0) at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04 pci3 at ppb2 bus 1 ath0 at pci3 dev 0 function 0 Atheros AR5424 rev 0x01: irq 10 ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR0W, address 00:15:af:45:7a:dd uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: irq 3 uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: irq 7 uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: irq 10 uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: irq 5 ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x04: irq 3 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4 pci4 at ppb3 bus 5 ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM disabled pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04: DMA, channel 0 wired to compatibility, channel 1 wired to
Re: non-PHP webmail solutions
a while ago (Nov, 2006), someone asked what webmail solutions people recommended. People suggested:... of all of these, only openwebmail does not rely on PHP, which I deeply mistrust. Does anyone know of any others that don't use PHP? AlphaMail (mod_perl/PERL/C++) was recently reviewed in Linux Journal: http://alphamail.sourceforge.net/ http://www.linuxjournal.com/article/9320 Michael.
Re: Ultraportable Laptop
I am pondering on which ultraportable laptop would be fine for OpenBSD. The Lenovo ThinkPad X61 comes first to mind since OpenBSD traditionally has been good at ThinkPads, but a display of 1024x768 is too small. Do take a look at the Toshiba Portege M's and R's. My M300 has proven extremely stable with OpenBSD. Michael.
Re: compat_freebsd shared library showstopper UPDATE
Hello all, For the handful of you who care about compat_freebsd, here is a update on this situation: compat_freebsd has been broken in late 3.x's up through 4.1 but is fixed in CURRENT. A 4.2 snapshot from the 7th appears to work and I am trying to determine if there is a patch that can be applied to 4.1. A PR does not appear to have been opened. Should anyone know where the mmap fix was made, I would appreciate hearing it. I have done many searches of cvsweb and looked in some likely places but have not found it. Note that the freebsd_lib is unlikely to be responsible for the issue as it simply includes some libraries, ldconfig and sets the sysctl. Michael As with posters on this list from 7/15/06, 10/25/06 and 2/10/07, I am having trouble with compat_freebsd and binaries that depend on shared libraries. Everyone seems to have given up so far but sincerely want to get it working. In short, launching a FreeBSD binary that depends on shared libraries reports: # /emul/freebsd/usr/bin/ldd /usr/libexec/ld-elf.so.1: /usr/lib/libc.so.4: mmap of entire address space failed: Invalid argument ... even though they exist: # ldconfig-freebsd -r|grep libc.so.4 13:-lc.4 = /usr/lib/libc.so.4 # find / -name libc.so.4 -print /usr/local/emul/freebsd/usr/lib/libc.so.4 # ls -l /usr/local/emul/freebsd/usr/lib/libc.so* lrwxr-xr-x 1 root wheel 9 Aug 4 00:44 \ /usr/local/emul/freebsd/usr/lib/libc.so - libc.so.4 -r--r--r-- 1 root wheel 582928 Jan 21 2005 \ /usr/local/emul/freebsd/usr/lib/libc.so.4 Environment: OpenBSD 4.1 x86, FreeBSD 4.11 binaries Now the checklist: install freebsd_lib port, check Is the sysctl enabled? Check. sysctl -w kern.emul.freebsd=1 snip
Re: compat_freebsd shared library showstopper
On Monday 06 August 2007, Michael Dexter wrote: Anything else I should try? Did you try installing the emulators/freebsd_lib port? Yes. I failed to mention that in my checklist. Michael.
compat_freebsd shared library showstopper
Hello, As with posters on this list from 7/15/06, 10/25/06 and 2/10/07, I am having trouble with compat_freebsd and binaries that depend on shared libraries. Everyone seems to have given up so far but sincerely want to get it working. In short, launching a FreeBSD binary that depends on shared libraries reports: # /emul/freebsd/usr/bin/ldd /usr/libexec/ld-elf.so.1: /usr/lib/libc.so.4: mmap of entire address space failed: Invalid argument ... even though they exist: # ldconfig-freebsd -r|grep libc.so.4 13:-lc.4 = /usr/lib/libc.so.4 # find / -name libc.so.4 -print /usr/local/emul/freebsd/usr/lib/libc.so.4 # ls -l /usr/local/emul/freebsd/usr/lib/libc.so* lrwxr-xr-x 1 root wheel 9 Aug 4 00:44 \ /usr/local/emul/freebsd/usr/lib/libc.so - libc.so.4 -r--r--r-- 1 root wheel 582928 Jan 21 2005 \ /usr/local/emul/freebsd/usr/lib/libc.so.4 Environment: OpenBSD 4.1 x86, FreeBSD 4.11 binaries Now the checklist: Is the sysctl enabled? Check. sysctl -w kern.emul.freebsd=1 Off: ksh: /emul/freebsd/usr/bin/ldd: Operation no permitted On: The error above Did I copy in ldd-freebsd and ldconfig-freebsd as per the man page? Check. Is the symlink to /emul/freebsd in place? Check. ls -l /emul/ ...freebsd - /usr/local/emul/freebsd Do I have a seemingly-good freebsd 4.11 bin installation? Check. mount the cd... cat /mnt/cdrom/bin.?? | tar zpxf - -C /usr/local/emul/freebsd Did I create the empty shared library hints files? Check. # touch /usr/local/emul/freebsd/var/run/ld-elf.so.hints # touch /usr/local/emul/freebsd/var/run/ld.so.hints Did I populate the cache with a safe set of paths that should work on both OpenBSD and FreeBSD? Check. Along with only /usr/lib just in case # ldconfig-freebsd /usr/lib /usr/local/lib /usr/X11R6/lib /usr/lib/compat Did it do something? Check. # ls -l /emul/freebsd/var/run ... 167 Aug 6 18:44 ld-elf.so.hints Do statically-build binaries run? Check. # ldconfig-freebsd -r /var/run/ld-elf.so.hints: search directories: /usr/lib:/usr/local/lib:... 0:-lcom_err.2 = /usr/lib/libcom_err.so.2 1... Did I try FreeBSD's ldd? Check. *Can't* It depends on shared libraries Did I try OpenBSD's for what it's worth? Check. # ldd `which ldd-freebsd` /usr/local/bin/ldd-freebsd libc.so.4 = not found (0x0) Did I try the LD_LIBRARY_PATH environment environment over relying on the shared library cache? Check. export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/X11R6/lib Did I compare the ldd output on a real FreeBSD 4.11 box? Check. ldd `which ldd` /usr/bin/ldd: libc.so.4 = /usr/lib/libc.so.4 (0x2806a000) Did I try a statically-built FreeBSD 4.11 world? Failed... may need a patch: http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/065954.html make NOSHARED=yes buildworld Did I turn off compat_linux in case it conflicts for some reason? Check. Did I try variations on Linux's: /lib/ld-linux.so.2 --library-path PATH EXECUTABLE http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html Failed: convention does not appear to be supported. Did I try FreeBSD 5.5 binaries given that the man page referrs to 5.0? Check. Failed... they all seem to have dynamic library dependencies. Anything else I should try? Does anyone have compat_freebsd working? Many thanks, Michael.
Re: booteasy fate?
Don't beat a dead horse. This should do whatever you need: http://gag.sourceforge.net/ 1. That's not an answer to my question. 2. Alas, gag does not appear to offer a command line tool that can pre-choose an alternative boot slice prior to remote reboot. I'm looking for something along the lines of FreeBSD's boot0cfg and am looking into porting it. I recall Marco mentioning that fdisk can be used to choose slices or something. Will investigate. Don't get me wrong, lots of icons is nice and all for some situations. Michael.
booteasy fate?
Hello, I have found references to: /pub/OpenBSD/3.6/tools/booteasy suggesting that it was part of the distribution but I do not see it listed for 3.7 and newer. I do not see a 3.7 changelist entry for it and I the online man pages to not seem to refer to it. From the looks however, it was an official OpenBSD boot manager. I fold! What was it and what happend to it? Thanks, Michael.
Is the PERL in base stock?
Hello, From what I can tell, the PERL used in OpenBSD is stock: http://www.openbsd.org/cgi-bin/cvsweb/src/gnu/usr.bin/perl/ Could someone confirm or deny this? Is it reviewed or hardened in any way? Thanks, Michael.
fdisk automation scripts? Autopartition?
Hello, Might anyone have any pointers to sources of fdisk automation scripts for OpenBSD that that can determine the size of a disk and follow a set of partitioning guidelines? Scenario: cookie-cutter systems with different drive sizes. Options like use the remainder for /usr are always handy. Thanks, Michael.
Any CAPP/OpenBSM work being done? (Controlled Access Protection Profile)
Hello, Robert Watson of the kernel cross-reference and other fame gave an impromptu yet compelling presentation at EuroBSDCon about his CAPP (Controlled Access Protection Profile) and OpenBSM work on FreeBSD and Darwin and I am curious if any work is being done to implement/import this work into OpenBSD. I found the log and audit at all costs approach of CAPP/BSM most interesting: whereas any user can pump just about any data into syslog, CAPP/BSM dictates for example that a system must optionally slow down to accommodate incoming logging and in fact halt if it cannot accept more. This is a bit extreme but maps out just about any level of paranoia and is the new target for some government systems. The paper: http://www.trustedbsd.org/20060303-ukuug2006lisa-audit.pdf Best regards, Michael Dexter