Re: reliable, dd over simple ip network
You know ssh will compress what goes through its tunnel to begin with, right? So, you can eliminate at least one command there.. On 10/17/08, Girish Venkatachalam <[EMAIL PROTECTED]> wrote: > On 17:29:56 Oct 17, Mike wrote: >> > >> > will work out much faster and better than plain old dd(1). >> > >> > On the other side you have to run >> > >> > # | restore xf - >> > >> > -Girish >> > >> >> whats the going to be? > > Sorry I was wrong. It was meant to be done in one step from the "dump > side". > > This works for me. > > # dump af - /dev/rwd0d | gzip -c - | ssh "gzip -d -| > restore rf -" > > Hope it works out for you. > > Thanks. > > -Girish
Re: reliable, dd over simple ip network
On 17:29:56 Oct 17, Mike wrote: > > > > will work out much faster and better than plain old dd(1). > > > > On the other side you have to run > > > > # | restore xf - > > > > -Girish > > > > whats the going to be? Sorry I was wrong. It was meant to be done in one step from the "dump side". This works for me. # dump af - /dev/rwd0d | gzip -c - | ssh "gzip -d -| restore rf -" Hope it works out for you. Thanks. -Girish
Re: Installing OpenBSD 4.4 AMD64 with more than 4GB
On Fri, Oct 17, 2008 at 4:08 PM, Erik Carlseen <[EMAIL PROTECTED]> wrote: Region 6: type 3 at 0xcfe4efc0 for 32KB > Apparently I've fixed my own problem - I needed to also delete the memory at > Region 6 with this command: > machine memory [EMAIL PROTECTED] > I'll try adding back in some of the other regions and post my results to the > list in case anyone else winds up with the same problem. There was some work done to auto skip very small regions like this, but I'd have to check on the status of that.
Acapulco 24 y 25 de Noviembre, confirme su asistencia
Congreso Latinoamericano de Mantenimiento Preventivo y Predictivo 24 y 25 de Noviembre Hotel Calinda Beach Acapulco Guerrero Unica presentacion Solicite Un folleto Con toda la informacion sobre este magno Evento, responda este mail con los siguientes datos: Nombre: Puesto: Empresa: Tel (Lada): o Llame a nuestras Principales Oficinas en el pais Tel: (33) 36424575 CON 100 LINEAS para dejar de recibir este boletin responda baja725
Re: firNAS (flexible, inexpensive, reliable Network Area Storage)
On Oct 17, 2008, at 3:55 PM, Anathae Townsend wrote: I've looked at a local retailer of computer equipment (they have good prices) and noticed that the least expensive of the four drive NAS appliances without drives was around $470 cdn. I pieced together a mother board, processor, memory, CF card, CF to IDE adapter, and case that would accept four SATA drives and was around $150 less expensive. Consumer NAS devices. don't look so good with that. Also, from what I hear, the consumer NAS devices typically have barely enough power to do simple SaMBa serving. How this is on topic for OpenBSD is OpenBSD seems like a good choice to use as the OS layer of the NAS. NFS, httpd (with ssl), ftp, sftp are included in the base install. Alternate Network File Systems are about the only thing that would have to be added, other than configuration settings and a management interface. The final two are what I would be developing, and adding to a package or some other release bundle. I'm sure you could do this with OpenBSD, and it would have some advantages. Make sure you have read and internalized http://www.openbsd.org/faq/faq14.html#LargeDrive before you start. You might want to take a look at the FreeNAS project, at www.freenas.org, which is based on FreeBSD. They have built a popular software NAS appliance. Your instincts to not use a consumer NAS appliance are right on, IMHO. I had a very bad experience with an InfrantNAS, when the motherboard itself began to fail, and wasn't able to extract a replacement from the mfg without buying a completely new unit. Never again! Although I use (and love) OpenBSD for lots of different kinds of servers, I have decided not to use OpenBSD for my NAS. My needs involve software-based RAID for many terrabyte+ sized drives, and for that I've found that ZFS with RAIDZ2 is truly amazing. The best existing implementation of ZFS is under Solaris10, so that is what I am using for now. ZFS has been added to FreeBSD, but I am going to wait a few releases to see how that implementation shakes out before trusting it with my data.
supported wireless cards
Hi all, I've been trying to find myself a nice wireless PCI card that will be supported by OpenBSD. I've checked the man pages for ath/an/atu/atw/etc and haven't really found anything that would work for me - for example, on ath(4) I see two PCI cards, but neither of them support g. Perhaps atw(4) has a few things that might work but I wonder if anyone has had any good performance from any cards in particular, or know any to avoid? thanks much
Re: reliable, dd over simple ip network
complete binary data of wd0c (more than 6 partitions) on one fly. neko --- On Fri, 10/17/08, Mike <[EMAIL PROTECTED]> wrote: > From: Mike <[EMAIL PROTECTED]> > Subject: Re: reliable, dd over simple ip network > To: [EMAIL PROTECTED], misc@openbsd.org > Date: Friday, October 17, 2008, 1:29 PM > > will work out much faster and better than plain old > dd(1). > > > > On the other side you have to run > > > > # | restore xf - > > > > -Girish > > > > whats the going to be? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: ral(4) stops generating traffic
> Glad to see it's not just me.. I was actually thinking this might be a > bug in the net80211 code, but you guys are also getting this with a > 2860. I have a similar ral in a 5501 and it's reliable. I don't recall needing to touch it. ral0 at pci0 dev 14 function 0 "Ralink RT2860" rev 0x00: irq 10, address 00:0c:f6:xx:xx:xx ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (2T3R) This is an old snapshot, nobody mentioned if this is a regression. kern.version=OpenBSD 4.4-current (GENERIC) #1037: Mon Sep 1 13:47:20 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC There are many 802.11 ifconfig incantations. It may be something (not) in hostname.ralx. !/sbin/ifconfig \$if mediaopt hostap mode 11g nwid ${_nwid} \ wpa wpapsk ${_wpakey} wpaciphers ccmp wpagroupcipher ccmp \ wpaprotos wpa2 wpaakms psk chan 13 up ral0: flags=8943 mtu 1500 lladdr 00:0c:f6:xx:xx:xx groups: wlan media: IEEE802.11 autoselect mode 11g hostap status: active ieee80211: nwid OpenBSD chan 13 bssid 00:0c:f6:xx:xx:xx wpapsk wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp 100dBm OpenBSD 4.4-current (GENERIC) #1037: Mon Sep 1 13:47:20 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500 MHz cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX real mem = 536440832 (511MB) avail mem = 510271488 (486MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 20/70/03, BIOS32 rev. 0 @ 0xfac40 pcibios0 at bios0: rev 2.0 @ 0xf/0x1 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc8000/0xa800 cpu0 at mainbus0 amdmsr0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x31 glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 00:00:24:ca:3d:98 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5, address 00:00:24:ca:3d:99 ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9, address 00:00:24:ca:3d:9a ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, address 00:00:24:ca:3d:9b ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, model 0x0034 ral0 at pci0 dev 14 function 0 "Ralink RT2860" rev 0x00: irq 10, address 00:0c:f6:xx:xx:xx ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (2T3R) glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 0, 32-bit 3579545Hz timer, watchdog, gpio gpio0 at glxpcib0: 32 pins pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 1-sector PIO, LBA, 244MB, 500736 sectors wd0(pciide0:0:0): using PIO mode 0 pciide0: channel 1 ignored (disabled) ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 15, version 1.0, legacy support ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 15 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 isa0 at glxpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console com1 at isa0 port 0x2f8/8 irq 3: 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS gpio1 at nsclpcsio0: 29 pins npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1 biomask e1c5 netmask ffe5 ttymask mtrr: K6-family MTRR support (2 registers) softraid0 at root root on wd0a swap on wd0b dump on wd0b
Fw: reliable, dd over simple ip network =FIX!=
i think mr Henderson actually found what i was looking for. anybody whith a better idea im still interested in some other way allthou i knew ssh was *the stuff* i didnt know it could be lunched that way --- On Fri, 10/17/08, Neko <[EMAIL PROTECTED]> wrote: > From: Neko <[EMAIL PROTECTED]> > Subject: Re: reliable, dd over simple ip network > To: "Stuart Henderson" <[EMAIL PROTECTED]> > nice !! i didnt know whe could pass command to ssh like > that, > i read the man, but sumhow that was written to big :D > > great exactly what i needed, better off than nc > > thanks soo much!! *pulling manual* > > neko > > > you replyed me with an actual filename.tar, > > > witch i already specified i couldnt afford on the > > setup. > > > > eh? a pipe doesn't involve a file. > > > > # ssh somehost dd if=/dev/rwd0c bs=64k | dd > of=/dev/rwd0c > > bs=64k > > > > now, ssh isn't on the normal ramdisk kernel, so > you > > either > > need an installed system (maybe onto a USB drive), or > > something > > like a kernel from > > http://www.mindrot.org/projects/flashboot/ Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
firNAS (flexible, inexpensive, reliable Network Area Storage)
I'm working on an idea that might be what a friends responds to with "Just because you can do something, doesn't mean you should." I've looked at a local retailer of computer equipment (they have good prices) and noticed that the least expensive of the four drive NAS appliances without drives was around $470 cdn. I pieced together a mother board, processor, memory, CF card, CF to IDE adapter, and case that would accept four SATA drives and was around $150 less expensive. Consumer NAS devices. don't look so good with that. Also, from what I hear, the consumer NAS devices typically have barely enough power to do simple SaMBa serving. How this is on topic for OpenBSD is OpenBSD seems like a good choice to use as the OS layer of the NAS. NFS, httpd (with ssl), ftp, sftp are included in the base install. Alternate Network File Systems are about the only thing that would have to be added, other than configuration settings and a management interface. The final two are what I would be developing, and adding to a package or some other release bundle. I know how I'm intending to implement it, but I'm looking for some suggestions from the readers of openbsd misc. Anathae
Re: Record for total number of rigs running OpenBSD
At home, P4 system running 4.4 current, currently samba file server. P1 system (dell optiplex sff) running 4.4 current, will be firewall P1 system (hp vectra) running 4.4 current, internal web server P1 system (white box) will be running 4.4 current, asterix test machine Athelon (white box) flexible intelligent/inexpensive reliable Network Area Storage development machine (not online yet)
Re: Installing OpenBSD 4.4 AMD64 with more than 4GB
Erik Carlseen wrote: Ted Unangst wrote: On Fri, Oct 17, 2008 at 2:21 PM, Erik Carlseen <[EMAIL PROTECTED]> wrote: Does anyone know if this issue has been resolved? I'm trying to boot and OpenBSD 4.4 AMD64 CD on an HP BL465c-G1 (dual Opteron 2216HE CPUs, 8GB RAM) and getting the following during the boot process (this is transcribed manually, so I apologize in advance for any typos): CD-ROM: 9F Loading /4.4/AMD64/CDBOOT probing: pc0 com0 com1 mem[637K 255M 256M 2814M 4853M a20=on] disk: fd0 fd1 hd0+* cd0 >> OpenBSD/amd64 CDBOOT 2.01 boot> machine memory Region 0: type 1 at 0x0 for 637KB Region 1: type 2 at 0x9f400 for 3KB Region 2: type 2 at 0xf for 64KB Region 3: type 1 at 0x10 for 261120KB Region 4: type 1 at 0x1000 for 262144KB Region 5: type 1 at 0x2000 for 2881851KB Region 6: type 3 at 0xcfe4efc0 for 32KB Region 7: type 1 at 0xcfe56fc0 for 4 KB Region 8: type 2 at 0xcfe57fc0 for 1696KB Region 9: type 2 at 0xfec0 for 1024KB Region 10: type 2 at 0xfee0 for 64KB Region 11: type 2 at 0xffc0 for 4096KB Region 12: type 1 at 0x10 for 4980732KB Something like machine memory [EMAIL PROTECTED] here. Check the numbers, and I've never actually tried this. Ted, thanks for the suggestion... I new think I've gotten the hang of this "removing memory blocks" thing but it hasn't gotten me very far (see below). Low ram: 637KB High ram: 3405115KB Total free memory: 8386488KB boot> boot booting cd0a:/4.4/amd64/bsd.rd: 2561344+548422+2799208+0+492560 [80+259200+161660]=0xa82360 entry point at 0x1001e0 [7205c766, 3404, 2448b12, 840a304] Ignoring 4863MB above 4GB panic: init_x86_64: can't find end of memory The operating system has halted. Please press any key to reboot. Is there any way to get this to start, other than driving my lazy self 100 miles to the data center and yanking 4GB out of it? Any help, thoughts, and criticism that doesn't involve suicide booths is appreciated. -Erik I started out getting rid of Region 12 with this command: machine memory [EMAIL PROTECTED] No dice - same problem. So in addition to axing Region 12, I tried paring down Region 5 bit-by-bit (pun semi-intended), to the point where I was eliminating it completely: machine memory [EMAIL PROTECTED] machine memory [EMAIL PROTECTED] Yes, I rounded the value up a bit - there seems to be a rounding error in the amount of memory reported; this seems to get rid of it without affecting the next block. In any case, it still wouldn't boot. I got extreme and eliminated Regions 5, 6, and 12: machine memory [EMAIL PROTECTED] machine memory [EMAIL PROTECTED] machine memory [EMAIL PROTECTED] I'm down to just under 256MB of RAM and I'm still stuck on the same error during the boot process. It's still exactly the same as transcribed below, except that the "Ignoring 4863MB above 4GB" message is no longer there (for obvious reasons). Any additional ideas would be appreciated. -Erik Apparently I've fixed my own problem - I needed to also delete the memory at Region 6 with this command: machine memory [EMAIL PROTECTED] I'll try adding back in some of the other regions and post my results to the list in case anyone else winds up with the same problem. -Erik
Re: Installing OpenBSD 4.4 AMD64 with more than 4GB
Ted Unangst wrote: On Fri, Oct 17, 2008 at 2:21 PM, Erik Carlseen <[EMAIL PROTECTED]> wrote: Does anyone know if this issue has been resolved? I'm trying to boot and OpenBSD 4.4 AMD64 CD on an HP BL465c-G1 (dual Opteron 2216HE CPUs, 8GB RAM) and getting the following during the boot process (this is transcribed manually, so I apologize in advance for any typos): CD-ROM: 9F Loading /4.4/AMD64/CDBOOT probing: pc0 com0 com1 mem[637K 255M 256M 2814M 4853M a20=on] disk: fd0 fd1 hd0+* cd0 >> OpenBSD/amd64 CDBOOT 2.01 boot> machine memory Region 0: type 1 at 0x0 for 637KB Region 1: type 2 at 0x9f400 for 3KB Region 2: type 2 at 0xf for 64KB Region 3: type 1 at 0x10 for 261120KB Region 4: type 1 at 0x1000 for 262144KB Region 5: type 1 at 0x2000 for 2881851KB Region 6: type 3 at 0xcfe4efc0 for 32KB Region 7: type 1 at 0xcfe56fc0 for 4 KB Region 8: type 2 at 0xcfe57fc0 for 1696KB Region 9: type 2 at 0xfec0 for 1024KB Region 10: type 2 at 0xfee0 for 64KB Region 11: type 2 at 0xffc0 for 4096KB Region 12: type 1 at 0x10 for 4980732KB Something like machine memory [EMAIL PROTECTED] here. Check the numbers, and I've never actually tried this. Ted, thanks for the suggestion... I new think I've gotten the hang of this "removing memory blocks" thing but it hasn't gotten me very far (see below). Low ram: 637KB High ram: 3405115KB Total free memory: 8386488KB boot> boot booting cd0a:/4.4/amd64/bsd.rd: 2561344+548422+2799208+0+492560 [80+259200+161660]=0xa82360 entry point at 0x1001e0 [7205c766, 3404, 2448b12, 840a304] Ignoring 4863MB above 4GB panic: init_x86_64: can't find end of memory The operating system has halted. Please press any key to reboot. Is there any way to get this to start, other than driving my lazy self 100 miles to the data center and yanking 4GB out of it? Any help, thoughts, and criticism that doesn't involve suicide booths is appreciated. -Erik I started out getting rid of Region 12 with this command: machine memory [EMAIL PROTECTED] No dice - same problem. So in addition to axing Region 12, I tried paring down Region 5 bit-by-bit (pun semi-intended), to the point where I was eliminating it completely: machine memory [EMAIL PROTECTED] machine memory [EMAIL PROTECTED] Yes, I rounded the value up a bit - there seems to be a rounding error in the amount of memory reported; this seems to get rid of it without affecting the next block. In any case, it still wouldn't boot. I got extreme and eliminated Regions 5, 6, and 12: machine memory [EMAIL PROTECTED] machine memory [EMAIL PROTECTED] machine memory [EMAIL PROTECTED] I'm down to just under 256MB of RAM and I'm still stuck on the same error during the boot process. It's still exactly the same as transcribed below, except that the "Ignoring 4863MB above 4GB" message is no longer there (for obvious reasons). Any additional ideas would be appreciated. -Erik
Re: ral(4) stops generating traffic
On Fri, 17 Oct 2008, Guido Tschakert wrote: Stuart Henderson schrieb: I think I probably see the same thing on RT2860, but you've got further tracking down what's happening than me (my debugging is hampered by the AP being about 2 hour's drive away..) In gmane.os.openbsd.misc, you wrote: # dmesg | grep ral ral0 at pci0 dev 14 function 0 "Ralink RT2860" rev 0x00: irq 10EEPROM rev=1, FAE=1 ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (2T3R) After an unfixed amount of time, from a few minutes up to a few days, the interface simply stops respoding to probe requests: After reading this, I think I have a similar problem (But sorry, I did not dig any deeper) First the part of the dmesg: ral0 at pci0 dev 20 function 0 "Ralink RT2860" rev 0x00: irq 15, address xx:xx:xx:xx:xx:xx ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (2T3R) and my /etc/hostname.ral0 contains: inet x.y.z.w a.b.c.d NONE media autoselect mode 11g mediaopt hostap nwid abc wpa wpapsk 0xa0101010101010101010101010101010101010101010101010101010101010101 wpaprotos wpa1 chan 11 description "WLAN WPA" From time to time I could not connect any more so I had to "restart" ral0 which leads to my (quick'n'dirty) workaround. In my /etc/crontab is the following line: 30 4 * * * root /bin/sh /etc/netstart ral0 Up to now this worked for me and I have forgotten about the problem :-( until I read this thread... Glad to see it's not just me.. I was actually thinking this might be a bug in the net80211 code, but you guys are also getting this with a 2860. I used sendbug, the bug is kernel/5958. Hopefully damien@ or someone else will have time to try to reproduce it.. bbee
Re: Installing OpenBSD 4.4 AMD64 with more than 4GB
On Fri, Oct 17, 2008 at 2:21 PM, Erik Carlseen <[EMAIL PROTECTED]> wrote: > Does anyone know if this issue has been resolved? I'm trying to boot and > OpenBSD 4.4 AMD64 CD on an HP BL465c-G1 (dual Opteron 2216HE CPUs, 8GB RAM) > and getting the following during the boot process (this is transcribed > manually, so I apologize in advance for any typos): > > CD-ROM: 9F > Loading /4.4/AMD64/CDBOOT > probing: pc0 com0 com1 mem[637K 255M 256M 2814M 4853M a20=on] > disk: fd0 fd1 hd0+* cd0 > >> OpenBSD/amd64 CDBOOT 2.01 > boot> machine memory > Region 0: type 1 at 0x0 for 637KB > Region 1: type 2 at 0x9f400 for 3KB > Region 2: type 2 at 0xf for 64KB > Region 3: type 1 at 0x10 for 261120KB > Region 4: type 1 at 0x1000 for 262144KB > Region 5: type 1 at 0x2000 for 2881851KB > Region 6: type 3 at 0xcfe4efc0 for 32KB > Region 7: type 1 at 0xcfe56fc0 for 4 KB > Region 8: type 2 at 0xcfe57fc0 for 1696KB > Region 9: type 2 at 0xfec0 for 1024KB > Region 10: type 2 at 0xfee0 for 64KB > Region 11: type 2 at 0xffc0 for 4096KB > Region 12: type 1 at 0x10 for 4980732KB Something like machine memory [EMAIL PROTECTED] here. Check the numbers, and I've never actually tried this. > Low ram: 637KB High ram: 3405115KB > Total free memory: 8386488KB > boot> boot > booting cd0a:/4.4/amd64/bsd.rd: 2561344+548422+2799208+0+492560 > [80+259200+161660]=0xa82360 > entry point at 0x1001e0 [7205c766, 3404, 2448b12, 840a304] > Ignoring 4863MB above 4GB > panic: init_x86_64: can't find end of memory > > The operating system has halted. Please press any key to reboot. > > Is there any way to get this to start, other than driving my lazy self 100 > miles to the data center and yanking 4GB out of it? > > Any help, thoughts, and criticism that doesn't involve suicide booths is > appreciated. > > -Erik
Re: Vlan Tag on Vlan Tag (l2tunneling)
On Fri, 22 Aug 2008 02:34:12 +0700, Reyk Floeter <[EMAIL PROTECTED]> wrote: Hi Reyk, I just update my source from anoncvs1.ca.openbsd.org and I got conflict on "sys/net/if_vlan.c", "sys/net/if_bridge.c" and "sys/net/if_ethersubr.c" and yes, a couple months ago I use your QinQ patch on my machines. I really like to try to solve this on my own, but currently there is no software engineer around to help me. I understand if you suggested me to follow the original code, and I really appreciate if you can help me to adjust the source code. from cvsweb, the later changes due to; * Allow ether_input() and vlan_input() to handle incoming packets where the tag is stored in the mbuf header. * Make bridge(4) handle interfaces with and without hardware tag support and forward packets inbetween. by Claudio Jeker. Below are the conflicted lines; /usr/src/sys/net/if_vlan.c <<< if_vlan.c if ((p->if_capabilities & IFCAP_VLAN_HWTAGGING) && (ifv->ifv_type == ETHERTYPE_VLAN)) { m->m_pkthdr.rcvif = ifp; m->m_flags |= M_PROTO1; === if (p->if_capabilities & IFCAP_VLAN_HWTAGGING) { m->m_pkthdr.ether_vtag = ifv->ifv_tag; m->m_flags |= M_VLANTAG; 1.77 <<< if_vlan.c tagh = etype == ETHERTYPE_QINQ ? svlan_tagh : vlan_tagh; tag = EVL_VLANOFTAG(ntohs(*mtod(m, u_int16_t *))); LIST_FOREACH(ifv, &tagh[TAG_HASH(tag)], ifv_list) { if (m->m_pkthdr.rcvif == ifv->ifv_p && tag == ifv->ifv_tag && etype == ifv->ifv_type) === LIST_FOREACH(ifv, &vlan_tagh[TAG_HASH(tag)], ifv_list) { if (m->m_pkthdr.rcvif == ifv->ifv_p && tag == ifv->ifv_tag) 1.77 /usr/src/sys/net/if_bridge.c <<< if_bridge.c if ((etype == ETHERTYPE_VLAN || etype == ETHERTYPE_QINQ) && (ifp->if_capabilities & IFCAP_VLAN_MTU) && ((m->m_pkthdr.len - sizeof(struct ether_vlan_header)) <= ifp->if_mtu)) { s = splnet(); bridge_ifenqueue(sc, ifp, m); splx(s); return; === #if NVLAN > 0 if ((m->m_flags & M_VLANTAG) || etype == ETHERTYPE_VLAN) { int len = m->m_pkthdr.len; if (m->m_flags & M_VLANTAG) len += ETHER_VLAN_ENCAP_LEN; if ((ifp->if_capabilities & IFCAP_VLAN_MTU) && (len - sizeof(struct ether_vlan_header) <= ifp->if_mtu)) { s = splnet(); bridge_ifenqueue(sc, ifp, m); splx(s); return; } goto dropit; 1.173 /usr/src/sys/net/if_ethersubr.c <<< if_ethersubr.c if ((etype == ETHERTYPE_VLAN || etype == ETHERTYPE_QINQ) && (vlan_input(eh, m, etype) == 0)) === if (((m->m_flags & M_VLANTAG) || etype == ETHERTYPE_VLAN) && (vlan_input(eh, m) == 0)) 1.127 <<< if_ethersubr.c if (etype == ETHERTYPE_VLAN || etype == ETHERTYPE_QINQ) { === if ((m->m_flags & M_VLANTAG) || etype == ETHERTYPE_VLAN) { 1.127 Best Regards, Insan Praja SW On Thu, Aug 21, 2008 at 04:05:50PM +0200, Claudio Jeker wrote: > no point in just doing that. > > a button to change the ether type would make sense. > this is not trivial because it would require a change in the Rx path where it is currently matching the ethertype in ether_input() before calling vlan_input(). do you want to call vlan_input() for every other packet or do a configured type lookup all the time? and what if the user specifies an ethernet type that is conflicting with something else? i think it should really only be 0x8100 or 0x88a8. If we stack vlan interfaces I don't see a real need for such a button. This could be figured out either at configuration time or on runtime. E.g. just check if the ethertype is 0x8100 and add the next vlan tag as 0x88a8. This would also allow to use a bridge for qinq setups. Because of this I think doing it on runtime is the best. here is another approach defining QinQ-compliant interfaces as a new cloner type; so you can stack 0x88a8 devices as you wish and it doesn't need a new button in ifconfig. it also uses a dedicated vlan tag hash for "Service VLANs" to avoid tag/Id conflicts. # ifconfig em0 up # ifconfig svlan100 vlandev em0 # ifconfig vlan200 vlandev svlan100 192.168.2.100 reyk Index: share/man/man4/vlan.4 === RCS file: /cvs/src/share/man/man4/vlan.4,v retrieving revision 1.31 diff -u -p -r1.31 vlan.4 --- share/man/man4/vlan.4 26 Jun 2008 05:42:07 - 1.31 +++ share/man/man4/vlan.4 21 Aug 2008 19:18:42 - @@ -31,8 +31,9 @@ .Dt VLAN 4 .Os .Sh NAME -.Nm vlan -.Nd "IEEE 802.1Q encapsulation/decapsulation pseudo-devic
Re: Testing rthreads
On Fri, Oct 17, 2008 at 3:52 AM, Raimo Niskanen <[EMAIL PROTECTED]> wrote: > I have also found patches (#3, #4 and #7) by Philip Guenther in > the archives of this list from May 4. > > Can anyone enlighten me about if these/which patches still > are useful or if there are fresher ones or if the > 4.4 release kernel or the -current kernel already > contains some of them... Some of the patches have been applied, but I don't think exactly the same as posted. The remaining ones probably need an update as well. As with most things, it is best to run current with the relevant patches. At this time, the posted patches aren't really relevant anymore. > Or even better, what is the preferred way to test > rthreads for an application? I will build the application > from source and will happily patch the build? Build the rthreads library and install it as libpthread. There's no need or reason to rebuild the application.
Installing OpenBSD 4.4 AMD64 with more than 4GB
Does anyone know if this issue has been resolved? I'm trying to boot and OpenBSD 4.4 AMD64 CD on an HP BL465c-G1 (dual Opteron 2216HE CPUs, 8GB RAM) and getting the following during the boot process (this is transcribed manually, so I apologize in advance for any typos): CD-ROM: 9F Loading /4.4/AMD64/CDBOOT probing: pc0 com0 com1 mem[637K 255M 256M 2814M 4853M a20=on] disk: fd0 fd1 hd0+* cd0 >> OpenBSD/amd64 CDBOOT 2.01 boot> machine memory Region 0: type 1 at 0x0 for 637KB Region 1: type 2 at 0x9f400 for 3KB Region 2: type 2 at 0xf for 64KB Region 3: type 1 at 0x10 for 261120KB Region 4: type 1 at 0x1000 for 262144KB Region 5: type 1 at 0x2000 for 2881851KB Region 6: type 3 at 0xcfe4efc0 for 32KB Region 7: type 1 at 0xcfe56fc0 for 4 KB Region 8: type 2 at 0xcfe57fc0 for 1696KB Region 9: type 2 at 0xfec0 for 1024KB Region 10: type 2 at 0xfee0 for 64KB Region 11: type 2 at 0xffc0 for 4096KB Region 12: type 1 at 0x10 for 4980732KB Low ram: 637KB High ram: 3405115KB Total free memory: 8386488KB boot> boot booting cd0a:/4.4/amd64/bsd.rd: 2561344+548422+2799208+0+492560 [80+259200+161660]=0xa82360 entry point at 0x1001e0 [7205c766, 3404, 2448b12, 840a304] Ignoring 4863MB above 4GB panic: init_x86_64: can't find end of memory The operating system has halted. Please press any key to reboot. Is there any way to get this to start, other than driving my lazy self 100 miles to the data center and yanking 4GB out of it? Any help, thoughts, and criticism that doesn't involve suicide booths is appreciated. -Erik
Re: reliable, dd over simple ip network
> will work out much faster and better than plain old dd(1). > > On the other side you have to run > > # | restore xf - > > -Girish > whats the going to be?
Re: Record for total number of rigs running OpenBSD
On Fri, 17 Oct 2008 23:42:55 +0700, Vivek Ayer <[EMAIL PROTECTED]> wrote: Hi guys, Just wanted to let you folks know that my lab, due to my insistence, is now running OpenBSD on 5 rigs: 2 CARP/pfsync firewalls 1 DNS Server 2 CARP/pfsync/load-sharing web servers (sparc64) I'm sure there's people out there that have more rigs running it. I'd just like to know. If things go smoothly with these, I'll definitely pitch in money for the 4.5 release (put 4.3 to the test first). Cheers from Berkeley, the birthplace of BSD, Vivek Hi guys, I got: 1 DNS Server + web server 1 DNS Server + mail server + web server 5 BGP Speaker + Bandwidth Manager --> 4.4-Current 1 Office Gateway Coming up, 1 Bridge/Switch and VPN concentrator. Cheers from Indonesia, -- insandotpraja(at)gmaildotcom
Record for total number of rigs running OpenBSD
Hi guys, Just wanted to let you folks know that my lab, due to my insistence, is now running OpenBSD on 5 rigs: 2 CARP/pfsync firewalls 1 DNS Server 2 CARP/pfsync/load-sharing web servers (sparc64) I'm sure there's people out there that have more rigs running it. I'd just like to know. If things go smoothly with these, I'll definitely pitch in money for the 4.5 release (put 4.3 to the test first). Cheers from Berkeley, the birthplace of BSD, Vivek
Re: Wireless host ap/wpa problems
Hi everyone, I'm experiencing the same problems as Lars. My setup is an OpenBSD server with an intel atom N270 and a RT2790 card which runs in HostAP mode. The client is a notebook with Linux 2.6.27 and an intel 2200bg wifi adapter. The system log on the linux box is spammed with CCMP: received packet without ExtIV flag from [xyz], xyz being the MAC address of the RT2790 card. Also, often there are connection drops and these seem to happen when the network load is higher. The dmesg of the server is attached. Presumably, a few more people should run their RT2790 cards in HostAP mode with WPA. I'd be glad to hear from them if they have also such issues. Thanks, Alex http://www.nabble.com/file/p20036628/dmesg dmesg -- View this message in context: http://www.nabble.com/Wireless-host-ap-wpa-problems-tp19473573p20036628.html Sent from the openbsd user - misc mailing list archive at Nabble.com.
Re: : whitelisting X DSL (dynamic IP)s
On Fri, Oct 17, 2008 at 08:25:40AM -0300, Jose Fragoso wrote: > Hi, > > Thanks for the tip on using submission, SSL or TLS > ports. That solves many of my problems. > > But I still think that dynmically allocated IPs should be > treated somehow differently by SPAMD greylisting process. > > My point is that if a remote SMTP server goes through the > greylisting process and ends up getting its IP address > whitelisted, that should not be inherited by the next > owner of that IP address. > > I know it may be difficult (if not impossible) to identify > whether an IP address is part of an address poll of some > DSL or cable provider (maybe there is a list kept somewhere > in the world of such ranges). > > I know for sure one these ranges here in Brazil. And I see > a hell of a lot of spam passing through SPAMD, just because > some of these IP addresses got whitelisted by an earlier > well-behaved temporary owner. > > So I would like to know if someone has come up with an > interesting idea on dealing this issue. This, alas, I'd say violates the basic assumptions for greytrapping. A bit. Most of the times at least here in Sweden, you get the same IP address every time. It is only when the ISP has to it gives you a new. And shortening the invalidation time for greytrapped addresses would essentially force the SMTP clients to pass greytrapping every time. My ISP does not allow outgoing SMTP from clients so I have to use their mail hub. That is also a solution, especially when combined with SPF (Server Policy Framework), provided MTAs use it. But it is not a solution at your end, it is a would be global solution. Maybe pf OS fingerprinting can pinpoint XP and Vista machines and tarpit mail from them. Or are there serious SMTP clients on those platforms? > > Best regards, > > Jose > > -- > Be Yourself @ mail.com! > Choose From 200+ Email Addresses > Get a Free Account at www.mail.com -- / Raimo Niskanen, Erlang/OTP, Ericsson AB
Re: whitelisting X DSL (dynamic IP)s
Hi, Thanks for the tip on using submission, SSL or TLS ports. That solves many of my problems. But I still think that dynmically allocated IPs should be treated somehow differently by SPAMD greylisting process. My point is that if a remote SMTP server goes through the greylisting process and ends up getting its IP address whitelisted, that should not be inherited by the next owner of that IP address. I know it may be difficult (if not impossible) to identify whether an IP address is part of an address poll of some DSL or cable provider (maybe there is a list kept somewhere in the world of such ranges). I know for sure one these ranges here in Brazil. And I see a hell of a lot of spam passing through SPAMD, just because some of these IP addresses got whitelisted by an earlier well-behaved temporary owner. So I would like to know if someone has come up with an interesting idea on dealing this issue. Best regards, Jose -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com
Call for Papers: AsiaBSDCon 2009
Hello, I would like to announce AsiaBSDCon the next year, 12-15 March 2009 in Tokyo. You can find the details at: http://2009.asiabsdcon.org and the CFP can be found at: http://2009.asiabsdcon.org/cfp.html Please spread this to your friends in BSD communities and encourage them to attend (and write a paper)! -- | Hiroki SATO [demime 1.01d removed an attachment of type application/pgp-signature]
Re: Shutdown with the power button
On Thu, Oct 16, 2008 at 11:54 PM, <[EMAIL PROTECTED]> wrote: > On Thu, Oct 16, 2008 at 11:30:02PM +1100, Mikel Lindsaar wrote: >> Hmm... here is the dmesg then any ideas? > looks like you're missing an acpibtn (man acpibtn). Thanks Peter, that is the case and it looks like the why on the problem. Any pointers on how to get it enabled? Looking through the BIOS settings, there isn't an APM section at all that I can see, this is a 1RU server, so that doesn't really surprise me. Mikel
Re: X not start
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Oct 17, Girish Venkatachalam <[EMAIL PROTECTED]> wrote: >> I'm trying to use KDE in OpenBSD but I'm having problems with the >> basic step: to obtain that X server works. I have this problem with >> OpenBSD 4.3. With snapshot of OpenBSD 4.4, X server works without >> problems. For both cases, I indicated during the installation that X >> server would be used. >> >> Both installations are kvm virtual machines in the same hardware. >> >> In both installations I generate the X configuration file with: >> >> # X -configure >> >> And I test it with: >> >> # X -config xorg.conf.new > If the previous step reported success then you should try exactly what > it says. And it asks you to run > > # X -config /root/xorg.conf.new > > There is a silly bug and 'X -config' won't work with relative paths... Oh, ok :-) After to have tried 'X -config' with complete path, it follows without initiating X on OpenBSD 4.3. But the error that I obtain changed slightly. Of that I three indicated before, now only I see: (EE) Failed to load module "dri" (module does not exist, 0) Also I see the following, that although was in log that I copied, had not indicated them. (EE) CIRRUS(0): No valid modes found (EE) Screen(s) found, but none have a usable configuration. Thanks for your reply, Girish. Regards, Daniel iEYEARECAAYFAkj4WQIACgkQZpa/GxTmHTfeRQCgj+kngBkbbcNvPMEiAUOeeSiw 6WsAoIAMiQuSJU4FMTJCSLt8J6ijDHkg =m4Yr -END PGP SIGNATURE-
15 minutes qui vont changer le futur de votre business - misc de openbsd.org
Content-Transfer-Encoding: 8bit Bonjour, 15 minutes, c'est le temps necessaire a la mise en place de votre prospection automatisee par e-mail : c'est rapide, c'est gratuit et c'est d'une efficacite redoutable. EWI est tres fiere de vous presenter son nouveau PACK PROSPECT : Le Pack Prospect est un logiciel de prospection commerciale par email qui recherche les adresses email de vos clients et leur envoie votre publicite. C'est facile. Il suffit de choisir les mots-cles correspondant votre cible : le pack prospect va creer votre liste de prospection. C'est rapide Moins de 15 minutes apres avoir cree votre publicite, vos premiers clients commencent a la recevoir. C'est gratuit Apres avoir achete le pack prospect, la prospection par email ne coute rien. C'est efficace Grace au ciblage de vos clients par mots-cles, vous touchez rapidement des internautes dont vous etes certain qu'ils s'intressent vos produits. Decouvrez les avantages d'utiliser le pack prospect et les methodes qui vont vous permettre de trouver de nouveaux clients en moins de 15 minutes sur : www.packprospect.com Toute l'equipe du Pack prospect Ps : Pour vous desabonner de cette newsletter http://www.bullesdozer.com/fr/packprospect/newsletter.php?destinataire=misc%40openbsd.org&radio=NON Cet email est sans accentuation pour des raisons de compatilite avec votre client de messagerie
Testing rthreads
Hi list! I very much would like to test rthreads with an SMP application that will do both disk I/O and network ditto. I have figured out that I will have to build a kernel GENERIC with `option RTHREADS' added. I have also found patches (#3, #4 and #7) by Philip Guenther in the archives of this list from May 4. Can anyone enlighten me about if these/which patches still are useful or if there are fresher ones or if the 4.4 release kernel or the -current kernel already contains some of them... Or even better, what is the preferred way to test rthreads for an application? I will build the application from source and will happily patch the build? -- / Raimo Niskanen, Erlang/OTP, Ericsson AB