Re: ospf unexpectedly changing to EXSTA
On Fri, Aug 8, 2008 at 2:17 AM, clifford bailey <[EMAIL PROTECTED]> wrote: > Finally my ospf config: > hello-interval 1 > router-dead-time 2 Those timings might be a little agressive for VMs to handle, as missing a single hello could cause all sorts of excitement with the default SPF timer values. -- Jon
Does anyone use sup(1)?
It seems the other BSDs have removed it from the base. Is anyone using it on OpenBSD? I thought it might be useful tool to update some configs on my network, but I can't seem to get it working. I'm getting errors like: SUP: SCM GOAWAY Can't read list file sup/junk/list [t22.mokaz.com] I've read the man pages and the PDF titled "The SUP Software Upgrade Protocol" I found at http://www.cs.cmu.edu/afs/cs.cmu.edu/project/mach/public/sup/sup.ps. The documentation seems very verbose and unclear. Can anybody give me a clue, like an example sup file on the client and the directory structure on both the client and server? Maybe I shouldn't be using sup(1) anyway? Other suggestions for keeping config files updated among servers on a network? I like sup because of the "execute trigger" mechanism."
Re: Problem with rtadvd/rtsol
saqmaster wrote: I'm in the process of setting up one of my obsd 4.2 boxes as an ipv6 router (6to4). I've configured rtadvd, as far as I can see, correctly I haven't looked at any other informations you provided, but I can tell you the last thing you should do if you want to setup a router is to do it with an old version as you do now, (my obsd 4.2). There was sooo many changes done from that time that I really don't think the time to even try it is worth it here. Even in current, or up coming 4.4 include HUGE amount of changes in that area. Do yourself a favor and use something more up to date as far as router code is concern if you really want to setup a router with OpenBSD. I would go as far as suggesting to use current for that task. The if it still doesn't work for you, I think you have more chance to get help then. Best, Daniel
Re: Software RAID with OpenBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Aug 09, 2008 at 17:22:58 -0300, Marco Peereboom wrote: > > On Aug 9, 2008, at 10:23 AM, "Roberto Pereyra" > > <[EMAIL PROTECTED] > > wrote: > > > > Look this link: > > > > http://contenidosonline.blogspot.com/2007/01/raid-1-por-software-con-openbsd.html > All the information regarding softraid is in man bioctl bio & softraid. > > Raidframe is a little oldish these days. I am a few features away > before we can start thinking about chunking it in favor if softraid. And it is already sufficiently robust like being used in stable systems? What experience you had using it? There is some other guide of softraid beyond man pages? Thanks to both for your replies. Regards, Daniel iEYEARECAAYFAkieJ1YACgkQZpa/GxTmHTfamQCeNwirXaW4ckiqfZH3ZQE2ETBQ sX0AniyFRqHzGhrNkOZM/+kd7Aau/cUS =FVMu -END PGP SIGNATURE-
Problem with rtadvd/rtsol
Hi, This is my first post here so please let me know if I need to adjust my approach :-) I'm in the process of setting up one of my obsd 4.2 boxes as an ipv6 router (6to4). I've configured rtadvd, as far as I can see, correctly :- # cat /etc/rtadvd.conf pcn0:\ :addr="2001:08B0:0013:0001::":prefixlen#64: If, on another host I try and rstol, I get :- # rtsol -d pcn0 checking if pcn0 is ready... pcn0 is ready send RS on pcn0, whose state is 2 invalid RA with non link-local source from 2001:8b0:13:1::1 on pcn0 send RS on pcn0, whose state is 2 invalid RA with non link-local source from 2001:8b0:13:1::1 on pcn0 send RS on pcn0, whose state is 2 invalid RA with non link-local source from 2001:8b0:13:1::1 on pcn0 No answer after sending 3 RSs stop timer for pcn0 there is no timer And on the rtadvd server :- rtadvd[2066]: RS received from fe80::20c:29ff:fecd:f77a on pcn0 rtadvd[2066]: set timer to 0:185635. waiting for inputs or timeout rtadvd[2066]: RA timer on pcn0 is expired rtadvd[2066]: send RA on pcn0, # of waitings = 1 rtadvd[2066]: RA timer on pcn0 is set to 361:0 rtadvd[2066]: set timer to 361:0. waiting for inputs or timeout rtadvd[2066]: RA received from 2001:8b0:13:1::1 on pcn0 rtadvd[2066]: set timer to 360:995941. waiting for inputs or timeout rtadvd[2066]: RS received from fe80::20c:29ff:fecd:f77a on pcn0 rtadvd[2066]: set timer to 0:13146. waiting for inputs or timeout rtadvd[2066]: RA timer on pcn0 is expired rtadvd[2066]: send RA on pcn0, # of waitings = 1 rtadvd[2066]: RA timer on pcn0 is set to 259:0 rtadvd[2066]: set timer to 259:0. waiting for inputs or timeout rtadvd[2066]: RA received from 2001:8b0:13:1::1 on pcn0 rtadvd[2066]: set timer to 258:995435. waiting for inputs or timeout rtadvd[2066]: RS received from fe80::20c:29ff:fecd:f77a on pcn0 rtadvd[2066]: set timer to 0:303812. waiting for inputs or timeout rtadvd[2066]: RA timer on pcn0 is expired rtadvd[2066]: send RA on pcn0, # of waitings = 1 rtadvd[2066]: RA timer on pcn0 is set to 370:0 rtadvd[2066]: set timer to 370:0. waiting for inputs or timeout rtadvd[2066]: RA received from 2001:8b0:13:1::1 on pcn0 rtadvd[2066]: set timer to 369:995653. waiting for inputs or timeout Could anyone point me to where i'm going wrong? Thanks!
Re: Software RAID with OpenBSD
All the information regarding softraid is in man bioctl bio & softraid. Raidframe is a little oldish these days. I am a few features away before we can start thinking about chunking it in favor if softraid. On Aug 9, 2008, at 10:23 AM, "Roberto Pereyra" <[EMAIL PROTECTED] > wrote: Daniel Look this link: http://contenidosonline.blogspot.com/2007/01/raid-1-por-software-con-openbsd.html roberto 2008/8/9 Daniel Bareiro <[EMAIL PROTECTED]>: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all! Using OpenBSD 4.3 I had desire to prove software RAID. According to I was reading, if I didn't understand bad, are two implementations: RAIDframe and softraid. Although in some document that I read it said that softraid is not recommended in stable systems. That implementation recommends to me? Some interesting document to implement it? Thanks in advance. Regards, Daniel iEYEARECAAYFAkidpQAACgkQZpa/GxTmHTfbLACgkKYY8m9FSjOplSXybXFetMUR FwAAnRF1gS+EqDGGDYm4VwCbKrH27+Xt =pmOk -END PGP SIGNATURE- -- Ing. Roberto Pereyra ContenidosOnline http://www.contenidosonline.com.ar Get secure managed email for your own domain with Hushmail Business - http://www.hushmail.com/business?l=503&a=3211
Re: Is this an fsck_ffs memory issue?
Jan Stary wrote: On Aug 02 20:55:56, Mark Smith wrote: So yes it is a memory issue, your 500G disk is too big for your Alix1c. To be precise: the 500G _filesystem_ is too big, not the disk, right? fsck'ing 10 separate 50g filesystems would be less of a problem, right? jan Yes.
Re: Is this an fsck_ffs memory issue?
On Aug 02 20:55:56, Mark Smith wrote: > So yes it is a memory issue, your 500G disk is too big for your Alix1c. To be precise: the 500G _filesystem_ is too big, not the disk, right? fsck'ing 10 separate 50g filesystems would be less of a problem, right? jan
Re: Software RAID with OpenBSD
Daniel Look this link: http://contenidosonline.blogspot.com/2007/01/raid-1-por-software-con-openbsd.html roberto 2008/8/9 Daniel Bareiro <[EMAIL PROTECTED]>: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all! > > Using OpenBSD 4.3 I had desire to prove software RAID. According to I > was reading, if I didn't understand bad, are two implementations: > RAIDframe and softraid. > > Although in some document that I read it said that softraid is not > recommended in stable systems. That implementation recommends to me? > > Some interesting document to implement it? > > Thanks in advance. > > Regards, > Daniel > iEYEARECAAYFAkidpQAACgkQZpa/GxTmHTfbLACgkKYY8m9FSjOplSXybXFetMUR > FwAAnRF1gS+EqDGGDYm4VwCbKrH27+Xt > =pmOk > -END PGP SIGNATURE- > > -- Ing. Roberto Pereyra ContenidosOnline http://www.contenidosonline.com.ar Get secure managed email for your own domain with Hushmail Business - http://www.hushmail.com/business?l=503&a=3211
Software RAID with OpenBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all! Using OpenBSD 4.3 I had desire to prove software RAID. According to I was reading, if I didn't understand bad, are two implementations: RAIDframe and softraid. Although in some document that I read it said that softraid is not recommended in stable systems. That implementation recommends to me? Some interesting document to implement it? Thanks in advance. Regards, Daniel iEYEARECAAYFAkidpQAACgkQZpa/GxTmHTfbLACgkKYY8m9FSjOplSXybXFetMUR FwAAnRF1gS+EqDGGDYm4VwCbKrH27+Xt =pmOk -END PGP SIGNATURE-
ospfd seq num mismatch
Hi All, I'm having a problem with ospfd on a 4.3 system (dmesg below) and I'm hoping someone here can suggest something to help me resolve it. The problem is that occasionally the system loses all routes learned via OSPF ('netstat -rn' and 'ospfctl show fib' continue to show connected and static routes). I have not been able to force the problem to occur, nor have I been able to correlate it to any other events. I am able to restore routing by restarting ospfd. When the problem happens, I see these entries in the messages and daemon logs: $ grep ospfd /var/log/messages Aug 8 15:30:08 psc-wifigw1 ospfd[20751]: recv_db_description: seq num mismatch, bad flags Aug 8 16:29:35 psc-wifigw1 ospfd[20751]: recv_db_description: invalid seq num, mine d5e04e66 his d5e04e65 Aug 8 16:29:35 psc-wifigw1 ospfd[20751]: nbr_fsm: neighbor ID 10.222.16.65, event SEQ_NUM_MISMATCH not expected in state EXSTA Aug 8 16:29:39 psc-wifigw1 ospfd[20751]: recv_db_description: seq num mismatch, bad flags Aug 8 16:40:08 psc-wifigw1 ospfd[20751]: recv_db_description: seq num mismatch, bad flags Aug 8 16:49:44 psc-wifigw1 ospfd[20751]: recv_db_description: seq num mismatch, bad flags Aug 8 16:50:42 psc-wifigw1 ospfd[20751]: nbr_adj_timer: failed to form adjacency with 10.222.16.33 Aug 8 16:51:42 psc-wifigw1 ospfd[20751]: nbr_adj_timer: failed to form adjacency with 10.222.16.33 Aug 8 17:00:42 psc-wifigw1 ospfd[20751]: nbr_adj_timer: failed to form adjacency with 10.222.16.33 Aug 8 17:01:42 psc-wifigw1 ospfd[20751]: nbr_adj_timer: failed to form adjacency with 10.222.16.33 Aug 8 18:49:49 psc-wifigw1 ospfd[28802]: lost child: route decision engine exited Aug 8 18:49:49 psc-wifigw1 ospfd[20751]: if_leave_group: error IP_DROP_MEMBERSHIP, interface em0 address 224.0.0.6: Can't assign requested address Aug 8 19:43:18 psc-wifigw1 ospfd[9675]: nbr_fsm: neighbor ID 10.222.16.33, event LOADING_DONE not expected in state EXCHG Aug 8 19:43:22 psc-wifigw1 ospfd[9675]: recv_db_description: seq num mismatch, bad flags The "invalid seq num, mine... his..." always seems to show a difference of one. Here is my ospfd.conf: $ sudo ospfd -nvf /etc/ospfd.conf router-id 10.223.32.130 fib-update yes rfc1583compat no stub router yes redistribute connected spf-delay 1 spf-holdtime 5 area 0.0.0.50 { interface em1:10.223.32.1 { hello-interval 10 metric 10 retransmit-interval 5 router-dead-time 40 router-priority 1 transmit-delay 1 auth-type crypt auth-md-keyid 2 auth-md 2 XX } } area 0.0.0.0 { interface em0:10.222.0.5 { hello-interval 10 metric 10 retransmit-interval 5 router-dead-time 40 router-priority 1 transmit-delay 1 auth-type none } } Here is my dmesg output: $ dmesg OpenBSD 4.3 (GENERIC.MP) #1582: Wed Mar 12 11:16:45 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2145873920 (2046MB) avail mem = 2072150016 (1976MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf (41 entries) bios0: vendor Sun Microsystems version "1.0.9" date 03/20/2006 bios0: Sun Microsystems Sun Fire(TM) X2100 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP SSDT SRAT MCFG APIC acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) XVR3(S5) USB0(S3) USB2(S3) MMAC(S5) MMCI(S5) UAR1(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Dual Core AMD Opteron(tm) Processor 175, 2211.58 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: apic clock running at 201MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Dual Core AMD Opteron(tm) Processor 175, 2211.33 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative ioapic0 at mainbus0 apid 2 pa 0xfec0, version 11, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (HUB0) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: PWRB ipmi at mainbus0 not configured cpu0: Cool'n'Quiet K8 2211 MHz
Re: cwm keybindings misbehavior
Hi, I have had a look at cwm today. It looks nice. This is OpenBSD 4.3 GENERIC#698 i386 I have found out that when I redefine term in .calmwm with a symbolic link to xterm with a certain font, that geometry etc, pressing C-M-Enter spawns a new terminal, the one I redefined but, then, when trying to use the nice ``Ssh to'' dialog with M-. I simply get "my" xterm after the dialog but no connexion. ? virtual desktops would be nice, but I'll just take what they give me, this is not a wish-list Pau 2008/6/18 Daniel B. <[EMAIL PROTECTED]>: > On Sat, 14 Jun 2008, Nicolas Legrand wrote: > >> "Daniel B." <[EMAIL PROTECTED]> writes: >> >> > Hi, >> > >> > I can't get the response desired to some of the default keybindings in >> > cwm. >> > >> > Some of them: M-/, C-/, M-?. With the first and the third, I just hear a >> > beep (or a Wuff!! in screen). The second delete my window if not in >> > screen, or just "Wuff!!" in screen. >> > >> > Any hints? Thank you. >> >> I had the same problem on a very old iMac. It was the only computer >> who had the same problem you have. I could remap the keybindings in >> .cwmrc, but none of the ASCII characters could be used in a >> keybinding. Anyway I found a work around five minutes ago. >> >> The big difference with this one and the others is I have a xorg.conf >> on it with those rules for keyboard : >> >> Section "InputDevice" >> Identifier "Keyboard0" >> Driver "keyboard" >> Option "Protocol" "standard" >> Option "XkbRules" "xorg" >> Option "XkbModel" "macintosh" >> Option "XkbLayout" "fr" >> EndSection >> >> I launch X, launch a xterm, I don't have the keybindings with fr >> layout. I usualy use the dvorak layout (don't ask), I type 'setxkbmap >> dvorak' and I don't have the keybindings. I try to comment all lines >> appart 'Identifier' and 'Driver' and add 'Option "XkbLayout" "dvorak"' >> and I don't have the keybindings. >> >> Finally I just wrote the .xinitrc I wrote on my others machines : >> >> setxkbmap dvorak& >> cwm >> >> And it works. Going back to fr with 'setxkbmap fr' don't work, going >> back to dvorak layout after and keybindings still work. Writing fr in >> place of dvorak in .xinitrc make keybindings works for fr, but if I >> change keybindings to dvorak after cwm is launch it doesn't work >> anymore. >> >> >> Change your layout in .xinitrc before launching cwm, don't change your >> layout after : that's my workaround. Understanding truly "why?" is >> yet beyond my skills (thought I'd be interested in answers). I hope >> this description will tip people with skills and knowledge on real >> solutions :-). > > Actually I lost the repeat function, e.g. to delete a word I can't just > press and hold backspace. It's pretty much a detail, but I miss it. > > Thank you.