Re: What does your environment look like?
Daniel Andersen dandersen.d...@googlemail.com wrote: On Mon, Jan 04, 2010 at 09:43:27AM +0300, Andrej Elizarov wrote: * What other utilities do you find useful, any dockapps or similar applets? personal customizations? unclutter I'm idle enough to google for unclutter. I hereby thank you for directing me to yet another great utility. -- Key ID: 493FB6AE Key fingerprint: 3E96 7892 B56D AE27 02EF BBAA BAA6 6C78 493F B6AE Keyserver:pgp.mit.edu I generally first do: $ grep unclutter /usr/ports/INDEX -- DISCLAIMER: http://goldmark.org/jeff/stupid-disclaimers/ This message will self-destruct in 3 seconds.
Re: What does your environment look like?
On Mon, Jan 04, 2010 at 02:37:26AM -0600, Abel Abraham Camarillo Ojeda wrote: Daniel Andersen dandersen.d...@googlemail.com wrote: On Mon, Jan 04, 2010 at 09:43:27AM +0300, Andrej Elizarov wrote: * What other utilities do you find useful, any dockapps or similar applets? personal customizations? unclutter I'm idle enough to google for unclutter. I hereby thank you for directing me to yet another great utility. -- Key ID: 493FB6AE Key fingerprint: 3E96 7892 B56D AE27 02EF BBAA BAA6 6C78 493F B6AE Keyserver:pgp.mit.edu I generally first do: $ grep unclutter /usr/ports/INDEX I generally prefer to know as much as I can about something before I try it. -- Key ID: 493FB6AE Key fingerprint: 3E96 7892 B56D AE27 02EF BBAA BAA6 6C78 493F B6AE Keyserver:pgp.mit.edu
Re: hw.sensors jumping up and down
On Mon, 4 Jan 2010, frantisek holop wrote: hi there, i have noticed that my hw sensors ouput is changing in a disturbing way (notice temp0): day 1: hw.sensors.it0.temp0=255.00 degC day 2: hw.sensors.it0.temp0=0.00 degC day 3: hw.sensors.it0.temp0=255.00 degC Aren't 255 and 0 almost the same? 255+1 == 0 ? One (1) is the step of the scale, the smallest difference. Regards, David
hola
Hola, como estas, mi nombre es alejandro, te queria comentar que podes bajar packs gratis de internet, si te interesa podes ingresar a nuestro sitio web, lo unico que pedimos es que reenvies este email a todos tus contactos, para que conzcan nuestra pagina y si podes hace click en alguna publicidad que hay en la pagina que te lo vamos a agradecer, de apoco vamos a ir subiendo nuevos packs: http://tvinternet08-packs-gratis.blogspot.com/ Packs Gratis: Ringtones para telefonos celulares Tv on-line por internet Cursos en video e interactivos Manualidades y cursos para la mujer Adultos Ajedrez Astrologia Audio Libros Cocina Cursos de informatica Cursos de marketing Libros digitales Magia Medicina Plantas Psicologia Psiquiatria La pagina de donde podes bajar los packs gratis es: http://tvinternet08-packs-gratis.blogspot.com/ Lo unico que pedimos es que reenvies este email a todos tus contactos, para que todos puedan bajar algun pack y si podes hacer click en alguna publicidad que hay en la pagina te lo vamos a agradecer. Te saluda el equipo de tvinternet08. Creadores del Marketing Mega Virtual. (3986) Este email cumple con lo estipulado por la legislacisn sobre envmo de correos publicitarios no solicitados y no podra ser considerado como SPAM mientras incluya una forma de ser removido segun la nueva legislacion sobre correo electronico. Por seccion 301, parrafo (a)(2)(C) de S.1618. Bajo el decreto S.1618 titulo 3ro. Aprobado por el 105 congreso base de las normativas internacionales sobre SPAM. Si Ud. considera que esta publicidad no es de su interis, puede solicitar ser removido de nuestra base de datos reenviando un email con la palabra REMOVER en el Asunto. Todas las marcas comerciales y marcas registradas son propiedad de sus respectivos titulares. (3839)
Executable File Violation
You attempted to send a message that contained an executable file. Our company policy prohibits the sending of executable files via email. The message was not delivered.
Re: What does your environment look like?
Daniel Andersen dandersen.d...@googlemail.com wrote: unclutter I'm idle enough to google for unclutter. I hereby thank you for directing me to yet another great utility. If you just want xterm to be uncluttered, you can simply set XTerm*pointerMode: 1 in your X11 resources. -- Christian naddy Weisgerber na...@mips.inka.de
Western Union - Your account has been limited.
Dear Valued Customer, This is an official notification from Western Union. Your account access has been limited due to a login attempt failure. To restore your account we have attached a form to this email.Please download the form and follow the instructions on your screen. NOTE: The form needs to be opened in a modern, javascript enabled, browser (ex: Internet Explorer 8, Firefox 3, Safari 3, Opera 9). We are continually improving our Web site to better serve you. Be sure to check back with us often as we add exciting new services to meet your financial needs. If you have questions or need assistance, our customer service team is here to help. Be sure to remember and protect your new User Name and Password. You will need your new User Name and Password next time you sign in to our site. Thank you for using Western Union! DO NOT REPLY TO THIS EMAIL. IF YOU HAVE QUESTIONS PLEASE CONTACT US [demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a name of restore_account.22674DEFANGED-html]
Re: hw.sensors jumping up and down
ok, i have solved this mystery of mine. i had good sensor readings from before, but that was another motherboard: 2009 jan 1: hw.sensors.viaenv0.temp0=31.40 degC hw.sensors.viaenv0.temp1=29.65 degC hw.sensors.viaenv0.temp2=21.60 degC hw.sensors.viaenv0.fan0=4821 RPM hw.sensors.viaenv0.fan1=0 RPM hw.sensors.viaenv0.volt0=1.84 VDC (VSENS1) hw.sensors.viaenv0.volt1=0.06 VDC (VSENS2) hw.sensors.viaenv0.volt2=3.31 VDC (Vcore) hw.sensors.viaenv0.volt3=5.18 VDC (VSENS3) hw.sensors.viaenv0.volt4=12.07 VDC (VSENS4) 2009 may 31: hw.sensors.viaenv0.temp0=37.90 degC hw.sensors.viaenv0.temp1=36.40 degC hw.sensors.viaenv0.temp2=22.80 degC hw.sensors.viaenv0.fan0=4821 RPM hw.sensors.viaenv0.fan1=0 RPM hw.sensors.viaenv0.volt0=1.84 VDC (VSENS1) hw.sensors.viaenv0.volt1=0.06 VDC (VSENS2) hw.sensors.viaenv0.volt2=3.29 VDC (Vcore) hw.sensors.viaenv0.volt3=5.15 VDC (VSENS3) hw.sensors.viaenv0.volt4=12.01 VDC (VSENS4) 1st august that machine died and i had to replace it. since then the readings for temp0 have always between 0,5 degC. 2009 aug 1: hw.sensors.it0.temp0=5.00 degC hw.sensors.it0.temp1=35.00 degC hw.sensors.it0.temp2=45.00 degC hw.sensors.it0.fan0=5625 RPM hw.sensors.it0.fan1=0 RPM hw.sensors.it0.fan2=0 RPM hw.sensors.it0.volt0=1.76 VDC (VCORE_A) hw.sensors.it0.volt1=2.46 VDC (VCORE_B) hw.sensors.it0.volt2=3.33 VDC (+3.3V) hw.sensors.it0.volt3=4.89 VDC (+5V) hw.sensors.it0.volt4=12.10 VDC (+12V) hw.sensors.it0.volt5=0.96 VDC (-12V) hw.sensors.it0.volt6=-5.13 VDC (-5V) hw.sensors.it0.volt7=5.11 VDC (+5VSB) hw.sensors.it0.volt8=2.03 VDC (VBAT) up until 2009 dec 16: hw.sensors.it0.temp0=255.00 degC hw.sensors.it0.temp1=26.00 degC hw.sensors.it0.temp2=37.00 degC hw.sensors.it0.fan0=5443 RPM hw.sensors.it0.fan1=0 RPM hw.sensors.it0.fan2=0 RPM hw.sensors.it0.volt0=1.76 VDC (VCORE_A) hw.sensors.it0.volt1=2.46 VDC (VCORE_B) hw.sensors.it0.volt2=3.33 VDC (+3.3V) hw.sensors.it0.volt3=4.89 VDC (+5V) hw.sensors.it0.volt4=12.10 VDC (+12V) hw.sensors.it0.volt5=0.88 VDC (-12V) hw.sensors.it0.volt6=-5.13 VDC (-5V) hw.sensors.it0.volt7=5.11 VDC (+5VSB) hw.sensors.it0.volt8=2.03 VDC (VBAT) when the first 255 degC arrived. it(4) says temp0 is cpu temperature, for some reason this has been incorrect from the beginning. -f -- -- Lao Tzu
Re: compile problems: exim + spf (libspf2)
adding: typedef int ns_type; at the beginning of spf_dns_rr.h seems to work (part of libspf). I only receive this warning, which seems not to be related to this problem: ... gcc rfc2047.c rfc2047.c: In function `rfc2047_decode2': rfc2047.c:262: warning: passing arg 2 of `libiconv' from incompatible pointer type ... Does this matter? I'm using libiconv-1.12. Thanks. Vincent On Dec 23, 2009, at 7:38 PM, Vincent Immler wrote: hi folks, I tried to compile exim 4.71 (also tried 4.69) with different versions of libspf2 (1.2.{9,8,7,6}) (compiled versions + 1.2.9 as a package). Platform is OpenBSD 4.5 (amd64). This is the problem: BEGIN TERMINAL OUTPUT: # make `Makefile' is up to date. gcc exim_dbmbuild.c In file included from /usr/local/include/spf2/spf_dns.h:113, from /usr/local/include/spf2/spf_server.h:22, from /usr/local/include/spf2/spf.h:27, from spf.h:17, from exim.h:449, from exim_dbmbuild.c:33: /usr/local/include/spf2/spf_dns_rr.h:56: error: syntax error before ns_type /usr/local/include/spf2/spf_dns_rr.h:77: error: syntax error before ns_type In file included from /usr/local/include/spf2/spf_server.h:22, from /usr/local/include/spf2/spf.h:27, from spf.h:17, from exim.h:449, from exim_dbmbuild.c:33: /usr/local/include/spf2/spf_dns.h:123: error: syntax error before ns_type /usr/local/include/spf2/spf_dns.h:160: error: syntax error before ns_type /usr/local/include/spf2/spf_dns.h:163: error: syntax error before ns_type /usr/local/include/spf2/spf_dns.h:166: error: syntax error before ns_type In file included from spf.h:17, from exim.h:449, from exim_dbmbuild.c:33: /usr/local/include/spf2/spf.h:81: error: syntax error before rr_type *** Error code 1 Stop in /home/software/exim-4.71/build-OpenBSD-amd64 (line 603 of Makefile). *** Error code 1 Stop in /home/software/exim-4.71 (line 31 of Makefile). END TERMINAL OUTPUT The Makefile contains: EXPERIMENTAL_SPF=yes CFLAGS += -I/usr/local/include LDFLAGS += -L/usr/local/lib -lspf2 I tried to fix the problem, but did not succeed. Without SPF it works fine. Thank you for any help. Cheers, Vincent
Re: Web Browsers
On Sat, Dec 19, 2009 at 4:31 AM, Antoine Jacoutot ajacou...@bsdfrog.org wrote: On Fri, 18 Dec 2009, nixlists wrote: Hi. People on this list are security-conscious. I wonder what browsers they use? What browsers do you consider more secure than others? Granted, they're all full of all kinds of holes, but what do you do to tighten their security? I send mail to a demon which runs wget and mails the page back to me. RMS? -
ipw not working with trunk failover
Normally I have no problem with the ipw-interface (except the occasional well-known firmware exception), but when used in a trunk failover setup it fails to get any network. I'm succesfully using trunk on my other machines, this is the only one with ipw interface. Cluestick anyone? Not sure what info to provide, if-setup and dmesg below. /Markus $ cat /etc/hostname.ipw0 up nwid himmet wpa wpapsk [key] $ cat /etc/hostname.bge0 up $ cat /etc/hostname.trunk0 trunkproto failover trunkport bge0 trunkport ipw0 dhcp $ dmesg OpenBSD 4.6-current (GENERIC) #478: Fri Jan 1 16:00:18 MST 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1600MHz (GenuineIntel 686-class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2 real mem = 1072975872 (1023MB) avail mem = 1030983680 (983MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/15/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf8cc0 (62 entries) bios0: vendor Dell Computer Corporation version A09 date 12/15/2003 bios0: Dell Computer Corporation Latitude D600 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP ASF! acpi0: wakeup devices LID_(S3) PBTN(S4) PCI0(S3) USB0(S1) USB1(S1) USB2(S1) USB3(S1) MODM(S3) PCIE(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (PCIE) acpicpu0 at acpi0: C3, C3, C2, C1, PSS acpitz0 at acpi0: critical temperature 102 degC acpiac0 at acpi0: AC unit offline acpibat0 at acpi0: BAT0 model DELL Y13384 serial 1296 type LION oem Sanyo acpibat1 at acpi0: BAT1 model DELL 0007P8 serial 323 type LiP oem Sanyo acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpidock0 at acpi0: GDCK not docked (0) acpivideo0 at acpi0: VID_ acpivout0 at acpivideo0: TV__ acpivout1 at acpivideo0: CRT_ acpivout2 at acpivideo0: CRT2 acpivout3 at acpivideo0: LCD_ acpivout4 at acpivideo0: DVI_ bios0: ROM list: 0xc/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1595 MHz: speeds: 1600, 1600, 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xe000, size 0x800 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M9 rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci2 at ppb1 bus 2 bge0 at pci2 dev 0 function 0 Broadcom BCM5702X rev 0x02, BCM5702/5703 A2 (0x1002): irq 11, address 00:0d:56:df:f9:b0 brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 cbb0 at pci2 dev 1 function 0 O2 Micro OZ711EC1 SmartCardBus rev 0x20: irq 11, CardBus support disabled cbb1 at pci2 dev 1 function 1 O2 Micro OZ711EC1 SmartCardBus rev 0x20: irq 11, CardBus support disabled ipw0 at pci2 dev 3 function 0 Intel PRO/Wireless 2100 rev 0x04: irq 11, address 00:04:23:a3:30:07 cardslot0 at cbb0 slot 0 flags 0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01 pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: HTS548040M9AT00 wd0: 16-sector PIO, LBA48, 38154MB, 78140160 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide0: channel 1 disabled (no drives) auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4 AC97 ac97: codec id 0x83847650 (SigmaTel STAC9750/51) ac97: codec features headphone, 20 bit DAC, 20 bit ADC, SigmaTel 3D audio0 at auich0 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port
BCM4312 is supported by OpenBSD?
Thanks Bryan. I was checking the dmesg output: dmesg|grep BCM And look what I got: Broadcom BCM4315 rev 0x01 at pci1 dev 0 function 0 not configured Dmesg says I have BCM4315, which is not true! I'm completely sure this card is a BCM4312 because I've been fighting a lot at Linux with this chipset! Even the last stable kernel version (2.6.32) was the first supporting my card with the b43 module. Here is the source of bwi module http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_bwi_pci.c?rev=1.10;content-type=text%2Fplain I'll try modifying it and recompiling kernel. Hope it works.
scsi output similar to atactl identify
Is there a way to get scsi output data similar to 'atactl device identify' output? # atactl /dev/rwd0c identify Model: Kingston SSDNow V Series 64GB, Rev: B090522a, Serial #: 06J990030232 Device type: ATA, fixed Cylinders: 16383, heads: 16, sec/track: 63, total sectors: 125045424 Device capabilities: ATA standby timer values IORDY operation IORDY disabling Device supports the following standards: ATA-4 ATA-5 ATA-6 ATA-7 Master password revision code 0xfffe Device supports the following command sets: READ BUFFER command WRITE BUFFER command Write cache Power Management feature set Security Mode feature set SMART feature set Flush Cache command Device has enabled the following command sets/features: READ BUFFER command WRITE BUFFER command Write cache Power Management feature set SMART feature set Flush Cache command Reading the scsi manpage, the inquiry command: scsi -f /dev/rsd2c -c 12 0 0 0 64 0 -i 0x64 s8 z8 z16 z4 outputs the name of the controller DELL PERC 5/i 1.03 but no info about the drives connected to it. Brad
PCMCIA serial port not working
Hello: I want to be able to use a laptop as a serial console from time to time. My current laptop does not have a RS232 serial port, so, I found a PCMCIA card with a serial port. It appears to be recognized fine by the OS on boot (dmesg below). However, when I try to use minicom on that line (/dev/cua03), it does not work. I cannot establish a connection to the server from the minicom console. Also, even though minicom appears to come up ok, when I try to exit from minicom, I get the reseting message, the screen clears, but then the terminal window hangs. I can see that the minicom process is still up. I can kill it (pkill -9 minicom), and then I get a prompt back in the terminal window that was previously frozen. If I try to shutdown with the hung minicom process, shutdown eventually gives me some processes would not die; ps axl advised. This would seem to indicate I have a problem with the crappy pcmcia card. Also, if I use a usb serial adapter I have (which is in use elsewhere - and change /dev/cua03 to /dev/ttyU0 in minicom), minicom works. So, is there anything I can do, or is this a hardware problem? How can I find out for sure? Thanks for any advice. Ted DMESG follows (pcmcia and com3 lines are near the end): OpenBSD 4.6 (GENERIC) #58: Thu Jul 9 21:24:42 MDT 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (GenuineIntel 686-class) 1.99 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS ,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR real mem = 266891264 (254MB) avail mem = 249249792 (237MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/22/03, BIOS32 rev. 0 @ 0xfd891, SMBIOS rev. 2.31 @ 0xd8010 (15 entries) bios0: vendor Phoenix Technologies LTD version R0202B3 date 04/22/03 bios0: Sony Corporation PCG-V505BC(UC) acpi0 at bios0: rev 0 acpi0: tables DSDT FACP BOOT SSDT SSDT acpi0: wakeup devices PWRB(S5) CRD0(S3) LAN_(S3) USB1(S3) USB2(S3) USB3(S3) EC0_(S5) MODE(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (HUB_) acpiec0 at acpi0 acpicpu0 at acpi0: C2, C1, FVS, 2000, 1200 MHz acpitz0 at acpi0: critical temperature 90 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PWRB acpibat0 at acpi0: BAT1 type LION oem Sony Corp. acpiac0 at acpi0: AC unit online bios0: ROM list: 0xc/0x1 0xd8000/0x4000! 0xdc000/0x4000! cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82845 Host rev 0x04 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xec00, size 0x400 ppb0 at pci0 dev 1 function 0 Intel 82845 AGP rev 0x04 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M6 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 9 drm0 at radeondrm0 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x42 pci2 at ppb1 bus 2 cbb0 at pci2 dev 5 function 0 Ricoh 5C475 CardBus rev 0xb8: couldn't map interrupt Ricoh 5C551 Firewire rev 0x00 at pci2 dev 5 function 1 not configured ohci0 at pci2 dev 7 function 0 NEC USB rev 0x43: irq 9, version 1.0, legacy support ohci1 at pci2 dev 7 function 1 NEC USB rev 0x43: couldn't map interrupt ehci0 at pci2 dev 7 function 2 NEC USB rev 0x04: couldn't map interrupt fxp0 at pci2 dev 8 function 0 Intel PRO/100 VE rev 0x42: couldn't map interrupt usb0 at ohci0: USB revision 1.0 uhub0 at usb0 NEC OHCI root hub rev 1.00/1.00 addr 1 ichpcib0 at pci0 dev 31 function 0 Intel 82801CAM LPC rev 0x02 pciide0 at pci0 dev 31 function 1 Intel 82801CAM IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: IC25N040ATMR04-0 wd0: 16-sector PIO, LBA48, 38154MB, 78140160 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: MATSHITA, UJDA745 DVD/CDRW, 1.05 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801CA/CAM SMBus rev 0x02: polling iic0 at ichiic0 spdmem0 at iic0 addr 0x54: 256MB DDR SDRAM non-parity PC2300CL2.5 auich0 at pci0 dev 31 function 5 Intel 82801CA/CAM AC97 rev 0x02Intel 82801CA/CAM Modem rev 0x02 at pci0 dev 31 function 6 not configured isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pcic0 at isa0 port 0x3e0/2 iomem 0xd/16384 pcic0 controller 0: Intel 82365SL rev 1 has socket
Re: scsi output similar to atactl identify
For raid controllers like your mfi, you can use bioctl(8) to list some information about the individual drives. On Mon, Jan 04, 2010 at 09:19:50AM -0500, Brad Tilley wrote: Is there a way to get scsi output data similar to 'atactl device identify' output? # atactl /dev/rwd0c identify Model: Kingston SSDNow V Series 64GB, Rev: B090522a, Serial #: 06J990030232 Device type: ATA, fixed Cylinders: 16383, heads: 16, sec/track: 63, total sectors: 125045424 Device capabilities: ATA standby timer values IORDY operation IORDY disabling Device supports the following standards: ATA-4 ATA-5 ATA-6 ATA-7 Master password revision code 0xfffe Device supports the following command sets: READ BUFFER command WRITE BUFFER command Write cache Power Management feature set Security Mode feature set SMART feature set Flush Cache command Device has enabled the following command sets/features: READ BUFFER command WRITE BUFFER command Write cache Power Management feature set SMART feature set Flush Cache command Reading the scsi manpage, the inquiry command: scsi -f /dev/rsd2c -c 12 0 0 0 64 0 -i 0x64 s8 z8 z16 z4 outputs the name of the controller DELL PERC 5/i 1.03 but no info about the drives connected to it. Brad
how to fresh raidframe install on an already raidframe system?
Hi, I have a Netra T1 (sparc64) running 3.9 with raidframe on root. Being such an old system, I decided to do a fresh install, so I boot the 4.6 cdrom and install the system on the first disk (sd0). Rebooting again brings the 4.6 up fine so I compile and install a new raidframe-enabled kernel. Rebooting again produces many core dumps - `uname -a` says 4.6, but the filesystem is from the old 3.9 raid - the new raidframe kernel must have found the raid set on the 2nd disk. Physically ejecting the second disk (sd1) and rebooting gives a clean boot, but now, of course, I don't have the second disk to install the raid set on... What do other people do? - rewrite the disklabel on the second disk so raidframe won't try to use the 2nd disk? - put a new/temporary /etc/raid0.conf file to configure raidframe to ignore the 2nd disk? Is it even possible to compile/install 4.6 on top of a raidframe set avoiding the need to reconfigure it at all? PS: I looked into softraid for a while, as its recommended in FAQ 14, before realizing that it didn't support raid on the root disk. This was especially confusing as its man page lists softraid0 at root while not specifically saying that it doesn't support raiding the /root disk. Maybe the FAQ and man page could be more clear on these points? Thanks, Kent
Re: scsi output similar to atactl identify
On Tue, 05 Jan 2010 01:46 +1100, Jonathan Gray j...@goblin.cx wrote: For raid controllers like your mfi, you can use bioctl(8) to list some information about the individual drives. Not quite as informative as atactl... adding a -q breaks it: # bioctl -ihv sd0 Volume Status Size Device mfi0 0 Online 67.8G sd0 RAID1 0 Online 68.4G 1:0.0 noencl FUJITSU MAY2073RC D108 'unknown serial' 1 Online 68.4G 1:1.0 noencl FUJITSU MAY2073RC D108 'unknown serial' # bioctl -ihvq sd0 bioctl: DIOCINQ: Invalid argument From the bioctl man page: -q Show vendor, product, revision, and serial number for the given disk.
find the CWD of a child process
Hi! It happens to me all the time that I want to spawn a new xterm in the same directory that I am currently in, for example when I want to open a file with vim but keep a shell in the same directory. xterm actually has a nice builtin function for this: spawn-new-terminal() you can affect that function via the xterm*VT100.translations resource. however the implementation of this is Linux-specific and it is not activated in the OpenBSD build process. Here's a exerpt from HandleSpawnTerminal() in xenocara/app/xterm/misc.c: /* * Determine the current working directory of the child so that we can * spawn a new terminal in the same directory. * * If we cannot get the CWD of the child, just use our own. */ if (screen-pid) { char child_cwd_link[sizeof(PROCFS_ROOT) + 80]; sprintf(child_cwd_link, PROCFS_ROOT /%lu/cwd, (unsigned long) screen-pid); child_cwd = Readlink(child_cwd_link); } So it obviously tries to access procfs to get that value. Is there a way to access the same value via the OpenBSD API? Best regards, Jona -- Worse is better Richard P. Gabriel
Re: BCM4312 is supported by OpenBSD?
Cortex wrote: Broadcom BCM4315 rev 0x01 at pci1 dev 0 function 0 not configured Unfortunately this does indeed appear to be a BCM4315, looking at your first email you can see that the product ID is 0x4315. You can also use pcidump(8) to verify that it is a 4315, AFAIK this chipset relies on the newer (..unsupported) firmware. Even the last stable kernel version (2.6.32) was the first supporting my card with the b43 module. The Linux driver supports newer v4 devices, the situation is different with OpenBSD's bwi(4) driver. I'll try modifying it and recompiling kernel. Hope it works. You can try, and if it works.. great, but if it does not.. then you'll have to find an alternative solution. Sorry. -Bryan.
Is there a mapper for ALSA in OpenBSD
Hi OpenBSD members and users, I know that there is no alsa for openbsd, but is there a mapper that uses the normal driver so that the userland software can use in an alsa way? Thanks Stephan
dvd drives causes boot to hang
I pulled down the latest CVS this morning (around 1800 UTC on 4 Jan 2010) and built the kernel according to the FAQ, nothing special included, just GENERIC.MP, and I've made no hardware changes to the system. When I boot using a 1 Jan kernel, there are no issues. When I reboot after building the new kernel, the system boots up until you get to scsibus0 at atapiscsi0: 2 targets, and then hangs. no crash, just stops booting. I've managed to track it down to my DVD drive. If I remove the drive from the laptop and boot with the new kernel, there are no issues. Here is what the 1 Jan kernel says the DVD is: cd0 at scsibus0 targ 0 lun 0: TSSTcorp, DVD+-RW TS-L632H, D600 ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 I cannot see a difference in the dmesg from 1 Jan and 4 Jan up to the point where 4 Jan hangs. Even setting verbose at the boot prompt shows nothing. As this laptop does not have a serial port, I can only give a dmesg from the 1Jan kernel. If you require more information, please reply. Dmesg from 1 Jan is below. Regards, Bryan Brake OpenBSD 4.6-current (build) #0: Fri Jan 1 04:55:44 CST 2010 r...@2-core.my.domain:/usr/build cpu0: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz (GenuineIntel 686-class) 1.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,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR real mem = 3747627008 (3574MB) avail mem = 3647549440 (3478MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/11/08, BIOS32 rev. 0 @ 0xffa10, SMBIOS rev. 2.4 @ 0xf7180 (45 entries) bios0: vendor Dell Inc. version A09 date 07/11/2008 bios0: Dell Inc. Inspiron 1520 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP HPET APIC MCFG SLIC BOOT SSDT acpi0: wakeup devices PCI0(S3) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) USB5(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3) RP02(S3) RP03(S3) RP04(S3) RP05(S3) RP06(S3) LID_(S3) PBTN(S4) MBTN(S5) 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 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz (GenuineIntel 686-class) 1.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,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 3 (PCIE) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 11 (RP01) acpiprt3 at acpi0: bus -1 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus 12 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature 87 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model DELL UW2807 serial 235 type LION oem Sanyo acpivideo0 at acpi0: VID_ acpivout0 at acpivideo0: TV__ acpivout1 at acpivideo0: CRT_ acpivout2 at acpivideo0: LCD_ acpivout3 at acpivideo0: DVI_ acpivideo1 at acpi0: VID_ acpivout4 at acpivideo1: TV__ acpivout5 at acpivideo1: CRT_ acpivout6 at acpivideo1: LCD_ acpivout7 at acpivideo1: DVI_ acpivideo2 at acpi0: VID2 bios0: ROM list: 0xc/0xf000! 0xcf000/0x1000 cpu0: Enhanced SpeedStep 1496 MHz: speeds: 1500, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c 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 0xe000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 (irq 11) drm0 at inteldrm0 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x02: apic 2 int 20 (irq 10) uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x02: apic 2 int 21 (irq 9) ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x02: apic 2 int 22 (irq 7) 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 82801H HD Audio rev 0x02: apic 2 int 21 (irq 9) azalia0: codecs: Sigmatel STAC9205X, Conexant/0x2c06, using Sigmatel STAC9205X audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: apic 2 int 16 (irq 0) pci1 at ppb0 bus 11 ppb1 at pci0 dev 28 function 3 Intel 82801H PCIE rev 0x02: apic 2 int 19 (irq 0) pci2 at ppb1 bus 12 uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x02: apic 2 int 20 (irq 10) uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x02: apic 2 int 21 (irq 9) uhci4 at pci0 dev 29 function
Re: how to fresh raidframe install on an already raidframe system?
you don't really need to soft raid the boot partition, since you can just put it on both physical disk, and set the system to boot from either, with something like this: ok setenv boot-device disk0 disk1 /pete On 3. jan. 2010, at 18.03, Kent Watsen wrote: Hi, I have a Netra T1 (sparc64) running 3.9 with raidframe on root. Being such an old system, I decided to do a fresh install, so I boot the 4.6 cdrom and install the system on the first disk (sd0). Rebooting again brings the 4.6 up fine so I compile and install a new raidframe-enabled kernel. Rebooting again produces many core dumps - `uname -a` says 4.6, but the filesystem is from the old 3.9 raid - the new raidframe kernel must have found the raid set on the 2nd disk. Physically ejecting the second disk (sd1) and rebooting gives a clean boot, but now, of course, I don't have the second disk to install the raid set on... What do other people do? - rewrite the disklabel on the second disk so raidframe won't try to use the 2nd disk? - put a new/temporary /etc/raid0.conf file to configure raidframe to ignore the 2nd disk? Is it even possible to compile/install 4.6 on top of a raidframe set avoiding the need to reconfigure it at all? PS: I looked into softraid for a while, as its recommended in FAQ 14, before realizing that it didn't support raid on the root disk. This was especially confusing as its man page lists softraid0 at root while not specifically saying that it doesn't support raiding the /root disk. Maybe the FAQ and man page could be more clear on these points? Thanks, Kent
Re: dvd drives causes boot to hang
Bryan wrote: I pulled down the latest CVS this morning (around 1800 UTC on 4 Jan 2010) and built the kernel according to the FAQ, nothing special included, just GENERIC.MP, and I've made no hardware changes to the system. When I boot using a 1 Jan kernel, there are no issues. When I reboot after building the new kernel, the system boots up until you get to scsibus0 at atapiscsi0: 2 targets, and then hangs. no crash, just stops booting. I've managed to track it down to my DVD drive. If I remove the drive from the laptop and boot with the new kernel, there are no issues. Here is what the 1 Jan kernel says the DVD is: cd0 at scsibus0 targ 0 lun 0: TSSTcorp, DVD+-RW TS-L632H, D600 ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 I cannot see a difference in the dmesg from 1 Jan and 4 Jan up to the point where 4 Jan hangs. Even setting verbose at the boot prompt shows nothing. As this laptop does not have a serial port, I can only give a dmesg from the 1Jan kernel. If you require more information, please reply. So I am not the only one... The breakage happens with the commits that introduce scsi_xs_sync (rev. 1.150 from src/sys/scsi/scsi_base.c etc.). If I check out the files in the scsi directory from before that commit the kernel boots fine, it hangs with the version mentioned above. Kind regards, Markus
OpenBSD 4.6 and ospf6d ?
Hi there, Changelog says: various ospf6d changes... The main problem is I cannot find ospf6d on OpenBSD 4.6/i386 installation (even if it is a full installation). Is there something I missed? /Xavier
locking at mtrr w/ bsd.mp
Hi, this netbook locks at mtrr line of dmesg when running bsd.mp. Sometimes, all goes well with this kernel, but very rarely. mtrr: Pentium Pro MTRR support The dmesg below is from bsd.sp kernel. Any hints? Thank you. OpenBSD 4.6-current (GENERIC) #471: Sat Dec 26 21:08:05 MST 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,xTPR real mem = 1063677952 (1014MB) avail mem = 1021980672 (974MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/25/09, BIOS32 rev. 0 @ 0xfdc40, SMBIOS rev. 2.5 @ 0xdf010 (24 entries) bios0: vendor LENOVO version 14CN57WW date 02/25/2009 bios0: LENOVO 41874MU acpi0 at bios0: rev 2 acpi0: tables DSDT FACP HPET MCFG TCPA TMOR APIC BOOT SLIC ASF! SSDT SSDT SSDT acpi0: wakeup devices HDEF(S4) PXS1(S4) PXS2(S4) PXS3(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB7(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: apic clock running at 132MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP02) acpiprt3 at acpi0: bus 5 (RP03) acpiprt4 at acpi0: bus 6 (PCIB) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature 95 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpiac0 at acpi0: AC unit offline acpibat0 at acpi0: BAT0 model LE30_C serial type LION oem Celxpert acpibtn2 at acpi0: LID_ acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD01 acpivout1 at acpivideo0: DD02 acpivout2 at acpivideo0: DD03 acpivout3 at acpivideo0: DD04 bios0: ROM list: 0xc/0xec00! 0xcf000/0x1e00 0xdf000/0x800! 0xe/0x1800! cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333, 1067, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GME Video rev 0x03 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 0xd000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 (irq 11) drm0 at inteldrm0 Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 22 (irq 5) azalia0: codecs: Realtek ALC269 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2 int 17 (irq 3) pci1 at ppb0 bus 2 bge0 at pci1 dev 0 function 0 Broadcom BCM5906M rev 0x02, BCM5906 A2 (0xc002): apic 2 int 16 (irq 11), address 00:23:8b:94:71:38 brgphy0 at bge0 phy 1: BCM5906 10/100baseTX PHY, rev. 0 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 2 int 16 (irq 11) pci2 at ppb1 bus 3 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 2 int 18 (irq 3) pci3 at ppb2 bus 5 Broadcom BCM4315 rev 0x01 at pci3 dev 0 function 0 not configured uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 23 (irq 5) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 18 (irq 3) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 16 (irq 11) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 23 (irq 5) 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 0xe2 pci4 at ppb3 bus 6 ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled pciide0 at pci0 dev 31 function 2 Intel 82801GBM SATA rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD1600BEVT-88ZCT0 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 82801GB SMBus rev 0x02: apic 2 int 19 (irq 10) iic0 at ichiic0 iic0: addr 0x4a 00=1c 01=00 02=4b 03=50 04=50 05=50 06=50 07=50 08=50 09=50 0a=50 0b=50 0c=50 0d=50 0e=50 0f=50 22=4b 40=1c 41=00 42=4b 43=50 44=50 45=50 46=50 47=50 48=1c 49=50 4a=1c 4b=50 4c=50 4d=50 4e=1c 4f=50 ee=10 words 00=4d80 01=3000 02=4b00 03=5000 04=5000 05=5000 06=5000 07=5000 spdmem0 at iic0 addr 0x51: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision
Re: OpenBSD 4.6 and ospf6d ?
http://undeadly.org/cgi?action=articlesid=20091224160429mode=flatcount=2 On Mon, Jan 4, 2010 at 7:30 PM, Xavier Beaudouin k...@oav.net wrote: Hi there, Changelog says: various ospf6d changes... The main problem is I cannot find ospf6d on OpenBSD 4.6/i386 installation (even if it is a full installation). Is there something I missed? /Xavier
Re: how to fresh raidframe install on an already raidframe system?
On Sun, Jan 03, 2010 at 12:03:00PM -0500, Kent Watsen wrote: [upgrading a system that uses RAIDframe] What do other people do? I'm now running a GENERIC kernel with an mpi RAID card, but I've used RAIDframe for several years. I had a disk die on me, and RAIDframe worked great. The disk suddenly seemed to disappear from the system, so any command sent to it resulted in a very noticeable timeout, during which process scheduling didn't function. After some time, RAIDframe marked the disk as failed and didn't issue any more I/O's to it and the system worked normally after that. (Note that this is one of the things you should take into account when using a watchdog: don't set its timeout too low.) Anyway, what I did was create several normal, non-RAID, partitions and one large RAID partition on each disk. On the normal partitions of each disk, I performed a normal OpenBSD install. Using that installation, I created two RAIDframe enabled kernels: one with and one without RAID autoconfig. I can then reboot into the non-autoconfig RAIDframe enabled kernel, manually configure the RAIDframe array, and then upgrade the OpenBSD installation within. Once happy, I can set the boot.conf of the two disks to the autoconfig RAIDframe enabled kernel, which will then load from one of the normal partitions, but once started will use the root filesystem in the RAID partition. -- Jurjen Oskam Savage's Law of Expediency: You want it bad, you'll get it bad.
Problems with bge0: watchdog timeout-- resetting
Hi, running -current, I'm having what it is not a problem at all, but at least an annoying behaviour. I'm getting a lot of console messages with bge0: watchdog timeout -- resetting. It's annonying because everytime the nic resets, the machine locks ~1 min or more and becomes completely unresponsive. This means that if you're running any IMs, they go down, if you're running some torrent client, the connection goes to 0.0 KB/s, etc. Checked the man page, and when this problem arises, maybe the cable is broken. I'm pretty sure it isn't, since I changed and is working well with another machines. Didn't find anything useful specifically to this nic. Tried to disable acpi, but doesn't help. Any hints? Thank you. OpenBSD 4.6-current (GENERIC) #471: Sat Dec 26 21:08:05 MST 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,xTPR real mem = 1063677952 (1014MB) avail mem = 1021980672 (974MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/25/09, BIOS32 rev. 0 @ 0xfdc40, SMBIOS rev. 2.5 @ 0xdf010 (24 entries) bios0: vendor LENOVO version 14CN57WW date 02/25/2009 bios0: LENOVO 41874MU acpi0 at bios0: rev 2 acpi0: tables DSDT FACP HPET MCFG TCPA TMOR APIC BOOT SLIC ASF! SSDT SSDT SSDT acpi0: wakeup devices HDEF(S4) PXS1(S4) PXS2(S4) PXS3(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB7(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: apic clock running at 132MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP01) acpiprt2 at acpi0: bus 3 (RP02) acpiprt3 at acpi0: bus 5 (RP03) acpiprt4 at acpi0: bus 6 (PCIB) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature 95 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpiac0 at acpi0: AC unit offline acpibat0 at acpi0: BAT0 model LE30_C serial type LION oem Celxpert acpibtn2 at acpi0: LID_ acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD01 acpivout1 at acpivideo0: DD02 acpivout2 at acpivideo0: DD03 acpivout3 at acpivideo0: DD04 bios0: ROM list: 0xc/0xec00! 0xcf000/0x1e00 0xdf000/0x800! 0xe/0x1800! cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333, 1067, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GME Video rev 0x03 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 0xd000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 (irq 11) drm0 at inteldrm0 Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 22 (irq 5) azalia0: codecs: Realtek ALC269 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2 int 17 (irq 3) pci1 at ppb0 bus 2 bge0 at pci1 dev 0 function 0 Broadcom BCM5906M rev 0x02, BCM5906 A2 (0xc002): apic 2 int 16 (irq 11), address 00:23:8b:94:71:38 brgphy0 at bge0 phy 1: BCM5906 10/100baseTX PHY, rev. 0 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 2 int 16 (irq 11) pci2 at ppb1 bus 3 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 2 int 18 (irq 3) pci3 at ppb2 bus 5 Broadcom BCM4315 rev 0x01 at pci3 dev 0 function 0 not configured uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 23 (irq 5) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 18 (irq 3) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 16 (irq 11) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 23 (irq 5) 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 0xe2 pci4 at ppb3 bus 6 ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled pciide0 at pci0 dev 31 function 2 Intel 82801GBM SATA rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD1600BEVT-88ZCT0 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 82801GB SMBus rev 0x02: apic 2 int 19 (irq 10) iic0 at ichiic0 iic0: addr 0x4a 00=1c 01=00 02=4b 03=50 04=50 05=50 06=50 07=50 08=50 09=50 0a=50 0b=50 0c=50 0d=50 0e=50 0f=50 22=4b 40=1c 41=00 42=4b 43=50 44=50
Bridging between rdomains
Hello! I trying to bridge two rdomain with vether device, but it doesnt works for me. Is it a bug, or i something misunderstand? I use a snapshot from 2009.12.21. Configuration: Interfaces: vether0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST rdomain 1 mtu 1500 lladdr 00:bd:2d:cb:d9:01 priority: 0 groups: vether media: Ethernet autoselect status: active inet 192.0.2.1 netmask 0xff00 broadcast 192.0.2.255 vether1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST rdomain 2 mtu 1500 lladdr 00:bd:80:0b:20:02 priority: 0 groups: vether media: Ethernet autoselect status: active inet 192.0.2.2 netmask 0xff00 broadcast 192.0.2.255 bridge0: flags=41UP,RUNNING groups: bridge priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp vether1 flags=3LEARNING,DISCOVER port 7 ifpriority 0 ifcost 0 vether0 flags=3LEARNING,DISCOVER port 6 ifpriority 0 ifcost 0 I ping vether1 ip from vether0 # ping -V1 192.0.2.2 PING 192.0.2.2 (192.0.2.2): 56 data bytes --- 192.0.2.2 ping statistics --- 2 packets transmitted, 0 packets received, 100.0% packet loss Or vice versa # ping -V2 192.0.2.1 PING 192.0.2.1 (192.0.2.1): 56 data bytes --- 192.0.2.1 ping statistics --- 2 packets transmitted, 0 packets received, 100.0% packet loss Arp tables: # arp -V1 -an ? (192.0.2.1) at 00:bd:2d:cb:d9:01 on vether0 static ? (192.0.2.2) at (incomplete) on vether0 # arp -V2 -an ? (192.0.2.1) at (incomplete) on vether1 ? (192.0.2.2) at 00:bd:80:0b:20:02 on vether1 static Routing tables: # route -T1 -n show Routing tables Internet: DestinationGatewayFlags Refs Use Mtu Prio Iface 192.0.2/24 link#6 UC 20 - 4 vether0 192.0.2.1 00:bd:2d:cb:d9:01 UHLc 04 - 4 lo0 192.0.2.2 link#6 UHLc 02 - 4 vether0 # route -T2 -n show Routing tables Internet: DestinationGatewayFlags Refs Use Mtu Prio Iface 192.0.2/24 link#7 UC 20 - 4 vether1 192.0.2.1 link#7 UHLc 02 - 4 vether1 192.0.2.2 00:bd:80:0b:20:02 UHLc 06 - 4 lo0 I sniffing on bridge0 interface and i only see arp request packets. # tcpdump -ni bridge0 tcpdump: listening on bridge0, link-type EN10MB 21:56:17.503668 arp who-has 192.0.2.2 tell 192.0.2.1 21:56:18.510956 arp who-has 192.0.2.2 tell 192.0.2.1 21:56:19.519647 arp who-has 192.0.2.2 tell 192.0.2.1 21:56:20.530857 arp who-has 192.0.2.2 tell 192.0.2.1 21:56:21.542214 arp who-has 192.0.2.2 tell 192.0.2.1 So what is the problem? Any help would be greatly appreciated. Thx Csszep
smtpd + dovecot: virtual map trouble
i am working on a new production mailserver using smtpd for an mta and dovecot for serving mail. i have run into a problem where i would like to use the same authentication mechanism for smtpd and dovecot so there is only one password database to maintain. as best i can tell i need to use system accounts and virtual user maps to get mail to dump into separate directories. the caveat is getting either dovecot to understand the virtual user mapping to system accounts or smtpd to do smtp authentication through dovecot. i would rather use bsdauth than have dovecot handle authentication. i currently have smtpd setup and delivering mail fine with the following config ext_if = re0 listen on lo0 listen on $ext_if tls enable auth map aliases { source db /etc/mail/aliases.db } map virtual { source db /etc/mail/virtual.db } accept for local alias aliases deliver to mbox accept from all for virtual virtual deliver to maildir /var/vmail/%d/%a accept for all relay with the virtual map specified like so us...@domain1.com: user1_dom1 ... us...@domain1.com: userN_dom1 where i have added users user1_dom1 through userN_dom1 with the false shell to the system. all works fine with the mail delivery and relay. any insight into how i can get dovecot or smtpd to do what i want would be appreciated. cheers, jake
Je sur comptable a la banque BCB je vais virée $6.million a la etranger
You are invited to Je sur comptable a la banque BCB je vais virie $6.million a la etranger. By your host Ashraf Cotu: Date: Monday January 4, 2010 Time: 8:00 pm - 9:00 pm (GMT +00:00) Location: cher ami Salut, je suis MONSIEUR. ASHRAF COTU gestionnaire de comptable BANQUE comerciale du Burkina (BCB) Je veux transfirer $6.million(USD) sur un compte itranger, si vous voulez m'aider, je vous enverrai tous les ditails sur la fagon dont il sera fait et Notez igalement que vous aurez 30% du montant. Si vous jtes d'accord pour m'aider ` exicuter cette opiration riponse me dhs que posssible, et s'il vous plant tenir comfidential Guests: * ko...@free.fr * maurogarciac...@yahoo.com * sifonte...@yahoo.com * jorgealujasanda...@yahoo.com.mx * alvaroyo...@yahoo.com.mx * artfranc...@hotmail.com * kitchen-pho...@yahoo.com * filiped...@yahoo.fr * oldcel...@yahoo.com * cocodrilo200...@yahoo.com * ricardovivan...@yahoo.com * emiliaca...@yahoo.com.ar * bog1...@yahoo.com * ge...@cncascais.com * minobi...@hotmail.com * toltecap...@yahoo.com.br * da_m...@yahoo.com * minoram2...@yahoo.fr * m...@yahoo.fr * mir...@hotmail.fr * mis...@hotmail.fr * m...@hotmail.com * misc@openbsd.org * diveclim...@yahoo.com * mino-le-pailla...@hotmail.fr * j.gilles...@ulster.ac.uk * wal...@sheffield.ac.uk * dqpust...@yahoo.com * edaw...@skypro.be * ela0...@gold.ac.uk * mediat...@education.gouv.fr * m...@cc.nara-wu.ac.jp * jerome.ague...@telefun.fr * ayzan...@yahoo.com * mek...@yahoo.fr * meu...@yahoo.fr * nivom...@yahoo.fr * saleh_alou...@mwi.go.jo * saleh_1...@yahoo.com * yawa...@pwa-pna.org * yawa...@yahoo.com * papai...@yahoo.com * povman...@yahoo.com * hafid.m...@yahoo.fr * .tanger...@hotmail.commoomena_moomena * yahoo.commoomena_moom...@yahoo.comtamazight87 * alexlascara...@yahoo.com * will...@yahoo.com * liorem...@libero.it * maena...@yahoo.com * algerie--hani...@yahoo.com--kouider * nouioua--hani...@yahoo.com-- * candidat.m...@yahoo.fr * tier...@yahoo.com * ayikae...@yahoo.com * alex_...@yahoo.com * ph...@yahoo.com * madm...@intnet.mu * afdup...@yahoo.com * lectoriumcamero...@yahoo.com * sma...@yahoo.com * nchristiane2...@yahoo.com * jow...@yahoo.com * 0...@yahoo.com * lea_redh...@yahoo.com * solpitar...@yahoo.com * madagaskar-botsch...@t-online.de * amba...@sentoo.sn * amba...@yahoo.com * z.ne...@yahoo.com.mx * marcobr...@hotmail.com * djnadji...@hotmail.com * djnadji...@yahoo.com * polp...@yahoo.com * mj_for...@yahoo.com * nicberts...@yahoo.com * ashani...@amauta.rcp.net.pe * owayeri...@yahoo.com.mx * zairul_mal...@yahoo.com * chist...@yahoo.com invitation_add_to_your_yahoo_calendar: http://calendar.yahoo.com/?v=60ST=20100104T20%2BTITLE=Je+sur+comptable+a+la+banque+BCB+je+vais+vir%c3%a9e+$6.million+a+la+etrangerDUR=0100VIEW=din_loc=cher+ami+Salut,+je+suis+MONSIEUR.+ASHRAF+COTU+gestionnaire+de+comptable+BANQUE+comerciale+du+Burkina+(BCB)+Je+veux+transf%c3%a9rer+$6.million(USD)+sur+un+compte+%c3%a9tranger,+si+vous+voulez+m%27aider,+je+vous+enverrai+tous+les+d%c3%a9tails+sur+la+fa%c3%a7on+dont+il+sera+fait+et+Notez+%c3%a9galement+que+vous+aurez+30%25+du+montant.+Si+vous+%c3%aates+d%27accord+pour+m%27aider+%c3%a0+ex%c3%a9cuter+cette+op%c3%a9ration+r%c3%a9ponse+me+d%c3%a8s+que+posssible,+et+s%27il+vous+pla%c3%aet+tenir+comfidentialTYPE=10 Copyright ) 2010 All Rights Reserved www.yahoo.com Privacy Policy: http://privacy.yahoo.com/privacy/us Terms of Service: http://docs.yahoo.com/info/terms/
OpenBGPD bug ?
Hi, Since I did update OpenBGPd (complete system update today), I did notice a strange behavior: None of my eBGP sessions are being taken up wether IPv4 or IPv6 Jan 4 22:02:26 bgpgw-002 bgpd[9545]: neighbor 2001:470:14:98::1 (he-ipv6-bgp-peer): received notification: error in OPEN message, AS unacceptable Tcpdump output: 22:05:53.890039 bgpgw-002.lncsa.com.29176 interco-bgp-nerim.lncsa.com.bgp: P 1:46(45) ack 1 win 65535: BGP (OPEN: Version 4, AS #0, Holdtime 30, ID bgpgw-002.lncsa.com, Option length 16 ((CAP MULTI_PROTOCOL [IPv4 Unicast], CAP ROUTE_REFRESH, CAP AS4 #49463))) (DF) [tos 0xc0] [ttl 1] 22:05:53.937168 interco-bgp-nerim.lncsa.com.bgp bgpgw-002.lncsa.com.29176: P 1:24(23) ack 46 win 16339: BGP (NOTIFICATION: error OPEN Message Error, subcode Bad Peer AS) [tos 0xc0] [ttl 1] The setup consists of two OpenBSD boxes (one running current from last month, and the other one current from today). To have it running again I have to copy the old (running on last month's current machine) bgpd bgpctl binaries to the new system and kill both instances of bgpd Any clue ? Thanks
Current fails to boot a Dell R300
Hi, I'm happily using two R300 for a few months now but currently facing a little issue. I did upgrade one of the boxes today and the box was unable to boot. It seems to be related to atapiscsi It hangs just after scsibus1 at atapiscsi0: 2 targets After disabling atapiscsi (boot -c, ) the system boots normaly. dmesg of machine with disabled atapiscsi running yesterday's current: http://pastebin.com/f62ac81a6 dmesg of machine with enabled atapiscsi running last month's current: http://pastebin.com/f23c707f5 Thanks
Re: Is there a mapper for ALSA in OpenBSD
On Mon, Jan 04, 2010 at 06:01:44PM +0100, Stephan Andreas wrote: Hi OpenBSD members and users, I know that there is no alsa for openbsd, but is there a mapper that uses the normal driver so that the userland software can use in an alsa way? are you asking if there's an implementation of the ALSA API? if so, no, such a thing does not exist. out of curiousity, what do you want that for? -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: Current fails to boot a Dell R300
On Mon, Jan 4, 2010 at 10:16 PM, Laurent CARON lca...@unix-scripts.info wrote: Hi, I'm happily using two R300 for a few months now but currently facing a little issue. I did upgrade one of the boxes today and the box was unable to boot. It seems to be related to atapiscsi It hangs just after scsibus1 at atapiscsi0: 2 targets Hi, I seen exactly the same thing today on a ThinkPad T43. Regards, -- Mattieu Baptiste /earth is 102% full ... please delete anyone you can.
fstab entries
I have Googled and Googled, but so far I can't find an answer. Is it possible to specify multiple file system types per mount point in fstab example: /dev/svnd1a /mnt/svnd1 *ffs,cd9660,udf* rw,noauto 0 0 or could I do this: /dev/svnd1a /mnt/svnd1 *ffs* rw,noauto 0 0 /dev/svnd1a /mnt/svnd1 *cd9660* ro,noauto 0 0 /dev/svnd1a /mnt/svnd1 *udf* ro,noauto 0 0 I'm looking for a little flexibility with a script I am writing to be able to mount encrypted containers, cd, and dvd images.
Re: Current fails to boot a Dell R300
On Mon, Jan 4, 2010 at 15:41, Mattieu Baptiste mattie...@gmail.com wrote: On Mon, Jan 4, 2010 at 10:16 PM, Laurent CARON lca...@unix-scripts.info wrote: Hi, I'm happily using two R300 for a few months now but currently facing a little issue. I did upgrade one of the boxes today and the box was unable to boot. It seems to be related to atapiscsi It hangs just after scsibus1 at atapiscsi0: 2 targets Hi, I seen exactly the same thing today on a ThinkPad T43. Regards, -- Mattieu Baptiste /earth is 102% full ... please delete anyone you can. I posted something earlier today about it as well...
installboot: broken MBR
Hello, I have linux and openbsd installed on a single drive. Linuxy fdisk shows Device Boot Start End Blocks Id System /dev/sda1 1 24017 1929165215 Extended Partition 1 does not end on cylinder boundary. /dev/sda2 * 24018 3040151279480 a6 OpenBSD /dev/sda5 1 127 1020064+ 83 Linux /dev/sda62708 23506 167067936 83 Linux /dev/sda7 128270720723818+ 83 Linux /dev/sda8 23507 24017 4104576 82 Linux swap / Solaris The linuxy menu.lst shows titleOpenBSD rootnoverify (hd0,1) savedefault makeactive chainloader+1 After a clean install, the openbsd installer says: installboot: broken MBR Then GRUB protests when booting openbsd with error 13: Invalid or unsupported executable format I have seen the does not end on cylinder boundary. warning of fdisk a number of times in the past, and yet I was able to boot in openbsd. I think it must be a linux bogus. Any help will be appreciated. T.
Re: Bridging between rdomains
On Mon, Jan 04, 2010 at 09:04:49PM +0100, Csaba Szip wrote: Hello! I trying to bridge two rdomain with vether device, but it doesnt works for me. Is it a bug, or i something misunderstand? The bridge(4) code is not smart enough to support bridging between rdomains. I started looking into it. Actually it is impossible to pass traffic between two local interfaces. It is on my list to look at during n2k10 -- :wq Claudio
Re: OpenBGPD bug ?
On Mon, Jan 04, 2010 at 10:11:00PM +0100, Laurent CARON wrote: Hi, Since I did update OpenBGPd (complete system update today), I did notice a strange behavior: None of my eBGP sessions are being taken up wether IPv4 or IPv6 Jan 4 22:02:26 bgpgw-002 bgpd[9545]: neighbor 2001:470:14:98::1 (he-ipv6-bgp-peer): received notification: error in OPEN message, AS unacceptable Tcpdump output: 22:05:53.890039 bgpgw-002.lncsa.com.29176 interco-bgp-nerim.lncsa.com.bgp: P 1:46(45) ack 1 win 65535: BGP (OPEN: Version 4, AS #0, Holdtime 30, ID bgpgw-002.lncsa.com, Option length 16 ((CAP MULTI_PROTOCOL [IPv4 Unicast], CAP ROUTE_REFRESH, CAP AS4 #49463))) (DF) [tos 0xc0] [ttl 1] 22:05:53.937168 interco-bgp-nerim.lncsa.com.bgp bgpgw-002.lncsa.com.29176: P 1:24(23) ack 46 win 16339: BGP (NOTIFICATION: error OPEN Message Error, subcode Bad Peer AS) [tos 0xc0] [ttl 1] The setup consists of two OpenBSD boxes (one running current from last month, and the other one current from today). To have it running again I have to copy the old (running on last month's current machine) bgpd bgpctl binaries to the new system and kill both instances of bgpd Any clue ? Yes, please send me the config (bgpd -nvv output is OK) For some reasons your AS number is not set in the open. -- :wq Claudio
Re: Current fails to boot a Dell R300
On Mon, Jan 04, 2010 at 04:17:31PM -0600, Bryan wrote: I posted something earlier today about it as well... The devs know about this. Apparently some SCSI changes in the kernel broke this. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk
Re: installboot: broken MBR
T. Tofus von Blisstein wrote: Hello, I have linux and openbsd installed on a single drive. Linuxy fdisk shows Device Boot Start End Blocks Id System /dev/sda1 1 24017 1929165215 Extended Partition 1 does not end on cylinder boundary. /dev/sda2 * 24018 3040151279480 a6 OpenBSD OpenBSD is in an extended partition...don't know that this works in all (or any) cases, and the fact that it doesn't work in yours doesn't surprise me. Even if all the OpenBSD bits work to boot off extended partitions, they would have to be installed properly...and that would be easier done wrong than right, I think. /dev/sda5 1 127 1020064+ 83 Linux /dev/sda62708 23506 167067936 83 Linux /dev/sda7 128270720723818+ 83 Linux /dev/sda8 23507 24017 4104576 82 Linux swap / Solaris The linuxy menu.lst shows titleOpenBSD rootnoverify (hd0,1) savedefault makeactive chainloader+1 After a clean install, the openbsd installer says: installboot: broken MBR which may also be an issue with OpenBSD in an extended partition (or improperly set up extended partition, which is entirely believable, since you didn't think it important to indicate how you set it up). Then GRUB protests when booting openbsd with error 13: Invalid or unsupported executable format which appears to mean you have tried to have grub try to load the OpenBSD kernel. This has not worked for a very long time. I think I heard something about the grub people have very recently reved their code to actually successfully load some modern version of OpenBSD's kernel, but I doubt it has made it into most main-stream distros, nor would I recommend it if it did. I have seen the does not end on cylinder boundary. warning of fdisk a number of times in the past, and yet I was able to boot in openbsd. I think it must be a linux bogus. cylinder boundaries are an old hacker's tale. They don't matter in real life (at least with any modern OS I've worked with). It fascinates me that they obsess over non-issues like that which never seem to cause real problems, then encourage you to try to boot from extended partitions without the slightest warning, which DOES cause real problems. You may be able to properly configure an extended partition so that it would be bootable for OpenBSD (hint: more than one MBR), but I'm not sure all BIOSs would successfully walk the MBR chain, so if your MoBo died and you replaced it (or an upgraded BIOS has a bug), your disk may become unbootable. I'd highly recommend keeping OpenBSD in a primary partition. Nick.
Re: OpenBGPD bug ?
On Tue, Jan 05, 2010 at 12:04:10AM +0100, Claudio Jeker wrote: On Mon, Jan 04, 2010 at 10:11:00PM +0100, Laurent CARON wrote: Hi, Since I did update OpenBGPd (complete system update today), I did notice a strange behavior: None of my eBGP sessions are being taken up wether IPv4 or IPv6 Jan 4 22:02:26 bgpgw-002 bgpd[9545]: neighbor 2001:470:14:98::1 (he-ipv6-bgp-peer): received notification: error in OPEN message, AS unacceptable Tcpdump output: 22:05:53.890039 bgpgw-002.lncsa.com.29176 interco-bgp-nerim.lncsa.com.bgp: P 1:46(45) ack 1 win 65535: BGP (OPEN: Version 4, AS #0, Holdtime 30, ID bgpgw-002.lncsa.com, Option length 16 ((CAP MULTI_PROTOCOL [IPv4 Unicast], CAP ROUTE_REFRESH, CAP AS4 #49463))) (DF) [tos 0xc0] [ttl 1] 22:05:53.937168 interco-bgp-nerim.lncsa.com.bgp bgpgw-002.lncsa.com.29176: P 1:24(23) ack 46 win 16339: BGP (NOTIFICATION: error OPEN Message Error, subcode Bad Peer AS) [tos 0xc0] [ttl 1] The setup consists of two OpenBSD boxes (one running current from last month, and the other one current from today). To have it running again I have to copy the old (running on last month's current machine) bgpd bgpctl binaries to the new system and kill both instances of bgpd Any clue ? Yes, please send me the config (bgpd -nvv output is OK) For some reasons your AS number is not set in the open. OK, I see a problem here. The session engine does not copy the bgpd_conf struct but instead does it bit by bit missing some important ones. This diff should fix the problem for now. It would be better to swap the config but that is a bit more complex. Need to look into that in the morning. -- :wq Claudio Index: rde.c === RCS file: /cvs/src/usr.sbin/bgpd/rde.c,v retrieving revision 1.279 diff -u -p -r1.279 rde.c --- rde.c 31 Dec 2009 15:34:02 - 1.279 +++ rde.c 4 Jan 2010 23:29:45 - @@ -619,6 +619,9 @@ rde_dispatch_imsg_parent(struct imsgbuf nconf-flags = ~BGPD_FLAG_NO_EVALUATE; } memcpy(conf, nconf, sizeof(struct bgpd_config)); + conf-listen_addrs = NULL; + conf-csock = NULL; + conf-rcsock = NULL; free(nconf); nconf = NULL; parent_set = NULL; Index: session.c === RCS file: /cvs/src/usr.sbin/bgpd/session.c,v retrieving revision 1.303 diff -u -p -r1.303 session.c --- session.c 31 Dec 2009 15:34:02 - 1.303 +++ session.c 4 Jan 2010 23:31:19 - @@ -2360,10 +2360,16 @@ session_dispatch_imsg(struct imsgbuf *ib fatalx(reconf request not from parent); if (nconf == NULL) fatalx(got IMSG_RECONF_DONE but no config); + conf-flags = nconf-flags; + conf-log = nconf-log; + conf-rtableid = nconf-rtableid; + conf-bgpid = nconf-bgpid; + conf-clusterid = nconf-clusterid; conf-as = nconf-as; + conf-short_as = nconf-short_as; conf-holdtime = nconf-holdtime; - conf-bgpid = nconf-bgpid; conf-min_holdtime = nconf-min_holdtime; + conf-connectretry = nconf-connectretry; /* add new peers */ for (p = npeers; p != NULL; p = next) {
Re: dvd drives causes boot to hang
On Mon, Jan 04, 2010 at 07:20:16PM +0100, Markus Hennecke wrote: So I am not the only one... The breakage happens with the commits that introduce scsi_xs_sync (rev. 1.150 from src/sys/scsi/scsi_base.c etc.). If I check out the files in the scsi directory from before that commit the kernel boots fine, it hangs with the version mentioned above. I see the same thing on a Dell laptop using i386-GENERIC and a desktop using amd64-GENERIC.MP, when using IDE CD or DVD drives. With SCSI drives there are no problems.
Re: OpenBGPD bug ?
On 05/01/2010 00:36, Claudio Jeker wrote: OK, I see a problem here. The session engine does not copy the bgpd_conf struct but instead does it bit by bit missing some important ones. This diff should fix the problem for now. It would be better to swap the config but that is a bit more complex. Need to look into that in the morning. The patch did solve the problem I was encountering with latest CVS bgpd. Feel free to ask for some tests since I do have a redundant setup, it is easier to test stuffs. Thanks
Re: fstab entries
Never seen such a thing before. It's far better to have your script be smart enough to figure out what it is before mounting it. Check out file for some help. On 1/4/10, Michael Littlejohn notofsoundmind...@gmail.com wrote: I have Googled and Googled, but so far I can't find an answer. Is it possible to specify multiple file system types per mount point in fstab example: /dev/svnd1a /mnt/svnd1 *ffs,cd9660,udf* rw,noauto 0 0 or could I do this: /dev/svnd1a /mnt/svnd1 *ffs* rw,noauto 0 0 /dev/svnd1a /mnt/svnd1 *cd9660* ro,noauto 0 0 /dev/svnd1a /mnt/svnd1 *udf* ro,noauto 0 0 I'm looking for a little flexibility with a script I am writing to be able to mount encrypted containers, cd, and dvd images. -- Sent from my mobile device http://www.glumbert.com/media/shift http://www.youtube.com/watch?v=tGvHNNOLnCk This officer's men seem to follow him merely out of idle curiosity. -- Sandhurst officer cadet evaluation. Securing an environment of Windows platforms from abuse - external or internal - is akin to trying to install sprinklers in a fireworks factory where smoking on the job is permitted. -- Gene Spafford learn french: http://www.youtube.com/watch?v=30v_g83VHK4
Seeking Advice on URL Redirection
I'm looking for some advice on how to best address a small problem. I have a network behind pf/NAT on a Soekris net5501. The network includes a publicly accessible website. Let's call it ww1.domain.com. Now I need to create another website, ww2.domain.com, hosted on a different physical server. How can I direct incoming connections on TCP port 80 (or 443) to the correct internal IP address based on the URL? I would prefer to do this on the Soekris, rather than redirecting requests from one web server to the other. I'm guessing that a proxy like squid might be appropriate, but I don't have any personal experience with it, and it probably does much more than I need. Would this be a good way to go, or can someone suggest a simpler, more lightwieght solution? Thanks in advance for any advice.
Re: 802.11n cards for AP?
On Sun, Jan 03, 2010 at 09:42:10AM +, Stuart Henderson wrote: | RT2860 has great RF performance but under some conditions running | in hostap mode, things stop working until you ifconfig down+up | (PR 5958). Yeah, why is this? Do we know what conditions these are? I ask because I have been experiencing this I changed out my card for one with a RT260 chip. ifconfig {down,up} works but is annoying... thanks. -- Ryan Corder || () ASCII ribbon campaign ryanc at greengrey.org || /\ against HTML email http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x1CB59D69 [demime 1.01d removed an attachment of type application/pgp-signature]
Re: 802.11n cards for AP?
On Mon, Jan 04, 2010 at 04:10:53PM -0800, Ryan Corder wrote: | Yeah, why is this? Do we know what conditions these are? I ask because | I have been experiencing this I changed out my card for one with a RT260 | chip. ifconfig {down,up} works but is annoying... Sorry for all the typos. -- Ryan Corder || () ASCII ribbon campaign ryanc at greengrey.org || /\ against HTML email http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x1CB59D69
Disable SSH passwords per user
Had a quick google and search or marc, but came up with no answers. Is it possible to disable password based logins per user (like with the adduser --disabled-password in linux) on OpenBSD, and therefore have the user only use SSH Keys? I'm aware of the sshd_config setting PasswordAuthentication no which makes this occur system wide. I just wanted to ensure I'm not missing something else, in setting up a single user on a system that doesn't have PasswordAuthentication no set for system wide SSH logins. Maybe using login classes? The reason: I'm trying to setup gitosis (http://eagain.net/gitweb/?p=gitosis.git;a=blob;f=README.rst) on an OpenBSD server, but the README is linux centric. -- Ted
Re: Seeking Advice on URL Redirection
On Mon, 04 Jan 2010 16:11:20 -0800 li...@telus.net wrote: I'm looking for some advice on how to best address a small problem. I have a network behind pf/NAT on a Soekris net5501. The network includes a publicly accessible website. Let's call it ww1.domain.com. Now I need to create another website, ww2.domain.com, hosted on a different physical server. How can I direct incoming connections on TCP port 80 (or 443) to the correct internal IP address based on the URL? I would prefer to do this on the Soekris, rather than redirecting requests from one web server to the other. I'm guessing that a proxy like squid might be appropriate, but I don't have any personal experience with it, and it probably does much more than I need. Would this be a good way to go, or can someone suggest a simpler, more lightwieght solution? Thanks in advance for any advice. man relayd
Re: Disable SSH passwords per user
2010/1/5 Ted t...@pobox.com: Had a quick google and search or marc, but came up with no answers. Is it possible to disable password based logins per user (like with the adduser --disabled-password in linux) on OpenBSD, and therefore have the user only use SSH Keys? I'm aware of the sshd_config setting PasswordAuthentication no which makes this occur system wide. I just wanted to ensure I'm not missing something else, in setting up a single user on a system that doesn't have PasswordAuthentication no set for system wide SSH logins. Maybe using login classes? The reason: I'm trying to setup gitosis (http://eagain.net/gitweb/?p=gitosis.git;a=blob;f=README.rst) on an OpenBSD server, but the README is linux centric. You can use per user rules in sshd_config, just read the man page. -- The best the little guy can do is what the little guy does right
Re: Disable SSH passwords per user
sshd_config(5), look at Match. You may also want to look at command= in sshd(8). And of course you can always set an impossible password hash to prevent password logins... On Tue, Jan 05, 2010 at 11:18:39AM +1100, Ted wrote: Had a quick google and search or marc, but came up with no answers. Is it possible to disable password based logins per user (like with the adduser --disabled-password in linux) on OpenBSD, and therefore have the user only use SSH Keys? I'm aware of the sshd_config setting PasswordAuthentication no which makes this occur system wide. I just wanted to ensure I'm not missing something else, in setting up a single user on a system that doesn't have PasswordAuthentication no set for system wide SSH logins. Maybe using login classes? The reason: I'm trying to setup gitosis (http://eagain.net/gitweb/?p=gitosis.git;a=blob;f=README.rst) on an OpenBSD server, but the README is linux centric. -- Ted
Re: Current fails to boot a Dell R300
On 1/4/10 6:12 PM, Edd Barrett wrote: On Mon, Jan 04, 2010 at 04:17:31PM -0600, Bryan wrote: I posted something earlier today about it as well... The devs know about this. Apparently some SCSI changes in the kernel broke this. You could try again with the patch posted just few minutes ago by dlg@, or wait for the next snapshot to be ready. http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/atapiscsi/atapiscsi.c?rev=1.85 May fix your problem. Best, Daniel
Re: Disable SSH passwords per user
On Tue, Jan 5, 2010 at 11:32 AM, Eugene Yunak e.yu...@gmail.com wrote: You can use per user rules in sshd_config, just read the man page. I've read the man page a number of times, and didn't see that. The closest thing was is AllowUsers, but this is for enabling and disabling logins per user, not limiting a user to SSH Key logins only. But after reading ssh_config manpage, and I note that one can set PasswordAuthentication no in a per-user configuration file ~/.ssh/config The problem with this is the manpage states this file must have strict permissions: read/write for the user, and not accessible by others. This means the user can edit this after logging in, and remove or change the PasswordAuthentication variable. -- Ted
Re: Disable SSH passwords per user
On Tue, Jan 5, 2010 at 11:35 AM, Nicholas Marriott nicholas.marri...@gmail.com wrote: sshd_config(5), look at Match. That's what I was missing. Was reading over that and my mind was reading match for Host or Address only. Now I know I can do a Match pattern on User with PasswordAuthentication. Thanks Nicholas and Eugene. You may also want to look at command= in sshd(8). Looks interesting and may be useful for what I'm setting up. And of course you can always set an impossible password hash to prevent password logins... True. -- Ted
Re: Current fails to boot a Dell R300
i was having the same problem. i just built from cvs source with the change and the kernel boots now. OpenBSD 4.6-current (GENERIC) #2: Mon Jan 4 21:01:42 EST 2010 cel On Mon, Jan 04, 2010 at 07:56:58PM -0500, Daniel Ouellet wrote: On 1/4/10 6:12 PM, Edd Barrett wrote: On Mon, Jan 04, 2010 at 04:17:31PM -0600, Bryan wrote: I posted something earlier today about it as well... The devs know about this. Apparently some SCSI changes in the kernel broke this. You could try again with the patch posted just few minutes ago by dlg@, or wait for the next snapshot to be ready. http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/atapiscsi/atapiscsi.c?rev=1.85 May fix your problem. Best, Daniel -- Christopher Linn celinn at mtu.edu | By no means shall either the CEC System Administrator II | or MTU be held in any way liable Center for Experimental Computation | for any opinions or conjecture I Michigan Technological University | hold to or imply to hold herein.
sili port multiplier support
Hi. I have: sili0 at pci4 dev 0 function 0 CMD Technology SiI3132 SATA rev 0x01: apic 3 int 8 (irq 11) scsibus0 at sili0: 2 targets The manual page does not mention it, but I guess the driver does not support port multipliers? It only detects one drive in my eSATA enclosure. There are two drives configured as JBOD. Connecting the enclosure to a Windows or Linux box shows two drives I assume the driver also somehow disables write cache on the disk by default - judging by performance? I cannot disable write cache on this enclosure's drives in either Linux, FreeBSD, or even Windows! It's also a sili enclosure - Rosewill R2-RAID. SiI5744 Storage Processor http://www.siliconimage.com/products/product.aspx?pid=105 Which controller drivers support port multiplying for eSATA? Thanks.
softraid rebuild
Hi. My softraid mirror went into degraded mode (on -current). How to rebuild? I am trying to follow the bioctl manual page, but I don't seem to understand the command to throw at it - syntax errors. Is it supported yet? Thanks.
Re: sili port multiplier support
There is currently no native support for sata port multipliers in OpenBSD. Dragonfly has some code which could be adapted however. On Mon, Jan 04, 2010 at 09:36:33PM -0500, nixlists wrote: Hi. I have: sili0 at pci4 dev 0 function 0 CMD Technology SiI3132 SATA rev 0x01: apic 3 int 8 (irq 11) scsibus0 at sili0: 2 targets The manual page does not mention it, but I guess the driver does not support port multipliers? It only detects one drive in my eSATA enclosure. There are two drives configured as JBOD. Connecting the enclosure to a Windows or Linux box shows two drives I assume the driver also somehow disables write cache on the disk by default - judging by performance? I cannot disable write cache on this enclosure's drives in either Linux, FreeBSD, or even Windows! It's also a sili enclosure - Rosewill R2-RAID. SiI5744 Storage Processor http://www.siliconimage.com/products/product.aspx?pid=105 Which controller drivers support port multiplying for eSATA? Thanks.
Maximizing File/Network I/O
Hi. I have two machines one running 4.6, the other running a recent snapshot of current. tcpbench reports maximum throughput of 275 Mbit - that's around 34 MB/s between them over a gig-E link. What should one expect with an el-cheapo gig-e switch and 'em' Intel NIC and a msk NIC? Is that reasonable or too slow? The 4.6 machine has a softraid mirror and can read off it at around 55 MB/s as shown by 'dd', and the -current machine has an eSATA enclosure mounted async for the purpose of quickly backing up to it, that I can write to at around 45 MB/s as shown by 'dd'. However copying over the network to it - through NFS I can only get around 15 MB/s. Where is the bottleneck? How to fix?? Copying with rsync over ssh is even slower due to rsync and ssh eating quite a bit of CPU - but that's to be expected. Thanks a bunch.
mount_udf
When using mount -t udf /dev/svnd0a /mnt/svnd0 or mount_udf /dev/svnd0a /mnt/svnd0 after successfully configuring with vnconfig I get: mount_udf: mount: Invalid argument. I have read the man pages, I have Googled, yet no information exists that explains why I can mount a disk image with a udf file system. Any ideas? My DMESG: OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.53GHz (GenuineIntel 686-class) 2.55 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,CNXT-ID real mem = 1064898560 (1015MB) avail mem = 1021267968 (973MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/08/03, BIOS32 rev. 0 @ 0xf1040, SMBIOS rev. 2.3 @ 0xf2fb0 (41 entries) bios0: vendor Award Software, Inc. version ACPI BIOS Revision 1001 date 01/08/2003 bios0: Sony Corporation PCV-RS220(UC) apm0 at bios0: Power Management spec V1.2 (BIOS management disabled) apm0: APM power management enable: unrecognized device ID (9) apm0: APM engage (device 1): power management disabled (1) apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf/0x1692 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf15e0/176 (9 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xb200! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82845G Host rev 0x01 vga1 at pci0 dev 2 function 0 Intel 82845G Video rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0xf000, size 0x800 drm at vga1 unsupported uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 5 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 3 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 9 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb0 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x81 pci1 at ppb0 bus 1 rl0 at pci1 dev 13 function 0 Realtek 8139 rev 0x10: irq 9, address 00:0c:6e:27:2d:ad rlphy0 at rl0 phy 0: RTL internal PHY NEC Firewire rev 0x01 at pci1 dev 14 function 0 not configured ichpcib0 at pci0 dev 31 function 0 Intel 82801DB LPC rev 0x01: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 Intel 82801DB IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: ST3120023A wd0: 16-sector PIO, LBA, 114473MB, 234441648 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: TOSHIBA, DVD-ROM SD-R5002, 1S33 ATAPI 5/cdrom removable atapiscsi1 at pciide0 channel 1 drive 1 scsibus1 at atapiscsi1: 2 targets, initiator 7 cd1 at scsibus1 targ 0 lun 0: ASUS, CD-S400/A, 2.2N ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 10, ICH4 AC97 ac97: codec id 0x414c4720 (Avance Logic ALC650) ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D audio0 at auich0 Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask eb6d netmask eb6d ttymask fbff mtrr: Pentium Pro MTRR support softraid0 at root root on wd0a swap on wd0b dump on wd0b auich0: measured ac97 link rate at 48011 Hz, will use 48000 Hz udf_mount: enforcing read-only mode FSD does not lie within the partition! udf_mount: enforcing read-only mode FSD does not lie within the partition! udf_mount: enforcing read-only mode FSD does not lie within the partition! udf_mount: enforcing read-only mode FSD does not lie within the partition! FSD does not lie within the partition! FSD does not lie within the partition! FSD
CUPS alternative
Hi. I need to print from Windows machines to an OpenBSD box using IPP. Is CUPS the only software that will let me do this? CUPS is huge, buggy and full of security holes. Wants to only run as root as well. Thanks.
pf: state reuse
Hi. I am logging 'misc' messages from pf, and seeing a lot of state reuses. What does it mean, and do I need to fix anything? Many, many messages like pf: state reuse TCP out wire: (0) 2ipaddress:port_goes_here ip_address:port_goes_here stack: (0) ip_address:port_goes_here ip_address:port_goes_here [lo=39216066 high=39216068 win=16384 mo dulator=0] [lo=0 high=16384 win=1 modulator=0] 10:10 S And similar for 'in' wire Thanks.
dhcrelay barfing on startup via rc
Attempting to enable dhcrelay to run via rc.conf.local is barfing. Specifically running the daemon interactively seems happy: $ sudo dhcrelay -i fxp3 192.168.100.6 $ $ ps -ax | grep dhcrelay 31341 ?? Is 0:00.00 dhcrelay -i fxp3 192.168.100.6 $ Subsequently, my DHCP server now responds to DHCP request from this segment on fxp3. Life is good. However attempting to configure for start upon reboot fails: $ cat /etc/rc.conf.local | grep dhcrelay dhcrelay_flags=-i fxp3 192.168.100.6 *INSERT REBOOT HERE* $ ps -ax | grep dhcrelay $ $ more /var/log/daemon | grep dhcrelay Jan 4 16:11:49 fw01 dhcrelay: fxp3: host unknown Jan 4 16:11:49 fw01 dhcrelay: no interface given Jan 4 16:11:49 fw01 dhcrelay: exiting. Jan 4 16:11:57 fw01 dhcrelay: Can't find free bpf: Permission denied Jan 4 16:11:57 fw01 dhcrelay: exiting. Jan 4 16:12:12 fw01 dhcrelay: Can't find free bpf: Permission denied Jan 4 16:12:12 fw01 dhcrelay: exiting. Jan 4 16:14:25 fw01 dhcrelay: Can't find free bpf: Permission denied Jan 4 16:14:25 fw01 dhcrelay: exiting. Jan 4 17:00:54 fw01 dhcrelay: Can't find free bpf: Permission denied Jan 4 17:00:54 fw01 dhcrelay: exiting. Jan 4 17:12:58 fw01 dhcrelay: connect: Address already in use Jan 4 17:12:58 fw01 dhcrelay: exiting. $ Haven't found much online about others dealing with this. Man pages for dhcrelay, rc.conf.local, etc... haven't yielded much either. Any pointers and or RTFM suggestions appreciated. -sc
newfs for large files
Hi. What are the recommended newfs tweaks for an FS that will store mostly large or very large files? Are defaults sufficient for optimum performance, or are they mostly a general case for typical OS small program/text files? Also my guess tweaking with tunefs is useless, since it's a very old tool? I tried tunefs with larger values than default, but that makes the kernel either freeze or panic :D Thanks.
Re: newfs for large files
On Monday 04 January 2010 22:28:28 nixlists wrote: Hi. What are the recommended newfs tweaks for an FS that will store mostly large or very large files? Are defaults sufficient for optimum performance, or are they mostly a general case for typical OS small program/text files? Also my guess tweaking with tunefs is useless, since it's a very old tool? I tried tunefs with larger values than default, but that makes the kernel either freeze or panic :D Thanks. I don't know what your idea of large files are, but I've been using 750G and up to 900G partitions with files ranging in size from 3G to 140G, without trouble. Next will come some 300G files to chop up, but I see no reason why I won't be able to do that. The only reason I can think of to twist knobs are for tons of tiny files, where you might run out of inodes, but I still haven't encountered that yet in my (mis)adventures. --STeve Andre'
Re: mount_udf
On Mon, Jan 4, 2010 at 10:10 PM, Michael Littlejohn notofsoundmind...@gmail.com wrote: When using mount -t udf /dev/svnd0a /mnt/svnd0 or mount_udf /dev/svnd0a /mnt/svnd0 after successfully configuring with vnconfig I get: mount_udf: mount: Invalid argument. I have read the man pages, I have Googled, yet no information exists that explains why I can mount a disk image with a udf file system. FSD does not lie within the partition! Are you sure it's a UDF filesystem?
Editing PDF files
I hope, I am not going to annoy too many people with this rather general question. I have some PDF form that I need to fill in. I thought that I would be able to accomplish the job in couple of minutes. Namely, my idea was to convert PDf file to PS file and then to use pstoedit to convert the PostScript file into fig file. Then like in old good times I would just add text to fig file and export to PDF. Just to be on the safe side I was to do the above process a single page at the time. My problem is that pstoedit is producing a huge non-usable fig file. What would be more claver way to accomplish above task short of buying Acrobat or using on-line PDF editing tools and exposing my private information. I heard that KOffice and Scribe have the ability to edit PDF file as well as Gimp. I am somewhat familiar with PDFEdit even though it is not ported to OpenBSD and not very enthusiastic about its abilities. Most Kind Regards, Predrag Punosevac
Re: Seeking Advice on URL Redirection
Quoting Robert rob...@openbsd.pap.st: On Mon, 04 Jan 2010 16:11:20 -0800 li...@telus.net wrote: I'm looking for some advice on how to best address a small problem. I have a network behind pf/NAT on a Soekris net5501. The network includes a publicly accessible website. Let's call it ww1.domain.com. Now I need to create another website, ww2.domain.com, hosted on a different physical server. How can I direct incoming connections on TCP port 80 (or 443) to the correct internal IP address based on the URL? I would prefer to do this on the Soekris, rather than redirecting requests from one web server to the other. I'm guessing that a proxy like squid might be appropriate, but I don't have any personal experience with it, and it probably does much more than I need. Would this be a good way to go, or can someone suggest a simpler, more lightwieght solution? Thanks in advance for any advice. man relayd Thanks for the pointer. That's exactly the sort of thing I was hoping to locate. And many thanks, again, to the developers of OpenBSD.
Re: Maximizing File/Network I/O
On Tue, Jan 5, 2010 at 2:05 PM, nixlists nixmli...@gmail.com wrote: Hi. I have two machines one running 4.6, the other running a recent snapshot of current. tcpbench reports maximum throughput of 275 Mbit - that's around 34 MB/s between them over a gig-E link. What should one expect with an el-cheapo gig-e switch and 'em' Intel NIC and a msk NIC? Is that reasonable or too slow? The 4.6 machine has a softraid mirror and can read off it at around 55 MB/s as shown by 'dd', and the -current machine has an eSATA enclosure mounted async for the purpose of quickly backing up to it, that I can write to at around 45 MB/s as shown by 'dd'. However copying over the network to it - through NFS I can only get around 15 MB/s. Where is the bottleneck? How to fix?? Copying with rsync over ssh is even slower due to rsync and ssh eating quite a bit of CPU - but that's to be expected. Thanks a bunch. It would be best put this way - if you go for the lowest bidder, in most cases you get what you pay for. Your results aren't too bad considering what's in use. With top notch stuff (we're talking HP Procurve/Cisco Catalyst and Intel PRO/1000+ cards here) plus tuning for Jumbo frames, you can get to the 95MB/sec range. And it's not just CPU usage that slows rsync over ssh - the transfer rate is only counting the data that gets pushed through - it doesn't cover the encrypted data, which is something like 30-40% bigger than the original. -- Aaron Mason - Programmer, open source addict I've taken my software vows - for beta or for worse
Re: Maximizing File/Network I/O
On Tue, Jan 5, 2010 at 12:40 AM, Aaron Mason simplersolut...@gmail.com wrote: It would be best put this way - if you go for the lowest bidder, in most cases you get what you pay for. Your results aren't too bad considering what's in use. Thanks. Where could I find more info on tuning jumbo frames? Both cards support it... Update: after upgrading the other machine to -current. tcpbench performs around 420 Mbit/s now :D One of the machines is using pf...
Re: Editing PDF files
I heard that KOffice and Scribe have the ability to edit PDF file as well as Gimp. Gimp will work for short forms. I'm pretty sure Gimp necessarily converts the image to a bitmap; then you can just use the Text tool to add stuff. Then print to PDF. It's clunky but will work in a pinch.
Re: CUPS alternative
nixlists nixmlists () gmail ! com wrote: Hi. I need to print from Windows machines to an OpenBSD box using IPP. Is CUPS the only software that will let me do this? CUPS is huge, buggy and full of security holes. Wants to only run as root as well. Thanks. To my knowledge CUPS is the only spooling system available for Unix which speaks IPP even though Patrick Powell who developed LPRng was one of original IPP developers as well. LPRng should have been able to work as IPP gateway as of 4.0 but there is no LPRng 4.0 and Patrick has abandoned LPRng around 2005. I am not really sure if LPRng can speak IPP. I know very little about Windows but I would swear that I have seen or read that Windows can speak LPD printing protocol. I also have no knowledge of Samba but I would swear that I read somewhere that supports LPD. Best, Predrag
Re: newfs for large files
On Mon, Jan 04, 2010 at 10:28:28PM -0500, nixlists wrote: Hi. What are the recommended newfs tweaks for an FS that will store mostly large or very large files? Are defaults sufficient for optimum performance, or are they mostly a general case for typical OS small program/text files? Also my guess tweaking with tunefs is useless, since it's a very old tool? I tried tunefs with larger values than default, but that makes the kernel either freeze or panic :D Thanks. It will work with defaults, but you can use -f and -b to increase fragment and block sizes to a max of 65536. That will save space on metadata and make fsck_ffs faster and use less memory. -Otto
Re: newfs for large files
On Tue, Jan 5, 2010 at 1:14 AM, Otto Moerbeek o...@drijf.net wrote: On Mon, Jan 04, 2010 at 10:28:28PM -0500, nixlists wrote: Hi. What are the recommended newfs tweaks for an FS that will store mostly large or very large files? Are defaults sufficient for optimum performance, or are they mostly a general case for typical OS small program/text files? Also my guess tweaking with tunefs is useless, since it's a very old tool? I tried tunefs with larger values than default, but that makes the kernel either freeze or panic :D Thanks. It will work with defaults, but you can use -f and -b to increase fragment and block sizes to a max of 65536. That will save space on metadata and make fsck_ffs faster and use less memory. No other performance benefits than fsck?
Re: newfs for large files
On Tue, Jan 05, 2010 at 01:31:06AM -0500, nixlists wrote: On Tue, Jan 5, 2010 at 1:14 AM, Otto Moerbeek o...@drijf.net wrote: On Mon, Jan 04, 2010 at 10:28:28PM -0500, nixlists wrote: Hi. What are the recommended newfs tweaks for an FS that will store mostly large or very large files? Are defaults sufficient for optimum performance, or are they mostly a general case for typical OS small program/text files? Also my guess tweaking with tunefs is useless, since it's a very old tool? I tried tunefs with larger values than default, but that makes the kernel either freeze or panic :D Thanks. It will work with defaults, but you can use -f and -b to increase fragment and block sizes to a max of 65536. That will save space on metadata and make fsck_ffs faster and use less memory. No other performance benefits than fsck? You might save a tiny bit when creating or deleting files and dirs. But other than that and fsck_ffs, no. -Otto
Re: Maximizing File/Network I/O
On Tue, Jan 05, 2010 at 01:02:08AM -0500, nixlists wrote: On Tue, Jan 5, 2010 at 12:40 AM, Aaron Mason simplersolut...@gmail.com wrote: It would be best put this way - if you go for the lowest bidder, in most cases you get what you pay for. Your results aren't too bad considering what's in use. Thanks. Where could I find more info on tuning jumbo frames? Both cards support it... Start with mount_nfs options, specifically -r and -w; I assume that you would have mentioned tweaking those if you had already done so. Update: after upgrading the other machine to -current. tcpbench performs around 420 Mbit/s now :D One of the machines is using pf...
Re: Editing PDF files
I just want to document the simplest solution for editing PDF files. Step 1: Convert the file to PostScript Step 2: Directly edit PostScript file In particular to add the text to specific position you will need to upload the file to gv and use the cursor to find the coordinates of the position where you want to add the text. Then fire up that vi editor and add something like gsave /Times-Roman findfont 24 scalefont setfont 100 250 moveto (Your text here) show % more moveto/show pairs for the remainder of the page grestore before the last showpage in your PostScript file. Step 3 Convert PostScript file back to PDF file. Cheers, Predrag
Re: Editing PDF files
On Tue, 5 Jan 2010, Predrag Punosevac wrote: ... What would be more claver way to accomplish above task short of buying Acrobat or using on-line PDF editing tools and exposing my private information. OpenOffice.org and enable the pdfimport extension. -- Antoine
Re: mount_udf
There were major improvements to our handling of UDF done at f2k9, which was well after 4.4. Please try a -current snapshot. On 2010 Jan 04 (Mon) at 19:10:33 -0800 (-0800), Michael Littlejohn wrote: :When using mount -t udf /dev/svnd0a /mnt/svnd0 or :mount_udf /dev/svnd0a /mnt/svnd0 after successfully :configuring with vnconfig I get: mount_udf: mount: Invalid argument. :I have read the man pages, I have Googled, yet no information :exists that explains why I can mount a disk image with a udf file system. :Any ideas? : :My DMESG: :OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008 :dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC -- Getting an education at the University of California is like having $50.00 shoved up your ass, a nickel at a time.