Re: -current or -stable [was: Not another Browser Question]
On 2010 Mar 05 (Fri) at 12:36:04 -0800 (-0800), J.C. Roberts wrote: :The thing is, you've kind mixed things up because you didn't understand :the context. STeve was doing *more* than just running the -current :snapshot and packages. He was getting into -HEAD branch to help espie@ :out with testing of the new super cool toy, dpb3 (distributed package :building). It was clearly announced as totally experimental for 4.7 :by espie@ on the ports@ mailing list. : :Not many people have the bandwidth and stack of systems required to do :distributed builds of the *ENTIRE* ports tree. None the less, great :people doing bulk builds is how your packages get built for all the :mirrors. At present, they're still using the reliable old dpb rather :than the new experimental one because the latter is still under heavy :development and still needs more testing. Being the guy that does the sparc package builds, I *am* running it with the new dpb3. The best way to get testing, is to use it. (I'm also running dpb3 on my OpenBSD/loongson system, but that is just for private use, and to find packages that fail to build ;) ). -- $100 invested at 7% interest for 100 years will become $100,000, at which time it will be worth absolutely nothing. -- Lazarus Long, Time Enough for Love
Avviso di notifica.
!-- .style3 {font-size: 16px} .style4 {font-size: 14px} .style5 { font-size: 18px } -- Avviso di notifica Essa - giunta alla nostra attenzione che il Banco Cartasi informazioni sul tuo conto deve essere aggiornato come parte del nostro continuo impegno per proteggere il tuo account e di ridurre i casi di frodi sul nostro sito web. Se si potesse si prega di prendere 5-10 minuti dalla vostra esperienza online e aggiornare i record non saranno pubblicati nei prossimi numeri con il servizio on-line. Tuttavia, l'assenza di aggiornare i record si tradurr- in considerazione la sospensione. Si prega di aggiornare i record prima: Friday 15 January 2010. Dopo aver aggiornato i record account, l'account del Banco Cartasi attivit- non verr- interrotto e continuer- normalmente. Clicca qui per aggiornare le informazioni dell'account Copiarderecho - 1999-2010 Banco Cartasi. Tutti i diritti riservati.
Sincere Greeting
You are invited to Sincere Greeting. By your host Sanni Mohammed: Date: Saturday March 6, 2010 Time: 8:00 am - 9:00 am (GMT +00:00) Street:Sincere Greeting, Thank you for reading my mail. I am contacting you concerning a customer and, an investment placed under our banks management years ago, I contacted you independently of my investigation and no one is informed of this communication and I would like to intimate you with certain facts that I believe would be of interest to you. Will you attend? RSVP to this invitation at: http://calendar.yahoo.com/sanni_mohamm...@ymail.com?v=126a1=0iid=0xBciwnAXNJn%40fB3qxFG3Hl%40GfpW%40mIUy%40ERt6nbaBf9aeY7L%40%40VKrrAzmb%40igid=0xBciwnAXNJn%40fB3qxFG3Hl%40GfpW%40mIUy%40ERt6nbqBg9aeYz0%40aRLrrEzmb%40 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/
Re: -current or -stable [was: Not another Browser Question]
On 2010 Mar 06 (Sat) at 14:26:25 +0530 (+0530), Siju George wrote: :On Sat, Mar 6, 2010 at 1:25 PM, Peter Hessler phess...@theapt.org wrote: : : (I'm also running dpb3 on my OpenBSD/loongson system, but that is just : for private use, and to find packages that fail to build ;) ). : : :loongson seems to be a very low end cpu system. what is the special :attraction towards it? :-) : sort version: its a laptop, and its not intel. -- There's no point in being grown up if you can't be childish sometimes. -- Dr. Who
Re: -current or -stable [was: Not another Browser Question]
On Sat, Mar 6, 2010 at 1:25 PM, Peter Hessler phess...@theapt.org wrote: (I'm also running dpb3 on my OpenBSD/loongson system, but that is just for private use, and to find packages that fail to build ;) ). loongson seems to be a very low end cpu system. what is the special attraction towards it? :-) thanks --Siju
Re: -current or -stable [was: Not another Browser Question]
On Sat, Mar 06, 2010 at 02:26:25PM +0530, Siju George wrote: On Sat, Mar 6, 2010 at 1:25 PM, Peter Hessler phess...@theapt.org wrote: (I'm also running dpb3 on my OpenBSD/loongson system, but that is just for private use, and to find packages that fail to build ;) ). loongson seems to be a very low end cpu system. what is the special attraction towards it? :-) thanks --Siju loongson has a very decent speed/power usage ratio. Also, i would not consider it very low end. And in general, different than mainstream hardware is attractive because it's, ehh, different. -Otto
Re: loongson was -current or -stable [was: Not another Browser Question]
Yea ,and its made by the Chinese. Fuck China. China is one of the worst murderous dictatorships in the last 500 years. If it was 1935 and the UberMensch PC would you all be falling over yourselves to get one?? George Santayana is rolling over in his grave. My appy poly loggies for my political rant. Cary on... On Sat, 06 Mar 2010 09:57 +0100, Peter Hessler phess...@theapt.org wrote: On 2010 Mar 06 (Sat) at 14:26:25 +0530 (+0530), Siju George wrote: :On Sat, Mar 6, 2010 at 1:25 PM, Peter Hessler phess...@theapt.org wrote: : : (I'm also running dpb3 on my OpenBSD/loongson system, but that is just : for private use, and to find packages that fail to build ;) ). : : :loongson seems to be a very low end cpu system. what is the special :attraction towards it? :-) : sort version: its a laptop, and its not intel. -- There's no point in being grown up if you can't be childish sometimes. -- Dr. Who
Re: loongson was -current or -stable [was: Not another Browser Question]
Yea ,and its made by the Chinese. Just like most of the electronic devices being manufactured today.
Re: loongson was -current or -stable [was: Not another Browser Question]
Eric Furman wrote: Yea ,and its made by the Chinese. Awww, what a *cute* little troll! I wonder if he realizes ... *squish* -- -RSM http://www.erratic.ca
Re: loongson was -current or -stable [was: Not another Browser Question]
On Sat, Mar 06, 2010 at 05:07:36AM -0500, Eric Furman wrote: Yea ,and its made by the Chinese. As opposed to your Thinkpad/Dell/HP/etc? Fuck China. China is one of the worst murderous dictatorships in the last 500 years. If it was 1935 and the UberMensch PC would you all be falling over yourselves to get one?? George Santayana is rolling over in his grave. My appy poly loggies for my political rant. Cary on... On Sat, 06 Mar 2010 09:57 +0100, Peter Hessler phess...@theapt.org wrote: On 2010 Mar 06 (Sat) at 14:26:25 +0530 (+0530), Siju George wrote: :On Sat, Mar 6, 2010 at 1:25 PM, Peter Hessler phess...@theapt.org wrote: : : (I'm also running dpb3 on my OpenBSD/loongson system, but that is just : for private use, and to find packages that fail to build ;) ). : : :loongson seems to be a very low end cpu system. what is the special :attraction towards it? :-) : sort version: its a laptop, and its not intel. -- There's no point in being grown up if you can't be childish sometimes. -- Dr. Who
Re: Filtering based on MAC adress
What is the reason why some packets passing on re0 will not be seen on bridge0 given I set up the following configuration : bridgename.bridge0 add re0 up I expected to see all the packets passing on re0 on bridge0 too which is obviously not the case. That would be wrong. The bridge is a bridge, not a virtual software switch. It decides not to forward packets which don't need to hit the other segments. This is described very well in the manual page. # brconfig bridge0: flags=141UP,RUNNING,PROMISC priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp re0 flags=3LEARNING,DISCOVER port 2 ifpriority 0 ifcost 0 Addresses (max cache: 100, timeout: 240): 00:1f:d0:d0:db:59 re0 1 flags=0 00:22:b0:de:32:60 re0 1 flags=0 # ifconfig re0: flags=8b43UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST mtu 1500 lladdr 00:09:55:a9:72:81 priority: 0 groups: egress media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) status: active inet6 fe80::208:55ff:aea8:7281%re0 prefixlen 64 scopeid 0x2 inet 10.0.1.44 netmask 0xff00 broadcast 10.0.1.255 enc0: flags=0 mtu 1536 priority: 0 bridge0: flags=141UP,RUNNING,PROMISC mtu 1500 priority: 0 groups: bridge pflog0: flags=141UP,RUNNING,PROMISC mtu 33200 priority: 0 groups: pflog Regards. I think it's just my mistake, I used to listen to bridge0 and therefore could see only broadcast packets. #tcpdump -i bridge0 Is the rule : #brconfig bridge0 rule pass in on fxp0 src 9:8:7:6:5:4 tag boss working in case bridge0 has only one member which means packets have nowhere to be forwarded ? Or do I need to make a virtual device in order that packets will be forwarded to it for the taggin rule to work ? Regards
Bad behavior of sensorsd on laptop
Hi all, I set sensorsd and sensorsd.conf this way : # $OpenBSD: sensorsd.conf,v 1.8 2007/08/14 19:02:02 cnst Exp $ # # Sample sensorsd.conf file. See sensorsd.conf(5) for details. # # +5 voltage (volts) #hw.sensors.lm0.volt3:low=4.8V:high=5.2V # +12 voltage (volts) #hw.sensors.lm0.volt4:low=11.5V:high=12.5V # Monitor laptop battery for remaining capacity hw.sensors.acpibat0.watthour3:low=1.40Wh:command=/etc/sensorsd/switchoff # Chipset temperature (degrees Celsius) #hw.sensors.lm0.temp0:high=50C hw.sensors.acpitz0.temp0:high=60C:command=/etc/sensorsd/switchoff hw.sensors.acpitz1.temp0:high=60C:command=/etc/sensorsd/switchoff # CPU temperature (degrees Celsius) #hw.sensors.lm0.temp1:high=60C hw.sensors.cpu0.temp0:high=65C:command=/etc/sensorsd/switchoff # CPU fan (RPM) #hw.sensors.lm0.fan1:low=3000 hw.sensors.acpithinkpad0.fan0:low=2500:command=/etc/sensorsd/switchoff # ignore certain indicators on ipmi(4) #hw.sensors.ipmi0.indicator1:istatus # Warn if any temperature sensor is over 70 degC. # This entry will match only those temperature sensors # that don't have their own entry. #temp:high=70C # By default, sensorsd(8) reports status changes of all sensors that # keep their state. Uncomment the following lines if you want to # suppress reports about status changes of specific sensor types. #temp:istatus #fan:istatus #volt:istatus #acvolt:istatus #resistance:istatus #power:istatus #current:istatus #watthour:istatus #amphour:istatus #indicator:istatus #raw:istatus #percentage:istatus #illuminance:istatus #drive:istatus #timedelta:istatus Command is simple : #!/bin/sh shutdown -h now Shutdown caused by sensor It's running from point of view that computer is turned off in case of low battery or high battery on some of sensor which has command assigned. Problem starts if your battery is empy and computer turned off. So you plug AC and start laptop. If you are below limit for hw.sensors.acpibat0.watthour3 then your laptop is turned off after login again. It's quite understandable, but if you're above limit behavior is still same. Is it problem this part from man page for sensorsd.conf? If the limits are crossed or if the status provided by the driver changes, sensorsd(8)'s alert functionality is triggered and a command, if specified, is executed. Battery status trough this sensor is changing because battery was empty and now laptop is in AC and charging. Does it really mean that it will turn off my computer after every change of battery status untill my battery is fully recharged? OpenBSD 4.7-beta (GENERIC.MP) #423: Tue Feb 23 12:24:22 MST 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Duo CPU L7300 @ 1.40GHz (GenuineIntel 686-class) 1.40 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,VMX,EST,TM2,CX16,xTPR real mem = 2657374208 (2534MB) avail mem = 2574045184 (2454MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/02/07, BIOS32 rev. 0 @ 0xfdc80, SMBIOS rev. 2.4 @ 0xe0010 (63 entries) bios0: vendor LENOVO version 7NET25WW (1.06 ) date 07/02/2007 bios0: LENOVO 766927G acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF! SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) DURT(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU L7300 @ 1.40GHz (GenuineIntel 686-class) 1.40 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,VMX,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus -1 (EXP2) acpiprt5 at acpi0: bus -1 (EXP3) acpiprt6 at acpi0: bus -1 (EXP4) acpiprt7 at acpi0: bus 5 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature 127 degC acpitz1 at acpi0: critical temperature 99 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T5247 serial 505 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000 0xe/0x1! cpu0: Enhanced SpeedStep 1397 MHz:
any known working configuration of OpenBGPd and CARP ?
Hello! we are running two OpenBSD routers organized by CARP and I'd like OpenBGPd (running on those routers) to switch as fast as CARP itself, so, I've written the following config: carp4 - uplink ethernet (currently just one uplink) MASTER, /etc/bgpd.conf: AS x router-id 10.0.0.1 network N.N.N.0/24 group Uplink { remote-as y neighbor N.N.N.N1 { descr Uplink speaker 1 set localpref 300 multihop 255 depend on carp4 announce self } neighbor N.N.N.N2 { descr Uplink speaker 2 set localpref 300 multihop 255 depend on carp4 announce self } } neighbor 10.0.0.2 { descr carp fella remote-as x announce all } BACKUP, /etc/bgpd.conf: AS x router-id 10.0.0.2 network N.N.N.0/24 group Uplink { remote-as y neighbor N.N.N.N1 { descr Uplink speaker 1 set localpref 300 multihop 255 depend on carp4 announce self } neighbor N.N.N.N2 { descr Uplink speaker 2 set localpref 300 multihop 255 depend on carp4 announce self } } neighbor 10.0.0.1 { descr carp fella remote-as x announce all } second router learns routes from carp master (since it has no direct connection while it is BACKUP), but I only see routes using bgpctl show rib, not using netstat -rn. also, there's seems to be loop, because I see many icmp dup while pinging some system. also, when BAACKUP becomes MASTER, it drops all the rib and learnes routes from uplink.which is very bad. so... does anyone know how to make friends of OpenBGPd and CARP ? cheers, Ilya Shipitsin
Re: OT: vmware mind control (WAS: Re: Dell PE850 CERC SATA controller)
On Fri, Mar 5, 2010 at 11:17 PM, Scott McEachern sc...@erratic.ca wrote: Ted Roby wrote: Hey, I got a 2 GB usb stick for my troubles over a recent fiasco with VMWare's release of Fusion 3. It seems their PR department is doing a better job than QC. Ooo, a trinket from WallyMart that you can buy for pocket change! Thanks.. I think. Hey, it's better than a(nother) kick in the pants. BTW: a bootable OpenBSD with X, scrotwm, firefox, mplayer, and a bunch of other handy stuff all fits in well under a gig on a USB stick. Make sure to mention that in your follow-up Thank-You note for the stick. :) Hey now! I think you fail to realize this particular trinket has the logo VMWARE screened on the outside of it. Oh, and it also blinks a pretty light when in use. I could be a typical Mac user, and consider this to be the best ever!. -- -RSM http://www.erratic.ca
Re: tools for finding a type of bug?
* Mark Bucciarelli mkb...@gmail.com [2010-03-05 18:38]: Is there some set of tools you all use to help find bad code? eyes, brain, grep Specifically, I'm working with a large code base (monetdb), and have found two instances where the fopen() return value was not checked. Now I'd like to search the tree and find all instances of this bug. grep! (or, advanced grep, gid from id-utils) -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting
Re: any known working configuration of OpenBGPd and CARP ?
of course there are (many) working bgpd + carp setups. * ??? chipits...@gmail.com [2010-03-06 15:14]: second router learns routes from carp master (since it has no direct connection while it is BACKUP), but I only see routes using bgpctl show rib, not using netstat -rn. also, there's seems to be loop, because I see many icmp dup while pinging some system. also, when BAACKUP becomes MASTER, it drops all the rib and learnes routes from uplink.which is very bad. the preferred setup is to have one bgp session per carp host to your upstream, i. e. you had two, and use carp on the inner interface. what you are seeing is kinda expected, the routes are invalid from the backup host's POV since it does not have a valid route to the nexthop (this is half guessed since you didn't provide any details) -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting
Re: any known working configuration of OpenBGPd and CARP ?
2010/3/6 Henning Brauer lists-open...@bsws.de: of course there are (many) working bgpd + carp setups. * ??? chipits...@gmail.com [2010-03-06 15:14]: second router learns routes from carp master (since it has no direct connection while it is BACKUP), but I only see routes using bgpctl show rib, not using netstat -rn. also, there's seems to be loop, because I see many icmp dup while pinging some system. also, when BAACKUP becomes MASTER, it drops all the rib and learnes routes from uplink.which is very bad. the preferred setup is to have one bgp session per carp host to your upstream, i. e. you had two, and use carp on the inner interface. is it possible to have carp on both inner and upstream interfaces ? any example configs for that ? what you are seeing is kinda expected, the routes are invalid from the backup host's POV since it does not have a valid route to the nexthop (this is half guessed since you didn't provide any details) there are static routes to BGP speakers # cat /etc/hostname.carp4 vhid 2 pass carpdev vlan4 advskew 200 x.x.x.x/29 !/sbin/route add N.N.N.N1/32 x.x.x.x !/sbin/route add N.N.N.N2/32 x.x.x.x well, carp4 is down while the second router is in BACKUP state (and thus I see routes in RIB, but not in FIB ?) I'd expect those routes move to FIB as second router becomes MASTER -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting
Re: any known working configuration of OpenBGPd and CARP ?
On Sat, Mar 06, 2010 at 08:45:24PM +0500, ??? wrote: 2010/3/6 Henning Brauer lists-open...@bsws.de: of course there are (many) working bgpd + carp setups. * ??? chipits...@gmail.com [2010-03-06 15:14]: second router learns routes from carp master (since it has no direct connection while it is BACKUP), but I only see routes using bgpctl show rib, not using netstat -rn. also, there's seems to be loop, because I see many icmp dup while pinging some system. also, when BAACKUP becomes MASTER, it drops all the rib and learnes routes from uplink.which is very bad. the preferred setup is to have one bgp session per carp host to your upstream, i. e. you had two, and use carp on the inner interface. is it possible to have carp on both inner and upstream interfaces ? any example configs for that ? what you are seeing is kinda expected, the routes are invalid from the backup host's POV since it does not have a valid route to the nexthop (this is half guessed since you didn't provide any details) there are static routes to BGP speakers # cat /etc/hostname.carp4 vhid 2 pass carpdev vlan4 advskew 200 x.x.x.x/29 !/sbin/route add N.N.N.N1/32 x.x.x.x !/sbin/route add N.N.N.N2/32 x.x.x.x well, carp4 is down while the second router is in BACKUP state (and thus I see routes in RIB, but not in FIB ?) I'd expect those routes move to FIB as second router becomes MASTER I guess you want to look at set nexthop self so that the routes don't point over the unavailable carp route but instead over the route the ibgp session runs on. -- :wq Claudio
Congreso Premier: Desarrollo Integral de Asistentes Ejecutivas,12 de Marzo 2010 México D.F.
2729716 [IMAGE] Congreso Premier Desarrollo Integral de Habilidades para Asistentes Ejecutivas InnovaciC3n, Productividad y ProyecciC3n 12 de Marzo de 2010 MC)xico D.F. PMS de MC)xico le presenta este exclusivo seminario, cualquier empresario o directivo de una companCa sabe el valor que tiene el trabajo de una buena asistente, este programa refuerza y perfecciona las habilidades fundamentales que una buena asistente debe dominar para desempenarse eficazmente ante las exigencias diarias de su trabajo. Beneficios para usted: -Proporcionarle a cada participante elementos que les permitan innovar, aumentar su eficacia y por ende la productividad. -Puntos relevantes: La participante al usar sus principios y tC)cnicas, podrC! realizar su trabajo con menos frustraciC3n, lo disfrutarC! mC!s e incrementarC! su profesionalismo. Esto le ayudarC! a tener un mejor entendimiento de sC misma y de su companCa, por lo que le serC! mC!s fC!cil llegar a lograr la excelencia profesional. Dirigido a: Secretarias, Asociadas al departamento, Asistentes administrativos, Asistentes ejecutivos, o cualquier otra persona relacionada con este tipo de puesto. Ventajas de asistir a nuestro seminario: Es la forma mC!s efectiva para mantenerse a la vanguardia, le brindara estrategias aplicables en su organizaciC3n, y una excelente retroalimentaciC3n con los asistentes de diferentes empresas. Mayores informes responda este correo electrC3nico con los siguientes datos. Empresa: Nombre: TelC)fono: Email. N C:mero de Interesados: Y en breve le haremos llegar la informaciC3n completa del evento. O bien comunCquense a nuestros telC)fonos un ejecutivo con gusto le atenderC! Tels. (33) 8851-2365, (33)8851-2741, (33)3125-4658 Este Mensaje ha sido enviado a como usuario de Pms de MC)xico o bien un usuario le refiriC3 para recibir este boletCn. Como usuario de Pms de MC)xico, en este acto autoriza de manera expresa que Pms de MC)xico le puede contactar vCa correo electrC3nico u otros medios. Si usted ha recibido este mensaje por error, haga caso omiso de el y reporte su cuenta respondiendo este correo con el subject BAJAASISTENTE Unsubscribe to this mailing list, reply a blank message with the subject UNSUBSCRIBE ASISTENTE Tenga en cuenta que la gestiC3n de nuestras bases de datos es de suma importancia y no es intenciC3n de la empresa la inconformidad del receptor. [demime 1.01d removed an attachment of type image/jpeg which had a name of pleca.jpg]
Re: Bad behavior of sensorsd on laptop
On Sat, Mar 06, 2010 at 02:26:28PM +0100, Tomas Bodzar wrote: Hi all, I set sensorsd and sensorsd.conf this way : # $OpenBSD: sensorsd.conf,v 1.8 2007/08/14 19:02:02 cnst Exp $ # Monitor laptop battery for remaining capacity hw.sensors.acpibat0.watthour3:low=1.40Wh:command=/etc/sensorsd/switchoff Command is simple : #!/bin/sh shutdown -h now Shutdown caused by sensor It's running from point of view that computer is turned off in case of low battery or high battery on some of sensor which has command assigned. Problem starts if your battery is empy and computer turned off. So you plug AC and start laptop. If you are below limit for hw.sensors.acpibat0.watthour3 then your laptop is turned off after login again. It's quite understandable, but if you're above limit behavior is still same. Is it problem this part from man page for sensorsd.conf? If the limits are crossed or if the status provided by the driver changes, sensorsd(8)'s alert functionality is triggered and a command, if specified, is executed. Battery status trough this sensor is changing because battery was empty and now laptop is in AC and charging. Does it really mean that it will turn off my computer after every change of battery status untill my battery is fully recharged? Yes. Write a better script to fix this. Some ideas: if the CPU gets hot, switch to low speed (apm -L) instead of turning the machine off; if the battery is low, check if you're connected to wall power before turning off; etc. Joachim
Re: Bad behavior of sensorsd on laptop
Thx. I will prepare some more complicated creatures :-) On Sat, Mar 6, 2010 at 5:09 PM, Joachim Schipper joac...@joachimschipper.nl wrote: On Sat, Mar 06, 2010 at 02:26:28PM +0100, Tomas Bodzar wrote: Hi all, I set sensorsd and sensorsd.conf this way : # $OpenBSD: sensorsd.conf,v 1.8 2007/08/14 19:02:02 cnst Exp $ # Monitor laptop battery for remaining capacity hw.sensors.acpibat0.watthour3:low=1.40Wh:command=/etc/sensorsd/switchoff Command is simple : #!/bin/sh shutdown -h now Shutdown caused by sensor It's running from point of view that computer is turned off in case of low battery or high battery on some of sensor which has command assigned. Problem starts if your battery is empy and computer turned off. So you plug AC and start laptop. If you are below limit for hw.sensors.acpibat0.watthour3 then your laptop is turned off after login again. It's quite understandable, but if you're above limit behavior is still same. Is it problem this part from man page for sensorsd.conf? B If the limits are crossed or if the status provided by the driver B B B changes, sensorsd(8)'s alert functionality is triggered and a command, if B B B specified, is executed. Battery status trough this sensor is changing because battery was empty and now laptop is in AC and charging. Does it really mean that it will turn off my computer after every change of battery status untill my battery is fully recharged? Yes. Write a better script to fix this. Some ideas: if the CPU gets hot, switch to low speed (apm -L) instead of turning the machine off; if the battery is low, check if you're connected to wall power before turning off; etc. B B B B B B B B Joachim
Re: any known working configuration of OpenBGPd and CARP ?
no, I want routes exactly to carp. the scenario is the following: 1) two servers decide who is MASTER and who is BACKUP on carp (both internal and external networks), so, from any point of view they behave as a single server (which is exactly what carp was developed for. 2) MASTER learns routes from network (eBGP) 3) BACKUP learns routes from MASTER (since it has no direct connection while it is in BACKUP state) 4) as soon as MASTER goes down, BACKUP takes it's role (with already learnt routing table) so, there's no point in iBGP routes via MASTER, as we will need routes when MASTER goes down. 2010/3/6 Claudio Jeker cje...@diehard.n-r-g.com: On Sat, Mar 06, 2010 at 08:45:24PM +0500, ??? wrote: 2010/3/6 Henning Brauer lists-open...@bsws.de: of course there are (many) working bgpd + carp setups. * ??? chipits...@gmail.com [2010-03-06 15:14]: second router learns routes from carp master (since it has no direct connection while it is BACKUP), but I only see routes using bgpctl show rib, not using netstat -rn. also, there's seems to be loop, because I see many icmp dup while pinging some system. also, when BAACKUP becomes MASTER, it drops all the rib and learnes routes from uplink.which is very bad. the preferred setup is to have one bgp session per carp host to your upstream, i. e. you had two, and use carp on the inner interface. is it possible to have carp on both inner and upstream interfaces ? any example configs for that ? what you are seeing is kinda expected, the routes are invalid from the backup host's POV since it does not have a valid route to the nexthop (this is half guessed since you didn't provide any details) there are static routes to BGP speakers # cat /etc/hostname.carp4 vhid 2 pass carpdev vlan4 advskew 200 x.x.x.x/29 !/sbin/route add N.N.N.N1/32 x.x.x.x !/sbin/route add N.N.N.N2/32 x.x.x.x well, carp4 is down while the second router is in BACKUP state (and thus I see routes in RIB, but not in FIB ?) I'd expect those routes move to FIB as second router becomes MASTER I guess you want to look at set nexthop self so that the routes don't point over the unavailable carp route but instead over the route the ibgp session runs on. -- :wq Claudio
Re: any known working configuration of OpenBGPd and CARP ?
On Sat, Mar 6, 2010 at 17:26, PP;QQ P(P8P?P8QP8P= chipits...@gmail.com wrote: no, I want routes exactly to carp. That sounds odd. Routes are something different than what particular host responds to frames directed to a specific hardware address. If I understand the rest of your description correctly, you want only the master bgpd to have sessions and to somehow distribute its routes to the backup(s), with the backups starting with that 'state' and initiate connections to your BGP peers whenever a master goes down. I doubt that'll work. In your scenario, if your master goes down, there are no longer any BGP sessions up with any of your peers. If I'm not mistaken, that will cause them to withdraw the prefixes you previously advertised from their tables and no longer forward traffic to you. When your new master is promoted, it will set up a new session with your peers. This is probably not the sort of failover you want to see happening in production. I suspect that's just one reason why Henning and Claudio made their suggestions. The N sessions for N CARP members allows for your remote peers to maintain a path back towards you and for you to have a working path out. It is very likely the path of least pain and anguish with smooth failover. Unless of course static routing were an option. While not sexy, it's simple (fewer moving parts) and still allows you to use CARP. Regards, Rogier
serial bsd.rd on loongson
What is the appropriate way to have bsd.rd (current) use only the serial interface for loongson? The current FAQ 7 does not outline the extra steps needed beyond changing /etc/ttys /Lars
Re: serial bsd.rd on loongson
On Sat, Mar 06, 2010 at 08:55:39PM +0200, Lars Nooden wrote: What is the appropriate way to have bsd.rd (current) use only the serial interface for loongson? The current FAQ 7 does not outline the extra steps needed beyond changing /etc/ttys /Lars The steps are outlined in INSTALL.loongson. You'll need to set some pmon variables. There might be a problem in the latest snap, though, the speed setting in /etc/ttys are wrong. I'll have to check how to circumvent that, if needed. -Otto
Re: serial bsd.rd on loongson
On Sat, Mar 06, 2010 at 08:09:15PM +0100, Otto Moerbeek wrote: On Sat, Mar 06, 2010 at 08:55:39PM +0200, Lars Nooden wrote: What is the appropriate way to have bsd.rd (current) use only the serial interface for loongson? The current FAQ 7 does not outline the extra steps needed beyond changing /etc/ttys /Lars The steps are outlined in INSTALL.loongson. You'll need to set some pmon variables. There might be a problem in the latest snap, though, the speed setting in /etc/ttys are wrong. I'll have to check how to circumvent that, if needed. -Otto It truns out circumvention is not needed, since bsd.rd does not have /etc/ttys. To quote the install notes: On the Fuloong 2F, getting PMON to use the serial console is tricky, due to PMON bugs and design decisions made by Lemote. PMON's default serial speed is 115200, and OpenBSD will also use that speed. By default, it is possible to use serial input if no USB keyboard is attached. PMON will nevertheless display output its on the VGA display. To get full serial access, the first step is to boot into PMON with both serial console and VGA display but no USB keyboard attached. You can type on the serial console, but output will be shown on the VGA display. Next enter the following commands: PMON set novga 1 PMON set nokbd 1 PMON set al PMON set ShowBootMenu no If you have a dual boot setup, mount the Linux boot partition and rename /boot/boot.cfg so that it does not get found by PMON. This will enable full serial access to PMON on the Fuloong 2F. This works for me, tested in a slighly different setup, with al set to the openbsd bootloader in the ext2 filesystem, and no bsd set and then reading bsd.rd form the root ffs file system: ... Secondary cache size 512kb booting: The boot.cfg not existed!System will try default entry from al. AUTO Loading file: /dev/fs/e...@wd0/boot/boot (elf) (elf) 0x81e2/42224 + 0x81e2a4f0/4400(z) + Entry address is 81e201d0 zero at v0 v1 a0 a1 a2 a3 0005 aff7fcd0 aff7fce8 800c6980 t0 t1 t2 t3 t4 t5 t6 t7 s0 s1 s2 s3 s4 s5 s6 s7 t8 t9 k0 k1 gp sp s8 ra aff7fcb0 80085690 OpenBSD/loongson BOOT 0.2 boot bsd.rd bsd.rd booting wd0a:bsd.rd: 706+483040 [58+181032+109475]=0x778a90 Found Lemote Fuloong, setting up. Initial setup done, switching console. [ using 291216 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2010 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.7-beta (RAMDISK) #0: Mon Mar 1 17:52:41 CET 2010 ...
Re: serial bsd.rd on loongson
On Sat, Mar 6, 2010 at 11:25 AM, Otto Moerbeek o...@drijf.net wrote: It truns out circumvention is not needed, since bsd.rd does not have /etc/ttys. To quote the install notes: On the Fuloong 2F, getting PMON to use the serial console is tricky, due to PMON bugs and design decisions made by Lemote. PMON's default serial speed is 115200, and OpenBSD will also use that speed. By default, it is possible to use serial input if no USB keyboard is attached. PMON will nevertheless display output its on the VGA display. ^^ should read: its output --patrick
Re: serial bsd.rd on loongson
On Sat, 6 Mar 2010, Otto Moerbeek wrote: The steps are outlined in INSTALL.loongson. You'll need to set some pmon variables. Yes, I have that working the way you do, booting off of wd0a. There are the PMON characteristics outlined in INSTALL.loongson. The serial seems needed for catching ddb output for right now. I am trying to boot off of usb0 to run some I/O tests which would erase the internal storage. The bootloader seems hardcoded for wd0 so I'll think of another way to do it. /Lars There might be a problem in the latest snap, though, the speed setting in /etc/ttys are wrong. I'll have to check how to circumvent that, if needed. -Otto It truns out circumvention is not needed, since bsd.rd does not have /etc/ttys. To quote the install notes: On the Fuloong 2F, getting PMON to use the serial console is tricky, due to PMON bugs and design decisions made by Lemote. PMON's default serial speed is 115200, and OpenBSD will also use that speed. By default, it is possible to use serial input if no USB keyboard is attached. PMON will nevertheless display output its on the VGA display. To get full serial access, the first step is to boot into PMON with both serial console and VGA display but no USB keyboard attached. You can type on the serial console, but output will be shown on the VGA display. Next enter the following commands: PMON set novga 1 PMON set nokbd 1 PMON set al PMON set ShowBootMenu no If you have a dual boot setup, mount the Linux boot partition and rename /boot/boot.cfg so that it does not get found by PMON. This will enable full serial access to PMON on the Fuloong 2F. This works for me, tested in a slighly different setup, with al set to the openbsd bootloader in the ext2 filesystem, and no bsd set and then reading bsd.rd form the root ffs file system: ... Secondary cache size 512kb booting: The boot.cfg not existed!System will try default entry from al. AUTO Loading file: /dev/fs/e...@wd0/boot/boot (elf) (elf) 0x81e2/42224 + 0x81e2a4f0/4400(z) + Entry address is 81e201d0 zero at v0 v1 a0 a1 a2 a3 0005 aff7fcd0 aff7fce8 800c6980 t0 t1 t2 t3 t4 t5 t6 t7 s0 s1 s2 s3 s4 s5 s6 s7 t8 t9 k0 k1 gp sp s8 ra aff7fcb0 80085690 OpenBSD/loongson BOOT 0.2 boot bsd.rd bsd.rd booting wd0a:bsd.rd: 706+483040 [58+181032+109475]=0x778a90 Found Lemote Fuloong, setting up. Initial setup done, switching console. [ using 291216 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2010 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.7-beta (RAMDISK) #0: Mon Mar 1 17:52:41 CET 2010 ...
Re: serial bsd.rd on loongson
On a site note, the kernel will choose serial console on the Fuloong if the PMON variables novga and nokbd are both set (value does not matter), imitating what PMON does. To switch back to VGA console unset either of these variables in PMON and attach a USB keyboard. BTW, testing this I think I found a bug. If either of novga or nokbd is set, the OpenBSD bootloader still displays its prompt on serial, but does not seem to get input from either serial or USB if a USB keyboard is attached. Only if I disconnect the USB keyboard, serial input starts to work. This is rather strange, and requires some more investigation. -Otto
Re: Bad behavior of sensorsd on laptop
On 6 March 2010 08:26, Tomas Bodzar tomas.bod...@gmail.com wrote: Hi all, I set sensorsd and sensorsd.conf this way : # $OpenBSD: sensorsd.conf,v 1.8 2007/08/14 19:02:02 cnst Exp $ # # Sample sensorsd.conf file. See sensorsd.conf(5) for details. # # +5 voltage (volts) #hw.sensors.lm0.volt3:low=4.8V:high=5.2V # +12 voltage (volts) #hw.sensors.lm0.volt4:low=11.5V:high=12.5V # Monitor laptop battery for remaining capacity hw.sensors.acpibat0.watthour3:low=1.40Wh:command=/etc/sensorsd/switchoff # Chipset temperature (degrees Celsius) #hw.sensors.lm0.temp0:high=50C hw.sensors.acpitz0.temp0:high=60C:command=/etc/sensorsd/switchoff hw.sensors.acpitz1.temp0:high=60C:command=/etc/sensorsd/switchoff # CPU temperature (degrees Celsius) #hw.sensors.lm0.temp1:high=60C hw.sensors.cpu0.temp0:high=65C:command=/etc/sensorsd/switchoff # CPU fan (RPM) #hw.sensors.lm0.fan1:low=3000 hw.sensors.acpithinkpad0.fan0:low=2500:command=/etc/sensorsd/switchoff # ignore certain indicators on ipmi(4) #hw.sensors.ipmi0.indicator1:istatus # Warn if any temperature sensor is over 70 degC. # This entry will match only those temperature sensors # that don't have their own entry. #temp:high=70C # By default, sensorsd(8) reports status changes of all sensors that # keep their state. Uncomment the following lines if you want to # suppress reports about status changes of specific sensor types. #temp:istatus #fan:istatus #volt:istatus #acvolt:istatus #resistance:istatus #power:istatus #current:istatus #watthour:istatus #amphour:istatus #indicator:istatus #raw:istatus #percentage:istatus #illuminance:istatus #drive:istatus #timedelta:istatus Command is simple : #!/bin/sh shutdown -h now Shutdown caused by sensor It's running from point of view that computer is turned off in case of low battery or high battery on some of sensor which has command assigned. Problem starts if your battery is empy and computer turned off. So you plug AC and start laptop. If you are below limit for hw.sensors.acpibat0.watthour3 then your laptop is turned off after login again. It's quite understandable, but if you're above limit behavior is still same. Is it problem this part from man page for sensorsd.conf? If the limits are crossed or if the status provided by the driver changes, sensorsd(8)'s alert functionality is triggered and a command, if specified, is executed. Battery status trough this sensor is changing because battery was empty and now laptop is in AC and charging. Does it really mean that it will turn off my computer after every change of battery status untill my battery is fully recharged? core:constant {6432} man sensorsd.conf | fgrep -C5 shutdown CAVEATS Alert functionality is triggered every time there is a change in sensor state; for example, when sensorsd(8) is started, the status of each moni- tored sensor changes from undefined to whatever it is. One must keep this in mind when using commands that may unconditionally perform adverse actions (e.g. shutdown(8)), as they will be executed even when all sen- sors perform to specification. If this is undesirable, then a wrapper shell script should be used instead. OpenBSD 4.6 March 15, 2008 2 core:constant {6433} Try using the %l token in your scripts for conditional shutdown. C.
OpenBSD 4.6 Intel Mac Mini
Hello, First - please excuse my lack of knowledge if it is completely obvious. I have the old Intel Mac Mini currently running Mac OS X Leopard with Bootcamp. The whole disk is currently dedicated to Leopard and no other operating systems exist. I would like to use my Mac Mini as a small home server for various activities and would like it to run OpenBSD 4.6. However, I have google'd and searched the archives and not found much information for me to be confident enough to install OpenBSD 4.6. Obviously it's clear that OpenBSD does run fine on the Intel Mac Mini but I'm just looking for some assistance on the procedure. I have purchased a OpenBSD 4.6 CD set and have successfully installed it on my i386 laptop and it's running smoothly. So my questions... Does any clear step by step documentation exist for installing OpenBSD on a Mac Mini? Is it a similar process as installing Windows (via Bootcamp) or is there another way to just dedicated the whole machine to OpenBSD? Any advice or links would be greatly appreciated. Thanks in advance. John
Re: any known working configuration of OpenBGPd and CARP ?
On Sat, Mar 06, 2010 at 06:52:24PM +0100, Rogier Krieger wrote: On Sat, Mar 6, 2010 at 17:26, PP;QQ P(P8P?P8QP8P= chipits...@gmail.com wrote: no, I want routes exactly to carp. That sounds odd. Routes are something different than what particular host responds to frames directed to a specific hardware address. If I understand the rest of your description correctly, you want only the master bgpd to have sessions and to somehow distribute its routes to the backup(s), with the backups starting with that 'state' and initiate connections to your BGP peers whenever a master goes down. I doubt that'll work. In your scenario, if your master goes down, there are no longer any BGP sessions up with any of your peers. If I'm not mistaken, that will cause them to withdraw the prefixes you previously advertised from their tables and no longer forward traffic to you. Right, as soon as the master dies the routes will be withdrawn (there may be some overlap since it is possible that carp switches before bgpd realizes the loss). At the moment it is not possible to have a real backup router running. I have some ideas and partial diffs that will allow backup CARP nodes to preload tables. Main problem is that we need graceful restart for this but most peers (as in cizzzcoee) are not able to assist graceful restart. Btw. I'm looking for a device that is capable of doing graceful restarts (as for example some foundry) to test my diff against. Would be great if I could get access to a lab router to play with. When your new master is promoted, it will set up a new session with your peers. This is probably not the sort of failover you want to see happening in production. That's why you have multiple bgpd routers with redundant pathes. -- :wq Claudio
Re: Make don't know how to make
Philip Guenther wrote: On Friday, March 5, 2010, Alex Carver wrote: ... Assembler messages: Warning: end of file not at end of a line; newline inserted cpp0: output pipe has been closed cc: Internal compiler error: program cc1 got fatal signal 11 [standard input]:2197: Error: Illegal operands The error isn't always the same file on two consecutive tries but they do seem to repeat themselves (in other words, init_sysent.c has shown up as an error more than once but not consecutively, same for pf.c) Intermittent and inconsistent signal 11's from the compiler: that's classically the sign of bad memory in the box. Try removing or replacing the memory. I'll try that again although I did it once before with no luck. But it's worth another shot.
Re: loongson was -current or -stable [was: Not another Browser Question]
Eric Furman is a racist bigot.
Re: -current or -stable [was: Not another Browser Question]
On Fri, Mar 05, 2010 at 01:12:17PM -0500, nixlists wrote: The other problem, that gets mentioned is some people are forced to run -current because some packages will only work with -current, and backporting sucks for many reasons. Forgot to nitpick this one. *nobody* is *forced* to run -current. no kidding. if anyone ever feels forced to run -current, or any other version of openbsd, please please please, go run windows or linux instead, just to spite us.
Re: OpenBSD 4.6 Intel Mac Mini
I run openBSD 4.6 on intel mac minis as production web and email servers. Works great. Nothing special about the install unless you want to keep a mac partion. Put in the i386 disk, reboot. May have hold down c, I forget. I think there are two partion options and I fond I works best without the HFS. Devin Ceartas Owner, NacreData L.L.C. On Mar 6, 2010, at 5:36 PM, John Hope hopejoh...@googlemail.com wrote: Hello, First - please excuse my lack of knowledge if it is completely obvious. I have the old Intel Mac Mini currently running Mac OS X Leopard with Bootcamp. The whole disk is currently dedicated to Leopard and no other operating systems exist. I would like to use my Mac Mini as a small home server for various activities and would like it to run OpenBSD 4.6. However, I have google'd and searched the archives and not found much information for me to be confident enough to install OpenBSD 4.6. Obviously it's clear that OpenBSD does run fine on the Intel Mac Mini but I'm just looking for some assistance on the procedure. I have purchased a OpenBSD 4.6 CD set and have successfully installed it on my i386 laptop and it's running smoothly. So my questions... Does any clear step by step documentation exist for installing OpenBSD on a Mac Mini? Is it a similar process as installing Windows (via Bootcamp) or is there another way to just dedicated the whole machine to OpenBSD? Any advice or links would be greatly appreciated. Thanks in advance. John
One Bug Report Or Two?
My new toy has been sitting here untouched almost a year and I've finally gotten to playing with it. It's a tiny Fujitsu Lifebook U820 tablet/netbook that was given to me. I've found two problems, but they're at least somewhat related, so I'm not sure if it's best to file one bug report, or two. I got the Feb 28 snap installed, and all is working well with the exception of the ethernet chipset driver, rl(4), keeps repeatedly giving errors: rl0: watchdog timeout And at annoying pace. While ignoring the watchdog timeout errors, I've collected required dmesg, acpidump, and pcidump (-xx and -vvv) for the bug report. Just to get things rolling, I figured I'd just quickly disable rl(4) in the kernel: boot boot -c UKC disable rl UKC quit Upon reboot, I get dropped into ddb with a uvm_fault. I've manually collected the required ps, registers and trace. I still need to figure out how to connect this thing to a serial console. Yep, seems triggered by ACPI AML crap. --How the hell you guys ever got ACPI/AML at all working seems like a miracle. Song45 comes to mind. Anyhow, should this/these be reported as one bug, or two? Just for notes, to plug in the wired network connection (RF45) requires either the docking station or a dongle, but since I haven't taken them apart yet, I've got no clue what widgets might be inside them, or if using them has any effect on the above. (will test before filing). The great news is, if I disable the network adapter in the system bios, everything I've tried so far works perfectly, sans the network adapter. X works out of the box with startx (no xorg.conf), but I still haven't gotten into trying to enable the whole table/touch screen stuff. I also haven't gotten to testing the wireless, GPS, cam, finger reader, and all the other gizmos. jcr
Re: any known working configuration of OpenBGPd and CARP ?
2010/3/7 Claudio Jeker cje...@diehard.n-r-g.com: On Sat, Mar 06, 2010 at 06:52:24PM +0100, Rogier Krieger wrote: On Sat, Mar 6, 2010 at 17:26, P P;Q Q P(P8P?P8Q P8P= chipits...@gmail.com wrote: no, I want routes exactly to carp. That sounds odd. Routes are something different than what particular host responds to frames directed to a specific hardware address. If I understand the rest of your description correctly, you want only the master bgpd to have sessions and to somehow distribute its routes to the backup(s), with the backups starting with that 'state' and initiate connections to your BGP peers whenever a master goes down. I doubt that'll work. In your scenario, if your master goes down, there are no longer any BGP sessions up with any of your peers. If I'm not mistaken, that will cause them to withdraw the prefixes you previously advertised from their tables and no longer forward traffic to you. Right, as soon as the master dies the routes will be withdrawn (there may be some overlap since it is possible that carp switches before bgpd realizes the loss). At the moment it is not possible to have a real backup router running. I have some ideas and partial diffs that will allow backup CARP nodes to preload tables. Main problem is that we need graceful restart for this but most peers (as in cizzzcoee) are not able to assist graceful restart. Btw. I'm looking for a device that is capable of doing graceful restarts (as for example some foundry) to test my diff against. Would be great if I could get access to a lab router to play with. we have Juniper on other side, I could test the patch. When your new master is promoted, it will set up a new session with your peers. This is probably not the sort of failover you want to see happening in production. That's why you have multiple bgpd routers with redundant pathes. from the network point of view, packets will come from the same MAC an IP address (because of CARP), so ... if BACKUP will just continue to maintain a session, established by MASTER, nobody will even know, 1 sec is nothing in terms of BGP -- :wq Claudio
Re: serial bsd.rd on loongson
On Sat, Mar 06, 2010 at 09:57:59PM +0200, Lars Nooden wrote: On Sat, 6 Mar 2010, Otto Moerbeek wrote: The steps are outlined in INSTALL.loongson. You'll need to set some pmon variables. Yes, I have that working the way you do, booting off of wd0a. There are the PMON characteristics outlined in INSTALL.loongson. The serial seems needed for catching ddb output for right now. I am trying to boot off of usb0 to run some I/O tests which would erase the internal storage. The bootloader seems hardcoded for wd0 so I'll think of another way to do it. The reason the bootloader cannot read from a usb attached disk is that PMON resets the usb buses just before it tranfers control to the loaded image. This means the booloaders only has access to the built-in disk. It remains possible to load a kernel directly from an ext2 filesystem on an a usb device, without using the bootloader. -Otto /Lars There might be a problem in the latest snap, though, the speed setting in /etc/ttys are wrong. I'll have to check how to circumvent that, if needed. -Otto It truns out circumvention is not needed, since bsd.rd does not have /etc/ttys. To quote the install notes: On the Fuloong 2F, getting PMON to use the serial console is tricky, due to PMON bugs and design decisions made by Lemote. PMON's default serial speed is 115200, and OpenBSD will also use that speed. By default, it is possible to use serial input if no USB keyboard is attached. PMON will nevertheless display output its on the VGA display. To get full serial access, the first step is to boot into PMON with both serial console and VGA display but no USB keyboard attached. You can type on the serial console, but output will be shown on the VGA display. Next enter the following commands: PMON set novga 1 PMON set nokbd 1 PMON set al PMON set ShowBootMenu no If you have a dual boot setup, mount the Linux boot partition and rename /boot/boot.cfg so that it does not get found by PMON. This will enable full serial access to PMON on the Fuloong 2F. This works for me, tested in a slighly different setup, with al set to the openbsd bootloader in the ext2 filesystem, and no bsd set and then reading bsd.rd form the root ffs file system: ... Secondary cache size 512kb booting: The boot.cfg not existed!System will try default entry from al. AUTO Loading file: /dev/fs/e...@wd0/boot/boot (elf) (elf) 0x81e2/42224 + 0x81e2a4f0/4400(z) + Entry address is 81e201d0 zero at v0 v1 a0 a1 a2 a3 0005 aff7fcd0 aff7fce8 800c6980 t0 t1 t2 t3 t4 t5 t6 t7 s0 s1 s2 s3 s4 s5 s6 s7 t8 t9 k0 k1 gp sp s8 ra aff7fcb0 80085690 OpenBSD/loongson BOOT 0.2 boot bsd.rd bsd.rd booting wd0a:bsd.rd: 706+483040 [58+181032+109475]=0x778a90 Found Lemote Fuloong, setting up. Initial setup done, switching console. [ using 291216 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2010 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.7-beta (RAMDISK) #0: Mon Mar 1 17:52:41 CET 2010 ...
Cursos y Carreras Gratuitas de Informatica.
Hola, Como estas ? Me contacto en esta oportunidad para comentarte que ganaste la posibilidad de Capacitarte en Informatica totalmente gratis: Carreras Cisco - Linux - Microsoft - Seguridad - Office entre otros. NO Pierdas Tiempo NI Dinero, OBTENE TU CURSO TOTALMENTE BONIFICADO. ? Queres saber como ? Pasame tu numero de telefono, asi podemos comentarle mejor al respecto. QUEDAN POCOS LUGARES !! Sino llamanos al 50312233 o visita nuestra pagina web www.becasinformatica.com. Podes cursar de forma presencial o a distancia desde cualquier parte del mundo Quedo a tu disposicion y a la espera de tus comentarios. Saludo muy atento, Marina Fuentes BecasInformatica.com Tel: 54-11-50312233 Email: be...@becasinformatica.com . -- Powered by CTNewsletter, mail.ctnewsltter.com.ar --