USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD shown below. When first used, I was able to put approx. 30 GB of data on it - it was visible to FreeBSD 9 and 10 as expected. A Linux system at the lab was also capable of recognizing it. After that, I tried to operate on the stick on a Notebook, FreeBSD 9, and another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive anymore - sometimes, but this seems to be a gambling issue :-( Trying Linux on different hardware platforms and even those machines prior not recognizing the USB drive do recognize the drive as Lexar USB Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and pull data from it. So, since the USB drive won't work with three different FreeBSD boxes (one running 9-STABLE, two 10-CURRENT, all systems most recent sources and buildworld from a day ago). I suspect either a weird configuration issue I use on all platforms in questions in common triggering the weird beviour - or FreeBSD is simply incapable of handling the 64GB drive. I do not have issues with USB drives with capacities of 32, 8 or 4 GB of different brands. As shown in the portion of the dmesg below, the USB drive is recognized physically. It doesn't matter whether USB port I use (I tried all available on all boxes and in most cases I use a Dell UltraSharp powered in-screen HUB). Since other OSes handle the drive as expected, I exclude hardware issues. All FreeBSD in common is the fact I use the new device ahaci/device ata CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). Apart from trying a GENERIC kernel (which is next I will do this weekend), does anyone have similar experiences and probably solutions? Regards, oh ugen7.6: Lexar at usbus7 umass1: Lexar USB Flash Drive, class 0/0, rev 2.00/11.00, addr 6 on usbus7 (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted signature.asc Description: OpenPGP digital signature
Re: Is ZFS production ready?
This is a valid argument. Checksumming is used to detect cases where the disk or the disk controller return invalid data to the CPU. This can happen for any number of reasons and isn't that unlikely. Unrecoverable read error probabilities are high enough with common drives that you can reasonably see them after reading 10-20TB over the course of some small number of years. And that's assuming no firmware bugs, no flakey cables, and no other of a variety of potential issues. this needs scrubbing. Can be done both with ZFS and anything else. just use dd periodically. I use ZFS. I like ZFS. But I also acknowledge that a zfs_fsck would be useful in cases where a filesystem is botched enough that it can't be but seems you don't have any serious use for ZFS if you can take that risk just because you like ZFS. I cannot. ___ 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: Is ZFS production ready?
OK, if you have 24 2-way mirrors and two drives in the same mirror fail then with UFS you lose the contents of that mirror. Other filesystems in the same box are fine. Restores from backups are going to be easy since the backups are probably arranged to be per-filesystem. true. i actually don't have 48-disk machine but do have 9 disks (one SSD+8 2TB SATA). So far I think we're in agreement. Still as i said - even with ZFS i would make 24 pools, not one. this thing is not filesystem dependent. But this doesn't address two issues: 1) There are other arrangements of ZFS that can tolerate more failed disks if you are willing to spend more money. ZFS supports n-way mirrors, so you can have mirrors with three or four disks if you as well as gmirror. a raidz2 set (with multiple raidz2 sets per pool). i will not use raidz1/2/3 because if catastrophically low performance. the design of ZFS makes sure you'll get read performance of single drive from whole pool. Disks are already performance limiting part of computer. 2) That this failure can happen doesn't address the question of the production-ready status of ZFS. The question of production ready is not a boolean. It is a question of What i meant from beginning is not that ZFS is not yet production ready but it will never be because of design decisions. It have cool features, giving danger, huge hardware usage (RAM,CPU) and low I/O performance. risks and of money used to mitigate those risks. I suggest asking the question on the zfs-discuss list over at opensolaris.org since there are probably many more people there who make serious use of ZFS daily. I will not. Serious people should know how ZFS work. if they still want to use it seriuosly then i cannot help any more. gs1p 159G 73.1G 39 12 2.34M 70.7K mirror 159G 73.1G 39 12 2.34M 70.7K gpt/CONST_2-9XE02KPK-zfs - - 19 5 1.94M 69.4K gpt/SAVVIO-6XQ10F80-zfs - - 21 5 1.93M 79.5K gpt/SAVVIO-6XQ103C7-zfs - - 21 5 1.93M 79.5K 100GB+ of FreeBSD being served up (IP 206.196.19.100 if you care to check FreeBSD's stats pages). And the torrents can be easily replaced if something really bad happens. 3 very expensive drives. ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
On Thu, Jun 21, 2012 at 11:01 PM, O. Hartmann ohart...@zedat.fu-berlin.de wrote: I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD shown below. When first used, I was able to put approx. 30 GB of data on it - it was visible to FreeBSD 9 and 10 as expected. A Linux system at the lab was also capable of recognizing it. After that, I tried to operate on the stick on a Notebook, FreeBSD 9, and another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive anymore - sometimes, but this seems to be a gambling issue :-( Trying Linux on different hardware platforms and even those machines prior not recognizing the USB drive do recognize the drive as Lexar USB Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and pull data from it. So, since the USB drive won't work with three different FreeBSD boxes (one running 9-STABLE, two 10-CURRENT, all systems most recent sources and buildworld from a day ago). I suspect either a weird configuration issue I use on all platforms in questions in common triggering the weird beviour - or FreeBSD is simply incapable of handling the 64GB drive. I do not have issues with USB drives with capacities of 32, 8 or 4 GB of different brands. As shown in the portion of the dmesg below, the USB drive is recognized physically. It doesn't matter whether USB port I use (I tried all available on all boxes and in most cases I use a Dell UltraSharp powered in-screen HUB). Since other OSes handle the drive as expected, I exclude hardware issues. All FreeBSD in common is the fact I use the new device ahaci/device ata CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). Apart from trying a GENERIC kernel (which is next I will do this weekend), does anyone have similar experiences and probably solutions? I don't personally have any relevant experience with this device, but having the exact revisions of code where this was working and where it was failing would be helpful, in order to perform a binary search to determine whether or not this is a regression. Thanks, -Garrett ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
On Friday 22 June 2012 08:01:38 O. Hartmann wrote: I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD shown below. When first used, I was able to put approx. 30 GB of data on it - it was visible to FreeBSD 9 and 10 as expected. A Linux system at the lab was also capable of recognizing it. After that, I tried to operate on the stick on a Notebook, FreeBSD 9, and another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive anymore - sometimes, but this seems to be a gambling issue :-( Trying Linux on different hardware platforms and even those machines prior not recognizing the USB drive do recognize the drive as Lexar USB Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and pull data from it. So, since the USB drive won't work with three different FreeBSD boxes (one running 9-STABLE, two 10-CURRENT, all systems most recent sources and buildworld from a day ago). I suspect either a weird configuration issue I use on all platforms in questions in common triggering the weird beviour - or FreeBSD is simply incapable of handling the 64GB drive. I do not have issues with USB drives with capacities of 32, 8 or 4 GB of different brands. As shown in the portion of the dmesg below, the USB drive is recognized physically. It doesn't matter whether USB port I use (I tried all available on all boxes and in most cases I use a Dell UltraSharp powered in-screen HUB). Since other OSes handle the drive as expected, I exclude hardware issues. All FreeBSD in common is the fact I use the new device ahaci/device ata CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). Apart from trying a GENERIC kernel (which is next I will do this weekend), does anyone have similar experiences and probably solutions? Regards, oh ugen7.6: Lexar at usbus7 umass1: Lexar USB Flash Drive, class 0/0, rev 2.00/11.00, addr 6 on usbus7 (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted Hi, After plugging the device, try: usbconfig -d 7.6 add_quirk UQ_MSC_NO_INQUIRY Then re-plug it. I'm sorry to say a lot of USB flash sticks out there are broken and only tested with the timing of MS Windows. Part of the problem is that it is difficult to autodetect these issues, because once you trigger the non- supported SCSI command, then the flash key stops working like you experience. I would be more than glad to open up an office to certify USB devices for use with FreeBSD :-) --HPS ___ 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: Why Clang
I would see a problem with that -- not because I don't think FreeBSD is worth it. I do, and I think it is worth more than that, in fact. The true. biggest problem with what you propose, though, is that it would destroy the social factors in development of the FreeBSD system that make it what it is, and thus destroy FreeBSD itself, as far as I am concerned. I am not sure, as long as clients would be treated seriously! I would have thought that even you should be able to understand that without help. another personal attack? I though i talk with adults. For paying this i would like FreeBSD to be maintained with quality and performance being the only reason, not politics. Turning it into a commercial enterprise rather than an open source project would probably turn it into a project that is driven about 60% by corporate politics and 40% by marketing BS, with no room left over for quality except as needed to support the minimum credibility its CEO deems necessary to support those two concerns. It depends solely on development team. For now - as we see - it's decision are driven by money. But not all users money but few selected large users. must be stopped. You seem to think this is all about Juniper. I wonder where you get that Not JUST juniper. It is only i hate GNU type decision. No, it's not only that. It's *also* that, and with good reason. Good I hate too, and in spite of this am against removing gcc and replacing it with much worse product. Worse based on a couple of very narrowly applicable metrics derived There will be IMHO soon good compiler available. it's highly probable that pcc would improve a lot, for now it is small, quick but doesn't produce good code for new CPUs. But it probably will improve. CLANG is already great bloat, and will be worse. No amount of money will fix it, actually too much money will hurt. ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
incapable of handling the 64GB drive. I do not have issues with USB it's not about capacity. But seems some quirks for that pendrive (which have buggy firmware) has to be added, as it doesn't respond for inquiry command. sorry i am not USB expert. umass1: Lexar USB Flash Drive, class 0/0, rev 2.00/11.00, addr 6 on usbus7 (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted ___ 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: CLANG vs GCC tests of fortran/f2c program
Chad Perrin wrote: Someone in this extended discussion mentioned that there are efforts underway to make sure the base system will compile cleanly with both Clang and GCC 4.2+, so I think you're just making up complaints here. Someone (other than Wojciech Puchar, who would just be talking out of his ass) correct me if I'm mistaken. That was me. I don't have pure facts but I read svn logs daily. Today we have a bunch of: r237428 | eadler | 2012-06-22 08:48:53 +0300 (пт, 22 чер 2012) | 5 lines MFC r237253: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by:cperciva (implicit) So at least there are some people working on polishing CURRENT/STABLE up to the point it will build with gcc46. -- Sphinx of black quartz judge my vow. ___ 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: OT: Robotics or embedded or hardware programming... what is this called?
In freebsd-questions Digest, Vol 420, Issue 10, Message: 17 On Wed, 20 Jun 2012 19:54:27 -0600 Modulok modu...@gmail.com wrote: Sorry for the off-topic post. There are a lot of technically adept people on this list, so I thought I'd try my luck here: On recent volcanic form, this scarcely measures on the OT scale :) I want to get started programming for hardware. Motors, sensors, actuators, etc. I have a programming background, (python, PHP, C++) but no experience with code that drives hardware. (Motors, sensors, etc.) I *don't* want closed-source kit robots where the point is to build the robot the book and thats it. I also don't want ladder logic-based PMC's. Some kind of micro-controller that runs a *nix flavor (or a BSD flavor!) would be great! (If that's what I need.) Basically, I want to do stuff like if input1() is True then apply_voltage_on_output3(), etc. Build my own traffic light, coffee maker, mars rover, automatic-plant waterer, whatever. Sure. Fun and potentially profitable stuff. Wish I had a spare life .. What do you call this? Embedded programming? Generic hardware programming? Robotics programming? Are there prefabricated, standard embedded boards and hardware specs that play together like PC parts do? In short, I don't even know where to start. Try browsing from http://lists.freebsd.org/pipermail/freebsd-embedded/ to see if that's of interest. Getting FreeBSD up on various embedded platforms is the focus there, but I've seen robotics references too. I see also, but haven't explored these (both look moderately busy): http://lists.freebsd.org/pipermail/freebsd-arm/ http://lists.freebsd.org/pipermail/freebsd-mips/ Even general pointers to books/websites would be great. Once I know what it's called I can google much more effectively ;) I think once you find a platform you're interested in, you'll google up a perhaps bewildering array of support websites and forums, with books to suit. For me it's about the processor instruction set and hardware functionality, but I gather you're looking for higher level language implementations, so you'll want to sniff and taste a few. I thought I saw something somewhere (maybe just wishful thinking) about FreeBSD on the Arduino, which normally runs a sort of embedded Linux, that could be very interesting; the hardware is cheap (kits at Jaycar stores in Australia anyway), very modular design, and there are heaps of fascinating projects. I want the quadricopter to follow me around the room at parties - at my age I need something really impressive :) On the FreeBSD side there's advanced work, I gather, on ARM and Atmel MEGA 32-bit and MIPS platforms at least. Personally I consider these 'big iron' and far prefer writing in macro assembler for little Atmel Tiny25s and such, but that's strictly Look Ma, no OS! programming. 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: CLANG vs GCC tests of fortran/f2c program
underway to make sure the base system will compile cleanly with both Clang and GCC 4.2+, so I think you're just making up complaints here. Someone (other than Wojciech Puchar, who would just be talking out of his once again personal attacks from unhappy childs. ass) correct me if I'm mistaken. reported by gcc46 warning Approved by:cperciva (implicit) So at least there are some people working on polishing CURRENT/STABLE up to the point it will build with gcc46. sounds good. ___ 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: Flaming mailing lists (was Re: Why Clang)
On Friday 22 June 2012 07:04:35 Bernt Hansson wrote: I want to whish all a very mery Midsummer's Eve and Midsummer's Day http://en.wikipedia.org/wiki/Midsummer#Sweden I appreciate the sentiment but it's midwinter here ;) Jonathan ___ 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: Why Clang
On Thu, Jun 21, 2012 at 01:06:12PM +0200, Wojciech Puchar wrote: for commercial sponsors of FreeBSD, it has zero bearing on FreeBSD itself. If FreeBSD appears as a subsidiary of some commercial company (say Juniper) i am not sure this will be good I think any project that size is actually a subsidiary and must be. I just don't like that it isn't stated openly! It is nothing wrong, unless one can feed using zero point energy, everyone needs money to stay alive. Wouldn't it be smarter to openly say Juniper request as to get rid o GPL as soon as we can because they are fed up with this shit and law mess. instead of personal attacks, messing with my (and others) sentences and posting evident lies just to explain the decision. It is a difference between honest people and fools. i already proposed (but not publically) to turn FreeBSD into commercial system. REALLY i would not see a problem to pay say 100$ per server licence. from Chad Perrin: I would see a problem with that -- not because I don't think FreeBSD is worth it. I do, and I think it is worth more than that, in fact. The biggest problem with what you propose, though, is that it would destroy the social factors in development of the FreeBSD system that make it what it is, and thus destroy FreeBSD itself, as far as I am concerned. Eliminating the copyfree licensed, open source development model of FreeBSD would undermine the majority of the technical benefits supported by that development model. I would have thought that even you should be able to understand that without help. (snip) Turning FreeBSD into a commercial system would turn a lot of users to other BSD or Linux, myself included. I ran IBM OS/2 from 1.3 to (Warp) 4 until a disk crash in April 2001, after which I was never again able to boot any OS/2, and I sure tried. Closed source was one severe drawback, why I certainly prefer either Linux or FreeBSD. Actually there is a continuation/successor to OS/2, namely eComStation (www.ecomstation.com) but no way would I go that way! Either Linux or FreeBSD is far ahead now! There actually is/was a closed-source BSD (BSDI), and there is Mac OS X, with BSD under the covers. Tom ___ 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
Could someone help me with Dovecot AD integration PAM setup?
Hi, I'm trying to authenticate Dovecot to Active Directory using the SAMBA/Winbind method and so far my setup seems that everything is working apart from the Dovecot authentication which I believe I have traced to PAM. I can login using an AD account using: wbinfo -K user # wbinfo -K user Enter user's password: plaintext kerberos password authentication for [user] succeeded (requesting cctype: FILE) This is the current Dovecot config: # cat dovecot.conf # v1.1: #auth_ntlm_use_winbind = yes # v1.2+: auth_use_winbind = yes auth_winbind_helper_path = /usr/local/bin/ntlm_auth protocols = imap # It's nice to have separate log files for Dovecot. You could do this # by changing syslog configuration also, but this is easier. log_path = /var/log/dovecot.log info_log_path = /var/log/dovecot-info.log # Disable SSL for now. ssl = no disable_plaintext_auth = no # We're using Maildir format #mail_location = maildir:~/Maildir mail_location = mbox:/mail:INBOX=/mail/%u # If you're using POP3, you'll need this: #pop3_uidl_format = %g # Authentication configuration: auth_verbose = yes auth_debug = yes auth_username_format = %n auth_mechanisms = plain ntlm login userdb { driver = static args = uid=501 gid=501 home=/mail/%u driver = static } passdb { driver = pam } Here is a test login attempt: # telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=NTLM AUTH=LOGIN] Dovecot ready. a login user password a NO [AUTHENTICATIONFAILED] Authentication failed. b logout * BYE Logging out b OK Logout completed. - of course the proper credentials were put in. Here is the details of pam.d/imap: # cat imap # # $FreeBSD: src/etc/pam.d/imap,v 1.7.10.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # # PAM configuration for the imap service # # auth authsufficient pam_winbind.so no_warn try_first_pass debug #auth sufficient pam_ssh.so no_warn try_first_pass authrequiredpam_unix.so no_warn try_first_pass # account #accountrequiredpam_nologin.so account requiredpam_unix.so #accountrequiredpam_winbind.so I also attempted a change in pam.d/system: # cat system # # $FreeBSD: src/etc/pam.d/system,v 1.1.32.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # # System-wide defaults # # auth authsufficient pam_opie.so no_warn no_fake_prompts authrequisite pam_opieaccess.so no_warn allow_local authsufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass authrequiredpam_unix.so no_warn try_first_pass nullok # account account requiredpam_krb5.so account requiredpam_login_access.so account requiredpam_unix.so # session #sessionoptionalpam_ssh.so session requiredpam_lastlog.so no_fail # password passwordsufficient pam_krb5.so no_warn try_first_pass passwordrequiredpam_unix.so no_warn try_first_pass Which don't let me login to the Dovecot service :-( The dovecot.log file shows this: Jun 20 11:30:40 master: Warning: Killed with signal 15 (by pid=4149 uid=0 code=kill) Jun 20 11:30:48 auth: Fatal: No passdbs specified in configuration file. LOGIN mechanism needs one Jun 20 11:30:48 master: Error: service(auth): command startup failed, throttling for 2 secs Jun 20 11:30:59 master: Warning: Killed with signal 15 (by pid=4182 uid=0 code=kill) Jun 20 11:31:13 auth: Fatal: No passdbs specified in configuration file. LOGIN mechanism needs one Jun 20 11:31:13 master: Error: service(auth): command startup failed, throttling for 2 secs Jun 20 11:32:38 master: Warning: Killed with signal 15 (by pid=4245 uid=0 code=kill) Jun 20 11:32:58 imap-login: Warning: Auth connection closed with 1 pending requests (max 0 secs, pid=4265, EOF) Jun 20 11:32:58 auth: Fatal: master: service(auth): child 4266 killed with signal 11 (core not dumped - set service auth { drop_priv_before_exec=yes }) Jun 20 11:46:21 master: Warning: Killed with signal 15 (by pid=4318 uid=0 code=kill) Jun 20 11:46:42 auth-worker(4340): Error: pam(user,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 20 11:46:55 auth: Error: Got NTLMSSP neg_flags=0xa2088207 Jun 20 11:46:55 auth: Error: Got user=[user] domain=[] workstation=[WKS-42] len1=24 len2=270 Jun 20 11:46:55 auth: Error: Login for user []\[user]@[WKS-42] failed due to [Reading winbind reply failed!] Jun 20 11:49:47 master: Warning: Killed with signal 15 (by pid=4400 uid=0 code=kill) Jun 20 11:49:53 auth: Fatal: passdb imap: Missing host parameter Jun 20 11:49:53 master: Error:
Re: Why Clang
On Thu, Jun 21, 2012 at 7:28 PM, Mark Felder f...@feld.me wrote: On Thu, 21 Jun 2012 12:16:31 -0500, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: programs compiled by GPLv3 compiler are not encumbered. This has not been decided in court yet. In which court not? Of which jurisdiction? Even if one jurisdiction says something doesn't mean all other 190+ or so countries would agree. Since we're an international project, better be safe (legally) than sorry, and avoid GPLv3 when possible. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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
question about prblem with raid 1 for freeBSD
HI there, hope my email find you well, i recently order a server with below configuration INTEL 1x Quad-Core i5-2500 3.3GHz, 6M Cache 16GB DDR3 2x 500GB SATAII then ask from my COLOCATION to install FreeBSD 8.2 or 8.3 with RAID 1, after many times of fail in installation from colocation they said that we have problem with RAID 1.we suggest them to play with different kind of RAID like RAID 5 and they said as our requested server only have 2 HDD, its not possible to set up RAID 5. now they said us that the only way for having backup of DATA in this condition is set up a scheduled task to put back up of data in the second HDD . now i really need to know if there is a only way for having data back up in this condition or you have better idea according to your experience.also if its the only way , would it be a good level of data security ? looking forward to hear from your side soon. Regards, Smartelcom Team ___ 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: question about prblem with raid 1 for freeBSD
On 6/22/12 11:11 AM, dude golden wrote: HI there, hope my email find you well, i recently order a server with below configuration INTEL 1x Quad-Core i5-2500 3.3GHz, 6M Cache 16GB DDR3 2x 500GB SATAII then ask from my COLOCATION to install FreeBSD 8.2 or 8.3 with RAID 1, after many times of fail in installation from colocation they said that we have problem with RAID 1.we suggest them to play with different kind of RAID like RAID 5 and they said as our requested server only have 2 HDD, its not possible to set up RAID 5. now they said us that the only way for having backup of DATA in this condition is set up a scheduled task to put back up of data in the second HDD . now i really need to know if there is a only way for having data back up in this condition or you have better idea according to your experience.also if its the only way , would it be a good level of data security ? looking forward to hear from your side soon. Regards, Smartelcom Team Hi, Your colleagues are correct about the RAID levels, you can only do RAID5 with a minimum of 3 disks. Your available options with 2 disks are JBOD, RAID0 or RAID1. You obviously want RAID1. How have they tried to install the server ? I've had no problems ever installing 8.2 or 8.3 as a RAID using either gmirror, or hardware RAID. Does the server have a hardware RAID controller or are you trying software RAID ? Do you have remote console access to the server ? ___ 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: question about prblem with raid 1 for freeBSD
On 22/06/2012 10:11, dude golden wrote: INTEL 1x Quad-Core i5-2500 3.3GHz, 6M Cache 16GB DDR3 2x 500GB SATAII then ask from my COLOCATION to install FreeBSD 8.2 or 8.3 with RAID 1, after many times of fail in installation from colocation they said that we have problem with RAID 1.we suggest them to play with different kind of RAID like RAID 5 and they said as our requested server only have 2 HDD, its not possible to set up RAID 5. Correct. RAID5 requires at least 3 drives. The only way to have resilience against disk failure with just two drives is to use RAID1 (mirroring). How exactly are your colleagues attempting to set up RAID1. There are several different ways of doing it, but these are the most popular: * Using the built-in ATAPI RAID provided by many motherboards * gmirror * ZFS ATAPI RAID is perhaps the least effective, and may require downtime in order to rebuild the system after a disk failure. I suspect this is what is causing your colleagues problems. For setting up a gmirror RAID see this article: http://onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html (That will work fine with 8.2 or older and the old sysinstall; needs to be adapted if using the new bsdinstall with gpart) For setting up a ZFS mirror, see: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror or I wrote a similar piece assuming use of bsdinstall: http://www.infracaninophile.co.uk/articles/install-on-zfs/ Both of the gmirror or ZFS procedures involve going beyond what the installer provides and doing at least part of the work from the command line. If that is too scary to contemplate, then try using the PC-BSD installer to install FreeBSD -- it lets you set up mirrors or ZFS from a menu system, and can install plain FreeBSD as well as PC-BSD: http://www.pcbsd.org/index.php?option=com_zooview=itemItemid=98 now they said us that the only way for having backup of DATA in this condition is set up a scheduled task to put back up of data in the second HDD . Well, this is really unsatisfactory and your colleagues should be ashamed. First of all, RAID1 is not *backup*. If you accidentally delete a file, it will be removed from both of the mirrored drives. The thing that RAID1 gets you is resilience to disk failure: one of your drives going 'pop' will not result in the system crashing or any service interruption. Backup of the system should be arranged through some other means: there are many programs available to do the job in the base system or the ports -- personally I like tarsnap, which will backup your data to the cloud (Amazon flavoured cloud, that is) for a very reasonable rate. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: Why Clang
From owner-freebsd-questi...@freebsd.org Thu Jun 21 06:07:49 2012 Date: Thu, 21 Jun 2012 13:06:12 +0200 (CEST) From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl To: Michel Talon ta...@lpthe.jussieu.fr Cc: FreeBSD Questions freebsd-questions@freebsd.org, kpn...@pobox.com Subject: Re: Why Clang for commercial sponsors of FreeBSD, it has zero bearing on FreeBSD itself. If FreeBSD appears as a subsidiary of some commercial company (say Juniper) i am not sure this will be good I think any project that size is actually a subsidiary and must be. Which simply proves you don't know what you don't know. I just don't like that it isn't stated openly! No one on the Project would consider lying about such things, just to make Wojciech happy. instead of personal attacks, messing with my (and others) sentences and posting evident lies just to explain the decision. Maybe when you stop lying about what the others say. It is a difference between honest people and fools. You have made it clear that -you- are a name-calling fool. People have tried to explain, clearly, and politely, the *multiple* factors that went into the decision. You ignore everything else, and fixate on the one that seems specious to you. There is nothing to prevent giving source with system. Non-Free software doesn't have to be binary only. Nice strawman. But you cannot show where anybody has claimed it did. For paying this i would like FreeBSD to be maintained with quality and performance being the only reason, not politics. A demonstrable lie -- the only thing you care about is speed of execution. Nothing against Juniper (the make truly good working hardware), but if they enforce decision because of their personal likes then it must be stopped. Therefore, _your_ attempts to enforce decisions because of your personal likes must be stopped. GPLv3 based C compiler does not prevent making closed source software like JunOS for example. You don't _know_ that. It is only your -opinion-. How much of a financial bond are you willing to put up, payable to, say, Juniper, if they rely on your _opinion_, and it turns out to be wrong?` It is only i hate GNU type decision. You lie. I hate too, and in spite of this am against removing gcc and replacing it with much worse product. Your closed--mind bias is showing. You think it's ok to get _wrong_ answers rather than correct answers, if you get the wrong answeers faster and the correct answers somewhat slower. GCC, even 4.21., is well known for generating bad code -- meaning 'logically incorrect and gives wrong answers', and sometimes 'code that cannot be successfully executed' -- e.g. it always segfaults or has some other fatal exception -- under a number of conditions. The variety of such instances increases with vritually -every- minor upgrade' to the compiler. Code that worked under minor release 'x', not work under x+1, because 'yet another' of these 'features' crept in.. There are known bugs of this sort in GCC that have been identified for over a -decade-. But, the GCC source-code is such a swamp that *nobody* has been able to figure out, or find, *where* the problem is occurring -- let alone determine what needs to be changed, to fix it. ___ 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: Is ZFS production ready?
From owner-freebsd-questi...@freebsd.org Thu Jun 21 06:18:56 2012 Date: Thu, 21 Jun 2012 12:03:12 +0430 From: Hooman Fazaeli hoomanfaza...@gmail.com To: FreeBSD Questions freebsd-questions@freebsd.org Subject: Is ZFS production ready? Dear community In the past, I built a 8TB ZFS log server on freebsd 7.4. However, the system experienced instablility after long up times. My main motive to use ZFS was UFS inability to support large file systems. Now, I want to the same thing on 8.3 and wanted to know your opinion on ZFS stability. Is there any success story using ZFS in 24x7, large volume, heavy duty servers? Is there any other option other than ZFS to build larger than 2TB file systems? One alternative might be the 'new, improved' UFS -- UFS2. I believe it supports filesystems up to 2^73 bytes (2^64 sectors). ___ 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: Why Clang
Chad Perrin wrote: On Thu, Jun 21, 2012 at 01:06:12PM +0200, Wojciech Puchar wrote: i already proposed (but not publically) to turn FreeBSD into commercial system. REALLY i would not see a problem to pay say 100$ per server licence. I would see a problem with that -- not because I don't think FreeBSD is worth it. I do, and I think it is worth more than that, in fact. The biggest problem with what you propose, though, is that it would destroy Hi Chad etc, I admire the perserverance, but maybe Don't feed the troll ? Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ ___ 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: Is ZFS production ready?
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:` Subject: Re: Is ZFS production ready? stick with UFS. It JUST WORKS(R), and is trusty. And it works fast. Be sure to descrirbe how that is even _possible_, given that the OP needs/ wants larger than 2tb filesystems. ___ 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: problem with RAID 1 and requesting for solutions
Dear Sir/Madam, Iam really appreciate if you take a look into below email and advise me any update. On 6/16/12 7:01 PM, info smartelcom i...@smartelcom.net wrote: HI there, hope my email find you well, i recently order a server with below configuration INTEL 1x Quad-Core i5-2500 3.3GHz, 6M Cache 16GB DDR3 2x 500GB SATAII then ask from my COLOCATION to install FreeBSD 8.2 or 8.3 with RAID 1, after many times of fail in installation from colocation they said that we have problem with RAID 1.we suggest them to play with different kind of RAID like RAID 5 and they said as our requested server only have 2 HDD, its not possible to set up RAID 5. now they said us that the only way for having backup of DATA in this condition is set up a scheduled task to put back up of data in the second HDD . now i really need to know if there is a only way for having data back up in this condition or you have better idea according to your experience.also if its the only way , would it be a good level of data security ? looking forward to hear from your side soon. Regards, Smartelcom Team Regards Shahram Haghnia Technical Director Smartelcom Communications Global Wholesale Services ___ 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: Is ZFS production ready?
From owner-freebsd-questi...@freebsd.org Thu Jun 21 11:50:42 2012 Date: Thu, 21 Jun 2012 18:47:30 +0200 (CEST) From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl To: Matthias Gamsjager mgamsja...@gmail.com Cc: FreeBSD Questions freebsd-questions@freebsd.org Subject: Re: Is ZFS production ready? True but this applies as much to you. You think you know it all and that is quite the probdlem with you. And discussing with you is a true waste with this attittute. Even its free. so stop it. If you don't have something to say, don't say it. --- the immortal words of Wojcciec It's a shame tou don't practice wyat you preach, troll. ___ 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: Why Clang
Wojciech Puchar wrote: We put clang because sponsors wanted it. Sponsors didn't want clang. Sponsors wanted not to be encumbered by a GPLv3 they are not. programs compiled by GPLv3 compiler are not encumbered. You don't know what you don't know, trollboi. Anything so much as -linked- with a libarary that is under GPLv3, *IS* subject to GPLv3 terms, -unless- the library has an express exclusion ___ 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: Why Clang
From owner-freebsd-questi...@freebsd.org Thu Jun 21 12:37:00 2012 Date: Thu, 21 Jun 2012 19:30:40 +0200 (CEST) From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl To: Mark Felder f...@feld.me Cc: freebsd-questions@freebsd.org Subject: Re: Why Clang z woj...@wojtek.tensor.gdynia.pl wrote: programs compiled by GPLv3 compiler are not encumbered. This has not been decided in court yet. sources please! Easy! Here is the complete list of court rulings on the matter: [end of list] ___ 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: Why Clang
From owner-freebsd-questi...@freebsd.org Thu Jun 21 12:39:02 2012 Date: Thu, 21 Jun 2012 19:30:23 +0200 (CEST) From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl To: Robison, Dave david.robi...@fisglobal.com Cc: freebsd-questions@freebsd.org Subject: Re: Why Clang Because there's no reason to do that. It's an asinine suggestion. Clang is here to stay. Most of us are happy about that decision. GCC Because most that are not already stopped and ignored thing. and use GCC. Politics won. Liar. *Quality*, mantainability, and standards compliance won. ___ 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: Why Clang
From owner-freebsd-questi...@freebsd.org Thu Jun 21 12:44:17 2012 Date: Thu, 21 Jun 2012 19:36:03 +0200 (CEST) From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl To: Mark Felder f...@feld.me Cc: freebsd-questions@freebsd.org Subject: Re: Why Clang sources please! Google GPLv3 court case. There are no applicable results. Until a Judge decides what the license truly means everyone using it is at risk. true. But why anyone from FreeBSD fundation didn't just write official letter to GNU Free Software Foundation asking for just that case? Because it doesn't address an of the *OTHER* valid reasons why GCC is being replaced -- among them: 1) GCC's continuously increasing propensity to generate bad code, 2) The inability of GCC mamintainers to fix _long-standing_ bugs, some have been identified for over a decade, and have not been fixed. 3) The continuously increasing trend of introducing 'non standard' features, 4) The growing need to 'write around' correct/valid code that GCC will not compile. 5) The fact that the GCC code is 'unmaintainable' -- *NO*ONE* (other than someone who has been working with GCC internals for forever --a decade at an absolute minimum) has any chance of 'understanding' what it is doing internally. GPLv3 concerns are 'incidental' to those 'fundamental' issues. It may have been the straw that broke the camel's back, but there were lots of other VALID reasons to trashcan GCC. ___ 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: Why Clang
From owner-freebsd-questi...@freebsd.org Thu Jun 21 12:46:15 2012 To: freebsd-questions@freebsd.org Date: Thu, 21 Jun 2012 12:37:48 -0500 From: Mark Felder f...@feld.me Cc: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl Subject: Re: Why Clang On Thu, 21 Jun 2012 12:36:03 -0500, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: But why anyone from FreeBSD fundation didn't just write official letter to GNU Free Software Foundation asking for just that case? There needs to be a lawsuit and lawyers and judges need to be involved. You can't just ask the FSF to explain themselves. You _can_ ask. The response just doesn't 'mean anything' -- the actual language of the 'license' takes precedence. ___ 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: OT: Robotics or embedded or hardware programming... what is this called?
On Fri, 22 Jun 2012, Ian Smith wrote: I thought I saw something somewhere (maybe just wishful thinking) about FreeBSD on the Arduino, which normally runs a sort of embedded Linux, that could be very interesting; the hardware is cheap (kits at Jaycar stores in Australia anyway), very modular design, and there are heaps of fascinating projects. I want the quadricopter to follow me around the room at parties - at my age I need something really impressive :) Well, there is devel/arduino. It's not emdedded Linux, but an IDE for writing and downloading code. The Arduino is a small embedded controller based on the Atmel AVR microcontrollers. They are quite powerful, easy to program, and accessible for experimenters. You can skip the Arduino environment if you like, using the same lower-level tools like avr-gcc directly. And the Arduino board can be used as a programmer, downloading code to plain AVR chips and avoiding the need for more Arduino boards. Talk about the Arduino on FreeBSD is generally on the freebsd-embedded mailing list. The Microchip PIC microcontrollers compete with the AVR. There are some FreeBSD ports for programming those, but there are many varying chips and the hardware needed to program some of them differs. I don't know if there is anything directly comparable to the Arduino IDE. ARM processors have become so cheap that they are starting to compete in this arena also. On the FreeBSD side there's advanced work, I gather, on ARM and Atmel MEGA 32-bit and MIPS platforms at least. Personally I consider these 'big iron' and far prefer writing in macro assembler for little Atmel Tiny25s and such, but that's strictly Look Ma, no OS! programming. Another option: the freebsd-wireless list has had some very interesting traffic about the TP-Link TL-WR1043ND, a $50 MIPS-based wireless router with Atheros 802.11n chipset, USB, and gigabit Ethernet which can run FreeBSD directly. Not sure how usable it is at present. ___ 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
Problem with routing in VmWare VMS
Thank you, Mark! All work! - Вы писали 22 июня 2012 г., 16:31:39: On Fri, 22 Jun 2012 08:10:43 -0500, UNIX developer @ Google.com developeru...@gmail.com wrote: now after reboot the problem still the same. ping -S 192.168.2.1 192.168.1.1 PING 192.168.1.1 (192.168.1.1) from 192.168.2.1: 56 data bytes ^C --- 192.168.1.1 ping statistics --- 8 packets transmitted, 0 packets received, 100.0% packet loss 192.168.1.1 does not know how to find 192.168.2.1, so it can't respond to the ping. I bet it only has a default route to the internet. If you add a static route on 192.168.1.1 telling it that it can find 192.168.2.0/24 at 192.168.1.10 it will probably work. On 192.168.1.1: route add -net 192.168.2.0/24 192.168.1.10 Now the pings will work. -- С уважением, UNIX mailto:developeru...@gmail.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: Problem with routing in VmWare VMS
On Fri, Jun 22, 2012 at 3:13 PM, UNIX developer @ Google.com developeru...@gmail.com wrote: Ok, I understud! I remove from rc.conf this rows: static_routes=clnet route_clnet=-net 192.168.2.0/24 192.168.1.10 new rc.conf: ifconfig_em0= inet 192.168.1.10 netmask 255.255.255.0 ifconfig_em1= inet 192.168.2.1 netmask 255.255.255.0 defaultrouter=192.168.1.1 gateway_enable=YES now after reboot the problem still the same. ping -S 192.168.2.1 192.168.1.1 PING 192.168.1.1 (192.168.1.1) from 192.168.2.1: 56 data bytes ^C --- 192.168.1.1 ping statistics --- 8 packets transmitted, 0 packets received, 100.0% packet loss netstat -nr Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default192.168.1.1UGS 0 38em0 127.0.0.1 link#4 UH 00lo0 192.168.1.0/24 link#1 U 0 1153em0 192.168.1.10 link#1 UHS 06lo0 192.168.2.0/24 link#2 U 00em1 192.168.2.1link#2 UHS 06lo0 Where more can be trouble? - Вы писали 22 июня 2012 г., 0:56:49: On Thu, 21 Jun 2012 15:59:36 -0500, UNIX developer @ Google.com developeru...@gmail.com wrote: /etc/rc.conf ifconfig_em0= inet 192.168.1.10 netmask 255.255.255.0 ifconfig_em1= inet 192.168.2.1 netmask 255.255.255.0 defaultrouter=192.168.1.1 gateway_enable=YES static_routes=clnet route_clnet=-net 192.168.2.0/24 192.168.1.10 You simply CANNOT do this. Traffic for 192.168.2.0/24 is bound to em1 and cannot be changed. You setup a static route that basically says to find 192.168.2.0/24, don't use em1 but instead ask 192.168.1.10 how to find it? This makes no sense at all. -- С уважением, UNIX mailto:developeru...@gmail.com Hi, Your problem, as Mark told you, is that you are buildinga gateway to connect two networks on the same subnet. Regards, Alexandre ___ 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: Why Clang
On Thu, Jun 21, 2012 at 11:27 PM, Chad Perrin per...@apotheon.com wrote: I disagree with the assessment by others that FreeBSD is in some way effectively a subsidiary of its corporate users, but it does have corporate users, as well as non-corporate users. Just as it must reasonably see to the needs of the individuals who use it, so must it also reasonably see to the needs of those corporate users, especially when some of those corporate users' employees are key developers for the base system (to the significant benefit of the rest of us). Thus, saying that a particular set of conditions having an impact on commercial sponsors of FreeBSD has zero bearing on FreeBSD itself is just . . . incorrect. And I would like to stress on this point that, when I referred to corporate sponsorship in an earlier post, I was thinking specifically about the sponsorship of employing developers that keep the system moving forward, not necessarily monetary donations. The foundation does need money, but the software is doomed if no one is gainfully employed to maintain and enhance it. I think there is an altruistic fiction that many people subscribe to that free software is merely the result of the generosity of developers producing code of their own volition and on their own spare time and giving it away, and from that viewpoint the act of considering concerns of a sponsoring entity amounts to selling out. The reality is much different and much more complex, as you well know. ___ 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: Why Clang
Because it doesn't address an of the *OTHER* valid reasons why GCC is being replaced -- among them: 1) GCC's continuously increasing propensity to generate bad code, examples? All test shows that gcc code is not only bad, but very good. Why are you just saying things you know isn't true? 2) The inability of GCC mamintainers to fix _long-standing_ bugs, some have been identified for over a decade, and have not been fixed. That's true. still not that much. 3) The continuously increasing trend of introducing 'non standard' features, No need to use them. ___ 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: Why Clang
Wojciech Puchar wrote: Because it doesn't address an of the *OTHER* valid reasons why GCC is being replaced -- among them: 1) GCC's continuously increasing propensity to generate bad code, examples? All test shows that gcc code is not only bad, but very good. Why are you just saying things you know isn't true? 0k, what if I add my example? Hardware: Processor: Intel Xeon E5620 (16 Cores), Motherboard: Supermicro X8DT3 1234567890, Memory: 24576MB, Disk: SEAGATE ST3146855SS S527 + SEAGATE ST31000640SS 0001 + SEAGATE ST31000640SS 0001 + SEAGATE ST3146855SS S528 + TOSHIBA Trans 1.00 + TEAC DV-28S-V 1.0B Software: OS: FreeBSD, Kernel: 9.0-RELEASE-p3 (x86_64), Compiler: GCC 4.2.1 20070831 + Clang 3.0 (SVN 142614), File-System: zfs CPUTYPE=core2 clang 3.0 Test project /tmp/ports/usr/ports/graphics/png/work/libpng-1.5.11 Start 1: pngtest 1/2 Test #1: pngtest .. Passed0.02 sec Start 2: pngvalid 2/2 Test #2: pngvalid . Passed 14.03 sec gcc 4.6 (lang/gcc, USE_GCC=4.6+) Test project /tmp/ports/usr/ports/graphics/png/work/libpng-1.5.11 Start 1: pngtest 1/2 Test #1: pngtest .. Passed0.02 sec Start 2: pngvalid 2/2 Test #2: pngvalid . Passed 14.40 sec gcc 4.2.1 Test project /tmp/ports/usr/ports/graphics/png/work/libpng-1.5.11 Start 1: pngtest 1/2 Test #1: pngtest .. Passed0.02 sec Start 2: pngvalid 2/2 Test #2: pngvalid . Passed 14.96 sec This one shows that clang is superior to both gcc 4.2.1 and gcc 4.6. I haven't test data now but a month or so ago I tested them on one of the Alioth Shootout examples (nestedloop probably). gcc 4.2.1 was winning, clang was close with fractions of percent drop of speed but gcc 4.6 was off for nearly 7%. 3) The continuously increasing trend of introducing 'non standard' features, No need to use them. There's no 'Unsubscribe me' link included... -- Sphinx of black quartz judge my vow. ___ 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: Could someone help me with Dovecot AD integration PAM setup?
On Jun 22, 2012 1:45 AM, Kaya Saman kayasa...@gmail.com wrote: Hi, I'm trying to authenticate Dovecot to Active Directory using the SAMBA/Winbind method and so far my setup seems that everything is working apart from the Dovecot authentication which I believe I have traced to PAM. I can login using an AD account using: wbinfo -K user # wbinfo -K user Enter user's password: plaintext kerberos password authentication for [user] succeeded (requesting cctype: FILE) This is the current Dovecot config: # cat dovecot.conf # v1.1: #auth_ntlm_use_winbind = yes # v1.2+: auth_use_winbind = yes auth_winbind_helper_path = /usr/local/bin/ntlm_auth protocols = imap # It's nice to have separate log files for Dovecot. You could do this # by changing syslog configuration also, but this is easier. log_path = /var/log/dovecot.log info_log_path = /var/log/dovecot-info.log # Disable SSL for now. ssl = no disable_plaintext_auth = no # We're using Maildir format #mail_location = maildir:~/Maildir mail_location = mbox:/mail:INBOX=/mail/%u # If you're using POP3, you'll need this: #pop3_uidl_format = %g # Authentication configuration: auth_verbose = yes auth_debug = yes auth_username_format = %n auth_mechanisms = plain ntlm login userdb { driver = static args = uid=501 gid=501 home=/mail/%u driver = static } passdb { driver = pam } Here is a test login attempt: # telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=NTLM AUTH=LOGIN] Dovecot ready. a login user password a NO [AUTHENTICATIONFAILED] Authentication failed. b logout * BYE Logging out b OK Logout completed. - of course the proper credentials were put in. Here is the details of pam.d/imap: # cat imap # # $FreeBSD: src/etc/pam.d/imap,v 1.7.10.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # # PAM configuration for the imap service # # auth authsufficient pam_winbind.so no_warn try_first_pass debug #auth sufficient pam_ssh.so no_warn try_first_pass authrequiredpam_unix.so no_warn try_first_pass # account #accountrequiredpam_nologin.so account requiredpam_unix.so #accountrequiredpam_winbind.so I also attempted a change in pam.d/system: # cat system # # $FreeBSD: src/etc/pam.d/system,v 1.1.32.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # # System-wide defaults # # auth authsufficient pam_opie.so no_warn no_fake_prompts authrequisite pam_opieaccess.so no_warn allow_local authsufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass authrequiredpam_unix.so no_warn try_first_pass nullok # account account requiredpam_krb5.so account requiredpam_login_access.so account requiredpam_unix.so # session #sessionoptionalpam_ssh.so session requiredpam_lastlog.so no_fail # password passwordsufficient pam_krb5.so no_warn try_first_pass passwordrequiredpam_unix.so no_warn try_first_pass Which don't let me login to the Dovecot service :-( The dovecot.log file shows this: Jun 20 11:30:40 master: Warning: Killed with signal 15 (by pid=4149 uid=0 code=kill) Jun 20 11:30:48 auth: Fatal: No passdbs specified in configuration file. LOGIN mechanism needs one Jun 20 11:30:48 master: Error: service(auth): command startup failed, throttling for 2 secs Jun 20 11:30:59 master: Warning: Killed with signal 15 (by pid=4182 uid=0 code=kill) Jun 20 11:31:13 auth: Fatal: No passdbs specified in configuration file. LOGIN mechanism needs one Jun 20 11:31:13 master: Error: service(auth): command startup failed, throttling for 2 secs Jun 20 11:32:38 master: Warning: Killed with signal 15 (by pid=4245 uid=0 code=kill) Jun 20 11:32:58 imap-login: Warning: Auth connection closed with 1 pending requests (max 0 secs, pid=4265, EOF) Jun 20 11:32:58 auth: Fatal: master: service(auth): child 4266 killed with signal 11 (core not dumped - set service auth { drop_priv_before_exec=yes }) Jun 20 11:46:21 master: Warning: Killed with signal 15 (by pid=4318 uid=0 code=kill) Jun 20 11:46:42 auth-worker(4340): Error: pam(user,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 20 11:46:55 auth: Error: Got NTLMSSP neg_flags=0xa2088207 Jun 20 11:46:55 auth: Error: Got user=[user] domain=[] workstation=[WKS-42] len1=24 len2=270 Jun 20 11:46:55 auth: Error: Login for user []\[user]@[WKS-42] failed due to [Reading winbind reply
backup tools
I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so backups will be initiated manually rather than by cron or other scheduled procedures. I'm trying to decide on what tools to use for managing backups. In the past I have used rsync, which has worked reasonably well, but fails one of my desired criteria for the new backup procedures, and is less than ideal for others. My criteria for procedures are: 1. They should minimize the need for additional software beyond the base system as much as reasonably possible. This means not only that I do not want to have to specify the installation of a bunch of stuff, but also that I do not want a bunch of dependencies pulled in with something I choose to install (if anything). Ideally, I should be able to do this with just the base system, though that seems unlikely at this point. 2. They should require only copyfree licensed or public domain tools -- no copyleft licensed tools, no proprietary licensed tools, no noncommercial or nonderivative licensed tools, and no permissively licensed tools where the license comes with annoying restrictions such as the Apache License requirements for specific bookkeeping procedures. I might bend on the requirement for non-copyfree permissive licenses if I have to, but I'd rather not; bending on any of the others would probably involve just giving up and going back to rsync. 3. They should provide for incremental backups. 4. They should provide for the ability to quickly and easily test backup integrity without restoring the backups anywhere, which most likely means some kind of checksum comparisons akin to what rsync provides. 5. They should allow for transferring data from the system to be backed up to the backup server via SSH. 6. They should use tools as simple as possible, preferably command line tools. 7. There should be documentation somewhere out there for how to set something like this up, someone willing to help me figure out how to get it set up, or an obvious path to setting it up so that I do not spend a week just figuring it all out, if at all possible. 8. They should preferably not require creating a local archive on the laptop before copying to the backup server if it can reasonably be avoided, so that a big chunk of empty HDD space will not need to be maintained for backups to work. Any help figuring out what tools would work for these purposes would be appreciated. I might be able to make exceptions for some parts of this if there are suitable alternative approaches. Thanks in advance for any help I can get in figuring this out. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.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
Re: Why Clang
On Fri, 22 Jun 2012 09:25:55 -0500, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: examples? All test shows that gcc code is not only bad, but very good. Why are you just saying things you know isn't true? Fast code is not guaranteed to be correct code. ___ 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: New to FreeBSD - Some questions
On 21 June 2012 04:24, Fred Morcos fred.mor...@gmail.com wrote: Introduction and background q) Is it possible to run a FreeBSD system without much building? In other words, can I survive by depending on packages and only resorting to ports when really needed? To an extent. It is currently possible to use only packages, but they tend to be out of date and upgrading is non-easy without a third party tool (such as portmaster or portupgrade). There is currently active work to fix these issues in a project called pkgng. This will likely become the default in the next couple of months. q) Where does the FreeBSD project stand on this matter? From what I noticed is that the base system seems to adhere to the tranditional flat text files for configuration and simple tools that do a good job, leaving it up to the user to combine those small tools to create larger, more complex ones (a UNIX inheritance). FreeBSD tends to be conservative. The project won't implement a complex daemon without clear benefits and specific discussion on the pros and cons. q) Is a FreeBSD stable base system with current high-level components possible? Will it avoid the issues I experienced on Linux-based systems? Generally, yes. There will likely be some adjustment period as you learn how FreeBSD works, but most people have few problems. q) I would assume UFS with J+SU is fast enough for a laptop? Yes. Most people call it SU+J ;). Don't use it for an SSD though q) Does ZFS make sense on a laptop? Any advantages of using it over USF with J+SU? I am not interested in any striping or mirroring on the laptops, but the compression features is very attractive for the HDDs in the first laptop. ZFS is ram hog. How much ram does your laptop have? q) The second laptop has an SSD, would UFS with/without J and with/without SU or ZFS make more sense for it? Make sure to enable TRIM support if your SSD supports it. q) Can I live with a desktop environment (Gnome or KDE) and desktop applications (Firefox, Libreoffice, etc) by relying only on packages? Sort of. With pkgng this will become a lot easier. If you are currently willing to deal with out of date packages until pkgng becomes default (or want to work with non-default technology now) it will be possible. q) Does the NVIDIA binary driver work reliably? I would like to hear personal experiences with that. Yes. This has never been the cause of any problem for me q) Does the bsdinstall align partitions to device blocks by default for optimal speed? If not, I have found that I can use gpart with -a and -b which will require me to calculate the start and end offsets of each partition manually. Is there a tool that can automatically do that for me? You said you had an SSD: it doesn't matter. q) Adding tmpmfs=YES to /etc/rc.conf is analogous to a tmpfs /tmp on Linux-based systems, correct? Yes. Any other directories that might make sense to have as an mfs (ie, in /var)? Don't use tmpfs for anything in /var q) Is there a place where all sysctl variables are documented? It occurred to me when I was trying to find the memory usage on my system but `sysctl -a | grep mem' shows a whole bunch of stuff. You can try sysctl -ad but most of the systls are either documented in man pages or not at all. :( q) How can I set proxy settings system-wide? Same for PACKAGESITE (for the pkg_* tools), how can I set a mirror system-wide? /etc/profile? Same as any other unix system. It depends on what shell you use. q) I noticed all file/data-sizes are in bytes (ls, dd, etc), is there a way to change that system-wide to be in human-readable format? usually adding -h (for human) helps. Also try setting BLOCKSIZE. each program might have some more explanation in the man page. System To assess my understanding, the system is split into kernel, base, documentation, games, lib32 (on 64-bit systems) and ports. This distinction is rarely used. The only place that cares for these differences is the installer. There is another split between base and ports where base includes everything previously mentioned minus ports. This is the one that matters Now, there are 3 branches of the base system: RELEASE, STABLE and CURRENT. RELEASE means 9.0 and stays that way until 10.0 is released. STABLE means 9.0, 9.1, 9.2, etc. CURRENT means trunk in SVN terms. Is all that correct? This is incorrect. RELEASE are all releases: There is 9.0, 9.1, 9.2, etc. STABLE is a misnomer: it is a *development* branch but the ABI / KPI is kept stable. CURRENT is HEAD and where new commits go before being MFCed or Merged From Current to -stable. Releases are branched from -STABLE. -STABLE is branched from -HEAD. Also, when somewhere is mentioned `make world', this means to rebuild all installed ports which doesn't include base, I assume? make world is always wrong. make buildworld is closer. In source land world is everything
Re: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
On Fri, Jun 22, 2012 at 1:01 AM, O. Hartmann ohart...@zedat.fu-berlin.de wrote: I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD shown below. When first used, I was able to put approx. 30 GB of data on it - it was visible to FreeBSD 9 and 10 as expected. A Linux system at the lab was also capable of recognizing it. After that, I tried to operate on the stick on a Notebook, FreeBSD 9, and another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive anymore - sometimes, but this seems to be a gambling issue :-( Trying Linux on different hardware platforms and even those machines prior not recognizing the USB drive do recognize the drive as Lexar USB Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and pull data from it. So, since the USB drive won't work with three different FreeBSD boxes (one running 9-STABLE, two 10-CURRENT, all systems most recent sources and buildworld from a day ago). I suspect either a weird configuration issue I use on all platforms in questions in common triggering the weird beviour - or FreeBSD is simply incapable of handling the 64GB drive. I do not have issues with USB drives with capacities of 32, 8 or 4 GB of different brands. As shown in the portion of the dmesg below, the USB drive is recognized physically. It doesn't matter whether USB port I use (I tried all available on all boxes and in most cases I use a Dell UltraSharp powered in-screen HUB). Since other OSes handle the drive as expected, I exclude hardware issues. All FreeBSD in common is the fact I use the new device ahaci/device ata CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). Apart from trying a GENERIC kernel (which is next I will do this weekend), does anyone have similar experiences and probably solutions? Regards, oh ugen7.6: Lexar at usbus7 umass1: Lexar USB Flash Drive, class 0/0, rev 2.00/11.00, addr 6 on usbus7 (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted I see similar behavior and output on my Dell M6500 notebook running CURRENT, but only on two ports which are some type of hybrid USB 2.0/3.0 (configurable via BIOS setting). If I use either of these ports with a USB 2.0 device while running the ports in USB 3.0 mode (using xhci(4)), I can't reliably get a device to properly attach. I say reliably, because every once in a while, I can plug a device in and it works fine, even multiple times and after reboots. If I configure these ports to run in USB 2.0 mode (using ehci(4)), all of my USB 2.0 devices seem to work without fail. However, USB 3.0 devices do not attach on these ports when they are configured as USB 2.0 ports. So, at least on my notebook, these ports must be configured at either 2.0 or 3.0, depending on which device I plan on using :( I have one other port on this same system that is USB 2.0-only, and it works all of the time :) I'll have to try and add a hub into the mix to see if perhaps it is a power issue (although with a recent Linux kernel and Windows 7, all is well no matter what configuration I provide). It may be that FreeBSD's USB subsystem lacks some extra bit of code required to configure the ports properly in regard to power. -Brandon ___ 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
Sendmail and Postfix
A little digging around has revealed that there are two 'mailq' executables on my system: /usr/local/bin/mailq and /usr/bin/mailq. The first is part of the mail/postfix-current port which I have installed and use, and the second is presumably part of Sendmail, which I have not installed and do not use. It seems that Sendmail is embedded somehow in the base system. What is the 'approved' way to get rid of /usr/bin/mailq? Or better, remove Sendmail? Sorry if this is a newbie question; I am as yet relatively unfamiliar with FreeBSD, being a refugee from GNU/Linux. This is FreeBSD 9.0-RELEASE, by the way. ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
On Jun 22, 2012 10:45 AM, Brandon Gooch jamesbrandongo...@gmail.com wrote: On Fri, Jun 22, 2012 at 1:01 AM, O. Hartmann ohart...@zedat.fu-berlin.de wrote: I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD shown below. When first used, I was able to put approx. 30 GB of data on it - it was visible to FreeBSD 9 and 10 as expected. A Linux system at the lab was also capable of recognizing it. After that, I tried to operate on the stick on a Notebook, FreeBSD 9, and another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive anymore - sometimes, but this seems to be a gambling issue :-( Trying Linux on different hardware platforms and even those machines prior not recognizing the USB drive do recognize the drive as Lexar USB Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and pull data from it. So, since the USB drive won't work with three different FreeBSD boxes (one running 9-STABLE, two 10-CURRENT, all systems most recent sources and buildworld from a day ago). I suspect either a weird configuration issue I use on all platforms in questions in common triggering the weird beviour - or FreeBSD is simply incapable of handling the 64GB drive. I do not have issues with USB drives with capacities of 32, 8 or 4 GB of different brands. As shown in the portion of the dmesg below, the USB drive is recognized physically. It doesn't matter whether USB port I use (I tried all available on all boxes and in most cases I use a Dell UltraSharp powered in-screen HUB). Since other OSes handle the drive as expected, I exclude hardware issues. All FreeBSD in common is the fact I use the new device ahaci/device ata CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). Apart from trying a GENERIC kernel (which is next I will do this weekend), does anyone have similar experiences and probably solutions? Regards, oh ugen7.6: Lexar at usbus7 umass1: Lexar USB Flash Drive, class 0/0, rev 2.00/11.00, addr 6 on usbus7 (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted I see similar behavior and output on my Dell M6500 notebook running CURRENT, but only on two ports which are some type of hybrid USB 2.0/3.0 (configurable via BIOS setting). If I use either of these ports with a USB 2.0 device while running the ports in USB 3.0 mode (using xhci(4)), I can't reliably get a device to properly attach. I say reliably, because every once in a while, I can plug a device in and it works fine, even multiple times and after reboots. If I configure these ports to run in USB 2.0 mode (using ehci(4)), all of my USB 2.0 devices seem to work without fail. However, USB 3.0 devices do not attach on these ports when they are configured as USB 2.0 ports. So, at least on my notebook, these ports must be configured at either 2.0 or 3.0, depending on which device I plan on using :( I have one other port on this same system that is USB 2.0-only, and it works all of the time :) I'll have to try and add a hub into the mix to see if perhaps it is a power issue (although with a recent Linux kernel and Windows 7, all is well no matter what configuration I provide). It may be that FreeBSD's USB subsystem lacks some extra bit of code required to configure the ports properly in regard to power. -Brandon ___ 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 There are 3 drivers, one for 3.0, 2.0 and 1.0, and they are associated to corresponding devices at boot. I'll play around with it this weekend and see how to switch, i've also noticed issue connecting 2.0 device to 3.0 port. Waitman Gobble San Jose California USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to
Re: Sendmail and Postfix
On 22/06/2012 19:19, Walter Hurry wrote: It seems that Sendmail is embedded somehow in the base system. What is the 'approved' way to get rid of /usr/bin/mailq? Or better, remove Sendmail? You don't need to remove the base system sendmail. All you need to do is set up /etc/mail/mailer.conf properly -- and installing the postfix port should do that for you -- and then any reference to /usr/sbin/sendmail, /usr/bin/mailq, usr/bin/hoststat etc. will run postfix instead. It's really very nicely done. See mailer.conf(5) Cheers, Matthew PS. Alright, yes. You can prevent sendmail from being built as part of the base system by defining 'WITHOUT_SENDMAIL=yes' in /etc/src.conf, but this supposes that you want to build the system yourself, rather than using, say, freebsd-update(8). See src.conf(5) and read in /usr/src/UPDATING and the Handbook about the procedure for building the system from source. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: Sendmail and Postfix
When you installed Postfix did you allow it to update the entries in /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary that came with the system; it's ignored. ___ 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: New to FreeBSD - Some questions
On 22/06/2012 18:40, Eitan Adler wrote: q) Is there a place where all sysctl variables are documented? It occurred to me when I was trying to find the memory usage on my system but `sysctl -a | grep mem' shows a whole bunch of stuff. You can try sysctl -ad but most of the systls are either documented in man pages or not at all. :( It would be a really handy thing if the output of 'sysctl -d' told you what man page to refer to for more information. A neat little project but pretty boring to implement. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: backup tools
On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so backups will be initiated manually rather than by cron or other scheduled procedures. What are the laptops running? Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpzbtvy014nJ.pgp Description: PGP signature
Re: Sendmail and Postfix
During subsequent system upgrades, of you build from source, you should watch out for thus during the mergemaster piece. Brian On Jun 22, 2012 11:44 AM, Matthew Seaman matt...@freebsd.org wrote: On 22/06/2012 19:19, Walter Hurry wrote: It seems that Sendmail is embedded somehow in the base system. What is the 'approved' way to get rid of /usr/bin/mailq? Or better, remove Sendmail? You don't need to remove the base system sendmail. All you need to do is set up /etc/mail/mailer.conf properly -- and installing the postfix port should do that for you -- and then any reference to /usr/sbin/sendmail, /usr/bin/mailq, usr/bin/hoststat etc. will run postfix instead. It's really very nicely done. See mailer.conf(5) Cheers, Matthew PS. Alright, yes. You can prevent sendmail from being built as part of the base system by defining 'WITHOUT_SENDMAIL=yes' in /etc/src.conf, but this supposes that you want to build the system yourself, rather than using, say, freebsd-update(8). See src.conf(5) and read in /usr/src/UPDATING and the Handbook about the procedure for building the system from source. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ___ 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
How can i disable cups, docbook, gutenprint and other ports?
Hi all, How can i disable cups, docbook and other ports from compiling after port update? I have no printer and no use of cups or docbook. *Sorry for my english* Greetings ___ 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
Intel X520-DA2 Supported in stable/8?
Hi All, Wondering if the Intel X520-DA2 10G Fibre NIC is supported in stable/8. Hardware notes don't specify it, but I have a system up and the interfaces appear to be loaded by the ix driver. However, status indicates no carrier. -- Take care Rick Miller ___ 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: New to FreeBSD - Some questions
On Jun 22, 2012 10:42 AM, Eitan Adler li...@eitanadler.com wrote: On 21 June 2012 04:24, Fred Morcos fred.mor...@gmail.com wrote: Introduction and background q) Is it possible to run a FreeBSD system without much building? In other words, can I survive by depending on packages and only resorting to ports when really needed? To an extent. It is currently possible to use only packages, but they tend to be out of date and upgrading is non-easy without a third party tool (such as portmaster or portupgrade). There is currently active work to fix these issues in a project called pkgng. This will likely become the default in the next couple of months. q) Where does the FreeBSD project stand on this matter? From what I noticed is that the base system seems to adhere to the tranditional flat text files for configuration and simple tools that do a good job, leaving it up to the user to combine those small tools to create larger, more complex ones (a UNIX inheritance). FreeBSD tends to be conservative. The project won't implement a complex daemon without clear benefits and specific discussion on the pros and cons. q) Is a FreeBSD stable base system with current high-level components possible? Will it avoid the issues I experienced on Linux-based systems? Generally, yes. There will likely be some adjustment period as you learn how FreeBSD works, but most people have few problems. q) I would assume UFS with J+SU is fast enough for a laptop? Yes. Most people call it SU+J ;). Don't use it for an SSD though q) Does ZFS make sense on a laptop? Any advantages of using it over USF with J+SU? I am not interested in any striping or mirroring on the laptops, but the compression features is very attractive for the HDDs in the first laptop. ZFS is ram hog. How much ram does your laptop have? q) The second laptop has an SSD, would UFS with/without J and with/without SU or ZFS make more sense for it? Make sure to enable TRIM support if your SSD supports it. q) Can I live with a desktop environment (Gnome or KDE) and desktop applications (Firefox, Libreoffice, etc) by relying only on packages? Sort of. With pkgng this will become a lot easier. If you are currently willing to deal with out of date packages until pkgng becomes default (or want to work with non-default technology now) it will be possible. q) Does the NVIDIA binary driver work reliably? I would like to hear personal experiences with that. Yes. This has never been the cause of any problem for me q) Does the bsdinstall align partitions to device blocks by default for optimal speed? If not, I have found that I can use gpart with -a and -b which will require me to calculate the start and end offsets of each partition manually. Is there a tool that can automatically do that for me? You said you had an SSD: it doesn't matter. q) Adding tmpmfs=YES to /etc/rc.conf is analogous to a tmpfs /tmp on Linux-based systems, correct? Yes. Any other directories that might make sense to have as an mfs (ie, in /var)? Don't use tmpfs for anything in /var q) Is there a place where all sysctl variables are documented? It occurred to me when I was trying to find the memory usage on my system but `sysctl -a | grep mem' shows a whole bunch of stuff. You can try sysctl -ad but most of the systls are either documented in man pages or not at all. :( q) How can I set proxy settings system-wide? Same for PACKAGESITE (for the pkg_* tools), how can I set a mirror system-wide? /etc/profile? Same as any other unix system. It depends on what shell you use. q) I noticed all file/data-sizes are in bytes (ls, dd, etc), is there a way to change that system-wide to be in human-readable format? usually adding -h (for human) helps. Also try setting BLOCKSIZE. each program might have some more explanation in the man page. System To assess my understanding, the system is split into kernel, base, documentation, games, lib32 (on 64-bit systems) and ports. This distinction is rarely used. The only place that cares for these differences is the installer. There is another split between base and ports where base includes everything previously mentioned minus ports. This is the one that matters Now, there are 3 branches of the base system: RELEASE, STABLE and CURRENT. RELEASE means 9.0 and stays that way until 10.0 is released. STABLE means 9.0, 9.1, 9.2, etc. CURRENT means trunk in SVN terms. Is all that correct? This is incorrect. RELEASE are all releases: There is 9.0, 9.1, 9.2, etc. STABLE is a misnomer: it is a *development* branch but the ABI / KPI is kept stable. CURRENT is HEAD and where new commits go before being MFCed or Merged From Current to -stable. Releases are branched from -STABLE. -STABLE is branched from -HEAD. Also, when somewhere is mentioned `make world', this means to
Re: Sendmail and Postfix
Hi-- On Jun 22, 2012, at 11:19 AM, Walter Hurry wrote: A little digging around has revealed that there are two 'mailq' executables on my system: /usr/local/bin/mailq and /usr/bin/mailq. The first is part of the mail/postfix-current port which I have installed and use, and the second is presumably part of Sendmail, which I have not installed and do not use. It seems that Sendmail is embedded somehow in the base system. What is the 'approved' way to get rid of /usr/bin/mailq? Or better, remove Sendmail? BSD Unixes have shipped with Sendmail for decades, much as BIND is also included-- so yes, Sendmail is included with the base system by default. The approved way is to simply leave things be. Properly written software will honor the links setup by mailwrapper(8) and use the Postfix MTA which you installed instead: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html If you really want to remove sendmail entirely, you can rebuild FreeBSD with NO_SENDMAIL=TRUE ...set in /etc/make.conf, which will avoid building sendmail at all. Regards, -- -Chuck ___ 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: Sendmail and Postfix
On Fri, 22 Jun 2012 13:41:46 -0500, Mark Felder wrote: When you installed Postfix did you allow it to update the entries in /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary that came with the system; it's ignored. Thanks! (Thanks too to the other responders.) Looks like that's the step I missed. Fixed now. Cheers. ___ 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: Intel X520-DA2 Supported in stable/8?
On Fri, Jun 22, 2012 at 3:13 PM, Rick Miller vmil...@hostileadmin.com wrote: Hi All, Wondering if the Intel X520-DA2 10G Fibre NIC is supported in stable/8. Hardware notes don't specify it, but I have a system up and the interfaces appear to be loaded by the ix driver. However, status indicates no carrier. Ok, brain fart. Please forgive my ineptitude. I once sent an email inquiring about the Intel 82599, which is this NIC. Responses to that mail say it's supported by the ixgbe driver. My stable/8 installation (5/21/2012) probes it with an ix driver that I cannot find any info on. The ixgbe manage indicates it only supports 82598 based controllers. Not sure what to think here... ___ 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: Fwd: Need latest xorg
On 06/20/12 23:25, Lynn Steven Killingsworth wrote: I don't seem to have generated much comment. I suspect you are thinking as I do that if your servers don't immediately download then their is a bandit on my Internet line?? Xorg 7.7 for testing. http://miwi.bsdcrew.de/2012/06/cft-xorg-7-7-ready-for-testing/ but i can't load this site at the moment. :( ___ 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: Intel X520-DA2 Supported in stable/8?
The ixgbe driver creates devices named ix0, etc. I believe you need to run 'ifconfig ix0 up' before it will attempt to get link. -Andrew On Jun 22, 2012, at 3:45 PM, Rick Miller wrote: On Fri, Jun 22, 2012 at 3:13 PM, Rick Miller vmil...@hostileadmin.com wrote: Hi All, Wondering if the Intel X520-DA2 10G Fibre NIC is supported in stable/8. Hardware notes don't specify it, but I have a system up and the interfaces appear to be loaded by the ix driver. However, status indicates no carrier. Ok, brain fart. Please forgive my ineptitude. I once sent an email inquiring about the Intel 82599, which is this NIC. Responses to that mail say it's supported by the ixgbe driver. My stable/8 installation (5/21/2012) probes it with an ix driver that I cannot find any info on. The ixgbe manage indicates it only supports 82598 based controllers. Not sure what to think here... ___ freebsd-sta...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org -- Andrew Boyerabo...@averesystems.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: Intel X520-DA2 Supported in stable/8?
On Fri, Jun 22, 2012 at 3:54 PM, Andrew Boyer abo...@averesystems.com wrote: The ixgbe driver creates devices named ix0, etc. I believe you need to run 'ifconfig ix0 up' before it will attempt to get link. Thanks for clarifying that tidbit. At least I know the driver loading is the correct driver :) I did try ifup'ing the interface...it shows the interface up, status is still no carrier. I've had confirmation that the cable itself is good. I wonder if it matters that the upstream switch has VLAN tagging enabled? ___ 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: New to FreeBSD - Some questions
On 22 June 2012 11:44, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 22/06/2012 18:40, Eitan Adler wrote: q) Is there a place where all sysctl variables are documented? It occurred to me when I was trying to find the memory usage on my system but `sysctl -a | grep mem' shows a whole bunch of stuff. You can try sysctl -ad but most of the systls are either documented in man pages or not at all. :( It would be a really handy thing if the output of 'sysctl -d' told you what man page to refer to for more information. A neat little project but pretty boring to implement. Agreed. I don't have the time to do this directly, but I'm willing to commit patches that do this. -- Eitan Adler ___ 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: New to FreeBSD - Some questions
On Fri, Jun 22, 2012 at 1:18 PM, Eitan Adler li...@eitanadler.com wrote: On 22 June 2012 11:44, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 22/06/2012 18:40, Eitan Adler wrote: q) Is there a place where all sysctl variables are documented? It occurred to me when I was trying to find the memory usage on my system but `sysctl -a | grep mem' shows a whole bunch of stuff. You can try sysctl -ad but most of the systls are either documented in man pages or not at all. :( It would be a really handy thing if the output of 'sysctl -d' told you what man page to refer to for more information. A neat little project but pretty boring to implement. Agreed. I don't have the time to do this directly, but I'm willing to commit patches that do this. -- Eitan Adler ___ 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 that sounds great, also, for the moment you can try grep in /usr/src and usually find what you are looking for there. Usually the source code is well-documented, and you can see which switches do what. an idea... Waitman Gobble San Jose California USA ___ 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: Intel X520-DA2 Supported in stable/8?
On 22 Jun 2012, at 22:02, Rick Miller vmil...@hostileadmin.com wrote: On Fri, Jun 22, 2012 at 3:54 PM, Andrew Boyer abo...@averesystems.com wrote: The ixgbe driver creates devices named ix0, etc. I believe you need to run 'ifconfig ix0 up' before it will attempt to get link. Thanks for clarifying that tidbit. At least I know the driver loading is the correct driver :) I did try ifup'ing the interface...it shows the interface up, status is still no carrier. I've had confirmation that the cable itself is good. I wonder if it matters that the upstream switch has VLAN tagging enabled? Nope, having a link is layer 1, VLAN tagging happens at layer 3 iirc. If you're unsure, you can always create a VLAN interface bound to your NIC. I suppose you've tried reversing the fibre pair.___ 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: Intel X520-DA2 Supported in stable/8?
dmesg and ifconfig output below... On Fri, Jun 22, 2012 at 4:02 PM, Rick Miller vmil...@hostileadmin.com wrote: On Fri, Jun 22, 2012 at 3:54 PM, Andrew Boyer abo...@averesystems.com wrote: The ixgbe driver creates devices named ix0, etc. I believe you need to run 'ifconfig ix0 up' before it will attempt to get link. Thanks for clarifying that tidbit. At least I know the driver loading is the correct driver :) I did try ifup'ing the interface...it shows the interface up, status is still no carrier. I've had confirmation that the cable itself is good. I wonder if it matters that the upstream switch has VLAN tagging enabled? ix0: Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.4.5 port 0x7000-0x701f mem 0xf6b8-0xf6bf,0xf6b7-0xf6b73fff irq 40 at device 0.0 on pci7 ix0: Using MSIX interrupts with 9 vectors ix0: RX Descriptors exceed system mbuf max, using default instead! ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: Ethernet address: 90:e2:ba:15:e2:60 ix0: PCI Express Bus: Speed 5.0Gb/s Width x8 ix1: Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.4.5 port 0x7020-0x703f mem 0xf6a8-0xf6af,0xf6a7-0xf6a73fff irq 44 at device 0.1 on pci7 ix1: Using MSIX interrupts with 9 vectors ix1: RX Descriptors exceed system mbuf max, using default instead! ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: Ethernet address: 90:e2:ba:15:e2:61 ix1: PCI Express Bus: Speed 5.0Gb/s Width x8 ix0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=401bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO ether 90:e2:ba:XX:XX:XX inet 10.1.2.50 netmask 0xfe00 broadcast 10.1.3.255 media: Ethernet autoselect status: no carrier ix1: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 options=401bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO ether 90:e2:ba:XX:XX:XX media: Ethernet autoselect status: no carrier -- Take care Rick Miller ___ 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: Intel X520-DA2 Supported in stable/8?
Increase your system mbuf pool size, you do not want that failure to happen. Jack On Fri, Jun 22, 2012 at 2:01 PM, Rick Miller vmil...@hostileadmin.comwrote: dmesg and ifconfig output below... On Fri, Jun 22, 2012 at 4:02 PM, Rick Miller vmil...@hostileadmin.com wrote: On Fri, Jun 22, 2012 at 3:54 PM, Andrew Boyer abo...@averesystems.com wrote: The ixgbe driver creates devices named ix0, etc. I believe you need to run 'ifconfig ix0 up' before it will attempt to get link. Thanks for clarifying that tidbit. At least I know the driver loading is the correct driver :) I did try ifup'ing the interface...it shows the interface up, status is still no carrier. I've had confirmation that the cable itself is good. I wonder if it matters that the upstream switch has VLAN tagging enabled? ix0: Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.4.5 port 0x7000-0x701f mem 0xf6b8-0xf6bf,0xf6b7-0xf6b73fff irq 40 at device 0.0 on pci7 ix0: Using MSIX interrupts with 9 vectors ix0: RX Descriptors exceed system mbuf max, using default instead! ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: [ITHREAD] ix0: Ethernet address: 90:e2:ba:15:e2:60 ix0: PCI Express Bus: Speed 5.0Gb/s Width x8 ix1: Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.4.5 port 0x7020-0x703f mem 0xf6a8-0xf6af,0xf6a7-0xf6a73fff irq 44 at device 0.1 on pci7 ix1: Using MSIX interrupts with 9 vectors ix1: RX Descriptors exceed system mbuf max, using default instead! ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: [ITHREAD] ix1: Ethernet address: 90:e2:ba:15:e2:61 ix1: PCI Express Bus: Speed 5.0Gb/s Width x8 ix0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=401bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO ether 90:e2:ba:XX:XX:XX inet 10.1.2.50 netmask 0xfe00 broadcast 10.1.3.255 media: Ethernet autoselect status: no carrier ix1: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 options=401bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO ether 90:e2:ba:XX:XX:XX media: Ethernet autoselect status: no carrier -- Take care Rick Miller ___ freebsd-sta...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-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
Building libreoffice on 8.3 x86-64, not
I have an 8.3 x86-64 system, fully patched, all ports but one up to date. When I try to build libreoffice, it fails in various sub-builds. Most of the sub-builds work when I retry them, except for tail_build which fails repeatedly. It's using clang for the build, but I don't see any option to use GCC. Any suggestions? I have 500 megabytes of build logs if anyone wants to look at them. R's, John ___ 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
fsck_ufs running too often
Hi, since a few of days ago, I noticed my home server turns very slow more than once a day, so every time I run top to see what's processes are running, I can see fsck_ufs at the very top, and the hard drive working like mad. I've checked my crontab and there's nothing related to fsck_ufs, where can I start searching for the cause of the problem?, I thought this process should run only at boot or shutdown, but this time it is running -apparently- without a cause. uname -a: FreeBSD server.my.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Regards, Leonardo M. Ramé http://leonardorame.blogspot.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: Intel X520-DA2 Supported in stable/8?
On Fri, Jun 22, 2012 at 5:21 PM, Jack Vogel jfvo...@gmail.com wrote: Increase your system mbuf pool size, you do not want that failure to happen. Thanks, Jack. I saw a thread where you discussed this. You are referring to kern.ipc.nmbclusters, correct? Should I also adjust the following? hw.ixgbe.rxd hw.ixgbe.txd hw.ixgbe.num_queues hw.intr_storm_threshold ___ 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: fsck_ufs running too often
On Fri, 22 Jun 2012 14:56:39 -0700 (PDT) Leonardo M. Ramé wrote: Hi, since a few of days ago, I noticed my home server turns very slow more than once a day, so every time I run top to see what's processes are running, I can see fsck_ufs at the very top, and the hard drive working like mad. I've checked my crontab and there's nothing related to fsck_ufs, where can I start searching for the cause of the problem?, I thought this process should run only at boot or shutdown, but this time it is running -apparently- without a cause. If you have background fsck enabled it runs just after the boot has completed. Have you checked the uptime? It may be that your server is spontaneously rebooting. ___ 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: Why Clang
Thomas Mueller wrote: There actually is/was a closed-source BSD (BSDI), and there is Mac OS X, with BSD under the covers. BSDi sold source-code licenses. I was an early-adopter, and I _have_ one. The vast majority of the code was taken directly from BSD 4.4 Lite, and the source-code carried just the UCB copyriht and licensinG, The 'missing pieces' necessary to make an 'operational' O/S were copyright BSDi, most had fairly liberal license terms. There were some _vendor_supplied drivers that were binary-only, and had more rstrictive licensing.` ___ 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: Intel X520-DA2 Supported in stable/8?
Would probably be good to take care of the storm threshold if you haven't, set it to 0 and you disable the check, that's what we do internally. As for the queues and number of descriptors, that's kind of up to you, different work loads and environments work best with different setups. Hopefully, when you get rid of the rx ring setup failure you will get things working. Jack On Fri, Jun 22, 2012 at 3:19 PM, Rick Miller vmil...@hostileadmin.comwrote: On Fri, Jun 22, 2012 at 5:21 PM, Jack Vogel jfvo...@gmail.com wrote: Increase your system mbuf pool size, you do not want that failure to happen. Thanks, Jack. I saw a thread where you discussed this. You are referring to kern.ipc.nmbclusters, correct? Should I also adjust the following? hw.ixgbe.rxd hw.ixgbe.txd hw.ixgbe.num_queues hw.intr_storm_threshold ___ 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: Building libreoffice on 8.3 x86-64, not
On Friday 22 June 2012 16:43:06 John Levine wrote: I have an 8.3 x86-64 system, fully patched, all ports but one up to date. When I try to build libreoffice, it fails in various sub-builds. Most of the sub-builds work when I retry them, except for tail_build which fails repeatedly. It's using clang for the build, but I don't see any option to use GCC. Any suggestions? I have 500 megabytes of build logs if anyone wants to look at them. R's, John ___ 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 It doesn't build with clan and nothing better is with gcc. Next version should be okay. Mitja http://jpgmag.com/people/lumiwa ___ 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
cron pile up! libnss-mysql and cron (Rehash)
4.5 years ago, I posted about cron's piling up. It seems if I install libnss-mysql on a fresh 9.0-STABLE, this problem persists. Here was the original post: http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164174.html I've seen this on 6.2, 7.x, and now 9.0 FreeBSD. How to repeat: install a fresh BSD system, install libnss-mysql, wait a few days. System info: FreeBSD 9.0-STABLE amd64 libnss-mysql-1.5_3 NSS module using a MySQL database for backend mariadb-client-5.3.6 Database server - drop-in replacement for MySQL mariadb-server-5.3.6 Database server - drop-in replacement for MySQL ps axlw | grep cron 0 56084 1 0 20 0 31064 2844 nanslp IsJ ?? 0:00.78 /usr/sbin/cron -s 0 68402 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68403 68402 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68527 56084 0 20 0 31064 2848 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68528 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68530 68527 0 20 0 31064 2848 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68531 68528 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68558 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68559 68558 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68591 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68592 68591 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68608 56084 0 20 0 31064 2848 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68609 68608 0 20 0 31064 2848 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68659 56084 0 20 0 31064 2848 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68660 68659 0 20 0 31064 2848 sbwait IVsJ ?? 0:00.00 cron: running job (cron) 0 68683 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68684 68683 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68722 56084 0 21 0 31064 2848 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68723 68722 0 20 0 31064 2848 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) Interestingly, if I do a truss and hit ^C, the process disappears... see below: # truss -p 68684 ^C # truss -p 68684 truss: can not attach to target process: No such process # grep 68684 /var/log/cron Jun 22 16:25:00 mail /usr/sbin/cron[68684]: (root) CMD (/usr/libexec/atrun) Rudy ___ 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: Fwd: Need latest xorg
I have found that 9-stable is on a couple of sites. Today I looked up the addresses of the packages and used pkg_add -r ftp://ftpetc I have xorg-7.5.2 with newer drivers for my recent AMD HD 7950. It looks very, very nice. xorg-7.7 on 10 must be awesome but this is my principle machine. I also have kde4-4.8.3 and etc. On Fri, 22 Jun 2012 15:51:22 -0400, lokada...@gmx.de lokada...@gmx.de wrote: On 06/20/12 23:25, Lynn Steven Killingsworth wrote: I don't seem to have generated much comment. I suspect you are thinking as I do that if your servers don't immediately download then their is a bandit on my Internet line?? Xorg 7.7 for testing. http://miwi.bsdcrew.de/2012/06/cft-xorg-7-7-ready-for-testing/ but i can't load this site at the moment. :( -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ___ 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
Building libreoffice on 8.3 x86-64, not
John Levine writes: I have an 8.3 x86-64 system, fully patched, all ports but one up to date. When I try to build libreoffice, it fails in various sub-builds. Most of the sub-builds work when I retry them, except for tail_build which fails repeatedly. There are known issues with libreoffice-3.5.2; the most common have to do with problems choosing the correct library (usually involving boost (port vs. libreoffice native)). There is a work-around, described in a revent thread in office@. There is also reason for hope this will be fixed in 3.5.4. Robert Huff ___ 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: Why Clang
From woj...@wojtek.tensor.gdynia.pl Fri Jun 22 09:26:33 2012 Date: Fri, 22 Jun 2012 16:25:55 +0200 (CEST) From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl To: Robert Bonomi bon...@mail.r-bonomi.com cc: freebsd-questions@freebsd.org Subject: Re: Why Clang Because it doesn't address an of the *OTHER* valid reasons why GCC is being replaced -- among them: 1) GCC's continuously increasing propensity to generate bad code, examples? All test shows that gcc code is not only bad, but very good. YOU ARE A LIAR. The _only_thing *you* measure by is 'speed'. You don't understand what the words bad code means -- that it has *nothing* to do with how fast the code executes.. Despite the fact I explicitly described what I was talking about -- and that you intentionally removed that description. Why are you just saying things you know isn't true? Why are you just _lying_ trollbiu? Just because _you_ haven't seen it doesn't mean it's not true. I *KNOW* it is true -- I've been bitten by GCC bad code _multiple_ times, and in multiple ways, in application code. Problems in O/S internals are much more common. I've had segfaults in code that couldn't _POSSIBLY_ segfault. An example of the _kind_ of thing that has blown up: int foo() { int a,b,c[10]; b=2; a=c[b]; /* dies here with a segfault */ } running in the debugger confirms b has the correct value just before the statement assigning a value to a. issue a 'next' command in the debugger, and you get a segfault. printing the value of 'b' shows it is 2. Disassembling the machine code shows that the WRONG REGISTER is used to calculate the effective address of the array element. It's clearly a bug in the optimizer -- I'd be surprised if it showed in that 'minimal' illustrative code. When I've gotten bit, it was a 1,000+ LOC module. I've also seen it use machine 'loop' instructions with the DF flag set wrong. 2) The inability of GCC mamintainers to fix _long-standing_ bugs, some have been identified for over a decade, and have not been fixed. That's true. still not that much. Your opinion of the seriousness doesn't count. Those of us who have had to 'code raround' those bugs for years and years have a _very_ different opinion. 3) The continuously increasing trend of introducing 'non standard' features, No need to use them. Trollboi shows he doesn't know what he doesn't know, yet again. Some of them _conflict_ with STANDARD C. Thus 'standards-compliant' C source does 'something else', when compiled with GCC. The FSF thinks 'their way' is better, and have no intention of changing. ___ 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: Why Clang
On Fri, Jun 22, 2012 at 08:28:17AM +0200, Wojciech Puchar wrote: biggest problem with what you propose, though, is that it would destroy the social factors in development of the FreeBSD system that make it what it is, and thus destroy FreeBSD itself, as far as I am concerned. I am not sure, as long as clients would be treated seriously! I look at large corporate software vendors and see them treating customers seriously maybe 2% of the time at best. In this case, most of the developers and project managers of FreeBSD are also customers, which changes things significantly. I would have thought that even you should be able to understand that without help. another personal attack? I though i talk with adults. 1. It's a comment on your tendency to ignore substantive arguments from other people, including probably half a dozen (so far) lengthy explanations of factors you refuse to consider written by *me*. 2. You're a hypocrite, pretending you're an innocent victim of personal attacks, given the way you go around making personal attacks on everyone else with a broad brush. I've commented on that, too, but -- like much of the rest of what I've said -- you simply ignored it. Turning it into a commercial enterprise rather than an open source project would probably turn it into a project that is driven about 60% by corporate politics and 40% by marketing BS, with no room left over for quality except as needed to support the minimum credibility its CEO deems necessary to support those two concerns. It depends solely on development team. I take it you don't know anything at all about how public corporations manage their development teams. That, or you're being disingenuous. It depends on the development team, and the priorities they choose to pursue first, right now. Under the stewardship of a publicly traded corporation, it would depend on the CEO, the board of directors, marketing, PR, and the accounting department, and the priorities *they* choose to pursue first, instead. For now - as we see - it's decision are driven by money. But not all users money but few selected large users. It's not *just* a decision driven by money. Money applies, certainly, but not as much as it would if FreeBSD were a for-profit public corporation rather than a community-driven open source project. When you say this, by the way, you ignore something like 90% of the perfectly reasonable additional motivating factors that have been brought up. I suppose I should not expect any different by now, given the strong track record you've managed to establish just in this one extended discussion. Worse based on a couple of very narrowly applicable metrics derived There will be IMHO soon good compiler available. it's highly probable that pcc would improve a lot, for now it is small, quick but doesn't produce good code for new CPUs. But it probably will improve. CLANG is already great bloat, and will be worse. Binary size and minuscule benchmark variations are all you see. It is ludicrous to watch you close your eyes, stick your fingers in your ears, and shout lalalalalalalala so consistently to prevent any other factors involved in compiler choice from entering your mind -- such as good output from a compiler that will be stable and do what you expect. No amount of money will fix it, actually too much money will hurt. . . . and yet you want to turn the FreeBSD project over to Microsoft (or the equivalent). You contradict yourself. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.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
Re: Why Clang
On Fri, Jun 22, 2012 at 01:16:09PM +0200, Julian H. Stacey wrote: Chad Perrin wrote: On Thu, Jun 21, 2012 at 01:06:12PM +0200, Wojciech Puchar wrote: i already proposed (but not publically) to turn FreeBSD into commercial system. REALLY i would not see a problem to pay say 100$ per server licence. I would see a problem with that -- not because I don't think FreeBSD is worth it. I do, and I think it is worth more than that, in fact. The biggest problem with what you propose, though, is that it would destroy Hi Chad etc, I admire the perserverance, but maybe Don't feed the troll ? Yeah. . . . -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.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
cron pile up! Lot's of cron: running job (cron)
http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164174.html ___ 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: Why Clang
On Fri, Jun 22, 2012 at 09:24:57AM -0500, Reid Linnemann wrote: On Thu, Jun 21, 2012 at 11:27 PM, Chad Perrin per...@apotheon.com wrote: I disagree with the assessment by others that FreeBSD is in some way effectively a subsidiary of its corporate users, but it does have corporate users, as well as non-corporate users. Just as it must reasonably see to the needs of the individuals who use it, so must it also reasonably see to the needs of those corporate users, especially when some of those corporate users' employees are key developers for the base system (to the significant benefit of the rest of us). Thus, saying that a particular set of conditions having an impact on commercial sponsors of FreeBSD has zero bearing on FreeBSD itself is just . . . incorrect. And I would like to stress on this point that, when I referred to corporate sponsorship in an earlier post, I was thinking specifically about the sponsorship of employing developers that keep the system moving forward, not necessarily monetary donations. The foundation does need money, but the software is doomed if no one is gainfully employed to maintain and enhance it. I think there is an altruistic fiction that many people subscribe to that free software is merely the result of the generosity of developers producing code of their own volition and on their own spare time and giving it away, and from that viewpoint the act of considering concerns of a sponsoring entity amounts to selling out. The reality is much different and much more complex, as you well know. Indeed. When I contribute to an open source project, as an individual, much the same factors apply. I do not do it to help someone like Michel Talon, or even Reid Linnemann; I do it to help myself, by improving software I like, or to help people who in turn work to improve software I like. I have selfish goals that are served by my support of well- designed copyfree software, whether that support is financial in nature, a contribution of development effort, or something less direct. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.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
Re: Sendmail and Postfix
From owner-freebsd-questi...@freebsd.org Fri Jun 22 13:47:20 2012 To: freebsd-questions@freebsd.org Date: Fri, 22 Jun 2012 13:41:46 -0500 From: Mark Felder f...@feld.me Subject: Re: Sendmail and Postfix When you installed Postfix did you allow it to update the entries in /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary that came with the system; it's ignored. For SendMail, mailq is just a symlink to the SendMail executable. the mail.conf stuff (to use a polite word) installs it's own executable(s) under all the 'common' names that SendMail is invoked as. These executables look at /etc/mailer.conf, and invoke the appropiate executable for the mailer that you have seleccted in mailer.conf. ___ 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: backup tools
On Fri, Jun 22, 2012 at 08:47:40PM +0200, Roland Smith wrote: On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so backups will be initiated manually rather than by cron or other scheduled procedures. What are the laptops running? FreeBSD, Debian, and/or Ubuntu. There's at least one of each. I apologize for not mentioning that sooner. I had a feeling I'd overlook something. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.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
Re: backup tools
On Fri, Jun 22, 2012 at 11:09 AM, Chad Perrin per...@apotheon.com wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so backups will be initiated manually rather than by cron or other scheduled procedures. I'm trying to decide on what tools to use for managing backups. In the past I have used rsync, which has worked reasonably well, but fails one of my desired criteria for the new backup procedures, and is less than ideal for others. One's I use or have used: sysutils/rdiff-backup sysutils/tarsnap misc/amanda-server -- Adam Vande More ___ 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: backup tools
On Fri, Jun 22, 2012 at 08:14:34PM -0500, Adam Vande More wrote: On Fri, Jun 22, 2012 at 11:09 AM, Chad Perrin per...@apotheon.com wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so backups will be initiated manually rather than by cron or other scheduled procedures. I'm trying to decide on what tools to use for managing backups. In the past I have used rsync, which has worked reasonably well, but fails one of my desired criteria for the new backup procedures, and is less than ideal for others. One's I use or have used: sysutils/rdiff-backup sysutils/tarsnap misc/amanda-server Unfortunately, one of those is GPL, another is subject to proprietary licensing, and the last has a bunch of (otherwise unnecessary on the server) GNU project dependencies. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.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
Re: How can i disable cups, docbook, gutenprint and other ports?
On Fri, 22 Jun 2012 20:56:59 +0200, lokada...@gmx.de wrote: Hi all, How can i disable cups, docbook and other ports from compiling after port update? I have no printer and no use of cups or docbook. If you don't mind the _time_ required for building those ports (and taking into mind that the disk space occupied doesn't even matter as disks are big and cheap today), you don't have to _enable_ CUPS if you're actually _not_ using it. That would be disabling them. :-) Sadly, there's no really comfortable way of not _building_ them as they are (almost hardcoded!) dependencies for other ports you might be using. There are some config screens (see make config and make config-recursive or portmaster's --force-config option) where you _might_ have the chance to de-select some of those ports so they won't build. But as I said, that depends on the primary ports you're using and their dependencies. You know, by accident, you could even install LaTeX (teTeX) as a dependency! :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: fsck_ufs running too often
On Fri, 22 Jun 2012 14:56:39 -0700 (PDT), Leonardo M. Ramé wrote: Hi, since a few of days ago, I noticed my home server turns very slow more than once a day, so every time I run top to see what's processes are running, I can see fsck_ufs at the very top, and the hard drive working like mad. It seems you have background_fsck=YES enabled in /etc/rc.conf. Is this desired? If not, set it to =NO to perform a file system check prior to going multi-user. That would take several minutes, but it makes sure the system boots up into a properly checked and mounted environment. I've checked my crontab and there's nothing related to fsck_ufs, where can I start searching for the cause of the problem?, Check /etc/rc.conf (see man rc.conf and /etc/defaults/rc.conf), look for the background_fsck setting. I thought this process should run only at boot or shutdown, At shutdown? I'd say at boot. In fact, a background file system check actually starts at boot, but runs during and after boot-up, that's what you're obviously noticing as high I/O load. but this time it is running -apparently- without a cause. No. The fsck run doesn't start without a cause. The cause is: the filesystem about to be mounted is dirty (contains defects because it wasn't properly unmounted). What the reason for _this_ observation is... check if your server accidentally got powered off (e. g. bad power line). You can check the timestamps in various log files (most prominent example is /var/log/messages) to see when your system started. If you notice the system started too often, maybe fsck was not able to successfully finish (and repair!) the file systems, so it will do so on every start of the system. My suggestion: Set background_fsck=YES in /etc/rc.conf and let the system boot up that way. _If_ you have a faulty disk or other data corruption, you'll notice this _before_ going multi-user and maybe making things worse. Yes, it might take some time, but it's time well invested in your data integrity. Alternative: Perform a shutdown now and go into single-user mode. Then unmount all your file systems, do mount -o ro / and then perform the fsck run on all file systems. It's typically adviced to perform file system checks on unmounted (or at least read-only mounted) file systems. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: backup tools
Bacula is the tool Enviado desde mi iPod El 22/06/2012, a las 8:31 p.m., Chad Perrin per...@apotheon.com escribió: On Fri, Jun 22, 2012 at 08:14:34PM -0500, Adam Vande More wrote: On Fri, Jun 22, 2012 at 11:09 AM, Chad Perrin per...@apotheon.com wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so backups will be initiated manually rather than by cron or other scheduled procedures. I'm trying to decide on what tools to use for managing backups. In the past I have used rsync, which has worked reasonably well, but fails one of my desired criteria for the new backup procedures, and is less than ideal for others. One's I use or have used: sysutils/rdiff-backup sysutils/tarsnap misc/amanda-server Unfortunately, one of those is GPL, another is subject to proprietary licensing, and the last has a bunch of (otherwise unnecessary on the server) GNU project dependencies. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.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 Este mensaje y/o sus anexos son para uso exclusivo de su destinatario intencional y puede contener información legalmente protegida por ser confidencial. Si usted no es el destinatario intencional del mensaje por favor infórmenos de inmediato y elimínelo, así como sus anexos. Igualmente, le comunicamos que cualquier retención, revisión no autorizada, distribución, divulgación, reenvío, copia, impresión, reproducción, o uso indebido de este mensaje y/o sus anexos, está estrictamente prohibida y sancionada legalmente. EDATEL S.A. no se hace responsable en ningún caso por daños derivados de la recepción del presente mensaje. ___ 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
Off Topic. DNS, Android.
Hello. I am sorry if the following 2 questions could sound too stupid. a) Normally any Domain name registered has to have 2 Nameservers. Some registry like the one responsible for .ORG requires 2 at least to propagate the domain. In teh case of .COM that is not a requirement, one nameserver could work. If for some reason I have 2 of them and one is configured to point to SERVER A , and the other to SERVER B. Differenet places, same configuration. Is there any preference over what is PRIMARY NAMESERVER or SECONDARY NAMESERVER? I mean, Primary is the one used mainly? b) I am looking for good list like this one for people developing, learning about Android Development. Any suggestion ? I am trying to setup a Freebsd machine for developing for Android, if possible. Thanks in advance. JB ___ 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: I have a problem to my server running under FreeBSD 8.1 p-1 release
Hi, On Saturday 23 June 2012 09:47:35 RetspaN Code wrote: Hello, Since you all the responsible of freebsd source and updates... Is there you are the only one responsible for the break in. So, what was the problem? anyway to fix my server without re install the system? Oh yes, you can find out what was done with your system and revert all changes. But you must be really sure what you are doing then. And you can do this only as long as you still have root access. Do you still have it? Erich ___ 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: Off Topic. DNS, Android.
On Jun 22, 2012, at 8:28 PM, Jorge Biquez wrote: Hello. Hola! I am sorry if the following 2 questions could sound too stupid. a) Normally any Domain name registered has to have 2 Nameservers. Some registry like the one responsible for .ORG requires 2 at least to propagate the domain. In teh case of .COM that is not a requirement, one nameserver could work. It's always a good idea to have at least two nameservers configured for any public domain, and best practice involves having nameservers located on different networks. If for some reason I have 2 of them and one is configured to point to SERVER A , and the other to SERVER B. Differenet places, same configuration. Is there any preference over what is PRIMARY NAMESERVER or SECONDARY NAMESERVER? I mean, Primary is the one used mainly? No, DNS round-robin used on most platforms will rotate fairly evenly. And the traffic can be cached by other nameservers for a long(er) time by upping TTLs, if you wish to reduce network traffic load...at the tradeoff of making DNS changes take longer to be noticed, of course. Bigger sites might adjust DNS traffic onto server pools with a load-balancer which does liveness checks of the nameservers and could be told to adjust traffic routing in various ways. You can also do something similar via ipfw/natd's redirect_address (see RFC 2391). b) I am looking for good list like this one for people developing, learning about Android Development. Any suggestion ? I am trying to setup a Freebsd machine for developing for Android, if possible. Hmm. http://developer.android.com/sdk/index.html suggests that maybe the Linux distribution under FreeBSD's Linux emulation might be a possibility. Regards, -- -Chuck ___ 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: Off Topic. DNS, Android.
b) I am looking for good list like this one for people developing, learning about Android Development. Any suggestion ? I am trying to setup a Freebsd machine for developing for Android, if possible. Hmm. http://developer.android.com/sdk/index.html suggests that maybe the Linux distribution under FreeBSD's Linux emulation might be a possibility. On some blog, I read about http://bsdroid.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