sched_* linker options?
I'm trying to compile a library wich uses some sched_* functions. However I can't figure out against what library I need to link it. [EMAIL PROTECTED] pwd /usr/lib [EMAIL PROTECTED] grep sched_setscheduler * [EMAIL PROTECTED] grep sched_setscheduler /usr/include/sched.h int sched_setscheduler(pid_t, int, const struct sched_param *); gcc -o bin/patest_buffer -g -O2 -Ipa_common pa_tests/patest_buffer.c lib/libportaudio.a -lm -lpthread -lossaudio lib/libportaudio.a(pa_unix.o)(.text+0x463): In function `PaHost_WatchDogProc': pa_unix_oss/pa_unix.c:424: undefined reference to `sched_get_priority_max' lib/libportaudio.a(pa_unix.o)(.text+0x47c):pa_unix_oss/pa_unix.c:427: undefined reference to `sched_setscheduler' [...] Any help would be really kewl ;) Tobias
Re: sched_* linker options?
On Wed, Feb 15, 2006 at 08:52:38AM +0100, Tobias Ulmer wrote: [...] I guess i can answer the question myself. They don't exists (yet). http://marc.theaimsgroup.com/?l=openbsd-miscm=94623552626348w=2 Tobias
Re: Best Dual AMD Opteron Motherboard for OpenBSD Found??
Hi I m running the TYAN S2885ANRF (Thunder K8W AMD 8000 Chipset) with OpenBSD 3.7/3.8, and it works :) Hello, What does anyone think about this M/B or recommendations for others? I have found one recommendation on BSDForums.org for this dual AMD Opteron M/B: tomek11-16-2004, 05:17 PM I newer use this motherboard but it looks reasonably. TYAN Thunder K8SR (S2881G2NR) AMD-8131 Chipset Server Motherboard For Dual AMD Opteron CPU 940-pin Socket Processor -RETAIL (http://www.tyan.com/products/html/thunderk8sr.html) It's for dual Opteron. -- Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen f|r GMX Partner: http://www.gmx.net/de/go/partner
Re: slow network performance
... wd0(pciide0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 wd0e: DMA error writing fsbn 2651200 of 2651200-2651211 (wd0 bn 3819472; cn 3789 tn 2 sn 34), retrying wd0: soft error (corrected) wd0(pciide0:0:0): timeout type: ata c_bcount: 0 c_skip: 0 wd0(pciide0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 wd0(pciide0:0:0): timeout type: ata c_bcount: 8192 c_skip: 0 wd0e: device timeout writing fsbn 2651200 of 2651200-2651215 (wd0 bn 3819472; cn 3789 tn 2 sn 34), retrying wd0: soft error (corrected) wd0(pciide0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 did you look into this? anyway, test disk io and network separately. /kami
viasio hw.sensors problem
Hi, i've got a problem with my hw.sensors output. TEMP1 is not shown when calling sysctl hw.sensors. If I combine the command with 'openssl speed' it shows the temperature. That's on a snap from 12/02. The Machine is a Via EPIA M1. Setting the flags for viasio as shown in the manpage doesn't change the behavior. Bad hardware? (new board, didn't run openbsd on it before, so i dont know if it ever worked.) /sable --- # sysctl hw.sensors hw.sensors.1=viasio0, UCH1, volts_dc, 3.31 V hw.sensors.2=viasio0, UCH2, volts_dc, 2.42 V hw.sensors.3=viasio0, UCH3, volts_dc, 2.37 V hw.sensors.4=viasio0, UCH4, volts_dc, 4.61 V hw.sensors.5=viasio0, UCH5, volts_dc, 12.20 V hw.sensors.6=viasio0, +3.3V, volts_dc, 3.23 V # openssl speed sysctl hw.sensors [... openssl output ...] hw.sensors.0=viasio0, TEMP1, temp, 33.43 degC / 92.17 degF hw.sensors.1=viasio0, UCH1, volts_dc, 3.31 V hw.sensors.2=viasio0, UCH2, volts_dc, 2.38 V hw.sensors.3=viasio0, UCH3, volts_dc, 2.37 V hw.sensors.4=viasio0, UCH4, volts_dc, 4.58 V hw.sensors.5=viasio0, UCH5, volts_dc, 12.14 V hw.sensors.6=viasio0, +3.3V, volts_dc, 3.23 V # cat /var/run/dmesg.boot OpenBSD 3.9-beta (GENERIC) #601: Sun Feb 12 21:39:52 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: VIA Nehemiah (CentaurHauls 686-class) 1 GHz cpu0: FPU,DE,PSE,TSC,MSR,MTRR,PGE,CMOV,MMX,FXSR,SSE cpu0: RNG real mem = 234397696 (228904K) avail mem = 206901248 (202052K) using 2886 buffers containing 11821056 bytes (11544K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(68) BIOS, date 12/11/03, BIOS32 rev. 0 @ 0xfb210 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xdf44 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfded0/112 (5 entries) pcibios0: PCI Exclusive IRQs: 5 10 11 pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT8235 ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xfa00 0xd/0x8000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 VIA VT8623 PCI rev 0x00 ppb0 at pci0 dev 1 function 0 VIA VT8633 AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 VIA CLE266 rev 0x03: aperture at 0xe000, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) VIA VT6306 FireWire rev 0x80 at pci0 dev 13 function 0 not configured uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x80: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x80: irq 5 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x80: irq 10 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 16 function 3 VIA VT6202 USB rev 0x82: irq 11 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered viapm0 at pci0 dev 17 function 0 VIA VT8235 ISA rev 0x00 iic0 at viapm0 pciide0 at pci0 dev 17 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: TOSHIBA MK4032GAX wd0: 16-sector PIO, LBA48, 38154MB, 78140160 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide0: channel 1 disabled (no drives) auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x50: irq 10 ac97: codec id 0x49434552 (ICEnsemble VIA VT1616i) ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D audio0 at auvia0 vr0 at pci0 dev 18 function 0 VIA RhineII-2 rev 0x74: irq 11, address 00:40:63:d4:12:12 ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 8: OUI 0x004063, model 0x0032 isa0 at mainbus0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 viasio0 at isa0 port 0x2e/2: VT1211 rev 0x02: HM WDG: not activated npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo biomask ef65 netmask ef65 ttymask ffe7 pctr: user-level cycle counter enabled dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 -- Telefonieren Sie schon oder sparen Sie noch? NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
slow network performance (part 2)
Hi! Thank you for the tips! Sorry, for the long mail, but I wanna show you some server statistics. To answer a few further questions: 1. sysctl -w net.inet.ip.mtudisc=0 doesn't have any effect 2. no important messages in /var/log/messages during up-/download 3. Samba downloads show similar behaviour 4. And I ran some further tests with ifstat, iostat and netperf (see below) My assumptions: I think there are some problems with my hdd, especially when dmesg says: - root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 wd0(pciide0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 wd0e: DMA error writing fsbn 2651200 of 2651200-2651211 (wd0 bn 3819472; cn 3789 tn 2 sn 34), retrying wd0: soft error (corrected) wd0(pciide0:0:0): timeout type: ata c_bcount: 0 c_skip: 0 wd0(pciide0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 wd0(pciide0:0:0): timeout type: ata c_bcount: 8192 c_skip: 0 wd0e: device timeout writing fsbn 2651200 of 2651200-2651215 (wd0 bn 3819472; cn 3789 tn 2 sn 34), retrying wd0: soft error (corrected) wd0(pciide0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 wd0(pciide0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 wd0(pciide0:0:0): timeout type: ata c_bcount: 512 c_skip: 0 wd0(pciide0:0:0): timeout type: ata c_bcount: 6144 c_skip: 0 wd0e: device timeout writing fsbn 2653908 of 2653908-2653919 (wd0 bn 3822180; cn 3791 tn 13 sn 33), retrying wd0: soft error (corrected) After running a self test with smartctl the results do not look very good: Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted: read failure 40% 2076 169914 And if you have a look at the iostat results you can see repeating patterns like these: wd0wd0 cpu KB/t t/s MB/sKB xfr time us ni sy in id 64.00 1 0.0664 1 3.50 1 0 0 0 99 0.00 0 0.00 0 0 0.00 1 0 0 0 99 0.00 0 0.00 0 0 0.00 0 0 0 0100 0.00 0 0.00 0 0 0.00 0 0 0 1 99 Does that mean that the hdd is busy during the 'zero-lines' while there is no more data transfer through the IO controller? The 3.5 seconds cannot be a real meassured value, because they were recorded during a span of 1 second. So the transfer actually has to extend to the next 3 seconds. But there it is no longer displayed in the statistics. (I hope you know what I want to say.) So I think the problem is my hdd. What do you think? Jo netserver on OpenBSD box netperf on Linux box netperf -H OpenBSD -l 20 Recv SendSend Socket Socket Message Elapsed Size SizeSize Time Throughput bytes bytes bytessecs.10^6bits/sec 16384 16384 1638420.02 7.74 netserver on Linux box netperf on OpenBSD box netperf -H Linux -l 20 Recv SendSend Socket Socket Message Elapsed Size SizeSize Time Throughput bytes bytes bytessecs.10^6bits/sec 87380 16384 1638420.02 7.89 12 MB upload via scp (Linux host - OpenBSD server) with scp running on Linux box and sshd running on OpenBSD iostat -w 1 -D -d -C wd0 wd0wd0 cpu KB/t t/s MB/sKB xfr time us ni sy in id 15.10 0 0.00 2 0 0.99 0 0 0 0100 0.00 0 0.00 0 0 0.00 0 0 0 0100 0.00 0 0.00 0 0 0.00 16 0 5 0 79 16.00 5 0.0879 5 5.95 0 0 0 0100 16.00 1 0.0216 1 0.99 0 0 0 0100 0.00 0 0.00 0 0 0.00 5 0 4 0 91 15.33 3 0.0446 3 2.59 0 0 0 0100 24.00 12 0.28 286 12 1.09 5 0 2 2 91 37.33 9 0.33 333 9 1.00 8 0 3 6 83 64.00 14 0.86 882 14 0.97 18 0 8 5 68 64.00 13 0.81 826 13 0.97 17 0 3 9 71 64.00 15 0.93 953 15 1.04 12 0 5 8 75 53.89 19 0.99 1016 19 1.01 22 0 8 4 67 64.00 14 0.86 882 14 0.95 21 0 5 8 66 64.00 15 0.93 953 15 1.02 22 0 6 9 63 64.00 15 0.93 953 15 0.98 30 0 9 6 55 56.00 18 0.97 992 18 1.00 13 0 10 9 68 64.00 13 0.81 826 13 1.00 19 0 5 5 71 64.00 14 0.87 889 14 0.95 12 0 5 4 79 64.00 15 0.93 953 15 1.07 26 0 8 2 64 wd0wd0 cpu KB/t t/s MB/sKB xfr time us ni sy in id 64.00 15 0.92 945 15 0.98 15 0 5 5 75 64.00 3 0.19 191 3 0.20 6 0 2 2 90 0.00 0 0.00 0 0 0.00 0 0 0 0100 12 MB download via scp (OpenBSD server - Linux host) with scp running on Linux box and sshd running on OpenBSD iostat -w 1 -D -d -C wd0 wd0wd0 cpu KB/t t/s MB/sKB
Time filtering with PF
Just to check out: I do had some rules using the time patch in the iptables, and they worked well. Now that i migrated to openbsd, i want to do the same. I will have to use cron and anchors, as someone suggested once ago, or someone already implemented or made a patch for doing this inside the pf itself? Thanks in advance, -- Giancarlo Razzolini Linux User 172199 Moleque Sem Conteudo Numero #002 Slackware Current Snike Tecnologia em Informatica 4386 2A6F FFD4 4D5F 5842 6EA0 7ABE BBAB 9C0E 6B85 [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: OpenBSD for a desktop environment ?
On Tue, Feb 14, 2006 at 05:11:42PM +, Dennis Davis wrote: On Tue, 14 Feb 2006, Andreas Bihlmaier wrote: snip There was some discussion about this on the list some time ago. Apparently the Linux version works OK in compatability mode. I installed this version on my i386 OpenBSD machine. I haven't used it -- other than to verify soffice fires up -- so I can't say how well it works. I followed the instructions from a web page that seems to have vanished. So here's the steps I took. You'll obviously need the Redhat libraries (/usr/ports/emulators/redhat) installed. And have: kern.emul.linux=1 set in /etc/sysctl.conf. Touched /emul/linux/etc/mnttab to create it as an empty file. /emul/linux/etc/mtab Added: # # For OpenOffice in Linux compatability mode. /proc /proc procfs rw,linux 0 0 to /etc/fstab. Created and mounted /proc. Created the directory OOo_2.0.0, untarred OOo_2.0.0_LinuxIntel_install.tar.gz in this directory to create all the RPMs. Created /opt as a soft link to /usr/local. ln -s /usr/local /emul/linux/opt Installed the software by typing: /emul/linux/bin/rpm --nodeps --ignoreos --ignorearch -ivh *.rpm Programs are installed in /opt/openoffice.org2.0/program/s*. For instance the text editor is /opt/openoffice.org2.0/program/swriter and the main app is /opt/openoffice.org2.0/program/soffice. The web page then said: If programs don't start and if you have a Java virtual machine, temporarily disable it (chmod 0 /usr/local/jdk*), then start OpenOffice. You can then re-enable Java (chmod 755 /usr/local/jdk*) and keep it that way. but I'm not running with a Java virtual machine so it's not a problem I've experienced. -- Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK [EMAIL PROTECTED] Phone: +44 1225 386101 I don't want to be picky corrections are just for the archives. Besides that: THANK YOU! Couldn't there be a short entry in the FAQ about How to get OpenOffice to run on OpenBSD i386 because I think that there is quite a bunch of people that want to run OO on OpenBSD. Sadly this is not going to work for amd64, but otherwise it seems to work quite well under linux emulation. Regards, ahb
Re: OpenBSD for a desktop environment ?
I remember there was a (big) effort to patch the oo sources so as to work natively in openbsd. I guess the port has stalled a bit since then.But I may be wrong as well. If anyone knows about it it would be kind of him to enlighten us also.
Re: Time filtering with PF
Giancarlo Razzolini [EMAIL PROTECTED] writes: I will have to use cron and anchors, as someone suggested once ago, or someone already implemented or made a patch for doing this inside the pf itself? I'm not terribly close to the development process myself, but I would think that since it's fairly easy to do what you want with cron and anchors, adding code for this specific feature to PF itself would not be a developer priority. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/ First, we kill all the spammers The Usenet Bard, Twice-forwarded tales 20:11:56 delilah spamd[26905]: 146.151.48.74: disconnected after 36099 seconds.
Re: Time filtering with PF
On 2/15/06, Giancarlo Razzolini [EMAIL PROTECTED] wrote: Just to check out: I do had some rules using the time patch in the iptables, and they worked well. Now that i migrated to openbsd, i want to do the same. I will have to use cron and anchors, as someone suggested once ago, or someone already implemented or made a patch for doing this inside the pf itself? doing what? you don't assume everyone on a _openbsd_ mailing list knows what the time patch in the iptables is, do you? --knitti
Re: slow network performance (part 2)
On 2/15/06, Joachim Mathes [EMAIL PROTECTED] wrote: So I think the problem is my hdd. What do you think? I think the same, get a new disk in there. Until then you can run a dd if=/rwd0c of=/dev/null bs=1m to read every sector of the hdd and maybe allocate some of the spare sectors to some of the failing ones. of course, do a backup asap, before you do anything other. --knitti
Re: vpn1401 not probing
On Mon, Feb 13, 2006 at 07:55:25AM -0600, Travis H. wrote: The soekris site says the vpn1401 is fully supported in the latest release of OpenBSD. However, mine isn't autoprobing. What do I need to do to get it working? shrug i've had a 1401 working since, umm, maybe it's since 3.6 or so? had it a while... works in an old P55/200 and in a new dual athlon. i just put it in and boot, it finds it, it works. also have soekris 4501 and 4801 and the vpn 1411 works for me automatically inside of those without special configuration to find it. -- jared [ openbsd 3.9-beta GENERIC ( jan 30 ) // i386 ]
Re: OpenBSD for a desktop environment ?
Antonios Anastasiadis [EMAIL PROTECTED] schrieb am 15.02.06 13:56:21: I remember there was a (big) effort to patch the oo sources so as to work natively in openbsd. I guess the port has stalled a bit since then.But I may be wrong as well. If anyone knows about it it would be kind of him to enlighten us also. Hi, there was a thread last year here on misc@ on how to get the Linux version of OOo running on OpenBSD. Using the hints in this thread I succeded in getting to OOo to run on my laptop. Have a look at http://marc.theaimsgroup.com/?l=openbsd-miscm=112984281031654w=2) I posted this on www.bsdforums.org where you find additional infos: http://www.bsdforums.org/forums/showthread.php?t=34613 In particular you might be interested in the following link pointing to a port and a package of OOo 2.0.1: http://www.rommel.stw.uni-erlangen.de/~guebbbi/ Cheers, SteWo [demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a name of Stefan Wollny.13428DEFANGED-vcf]
Re: Time filtering with PF
Giancarlo Razzolini on 2006-02-15 10:09:50 -0200: I do had some rules using the time patch in the iptables, and they worked well. Now that i migrated to openbsd, i want to do the same. I will have to use cron and anchors, as someone suggested once ago, or someone already implemented or made a patch for doing this inside the pf itself? I'm not quite sure what 'the time patch in the iptables' is, but it sounds like you might want to check out expiretable.
Re: New dell server
Gaby vanhegan wrote: On 14 Feb 2006, at 20:18, Brandon Mercer wrote: Has anybody managed to get the CERC SATA raid controller running on 3.8 or 3.9-stable? Alternatively, where's the cheapest source of LSI SATA cards? Can I boot from a system installed on an LSI card? LSI cards, as has been talked to death in the archives, are GREAT cards, of course the work and boot properly. :-) Also, newegg usually has them at a good price. Brandon Unfortunately: http://www.newegg.com/Product/CustratingReview.asp?item=N82E16816118007 Looks like we'll be spending a bit more cash on this: http://www.newegg.com/Product/CustratingReview.asp?item=N82E16816118015 The LSI Megaraid SATA is the way to go anyway. :-) I'm intrigued by the comment: Although it will function in a PCI slot,the throughput is marginal even with 4 x 36 gig raptors in RAID 0. I was expecting at least 150 mbps transfer rates and Im only geting 80. Technical support was knowlegable and I didn't have to wait more than 5 minutes to talk to someone. The informed me that this card performs best in a 64 bit/100 mhz slot such as a server board. IMHO its price is not justified vs the performance in a 32 bit system Gaby they wouldn't really make it 64bit if it didn't need to be 64 bit. Think about the PCI bus... The application we have for the server does not require heavy data- throughput, so this bottleneck wouldn't be too much of a problem, If you were worried about this type of bottleneck you'd need to use scsi's anyway ;-) but if I can spend a few more quid on a different mobo to get double the speed, I'd like to. What am I looking for here, motherboards that will take a 64 bit CPU and have 100Mhz PCI slots? That's a PCI-X card, no? Tis a 64 bit pci card as shown in the pictures and description. Brandon
authentication without adding user to /etc/master.passwd
Is there a way in OpenBSD to authenticate users without adding them to /etc/master.passwd file? I have an OpenBSD server with authpf enabled and login_ldap configured. I have also a seperate LDAP server. I can authenticate any user in OpenBSD by using this seperate LDAP server if and only if username is added to /etc/master.passwd file in OpenBSD machine. Even if it is working, adding/managing over 5000 users to master.passwd file is not suitable. I have already a server (LDAP) for user management. Why openbsd does not support first look up ldap server for both username and password, then use local password file ? Ferdi Middle East Technical University Computer Center Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: OpenBSD for a desktop environment ?
I know it runs via emulation, I was talking about a native port. I found where it was mentioned: http://cvs.openbsd.org/papers/ven05-pvalchev/
Re: authentication without adding user to /etc/master.passwd
Selon Fred. [EMAIL PROTECTED]: Why openbsd does not support first look up ldap server for both username and password, then use local password file ? As far as I know, OpenBSD only support flat /etc/master.passwd file or NIS for what you want to do. You _can_ authenticate passwords using Ldap, Kerberos,... but if you need to get user info (uid, gid, shell, gecos...) then I don't know any other way. nsswitch support would do what you want but it is not supported and I doubt it will ever make it into OpenBSD. I hope to be proved wrong though... -- Antoine
Re: authentication without adding user to /etc/master.passwd
On 2006/02/15 05:58, Fred. wrote: Even if it is working, adding/managing over 5000 users to master.passwd file is not suitable. I have already a server (LDAP) for user management. It might not be as bad as you think. You can build your passwd files from a 'header' section and something pulled by ldapsearch or a script that accesses ldap itself to generate the rest. The flat file isn't used for handling authentication, spwd.db and pwd.db are used instead. Why openbsd does not support first look up ldap server for both username and password, then use local password file ? I'm sure someone will correct me if I'm wrong, but I think you need nsswitch and/or PAM for that type of thing, neither of which are in OpenBSD.
-stable or -current kernel error
I am trying to move from the base install from the CD/FTP to either stable or current. I get the same error regardless of what version I try with and regardless of what machine (different components inside). Below is the steps I am doing to rebuild the kernel and the error I am getting. Anyone have and ideas on how to correct this problem? Am I doing it wrong and forgetting something? cd /usr; cvs -q checkout -rOPENBSD_3_8 -P src cd /usr/src find . -type l -name obj |xargs rm make cleandir rm -rf /usr/obj/* make obj cd /usr/src/etc make DESTDIR=/ distrib-dirs cd /usr/src/sys/arch/i386/conf config GENERIC cd ../compile/GENERIC make clean make depend make ERROR MESSAGE mkdir -p /usr/src/sys/arch/i386/compile/GENERIC/lib/kern making sure the kern library is up to date... make: don't know how to make /usr/src/sys/sys/_types.h. Stop in /usr/src/sys/lib/libkern. *** Error code 2 Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 28 of /usr/src/sys/arch/i386/compile/GENERIC/../../../../lib/libkern/Makefile. inc). Paul
Re: Best Dual AMD Opteron Motherboard for OpenBSD Found??
On 2/14/06, Levi Patrick II [EMAIL PROTECTED] wrote: What does anyone think about this M/B or recommendations for others? TYAN Thunder K8SR (S2881G2NR) AMD-8131 Chipset Server Motherboard For Dual AMD Opteron CPU 940-pin Socket Processor -RETAIL I've got two of those boards and they work great. My favourite feature is Press F12 to boot from network during the BIOS init, really saved me a lot of time over repeated netboot installs. OpenBSD 3.8 (GENERIC.MP) #0: Tue Oct 11 11:01:29 PDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2147086336 (2096764K) avail mem = 1836417024 (1793376K) using 22937 buffers containing 214917120 bytes (209880K) of memory mainbus0 (root) mainbus0: Intel MP Specification (Version 1.4) (TYAN S2881 ) cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Opteron(tm) Processor 246, 1994.56 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,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 199426725Hz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Opteron(tm) Processor 246, 1994.27 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,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 mpbios: bus 0 is type PCI mpbios: bus 1 is type PCI mpbios: bus 2 is type PCI mpbios: bus 3 is type PCI mpbios: bus 4 is type PCI mpbios: bus 5 is type ISA ioapic0 at mainbus0 apid 2: pa 0x83744f24, version 11, 24 pins ioapic1 at mainbus0 apid 3: pa 0x83744e24, version 11, 4 pins ioapic2 at mainbus0 apid 4: pa 0x83744d24, version 11, 4 pins pci0 at mainbus0 bus 0: configuration mode 1 ppb0 at pci0 dev 6 function 0 AMD 8111 PCI-PCI rev 0x07 pci1 at ppb0 bus 4 ohci0 at pci1 dev 0 function 0 AMD 8111 USB rev 0x0b: apic 2 int 19 (irq 9), version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: AMD OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1 at pci1 dev 0 function 1 AMD 8111 USB rev 0x0b: apic 2 int 19 (irq 9), version 1.0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: AMD OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered pciide0 at pci1 dev 5 function 0 CMD Technology SiI3114 SATA rev 0x02: DMA pciide0: using apic 2 int 17 (irq 10) for native-PCI interrupt vga1 at pci1 dev 6 function 0 ATI Rage XL rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) AMD AMD8111 LPC rev 0x05 at pci0 dev 7 function 0 not configured pciide1 at pci0 dev 7 function 1 AMD 8111 IDE rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatib ility pciide1: channel 0 disabled (no drives) pciide1: channel 1 disabled (no drives) AMD 8111 SMBus rev 0x02 at pci0 dev 7 function 2 not configured AMD 8111 ACPI rev 0x05 at pci0 dev 7 function 3 not configured ppb1 at pci0 dev 10 function 0 AMD 8131 PCIX rev 0x12 pci2 at ppb1 bus 3 bge0 at pci2 dev 9 function 0 Broadcom BCM5704C rev 0x03, BCM5704 A3 (0x2003): apic 3 int 0 (irq 5) address 00:e0:81:2e:d3:50 brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 bge1 at pci2 dev 9 function 1 Broadcom BCM5704C rev 0x03, BCM5704 A3 (0x2003): apic 3 int 1 (irq 10) address 00:e0:81:2e:d3:51 brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 aapic0 at pci0 dev 10 function 1 AMD 8131 PCIX IOAPIC rev 0x01 ppb2 at pci0 dev 11 function 0 AMD 8131 PCIX rev 0x12 pci3 at ppb2 bus 1 ppb3 at pci3 dev 3 function 0 vendor Intel, unknown product 0x0335 rev 0x07 pci4 at ppb3 bus 2 ami0 at pci4 dev 14 function 0 Symbios Logic MegaRAID SATA 8x rev 0x07: apic 4 int 0 (irq 5) LSI 3008/32b ami0: FW 813G, BIOS vH425, 128MB RAM ami0: 1 channels, 0 FC loops, 1 logical drives scsibus0 at ami0: 40 targets sd0 at scsibus0 targ 0 lun 0: AMI, Host drive #00, SCSI2 0/direct fixed sd0: 858306MB, 109418 cyl, 255 head, 63 sec, 512 bytes/sec, 1757810688 sec total scsibus1 at ami0: 16 targets aapic1 at pci0 dev 11 function 1 AMD 8131 PCIX IOAPIC rev 0x01 pchb0 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00 pchb1 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00 pchb2 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00 pchb3 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00 pchb4 at pci0 dev 25 function 0 AMD AMD64 HyperTransport rev 0x00 pchb5 at pci0 dev 25 function 1 AMD AMD64 Address Map rev 0x00 pchb6 at pci0
Re: OpenBSD for a desktop environment ?
On 2/15/06, Antonios Anastasiadis [EMAIL PROTECTED] wrote: I know it runs via emulation, I was talking about a native port. I found where it was mentioned: http://cvs.openbsd.org/papers/ven05-pvalchev/ Interesting the malloc thing! Thank you very much for the information- Ramiro.
Re: authentication without adding user to /etc/master.passwd
On Wed, 15 Feb 2006 15:34:08 + Stuart Henderson [EMAIL PROTECTED] wrote: On 2006/02/15 05:58, Fred. wrote: Even if it is working, adding/managing over 5000 users to master.passwd file is not suitable. I have already a server (LDAP) for user management. It might not be as bad as you think. You can build your passwd files from a 'header' section and something pulled by ldapsearch or a script that accesses ldap itself to generate the rest. The flat file isn't used for handling authentication, spwd.db and pwd.db are used instead. Why openbsd does not support first look up ldap server for both username and password, then use local password file ? I'm sure someone will correct me if I'm wrong, but I think you need nsswitch and/or PAM for that type of thing, neither of which are in OpenBSD. You would need nsswitch support, nothing PAM related is needed. Someone posted a patch to tech@ quite a while ago to add nsswitch support. Adam
Re: OpenBSD for a desktop environment ?
On 2/14/06, dreamwvr [EMAIL PROTECTED] wrote: On Tue, Feb 14, 2006 at 07:13:47PM +0100, Ramiro Aceves wrote: There was some discussion about this on the list some time ago. Apparently the Linux version works OK in compatability mode. I installed this version on my i386 OpenBSD machine. I haven't used it -- other than to verify soffice fires up -- so I can't say how well it works. Yes, that was the paper I followed and It works fine. However, I have not tested it in depth. I do not want to start a flame war here, but I would like to know why there is not a native OpenOffice port for OpenBSD. I mean, the technicall resons, I am not a programmer and I would like to know it. because you haven't ported it yet.. You see someone has to do it. :) Thanks, I am not able to do it, my programming skills are limited, that is why I am asking for the reason of not having a native OpenOffice port. Thank you. Ramiro.
cardbus cant map interrupt - asus pundit barebone
hi fellows, having issues to get the cardbus working. Hardware: Asus Pundit AB-P2600 Cardbus Chipset: ENE CB-710Q Chip OpenBSD 3.8 GENERIC#76 Intel(R) Pentium(R) 4 CPU 3.00GHz relevant dmesg part: cbb0 at pci2 dev 12 function 0 vendor ENE, unknown product 0x1411 rev 0x02pci_intr_map: no mapping for pin A : couldn't map interrupt vendor ENE, unknown product 0x0510 (class memory subclass flash, rev 0x00) at pci2 dev 12 funct thx for any advise /geri
Re: Feb 13 X snapshot
On Tue, Feb 14, 2006 at 10:32:59PM -0600, Emilio Perea wrote: Installing the latest (Feb 13) i386 x*tgz on two different computers caused the keyboard to lock up. Mouse continued to work, but I was not able to type anything or switch consoles. The systems involved were a Dell Precision 330 workstation (upgrade) and a Toshiba 3480CT laptop (new install to see if the problem could be duplicated). Both are several years old and had run X without problems until today. Going back to the Feb 4 snapshot restored full functionality. It seems extremely unlikely that this could be a real bug, since nobody else has mentioned it, so I suspect operator error. Did I miss a required change in configuration between these two versions? I just clean installed the latest snap (Feb 12) and I couldn't get xdm/X to run without changing /etc/X11/xdm/Xservers to use vt07 -- it would report a keyboard error (something about tcgetattr, can't find it at the moment). I'm also having problems with my keyboard (using the default keymap, arrow keys aren't detected properly on a 101 key keyboard), and when I clicked on the Mouse section of the KDE control panel my mouse has stopped working completely (despite restarting X multiple times). Didn't change anything, it broke as soon as the mouse applet came up. I haven't tried rebooting to solve that last one, I imagine that'll do it. dmesg follows: OpenBSD 3.9-beta (GENERIC) #601: Sun Feb 12 21:39:52 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD-K6(tm) 3D processor (AuthenticAMD 586-class) 501 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX real mem = 804823040 (785960K) avail mem = 726986752 (709948K) using 4278 buffers containing 40345600 bytes (39400K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(1a) BIOS, date 04/12/00, BIOS32 rev. 0 @ 0xfb380 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xb808 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdde0/144 (7 entries) pcibios0: PCI Exclusive IRQs: 3 7 10 11 12 pcibios0: PCI Interrupt Router at 000:07:0 (VIA VT82C596A ISA rev 0x00) pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc/0x8800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 VIA VT82C598 PCI rev 0x04 ppb0 at pci0 dev 1 function 0 VIA VT82C598 AGP rev 0x00 pci1 at ppb0 bus 1 pcib0 at pci0 dev 7 function 0 VIA VT82C596A ISA rev 0x23 pciide0 at pci0 dev 7 function 1 VIA VT82C571 IDE rev 0x10: ATA66, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: ST360021A wd0: 16-sector PIO, LBA, 57241MB, 117231408 sectors wd1 at pciide0 channel 0 drive 1: IBM-DTTA-350840 wd1: 16-sector PIO, LBA, 8063MB, 16514064 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: PLEXTOR, CD-R PX-W1210A, 1.09 SCSI0 5/cdrom removable cd0(pciide0:1:1): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 7 function 2 VIA VT83C572 USB rev 0x11: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered VIA VT82C596 Power rev 0x30 at pci0 dev 7 function 3 not configured ppb1 at pci0 dev 17 function 0 DEC 21052 PCI-PCI rev 0x02 pci2 at ppb1 bus 2 de0 at pci2 dev 4 function 0 DEC 21140 rev 0x12: irq 10 de0: ZNYX ZX34X pass 1.2 address 00:c0:95:e0:49:3c de1 at pci2 dev 5 function 0 DEC 21140 rev 0x12: irq 12 de1: ZNYX ZX34X pass 1.2 address 00:c0:95:e0:49:3d de2 at pci2 dev 6 function 0 DEC 21140 rev 0x12: irq 7 de2: ZNYX ZX34X pass 1.2 address 00:c0:95:e0:49:3e de3 at pci2 dev 7 function 0 DEC 21140 rev 0x12: irq 3 de3: ZNYX ZX34X pass 1.2 address 00:c0:95:e0:49:3f vga1 at pci0 dev 18 function 0 NVidia Riva TNT rev 0x04 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ahc0 at pci0 dev 19 function 0 Adaptec AHA-29160 U160 rev 0x02: irq 7 scsibus1 at ahc0: 16 targets isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 isapnp0 at isa0 port 0x279: read port 0x203 isapnp0: No current device for tag, card 1 sb1 at isapnp0 Creative SB AWE64 PnP, CTL0045, , Audio port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5: dsp v4.16 midi1 at sb1: SB MPU-401 UART audio0 at sb1 opl0 at sb1: model OPL3 midi2 at opl0: SB Yamaha OPL3 joy0 at isapnp0 Creative SB AWE64 PnP, CTL7002, PNPB02F, Game port 0x200/8 Creative SB AWE64 PnP, CTL0022, , WaveTable at isapnp0 port 0x620/4
ping: sendto: No buffer space available
i386, OpenBSD 3.9-beta (GENERIC) #597: Sun Feb 5 21:14:35 MST 2006 Just played around pinging to see the following: Pinging from box A (10.0.0.13) to box B (10.0.0.5) with sudo ping -f -s 1024 10.0.0.5 Everything fine. Fire up another xterm, fire up the same ping a second time - wow. [...] ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 .ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 .ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 .ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 .ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 .ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 ..ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 ping: sendto: No buffer space available ping: wrote 10.0.0.5 1032 chars, ret=-1 [...] And so on... As soon as I kill one floodping, the other runs fine again. Box A has a fxp0, box B a re0, connected via a cheap Gigabit Switch. (Just drop a line if you need the full dmesg.) Not that I'm too concerned since this isn't a real world problem to me, but hey, who knows ;-) kind regards, oliver
Re: OpenBSD for a desktop environment ?
From: [EMAIL PROTECTED] I do not want to start a flame war here, but I would like to know why there is not a native OpenOffice port for OpenBSD. I mean, the technicall resons, I am not a programmer and I would like to know it. because you haven't ported it yet.. You see someone has to do it. :) Thanks, I am not able to do it, my programming skills are limited, that is why I am asking for the reason of not having a native OpenOffice port. Ask the OpenOffice.org project why they have not created a native OpenBSD port. It's their application. If you don't like that answer, then the reason is what dreamwvr stated; *you* have not yet ported it. There are no technical reasons other than the application was not written to be portable. Since you don't have the skill to do it yourself, you also do not have the right to complain about it. Alternatively, you do have the right to pay someone who does have the skills to port it for you. This is the way application compatibility works. Someone has to make it happen. Do you expect someone else to take the time out of their day to make it happen? What are you going to give them for their time? DS
Re: OpenBSD for a desktop environment ?
Ramiro Aceves wrote: [snip] I do not want to start a flame war here, but I would like to know why there is not a native OpenOffice port for OpenBSD. I mean, the technicall resons, I am not a programmer and I would like to know it. Just curious. Much effort has gone into porting OpenOffice, but issues remains: http://www.openbsd.org/papers/ven05-pvalchev/mgp5.html /Sigfred
Re: Feb 13 X snapshot
same here, keyboard stopped working as it should. i had sent the xorg log and the dmesg, but the mail got bigger then 40k, at now it needs moderator approval. as the regular xorg log is always bigger than 40k, could this limit be raised please to at least 50k? -f -- i tried switching to gum but i couldn't keep it lit!
Re: OpenBSD for a desktop environment ?
Bruno. I'd been experiencing terrible problems with FreeBSD and Gnome and so I chose to install OpenBSD 3.8 and fluxbox So far, so good and it's all operating very smoothly and reliably. So far, the only application that I haven't brought on board is Evolution which I really need, but I am making do with Thunderbird for now. To be honest, it's been much more straight forward to set this up, than it ever has been with the so-called more user friendly FreeBSD. It will depend on whether there is support for your applications of choice, in OpenBSD, but from what I see so far, there isn't any reason not to run OpenBSD as a desktop/workstation environment. If fact, it's inspired me to put together a 'how-to' of sorts, for OpenBSD newbies. Best regards, Craig Hi all, I'd like to know if someone tried to build a desktop environment on OpenBSD/i386. I think to rich desktop like Gnome or KDE. Is it hard ? What's your feedback ? Best regards, Bruno.
Re: slow network performance
I recently tried to use netperf, but it seemed more to test my CPU than the network and thus reporting low througput. benchmarks/netstrain is much less demanding on the CPU. Of course, one may use ftp to download large files since the OpenBSD one reports speed as well. /Sigfred Sebastian Schmitzdorff wrote: Hi, if I understand you correctly your testing consists of up and downloads on your openbsd router. This is not the proper way to test network performance on a router. I recommend using tools that dont involve any i/o operations such as netperf etc. According to your dmesg I wouldn't be surprised if you're issues are harddrive related. greets, sebastian Am Dienstag, den 14.02.2006, 11:16 +0100 schrieb Joachim Mathes: Hi OpenBSD community! I built a small ethernet network with Windows and Linux boxes and an OpenBSD router which is connected to the www via dsl. The problem is that the upload speed from an intranet box to the BSD server (over scp for example) is quite ok (about 13 MBit/s) but the download speed is rather slow (about 1 MBit/s). Why? I used ethereal to get a tcp dump and plottet the results (x-axis - time, y-axis - number of bytes). For about a second I get full download speed but then there is a period of 15 seconds where the connection seems to be stalled. After 15 seconds the connection works for 1 second at full speed and so on. As a result the diagram looks like a stair. Now I'm going to tell you what I have tried to solve the problem...without any success. - samba shows the same behaviour - disconnected the switch (100Mbit) and made a direct connection to the server - changed RJ45 cable - switched network cards from Realtek 8139 (100Mbit) to Realtek 8029 (10Mbit; works fine for pppoe) (I know they are of poor quality!) - changed media type manually from 100baseTX full duplex to 100baseTX to 10baseT full duplex to 10baseT - killed pf; killed ppp - processor load is ok during download - same behaviour if server is accessed from a windows or a linux box (both of them have 100Mbit NICs) I have found some old threads (OpenBSD 2.x) concerning the same problem but not any solution up to now. So if you have any further idea, please tell me. Thanks in advance! Jo dmesg: --- OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 401 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 267952128 (261672K) avail mem = 237731840 (232160K) using 3296 buffers containing 13500416 bytes (13184K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(26) BIOS, date 01/11/01, BIOS32 rev. 0 @ 0xfb130 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown pcibios0 at bios0: rev 2.1 @ 0xf/0xb5ac pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdbf0/144 (7 entries) pcibios0: PCI Exclusive IRQs: 10 11 pcibios0: PCI Interrupt Router at 000:07:0 (VIA VT82C596A ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xc800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 VIA VT82C691 PCI rev 0x06 ppb0 at pci0 dev 1 function 0 VIA VT82C598 AGP rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 Nvidia GeForce2 MX rev 0xb2 wsdisplay0 at vga1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 VIA VT82C596A ISA rev 0x07 pciide0 at pci0 dev 7 function 1 VIA VT82C571 IDE rev 0x06: ATA33, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: Maxtor 54098H8 wd0: 16-sector PIO, LBA, 39082MB, 80041248 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: LG, CD-ROM CRD-8400B, 1.00 SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 VIA VT82C596 Power Mgmt rev 0x00 at pci0 dev 7 function 3 not configured ne3 at pci0 dev 11 function 0 Realtek 8029 rev 0x00: irq 10 ne3: address 00:00:1c:0b:4c:54 rl0 at pci0 dev 12 function 0 Realtek 8139 rev 0x10: irq 11 address 00:30:84:41:d6:e1 rlphy0 at rl0 phy 0: RTL internal phy isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec isapnp0 at isa0 port 0x279: read port
3.8 bridge trouble
Hi, I want to use 2 soekris as redundant bridge filter, but I have many troubles. I installed on soekris with 128 Mo SANDISK and a stock version of 3.8. I modify the setup to have a readonly root, 2 mfs partitions (dev, var), syslog to buffer and to remote loghost. Everything runs nice. Every servers I have have at least 2 nics. I connect each server to 2 switchs, and the switchs together. And for the moment only one switch has an uplink to my provider. I will have (soon) a second link to the second switch. I want to test the soekris as a bridge with 3 links: one to my provider, one to each switch. I start the test by setting a bridge on 2 nics of the soekris connected to the 2 switchs. So now there is a loop between the switchs and the soekris. And the first problem appears. If I ping from any computers on the segment to anything else I get a storm of thousand packet/seconds until I unplug a cable from the loop. So I test with/without STP, link0: no more luke. Second part of the test, I set up a bridgename.bridge0 file with the 2 nics up with STP, and I restart the soekris. Few seconds after the end of the boot (login prompt) immediate reboot of the soekris. I stop it by, as soon as login prompt appears, to log in and put down the bridge. In fact, each time all the cables is connected to have a loop, in the 15 seconds I put up the bridge the box reboots (may be the same delay as to start forwarding packet). But if I put up the bridge with only one cable and put the second ones after not much problems. In fact sometimes when there is a big storm the soekris reboots too. I add asked Henning at EuroBSDCon'2005 about this, and he says to me that if I could avoid this setup (bridge) and use a router: this is the way to go. OK. But My provider gives me a block of 256 IPs with two gateways and before asking him for something else I would like to know what I can do. May be the new coming version 3.9 have some new stuff. I do not know. Any help to have a running setup is welcomed, and to debug the unexpected reboot. Cordialement, Jean-Girard Pailloncy
Re: PF or BPF
On Tue, 14 Feb 2006, Otto Moerbeek wrote: SNIP Something like: Even a thread started by Dave might eventually--if the topic has sufficiently departed from the original subject--lead to a (small) improvement to OpenBSD? -Otto Exactly!
Nuevo CD Educativo - MATEMATICAS (bachillerato o ciclo II)
Mensaje: Vanguardia e-ducativa, continuando con su proyecto de difusion educativa en Colombia y ahora en todos los paises de habla hispana, les invita a conocer el nuevo CD: --- CD MATEMATICAS--- Para el bachillerato CD MATEMATICAS (Bachillerato o Ciclo II) Valor: Colombia: $ 15.000 Incluido envio. Otros paises (USD 6,62) 25 SOFTWARE DE MATEMATICAS de 6 a 11. Herramientas indispensables para calcular y aprender a desarrollar polinomios, binomios, ecuaciones de primer y segundo grado, fraccionarios, graficador de funcione s trigonometricas, graficador de ecuaciones, estadi??stica, herramientas para realizar cambios entre unidades, juegos matematicos y otros. Descargue el archivo de Word para ver detalles y terminar de sorprenderse!!! Para ver temario detallado del CD: http://www.vanguardiaeducativa.com/formulario_cd_educativo.htm IMPORTANTE: POR LA COMPRA DE TRES CDS, LE OBSEQUIAMOS UN CUARTO CD A SU ELECCION :::TITULOS EDUCATIVOS DISPONIBLES::: -CD PREESCOLAR: Valor: Colombia: $ 15.000 Incluido envio. Otros paises (USD 6,62) -CD PRIMARIA: Valor: Colombia: $ 15.000 Incluido envio. Otros paises (USD 6,62) -CD PRIMARIA 3D: Valor: Colombia: $ 15.000 Incluido envio. Otros paises (USD 6,62) -CD BACHILLERATO: Valor: Colombia: $ 15.000 Incluido envio. Otros paises (USD 6,62) -CD BACHILLERATO 3D: Valor: Colombia: $ 15.000 Incluido envio. Otros paises (USD 6,62) -CD INGLES: Valor: Colombia: $ 15.000 Incluido envio. Otros paises (USD 6,62) -CD de BANDERAS, MAPAS E HIMNOS: Valor: Colombia: $ 15.000 Incluido envio. Otros paises (USD 6,62) -CD DE RECETAS DE COCINA CON SOFTWARE CALCULADOR DE INGREDIENTES SEGUN EL NUMERO DE PERSONAS: Valor: Colombia: $ 15.000 Incluido envio. Otros paises (USD 6,62) -CD DE JUEGOS: para ninos y de habilidad mental para adultos: 135 juegos para ninos y 35 juegos de habilidad mental. Valor: Colombia: $ 15.000 Incluido envio. Otros paises (USD 6,62) Para ver contenidos detallados y descargar demo de cada CD: http://www.vanguardiaeducativa.com/formulario_cd_educativo.htm !Recomendamos leer detalladamente el contenido de cada CD para terminar de sorprenderse?? REALIZAMOS ENVIOS A CUALQUIER LUGAR DEL MUNDO:::. Mas Informacion: http://www.vanguardiaeducativa.com/formulario_cd_educativo.php Telefono. (4) 2506038 Medellin-Colombia Cordialmente, GRUPO VANGUARDIAEDUCATIVA http://www.vanguardiaeducativa.com Telefono: (4) 250 60 38 Medellin-Colombia Nota: Las tildes de este mensaje fueron omitidas por efectos de configuracion. Este mensaje forma parte de nuestro programa de difusion y apoyo educativo. Si desea darse de baja de nuestra lista, por favor comuniquelo a traves de este correo y disculpe las molestias ocasionadas. -- USER AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) IP: 200.116.172.7
Re: Time filtering with PF
Alec Berryman wrote: Giancarlo Razzolini on 2006-02-15 10:09:50 -0200: I do had some rules using the time patch in the iptables, and they worked well. Now that i migrated to openbsd, i want to do the same. I will have to use cron and anchors, as someone suggested once ago, or someone already implemented or made a patch for doing this inside the pf itself? I'm not quite sure what 'the time patch in the iptables' is, but it sounds like you might want to check out expiretable. Sorry, i forgot to explain what the time patch was. It can match a packet based on it's arrival time and day of week. It's a very nice thing for me that access my house machine from many places that have fixed ip address. I can then limit the time window that they have to connect to my machine. So i can only allow traffic from my job, for example, in the times that i actually is there. More info can be found in www.netfilter.org. -- Giancarlo Razzolini Linux User 172199 Moleque Sem Conteudo Numero #002 Slackware Current Snike Tecnologia em Informatica 4386 2A6F FFD4 4D5F 5842 6EA0 7ABE BBAB 9C0E 6B85 [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
DPD isakmpd question
Hello, If you enable RFC3706 - Dead Peer Detection in isakmpd.conf, what is the result of a peer-failing the DPD check. Will it Start over with Phase1 negotiations again for that ISAKMP peer, or will it simply remove the SA and cookies and not try to renegotiate. If anyone know off hand, thanks. -Matt-
Re: Feb 13 X snapshot
The Feb 15 X snapshot should have this fixed.
Re: Time filtering with PF
Giancarlo Razzolini wrote: Sorry, i forgot to explain what the time patch was. It can match a packet based on it's arrival time and day of week. It's a very nice thing for me that access my house machine from many places that have fixed ip address. I can then limit the time window that they have to connect to my machine. So i can only allow traffic from my job, for example, in the times that i actually is there. More info can be found in www.netfilter.org. In that case it would be very easy to do with pfctl and cron. Write your access rules without regard to time, but using tables. Then add or remove entries in the tables using cron. That way you can have quite flexible schedules, and add/delete/change hosts. And the rules will be simple and don't need to be changed when changing hosts or time. Only change the cron job(s). -- Darrin Chandler| Phoenix BSD Users Group [EMAIL PROTECTED] | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ |
Re: -stable or -current kernel error
Paul Barbeau skrev: I am trying to move from the base install from the CD/FTP to either stable or current. I get the same error regardless of what version I try with and regardless of what machine (different components inside). Below is the steps I am doing to rebuild the kernel and the error I am getting. Anyone have and ideas on how to correct this problem? Am I doing it wrong and forgetting something? cd /usr; cvs -q checkout -rOPENBSD_3_8 -P src cd /usr/src find . -type l -name obj |xargs rm make cleandir rm -rf /usr/obj/* make obj cd /usr/src/etc make DESTDIR=/ distrib-dirs cd /usr/src/sys/arch/i386/conf config GENERIC cd ../compile/GENERIC make clean make depend make you need to follow the faq sequentially. now, wipe src and obj and start over from the top of the page. /kami
Re: ami0: timeout ccb 33
It sounds like the firmware hung. What were you doing at the time? On Wed, Feb 15, 2006 at 08:34:39PM +0100, Thierry Lacoste wrote: This week-end my web server running 3.8 on a Dell PowerEdge 1800 went belly up. It was frozen but was responding to ping requests. I had only this message on the console: ami0: timeout ccb 33 I had to restart it the hard way. Nothing in the logs. The machine has 3 SCSI disks factory configured in RAID5. It is a generic install with safte disabled. Below is the beginning of my dmesg. Any help to track down the problem would be appreciated. Regards, Thierry. OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Xeon(TM) CPU 3.00GHz (GenuineIntel 686-class) 3 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID real mem = 1073065984 (1047916K) avail mem = 972541952 (949748K) using 4278 buffers containing 53755904 bytes (52496K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 09/21/05, BIOS32 rev. 0 @ 0xffe90 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbb80/288 (16 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0xb000! 0xcb000/0x1000 0xcc000/0x800 0xcc800/0x1000 0xcd800/0x2600 0xec000/0x4000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel E7710 SMCH rev 0x09 ppb0 at pci0 dev 2 function 0 Intel E7710 MCH PCIE rev 0x09 pci1 at ppb0 bus 1 ppb1 at pci1 dev 0 function 0 Intel PCIE-PCIE rev 0x09 pci2 at ppb1 bus 2 mpt0 at pci2 dev 4 function 0 Symbios Logic 53c1030 rev 0x08: irq 5 mpt0: sending FW Upload request to IOC (size: 36, img size: 40048) mpt0: IM support: 0 scsibus0 at mpt0: 16 targets ami0 at pci2 dev 5 function 0 Symbios Logic MegaRAID rev 0x01: irq 11 Dell 520/64b/lhc ami0: FW 351S, BIOS v1.10, 64MB RAM ami0: 1 channels, 0 FC loops, 1 logical drives scsibus1 at ami0: 40 targets sd0 at scsibus1 targ 0 lun 0: AMI, Host drive #00, SCSI2 0/direct fixed sd0: 139760MB, 17816 cyl, 255 head, 63 sec, 512 bytes/sec, 286228480 sec total scsibus2 at ami0: 16 targets
Re: -stable or -current kernel error
Or use a snapshot. On Thu, Feb 16, 2006 at 12:30:12AM +0100, kami petersen wrote: Paul Barbeau skrev: I am trying to move from the base install from the CD/FTP to either stable or current. I get the same error regardless of what version I try with and regardless of what machine (different components inside). Below is the steps I am doing to rebuild the kernel and the error I am getting. Anyone have and ideas on how to correct this problem? Am I doing it wrong and forgetting something? cd /usr; cvs -q checkout -rOPENBSD_3_8 -P src cd /usr/src find . -type l -name obj |xargs rm make cleandir rm -rf /usr/obj/* make obj cd /usr/src/etc make DESTDIR=/ distrib-dirs cd /usr/src/sys/arch/i386/conf config GENERIC cd ../compile/GENERIC make clean make depend make you need to follow the faq sequentially. now, wipe src and obj and start over from the top of the page. /kami
Re: slow network performance
Joachim Mathes wrote: - switched network cards from Realtek 8139 (100Mbit) to Realtek 8029 (10Mbit; works fine for pppoe) (I know they are of poor quality!) Throw out the Realtek cards and buy a good nic. I had a server (clone P3) with network performance issues, saving files to the server would take forever but reading from the server would work okay. I finally replaced the Linksys card (recognized as a dc, I think) with an em, all fixed. It cold also be a duplex issue, look for collisions on the network interfaces. Some cards will ignore you when you tell them what duplex to use.
network distributed storage with windows?
Hi, I've been hired by a client to perform a number of network services for him, most of which are completely unrelated to my topic. Now, onto my topic: He asked me if I could partition all of his workstation computers (running windows XP Professional SP2) with a windows partition, and a hidden partition which occupies most of the disk, that is accessible over the network to OpenBSD (actually he asked for FreeBSD, but I will change his mind...) to back up his server. He doesn't want his employees to know about it or to be able to interact with this hidden partition in any way. I told him that it is not possible, because windows controls the hardware (being the OS on the system) and the only way it would work was if he had *BSD on the system. But, because he is paying me, I thought I should give him the benefit of the doubt, and ask the pros in this area. So, is it possible for OpenBSD to access a bunch of hidden (I put it into quotes because it could be any non-windows compatible partition, because it won't show it then) partitions on networked workgroup computers and treat them like one big disk for backup? My apologies for such a long post. I am new to OpenBSD, but I like what I see. Thanks, A Rossi
Re: 3.8 bridge trouble
Pailloncy Jean-Gerard wrote: I want to use 2 soekris as redundant bridge filter, but I have many troubles. [...] Every servers I have have at least 2 nics. I connect each server to 2 switchs, and the switchs together. And for the moment only one switch has an uplink to my provider. I will have (soon) a second link to the second switch. So something like this? [ISP] | [SW1][SW2] || | +--+ [SKR] I want to test the soekris as a bridge with 3 links: one to my provider, one to each switch. I start the test by setting a bridge on 2 nics of the soekris connected to the 2 switchs. So now there is a loop between the switchs and the soekris. And the first problem appears. If I ping from any computers on the segment to anything else I get a storm of thousand packet/seconds until I unplug a cable from the loop. That's because of the loop. Even if the switches cache ARP replies and send further packets directly to their destinations, the initial broadcasted ARP request is going to go round and round. So I test with/without STP, link0: no more luke. The above test was without STP, yes? Are you saying that when you enabled STP you got a message of link0: no more luke? Do your switches support STP and have it enabled? Second part of the test, I set up a bridgename.bridge0 file with the 2 nics up with STP, and I restart the soekris. Few seconds after the end of the boot (login prompt) immediate reboot of the soekris. No idea what's happening here. Best guess would be protection against overheating. If there's nothing in your OS logs, check your BIOS for any management logs. -- Jason Stubbs
Re: network distributed storage with windows?
A Rossi wrote: Hi, I've been hired by a client to perform a number of network services for him, most of which are completely unrelated to my topic. Now, onto my topic: He asked me if I could partition all of his workstation computers (running windows XP Professional SP2) with a windows partition, and a hidden partition which occupies most of the disk, that is accessible over the network to OpenBSD (actually he asked for FreeBSD, but I will change his mind...) to back up his server. He doesn't want his employees to know about it or to be able to interact with this hidden partition in any way. I told him that it is not possible, because windows controls the hardware (being the OS on the system) and the only way it would work was if he had *BSD on the system. But, because he is paying me, I thought I should give him the benefit of the doubt, and ask the pros in this area. So, is it possible for OpenBSD to access a bunch of hidden (I put it into quotes because it could be any non-windows compatible partition, because it won't show it then) partitions on networked workgroup computers and treat them like one big disk for backup? My apologies for such a long post. I am new to OpenBSD, but I like what I see. Thanks, A Rossi I'm certainly no guru, but I can tell you this: If the OS in control of the system does not understand the file system of the partition, then no other system will be able to access it in any meaningful way. That said, I think you could create a C partition, and house the user's Windows installation and applications on it. Then create a second D partition, and lock the view/use rights for that partition to administrator accounts only. Share that partition with the usual Windows file and printer sharing, then access it through SAMBA with administrator credentials.
Re: network distributed storage with windows?
As I though. That is what I told my client. Thank you for verifying my knowledge. Chris Zakelj wrote: A Rossi wrote: Hi, I've been hired by a client to perform a number of network services for him, most of which are completely unrelated to my topic. Now, onto my topic: He asked me if I could partition all of his workstation computers (running windows XP Professional SP2) with a windows partition, and a hidden partition which occupies most of the disk, that is accessible over the network to OpenBSD (actually he asked for FreeBSD, but I will change his mind...) to back up his server. He doesn't want his employees to know about it or to be able to interact with this hidden partition in any way. I told him that it is not possible, because windows controls the hardware (being the OS on the system) and the only way it would work was if he had *BSD on the system. But, because he is paying me, I thought I should give him the benefit of the doubt, and ask the pros in this area. So, is it possible for OpenBSD to access a bunch of hidden (I put it into quotes because it could be any non-windows compatible partition, because it won't show it then) partitions on networked workgroup computers and treat them like one big disk for backup? My apologies for such a long post. I am new to OpenBSD, but I like what I see. Thanks, A Rossi I'm certainly no guru, but I can tell you this: If the OS in control of the system does not understand the file system of the partition, then no other system will be able to access it in any meaningful way. That said, I think you could create a C partition, and house the user's Windows installation and applications on it. Then create a second D partition, and lock the view/use rights for that partition to administrator accounts only. Share that partition with the usual Windows file and printer sharing, then access it through SAMBA with administrator credentials.
Re: network distributed storage with windows?
I would install OpenAFS on all the windows boxes, then use one of many methods to hide those processes. Then you could have each drive mounted/hosting different logical volumes. And they would all be available from any OS with a afs client, which almost all are supported. -Ober Richard Chesler: [Reading a piece of paper] The first rule of Fight Club is you don't talk about Fight Club? Narrator: [Voice-over] I'm half asleep again; I must've left the original in the copy machine. Richard Chesler: The second rule of Fight Club - is this yours? Narrator: Huh? Richard Chesler: Pretend you're me, make a managerial decision: you find this, what would you do? On Wed, 15 Feb 2006, A Rossi wrote: Date: Wed, 15 Feb 2006 17:53:14 -0800 From: A Rossi [EMAIL PROTECTED] To: misc@openbsd.org Subject: network distributed storage with windows? Hi, I've been hired by a client to perform a number of network services for him, most of which are completely unrelated to my topic. Now, onto my topic: He asked me if I could partition all of his workstation computers (running windows XP Professional SP2) with a windows partition, and a hidden partition which occupies most of the disk, that is accessible over the network to OpenBSD (actually he asked for FreeBSD, but I will change his mind...) to back up his server. He doesn't want his employees to know about it or to be able to interact with this hidden partition in any way. I told him that it is not possible, because windows controls the hardware (being the OS on the system) and the only way it would work was if he had *BSD on the system. But, because he is paying me, I thought I should give him the benefit of the doubt, and ask the pros in this area. So, is it possible for OpenBSD to access a bunch of hidden (I put it into quotes because it could be any non-windows compatible partition, because it won't show it then) partitions on networked workgroup computers and treat them like one big disk for backup? My apologies for such a long post. I am new to OpenBSD, but I like what I see. Thanks, A Rossi
Re: cardbus cant map interrupt - asus pundit barebone
On 2/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi fellows, having issues to get the cardbus working. Hardware: Asus Pundit AB-P2600 Cardbus Chipset: ENE CB-710Q Chip vendor ENE, unknown product 0x0510 (class memory subclass flash, rev 0x00) at pci2 dev 12 funct 'unknown product' means there's no drivers for it.
Re: OT: VPN + default route - how? ( moved from pf@ )
this should probably move to misc@; not pf-related, afaict. On Mon, Feb 13, 2006 at 07:29:17AM -0600, Travis H. wrote: Basically I've got a remote node that is directly attached to an untrusted LAN (think metropolitan) and the firewall/gateway to the internet/VPN peer are the same machine, also directly attached to the LAN. might just be my poor english, but does that mean that the remote node you have is the firewall/gateway/VPN peer, or that there is an untrusted LAN out there where you have some subnet A, and one host on that subnet is a node who is the remote VPN peer, and there is another node who is on subnet A who uses the remote VPN peer as its default gateway? I tried setting up a network route to 0.0.0.0 mask 0.0.0.0 in isakmpd.conf but it didn't seem to do what I wanted to. if you do that, it will make a flow with those network criteria. packets traversing the VPN machine on your side ( eg , if it is normally being used for ip.forwarding=1 ) can match that flow prior to a normal route lookup ( afaict ), but packets originating on the machine itself will only be checked against the flows after they go through normal route lookup. make sure to not cloud the understanding that isakmpd adds, or rather can add, encap flows, but does not alter the normal (inet/inet6) routing tables. or in short, from what i've seen in my uses, the following match-order: - traffic which originates on my VPN gateway: 1) netstat -rnf inet 2) netstat -rnf encap - traffic which originates behind it and will be forwarded through: 1) netstat -rnf encap 2) netstat -rnf inet hopefully i am not too inaccurate or misleading there. i don't doubt i'm missing some details, please don't call those guesses a religion. anyway, that was dealing mostly with the encap flows. so you're not looking to change the 'inet' default route on the VPN/gateway peer, but rather, you want a 0/0 as a destination for an encap flow that is present on the VPN/gateway peer? like: --- Encap: Source Port DestinationPort Proto SA(Address/Proto/Type/Direction) 172.16.1.8/32 0 0.0.0.0/0 0 0 18.100.128.63/50/use/in 0.0.0.0/0 0 172.16.1.8/32 0 0 18.100.128.63/50/require/out --- where 172.16.1.8 is the remote node that is behind this VPN peer, and 18.100.128.63 is the external IP of your local side this remote makes VPN connection to? (assumption is that the remote VPN peer would also have an IP in the 172.16.1.xxx subnet)? sudo route add Ugh, netstart should read a file in /etc/ for them or something. should? ... that might just be a difference in methodology between OS A and B. Am I the only one who fiddles with /etc/netstart? you can put your route stuff right in hostname.if with !/sbin/route blahblah. i do that for the static routes i need to add, either in hostname.enc0 or wherever i find most intuitive. i don't fiddle with netstart at all. perhaps it is only the result of the fortune of my scenario being not too complex, but i get everything done with a few !s in hostname.if files.. -- jared [ openbsd 3.9-beta GENERIC ( jan 30 ) // i386 ]
Re: network distributed storage with windows?
Hi, On 2006.02.16, at 12:53 PM, A Rossi wrote: He asked me if I could partition all of his workstation computers (running windows XP Professional SP2) with a windows partition, and a hidden partition which occupies most of the disk, that is accessible over the network to OpenBSD (actually he asked for FreeBSD, but I will change his mind...) to back up his server. Years ago while working for an educational institution, I cobbled together some programs to allow some classroom machines to be brought back to SOE automatically every night after classes, as long as the machines were switched off at the end of the day. I used the automatic power ON feature on the PC's to switch them ON automatically at 11pm, and then Smart Boot Manager, which has boot schedule features which could be configured to automatically boot a hidden DOS partition if the PC's were booted at around that time. That hidden DOS partition would then run Ghost to restore the WinNT partition to SOE. Once that was done I had a small util power the machines OFF. Smart Boot Manager can be configured with a boot delay of zero seconds, so the staff should never see it. One thing you might be able to do, is if those PC's have the auto power ON feature, use smart boot manager to do much the same, but boot OpenBSD instead and maybe run Samba to receive those backups. Then have OpenBSD power those PC's off before work begins the next morning. Maybe rsync or Unison would be better. Having said all that, you really should be convincing him that a real backup scheme should be employed. That is dodgy. The backups could be corrupted through a multitude of ways or copied by a savvy malicious staff member. What if there is a fire? Shane J Pearsonshanejp netspace net au -|
Re: network distributed storage with windows?
On Wed, 15 Feb 2006 17:53:14 -0800 A Rossi [EMAIL PROTECTED] wrote: Hi, I've been hired by a client to perform a number of network services for him, most of which are completely unrelated to my topic. Now, onto my topic: He asked me if I could partition all of his workstation computers (running windows XP Professional SP2) with a windows partition, and a hidden partition which occupies most of the disk, that is accessible over the network to OpenBSD (actually he asked for FreeBSD, but I will change his mind...) to back up his server. He doesn't want his employees to know about it or to be able to interact with this hidden partition in any way. I told him that it is not possible, because windows controls the hardware (being the OS on the system) and the only way it would work was if he had *BSD on the system. But, because he is paying me, I thought I should give him the benefit of the doubt, and ask the pros in this area. So, is it possible for OpenBSD to access a bunch of hidden (I put it into quotes because it could be any non-windows compatible partition, because it won't show it then) partitions on networked workgroup computers and treat them like one big disk for backup? It might be possible to do something similar by setting the permissions on the partition to disallow all access from the normal user. The users would be able to see the existence of the partition but not be able to access it if they can't change the permissions. Then if you can find a windows NFS server that runs as a daemon and allow the partition to be accessed over the network only from the BSD server. Or if you could find a ssh daemon for windows, you could use that to allow the server to use scp to transfer files back and forth. Eric Johnson
Re: network distributed storage with windows?
On Wed, 15 Feb 2006 17:53:14 -0800 A Rossi [EMAIL PROTECTED] wrote: Hi, I've been hired by a client to perform a number of network services for him, most of which are completely unrelated to my topic. Now, onto my topic: He asked me if I could partition all of his workstation computers (running windows XP Professional SP2) with a windows partition, and a hidden partition which occupies most of the disk, that is accessible over the network to OpenBSD (actually he asked for FreeBSD, but I will change his mind...) to back up his server. He doesn't want his employees to know about it or to be able to interact with this hidden partition in any way. I told him that it is not possible, because windows controls the hardware (being the OS on the system) and the only way it would work was if he had *BSD on the system. But, because he is paying me, I thought I should give him the benefit of the doubt, and ask the pros in this area. So, is it possible for OpenBSD to access a bunch of hidden (I put it into quotes because it could be any non-windows compatible partition, because it won't show it then) partitions on networked workgroup computers and treat them like one big disk for backup? It might be possible to do something similar by setting the permissions on the partition to disallow all access from the normal user. The users would be able to see the existence of the partition but not be able to access it if they can't change the permissions. Then if you can find a windows NFS server that runs as a daemon and allow the partition to be accessed over the network only from the BSD server. Or if you could find a ssh daemon for windows, you could use that to allow the server to use scp to transfer files back and forth. Eric Johnson
Re: slow network performance
[EMAIL PROTECTED] wrote: I recently tried to use netperf, but it seemed more to test my CPU than the network and thus reporting low througput. benchmarks/netstrain is much less demanding on the CPU. Of course, one may use ftp to download large files since the OpenBSD one reports speed as well. /Sigfred Sebastian Schmitzdorff wrote: Hi, if I understand you correctly your testing consists of up and downloads on your openbsd router. This is not the proper way to test network performance on a router. I recommend using tools that dont involve any i/o operations such as netperf etc. I found iperf to be simple to use, and highlighted the significance of tcp window size selection. Even on a LAN I found a higher (double the default) values for net.inet.tcp.recvspace and net.inet.tcp.sendspace improved (TCP) throughput significantly. -Steve S.
Re: cardbus cant map interrupt - asus pundit barebone
On 16/02/2006, at 2:25 PM, Nick Guenther wrote: On 2/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi fellows, having issues to get the cardbus working. Hardware: Asus Pundit AB-P2600 Cardbus Chipset: ENE CB-710Q Chip vendor ENE, unknown product 0x0510 (class memory subclass flash, rev 0x00) at pci2 dev 12 funct 'unknown product' means there's no drivers for it. no, it just means we dont have an entry for it in our pci device list inside the kernel. not all drivers need pci dev entries for matching on a device. for example all the usb host controller drivers attach on the devices class, not its vendor and product ids. in this situation you can have a driver happily attach to a device while printing out unknown product. dlg
Re: 3.8 bridge trouble
On Wed, 15 Feb 2006, Pailloncy Jean-Gerard wrote: Second part of the test, I set up a bridgename.bridge0 file with the 2 nics up with STP, and I restart the soekris. Few seconds after the end of the boot (login prompt) immediate reboot of the soekris. I stop it by, as soon as login prompt appears, to log in and put down the bridge. In fact sometimes when there is a big storm the soekris reboots too. Is the watchdog timer (sysctl kern.watchdog) set? I've seen Soekrises reboot because of that when under high network load. -- Cam
error installing python 2.3 from OpenBSD 3.8 ports
Hi all, I was trying to install Python 2.3 from OpenBSD 3.8 ports for http://www.jackal-net.at/tiki-read_article.php?articleId=1 The install did not succeed and I got an error message. Could someone please help me troubleshoot it? The error messagr is shown below # cd ports/lang/python/2.3/ # make install === Checking files for python-2.3.5p2 Python-2.3.5.tgz doesn't seem to exist on this system. Attempting to fetch /usr/ports/distfiles/Python-2.3.5.tgz from ftp://ftp.pyth on.org/pub/python/2.3.5/. ftp: connect: Connection refused ftp: Can't connect or login to host `ftp.python.org' Attempting to fetch /usr/ports/distfiles/Python-2.3.5.tgz from http://python. mirrors.pair.com/ftp/python/2.3.5/. ftp: Error retrieving file: 404 Not Found Attempting to fetch /usr/ports/distfiles/Python-2.3.5.tgz from http://python. mirrors.ilisys.com.au/ftp/python/2.3.5/. 100% |**| 8335 KB02:31 Size matches for /usr/ports/distfiles/Python-2.3.5.tgz Checksum OK for Python-2.3.5.tgz. (sha1) === python-2.3.5p2 depends on: db-4.2.52p2 - not found === Verifying install for db-4.2.52p2 in databases/db/v4 === Checking files for db-4.2.52p2 db-4.2.52.tar.gz doesn't seem to exist on this system. Attempting to fetch /usr/ports/distfiles/db-4.2.52.tar.gz from http://www.sle epycat.com//update/snapshot/. ftp: Error retrieving file: 404 Not Found Attempting to fetch /usr/ports/distfiles/db-4.2.52.tar.gz from ftp://sleepyca t1.inetu.net/releases/. 100% |**| 3827 KB01:52 Size does not match for /usr/ports/distfiles/db-4.2.52.tar.gz *** Error code 1 Stop in /usr/ports/databases/db/v4 (line 1990 of /usr/ports/infrastructure/mk/bs d.port.mk). *** Error code 1 Stop in /usr/ports/databases/db/v4 (line 1444 of /usr/ports/infrastructure/mk/bs d.port.mk). *** Error code 1 Stop in /usr/ports/databases/db/v4 (line 1633 of /usr/ports/infrastructure/mk/bs d.port.mk). *** Error code 1 Stop in /usr/ports/lang/python/2.3 (line 1334 of /usr/ports/infrastructure/mk/bs d.port.mk). *** Error code 1 Stop in /usr/ports/lang/python/2.3 (line 1633 of /usr/ports/infrastructure/mk/bs d.port.mk). # Thankyou so much Kind Regards Siju
Re: network distributed storage with windows?
What a multitude of options I have! I'll probably end up not reporting these solutions to my client, so that he'll use a more traditional backup method. The OpenAFS solution would be nice, if I could find it in package form for OpenBSD, or a port for FreeBSD, but I can find neither. Also, if it weren't for some of the reasons below, it would be a decent solution, except for hiding the process from the users. Having the machines auto-boot and load a hidden OS sounds like a great idea... if I had the hardware to carry it out. I do not believe that the motherboards support that feature. Shane also points out the excellent fact that this is a little dangerous. Although, I didn't mention it, I was secretly hoping for a solution that could implement a sort of parity, similar to that of RAID5, where if one of the computers died, the backup would still be useable. I also did not mention that there was another backup solution in development, but these seemed irrelevant at the time of posting. My client didn't really like the idea of just making a windows partition and disallowing the users from accessing it with permissions, because then they'd know about something... And some might complain about it being broken - they have several older people on staff who aren't as computer literate. And, honestly, I did not know that windows even has daemons. I thought that was a Unix concept. Anyways, thanks for the input, and don't stop! One idea might spark a thought in the right direction (as is the case with me, usually). A Rossi P.S. My apologies to those of you who use console-based mail clients. I'm still trying to figure out how to get Thunderbird to wrap my text at 72 characters. Yes, I know about the setting under Tools Options, but that doesn't seem to be working correctly... Eric Johnson wrote: On Wed, 15 Feb 2006 17:53:14 -0800 A Rossi [EMAIL PROTECTED] wrote: Hi, I've been hired by a client to perform a number of network services for him, most of which are completely unrelated to my topic. Now, onto my topic: He asked me if I could partition all of his workstation computers (running windows XP Professional SP2) with a windows partition, and a hidden partition which occupies most of the disk, that is accessible over the network to OpenBSD (actually he asked for FreeBSD, but I will change his mind...) to back up his server. He doesn't want his employees to know about it or to be able to interact with this hidden partition in any way. I told him that it is not possible, because windows controls the hardware (being the OS on the system) and the only way it would work was if he had *BSD on the system. But, because he is paying me, I thought I should give him the benefit of the doubt, and ask the pros in this area. So, is it possible for OpenBSD to access a bunch of hidden (I put it into quotes because it could be any non-windows compatible partition, because it won't show it then) partitions on networked workgroup computers and treat them like one big disk for backup? It might be possible to do something similar by setting the permissions on the partition to disallow all access from the normal user. The users would be able to see the existence of the partition but not be able to access it if they can't change the permissions. Then if you can find a windows NFS server that runs as a daemon and allow the partition to be accessed over the network only from the BSD server. Or if you could find a ssh daemon for windows, you could use that to allow the server to use scp to transfer files back and forth. Eric Johnson