Re: How to configure pppoe client on OpenBSD?
2013/1/14 Franco Fichtner slash...@gmail.com: You need to understand that people asking question here have no idea about the marvellous man pages in OpenBSD and they never will (because then they would not be asking in the first place). Then they haven't read afterboot(8). Best Martin PS: apropos should be mentioned in afterboot(8).
Re: How to configure pppoe client on OpenBSD?
2013/1/14 Martin Schröder mar...@oneiros.de: PS: apropos should be mentioned in afterboot(8). The first command in afterboot mentioned is help. The first paragraph of help(1) goes: Type man man for instructions on how to use it properly. Pay especially close attention to the -k option. There just is no way to tell people to read if they don't read. -- May the most significant bit of your life be positive.
Re: OT using absolute paths in scripts
Hi Marc, On Sun, Jan 13, 2013 at 07:12:23PM +0100, Marc Espie wrote: On Sun, Jan 13, 2013 at 11:04:08AM -0600, Maximo Pech wrote: They mandate that on all shell scripts we have to use absolute paths for every single command. That does provide ways less security than setting the PATH to a system-only path at the beginning of your script. Can you elaborate on this? From a security point of view only, this looks to me as a draw. If you consider the portability issues then sure, setting PATH is better. Regards, -- Jeremie Le Hen Scientists say the world is made up of Protons, Neutrons and Electrons. They forgot to mention Morons.
Re: named error from /var/named/etc/root.hint
On Jan 3, D.ROOT changed its ip address. We updated our sources on and after the 3rd. On 2013 Jan 14 (Mon) at 09:32:57 + (+), Jamie Paul Griffin wrote: :Hi : :I recently upgraded my system to the Dec 21 snapshot, will be updating again to the Jan 09 snapshot; but, I noticed an error message in /var/log/messages yesterday when I rebooted my machine: : : :Jan 13 21:16:43 kontrol named[23666]: checkhints: d.root-servers.net/A (199.7.91.13) missing from hints :Jan 13 21:16:43 kontrol named[23666]: checkhints: d.root-servers.net/A (128.8.10.90) extra record in hints : :I managed to fix it by downloading a new file from ftp://ftp.internic.net/domain/named.cache and copying it to /var/named/etc/root.hints. : :I Just thought I would post that in case anyone else has/had the same issue. : :Cheers, Jamie : : :-- :Primary Key: 4096R/1D31DC38 2011-12-03 :Key Fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38 : -- Sex is the poor man's opera. -- G. B. Shaw
named error from /var/named/etc/root.hint
Hi I recently upgraded my system to the Dec 21 snapshot, will be updating again to the Jan 09 snapshot; but, I noticed an error message in /var/log/messages yesterday when I rebooted my machine: Jan 13 21:16:43 kontrol named[23666]: checkhints: d.root-servers.net/A (199.7.91.13) missing from hints Jan 13 21:16:43 kontrol named[23666]: checkhints: d.root-servers.net/A (128.8.10.90) extra record in hints I managed to fix it by downloading a new file from ftp://ftp.internic.net/domain/named.cache and copying it to /var/named/etc/root.hints. I Just thought I would post that in case anyone else has/had the same issue. Cheers, Jamie -- Primary Key: 4096R/1D31DC38 2011-12-03 Key Fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38
Re: named error from /var/named/etc/root.hint
On Mon, Jan 14, 2013 at 09:32:57AM +, Jamie Paul Griffin wrote: Hi I recently upgraded my system to the Dec 21 snapshot, will be updating again to the Jan 09 snapshot; but, I noticed an error message in /var/log/messages yesterday when I rebooted my machine: Jan 13 21:16:43 kontrol named[23666]: checkhints: d.root-servers.net/A (199.7.91.13) missing from hints Jan 13 21:16:43 kontrol named[23666]: checkhints: d.root-servers.net/A (128.8.10.90) extra record in hints I managed to fix it by downloading a new file from ftp://ftp.internic.net/domain/named.cache and copying it to /var/named/etc/root.hints. I Just thought I would post that in case anyone else has/had the same issue. Cheers, Jamie The hints file was updated 10 days ago within the -current src tree. That is more so a warning than an error and your name server will work fine even without the most up to date hints file. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Re: OT using absolute paths in scripts
On Mon, Jan 14, 2013 at 1:14 AM, Jeremie Le Hen jere...@le-hen.org wrote: On Sun, Jan 13, 2013 at 07:12:23PM +0100, Marc Espie wrote: On Sun, Jan 13, 2013 at 11:04:08AM -0600, Maximo Pech wrote: They mandate that on all shell scripts we have to use absolute paths for every single command. That does provide ways less security than setting the PATH to a system-only path at the beginning of your script. Can you elaborate on this? From a security point of view only, this looks to me as a draw. If you consider the portability issues then sure, setting PATH is better. You cut out his next paragraph which gives an example of why: Sure, you invoke programs with an absolute path, but have you checked that those programs don't invoke other programs with execvp ? Hard coding depends on you to actually hard code EVERYWHERE, including in paths and commands passed to *other* commands executed from the script that you write. If you screw up and miss one, you lose. Set PATH and you can't miss one. Philip Guenther
Re: [obsd] Re: OT using absolute paths in scripts
On Mon, Jan 14, 2013 at 02:16:24AM -0800, Philip Guenther wrote: On Mon, Jan 14, 2013 at 1:14 AM, Jeremie Le Hen jere...@le-hen.org wrote: On Sun, Jan 13, 2013 at 07:12:23PM +0100, Marc Espie wrote: On Sun, Jan 13, 2013 at 11:04:08AM -0600, Maximo Pech wrote: They mandate that on all shell scripts we have to use absolute paths for every single command. That does provide ways less security than setting the PATH to a system-only path at the beginning of your script. Can you elaborate on this? From a security point of view only, this looks to me as a draw. If you consider the portability issues then sure, setting PATH is better. You cut out his next paragraph which gives an example of why: Sure, you invoke programs with an absolute path, but have you checked that those programs don't invoke other programs with execvp ? Hard coding depends on you to actually hard code EVERYWHERE, including in paths and commands passed to *other* commands executed from the script that you write. If you screw up and miss one, you lose. Set PATH and you can't miss one. Oh yeah, sorry, I didn't notice the p suffix, I just thought of execve(2). Thanks for the clarification. Regards, -- Jeremie Le Hen Scientists say the world is made up of Protons, Neutrons and Electrons. They forgot to mention Morons.
Re: named error from /var/named/etc/root.hint
On 2013-01-14, Jamie Paul Griffin ja...@kode5.net wrote: Hi I recently upgraded my system to the Dec 21 snapshot, will be updating again to the Jan 09 snapshot; but, I noticed an error message in /var/log/messages yesterday when I rebooted my machine: Jan 13 21:16:43 kontrol named[23666]: checkhints: d.root-servers.net/A (199.7.91.13) missing from hints Jan 13 21:16:43 kontrol named[23666]: checkhints: d.root-servers.net/A (128.8.10.90) extra record in hints I managed to fix it by downloading a new file from ftp://ftp.internic.net/domain/named.cache and copying it to /var/named/etc/root.hints. I Just thought I would post that in case anyone else has/had the same issue. Cheers, Jamie This would get updated when you run sysmerge against newer sources or a newer etc52.tgz.
Re: How to configure pppoe client on OpenBSD?
Why? apropos should be known by any UNIX user. The level of acceptable ignorance in the UNIX community is staggering. This is not the 'old' days of 1990 where there was no documentation and UNIX wisdom was passed on by sage UNIX wizards to young apprentices. It is very unfortunate that Linux has tried to continue that tradition. READ THE F*G DOCUMENTATION! Every flavour of UNIX that I have worked with has *GREAT* man pages and documentation with the exception of EVERY LINUX DISTRO! People coming from Linux into the real world should get a swift kick in the ass to wake them up. GNUs NOT UNIX On Mon, Jan 14, 2013, at 02:52 AM, Martin Schröder wrote: 2013/1/14 Franco Fichtner slash...@gmail.com: You need to understand that people asking question here have no idea about the marvellous man pages in OpenBSD and they never will (because then they would not be asking in the first place). Then they haven't read afterboot(8). Best Martin PS: apropos should be mentioned in afterboot(8).
Re: [obsd] Re: OT using absolute paths in scripts
On Mon, Jan 14, 2013 at 11:48:04AM +0100, Jeremie Le Hen wrote: On Mon, Jan 14, 2013 at 02:16:24AM -0800, Philip Guenther wrote: On Mon, Jan 14, 2013 at 1:14 AM, Jeremie Le Hen jere...@le-hen.org wrote: On Sun, Jan 13, 2013 at 07:12:23PM +0100, Marc Espie wrote: On Sun, Jan 13, 2013 at 11:04:08AM -0600, Maximo Pech wrote: They mandate that on all shell scripts we have to use absolute paths for every single command. That does provide ways less security than setting the PATH to a system-only path at the beginning of your script. Can you elaborate on this? From a security point of view only, this looks to me as a draw. If you consider the portability issues then sure, setting PATH is better. You cut out his next paragraph which gives an example of why: Sure, you invoke programs with an absolute path, but have you checked that those programs don't invoke other programs with execvp ? Hard coding depends on you to actually hard code EVERYWHERE, including in paths and commands passed to *other* commands executed from the script that you write. If you screw up and miss one, you lose. Set PATH and you can't miss one. Oh yeah, sorry, I didn't notice the p suffix, I just thought of execve(2). That's security, so every little detail counts. Miss one ? You lose, obviously. ;-)
Re: PF filtering on MAC address
On Fri, Jan 11, 2013 at 12:56:47PM +, Alexey E. Suslikov wrote: Erling Westenvik erling.westenvik at gmail.com writes: Is it possible to have PF filter on MAC address on a machine with only one physical nic? I'm aware that MAC filtering can only be done on a machine configured as a bridge, but how to configure such a bridge? afaik, bridge(4) mac filtering only affects bridge forwarding. I think you can cook something using a bridge with a vether(4) as bridge member. Thanks. Using vether(4) for general bridging seem to work great. However; after trying to tag ethernet frames on five machines with different hardware and OpenBSD versions, I'm beginning to think that support for this is dodgy at best. FAQ http://www.openbsd.org/faq/faq6.html#Bridge states: Some NICs don't work properly in [Promiscuous] mode, the TI ThunderLAN chip (tl(4)) is an example of a chip that won't work as part of a bridge. Could this be related? Is there a list over these some NICs? So far I have tried testing on machines with dc(4), em(4), bge(4), iwi(4), iwn(4) and fxp(4). On some of the machines, pf will pass tagged frames from some of the other machines/segments but not from the others. On other machines, no tagged packets will pass at all. None of the machines will pass all tagged frames from all of the others. I know I'm putting myself poorly, so please ask me for more spesific information. Cheers, Erling
anyone using a SunFire V215?
hello misc, is anyone here using a SunFire V215? http://www.openbsd.org/sparc64.html says it's a supported machine. I'd be grateful for your observations if you run such a machine, I'm considering to get two to run a firewall cluster. thank you Florenz
Re: anyone using a SunFire V215?
On Mon, 14 Jan 2013 09:02:54 -0600, Florenz Kley f...@well.com wrote: is anyone here using a SunFire V215? http://www.openbsd.org/sparc64.html says it's a supported machine. I'd be grateful for your observations if you run such a machine, I'm considering to get two to run a firewall cluster. I think I installed it on a V215 a while back. I believe only NetBSD and OpenBSD worked on it at the time. I hope you live somewhere cold so you can use the BTUs output to offset your heating bill.
Re: anyone using a SunFire V215?
On Mon, Jan 14, 2013 at 04:02:54PM +0100, Florenz Kley wrote: | hello misc, | | is anyone here using a SunFire V215? | http://www.openbsd.org/sparc64.html says it's a supported machine. | | I'd be grateful for your observations if you run such a machine, I'm | considering to get two to run a firewall cluster. Works perfectly fine, very well supported machine. This is mine: --- sysctl hw hw.machine=sparc64 hw.model=SUNW,UltraSPARC-IIIi (rev 3.4) @ 1504 MHz hw.ncpu=1 hw.byteorder=4321 hw.pagesize=8192 hw.disknames=cd0:,sd0:e580d48835930ea5,sd1:b4b681cb78013c36 hw.diskcount=3 hw.cpuspeed=1504 hw.vendor=Sun hw.product=SUNW,Sun-Fire-V215 hw.physmem=8589934592 hw.usermem=8589918208 hw.ncpufound=1 hw.allowpowerdown=1 console is /ebus@1f,464000/serial@2,80 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2012 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.2-current (GENERIC) #7: Fri Dec 21 04:30:37 MST 2012 dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC real mem = 8589934592 (8192MB) avail mem = 8443887616 (8052MB) mainbus0 at root: Sun Fire V215 cpu0 at mainbus0: SUNW,UltraSPARC-IIIi (rev 3.4) @ 1504 MHz cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 b/l) memory-controller at mainbus0 not configured pyro0 at mainbus0: Fire, rev 3, ign 780, bus A 2 to 13 pyro0: dvma map c000- pci0 at pyro0 ppb0 at pci0 dev 0 function 0 PLX PEX 8532 rev 0xbb pci1 at ppb0 bus 3 ppb1 at pci1 dev 1 function 0 PLX PEX 8532 rev 0xbb pci2 at ppb1 bus 4 ppb2 at pci2 dev 0 function 0 Acer Labs M5249 PCI-PCI rev 0x00 pci3 at ppb2 bus 5 ohci0 at pci3 dev 28 function 0 Acer Labs M5237 USB rev 0x03: ivec 0x780, version 1.0, legacy support ohci1 at pci3 dev 28 function 1 Acer Labs M5237 USB rev 0x03: ivec 0x780, version 1.0, legacy support ehci0 at pci3 dev 28 function 3 Acer Labs M5239 USB2 rev 0x01: ivec 0x781 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Acer Labs EHCI root hub rev 2.00/1.00 addr 1 ebus0 at pci3 dev 30 function 0 Acer Labs M1575 ISA rev 0x00 rtc0 at ebus0 addr 70-73: m5823 pciide0 at pci3 dev 31 function 0 Acer Labs M5229 UDMA IDE rev 0xc8: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using ivec 0x784 for native-PCI interrupt atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-RAM UJ-85JS, F100 ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) usb1 at ohci0: USB revision 1.0 uhub1 at usb1 Acer Labs OHCI root hub rev 1.00/1.00 addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2 Acer Labs OHCI root hub rev 1.00/1.00 addr 1 ppb3 at pci1 dev 2 function 0 PLX PEX 8532 rev 0xbb: msi pci4 at ppb3 bus 6 ppb4 at pci1 dev 8 function 0 PLX PEX 8532 rev 0xbb: msi pci5 at ppb4 bus 7 ppb5 at pci1 dev 9 function 0 PLX PEX 8532 rev 0xbb pci6 at ppb5 bus 8 ppb6 at pci6 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xb5 pci7 at ppb6 bus 9 bge0 at pci7 dev 4 function 0 Broadcom BCM5714 rev 0xa3, BCM5715 A3 (0x9003): ivec 0x795, address 00:14:4f:b0:85:1a brgphy0 at bge0 phy 1: BCM5714 10/100/1000baseT/SX PHY, rev. 0 bge1 at pci7 dev 4 function 1 Broadcom BCM5714 rev 0xa3, BCM5715 A3 (0x9003): ivec 0x796, address 00:14:4f:b0:85:1b brgphy1 at bge1 phy 1: BCM5714 10/100/1000baseT/SX PHY, rev. 0 ppb7 at pci7 dev 8 function 0 ServerWorks HT-1000 PCIX rev 0xb4 pci8 at ppb7 bus 10 ppb8 at pci1 dev 10 function 0 PLX PEX 8532 rev 0xbb pci9 at ppb8 bus 11 ppb9 at pci9 dev 0 function 0 ServerWorks PCIE-PCIX rev 0xb5 pci10 at ppb9 bus 12 bge2 at pci10 dev 4 function 0 Broadcom BCM5714 rev 0xa3, BCM5715 A3 (0x9003): ivec 0x796, address 00:14:4f:b0:85:1c brgphy2 at bge2 phy 1: BCM5714 10/100/1000baseT/SX PHY, rev. 0 bge3 at pci10 dev 4 function 1 Broadcom BCM5714 rev 0xa3, BCM5715 A3 (0x9003): ivec 0x797, address 00:14:4f:b0:85:1d brgphy3 at bge3 phy 1: BCM5714 10/100/1000baseT/SX PHY, rev. 0 ppb10 at pci10 dev 8 function 0 ServerWorks HT-1000 PCIX rev 0xb4 pci11 at ppb10 bus 13 mpi0 at pci11 dev 1 function 0 Symbios Logic SAS1064 rev 0x02: msi scsibus1 at mpi0: 63 targets sd0 at scsibus1 targ 0 lun 0: SEAGATE, ST973402SSUN72G, 0603 SCSI3 0/direct fixed naa.5000c50007e1df0b sd0: 70007MB, 512 bytes/sector, 143374738 sectors sd1 at scsibus1 targ 1 lun 0: FUJITSU, MBB2073RCSUN72G, 0505 SCSI2 0/direct fixed naa.50e019033ec0 sd1: 70007MB, 512 bytes/sector, 143374738 sectors pyro1 at mainbus0: Fire, rev 3, ign 7c0, bus B 2 to 255 pyro1: dvma map c000- pci12 at pyro1 ebus1 at mainbus0 flashprom at ebus1 addr 0-1f not configured com0 at ebus1 addr 80-87 ivec 0x7c8: ns16550a, 16 byte fifo com0: console com1 at ebus1 addr 40-47 ivec 0x7c9: ns16550a, 16 byte fifo rmc-comm at ebus1 addr 0-7 ivec 0x7ca not configured gpio at ebus1 addr
Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?.
Hi all, I'm having a frustrating problem getting OpenBSD-current (or snapshot) to run on my Soekris net5501. With previous versions of OBSD I was able to use qemu to install to a compact flashcard directly, by connecting the flashcard to my laptop and then starting qemu like so: sudo qemu -hda /dev/sd0i -cdrom install52.iso -boot d (and many variations of this command mostly pertaining to the /dev/sd0 section) I'm basically following the process described here: http://blog.spoofed.org/2007/12/openbsd-on-soekris-cheaters-guide.html In the past (~ OpenBSD 4.x) that was a piece of cake and my Soekris boxen worked right away but now with the 5.x releases I've tried the install aborts with a Kernel panic just before base52.tgz is fully downloaded or fetched from ISO. The panic message says that inodes are in use already. However that makes no sense to me since the panic occurs during package download AND I always used new fresh compact flash cards. Am I missing something obvious? I thought I wasn't a newbie, but this is making me rethink that notion. Any thoughts or insights would be welcome. :-) Sarah P.S.: I know there are other ways to get OpenBSD running on a Soekris but I've always liked the utter simplicity of the qemu-based install. -- Be civil to all; sociable to many; familiar with few; friend to one; enemy to none. - Benjamin Franklin
momentary keyboard glitch
Last night I experienced something I have never seen before. Sitting in KDE, I noticed that my keyboard had changed. Any character pressed resulted in its control equivalent, so an A or a was ^A, etc. Thinking that this was very bizarre, I went to the first console via ctrl-alt-F1 and things were fine. Switching back to X/KDE, things were OK, too. It hasn't happened since. I wonder if I had a momentary hardware glitch? Has anyone seen this before? This is a W500 Thinkpad running amd64-current last compiled Jan 8th with a package set from December 28th. Puzzling... --STeve Andre' (dmesg) OpenBSD 5.2-current (GENERIC.MP) #0: Tue Jan 8 19:06:54 EST 2013 r...@paladin.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8515162112 (8120MB) avail mem = 8265981952 (7883MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (80 entries) bios0: vendor LENOVO version 6FET92WW (3.22 ) date 12/14/2011 bios0: LENOVO 4061CTO acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA DMAR SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz, 2793.38 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF cpu0: 6MB 64b/line 16-way L2 cache cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz, 2793.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,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF cpu1: 6MB 64b/line 16-way L2 cache ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xe000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus -1 (EXP2) acpiprt5 at acpi0: bus 5 (EXP3) acpiprt6 at acpi0: bus 13 (EXP4) acpiprt7 at acpi0: bus 21 (PCI1) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4619 serial 5701 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) cpu0: Enhanced SpeedStep 2793 MHz: speeds: 2801, 2800, 2133, 1600, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07 ppb0 at pci0 dev 1 function 0 Intel GM45 PCIE rev 0x07: msi pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Mobility Radeon HD 3650 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 1 int 16 drm0 at radeondrm0 Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured puc0 at pci0 dev 3 function 3 Intel GM45 KT rev 0x07: ports: 1 com com2 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo com2: probed fifo depth: 15 bytes em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: msi, address 00:22:68:1b:3c:c7 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 20 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 1 int 21 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 1 int 22 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 1 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: msi azalia0: codecs: Conexant CX20561, Conexant/0x2c06, using Conexant CX20561 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: msi pci3 at ppb2 bus 3 iwn0 at pci3 dev 0 function 0 Intel WiFi Link 5300 rev 0x00: msi, MIMO 3T3R, MoW, address 00:21:6a:01:d0:b6 ppb3 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: msi pci4 at ppb3 bus 5 ppb4 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: msi pci5 at ppb4 bus 13 uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 1 int 16 uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 1 int 17 uhci5 at pci0 dev 29 function 2
PF: route-to round-robin using single interface?
Hi! I have a small network, connected by 2 ADSL connections, and want to load-share the connections. All examples of route-to round-robin that I have seen have used 2 separate interfaces, but as both my ADSL modems are on the same no-mans-land network, I have been (so far unsuccessfully) trying to do something like this: pass in on $int_if from $int_net \ route-to { ($ext_if $isp1_gw), ($ext_if $isp2_gw) } \ round-robin sticky-address Is that supposed to work, or does route-to round-robin only work with 2 separate interfaces? Appreciate any input... Julf
Re: momentary keyboard glitch
On 01/14/2013 06:57 AM, STeve Andre' wrote: Last night I experienced something I have never seen before. Sitting in KDE, I noticed that my keyboard had changed. Any character pressed resulted in its control equivalent, so an A or a was ^A, etc. Thinking that this was very bizarre, I went to the first console via ctrl-alt-F1 and things were fine. Switching back to X/KDE, things were OK, too. It hasn't happened since. I wonder if I had a momentary hardware glitch? Has anyone seen this before? This is a W500 Thinkpad running amd64-current last compiled Jan 8th with a package set from December 28th. I'm guessing your ctrl key was stuck. I too have a W500 and have had the problem. It is not obvious when a key is stuck. Ray
Routing confusion?
My firewall box has 3 net interfaces: em0 (internal network): inet 172.24.42.254 netmask 0xff00 broadcast 172.24.42.255 em1 (internet): inet 172.24.40.3 netmask 0xfc00 broadcast 172.24.43.255 em2 (wifi sandbox): inet 172.24.42.223 netmask 0xffc0 broadcast 172.24.42.255 Attached to em1 I have 2 ADSL modems, 172.24.40.1 and 172.24.40.2 Default route (set through /etc/mygate) is 172.24.40.1 The firewall itself ca reach both ADSL modems, but machines on the internal network can only reach 172.24.40.1. Here are traceroutes from a host inside the em0 network: traceroute to 172.24.40.1 (172.24.40.1), 30 hops max, 60 byte packets 1 172.24.42.254 (172.24.42.254) 0.598 ms 0.685 ms 0.787 ms 2 172.24.40.1 (172.24.40.1) 1.568 ms 1.560 ms 1.719 ms traceroute to 172.24.40.2 (172.24.40.2), 30 hops max, 60 byte packets 1 172.24.42.254 (172.24.42.254) 1.251 ms 1.243 ms 1.235 ms 2 * * * This is with pf disabled. As the packets do reach the firewall on em0, shouldn't they be forwarded to em1? (yes, net.inet.ip.forwarding=1) Any advice/ideas/guidance appreciated... Julf
Re: Routing confusion?
On 2013 Jan 14 (Mon) at 18:36:05 +0100 (+0100), Johan Helsingius wrote: :My firewall box has 3 net interfaces: : : :em0 (internal network): :inet 172.24.42.254 netmask 0xff00 broadcast 172.24.42.255 :em2 (wifi sandbox): :inet 172.24.42.223 netmask 0xffc0 broadcast 172.24.42.255 : You can't do that. Make these seperate networks, or bridge em0 and em2 together (but at that point, simply plug wifi into the internal network switch). -- If a listener nods his head when you're explaining your program, wake him up.
openbsd 5.2 on soekris softraid boot error code 91
Hi I've just installed OpenBSD 5.2 on my Soekris 6501. Im using two WDC WD2500BPVT-22JJ5T0 disks in RAID1. Installation goes well and the system boots fine the first time. After reboot I'm greeted with the following error: Using drive 0, partition 3. Loading... probing: pc0 com0 mem[620K 2046M a20=on] disk: hd0+ hd1+ sr0* OpenBSD/amd64 BOOT 3.20 open(sr0a:/etc/boot.conf): Unknown error: code 91 boot booting sr0a:/bsd: open sr0a:/bsd: Unknown error: code 91 failed(91). will try /bsd boot booting sr0a:/bsd: open sr0a:/bsd: Unknown error: code 91 failed(91). will try /bsd Turning timeout off. boot This error occurs everytime I reboot or press the reset-button on the back of the chassis. At first when I pulled the powerplug and pluged it in, it booted fine the first time, but now I cant even do that anymore. I fear its a hardware issue. Does anyone know what this is, or what error code 91 means?
Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?.
Hi. Quoting Sarah Caswell s.casw...@protocol6.com: Hi all, I'm having a frustrating problem getting OpenBSD-current (or snapshot) to run on my Soekris net5501. With previous versions of OBSD I was able to use qemu to install to a compact flashcard directly, by connecting the flashcard to my laptop and then starting qemu like so: sudo qemu -hda /dev/sd0i -cdrom install52.iso -boot d (and many variations of this command mostly pertaining to the /dev/sd0 section) Yeah this looks wrong, I think you need the raw device (rsd0), or at least the whole disc, not partition. I installed OpenBSD on Soekris using Qemu just a week ago and it worked fine. Although I prepared the USB stick outside of OpenBSD. I have 2G flash drive myself: # df -hi Filesystem SizeUsed Avail Capacity iused ifree %iused Mounted on /dev/wd0a 1.9G509M1.3G28% 23502 236336 9% / I'm basically following the process described here: http://blog.spoofed.org/2007/12/openbsd-on-soekris-cheaters-guide.html In the past (~ OpenBSD 4.x) that was a piece of cake and my Soekris boxen worked right away but now with the 5.x releases I've tried the install aborts with a Kernel panic just before base52.tgz is fully downloaded or fetched from ISO. The panic message says that inodes are in use already. However that makes no sense to me since the panic occurs during package download AND I always used new fresh compact flash cards. The install program extracts the sets on-the-fly. This sounds more like a disk problem than anything related to Soekris. Check your disks after formatting by escaping to shell with ! or directly with !dh -i. Am I missing something obvious? I thought I wasn't a newbie, but this is making me rethink that notion. Any thoughts or insights would be welcome. :-) Sarah P.S.: I know there are other ways to get OpenBSD running on a Soekris but I've always liked the utter simplicity of the qemu-based install.
Re: Foxconn NanoPC nT-i1250 fails to boot after install
On Fri, Jan 11, 2013 at 5:29 PM, Stefan Sperling s...@openbsd.org wrote: I see. So this is happening during pms_probe() which runs before the protocol is selected. Maybe fix it like this? I think the code should cope with hardware that returns unrecognizable garbage. But I don't know very much about PS/2. Thanks for pinning down the problem! Index: pckbc.c === RCS file: /cvs/src/sys/dev/ic/pckbc.c,v retrieving revision 1.31 diff -u -p -r1.31 pckbc.c --- pckbc.c 17 Oct 2012 19:16:10 - 1.31 +++ pckbc.c 12 Jan 2013 01:25:41 - @@ -620,6 +620,11 @@ pckbc_poll_cmd1(struct pckbc_internal *t #ifdef PCKBCDEBUG printf(pckbc_cmd: lost 0x%x\n, c); #endif + /* Don't retry cmd forever. */ + if (cmd-retries++ = 5) { + cmd-status = EIO; + return; + } } while (cmd-responseidx cmd-responselen) { That patch works fine. Tested on i386 on nT-i1250. Thanks for pointing me in the right direction!
Re: OT using absolute paths in scripts
On Sun, Jan 13 2013 at 04:11, Maximo Pech wrote: At work, we have an information security area for IT. They mandate that on all shell scripts we have to use absolute paths for every single command. I feel that this does not provide real security and only makes scripts somewhat more painful to write. What's your opinion on this? I saw that technique used, but not for security reasons. Is it the only recomendation they've done or there are others? Because if it is the only one, then you can break through this pretty easily: $ export IFS='/ ' Regards
Re: How to configure pppoe client on OpenBSD?
And if you stay on these lists long enough you WILL be insulted by Theo. That's just a fact of life. Deal with it. Hell, he even managed to insult Nick. Where are the insults? In every single post he was able to make his point. Yeah, maybe it was very acid, but never rude or focused on insults. It took me some time to get it, but the things are simple: some folks put together some code and they shared it for free. Too many people are taking it wrong, thinking they have to receive the support, too. This is because of old habits of paying for services and then asking for support. But there is no payment or policy of payment here. Regarding the help or support, I think some newcomers do not observe that the FAQ is the install help, when they land on www page. But this is just an idea, I don't have so much experience with people.
Re: How to configure pppoe client on OpenBSD?
My apologies to all; I didn't mean to be trolling or rude back to those helpful on the list. I believe you. I just felt off putting comments like let-me-find-that-man-page-for-you are not the right way to treat those who support your projects. The project cannot be held responsible for what people are talking on project's mail list. Do not confuse developers' group with list users group. And most of all, address that poster, not the project and all the developers. A response back like: check the man pages, check the faqs, look on daemon forums; or google that are fine. You got some of these, too, even in the first stage. I know it's daunting to get redundant questions all the time and have new people who don't know where to look. Trust me, some people here are still answering with patience to all of these. Too me it's just sad to see new people treated like crud; how can you get new supporters, porters and volunteers if new people aren't welcome. You are guessing again. How do you know they are not welcomed? Why do you think you know how the project can get new supporters, etc ? Even the uneducated sloppy ones can spend a few bucks on CD and T's Yes, they surely do ! But this will not buy the right to throw whatever you like on the lists. Nor make some technical affirmations without support or holding the ground for them. As Theo said many times, you must know your user rights. Which are not so many :-). Anyway ... sorry to all I offended. Cheer up and do not worry, folks here are forgiving. Or not ?
Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?.
On 01/14/2013 10:15 AM, Sarah Caswell wrote: Hi all, I'm having a frustrating problem getting OpenBSD-current (or snapshot) to run on my Soekris net5501. With previous versions of OBSD I was able to use qemu to install to a compact flashcard directly, by connecting the flashcard to my laptop and then starting qemu like so: sudo qemu -hda /dev/sd0i -cdrom install52.iso -boot d (and many variations of this command mostly pertaining to the /dev/sd0 section) funny definition of directly. ... P.S.: I know there are other ways to get OpenBSD running on a Soekris but I've always liked the utter simplicity of the qemu-based install. using an emulator = simple? If you don't understand the tools well enough to troubleshoot the problem, I really don't believe your assessment there. I don't know much about qemu, but I see a problem in the command line. This is what *I* call simple: Take your USB flash card reader to a free machine with a USB port. Put an OpenBSD CD in it. Boot off CD. Install to CF device. Use DUIDs. Create a /etc/hostname.vr0 (or whatever your soekris uses for its primary NIC), and do other network configuration as needed. Put flash device in Soekris. Done. direct, simple, bare minimum of extra tools. Machine doesn't even have to be able to boot from the USB port, though you can't test it before installing on soekris if it isn't. (variation: install bare minimum system on flash drive, move to Soekris, at the boot prompt, tell it bsd.rd and re-install exactly as you wish. If *I* were doing that, I could do it from an installed OpenBSD machine of the same platform without taking down the machine or booting from a CD. I'd call that simple, but I understand some basic tools that we try to keep normal people from having to use. The info for figuring out how to do that is all in the OpenBSD FAQ, though not in recipe form.) Nick.
Re: anyone using a SunFire V215?
I got its 2U bro, V240: it runs like hell :)))
Re: Still possible to get OpenBSD onto Soekris net5501 via qemu install to flashcard?.
I just upgrade in place via bsd.rd on my net4501. Guess I could do the other methods as well. Sent form my iFoe. On Jan 14, 2013, at 10:59, Nick Holland n...@holland-consulting.net wrote: On 01/14/2013 10:15 AM, Sarah Caswell wrote: Hi all, I'm having a frustrating problem getting OpenBSD-current (or snapshot) to run on my Soekris net5501. With previous versions of OBSD I was able to use qemu to install to a compact flashcard directly, by connecting the flashcard to my laptop and then starting qemu like so: sudo qemu -hda /dev/sd0i -cdrom install52.iso -boot d (and many variations of this command mostly pertaining to the /dev/sd0 section) funny definition of directly. ... P.S.: I know there are other ways to get OpenBSD running on a Soekris but I've always liked the utter simplicity of the qemu-based install. using an emulator = simple? If you don't understand the tools well enough to troubleshoot the problem, I really don't believe your assessment there. I don't know much about qemu, but I see a problem in the command line. This is what *I* call simple: Take your USB flash card reader to a free machine with a USB port. Put an OpenBSD CD in it. Boot off CD. Install to CF device. Use DUIDs. Create a /etc/hostname.vr0 (or whatever your soekris uses for its primary NIC), and do other network configuration as needed. Put flash device in Soekris. Done. direct, simple, bare minimum of extra tools. Machine doesn't even have to be able to boot from the USB port, though you can't test it before installing on soekris if it isn't. (variation: install bare minimum system on flash drive, move to Soekris, at the boot prompt, tell it bsd.rd and re-install exactly as you wish. If *I* were doing that, I could do it from an installed OpenBSD machine of the same platform without taking down the machine or booting from a CD. I'd call that simple, but I understand some basic tools that we try to keep normal people from having to use. The info for figuring out how to do that is all in the OpenBSD FAQ, though not in recipe form.) Nick.
do we have a Perl interface to sysctl(3)?
Is there an (OpenBSD) perl interface to sysctl(3)? Parsing the output of `sysctl $string` works, but is clumsy. FreeBSD has the BSD-Sysctl perl module available from CPAN, which would be ideal for my purposes... except that it doesn't (yet) support OpenBSD. Rex::Commands::Sysctl looks like it could work... but browsing the source code reveals that internally it just does `sysctl $string` and parses the result. What do OpenBSD people use for doing system-monitoring from Perl? ciao, -- -- Jonathan Thornburg [remove -animal to reply] jth...@astro.indiana-zebra.edu Dept of Astronomy, Indiana University, Bloomington, Indiana, USA C++ is to programming as sex is to reproduction. Better ways might technically exist but they're not nearly as much fun. -- Nikolai Irgens
openldap on OBSD amd64 5.2
Hi, i am trying to get openldap running, but my experience has been not that good. I have built and installed from ports. I can get it up and running but as soon as qmail tries to bind into it, it begins to consume memory up to all my available memory. I asked for help in the openldap mailing list and they got baffled, pretty baffled. I was told that in linux some special flags need to be supplied to BDB in order to get it working well. What about OpenBSD ? Have you tryied qmail-ldap + openldap on OBSD ? Faced anything similar ? I am aware that this problem persist from about two years ago, when i tried to get them working and the same problem arose. I waited beleving it would be fixed in a near future ... I am really interested in get it solved, although i have no knownledge on BDB internals .. I am willing to hear Thanks in advance.
Re: OT using absolute paths in scripts
On Mon, Jan 14, 2013 at 1:49 PM, Claer cl...@claer.hammock.fr wrote: On Sun, Jan 13 2013 at 04:11, Maximo Pech wrote: At work, we have an information security area for IT. They mandate that on all shell scripts we have to use absolute paths for every single command. I feel that this does not provide real security and only makes scripts somewhat more painful to write. What's your opinion on this? I saw that technique used, but not for security reasons. Is it the only recomendation they've done or there are others? Because if it is the only one, then you can break through this pretty easily: $ export IFS='/ ' POSIX 2.5.3, Shell Variables, IFS: Implementations may ignore the value of IFS in the environment, or the absence of IFS from the environment, at the time the shell is invoked, in which case the shell shall set IFS to space tab newline when it is invoked. may isn't a requirement, but what's a standard if a significant amount of implementations agree on what's right? andres@pote:~/tmp $ IFS=asd bash -c 'echo $IFS' | vis \t\$ \$ andres@pote:~/tmp $ IFS=asd ksh -c 'echo $IFS' | vis \t\$ \$ therefore i conclude that you are talking out of your poopy hole
Re: Arpresolve route without link local address
Hi, Today I upgraded to 11.01.2013 snapshot and I'm still get the same error. I have permanent static for my default route. [ns]~$ sudo /usr/sbin/arp -Ff /etc/ether.mac [ns]~$ cat /etc/ether.mac XX.XX.XX.33 00:50:45:5f:16:58 permanent [ns]~$ arp -a gw.xx.xx (XX.XX.XX.33) at 00:50:45:5f:16:58 on em0 permanent static After a while: [ns]~$ arp -a gw.xx.xx (XX.XX.XX.33) at 00:50:45:5f:16:58 on em0 the permanent static arp disappear. /var/log/messages: Jan 14 20:46:47 ns /bsd: arpresolve: XX.XX.7.33: route without link local address Jan 14 20:51:47 ns last message repeated 42 times /var/log/daemon: Jan 14 20:46:47 ns dhclient[2970]: DHCPREQUEST on em0 to XX.XX.7.1 port 67 Jan 14 20:46:47 ns dhclient[2970]: DHCPACK from XX.XX.7.33 (00:50:45:5f:16:58) Jan 14 20:46:47 ns dhclient[2970]: bound to XX.XX.7.48 -- renewal in 300 seconds. Here is my pf.conf [ns]~$ sudo cat /etc/pf.conf Macros ### ### Interfaces ### ExtIf =em0 IntIf =vlan41 Free =vlan81 pppx =192.168.3.0/25 lo0 =127.0.0.1 ### Hosts ### vl=192.168.1.2 jl=192.168.1.3 ve=192.168.1.4 ntp=192.168.1.5 sam=192.168.1.14 dpc11=192.168.1.11 ### Ports ### low_ports = 0:1024 hi_ports = 1025:65535 web = {20, 21, 22, 25, 80, 443, 3389, 5900, 6000, , 8080} ssh_extif = rdc = 3389 rdc_extif = 4900 squid = 8080 squid_extif = 443 vl_skype = 30001 jl_skype = 30002 ve_skype = 30003 vl_torrent= 30004 jl_torrent= 30005 ve_torrent= 30006 vl_hfs= 8081 ftp_proxy = 8021 symux = 2100 ftp = 21 vnc_ext = 59001 vnc_int = 5900 sftp = 2 l2tp = { 500, 1701, 4500 } trace = 33434:33498 ### Queues, States and Types ### IcmpType =icmp-type 8 code 0 SynState =flags S/SAFR synproxy state ### Tables ### table bgnets file /etc/bgnets table spamd-white persist table proxy-users persist { 188.254.185.154, 212.50.72.29, 85.217.136.0/21, \ 95.111.100.14, 212.233.176.65, 78.128.124.161, 190.32.172.28 } ## panama table isp persist { 94.26.7.32/27 } table BLOCK persist { 82.119.88.70 } Options ## ### Misc Options set block-policy drop set loginterface $ExtIf set skip on lo0 set optimization aggressive # set state-defaults pflow Queueing altq on $ExtIf bandwidth 100% hfsc queue { BG, INTER } queue INTER bandwidth 3% hfsc (upperlimit 2950Kb) \ { i_ack, i_dns, i_ntp, i_web, i_bulk, i_bittor } queue i_ack bandwidth 30% priority 8 qlimit 500 hfsc (realtime 30%) queue i_dns bandwidth 5% priority 7 qlimit 500 hfsc (realtime 10%) queue i_ntp bandwidth 10% priority 6 qlimit 500 hfsc (realtime 10%) queue i_web bandwidth 30% priority 5 qlimit 500 hfsc (realtime 20%) queue i_bulkbandwidth 19% priority 2 qlimit 500 hfsc (realtime 15%) queue i_bittor bandwidth 1% priority 0 qlimit 2000 hfsc (default, upperlimit 60%) queue BG bandwidth 30% hfsc (upperlimit 30Mb) \ { b_ack, b_dns, b_ntp, b_rdc, b_web, b_bulk, b_bittor } queue b_ack bandwidth 10% priority 8 qlimit 500 hfsc (realtime 10%) queue b_dns bandwidth 1% priority 7 qlimit 500 hfsc (realtime 1% ) queue b_ntp bandwidth 10% priority 7 qlimit 500 hfsc (realtime 1% ) queue b_rdc bandwidth 10% priority 6 qlimit 500 hfsc (realtime 10%) queue b_web bandwidth 30% priority 5 qlimit 500 hfsc (realtime 30%) queue b_bulkbandwidth 30% priority 4 qlimit 500 hfsc (realtime 10%) queue b_bittor bandwidth 1% priority 0 qlimit 500 hfsc (upperlimit 85%) Translation and Filtering ### ### BLOCK all in/out on all interfaces by default and log blocklog on $ExtIf block return log on $IntIf block return log on $Free block quick log on $ExtIf from BLOCK ### Network Address Translation (NAT with outgoing source port randomization) match out log on egress from (self) \ to any nat-to ($ExtIf:0) port 1024:65535 match out log on egress from !($ExtIf:0) \ to any nat-to ($ExtIf:0) port 1024:65535 ### NAT from IntIf to FreeWifi match out log on $Free from $IntIf:network \ to $Free:network nat-to ($Free:0) port 1024:65535 ### Packet normalization ( scrubbing ) match log on $ExtIf all scrub (random-id max-mss 1472) ### Ftp ( secure ftp proxy for LAN ) anchor ftp-proxy/* ### pppx pass log from $pppx ### $ExtIf inbound # npppd pass in log on $ExtIf proto {tcp, udp} from bgnets \ to ($ExtIf) port $l2tp queue b_dns # Named ( bind dns ) pass in log on $ExtIf inet proto udp from any \ to ($ExtIf) port domain queue i_dns pass in log on $ExtIf inet proto udp from bgnets \ to ($ExtIf) port domain queue b_dns # OpenSSH
Re: Unused swap
On Sun, Jan 13, 2013 at 11:50 PM, Barry Grumbine barry.grumb...@gmail.com wrote: I ran into the same problem. Was running into the datasize-cur=512M limit in the staff section of login.conf I'm not saying this is the right thing to do, but I bumped it to 1024M and haven't had a firefox seg-fault since. This is a system I use as my desktop, so I'm not concerned with other staff causing problems. Yeah, I figured it out as well after Constantines pointer to login.conf. I started with unlimited but rolled it back to 2048MB. This is just my test machine that I use as desktop as well. So I am the only one using it. Thanks all for your help Lars
Re: do we have a Perl interface to sysctl(3)?
On Mon, Jan 14, 2013 at 1:16 AM, Jonathan Thornburg jth...@astro.indiana.edu wrote: FreeBSD has the BSD-Sysctl perl module available from CPAN, which would be ideal for my purposes... except that it doesn't (yet) support OpenBSD. So, uh, what fails if you try to build it? Philip Guenther
Re: do we have a Perl interface to sysctl(3)?
Philip Guenther guent...@gmail.com writes: On Mon, Jan 14, 2013 at 1:16 AM, Jonathan Thornburg jth...@astro.indiana.edu wrote: FreeBSD has the BSD-Sysctl perl module available from CPAN, which would be ideal for my purposes... except that it doesn't (yet) support OpenBSD. So, uh, what fails if you try to build it? cpan output [...] OS unsupported (openbsd). Here's a nickel, go buy yourself a real OS. [..] Dunno why they stripped kid from this sentence, the meaning wouldn't have been much altered. 8) -- Jérémie Courrèges-Anglas GPG Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494
Re: do we have a Perl interface to sysctl(3)?
I wrote | FreeBSD has the BSD-Sysctl perl module available from CPAN, which would | be ideal for my purposes... except that it doesn't (yet) support OpenBSD. On Mon, 14 Jan 2013, Philip Guenther wrote: So, uh, what fails if you try to build it? % uname -a OpenBSD cobalt.astro.indiana.edu 5.1 GENERIC.MP#1 amd64 % pwd /usr/local/perl-modules/BSD-Sysctl-0.10 % head -13 README This file is the README for BSD::Sysctl version 0.10 INSTALLATION perl Makefile.PL make make test make install Building this module requires a FreeBSD system and a C compiler. Support for OpenBSD and NetBSD will appear in future releases. In theory, this module should be able to handle any system that uses a sysctl interface to the kernel. % perl Makefile.PL OS unsupported (openbsd). Here's a nickel, go buy yourself a real OS. % Notes: * As of yesterday, 0.10 is the latest version of BSD::Sysctl on CPAN. * I'm well aware that OpenBSD 5.2 has been out for a while; I bought a CD. If and when 5.1 proves inadequate for my needs, I'll reinstall. If not, I'll wait for 5.3. ciao, -- -- Jonathan Thornburg [remove -animal to reply] jth...@astro.indiana-zebra.edu Dept of Astronomy IUCSS, Indiana University, Bloomington, Indiana, USA on sabbatical in Canada starting August 2012 Some languages give you enough rope to hang yourself with. Perl gives you the rope, the scaffold, and the trapdoor under your feet... plus a loaded gun and a vial of poison, because hey, 'there's more than one way to do it'... -- Eryq Hughes
Re: openldap on OBSD amd64 5.2
On Mon, Jan 14, 2013 at 05:41:36PM -0200, Friedrich Locke wrote: Hi, i am trying to get openldap running, but my experience has been not that good. I have built and installed from ports. I can get it up and running but as soon as qmail tries to bind into it, it begins to consume memory up to all my available memory. I asked for help in the openldap mailing list and they got baffled, pretty baffled. I was told that in linux some special flags need to be supplied to BDB in order to get it working well. What about OpenBSD ? Have you tryied qmail-ldap + openldap on OBSD ? Faced anything similar ? I am aware that this problem persist from about two years ago, when i tried to get them working and the same problem arose. I waited beleving it would be fixed in a near future ... I am really interested in get it solved, although i have no knownledge on BDB internals .. I am willing to hear Install openldap-server-2.3.43 and use LDBM. BDB on 64bit archs is borked. We have the old version exactly for that around. -- :wq Claudio
Re: openldap on OBSD amd64 5.2
Quoting Friedrich Locke friedrich.lo...@gmail.com: Hi, i am trying to get openldap running, but my experience has been not that good. I have built and installed from ports. I can get it up and running but as soon as qmail tries to bind into it, it begins to consume memory up to all my available memory. I asked for help in the openldap mailing list and they got baffled, pretty baffled. I was told that in linux some special flags need to be supplied to BDB in order to get it working well. What about OpenBSD ? Have you tryied qmail-ldap + openldap on OBSD ? Faced anything similar ? I am aware that this problem persist from about two years ago, when i tried to get them working and the same problem arose. I waited beleving it would be fixed in a near future ... I am really interested in get it solved, although i have no knownledge on BDB internals .. I am willing to hear Thanks in advance. I have been using OpenLDAP on OpenBSD (OpenLDAP 2.4.12 on OpenBSD 4.7 i386 as well as OpenLDAP 2.4.26 on OpenBSD 4.9 amd64) without any problems for a few years now. I use sendmail as MTA and use the LDAP database for vacation, address books, distribution lists, etc. OpenLDAP also is used to authorize Windows users. dovecot users, iphone and blackberry users etc. I use BDB so that syncrepl etc. works well. Since knowledgeable people have mentioned that there are problems with newer versions of LDAP, I wonder if it is advisable for you to use the older versions on OpenBSD to run OpenLDAP. Not sure, just a thought. Since the ports.tar.gz file is on the CD, you may be able to build the older packages even though they are obsolete and not available at the OpenBSD FTP site. Vijay Vijay Sankar, M.Eng., P.Eng. ForeTell Technologies Limited vsan...@foretell.ca - This message was sent using ForeTell-POST 4.9
Re: vi vs ed in bsd.rd - proposal
Did you actually test that ? vi wants /var/tmp rw as well... Nah, just going from memory. It's been a while. However, the same logic applies: Look at what partition /var is on and mount it too. It will work just fine without /var. I believe it just puts a temporary recovery file there that you may want to delete in any case. I wouldn't mind vi and usually need a man page reminder for ed but I would prefer the space used for something that hasn't an alternative, like vnconfig. I praise you OpenBSD for having such a good single user and well managed base and overall userland. Knocks seven shades of #@!% out of Linux userland in this regard in any case. -- ___ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) ___
Re: openldap on OBSD amd64 5.2
Hi, sounds strange. Claudio said it was borked for amd64. Are you using BDB ? Which version ? On Mon, Jan 14, 2013 at 8:10 PM, Vijay Sankar vsan...@foretell.ca wrote: Quoting Friedrich Locke friedrich.lo...@gmail.com: Hi, i am trying to get openldap running, but my experience has been not that good. I have built and installed from ports. I can get it up and running but as soon as qmail tries to bind into it, it begins to consume memory up to all my available memory. I asked for help in the openldap mailing list and they got baffled, pretty baffled. I was told that in linux some special flags need to be supplied to BDB in order to get it working well. What about OpenBSD ? Have you tryied qmail-ldap + openldap on OBSD ? Faced anything similar ? I am aware that this problem persist from about two years ago, when i tried to get them working and the same problem arose. I waited beleving it would be fixed in a near future ... I am really interested in get it solved, although i have no knownledge on BDB internals .. I am willing to hear Thanks in advance. I have been using OpenLDAP on OpenBSD (OpenLDAP 2.4.12 on OpenBSD 4.7 i386 as well as OpenLDAP 2.4.26 on OpenBSD 4.9 amd64) without any problems for a few years now. I use sendmail as MTA and use the LDAP database for vacation, address books, distribution lists, etc. OpenLDAP also is used to authorize Windows users. dovecot users, iphone and blackberry users etc. I use BDB so that syncrepl etc. works well. Since knowledgeable people have mentioned that there are problems with newer versions of LDAP, I wonder if it is advisable for you to use the older versions on OpenBSD to run OpenLDAP. Not sure, just a thought. Since the ports.tar.gz file is on the CD, you may be able to build the older packages even though they are obsolete and not available at the OpenBSD FTP site. Vijay Vijay Sankar, M.Eng., P.Eng. ForeTell Technologies Limited vsan...@foretell.ca --**--- This message was sent using ForeTell-POST 4.9
Re: do we have a Perl interface to sysctl(3)?
On Tue, 15 Jan 2013, Jonathan Thornburg wrote: I wrote | FreeBSD has the BSD-Sysctl perl module available from CPAN, which would | be ideal for my purposes... except that it doesn't (yet) support OpenBSD. On Mon, 14 Jan 2013, Philip Guenther wrote: So, uh, what fails if you try to build it? % uname -a OpenBSD cobalt.astro.indiana.edu 5.1 GENERIC.MP#1 amd64 % pwd /usr/local/perl-modules/BSD-Sysctl-0.10 % head -13 README This file is the README for BSD::Sysctl version 0.10 INSTALLATION perl Makefile.PL make make test make install Building this module requires a FreeBSD system and a C compiler. Support for OpenBSD and NetBSD will appear in future releases. In theory, this module should be able to handle any system that uses a sysctl interface to the kernel. % perl Makefile.PL OS unsupported (openbsd). Here's a nickel, go buy yourself a real OS. % Notes: * As of yesterday, 0.10 is the latest version of BSD::Sysctl on CPAN. * I'm well aware that OpenBSD 5.2 has been out for a while; I bought a CD. If and when 5.1 proves inadequate for my needs, I'll reinstall. If not, I'll wait for 5.3. ciao, I would have to look at the Perl module, however I am guessing that part of this may be due to how FreeBSD et al handle their sysctls - there is a magic sysctl that allows you to ask the kernel to give you the OID for a given name, then you can go back and request the OID (yes, you get the potentially racy behaviour for free). NetBSD does things differently again (you have to ask for parts of the MIB and then walk/parse that). With OpenBSD you currently have to know the OID number that you want. You might be interested in checking out Go (golang.org and in ports), which has a functional and cross-platform sysctl mechanism: package main import ( fmt syscall ) func main() { version, _ := syscall.Sysctl(kern.hostname) ncpu, _ := syscall.SysctlUint32(hw.ncpu) fmt.Printf(%s has %d CPU(s)\n, version, ncpu) } -- Reason is not automatic. Those who deny it cannot be conquered by it. Do not count on them. Leave them alone. -- Ayn Rand
Re: openldap on OBSD amd64 5.2
I am using db-4.6.21p4 Quoting Friedrich Locke friedrich.lo...@gmail.com: Hi, sounds strange. Claudio said it was borked for amd64. Are you using BDB ? Which version ? On Mon, Jan 14, 2013 at 8:10 PM, Vijay Sankar vsan...@foretell.ca wrote: Quoting Friedrich Locke friedrich.lo...@gmail.com: Hi, i am trying to get openldap running, but my experience has been not that good. I have built and installed from ports. I can get it up and running but as soon as qmail tries to bind into it, it begins to consume memory up to all my available memory. I asked for help in the openldap mailing list and they got baffled, pretty baffled. I was told that in linux some special flags need to be supplied to BDB in order to get it working well. What about OpenBSD ? Have you tryied qmail-ldap + openldap on OBSD ? Faced anything similar ? I am aware that this problem persist from about two years ago, when i tried to get them working and the same problem arose. I waited beleving it would be fixed in a near future ... I am really interested in get it solved, although i have no knownledge on BDB internals .. I am willing to hear Thanks in advance. I have been using OpenLDAP on OpenBSD (OpenLDAP 2.4.12 on OpenBSD 4.7 i386 as well as OpenLDAP 2.4.26 on OpenBSD 4.9 amd64) without any problems for a few years now. I use sendmail as MTA and use the LDAP database for vacation, address books, distribution lists, etc. OpenLDAP also is used to authorize Windows users. dovecot users, iphone and blackberry users etc. I use BDB so that syncrepl etc. works well. Since knowledgeable people have mentioned that there are problems with newer versions of LDAP, I wonder if it is advisable for you to use the older versions on OpenBSD to run OpenLDAP. Not sure, just a thought. Since the ports.tar.gz file is on the CD, you may be able to build the older packages even though they are obsolete and not available at the OpenBSD FTP site. Vijay Vijay Sankar, M.Eng., P.Eng. ForeTell Technologies Limited vsan...@foretell.ca --**--- This message was sent using ForeTell-POST 4.9 Vijay Sankar, M.Eng., P.Eng. ForeTell Technologies Limited vsan...@foretell.ca - This message was sent using ForeTell-POST 4.9
Re: openldap on OBSD amd64 5.2
On 2013-01-14, Claudio Jeker cje...@diehard.n-r-g.com wrote: On Mon, Jan 14, 2013 at 05:41:36PM -0200, Friedrich Locke wrote: Hi, i am trying to get openldap running, but my experience has been not that good. I have built and installed from ports. I can get it up and running but as soon as qmail tries to bind into it, it begins to consume memory up to all my available memory. I asked for help in the openldap mailing list and they got baffled, pretty baffled. I was told that in linux some special flags need to be supplied to BDB in order to get it working well. What about OpenBSD ? Have you tryied qmail-ldap + openldap on OBSD ? Faced anything similar ? I am aware that this problem persist from about two years ago, when i tried to get them working and the same problem arose. I waited beleving it would be fixed in a near future ... I am really interested in get it solved, although i have no knownledge on BDB internals .. I am willing to hear Install openldap-server-2.3.43 and use LDBM. BDB on 64bit archs is borked. We have the old version exactly for that around. I'm running 2.4.33 with BDB on amd64 and haven't seen this problem but my current use of it is not exactly heavyweight though, just mail routing, password, antispam config for a few hundred user accounts (using dovecot/postfix/amavis). I haven't run qmail-ldap for at least 10 years but your description as soon as qmail tries to bind into it, it begins to consume memory suggests that maybe it works with other clients - is that correct? any idea what qmail-ldap is doing differently? If you haven't already got reasonable logs you can add 'local4.* /var/log/ldap' to /etc/syslog.conf, touch /var/log/ldap, /etc/rc.d/syslogd reload - iirc this is enough to get binds/queries logged and might help shed some light.
Re: How to configure pppoe client on OpenBSD?
On Tue, Jan 15, 2013 at 5:44 AM, Mihai Popescu mih...@gmail.com wrote: My apologies to all; I didn't mean to be trolling or rude back to those helpful on the list. I believe you. I just felt off putting comments like let-me-find-that-man-page-for-you are not the right way to treat those who support your projects. The project cannot be held responsible for what people are talking on project's mail list. Do not confuse developers' group with list users group. And most of all, address that poster, not the project and all the developers. A response back like: check the man pages, check the faqs, look on daemon forums; or google that are fine. You got some of these, too, even in the first stage. I know it's daunting to get redundant questions all the time and have new people who don't know where to look. Trust me, some people here are still answering with patience to all of these. Too me it's just sad to see new people treated like crud; how can you get new supporters, porters and volunteers if new people aren't welcome. You are guessing again. How do you know they are not welcomed? Why do you think you know how the project can get new supporters, etc ? Even the uneducated sloppy ones can spend a few bucks on CD and T's Yes, they surely do ! But this will not buy the right to throw whatever you like on the lists. Nor make some technical affirmations without support or holding the ground for them. As Theo said many times, you must know your user rights. Which are not so many :-). Anyway ... sorry to all I offended. Cheer up and do not worry, folks here are forgiving. Or not ? I'm sure they'd be forgiving if you show that you can improve and actively contribute to the community rather than continually fight against it. A lot of good points are made here. The mailing list is a separate entity to the project itself; the former is partly run by people who use the project's products and also come looking for help, but happen to see a question to which they know the answer. Much like the Hitch-hiker's Guide to the Galaxy, the actual work is done by someone who walked in off the street and saw something worth doing. Only difference, of course, is that the people on the project itself also work, rather than being on a perpetual lunch break. -- Aaron Mason - Programmer, open source addict I've taken my software vows - for beta or for worse
Re: openbsd 5.2 on soekris softraid boot error code 91
On Tue, 15 Jan 2013, Martin Kjær Jørgensen wrote: Hi I've just installed OpenBSD 5.2 on my Soekris 6501. Im using two WDC WD2500BPVT-22JJ5T0 disks in RAID1. Installation goes well and the system boots fine the first time. After reboot I'm greeted with the following error: Using drive 0, partition 3. Loading... probing: pc0 com0 mem[620K 2046M a20=on] disk: hd0+ hd1+ sr0* OpenBSD/amd64 BOOT 3.20 open(sr0a:/etc/boot.conf): Unknown error: code 91 boot booting sr0a:/bsd: open sr0a:/bsd: Unknown error: code 91 failed(91). will try /bsd boot booting sr0a:/bsd: open sr0a:/bsd: Unknown error: code 91 failed(91). will try /bsd Turning timeout off. boot This error occurs everytime I reboot or press the reset-button on the back of the chassis. At first when I pulled the powerplug and pluged it in, it booted fine the first time, but now I cant even do that anymore. I fear its a hardware issue. Are you saying that it does sometimes boot from sr0? Does anyone know what this is, or what error code 91 means? man errno: 91 ENOTSUP Not supported. The operation has requested an unsupported value. The 'sr0*' means that it found the softraid volume and that it is marked as bootable. Are you certain that it is a RAID 1 partition? The main reason that it would return ENOTSUP is if it encountered a RAID level that is currently unsupported (e.g. RAID 0). -- Reason is not automatic. Those who deny it cannot be conquered by it. Do not count on them. Leave them alone. -- Ayn Rand
I need a little more Enlightenment
Present machine (dmesg below) is really fun to work with X but that will go away with current. I found that out by installing the Jan 9 snap onto a USB stick. I'll start running that or later snaps when my new custom built T series laptop arrives. Meanwhile I decided to try running Enlightenment from the 5.2 package. fvwm and icewm work without problems (other than the blind vcons once X is loaded.) E installs without whining. I changed xinitrc to remove the icewm setting and added:- exec enlightenment_start startx gives a very dark screen and a mouse cursor pops up in the centre. Then the screen has a short flash of white all over before the dark screen comes back without the mouse cursor. A cluebat would maybe better that more enlightenment of the digital variety. I wanted to get a bit of experience before the new Tpad gets to work testing the new package that Stefan (stsp@ ) is putting so much work into. *** NOTE *** Please DO NOT CC me. I am subscribed to the list. Mail to the sender address that does not originate at the list server is tarpitted. The reply-to: address is provided for those who feel compelled to reply off list. Thankyou. Rod/ dmesg follows: BOF OpenBSD 5.2 (GENERIC.MP) #339: Wed Aug 1 10:13:24 MDT 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz (GenuineIntel 686-class) 2.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36, CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,PCLMUL,MWAI T,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AE S,XSAVE,AVX,LAHF real mem = 3133054976 (2987MB) avail mem = 3071000576 (2928MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 11/30/11, BIOS32 rev. 0 @ 0xfc000, SMBIOS rev. 2.6 @ 0xe0830 (71 entries) bios0: vendor LENOVO version 8NET32WW (1.16 ) date 12/01/2011 bios0: LENOVO 1298CTO acpi0 at bios0: rev 4 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP ASF! HPET APIC MCFG SLIC SSDT SSDT UEFI UEFI UEFI acpi0: wakeup devices P0P1(S4) EHC1(S3) EHC2(S3) HDEF(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) BLAN(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEG2(S4) PEG3(S4) LID_(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 99MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i5-2450M 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,SBF,NXE,LONG,SSE3,PCLMUL,MWAI T,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AE S,XSAVE,AVX,LAHF cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i5-2450M 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,SBF,NXE,LONG,SSE3,PCLMUL,MWAI T,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AE S,XSAVE,AVX,LAHF cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-2450M 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,SBF,NXE,LONG,SSE3,PCLMUL,MWAI T,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,POPCNT,AE S,XSAVE,AVX,LAHF ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus 1 (RP01) acpiprt3 at acpi0: bus 2 (RP02) acpiprt4 at acpi0: bus 3 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus 8 (RP06) acpiprt8 at acpi0: bus -1 (RP07) acpiprt9 at acpi0: bus -1 (RP08) acpiprt10 at acpi0: bus -1 (PEG0) acpiprt11 at acpi0: bus -1 (PEG1) acpiprt12 at acpi0: bus -1 (PEG2) acpiprt13 at acpi0: bus -1 (PEG3) acpiec0 at acpi0 acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpicpu2 at acpi0: C2, C1, PSS acpicpu3 at acpi0: C2, C1, PSS acpitz0 at acpi0: critical temperature is 100 degC acpithinkpad0 at acpi0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 model 42T4951 serial 10775 type LION oem LGC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PWRB bios0: ROM list: 0xc/0xee00 cpu0: Enhanced SpeedStep 2495 MHz: speeds: 2501, 2500, 2000, 1800, 1600, 1400, 1200, 1000, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09 vga1 at pci0 dev 2 function 0 Intel HD Graphics 3000 rev 0x09 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Re: named error from /var/named/etc/root.hint
* Stuart Henderson s...@spacehopper.org [2013-01-14 10:54:30 +]: On 2013-01-14, Jamie Paul Griffin ja...@kode5.net wrote: Hi I recently upgraded my system to the Dec 21 snapshot, will be updating again to the Jan 09 snapshot; but, I noticed an error message in /var/log/messages yesterday when I rebooted my machine: Jan 13 21:16:43 kontrol named[23666]: checkhints: d.root-servers.net/A (199.7.91.13) missing from hints Jan 13 21:16:43 kontrol named[23666]: checkhints: d.root-servers.net/A (128.8.10.90) extra record in hints I managed to fix it by downloading a new file from ftp://ftp.internic.net/domain/named.cache and copying it to /var/named/etc/root.hints. I Just thought I would post that in case anyone else has/had the same issue. Cheers, Jamie This would get updated when you run sysmerge against newer sources or a newer etc52.tgz. I did run sysmerge(8) after the upgrade as documented. It must have been something I did wrong then. Sorry for that. Jamie -- Primary Key: 4096R/1D31DC38 2011-12-03 Key Fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38
Re: openbsd 5.2 on soekris softraid boot error code 91
On Tue, Jan 15, 2013 at 02:15:34PM +1100, Joel Sing wrote: On Tue, 15 Jan 2013, Martin Kjær Jørgensen wrote: Hi I've just installed OpenBSD 5.2 on my Soekris 6501. Im using two WDC WD2500BPVT-22JJ5T0 disks in RAID1. Installation goes well and the system boots fine the first time. After reboot I'm greeted with the following error: Using drive 0, partition 3. Loading... probing: pc0 com0 mem[620K 2046M a20=on] disk: hd0+ hd1+ sr0* OpenBSD/amd64 BOOT 3.20 open(sr0a:/etc/boot.conf): Unknown error: code 91 boot booting sr0a:/bsd: open sr0a:/bsd: Unknown error: code 91 failed(91). will try /bsd boot booting sr0a:/bsd: open sr0a:/bsd: Unknown error: code 91 failed(91). will try /bsd Turning timeout off. boot This error occurs everytime I reboot or press the reset-button on the back of the chassis. At first when I pulled the powerplug and pluged it in, it booted fine the first time, but now I cant even do that anymore. I fear its a hardware issue. Are you saying that it does sometimes boot from sr0? Yes. Does anyone know what this is, or what error code 91 means? man errno: 91 ENOTSUP Not supported. The operation has requested an unsupported value. The 'sr0*' means that it found the softraid volume and that it is marked as bootable. Are you certain that it is a RAID 1 partition? The main reason that it would return ENOTSUP is if it encountered a RAID level that is currently unsupported (e.g. RAID 0). It should be. The softraid have been created with the following command: bioctl -c 1 -l /dev/sd0d,/dev/sd1d softraid0 The -c 1 should mean RAID1 -- Reason is not automatic. Those who deny it cannot be conquered by it. Do not count on them. Leave them alone. -- Ayn Rand