FreeBSD, GPGPU and OpenCL/CUDA
Hello. The problem behind the subject is a little bit frustrating, so I do not know were to start. I use FreeBSD at my lab and private for scientific stuff. In most cases, FreeBSD performed sufficiently for tasks we/I had to do. But this picture has changed. Modelling atsrodynamical problems I need to order and setup new multicore computer boxes and the preferred OS in mind was still FreeBSD (even 9.0-CURRENT). We use a highly parallelized and CUDA supported modellig software solving symplectic integrational problems (moving stars and planets and even lost of particles in ring systems like saturn). Getting involved with CUDA, I was looking for solutions and tools for usage with FreeBSD (priority is: we need 64 Bit and due to several issues I had with the main infrastructure, like OpenLDAP, Linuxulator isn't a way to go). Since most of my colleagues overseas now use CUDA-supported GPGPU software with Linux, I was looking for some solutions using this software (written in C++ and Fortran 95) with FreeBSD. First, and this hasn't changed since the last 15 years, FreeBSD lack in support of professional Compiler vendors. Pprtland Group offers only Linux compilers, as far as I know Intel does not offer a native FreeBSD 64 Bit compiler. So we are stuck with gcc and gfortran, but this isn't an matter, if OpenCL/CUDA stuff could be used. But there is then the next problem. It seems that there is no real chance getting support for executing high performance code portions of our software in any way on a graphics card (gpu). Most FreeBSD driver doesn't support any 3D acceleration and as far as I know, the driver's support of 3D is essential for GPGPU usage. I looked for nVidia's native 64 Bit driver for FreeBSD, I found it, was happy having it, but then I realised that obviously CUDA isn't usable with this driver, since the CUDA SDK is not to be ported to FreeBSD and not even to 64 Bit FreeBSDs. Well, FreeBSD doesn't support 64 Bit Linuxulator as far as I know, so there is no chance getting software run in 64 bit environments using OpenCL/CUDA with nVidia GPUs, neither natively under FreeBSD nor with a 64Bit Linuxulator, is this right? I havn't looked deeper into AMDs offerings, but I guess since it's silent around OpenCL and AMD-based GPGPU, even with Linux there isn't much. I'm not very close to the GPGPU scene, we even start thinking about porting and developing some mathematical stuff into libraries and thought about OpenCL. Unluckily, in my team I'm the only one utilizing FreeBSD. Maybe someone out here has solved some problems and could email me. Even AMD seems to be a white spot in the subject of GPGPU and FreeBSD for me, maybe someone could shed some light on this. Thanks in advance, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re : Re : Re : How to connect a jail to the web ?
I had a break with this yesterday. I've just tried your suggestions. It still doesn't work but the error message has changed. On the host when the jail is running : FreeBSD# jls JID IP Address Hostname Path 1 93.0.168.242MaPrison /usr/prison FreeBSD# ifconfig rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:11:09:15:72:6a inet 192.168.1.38 netmask 0xff00 broadcast 192.168.1.255 inet 93.0.168.242 netmask 0x broadcast 93.0.168.242 media: Ethernet autoselect (100baseTX full-duplex) Where did you get that second IP address from? Did you just add it manually? Or is that the address that your gateway (DSL router, whatever) got assigned from your ISP? I added it manually in rc.conf (on the host) : jail_server_rootdir=/usr/prison jail_server_hostname=MaPrison jail_server_ip=93.0.168.242 I choosed it because that's my computer's public ip, at least according to this website : http://whatismyipaddress.com/ I assume that IP address is not really routed to your host, but that NAT (Network Address Translation) is used on your router. So you cannot use that address on the host. (If that's not true, please exlain the structure of your network in more detail.) My network is very simple. I've got a kind of modem provided by my phone company. It's called a neufbox and acts as a gateway. Its address is 192.168.1.1. This neufbox is connected to : - the phone network - a phone - the FreeBSD computer through an ethernet wire - two other computers via wifi When I browse address 192.168.1.1 with firefox, I can see a page telling this the neufbox, that internet and the phone are working, that the tv is not connected (that's true) and that it's public ip address is 93.0.168.242. It also gives its MAC address and various other infos. So, if my assumptions are true, you must use the address 192.168.1.38 for your jail. OK. In /etc/rc.conf, I changed this line (see above) : jail_server_ip=198.168.1.38 Make sure that DNS is working inside the jail ... It should be sufficient to copy /etc/resolv.conf from the host to /usr/prison/etc/resolv.conf /etc/resolv.conf only contains this single line : nameserver 192.168.1.1 I placed a copy of this file in the jail. After these changes and a complete reboot, I launched the jail and tried a portsnap fetch : FreeBSD# /etc/rc.d/jail onestart server Configuring jails:. Starting jails: MaPrison. FreeBSD# jls JID IP Address Hostname Path 1 192.168.1.38MaPrison /usr/prison FreeBSD# jexec 1 portsnap fetch Looking up portsnap.FreeBSD.org mirrors... /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1699: internal_send: 192.168.1.1#53: Invalid argument /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1699: internal_send: 192.168.1.1#53: Invalid argument none found. Fetching public key from portsnap.FreeBSD.org... failed. No mirrors remaining, giving up. FreeBSD# Then, firefox (on the host) was no longer able to browse. I tried this on the host : FreeBSD# ping www.freebsd.org ping: cannot resolve www.freebsd.org: Host name lookup failure In other words, it appeared that DNS was no longer working, even on the host. I rebooted again. This time, I didn't launch the jail. ping and Firefox worked perfectly well on the host as they had always did before. If it still doesn't work: Are you using any packet filter (ipfw, ipf, pf)? If so, please show the complete list of rules. No, I don't. You told me it was not necessary. Otherwise, it might help to run tcpdump(1) on the host, so you can see the actual packets that are transmitted and received. Here's what tcpdump says when the jail is NOT running (but Firefox is) : FreeBSD# tcpdump tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on rl0, link-type EN10MB (Ethernet), capture size 96 bytes 09:08:50.300910 IP neufbox.32774 239.255.255.250.1900: UDP, length 263 09:08:50.301378 IP neufbox.32774 239.255.255.250.1900: UDP, length 335 09:08:50.301822 IP neufbox.32774 239.255.255.250.1900: UDP, length 331 09:08:50.302275 IP neufbox.32774 239.255.255.250.1900: UDP, length 311 09:08:50.302933 IP neufbox.32774 239.255.255.250.1900: UDP, length 343 09:08:50.303485 IP neufbox.32774 239.255.255.250.1900: UDP, length 325 09:08:50.303938 IP neufbox.32774 239.255.255.250.1900: UDP, length 327 09:08:50.304383 IP neufbox.32774 239.255.255.250.1900: UDP,
Rejected posting to recmgm...@lists.ufl.edu
You are not authorized to send mail to the RECMGMT-L list from your freebsd-questions@FREEBSD.ORG account. You might be authorized to post to the list from another account, or perhaps when using another mail program configured to use a different email address. However, LISTSERV has no way to associate this other account or address with yours. If you need assistance or if you have any questions regarding the policy of the RECMGMT-L list, please contact the list owners at recmgmt-l-requ...@lists.ufl.edu. ---BeginMessage--- List archives at http://lists.ufl.edu/archives/recmgmt-l.html Contact recmgmt-l-requ...@lists.ufl.edu for assistance To unsubscribe from this list, click the below link. If not already present, place UNSUBSCRIBE RECMGMT-L or UNSUB RECMGMT-L in the body of the message. mailto:lists...@lists.ufl.edu?body=unsubscribe%20recmgmt-l ---End Message--- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Documentation on how to build 32bit applications on amd64?
On Saturday 14 August 2010 00:57:43 Yuri wrote: Should I make a patch, or maybe further discuss on hack...@? There are patches for CURRENT here: http://lists.freebsd.org/pipermail/freebsd-arch/2010-July/010470.html signature.asc Description: This is a digitally signed message part.
CD burning woes, redux
Hi, My CD burning woes continue. I've replaced a power supply that was almost certainly marginal (kernel page fault failures during fsck on two drives at once, but not on one at a time) and put a brand new SATA DVD burner on the machine (LITE-ON iHAS124-04). uname -a reports FreeBSD silver.local 7.2-RELEASE FreeBSD 7.2-RELEASE #5: Thu May 20 09:45:44 EDT 2010 t...@silver.local:/usr/obj/usr/src/sys/SMP-GONDOLIN i386 Power supply is a new 400W Rosewill; MB is by Asus, processor is a Core 2 Quad running at (I think) 2.25 GHz. (It's under 2.3.) I added an MSI GeForce video card (X doesn't want to run on the mobo video). There are two SATA disks, both 7200 RPM and neither in service for very long. (I only buy 5-year-warranty drives.) They are in a carrier with a fan and are cool to the touch. The processor cores run between 49 and 57 C; the NB chip has a big copper heat sink with an 8 CFM fan; HS is warm at the bottom and cool at the top. This worked a few weeks ago, when I burned about forty of these Archival Gold disks. cdrecord -v reports that they have the same chemistry and write strategy as the TDK cheapies. I've tried with both atapi/cdburn and atapicam/cdrecord. I've tried with both TDK CDs and the expensive archival-grade discs I'm trying to burn. The operation pauses for a very long time, the activity LED on the drive flashes, and I get console messages thus: Aug 14 07:03:50 silver kernel: acd0: TIMEOUT - WRITE_BIG retrying (1 retry left) Aug 14 07:03:50 silver kernel: acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request Aug 14 07:03:51 silver kernel: acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly Aug 14 07:03:51 silver kernel: acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request Aug 14 07:04:31 silver kernel: acd0: WARNING - unknown CMD (0x4a) taskqueue timeout - completing request directly Aug 14 07:04:31 silver kernel: acd0: WARNING - unknown CMD (0x4a) freeing taskqueue zombie request Aug 14 07:04:51 silver kernel: acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly Aug 14 07:04:51 silver kernel: acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request Aug 14 07:08:13 silver kernel: acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly Aug 14 07:08:52 silver kernel: acd0: TIMEOUT - WRITE_BIG retrying (1 retry left) Aug 14 07:08:52 silver kernel: acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request Aug 14 07:08:53 silver kernel: acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly Aug 14 07:08:53 silver kernel: acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request Aug 14 07:09:33 silver kernel: acd0: WARNING - unknown CMD (0x4a) taskqueue timeout - completing request directly Aug 14 07:09:33 silver kernel: acd0: WARNING - unknown CMD (0x4a) freeing taskqueue zombie request Lather, rinse, repeat. Sometimes it makes it to the end of the disk, more often with the cheap disks that with the $2.00-to-burn-a-coaster archival disks. I get about the same messages whether using atapi or atapicam. I have had the whole machine lock up twice. Once it was apparently a disk system lockup; I could get prompts but nothing would run. It freed up, apparently after something was run, the other time it stopped responding to the console keyboard in any way and nothing moved on the display. The drive seems to only want to write at speed 48. Using cdrecord speed=0 (use slowest available) is runs at the same 48 that it runs at with no speed= . I will be grateful for any suggestions. Mark Terribile materrib...@yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ZFS not usable on FreeBSD-8.1
I run FreeBSD-8.1/amd64. I have used ZFS for four years on (Open)Solaris, so I have some experience with it. It always served me very very well. However, I cannot get it to work on my SATA2 drives. At first I thought they'de suffer from something from there OpenSolaris ZFS mirroring. So, I wiped out the drives completely by writing zero's to them. Then I created a ZFS zpool on one drive, destroyed it and created a mirrored zpool on my 2 Tb drives. It seemed OK; files could be written and removed to/from it. A new zfs filesystem worked OK too. *HOWEVER*, the moment I *do* something to the zpool like zpool scrub pool I get a vdev failure (type=vdev.bad_label) and the pool is ruined. It can't be destroyed or exported anymore. It's just a waste. I tested this behaviour on 10 different drives. Four of them brandnew. It happened everytime again. It is not the drives! Booting into OpenSolaris b134 I am perfectly able to create workable ZFS mirrors out of the drives. I can also scrub them ;-) ;-) or whatever io related thing I want to do. This leads me to the conclusion that something is definitely wrong with ZFS in FreeBSD-8.1/amd64. For the moment I created some gmirrors on a couple of drives, but man, how I'd liked to have zpools. They work zo much sweater/easier. Am I alone in these matters? Are there any known issues regarding ZFS. I know there are some in FreeBSD-9 (at least I saw some reports on vdev.bad_label messages) on nabble.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
STAT RL+ process
I have a process on v1 which shows STAT RL+ Do I understand it correctly that this process is waiting for a lock? And if it does this for quite some time it is probably not getting it and I can wait forever for this process to complete? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: UPS question
In freebsd-questions Digest, Vol 323, Issue 9, Message: 3 On Wed, 11 Aug 2010 15:18:01 -0500 Ryan Coleman ryan.cole...@cwis.biz wrote: On Aug 11, 2010, at 3:06 PM, David Brodbeck wrote: On Wed, August 11, 2010 12:25 pm, Ryan Coleman wrote: He thinks that at 500W needed it would give me about 12 minutes on a 1400VA. My consideration is, then, give the server 2 minutes on battery. If full power has not been returned, shut down the server but leave the modem (w/ wireless) and switch running with power for up to 6 hours. A bit of advice: If this is an unattended system, give some thought to how you will boot the server back up if the outage is longer than two minutes but shorter than six hours. Most UPS installations have *some* kind of race condition issue if power comes back after the servers have begun a shutdown, but in your case it's an unusually long window. Meaning that my 2-minute window is unusually long? If the UPS can support the system for 12 minutes, I say give it 20% of the life of the support because our power outages here are usually spikes that kill my current web server (but amazingly *not* my file server). In fact, one of those power fluxes occurred last night. I love storms for the light shows, but hate them for the toll they take on my servers. Indeed. Ryan, I'm coming in late but I've read the whole thread, after many people have added useful insights. However I must question your initial power estimate for this server; in your first post you said (cutting a bit): I am looking at a 1400VA / 980W UPS to run a single server with a usually not on monitor, a DSL modem and a simple switch. The server should generate about 330W in power consumption, the monitor another 50-100, the modem about 10 and the switch about another 10 watts. So: UPS: 1400VA Server: 400W (liberal estimate) Modem: 10W Switch: 10W Monitor: 75W Total: 495W First, forget the monitor. You said it's usually off anyway, as you'd expect on a server. Plug it into the mains directly as needed, not on the UPS. Or at least use DPMS to suspend it after a minute or so idle. Secondly, get a power meter and actually measure your server running. Unless it's a real monster, it will likely draw less than 200W in normal use, possibly much less if using powerd to moderate CPU speed by load. So I suspect you may get something like 5 times the full-load rated time out of your 1400VA UPS, maybe 20-25 minutes or so. 5 minutes should be a comfortable runtime, to shut it down with 70-80% capacity remaining. Thirdly, I'll second using another UPS (eg 300VA units are cheap) for powering other than your server. That way you can use features of your software (eg NUT) to properly signal the UPS to shutdown (irrevocably) just after your server shuts down, to get proper resumption when power returns. Should you get multiple successive on-battery then on-mains events, good UPSs will delay restarting until there's enough capacity to run another cycle, which time may be tunable for your requirements. Additionally I spent $34 on a video card today that reduces my power consumption by 150Watts, resulting in a $13 per month savings in my powerbill - in MN we have a fixed-rate utility fee structure per season (winter power costs less than summer, I believe, for whatever reason) and a $10 mail-in rebate on the card means I will be turning a net profit in 2 months! -- Ryan Sorry, I don't get why you'd run a video card using in excess of 150W on any server? Or is that for your hot gaming box? :) cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Documentation on how to build 32bit applications on amd64?
On 08/14/2010 04:05, Tijl Coosemans wrote: There are patches for CURRENT here: http://lists.freebsd.org/pipermail/freebsd-arch/2010-July/010470.html Thank you Tijl, cc-m32-2.diff has some failures: -- |diff --git a/include/Makefile b/include/Makefile |index 0ba8b17..e01d0a6 100644 |--- include/Makefile.orig |+++ include/Makefile -- Patching file include/Makefile using Plan A... Hunk #1 succeeded at 114. Hunk #2 succeeded at 136. Hunk #3 succeeded at 147. Hunk #4 failed at 186. Hunk #5 failed at 263. 2 out of 5 hunks failed--saving rejects to include/Makefile.rej Also file sys/amd64/include/_align.h referred from cc-m32-3.diff is missing on my system. Maybe your patch isn't up-to-date? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Open Mail Relay
I have a machine running FreeBSD, sendmail and majordomo. I have someone who is on one of those majordomo lists complaining that they are receiving spam from me. The complainer says I have an open mail relay that I need to fix. I went to http://www.abuse.net/relay.htmlhttp://www.abuse.net/relay.html to test the machine using its IP address. Abuse.net gives a clean bill of health, saying relaying was denied in 17 separate tests. I've reviewed my mail logs for the past couple of days and I can't find any entries for any mail addressed to the complainer's domain name except mail that should have been sent. Is Abuse.net's test adequate to rule out an open mail relay problem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Pop3 Error Question?
What would cause this error? einstein:~ chris$ telnet ns1 110 Trying *... Connected to ns1.**.org. Escape character is '^]'. +OK QPOP (version 2.53) at ns1.*.org starting. 30383.1281808...@ns1.**.org user luis +OK Password required for luis. pass ** -ERR Unable to process From lines (envelopes), change recognition modes. +OK Pop server at ns1.**.org signing off. Connection closed by foreign host. for security Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Open Mail Relay
On 14.08.2010 17:29, pe...@vfemail.net wrote: I've reviewed my mail logs for the past couple of days and I can't find any entries for any mail addressed to the complainer's domain name except mail that should have been sent. You can try it yourself, with telnet and proper smtp commands. For example, telnet from outside of your organization to your mail server and issue: ehlo mydomain.com mail from: foo...@example.com rcpt to: foo...@example.org data test mail . You actually have to get error message about relay denied for you. If you don't - you're in trouble. If you do recieve such message - you relay is closed and probably you have spam worms who send emails from legit user, or something like that. Be well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Open Mail Relay
On Aug 14, 2010, at 9:29 AM, pe...@vfemail.net wrote: I have a machine running FreeBSD, sendmail and majordomo. I have someone who is on one of those majordomo lists complaining that they are receiving spam from me. The complainer says I have an open mail relay that I need to fix. I went to http://www.abuse.net/relay.htmlhttp://www.abuse.net/relay.html to test the machine using its IP address. Abuse.net gives a clean bill of health, saying relaying was denied in 17 separate tests. I've reviewed my mail logs for the past couple of days and I can't find any entries for any mail addressed to the complainer's domain name except mail that should have been sent. Is Abuse.net's test adequate to rule out an open mail relay problem? Peter, I usually attempt to send from a remote site myself directly before I sign off on closing that whole. In addition I always request that the complaint include a complete copy of all offending messages so that I can properly examine the headers. It is entirely conceivable that the complaint about an open relay is valid, but not from your server but an impostor. In that case you could try setting a SPF record in your DNS to help reduce such impersonations, although that is not a guarantee. If you have any questions ping me off list. Regards, Mikel King Senior Editor, BSD News Network Columnist, BSD Magazine CEO, Olivent Technologies ~because IT matters~ http://olivent.com 6 Alpine Court, Medford, NY 11763 o: 631.627.3055 http://www.linkedin.com/in/mikelking http://twitter.com/mikelking ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Pop3 Error Question?
On 14.08.2010 21:58, Chris Maness wrote: Unable to process From lines (envelopes), change recognition modes Here[1] you can find pretty good explanation. Be well. [1] - http://marc.info/?l=pine-infom=96822028906940w=2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Pop3 Error Question?
On Sat, Aug 14, 2010 at 11:09 AM, Mikhail hidden.n...@gmail.com wrote: On 14.08.2010 21:58, Chris Maness wrote: Unable to process From lines (envelopes), change recognition modes Here[1] you can find pretty good explanation. Be well. [1] - http://marc.info/?l=pine-infom=96822028906940w=2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Where would I find the temp file that the article is referring to? Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Open Mail Relay
On 14/08/10 15.29, pe...@vfemail.net wrote: I have a machine running FreeBSD, sendmail and majordomo. I have someone who is on one of those majordomo lists complaining that they are receiving spam from me. The complainer says I have an open mail relay that I need to fix. When somebody complains that they receive spam via your relay they must the very least forward one of the offending mails to you so you can study the header. If they deleted the message simply instruct that the next spam mail is forwarded to you. In the header you can check the Received headers to see if it actually passed through your server first check ip hostname, then see if the message id appears in your logs. It is far to easy to forge a mail that appears to come from your server or domain. If so, the received fields will also show where the offending mail was sent from so you can act on it. If he's a subscriber to a list could it be that somebody send spam through the list? I went tohttp://www.abuse.net/relay.htmlhttp://www.abuse.net/relay.html to test the machine using its IP address. Abuse.net gives a clean bill of health, saying relaying was denied in 17 separate tests. I've reviewed my mail logs for the past couple of days and I can't find any entries for any mail addressed to the complainer's domain name except mail that should have been sent. Is Abuse.net's test adequate to rule out an open mail relay problem? I don't know about this site, but it should be easy to check your logs for their connections and see what action is taken. BR, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Pop3 Error Question?
On 14.08.2010 22:16, Chris Maness wrote: On Sat, Aug 14, 2010 at 11:09 AM, Mikhailhidden.n...@gmail.com wrote: On 14.08.2010 21:58, Chris Maness wrote: Unable to process From lines (envelopes), change recognition modes Here[1] you can find pretty good explanation. Be well. [1] - http://marc.info/?l=pine-infom=96822028906940w=2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Where would I find the temp file that the article is referring to? Try to check inside your /var/spool/ (/var/spool/pop) folder; for now I have no qpopper installation at hands, and can't provide exact location. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Open Mail Relay
On Sat, Aug 14, 2010 at 8:29 AM, pe...@vfemail.net wrote: I have a machine running FreeBSD, sendmail and majordomo. I have someone who is on one of those majordomo lists complaining that they are receiving spam from me. The complainer says I have an open mail relay that I need to fix. Insufficient data. The person reporting the spam needs to provide you with a copy of the mail, including all headers, so you can see if it came from your server, or who sent it through your server. Most likely suspects are another list member's infected machine sending out spam to the list, or an outright forgery that never went through your server. I went to http://www.abuse.net/relay.htmlhttp://www.abuse.net/relay.html to test the machine using its IP address. Abuse.net gives a clean bill of health, saying relaying was denied in 17 separate tests. Then it's unlikely your server is an open relay. But you may need to add some spam filtering to your lists, or at least restrict posting to members only. -- Noel Jones ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Open Mail Relay
On Sat, Aug 14, 2010 at 9:29 AM, pe...@vfemail.net wrote: I have a machine running FreeBSD, sendmail and majordomo. I have someone who is on one of those majordomo lists complaining that they are receiving spam from me. The complainer says I have an open mail relay that I need to fix. I went to http://www.abuse.net/relay.htmlhttp://www.abuse.net/relay.htmlto test the machine using its IP address. Abuse.net gives a clean bill of health, saying relaying was denied in 17 separate tests. I've reviewed my mail logs for the past couple of days and I can't find any entries for any mail addressed to the complainer's domain name except mail that should have been sent. Is Abuse.net's test adequate to rule out an open mail relay problem? In previous weeks , I have received continuously messages about sending spam messages from my IP . They started by sending messages about undelivered mails which claimed to be originated from my computer . Later , they started to send me suggestions about how to remove proxy server acquired in my computer which is sending bulk spam messages . All of their text suggestions were complete executable codes . All of the messages were using faked names of my ISP officials . They tried very hard to infect my computer . At the end I have send a complaint message to my ISP authorities . After that , even I have received many such messages . In those days they are not sending such messages , or they are prevented by my ISP systems , I do not know . Based on such an experience , please be careful about such claims , and do not try to decompose their message attachments because their names of message attachments are also not related to content they contain . Use programs to dissect such messages without making any harm to your systems , for example convert their extensions to .txt and try to read them by a text editor . If they are really texts , they should be readable . Even , content of some messages were completely executable binary . I think some criminals started to perform such a ploy to infect computers by persuading users to try to clean their computers by applying their advices based on generated fear on attacked persons . Thank you very much . Mehmet Erol Sanliturk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS not usable on FreeBSD-8.1
Dick Hoogendijk writes: I run FreeBSD-8.1/amd64. I have used ZFS for four years on (Open)Solaris, so I have some experience with it. It always served me very very well. However, I cannot get it to work on my SATA2 drives. At first I thought they'de suffer from something from there OpenSolaris ZFS mirroring. So, I wiped out the drives completely by writing zero's to them. Then I created a ZFS zpool on one drive, destroyed it and created a mirrored zpool on my 2 Tb drives. It seemed OK; files could be written and removed to/from it. A new zfs filesystem worked OK too. *HOWEVER*, the moment I *do* something to the zpool like zpool scrub pool I get a vdev failure (type=vdev.bad_label) and the pool is ruined. It can't be destroyed or exported anymore. It's just a waste. I tested this behaviour on 10 different drives. Four of them brandnew. It happened everytime again. It is not the drives! Booting into OpenSolaris b134 I am perfectly able to create workable ZFS mirrors out of the drives. I can also scrub them ;-) ;-) or whatever io related thing I want to do. This leads me to the conclusion that something is definitely wrong with ZFS in FreeBSD-8.1/amd64. For the moment I created some gmirrors on a couple of drives, but man, how I'd liked to have zpools. They work zo much sweater/easier. Am I alone in these matters? Are there any known issues regarding ZFS. I know there are some in FreeBSD-9 (at least I saw some reports on vdev.bad_label messages) on nabble.com You haven't provided enough information for me to make a concrete suggestion, but this kind of thing often seems to boil down to something getting confused over slices and partitions when they both have the same extent (start-end) on disk. This used to bite me in the gmirror world until I learned to make the partition one block smaller than the slice it lived in. Are you using explicit device names to add the disks to your pool? If so you'll gain robustness by using labels, either glabels as described here: http://submesa.com/data/bsd/zfs or if you're in the gpt world then gpt labels as described in the gpart commands illustrated here: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Open Mail Relay
On 8/14/10 11:05 AM, Mikhail wrote: On 14.08.2010 17:29, pe...@vfemail.net wrote: I've reviewed my mail logs for the past couple of days and I can't find any entries for any mail addressed to the complainer's domain name except mail that should have been sent. You can try it yourself, with telnet and proper smtp commands. For example, telnet from outside of your organization to your mail server and issue: ehlo mydomain.com mail from: foo...@example.com rcpt to: foo...@example.org data test mail . You actually have to get error message about relay denied for you. If you don't - you're in trouble. If you do recieve such message - you relay is closed and probably you have spam worms who send emails from legit user, or something like that. The basic test, but hardly sufficient to determine if all the known ways of fooling an smtp server are accounted for. Recall from the OP's description: saying relaying was denied in 17 separate tests. The above also can be an issue if you do the test from an IP address that the SMTP server has been configured to treat as trusted. --Jon Radel j...@radel.com
Re: ZFS not usable on FreeBSD-8.1
On 14-8-2010 21:24, George Hartzell wrote: You haven't provided enough information for me to make a concrete suggestion, but this kind of thing often seems to boil down to something getting confused over slices and partitions when they both have the same extent (start-end) on disk. This used to bite me in the gmirror world until I learned to make the partition one block smaller than the slice it lived in. And how do I make the partition precisely one block smaller than the slic it lives in? How do I know what the blocksize is? Are you using explicit device names to add the disks to your pool? If so you'll gain robustness by using labels, either glabels as described here: http://submesa.com/data/bsd/zfs or if you're in the gpt world then gpt labels as described in the gpart commands illustrated here: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror I tried both methods. I had the disks as GPT labeld ones and slices by sysinstall. None worked. So it may be the one block difference. Please tell me how to do that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Grepping a list of words
From owner-freebsd-questi...@freebsd.org Thu Aug 12 05:36:27 2010 Date: Wed, 11 Aug 2010 18:00:22 -0500 To: freebsd-questions@freebsd.org From: Jack L. Stone ja...@sage-american.com Subject: Grepping a list of words Kindly appreciate help with how to grep (or similar) a list of words to determine if any of them are in a file rather than grepping one word at a time. Thanks for any suggestions... 1) egrep (word1|word2|word3|word4||wordN) file 2) grep -F -f wordlist_file sourcefile The proverbial advice about the fine manpage is relevant. :) ` ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
cg0: bad magic number
My 1Tb sata2 drives work very well with FreeBSD. They can be sliced, partitioned and newfs can be run. However, no matter what I try (sysinstall, gpart) when I slice my 500Gb drive and create a partition in it (1 block smaller than the slice) I can not newfs the /dev/ad8s1a It always end up with a *cg0: bad magic number* Googling I find a lot of references, but none give me the answer to my problem. All 500Gb drives can be formatted under Windows, linux (Ubuntu), Partion Magic, Solaris without errors. Alas, non of these systems supports formatting in UFS2. I need FreeBSD to do that but this fails... I'm getting quite depressed about this. Espescially because I cannot find the answer to this issue and I hate that! What on earth can it be? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: UPS question
Just going to reply to this one bit for now: The computer used to be a gaming computer, converted this past fall into a file server when I lacked time to play any games in a year. Additionally I spent $34 on a video card today that reduces my power consumption by 150Watts, resulting in a $13 per month savings in my powerbill - in MN we have a fixed-rate utility fee structure per season (winter power costs less than summer, I believe, for whatever reason) and a $10 mail-in rebate on the card means I will be turning a net profit in 2 months! -- Ryan Sorry, I don't get why you'd run a video card using in excess of 150W on any server? Or is that for your hot gaming box? :) cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
lightspark
GNASH doesn't works for me anymore (FreeBSD 8.0, KDE 4.4.5, Firefox, Opera, Konqueror). I don't want to install linux flash plugin and because that I installed lightspark-devel from ports but Firefox crashed before open a page (youtube), on Konqueror doesn't work and the same on Opera. Does anyone have a better experience as it mine, please. http://allievi.sssup.it/techblog/?p=557#comments On the above link I red that users have good experience. Maybe is the realease better? Thanks in advance. Mitja http://starikarp.redbubble.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cg0: bad magic number
On Sat, Aug 14, 2010 at 11:35:11PM +0200, Dick Hoogendijk wrote: My 1Tb sata2 drives work very well with FreeBSD. They can be sliced, partitioned and newfs can be run. However, no matter what I try (sysinstall, gpart) when I slice my 500Gb drive and create a partition in it (1 block smaller than the slice) I can not newfs the /dev/ad8s1a It always end up with a *cg0: bad magic number* Can you show the output of 'gpart show ad8' and 'bsdlabel ad8s1'? It might be that newfs is clobbering the partition table. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpPA71hRJ0OD.pgp Description: PGP signature
Re: lightspark
On Sat, Aug 14, 2010 at 04:44:19PM -0500, ajtiM wrote: GNASH doesn't works for me anymore (FreeBSD 8.0, KDE 4.4.5, Firefox, Opera, Konqueror). Shouldn't you then investigate why not? It works fine here [FreeBSD 8.1-RELEASE amd64, firefox] (at least for youtube). Try deleting the gnash port and installing it again. I don't want to install linux flash plugin and because that I installed lightspark-devel from ports but Firefox crashed before open a page (youtube), If you installed it with the plug-in you should have seen the following note (it's in the port Makefile); Lightspark is currently in pre-alpha state, so only use its plugin if you know what you are doing; otherwise, expect browser crashes and hangs Also, you'll probably need to edit kernel source and bump SEM_MAX from 30 to something much higher (1024 or so) to make the plugin work... So, did you edit the kernel source and recompile the kernel? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp0tPlC6gSJg.pgp Description: PGP signature
Re: Open Mail Relay
Is Abuse.net's test adequate to rule out an open mail relay problem? It's pretty thorough, and most MTAs have default configurations that don't permit relay, so it's much less of a problem than it was when I wrote the tester many years ago. I don't try to check for weak SMTP AUTH passwords, a hole that some spamware exploits, so if you do AUTH, it's conceivable that could be it. In your case, though, I would wait for the complainer to forward you a message or two with headers so you can figure out where is spam is coming from. Regards, John Levine, postmas...@abuse.net, http://www.abuse.net, Trumansburg NY abuse.net postmaster ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 5900 RPM drives
On Sat, Aug 14, 2010 at 11:42 AM, Ryan Coleman ryan.cole...@cwis.bizwrote: I was actually looking at the Seagate Barracuda model... I'm upgrading my RAID 5 of 8x1TB to something larger. $135 each: http://www.newegg.com/Product/Product.aspx?Item=N82E16822148487 If it's for a personal NAS, it's fine, but if it's for production use, well, it might be rather chancey. One dead drive and your entire array will likely be hung w/o TLER. Kind of pointless to have RAID-5/-z and not have it work when you need it to. regards, TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org