From pprocacci at datapipe.net Wed Apr 1 00:36:18 2009 From: pprocacci at datapipe.net (Paul A Procacci) Date: Wed Apr 1 00:36:25 2009 Subject: mountd requests Message-ID: <49D31922.4040705@datapipe.net> Hey All, We have a shared nfs machine that is used between multiple client machines. While this in itself is ok, any client that issues a `showmount` command can see the other mounts that are currently established. I can't for the life of me figure out how this is a good thing. I big security related `no no` comes to mind whenever I see all mounts from all clients returned back to me from a client. Now, mountd doesn't have a `secure` option to turn this off, but I have developed an untested patch for doing this. I think the reasonable default behavior would be to return only mounts that the physical host making the request currently has established. I guess my real question is, has anyone ever been concerned by this? ~Paul This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/emaildisclaimer.aspx for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you. From guru at unixarea.de Wed Apr 1 00:41:34 2009 From: guru at unixarea.de (Matthias Apitz) Date: Wed Apr 1 00:41:42 2009 Subject: qemu: booting from USB key? Message-ID: <20090401053202.GA3230@rebelion.Sisis.de> Hello, How could I let boot the VM qemu from an USB key? I've checked the man page but it is only saying ... Boot on floppy (a), hard disk (c), CD-ROM (d), or Etherboot (n).. any idea? thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ From claudiu.vasadi at gmail.com Wed Apr 1 01:04:38 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Wed Apr 1 01:04:49 2009 Subject: Mythtv-0.21 build error In-Reply-To: <173389.28125.qm@web81204.mail.mud.yahoo.com> References: <173389.28125.qm@web81204.mail.mud.yahoo.com> Message-ID: Right, then try a workaround. Download a source freom the web and compile it manually and tell us if it gives you errors. From wojtek at wojtek.tensor.gdynia.pl Wed Apr 1 01:06:44 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Apr 1 01:06:52 2009 Subject: qemu: booting from USB key? In-Reply-To: <20090401053202.GA3230@rebelion.Sisis.de> References: <20090401053202.GA3230@rebelion.Sisis.de> Message-ID: USB is a disk On Wed, 1 Apr 2009, Matthias Apitz wrote: > > Hello, > > How could I let boot the VM qemu from an USB key? I've checked the man > page but it is only saying ... Boot on floppy (a), hard disk (c), CD-ROM > (d), or Etherboot (n).. > > any idea? thx > > matthias > -- > Matthias Apitz > Manager Technical Support - OCLC GmbH > Gruenwalder Weg 28g - 82041 Oberhaching - Germany > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.oclc.org/ http://www.UnixArea.de/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From claudiu.vasadi at gmail.com Wed Apr 1 01:11:14 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Wed Apr 1 01:11:21 2009 Subject: ftp with .... ? In-Reply-To: References: Message-ID: On Wed, 01 Apr 2009 03:53:09 +0300, Joshua Gimer wrote: > Are you sure that the suid bit will not provide the functionality that > you require? It provides it, but only half of it. Did "chmod g+s /mnt" and "chmod u+s /mnt" but when I create a file with "ftpadmin" through a ftp the file has ftpadmin:wheel (Parent directory belongs to root:wheel). Maybe it cannot change to root ? That would be strainge, seing how samba can do it (then again samba has a module for this) > I would make sure that the proper user owns the directory They are > and then set its suid bit (chmod u+s /mnt/) Already did that. From pobox at verysmall.org Wed Apr 1 01:27:04 2009 From: pobox at verysmall.org (Iv Ray) Date: Wed Apr 1 01:27:11 2009 Subject: gmirror 6.2 -> 7.1 Message-ID: Hello everyone, Do you think the following way to upgrade gmirror 6.2 -> 7.1 is safe for the average person? (The server is in a remote data center without physical console access.) 1. Backup 2. Remove one of the two SCSI HDDs from the gmirror 3. Install 7.1 on the removed HDD 4. Instruct the boot loader to boot from the 7.1 HDD 5. Reboot 6. Copy data 7. Clean the 6.2 HDD 8. Apply gmirror on 7.1 and add the former 6.2 HDD Thank you, Iv From olli at lurza.secnetix.de Wed Apr 1 01:40:15 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Wed Apr 1 01:40:23 2009 Subject: Why?? (prog question) In-Reply-To: <20090331210142.7dcb52ec.freebsd@edvax.de> Message-ID: <200904010839.n318dkuJ050633@lurza.secnetix.de> Polytropon wrote: > FreeBSD defines additional exit codes to specify the reason for > exiting more precisely in /usr/include/sysexits.h - for your > example, exit(EX_USAGE); would be a good exit code. Actually, no. The purpose of the codes is for communication between SMTP processes (e.g. between an MTA such as sendmail and a delivery agent such as procmail), so the MTA can determine the meaning (severity) of the error and how to proceed. The only standard exit codes for "normal" programs are EXIT_SUCCESS and EXIT_FAILURE. You should use these. > [where to put braces] > In fact, I'm sticking to the concept that only the highest level > of "code groupers" deserve a new line {: these are functions in > C and class methods in C++. Everything else has the { appended > (after a space) to the construct that causes the {. So if you find > a }, you only need to look up. It's obvious that a } is caused > by a {, but you want to know the construct that made it appear, > for example if(), while(), a struct definition or something similar. > With this concept at hand, looking up will make you find this > construct in question at the first glance. Of course this is purely a matter of taste and personal preference. My preference is similar to yours, but my main reasoon is to save space. I think it is a ridiculous waste of space if every third line consisted only of a sole brace (opening or closing). To my eye, such lines that are almost empty break the natural structure of a piece of source code. I insert empty lines quite often in order to group source lines logically, but brace lines break that grouping visually. That's probably one of the reasons why I like Python so much: There are no braces for source structuring at all. This allows me to write very compact code _and_ structure it logically at the same time, making it easily readable and comprehensible. Furthermore, Python gets rid of all of the brace problems that C has, e.g. relating an "else" to the wrong "if" when multiple "if" statements are nested, and forgetting to add braces when you add a second line to an "if" branch (unless you always use braces in C, even when they're superfluous, but again that's a waste of space and does not really improve readability). I could go on for hours, but this is really off-topic now, so we should take this to the -chat list (or to private mail). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs." -- Robert Firth From olli at lurza.secnetix.de Wed Apr 1 01:46:32 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Wed Apr 1 01:46:39 2009 Subject: too many video drivers In-Reply-To: Message-ID: <200904010846.n318k77E050954@lurza.secnetix.de> Tsu-Fan Cheng wrote: > I am rebuilding ports and realize that i have too many input/video > drivers for x-win installed. i know i need nv driver since my graphic > card is from nvidia, and i want to deinstall all others. but i am not > sure if its safe to do so, e.g. i am confused by "xf86-video-chips" > since i don't know what kind of "chip" that stands for. can someone > tell me which are basics and which are safe to remove? thanks!! For the record, it is a driver for "Chips&Technologies" graphics card. It's a brand that existed in the 90s of the previous century. They're long gone, and I'm certain you won't need the driver. I'm surprised that it still exists today in Xorg at all. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "A language that doesn't have everything is actually easier to program in than some that do." -- Dennis M. Ritchie From wojtek at wojtek.tensor.gdynia.pl Wed Apr 1 01:47:18 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Apr 1 01:47:25 2009 Subject: gmirror 6.2 -> 7.1 In-Reply-To: References: Message-ID: > Hello everyone, > > Do you think the following way to upgrade gmirror 6.2 -> 7.1 is safe for the > average person? yes > 1. Backup > 2. Remove one of the two SCSI HDDs from the gmirror > 3. Install 7.1 on the removed HDD > 4. Instruct the boot loader to boot from the 7.1 HDD > 5. Reboot > 6. Copy data > 7. Clean the 6.2 HDD > 8. Apply gmirror on 7.1 and add the former 6.2 HDD > > Thank you, > Iv > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From bc979 at lafn.org Wed Apr 1 02:02:27 2009 From: bc979 at lafn.org (Doug Hardie) Date: Wed Apr 1 02:02:33 2009 Subject: Use of libgd Message-ID: I am trying to use libgd to create some images. They are creating properly except there are color changes that I can't seem to figure out. The initial image is basically black and white PNG. I have converted it to GD2 format. There are a number of secondary images that have a couple of colors (black, red, blue etc). Each of them has been converted to GD2 format. When any of these are converted back to PNG format they display properly. However when I load the initial image, and then overlay it with one of the secondary images, the colors in the secondary images change. For example, red can become yellow or black etc. I tried gdImageCopyPalette from the secondary to the primary before the overlay but that seems to have no effect. Clearly I am missing something but can't seem to figure it out. Any ideas? Thanks. From matej.serc at gmail.com Wed Apr 1 02:09:55 2009 From: matej.serc at gmail.com (=?windows-1252?Q?Matej_=8Aerc?=) Date: Wed Apr 1 02:10:02 2009 Subject: Xeon Quad with 9 GB RAM - only 4 GB detected In-Reply-To: References: <497fe93d0903311454k2018dcafv899298f94d0385a4@mail.gmail.com> Message-ID: <497fe93d0904010209k4274d35ds91506c14001c8796@mail.gmail.com> Hello, I have finished the installation and yes, the entire amount is detected. Is this normal behaveour (why does it happen?) Thanks, Matej On Wed, Apr 1, 2009 at 8:57 AM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > just for sure - after installation is still 4GB detected (with generic > kernel) or 9? > > > On Tue, 31 Mar 2009, Matej ?erc wrote: > > Hi all, >> >> I am just trying to install FreeBSD 7.1 amd64 distro on the HP ML 150 G5 >> server and when booting, BIOS detects 9 GB of RAM, but when starting to >> install the system it is displayed that only 4 GBs are detected. Also the >> default swap partition size is 4 GB ... What would be the needed steps to >> enable FreeBSD using the entire memory in the machine? >> >> Thank you in advance for your time, >> Matej >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> >> From citrin at citrin.ru Wed Apr 1 02:10:53 2009 From: citrin at citrin.ru (Anton Yuzhaninov) Date: Wed Apr 1 02:11:05 2009 Subject: gmirror 6.2 -> 7.1 References: Message-ID: On Wed, 1 Apr 2009 10:11:56 +0200, Iv Ray wrote: IR> Do you think the following way to upgrade gmirror 6.2 -> 7.1 is safe IR> for the average person? IR> IR> (The server is in a remote data center without physical console access.) gmirror created on freebsd 6 works fine on freebsd 7 1. Backup (it may be useful even without any upgrade). 2. Upgrade as usually. -- Anton Yuzhaninov From krad at snaffler.net Wed Apr 1 02:12:25 2009 From: krad at snaffler.net (krad@snaffler.net) Date: Wed Apr 1 02:12:35 2009 Subject: Duplicate Installation of FreeBSD In-Reply-To: References: <991123400903260424p613c1c2dj53272f9101331760@mail.gmail.com> Message-ID: <49D32D83.4000607@snaffler.net> personally id use rsync over tar, make sure you use the numeric-ids option though Also you could probably do something like to make sure the disk labels are the same bsdlabel ad0s1 | rsh X " bsdlabel -W ad0s1 0" Wojciech Puchar wrote: >> Hello list, >> >> I have installed and configured a FreeBSD system based on 7.1-RELEASE >> (not >> that it matters so much) and I want a way in which I can duplicate >> this on >> several other machines. >> What is the easiest and the simplest way? Please consider the K.I.S.S >> principle. >> > boot liveCD, allow rsh on one machine (.rhosts etc) and do on each new. > > 1) > clean beginning of disk: > > dd if=/dev/zero of=/dev/ad0 bs=64k count=1 > > make labels as you wish > bsdlabel -w ad0 > bsdlabel -e ad0 > > (replace ad0 with something different if it is, or maybe more drives) > > if you use gmirror/gstripe whatever do it here. > > 2) bsdlabel -B ad0 (install bootrecord) > perform newfs on each partition with options you like > > mount target root partition on /mnt, make subdirs for other partitions > (if any), mount others under /mnt/subdir > > 3) rsh -l installedmachine "tar --one-file-system -cf - / > /otherpartition /anotherpartition"|tar -C /mnt -xpvf - > > this will copy all files. > > be sure to specify all mountpoint in tar -cf - ... > > 4) edit all needed files like /mnt/etc/rc.conf > > 5) /sbin/reboot -q > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From odhiambo at gmail.com Wed Apr 1 02:26:22 2009 From: odhiambo at gmail.com (Odhiambo Washington) Date: Wed Apr 1 02:26:29 2009 Subject: Duplicate Installation of FreeBSD In-Reply-To: <49D32D83.4000607@snaffler.net> References: <991123400903260424p613c1c2dj53272f9101331760@mail.gmail.com> <49D32D83.4000607@snaffler.net> Message-ID: <991123400904010226x76f42216lb05f2483c06f5502@mail.gmail.com> On Wed, Apr 1, 2009 at 12:01 PM, krad@snaffler.net wrote: > personally id use rsync over tar, make sure you use the numeric-ids option > though How, when rsync is not available on the "new" box? Did you perhaps misunderstand the question? Guys, g4u is not an option here. It seems not to support some RAIDs (or just the hardware that I am looking at - Dell SC1435). -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood From andrew at QEMG.org Wed Apr 1 03:03:07 2009 From: andrew at QEMG.org (Andrew Hamilton-Wright) Date: Wed Apr 1 03:03:15 2009 Subject: going from cvs to svnq In-Reply-To: <49D2CEF9.9030304@telenix.org> References: <49D27B25.80003@telenix.org> <49D2CEF9.9030304@telenix.org> Message-ID: [ snippage of question re: svn and cvs ] On Tue, 31 Mar 2009, Chuck Robey wrote: > Andrew Wright wrote: >> >> The primary advantage of using svn is that the _server_ uses a >> different protocol to track objects. > > I think that's unclear, you can't mean that just having the protocol be > different, that's not that much of a win. Having svn track extra things, like > directories, that I'd think was a win. I chose the word protocol poorly. For "protocol" read "way of doing things", or perhaps "algorithm". What I was trying to make clear is that the choice of tool between cvs and svn is made based on server related criteria. > What I don't know is, I use cvsup all the time, but when I switch to svn, what > does the "cvsup" job of tracking an archive (not tracking the sources, I mean > the archive)? Does svn do it all itself? If so, I can find out how, I just > want to know if that's how its done. If not, what's the general tool used to > track the freebsd archive, so I can investigate it? If you are asking "what is the name of the subversion client, and how can I use it?", then the answer is "svn" (which is also the executable used for the server, a la cvs with the "pserver" option). Usage instructions are available via: http://subversion.tigris.org If you are asking "what can I type to get a readonly copy of the repo?", then according to the ROADMAP.txt at: http://svn.freebsd.org/viewvc/base/ROADMAP.txt?view=markup the answer appears to be: svn co http://svn.freebsd.org/base/head Strong Caveats: o One of the peculiarities of subversion is that if you leave off the "head" portion of the URL, you will get _all_ of the nodes in the repository -- that is, the history at every point. o As I mentioned earlier, this will produce a newly checked out working space that is incompatible with cvsup (or cvs in general). o ***Early Adopter Warning***: There has not been (as far as I know) a general call for people to move to this type of repository access except for committers -- therefore expect rough edges until a general announcement is made. A. From freebsd at edvax.de Wed Apr 1 03:35:26 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Apr 1 03:35:34 2009 Subject: Why?? (prog question) In-Reply-To: <49D29EFF.4060104@utoronto.ca> References: <20090331025726.GA10888@thought.org> <20090331112122.ae329221.freebsd@edvax.de> <49D202F0.9010104@utoronto.ca> <20090331140845.a1ece3c0.freebsd@edvax.de> <49D29EFF.4060104@utoronto.ca> Message-ID: <20090401123512.ec165676.freebsd@edvax.de> On Tue, 31 Mar 2009 18:53:51 -0400, William Gordon Rutherdale wrote: > Are you serious? Serious question, yes. > You set the standard on a given project. You decide > whether you are using spaces or tabs. If spaces, you decide how many > spaces per indent level. You ask the programmers to submit code in that > format. It doesn't jump around randomly from one line to the next. Okay, now I understand what you mean. "Consistency" refers to the usage of spacing / tabbing for a given project that is adopted by several programmers. Yes, I agree with that: It's a very bad idea to have many different styles within the same project. > You are trying to make it sound like a big problem, but it isn't. When I need to read / work with other's code, it's can develop into problems. Natural habits like hitting the tab key are very hard to change several times, for each project a different rule. > Just my view based on years of experience. Don't take it too seriously. Okay, understood. "Better" often depends on what one is used to, except it can be put into a standpoint-independent discussion of pros and cons. > > When I would compare both indentation forms, I'd say that tabbing > > is the better form because > > + you can set your individually preferred tab with using the > > settings of your editor, be it 1, 4 or 8, > > > Why is this flexibility important? The more important thing is to have > consistently indented code. There is no great benefit in letting > different programmers see the code indented to different levels. They > just want to be able to read it. But the ability to read it is not the only important thing. It's how you use it, because programmers usually do more than just reading, they continue developing. The tab approach allows them to have their individual viewing options without needing to reformat the code. While programmer A likes ^TD2, another might want to work with ^TD8 or even ^TD10. The code stays the same. > > + you can change the indentation while you're coding, e. g. when > > the indentation level makes the code exceed the right margin > > of your editor's window, > So what? How many times have you actually done this in the past year? > Be honest. I belong to the ones who like ^TD8. The ability of changing the indentation width wasn't meant to be an agrument *for me*, but *for me and others*. It's not that I change the width very often, and as I think you've already guessed, I don't do it on a regular basis. But maybe if I pass ^TD8 code to you, you would want to work with it in ^TD4. THIS is the ability of changing I wanted to refer to. > > + you need more keypressing to get through the indentation with > > the spaces, one keypress per space, while you only need one > > keypress per tab (which equals one indentation level), > > > Not true. You set up your editor settings to automatically do this for > you. Most editors have this capability. Not all editors have this ability. And especially under low level circumstances, e. g. editing with vi in SUM required in a maintenance phase, you'll be happy about every keystroke you can save. > On my editor (vim) it only > takes at most one keypress to indent. You still might use the tab key, > or even have the editor automatically format for you based on syntax. > Editors have done this for decades. Your objection is specious. I'd like to add that tab based indentation is independent from the functionalities of a specific editor. It's even handy for printing where the tab width can be set to a certain value. Okay, your counterargument could now be: "Who prints today anyway?" :-) Not every programmer uses vim, emacs or Eclipse. Some really like the "old fashioned" ways like joe. The tabbing approach allows them not to take the indentation spaces as what they are: space characters. > > + per indentation level only 1 byte is needed (tab = ASCII 9), while > > spacing requires more bytes, one per space (space = ASCII 32), > > > Are you telling me that in an age when most cheap user workstations have > hundreds of gigabytes of disk space, you need this kind of savings? > This is a *very* weak point. Maybe, but it *is* a point. :-) > > + while you can convert tabs into spaces, you cannot easily convert > > spaces back into tabs, and finally > > > Not true. It is extremely easy to convert both directions. The unix > 'expand' command converts one direction, and 'unexpand' goes the reverse > direction. These unix utilities have been around as long as 'cat' and 'ls'. Thanks for this advice, these seem to be really handy tools. It's worth mentioning that they will work only as ling as the "internal guidelines" for spacing / tabbing are followed, or else only rubbish will come out. > Moreover the whole point is moot anyway. There are lots of high quality > code formatters available. One called 'Artistic Style' is well known > and very capable. On a lot of projects these days, people get sick of > these kinds of arguments and just run all the code they receive through > a code formatter like astyle. It lets you set all kinds of options such > as brace placement, spacing between parameters, indentation method, and > so on. If asking people to change their editor settings doesn't work, > this thing fixes it up. On e you setup your reformatter correctly (as "according to the corporate guidelines"), this is a valid solution, yes. > > + even FreeBSD uses the tabbing style. > > > > > And therefore if I submit code for FreeBSD then I will use that format. > However I wouldn't recommend it for other projects where that decision > has not been established. According to your above argumentation, summarized as "it doesn't really matter how you indent, or even if you indent", this is an acceptable standpoint. Personally, I have the (maybe outdated) opinion that a programmer should not only care for his programs to be valid, correct, efficient, well structured, intended and documented, but also tidy and styled. What's to understand from these words can be very individual, I agree. > There are lots of cases where it's hard to make code line up the way you > want it with tabs. Often code that looks good with one tab length > setting (say 8) doesn't look so good with another (say 4). It gets > especially bad when there are a few space characters thrown in, which > people often do. Okay, I didn't think of this. Taking this argument into mind, spaces can be useful for parameter lists that don't fit into one line, but should line up after the opening (, e. g. foofunction(&data, "%d,%d,%d", doodle.x, doodle.y, doodle,z, foo, bar, pups, furz, "This is some stupid text.", doom[dee].quoggle); This wouldn't be easy to achieve with tabs, especially when their width may vary. Thank you for your arguments, I stand partially corrected. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From ertr1013 at student.uu.se Wed Apr 1 04:01:23 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Wed Apr 1 04:01:30 2009 Subject: going from cvs to svnq In-Reply-To: References: <49D27B25.80003@telenix.org> <49D2CEF9.9030304@telenix.org> Message-ID: <20090401110119.GA40976@owl.midgard.homeip.net> On Wed, Apr 01, 2009 at 07:05:53AM -0300, Andrew Hamilton-Wright wrote: > > [ snippage of question re: svn and cvs ] > > On Tue, 31 Mar 2009, Chuck Robey wrote: > > > Andrew Wright wrote: > >> > >> The primary advantage of using svn is that the _server_ uses a > >> different protocol to track objects. > > > > I think that's unclear, you can't mean that just having the protocol be > > different, that's not that much of a win. Having svn track extra things, like > > directories, that I'd think was a win. > > I chose the word protocol poorly. For "protocol" read "way of > doing things", or perhaps "algorithm". > > What I was trying to make clear is that the choice of tool between > cvs and svn is made based on server related criteria. > > > > > What I don't know is, I use cvsup all the time, but when I switch to svn, what > > does the "cvsup" job of tracking an archive (not tracking the sources, I mean > > the archive)? Does svn do it all itself? If so, I can find out how, I just > > want to know if that's how its done. If not, what's the general tool used to > > track the freebsd archive, so I can investigate it? > > If you are asking "what is the name of the subversion client, and how > can I use it?", then the answer is "svn" (which is also the executable > used for the server, a la cvs with the "pserver" option). Usage No, 'svnserve' is normally the executable running on the server. > instructions are available via: > http://subversion.tigris.org > > > If you are asking "what can I type to get a readonly copy of the > repo?", then according to the ROADMAP.txt at: > http://svn.freebsd.org/viewvc/base/ROADMAP.txt?view=markup > the answer appears to be: > svn co http://svn.freebsd.org/base/head No, that is not going to get you a copy of the subversion repository, but just a checked out copy of HEAD. There is no 'svn' command that will give you a copy of the whole repository. Personally I have found 'rsync' to be quite useful in replicating a subversion repository, but that of course requires the server to support it, which is probably not the case for the FreeBSD repo. I don't know if there currently is any supported method for ordinary users to get a copy of the whole FreeBSD subversion repository. I suspect there isn't. > > Strong Caveats: > o One of the peculiarities of subversion is that if you > leave off the "head" portion of the URL, you will get _all_ of > the nodes in the repository -- that is, the history at every point. > > o As I mentioned earlier, this will produce a newly checked out working > space that is incompatible with cvsup (or cvs in general). > > o ***Early Adopter Warning***: There has not been (as far as I know) a > general call for people to move to this type of repository access except > for committers -- therefore expect rough edges until a general announcement > is made. > > A. > -- Erik Trulsson ertr1013@student.uu.se From frank at shute.org.uk Wed Apr 1 04:07:00 2009 From: frank at shute.org.uk (Frank Shute) Date: Wed Apr 1 04:07:12 2009 Subject: too many video drivers In-Reply-To: References: Message-ID: <20090401110649.GA21757@melon.esperance-linux.co.uk> On Tue, Mar 31, 2009 at 03:08:14PM -0400, Tsu-Fan Cheng wrote: > > Hi, > I am rebuilding ports and realize that i have too many input/video > drivers for x-win installed. i know i need nv driver since my graphic > card is from nvidia, and i want to deinstall all others. but i am not > sure if its safe to do so, e.g. i am confused by "xf86-video-chips" > since i don't know what kind of "chip" that stands for. can someone > tell me which are basics and which are safe to remove? thanks!! > > TFC I've got an nvidia card and I've got these ticked: $ pkg_info | grep X | grep driver xf86-input-keyboard-1.3.2 X.Org keyboard input driver xf86-input-mouse-1.4.0_3 X.Org mouse input driver xf86-video-nv-2.1.12_2 X.Org nv display driver xf86-video-vesa-2.1.0 X.Org vesa display driver xorg-drivers-7.4 X.org drivers meta-port # cd /usr/ports/x11-drivers/xorg-drivers; make config to set them. (My ports are a bit out of date BTW). You don't need the vesa driver either. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From AHamiltonWright at MtA.ca Wed Apr 1 04:19:39 2009 From: AHamiltonWright at MtA.ca (Andrew Hamilton-Wright) Date: Wed Apr 1 04:19:46 2009 Subject: going from cvs to svnq In-Reply-To: References: <49D27B25.80003@telenix.org> <49D2CEF9.9030304@telenix.org> Message-ID: Sorry to follow-up my own note, but . . . On Wed, 1 Apr 2009, Andrew Wright wrote: [ further snippage of previous note ] > Strong Caveats: > o ***Early Adopter Warning***: There has not been (as far as I know) a > general call for people to move to this type of repository access except > for committers -- therefore expect rough edges until a general > announcement > is made. I would further urge you to read: http://svn.freebsd.org/viewvc/base/projects/GUIDELINES.txt?view=markup for an overview of the information used by the committers, and will further add: Even Stronger Caveat: o The "head" revision translates to something like "current" looking around in http://svn.freebsd.org/viewvc/base/ will show you that there are directories other than "head" from which branching is done. Some perusal of the svn manual and poking around in the repository may help you track "current", but there isn't anything in place yet to let you track "stable", for instance. A. From wojtek at wojtek.tensor.gdynia.pl Wed Apr 1 04:48:06 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Apr 1 04:48:13 2009 Subject: Xeon Quad with 9 GB RAM - only 4 GB detected In-Reply-To: <497fe93d0904010209k4274d35ds91506c14001c8796@mail.gmail.com> References: <497fe93d0903311454k2018dcafv899298f94d0385a4@mail.gmail.com> <497fe93d0904010209k4274d35ds91506c14001c8796@mail.gmail.com> Message-ID: > I have finished the installation and yes, the entire amount is detected. > > Is this normal behaveour (why does it happen?) i'm not sure if install kernel is actually /i386 version. From will.rutherdale at utoronto.ca Wed Apr 1 05:11:07 2009 From: will.rutherdale at utoronto.ca (William Gordon Rutherdale) Date: Wed Apr 1 05:11:14 2009 Subject: Why?? (prog question) In-Reply-To: <200904010839.n318dkuJ050633@lurza.secnetix.de> References: <200904010839.n318dkuJ050633@lurza.secnetix.de> Message-ID: <49D359D4.60103@utoronto.ca> Oliver Fromme wrote > Of course this is purely a matter of taste and personal > preference. My preference is similar to yours, but my > main reasoon is to save space. I think it is a ridiculous > waste of space if every third line consisted only of a > sole brace (opening or closing). To my eye, such lines > that are almost empty break the natural structure of a > piece of source code. I insert empty lines quite often > in order to group source lines logically, but brace lines > break that grouping visually. > > There is a very logical reason in C for wanting to put the opening brace of an 'if' statement on a separate line: preprocessor statements. Many editors, including vi / vim, and no doubt emacs, have a brace matching facility. If I put the cursor over a closing brace, say, and hit the % key, it puts me onto the matching opening brace. However in this scenario: int foo( int x ) { #ifdef SCENARIO_A if ( x<3 ) { #else if ( x<2 ) { #endif // . . . } // . . . } matching the closing brace of foo() will fail, as the number of braces no longer matches. Putting the opening brace of the 'if' on another line solves this problem. -Will From will.rutherdale at utoronto.ca Wed Apr 1 05:45:31 2009 From: will.rutherdale at utoronto.ca (William Gordon Rutherdale) Date: Wed Apr 1 05:45:38 2009 Subject: Why?? (prog question) In-Reply-To: <20090401123512.ec165676.freebsd@edvax.de> References: <20090331025726.GA10888@thought.org> <20090331112122.ae329221.freebsd@edvax.de> <49D202F0.9010104@utoronto.ca> <20090331140845.a1ece3c0.freebsd@edvax.de> <49D29EFF.4060104@utoronto.ca> <20090401123512.ec165676.freebsd@edvax.de> Message-ID: <49D361E8.3040305@utoronto.ca> Polytropon wrote: > Okay, now I understand what you mean. "Consistency" refers to > the usage of spacing / tabbing for a given project that is > adopted by several programmers. Yes, I agree with that: It's > a very bad idea to have many different styles within the same > project. > > . . . > > When I need to read / work with other's code, it's can develop > into problems. Natural habits like hitting the tab key are > very hard to change several times, for each project a different > rule. > . . . > > Not all editors have this ability. And especially under low level > circumstances, e. g. editing with vi in SUM required in a maintenance > phase, you'll be happy about every keystroke you can save. > > > Most of my work is in a setting where the development machine is different from the target machine. Usually on a development machine you have the luxury of setting up all the tools you want and configuring them however you want. If you spend more time editing on the fly on a target machine, then that creates a different scenario, similar to doing sysadmin work. I've made most of my main points, and I think we've got to where differences of opinion now rest mainly on taste, which in turn is often guided by what you're used to. Consequently it's not possible to get much further, especially with the "I like 4 spaces because I'm used to them" vs. "I like 8-level tabs because I'm used to them" argument. I find that as I move from project to project, indentation standards do change. I find that where people have the resources to fully configure their development machines, reasonably thoughtful people who have experience in both standards end up converging on spaces being better than tabs because they are neater. I also find that, given such a configuration choice, more people find 4-space indentation looks better on the screen than go with 2 or 8 or 3. Consequently I stick with '4 spaces for indentation' as my norm, and if I have to switch to something else for a given project because people are using that standard, then I will change my editor settings. > I'd like to add that tab based indentation is independent from > the functionalities of a specific editor. It's even handy for > printing where the tab width can be set to a certain value. > Okay, your counterargument could now be: "Who prints today > anyway?" :-) > > I'm more concerned with things like diff listings, where lines are preceded with: > which breaks the tab indentation because everything is pushed over by a space or two. > Personally, I have the (maybe outdated) opinion that a programmer should > not only care for his programs to be valid, correct, efficient, well > structured, intended and documented, but also tidy and styled. What's > to understand from these words can be very individual, I agree. > We agree on this point, which is why we're having this discussion. >> There are lots of cases where it's hard to make code line up the way you >> want it with tabs. Often code that looks good with one tab length >> setting (say 8) doesn't look so good with another (say 4). It gets >> especially bad when there are a few space characters thrown in, which >> people often do. >> > > Okay, I didn't think of this. Taking this argument into mind, spaces > can be useful for parameter lists that don't fit into one line, but > should line up after the opening (, e. g. > > foofunction(&data, "%d,%d,%d", doodle.x, doodle.y, doodle,z, > foo, bar, pups, furz, "This is some stupid text.", > doom[dee].quoggle); > > This wouldn't be easy to achieve with tabs, especially when their > width may vary. > > > Even an 'if' or 'while' statement that spans more than one line can have problems like this. Nice discussion. -Will From richard.delaurell at gmail.com Wed Apr 1 06:08:28 2009 From: richard.delaurell at gmail.com (Richard DeLaurell) Date: Wed Apr 1 06:08:36 2009 Subject: py24-gobject won't deinstall Message-ID: <4324dbec0904010541s788b84f6q7ba1a8699394490b@mail.gmail.com> Sorry if this is more appropriate for the newbie list, but that one seems to be inactive since 2005. I am trying to install py25-gobject from ports (/usr/ports/devel/py-gobject), but make complains that an older version (py24-gobject) is already installed. Deinstalling from that same directory returns a simple "Deinstalling for ..." and nothing else. And then "make reinstall/install" starts the cycle all over again. I tried pkg_delete to see what depends on py24-gobject and it's a hefty list; is deinstalling that entire list and then installing py25-gobject the only option for me? Thanks for any help. uname -a = FreeBSD bighouse 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sat May 31 18:57:16 CDT 2008 root@bighouse:/usr/obj/usr/src/sys/MYKERNEL7 i386 From freebsd at edvax.de Wed Apr 1 06:16:25 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Apr 1 06:16:34 2009 Subject: py24-gobject won't deinstall In-Reply-To: <4324dbec0904010541s788b84f6q7ba1a8699394490b@mail.gmail.com> References: <4324dbec0904010541s788b84f6q7ba1a8699394490b@mail.gmail.com> Message-ID: <20090401151617.463088b1.freebsd@edvax.de> On Wed, 1 Apr 2009 07:41:15 -0500, Richard DeLaurell wrote: > I tried pkg_delete to see what depends on py24-gobject and it's a hefty > list; is deinstalling that entire list and then installing py25-gobject the > only option for me? No, it would be possible to first # pkg_delete -f /var/db/pkg/py25-gobject* and then install the updated version. As long as the update doesn't break any library version numbering, and the functionalities from the previous versions are still intact, there won't be a problem. Finally, if you're using portupgrade, make sure to correct the dependencies: # pkgdb -aF But note that if this procedure fails, you will usually have to deinstall the depending software and then start allover again, this will lead you finally to updated programs, as well as an updated py25-gobject (as a dependency). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Apr 1 06:29:18 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Apr 1 06:29:25 2009 Subject: mod_php5 and apache22 In-Reply-To: <20090401143625.U95588@sola.nimnet.asn.au> References: <20090324212406.A42F4106567C@hub.freebsd.org> <200903302239.57635.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090401143625.U95588@sola.nimnet.asn.au> Message-ID: <200904011529.13480.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 01 April 2009 05:41:06 Ian Smith wrote: > On Mon, 30 Mar 2009, Mel Flynn wrote: > > On Wednesday 25 March 2009 05:36:26 Ian Smith wrote: > > > On Tue, 24 Mar 2009 16:46:16 +0100 Ruben de Groot wrote: > > > > On Tue, Mar 24, 2009 at 03:20:26PM +0100, Mel Flynn typed: > > > > > On Tuesday 24 March 2009 15:13:33 Christoph Kukulies wrote: > > > > > > I moved a site from some FreeBSD 5.2 or something (with apache2 > > > > > > and mod_php5 at that time, > > > > > > about 3 years old) to 7.1 (Beta though) and apache22. > > > > > > > > > > > > Now I don't find something that looks like mod_php5 in > > > > > > /usr/ports/www. > > > > > > > > > > > > Has that changed somehow? > > > > > > > > > > lang/php5 with APACHE_MODULE ticked in options dialog. > > > > > > > > The apache module compile is off by default since somewhere in 2006 > > > > and I keep forgetting that occasionally :( > > > > So people using pkg_add -r php5 will not get mod_php5. > > > > > > That's right, you haven't been able able to install mod_php5 from a > > > package for at least that long. I've never understood the rationale. > > > > APACHE_MODULE pulls in apache as dep, while CGI and CLI do not. There is > > not much difference in performance with the CGI version and mod_fcgid, > > the major difference with the module is the ease of site/directory > > specific configuration of php through php_value and php_flag directives. > > > > A slave port is easily created with one Makefile, as below. > > > > # New ports collection makefile for: php5-module > > # Date created: Jan 11 2009 > > # Whom: Mel Flynn > > > > # > > # $Coar: ports/local/php5-module/Makefile,v 1.2 2009/03/30 20:37:22 mel > > Exp $ # NOTE: we cannot use PKGNAMESUFFIX as that triggers extension > > build in # MASTERDIR/Makefile > > PORTNAME= php5-module > > MASTERDIR= ${.CURDIR}/../../lang/php5 > > CATEGORIES= local lang > > PKGORIGIN= local/php5-module > > PKGNAMEPREFIX= module- > > > > # Set some options, though the config dialog is still set. This build is > > # primarily for jails, where some php5 command line scripting is > > desired. # Jails can't use SUHOSIN > > WITHOUT_SUHOSIN=yes > > WITHOUT_CGI=yes > > WITHOUT_FASTCGI=yes > > WITHOUT_PATHINFO=yes > > WITH_APACHE=yes > > APACHE_PORT?=www/apache22 > > > > .include "${MASTERDIR}/Makefile" > > Mel, only two questions: > > 1) Does it need binding to apache22 specifically? No, I use apache22 and APACHE_PORT is set as ?=, so if set in env or /etc/make.conf will use your value. I just default to apache22. > 2) Can you please submit it? :) Not in this form, I use it locally and change at will which options I need. Provided here as example, that creating slave ports is not too hard ;) This is actually a pretty complicated slave port as far as slave ports go. I'll see what I can do, but it seems unlikely to me that this hasn't yet been requested on -ports and rejected. -- Mel From ayyappamhsp at yahoo.co.in Wed Apr 1 06:42:30 2009 From: ayyappamhsp at yahoo.co.in (ayyappa mhsp) Date: Wed Apr 1 07:10:57 2009 Subject: (no subject) Message-ID: <452876.47268.qm@web94814.mail.in2.yahoo.com> sir, ???? i am a beginner to freebsd and i want how to access a pendrive in freebsd so that i can copy the contents on that to some other destination. Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/ From ayyappamhsp at yahoo.co.in Wed Apr 1 06:42:47 2009 From: ayyappamhsp at yahoo.co.in (ayyappa mhsp) Date: Wed Apr 1 07:11:09 2009 Subject: (no subject) Message-ID: <666975.45188.qm@web94813.mail.in2.yahoo.com> sir, ???? i just want to know during the installation of bsd all the applications that are in packages are installed or simply added to some directories. I want to generate some tcp or some other packets on one system. Just tell me how to work with packages. Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ From nealhogan at gmail.com Wed Apr 1 07:16:33 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Wed Apr 1 07:16:40 2009 Subject: (no subject) In-Reply-To: <666975.45188.qm@web94813.mail.in2.yahoo.com> References: <666975.45188.qm@web94813.mail.in2.yahoo.com> Message-ID: On Wed, Apr 1, 2009 at 8:36 AM, ayyappa mhsp wrote: > sir, > i just want to know during the installation of bsd all the > applications that are in packages are installed or simply added to some > directories. > I want to generate some tcp or some other packets on one system. > Just tell me how to work with packages. http://www.freebsd.org/doc/en/books/handbook/ > > > > Add more friends to your messenger and enjoy! Go to > http://messenger.yahoo.com/invite/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- www.nealhogan.net www.lambdaserver.com From richard.delaurell at gmail.com Wed Apr 1 07:24:20 2009 From: richard.delaurell at gmail.com (Richard DeLaurell) Date: Wed Apr 1 07:24:27 2009 Subject: py24-gobject won't deinstall In-Reply-To: <20090401151617.463088b1.freebsd@edvax.de> References: <4324dbec0904010541s788b84f6q7ba1a8699394490b@mail.gmail.com> <20090401151617.463088b1.freebsd@edvax.de> Message-ID: <4324dbec0904010724x68999345o69ba52c3b6397ef8@mail.gmail.com> I reveal my ignorance: why does this work to delete the package # pkg_delete -f /var/db/pkg/py24-gobject* while 'pkg_delete py24-gobject*' did not? Would the latter have done the trick if issued from the /var/db/pkg directory itself? In any event your solution does seem to have worked. Thank you for helping. Have a good day-- Richard > > > and then install the updated version. As long as the update doesn't > break any library version numbering, and the functionalities from the > previous versions are still intact, there won't be a problem. > > Finally, if you're using portupgrade, make sure to correct the > dependencies: > > # pkgdb -aF > > But note that if this procedure fails, you will usually have to deinstall > the depending software and then start allover again, this will lead you > finally to updated programs, as well as an updated py25-gobject (as a > dependency). > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From redtick at sbcglobal.net Wed Apr 1 07:38:15 2009 From: redtick at sbcglobal.net (Mark Busby) Date: Wed Apr 1 07:38:49 2009 Subject: Mythtv-0.21 build error Message-ID: <789112.84013.qm@web81203.mail.mud.yahoo.com> --- On Tue, 3/31/09, Mark Busby wrote: > From: Mark Busby > Subject: Re: Mythtv-0.21 build error > To: "help help" > Date: Tuesday, March 31, 2009, 5:42 PM > After doing make clean, and restarting the build of > mythtv-0.21 port. > > This is the error on make install > snip snip > ../../../../../../../local/include/libavcodec/avcodec.h:2363: > warning: 'ImgReSampleContext' is deprecated > (declared at > ../../../../../../../local/include/libavcodec/avcodec.h:2347) > audiooutputbase.cpp: In member function 'virtual void > AudioOutputBase::Reconfigure(int, int, int, bool, > void*)': > audiooutputbase.cpp:360: error: 'codec_id_string' > was not declared in this scope > gmake[2]: *** [audiooutputbase.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmyth' > gmake[1]: *** [sub-libmyth] Error 2 > gmake[1]: Leaving directory > `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs' > gmake: *** [sub-libs] Error 2 > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv. > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv. I was able to build and install Mythtv-0.21 after I did make clean in /usr/ports, then cvsup ports. (undoing a couple of portsnap updates) Thanks From olli at lurza.secnetix.de Wed Apr 1 07:44:04 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Wed Apr 1 07:44:10 2009 Subject: Xeon Quad with 9 GB RAM - only 4 GB detected In-Reply-To: Message-ID: <200904011443.n31EhS2c065363@lurza.secnetix.de> Wojciech Puchar <> wrote: > > I have finished the installation and yes, the entire amount is detected. > > > > Is this normal behaveour (why does it happen?) > > i'm not sure if install kernel is actually /i386 version. It must be an amd64 kernel, otherwise it would not be usable for "fixit" things. Also, I don't see any specific exceptions concerning kernels for amd64 in the release build scripts (/usr/src/release). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "When your hammer is C++, everything begins to look like a thumb." -- Steve Haflich, in comp.lang.c++ From nealhogan at gmail.com Wed Apr 1 07:54:24 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Wed Apr 1 07:54:31 2009 Subject: FreeBSD 7 and 2 monitors In-Reply-To: References: <85d001330903310936v733719c0m379a76e7dc63e06c@mail.gmail.com> Message-ID: On Tue, Mar 31, 2009 at 6:56 PM, User Wblock wrote: > On Tue, 31 Mar 2009, M. Vale wrote: > > Hi, I have 2 monitors (20" Asus) with a Radeon X1600/X1650 PRO configure >> with xrand and everything works ok. >> >> The resolution I'm using right now is 3360x1050. >> >> Now I've a brand new Asus 24 (MK241H), and I can use this monitor with >> the >> other asus. >> >> My configuration now is 1 monitor 24" Asus and another one 20", but xrand >> cant use this to make one desktop :( >> > > Please post specifics. > > Do you have any solutions or recomendations in how to put this 2 monitors >> working. >> > > Use xorg.conf instead of xrandr? > > Curious . . . Are there are any benefits to using just the xorg.conf, besides the dual head set-up being initiated automatically when X starts? What happens, for example, when one of your monitors is a laptop's monitor and you start X without connected to the other monitor (say, I'm at Starbuck's)? Thanks! > > > one monitor max resolution is 1920 x 1200 (24) and the other Asus 1680 x >> 1050 (20). >> > > I have a 1920x1200 and 1024x768 dual monitors with an X1650 right here. > Here's the xorg.conf: > > Section "ServerLayout" > Identifier "X.org Configured" > Screen 0 "Screen0" 0 0 > Option "Blank Time" "0" > Option "Standby Time" "0" > Option "Suspend Time" "0" > Option "Off Time" "0" > EndSection > > Section "Files" > ModulePath "/usr/local/lib/xorg/modules" > FontPath "/usr/local/lib/X11/fonts/misc/" > FontPath "/usr/local/lib/X11/fonts/TTF/" > FontPath "/usr/local/lib/X11/fonts/OTF" > FontPath "/usr/local/lib/X11/fonts/Type1/" > FontPath "/usr/local/lib/X11/fonts/100dpi/" > FontPath "/usr/local/lib/X11/fonts/75dpi/" > FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" > EndSection > > Section "DRI" > Group 0 > Mode 0660 > EndSection > > Section "Monitor" > Identifier "Monitor0" > VendorName "HWP" > ModelName "2615" > Option "PreferredMode" "1920x1200" > Option "Position" "1024 0" > Option "DPMS" > EndSection > > Section "Monitor" > Identifier "Monitor1" > VendorName "PHL" > ModelName "Philips 150B3" > Option "PreferredMode" "1024x768" > Option "Position" "0 0" > EndSection > > Section "Device" > ### Available Driver options are:- > ### Values: : integer, : float, : "True"/"False", > ### : "String", : " Hz/kHz/MHz" > ### [arg]: arg optional > #Option "NoAccel" # [] > #Option "SWcursor" # [] > #Option "Dac6Bit" # [] > #Option "Dac8Bit" # [] > #Option "BusType" # [] > #Option "CPPIOMode" # [] > #Option "CPusecTimeout" # > #Option "AGPMode" # > #Option "AGPFastWrite" # [] > #Option "AGPSize" # > #Option "GARTSize" # > #Option "RingSize" # > #Option "BufferSize" # > #Option "EnableDepthMoves" # [] > #Option "EnablePageFlip" # [] > #Option "NoBackBuffer" # [] > #Option "DMAForXv" # [] > #Option "FBTexPercent" # > #Option "DepthBits" # > #Option "PCIAPERSize" # > #Option "AccelDFS" # [] > #Option "DDCMode" # [] > #Option "IgnoreEDID" # [] > #Option "DisplayPriority" # [] > #Option "PanelSize" # [] > #Option "ForceMinDotClock" # > #Option "ColorTiling" # [] > #Option "VideoKey" # > #Option "RageTheatreCrystal" # > #Option "RageTheatreTunerPort" # > #Option "RageTheatreCompositePort" # > #Option "RageTheatreSVideoPort" # > #Option "TunerType" # > #Option "RageTheatreMicrocPath" # > #Option "RageTheatreMicrocType" # > #Option "ScalerWidth" # > #Option "RenderAccel" # [] > #Option "SubPixelOrder" # [] > #Option "ShowCache" # [] > #Option "DynamicClocks" # [] > #Option "VGAAccess" # [] > #Option "ReverseDDC" # [] > #Option "LVDSProbePLL" # [] > #Option "AccelMethod" # > #Option "DRI" # [] > #Option "ConnectorTable" # > #Option "DefaultConnectorTable" # [] > #Option "DefaultTMDSPLL" # [] > #Option "TVDACLoadDetect" # [] > #Option "ForceTVOut" # [] > #Option "TVStandard" # > #Option "IgnoreLidStatus" # [] > #Option "DefaultTVDACAdj" # [] > #Option "Int10" # [] > Identifier "Card0" > Driver "radeon" > VendorName "ATI Technologies Inc" > BoardName "Radeon X1650 Pro" > BusID "PCI:1:0:0" > Option "AccelMethod" "EXA" > #Option "EXAVSync" "On" > # WB: prevent flickering pointer > Option "SWcursor" "True" > Option "Monitor-DVI-0" "Monitor0" > Option "Monitor-DVI-1" "Monitor1" > EndSection > > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > SubSection "Display" > Virtual 2944 1200 > EndSubSection > EndSection > > -Warren Block * Rapid City, South Dakota USA > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- www.nealhogan.net www.lambdaserver.com From claudiu.vasadi at gmail.com Wed Apr 1 08:22:44 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Wed Apr 1 08:22:52 2009 Subject: py24-gobject won't deinstall In-Reply-To: <4324dbec0904010807k6ec05342k8768a5e13c17c09d@mail.gmail.com> References: <4324dbec0904010541s788b84f6q7ba1a8699394490b@mail.gmail.com> <20090401151617.463088b1.freebsd@edvax.de> <4324dbec0904010724x68999345o69ba52c3b6397ef8@mail.gmail.com> <4324dbec0904010807k6ec05342k8768a5e13c17c09d@mail.gmail.com> Message-ID: > Perhaps my installation is incomplete? perhaps "man [whatever]" would work better? or maybe http://freebsd.org/cgi/man.cgi ? :) or maybe even google :) From ohartman at zedat.fu-berlin.de Wed Apr 1 09:09:18 2009 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Wed Apr 1 09:09:25 2009 Subject: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools? Message-ID: <49D39153.4020707@zedat.fu-berlin.de> Hello. I run into a problem I can not solve. I need to fetch a whole directory tree from a public remote site. The top level directory and its subdirectories are accessible via ftp:// and http:// so I tried fetch, but fetch does only retrieve data on file basis and does not copy a whole directory tree recursively. The remote site does not offer sftp/sshd for that purpose. Is there a simple way to perform such a task with FreeBSD's own tools (I try to avoid installing 'wget' and sibblings)? I need to keep it simple, task should be performed via cronjob. Please eMail me. Thanks in advance, Oliver From cjk32 at cam.ac.uk Wed Apr 1 09:14:31 2009 From: cjk32 at cam.ac.uk (Christopher Key) Date: Wed Apr 1 09:14:38 2009 Subject: RR2314 Problems Message-ID: <49D392E3.5050200@cam.ac.uk> Hello, I'm trying to get a HighPoint RocketRAID 2314 card working under FreeBSD and am having problems. > #uname -a > FreeBSD chacal.wzl33 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #3: Wed Apr 1 15:00:07 BST 2009 root@chacal.wzl33:/usr/obj/usr/src/sys/CHACAL amd64 I've compiled the kernel with: > device htprr > device scbus > device da The card is detected at startup: > hptrr0: port 0x2000-0x20ff mem 0x90200000-0x902fffff irq 16 at device 0.0 on pci1 > hptrr: adapter at PCI 1:0:0, IRQ 16 but it fails to successfully detect any drives. The card can clearly see the presence of drives, as later on during startup (noting that I've a drive connected to channel 3), I see: > hptrr: start channel [0,0] > hptrr: start channel [0,1] > hptrr: start channel [0,2] > hptrr: start channel [0,3] > hptrr: [0 3] Start channel soft reset. > hptrr: [0 3] Failed to perform channel soft reset. > hptrr: [0 0] Failed to perform channel hard reset. > hptrr: [0 1] Failed to perform channel hard reset. > hptrr: [0 2] Failed to perform channel hard reset. > hptrr0: [GIANT-LOCKED] > hptrr0: [ITHREAD] and moreover, whenever I power cycle the external drive, I get: > hptrr: start channel [0,3] > hptrr: [0 3] Start channel soft reset. > hptrr: [0 3] Failed to perform channel soft reset. However, no drives show up. I've also tried the driver supplied by HighPoint (with a kernel without device hptrr), but it fails to detect the card: > rr2310_00: RocketRAID 231x/230x controller driver v2.1.08.0325 (Mar 25 2008 14:08:14) > rr2310_00: no controller detected. Can anyone offer any pointers on where the problem might lie, or how I should go about debugging this. I've tried several drives in two different cases (both same brand though) with no success. The cases do have an option to connect via USB too, and this works just fine. Kind Regards, Chris Key From vince at unsane.co.uk Wed Apr 1 09:32:57 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Wed Apr 1 09:33:04 2009 Subject: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools? In-Reply-To: <49D39153.4020707@zedat.fu-berlin.de> References: <49D39153.4020707@zedat.fu-berlin.de> Message-ID: <49D39735.6050204@unsane.co.uk> On 1/4/09 17:07, O. Hartmann wrote: > Hello. > > I run into a problem I can not solve. I need to fetch a whole > directory tree from a public remote site. The top level directory and > its subdirectories are accessible via ftp:// and http:// so I tried > fetch, but fetch does only retrieve data on file basis and does not > copy a whole directory tree recursively. The remote site does not > offer sftp/sshd for that purpose. > > Is there a simple way to perform such a task with FreeBSD's own tools > (I try to avoid installing 'wget' and sibblings)? I need to keep it > simple, task should be performed via cronjob. > > Please eMail me. > Without writing a script to parse the output of fetch I dont think its possible (fetch the index via http, parse for dirs, decend into dir, rinse and repeat.) Looking at http://www.freebsd.org/doc/en/articles/hubs/mirror-howto.html which I would expect to suggest FreeBSDs own tools, suggests various ports to use. Vince > Thanks in advance, > > Oliver > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From cjk32 at cam.ac.uk Wed Apr 1 09:33:59 2009 From: cjk32 at cam.ac.uk (Christopher Key) Date: Wed Apr 1 09:34:07 2009 Subject: RR2314 Problems In-Reply-To: <49D392E3.5050200@cam.ac.uk> References: <49D392E3.5050200@cam.ac.uk> Message-ID: <49D39773.6040106@cam.ac.uk> Christopher Key wrote: > > I've compiled the kernel with: > >> device htprr >> device scbus >> device da >> Sorry, meant 'hptrr'. It is correct in my kernel configuration file. From olli at lurza.secnetix.de Wed Apr 1 10:03:25 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Wed Apr 1 10:03:33 2009 Subject: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools? In-Reply-To: <49D39153.4020707@zedat.fu-berlin.de> Message-ID: <200904011702.n31H2xZI071651@lurza.secnetix.de> O. Hartmann wrote: > I run into a problem I can not solve. I need to fetch a whole directory > tree from a public remote site. The top level directory and its > subdirectories are accessible via ftp:// and http:// so I tried fetch, > but fetch does only retrieve data on file basis and does not copy a > whole directory tree recursively. The remote site does not offer > sftp/sshd for that purpose. > > Is there a simple way to perform such a task with FreeBSD's own tools (I > try to avoid installing 'wget' and sibblings)? I need to keep it simple, > task should be performed via cronjob. I'm afraid you can't do that with FreeBSD base tools. An alternative to wget would be "omi" (ports/ftp/omi) which is a simple FTP mirroring tool, written in C without any dependencies. Usage is simple: $ omi -s server.name.com -r /remote/dir -l ./local/dir Note that, by default, it tries to synchronize the local dir perfectly, i.e. if the remote dir is empty, it will wipe out the local dir. (The option "-P 0" will prevent omi from removing anything.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "That's what I love about GUIs: They make simple tasks easier, and complex tasks impossible." -- John William Chambless From cwhiteh at onetel.com Wed Apr 1 10:14:42 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Wed Apr 1 10:14:52 2009 Subject: Energy use (was installing freebsd on windows) In-Reply-To: References: <49C98507.6040905@gwi.net> <20090325034317.160b149d.freebsd@edvax.de> <49C99E1C.9090303@gwi.net> <20090325041118.5c99710a.freebsd@edvax.de> <49C9A572.3070006@gwi.net> <20090325045911.56efaff6.freebsd@edvax.de> <49CC1230.8060005@onetel.com> Message-ID: <49D0015F.1010607@onetel.com> Wojciech Puchar wrote: >> It's certainly not slow and messy here. I installed PCBSD a couple of >> months ago after a few years of rolling my own desktop and I love it. >> On reasonable spec hardware it runs very well, the developers have >> done an excellent job > > of course. windows vista runs well too on overmuscled hardware. > > Just i don't understand the idea of wasting the power of good hardware > just to waste. Ok this is getting a bit OT but I would like to say it as I think it is something that we should be having a lot of discussion about. There is a further reason for using PCBSD which is energy consumption. My computer used to run for hours even days upgrading the base system and my desktop ports. Now it's all done once (well more than once for testing but you get the point I hope). And fairly new hardware can be more energy efficient than quite old hardware. There is of course freebsd-update which sounds great though I haven't used it, and pkg_add, but I generally found upgrading ports (with portmanager - my plug) gave better results. Chris > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From lavalamp at spiritual-machines.org Wed Apr 1 11:07:34 2009 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed Apr 1 11:07:42 2009 Subject: ubsec(4) and geli(4) Benchmarks (WAS: Re: freebsd encrypted hard disk? (fwd)) Message-ID: All: Has anyone bench-marked the performance improvements associated with various ubsec models in conjunction with OpenSSL cryptodev acceleration of geli(4) in the kernel? I have a sneaking suspicion that I'm a pilgrim on unholy land here. I'm precluding hifn(4), padlock(4), and gblx(4), which are nice for offsetting low power CPUs on embedded platforms, from my question, and assuming that the only supported SSL accelerator that will actually 'compliment', as oppose to 'hinder' a multi-core Xeon system, when offloaded, is ubsec(4)? Thoughts? ~BAS ---------- Forwarded message ---------- Date: Thu, 15 Jan 2009 18:33:30 +0100 (CET) From: Wojciech Puchar To: Roland Smith Cc: RW , freebsd-questions@freebsd.org Subject: Re: freebsd encrypted hard disk? > > It turns out that on a multi-core machine a geli thread is started on > each core for each disk (4 cores, two disks): and it is actually used when many transfers are done in parallel. my core2duo saturates (both cores 100% load) at about 100MB/s disk I/O _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From bsd at todoo.biz Wed Apr 1 11:37:41 2009 From: bsd at todoo.biz (bsd) Date: Wed Apr 1 11:37:50 2009 Subject: Proxy to filter peer to peer connexion on port 80 Message-ID: <3A8580C9-EFD0-4778-93A1-245E2808D89D@todoo.biz> Hello folks, I am looking for a good and simple proxy that will allow me to filter peer to peer on my FBSD box - knowing that I have a firewall that already does the job of filtering outside connexions, but people are still using port 80 to download using P2P software. As we have a very limited bandwidth - 512Kbps - and as the resources are very expensive - 5K$ / month - yes this is possible It is actually in Angola ! So considering these figures I would like to install a proxy to filter all port 80 requests. As I haven't been worknig with proxy since many years, I would like to follow good advice. The last memories I had regarding proxy was using Squid // I don't know if this is a good choice ?? Any pointer or how to will be welcome. ???????????????????????????????????????????????? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ???????????????????????????????????????????????? P "Please consider your environmental responsibility before printing this e-mail" From kayvey at gmail.com Wed Apr 1 11:48:22 2009 From: kayvey at gmail.com (Kayven Riese) Date: Wed Apr 1 11:48:29 2009 Subject: make installkernel NDIS disaster In-Reply-To: <28b9b4180904010738r2319ed28ib6c8361ee5c22151@mail.gmail.com> References: <28b9b4180904010738r2319ed28ib6c8361ee5c22151@mail.gmail.com> Message-ID: <28b9b4180904011148w61b6026fn1ba1a88c742ae742@mail.gmail.com> 2009/4/1 Kayven Riese > > I was trying to get my DVD burner working on FreeBSD 7.0 and I followed > some advice about > installing a kernel and for some reason I got some NDIS errors. I don't > know why NDIS reared its > apparently ugly head, but it caused a terrible error. I was able to > make buildkernel .. well.. actually > I guess I wasn't. I think the attached file, "makesplat.log" which is a > typescript of the make buildkernel > command and should have at least one pwd in it, should show what happened. > > > I booted up and strange antimultitasking things happened. One application > at a time commandiered the > window manager or something. I lost the Gnome "Applications Places System" > window and it got > replaced with whatever app's menu system was "File .." I tried make > installkernel which I guess was > stupid because the other make failed. "makeinstallkernel.log" is a > typescript similar to "makesplat.log" > but of a make installkernel KERNCONF=KAYVE_KERN (my kernel file) > > Hence, I popped in my old "clunky" hard disk with 60 GB but reliably runs > FreeBSD. Here is a bunch > of pictures of that operation in case it is not completely clear: > > http://www.monkeyview.net/id/965/fsck/swap/index.vhtml > > I am running this disk now so I can mount the othere data. This 60 GB disk > runs > > # uname -a > FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC > 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 > # > > I had been trying to follow these directions: > > gheist : > You have to install SCSI over ATAPI driver. GENERIC kernel does not have > one. Only burncd in base system can use acd driver for burning CD/DVD, > others do use SCSI cd driver > > Create a file with following content in /usr/src/sys/i386/conf: > > include GENERIC > > ident KAYVEY > nocpu I486_CPU > nocpu I586_CPU > > options SMP > device atapicam > nodevice acd > > -- > Then run config NEW_FILE > > Go into kernel build directory run > make cleandepend ; make depend ; make && make install > > The new kernel will let you use cd0 device. > acd0 is gone for good - update /etc/fstab accordingly. > > > Here is a bit of makesplat for that failure (I think this is the end of > "makesplat.log") > > > nstall -o root -g wheel -m 555 if_lagg.ko /boot/kernel > install -o root -g wheel -m 555 if_lagg.ko.symbols /boot/kernel > ===> if_ndis (install) > install -o root -g wheel -m 555 if_ndis.ko /boot/kernel > install: if_ndis.ko: No such file or directory > *** Error code 71 > > Stop in /usr/src/sys/modules/if_ndis. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/KAYVE_KERN. > KV_BSD# exit > > Script done, output file is makesplat.log > KV_BSD# > > .configure_done.scid._usr_local scid-3.6.1 > KV_BSD# uname -a > FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC > 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > KV_BSD# > > This information from when I was booting up on the other disk should be > useful: > > KAYVE_KERN: 9 lines, 102 characters. > KV_BSD# pwd > /usr/src/sys/i386/conf > KV_BSD# cate KAYVE_KERN > zsh: command not found: cate > KV_BSD# cat KAYVE_KERN > include GENERIC > > ident KAYVEY > nocpu I486_CPU > nocpu I586_CPU > > options SMP > device atapicam > nodevice acd > KV_BSD# > > > I guess this happened later: > > ACPI FAILURE AGAIN!!! > > n.o acpi_isab.o acpi_package.o acpi_pci.o acpi_pcib.o acpi_pcib_acpi.o > acpi_pcib_pci.o acpi_powerres.o acpi_quirk.o acpi_resource.o acpi_timer.o > acpi_pci_link.o acpi_thermal.o acpi_acad.o acpi_battery.o acpi_cmbat.o > acpi_cpu.o acpi_ec.o acpi_hpet.o acpi_lid.o acpi_perf.o acpi_smbat.o > acpi_throttle.o OsdDebug.o OsdHardware.o OsdInterrupt.o OsdMemory.o > OsdSchedule.o OsdStream.o OsdSynch.o OsdTable.o OsdEnvironment.o > acpi_machdep.o acpi_wakeup.o madt.o assym.o > assym.o: file not recognized: File format not recognized > *** Error code 1 > > Stop in /usr/src/sys/modules/acpi/acpi. > *** Error code 1 > > Stop in /usr/src/sys/modules/acpi. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/KAYVE_KERN. > KV_BSD# > > Oh jeez. I was trying to get the kernel config file I made.. but I am not > sure what is happening now > > > # ls /mnt/nexstar/src/sys > ls: /mnt/nexstar/src/sys: Device not configured > # > > I mounted the disk that I want to boot on on "/mnt/nexstar" actually that > is the /usr directory of the other > disk (how confusing) I am really confused right now about the filesystem. > > Oh well. I hope that's enough information for now. Sorry.{:( > # ls /mnt > drive nexstar nexusr pix root tmp usr var vista > xcraft > # ls /mnt/nexstar > .snap games libdata obj src > X11R6 home libexec ports > bin include local sbin > compat lib lost+found share > # ls /mnt/nexstar/src > COPYRIGHT include > LOCKS kerberos5 > MAINTAINERS lib > Makefile libexec > Makefile.inc1 makeinstallkernel.log > ObsoleteFiles.inc makesplat.log > README patch_ndisusb_20080724.diff > UPDATING release > bin rescue > cddl sbin > compat secure > contrib share > crypto sys > etc tools > games usr.bin > gnu usr.sbin > # ls /mnt/nexstar/src/sys > ls: /mnt/nexstar/src/sys: Device not configured > # ls /mnt/usr > # > > > > > > *----------------------------------------------------------* > Kayven Riese, BSCS, > MS (Physiology and Biophysics) > (415) 902 5513 cellular > http://kayve.net > Webmaster http://ChessYoga.org > *----------------------------------------------------------* > > > > -- *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* From chowse at charter.net Wed Apr 1 12:59:07 2009 From: chowse at charter.net (Charles Howse) Date: Wed Apr 1 12:59:17 2009 Subject: WinPopUp type messages from FreeBSD to Mac OS X Message-ID: Hi, Anyone know of a command-line program that will pop-up a window on my Mac with a message from FreeBSD? If you ever used earlier versions of Windows, there was 'net send' ('course, that was Windows to Windows). I'd like to find something that I can script to send a lan IM, for example: "Filesystem /var is full!" Getting an IM lets me respond quicker than waiting to read the next morning's email. -- Thanks, Charles Reasons it's great to be a guy... You don't have to shave below your neck. From terry at bluelight.org.uk Wed Apr 1 13:15:44 2009 From: terry at bluelight.org.uk (Terry) Date: Wed Apr 1 13:15:53 2009 Subject: WinPopUp type messages from FreeBSD to Mac OS X In-Reply-To: References: Message-ID: <49D3CB78.1050206@bluelight.org.uk> Charles Howse wrote: > Hi, > Anyone know of a command-line program that will pop-up a window on my > Mac with a message from FreeBSD? > If you ever used earlier versions of Windows, there was 'net send' > ('course, that was Windows to Windows). > > I'd like to find something that I can script to send a lan IM, for > example: "Filesystem /var is full!" > > Getting an IM lets me respond quicker than waiting to read the next > morning's email. > > > -- > Thanks, > Charles > > Reasons it's great to be a guy... > You don't have to shave below your neck. > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.238 / Virus Database: 270.11.35/2034 - Release Date: 04/01/09 06:06:00 > > smbclient -M If I recall From chowse at charter.net Wed Apr 1 13:40:26 2009 From: chowse at charter.net (Charles Howse) Date: Wed Apr 1 13:40:32 2009 Subject: WinPopUp type messages from FreeBSD to Mac OS X In-Reply-To: <49D3CB78.1050206@bluelight.org.uk> References: <49D3CB78.1050206@bluelight.org.uk> Message-ID: <20E718D1-6161-41CB-ABC1-A41EED0A83D8@charter.net> On Apr 1, 2009, at 3:15 PM, Terry wrote: > Charles Howse wrote: >> Hi, >> Anyone know of a command-line program that will pop-up a window on >> my Mac with a message from FreeBSD? >> If you ever used earlier versions of Windows, there was 'net >> send' ('course, that was Windows to Windows). > smbclient -M If I recall I assume that Samba needs to be installed and running on sending and receiving computers for that to work? Just tried it from the Mac to FreeBSD, and it returned "connection to failed." From freebsd at edvax.de Wed Apr 1 13:41:23 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Apr 1 13:41:31 2009 Subject: py24-gobject won't deinstall In-Reply-To: <4324dbec0904010724x68999345o69ba52c3b6397ef8@mail.gmail.com> References: <4324dbec0904010541s788b84f6q7ba1a8699394490b@mail.gmail.com> <20090401151617.463088b1.freebsd@edvax.de> <4324dbec0904010724x68999345o69ba52c3b6397ef8@mail.gmail.com> Message-ID: <20090401224120.95200698.freebsd@edvax.de> On Wed, 1 Apr 2009 09:24:18 -0500, Richard DeLaurell wrote: > I reveal my ignorance: why does this work to delete the package > > # pkg_delete -f /var/db/pkg/py24-gobject* > > > while 'pkg_delete py24-gobject*' did not? Use the -f, Luke. The force! Use the force! :-) > Would the latter have done the trick if issued from the /var/db/pkg > directory itself? If you delete a package with -f that is required by another package, you BREAK this package. That's okay only if you're going to install the needed dependency right afterwards (by pkg_add or make). > In any event your solution does seem to have worked. It is intended to work. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From chuckr at telenix.org Wed Apr 1 14:05:51 2009 From: chuckr at telenix.org (Chuck Robey) Date: Wed Apr 1 14:05:58 2009 Subject: going from cvs to svnq In-Reply-To: References: <49D27B25.80003@telenix.org> <49D2CEF9.9030304@telenix.org> Message-ID: <49D3D749.6000009@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrew Hamilton-Wright wrote: > > Sorry to follow-up my own note, but . . . > > On Wed, 1 Apr 2009, Andrew Wright wrote: > > [ further snippage of previous note ] > >> Strong Caveats: > >> o ***Early Adopter Warning***: There has not been (as far as I know) a >> general call for people to move to this type of repository access >> except >> for committers -- therefore expect rough edges until a general >> announcement >> is made. > > I would further urge you to read: > http://svn.freebsd.org/viewvc/base/projects/GUIDELINES.txt?view=markup > for an overview of the information used by the committers, and will > further add: > > Even Stronger Caveat: > > o The "head" revision translates to something like "current" looking > around in > http://svn.freebsd.org/viewvc/base/ > will show you that there are directories other than "head" from > which branching is done. Some perusal of the svn manual and poking > around in the repository may help you track "current", but there > isn't anything in place yet to let you track "stable", for instance. I appreciate the URLs, but I think you're misinterpreting what I was asking. First, your comment about "isn't anything in place yet to let you track "stable",", That's not true. You could do this in cvsup, but seeing as I always cvsup the complete FreeBSD cvs archive, I would just do a checkout from my present archive using the stable branch I was interested. Do a "cvs status -v" of /usr/src/Makefile to get a complete listing of the names and numbers for all of the tags and branches you can checkout. In cvs, such things are sticky, so following a particular branch is no trick at all. Of course, clearing sticky tags/dates/branches that you set is equally easy to do. I can't figure out why you were telling me that stuff about HEAD and other branches. I think you my be wrong is what I *think* you said, you can branch any directory you want, at all. You can even branch a branch. Branches go against files, and cvs is rather stupid about directories. That's actually one of the things I like about svn, it knows about directories. I just need to know how to go about grabbing & updating FreeBSD's entire subversion archive. Once I grab that archive, I can play at my will, affecting no one else, I think (like cvs). What I was really after was a way to fetch the FreeBSD subversion archive. I already have a correct cvs-supfile to use with cvsup, to allow me to do daily updates of my cvs archive. If I found out how to get the subversion one instead, I guess I would stop tracking the cvs archive. I don't know if I'd use something like cvs2svn to convert my present archive, or just fetch the new archive from scratch, I need to see what's the recommended way to go. But I do need to figure out how to get the subversion archive (not a particular branch of the archive, the whole kit and kaboodle). > > A. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknT10kACgkQz62J6PPcoOk85wCeKG4Izziyrte7N+8jcfKGAkz0 6E8Amwae3pq9cv+Gn71ua1q4HCJ+jDLp =Gp0/ -----END PGP SIGNATURE----- From andrnils at gmail.com Wed Apr 1 14:52:21 2009 From: andrnils at gmail.com (Andreas Nilsson) Date: Wed Apr 1 14:52:28 2009 Subject: Sysinstall with install.cfg Message-ID: Hello, I've been tasked with building a modified FreeBSD release, which among other things should have a scripted sysinstall. However when I try to use a basic one I get an error saying something like: "No such device /dev/da0s1b", but in the debug output I see that it was created. The install.cfg I'm using is: debug=yes ################################ # Which installation device to use mediaSetCDROM ################################ ################################ # Select which distributions we want. #dists= #distSetCustom distSetDeveloper ################################ ################################ # Now set the parameters for the partition editor on da0. disk=da0 partition=all bootManager=none diskPartitionEditor diskPartitionWrite ################################ da0s1-1=ufs 62914569 / da0s1-2=swap 16777216 none da0s1-4=ufs 0 /usr diskLabelEditor installCommit What am I missing? Best regards Andreas Nilsson From simon.griffiths at tenenbaum.co.uk Wed Apr 1 14:56:19 2009 From: simon.griffiths at tenenbaum.co.uk (Simon Griffiths) Date: Wed Apr 1 14:56:26 2009 Subject: Build/Install world via ssh Message-ID: <000f01c9b312$3d148cf0$b73da6d0$@griffiths@tenenbaum.co.uk> Hello, I tried to get an answer to this via web searches etc. I have a freebsd 7 box that I plan on upgrading remotely via Make buildworld Make buildkernel KERNCONF=xyz Now im stuck, I cannot get it down to single user because I only have access via ssh. Would it hurt to Make installkernel KERNCONF=xyz Make installworld Mergemaster etc. Reboot ? TIA, Simon From lists at jnielsen.net Wed Apr 1 15:10:26 2009 From: lists at jnielsen.net (John Nielsen) Date: Wed Apr 1 15:10:32 2009 Subject: Build/Install world via ssh In-Reply-To: <000f01c9b312$3d148cf0$b73da6d0$@griffiths@tenenbaum.co.uk> References: <000f01c9b312$3d148cf0$b73da6d0$@griffiths@tenenbaum.co.uk> Message-ID: <200904011810.23618.lists@jnielsen.net> On Wednesday 01 April 2009 05:38:47 pm Simon Griffiths wrote: > Hello, > > I tried to get an answer to this via web searches etc. I have a > freebsd 7 box that I plan on upgrading remotely via > > Make buildworld > Make buildkernel KERNCONF=xyz > > Now im stuck, I cannot get it down to single user because I only have > access via ssh. Would it hurt to > > Make installkernel KERNCONF=xyz > Make installworld > > Mergemaster etc. > > Reboot What specific versions are you upgrading to/from? I personally do upgrades over SSH all the time (by skipping the single-user step) but there are reasons it's not recommended. If your new kernel doesn't work or play nicely for some reason you don't want to be stuck with a world newer than your (reinstalled) old kernel. If the system doesn't come back up multi-user for any of a variety of reasons then you won't have SSH access, etc. You should have good backups and a way to get console access if it's needed. That said, it usually works--especially for small incremental upgrades (7.0 to 7.1 or just different points along the same -STABLE branch, etc). So in a nutshell there are no guarantees but if you have an adequate bailout plan it can be a timesaver. JN From apseudoutopia at gmail.com Wed Apr 1 15:11:30 2009 From: apseudoutopia at gmail.com (APseudoUtopia) Date: Wed Apr 1 15:11:39 2009 Subject: Build/Install world via ssh In-Reply-To: <-5198216522636876279@unknownmsgid> References: <-5198216522636876279@unknownmsgid> Message-ID: <27ade5280904011511i40c70923q2041001f349a1d7e@mail.gmail.com> On Wed, Apr 1, 2009 at 5:38 PM, Simon Griffiths wrote: > Hello, > > I tried to get an answer to this via web searches etc. ?I have a freebsd 7 > box that I plan on upgrading remotely via > > Make buildworld > Make buildkernel KERNCONF=xyz > > Now im stuck, ?I cannot get it down to single user because I only have > access via ssh. ?Would it hurt to > > Make installkernel KERNCONF=xyz > Make installworld > > Mergemaster etc. > > Reboot > > ? > > TIA, > > Simon > I upgrade, compile, and install kernels and the world remotely on a semi-regular basis. You just have to be careful with things, such as installing the kernel to an alternate dir in /boot/ and using nextboot(8) to test the kernel. You ABSOLUTELY have a chance of something going wrong and hosing your system. Make sure you back up files (and transfer those backups to another system). From bruce at cran.org.uk Wed Apr 1 15:12:14 2009 From: bruce at cran.org.uk (Bruce Cran) Date: Wed Apr 1 15:12:20 2009 Subject: Build/Install world via ssh In-Reply-To: <000f01c9b312$3d148cf0$b73da6d0$@griffiths@tenenbaum.co.uk> References: <000f01c9b312$3d148cf0$b73da6d0$@griffiths@tenenbaum.co.uk> Message-ID: <20090401231204.55e562a5@gluon.draftnet> On Wed, 1 Apr 2009 22:38:47 +0100 "Simon Griffiths" wrote: > Hello, > > I tried to get an answer to this via web searches etc. I have a > freebsd 7 box that I plan on upgrading remotely via > > Make buildworld > Make buildkernel KERNCONF=xyz > > Now im stuck, I cannot get it down to single user because I only have > access via ssh. Would it hurt to > > Make installkernel KERNCONF=xyz > Make installworld > > Mergemaster etc. > > Reboot > > ? > Don't forget a 'mergemaster -p' too before installing. Officially running installworld in multi-user mode isn't supported because although it usually works, it can fail. What I do when upgrading over ssh is to kill off everything except sshd and essential things like ppp so as little as possible is left that could cause problems - that includes cron and syslogd. I've never had any problems but I know it's discouraged because you could be left with a broken system if something does go wrong. -- Bruce Cran From jgimer at gmail.com Wed Apr 1 15:18:41 2009 From: jgimer at gmail.com (Joshua Gimer) Date: Wed Apr 1 15:18:48 2009 Subject: ftp with .... ? In-Reply-To: References: Message-ID: What user is your ftp daemon running as? On Wed, Apr 1, 2009 at 2:08 AM, Vasadi I. Claudiu Florin wrote: > On Wed, 01 Apr 2009 03:53:09 +0300, Joshua Gimer wrote: > >> Are you sure that the suid bit will not provide the functionality that >> you require? > > It provides it, but only half of it. Did "chmod g+s /mnt" and "chmod u+s > /mnt" but when I create a file with "ftpadmin" through a ftp the file has > ftpadmin:wheel (Parent directory belongs to root:wheel). Maybe it cannot > change to root ? That would be strainge, seing how samba can do it (then > again samba has a module for this) > >> I would make sure that the proper user owns the directory > > They are > >> and then set its suid bit (chmod u+s /mnt/) > > Already did that. > > -- Thx Joshua Gimer From novembre at gmail.com Wed Apr 1 16:00:46 2009 From: novembre at gmail.com (Novembre) Date: Wed Apr 1 16:00:54 2009 Subject: DVD playback issue: FAILURE - non aligned DMA transfer attempted Message-ID: <3b47caa90904011600l1589900ck6ef9abc4a6c7a43d@mail.gmail.com> I am trying to rip a part of a DVD to my hard drive on my RELENG_7 machine (as of February 19, 2009) using mencoder. I have '/dev/cd0 /home/mnt/cdrom cd9660 ro,noauto 0 0' in /etc/fstab and the following two lines in /etc/devfs.conf: own /dev/cd0 root:operator perm /dev/cd0 0660 I mount the DVD to ~/mnt/cdrom and run gmplayer to see if it can play the DVD. Right-clicking on the MPlayer-Video window and selecting Preferences-->Misc, I have set "DVD device" and "CD-ROM device" (the last two lines) to /dev/cd0 (otherwise it won't even recognize the drive). Then, by right-clicking on MPlayer-Video, I select 'DVD-->Open disc...' and it shows some information about the DVD (like the number of chapters, audio streams, subtitles, etc.) in the terminal window from which gmplayer was run and then nothing happens except a non-stop hard drive activity. I suspected something and checked /var/log/messages. The following two lines are being constantly, non-stop added to /var/log/messages: Apr 1 17:04:30 rsx4 kernel: ata3: FAILURE - non aligned DMA transfer attempted Apr 1 17:04:30 rsx4 kernel: acd0: setting up DMA failed and I can't even close (or kill -9, for that matter) gmplayer. If I shut down X, then I see a constant stream of the previous two lines on the screen as the text-mode is coming up; there is no command prompt. If I let it continue, finally the /var partition will fill up. Also, even after logging out of X, the gmplayer process is still running and cannot be killed. Using Alt-F2 to switching to other terminals becomes painfully slow and at some point it stops responding. The only way is to reboot the system. Note that it doesn't crash or panic or anything. I just can't type anything after a while because of all these error messages... I have these two lines in /boot/loader.conf hw.ata.ata_dma="1" hw.ata.atapi_dma="1" in my first try. After the first failed attempt and reboot, googling around led me to change the last line to hw.ata.atapi_dma="0" to no avail. I would like to, at least, play this DVD, so I'd appreciate any help...thanks From amvandemore at gmail.com Wed Apr 1 16:24:25 2009 From: amvandemore at gmail.com (Adam Vandemore) Date: Wed Apr 1 16:24:33 2009 Subject: DVD playback issue: FAILURE - non aligned DMA transfer attempted In-Reply-To: <3b47caa90904011600l1589900ck6ef9abc4a6c7a43d@mail.gmail.com> References: <3b47caa90904011600l1589900ck6ef9abc4a6c7a43d@mail.gmail.com> Message-ID: <49D3F7A5.6050708@gmail.com> Novembre wrote: > I am trying to rip a part of a DVD to my hard drive on my RELENG_7 machine > (as of February 19, 2009) > using mencoder. I have '/dev/cd0 /home/mnt/cdrom cd9660 > ro,noauto 0 0' in /etc/fstab and the > following two lines in /etc/devfs.conf: > own /dev/cd0 root:operator > perm /dev/cd0 0660 > > I mount the DVD to ~/mnt/cdrom and run gmplayer to see if it can play the > DVD. Right-clicking on the > MPlayer-Video window and selecting Preferences-->Misc, I have set "DVD > device" and "CD-ROM device" > (the last two lines) to /dev/cd0 (otherwise it won't even recognize the > drive). Then, by right-clicking on > MPlayer-Video, I select 'DVD-->Open disc...' and it shows some information > about the DVD (like the number > of chapters, audio streams, subtitles, etc.) in the terminal window from > which gmplayer was run and then > nothing happens except a non-stop hard drive activity. I suspected something > and checked /var/log/messages. > The following two lines are being constantly, non-stop added to > /var/log/messages: > Apr 1 17:04:30 rsx4 kernel: ata3: FAILURE - non aligned DMA transfer > attempted > Apr 1 17:04:30 rsx4 kernel: acd0: setting up DMA failed > and I can't even close (or kill -9, for that matter) gmplayer. If I shut > down X, then I see a constant stream > of the previous two lines on the screen as the text-mode is coming up; there > is no command prompt. If I let > it continue, finally the /var partition will fill up. Also, even after > logging out of X, the gmplayer process is > still running and cannot be killed. Using Alt-F2 to switching to other > terminals becomes painfully slow and > at some point it stops responding. The only way is to reboot the system. > Note that it doesn't crash or panic > or anything. I just can't type anything after a while because of all these > error messages... > > I have these two lines in /boot/loader.conf > hw.ata.ata_dma="1" > hw.ata.atapi_dma="1" > in my first try. After the first failed attempt and reboot, googling around > led me to change the last line to > hw.ata.atapi_dma="0" > to no avail. > > I would like to, at least, play this DVD, so I'd appreciate any > help...thanks > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > Not 100% on this, but I think I solved this on my system awhile ago by setting dvd drive region code. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 From shinjii at maydias.com Wed Apr 1 16:34:26 2009 From: shinjii at maydias.com (Warren Liddell) Date: Wed Apr 1 16:34:33 2009 Subject: Encoding Movies to DVD Message-ID: <49D3FA40.7010103@maydias.com> Im chasing an application that basically does the same thing Windows Nero Vision does but naturally on FreeBSD .. is there such an application or is it something thats command line based ? From amvandemore at gmail.com Wed Apr 1 16:37:25 2009 From: amvandemore at gmail.com (Adam Vandemore) Date: Wed Apr 1 16:37:32 2009 Subject: Encoding Movies to DVD In-Reply-To: <49D3FA40.7010103@maydias.com> References: <49D3FA40.7010103@maydias.com> Message-ID: <49D3FAB3.4080701@gmail.com> Warren Liddell wrote: > Im chasing an application that basically does the same thing Windows > Nero Vision does but naturally on FreeBSD .. is there such an > application or is it something thats command line based ? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > For those of us who aren't familar with Windows Nero Vision, what does it do? -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 From citrin at citrin.ru Wed Apr 1 17:22:48 2009 From: citrin at citrin.ru (Anton Yuzhaninov) Date: Wed Apr 1 17:22:55 2009 Subject: Sysinstall with install.cfg References: Message-ID: On Wed, 1 Apr 2009 23:25:16 +0200, Andreas Nilsson wrote: AN> ################################ AN> # Now set the parameters for the partition editor on da0. AN> disk=da0 AN> partition=all AN> bootManager=none try bootManager=standard AN> diskPartitionEditor AN> diskPartitionWrite try to remove diskPartitionWrite -- Anton Yuzhaninov From mark at msen.com Wed Apr 1 17:33:16 2009 From: mark at msen.com (Mark Moellering) Date: Wed Apr 1 17:33:23 2009 Subject: Encoding Movies to DVD In-Reply-To: <49D3FA40.7010103@maydias.com> References: <49D3FA40.7010103@maydias.com> Message-ID: <200904012019.10149.mark@msen.com> On Wednesday 01 April 2009 07:35:28 pm Warren Liddell wrote: > Im chasing an application that basically does the same thing Windows > Nero Vision does but naturally on FreeBSD .. is there such an > application or is it something thats command line based ? look at k3b for burning and a program called Devede for transcoding From m.e.sanliturk at gmail.com Wed Apr 1 17:47:31 2009 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Wed Apr 1 17:47:37 2009 Subject: Encoding Movies to DVD In-Reply-To: <49D3FAB3.4080701@gmail.com> References: <49D3FA40.7010103@maydias.com> <49D3FAB3.4080701@gmail.com> Message-ID: On Wed, Apr 1, 2009 at 7:37 PM, Adam Vandemore wrote: > Warren Liddell wrote: > > or those of us who aren't familar with Windows Nero Vision, what does it > do? > -- > Adam Vandemore > Systems Administrator > IMED Mobility > (605) 498-1610 > > Please see http://www.nero.com/eng/nero9-applications-included.html Thank you very much . Mehmet Erol Sanliturk From lenzi.sergio at gmail.com Wed Apr 1 18:15:27 2009 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Wed Apr 1 18:15:34 2009 Subject: Encoding Movies to DVD In-Reply-To: <49D3FA40.7010103@maydias.com> References: <49D3FA40.7010103@maydias.com> Message-ID: <1238634857.6615.24.camel@lenzix.cwb.casa> Em Qui, 2009-04-02 ?s 09:35 +1000, Warren Liddell escreveu: > Im chasing an application that basically does the same thing Windows > Nero Vision does but naturally on FreeBSD .. is there such an > application or is it something thats command line based ? I am very happy with the folowing: ffmpeg for transform the avi into dvd mpeg mencoder to get the stream from an original dvd dvdstyler for dvdauthoriting.... Usage: supose you have an avi file (mpeg4 for video, mp3 for sound) than.... ffmpeg -i movie.avi -target ntsc-dvd -aspect 16:9 -acodec mp2 -ab 192k -ac 2 -y movie.mpg this result in an avi movie.mpg ready to build the DVD Dvdstyler than builds the menu (for dvdauthor)... and create an iso image, or a directory with VIDEO_TS directory, that a program called growisofs can make the DVD. ex: growisfos -dvd-video -Z /dev/cd0 directory_where_dvdstyler_generate_the_dvd_image Using totem-xine (in the ports) you can take snapshots of the video and build the "background" for the dvd menus... if you use gnome, you can drag & drop the directory into the nautilus_cd_burner... and make your DVD Far easy than NERO... and the quality is icredible... the lavc codecs are awesome... If you want to "mess" with avimovies, thatn avidemux2 is your way to go... you can cut, copy, past, convert, movies using it To make or edit the subtitles, use gnome-subtitles.. to insert the subtitles in the mpeg stream use spumux (in the dvdauthor package).... If you only want to "copy" a "comercial" DVD (that have 7GB) into an writeable dvd, thatn K9copy is your way... I have all here compiled in 64 bits and works llike a charm.... Hope it can help. From keramida at ceid.upatras.gr Wed Apr 1 19:54:58 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Wed Apr 1 19:55:06 2009 Subject: going from cvs to svnq In-Reply-To: <49D2CEF9.9030304@telenix.org> (Chuck Robey's message of "Tue, 31 Mar 2009 22:18:33 -0400") References: <49D27B25.80003@telenix.org> <49D2CEF9.9030304@telenix.org> Message-ID: <87k5637ojm.fsf@kobe.laptop> On Tue, 31 Mar 2009 22:18:33 -0400, Chuck Robey wrote: > What I don't know is, I use cvsup all the time, but when I switch to > svn, what does the "cvsup" job of tracking an archive (not tracking > the sources, I mean the archive)? Does svn do it all itself? If so, > I can find out how, I just want to know if that's how its done. If > not, what's the general tool used to track the freebsd archive, so I > can investigate it? Hi Chunk, CVSup does two things: * It can check out copies of all the files in a remote repository, using date- and time-based snapshot info, or just CVS tag names. * It can mirror the RCS metadata of a CVS repository. These two operations are replaced, in a Subversion world, by the svn(1) client and a utility called svnsync(1). The svn(1) client can check out a snapshot of the Subversion repository using a revision ID, a date, or one of the special tag paths we have in the Subversion repository. The syntax for specifying the revision is slightly different from CVS, but more on that later. The good thing about svn(1) is that its operation is actually 'safer' than cvs(1) or CVSup, because a revision is either fully committed into the remote repository or is isn't. You can't check out half of a change from a Subversion repository, because you were unlucky enough to run the client when only half of a commit had been stored into the repository. I expect this sort of 'transactional' property of the Subversion tree to appeal a bit to all the users. Those who run CURRENT will like the fact that they won't get half of a commit, spend a few hours chasing down build problems, and then realize they could have avoided all that by checking out a full copy. Even the users who run STABLE will probably be a bit happy about this sort of transactional behavior of commits, because it means that in periods of high checkout load (i.e. right after an important security fix), they know that they either _have_ the change that fixes the issue or that they _don't_ have it. Checking out sources: ==================== Checking out with svn(1) is currently supported by the online Subversion repository, which is read-only to everyone and is accessible at: http://svn.freebsd.org/base/ You can point an svn(1) client there and check out parts of the source repository. Please do *not* check out a full copy of the _entire_ tree though. It will contain dozens of branches and several dozens of vendor applications that you most certainly _don't_ care about, and it will put a huge load on the Subversion server for no useful purpose. Before checking out with svn(1) you should take a bit of time to browse the repository and see its structure and there each branch lives. There is a web interface for the repository at: http://svn.freebsd.org/viewvc/base/ This should be a bit friendlier looking than the raw 'svn over http' pages of the `http://svn.freebsd.org/base/' URI. The branches that are most interesting for checking out source snapshots are: URI CVS-style name ------------------------------------------------------------------- http://svn.freebsd.org/base/head/ CURRENT http://svn.freebsd.org/base/release/X.Y.Z RELENG_X_Y_Z_RELEASE http://svn.freebsd.org/base/releng/X.Y RELENG_X_Y http://svn.freebsd.org/base/stable/X RELENG_X Examples: If you want to check out a copy of `7-STABLE', you can use the command: % svn co http://svn.freebsd.org/base/stable/7 stable-7 This should create a local directory called `stable-7' with the full source tree of the CVS branch called `RELENG_7'. If you want to check out the security branch `RELENG_7_1', because you want to get the security bug-fixes of the 7.1 release, you can use: % svn co http://svn.freebsd.org/base/releng/7.1 Finally, if you want to check out the sources at the time the release of FreeBSD 7.0-RELEASE was cut, you can use: % svn co http://svn.freebsd.org/base/release/7.0.0 Notes: Subversion is a bit wasteful with disk space. A full checkout of the `/head' branch takes more than *double* the space of a CVS checkout. This may, essentially, mean that on systems with limited disk space it may be sensible to stick with CVS checkouts (or NFS mount the `src' directory) for now. `svn update' is a bit faster than `cvs update'. For checkout trees that have no or very little local changes, it is almost blazingly faster than `cvs update'. Keeping a local repository mirror: ================================== There is a tool called `svnsync' that can mirror the entire SVN repository to a local svn repository copy. I am not aware of any tool that can synchronize only *parts* of the repository history though. Its setup is a bit more convoluted than CVSup, and synchronizing into a completely `empty' local mirror will take ages. I will have to talk a bit with the repository admins for the best plan of making it easier to use `svnsync' or the plans for svnsync mirrors (like the CVSup mirror servers). From keramida at ceid.upatras.gr Wed Apr 1 19:56:18 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Wed Apr 1 19:56:25 2009 Subject: going from cvs to svnq In-Reply-To: (Andrew Hamilton-Wright's message of "Wed, 1 Apr 2009 07:05:53 -0300 (ADT)") References: <49D27B25.80003@telenix.org> <49D2CEF9.9030304@telenix.org> Message-ID: <87fxgr7ohg.fsf@kobe.laptop> On Wed, 1 Apr 2009 07:05:53 -0300 (ADT), Andrew Hamilton-Wright wrote: > o ***Early Adopter Warning***: There has not been (as far as I know) > a general call for people to move to this type of repository access > except for committers -- therefore expect rough edges until a > general announcement is made. Good point :) From novembre at gmail.com Wed Apr 1 20:23:59 2009 From: novembre at gmail.com (Novembre) Date: Wed Apr 1 20:24:06 2009 Subject: DVD playback issue: FAILURE - non aligned DMA transfer attempted In-Reply-To: <1238635240.6615.29.camel@lenzix.cwb.casa> References: <3b47caa90904011600l1589900ck6ef9abc4a6c7a43d@mail.gmail.com> <1238635240.6615.29.camel@lenzix.cwb.casa> Message-ID: <3b47caa90904012023t37992275h83595001a0f16389@mail.gmail.com> On Wed, Apr 1, 2009 at 8:20 PM, Sergio de Almeida Lenzi < lenzi.sergio@gmail.com> wrote: > Hello,,, > > I think it is because of the firmware of the dvd player transfer > more than the buffer says it is available, or transfer data not > in a word/page boundary.... > Basically when you are trying to play a protect dvd with some > kind of protection... > > You are right, turn the dma to 0 (off) and play again.... > or.... > turn the dma to off, put the dvd in the drive, > use the program K9copy (in the ports) to extract the DVD data . > put a blank writable dvd in the drive, and write it back > the problem will go away, and you now have an > unprotected copy of the dvd.... > > > Sergio > I've played another DVD which, I'm 100% sure, had copy protection in the same drive without any errors, but that was before upgrading my machine from 7.0-RELEASE to RELENG_7 on Feb 19, 2009. This DVD, however, does not play and gives that error. Also, I have already turned the hw.ata.atapi_dma to "0", but that didn't help either. I'm a bit skeptical about it being the copy protection of the disc. Any more ideas? From rock_on_the_web at comcen.com.au Wed Apr 1 20:41:53 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Wed Apr 1 20:42:00 2009 Subject: qemu and kqemu - Version mismatch after upgrade Message-ID: <1238643408.44542.47.camel@laptop1.herveybayaustralia.com.au> I just ran portsnap fetch update && portupgrade -a and I've ended up with a complete disaster with qemu. Am I the only one? Firstly, I was under the impression that updates shouldn't (theoretically of course) upset a running server. I had 2 qemu vm's running which crashed during the process. Secondly, after the upgrade I normally run -kernel-kqemu options, (and I did ensure the install of the kqemu-devel port) but I'm getting the following error: > Version mismatch between kqemu module and qemu (00010300 00010400) - disabling kqemu use The system still runs, but given the lack of this accelerator seriously impairs vm use especially with regards networking (ssh, etc). Also, just a note on the ImageMagick port: I've been getting ignore reports from portupgrade, I've done some investigationing into this and it seems that HDRI is broken as per the message (duh!), but in my config HDRI IS disabled, yet it seems the make still enters the define. So in my infinite lack of wisdom I commented out the defines for HDRI and left the config args to --disable-hdri - and hey presto! it installed. Any thoughts? Or should I enter a PR for this/these? From glen.j.barber at gmail.com Wed Apr 1 21:04:11 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Apr 1 21:04:18 2009 Subject: qemu and kqemu - Version mismatch after upgrade In-Reply-To: <1238643408.44542.47.camel@laptop1.herveybayaustralia.com.au> References: <1238643408.44542.47.camel@laptop1.herveybayaustralia.com.au> Message-ID: <4ad871310904012104j16a40eq11cc0a877975df56@mail.gmail.com> On Wed, Apr 1, 2009 at 11:36 PM, Da Rock wrote: > I just ran portsnap fetch update && portupgrade -a and I've ended up > with a complete disaster with qemu. Am I the only one? > > Firstly, I was under the impression that updates shouldn't > (theoretically of course) upset a running server. I had 2 qemu vm's > running which crashed during the process. > > Secondly, after the upgrade I normally run -kernel-kqemu options, (and I > did ensure the install of the kqemu-devel port) but I'm getting the > following error: > >> Version mismatch between kqemu module and qemu (00010300 00010400) - disabling kqemu use > Have you read /usr/ports/UPDATING ? The qemu/kqemu ports were mentioned a few days ago. -- Glen Barber From alydiomc at yahoo.com Wed Apr 1 21:08:00 2009 From: alydiomc at yahoo.com (lyd mc) Date: Wed Apr 1 21:08:07 2009 Subject: FreeBSD7.1 limewire5.0 Does not connect Message-ID: <804498.29025.qm@web52208.mail.re2.yahoo.com> Hi guys, I just installed limewire5.0 from ports (including diablo-jdk) but when I run it, it won't connect to gnutella network. I don't have a firewall, I am connected directly from internet... I already try this settings from BSD forum: >>it by modifying the file /etc/libmap.conf as follows: >>[/usr/local/diablo-jre1.5.0/] >>libpthread.so libc_r.so >>libpthread.so.2 libc_r.so.6 ...And found out that? the above fix? is only for? FreeBSD6.X Any idea? Thanx alydiomc ? From shinjii at maydias.com Wed Apr 1 21:25:17 2009 From: shinjii at maydias.com (Warren Liddell) Date: Wed Apr 1 21:25:24 2009 Subject: Encoding Movies to DVD In-Reply-To: <49D3FAB3.4080701@gmail.com> References: <49D3FA40.7010103@maydias.com> <49D3FAB3.4080701@gmail.com> Message-ID: <49D43E15.4040602@maydias.com> Adam Vandemore wrote: > Warren Liddell wrote: >> Im chasing an application that basically does the same thing Windows >> Nero Vision does but naturally on FreeBSD .. is there such an >> application or is it something thats command line based ? >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > For those of us who aren't familar with Windows Nero Vision, what does > it do? It lets you add verious move files into a list and then converts them into DVD format able to be then played by a standard DVD player(non computer) as well as adds title menus From epashapouri at ca.inter.net Wed Apr 1 21:26:27 2009 From: epashapouri at ca.inter.net (Esmaeel Pashapouri) Date: Wed Apr 1 21:26:34 2009 Subject: config sendmail Message-ID: <20090401205734.GC11361@Hammer.home.edu> Hello list, Having truble sending mail through my ISP. I have freebsd 7.1 amd-64 generic installed. With smart host defined for sendmail I get my mails returned with unknown sender esmaeel@ca.inter.net. My user name at ISP is epashapouri and smtp server does not require authentication. I added user epashapouri and mail gets out OK. Is there a way to make sendmail send mail with the user name other than login name? Have read many documents I could find with google with no luck, tried masquerade_as and feature masquerade envelope with no luck. Any sugestion from the list would be apreciated greatly. Thank for taking the time and reading this. esmaeel From rock_on_the_web at comcen.com.au Wed Apr 1 21:28:27 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Wed Apr 1 21:28:34 2009 Subject: qemu and kqemu - Version mismatch after upgrade In-Reply-To: <4ad871310904012104j16a40eq11cc0a877975df56@mail.gmail.com> References: <1238643408.44542.47.camel@laptop1.herveybayaustralia.com.au> <4ad871310904012104j16a40eq11cc0a877975df56@mail.gmail.com> Message-ID: <1238646500.44542.50.camel@laptop1.herveybayaustralia.com.au> On Thu, 2009-04-02 at 00:04 -0400, Glen Barber wrote: > On Wed, Apr 1, 2009 at 11:36 PM, Da Rock wrote: > > I just ran portsnap fetch update && portupgrade -a and I've ended up > > with a complete disaster with qemu. Am I the only one? > > > > Firstly, I was under the impression that updates shouldn't > > (theoretically of course) upset a running server. I had 2 qemu vm's > > running which crashed during the process. > > > > Secondly, after the upgrade I normally run -kernel-kqemu options, (and I > > did ensure the install of the kqemu-devel port) but I'm getting the > > following error: > > > >> Version mismatch between kqemu module and qemu (00010300 00010400) - disabling kqemu use > > > > Have you read /usr/ports/UPDATING ? The qemu/kqemu ports were > mentioned a few days ago. > Sorry, I must have missed mentioning that it appears to me that the new kqemu-devel dependency instead of the old kqemu is broken. From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Apr 1 21:39:11 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Apr 1 21:39:18 2009 Subject: guile-1.8.6 build core dumps (autoconf issue ?) In-Reply-To: References: <49D1B51C.6090404@gmail.com> <200903311959.18747.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <200904020639.07556.mel.flynn+fbsd.questions@mailing.thruhere.net> On Thursday 02 April 2009 03:01:53 manish jain wrote: > Hi Mel, > > Sorry, I was away for work. > > Here is what I think you want : > > /usr/ports/lang/guile # make -C /usr/ports/lang/guile -V CONFIGURE_ENV > -V CONFIGURE_ARGS > CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" > SHELL=/bin/sh CONFIG_SHELL=/bin/sh MAKE=gmake > AUTOCONF=/usr/local/bin/autoconf-2.62 > AUTOHEADER=/usr/local/bin/autoheader-2.62 > AUTOIFNAMES=/usr/local/bin/ifnames-2.62 > AUTOM4TE=/usr/local/bin/autom4te-2.62 > AUTORECONF=/usr/local/bin/autoreconf-2.62 > AUTOSCAN=/usr/local/bin/autoscan-2.62 > AUTOUPDATE=/usr/local/bin/autoupdate-2.62 AUTOCONF_VERSION=262 > lt_cv_sys_max_cmd_len=262144 > --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} Hmmm...last straw: find /usr/local -name '*.la' -exec grep -- '-llthread' {} + To explain: something guile needs is built with linux-threads yet this is not correctly handled and the resulting binaries are flawed, most likely because another library that guile needs uses FreeBSD native threads. On FreeBSD threaded linking is done with -pthread linker flag which pulls in the correct threading library (on 7.0 and above libthr, on 6.x and earlier libpthread). -- Mel From amvandemore at gmail.com Wed Apr 1 21:59:34 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Apr 1 21:59:40 2009 Subject: Encoding Movies to DVD In-Reply-To: <49D43E15.4040602@maydias.com> References: <49D3FA40.7010103@maydias.com> <49D3FAB3.4080701@gmail.com> <49D43E15.4040602@maydias.com> Message-ID: <49D44615.3090201@gmail.com> Warren Liddell wrote: > Adam Vandemore wrote: >> Warren Liddell wrote: >>> Im chasing an application that basically does the same thing Windows >>> Nero Vision does but naturally on FreeBSD .. is there such an >>> application or is it something thats command line based ? >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >>> >> For those of us who aren't familar with Windows Nero Vision, what >> does it do? > > It lets you add verious move files into a list and then converts them > into DVD format able to be then played by a standard DVD player(non > computer) as well as adds title menus Okay, well someone already mentioned mencoder, ffmpeg, and dvdstyler so what I would add to that is mencoder is more powerful ffmpeg although you can use them for many of the things including most of what you mention. They can create video in dvd-compat mpeg2 format then you use dvdstyler to create menus etc. dvdstyler is a frontend to dvdauthor which is cli based. Another gui video editor/conversion tool is avidemux2 which is pretty good. From rock_on_the_web at comcen.com.au Wed Apr 1 22:00:43 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Wed Apr 1 22:00:49 2009 Subject: qemu and kqemu - Version mismatch after upgrade In-Reply-To: <1238646500.44542.50.camel@laptop1.herveybayaustralia.com.au> References: <1238643408.44542.47.camel@laptop1.herveybayaustralia.com.au> <4ad871310904012104j16a40eq11cc0a877975df56@mail.gmail.com> <1238646500.44542.50.camel@laptop1.herveybayaustralia.com.au> Message-ID: <1238648427.44542.54.camel@laptop1.herveybayaustralia.com.au> On Thu, 2009-04-02 at 14:28 +1000, Da Rock wrote: > On Thu, 2009-04-02 at 00:04 -0400, Glen Barber wrote: > > On Wed, Apr 1, 2009 at 11:36 PM, Da Rock wrote: > > > I just ran portsnap fetch update && portupgrade -a and I've ended up > > > with a complete disaster with qemu. Am I the only one? > > > > > > Firstly, I was under the impression that updates shouldn't > > > (theoretically of course) upset a running server. I had 2 qemu vm's > > > running which crashed during the process. > > > > > > Secondly, after the upgrade I normally run -kernel-kqemu options, (and I > > > did ensure the install of the kqemu-devel port) but I'm getting the > > > following error: > > > > > >> Version mismatch between kqemu module and qemu (00010300 00010400) - disabling kqemu use > > > > > > > Have you read /usr/ports/UPDATING ? The qemu/kqemu ports were > > mentioned a few days ago. > > > > Sorry, I must have missed mentioning that it appears to me that the new > kqemu-devel dependency instead of the old kqemu is broken. > My apologies. You'll have to forgive my senility/dementia- I forgot qemu 101: kqemu is a kmod. I needed to unload/load the module- hence the version mismatch. That said: the ImageMagick issue still stands. Having hit something as stupid as this, I'm a little less confident in my diag. Any comments on what action I should take on this? Cheers From keramida at ceid.upatras.gr Wed Apr 1 22:27:43 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Wed Apr 1 22:27:51 2009 Subject: config sendmail In-Reply-To: <20090401205734.GC11361@Hammer.home.edu> (Esmaeel Pashapouri's message of "Wed, 1 Apr 2009 16:57:34 -0400") References: <20090401205734.GC11361@Hammer.home.edu> Message-ID: <871vsbzktw.fsf@kobe.laptop> On Wed, 1 Apr 2009 16:57:34 -0400, Esmaeel Pashapouri wrote: > Hello list, > Having truble sending mail through my ISP. > > I have freebsd 7.1 amd-64 generic installed. > > With smart host defined for sendmail I get my mails returned > with unknown sender esmaeel@ca.inter.net. > > My user name at ISP is epashapouri and smtp server does not require > authentication. I added user epashapouri and mail gets out OK. > > Is there a way to make sendmail send mail with the user name other than > login name? Yes. What you want is called `genericstable'. For an example of how I am using genericstable here', see an older Usenet post I sent a few months ago: http://groups.google.com/group/comp.unix.bsd.freebsd.misc/msg/562dc23fca32c37c From glen.j.barber at gmail.com Wed Apr 1 22:31:46 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Apr 1 22:32:18 2009 Subject: qemu and kqemu - Version mismatch after upgrade Message-ID: <1951805283-1238648570-cardhu_decombobulator_blackberry.rim.net-1404762388-@bxe1078.bisx.prod.on.blackberry> Apologies for the top post. No idea about the other port. Have you tried deinstalling/reinstalling? ------Original Message------ From: Da Rock To: Barber, Glen Cc: FreeBSD Mailing List Subject: Re: qemu and kqemu - Version mismatch after upgrade Sent: Apr 2, 2009 1:00 AM On Thu, 2009-04-02 at 14:28 +1000, Da Rock wrote: > On Thu, 2009-04-02 at 00:04 -0400, Glen Barber wrote: > > On Wed, Apr 1, 2009 at 11:36 PM, Da Rock wrote: > > > I just ran portsnap fetch update && portupgrade -a and I've ended up > > > with a complete disaster with qemu. Am I the only one? > > > > > > Firstly, I was under the impression that updates shouldn't > > > (theoretically of course) upset a running server. I had 2 qemu vm's > > > running which crashed during the process. > > > > > > Secondly, after the upgrade I normally run -kernel-kqemu options, (and I > > > did ensure the install of the kqemu-devel port) but I'm getting the > > > following error: > > > > > >> Version mismatch between kqemu module and qemu (00010300 00010400) - disabling kqemu use > > > > > > > Have you read /usr/ports/UPDATING ? The qemu/kqemu ports were > > mentioned a few days ago. > > > > Sorry, I must have missed mentioning that it appears to me that the new > kqemu-devel dependency instead of the old kqemu is broken. > My apologies. You'll have to forgive my senility/dementia- I forgot qemu 101: kqemu is a kmod. I needed to unload/load the module- hence the version mismatch. That said: the ImageMagick issue still stands. Having hit something as stupid as this, I'm a little less confident in my diag. Any comments on what action I should take on this? Cheers -- Glen Barber Sent from my BlackBerry handheld device. From rock_on_the_web at comcen.com.au Wed Apr 1 22:56:35 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Wed Apr 1 22:56:42 2009 Subject: qemu and kqemu - Version mismatch after upgrade In-Reply-To: <1951805283-1238648570-cardhu_decombobulator_blackberry.rim.net-1404762388-@bxe1078.bisx.prod.on.blackberry> References: <1951805283-1238648570-cardhu_decombobulator_blackberry.rim.net-1404762388-@bxe1078.bisx.prod.on.blackberry> Message-ID: <1238651792.44542.59.camel@laptop1.herveybayaustralia.com.au> On Thu, 2009-04-02 at 05:02 +0000, Glen Barber wrote: > Apologies for the top post. > > No idea about the other port. Have you tried deinstalling/reinstalling? As a matter of fact I have. I finally sat down to nut it out and that idea came to me as I couldn't get an options dialog. A fresh install will do the same thing: I ran make rmconfig just to be sure. The only thing that made it install was to comment out the defines in the Makefile, leaving only --disable-hdri. Apparently no matter what the options say in the Makefile make goes into the if-defined anyway. My first impression was to submit a PR, or notify ports@. After my last stupid mistake I'm not entirely as confident in my diagnoses.... :( > ------Original Message------ > From: Da Rock > To: Barber, Glen > Cc: FreeBSD Mailing List > Subject: Re: qemu and kqemu - Version mismatch after upgrade > Sent: Apr 2, 2009 1:00 AM > > On Thu, 2009-04-02 at 14:28 +1000, Da Rock wrote: > > On Thu, 2009-04-02 at 00:04 -0400, Glen Barber wrote: > > > On Wed, Apr 1, 2009 at 11:36 PM, Da Rock wrote: > > > > I just ran portsnap fetch update && portupgrade -a and I've ended up > > > > with a complete disaster with qemu. Am I the only one? > > > > > > > > Firstly, I was under the impression that updates shouldn't > > > > (theoretically of course) upset a running server. I had 2 qemu vm's > > > > running which crashed during the process. > > > > > > > > Secondly, after the upgrade I normally run -kernel-kqemu options, (and I > > > > did ensure the install of the kqemu-devel port) but I'm getting the > > > > following error: > > > > > > > >> Version mismatch between kqemu module and qemu (00010300 00010400) - disabling kqemu use > > > > > > > > > > Have you read /usr/ports/UPDATING ? The qemu/kqemu ports were > > > mentioned a few days ago. > > > > > > > Sorry, I must have missed mentioning that it appears to me that the new > > kqemu-devel dependency instead of the old kqemu is broken. > > > > My apologies. You'll have to forgive my senility/dementia- I forgot qemu > 101: kqemu is a kmod. I needed to unload/load the module- hence the > version mismatch. > > That said: the ImageMagick issue still stands. Having hit something as > stupid as this, I'm a little less confident in my diag. Any comments on > what action I should take on this? > > Cheers > > > > > -- > Glen Barber > Sent from my BlackBerry handheld device. > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From perryh at pluto.rain.com Wed Apr 1 23:48:59 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Wed Apr 1 23:49:07 2009 Subject: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools? In-Reply-To: <49D39153.4020707@zedat.fu-berlin.de> References: <49D39153.4020707@zedat.fu-berlin.de> Message-ID: <49d45d7c./wDEMGr6x3pE39QQ%perryh@pluto.rain.com> "O. Hartmann" wrote: > I need to fetch a whole directory tree from a public remote site. > The top level directory and its subdirectories are accessible via > ftp:// and http:// so I tried fetch, but fetch does only retrieve > data on file basis and does not copy a whole directory tree > recursively. The remote site does not offer sftp/sshd for that > purpose. There's at least one ftp server (wuftpd) that will do it for you on the server end. All you have to do is "get {dirname}.tar". (The .tar file won't appear in the directory listing, because it's created on the fly.) It might be worth a try, to see if the server of interest happens to be set up this way. From vas at mpeks.tomsk.su Wed Apr 1 23:51:17 2009 From: vas at mpeks.tomsk.su (Victor Sudakov) Date: Wed Apr 1 23:51:24 2009 Subject: keep-state and divert Message-ID: <20090402055113.GA35989@admin.sibptus.tomsk.ru> Colleagues, I have read some recommendations on combining a stateful firewall with divert, e.g. http://www.derkeiler.com/Mailing-Lists/FreeBSD-Security/2003-06/0078.html and http://nuclight.livejournal.com/124348.html (the latter is in Russian). Do I understand correctly that it is (mathematically?) impossible to use the two together without also using "skipto"? If we consider a simple example below, how would you replace the 600th rule for a stateful one? 00100 divert 8668 ip from any to table(1) out via rl0 00200 deny log logamount 100 ip from 10.0.0.0/8 to any out via rl0 00300 deny log logamount 100 ip from 172.16.0.0/12 to any out via rl0 00400 deny log logamount 100 ip from 192.168.0.0/16 to any out via rl0 00500 divert 8668 ip from table(1) to any in via rl0 00600 allow ip from table(1) to any in via rl0 00700 deny log logamount 100 ip from any to 10.0.0.0/8 in via rl0 00800 deny log logamount 100 ip from any to 172.16.0.0/12 in via rl0 00900 deny log logamount 100 ip from any to 192.168.0.0/16 in via rl0 65535 allow ip from any to any Thank you in advance for any input. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From olli at lurza.secnetix.de Thu Apr 2 00:01:40 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Thu Apr 2 00:01:48 2009 Subject: WinPopUp type messages from FreeBSD to Mac OS X In-Reply-To: Message-ID: <200904020701.n32719l5005580@lurza.secnetix.de> Charles Howse wrote: > Anyone know of a command-line program that will pop-up a window on my > Mac with a message from FreeBSD? If you're running an X server on your Mac (Xorg, XFree86), then you can use the xmessage(1) tool, with the $DISPLAY variable set appropriately. It can even be used to create simple dialogs (Such as "OK" / "Cancel") that can be used from shell scripts. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "The scanf() function is a large and complex beast that often does something almost but not quite entirely unlike what you desired." -- Chris Torek From claudiu.vasadi at gmail.com Thu Apr 2 00:14:24 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Thu Apr 2 00:14:31 2009 Subject: ftp with .... ? In-Reply-To: References: Message-ID: On Thu, 02 Apr 2009 01:18:39 +0300, Joshua Gimer wrote: > What user is your ftp daemon running as? ftpadmin.. have a look @ http://daemonforums.org/showthread.php?t=3050 that's where I curently am. From on at cs.ait.ac.th Thu Apr 2 00:19:21 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Thu Apr 2 00:19:29 2009 Subject: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools? In-Reply-To: <49d45d7c./wDEMGr6x3pE39QQ%perryh@pluto.rain.com> References: <49D39153.4020707@zedat.fu-berlin.de> <49d45d7c./wDEMGr6x3pE39QQ%perryh@pluto.rain.com> Message-ID: <200904020719.n327JIVS028987@banyan.cs.ait.ac.th> > I need to fetch a whole directory tree from a public remote site. > The top level directory and its subdirectories are accessible via > ftp:// and http:// so I tried fetch, but fetch does only retrieve > data on file basis and does not copy a whole directory tree > recursively. The remote site does not offer sftp/sshd for that > purpose. wget -r It's in the ports. Bests, Olivier From olli at lurza.secnetix.de Thu Apr 2 00:19:49 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Thu Apr 2 00:19:56 2009 Subject: py24-gobject won't deinstall In-Reply-To: <20090401224120.95200698.freebsd@edvax.de> Message-ID: <200904020719.n327JMhf006319@lurza.secnetix.de> Polytropon wrote: > Richard DeLaurell wrote: > > I reveal my ignorance: why does this work to delete the package > > > > # pkg_delete -f /var/db/pkg/py24-gobject* > > > > while 'pkg_delete py24-gobject*' did not? > > Use the -f, Luke. The force! Use the force! :-) > > > Would the latter have done the trick if issued from the /var/db/pkg > > directory itself? > > If you delete a package with -f that is required by another > package, you BREAK this package. That's okay only if you're > going to install the needed dependency right afterwards (by > pkg_add or make). However, the problem is that you will lose dependency information if you do it that way. That's why it is not recommended. Better use one of the port management tools (portmaster, portupgrade) which have options to replace one port with another port while retaining its dependencies. As a rule of thumb, never use a "force" option (-f) with any tool (rm, umount, pkg_delete, ...) unless you know exactly what the consequences are. I've seen people shooting their feet too often that way. Best regards Oliver PS: To check the consistency of your package database, you can use this small script (requires Python): http://www.secnetix.de/olli/scripts/pkg_check_dependencies If you get no output from "pkg_check_dependencies -q", then your dependencies are good. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "What is this talk of 'release'? We do not make software 'releases'. Our software 'escapes', leaving a bloody trail of designers and quality assurance people in its wake." From mcoyles at horbury.wakefield.sch.uk Thu Apr 2 00:25:39 2009 From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles) Date: Thu Apr 2 00:25:47 2009 Subject: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools? In-Reply-To: <49d45d7c./wDEMGr6x3pE39QQ%perryh@pluto.rain.com> References: <49D39153.4020707@zedat.fu-berlin.de> <49d45d7c./wDEMGr6x3pE39QQ%perryh@pluto.rain.com> Message-ID: <003701c9b363$a9297350$fb7c59f0$@wakefield.sch.uk> > "O. Hartmann" wrote: > > I need to fetch a whole directory tree from a public remote site. > > The top level directory and its subdirectories are accessible via > > ftp:// and http:// so I tried fetch, but fetch does only retrieve > > data on file basis and does not copy a whole directory tree > > recursively. The remote site does not offer sftp/sshd for that > > purpose. Wget --ftp-user=USER --ftp-password=PASS -r -l=0 ftp://address/directory L8rs! Marci From pprocacci at datapipe.net Thu Apr 2 00:32:09 2009 From: pprocacci at datapipe.net (Paul A Procacci) Date: Thu Apr 2 00:32:19 2009 Subject: keep-state and divert In-Reply-To: <20090402055113.GA35989@admin.sibptus.tomsk.ru> References: <20090402055113.GA35989@admin.sibptus.tomsk.ru> Message-ID: <49D469A1.3060103@datapipe.net> Victor Sudakov wrote: > Colleagues, > > I have read some recommendations on combining a stateful firewall with divert, > e.g. http://www.derkeiler.com/Mailing-Lists/FreeBSD-Security/2003-06/0078.html > and http://nuclight.livejournal.com/124348.html (the latter is in Russian). > > Do I understand correctly that it is (mathematically?) impossible to > use the two together without also using "skipto"? > > If we consider a simple example below, how would you replace the 600th > rule for a stateful one? > > 00100 divert 8668 ip from any to table(1) out via rl0 > 00200 deny log logamount 100 ip from 10.0.0.0/8 to any out via rl0 > 00300 deny log logamount 100 ip from 172.16.0.0/12 to any out via rl0 > 00400 deny log logamount 100 ip from 192.168.0.0/16 to any out via rl0 > > 00500 divert 8668 ip from table(1) to any in via rl0 > 00600 allow ip from table(1) to any in via rl0 > 00700 deny log logamount 100 ip from any to 10.0.0.0/8 in via rl0 > 00800 deny log logamount 100 ip from any to 172.16.0.0/12 in via rl0 > 00900 deny log logamount 100 ip from any to 192.168.0.0/16 in via rl0 > > 65535 allow ip from any to any > > Thank you in advance for any input. > > Hopefully you don't mind a response which provides a fully functioning firewall ruleset. It's by no means complete, but should give you the answer to your question. http://procacci.me/ipfw.conf This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/emaildisclaimer.aspx for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you. From claudiu.vasadi at gmail.com Thu Apr 2 00:38:00 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Thu Apr 2 00:38:16 2009 Subject: ACL Message-ID: Hello guyz, I have here a little misunderstanding of something. Maybe I didn't do it corectly; anyway, it works, so that's the question. Regarding ACL's default entry. When I specify one, It doesn't apear as one would aspect. For instance, on solaris, when I set default ACL on a folder I have something like (notice the "default"): # file: muzica # owner: root # group: wheel user::rwx user:smbadmin:rwx user:ftpadmin:rwx group::--- mask::rwx other::--- default:user::rwx default:user:root:rwx default:group::rwx default:group:wheel:rwx default:other:--- Now, on FreeBSD I have no such default options, but strainglly it works. It's good that it works, but the problem remains... how to tell, with detailes, IF a default ACL is set to a folder, AND what's is it's values. From perryh at pluto.rain.com Thu Apr 2 00:49:34 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Thu Apr 2 00:49:40 2009 Subject: going from cvs to svnq In-Reply-To: <49D3D749.6000009@telenix.org> References: <49D27B25.80003@telenix.org> <49D2CEF9.9030304@telenix.org> <49D3D749.6000009@telenix.org> Message-ID: <49d46ada.xbR2SbLQhTeu8Mv7%perryh@pluto.rain.com> Chuck Robey wrote: > But I do need to figure out how to get the subversion archive (not > a particular branch of the archive, the whole kit and kaboodle). devel/svk? (From a mention last December; I have not tried it.) From nightrecon at verizon.net Thu Apr 2 00:49:50 2009 From: nightrecon at verizon.net (Michael Powell) Date: Thu Apr 2 00:49:59 2009 Subject: keep-state and divert References: <20090402055113.GA35989@admin.sibptus.tomsk.ru> Message-ID: Victor Sudakov wrote: > Colleagues, > > I have read some recommendations on combining a stateful firewall with > divert, e.g. > http://www.derkeiler.com/Mailing-Lists/FreeBSD-Security/2003-06/0078.html > and http://nuclight.livejournal.com/124348.html (the latter is in > Russian). > > Do I understand correctly that it is (mathematically?) impossible to > use the two together without also using "skipto"? > > If we consider a simple example below, how would you replace the 600th > rule for a stateful one? > > 00100 divert 8668 ip from any to table(1) out via rl0 > 00200 deny log logamount 100 ip from 10.0.0.0/8 to any out via rl0 > 00300 deny log logamount 100 ip from 172.16.0.0/12 to any out via rl0 > 00400 deny log logamount 100 ip from 192.168.0.0/16 to any out via rl0 > > 00500 divert 8668 ip from table(1) to any in via rl0 > 00600 allow ip from table(1) to any in via rl0 > 00700 deny log logamount 100 ip from any to 10.0.0.0/8 in via rl0 > 00800 deny log logamount 100 ip from any to 172.16.0.0/12 in via rl0 > 00900 deny log logamount 100 ip from any to 192.168.0.0/16 in via rl0 > > 65535 allow ip from any to any > > Thank you in advance for any input. > I haven't used ipfw for a very long time, and haven't kept current with any changes. Below is an example (using kernel pppd) that I used to use a long time ago. For example purposes only, extract what you need for your specific configuration needs. # Firewall rules fwcmd="/sbin/ipfw" $fwcmd -f flush $fwcmd add allow all from any to any via lo0 $fwcmd add allow all from any to any via xl0 $fwcmd add deny log all from any to 127.0.0.0/8 # Stop private networks (RFC1918) from entering the outside interface. $fwcmd add deny log ip from 192.168.0.0/16 to any in via ppp0 $fwcmd add deny log ip from 172.16.0.0/12 to any in via ppp0 $fwcmd add deny log ip from 10.0.0.0/8 to any in via ppp0 $fwcmd add deny log ip from any to 192.168.0.0/16 in via ppp0 $fwcmd add deny log ip from any to 172.16.0.0/12 in via ppp0 $fwcmd add deny log ip from any to 10.0.0.0/8 in via ppp0 # Stop draft-manning-dsua-01.txt nets on the outside interface $fwcmd add deny all from 0.0.0.0/8 to any in via ppp0 $fwcmd add deny all from 169.254.0.0/16 to any in via ppp0 $fwcmd add deny all from 192.0.2.0/24 to any in via ppp0 $fwcmd add deny all from 224.0.0.0/4 to any in via ppp0 $fwcmd add deny all from 240.0.0.0/4 to any in via ppp0 $fwcmd add deny all from any to 0.0.0.0/8 in via ppp0 $fwcmd add deny all from any to 169.254.0.0/16 in via ppp0 $fwcmd add deny all from any to 192.0.2.0/24 in via ppp0 $fwcmd add deny all from any to 224.0.0.0/4 in via ppp0 $fwcmd add deny all from any to 240.0.0.0/4 in via ppp0 #$fwcmd add divert natd all from any to any via ppp0 $fwcmd add divert natd ip from any to me in via ppp0 $fwcmd add divert natd ip from 10.10.0.0/8 to any out via ppp0 $fwcmd add check-state $fwcmd add allow log tcp from 209.67.60.33 to any 113 via ppp0 $fwcmd add deny log udp from any to me in recv ppp0 $fwcmd add allow udp from any to any via ppp0 keep-state $fwcmd add allow log icmp from any to any icmptypes 3,4 $fwcmd add allow tcp from any to me 80 via ppp0 keep-state $fwcmd add deny log tcp from any to any in recv ppp0 setup $fwcmd add allow tcp from any to any out xmit ppp0 setup keep-state $fwcmd add allow tcp from any to any via ppp0 established keep-state $fwcmd add allow log icmp from any to any icmptypes 8 out xmit ppp0 $fwcmd add allow log icmp from any to any icmptypes 0 in recv ppp0 $fwcmd add allow log icmp from any to any icmptypes 11 in recv ppp0 $fwcmd add 65432 deny log tcp from any to any $fwcmd add 65433 deny log udp from any to any $fwcmd add 65434 deny log icmp from any to any $fwcmd add 65435 deny log ip from any to any ---------------------------------------------------------------- This was used in conjunction with the natd.conf here: interface ppp0 use_sockets yes same_ports yes dynamic yes For example purposes only - this is a very very old config. -Mike From vas at mpeks.tomsk.su Thu Apr 2 01:01:06 2009 From: vas at mpeks.tomsk.su (Victor Sudakov) Date: Thu Apr 2 01:01:14 2009 Subject: keep-state and divert In-Reply-To: <49D469A1.3060103@datapipe.net> References: <20090402055113.GA35989@admin.sibptus.tomsk.ru> <49D469A1.3060103@datapipe.net> Message-ID: <20090402080056.GA39348@admin.sibptus.tomsk.ru> Paul A Procacci wrote: > > > >I have read some recommendations on combining a stateful firewall with > >divert, > >e.g. > >http://www.derkeiler.com/Mailing-Lists/FreeBSD-Security/2003-06/0078.html > >and http://nuclight.livejournal.com/124348.html (the latter is in Russian). > > > >Do I understand correctly that it is (mathematically?) impossible to > >use the two together without also using "skipto"? > > > >If we consider a simple example below, how would you replace the 600th > >rule for a stateful one? > > > >00100 divert 8668 ip from any to table(1) out via rl0 > >00200 deny log logamount 100 ip from 10.0.0.0/8 to any out via rl0 > >00300 deny log logamount 100 ip from 172.16.0.0/12 to any out via rl0 > >00400 deny log logamount 100 ip from 192.168.0.0/16 to any out via rl0 > > > >00500 divert 8668 ip from table(1) to any in via rl0 > >00600 allow ip from table(1) to any in via rl0 > >00700 deny log logamount 100 ip from any to 10.0.0.0/8 in via rl0 > >00800 deny log logamount 100 ip from any to 172.16.0.0/12 in via rl0 > >00900 deny log logamount 100 ip from any to 192.168.0.0/16 in via rl0 > > > >65535 allow ip from any to any > > > >Thank you in advance for any input. > > > > > > Hopefully you don't mind a response which provides a fully functioning > firewall ruleset. It's by no means complete, but should give you the > answer to your question. > > http://procacci.me/ipfw.conf I have seen a number of such complete rulesets, some of them being very inventive and tricky. I see that your example also uses "skipto" with "keep-state". My question was however if it was possible to do without "skipto". And a simple example would be most appreciated, not a fully functional fuleset. I am also thinking about using "natd -deny_incoming" for keeping state, instead of "keep-state" rules. Is this feasible? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From vas at mpeks.tomsk.su Thu Apr 2 01:06:56 2009 From: vas at mpeks.tomsk.su (Victor Sudakov) Date: Thu Apr 2 01:07:04 2009 Subject: ACL In-Reply-To: References: Message-ID: <20090402080640.GA39739@admin.sibptus.tomsk.ru> Vasadi I. Claudiu Florin wrote: > > Now, on FreeBSD I have no such default options, but strainglly it works. > It's good that it works, but the problem remains... how to tell, with > detailes, IF a default ACL is set to a folder, AND what's is it's values. Is "getfacl -d" what you are looking for? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From claudiu.vasadi at gmail.com Thu Apr 2 01:14:54 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Thu Apr 2 01:15:03 2009 Subject: ACL In-Reply-To: <20090402080640.GA39739@admin.sibptus.tomsk.ru> References: <20090402080640.GA39739@admin.sibptus.tomsk.ru> Message-ID: On Thu, 02 Apr 2009 11:09:16 +0300, Vasadi I. Claudiu Florin wrote: > On Thu, 02 Apr 2009 11:06:40 +0300, Victor Sudakov > wrote: > > >> >> Is "getfacl -d" what you are looking for? >> > > > Maybe I didn't speak corectly. I already set the ACL (yes, setfacl -d > [...]) but when I do "getfacl file", there is no output that let's mee > see the "default" entryes, like in solaris. thus, I cannot be sure it is > set; but still it works, so I can't see it, but I see it's effects. bug ? > > Like I said before, on solaris one has something like (notice the > "default" entryes): > > # file: muzica > # owner: root > # group: wheel > user::rwx > user:smbadmin:rwx > user:ftpadmin:rwx > group::--- > mask::rwx > other::--- > default:user::rwx > default:user:root:rwx > default:group::rwx > default:group:wheel:rwx > default:other:--- > > > But on FreeBSD one has only (notice NO "default" entryes): > > # file: muzica > # owner: root > # group: wheel > user::rwx > user:smbadmin:rwx > user:ftpadmin:rwx > group::--- > mask::rwx > other::--- > > > > Still, keep in mind that althow no "default" entryes are visible, they > do theyr job (child folders inherit parent folder ACL) From invalid.pointer at gmail.com Thu Apr 2 01:37:25 2009 From: invalid.pointer at gmail.com (Manish Jain) Date: Thu Apr 2 01:37:31 2009 Subject: guile-1.8.6 build core dumps (autoconf issue ?) In-Reply-To: <200904020639.07556.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <49D1B51C.6090404@gmail.com> <200903311959.18747.mel.flynn+fbsd.questions@mailing.thruhere.net> <200904020639.07556.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <49D479A0.9020808@gmail.com> Mel Flynn wrote: > On Thursday 02 April 2009 03:01:53 manish jain wrote: >> Hi Mel, >> >> Sorry, I was away for work. >> >> Here is what I think you want : >> >> /usr/ports/lang/guile # make -C /usr/ports/lang/guile -V CONFIGURE_ENV >> -V CONFIGURE_ARGS >> CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" >> SHELL=/bin/sh CONFIG_SHELL=/bin/sh MAKE=gmake >> AUTOCONF=/usr/local/bin/autoconf-2.62 >> AUTOHEADER=/usr/local/bin/autoheader-2.62 >> AUTOIFNAMES=/usr/local/bin/ifnames-2.62 >> AUTOM4TE=/usr/local/bin/autom4te-2.62 >> AUTORECONF=/usr/local/bin/autoreconf-2.62 >> AUTOSCAN=/usr/local/bin/autoscan-2.62 >> AUTOUPDATE=/usr/local/bin/autoupdate-2.62 AUTOCONF_VERSION=262 >> lt_cv_sys_max_cmd_len=262144 >> --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} > > Hmmm...last straw: > find /usr/local -name '*.la' -exec grep -- '-llthread' {} + > > To explain: something guile needs is built with linux-threads yet this is not > correctly handled and the resulting binaries are flawed, most likely because > another library that guile needs uses FreeBSD native threads. > > On FreeBSD threaded linking is done with -pthread linker flag which pulls in > the correct threading library (on 7.0 and above libthr, on 6.x and earlier > libpthread). Hi Mel, There is no output. > /root # find /usr/local -name '*.la' -exec grep -- '-llthread' {} + > /root # > -- Thank you and Regards Manish Jain invalid.pointer@gmail.com +91-99830-62246 From vas at mpeks.tomsk.su Thu Apr 2 01:43:22 2009 From: vas at mpeks.tomsk.su (Victor Sudakov) Date: Thu Apr 2 01:43:31 2009 Subject: keep-state and divert In-Reply-To: References: <20090402055113.GA35989@admin.sibptus.tomsk.ru> Message-ID: <20090402084319.GB40576@admin.sibptus.tomsk.ru> Michael Powell wrote: > > > > I have read some recommendations on combining a stateful firewall with > > divert, e.g. > > http://www.derkeiler.com/Mailing-Lists/FreeBSD-Security/2003-06/0078.html > > and http://nuclight.livejournal.com/124348.html (the latter is in > > Russian). > > > > Do I understand correctly that it is (mathematically?) impossible to > > use the two together without also using "skipto"? [dd] > > I haven't used ipfw for a very long time, and haven't kept current with any > changes. Below is an example (using kernel pppd) that I used to use a long > time ago. For example purposes only, extract what you need for your specific > configuration needs. I have looked at your ruleset. First you have: [dd] > $fwcmd add divert natd ip from any to me in via ppp0 > $fwcmd add divert natd ip from 10.10.0.0/8 to any out via ppp0 > $fwcmd add check-state > [dd] and only later you have your keep-state rules: > > $fwcmd add allow udp from any to any via ppp0 keep-state > $fwcmd add allow log icmp from any to any icmptypes 3,4 > > $fwcmd add allow tcp from any to me 80 via ppp0 keep-state > > $fwcmd add deny log tcp from any to any in recv ppp0 setup > $fwcmd add allow tcp from any to any out xmit ppp0 setup keep-state > $fwcmd add allow tcp from any to any via ppp0 established keep-state This means your dynamic rules will contain an already NAT-ted address, which is useless. With my example ruleset below, where would you put the keep-state option? 00100 divert 8668 ip from any to table(1) out via rl0 00200 deny log logamount 100 ip from 10.0.0.0/8 to any out via rl0 00300 deny log logamount 100 ip from 172.16.0.0/12 to any out via rl0 00400 deny log logamount 100 ip from 192.168.0.0/16 to any out via rl0 00500 divert 8668 ip from table(1) to any in via rl0 00600 check-state 00700 deny log logamount 100 ip from any to 10.0.0.0/8 in via rl0 00800 deny log logamount 100 ip from any to 172.16.0.0/12 in via rl0 00900 deny log logamount 100 ip from any to 192.168.0.0/16 in via rl0 65535 allow ip from any to any -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From robin at reportlab.com Thu Apr 2 02:15:08 2009 From: robin at reportlab.com (Robin Becker) Date: Thu Apr 2 02:15:15 2009 Subject: apache halting during log rotation Message-ID: <49D48218.2080905@chamonix.reportlab.co.uk> I have the following in my newsyslog.conf > /var/log/httpd-*.log 644 9 8 @T01 BG /var/run/httpd.pid 30 and am seeing crashes with apache-2.0.63_2 which I think are associated. The relevant error log entries appear to be these lines > [Thu Apr 02 01:00:00 2009] [notice] Graceful restart requested, doing restart > [Thu Apr 02 01:00:00 2009] [emerg] (2)No such file or directory: Couldn't initialize cross-process lock in child > [Thu Apr 02 01:00:00 2009] [emerg] (2)No such file or directory: Couldn't initialize cross-process lock in child > [Thu Apr 02 01:00:00 2009] [notice] FastCGI: process manager initialized (pid 93707) > [Thu Apr 02 01:00:01 2009] [warn] RSA server certificate CommonName (CN) `*.xxx.org' does NOT match server name!? > [Thu Apr 02 01:00:01 2009] [warn] RSA server certificate CommonName (CN) `*.xxx.org' does NOT match server name!? ....... > [Thu Apr 02 01:00:01 2009] [warn] RSA server certificate wildcard CommonName (CN) `*.xxx.org' does NOT match server name!? > [Thu Apr 02 01:00:01 2009] [notice] Apache/2.0.63 (FreeBSD) mod_fastcgi/2.4.6 mod_ssl/2.0.63 OpenSSL/0.9.8e configured -- resuming normal operations > [Thu Apr 02 01:00:01 2009] [alert] Child 93701 returned a Fatal error... Apache is exiting! > [Thu Apr 02 01:00:01 2009] [alert] FastCGI: read() from pipe failed (0) > [Thu Apr 02 01:00:01 2009] [alert] FastCGI: the PM is shutting down, Apache seems to have disappeared - bye I have used this rotation scheme with 6.0/6.1/6.2 for some years and it has never failed till the last few days when I'm now running 7.0-RELEASE. Can anyone adivise what could be done to ameliorate this. I see mention of rotatelogs, is that a better solution to this problem? -- Robin Becker From nightrecon at verizon.net Thu Apr 2 02:20:32 2009 From: nightrecon at verizon.net (Michael Powell) Date: Thu Apr 2 02:20:40 2009 Subject: keep-state and divert References: <20090402055113.GA35989@admin.sibptus.tomsk.ru> <20090402084319.GB40576@admin.sibptus.tomsk.ru> Message-ID: Victor Sudakov wrote: [snip] > > I have looked at your ruleset. First you have: > > [dd] >> $fwcmd add divert natd ip from any to me in via ppp0 >> $fwcmd add divert natd ip from 10.10.0.0/8 to any out via ppp0 >> $fwcmd add check-state >> > > [dd] > > and only later you have your keep-state rules: > >> >> $fwcmd add allow udp from any to any via ppp0 keep-state >> $fwcmd add allow log icmp from any to any icmptypes 3,4 >> >> $fwcmd add allow tcp from any to me 80 via ppp0 keep-state >> >> $fwcmd add deny log tcp from any to any in recv ppp0 setup >> $fwcmd add allow tcp from any to any out xmit ppp0 setup keep-state >> $fwcmd add allow tcp from any to any via ppp0 established keep-state > > This means your dynamic rules will contain an already NAT-ted address, > which is useless. > > With my example ruleset below, where would you put the keep-state > option? > > > 00100 divert 8668 ip from any to table(1) out via rl0 > 00200 deny log logamount 100 ip from 10.0.0.0/8 to any out via rl0 > 00300 deny log logamount 100 ip from 172.16.0.0/12 to any out via rl0 > 00400 deny log logamount 100 ip from 192.168.0.0/16 to any out via rl0 > > 00500 divert 8668 ip from table(1) to any in via rl0 > 00600 check-state ^^^^^^^^^^^ Yes - the check-state line is required first in order to make use of the keep-state line later in the ruleset. 00650 allow ip from table(1) to any in via rl0 keep-state Or wherever you are intending to set up state for a rule in the state table. > 00700 deny log logamount 100 ip from any to 10.0.0.0/8 in via rl0 > 00800 deny log logamount 100 ip from any to 172.16.0.0/12 in via rl0 > 00900 deny log logamount 100 ip from any to 192.168.0.0/16 in via rl0 > > 65535 allow ip from any to any > > $fwcmd add allow tcp from any to any out xmit ppp0 setup keep-state $fwcmd add allow tcp from any to any via ppp0 established keep-state Note in these two rules the setting of the SYN flag with "setup". This allows the initial 3-way TCP handshake. The subsequent "established" line is where it will "remember" the traffic. It is not truly necessary to have it split between two lines like this, as a looser example: $fwcmd add allow tcp from any to me 80 via ppp0 keep-state Of course, you will need to adjust for the direction(s) of your traffic flow, that is, in order to meet your specific needs. My example rule was intended for use as an endpoint where I was mainly interested in blocking all inbound traffic with a very limited number of exceptions with state being used to allow back in from the outside all return traffic originated by me, and only me. It's been something on the order of 6-7 years since I last used ipfw. For something like 2-3 years after that I used ipfilter. When pf was imported from OpenBSD and became stable I made the move to pf. So my recall of specifics related to ipfw is dim at best. Was just hoping you could pick out some detail which may be of use to you. Your needs may be different from mine and consequently there is no real one magic "copy this for plug and play" ruleset. Mine was just one example where I was trying to illustrate one possibility of utilizing state. And this from a working ruleset that I used for years. -Mike From sudakov at sibptus.tomsk.ru Thu Apr 2 02:33:26 2009 From: sudakov at sibptus.tomsk.ru (Victor Sudakov) Date: Thu Apr 2 02:33:34 2009 Subject: ACL In-Reply-To: References: <20090402080640.GA39739@admin.sibptus.tomsk.ru> Message-ID: <20090402083322.GA40576@admin.sibptus.tomsk.ru> Vasadi I. Claudiu Florin wrote: > > >> > >>Is "getfacl -d" what you are looking for? > >> > > > > > >Maybe I didn't speak corectly. I already set the ACL (yes, setfacl -d > >[...]) but when I do "getfacl file", Don't do just "getfacl file", try "getfacl -d file". -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From ohartman at zedat.fu-berlin.de Thu Apr 2 02:43:07 2009 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Thu Apr 2 02:43:15 2009 Subject: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools? In-Reply-To: <200904011702.n31H2xZI071651@lurza.secnetix.de> References: <200904011702.n31H2xZI071651@lurza.secnetix.de> Message-ID: <49D48851.8000901@zedat.fu-berlin.de> Oliver Fromme wrote: > O. Hartmann wrote: > > I run into a problem I can not solve. I need to fetch a whole directory > > tree from a public remote site. The top level directory and its > > subdirectories are accessible via ftp:// and http:// so I tried fetch, > > but fetch does only retrieve data on file basis and does not copy a > > whole directory tree recursively. The remote site does not offer > > sftp/sshd for that purpose. > > > > Is there a simple way to perform such a task with FreeBSD's own tools (I > > try to avoid installing 'wget' and sibblings)? I need to keep it simple, > > task should be performed via cronjob. > > I'm afraid you can't do that with FreeBSD base tools. > > An alternative to wget would be "omi" (ports/ftp/omi) > which is a simple FTP mirroring tool, written in C > without any dependencies. Usage is simple: > > $ omi -s server.name.com -r /remote/dir -l ./local/dir > > Note that, by default, it tries to synchronize the local > dir perfectly, i.e. if the remote dir is empty, it will > wipe out the local dir. (The option "-P 0" will prevent > omi from removing anything.) > > Best regards > Oliver > Thanks for so much answers. I tried 'omi' but I find that the tool does not travers deeper into a dir than level one, so subdirs seem to be left out. I will try wget, although this tool would not be the first choice. Thanks, Oliver From admin at asarian-host.net Thu Apr 2 03:01:03 2009 From: admin at asarian-host.net (Mark) Date: Thu Apr 2 03:01:17 2009 Subject: gcc 2.95 -> 4.4 Message-ID: <200904021001.n329aG0C025600@asarian-host.net> Hello, I recently upgraded my old gcc 2.95 to gcc44. Question is, though, what make.conf, or other settings, do I need to apply to get the system to use the new gcc? Ports keep finding (and using) the old gcc 2.95. I also set things like this in the Makefile: $(GCC) = /usr/local/bin/gcc44 But that doesn't seem to help. Thanks From freebsd at edvax.de Thu Apr 2 03:14:23 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Apr 2 03:14:31 2009 Subject: gcc 2.95 -> 4.4 In-Reply-To: <200904021001.n329aG0C025600@asarian-host.net> References: <200904021001.n329aG0C025600@asarian-host.net> Message-ID: <20090402121405.70355c4b.freebsd@edvax.de> On Thu, 02 Apr 2009 10:01:00 GMT, Mark wrote: > I also set things like this in the Makefile: > > $(GCC) = /usr/local/bin/gcc44 > > But that doesn't seem to help. Should be, according to syntax: GCC=/usr/local/bin/gcc44 or CC=/usr/local/bin/gcc44 As far as I understood, CC is the variable used by the port's make subsystem. Maybe it's possible to install the port "over" the system's compiler by defining a prefix other than /usr/local, but I don't know if this is recommended. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From vince at unsane.co.uk Thu Apr 2 03:34:42 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Thu Apr 2 03:34:49 2009 Subject: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools? In-Reply-To: <49D48851.8000901@zedat.fu-berlin.de> References: <200904011702.n31H2xZI071651@lurza.secnetix.de> <49D48851.8000901@zedat.fu-berlin.de> Message-ID: <49D494BE.2060603@unsane.co.uk> On 2/4/09 10:41, O. Hartmann wrote: > Oliver Fromme wrote: >> O. Hartmann wrote: >> > I run into a problem I can not solve. I need to fetch a whole >> directory > tree from a public remote site. The top level directory >> and its > subdirectories are accessible via ftp:// and http:// so I >> tried fetch, > but fetch does only retrieve data on file basis and >> does not copy a > whole directory tree recursively. The remote site >> does not offer > sftp/sshd for that purpose. >> > > Is there a simple way to perform such a task with FreeBSD's own >> tools (I > try to avoid installing 'wget' and sibblings)? I need to >> keep it simple, > task should be performed via cronjob. >> >> I'm afraid you can't do that with FreeBSD base tools. >> >> An alternative to wget would be "omi" (ports/ftp/omi) >> which is a simple FTP mirroring tool, written in C >> without any dependencies. Usage is simple: >> >> $ omi -s server.name.com -r /remote/dir -l ./local/dir >> >> Note that, by default, it tries to synchronize the local >> dir perfectly, i.e. if the remote dir is empty, it will >> wipe out the local dir. (The option "-P 0" will prevent >> omi from removing anything.) >> >> Best regards >> Oliver >> > > Thanks for so much answers. > > I tried 'omi' but I find that the tool does not travers deeper into a > dir than level one, so subdirs seem to be left out. I will try wget, > although this tool would not be the first choice. > I seem to remember that nctp3 had a decent -R recurse option to its get (or its ncftpget non interactive mode) if you want to avoid wget. Vince > > Thanks, > Oliver > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From sudakov at sibptus.tomsk.ru Thu Apr 2 03:51:25 2009 From: sudakov at sibptus.tomsk.ru (Victor Sudakov) Date: Thu Apr 2 03:51:32 2009 Subject: keep-state and divert In-Reply-To: References: <20090402055113.GA35989@admin.sibptus.tomsk.ru> <20090402084319.GB40576@admin.sibptus.tomsk.ru> Message-ID: <20090402105122.GA44002@admin.sibptus.tomsk.ru> Michael Powell wrote: > > > > With my example ruleset below, where would you put the keep-state > > option? > > > > > > 00100 divert 8668 ip from any to table(1) out via rl0 > > 00200 deny log logamount 100 ip from 10.0.0.0/8 to any out via rl0 > > 00300 deny log logamount 100 ip from 172.16.0.0/12 to any out via rl0 > > 00400 deny log logamount 100 ip from 192.168.0.0/16 to any out via rl0 > > > > 00500 divert 8668 ip from table(1) to any in via rl0 > > 00600 check-state > ^^^^^^^^^^^ > Yes - the check-state line is required first in order to make use of the > keep-state line later in the ruleset. > > 00650 allow ip from table(1) to any in via rl0 keep-state It should be "out" here, not "in", because I want to permit outbound traffic and corresponding return traffic. You might think of something like 650 allow ip from any to table(1) out via rl0 keep-state However, if we place the "keep-state" rule at 650, only already diverted packets will reach it, and it will be useless because the src address will already have become the public one. I need a rule which would permit return traffic to the RFC1913 hosts (i.e. after dealiasing). -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From Balaji.Cherukuri at netapp.com Thu Apr 2 04:54:27 2009 From: Balaji.Cherukuri at netapp.com (Cherukuri, Balaji) Date: Thu Apr 2 04:54:33 2009 Subject: regardinf Virtual File system VOP_RENAME_APV function. Message-ID: <4C74F7F7256204408580B101D5A7CC0D06A3CDBD@BTCMVEXC1-PRD.hq.netapp.com> Hi FreeBSD Team, I am implementing a stackable file system similar to NULLFS and I have question on VOP_RENAME_APV function. In VOP_RENAME_APV function: VOP_RENAME_APV(struct vop_vector *vop, struct vop_rename_args *a) { int rc; .... if (vop->vop_rename != NULL) rc = vop->vop_rename(a); else rc = vop->vop_bypass(&a->a_gen); .... vop_rename_post(a, rc); return (rc); } I want to know that what is the importance of vop_rename_post function. Actually I returned "EXDEV" from my file system, but still vop_rename_post function is doing rename operation. I want to know whether it is having default implementation of rename functionality, can I use this function for rename operation directly because I do not have anything new to do in rename functionality. Please let me know, Is there any document which will talk how to write filesystem in FreeBSD environment? Thanks in advance, BalajiC From rock_on_the_web at comcen.com.au Thu Apr 2 04:57:16 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Thu Apr 2 04:57:23 2009 Subject: Ports options not coming up Message-ID: <1238673434.44542.104.camel@laptop1.herveybayaustralia.com.au> I'd to debug this, but I'm not even sure where to start. On just one system since some recent updates I have no options screens coming up for ports. I get a blue screen and then nothing; stdout says options unchanged. It is a vm if that means anything? Cheers From raszobbi at gmail.com Thu Apr 2 05:15:57 2009 From: raszobbi at gmail.com (rasz) Date: Thu Apr 2 05:16:05 2009 Subject: Ports options not coming up In-Reply-To: <1238673434.44542.104.camel@laptop1.herveybayaustralia.com.au> References: <1238673434.44542.104.camel@laptop1.herveybayaustralia.com.au> Message-ID: <49D4AC76.1060002@gmail.com> Da Rock wrote: > I'd to debug this, but I'm not even sure where to start. On just one > system since some recent updates I have no options screens coming up for > ports. I get a blue screen and then nothing; stdout says options > unchanged. > > It is a vm if that means anything? > > Cheers > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > if i understand you correctly, and this is the same thing, i have had this happen when building ports in a terminal emulator of sorts, particularly the xfce4 one (and maybe kde4 konsole) when the actual window is too small (e.g. in number of lines). i would see the blue screen for a bit and then options unchanged. it doesn't happen if at all if i keep the window a good size, but i don't know about VM. From mexas at bristol.ac.uk Thu Apr 2 05:17:34 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Apr 2 05:17:41 2009 Subject: ghostscript8 build failure Message-ID: <20090402120140.GA78357@mech-cluster238.men.bris.ac.uk> on 7.1-stable and on 8.0-current i386 I get when upgrading ghostscript: [skip] if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \ XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \ FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \ DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \ DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \ DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \ DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \ DEVICE_DEVS_EXTRA= \ /bin/sh <./obj/../soobj/ldt.tr ./obj/../soobj/gdevl256.o(.text+0x780): In function `gs_shared_init': : multiple definition of `gs_shared_init' ./obj/../soobj/gdevxalt.o(.text+0x1820): first defined here /usr/bin/ld: Warning: size of symbol `gs_shared_init' changed from 148 in ./obj/../soobj/gdevxalt.o to 36 in ./obj/../soobj/gdevl256.o ./obj/../soobj/gdevvglb.o(.text+0xa40): In function `gs_shared_init': : multiple definition of `gs_shared_init' ./obj/../soobj/gdevxalt.o(.text+0x1820): first defined here gmake[1]: *** [bin/../sobin/libgs.so.8.64] Error 1 gmake[1]: Leaving directory `/usr/ports/print/ghostscript8/work/ghostscript-8.64' gmake: *** [so] Error 2 *** Error code 1 Stop in /usr/ports/print/ghostscript8. *** Error code 1 Stop in /usr/ports/print/ghostscript8. # Is this something to do with incomplete perl-dependt ports upgrades? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From admin at asarian-host.net Thu Apr 2 05:18:31 2009 From: admin at asarian-host.net (Mark) Date: Thu Apr 2 05:18:37 2009 Subject: gcc 2.95 -> 4.4 In-Reply-To: <20090402121405.70355c4b.freebsd@edvax.de> References: <200904021001.n329aG0C025600@asarian-host.net> <20090402121405.70355c4b.freebsd@edvax.de> Message-ID: <200904021218.n32CISDv029145@asarian-host.net> -----Original Message----- From: Polytropon [mailto:freebsd@edvax.de] Sent: donderdag 2 april 2009 12:15 To: Mark Cc: freebsd-questions@freebsd.org Subject: Re: gcc 2.95 -> 4.4 On Thu, 02 Apr 2009 10:01:00 GMT, Mark wrote: > > I also set things like this in the Makefile: > > > > $(GCC) = /usr/local/bin/gcc44 > > > > But that doesn't seem to help. > > Should be, according to syntax: > > GCC=/usr/local/bin/gcc44 > > or > > CC=/usr/local/bin/gcc44 Ok, got it working now. Thanks. :) From admin at asarian-host.net Thu Apr 2 05:26:07 2009 From: admin at asarian-host.net (Mark) Date: Thu Apr 2 05:26:14 2009 Subject: How to 'unbreak' re2c port? Message-ID: <200904021226.n32CQ4bo029296@asarian-host.net> Okay, I just upgraded to gcc44 in order to fix what I thought was a compilation issue with re2c plus a gcc 2.95 compiler. However, gcc44 *still* trips over it! Same deal (see below). So, has ANYONE been able to compile this port at all? Thanks. - Mark ==> Building for re2c-0.13.5 make all-am source='code.cc' object='code.o' libtool=no DEPDIR=.deps depmode=gcc /bin/sh .../depcomp c++ -DHAVE_CONFIG_H -I. -O -pipe -c -o code.o code.cc In file included from globals.h:9, from code.cc:11: stream_lc.h:18: syntax error before `<' stream_lc.h:29: syntax error before `;' stream_lc.h:31: syntax error before `<' stream_lc.h:42: destructors must be member functions stream_lc.h:42: virtual outside class declaration stream_lc.h: In function `void basic_null_stream()': stream_lc.h:42: confused by earlier errors, bailing out cpp0: output pipe has been closed *** Error code 1 Stop in /usr/ports/devel/re2c/work/re2c-0.13.5. *** Error code 1 Stop in /usr/ports/devel/re2c/work/re2c-0.13.5. *** Error code 1 Stop in /usr/ports/devel/re2c. From nealhogan at gmail.com Thu Apr 2 05:32:25 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Thu Apr 2 05:32:32 2009 Subject: amarok + ipod Message-ID: (no luck on the multimedia list . . . so, I'm trying here) Hello, Well, I've got amarok running with 7.1-RELEASE and my question concerns amarok's interaction with an ipod. I am able to transfer music from my computer to the ipod and can play music that's on the ipod on amarok, but the quality, in both cases is quite poor. There is a lot of skipping, repetition, and general distortion. The songs sound fine from their source (i.e., the transferring device). I've been looking around (google, mailing list archives, etc.), but I don't see any suggestions. I'm hoping you may provide some guidance. Also, when I quit amarok, it doesn't appear to fully shutdown. It will get to a point in the process and just hang. If I press enter after several seconds of waiting, I get back to my prompt. The point at which it hangs is not consistent. Do you need a dmesg or anything? Thanks! -- www.nealhogan.net www.lambdaserver.com From invalid.pointer at gmail.com Thu Apr 2 05:37:22 2009 From: invalid.pointer at gmail.com (Manish Jain) Date: Thu Apr 2 05:37:29 2009 Subject: Recovered my gnome but alacarte doesn't run Message-ID: <49D4B1D9.10908@gmail.com> Hi all, I crashed my gnome with a brilliant idea I had a few days back. After about 100 man-hours and 500 MB of downloads, I have recovered my gnome except for one glitch : alacarte doesn't run. I suppose I could sit down some more and trace the problem, but 1) I am exhausted and 2) I am sure any gtk/python user could readily point out what is missing in my setup. Below is the output of alacarte : > Traceback (most recent call last): > File "/usr/local/bin/alacarte", line 22, in > from Alacarte.MainWindow import MainWindow > File "/usr/local/lib/python2.5/site-packages/Alacarte/MainWindow.py", line 19, in > import gtk, gtk.glade, gmenu, gobject, gio > File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 38, in > import gobject as _gobject > File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py", line 33, in > from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \ > File "/usr/local/lib/python2.5/site-packages/gtk-2.0/glib/__init__.py", line 30, in > from glib._glib import * > ImportError: /usr/local/lib/python2.5/site-packages/gtk-2.0/glib/_glib.so: Undefined symbol "PyUnicodeUCS2_DecodeUTF8" > > [1]+ Exit 1 alacarte Any help would be greatly appreciated. -- Thank you and Regards Manish Jain invalid.pointer@gmail.com +91-99830-62246 NB : Laast year I kudn't spell Software Engineer. Now I are won. From ohartman at web.de Thu Apr 2 06:29:52 2009 From: ohartman at web.de (O. Hartmann) Date: Thu Apr 2 06:29:59 2009 Subject: FreeBSD 8.0-CUR: /usr/ports/x11/linux-f8-xorg-libs won't install although emulators/linux_base-f8 is already installed Message-ID: <49D4BD74.30608@web.de> Before filing a PR I will ask for hints for a problem I revealed when I wanted installing usr/ports/x11/linux-f8-xorg-libs on a FreeBSD 8.0-CURRENT/amd64 box (most recent build_world, ports tree up to date). I receive this error: ===> linux-f8-xorg-libs-7.3 the port should be used with linux_base-f8, please read /usr/ports/UPDATING. *** Error code 1 Stop in /usr/ports/x11/linux-f8-xorg-libs. Package /usr/ports/emulators/linux_base-f8 is already installed, up to date and Linux kernel module is also running and showing up when doing kldstat adjacent with linprocfs and linsysfs. What's wrong? Oliver From on at cs.ait.ac.th Thu Apr 2 06:30:12 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Thu Apr 2 06:30:20 2009 Subject: Acroread8 problem on 6.4? Message-ID: <200904021330.n32DU4K4085695@banyan.cs.ait.ac.th> Hi, I just installed acroread8 on a new box, 6.4 amd64. When I try to launch acroread, I get: cannot set up thread-local storage: cannot set up LDT for thread-local storage What does that mean? How to make it work? Best regards, Olivier From bsam at ipt.ru Thu Apr 2 06:39:35 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Thu Apr 2 06:39:42 2009 Subject: FreeBSD 8.0-CUR: /usr/ports/x11/linux-f8-xorg-libs won't install although emulators/linux_base-f8 is already installed In-Reply-To: <49D4BD74.30608@web.de> (O. Hartmann's message of "Thu\, 02 Apr 2009 13\:28\:20 +0000") References: <49D4BD74.30608@web.de> Message-ID: <14512074@bb.ipt.ru> On Thu, 02 Apr 2009 13:28:20 +0000 O. Hartmann wrote: > Before filing a PR I will ask for hints for a problem I revealed when > I wanted installing usr/ports/x11/linux-f8-xorg-libs on a FreeBSD > 8.0-CURRENT/amd64 box (most recent build_world, ports tree up to > date). > I receive this error: > ===> linux-f8-xorg-libs-7.3 the port should be used with > linux_base-f8, please read /usr/ports/UPDATING. There was an error at /usr/ports/UPDATING, I committed a fix two hours ago. You should define at /etc/make.conf variables: OVERRIDE_LINUX_BASE_PORT=f8 OVERRIDE_LINUX_NONBASE_PORTS=f8 > *** Error code 1 > Stop in /usr/ports/x11/linux-f8-xorg-libs. > Package /usr/ports/emulators/linux_base-f8 is already installed, up to > date and Linux kernel module is also running and showing up when doing > kldstat adjacent with linprocfs and linsysfs. > What's wrong? HTH & WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From confirm-s2-wyicwhsr4fkvkm0tcydxva1osj0u3hlk-freebsd-questions=FreeBSD.org at yahoogroups.com Thu Apr 2 07:13:41 2009 From: confirm-s2-wyicwhsr4fkvkm0tcydxva1osj0u3hlk-freebsd-questions=FreeBSD.org at yahoogroups.com (Yahoo! Groups) Date: Thu Apr 2 07:13:48 2009 Subject: Please confirm your request to join emo-newsletter Message-ID: <1238680877.5434.85649.m8@yahoogroups.com> Hello freebsd-questions@FreeBSD.org, We have received your request to join the emo-newsletter group hosted by Yahoo! Groups, a free, easy-to-use community service. This request will expire in 7 days. TO BECOME A MEMBER OF THE GROUP: 1) Go to the Yahoo! Groups site by clicking on this link: http://groups.yahoo.com/i?i=wyicwhsr4fkvkm0tcydxva1osj0u3hlk&e=freebsd-questions%40FreeBSD%2Eorg (If clicking doesn't work, "Cut" and "Paste" the line above into your Web browser's address bar.) -OR- 2) REPLY to this email by clicking "Reply" and then "Send" in your email program If you did not request, or do not want, a membership in the emo-newsletter group, please accept our apologies and ignore this message. Regards, Yahoo! Groups Customer Care Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ From sgk at troutmask.apl.washington.edu Thu Apr 2 07:16:10 2009 From: sgk at troutmask.apl.washington.edu (Steve Kargl) Date: Thu Apr 2 07:16:17 2009 Subject: FreeBSD 8.0-CUR: /usr/ports/x11/linux-f8-xorg-libs won't install although emulators/linux_base-f8 is already installed In-Reply-To: <49D4BD74.30608@web.de> References: <49D4BD74.30608@web.de> Message-ID: <20090402141610.GA55696@troutmask.apl.washington.edu> On Thu, Apr 02, 2009 at 01:28:20PM +0000, O. Hartmann wrote: > Before filing a PR I will ask for hints for a problem I revealed when I > wanted installing usr/ports/x11/linux-f8-xorg-libs on a FreeBSD > 8.0-CURRENT/amd64 box (most recent build_world, ports tree up to date). > I receive this error: > > ===> linux-f8-xorg-libs-7.3 the port should be used with linux_base-f8, > please read /usr/ports/UPDATING. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > *** Error code 1 > > Stop in /usr/ports/x11/linux-f8-xorg-libs. > > > Package /usr/ports/emulators/linux_base-f8 is already installed, up to > date and Linux kernel module is also running and showing up when doing > kldstat adjacent with linprocfs and linsysfs. > > What's wrong? > See above? -- Steve From ohartman at zedat.fu-berlin.de Thu Apr 2 07:47:10 2009 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Thu Apr 2 07:47:18 2009 Subject: FreeBSD 8.0-CUR: /usr/ports/x11/linux-f8-xorg-libs won't install although emulators/linux_base-f8 is already installed In-Reply-To: <14512074@bb.ipt.ru> References: <49D4BD74.30608@web.de> <14512074@bb.ipt.ru> Message-ID: <49D4CF93.8000906@zedat.fu-berlin.de> Boris Samorodov wrote: > On Thu, 02 Apr 2009 13:28:20 +0000 O. Hartmann wrote: > >> Before filing a PR I will ask for hints for a problem I revealed when >> I wanted installing usr/ports/x11/linux-f8-xorg-libs on a FreeBSD >> 8.0-CURRENT/amd64 box (most recent build_world, ports tree up to >> date). >> I receive this error: > >> ===> linux-f8-xorg-libs-7.3 the port should be used with >> linux_base-f8, please read /usr/ports/UPDATING. > > There was an error at /usr/ports/UPDATING, I committed a fix two > hours ago. You should define at /etc/make.conf variables: > OVERRIDE_LINUX_BASE_PORT=f8 > OVERRIDE_LINUX_NONBASE_PORTS=f8 > >> *** Error code 1 > >> Stop in /usr/ports/x11/linux-f8-xorg-libs. > > >> Package /usr/ports/emulators/linux_base-f8 is already installed, up to >> date and Linux kernel module is also running and showing up when doing >> kldstat adjacent with linprocfs and linsysfs. > >> What's wrong? > > HTH & WBR After adding both lines as recommended everything worked well! Thanks. From a at jenisch.at Thu Apr 2 08:57:52 2009 From: a at jenisch.at (Ewald Jenisch) Date: Thu Apr 2 08:57:59 2009 Subject: Stop during upgrade of textproc/linux-expat Message-ID: <20090402152823.GA1322@aurora.oekb.co.at> Hi, While upgrading my ports I ran into a problem during the upgrade of textproc/linux-expat. After the usual cvsup, "make fetchindex", pkgdb -F I started "portupgrade -arR which resulted in a "Stop" because of a syntax error - for details see below. Has anybode else had this problem? What can I do against it? Thanks much in advance for your help, -ewald ------------------------------ < Cut here > ------------------------------ # portupgrade -arR ** Port marked as IGNORE: net/citrix_ica: is an interactive port ---> Upgrading 'linux-expat-1.95.8' to 'linux-expat-1.95.8_1' (textproc/linux-e xpat) ---> Building '/usr/ports/textproc/linux-expat' ===> Cleaning for linux-expat-1.95.8_1 ===> Vulnerability check disabled, database not found ===> Extracting for linux-expat-1.95.8_1 => MD5 Checksum OK for rpm/i386/fedora/4/expat-1.95.8-6.i386.rpm. => SHA256 Checksum OK for rpm/i386/fedora/4/expat-1.95.8-6.i386.rpm. ===> linux-expat-1.95.8_1 depends on file: /usr/local/bin/rpm2cpio - found ===> Patching for linux-expat-1.95.8_1 ===> Configuring for linux-expat-1.95.8_1 ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'linux-expat-1.95.8' pkg_delete: package 'linux-expat-1.95.8' is required by these other packages and may not be deinstalled (but I'll delete it anyway): citrix_ica-10.6_1 linux-fontconfig-2.2.3_7 linux-openmotif-2.2.4_2 linux-xorg-libs-6.8.2_5 ELF binary type "3" not known. /compat/linux/sbin/ldconfig: 1: Syntax error: "(" unexpected pkg_delete: unexec command for '/compat/linux/sbin/ldconfig -r /compat/linux' fa iled pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) [Updating the pkgdb in /var/db/pkg ... - 800 packages found ( -1 +0) (...) done] ---> Installing the new version via the port ===> Installing for linux-expat-1.95.8_1 ===> linux-expat-1.95.8_1 depends on file: /compat/linux/etc/fedora-release - found ===> Generating temporary packing list ===> Checking if textproc/linux-expat already installed cd /usr/ports/textproc/linux-expat/work && /usr/bin/find * -type d -exec /bin/mk dir -p "/compat/linux/{}" \; cd /usr/ports/textproc/linux-expat/work && /usr/bin/find * ! -type d | /usr/bin/ cpio -pm -R root:wheel /compat/linux 299 blocks ===> Running linux ldconfig /compat/linux/sbin/ldconfig -r /compat/linux ELF binary type "3" not known. /compat/linux/sbin/ldconfig: 1: Syntax error: "(" unexpected *** Error code 2 Stop in /usr/ports/textproc/linux-expat. *** Error code 1 Stop in /usr/ports/textproc/linux-expat. ===> Cleaning for linux-expat-1.95.8_1 ---> Cleaning out obsolete shared libraries ---> Upgrading 'linux-fontconfig-2.2.3_7' to 'linux-fontconfig-2.2.3_8' (x11-fo nts/linux-fontconfig) ---> Building '/usr/ports/x11-fonts/linux-fontconfig' ===> Cleaning for linux-fontconfig-2.2.3_8 ===> Vulnerability check disabled, database not found ===> Extracting for linux-fontconfig-2.2.3_8 => MD5 Checksum OK for rpm/i386/fedora/4/fontconfig-2.2.3-13.i386.rpm. => SHA256 Checksum OK for rpm/i386/fedora/4/fontconfig-2.2.3-13.i386.rpm. ===> linux-fontconfig-2.2.3_8 depends on file: /usr/local/bin/rpm2cpio - found ===> Patching for linux-fontconfig-2.2.3_8 ===> Configuring for linux-fontconfig-2.2.3_8 ---> Backing up the old version ---> Uninstalling the old version Stale dependency: linux-fontconfig-2.2.3_7 --> linux-expat-1.95.8_1 -- manually run 'pkgdb -F' to fix, or specify -O to force. ---> Skipping 'x11/linux-xorg-libs' (linux-xorg-libs-6.8.2_5) because a requisi te package 'linux-fontconfig-2.2.3_7' (x11-fonts/linux-fontconfig) failed (speci fy -k to force) ---> Skipping 'x11-toolkits/linux-openmotif' (linux-openmotif-2.2.4_2) because a requisite package 'linux-xorg-libs-6.8.2_5' (x11/linux-xorg-libs) failed (spec ify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) - net/citrix_ica (marked as IGNORE) ! x11-fonts/linux-fontconfig (linux-fontconfig-2.2.3_7) (uninstall error ) * x11/linux-xorg-libs (linux-xorg-libs-6.8.2_5) * x11-toolkits/linux-openmotif (linux-openmotif-2.2.4_2) # From olli at lurza.secnetix.de Thu Apr 2 09:16:37 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Thu Apr 2 09:16:43 2009 Subject: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools? In-Reply-To: <49D48851.8000901@zedat.fu-berlin.de> Message-ID: <200904021616.n32GG903029168@lurza.secnetix.de> O. Hartmann wrote: > I tried 'omi' but I find that the tool does not travers deeper into a > dir than level one, so subdirs seem to be left out. I will try wget, > although this tool would not be the first choice. Well, omi _does_ recurse into subdirectories, but it might fail if the FTP server has an unusual output format, or otherwise behaves in unexpected ways. Sometimes "-o nostat" helps to work around it. Especially if the FTP server runs on some non-UNIX environment and the directory output does not look like an "ls -l", omi has trouble parsing it. I've seen FTP servers running on VMS or Novell Netware that looked _really_ weird. These are not supported by omi, I'm afraid. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "I made up the term 'object-oriented', and I can tell you I didn't have C++ in mind." -- Alan Kay, OOPSLA '97 From a at jenisch.at Thu Apr 2 09:26:25 2009 From: a at jenisch.at (Ewald Jenisch) Date: Thu Apr 2 09:26:32 2009 Subject: Stop during upgrade of textproc/linux-expat In-Reply-To: <20090402160438.GA8848@dchagin.static.corbina.ru> References: <20090402152823.GA1322@aurora.oekb.co.at> <20090402160438.GA8848@dchagin.static.corbina.ru> Message-ID: <20090402162623.GA33016@aurora.oekb.co.at> On Thu, Apr 02, 2009 at 08:04:38PM +0400, Chagin Dmitry wrote: > > linux_expat depends on running linuxulator > (USE_LDCONFIG=YES in Makefile) so kldload linux :) > Hi Dmitry, Thanks much for the hint! I tried "kldload linux" then restarting the build process and it went through :-) Something related but slightly off-topic: To load linux-emu (linuxolator) automatically - is having 'linux_load="YES"' in /boot/loader.conf sufficient? -ewald From dchagin at freebsd.org Thu Apr 2 09:27:33 2009 From: dchagin at freebsd.org (Chagin Dmitry) Date: Thu Apr 2 09:27:40 2009 Subject: Stop during upgrade of textproc/linux-expat In-Reply-To: <20090402152823.GA1322@aurora.oekb.co.at> References: <20090402152823.GA1322@aurora.oekb.co.at> Message-ID: <20090402160438.GA8848@dchagin.static.corbina.ru> On Thu, Apr 02, 2009 at 05:28:23PM +0200, Ewald Jenisch wrote: > Hi, > > While upgrading my ports I ran into a problem during the upgrade of > textproc/linux-expat. After the usual cvsup, "make fetchindex", pkgdb > -F I started "portupgrade -arR which resulted in a "Stop" because of a > syntax error - for details see below. > > Has anybode else had this problem? What can I do against it? > linux_expat depends on running linuxulator (USE_LDCONFIG=YES in Makefile) so kldload linux :) -- Have fun! chd -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090402/b3500e25/attachment.pgp From dchagin at freebsd.org Thu Apr 2 09:50:44 2009 From: dchagin at freebsd.org (Chagin Dmitry) Date: Thu Apr 2 09:50:52 2009 Subject: Stop during upgrade of textproc/linux-expat In-Reply-To: <20090402162623.GA33016@aurora.oekb.co.at> References: <20090402152823.GA1322@aurora.oekb.co.at> <20090402160438.GA8848@dchagin.static.corbina.ru> <20090402162623.GA33016@aurora.oekb.co.at> Message-ID: <20090402165041.GA9248@dchagin.static.corbina.ru> On Thu, Apr 02, 2009 at 06:26:23PM +0200, Ewald Jenisch wrote: > On Thu, Apr 02, 2009 at 08:04:38PM +0400, Chagin Dmitry wrote: > > > > linux_expat depends on running linuxulator > > (USE_LDCONFIG=YES in Makefile) so kldload linux :) > > > > Hi Dmitry, > > Thanks much for the hint! I tried "kldload linux" then restarting the > build process and it went through :-) > > Something related but slightly off-topic: To load linux-emu > (linuxolator) automatically - is having 'linux_load="YES"' in > /boot/loader.conf sufficient? > yes, man linux :) -- Have fun! chd -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090402/ba452288/attachment.pgp From simon.griffiths at tenenbaum.co.uk Thu Apr 2 09:59:50 2009 From: simon.griffiths at tenenbaum.co.uk (Simon Griffiths) Date: Thu Apr 2 09:59:58 2009 Subject: Build/Install world via ssh In-Reply-To: <20090401231204.55e562a5@gluon.draftnet> References: <000f01c9b312$3d148cf0$b73da6d0$@griffiths@tenenbaum.co.uk> <20090401231204.55e562a5@gluon.draftnet> Message-ID: <005001c9b3b4$6fa06e80$4ee14b80$@griffiths@tenenbaum.co.uk> > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Bruce Cran > Sent: 01 April 2009 23:12 > To: Simon Griffiths > Cc: freebsd-questions@freebsd.org > Subject: Re: Build/Install world via ssh > > On Wed, 1 Apr 2009 22:38:47 +0100 > "Simon Griffiths" wrote: [snip] Thank you all for your advice. The build went through fine and the box came back lovely even though I did have a backup plan if that didn't work. Great stuff, saves a 300 mile journey :-) Simon From david+dated+1239125679.d14616 at skytracker.ca Thu Apr 2 10:47:35 2009 From: david+dated+1239125679.d14616 at skytracker.ca (David Banning) Date: Thu Apr 2 10:47:42 2009 Subject: problem redirecting with ipnat Message-ID: <20090402173438.GA25972@skytracker.ca> I am attempting to route local and external traffic to a second machine on port 85 to apache. The redirection works for external traffic coming in but I cannot seem to redirect local traffic to the secondary machine. Here are my ipnat rules; rdr fxp0 0/0 port 85 -> 192.168.1.10 port 85 rdr tun0 0/0 port 85 -> 192.168.1.10 port 85 rdr dc0 0/0 port 80 -> 192.168.1.1 port 8180 where 192.168.1.1 is the local machine and 192.168.1.10 is the secondary machine the third ipnat entry simply redirects all outgoing browser traffic to squid/dansguardian Here is my ifconfig; [root@3s1 /etc]# ifconfig fxp0: flags=8843 mtu 1500 options=8 inet 209.161.205.12 netmask 0xffffff00 broadcast 209.161.205.255 ether 00:0d:60:09:fc:6e media: Ethernet autoselect (10baseT/UTP) status: active dc0: flags=8843 mtu 1500 options=8 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:20:78:0e:13:d6 media: Ethernet autoselect (10baseT/UTP) status: active plip0: flags=108810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 tun0: flags=8051 mtu 1492 inet 209.161.205.12 --> 207.136.64.7 netmask 0xffffffff Opened by PID 356 [root@3s1 /etc]# Externally, simply http://3s1.com:85 works but will not work locally - wondering if anyone could provide direction here. From 240olofsson at telia.com Thu Apr 2 12:50:09 2009 From: 240olofsson at telia.com (Roger Olofsson) Date: Thu Apr 2 12:50:23 2009 Subject: problem redirecting with ipnat In-Reply-To: <20090402173438.GA25972@skytracker.ca> References: <20090402173438.GA25972@skytracker.ca> Message-ID: <49D50680.8030106@telia.com> David Banning skrev: > I am attempting to route local and external traffic to a second machine > on port 85 to apache. > > The redirection works for external traffic coming in but I cannot seem > to redirect local traffic to the secondary machine. > > Here are my ipnat rules; > > rdr fxp0 0/0 port 85 -> 192.168.1.10 port 85 > rdr tun0 0/0 port 85 -> 192.168.1.10 port 85 > rdr dc0 0/0 port 80 -> 192.168.1.1 port 8180 > > where 192.168.1.1 is the local machine and 192.168.1.10 is the > secondary machine > > the third ipnat entry simply redirects all outgoing browser traffic to > squid/dansguardian > > Here is my ifconfig; > > [root@3s1 /etc]# ifconfig > fxp0: flags=8843 mtu 1500 > options=8 > inet 209.161.205.12 netmask 0xffffff00 broadcast 209.161.205.255 > ether 00:0d:60:09:fc:6e > media: Ethernet autoselect (10baseT/UTP) > status: active > dc0: flags=8843 mtu 1500 > options=8 > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:20:78:0e:13:d6 > media: Ethernet autoselect (10baseT/UTP) > status: active > plip0: flags=108810 mtu 1500 > lo0: flags=8049 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > tun0: flags=8051 mtu 1492 > inet 209.161.205.12 --> 207.136.64.7 netmask 0xffffffff > Opened by PID 356 > [root@3s1 /etc]# > > Externally, simply http://3s1.com:85 > > works but will not work locally - wondering if anyone could provide direction > here. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Hello David, It looks like you are trying to port forward using a NAT tool(?) May I suggest that you use a port forward tool instead? Try portfwd-0.29 from ports. /R From cabal at u.washington.edu Thu Apr 2 13:27:38 2009 From: cabal at u.washington.edu (John H. Nyhuis) Date: Thu Apr 2 13:27:44 2009 Subject: kernal dump on zfs file system panic?!? "panic: ffs_blkfree freeing free block" Message-ID: About every 5-10 minutes, my freshly installed freeBSD 7.1 stable box hangs and begains a kernal dump. I get the following error message: dev = twed0s1d, block = 1, fs = /archive panic: ffs_blkfree freeing free block cpuid = 1 Uptime = 11m23s Physical memory: 1011 MB Dumping 67 MB: 52 36 20 4 Dump complete /archive has no files in it as it is an empty filesystem. In fact, it's a seperate spindle from the OS disk. fsck does not resolve the problem: #> umount /archive #> fsck -t zfs /dev/twed0s1d and I've verified that the disks involved don't have bad blocks. Since the machine becomes non-responsive after the dump, I can't access logs or anything to see what happened. Machine is using ASUS P2B-D mainboard (dual 500Mhz PIII Intel), with a 3ware 7000-2 raid card. The 3ware has 2 Maxtor 200GB drives in a RAID-1; these would normally be mounted as /archive. The volume is empty (no files). Google shows lot's of people having similar problems with zfs, but no solutions that I have found yet. Anyone have any ideas? Thanks, John H. Nyhuis IT Manager Dept. of Pediatrics HS RR541C, Box 356320 University of Washington Desk: (206)-685-3884 jnyhuis@u.washington.edu From wojtek at wojtek.tensor.gdynia.pl Thu Apr 2 13:36:20 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Apr 2 13:36:28 2009 Subject: kernal dump on zfs file system panic?!? "panic: ffs_blkfree freeing free block" In-Reply-To: References: Message-ID: > > dev = twed0s1d, block = 1, fs = /archive > panic: ffs_blkfree freeing free block looks like ffs related panic, not ZFS. something is completely wrong here. > cpuid = 1 > Uptime = 11m23s > Physical memory: 1011 MB > Dumping 67 MB: 52 36 20 4 > Dump complete > > /archive has no files in it as it is an empty filesystem. In fact, it's a > seperate spindle from the OS disk. > > fsck does not resolve the problem: > > #> umount /archive > #> fsck -t zfs /dev/twed0s1d > > and I've verified that the disks involved don't have bad blocks. Since the > machine becomes non-responsive after the dump, I can't access logs or > anything to see what happened. > > Machine is using ASUS P2B-D mainboard (dual 500Mhz PIII Intel), with a 3ware > 7000-2 raid card. The 3ware has 2 Maxtor 200GB drives in a RAID-1; these > would normally be mounted as /archive. The volume is empty (no files). > > Google shows lot's of people having similar problems with zfs, but no > solutions that I have found yet. > > Anyone have any ideas? > > Thanks, > > John H. Nyhuis > IT Manager > Dept. of Pediatrics > HS RR541C, Box 356320 > University of Washington > Desk: (206)-685-3884 > jnyhuis@u.washington.edu > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From david+dated+1239138965.beb0ff at skytracker.ca Thu Apr 2 14:47:38 2009 From: david+dated+1239138965.beb0ff at skytracker.ca (David Banning) Date: Thu Apr 2 14:47:45 2009 Subject: problem redirecting with ipnat In-Reply-To: <49D50680.8030106@telia.com> References: <20090402173438.GA25972@skytracker.ca> <49D50680.8030106@telia.com> Message-ID: <49D52B08.1000108@skytracker.ca> Thank Roger - I am not sure what the difference is between those two. You solutions worked. Thanks - > > > David Banning skrev: >> I am attempting to route local and external traffic to a second machine >> on port 85 to apache. >> The redirection works for external traffic coming in but I cannot seem >> to redirect local traffic to the secondary machine. >> >> Here are my ipnat rules; >> >> rdr fxp0 0/0 port 85 -> 192.168.1.10 port 85 >> rdr tun0 0/0 port 85 -> 192.168.1.10 port 85 >> rdr dc0 0/0 port 80 -> 192.168.1.1 port 8180 >> >> where 192.168.1.1 is the local machine and 192.168.1.10 is the >> secondary machine >> >> the third ipnat entry simply redirects all outgoing browser traffic >> to squid/dansguardian >> >> Here is my ifconfig; >> >> [root@3s1 /etc]# ifconfig >> fxp0: flags=8843 mtu 1500 >> options=8 >> inet 209.161.205.12 netmask 0xffffff00 broadcast 209.161.205.255 >> ether 00:0d:60:09:fc:6e >> media: Ethernet autoselect (10baseT/UTP) >> status: active >> dc0: flags=8843 mtu 1500 >> options=8 >> inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 >> ether 00:20:78:0e:13:d6 >> media: Ethernet autoselect (10baseT/UTP) >> status: active >> plip0: flags=108810 mtu 1500 >> lo0: flags=8049 mtu 16384 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 >> prefixlen 128 inet 127.0.0.1 netmask 0xff000000 tun0: >> flags=8051 mtu 1492 >> inet 209.161.205.12 --> 207.136.64.7 netmask 0xffffffff >> Opened by PID 356 >> [root@3s1 /etc]# >> >> Externally, simply http://3s1.com:85 >> >> works but will not work locally - wondering if anyone could provide >> direction >> here. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > > Hello David, > > It looks like you are trying to port forward using a NAT tool(?) May I > suggest that you use a port forward tool instead? Try portfwd-0.29 > from ports. > > /R > From rock_on_the_web at comcen.com.au Thu Apr 2 14:48:57 2009 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Thu Apr 2 14:49:04 2009 Subject: Ports options not coming up In-Reply-To: <49D4AC76.1060002@gmail.com> References: <1238673434.44542.104.camel@laptop1.herveybayaustralia.com.au> <49D4AC76.1060002@gmail.com> Message-ID: <1238708929.44542.106.camel@laptop1.herveybayaustralia.com.au> On Thu, 2009-04-02 at 14:15 +0200, rasz wrote: > Da Rock wrote: > > I'd to debug this, but I'm not even sure where to start. On just one > > system since some recent updates I have no options screens coming up for > > ports. I get a blue screen and then nothing; stdout says options > > unchanged. > > > > It is a vm if that means anything? > > > > Cheers > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > if i understand you correctly, and this is the same thing, i have had > this happen when > building ports in a terminal emulator of sorts, particularly the xfce4 > one (and maybe kde4 konsole) > when the actual window is too small (e.g. in number of lines). i would > see the blue screen for a bit and then > options unchanged. it doesn't happen if at all if i keep the window a > good size, but i don't know about VM. You know, I followed the vm track but I never even considered the terminal! Duh! :) Cheers From info at connect-community.org Thu Apr 2 15:16:53 2009 From: info at connect-community.org (Connect Headquarters) Date: Thu Apr 2 15:17:00 2009 Subject: Sponsor Connect Luau at HPTF&E! Message-ID: HPTF&E Sponsorship Opportunity Gain Visibility and Connect with Clients and Prospects How: Sponsor the Connect Luau by the Pool at the Fabulous Four Seasons Hotel at HPTF&E 2009[http://www.hptechnologyforum.com/exhibitchicklet] When: Tuesday, 16 June 2009, 7:00p ? 9:00p Who: 400+ Connect Members What: Food, Beverage, Entertainment and Giveaways Sponsor Packages: Silver $5,000 Logo on invitation Logo on 2-touch reminders Logo guiding/entryway signage Gold $10,000 (Limit 6) Logo on invitation Logo on 2-touch reminders Logo guiding/entryway signage Logo poolside signage Chicklet ad on myCommunity for June 2009 Corporate listing on branded giveaway Platinum $25,000 (Limit 3 ? 2 remaining) Logo on invitation Logo on 2-touch reminders Logo guiding/entryway signage Logo poolside signage Banner ad on myCommunity for June-July 2009 Prominent logo on branded giveaway (T-Shirt) Sponsor recognition in June Connect Now Newsletter If you have any questions or would like to purchase a sponsorship, please download the Sponsorship Contract[http://www.connect-community.org/Portals/0/Events/SponsorshipContractConnectLuau2009.pdf] or contact Kristi Browder, Connect Executive Director at 512-289-1235 or kbrowder@connect-community.org Note: HPTF&E 2009 exhibitors receive a 10% discount on any of the above sponsorships. If you would like to unsubscribe / opt-out of all future Connect e-mail correspondence, please send an e-mail with "opt-out" in the subject line to info@connect-community.org. From panosx13 at gmail.com Thu Apr 2 15:53:08 2009 From: panosx13 at gmail.com (Panos) Date: Thu Apr 2 15:53:15 2009 Subject: How to Update my Freebsd packages kernel and Core Message-ID: <49D53CA0.6000609@gmail.com> Hello I'm new to Freebsd and I would like to know if there is anything like apt-get for upgrating everything in my Freebsd. If not Could you tell me how I can do it. Some of my packages are from ports and some using the sysinstall and I install them from the cd. I use Freebsd 7.1 thank you very much. From glen.j.barber at gmail.com Thu Apr 2 15:59:23 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Apr 2 15:59:30 2009 Subject: How to Update my Freebsd packages kernel and Core In-Reply-To: <49D53CA0.6000609@gmail.com> References: <49D53CA0.6000609@gmail.com> Message-ID: <4ad871310904021559k5c28b640mb8bd139b9a2dea27@mail.gmail.com> 2009/4/2 Panos : > Hello I'm new to Freebsd and I would like to know if there is anything like > apt-get for upgrating everything in my Freebsd. If ?not Could you tell me > how I can do it. There is no 'apt' in FreeBSD. Documentation on how to manage your installed software is located here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html > Some of my packages are from ports and some using the sysinstall and I > install them from the cd. > I use Freebsd 7.1 > -- Glen Barber From Millenia2000 at hotmail.com Thu Apr 2 16:18:35 2009 From: Millenia2000 at hotmail.com (Sean Cavanaugh) Date: Thu Apr 2 16:18:48 2009 Subject: How to Update my Freebsd packages kernel and Core In-Reply-To: <49D53CA0.6000609@gmail.com> References: <49D53CA0.6000609@gmail.com> Message-ID: for the base OS (kernel and core are same thing, unlike gnu/linux), use freebsd-update. If you compiled your own kernel, then it will skip updating the kernel only, in which case just csup /usr/src and recompile anyway for ports, there are many methods. Read the ports section in the handbook. personally I use prt-mgmt/portupgrade. -Sean -------------------------------------------------- From: "Panos" Sent: Thursday, April 02, 2009 6:30 PM To: Subject: How to Update my Freebsd packages kernel and Core > Hello I'm new to Freebsd and I would like to know if there is anything > like apt-get for upgrating everything in my Freebsd. If not Could you > tell me how I can do it. > Some of my packages are from ports and some using the sysinstall and I > install them from the cd. > I use Freebsd 7.1 > > thank you very much. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From ges at wingfoot.org Thu Apr 2 16:18:38 2009 From: ges at wingfoot.org (Glenn Sieb) Date: Thu Apr 2 16:18:49 2009 Subject: How to Update my Freebsd packages kernel and Core In-Reply-To: <49D53CA0.6000609@gmail.com> References: <49D53CA0.6000609@gmail.com> Message-ID: <49D5434F.9060705@wingfoot.org> Panos said the following on 4/2/09 6:30 PM: > Hello I'm new to Freebsd and I would like to know if there is anything > like apt-get for upgrating everything in my Freebsd. If not Could you > tell me how I can do it. > Some of my packages are from ports and some using the sysinstall and I > install them from the cd. > I use Freebsd 7.1 > Hi Panos--you want to look into /usr/ports/ports-mgmt/portupgrade That should take care of your needs. :) Best, --Glenn -- ...destination is merely a byproduct of the journey --Eric Hansen From josh at tcbug.org Thu Apr 2 16:36:12 2009 From: josh at tcbug.org (Josh Paetzel) Date: Thu Apr 2 16:36:19 2009 Subject: How to Update my Freebsd packages kernel and Core In-Reply-To: <4ad871310904021559k5c28b640mb8bd139b9a2dea27@mail.gmail.com> References: <49D53CA0.6000609@gmail.com> <4ad871310904021559k5c28b640mb8bd139b9a2dea27@mail.gmail.com> Message-ID: <891D5C9B-3E19-4B54-96F4-8F21EBA227FB@tcbug.org> On Apr 2, 2009, at 5:59 PM, Glen Barber wrote: > 2009/4/2 Panos : >> Hello I'm new to Freebsd and I would like to know if there is >> anything like >> apt-get for upgrating everything in my Freebsd. If not Could you >> tell me >> how I can do it. > > There is no 'apt' in FreeBSD. > > Documentation on how to manage your installed software is located > here: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html > >> Some of my packages are from ports and some using the sysinstall >> and I >> install them from the cd. >> I use Freebsd 7.1 >> > > -- > Glen Barber One of the distinctions that freebsd makes that linux does not is between the base system and 3rd party software. Hence you will find no unified tool that upgrades everything like apt does for debian. The link above explains how to deal with 3rd party software. For the kernel and base system check out freebsd-update. Thanks, Josh Paetzel From richard.delaurell at gmail.com Thu Apr 2 18:00:19 2009 From: richard.delaurell at gmail.com (Richard DeLaurell) Date: Thu Apr 2 18:00:26 2009 Subject: py24-gobject won't deinstall In-Reply-To: <200904020719.n327JMhf006319@lurza.secnetix.de> References: <20090401224120.95200698.freebsd@edvax.de> <200904020719.n327JMhf006319@lurza.secnetix.de> Message-ID: <4324dbec0904021800s691e95e9y56e7a7def2566d28@mail.gmail.com> Oliver Fromme wrote: PS: To check the consistency of your package database, > you can use this small script (requires Python): > > http://www.secnetix.de/olli/scripts/pkg_check_dependencies > > If you get no output from "pkg_check_dependencies -q", > then your dependencies are good. > Oliver, I've run your script with the '-q' switch and here is the result: ++++++++++++++++++++++++++ #python pkg_check_dependencies -q Traceback (most recent call last): File "pkg_check_dependencies", line 55, in if line.startswith("@pkgdep") IndexError: list index out of range ++++++++++++++++++++++++++ Portmaster list reports that python-2.5.2 is installed (/usr/local/bin/python). What have I missed? It is not an emergency so do not feel pressed to answer quickly. Thank you for your help and have a good day-- Richard From sudakov at sibptus.tomsk.ru Thu Apr 2 21:38:23 2009 From: sudakov at sibptus.tomsk.ru (Victor Sudakov) Date: Thu Apr 2 21:38:30 2009 Subject: keep-state and divert In-Reply-To: <20090402055113.GA35989@admin.sibptus.tomsk.ru> References: <20090402055113.GA35989@admin.sibptus.tomsk.ru> Message-ID: <20090403043811.GA70473@admin.sibptus.tomsk.ru> Victor Sudakov wrote: > If we consider a simple example below, how would you replace the 600th > rule for a stateful one? > > 00100 divert 8668 ip from any to table(1) out via rl0 > 00200 deny log logamount 100 ip from 10.0.0.0/8 to any out via rl0 > 00300 deny log logamount 100 ip from 172.16.0.0/12 to any out via rl0 > 00400 deny log logamount 100 ip from 192.168.0.0/16 to any out via rl0 > > 00500 divert 8668 ip from table(1) to any in via rl0 > 00600 allow ip from table(1) to any in via rl0 > 00700 deny log logamount 100 ip from any to 10.0.0.0/8 in via rl0 > 00800 deny log logamount 100 ip from any to 172.16.0.0/12 in via rl0 > 00900 deny log logamount 100 ip from any to 192.168.0.0/16 in via rl0 > > 65535 allow ip from any to any > It seems that the ruleset should be reordered and changed to the following: 00100 divert 8668 ip from table(1) to any in via rl0 00200 check-state 00300 deny log logamount 100 ip from any to 10.0.0.0/8 in via rl0 00300 deny log logamount 100 ip from any to 172.16.0.0/12 in via rl0 00300 deny log logamount 100 ip from any to 192.168.0.0/16 in via rl0 00400 skipto 500 ip from any to table(1) out via rl0 keep-state 00500 divert 8668 ip from any to table(1) out via rl0 00600 deny log logamount 100 ip from 10.0.0.0/8 to any out via rl0 00600 deny log logamount 100 ip from 172.16.0.0/12 to any out via rl0 00600 deny log logamount 100 ip from 192.168.0.0/16 to any out via rl0 65535 allow ip from any to any It seems to work. However there is an obscure moment in it. When I look at the dynamic rules being created, for each connection I see two rules: one with the private source address and another with a NAT'ed source address. Which means the outgoing packet traverses the 400th rule twice. I don't understand how this happens. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From skye at f4.ca Thu Apr 2 22:01:45 2009 From: skye at f4.ca (snott) Date: Thu Apr 2 22:01:54 2009 Subject: Recovering partitions from disk image? Message-ID: <22862006.post@talk.nabble.com> Hello FreeBSD gurus, I recently had the pleasure of trying to recover a failed RAID1 array. It consisted of two 120GB disks in mirrored configuration. Both drives have a ton of bad sectors, so bad that the 3ware RAID card stopped recognizing that there was a mirror at all. Having no other options that I could think of, I pulled the drive with the one with the least read errors, directly connected it to ATA bus and used GNU ddrescue to make a disk image with only about 7 read errors. Neither fdisk nor bsdlabel can read the disk image. I wonder if there's some funny data at the beginning of the hard drive the 3ware card used for RAID configuration? If this is true, is there a way to search for the beginning of the real fdisk data and lop it off to make a possibly valid disk image? Here's how it was laid out before the crash: Filesystem Size Used Avail Capacity Mounted on /dev/twed0s1a 4.9G 2.8G 1.7G 62% / /dev/twed0s1e 9.8G 5.0G 4.0G 56% /var /dev/twed0s1f 9.8G 952M 8.1G 10% /usr/home /dev/twed0s2e 88G 15G 65G 19% /mnt TestDisk can find all the old partitions, but I can't figure out what if anything it can actually do with them. It only finds them if I do a "quick search" and specify "Non partitioned media" as the partition type: ----------------------------------------------------------------- Disk disk0.img - 123 GB / 115 GiB - CHS 15018 255 63 Partition Start End Size in sectors P UFS 0 15 31 652 196 7 10485760 [/] P UFS 652 196 8 1958 47 24 20971520 [/var] P UFS 1958 47 25 3263 153 41 20971520 [/usr/home] P UFS 3394 14 31 15017 14 27 186723492 [/mnt] Write isn't available because the partition table type "None" has been selected. ----------------------------------------------------------------- It doesn't look like scan_ffs works on files. Can I use the testdisk output to extract some portion of the disk image and mount it somehow? Any suggestions on how to get to the data is much appreciated. I've learned the hard way that RAID1 is no substitution for a backup plan :/ Thanks, Skye -- View this message in context: http://www.nabble.com/Recovering-partitions-from-disk-image--tp22862006p22862006.html Sent from the freebsd-questions mailing list archive at Nabble.com. From novembre at gmail.com Thu Apr 2 22:15:51 2009 From: novembre at gmail.com (Novembre) Date: Thu Apr 2 22:15:58 2009 Subject: DVD playback issue: FAILURE - non aligned DMA transfer attempted In-Reply-To: <1238718256.14524.10.camel@lenzix.cwb.casa> References: <3b47caa90904011600l1589900ck6ef9abc4a6c7a43d@mail.gmail.com> <1238635240.6615.29.camel@lenzix.cwb.casa> <3b47caa90904012023t37992275h83595001a0f16389@mail.gmail.com> <1238718256.14524.10.camel@lenzix.cwb.casa> Message-ID: <3b47caa90904022215v2083dd68r6fd283c1c021f18b@mail.gmail.com> On Thu, Apr 2, 2009 at 7:24 PM, Sergio de Almeida Lenzi < lenzi.sergio@gmail.com> wrote: > Em > > > > I've played another DVD which, I'm 100% sure, had copy protection in the > same drive without any errors, but that was before upgrading my machine from > 7.0-RELEASE to RELENG_7 on Feb 19, 2009. This DVD, however, does not play > and gives that error. Also, I have already turned the hw.ata.atapi_dma to > "0", but that didn't help either. I'm a bit skeptical about it being the > copy protection of the disc. > > Any more ideas? > > Hummm..... > may be the dvd drive is with some firmware problem.... > > After I changed (switched) to dvd drive using sata interface, I > have never seen that problem again.... > > I have seen this too, some dvd plays good, some not... > but with SATA, all plays good.... > > > Sergio > This DVD drive is using the SATA interface. I'm using the ATAPICAM layer to emulate it as a SCSI drive though. I don't know what's happening here. Thanks for your suggestions though... From xkyanh at gmail.com Thu Apr 2 23:46:09 2009 From: xkyanh at gmail.com (kyanh) Date: Thu Apr 2 23:46:17 2009 Subject: hear no sound if acpi=on Message-ID: <20090403132449.266a5673@icy.local> Hello all, I have FreeBSD-7.1-RELEASE on my Laptop (compaq presario cq40-401 au). In formation of my devices can be found at * http://viettug.org/attachments/download/128/icy_pciconf.txt (`pciconf -lbv`) * http://viettug.org/attachments/download/132/icy_lspci_nn.txt (`lspci -nn`) * http://viettug.org/attachments/download/147/icy_kernel.txt (the kernel configuration) When I boot the system with `acpi=off`, I can hear the sound (snd_hda). But when `acpi` is used, I hear no sound though the driver seems to work and `mplayer` detects /dev/sp and /dev/mixer successfully.
$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: 
   at memory 0x92410000 irq 19 kld snd_hda [20080420_0052] [MPSAFE] (mixer only)
pcm1:  at memory
   0x92500000 irq 16 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v
channels duplex)
I don't experience FreeBSD much. Could you help me to turn the sound on? Thank you very much, Regards, -- Ky Anh, Huynh Homepage: http://viettug.org/ From wojtek at wojtek.tensor.gdynia.pl Fri Apr 3 02:40:30 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Apr 3 02:40:38 2009 Subject: Recovering partitions from disk image? In-Reply-To: <22862006.post@talk.nabble.com> References: <22862006.post@talk.nabble.com> Message-ID: > Hello FreeBSD gurus, > > I recently had the pleasure of trying to recover a failed RAID1 array. It > consisted of two 120GB disks in mirrored configuration. Both drives have a > ton of bad sectors, so bad that the 3ware RAID card stopped recognizing that > there was a mirror at all. Having no other options that I could think of, I excellent hardware - designed to PROTECT ;) > pulled the drive with the one with the least read errors, directly connected > it to ATA bus and used GNU ddrescue to make a disk image with only about 7 > read errors. > > Neither fdisk nor bsdlabel can read the disk image. I wonder if there's > some funny data at the beginning of the hard drive the 3ware card used for > RAID configuration? If this is true, is there a way to search for the > beginning of the real fdisk data and lop it off to make a possibly valid > disk image? do dd if=image bs=128k count=1|hexdump -C|less and look for it :) at MBR sector you'll see probably something at the end like this: 00000190 46 0a d0 e3 00 5e 05 28 46 02 77 88 c3 52 65 61 |F.##.^.(F.w.#Rea| 000001a0 64 00 42 6f 6f 74 00 20 65 72 72 6f 72 0d 0a 00 |d.Boot. error...| for bsdlabel it's easier it's "WEV" and first 3 bytes. From frediz at ahau-kin.org Fri Apr 3 02:48:04 2009 From: frediz at ahau-kin.org (Fred) Date: Fri Apr 3 02:48:11 2009 Subject: msk0: watchdog timeout (missed Tx interrupts) Message-ID: Hi, I recently upgraded from 6.3 to 7.1 (7.1-RELEASE-p4) with freebsd-update, and I now have problems with msk0 very often (which I did have before) : Mar 30 20:14:19 blackbox kernel: msk0: watchdog timeout (missed Tx interrupts) -- recovering Mar 30 20:14:58 blackbox kernel: msk0: watchdog timeout (missed Tx interrupts) -- recovering ... which lead to not being able to access the net at all. I saw some people had this issue at different version of fbsd etc, due to some issue of the nic itself that had to be workaround, so I tried some early source code for msk : http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/msk/?only_with_tag=RELENG_7 but I still have this issue (I make buildkernel, installkernel; at first I only compiled the module, but it seems that in 7.3 it's in the kernel itself so that the module won't load) Here is some info from dmesg about my nic: mskc0: port 0x7c00-0x7cff mem 0xfddfc000-0xfddfffff irq 17 at device 0.0 on pci3 msk0: on mskc0 msk0: Ethernet address: 00:50:43:00:45:3e miibus0: on msk0 mskc0: [FILTER] Thanks for you help, this issue is really painful, F. From patfbsd at davenulle.org Fri Apr 3 02:52:13 2009 From: patfbsd at davenulle.org (Patrick =?ISO-8859-15?Q?Lamaizi=E8re?=) Date: Fri Apr 3 02:52:46 2009 Subject: [snd_hda] hear no sound if acpi=on In-Reply-To: <20090403132449.266a5673@icy.local> References: <20090403132449.266a5673@icy.local> Message-ID: <20090403115230.481e638b@baby-jane.lamaiziere.net> Le Fri, 3 Apr 2009 13:24:49 +0700, kyanh : > Hello all, > > I have FreeBSD-7.1-RELEASE on my Laptop (compaq presario cq40-401 > au). In formation of my devices can be found at > > * http://viettug.org/attachments/download/128/icy_pciconf.txt > (`pciconf -lbv`) > * http://viettug.org/attachments/download/132/icy_lspci_nn.txt > (`lspci -nn`) > * http://viettug.org/attachments/download/147/icy_kernel.txt (the > kernel configuration) > > When I boot the system with `acpi=off`, I can hear the sound > (snd_hda). But when `acpi` is used, I hear no sound though the driver > seems to work and `mplayer` detects /dev/sp and /dev/mixer > successfully. > >
> $ cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
> Installed devices:
> pcm0: 
>    at memory 0x92410000 irq 19 kld snd_hda [20080420_0052] [MPSAFE]
> (mixer only) pcm1:  at
> memory 0x92500000 irq 16 kld snd_hda [20080420_0052] [MPSAFE]
> (1p:1v/1r:1v channels duplex)
> 
> > I don't experience FreeBSD much. Could you help me to turn the sound > on? There were some changes in snd_hda just after the 7.1-RELEASE. You can try to update to a 7-STABLE. You can also take the files of snd_hda from current or from stable (/usr/src/sys/dev/sound/pci/hda/*) and rebuild the kernel module. Regards. From gpbuono at gmail.com Fri Apr 3 05:09:37 2009 From: gpbuono at gmail.com (Gian Paolo Buono) Date: Fri Apr 3 05:09:47 2009 Subject: FreeBSD 7 - nagios2 (defunct - process) Message-ID: Hi, Ihave a server with FreeBSD 7.1-RELEASE-p2 with 950 host and 4900 service, Nagios 3.0.3 Sometimes nagios don't update the status and when i try to stop nagios don't dies, i try to kill -9 the process but don't dies, there are many defunct process of nagios so I have to reboot the server. I haven't any log. That sounds very familiar to the locking/contention issue FreeBSD 7.x has with Nagios, It has to do with how Nagios and FreeBSD handle threading. When I had FreeBSD haven't problem. Any idea ? thank you for the support bye.. From mlfreebsd at streamingedge.com Fri Apr 3 05:11:41 2009 From: mlfreebsd at streamingedge.com (Jacques Manukyan) Date: Fri Apr 3 05:11:51 2009 Subject: How to Update my Freebsd packages kernel and Core In-Reply-To: <49D53CA0.6000609@gmail.com> References: <49D53CA0.6000609@gmail.com> Message-ID: <49D5FCD9.5030101@streamingedge.com> First off, welcome to FreeBSD. As the others stated, FreeBSD is quite different in that there is a distinction between installing/updating 3rd party software (called ports), or the base operating system (kernel and system). There are multiple ways to update the base system and kernel as well as the ports. You can choose to do binary installs or build from source. I prefer building from source when installing ports or updating the kernel/system since I like to control everything. One great thing about FreeBSD is that there are multiple ways to do things so find what you feel best suits your needs and use it. The handbook is the best place to start: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ I recommend you look at the following sections: Installing and managing ports: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Updating ports and the operating system (kernel/system): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html -- Jacques Manukyan Panos wrote: > Hello I'm new to Freebsd and I would like to know if there is anything > like apt-get for upgrating everything in my Freebsd. If not Could you > tell me how I can do it. > Some of my packages are from ports and some using the sysinstall and I > install them from the cd. > I use Freebsd 7.1 > > thank you very much. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From a at jenisch.at Fri Apr 3 05:57:56 2009 From: a at jenisch.at (Ewald Jenisch) Date: Fri Apr 3 05:58:04 2009 Subject: Symantec Netbackup under 7.1 - Undefined symbol Message-ID: <20090403122829.GA2201@aurora.oekb.co.at> Hi, This question is not purely about FreeBSD itself, but about getting Symantec Netbackup (formerly Veritas) running under FreeBSD. First of all FreeBSD is supported directly; there's a native commandline client for FreeBSD that supports 7.0. I'm using FreeBSD 7.1 (fresh kernel/system as per today), AMD64 architecture with Symanted NetBackup 6.5.3.1. Installation runs OK, but when I try to run any of the Symantec programs I get the following error: # ./bpclimagelist /libexec/ld-elf.so.1: ./bpclimagelist: Undefined symbol "__h_error" # file bpclimagelist bpclimagelist: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.3, dynamically linked (uses shared libs), FreeBSD-style, not stripped # Here are my questions: o) Anybody out there in the FreeBSD community who is using the NetBackup client successfully under FreeBSD? o) What does the above error message mean? Is it that the executable (bpclimagelist in this case) is referencing a symbol that isn't contained in ld-elf.so.1? o) Any ideas on how to track this down further? Thanks much in advance for your help, -ewald From tfcheng at gmail.com Fri Apr 3 07:21:12 2009 From: tfcheng at gmail.com (Tsu-Fan Cheng) Date: Fri Apr 3 07:21:21 2009 Subject: keep ssh session alive Message-ID: Hi, I use putty to connect to my home computer through ssh. i want putty session to stay alive much longer than it does now, how should I do it? I have added "KeepAlive yes" to my sshd config and rerun it, but it didn't work. thanks!! TFC From awd at awdcomp.net Fri Apr 3 07:23:25 2009 From: awd at awdcomp.net (Andrew) Date: Fri Apr 3 07:23:33 2009 Subject: keep ssh session alive In-Reply-To: References: Message-ID: <49D61BB2.8090402@awdcomp.net> Tsu-Fan Cheng wrote: > Hi, > I use putty to connect to my home computer through ssh. i want putty > session to stay alive much longer than it does now, how should I do > it? I have added "KeepAlive yes" to my sshd config and rerun it, but > it didn't work. thanks!! > Its within the 'connection' area of the settings. > > TFC > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From awd at awdcomp.net Fri Apr 3 07:24:44 2009 From: awd at awdcomp.net (Andrew) Date: Fri Apr 3 07:24:51 2009 Subject: keep ssh session alive In-Reply-To: <49D61BB2.8090402@awdcomp.net> References: <49D61BB2.8090402@awdcomp.net> Message-ID: <49D61BFF.7030903@awdcomp.net> Andrew wrote: > Tsu-Fan Cheng wrote: >> Hi, >> I use putty to connect to my home computer through ssh. i want putty >> session to stay alive much longer than it does now, how should I do >> it? I have added "KeepAlive yes" to my sshd config and rerun it, but >> it didn't work. thanks!! >> > > Its within the 'connection' area of the settings. > within putty I should add. >> >> TFC >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > From scjamorim at bsd.com.br Fri Apr 3 07:29:31 2009 From: scjamorim at bsd.com.br (=?ISO-8859-1?Q?Sylvio_C=E9sar_Teixeira_Amorim?=) Date: Fri Apr 3 07:29:38 2009 Subject: failed with pkg_add Message-ID: <5859850b0904030707u9e7fc9fv180f9fbfd71edeea@mail.gmail.com> Hi I want to know if there is not more the tarball gnome2, gnome2-lite, KDE4, etc via pkg_add -r for version current i386 Whenever I try, return package not found. Just getting through ports, but rather takes to compile. -- -=-=-=-=-=-=-=- Live free or die - UNIX* -=-=-=-=-=-=-= From vince at unsane.co.uk Fri Apr 3 08:01:41 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Fri Apr 3 08:01:48 2009 Subject: Symantec Netbackup under 7.1 - Undefined symbol In-Reply-To: <20090403122829.GA2201@aurora.oekb.co.at> References: <20090403122829.GA2201@aurora.oekb.co.at> Message-ID: <49D624D1.1040101@unsane.co.uk> On 3/4/09 13:28, Ewald Jenisch wrote: > Hi, > > This question is not purely about FreeBSD itself, but about getting > Symantec Netbackup (formerly Veritas) running under FreeBSD. > > First of all FreeBSD is supported directly; there's a native > commandline client for FreeBSD that supports 7.0. > > I'm using FreeBSD 7.1 (fresh kernel/system as per today), AMD64 > architecture with Symanted NetBackup 6.5.3.1. > > Installation runs OK, but when I try to run any of the Symantec > programs I get the following error: > > # ./bpclimagelist > /libexec/ld-elf.so.1: ./bpclimagelist: Undefined symbol "__h_error" > # file bpclimagelist > bpclimagelist: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.3, dynamically linked (uses shared libs), FreeBSD-style, not stripped > # > > This would lead me to think you need the port misc/compat5x installed. I havent any experience of netbackup though. Vince > Here are my questions: > > o) Anybody out there in the FreeBSD community who is using the > NetBackup client successfully under FreeBSD? > > o) What does the above error message mean? Is it that the executable > (bpclimagelist in this case) is referencing a symbol that isn't > contained in ld-elf.so.1? > > o) Any ideas on how to track this down further? > > Thanks much in advance for your help, > -ewald > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From claudiu.vasadi at gmail.com Fri Apr 3 09:33:27 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Fri Apr 3 09:33:34 2009 Subject: 2 -> more ftp accounts into same folder Message-ID: Hello you gurus :) I'm using FreeBSD 7.1-STABLE with pure-ftpd (unix/puredb authentification). I need to create 6 ftp accounts for each of the folowing folders, like so: /mnt /folder1 /folder2 /folder3 /folder4 /folder5 As you can see some folders are inside the "master" folder, thus the issue. I can create (adduser) all users for all folders, but can only connect through ftp with the "master" user (the one for /mnt folder). Have no logs what so ever. Been googleing around a bit but didn't find anything precise. Any ideeas are welcomed. Thx From ipfreak at yahoo.com Fri Apr 3 09:34:10 2009 From: ipfreak at yahoo.com (gahn) Date: Fri Apr 3 09:34:16 2009 Subject: l Message-ID: <514351.29927.qm@web52109.mail.re2.yahoo.com> Hi all: Did the portupgrade and a certain number of applications failed due to the error: gcc: /usr/local/lib/libgssapi.so: No such file or directory but i look at the file and it does exist: hm_1# ls -al /usr/local/lib/libgssapi.so lrwxr-xr-x 1 root wheel 14 Feb 7 20:48 /usr/local/lib/libgssapi.so -> libgssapi.so.2 does anyone know why this happened and how should i fix it? thanks From ipfreak at yahoo.com Fri Apr 3 09:38:16 2009 From: ipfreak at yahoo.com (gahn) Date: Fri Apr 3 09:38:28 2009 Subject: /usr/local/lib/libgssapi.so Message-ID: <643309.32999.qm@web52109.mail.re2.yahoo.com> Hi all: Did the portupgrade and a certain number of applications failed due to the error: gcc: /usr/local/lib/libgssapi.so: No such file or directory but i look at the file and it does exist: hm_1# ls -al /usr/local/lib/libgssapi.so lrwxr-xr-x 1 root wheel 14 Feb 7 20:48 /usr/local/lib/libgssapi.so -> libgssapi.so.2 does anyone know why this happened and how should i fix it? thanks From onemda at gmail.com Fri Apr 3 10:00:24 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Fri Apr 3 10:00:32 2009 Subject: /usr/local/lib/libgssapi.so In-Reply-To: <643309.32999.qm@web52109.mail.re2.yahoo.com> References: <643309.32999.qm@web52109.mail.re2.yahoo.com> Message-ID: <3a142e750904031000q223f5ceey1a62744e49c6d377@mail.gmail.com> On 4/3/09, gahn wrote: > > Hi all: > > Did the portupgrade and a certain number of applications failed due to the > error: > > gcc: /usr/local/lib/libgssapi.so: No such file or directory > > but i look at the file and it does exist: > > hm_1# ls -al /usr/local/lib/libgssapi.so > lrwxr-xr-x 1 root wheel 14 Feb 7 20:48 /usr/local/lib/libgssapi.so -> > libgssapi.so.2 > > does anyone know why this happened and how should i fix it? What about /usr/local/lib/libgssapi.so.2 ? -- Paul From ipfreak at yahoo.com Fri Apr 3 10:04:48 2009 From: ipfreak at yahoo.com (gahn) Date: Fri Apr 3 10:04:54 2009 Subject: /usr/local/lib/libgssapi.so In-Reply-To: <3a142e750904031000q223f5ceey1a62744e49c6d377@mail.gmail.com> Message-ID: <577702.52174.qm@web52109.mail.re2.yahoo.com> well, it doesn't exist...:) hm_1# ls -al /usr/local/lib/libgssapi.so.2 ls: /usr/local/lib/libgssapi.so.2: No such file or directory Look at another server 6.3, the same. thanks --- On Fri, 4/3/09, Paul B. Mahol wrote: > From: Paul B. Mahol > Subject: Re: /usr/local/lib/libgssapi.so > To: ipfreak@yahoo.com > Cc: "freebsd general questions" > Date: Friday, April 3, 2009, 10:00 AM > On 4/3/09, gahn wrote: > > > > Hi all: > > > > Did the portupgrade and a certain number of > applications failed due to the > > error: > > > > gcc: /usr/local/lib/libgssapi.so: No such file or > directory > > > > but i look at the file and it does exist: > > > > hm_1# ls -al /usr/local/lib/libgssapi.so > > lrwxr-xr-x 1 root wheel 14 Feb 7 20:48 > /usr/local/lib/libgssapi.so -> > > libgssapi.so.2 > > > > does anyone know why this happened and how should i > fix it? > > What about /usr/local/lib/libgssapi.so.2 ? > > -- > Paul From tajudd at gmail.com Fri Apr 3 10:09:08 2009 From: tajudd at gmail.com (Tim Judd) Date: Fri Apr 3 10:09:15 2009 Subject: Symantec Netbackup under 7.1 - Undefined symbol In-Reply-To: <49D624D1.1040101@unsane.co.uk> References: <20090403122829.GA2201@aurora.oekb.co.at> <49D624D1.1040101@unsane.co.uk> Message-ID: On Fri, Apr 3, 2009 at 9:01 AM, Vincent Hoffman wrote: > On 3/4/09 13:28, Ewald Jenisch wrote: > > Hi, > > > > This question is not purely about FreeBSD itself, but about getting > > Symantec Netbackup (formerly Veritas) running under FreeBSD. > > > > First of all FreeBSD is supported directly; there's a native > > commandline client for FreeBSD that supports 7.0. > > > > I'm using FreeBSD 7.1 (fresh kernel/system as per today), AMD64 > > architecture with Symanted NetBackup 6.5.3.1. > > > > Installation runs OK, but when I try to run any of the Symantec > > programs I get the following error: > > > > # ./bpclimagelist > > /libexec/ld-elf.so.1: ./bpclimagelist: Undefined symbol "__h_error" > > # file bpclimagelist > > bpclimagelist: ELF 32-bit LSB executable, Intel 80386, version 1 > (FreeBSD), for FreeBSD 5.3, dynamically linked (uses shared libs), > FreeBSD-style, not stripped > > # > > > > > This would lead me to think you need the port misc/compat5x installed. > I havent any experience of netbackup though. I agree with this statement, since it's clearly listed as it was compiled FOR FreeBSD 5.3 The compatXy packages are for what I think I remember reading of kernel system calls. I think there's a package/port for the userland utilities too.. misc/compat5x However I'm a smidge confused. The option that exists in the kernel and the misc/compat5x port -- do they accomplish the same thing, or is it really "kernel" and "userland" peices? From skye at f4.ca Fri Apr 3 10:24:52 2009 From: skye at f4.ca (snott) Date: Fri Apr 3 10:27:09 2009 Subject: Recovering partitions from disk image? In-Reply-To: <22862006.post@talk.nabble.com> References: <22862006.post@talk.nabble.com> Message-ID: <22872988.post@talk.nabble.com> Update: I figured out how to get scan_ffs to read a file by looking at the program source (if it starts with / then it considers it a regular file to read instead of a device) and got the following results which matches well with the TestDisk output. $ scan_ffs -s /recovery/disk0.img ufs1 at 1087 size 2621440 mount / time Wed Dec 31 16:00:00 1969 ufs1 at 10486847 size 5242880 mount /var time Wed Dec 31 16:00:00 1969 ufs1 at 31458367 size 5242880 mount /usr/home time Wed Dec 31 16:00:00 1969 ufs1 at 54525634 size 46680873 mount /mnt time Wed Dec 31 16:00:00 1969 Looks about right compared to the df output I had from that host: Filesystem Size Used Avail Capacity Mounted on /dev/twed0s1a 4.9G 2.8G 1.7G 62% / /dev/twed0s1e 9.8G 5.0G 4.0G 56% /var /dev/twed0s1f 9.8G 952M 8.1G 10% /usr/home /dev/twed0s2e 88G 15G 65G 19% /mnt So, what can I do with those numbers? It doesn't look like there's any valid MBR or disklabel on this disk image. Can I extract these filesystems one at a time from the image and mount them somehow? Thanks, Skye -- View this message in context: http://www.nabble.com/Recovering-partitions-from-disk-image--tp22862006p22872988.html Sent from the freebsd-questions mailing list archive at Nabble.com. From mlfreebsd at streamingedge.com Fri Apr 3 10:28:58 2009 From: mlfreebsd at streamingedge.com (Jacques Manukyan) Date: Fri Apr 3 10:31:23 2009 Subject: 2 -> more ftp accounts into same folder In-Reply-To: References: Message-ID: <49D64753.6080805@streamingedge.com> This sounds like a permission issue. Each user on the sub-folders (folder1, folder2, etc) need to be able to get into the /mnt folder within the OS. What is the permission on the /mnt directory? Try setting it to 755 and see if that works. Also, you can start pure-ftpd in debug mode to capture the actual error. Look at the pure-ftd.conf file or add the -d option to the daemon for debug information. -- Jacques Manukyan Vasadi I. Claudiu Florin wrote: > > Hello you gurus :) > > I'm using FreeBSD 7.1-STABLE with pure-ftpd (unix/puredb > authentification). I need to create 6 ftp accounts for each of the > folowing folders, like so: > > /mnt > /folder1 > /folder2 > /folder3 > /folder4 > /folder5 > > > As you can see some folders are inside the "master" folder, thus the > issue. I can create (adduser) all users for all folders, but can only > connect through ftp with the "master" user (the one for /mnt folder). > Have no logs what so ever. Been googleing around a bit but didn't find > anything precise. > > > > > Any ideeas are welcomed. Thx > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From mlfreebsd at streamingedge.com Fri Apr 3 10:33:26 2009 From: mlfreebsd at streamingedge.com (Jacques Manukyan) Date: Fri Apr 3 10:33:33 2009 Subject: /usr/local/lib/libgssapi.so In-Reply-To: <577702.52174.qm@web52109.mail.re2.yahoo.com> References: <577702.52174.qm@web52109.mail.re2.yahoo.com> Message-ID: <49D6485D.5010800@streamingedge.com> It probably is there but in another variation. Try "ls -al /usr/local/lib/libgssapi*" and then if its there, just "ln -s /usr/local/lib/libgssapi.so" -- Jacques Manukyan gahn wrote: > well, it doesn't exist...:) > > hm_1# ls -al /usr/local/lib/libgssapi.so.2 > ls: /usr/local/lib/libgssapi.so.2: No such file or directory > > Look at another server 6.3, the same. > > thanks > > > --- On Fri, 4/3/09, Paul B. Mahol wrote: > > >> From: Paul B. Mahol >> Subject: Re: /usr/local/lib/libgssapi.so >> To: ipfreak@yahoo.com >> Cc: "freebsd general questions" >> Date: Friday, April 3, 2009, 10:00 AM >> On 4/3/09, gahn wrote: >> >>> Hi all: >>> >>> Did the portupgrade and a certain number of >>> >> applications failed due to the >> >>> error: >>> >>> gcc: /usr/local/lib/libgssapi.so: No such file or >>> >> directory >> >>> but i look at the file and it does exist: >>> >>> hm_1# ls -al /usr/local/lib/libgssapi.so >>> lrwxr-xr-x 1 root wheel 14 Feb 7 20:48 >>> >> /usr/local/lib/libgssapi.so -> >> >>> libgssapi.so.2 >>> >>> does anyone know why this happened and how should i >>> >> fix it? >> >> What about /usr/local/lib/libgssapi.so.2 ? >> >> -- >> Paul >> > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From ipfreak at yahoo.com Fri Apr 3 10:35:25 2009 From: ipfreak at yahoo.com (gahn) Date: Fri Apr 3 10:35:32 2009 Subject: /usr/local/lib/libgssapi.so (solved?) In-Reply-To: <577702.52174.qm@web52109.mail.re2.yahoo.com> Message-ID: <729022.1430.qm@web52110.mail.re2.yahoo.com> Ok, here is what i did: cp /usr/local/lib/compat/pkg/libgssapiv2.so.2 /usr/local/lib/libgssapi.so.2 well, it seems to be working, at least one of failed packages is being compiled now... is it the correct way doing it? --- On Fri, 4/3/09, gahn wrote: > From: gahn > Subject: Re: /usr/local/lib/libgssapi.so > To: "Paul B. Mahol" > Cc: "freebsd general questions" > Date: Friday, April 3, 2009, 10:04 AM > well, it doesn't exist...:) > > hm_1# ls -al /usr/local/lib/libgssapi.so.2 > ls: /usr/local/lib/libgssapi.so.2: No such file or > directory > > Look at another server 6.3, the same. > > thanks > > > --- On Fri, 4/3/09, Paul B. Mahol > wrote: > > > From: Paul B. Mahol > > Subject: Re: /usr/local/lib/libgssapi.so > > To: ipfreak@yahoo.com > > Cc: "freebsd general questions" > > > Date: Friday, April 3, 2009, 10:00 AM > > On 4/3/09, gahn wrote: > > > > > > Hi all: > > > > > > Did the portupgrade and a certain number of > > applications failed due to the > > > error: > > > > > > gcc: /usr/local/lib/libgssapi.so: No such file or > > directory > > > > > > but i look at the file and it does exist: > > > > > > hm_1# ls -al /usr/local/lib/libgssapi.so > > > lrwxr-xr-x 1 root wheel 14 Feb 7 20:48 > > /usr/local/lib/libgssapi.so -> > > > libgssapi.so.2 > > > > > > does anyone know why this happened and how should > i > > fix it? > > > > What about /usr/local/lib/libgssapi.so.2 ? > > > > -- > > Paul > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From olli at lurza.secnetix.de Fri Apr 3 10:52:01 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Fri Apr 3 10:52:07 2009 Subject: py24-gobject won't deinstall In-Reply-To: <4324dbec0904021800s691e95e9y56e7a7def2566d28@mail.gmail.com> Message-ID: <200904031751.n33HpXVv089824@lurza.secnetix.de> Richard DeLaurell wrote: > Oliver Fromme wrote: > > PS: To check the consistency of your package database, > > you can use this small script (requires Python): > > > > http://www.secnetix.de/olli/scripts/pkg_check_dependencies > > > > If you get no output from "pkg_check_dependencies -q", > > then your dependencies are good. > [...] > ++++++++++++++++++++++++++ > #python pkg_check_dependencies -q > > Traceback (most recent call last): > File "pkg_check_dependencies", line 55, in > if line.startswith("@pkgdep") > IndexError: list index out of range > ++++++++++++++++++++++++++ Interesting ... I think that can only happen if you have a corrupt dependency entry somewhere. If that's the case, this shell command will print the file in question: awk '/^@pkgdep/ && NF < 2 {print FILENAME}' /var/db/pkg/*/+CONTENTS It will print the names of files from the package database that contain an empty "@pkgdep" line. This is probably the cause of the "list index out of range" error message. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Being really good at C++ is like being really good at using rocks to sharpen sticks." -- Thant Tessman From ray at stilltech.net Fri Apr 3 10:59:50 2009 From: ray at stilltech.net (Ray) Date: Fri Apr 3 10:59:58 2009 Subject: questions about Fatal Trap 12 Message-ID: <200904031144.31198.ray@stilltech.net> Hello, I have received a kernel Trap 12 error several times now and am trying to figure it out. the error occurred today, and the previous time was about two weeks ago. last time I had to run fsck manually if that proves anything. uname -a gives the following: FreeBSD wserver.********.com 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Wed Sep 17 13:30:46 MDT 2008 root@wserver.*********.com:/usr/obj/usr/src/sys/MOD amd64 Google returns results mostly for versions 4.x and 5.x, but it suggest 2 main things: test ram, and kernel panic troubleshooting. (http://www.freebsd.org/doc/en/books/faq/advanced.html#KERNEL-PANIC- TROUBLESHOOTING) Is there a way to test the ram without removing it from the machine and leave the machine functioning. I've used memtest 86 before, but obviously the machine has to be offline for this test. However, I'm a little unsure of the instructions in the handbook on troubleshooting. namely, it talks about using the nm command, put I can't figure out the data file to give it as an argument, and second I'm unsure about using a debugging Kernel on a production server. I have heard that It will significantly slow down a machine. Any help or suggestions would be greatly appreciated. Ray From chuckr at telenix.org Fri Apr 3 11:04:45 2009 From: chuckr at telenix.org (Chuck Robey) Date: Fri Apr 3 11:04:52 2009 Subject: going from cvs to svnq In-Reply-To: <87k5637ojm.fsf@kobe.laptop> References: <49D27B25.80003@telenix.org> <49D2CEF9.9030304@telenix.org> <87k5637ojm.fsf@kobe.laptop> Message-ID: <49D64FDD.8070105@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Giorgos Keramidas wrote: > On Tue, 31 Mar 2009 22:18:33 -0400, Chuck Robey wrote: >> What I don't know is, I use cvsup all the time, but when I switch to >> svn, what does the "cvsup" job of tracking an archive (not tracking >> the sources, I mean the archive)? Does svn do it all itself? If so, >> I can find out how, I just want to know if that's how its done. If >> not, what's the general tool used to track the freebsd archive, so I >> can investigate it? > > Hi Chunk, I seem to be hitting problems, twice now folks have misunderstood me (oh, BTW, it's Chuck (or chuckr), not Chunk). I DON'T use cvsup to check out sources. I know very well that you *can* do that, but for the last about 8 years, I've gotten the entire archive, not just a checkout. While a checkout can certainly, obviously follow a tag or a branch, it's just as obviously that it CAN'T follow a tag or branch if you get the entire archive, because the entire archive contains ALL of the tags/branches, and you need to do your own checkout from that archive, of the tag or branch you want. The ONLY thing I want to get out of this is the cvsup-like capability (which I've been using now for 8 years) to update my entire archive (svn now, no longer cvs). Again, emphasizing, it's NOT just a checkout, and tags/branches have no meaning at this level. Something like trying to buy chapter 8 of a book: when you buy the book, you get ALL the chapters. When you get the archive, you get ALL the tags/branches. I *think* maybe you said that svnsync can do this? I can't find any machine IP that is to be used with subversion ... will something like cvsup2.us.freebsd.org do for svnsync? Will svnsync's protocol get me the svn archive? I don't want the cvs archive, so could you help me understand how that's selected in this instance? Beyond that, you emphasized that it can't get only a part of an archive. I'm guessing you were referring to grabbing only ports, as against both ports and src? I don't know how the svn archive is organized, if there are separate archive for ports and src, or if they're actually only parts of one archive, but I do want both. Also, as I said above, I expect to get ALL tags, all branches, anything like that. You ask me NOT to check out what you called a "snapshot" of the archive. That's precisely what cvsup was so good at, noticing what the changes were in your copy of the archives, and only sending those. hundreds of people kept checkouts of the entire cvs archive. Are you telling me that capability is no more? That we lose that, in moving from cvs to svn? You whole email, well, it *seems* to me to be very biased towards thinking that cvsup is only used to check out sources. I hope what we have here is a misunderstanding, I would really dislike losing this capability, of being able to call up a particular files entire history, whenever I wanted, at no large processing cost to FreeBSD. > > CVSup does two things: > > * It can check out copies of all the files in a remote repository, > using date- and time-based snapshot info, or just CVS tag names. > > * It can mirror the RCS metadata of a CVS repository. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknWT90ACgkQz62J6PPcoOkHdACghfZ1Bvh1R5eTBADzOhF7HaXw 1OYAn0MDdMRRVKGzktyoshC6M65pAC95 =YbXs -----END PGP SIGNATURE----- From seurbors at gmail.com Fri Apr 3 11:08:14 2009 From: seurbors at gmail.com (Seur Bors) Date: Fri Apr 3 11:08:21 2009 Subject: FreeBSD as a Business Server Message-ID: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> Greetings, I am recommending a FreeBSD solution to replace an old business "file server". The old server is running Windows 2000 Professional, and the company has grown from the 5 employee setting to now two floors and approximately 15 - 20 people. They were starting to get connection errors to the Win2K machine, as I believe, without the Server version of the software, file sharing and maps are severely limited. Anyways, my question is thus: In setting up a FreeBSD machine and utilizing Samba to support "standard" file sharing, is there any caveats or issues that anyone perceives? I've done multiple FreeBSD installations, and utilize the Samba package to provide file sharing support in other small businesses, but have not had to consider 20 connections at once. The network connection is just a simple router to switch, all gigabit, and the system I'm recommending to use as a server also has dual gigabit network ports. As well, if anyone has any web-links to recommended reading, I would greatly appreciate them. Regards, Seur Bors Legate Commander Knights Of The Old Code From chuckr at telenix.org Fri Apr 3 11:15:20 2009 From: chuckr at telenix.org (Chuck Robey) Date: Fri Apr 3 11:15:27 2009 Subject: going from cvs to svnq In-Reply-To: <49d46ada.xbR2SbLQhTeu8Mv7%perryh@pluto.rain.com> References: <49D27B25.80003@telenix.org> <49D2CEF9.9030304@telenix.org> <49D3D749.6000009@telenix.org> <49d46ada.xbR2SbLQhTeu8Mv7%perryh@pluto.rain.com> Message-ID: <49D6525B.3060704@telenix.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 perryh@pluto.rain.com wrote: > Chuck Robey wrote: >> But I do need to figure out how to get the subversion archive (not >> a particular branch of the archive, the whole kit and kaboodle). > > devel/svk? (From a mention last December; I have not tried it.) Huh. From reading the port's description file, it seems to be a svn lookalike, but with a differing feature list. Supposely uses the same filesystem layout as subversion. I'll go goole it, maybe there's more to be googled. I asked a lot more from Giorgios, mainly because I think he misunderstood me. His writeup WAS fantastic, though, if only I can clear up my questions. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknWUlsACgkQz62J6PPcoOma7QCeJ5J+F8cy3yOtMvx/d7KANBoy jwsAn3pXPLIG/ux/uqcfUCV3ljzZeN6J =Chgb -----END PGP SIGNATURE----- From kurt.buff at gmail.com Fri Apr 3 11:19:26 2009 From: kurt.buff at gmail.com (Kurt Buff) Date: Fri Apr 3 11:19:34 2009 Subject: FreeBSD as a Business Server In-Reply-To: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> References: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> Message-ID: On Fri, Apr 3, 2009 at 10:42, Seur Bors wrote: > Greetings, > > I am recommending a FreeBSD solution to replace an old business "file > server". ?The old server is running Windows 2000 Professional, and the > company has grown from the 5 employee setting to now two floors and > approximately 15 - 20 people. ?They were starting to get connection errors > to the Win2K machine, as I believe, without the Server version of the > software, file sharing and maps are severely limited. > > Anyways, my question is thus: ?In setting up a FreeBSD machine and utilizing > Samba to support "standard" file sharing, is there any caveats or issues > that anyone perceives? ?I've done multiple FreeBSD installations, and > utilize the Samba package to provide file sharing support in other small > businesses, but have not had to consider 20 connections at once. ?The > network connection is just a simple router to switch, all gigabit, and the > system I'm recommending to use as a server also has dual gigabit network > ports. > > As well, if anyone has any web-links to recommended reading, I would greatly > appreciate them. Replacing Win2k (especially the Pro version) with FreeBSD on the same hardware will give you a boost right there. If you have newer or more capable hardware as well, you should be well ahead of the game. http://www.samba.org is your best bet for reading. Pick your country, then on the left side of the main page is a section called 'learn samba' - the 'Official HOWTO' and the 'By Example' links should provide all you need. Kurt From amvandemore at gmail.com Fri Apr 3 11:24:01 2009 From: amvandemore at gmail.com (Adam Vandemore) Date: Fri Apr 3 11:24:07 2009 Subject: FreeBSD as a Business Server In-Reply-To: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> References: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> Message-ID: <49D6543F.8000007@gmail.com> Seur Bors wrote: > Greetings, > > I am recommending a FreeBSD solution to replace an old business "file > server". The old server is running Windows 2000 Professional, and the > company has grown from the 5 employee setting to now two floors and > approximately 15 - 20 people. They were starting to get connection errors > to the Win2K machine, as I believe, without the Server version of the > software, file sharing and maps are severely limited. > > Anyways, my question is thus: In setting up a FreeBSD machine and utilizing > Samba to support "standard" file sharing, is there any caveats or issues > that anyone perceives? I've done multiple FreeBSD installations, and > utilize the Samba package to provide file sharing support in other small > businesses, but have not had to consider 20 connections at once. The > network connection is just a simple router to switch, all gigabit, and the > system I'm recommending to use as a server also has dual gigabit network > ports. > > As well, if anyone has any web-links to recommended reading, I would greatly > appreciate them. > > Regards, > > Seur Bors > Legate Commander > Knights Of The Old Code > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > Well there's a lot of info that would be needed to a well reasoned "Yes, you can", but the short version is it shouldn't be an issue under normal office-like usage. Going from 5 to 20 connections in such a scenario is negligible. Samba system-agnostic tutorials are good sources of info, but best advice is probably to use info provided by their official documentation and mailing list. Also, I have fbsd systems running samba with 20+ connections under what I consider normal office environment with absolutely no issues except I can't figure out how to get XP to save persistent login password. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 From claudiu.vasadi at gmail.com Fri Apr 3 11:43:23 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Fri Apr 3 11:43:30 2009 Subject: FreeBSD as a Business Server In-Reply-To: <49D6581C.4000300@gmail.com> References: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> <49D6543F.8000007@gmail.com> <49D6581C.4000300@gmail.com> Message-ID: On Fri, 03 Apr 2009 21:40:28 +0300, Adam Vandemore wrote: > Vasadi I. Claudiu Florin wrote: >> >>> Also, I have fbsd systems running samba with 20+ connections under >>> what I consider normal office environment with absolutely no issues >>> except I can't figure out how to get XP to save persistent login >>> password. >>> >> >> >> You mean it asks you for a password each and every time you access a >> network share? >> >> control panel -> user accounts -> "your user" -> manage network >> passwords >> >> if list is empty just add an ip or dns with whatever usr/pass you >> desire. >> > Nice, I've only been looking for that for about 3 years(obviously not a > real high priority). > > Thanks for the tip. > :)). No worries mate, I've also searched for it for like 3 days :P (around the clock). From mikel.king at olivent.com Fri Apr 3 11:51:29 2009 From: mikel.king at olivent.com (Mikel King) Date: Fri Apr 3 11:51:35 2009 Subject: FreeBSD as a Business Server In-Reply-To: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> References: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> Message-ID: On Apr 3, 2009, at 1:42 PM, Seur Bors wrote: > Greetings, > > I am recommending a FreeBSD solution to replace an old business "file > server". The old server is running Windows 2000 Professional, and the > company has grown from the 5 employee setting to now two floors and > approximately 15 - 20 people. They were starting to get connection > errors > to the Win2K machine, as I believe, without the Server version of the > software, file sharing and maps are severely limited. > > Anyways, my question is thus: In setting up a FreeBSD machine and > utilizing > Samba to support "standard" file sharing, is there any caveats or > issues > that anyone perceives? I've done multiple FreeBSD installations, and > utilize the Samba package to provide file sharing support in other > small > businesses, but have not had to consider 20 connections at once. The > network connection is just a simple router to switch, all gigabit, > and the > system I'm recommending to use as a server also has dual gigabit > network > ports. > > As well, if anyone has any web-links to recommended reading, I would > greatly > appreciate them. > > Regards, > > Seur Bors > Legate Commander > Knights Of The Old Code The latest samba port if very robust. You should find this trivial to complete. I encourage you to go with new hardware if possible. Cheers, Mikel King CEO, Olivent Technologies Senior Editor, Daemon News Columnist, BSD Magazine 6 Alpine Court Medford, NY 11763 http://www.olivent.com http://www.daemonnews.org http://www.bsdmag.org skype: mikel.king t: 631.627.3055 m: 646.554.3660 +------------------------------------------+ Experimenting w/ Twitter follow me if you dare... http://twitter.com/mikelking +------------------------------------------+ From the.real.david.allen at gmail.com Fri Apr 3 12:11:22 2009 From: the.real.david.allen at gmail.com (David Allen) Date: Fri Apr 3 12:11:28 2009 Subject: Serial Communications Message-ID: <2daa8b4e0904031144m63e06406q977b3ea80047a1af@mail.gmail.com> Sorry to have to ask a dumb question ... I need to connect my notebook to another system using a serial connection. Simple enough, but my notebook, unsurprisingly, has a USB port, but no serial. Is there such a thing as a USB->DB9(M) null modem cable? If not, would a USB->DB9 adapter stuck on one end of a null modem cable work? Thanks! From reaper at reaper.yaroslavl.ru Fri Apr 3 12:19:43 2009 From: reaper at reaper.yaroslavl.ru (Michael Lednev) Date: Fri Apr 3 12:19:51 2009 Subject: FreeBSD as a Business Server In-Reply-To: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> References: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> Message-ID: <49D65A4A.5080905@reaper.yaroslavl.ru> Seur Bors ?????: > As well, if anyone has any web-links to recommended reading, I would greatly > appreciate them. You can try FreeNAS. It has "standard" file sharing with samba managed through web-interface and it also has many more nice features. Oh yeah, and it's FreeBSD. :) From dkelly at hiwaay.net Fri Apr 3 12:25:05 2009 From: dkelly at hiwaay.net (David Kelly) Date: Fri Apr 3 12:25:12 2009 Subject: Serial Communications In-Reply-To: <2daa8b4e0904031144m63e06406q977b3ea80047a1af@mail.gmail.com> References: <2daa8b4e0904031144m63e06406q977b3ea80047a1af@mail.gmail.com> Message-ID: <20090403192502.GA68897@Grumpy.DynDNS.org> On Fri, Apr 03, 2009 at 11:44:36AM -0700, David Allen wrote: > Sorry to have to ask a dumb question ... > > I need to connect my notebook to another system using a serial > connection. Simple enough, but my notebook, unsurprisingly, has a USB > port, but no serial. > > Is there such a thing as a USB->DB9(M) null modem cable? If not, would a > USB->DB9 adapter stuck on one end of a null modem cable work? Yes, its a smart adapter. I've had best luck using a "Keyspan High Speed USB Serial Adapter" model USA-19HS. About $31 at Amazon.com and many other places. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From claudiu.vasadi at gmail.com Fri Apr 3 12:34:15 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Fri Apr 3 12:34:21 2009 Subject: 2 -> more ftp accounts into same folder In-Reply-To: <49D64753.6080805@streamingedge.com> References: <49D64753.6080805@streamingedge.com> Message-ID: On Fri, 03 Apr 2009 20:28:51 +0300, Jacques Manukyan wrote: > This sounds like a permission issue. Each user on the sub-folders > (folder1, folder2, etc) need to be able to get into the /mnt folder > within the OS. I'm aweare of that, hence the ACL setings I forgot to mention (silly me) /mnt has ACL: # file: mnt # owner: root # group: wheel user::rwx user:ftpadmin:rwx user:programe:r-x user:programe2:r-x user:diverse:r-x user:diverse2:r-x user:muzica:r-x group::--- group:ftpgroup:rwx mask::rwx other::--- [da1@da1.ro /]# > What is the permission on the /mnt directory? Try setting it to 755 and > see if that works. It has 770 with root:wheel. But this is disregarded because of the way ACL is set. > Also, you can start pure-ftpd in debug mode to capture the actual > error. Look at the pure-ftd.conf file or add the -d option to the > daemon for debug information. > For some reason, that's evading me right now, I'm unable to see anything, althow the daemon is started with -d. Will look into it latter. From a at jenisch.at Fri Apr 3 12:39:37 2009 From: a at jenisch.at (Ewald Jenisch) Date: Fri Apr 3 12:39:44 2009 Subject: Symantec Netbackup under 7.1 - Undefined symbol In-Reply-To: References: <20090403122829.GA2201@aurora.oekb.co.at> <49D624D1.1040101@unsane.co.uk> Message-ID: <20090403193934.GA3711@aurora.oekb.co.at> On Fri, Apr 03, 2009 at 11:08:50AM -0600, Tim Judd wrote: > > This would lead me to think you need the port misc/compat5x installed. > > I havent any experience of netbackup though. > > > I agree with this statement, since it's clearly listed as it was compiled > FOR FreeBSD 5.3 > > The compatXy packages are for what I think I remember reading of kernel > system calls. I think there's a package/port for the userland utilities > too.. misc/compat5x > > However I'm a smidge confused. The option that exists in the kernel and the > misc/compat5x port -- do they accomplish the same thing, or is it really > "kernel" and "userland" peices? Hi, I've got both compat5x and compat5x installed on the machine in question: $ pkg_info -cx compat Information for compat4x-i386-5.3_9: Comment: A convenience package to install the compat4x libraries Information for compat5x-amd64-5.4.0.8_9: Comment: A convenience package to install the compat5x libraries $ In my kernel I've got the following compat-related options enabled (default): options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 Please note, that the error message posted in my original email comes from /libexec/ld-elf.so.1 -ewald From tajudd at gmail.com Fri Apr 3 12:39:55 2009 From: tajudd at gmail.com (Tim Judd) Date: Fri Apr 3 12:40:02 2009 Subject: FreeBSD as a Business Server In-Reply-To: <49D65A4A.5080905@reaper.yaroslavl.ru> References: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> <49D65A4A.5080905@reaper.yaroslavl.ru> Message-ID: On Fri, Apr 3, 2009 at 12:49 PM, Michael Lednev wrote: > Seur Bors ?????: > >> As well, if anyone has any web-links to recommended reading, I would >> greatly >> appreciate them. >> > > You can try FreeNAS. It has "standard" file sharing with samba managed > through web-interface and it also has many more nice features. > > Oh yeah, and it's FreeBSD. :) > Good points; And a previous employer was running samba on a multi-site VPN school network with 600 employees.. with a pretty high load. Biggest thing I found when I started to look into it is the fact that each client connection to the server yielded yet another PID to have the CPU work under. So a central server with 600 employees (potentially) hitting it at once would bring the system load up very fast. I saw system loads of 200-300 by use of nagios. So it would be a wonderful solution; it may peg the system load higher than one would initially expect, depending on what the fileserver actually serves (CAD files, video rendering, Access MDB files, etc) as a potential bottleneck. I'd pick 10k RPM drives...if you're using more complex files like the ones mentioned above. A fast spindle speed will send the file down the wire and releive system load (as it is logically going through my head). I've seen 10k SATA drives, but the cooling is important. FreeNAS might be a good choice, because it's a stripped down version. But I'd be concerned of system load higher than anything else for the current situation, and expansion needs later. Enjoy your weekends! From onemda at gmail.com Fri Apr 3 13:05:37 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Fri Apr 3 13:05:45 2009 Subject: Symantec Netbackup under 7.1 - Undefined symbol In-Reply-To: <20090403193934.GA3711@aurora.oekb.co.at> References: <20090403122829.GA2201@aurora.oekb.co.at> <49D624D1.1040101@unsane.co.uk> <20090403193934.GA3711@aurora.oekb.co.at> Message-ID: <3a142e750904031305g52ad3436hd65fdfa039ce3769@mail.gmail.com> On 4/3/09, Ewald Jenisch wrote: > On Fri, Apr 03, 2009 at 11:08:50AM -0600, Tim Judd wrote: > >> > This would lead me to think you need the port misc/compat5x installed. >> > I havent any experience of netbackup though. >> >> >> I agree with this statement, since it's clearly listed as it was compiled >> FOR FreeBSD 5.3 >> >> The compatXy packages are for what I think I remember reading of kernel >> system calls. I think there's a package/port for the userland utilities >> too.. misc/compat5x >> >> However I'm a smidge confused. The option that exists in the kernel and >> the >> misc/compat5x port -- do they accomplish the same thing, or is it really >> "kernel" and "userland" peices? > > Hi, > > I've got both compat5x and compat5x installed on the machine in question: > > $ pkg_info -cx compat > Information for compat4x-i386-5.3_9: > Comment: > A convenience package to install the compat4x libraries > > Information for compat5x-amd64-5.4.0.8_9: > Comment: > A convenience package to install the compat5x libraries > $ > > In my kernel I've got the following compat-related options enabled > (default): > options COMPAT_FREEBSD4 # Compatible with FreeBSD4 > options COMPAT_FREEBSD5 # Compatible with FreeBSD5 > options COMPAT_FREEBSD6 # Compatible with FreeBSD6 > > Please note, that the error message posted in my original email comes > from /libexec/ld-elf.so.1 With ldd(1) you could check on what libraries it depends, alternatively you could try LD_PRELOAD with your own written lib specially designed to workaround this problem(in theory). -- Paul From keramida at ceid.upatras.gr Fri Apr 3 13:11:40 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri Apr 3 13:11:46 2009 Subject: going from cvs to svnq In-Reply-To: <49D64FDD.8070105@telenix.org> (Chuck Robey's message of "Fri, 03 Apr 2009 14:05:17 -0400") References: <49D27B25.80003@telenix.org> <49D2CEF9.9030304@telenix.org> <87k5637ojm.fsf@kobe.laptop> <49D64FDD.8070105@telenix.org> Message-ID: <87tz55wl8n.fsf@kobe.laptop> On Fri, 03 Apr 2009 14:05:17 -0400, Chuck Robey wrote: > Giorgos Keramidas wrote: >> On Tue, 31 Mar 2009 22:18:33 -0400, Chuck Robey wrote: >>> What I don't know is, I use cvsup all the time, but when I switch to >>> svn, what does the "cvsup" job of tracking an archive (not tracking >>> the sources, I mean the archive)? Does svn do it all itself? If so, >>> I can find out how, I just want to know if that's how its done. If >>> not, what's the general tool used to track the freebsd archive, so I >>> can investigate it? >> >> Hi Chunk, Writing when sleepy does that. I'm sorry :-/ > The ONLY thing I want to get out of this is the cvsup-like capability > (which I've been using now for 8 years) to update my entire archive > (svn now, no longer cvs). Again, emphasizing, it's NOT just a > checkout, and tags/branches have no meaning at this level. Something > like trying to buy chapter 8 of a book: when you buy the book, you get > ALL the chapters. When you get the archive, you get ALL the > tags/branches. That's what 'svnsync' would get you. An entire mirror of the full Subversion repository. > I *think* maybe you said that svnsync can do this? I can't find any > machine IP that is to be used with subversion ... will something like > cvsup2.us.freebsd.org do for svnsync? Will svnsync's protocol get me > the svn archive? I don't want the cvs archive, so could you help me > understand how that's selected in this instance? No, as far as I know there is currently only *one* server who hosts a publicly visible copy of the repository. The server is: svn.freebsd.org and you would have to pull changes from that server, using svnsync. > Beyond that, you emphasized that it can't get only a part of an > archive. I'm guessing you were referring to grabbing only ports, as > against both ports and src? There is no subversion repository for ports, doc or www. Only the 'src' repository has switched to Subversion so far. So if you want doc/, ports/ or www/ you will have to keep using CVsup to grab repository copies for them. From vince at unsane.co.uk Fri Apr 3 14:15:54 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Fri Apr 3 14:16:01 2009 Subject: Symantec Netbackup under 7.1 - Undefined symbol In-Reply-To: <20090403193934.GA3711@aurora.oekb.co.at> References: <20090403122829.GA2201@aurora.oekb.co.at> <49D624D1.1040101@unsane.co.uk> <20090403193934.GA3711@aurora.oekb.co.at> Message-ID: <49D67C86.80101@unsane.co.uk> On 3/4/09 20:39, Ewald Jenisch wrote: > On Fri, Apr 03, 2009 at 11:08:50AM -0600, Tim Judd wrote: > > >>> This would lead me to think you need the port misc/compat5x installed. >>> I havent any experience of netbackup though. >>> >> I agree with this statement, since it's clearly listed as it was compiled >> FOR FreeBSD 5.3 >> >> The compatXy packages are for what I think I remember reading of kernel >> system calls. I think there's a package/port for the userland utilities >> too.. misc/compat5x >> >> However I'm a smidge confused. The option that exists in the kernel and the >> misc/compat5x port -- do they accomplish the same thing, or is it really >> "kernel" and "userland" peices? >> > > The kernel options provide kernel level compatability, the port gives library (userland) compatability, dynamicly linked apps will need the librarys. > Hi, > > I've got both compat5x and compat5x installed on the machine in question: > > $ pkg_info -cx compat > Information for compat4x-i386-5.3_9: > Comment: > A convenience package to install the compat4x libraries > > Information for compat5x-amd64-5.4.0.8_9: > Comment: > A convenience package to install the compat5x libraries > $ > > In my kernel I've got the following compat-related options enabled (default): > options COMPAT_FREEBSD4 # Compatible with FreeBSD4 > options COMPAT_FREEBSD5 # Compatible with FreeBSD5 > options COMPAT_FREEBSD6 # Compatible with FreeBSD6 > > Please note, that the error message posted in my original email comes > from /libexec/ld-elf.so.1 > > -ewald > Fair point, I had a bit more of a think, I'd now guess that it looks like a 32/64 bit problem, its a 32bit binary on a 64 bit system and its /libexec/ld-elf.so.1 complaining not /libexec/ld-elf32.so.1 whch is odd. do you have the lib32 compat stuff installed, does /libexec/ld-elf32.so.1 exist on your system? if not you can add it via sysinstall -> configure -> Distributions -> lib32. Vince From wojtek at wojtek.tensor.gdynia.pl Fri Apr 3 16:06:02 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Apr 3 16:06:09 2009 Subject: FreeBSD as a Business Server In-Reply-To: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> References: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> Message-ID: > Samba to support "standard" file sharing, is there any caveats or issues > that anyone perceives? I've done multiple FreeBSD installations, and if you use windoze XP or newer and some multiuser programs like accounting etc. you will have to use veto oplock files man smb.conf for details From wojtek at wojtek.tensor.gdynia.pl Fri Apr 3 16:08:03 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Apr 3 16:08:10 2009 Subject: FreeBSD as a Business Server In-Reply-To: References: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> Message-ID: > > The latest samba port if very robust. You should find this trivial to > complete. I encourage you to go with new hardware if possible. > i use Pentium III 500Mhz, 384 MB ram as file serwer (samba) for 12 clients, and mail serwer, VoIP PBX and few less important things. works quick without problems. From wblock at wonkity.com Fri Apr 3 16:27:14 2009 From: wblock at wonkity.com (Warren Block) Date: Fri Apr 3 16:27:24 2009 Subject: Recovering partitions from disk image? In-Reply-To: <22872988.post@talk.nabble.com> References: <22862006.post@talk.nabble.com> <22872988.post@talk.nabble.com> Message-ID: On Fri, 3 Apr 2009, snott wrote: > Update: I figured out how to get scan_ffs to read a file by looking at the > program source (if it starts with / then it considers it a regular file to > read instead of a device) and got the following results which matches well > with the TestDisk output. > > $ scan_ffs -s /recovery/disk0.img > ufs1 at 1087 size 2621440 mount / time Wed Dec 31 16:00:00 1969 > ufs1 at 10486847 size 5242880 mount /var time Wed Dec 31 16:00:00 1969 > ufs1 at 31458367 size 5242880 mount /usr/home time Wed Dec 31 16:00:00 1969 > ufs1 at 54525634 size 46680873 mount /mnt time Wed Dec 31 16:00:00 1969 > > Looks about right compared to the df output I had from that host: > > Filesystem Size Used Avail Capacity Mounted on > /dev/twed0s1a 4.9G 2.8G 1.7G 62% / > /dev/twed0s1e 9.8G 5.0G 4.0G 56% /var > /dev/twed0s1f 9.8G 952M 8.1G 10% /usr/home > /dev/twed0s2e 88G 15G 65G 19% /mnt > > So, what can I do with those numbers? It doesn't look like there's any > valid MBR or disklabel on this disk image. Can I extract these filesystems > one at a time from the image and mount them somehow? Looks like scan_ffs is reporting block size. I'd take a spare computer with a blank disk and do a minimal FreeBSD install on it, setting the units to blocks in the partition screen and duplicating the values given by scan_ffs. Then connect your read-only image media and dd to each partition, using dd's skip option to skip over previous partition data. Daring users (i.e., those who are sure they won't confuse source with target) might install a blank drive in a live machine and use fdisk, bsdlabel, and dd from there. -Warren Block * Rapid City, South Dakota USA From anujhere at gmail.com Fri Apr 3 16:40:43 2009 From: anujhere at gmail.com (Anuj Singh) Date: Fri Apr 3 16:40:52 2009 Subject: mac arp moved from-to DOS? Message-ID: <3120c9e30904031611l668e27f6vaf5ff6be15510f47@mail.gmail.com> Hi, FreeBSD fbsd1.com 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 uptime 4:33AM up 3 days, 33 mins, 6 users, load averages: 4.15, 4.13, 4.16 I faced a problem on my server, and it stopped responding on network. After logging in to the server I found services running normal as usual. I have following in my logs 4 03:23:19 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0 Apr 4 03:23:19 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0 Apr 4 03:24:03 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0 Apr 4 03:24:03 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0 Apr 4 03:24:20 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0 Apr 4 03:24:20 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0 Apr 4 03:24:23 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0 Apr 4 03:24:23 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0 Apr 4 03:24:42 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0 Apr 4 03:24:42 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0 Apr 4 03:24:46 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0 Apr 4 03:24:46 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0 Apr 4 03:25:43 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0 Apr 4 03:25:43 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0 Apr 4 03:25:56 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0 Apr 4 03:25:56 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0 Apr 4 03:33:55 fbsd7 login: ROOT LOGIN (root) ON ttyv1 Apr 4 03:34:14 fbsd7 login: ROOT LOGIN (root) ON ttyv2 Apr 4 03:34:36 fbsd7 kernel: age0: interrupt moderation is 100 us. Apr 4 03:34:36 fbsd7 kernel: age0: link state changed to DOWN Apr 4 03:34:40 fbsd7 kernel: age0: link state changed to UP Apr 4 03:34:43 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0 Apr 4 03:34:43 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0 Apr 4 03:34:45 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d to 00:22:19:ae:ea:0f on age0 Apr 4 03:34:45 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0 10.139.7.15 is some windows machine... is it a DOS? After restarting the network service FreeBSD startet responding to the network... In above log i logged in to the system, ROOT LOGIN (root) ON ttyv1 and i can see same messages of kernel arp in my messages, means machine was on network (cause i have arp logs of the time when machine was not responding)..... Any idea? Thanks & Regards Anuj Singh From skye at f4.ca Fri Apr 3 16:47:02 2009 From: skye at f4.ca (snott) Date: Fri Apr 3 16:47:09 2009 Subject: Recovering partitions from disk image? In-Reply-To: References: <22862006.post@talk.nabble.com> <22872988.post@talk.nabble.com> Message-ID: <22878294.post@talk.nabble.com> Warren Block wrote: > > Looks like scan_ffs is reporting block size. I'd take a spare computer > with a blank disk and do a minimal FreeBSD install on it, setting the > units to blocks in the partition screen and duplicating the values given > by scan_ffs. Then connect your read-only image media and dd to each > partition, using dd's skip option to skip over previous partition data. > OK, I can see how that would work. I don't really have a spare computer/drive to muck around with though, at least not easily. If I can work directly on the disk image that would be much better. Could I fix the bsdlabel on the disk.img and mount it with mdconfig? I noticed scan_ffs can output a bsdlabel config file. Something like: # scan_ffs -sl disk.img > disk.label # bsdlabel -w -f disk.img auto # write a fresh default label # bsdlabel -e -f disk.img # and load in scan_ffs output # mdconfig -a -t vnode -f disk.img -u 0 If that looks like it might work, should I fsck the disk image before or after mounting with mdconfig or not at all? Do I risk kernel panic without fsck? Thanks, Skye -- View this message in context: http://www.nabble.com/Recovering-partitions-from-disk-image--tp22862006p22878294.html Sent from the freebsd-questions mailing list archive at Nabble.com. From jhall at socket.net Fri Apr 3 17:26:23 2009 From: jhall at socket.net (jhall@socket.net) Date: Fri Apr 3 17:26:30 2009 Subject: Ultrium 920 Autoloader Question Message-ID: <20090404001118.302C4A901F@mf3.socket.net> If this is a double post, please excuse me. I just realized I sent my initial question to the wrong address. Today, I received my Ultrium 1/8 920 autoloader. I just realized the tape drive can be assigned an IP address so it can be backed up to over the network. And, I would like to explore this before taking the time to install the SCSI card. Is this something I can do from the command line with FreeBSD, or am I better off using software such as AMANDA or Bacula? Thanks, Jay From jerrymc at msu.edu Fri Apr 3 17:35:12 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Fri Apr 3 17:35:18 2009 Subject: Ultrium 920 Autoloader Question In-Reply-To: <20090404001118.302C4A901F@mf3.socket.net> References: <20090404001118.302C4A901F@mf3.socket.net> Message-ID: <20090404003029.GA10913@gizmo.acns.msu.edu> On Fri, Apr 03, 2009 at 07:11:18PM -0500, jhall@socket.net wrote: > If this is a double post, please excuse me. I just realized I sent my > initial question to the wrong address. > > Today, I received my Ultrium 1/8 920 autoloader. I just realized the tape > drive can be assigned an IP address so it can be backed up to over the > network. And, I would like to explore this before taking the time to > install the SCSI card. > > Is this something I can do from the command line with FreeBSD, or am I > better off using software such as AMANDA or Bacula? Depends a little on what sort of software is on the tape drive. But, probably you can either use dump(8)/restore(8) or tar with no problem. They can dump/restore to/from remote devices/files. I have done it on some systems, though it has been a while since the last time because my hardware has changed. Dump/restore can be rather sensitive to version and host OS. ////jerry > > Thanks, > > > Jay > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From cmatthews718 at live.com Fri Apr 3 17:57:06 2009 From: cmatthews718 at live.com (Craig Matthews) Date: Fri Apr 3 17:57:15 2009 Subject: Ultrium 920 Autoloader Question In-Reply-To: <20090404001118.302C4A901F@mf3.socket.net> References: <20090404001118.302C4A901F@mf3.socket.net> Message-ID: Is this the HP StorageWorks 1/8 G2? I apologize if you've already checked this out, but it was my understanding that the NIC equipped on this device is for web based management of the device and that backup occurs over a normal storage interface such as SCSI. Craig Matthews IT Professional, Tampa Bay Area cmatthews718@live.com -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of jhall@socket.net Sent: Friday, April 03, 2009 8:11 PM To: freebsd-questions@freebsd.org Subject: Ultrium 920 Autoloader Question If this is a double post, please excuse me. I just realized I sent my initial question to the wrong address. Today, I received my Ultrium 1/8 920 autoloader. I just realized the tape drive can be assigned an IP address so it can be backed up to over the network. And, I would like to explore this before taking the time to install the SCSI card. Is this something I can do from the command line with FreeBSD, or am I better off using software such as AMANDA or Bacula? Thanks, Jay _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From tom at shockergroup.com Fri Apr 3 17:59:14 2009 From: tom at shockergroup.com (Tom Ierna) Date: Fri Apr 3 17:59:22 2009 Subject: mac arp moved from-to DOS? In-Reply-To: <3120c9e30904031611l668e27f6vaf5ff6be15510f47@mail.gmail.com> References: <3120c9e30904031611l668e27f6vaf5ff6be15510f47@mail.gmail.com> Message-ID: <2270680C-DB97-4291-95F0-73FFE436B636@shockergroup.com> On Apr 3, 2009, at 7:11 PM, Anuj Singh wrote: > 4 03:23:19 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d > to 00:22:19:ae:ea:0f on age0 > Apr 4 03:23:19 fbsd7 kernel: arp: 10.139.7.15 moved from > 00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0 > > 10.139.7.15 is some windows machine... Does this Windows machine have two Ethernet cards plugged into the same network? It looks like your FreeBSD machine is seeing that IP address switch between two MAC addresses. This can be indicative of a network loop between the interfaces on the machine with that IP address, or a DHCP client fight. I've also seen this (harmlessly) manifest with certain FreeBSD firewalls in bridged mode. -Tom From anujhere at gmail.com Fri Apr 3 18:45:43 2009 From: anujhere at gmail.com (Anuj Singh) Date: Fri Apr 3 18:45:50 2009 Subject: mac arp moved from-to DOS? In-Reply-To: <2270680C-DB97-4291-95F0-73FFE436B636@shockergroup.com> References: <3120c9e30904031611l668e27f6vaf5ff6be15510f47@mail.gmail.com> <2270680C-DB97-4291-95F0-73FFE436B636@shockergroup.com> Message-ID: <3120c9e30904031845i3d91fd70k539019267ce9e053@mail.gmail.com> I am trying to find out the cause of no reply from the freebsd machine, and why did it responded after restarting the network services? The machine with 10.139.7.15 is some windows machine in network. So logs which i have here can not cause FreeBSD machine to stop responding to the network traffic? what can be other causes on the OS level? Another thing I want to ask whether the default values of kernel parameters are good enough for production level server, or we can make some other changes to it. Currently I am running clamav--->c-icap---->squid--->dansgurdain on this server.. since last few weeks I never faced such problem..and don't want to follow the alt+ctrl+del=widows methods of restarting server or any service Thanks & Regards Anuj Singh On 4/3/09, Tom Ierna wrote: > On Apr 3, 2009, at 7:11 PM, Anuj Singh wrote: >> 4 03:23:19 fbsd7 kernel: arp: 10.139.7.15 moved from 00:22:19:ae:ea:0d >> to 00:22:19:ae:ea:0f on age0 >> Apr 4 03:23:19 fbsd7 kernel: arp: 10.139.7.15 moved from >> 00:22:19:ae:ea:0f to 00:22:19:ae:ea:0d on age0 >> >> 10.139.7.15 is some windows machine... > > > Does this Windows machine have two Ethernet cards plugged into the > same network? > > It looks like your FreeBSD machine is seeing that IP address switch > between two MAC addresses. > > This can be indicative of a network loop between the interfaces on the > machine with that IP address, or a DHCP client fight. > > I've also seen this (harmlessly) manifest with certain FreeBSD > firewalls in bridged mode. > > -Tom > > From jhall at socket.net Fri Apr 3 19:19:38 2009 From: jhall at socket.net (jhall@socket.net) Date: Fri Apr 3 19:19:45 2009 Subject: Ultrium 920 Autoloader Question References: <20090404001118.302C4A901F@mf3.socket.net> <20090404003029.GA10913@gizmo.acns.msu.edu> Message-ID: <20090404021937.0FA9EA902B@mf3.socket.net> > Depends a little on what sort of software is on the tape drive. > But, probably you can either use dump(8)/restore(8) or tar with > no problem. They can dump/restore to/from remote devices/files. > No software on the drive. Jay From frederique at isafeelin.org Sat Apr 4 01:26:15 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Sat Apr 4 01:26:22 2009 Subject: FreeBSD as a Business Server In-Reply-To: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> References: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> Message-ID: <49D719A4.8040101@isafeelin.org> Seur Bors wrote: > As well, if anyone has any web-links to recommended reading, I would greatly > appreciate them. > Samba3 performs excellend nowadays. You should have no trouble at all serving 20 workers. In my setup (7.1-release/amd64/dual x2 3800 amd cpu/gigabit) smb generates only 3-5% cpu load when reading at 50MB/sec. I would also recommend running swat (zee /etc/inetd.conf), it can really help creating a nice and tailored smb.conf file for you via a webinterface. I believe that samba3 can even give you Active Directory features and Roaming Profiles, but I haven't looked into that. Samba as fileserver is enough for me. -- Frederique From wojtek at wojtek.tensor.gdynia.pl Sat Apr 4 02:15:04 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Apr 4 02:15:15 2009 Subject: FreeBSD as a Business Server In-Reply-To: <49D719A4.8040101@isafeelin.org> References: <26b281ee0904031042g754096d1k13d016b88d653cb8@mail.gmail.com> <49D719A4.8040101@isafeelin.org> Message-ID: > > Samba3 performs excellend nowadays. You should have no trouble at all serving > 20 workers. In my setup (7.1-release/amd64/dual x2 3800 amd cpu/gigabit) smb > generates only 3-5% cpu load when reading at 50MB/sec. below 10% CPU when reading 8MB/s through fast ethernet link on PIII/500 > > I would also recommend running swat (zee /etc/inetd.conf), it can really help > creating a nice and tailored smb.conf file for you via a webinterface. i would rather recommend man smb.conf From luvbeastie at larseighner.com Sat Apr 4 03:58:50 2009 From: luvbeastie at larseighner.com (Lars Eighner) Date: Sat Apr 4 03:58:57 2009 Subject: Umass and Olympus D-540 Message-ID: <20090404055254.G1016@qroenaqrq.6qbyyneqvnyhc.pbz> Umass used to mount my Olypus D-540 as a da device. Now (7.1) it won't. Can someone tell me what the latest version was that still had this functionality (i.e. how far back I have to try to downgrade). -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From cyberleo at cyberleo.net Sat Apr 4 04:10:56 2009 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Sat Apr 4 04:11:04 2009 Subject: msk0: watchdog timeout (missed Tx interrupts) In-Reply-To: References: Message-ID: <49D7403E.9010802@cyberleo.net> Fred wrote: > Hi, > > I recently upgraded from 6.3 to 7.1 (7.1-RELEASE-p4) with freebsd-update, > and I now have problems with msk0 very often (which I did have before) : > > Mar 30 20:14:19 blackbox kernel: msk0: watchdog timeout (missed Tx > interrupts) -- recovering > Mar 30 20:14:58 blackbox kernel: msk0: watchdog timeout (missed Tx > interrupts) -- recovering > ... > > which lead to not being able to access the net at all. > I saw some people had this issue at different version of fbsd etc, due to > some issue of the nic itself that had to be workaround, so I tried > some early source code for msk : > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/msk/?only_with_tag=RELENG_7 > > but I still have this issue (I make buildkernel, installkernel; at first I > only compiled > the module, but it seems that in 7.3 it's in the kernel itself so that the > module won't load) > > Here is some info from dmesg about my nic: > > mskc0: port 0x7c00-0x7cff mem > 0xfddfc000-0xfddfffff irq 17 at device 0.0 on pci3 > msk0: on mskc0 > msk0: Ethernet address: 00:50:43:00:45:3e > miibus0: on msk0 > mskc0: [FILTER] > > Thanks for you help, this issue is really painful, I have witnessed this same issue on an Intel Mac Mini, after a few gigabytes of network transfer. The workaround I found was to disable MSI. If I remember my testing correctly, I tested this fix in 7.1, then reinstalled FreeNAS (6.4) to try it there. mskc0: port 0x1000-0x10ff mem 0x90200000-0x90203fff irq 16 at device 0.0 on pci1 mskc0: Unexpected number of MSI messages : 0 msk0: on mskc0 msk0: Ethernet address: 00:16:cb:b0:d6:62 miibus0: on msk0 e1000phy0: on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto mskc0: [FAST] /boot/loader.conf: hw.pci.enable_msi=0 hw.pci.enable_msix=0 uname -a: FreeBSD freenas.cyberleo.net 6.4-RC2 FreeBSD 6.4-RC2 #0: Fri Nov 7 17:30:32 UTC 2008 root@vmbsd64i386:/usr/obj/freenas/usr/src/sys/FREENAS-i386 i386 Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From admin at asarian-host.net Sat Apr 4 05:01:07 2009 From: admin at asarian-host.net (Mark) Date: Sat Apr 4 05:01:16 2009 Subject: How to 'unbreak' re2c port? In-Reply-To: <200904021226.n32CQm8n029318@asarian-host.net> References: <200904021226.n32CQm8n029318@asarian-host.net> Message-ID: <200904041142.n34BgF1p054328@asarian-host.net> Anyone? Anyone? Bueller? Bueller? -----Original Message----- From: Mark [mailto:admin@asarian-host.net] Sent: donderdag 2 april 2009 14:27 To: freebsd-questions@freebsd.org Subject: How to 'unbreak' re2c port? Okay, I just upgraded to gcc44 in order to fix what I thought was a compilation issue with re2c plus a gcc 2.95 compiler. However, gcc44 *still* trips over it! Same deal (see below). So, has ANYONE been able to compile this port at all? Thanks. - Mark ==> Building for re2c-0.13.5 make all-am source='code.cc' object='code.o' libtool=no DEPDIR=.deps depmode=gcc /bin/sh .../depcomp c++ -DHAVE_CONFIG_H -I. -O -pipe -c -o code.o code.cc In file included from globals.h:9, from code.cc:11: stream_lc.h:18: syntax error before `<' stream_lc.h:29: syntax error before `;' stream_lc.h:31: syntax error before `<' stream_lc.h:42: destructors must be member functions stream_lc.h:42: virtual outside class declaration stream_lc.h: In function `void basic_null_stream()': stream_lc.h:42: confused by earlier errors, bailing out cpp0: output pipe has been closed *** Error code 1 Stop in /usr/ports/devel/re2c/work/re2c-0.13.5. *** Error code 1 Stop in /usr/ports/devel/re2c/work/re2c-0.13.5. *** Error code 1 Stop in /usr/ports/devel/re2c. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From leslie at eskk.nu Sat Apr 4 06:11:35 2009 From: leslie at eskk.nu (Leslie Jensen) Date: Sat Apr 4 06:11:43 2009 Subject: Error after updating Perl Message-ID: <49D75C83.9040807@eskk.nu> I updated Perl and it went ok. But when I want to rebuild the ports depending on perl I get the error below. portmaster -o lang/perl5.10 lang/perl5.8 ===> Cleaning for perl-5.10.0_1 ===>>> Updating package dependency entry for each dependent port ===>>> Delete perl-5.8.9.tar.bz2? [n] y ===>>> Delete BSDPAN-5.8.9_20090303.tar.bz2? [n] y ===>>> Delete defined-or-5.8.9.bz2? [n] y ===>>> Delete old and new distfiles for lang/perl5.8 without prompting? [n] y ===>>> Upgrade of perl-5.8.9_2 to perl-5.10.0_1 complete :portmaster -r perl\* ===>>> No ORIGIN in /var/db/pkg/perl-5.10.0_1/+CONTENTS:@comment ORIGIN:lang/per l5.10 /var/db/pkg/perltidy-20071205/+CONTENTS:@comment ORIGIN:devel/perltidy/+CO NTENTS ===>>> Aborting update I've been looking in the +CONTENTS files for perl and perltidy, but it's not obvious to me where the error is. Does anyone have an idea on what I should do? Thanks /Leslie From cwhiteh at onetel.com Sat Apr 4 07:13:25 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sat Apr 4 07:13:31 2009 Subject: new package system proposal Message-ID: <49D76B02.4060201@onetel.com> Hi all I was thinking about the waste of energy and time involved in lots of people around the world all compiling the same code such as openoffice, firefox, kde etc and wondering how the package system could be improved. Ports is rightly a flagship element of FreeBSD. The benefit is configureability and consistency. The obvious downside is it takes so long to update a desktop machine with a normal set of ports installed, particularly lower spec hardware or laptops. pkg_add somewhat addresses this but it doesn't work quite as well as ports because of possible version mismatches. The suggestion below is not aimed at servers because they have completely different requirements. My suggestion is to start with a ports tree that is fixed in time. Make that ports tree available as part of this package system and compile a typical desktop set of ports, particularly choosing ones which are large or have many dependencies. When it is all complete release it and start again. Surely quite a wide selection of desktops, wm's and apps could be compiled in a couple of weeks? Modify pkg_add so that it can be told to use this 'snapshot' including downloading the fixed ports tree that was used. Some benefits to this system are - much easier for lower power or laptop users to keep their desktop machine up to date - problems with particular ports can be centrally fixed by knowledgeable people, possibly reducing time on lists. - reduced energy use for everyone. - the ports system is still available for those who do want to change the config options - ports which are not included in the snapshot are still available - since this system has already provided the larger ports as packages, the remaining ones would be less onerous to install - ports that are installed with make install would maintain compatibility with the other installed packages. - don't need to mess with portupgrade etc. - it could (I think) be fitted fairly well into the existing package building process. - it generally increases the useability of FreeBSD as a desktop system. I think this could work because I think the default config options are probably suitable for most desktop users so it wouldn't be necessary to create loads of different binaries for the same port, and security considerations are not so important as for server admins. I would probably limit it to i386 architecture initially as that is probably by far the most common desktop system. It might be possible to distribute the actual compiling to users with spare cpu cycles, a bit like the SETI@home projects etc. Chris From leslie at eskk.nu Sat Apr 4 07:19:37 2009 From: leslie at eskk.nu (Leslie Jensen) Date: Sat Apr 4 07:19:44 2009 Subject: Error after updating Perl..Not fixed, but portupgrade can build! In-Reply-To: <49D75C83.9040807@eskk.nu> References: <49D75C83.9040807@eskk.nu> Message-ID: <49D76C75.2090803@eskk.nu> > > :portmaster -r perl\* > > > ===>>> No ORIGIN in /var/db/pkg/perl-5.10.0_1/+CONTENTS:@comment > ORIGIN:lang/per > l5.10 /var/db/pkg/perltidy-20071205/+CONTENTS:@comment > ORIGIN:devel/perltidy/+CO > NTENTS > ===>>> Aborting update > > > > > I've been looking in the +CONTENTS files for perl and perltidy, but it's > not obvious to me where the error is. > > Does anyone have an idea on what I should do? > > > Thanks > > /Leslie > The command portupgrade -fr perl Does not produce the error! /Leslie From claudiu.vasadi at gmail.com Sat Apr 4 07:33:36 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Sat Apr 4 07:33:45 2009 Subject: How to 'unbreak' re2c port? In-Reply-To: <200904041142.n34BgF1p054328@asarian-host.net> References: <200904021226.n32CQm8n029318@asarian-host.net> <200904041142.n34BgF1p054328@asarian-host.net> Message-ID: Maybe you will be dissapointed in this but I was able to build and install the port with no errors FreeBSD-7.1-STABLE gcc 4.2.1 20070719 Intel p4 2.66 GHz asus p4p800-x 1gb DDR1 1 WD 120 SATA2 1 x Samsung SP80GB this is my make.conf: # PERL PERL_VER=5.8.8 PERL_VERSION=5.8.8 # No Sendmail (use Postfix) sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" # Compile options CFLAGS= -O2 -pipe # Compare before install INSTALL= install -c # Do NOT build these kernel modules (ever) WITHOUT_MODULES= # added by use.perl 2009-03-05 01:56:36 PERL_VER=5.8.9 PERL_VERSION=5.8.9 what's your make.conf ? From freebsd at edvax.de Sat Apr 4 08:04:15 2009 From: freebsd at edvax.de (Polytropon) Date: Sat Apr 4 08:04:23 2009 Subject: new package system proposal In-Reply-To: <49D76B02.4060201@onetel.com> References: <49D76B02.4060201@onetel.com> Message-ID: <20090404170401.c0f0bce0.freebsd@edvax.de> Compiling applications in general will lead you into one main problem: Many ports have different options that need to be set at compile time. For a set of n options, 2^n packages would be created, if I consider the WITH_SOMETHING options only. One example is mplayer. Its various options select which codecs to include or if / if not to build with mencoder. In regards of different national law, it may even be prohibited to include a several codec, so it needs to be installed afterwards manually. Another example is (you mentioned it) OpenOffice. In the past, I was happy to do # pkg_add -r de-openoffice or something similar. Today, I'm happy that someone put a precompiled package of OpenOffice online and announced it on the de- mailing list. The topic internationalization comes into mind here. I'm not sure how OpenOffice decides which language to use, maybe this is to be set at compile time, too. (Side note: I prefer good english language in my programs instead of poor german translation which is quite bad. OpenOffice, and in the past StarOffice, is the only exception for me.) As you see, I am a big fan of pkg_add, but it doesn't work in every case. On Sat, 04 Apr 2009 15:13:22 +0100, Chris Whitehouse wrote: > Ports is rightly a flagship element of FreeBSD. The benefit is > configureability and consistency. The obvious downside is it takes so > long to update a desktop machine with a normal set of ports installed, > particularly lower spec hardware or laptops. > > pkg_add somewhat addresses this but it doesn't work quite as well as > ports because of possible version mismatches. It's always good to use an "integrated tool" such as portupgrade or portmaster to get rid of such problems (like pkgdb -aF). It allows automating the updating process, but as you know, something can happen and the update stops during the night. > Modify pkg_add so that it can be told to use this 'snapshot' including > downloading the fixed ports tree that was used. You can tell pkg_add to get packages from a completely differnent place, this doesn't need a modification of this system's program itself. But a kind of "wrapper" would help here. > Some benefits to this system are > [...] > - don't need to mess with portupgrade etc. I always felt that tools like portupgrade make things easier, not messier, but I'm oldfashioned, so don't give anything on my very individual opinion. :-) > - it generally increases the useability of FreeBSD as a desktop system. Well, when we're talking about desktop systems, there are the both two big philosophies: (a) install it once, use it then (b) always upgrade There are (reasonable) needs for both concepts, and they may even mix. Thinking about the problems / difficulties that came up with the recent X.org update, my X is still in (a) state. :-) > I think this could work because I think the default config options are > probably suitable for most desktop users so it wouldn't be necessary to > create loads of different binaries for the same port, [...] I may disagree and bring (only) one example: mplayer. Reason: codecs. Most users I know who dislike compiling always take the time to get the maximum out of mplayer, and this cannot be achieved using pkg_add. > [...] and security > considerations are not so important as for server admins. Don't say that. An incorrectly administrated desktop can develop into a massive threat to others on the Internet. Do you know that most spam, data espionage, malware, viruses etc. are distributed by home PCs (even if they are placed in a company's network)? > It might be possible to distribute the actual compiling to users with > spare cpu cycles, a bit like the SETI@home projects etc. I'll reserve some spare cycles for you with my for(;;); program. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From m.seaman at infracaninophile.co.uk Sat Apr 4 09:24:41 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Apr 4 09:24:49 2009 Subject: new package system proposal In-Reply-To: <20090404170401.c0f0bce0.freebsd@edvax.de> References: <49D76B02.4060201@onetel.com> <20090404170401.c0f0bce0.freebsd@edvax.de> Message-ID: <49D789BD.7020103@infracaninophile.co.uk> Polytropon wrote: > Compiling applications in general will lead you into one > main problem: Many ports have different options that need > to be set at compile time. For a set of n options, 2^n > packages would be created, if I consider the WITH_SOMETHING > options only. > One example is mplayer. Its various options select which > codecs to include or if / if not to build with mencoder. > In regards of different national law, it may even be > prohibited to include a several codec, so it needs to > be installed afterwards manually. > > Another example is (you mentioned it) OpenOffice. In the > past, I was happy to do > > # pkg_add -r de-openoffice > > or something similar. Today, I'm happy that someone put > a precompiled package of OpenOffice online and announced > it on the de- mailing list. Hmmm... I was thinking about this the other day. There are two classes of behaviour where OPTIONS functionality could be passed down to the compiled pkg level. The first is where choosing an option /only/ affects the dependency tree for a package. The phpMyAdmin port I maintain is like this: by setting OPTIONS you can avoid installing some php modules -- the phpMyAdmin code automatically detects the presence or absence of those modules and does the right thing automatically. Adding an interactive options menu to provide the same functionality when installing from packages seems to me to be do-able, although I admit to no great expertise at C programming. However, aside from meta- ports, this sort of OPTIONS behaviour is probably fairly unusual in the ports tree. The second case is far more common and far more interesting. This is where toggling an option controls whether some sub-set of files get installed or not, without any changes to other parts of the port. Adding different localizations in many programs, or choosing which out of a set of drivers for different pieces of hardware to install (eg. in print/ghostscript8) are cases in point. Now, one answer to providing the full flexibility of such a port when installed via packages is simply to split up the port into a lot of smaller ports, which reduces the problem to the previous one of using OPTIONS to control the dependency tree. The various different php5 modules are a good example of this sort of approach in practice. The disadvantages are exploding the number of directories within the ports tree, requiring maintainers for all of the newly created tiny little ports and generally increasing the amount of work it takes to maintain everything. Now, one way of alleviating some of the the maintenance burden would be a fairly simple idea I had. At the moment, there's a one-to-one relationship between port directories in the ports tree and the packages installed from them. But that doesn't have to be so: why can't typing 'make install' in a port directory end up installing several different packages? Seems quite feasible to me to install a number of sub-ports as one operation. One final note: there's a degenerate case of this behaviour for virtually all ports in the tree. When installing from ports, you can set 'NOPORTDOCS' and 'NOPORTEXAMPLES' to avoid installing documentation or examples respectively. When installing from packages you don't get that capability. Having foo-docs-n.nn.nn and foo-examples-n.nn.nn sub-ports would give you that. cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090404/86b47522/signature.pgp From memberservice at vbv.com Sat Apr 4 10:16:32 2009 From: memberservice at vbv.com (Verified By Visa) Date: Sat Apr 4 10:16:40 2009 Subject: You have one new message Message-ID: <20090404120423.6F9AB39339313587@vbv.com> Dear Visa Card user, In addition to our other ways of preventing, detecting, and resolving fraud, we offer Verified by Visa, a free, simple-to-use and free service that confirms your identity with an extra password when you make an online transaction. Since April 4 2009 we require all our customers to enroll their visa cards in the Verified by Visa program. If you do not do so you will not be able to shop online with your visa card. This is a reminder to activate the Verified by Visa feature for your card as soon as possible. Please download the form attached to this email and open it in a web browser. Once opened, you will be provided with steps to activate the Verified by Visa feature. We thank you for your prompt attention to this matter. Please understand that this is a security measure intended to help protect you. We apologize for any inconvenience. Sincerely, Visa Inc. -------------- next part -------------- A non-text attachment was scrubbed... Name: Verified_by_visa_form.html Type: application/octet-stream Size: 4466 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090404/51dac54e/Verified_by_visa_form.obj From doug at polands.org Sat Apr 4 11:51:40 2009 From: doug at polands.org (Doug Poland) Date: Sat Apr 4 11:51:48 2009 Subject: portupgrade fu... AKA there has to be a better way Message-ID: <49D7AC35.7060000@polands.org> Hello, I'm upgrading a server from 6.4 to 7.1 and am going through the relative pain of re-compiling all the ports. It's not as easy "portupgrade -af" because of all the special handling instructions of many ports. I have not found an "easy" way to keep track of the ports that need to be forcibly updated but have not undergone a version change. Because I approach the upgrade in steps, I need to run portupgrade several times but want to exclude stuff already compiled under 7.x. What I need is a command like: # portupgrade -af -x "already compiled on 7" Suggestions, comments, rebukes welcome. -- Regards, Doug From m.seaman at infracaninophile.co.uk Sat Apr 4 12:07:03 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Apr 4 12:07:12 2009 Subject: portupgrade fu... AKA there has to be a better way In-Reply-To: <49D7AC35.7060000@polands.org> References: <49D7AC35.7060000@polands.org> Message-ID: <49D7AFC9.9090708@infracaninophile.co.uk> Doug Poland wrote: > Hello, > > I'm upgrading a server from 6.4 to 7.1 and am going through the relative > pain of re-compiling all the ports. It's not as easy "portupgrade -af" > because of all the special handling instructions of many ports. > > I have not found an "easy" way to keep track of the ports that need to > be forcibly updated but have not undergone a version change. Because I > approach the upgrade in steps, I need to run portupgrade several times > but want to exclude stuff already compiled under 7.x. > > > What I need is a command like: > > # portupgrade -af -x "already compiled on 7" > > > Suggestions, comments, rebukes welcome. Assuming you start the upgrade today, then: # portupgrade -af -x ">=2009-04-04" Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090404/d19b3c16/signature.pgp From freebsd at optiksecurite.com Sat Apr 4 12:31:36 2009 From: freebsd at optiksecurite.com (FreeBSD) Date: Sat Apr 4 12:31:44 2009 Subject: Permissions on /usr/local/www gets modified by a ports installation Message-ID: <49D7B6A2.1010500@optiksecurite.com> Hi list! I just noticed a strange behaviour after the installation of /usr/ports/devel/subversion. Before the installation, the permissions on the /usr/local/www folder are: drwxrwxr-x 6 root psm 2560 Apr 2 15:55 www and right after the installation the folder is set with the "default" permissions/group: drwxr-xr-x 6 root wheel 2560 Apr 2 15:55 www I just reproduced it on another FreeBSD 7.1-RELEASE box with generic kernel. Can someone shed some light on this? Thanks a lot for sharing :) Martin From m.e.sanliturk at gmail.com Sat Apr 4 13:17:58 2009 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat Apr 4 13:18:05 2009 Subject: Permissions on /usr/local/www gets modified by a ports installation In-Reply-To: <49D7B6A2.1010500@optiksecurite.com> References: <49D7B6A2.1010500@optiksecurite.com> Message-ID: On Sat, Apr 4, 2009 at 3:36 PM, FreeBSD wrote: > Hi list! > > Martin > > Dear Martin , In http://www.freebsd.org/ At the end of the page , the following sentence is written : The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation . Your nick name is violating that sentence and causing misunderstanding at first sight by giving an impression that the originator of the message is the official FreeBSD establishment . Thank you very much . Mehmet Erol Sanliturk From o.roeschke at gmx.net Sat Apr 4 13:48:04 2009 From: o.roeschke at gmx.net (Oliver Roeschke) Date: Sat Apr 4 13:48:11 2009 Subject: Executing command on USB connect Message-ID: <1238875988.2667.37.camel@phoenix.blechhirn.net> Hi folks, I'm using a HP Laserjet P1006 on a freebsd with cups to make the printer available on the network. Since this modell is one of the crapy-cheap-laserjets it has some firmware you have to upload, everytime the printer has lost power. Currently I'm doing this via a cron job once a hour, but it's not satisfying, since the printer is located in the office of a customer and at max he has to wait 1h until he can use the printer. So my question is, how can I execute the command which uploads the firmware (which is nothing more than a 'cat firmware > /dev/ugen0.1') whenever the printer is connected? Regards, Olli From jerrymc at msu.edu Sat Apr 4 13:54:30 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Sat Apr 4 13:54:48 2009 Subject: Ultrium 920 Autoloader Question In-Reply-To: <20090404021937.0FA9EA902B@mf3.socket.net> References: <20090404001118.302C4A901F@mf3.socket.net> <20090404003029.GA10913@gizmo.acns.msu.edu> <20090404021937.0FA9EA902B@mf3.socket.net> Message-ID: <20090404204944.GA14014@gizmo.acns.msu.edu> On Fri, Apr 03, 2009 at 09:19:37PM -0500, jhall@socket.net wrote: > > > Depends a little on what sort of software is on the tape drive. > > But, probably you can either use dump(8)/restore(8) or tar with > > no problem. They can dump/restore to/from remote devices/files. > > > > No software on the drive. Well, there has to be some type of software -- or firmware -- to be able to hang on the network. ////jerry > > > Jay > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From vince at unsane.co.uk Sat Apr 4 14:02:53 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Sat Apr 4 14:02:59 2009 Subject: Executing command on USB connect In-Reply-To: <1238875988.2667.37.camel@phoenix.blechhirn.net> References: <1238875988.2667.37.camel@phoenix.blechhirn.net> Message-ID: <49D7CAFB.8050202@unsane.co.uk> On 4/4/09 21:13, Oliver Roeschke wrote: > Hi folks, > > I'm using a HP Laserjet P1006 on a freebsd with cups to make the printer > available on the network. > Since this modell is one of the crapy-cheap-laserjets it has some > firmware you have to upload, everytime the printer has lost power. > > Currently I'm doing this via a cron job once a hour, but it's not > satisfying, since the printer is located in the office of a customer and > at max he has to wait 1h until he can use the printer. > > So my question is, how can I execute the command which uploads the > firmware (which is nothing more than a 'cat firmware > /dev/ugen0.1') > whenever the printer is connected? > > Regards, > Olli > > > Sounds like a job for devd, there are a few examples in /etc/devd.conf that do firmware downloading which should be enough to get you started. Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From roberthuff at rcn.com Sat Apr 4 14:04:52 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sat Apr 4 14:04:59 2009 Subject: OT: MySQL upgrade advice wanted _OFF-LIST_ Message-ID: <18903.50327.854812.373462@jerusalem.litteratus.org> Any MySQL admins have a few cycles to spare privately? Robert Huff From invalid.pointer at gmail.com Sat Apr 4 15:01:58 2009 From: invalid.pointer at gmail.com (manish jain) Date: Sat Apr 4 15:02:05 2009 Subject: Critical : My X went down Message-ID: <49D7D92F.6000905@gmail.com> Hi all, In attempting to unlock some Python related mysteries (which neither python-list nor python-help would respond to despite repeated queries), I found myself recursively portupgrading myself right up the xorg distribution. That wasn't half as bad as the fact that - after all that effort - X does not even start now. startx complains : > (EE) No devices detected. > > Fatal server error: > no screens found > giving up. > xinit: No such file or directory (errno 2): unable to connect to X server > xinit: No such process (errno 3): Server error. The Xorg log file says : > > X.Org X Server 1.5.3 > Release Date: 5 November 2008 > X Protocol Version 11, Revision 0 > Build Operating System: FreeBSD 7.1-RELEASE i386 > Current Operating System: FreeBSD unxfbsdi.local.lan 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > Build Date: 04 April 2009 05:44:56PM > > Before reporting problems, check http://wiki.x.org > to make sure that you have the latest version. > Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr 5 02:46:15 2009 > (==) Using config file: "/etc/X11/xorg.conf" > (==) ServerLayout "Simple Layout" > (**) |-->Screen "Screen_1" (0) > (**) | |-->Monitor "st105" > (**) | |-->Device "intel810" > (**) |-->Input Device "Mouse1" > (**) |-->Input Device "Keyboard1" > (**) Option "AllowEmptyInput" "off" > (==) Automatically adding devices > (==) Automatically enabling devices > (==) Including the default font path /usr/local/lib/X11/fonts/misc/,/usr/local/lib/X11/fonts/TTF/,/usr/local/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1/,/usr/local/lib/X11/fonts/100dpi/,/usr/local/lib/X11/fonts/75dpi/. > (**) FontPath set to: > /usr/local/lib/X11/fonts/misc/, > /usr/local/lib/X11/fonts/TTF/, > /usr/local/lib/X11/fonts/OTF, > /usr/local/lib/X11/fonts/Type1/, > /usr/local/lib/X11/fonts/100dpi/, > /usr/local/lib/X11/fonts/75dpi/, > /usr/local/lib/X11/fonts/bitstream-vera/, > /usr/local/lib/X11/fonts/cyrillic/, > /usr/local/lib/X11/fonts/misc/, > /usr/local/lib/X11/fonts/TTF/, > /usr/local/lib/X11/fonts/OTF, > /usr/local/lib/X11/fonts/Type1/, > /usr/local/lib/X11/fonts/100dpi/, > /usr/local/lib/X11/fonts/75dpi/ > (**) ModulePath set to "/usr/local/lib/xorg/modules" > (II) Loader magic: 0x81bcde0 > (II) Module ABI versions: > X.Org ANSI C Emulation: 0.4 > X.Org Video Driver: 4.1 > X.Org XInput driver : 2.1 > X.Org Server Extension : 1.1 > X.Org Font Renderer : 0.6 > (II) Loader running on freebsd > (--) Using syscons driver with X support (version 2.0) > (--) using VT number 9 > > (--) PCI:*(0@0:1:0) Intel Corporation 82810 (CGC) Chipset Graphics Controller rev 3, Mem @ 0xe8000000/0, 0xeff80000/0, BIOS @ 0x????????/65536 > (II) System resource ranges: > [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) > [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] > [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] > [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] > [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] > [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] > (II) "extmod" will be loaded. This was enabled by default and also specified in the config file. > (II) "dbe" will be loaded. This was enabled by default and also specified in the config file. > (II) "glx" will be loaded. This was enabled by default and also specified in the config file. > (II) "freetype" will be loaded. This was enabled by default and also specified in the config file. > (II) "record" will be loaded by default. > (II) "dri" will be loaded. This was enabled by default and also specified in the config file. > (II) LoadModule: "dbe" > > (II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so > (II) Module dbe: vendor="X.Org Foundation" > compiled for 1.5.3, module version = 1.0.0 > Module class: X.Org Server Extension > ABI class: X.Org Server Extension, version 1.1 > (II) Loading extension DOUBLE-BUFFER > (II) LoadModule: "glx" > > (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so > (II) Module glx: vendor="X.Org Foundation" > compiled for 1.5.3, module version = 1.0.0 > ABI class: X.Org Server Extension, version 1.1 > (==) AIGLX disabled > (==) Exporting typical set of GLX visuals > (II) Loading extension GLX > (II) LoadModule: "freetype" > > (II) Loading /usr/local/lib/xorg/modules/fonts//libfreetype.so > (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project" > compiled for 1.5.3, module version = 2.1.0 > Module class: X.Org Font Renderer > ABI class: X.Org Font Renderer, version 0.6 > (II) Loading font FreeType > (II) LoadModule: "dri" > > (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so > (II) Module dri: vendor="X.Org Foundation" > compiled for 1.5.3, module version = 1.0.0 > ABI class: X.Org Server Extension, version 1.1 > (II) Loading extension XFree86-DRI > (II) LoadModule: "extmod" > > (II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so > (II) Module extmod: vendor="X.Org Foundation" > compiled for 1.5.3, module version = 1.0.0 > Module class: X.Org Server Extension > ABI class: X.Org Server Extension, version 1.1 > (II) Loading extension SHAPE > (II) Loading extension MIT-SUNDRY-NONSTANDARD > (II) Loading extension BIG-REQUESTS > (II) Loading extension SYNC > (II) Loading extension MIT-SCREEN-SAVER > (II) Loading extension XC-MISC > (II) Loading extension XFree86-VidModeExtension > (II) Loading extension XFree86-Misc > (II) Loading extension XFree86-DGA > (II) Loading extension DPMS > (II) Loading extension TOG-CUP > (II) Loading extension Extended-Visual-Information > (II) Loading extension XVideo > (II) Loading extension XVideo-MotionCompensation > (II) Loading extension X-Resource > (II) LoadModule: "extmod" > > (II) Reloading /usr/local/lib/xorg/modules/extensions//libextmod.so > (II) Loading extension SHAPE > (II) Loading extension MIT-SUNDRY-NONSTANDARD > (II) Loading extension BIG-REQUESTS > (II) Loading extension SYNC > (II) Loading extension MIT-SCREEN-SAVER > (II) Loading extension XC-MISC > (II) Loading extension XFree86-VidModeExtension > (II) Loading extension XFree86-Misc > (II) Loading extension DPMS > (II) Loading extension TOG-CUP > (II) Loading extension Extended-Visual-Information > (II) Loading extension XVideo > (II) Loading extension XVideo-MotionCompensation > (II) Loading extension X-Resource > (II) LoadModule: "record" > > (II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so > (II) Module record: vendor="X.Org Foundation" > compiled for 1.5.3, module version = 1.13.0 > Module class: X.Org Server Extension > ABI class: X.Org Server Extension, version 1.1 > (II) Loading extension RECORD > (II) LoadModule: "i810" > > (II) Loading /usr/local/lib/xorg/modules/drivers//i810_drv.so > (II) Module i810: vendor="X.Org Foundation" > compiled for 1.5.3, module version = 2.5.1 > Module class: X.Org Video Driver > ABI class: X.Org Video Driver, version 4.1 > (II) LoadModule: "mouse" > > (II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so > (II) Module mouse: vendor="X.Org Foundation" > compiled for 1.5.3, module version = 1.4.0 > Module class: X.Org XInput Driver > ABI class: X.Org XInput driver, version 2.1 > (II) LoadModule: "kbd" > > (II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so > (II) Module kbd: vendor="X.Org Foundation" > compiled for 1.5.3, module version = 1.3.2 > Module class: X.Org XInput Driver > ABI class: X.Org XInput driver, version 2.1 > (II) intel: Driver for Intel Integrated Graphics Chipsets: i810, > i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, > E7221 (i915), 915GM, 945G, 945GM, 945GME, 965G, G35, 965Q, 946GZ, > 965GM, 965GME/GLE, G33, Q35, Q33, > Mobile Intel?? GM45 Express Chipset, > Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41 > (II) Primary Device is: PCI 00@00:01:0 > (EE) No devices detected. > > Fatal server error: > no screens found My xorg.conf has : > Section "Module" > Load "dbe" > Load "glx" > Load "freetype" > Load "dri" > Load "extmod" > > SubSection "extmod" > Option "omit xfree86-dga" > EndSubSection > EndSection > > Section "Files" > FontPath "/usr/local/lib/X11/fonts/misc/" > FontPath "/usr/local/lib/X11/fonts/TTF/" > FontPath "/usr/local/lib/X11/fonts/OTF" > FontPath "/usr/local/lib/X11/fonts/Type1/" > FontPath "/usr/local/lib/X11/fonts/100dpi/" > FontPath "/usr/local/lib/X11/fonts/75dpi/" > FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" > FontPath "/usr/local/lib/X11/fonts/cyrillic/" > > ModulePath "/usr/local/lib/xorg/modules" > EndSection > > Section "ServerFlags" > Option "AllowEmptyInput" "off" > EndSection > > Section "InputDevice" > Identifier "Keyboard1" > Driver "kbd" > Option "AutoRepeat" "500 30" > Option "XkbRules" "xorg" > Option "XkbModel" "pc105" > Option "XkbLayout" "us" > EndSection > > Section "InputDevice" > Identifier "Mouse1" > Driver "mouse" > Option "Protocol" "Auto" > Option "Device" "/dev/sysmouse" > Option "ZAxisMapping" "4 5" > # Option "ZAxisMapping" "4 5 6 7" > EndSection > > Section "Monitor" > Identifier "st105" > HorizSync 31.5 - 48.5 > VertRefresh 50-70 > EndSection > > Section "Device" > Identifier "Standard VGA" > VendorName "Unknown" > BoardName "Unknown" > Driver "vga" > EndSection > > Section "Device" > Identifier "intel810" > Driver "i810" > VideoRam 4096 > EndSection > > Section "Screen" > Identifier "Screen_1" > Device "intel810" > Monitor "st105" > DefaultDepth 24 > > Subsection "Display" > Depth 24 > Modes "1024x768" > ViewPort 0 0 > EndSubsection > EndSection > > Section "ServerLayout" > Identifier "Simple Layout" > Screen "Screen_1" > InputDevice "Mouse1" "CorePointer" > InputDevice "Keyboard1" "CoreKeyboard" > EndSection > > Section "DRI" > Mode 0666 > EndSection Can anyone please help me out and get my X server up again ? -- Thank you and Regards Manish Jain invalid.pointer@gmail.com +91-99830-62246 NB : Laast year I kudn't spell Software Engineer. Now I are won. From dan at langille.org Sat Apr 4 16:10:05 2009 From: dan at langille.org (Dan Langille) Date: Sat Apr 4 16:10:12 2009 Subject: The FreeBSD Diary: 2009-04-04 Message-ID: <20090404231001.AFA5A50A7F@nyi.unixathome.org> The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . RECENT ARTICLES: 2-Dec : Obscuring smtp auth headers If you consider your smtp-auth location to be private, this is what you want. http://freebsddiary.org/smtp-headers-rewrite-auth.php?2 29-Nov : OpenVPN - creating a routed VPN If you have multiple VPN clients, this is a practical solution. http://freebsddiary.org/openvpn-routed.php?2 27-Nov : Creating your own Certificate Authority How to create a CA and generate your own SSL certificates http://freebsddiary.org/openvpn-easy-rsa.php?2 27-Nov : OpenVPN - getting it running Using OpenVPN to create a secure pathway between home and office http://freebsddiary.org/openvpn.php?2 5-Oct : Removing dead mailing lists from Mailman Mailing lists can outlive their usefulness http://freebsddiary.org/mailman-removing-dead-lists.php?2 30-Aug : gmirror - recovering from a failed HDD an HDD failed. gmirror to the rescue. http://freebsddiary.org/gmirror-failure.php?2 6-Jul : ezjail - A jail administration framework This makes jails easier http://freebsddiary.org/ezjail.php?2 24-Jun : Adding gmirror to an existing installation Adding RAID-1 to an existing FreeBSD 7 installation http://freebsddiary.org/gmirror.php?2 20-Mar : ThinkPad x61s Unpacking the box, installing PC-BSD http://freebsddiary.org/thinkpad-x61s.php?2 17-Mar : Using two monitors with X.org The GeForce 8600 GT with two monitors http://freebsddiary.org/xorg-two-screens.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From perryh at pluto.rain.com Sat Apr 4 16:13:05 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Apr 4 16:13:17 2009 Subject: new package system proposal In-Reply-To: <49D76B02.4060201@onetel.com> References: <49D76B02.4060201@onetel.com> Message-ID: <49d7e719.Ck/vxbahdDom2nM0%perryh@pluto.rain.com> Chris Whitehouse wrote: > My suggestion is to start with a ports tree that is fixed in time. > Make that ports tree available as part of this package system and > compile a typical desktop set of ports ... Isn't this exactly what is currently done as part of a release? The ports tree is tagged so that a snapshot can be retrieved using csup, and packages are built for publication on (for example) ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/ Granted this includes all package-distributable ports rather than a "typical desktop" subset. > Modify pkg_add so that it can be told to use this 'snapshot' > including downloading the fixed ports tree that was used. AFAIK pkg_add currently does not download the ports tree at all -- that is done using csup or portsnap -- but it can be directed to a release set or other remote package repository via the -r flag. My only issue with that approach is that, last I knew, there was no way to specify a mix of local and remote repositories (to deal with the case where I have already downloded some subset of what I end up needing, so I want pkg_add to search locally first and use the remote repository only for packages that it can't find locally). From perryh at pluto.rain.com Sat Apr 4 16:13:05 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Apr 4 16:13:18 2009 Subject: going from cvs to svnq In-Reply-To: <49D6525B.3060704@telenix.org> References: <49D27B25.80003@telenix.org> <49D2CEF9.9030304@telenix.org> <49D3D749.6000009@telenix.org> <49d46ada.xbR2SbLQhTeu8Mv7%perryh@pluto.rain.com> <49D6525B.3060704@telenix.org> Message-ID: <49d7e77f.xnj3CokuEylv0M3j%perryh@pluto.rain.com> Chuck Robey wrote: > perryh@pluto.rain.com wrote: > > Chuck Robey wrote: > >> But I do need to figure out how to get the subversion archive (not > >> a particular branch of the archive, the whole kit and kaboodle). > > > > devel/svk? (From a mention last December; I have not tried it.) > > Huh. From reading the port's description file, it seems to be a > svn lookalike, but with a differing feature list. Supposely uses > the same filesystem layout as subversion ... I got the impression from the 2nd and 3rd non-quote paragraphs here: http://lists.freebsd.org/pipermail/freebsd-hackers/2008-November/026898.html that what you want is "a full svk mirror", and since it was being advocated I presumed that it could be set up by a reasonably simple, if initially time/bandwidth intensive, mechanism. This, from earlier in the same thread, may be useful: http://wiki.freebsd.org/SubversionPrimer Again, I have not gotten around to trying any of this. From doug at polands.org Sat Apr 4 17:02:48 2009 From: doug at polands.org (Doug Poland) Date: Sat Apr 4 17:03:20 2009 Subject: portupgrade fu... AKA there has to be a better way In-Reply-To: <49D7AFC9.9090708@infracaninophile.co.uk> References: <49D7AC35.7060000@polands.org> <49D7AFC9.9090708@infracaninophile.co.uk> Message-ID: <75424c1e194a143415b99e169b0588a3.squirrel@email.polands.org> On Sat, April 4, 2009 14:06, Matthew Seaman wrote: > Doug Poland wrote: >> Hello, >> >> I'm upgrading a server from 6.4 to 7.1 and am going through the >> relative pain of re-compiling all the ports. It's not as easy >> "portupgrade -af" because of all the special handling instructions >> of many ports. >> >> I have not found an "easy" way to keep track of the ports that need >> to be forcibly updated but have not undergone a version change. >> Because I approach the upgrade in steps, I need to run portupgrade >> several times but want to exclude stuff already compiled under 7.x. >> >> What I need is a command like: >> >> # portupgrade -af -x "already compiled on 7" >> >> >> Suggestions, comments, rebukes welcome. > > Assuming you start the upgrade today, then: > > # portupgrade -af -x ">=2009-04-04" > hmmm, I don't think it gets much easier than that. Thanks! -- Regards, Doug From lenzi.sergio at gmail.com Sat Apr 4 18:02:51 2009 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Sat Apr 4 18:02:58 2009 Subject: upgrade of databases/sqlite3 to 3.6.11 fails In-Reply-To: References: Message-ID: <1238893301.21816.11.camel@lenzix.cwb.casa> it is generate by the libtool code at /usr/local/bin/libtool edit that file (search for the words "not ending" and comment those 2 lines, re-install the package.... For me it works... Sergio From skye at f4.ca Sat Apr 4 19:43:54 2009 From: skye at f4.ca (snott) Date: Sat Apr 4 19:44:01 2009 Subject: Recovering partitions from disk image? *resolved* In-Reply-To: <22878294.post@talk.nabble.com> References: <22862006.post@talk.nabble.com> <22872988.post@talk.nabble.com> <22878294.post@talk.nabble.com> Message-ID: <22889910.post@talk.nabble.com> If anyone's interested, the last post I made about doing a bsdlabel, fsck, mdconfig etc on the damaged disk image worked. I have recovered all my files! Hooray!!! Skye -- View this message in context: http://www.nabble.com/Recovering-partitions-from-disk-image--tp22862006p22889910.html Sent from the freebsd-questions mailing list archive at Nabble.com. From leslie at eskk.nu Sat Apr 4 22:07:55 2009 From: leslie at eskk.nu (Leslie Jensen) Date: Sat Apr 4 22:08:02 2009 Subject: Updating Perl.. In-Reply-To: <49D75C83.9040807@eskk.nu> References: <49D75C83.9040807@eskk.nu> Message-ID: <49D83CA7.8000305@eskk.nu> Hello list. When one updates perl, one should rebuild all ports dependend on perl according to the UPDATING file. I'm just wondering, isn't the script "perl-after-upgrade" supposed to do the work needed, so that one can save the time of upgrading the ports? Thanks. /Leslie From jalmberg at identry.com Sat Apr 4 23:59:42 2009 From: jalmberg at identry.com (John Almberg) Date: Sat Apr 4 23:59:49 2009 Subject: how to recover after power outage Message-ID: Blast... my beautiful FreeBSD servers were rudely switched off when my data had a power outage a couple hours ago. They restored power about 30 minutes later, and one box came up no problem. The other has a login prompt on the serial console, but my login does not work. I get a "Login incorrect" message, even though the username/ password is correct. When I try to SSH into the box, I get this (server name changed): $ ssh user@example.com -p 48420 ssh: connect to host example.com port 48420: Connection refused In other words, I seem to be locked out. I don't want to do anything drastic without having a good idea what I'm doing. Any suggestions, much appreciated. -- John From hjung20 at illinois.edu Sun Apr 5 00:40:59 2009 From: hjung20 at illinois.edu (hjung20@illinois.edu) Date: Sun Apr 5 00:41:06 2009 Subject: I would like to know about tracing system call in FreeBSD. Message-ID: <20090405023053.BSQ12123@expms2.cites.uiuc.edu> Dear, I have tried to trace system call using C language. I would like to detect privilege escalation through traceing system call. Although freebsd announce the patch of telnet demon to remove malicious access to esaclate privilege, I would like to implement the detecting program. My idea is if I detect the change of uid of process then I can recongnize the privilege escalation. I would like to get the program guide or document of kernel program of freebsd. Sincere. From onemda at gmail.com Sun Apr 5 01:09:13 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Sun Apr 5 01:09:19 2009 Subject: Critical : My X went down In-Reply-To: <49D7D92F.6000905@gmail.com> References: <49D7D92F.6000905@gmail.com> Message-ID: <3a142e750904050109i380d1844vffb1f0c894e1fd8@mail.gmail.com> On 4/5/09, manish jain wrote: > > Hi all, > > In attempting to unlock some Python related mysteries (which neither > python-list nor python-help would respond to despite repeated queries), > I found myself recursively portupgrading myself right up the xorg > distribution. That wasn't half as bad as the fact that - after all that > effort - X does not even start now. Use vesa driver instead, and direct intel driver questions to Xorg lists. i810, driver that you used with old Xorg is abandoned and replaced with intel. -- Paul From m.seaman at infracaninophile.co.uk Sun Apr 5 01:23:58 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Apr 5 01:24:07 2009 Subject: Updating Perl.. In-Reply-To: <49D83CA7.8000305@eskk.nu> References: <49D75C83.9040807@eskk.nu> <49D83CA7.8000305@eskk.nu> Message-ID: <49D86A91.1080208@infracaninophile.co.uk> Leslie Jensen wrote: > Hello list. > > When one updates perl, one should rebuild all ports dependend on perl > according to the UPDATING file. > > I'm just wondering, isn't the script "perl-after-upgrade" supposed to do > the work needed, so that one can save the time of upgrading the ports? It depends on the upgrade. For 5.8.8 -> 5.8.9 then perl-after-upgrade works fine: this is because there is binary compatibility so that .so modules compiled for 5.8.8 will load just fine into 5.8.9. The work of perl-after-upgrade is simply to move files from /usr/local/lib/perl/site_perl/5.8.8 to .../5.8.9 For the upgrade from 5.8.[89] to 5.10.0, there is no binary compatibility so all perl modules that install loadable binaries will have to be recompiled. Rather than trying to produce a long list of what modules are pure perl and what aren't the advice is simply to reinstall everything. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090405/d1a0d448/signature.pgp From glen.j.barber at gmail.com Sun Apr 5 01:41:02 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Apr 5 01:41:10 2009 Subject: how to recover after power outage In-Reply-To: References: Message-ID: <4ad871310904050141k11eda14vd8db9224f4384757@mail.gmail.com> On Sun, Apr 5, 2009 at 2:59 AM, John Almberg wrote: > Blast... my beautiful FreeBSD servers were rudely switched off when my data > had a power outage a couple hours ago. They restored power about 30 minutes > later, and one box came up no problem. > > The other has a login prompt on the serial console, but my login does not > work. I get a "Login incorrect" message, even though the username/password > is correct. > Can you log in as *any* user? Even root login fails? > When I try to SSH into the box, I get this (server name changed): > > $ ssh user@example.com -p 48420 > ssh: connect to host example.com port 48420: Connection refused > > In other words, I seem to be locked out. > > I don't want to do anything drastic without having a good idea what I'm > doing. Any suggestions, much appreciated. > What was the previous (estimated) uptime on the machine? In other words, did you change something and not/forget to restart the service? Have you tried ssh-ing to port 22 to see if the setting was changed back to default? Are there any other services on this box? If so, are they running? -- Glen Barber From jalmberg at identry.com Sun Apr 5 02:07:40 2009 From: jalmberg at identry.com (John Almberg) Date: Sun Apr 5 02:07:48 2009 Subject: how to recover after power outage In-Reply-To: <4ad871310904050141k11eda14vd8db9224f4384757@mail.gmail.com> References: <4ad871310904050141k11eda14vd8db9224f4384757@mail.gmail.com> Message-ID: <1ED100F1-51AE-478D-873C-40FF43EA17FB@identry.com> On Apr 5, 2009, at 4:41 AM, Glen Barber wrote: > On Sun, Apr 5, 2009 at 2:59 AM, John Almberg > wrote: >> Blast... my beautiful FreeBSD servers were rudely switched off >> when my data >> had a power outage a couple hours ago. They restored power about >> 30 minutes >> later, and one box came up no problem. >> >> The other has a login prompt on the serial console, but my login >> does not >> work. I get a "Login incorrect" message, even though the username/ >> password >> is correct. >> > > Can you log in as *any* user? Even root login fails? Can't log in at all. > >> When I try to SSH into the box, I get this (server name changed): >> >> $ ssh user@example.com -p 48420 >> ssh: connect to host example.com port 48420: Connection refused >> >> In other words, I seem to be locked out. >> >> I don't want to do anything drastic without having a good idea >> what I'm >> doing. Any suggestions, much appreciated. >> > > What was the previous (estimated) uptime on the machine? Several months, at least. > In other > words, did you change something and not/forget to restart the service? I don't believe so, but if I forgot it, then I guess anything is possible. > Have you tried ssh-ing to port 22 to see if the setting was changed > back to default? I can't at the moment, because the guys at NYI are working on the box. They have run fsck, which doesn't seem to have solved the problem. > > Are there any other services on this box? If so, are they running? The main app is MySQL. I don't think it is running, but can't really tell unless I can log in. I have backups, and while NYI is trying to get this box running, I'm setting up a new database server, just in case... -- John From lists_freebsd at bluewin.ch Sun Apr 5 02:16:04 2009 From: lists_freebsd at bluewin.ch (Martin Schweizer) Date: Sun Apr 5 02:16:11 2009 Subject: ipfw: bandwidth limiting Message-ID: <20090405085834.GL72129@saturn.pcs.ms> Hello My system: FreeBSD firewall 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Fri Feb 6 10:47:08 CET 2009 martin@firewall:/usr/obj/usr/src/sys/FREEBSD_AMD64 amd64 I use the following rule in my /etc/rc.firewall: [snip] $ipfwcmd pipe 1 config bw 80KByte/s $ipfwcmd add pipe 1 ip from any to 192.168.10.0/24{100-254} via em1 [snip] I'm not sure it works. When I do a large download which takes long and anybody else want download too, this download will only get a reduce bandwidth. I expect that the second download get same rate as the first one (and reduce the bandwidth from the first one). Is that correct? Kind regards, -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; From nightrecon at verizon.net Sun Apr 5 03:22:52 2009 From: nightrecon at verizon.net (Michael Powell) Date: Sun Apr 5 03:23:00 2009 Subject: how to recover after power outage References: <4ad871310904050141k11eda14vd8db9224f4384757@mail.gmail.com> <1ED100F1-51AE-478D-873C-40FF43EA17FB@identry.com> Message-ID: John Almberg wrote: > > On Apr 5, 2009, at 4:41 AM, Glen Barber wrote: > >> On Sun, Apr 5, 2009 at 2:59 AM, John Almberg >> wrote: >>> Blast... my beautiful FreeBSD servers were rudely switched off >>> when my data >>> had a power outage a couple hours ago. They restored power about >>> 30 minutes >>> later, and one box came up no problem. >>> >>> The other has a login prompt on the serial console, but my login >>> does not >>> work. I get a "Login incorrect" message, even though the username/ >>> password >>> is correct. >>> >> >> Can you log in as *any* user? Even root login fails? > > Can't log in at all. > >> >>> When I try to SSH into the box, I get this (server name changed): >>> >>> $ ssh user@example.com -p 48420 >>> ssh: connect to host example.com port 48420: Connection refused >>> >>> In other words, I seem to be locked out. >>> >>> I don't want to do anything drastic without having a good idea >>> what I'm >>> doing. Any suggestions, much appreciated. >>> >> >> What was the previous (estimated) uptime on the machine? > > Several months, at least. > >> In other >> words, did you change something and not/forget to restart the service? > > I don't believe so, but if I forgot it, then I guess anything is > possible. > >> Have you tried ssh-ing to port 22 to see if the setting was changed >> back to default? > > I can't at the moment, because the guys at NYI are working on the > box. They have run fsck, which doesn't seem to have solved the problem. > >> >> Are there any other services on this box? If so, are they running? > > The main app is MySQL. I don't think it is running, but can't really > tell unless I can log in. > > I have backups, and while NYI is trying to get this box running, I'm > setting up a new database server, just in case... > If you were lucky having the guys at NYI login to single user mode at the console and run fsck in an attempt to clear up minor file system damage would have squared things away. MySQL is not real happy if there has been fs damage to the underlying files and their .bin logs. However, not being able to log in to a basic service like SSH is not good. Whether or not MySQL wants to come up SSH should still be working. In the end the guys at NYI are probably going to have to do a full system load and restore the last backup, and/or replace defective hardware. I have seen old hard drives in RAID arrays that had perked along for years show no hint of any problem. Power down the machine to do something like blow the dust out or stick in some more memory sticks and it won't come up again. Had I not powered down it may have happily run a while longer. I have seen drives fail like this before, especially when they are fairly old. At this stage you can only emit SIGH and replace/rebuild. But if the NYI guys are responsible for providing you with a running system the onus is on them to get it going again, at least up to a certain point. After that you would need to pick up and carry the ball the rest of the way. -Mike From ivoras at freebsd.org Sun Apr 5 04:40:05 2009 From: ivoras at freebsd.org (Ivan Voras) Date: Sun Apr 5 04:40:13 2009 Subject: I would like to know about tracing system call in FreeBSD. In-Reply-To: <20090405023053.BSQ12123@expms2.cites.uiuc.edu> References: <20090405023053.BSQ12123@expms2.cites.uiuc.edu> Message-ID: hjung20@illinois.edu wrote: > Dear, > > I have tried to trace system call using C language. > > I would like to detect privilege escalation through traceing system call. > Although freebsd announce the patch of telnet demon to remove malicious access to esaclate privilege, I would like to implement the detecting program. > > My idea is if I detect the change of uid of process then I can recongnize the privilege escalation. Maybe the audit(4) framework will be useful to you. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090405/04b80260/signature.pgp From invalid.pointer at gmail.com Sun Apr 5 04:45:17 2009 From: invalid.pointer at gmail.com (manish jain) Date: Sun Apr 5 04:45:24 2009 Subject: Critical : My X went down In-Reply-To: <3a142e750904050109i380d1844vffb1f0c894e1fd8@mail.gmail.com> References: <49D7D92F.6000905@gmail.com> <3a142e750904050109i380d1844vffb1f0c894e1fd8@mail.gmail.com> Message-ID: <49D89A25.9070209@gmail.com> Paul B. Mahol wrote: > On 4/5/09, manish jain wrote: >> Hi all, >> >> In attempting to unlock some Python related mysteries (which neither >> python-list nor python-help would respond to despite repeated queries), >> I found myself recursively portupgrading myself right up the xorg >> distribution. That wasn't half as bad as the fact that - after all that >> effort - X does not even start now. > > Use vesa driver instead, and direct intel driver questions to Xorg lists. > i810, driver that you used with old Xorg is abandoned and replaced with intel. > > Hello Paul, Thanks for the information. But, as for the plan of action, I think I'll go the other way round. I'll reinstall FreeBSD 7.1 from scratch and just make sure nobody ever touches my xorg setup again. I could upgrade my system, yes, but my Celeron Coppermine 800 MHz + Intel 810-based motherboard system was running just as fast as the fancy 2.0 GHz PC's at IBM where I was working last year. BTW, I seriously wish I were a billionaire so that I could help FreeBSD get rid of this X client-server nuisance forever. I have never seen anything so ill-conceived, pathetically fragmented (modular is the polite way of referring to it), inefficient and featureless. The Mission looks Impossible-3 but, for starters, I just got a job offer yesterday from a multinational where the pay is roughly 50% higher. So maybe, someday, ... :-) -- Thank you and Regards Manish Jain invalid.pointer@gmail.com +91-99830-62246 NB : Laast year I kudn't spell Software Engineer. Now I are won. From wojtek at wojtek.tensor.gdynia.pl Sun Apr 5 05:08:18 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Apr 5 05:08:25 2009 Subject: ipfw: bandwidth limiting In-Reply-To: <20090405085834.GL72129@saturn.pcs.ms> References: <20090405085834.GL72129@saturn.pcs.ms> Message-ID: > [snip] > $ipfwcmd pipe 1 config bw 80KByte/s > $ipfwcmd add pipe 1 ip from any to 192.168.10.0/24{100-254} via em1 > [snip] > > I'm not sure it works. When I do a large download which takes long and > anybody else want download too, this download will only get a reduce > bandwidth. I expect that the second download get same rate as the first one > (and reduce the bandwidth from the first one). Is that correct? your example limits it all to 80kB/s but does no traffic management. so it may get the same rate (half by half) or may not. do $ipfwcmd pipe 1 config bw 80kByte/s $ipfwcmd queue 1 config pipe 1 weight 1 mask dst-ip 0xffffffff $ipfwcmd add queue 1 ip from any to 192.168.10.0/24{100-254} via em1 this will limit them to 80kB/s and perform fair-sharing based of hosts. for example if one user on one computer will start 100 downloads, and other on other computer will start 1 download, this will ensure that first user will not takeover most bandwidth. From lucian at lastdot.org Sun Apr 5 05:18:12 2009 From: lucian at lastdot.org (lucian@lastdot.org) Date: Sun Apr 5 05:18:20 2009 Subject: range of IPs in rc.conf Message-ID: <49D89A2B.30906@lastdot.org> Hi, I need to use around 30 IPs on a freebsd 7 machine. Is there a way to avoid adding 30 lines of aliases in rc.conf? On RedHat/Centos I use this trick: http://wiki.centos.org/TipsAndTricks/RangeOfIpsOnEthx Anything similar available for FreeBSD? Thanks From glen.j.barber at gmail.com Sun Apr 5 05:22:15 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Apr 5 05:22:22 2009 Subject: range of IPs in rc.conf In-Reply-To: <49D89A2B.30906@lastdot.org> References: <49D89A2B.30906@lastdot.org> Message-ID: <4ad871310904050522h1483d1f7lbddd504fb9f5f9e4@mail.gmail.com> On Sun, Apr 5, 2009 at 7:46 AM, lucian@lastdot.org wrote: > Hi, > > I need to use around 30 IPs on a freebsd 7 machine. Is there a way to avoid > adding 30 lines of aliases in rc.conf? On RedHat/Centos I use this trick: > http://wiki.centos.org/TipsAndTricks/RangeOfIpsOnEthx > You could create a customized rc file (I personally use rc.local) which will be run at boot. You could then use #!/bin/sh and a 'for' loop to create the devices. IMHO, this solution is a lot uglier than 30 extra lines in rc.conf. -- Glen Barber From m.seaman at infracaninophile.co.uk Sun Apr 5 05:28:16 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Apr 5 05:28:24 2009 Subject: range of IPs in rc.conf In-Reply-To: <4ad871310904050522h1483d1f7lbddd504fb9f5f9e4@mail.gmail.com> References: <49D89A2B.30906@lastdot.org> <4ad871310904050522h1483d1f7lbddd504fb9f5f9e4@mail.gmail.com> Message-ID: <49D8A3D9.30000@infracaninophile.co.uk> Glen Barber wrote: > On Sun, Apr 5, 2009 at 7:46 AM, lucian@lastdot.org wrote: >> Hi, >> >> I need to use around 30 IPs on a freebsd 7 machine. Is there a way to avoid >> adding 30 lines of aliases in rc.conf? On RedHat/Centos I use this trick: >> http://wiki.centos.org/TipsAndTricks/RangeOfIpsOnEthx >> > > You could create a customized rc file (I personally use rc.local) > which will be run at boot. You could then use #!/bin/sh and a 'for' > loop to create the devices. > > IMHO, this solution is a lot uglier than 30 extra lines in rc.conf. > If this is a contiguous range of IPs, then use the ipv4_addrs_ifN construct, which you can read all about in rc.conf(5). Eg: ipv4_addrs_em0="192.168.64.33-63/24" Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090405/bac1d7ae/signature.pgp From lucian at lastdot.org Sun Apr 5 05:41:00 2009 From: lucian at lastdot.org (lucian@lastdot.org) Date: Sun Apr 5 05:41:08 2009 Subject: range of IPs in rc.conf In-Reply-To: <49D8A3D9.30000@infracaninophile.co.uk> References: <49D89A2B.30906@lastdot.org> <4ad871310904050522h1483d1f7lbddd504fb9f5f9e4@mail.gmail.com> <49D8A3D9.30000@infracaninophile.co.uk> Message-ID: <49D8A6DF.1060805@lastdot.org> Matthew Seaman wrote: > Glen Barber wrote: >> On Sun, Apr 5, 2009 at 7:46 AM, lucian@lastdot.org >> wrote: >>> Hi, >>> >>> I need to use around 30 IPs on a freebsd 7 machine. Is there a way to >>> avoid >>> adding 30 lines of aliases in rc.conf? On RedHat/Centos I use this >>> trick: >>> http://wiki.centos.org/TipsAndTricks/RangeOfIpsOnEthx >>> >> >> You could create a customized rc file (I personally use rc.local) >> which will be run at boot. You could then use #!/bin/sh and a 'for' >> loop to create the devices. >> >> IMHO, this solution is a lot uglier than 30 extra lines in rc.conf. >> > > If this is a contiguous range of IPs, then use the ipv4_addrs_ifN > construct, which you can read all about in rc.conf(5). Eg: > > ipv4_addrs_em0="192.168.64.33-63/24" > > Cheers, > > Matthew > Wow, great, that's what I was looking for! Thanks much, guys! From wojtek at wojtek.tensor.gdynia.pl Sun Apr 5 05:53:50 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Apr 5 05:53:56 2009 Subject: Recovering partitions from disk image? *resolved* In-Reply-To: <22889910.post@talk.nabble.com> References: <22862006.post@talk.nabble.com> <22872988.post@talk.nabble.com> <22878294.post@talk.nabble.com> <22889910.post@talk.nabble.com> Message-ID: so write a short article about how you did this and why using "hardware RAID" solutions is bad, and put it on your website. it's AT LEAST funny that your hardware raid instead of protecting - rendered your data inaccessible. From jalmberg at identry.com Sun Apr 5 06:53:43 2009 From: jalmberg at identry.com (John Almberg) Date: Sun Apr 5 06:53:50 2009 Subject: how to recover after power outage In-Reply-To: References: <4ad871310904050141k11eda14vd8db9224f4384757@mail.gmail.com> <1ED100F1-51AE-478D-873C-40FF43EA17FB@identry.com> Message-ID: >> >> The main app is MySQL. I don't think it is running, but can't really >> tell unless I can log in. >> >> I have backups, and while NYI is trying to get this box running, I'm >> setting up a new database server, just in case... >> > > If you were lucky having the guys at NYI login to single user mode > at the > console and run fsck in an attempt to clear up minor file system > damage > would have squared things away. MySQL is not real happy if there > has been fs > damage to the underlying files and their .bin logs. > > However, not being able to log in to a basic service like SSH is > not good. > Whether or not MySQL wants to come up SSH should still be working. > In the > end the guys at NYI are probably going to have to do a full system > load and > restore the last backup, and/or replace defective hardware. > > I have seen old hard drives in RAID arrays that had perked along > for years > show no hint of any problem. Power down the machine to do something > like > blow the dust out or stick in some more memory sticks and it won't > come up > again. Had I not powered down it may have happily run a while > longer. I have > seen drives fail like this before, especially when they are fairly > old. At > this stage you can only emit SIGH and replace/rebuild. > > But if the NYI guys are responsible for providing you with a > running system > the onus is on them to get it going again, at least up to a certain > point. > After that you would need to pick up and carry the ball the rest of > the way. Okay, so the machine is back online and I can log in again. The hardware is only 18 months old or so... good quality stuff, so hopefully nothing is physically damaged. We'll see... Unfortunately, mysql isn't working at the moment... will make a backup of data (I have the previous night's backup, of course, but would like the latest, if possible.) Then will try to figure out what's working and what's not. -- John From uebershark at googlemail.com Sun Apr 5 09:30:17 2009 From: uebershark at googlemail.com (Tom) Date: Sun Apr 5 09:30:23 2009 Subject: ULI M526x NIC on *BSD Message-ID: <20090405180742.542160fb@ViciousVincent> Hi, Is the ULI M526x NIC somehow supported with *BSD? The m526x belongs to the 'tulip'-family with the linux-kernel. Its not in the hardware compatibility list, so I'm not really counting on it, but what are the chances of seeing support? Is there maybe a way to 'port' the linux driver? I've heard about linux compatibility layer, but I suspect its not meant for linux kernel modules... Thanks for any pointers! Tom From nightrecon at verizon.net Sun Apr 5 11:10:19 2009 From: nightrecon at verizon.net (Michael Powell) Date: Sun Apr 5 11:10:26 2009 Subject: how to recover after power outage References: <4ad871310904050141k11eda14vd8db9224f4384757@mail.gmail.com> <1ED100F1-51AE-478D-873C-40FF43EA17FB@identry.com> Message-ID: John Almberg wrote: [snip] > > Okay, so the machine is back online and I can log in again. > > The hardware is only 18 months old or so... good quality stuff, so > hopefully nothing is physically damaged. We'll see... > > Unfortunately, mysql isn't working at the moment... will make a > backup of data (I have the previous night's backup, of course, but > would like the latest, if possible.) Then will try to figure out > what's working and what's not. > Check the machine-hostname.err file when you manually try and start MySQL. Provided that you have mysql_enable="YES" in /etc/rc.conf you should be able to manually attempt to start with /usr/local/etc/rc.d/mysql-server start (it seems to work reliably when you type out the entire command path-wise). Note that if somehow permissions on the my.cnf file got changed MySQL won't start if my.cnf is world writable. Check for stale PID and sockets. Normally these shouldn't be a problem as a startup will just overwrite them. Check these to eliminate any wonkiness, e.g. some permission change isn't allowing for MySQL to wipe the old ones. The whateverthehostname.err log and possibly /var/log/messages might give some clue for what's going on. If the database files are corrupt just clean them out and replace with a backup done with dump. Ensure the /var/db/mysql tree is chowned mysql:mysql. If you had to install/reinstall from ports the install should have created the appropriate uid/gid accounts. Check and see if these are missing. At any rate I wish you the best of luck. Now that you can SSH in you can probably fix it up. -Mike From modulok at gmail.com Sun Apr 5 11:58:47 2009 From: modulok at gmail.com (Modulok) Date: Sun Apr 5 11:58:53 2009 Subject: gmirror THEN geli, correct? Message-ID: <64c038660904051158s56ef5e82m51ca3c545770487@mail.gmail.com> List, I'm looking for a confirmation on the order: When setting up a (root partiton) gmirror+geli, what is the propper order? e.g: gmirror the disks and THEN initialize geli on the /dev/mirror partitions? Is this correct? Thanks. -Modulok- From jalmberg at identry.com Sun Apr 5 12:19:43 2009 From: jalmberg at identry.com (John Almberg) Date: Sun Apr 5 12:19:50 2009 Subject: how to recover after power outage In-Reply-To: References: <4ad871310904050141k11eda14vd8db9224f4384757@mail.gmail.com> <1ED100F1-51AE-478D-873C-40FF43EA17FB@identry.com> Message-ID: On Apr 5, 2009, at 2:10 PM, Michael Powell wrote: > John Almberg wrote: > > [snip] >> >> Okay, so the machine is back online and I can log in again. >> >> The hardware is only 18 months old or so... good quality stuff, so >> hopefully nothing is physically damaged. We'll see... >> >> Unfortunately, mysql isn't working at the moment... will make a >> backup of data (I have the previous night's backup, of course, but >> would like the latest, if possible.) Then will try to figure out >> what's working and what's not. >> > > Check the machine-hostname.err file when you manually try and start > MySQL. > Provided that you have mysql_enable="YES" in /etc/rc.conf you > should be able > to manually attempt to start with /usr/local/etc/rc.d/mysql-server > start (it > seems to work reliably when you type out the entire command path- > wise). > > Note that if somehow permissions on the my.cnf file got changed > MySQL won't > start if my.cnf is world writable. Check for stale PID and sockets. > Normally > these shouldn't be a problem as a startup will just overwrite them. > Check > these to eliminate any wonkiness, e.g. some permission change isn't > allowing > for MySQL to wipe the old ones. > > The whateverthehostname.err log and possibly /var/log/messages > might give > some clue for what's going on. If the database files are corrupt > just clean > them out and replace with a backup done with dump. Ensure the /var/ > db/mysql > tree is chowned mysql:mysql. If you had to install/reinstall from > ports the > install should have created the appropriate uid/gid accounts. Check > and see > if these are missing. > > At any rate I wish you the best of luck. Now that you can SSH in > you can > probably fix it up. Well, I had to give up, temporarily, on this server to get my clients back online. I took a nice machine I had laying around, loaded a fresh copy of FreeBSD on it, installed mysql, and loaded the Saturday morning database backup. I had to set up all the database permissions correctly, which took some time, but I'm happy to say that I've got all my clients back online with this new database server. Now I am going to catch a couple hours sleep (this has been going on since 2 am). Once I restore some brain cells, I'll see if I can figure out what's happening with the main database server. NYI has taken it off line, for some reason, and I can't log into it anyway, at the moment. Thanks for all the helpful advice. It's great to have this list to fall back on in a crisis. Brgds: John From rsmith at xs4all.nl Sun Apr 5 13:24:44 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Apr 5 13:24:51 2009 Subject: gmirror THEN geli, correct? In-Reply-To: <64c038660904051158s56ef5e82m51ca3c545770487@mail.gmail.com> References: <64c038660904051158s56ef5e82m51ca3c545770487@mail.gmail.com> Message-ID: <20090405202441.GA88269@slackbox.xs4all.nl> On Sun, Apr 05, 2009 at 12:58:46PM -0600, Modulok wrote: > List, > > I'm looking for a confirmation on the order: When setting up a (root > partiton) gmirror+geli, what is the propper order? e.g: gmirror the > disks and THEN initialize geli on the /dev/mirror partitions? Is this > correct? That works. I tried it. But it felt slow. So I dropped the mirroring, and used rsync running from a cron job at night to keep the primary and secondary disks (with encrypted partitions) in sync. This has a downside that my backup can be up to 24 hours out of date, but as a plus it provides me with an up to 24 hour window to recover accidentally deleted files. from the second disk. :-) It's a good tradeoff, IMO. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090405/9758cc97/attachment.pgp From utisoft at googlemail.com Sun Apr 5 13:40:54 2009 From: utisoft at googlemail.com (Chris Rees) Date: Sun Apr 5 13:41:01 2009 Subject: Question about forcing fsck at boottime In-Reply-To: <200903311657.n2VGvLE8010101@lurza.secnetix.de> References: <200903311657.n2VGvLE8010101@lurza.secnetix.de> Message-ID: 2009/3/31 Oliver Fromme : > Chris Rees wrote: > ?> 2009/3/31 Wojciech Puchar : > ?> > > ?> > IMHO this background fsck isn't good idea at all > ?> > ?> Why? > > Google "background fsck damage". > > I was bitten by it myself, and I also recommend to turn > background fsck off. ?If your disks are large and you > can't afford the fsck time, consider using ZFS, which > has a lot of benefits besides not requiring fsck. > > Best regards > ? Oliver > Right... You were bitten by background fsck, what _exactly_ happened? All the 'problems' here associated with bgfsck are referring to FreeBSD 4 etc, or incredibly vague anecdotal evidence. Have you googled for background fsck damage? Nothing (in the first two pages at least) even suggests that background fsck causes damage. Erik Trulsson wrote: > Normal PATA/SATA disks with write caching enabled (which is the default) do > not provide these guarantees. Disabling write caching on will make them > adhere to the assumptions that soft updates make, but at the cost of a > severe performance penalty when writing to the disks. > In short therefore on a 'typical' PC you can fairly easily get errors on a > filesystem which background fsck cannot handle. What do you mean by handle? Sure, it won't fix them, but it'll at least detect them. The chances of actually having a problem are slim, anyway, and it won't cause any damage either. Please don't assert information or stories about being 'bitten', without being more specific. It's meaningless and frustrating; I didn't ask who was bitten, I asked what the problem was. Also, please don't tell me to search the Internet without checking the search results for relevance yourself. I've spent a long time researching this, as have the FreeBSD devs, and they chose to make it on by default with no warnings. From the petty things they DO warn about, I very much doubt they'd allow something with a chance of any data corruption slide like that. Concrete evidence or direct links to problems with FreeBSD >6.0 ONLY in response please. Or, no-one has proven any reason for distrust, and all you lot are spreading is FUD. Sorry for the rant, it's not directly aimed at any of you, just the general assertion of 'facts' with no evidence, Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From illoai at gmail.com Sun Apr 5 15:24:39 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Sun Apr 5 15:24:45 2009 Subject: Question about forcing fsck at boottime In-Reply-To: References: <200903311657.n2VGvLE8010101@lurza.secnetix.de> Message-ID: 2009/4/5 Chris Rees : > 2009/3/31 Oliver Fromme : >> Chris Rees wrote: >> ?> 2009/3/31 Wojciech Puchar : >> ?> > >> ?> > IMHO this background fsck isn't good idea at all >> ?> >> ?> Why? >> >> Google "background fsck damage". >> >> I was bitten by it myself, and I also recommend to turn >> background fsck off. ?If your disks are large and you >> can't afford the fsck time, consider using ZFS, which >> has a lot of benefits besides not requiring fsck. >> >> Best regards >> ? Oliver >> > > Right... You were bitten by background fsck, what _exactly_ happened? > All the 'problems' here associated with bgfsck are referring to > FreeBSD 4 etc, or incredibly vague anecdotal evidence. Have you > googled for background fsck damage? Nothing (in the first two pages at > least) even suggests that background fsck causes damage. > > Erik Trulsson wrote: >> Normal PATA/SATA disks with write caching enabled (which is the default) do >> not provide these guarantees. ?Disabling write caching on will make them >> adhere to the assumptions that soft updates make, but at the cost of a >> severe performance penalty when writing to the disks. > >> In short therefore on a 'typical' PC you can fairly easily get errors on a >> filesystem which background fsck cannot handle. > > What do you mean by handle? Sure, it won't fix them, but it'll at > least detect them. The chances of actually having a problem are slim, > anyway, and it won't cause any damage either. > > This is exactly my experience: maybe three times in years of various power failures and hardware barfs have I had the background fsck tell me to run fsck manually. And that is the entire extent of the "failure". The system was running normally, if a bit slowly from the fsck itself, and the worst result was a disappeared /var/db/pkg directory (which had nothing to do with fsck being in the background on restart). -- -- From illoai at gmail.com Sun Apr 5 15:34:13 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Sun Apr 5 15:34:20 2009 Subject: How to find out which ports contains a specified command. In-Reply-To: References: Message-ID: 2009/4/5 Peter Wang : > > for example, after i installed pfsense, which is based on freebsd > release 7.1, i found adduser command is missing. > > so how to find out which ports contains `adduser' command? > thanks for your replies. > % which adduser /usr/sbin/adduser Thus it is part of the base system, installed through /usr/src rather than /usr/ports. Also, as you are running (essentially) 7.x, this is probably better on freebsd-questions than current. -- -- From kline at thought.org Sun Apr 5 15:49:25 2009 From: kline at thought.org (Gary Kline) Date: Sun Apr 5 15:49:32 2009 Subject: anybody know about a 3.01 package *With* browser? Message-ID: <20090405224918.GA41941@thought.org> Somebody thoughtfully posted a location where we could download a package of OOo-3.01 for the i386 recently. I thought that I had bookmarked that site that began "ooo" and had built packages for the openoffice suite. One, can anybody give the the correct URL? I'll burn it into my forearm this time! I want any/all the addons or plugins, and the mozilla browser would be a plus. thanks, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php From pschmehl_lists at tx.rr.com Sun Apr 5 16:33:26 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Sun Apr 5 16:33:33 2009 Subject: How to find out which ports contains a specified command. In-Reply-To: References: Message-ID: <2B08274BD5B112278E9DF1D2@Macintosh-2.local> --On April 5, 2009 6:13:57 PM -0400 illoai@gmail.com wrote: > 2009/4/5 Peter Wang : >> >> for example, after i installed pfsense, which is based on freebsd >> release 7.1, i found adduser command is missing. >> >> so how to find out which ports contains `adduser' command? >> thanks for your replies. >> > > % which adduser > /usr/sbin/adduser > > Thus it is part of the base system, installed through /usr/src > rather than /usr/ports. > > Also, as you are running (essentially) 7.x, this is probably > better on freebsd-questions than current. I think you misunderstood his question. This would be one way to do it: find /usr/ports/ -type f -exec grep -sq adduser {} \; -print Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From bruce at cran.org.uk Sun Apr 5 16:16:25 2009 From: bruce at cran.org.uk (Bruce Cran) Date: Sun Apr 5 17:32:40 2009 Subject: Question about forcing fsck at boottime In-Reply-To: References: <200903311657.n2VGvLE8010101@lurza.secnetix.de> Message-ID: <20090406001614.304360d6@gluon.draftnet> On Sun, 5 Apr 2009 21:40:52 +0100 Chris Rees wrote: > 2009/3/31 Oliver Fromme : > > Chris Rees wrote: > > ?> 2009/3/31 Wojciech Puchar : > > ?> > > > ?> > IMHO this background fsck isn't good idea at all > > ?> > > ?> Why? > > > > Google "background fsck damage". > > > > I was bitten by it myself, and I also recommend to turn > > background fsck off. ?If your disks are large and you > > can't afford the fsck time, consider using ZFS, which > > has a lot of benefits besides not requiring fsck. > > > > Best regards > > ? Oliver > > > > Right... You were bitten by background fsck, what _exactly_ happened? > All the 'problems' here associated with bgfsck are referring to > FreeBSD 4 etc, or incredibly vague anecdotal evidence. Have you > googled for background fsck damage? Nothing (in the first two pages at > least) even suggests that background fsck causes damage. > http://www.google.co.uk/search?q=background+fsck+corruption You'll find the first few results are about panics during background fsck resulting in an endless cycle of boot-panic-reboot, which don't occur with foreground fsck. And at least the first result is from 6.x. -- Bruce Cran From glen.j.barber at gmail.com Sun Apr 5 18:41:37 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Apr 5 18:41:45 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <20090405224918.GA41941@thought.org> References: <20090405224918.GA41941@thought.org> Message-ID: <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> Hi, Gary On Sun, Apr 5, 2009 at 6:49 PM, Gary Kline wrote: > > ? ? ? ?Somebody thoughtfully posted a location where we could download a > ? ? ? ?package of OOo-3.01 for the i386 recently. ?I thought that I had > ? ? ? ?bookmarked that site that began "ooo" and had built packages for > ? ? ? ?the openoffice suite. > > ? ? ? ?One, can anybody give the the correct URL? ?I'll burn it into my > ? ? ? ?forearm this time! ?I want any/all the addons or plugins, and the > ? ? ? ?mozilla browser would be a plus. > There are two primary places I am aware of: http://porting.openoffice.org/freebsd/#obtain ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/ HTH. -- Glen Barber From exemys at exemys.com Sun Apr 5 19:09:31 2009 From: exemys at exemys.com (Exemys) Date: Sun Apr 5 19:09:38 2009 Subject: Modbus I/O Module - Analog / Digital Message-ID: <12c6d7c9cc30e36fe07d5a57b490e6fb@www.hostmailing.com> This is a message in multipart MIME format. Your mail client should not be displaying this. Consider upgrading your mail client to view this message correctly. From kline at thought.org Sun Apr 5 19:10:31 2009 From: kline at thought.org (Gary Kline) Date: Sun Apr 5 19:10:39 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> Message-ID: <20090406021022.GB41137@thought.org> On Sun, Apr 05, 2009 at 09:41:36PM -0400, Glen Barber wrote: > Hi, Gary > > On Sun, Apr 5, 2009 at 6:49 PM, Gary Kline wrote: > > > > ? ? ? ?Somebody thoughtfully posted a location where we could download a > > ? ? ? ?package of OOo-3.01 for the i386 recently. ?I thought that I had > > ? ? ? ?bookmarked that site that began "ooo" and had built packages for > > ? ? ? ?the openoffice suite. > > > > ? ? ? ?One, can anybody give the the correct URL? ?I'll burn it into my > > ? ? ? ?forearm this time! ?I want any/all the addons or plugins, and the > > ? ? ? ?mozilla browser would be a plus. > > > > There are two primary places I am aware of: > > http://porting.openoffice.org/freebsd/#obtain > > ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/ > > HTH. well, it wouldve if there were a 3.0.1 d/load for 7.1, but nope. so far, none of us has been willing to volunteer the months/years to build a 7.1 version for the i386. i'm down to 5GB of freespace and oo fails after a few hours. can't figure out how/where all my diskspace went to.... but that's offtopic. tx, gary > > -- > Glen Barber -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php From glen.j.barber at gmail.com Sun Apr 5 19:15:00 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Apr 5 19:15:08 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <20090406021022.GB41137@thought.org> References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> Message-ID: <4ad871310904051914w476d3033j573e773cd5e3411b@mail.gmail.com> On Sun, Apr 5, 2009 at 10:10 PM, Gary Kline wrote: > ? ? ? ?well, it wouldve if there were a 3.0.1 d/load for 7.1, but nope. > ? ? ? ?so far, none of us has been willing to volunteer the months/years > ? ? ? ?to build a 7.1 version for the i386. > > ? ? ? ?i'm down to 5GB of freespace and oo fails after a few hours. > ? ? ? ?can't figure out how/where all my diskspace went to.... but > ? ? ? ?that's offtopic. > Tell you what. I'm running 7-STABLE right now, so if I were to build the package it may be incompatible with some things. Once 7.2 is -RELEASE, I'll build a GNOME and KDE version and put them up on my site. (I know that doesn't fix your *need* now, but I will take the time when the time is right.) Regards, -- Glen Barber From makefile at yeah.net Sun Apr 5 19:57:54 2009 From: makefile at yeah.net (makefile) Date: Sun Apr 5 19:58:03 2009 Subject: keyboard and USE mouse have no response in X Message-ID: <23472841.314151238984823758.JavaMail.coremail@yeahapp3.yeah.net> My computer is Thinkpad R61i 7732BGC.My system is FreeBSD-7.2-BETA1. Everything was fine in the console.Both the keyboard and USB mouse can not work in the X.I don't know why. But the USE mouse still can not work in the X. I say my keyboard can not work,because I can not use Ctrl+Alt+Backspace to kill X,and there is no response in X whether I type anything.If I type Alt+F1,just go back to the consol where I startx. I tried to a way what I just heard.Use sysinstall to set the mouse daemon disabled,and change /etc/X11/xorg.conf. Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Just change to "Protocol": Option "Protocol" "/dev/usm0" But my USB mouse still can not work.Also my keyboard. I need a help.I am a novice. From tajudd at gmail.com Sun Apr 5 20:51:41 2009 From: tajudd at gmail.com (Tim Judd) Date: Sun Apr 5 20:51:49 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <20090406021022.GB41137@thought.org> References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> Message-ID: On Sun, Apr 5, 2009 at 8:10 PM, Gary Kline wrote: > On Sun, Apr 05, 2009 at 09:41:36PM -0400, Glen Barber wrote: > > Hi, Gary > > > > On Sun, Apr 5, 2009 at 6:49 PM, Gary Kline wrote: > > > > > > Somebody thoughtfully posted a location where we could download > a > > > package of OOo-3.01 for the i386 recently. I thought that I had > > > bookmarked that site that began "ooo" and had built packages for > > > the openoffice suite. > > > > > > One, can anybody give the the correct URL? I'll burn it into my > > > forearm this time! I want any/all the addons or plugins, and > the > > > mozilla browser would be a plus. > > > > > > > There are two primary places I am aware of: > > > > http://porting.openoffice.org/freebsd/#obtain > > > > ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/ > > > > HTH. > > > well, it wouldve if there were a 3.0.1 d/load for 7.1, but nope. > so far, none of us has been willing to volunteer the months/years > to build a 7.1 version for the i386. > > i'm down to 5GB of freespace and oo fails after a few hours. > can't figure out how/where all my diskspace went to.... but > that's offtopic. > > tx, > > gary I don't understand the "months/years" or "weeks/days" symptom of OOo. On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Took about 4 hours. It only seemed to utilize only 1 CPU... my top always said <=50% CPU usage I left the default options, but it won't create a package.. policykit Updated +CONTENTS and retrying... success. 97 package files created to support openoffice. I have test servers up periodically and would offer it for an unknown period of time. I'll notify you when it's up. > > > > > > > -- > > Glen Barber > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service > Unix > http://jottings.thought.org http://transfinite.thought.org > The 2.41a release of Jottings: http://jottings.thought.org/index.php > From glen.j.barber at gmail.com Sun Apr 5 20:55:19 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Apr 5 20:55:26 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> Message-ID: <4ad871310904052055s37461e33lc0ef88485712c2df@mail.gmail.com> Hi, Tim. On Sun, Apr 5, 2009 at 11:51 PM, Tim Judd wrote: > > I don't understand the "months/years" or "weeks/days" symptom of OOo. > > On my dual-core system at work,? Intel(R) Core(TM)2 CPU????????? 6600? @ > 2.40GHz > > > Took about 4 hours.? It only seemed to utilize only 1 CPU...? my top always > said <=50% CPU usage > > I left the default options, but it won't create a package..? policykit > Updated +CONTENTS and retrying... > > success.? 97 package files created to support openoffice. > > > I have test servers up periodically and would offer it for an unknown period of time. I'll notify you when it's up. I'll race you. :) Seriously, though. This is something I've been meaning to do, but just haven't had time. Since 7.2-R is "upcoming", I figured that'd be the perfect time, and now I have the web hosting for the package(s). Regards, -- Glen Barber From roberthuff at rcn.com Sun Apr 5 21:02:45 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun Apr 5 21:02:52 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> Message-ID: <18905.32447.853120.350314@jerusalem.litteratus.org> Tim Judd writes: > I don't understand the "months/years" or "weeks/days" symptom of OOo. > > On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ > 2.40GHz > > Took about 4 hours. It only seemed to utilize only 1 CPU... my > top always said <=50% CPU usage For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded with fairly fast SCSI disks, it takes 30+ hours. Robert Huff From tajudd at gmail.com Sun Apr 5 21:05:17 2009 From: tajudd at gmail.com (Tim Judd) Date: Sun Apr 5 21:05:23 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <18905.32447.853120.350314@jerusalem.litteratus.org> References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> <18905.32447.853120.350314@jerusalem.litteratus.org> Message-ID: On Sun, Apr 5, 2009 at 10:02 PM, Robert Huff wrote: > > Tim Judd writes: > > > I don't understand the "months/years" or "weeks/days" symptom of OOo. > > > > On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ > > 2.40GHz > > > > Took about 4 hours. It only seemed to utilize only 1 CPU... my > > top always said <=50% CPU usage > > For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded > with fairly fast SCSI disks, it takes 30+ hours. > Well, I had full Xorg 7.4, KDE4 and partial gnome2 installed when I built openoffice. I am pretty sure if I have to do everything from scratch is where the "days" would come into play. > > > Robert Huff > From tajudd at gmail.com Sun Apr 5 21:21:40 2009 From: tajudd at gmail.com (Tim Judd) Date: Sun Apr 5 21:21:47 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> <18905.32447.853120.350314@jerusalem.litteratus.org> Message-ID: On Sun, Apr 5, 2009 at 10:05 PM, Tim Judd wrote: > > > On Sun, Apr 5, 2009 at 10:02 PM, Robert Huff wrote: > >> >> Tim Judd writes: >> >> > I don't understand the "months/years" or "weeks/days" symptom of OOo. >> > >> > On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 >> @ >> > 2.40GHz >> > >> > Took about 4 hours. It only seemed to utilize only 1 CPU... my >> > top always said <=50% CPU usage >> >> For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded >> with fairly fast SCSI disks, it takes 30+ hours. >> > > > Well, I had full Xorg 7.4, KDE4 and partial gnome2 installed when I built > openoffice. I am pretty sure if I have to do everything from scratch is > where the "days" would come into play. > Reference - dependency list for OOo 3.0.1 package, 7.1-R i386: Information for openoffice.org-3.0.1.tbz: Depends on: Dependency: xineramaproto-1.1.2 Dependency: xextproto-7.0.5 Dependency: renderproto-0.9.3 Dependency: randrproto-1.2.1 Dependency: printproto-1.0.4 Dependency: kbproto-1.0.3 Dependency: inputproto-1.5.0 Dependency: fixesproto-4.0 Dependency: damageproto-1.1.0_2 Dependency: compositeproto-0.4 Dependency: font-util-1.0.1 Dependency: encodings-1.0.2,1 Dependency: expat-2.0.1 Dependency: policykit-0.9_4 Dependency: gnome_subr-1.0 Dependency: dmidecode-2.10 Dependency: openldap-client-2.4.15_1 Dependency: pciids-20090224 Dependency: hicolor-icon-theme-0.10_2 Dependency: gnomehier-2.3_11 Dependency: python25-2.5.4_1 Dependency: xcb-proto-1.4 Dependency: perl-5.8.9_2 Dependency: png-1.2.35 Dependency: jpeg-6b_7 Dependency: tiff-3.8.2_3 Dependency: jasper-1.900.1_7 Dependency: pkg-config-0.23_1 Dependency: libtasn1-1.8 Dependency: libart_lgpl-2.3.20,1 Dependency: pixman-0.14.0 Dependency: freetype2-2.3.7 Dependency: fontconfig-2.6.0,1 Dependency: bitstream-vera-1.10_4 Dependency: xproto-7.0.15 Dependency: libfontenc-1.0.4 Dependency: mkfontscale-1.0.6 Dependency: mkfontdir-1.0.4 Dependency: font-misc-ethiopic-1.0.0 Dependency: font-misc-meltho-1.0.0_1 Dependency: font-bh-ttf-1.0.0 Dependency: xorg-fonts-truetype-7.4 Dependency: libICE-1.0.4_1,1 Dependency: libSM-1.1.0_1,1 Dependency: libXdmcp-1.0.2_1 Dependency: libXau-1.0.4 Dependency: pcre-7.8 Dependency: libvolume_id-0.81.1 Dependency: libpthread-stubs-0.1 Dependency: libxcb-1.2 Dependency: xcb-util-0.3.3 Dependency: libX11-1.2,1 Dependency: libXt-1.0.5_1 Dependency: libXrender-0.9.4_1 Dependency: cairo-1.8.6_1,1 Dependency: libXft-2.1.13 Dependency: libXfixes-4.0.3_1 Dependency: libXcursor-1.1.9_1 Dependency: libXdamage-1.1.1 Dependency: libXext-1.0.5,1 Dependency: libXcomposite-0.4.0,1 Dependency: libXinerama-1.0.3,1 Dependency: libXi-1.2.1,1 Dependency: libXrandr-1.2.3 Dependency: libXpm-3.5.7 Dependency: libXp-1.0.0,1 Dependency: libXmu-1.0.4,1 Dependency: libXaw-1.0.5_1,1 Dependency: libdaemon-0.12 Dependency: gdbm-1.8.3_3 Dependency: libiconv-1.11_1 Dependency: samba-libsmbclient-3.0.34_1 Dependency: libxml2-2.7.3 Dependency: dbus-1.2.4.4 Dependency: gettext-0.17_1 Dependency: gnome-mime-data-2.18.0_3 Dependency: libgpg-error-1.7 Dependency: libgcrypt-1.4.4 Dependency: gnutls-2.6.4 Dependency: cups-base-1.3.9_3 Dependency: glib-2.18.4 Dependency: gamin-0.1.10 Dependency: gio-fam-backend-2.18.4 Dependency: desktop-file-utils-0.15_1 Dependency: libIDL-0.8.13 Dependency: ORBit2-2.14.17 Dependency: pango-1.22.4 Dependency: shared-mime-info-0.60 Dependency: dbus-glib-0.80 Dependency: consolekit-0.3.0_5 Dependency: avahi-app-0.6.24_1 Dependency: hal-0.5.11_21 Dependency: atk-1.24.0 Dependency: gtk-2.14.7_1 Dependency: gconf2-2.24.0 Dependency: gnome-vfs-2.24.1 I'm not sure why there's so much depenencies, but if anyone wants me to post it, I want to know. Having 1 is equal to an infinity, so if only one person asks to post it, I'll put it up for a while. > > > >> >> >> Robert Huff >> > > From roberthuff at rcn.com Sun Apr 5 21:24:36 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun Apr 5 21:24:44 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> <18905.32447.853120.350314@jerusalem.litteratus.org> Message-ID: <18905.33793.899705.125789@jerusalem.litteratus.org> Tim Judd writes: > > > I don't understand the "months/years" or "weeks/days" symptom of OOo. > > > > > > On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ > > > 2.40GHz > > > > > > Took about 4 hours. It only seemed to utilize only 1 CPU... my > > > top always said <=50% CPU usage > > > > For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded > > with fairly fast SCSI disks, it takes 30+ hours. > > Well, I had full Xorg 7.4, KDE4 and partial gnome2 installed when I built > openoffice. I had all dependencies pre-installed; that 30+ is all for OpenOffice. Robert Huff From roberthuff at rcn.com Sun Apr 5 21:46:09 2009 From: roberthuff at rcn.com (Robert Huff) Date: Sun Apr 5 21:46:15 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> <18905.32447.853120.350314@jerusalem.litteratus.org> Message-ID: <18905.35071.181871.437245@jerusalem.litteratus.org> Tim Judd writes: > Reference - dependency list for OOo 3.0.1 package, 7.1-R i386: > I'm not sure why there's so much depenencies, but if anyone wants > me to post it, I want to know. Because OOo declines to re-invent the wheel? Some of these are easy to understand if you know almost nothing about programming - the fonts for example. Others, like cairo, pango, expat, and CUPS, are established libraries for dealing with things like text input/rendering, graphics, and printing. "gtk" is the GUI tookkit. What I don't understand is things like pciids-20090224. Robert Huff From kline at thought.org Mon Apr 6 00:14:15 2009 From: kline at thought.org (Gary Kline) Date: Mon Apr 6 00:14:22 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <4ad871310904051914w476d3033j573e773cd5e3411b@mail.gmail.com> References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> <4ad871310904051914w476d3033j573e773cd5e3411b@mail.gmail.com> Message-ID: <20090406071409.GA20705@thought.org> On Sun, Apr 05, 2009 at 10:14:58PM -0400, Glen Barber wrote: > On Sun, Apr 5, 2009 at 10:10 PM, Gary Kline wrote: > > ? ? ? ?well, it wouldve if there were a 3.0.1 d/load for 7.1, but nope. > > ? ? ? ?so far, none of us has been willing to volunteer the months/years > > ? ? ? ?to build a 7.1 version for the i386. > > > > ? ? ? ?i'm down to 5GB of freespace and oo fails after a few hours. > > ? ? ? ?can't figure out how/where all my diskspace went to.... but > > ? ? ? ?that's offtopic. > > > > Tell you what. I'm running 7-STABLE right now, so if I were to build > the package it may be incompatible with some things. Once 7.2 is > -RELEASE, I'll build a GNOME and KDE version and put them up on my > site. (I know that doesn't fix your *need* now, but I will take the > time when the time is right.) > > Regards, Sounds like a win++. Hopefully, by then KDE-4 will be working completely; that may be where at least some of my space got lost, :-). Not entirely sure. gary > > -- > Glen Barber -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php From kline at thought.org Mon Apr 6 00:23:39 2009 From: kline at thought.org (Gary Kline) Date: Mon Apr 6 00:23:48 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> Message-ID: <20090406072331.GB20705@thought.org> On Sun, Apr 05, 2009 at 09:51:24PM -0600, Tim Judd wrote: > On Sun, Apr 5, 2009 at 8:10 PM, Gary Kline wrote: > > > On Sun, Apr 05, 2009 at 09:41:36PM -0400, Glen Barber wrote: > > > Hi, Gary > > > > > > On Sun, Apr 5, 2009 at 6:49 PM, Gary Kline wrote: > > > > > > > > Somebody thoughtfully posted a location where we could download > > a > > > > package of OOo-3.01 for the i386 recently. I thought that I had > > > > bookmarked that site that began "ooo" and had built packages for > > > > the openoffice suite. > > > > > > > > One, can anybody give the the correct URL? I'll burn it into my > > > > forearm this time! I want any/all the addons or plugins, and > > the > > > > mozilla browser would be a plus. > > > > > > > > > > There are two primary places I am aware of: > > > > > > http://porting.openoffice.org/freebsd/#obtain > > > > > > ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/ > > > > > > HTH. > > > > > > well, it wouldve if there were a 3.0.1 d/load for 7.1, but nope. > > so far, none of us has been willing to volunteer the months/years > > to build a 7.1 version for the i386. > > > > i'm down to 5GB of freespace and oo fails after a few hours. > > can't figure out how/where all my diskspace went to.... but > > that's offtopic. > > > > tx, > > > > gary > > > > I don't understand the "months/years" or "weeks/days" symptom of OOo. > > On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ > 2.40GHz > > > Took about 4 hours. It only seemed to utilize only 1 CPU... my top always > said <=50% CPU usage tHis was with a Dual?! I want to fold two desktops into one and am thinking of buying/building an Intel quad. Something that will be powerful enough to still be very good in years to come. Would like people's thoughts of this. Hopeless it can be a reasoned discussion... . > > I left the default options, but it won't create a package.. policykit > Updated +CONTENTS and retrying... > > success. 97 package files created to support openoffice. > > > I have test servers up periodically and would offer it for an unknown period > of time. I'll notify you when it's up. > great, thank you. gary > > > > > > > > > > > > > -- > > > Glen Barber > > > > -- > > Gary Kline kline@thought.org http://www.thought.org Public Service > > Unix > > http://jottings.thought.org http://transfinite.thought.org > > The 2.41a release of Jottings: http://jottings.thought.org/index.php > > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php From perl-xml-bounces at listserv.ActiveState.com Mon Apr 6 01:03:26 2009 From: perl-xml-bounces at listserv.ActiveState.com (perl-xml-bounces@listserv.ActiveState.com) Date: Mon Apr 6 01:03:33 2009 Subject: Your message to Perl-XML awaits moderator approval Message-ID: Your mail to 'Perl-XML' with the subject Returned mail: Data format error Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel this posting, please visit the following URL: http://listserv.ActiveState.com/mailman/confirm/perl-xml/cdde41e2b7075c395ffc479ce131e927364e0398 From peter at boosten.org Mon Apr 6 02:42:11 2009 From: peter at boosten.org (Peter Boosten) Date: Mon Apr 6 02:42:19 2009 Subject: How to find out which ports contains a specified command. In-Reply-To: <2B08274BD5B112278E9DF1D2@Macintosh-2.local> References: <2B08274BD5B112278E9DF1D2@Macintosh-2.local> Message-ID: <08809CCC-DED8-43E6-B970-8E6A7F158540@boosten.org> On 6 apr 2009, at 01:33, Paul Schmehl wrote: > --On April 5, 2009 6:13:57 PM -0400 illoai@gmail.com wrote: > >> 2009/4/5 Peter Wang : >>> >>> for example, after i installed pfsense, which is based on freebsd >>> release 7.1, i found adduser command is missing. >>> >>> so how to find out which ports contains `adduser' command? >>> thanks for your replies. >>> >> >> % which adduser >> /usr/sbin/adduser >> >> Thus it is part of the base system, installed through /usr/src >> rather than /usr/ports. >> >> Also, as you are running (essentially) 7.x, this is probably >> better on freebsd-questions than current. > > I think you misunderstood his question. > > This would be one way to do it: > > find /usr/ports/ -type f -exec grep -sq adduser {} \; -print How about man pkg_info From memory: pkg_info -W /usr/sbin/adduser Peter > > > Paul Schmehl, If it isn't already > obvious, my opinions are my own > and not those of my employer. > ****************************************** > WARNING: Check the headers before replying > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From chowse at charter.net Mon Apr 6 03:43:50 2009 From: chowse at charter.net (Charles Howse) Date: Mon Apr 6 03:43:57 2009 Subject: mergemaster options Message-ID: Hi, I'm upgrading form 4.6-RELEASE to 4.6-STABLE. When I get to the *second* run of mergemaster (after installworld), I'd be interested to hear the list's comments on using options to start mergemaster. For example, have you had good luck with: mergemaster -i -u (install any files that don't already exist, and attempt to install any files that haven't been user-modified) Also, what is the first line of a file used for? What parts of the OS 'care' about that line? What would happen if I kept the existing file below, with it's older date and version #? (This is just a made-up example). keep this existing file: # $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $ my custom line blah delete this (fake) temporary file: # $FreeBSD: src/etc/csh.cshrc,v 1.4 2000/08/27 23:23:40 peter Exp $ blah blah I hope that's clear...? -- Later, Charles From a at jenisch.at Mon Apr 6 03:55:04 2009 From: a at jenisch.at (Ewald Jenisch) Date: Mon Apr 6 03:55:12 2009 Subject: Symantec Netbackup under 7.1 - Undefined symbol In-Reply-To: <49D67C86.80101@unsane.co.uk> References: <20090403122829.GA2201@aurora.oekb.co.at> <49D624D1.1040101@unsane.co.uk> <20090403193934.GA3711@aurora.oekb.co.at> <49D67C86.80101@unsane.co.uk> Message-ID: <20090406102521.GA1452@aurora.oekb.co.at> On Fri, Apr 03, 2009 at 10:15:50PM +0100, Vincent Hoffman wrote: > > > Fair point, I had a bit more of a think, I'd now guess that it looks > like a 32/64 bit problem, its a 32bit binary on a 64 bit system and its > /libexec/ld-elf.so.1 complaining not /libexec/ld-elf32.so.1 whch is odd. > do you have the lib32 compat stuff installed, does > /libexec/ld-elf32.so.1 exist on your system? if not you can add it via > sysinstall -> configure -> Distributions -> lib32. Hi, Here's what the binaries in question point to: # ldd ./bplist ./bplist: libkvm.so.2 => /usr/local/lib32/compat/libkvm.so.2 (0x280d1000) libstdc++.so.4 => /usr/local/lib32/compat/libstdc++.so.4 (0x280d7000) libm.so.3 => /usr/local/lib32/compat/libm.so.3 (0x281b4000) libc.so.5 => /usr/lib32/libc.so.5 (0x281cf000) # All of these libraires exist: # ls -l /libexec/ld-elf32.so.1 -r-xr-xr-x 1 root wheel 170944 Apr 2 20:16 /libexec/ld-elf32.so.1 # ls -l /usr/local/lib32/compat/libkvm.so.2 -r--r--r-- 1 root wheel 24957 Mar 30 13:19 /usr/local/lib32/compat/libkvm.so.2 # ls -l /usr/local/lib32/compat/libstdc++.so.4 -r--r--r-- 1 root wheel 1102049 Mar 30 13:19 /usr/local/lib32/compat/libstdc++.so.4 # ls -l /usr/local/lib32/compat/libm.so.3 -r--r--r-- 1 root wheel 126743 Mar 30 13:19 /usr/local/lib32/compat/libm.so.3 # ls -l /usr/lib32/libc.so.5 -r--r--r-- 1 root wheel 1047956 Mar 24 14:32 /usr/lib32/libc.so.5 # So it's even more strange to me that "/libexec/ld-elf.so.1" complains about the undefined symbol "__h_error" Is there any way to track this down furhter? BTW, note I've got /usr/ports/misc/compat5x installed which "pkg_info" displays as " compat5x-amd64-5.4.0.8_9" -ewald From jimmiejaz at gmail.com Mon Apr 6 04:17:02 2009 From: jimmiejaz at gmail.com (Jimmie James) Date: Mon Apr 6 04:17:10 2009 Subject: xf86-video-intel-2.6.3 resolution issues Message-ID: <49D9E482.1010302@gmail.com> With the previous intel driver, my screen resolution was 1400x1050, and after this latest update: ~>xrandr Screen 0: minimum 320 x 200, current 1280 x 960, maximum 1280 x 1280 VGA connected 1280x960+0+0 (normal left inverted right x axis y axis) 306mm x 230mm 1280x960 60.0* 1024x768 75.0 70.1 60.0 43.5 832x624 74.6 800x600 85.1 72.2 75.0 60.3 56.2 640x480 85.0 75.0 72.8 66.7 59.9 720x400 87.8 70.1 Is anyone else seeing this? Doesn't seem that I'm able to make the display fit the monitor, all of the settings are at 100% yet I've still got about 3 inches on either side of blackness. vgapci0@pci0:0:2:1: class=0x030000 card=0x25821043 chip=0x25828086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G/GV/GL, 82910GL Integrated Graphics Device' class = display subclass = VGA vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xd0000000 256MB info: [drm] Initialized i915 1.6.0 20080730 vgapci1: mem 0xcfe00000-0xcfe7ffff at device 2.1 on pci0 -- Over the years I've come to regard you as people I've met. From patfbsd at davenulle.org Mon Apr 6 04:43:30 2009 From: patfbsd at davenulle.org (Patrick =?ISO-8859-15?Q?Lamaizi=E8re?=) Date: Mon Apr 6 04:43:38 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <20090405224918.GA41941@thought.org> References: <20090405224918.GA41941@thought.org> Message-ID: <20090406134324.3bc5fe17@baby-jane.lamaiziere.net> Le Sun, 5 Apr 2009 15:49:20 -0700, Gary Kline : [OpenOffice] > I want any/all the addons or plugins, and the > mozilla browser would be a plus. What is the goal of this browser option in OOo? To speed up the compilation of OOo, you can use ccache (option WITH_CCACHE) From chowse at charter.net Mon Apr 6 04:52:10 2009 From: chowse at charter.net (Charles Howse) Date: Mon Apr 6 04:52:17 2009 Subject: mergemaster options In-Reply-To: References: Message-ID: <7DB4F25C-EBF5-430A-AAE4-5F64C2A4A9A9@charter.net> On Apr 6, 2009, at 5:43 AM, Charles Howse wrote: > Hi, > I'm upgrading form 4.6-RELEASE to 4.6-STABLE. So sorry...that should be from 6.4-RELEASE to 6.4-STABLE From sonic2000gr at gmail.com Mon Apr 6 05:04:20 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Mon Apr 6 05:04:29 2009 Subject: mergemaster options In-Reply-To: References: Message-ID: <49D9EFA8.709@gmail.com> Charles Howse wrote: > Hi, > I'm upgrading form 4.6-RELEASE to 4.6-STABLE. > When I get to the *second* run of mergemaster (after installworld), > I'd be interested to hear the list's comments on using options to > start mergemaster. > > For example, have you had good luck with: > mergemaster -i -u (install any files that don't already exist, and > attempt to install any files that haven't been user-modified) Yes, I am using this all the time. Note that you need a capital "U": mergemaster -iU > > Also, what is the first line of a file used for? What parts of the OS > 'care' about that line? What would happen if I kept the existing file > below, with it's older date and version #? (This is just a made-up > example). > > keep this existing file: > # $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $ > my custom line > blah > > delete this (fake) temporary file: > # $FreeBSD: src/etc/csh.cshrc,v 1.4 2000/08/27 23:23:40 peter Exp $ > blah > blah > > I hope that's clear...? > The lines you see starting with $FreeBSD are used by the Version Control System (CVS or SVN). You have to judge by the content of the older file (not by the tag) whether to keep or upgrade the file. Usually, you will let it upgrade all files which you have not modified yourself. In some of these the only thing that changes is the tag. Before doing the mergemaster step, I suggest you keep a complete backup copy of your /etc directory. It may happen that you replace a file you actually need. And it is a real problem if you overwrite, say, master.passwd :) From chowse at charter.net Mon Apr 6 05:54:12 2009 From: chowse at charter.net (Charles Howse) Date: Mon Apr 6 05:54:19 2009 Subject: mergemaster options In-Reply-To: <49D9EFA8.709@gmail.com> References: <49D9EFA8.709@gmail.com> Message-ID: On Apr 6, 2009, at 7:03 AM, Manolis Kiagias wrote: > Charles Howse wrote: >> Hi, >> I'm upgrading form 4.6-RELEASE to 4.6-STABLE. >> When I get to the *second* run of mergemaster (after installworld), >> I'd be interested to hear the list's comments on using options to >> start mergemaster. >> >> For example, have you had good luck with: >> mergemaster -i -u (install any files that don't already exist, and >> attempt to install any files that haven't been user-modified) > > Yes, I am using this all the time. Note that you need a capital "U": > > mergemaster -iU Right, capital U. That's good to know. Thanks. > > >> >> Also, what is the first line of a file used for? What parts of the >> OS >> 'care' about that line? What would happen if I kept the existing >> file >> below, with it's older date and version #? (This is just a made-up >> example). >> >> keep this existing file: >> # $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $ >> my custom line >> blah >> >> delete this (fake) temporary file: >> # $FreeBSD: src/etc/csh.cshrc,v 1.4 2000/08/27 23:23:40 peter Exp $ >> blah >> blah >> >> I hope that's clear...? >> > > The lines you see starting with $FreeBSD are used by the Version > Control > System (CVS or SVN). > You have to judge by the content of the older file (not by the tag) > whether to keep or upgrade the file. Usually, you will let it upgrade > all files which you have not modified yourself. In some of these the > only thing that changes is the tag. > Before doing the mergemaster step, I suggest you keep a complete > backup > copy of your /etc directory. It may happen that you replace a file > you > actually need. And it is a real problem if you overwrite, say, > master.passwd :) Actually, I wasn't asking about the CVS line with regard to mergemaster. I realize that mergemaster will stop and ask about any file in its list with a CVS line older than the new file. What I really want to know is, let's say the file above is /etc/ hosts.allow, and I have customized it according to my needs. If I leave the old file in /etc, I'm thinking it will still work just fine. It's only mergemaster, and maybe cvsup, and things that actually deal with version control that are concerned with the CVS line. Am I correct? From olli at lurza.secnetix.de Mon Apr 6 06:04:54 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Mon Apr 6 06:05:01 2009 Subject: How to find out which ports contains a specified command. In-Reply-To: <08809CCC-DED8-43E6-B970-8E6A7F158540@boosten.org> Message-ID: <200904061304.n36D4NMW043501@lurza.secnetix.de> Peter Boosten wrote: > Paul Schmehl wrote: > > illoai@gmail.com wrote: > > > Peter Wang wrote: > > > > for example, after i installed pfsense, which is based on freebsd > > > > release 7.1, i found adduser command is missing. > > > > > > > > so how to find out which ports contains `adduser' command? > > > > thanks for your replies. > > > > > > % which adduser > > > /usr/sbin/adduser > > > > > > Thus it is part of the base system, installed through /usr/src > > > rather than /usr/ports. > > > > > > Also, as you are running (essentially) 7.x, this is probably > > > better on freebsd-questions than current. > > > > I think you misunderstood his question. > > > > This would be one way to do it: > > > > find /usr/ports/ -type f -exec grep -sq adduser {} \; -print That is horribly inefficient because it forks a separate grep process for every single file under /usr/ports. Also it will print a lot of false positive, because the ports tree contains several files and scripts that call adduser. > How about man pkg_info > > From memory: pkg_info -W /usr/sbin/adduser That won't work, because pkg_info only reports information about packages that you have installed. One way to find which ports provide a certain file is to use the "porgle" search engine: http://www.secnetix.de/tools/porgle/?w=p&q=adduser However, there is an adduser command in /usr/sbin which is part of the FreeBSD base system. If some script complains about that command being missing, you should invstigate whether you do have that command in /usr/sbin. It's unlikely that a port requires a different command with the same name without having a dependency on the port that provides that command. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd C++: "an octopus made by nailing extra legs onto a dog" -- Steve Taylor, 1998 From olli at lurza.secnetix.de Mon Apr 6 06:22:49 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Mon Apr 6 06:23:01 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <18905.35071.181871.437245@jerusalem.litteratus.org> Message-ID: <200904061322.n36DMN8L044421@lurza.secnetix.de> Robert Huff wrote: > Tim Judd writes: > > > Reference - dependency list for OOo 3.0.1 package, 7.1-R i386: > > > > > I'm not sure why there's so much depenencies, but if anyone wants > > me to post it, I want to know. > > Because OOo declines to re-invent the wheel? Some of these are > easy to understand if you know almost nothing about programming - > the fonts for example. Others, like cairo, pango, expat, and CUPS, > are established libraries for dealing with things like text > input/rendering, graphics, and printing. "gtk" is the GUI tookkit. > What I don't understand is things like pciids-20090224. It's required by hal. About half of the dependencies seem to be Xorg-related things (fonts, libraries, protocols). There are also dependencies for supporting various graphics formats (png, jpeg, tiff) and scripting languages (python, perl). Well, it all adds up. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd We're sysadmins. To us, data is a protocol-overhead. From roberthuff at rcn.com Mon Apr 6 07:16:45 2009 From: roberthuff at rcn.com (Robert Huff) Date: Mon Apr 6 07:16:56 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <200904061322.n36DMN8L044421@lurza.secnetix.de> References: <18905.35071.181871.437245@jerusalem.litteratus.org> <200904061322.n36DMN8L044421@lurza.secnetix.de> Message-ID: <18906.3786.490993.59702@jerusalem.litteratus.org> Oliver Fromme writes: > > > I'm not sure why there's so much depenencies, but if anyone wants > > > me to post it, I want to know. > > > > Because OOo declines to re-invent the wheel? Some of these are > > easy to understand if you know almost nothing about programming - > > the fonts for example. Others, like cairo, pango, expat, and CUPS, > > are established libraries for dealing with things like text > > input/rendering, graphics, and printing. "gtk" is the GUI tookkit. > > What I don't understand is things like pciids-20090224. > > It's required by hal. About half of the dependencies seem > to be Xorg-related things (fonts, libraries, protocols). > There are also dependencies for supporting various graphics > formats (png, jpeg, tiff) and scripting languages (python, > perl). Well, it all adds up. So it's not just things that OO depends on directly, but things those programs depend on, /ad incipio/. That's ... confusing. Robert Huff From olli at lurza.secnetix.de Mon Apr 6 07:19:44 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Mon Apr 6 07:19:51 2009 Subject: gmirror THEN geli, correct? In-Reply-To: <64c038660904051158s56ef5e82m51ca3c545770487@mail.gmail.com> Message-ID: <200904061419.n36EJIsB047211@lurza.secnetix.de> Modulok wrote: > I'm looking for a confirmation on the order: When setting up a (root > partiton) gmirror+geli, what is the propper order? e.g: gmirror the > disks and THEN initialize geli on the /dev/mirror partitions? Is this > correct? You can also do it the other way round. Both ways are possible and have different advantages and disadvantages. I think most people install gmirror first and put geli on top of it. The advantage of this is that it's more efficient, because data passes through geli only once for encryption when writing to the mirror. If you install geli first on both disks and then put gmirror on top of both geli instances, all data has to be encrypted twice when writing to the disk (for reading it doesn't make a difference), so it is less efficient. However, this setup has the advantage that gmirror will correctly detach one drive when its geli instance detects data corruption (if integrity verification is enabled). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "If you aim the gun at your foot and pull the trigger, it's UNIX's job to ensure reliable delivery of the bullet to where you aimed the gun (in this case, Mr. Foot)." -- Terry Lambert, FreeBSD-hackers mailing list. From kuku at kukulies.org Mon Apr 6 07:38:27 2009 From: kuku at kukulies.org (Christoph Kukulies) Date: Mon Apr 6 07:38:35 2009 Subject: 7.1 rum0 belkin USB AP Message-ID: <49DA1385.5000703@kukulies.org> I'm in the need of getting a FreeBSD box acting as a router for a 11b wlan. It seemed to have worked with 11g but the Dell treumobile card which is in an older Inspiron 8000 only seems to understand 11b. It doesn't seem to connect to the wlan my FreeBSD is offering at the moment with the belkin USB AP. My ifconfig line is ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE wepmode on wepkey 0xf00baf00ba weptxkey 1 channel 1 The SSID is seen by the dell truemobile card but it cannot connect to the network. Do I have to explicitly force 11b on the belkin ? -- Christoph From invite+zrhfpr1z at facebookmail.com Mon Apr 6 08:05:56 2009 From: invite+zrhfpr1z at facebookmail.com (Md. Zahidul Islam) Date: Mon Apr 6 08:06:03 2009 Subject: Check out my photos on Facebook Message-ID: <90ca1d67392de0a2b1cebf8c6eebe165@localhost.localdomain> Hi Questions, I set up a Facebook profile where I can post my pictures, videos and events and I want to add you as a friend so you can see it. First, you need to join Facebook! Once you join, you can also create your own profile. Thanks, Md. Zahidul To sign up for Facebook, follow the link below: http://www.facebook.com/p.php?i=1452380293&k=4XC44WTRQV4M5CDFX1Z4YU&r questions@freebsd.org was invited to join Facebook by Md. Zahidul Islam. If you do not wish to receive this type of email from Facebook in the future, please click on the link below to unsubscribe. http://www.facebook.com/o.php?k=b41a62&u=1106925181&mid=4413fbG41fa567dG0G8 Facebook's offices are located at 156 University Ave., Palo Alto, CA 94301. From Jason_Wooten at mail.vresp.com Mon Apr 6 08:17:30 2009 From: Jason_Wooten at mail.vresp.com (Jason Wooten) Date: Mon Apr 6 08:17:38 2009 Subject: Pre-Owned Display - April 2009 Message-ID: <69e93ea379-questions=freebsd.org@mail.vresp.com> In this tuff economy you should consider ExhibitTrader.com when looking to purchase your next trade show display. ExhibitTrader.com provides access to thousands of high quality, eye catching display systems at a fraction of the cost of building new. What do other exhibitors have to say about EXHIBITTRADER.COM? "Juni is extremely happy with the booth we recently purchased through ExhibitTrader.com. We used the booth for the first time at a show in Chicago and it was by far the best show we have ever had. Thank you again for your excellent customer service and willingness to assist our needs in getting the booth we needed." Jill Loebsack Marketing Juni America *To view this email in full with images: http://cts.vresp.com/c/?EXHIBITTRADER.COM/69e93ea379/0713a75408/d7a7824daa EXHIBITTRADER.COM info@exhibittrader.com 214.459.3587 www.exhibittrader.com ______________________________________________________________________ If you no longer wish to receive these emails, please reply to this message with "Unsubscribe" in the subject line or simply click on the following link: http://cts.vresp.com/u?69e93ea379/0713a75408/mlpftw ______________________________________________________________________ Click below to forward this email to a friend: http://oi.verticalresponse.com/f2af/v4/send_to_friend.html?ch=69e93ea379&lid=381000480&ldh=0713a75408 ______________________________________________________________________ This message was sent by Jason Wooten using VerticalResponse EXHIBITTRADER.COM 3324 Ovilla Road Ovilla, Texas 75154 USA Read the VerticalResponse marketing policy: http://www.verticalresponse.com/content/pm_policy.html From sonic2000gr at gmail.com Mon Apr 6 08:24:29 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Mon Apr 6 08:24:36 2009 Subject: mergemaster options In-Reply-To: References: <49D9EFA8.709@gmail.com> Message-ID: <49DA1EAA.7030602@gmail.com> Charles Howse wrote: > > > Actually, I wasn't asking about the CVS line with regard to > mergemaster. I realize that mergemaster will stop and ask about any > file in its list with a CVS line older than the new file. > > What I really want to know is, let's say the file above is > /etc/hosts.allow, and I have customized it according to my needs. > If I leave the old file in /etc, I'm thinking it will still work just > fine. It's only mergemaster, and maybe cvsup, and things that > actually deal with version control that are concerned with the CVS line. > Am I correct? > > > You are correct. As long as the content of the file is right for the purpose, the line added by CVS is simply ignored by anything and everything - except mergemaster and friends when upgrading. From olli at lurza.secnetix.de Mon Apr 6 08:30:55 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Mon Apr 6 08:31:01 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <18906.3786.490993.59702@jerusalem.litteratus.org> Message-ID: <200904061530.n36FUTqV050438@lurza.secnetix.de> Robert Huff wrote: > Oliver Fromme writes: > > > > > I'm not sure why there's so much depenencies, but if anyone wants > > > > me to post it, I want to know. > > > > > > Because OOo declines to re-invent the wheel? Some of these are > > > easy to understand if you know almost nothing about programming - > > > the fonts for example. Others, like cairo, pango, expat, and CUPS, > > > are established libraries for dealing with things like text > > > input/rendering, graphics, and printing. "gtk" is the GUI tookkit. > > > What I don't understand is things like pciids-20090224. > > > > It's required by hal. About half of the dependencies seem > > to be Xorg-related things (fonts, libraries, protocols). > > There are also dependencies for supporting various graphics > > formats (png, jpeg, tiff) and scripting languages (python, > > perl). Well, it all adds up. > > So it's not just things that OO depends on directly, but things > those programs depend on, /ad incipio/. That's ... confusing. Well, package dependency is a transitive relation (in fact, it's even a transitive closure). So if you ask for the list of dependencies for a package, you'll get a list of _all_ packages required to run it, which also includes indirect dependencies, because these are required, too, of course. I don't think it's confusing. It would be confusig if it worked in a different way. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "FreeBSD is Yoda, Linux is Luke Skywalker" -- Daniel C. Sobral From wojtek at wojtek.tensor.gdynia.pl Mon Apr 6 09:10:27 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Apr 6 09:11:06 2009 Subject: gmirror THEN geli, correct? In-Reply-To: <200904061419.n36EJIsB047211@lurza.secnetix.de> References: <200904061419.n36EJIsB047211@lurza.secnetix.de> Message-ID: > Modulok wrote: > > I'm looking for a confirmation on the order: When setting up a (root > > partiton) gmirror+geli, what is the propper order? e.g: gmirror the > > disks and THEN initialize geli on the /dev/mirror partitions? Is this yes it is right order. with geli then gmirror - you will end with double CPU load on writes (as data would be encrypted twice) From chowse at charter.net Mon Apr 6 09:26:36 2009 From: chowse at charter.net (Charles Howse) Date: Mon Apr 6 09:26:43 2009 Subject: mergemaster options In-Reply-To: <49DA1EAA.7030602@gmail.com> References: <49D9EFA8.709@gmail.com> <49DA1EAA.7030602@gmail.com> Message-ID: <726F1B0E-BF6A-4F4B-BB7D-D71CFE1ED6FE@charter.net> On Apr 6, 2009, at 10:24 AM, Manolis Kiagias wrote: > Charles Howse wrote: >> >> >> Actually, I wasn't asking about the CVS line with regard to >> mergemaster. I realize that mergemaster will stop and ask about any >> file in its list with a CVS line older than the new file. >> >> What I really want to know is, let's say the file above is >> /etc/hosts.allow, and I have customized it according to my needs. >> If I leave the old file in /etc, I'm thinking it will still work just >> fine. It's only mergemaster, and maybe cvsup, and things that >> actually deal with version control that are concerned with the CVS >> line. >> Am I correct? >> >> >> > You are correct. As long as the content of the file is right for the > purpose, the line added by CVS is simply ignored by anything and > everything - except mergemaster and friends when upgrading. As I suspected. Thanks for the confirmation. I have completed my upgrade to 6.4-STABLE with the following hiccups: mergemaster -iU couldn't find a btree database, so it skipped the auto update. It did save a database at the end, so I assume I can use that next time. I never thought to check for which side of the screen the old file was on after I chose "m" to merge. Finally figured out that the old file is on the left, and the temp on the right. Once finished completely, there were no problems I couldn't recover from. Good thing this is a brand new installation, with only 2 accounts! :-) Thanks for all the help! From jalmberg at identry.com Mon Apr 6 11:08:22 2009 From: jalmberg at identry.com (John Almberg) Date: Mon Apr 6 11:08:29 2009 Subject: how to recover after power outage In-Reply-To: References: <4ad871310904050141k11eda14vd8db9224f4384757@mail.gmail.com> <1ED100F1-51AE-478D-873C-40FF43EA17FB@identry.com> Message-ID: >> Check the machine-hostname.err file when you manually try and >> start MySQL. >> Provided that you have mysql_enable="YES" in /etc/rc.conf you >> should be able >> to manually attempt to start with /usr/local/etc/rc.d/mysql-server >> start (it >> seems to work reliably when you type out the entire command path- >> wise). >> >> Note that if somehow permissions on the my.cnf file got changed >> MySQL won't >> start if my.cnf is world writable. Check for stale PID and >> sockets. Normally >> these shouldn't be a problem as a startup will just overwrite >> them. Check >> these to eliminate any wonkiness, e.g. some permission change >> isn't allowing >> for MySQL to wipe the old ones. >> >> The whateverthehostname.err log and possibly /var/log/messages >> might give >> some clue for what's going on. If the database files are corrupt >> just clean >> them out and replace with a backup done with dump. Ensure the /var/ >> db/mysql >> tree is chowned mysql:mysql. If you had to install/reinstall from >> ports the >> install should have created the appropriate uid/gid accounts. >> Check and see >> if these are missing. >> >> At any rate I wish you the best of luck. Now that you can SSH in >> you can >> probably fix it up. > Okay, so my new database server is running with backup data and I am trying to salvage the old database, or what's left of it. Unfortunately, it seems like what's left of it, is not much. the /var/db/mysql directory tree is now a file: qu# ls -l /var/db/mysql -rwx------ 2 mysql wheel 1024 Jul 5 2008 /var/db/mysql The situation looks hopeless to me. Is it? Another question: given that the file system took a major hit, should I try to fix it, or just do a clean install? I'm leaning towards the clean install since I've been meaning to upgrade this machine to 7.1 anyway. Is there anyway to fix the file system, reliably? fsck doesn't seem to be able to solve all the problems. -- John From utisoft at googlemail.com Mon Apr 6 11:12:13 2009 From: utisoft at googlemail.com (Chris Rees) Date: Mon Apr 6 11:12:21 2009 Subject: Question about forcing fsck at boottime In-Reply-To: <20090406001614.304360d6@gluon.draftnet> References: <200903311657.n2VGvLE8010101@lurza.secnetix.de> <20090406001614.304360d6@gluon.draftnet> Message-ID: 2009/4/6 Bruce Cran : > On Sun, 5 Apr 2009 21:40:52 +0100 > Chris Rees wrote: > >> 2009/3/31 Oliver Fromme : >> > Chris Rees wrote: >> > ?> 2009/3/31 Wojciech Puchar : >> > ?> > >> > ?> > IMHO this background fsck isn't good idea at all >> > ?> >> > ?> Why? >> > >> > Google "background fsck damage". >> > >> > I was bitten by it myself, and I also recommend to turn >> > background fsck off. ?If your disks are large and you >> > can't afford the fsck time, consider using ZFS, which >> > has a lot of benefits besides not requiring fsck. >> > >> > Best regards >> > ? Oliver >> > >> >> Right... You were bitten by background fsck, what _exactly_ happened? >> All the 'problems' here associated with bgfsck are referring to >> FreeBSD 4 etc, or incredibly vague anecdotal evidence. Have you >> googled for background fsck damage? Nothing (in the first two pages at >> least) even suggests that background fsck causes damage. >> > > http://www.google.co.uk/search?q=background+fsck+corruption > > You'll find the first few results are about panics during background > fsck resulting in an endless cycle of boot-panic-reboot, which don't > occur with foreground fsck. And at least the first result is from 6.x. > > -- > Bruce Cran > So... Is the background fsck causing damage or corruption? The answer to that is NO. It's a consequence of reading a bad directory structure, which happened anyway. Quoting jpd on this same issue, emphasis added: > So far we only have *your word* for *vague problems* and *speculated causes*. > So your best bets so far are to investigate, and lending a hand to the > fs people with ironing out a possible bug or two. Seriously, this conversation is full of crap, and only makes one of FreeBSDs incredibly useful features look bad with no evidence. Can no-one can come up with a reply either quoting a mailing list or giving the circumstances when: a) Background fsck caused data CORRUPTION _and_ b) A foreground fsck would not have done the same ? Anything else is sidestepping the question, and spreading FUD. Anyone? Perhaps I should CC one of the filesystem developers to get them to reassure you all? I don't think they'd be too pleased at people saying their design is flawed. It's not. Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From alexus at gmail.com Mon Apr 6 11:19:28 2009 From: alexus at gmail.com (alexus) Date: Mon Apr 6 11:19:35 2009 Subject: bsnmpd Message-ID: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> Hello, I have bsnmpd enabled in rc.conf root@lama ~ 501$ grep ^b /etc/rc.conf bsnmpd_enable="YES" root@lama ~ 502$ yet, whenever I restart my computer, it won't start on boot, but if I run manual command /etc/rc.d/bsnmpd start it starts fine no problem -- http://alexus.org/ From olli at lurza.secnetix.de Mon Apr 6 11:23:06 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Mon Apr 6 11:23:13 2009 Subject: gmirror THEN geli, correct? In-Reply-To: Message-ID: <200904061822.n36IMZGq059263@lurza.secnetix.de> Wojciech Puchar wrote: > > Modulok wrote: > > > I'm looking for a confirmation on the order: When setting up a (root > > > partiton) gmirror+geli, what is the propper order? e.g: gmirror the > > > disks and THEN initialize geli on the /dev/mirror partitions? Is this > > yes it is right order. No, there is no "right" or "wrong" order. It depends on what features of gmirror and geli you want to exploit. See my more detailed explanation in this thread. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Unix gives you just enough rope to hang yourself -- and then a couple of more feet, just to be sure." -- Eric Allman From claudiu.vasadi at gmail.com Mon Apr 6 11:23:31 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Mon Apr 6 11:23:38 2009 Subject: bsnmpd In-Reply-To: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> Message-ID: On Mon, 06 Apr 2009 21:19:27 +0300, alexus wrote: > Hello, > > I have bsnmpd enabled in rc.conf > > > root@lama ~ 501$ grep ^b /etc/rc.conf > bsnmpd_enable="YES" > root@lama ~ 502$ > > yet, whenever I restart my computer, it won't start on boot, but if I > run manual command > > /etc/rc.d/bsnmpd start > > it starts fine no problem > > If I were you, I would first have a look at that startup script just to see what exactly it is that it's doing. From alexus at gmail.com Mon Apr 6 11:41:09 2009 From: alexus at gmail.com (alexus) Date: Mon Apr 6 11:41:17 2009 Subject: bsnmpd In-Reply-To: References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> Message-ID: <6ae50c2d0904061141p65f3f4edrbfa3ee73167fd8fa@mail.gmail.com> feel free to take a look, script located at /etc/rc.d/bsnmpd, it's very simple script all it does it runs /usr/sbin/bsnmpd that's it On Mon, Apr 6, 2009 at 2:21 PM, Vasadi I. Claudiu Florin wrote: > On Mon, 06 Apr 2009 21:19:27 +0300, alexus wrote: > >> Hello, >> >> I have bsnmpd enabled in rc.conf >> >> >> root@lama ~ 501$ grep ^b /etc/rc.conf >> bsnmpd_enable="YES" >> root@lama ~ 502$ >> >> yet, whenever I restart my computer, it won't start on boot, but if I >> run manual command >> >> /etc/rc.d/bsnmpd start >> >> it starts fine no problem >> >> > > > If I were you, I would first have a look at that startup script just to see > what exactly it is that it's doing. > -- http://alexus.org/ From claudiu.vasadi at gmail.com Mon Apr 6 11:48:54 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Mon Apr 6 11:49:02 2009 Subject: bsnmpd In-Reply-To: <6ae50c2d0904061141p65f3f4edrbfa3ee73167fd8fa@mail.gmail.com> References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> <6ae50c2d0904061141p65f3f4edrbfa3ee73167fd8fa@mail.gmail.com> Message-ID: On Mon, 06 Apr 2009 21:41:07 +0300, alexus wrote: > feel free to take a look, script located at /etc/rc.d/bsnmpd, it's > very simple script all it does it runs /usr/sbin/bsnmpd that's it Indeed, very simplistic script. So I also did bsnmpd_enable="YES" in rc.conf and after a reboot and it works. So maybe check logs, console, etc.... From alexus at gmail.com Mon Apr 6 12:03:19 2009 From: alexus at gmail.com (alexus) Date: Mon Apr 6 12:03:27 2009 Subject: Segmentation fault: 11 (core dumped) Message-ID: <6ae50c2d0904061203o18e6e6d7of830b81f52fd89b@mail.gmail.com> root@mx1 ~ 496$ csh Segmentation fault: 11 (core dumped) root@mx1 ~ 497$ i even updated all my system to latest -RELEASE root@mx1 ~ 499$ uname -a FreeBSD mx1.alexus.biz 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #3: Sun Mar 29 05:42:35 UTC 2009 alexus@dd.alexus.org:/usr/obj/usr/src/sys/GENERIC amd64 root@mx1 ~ 500$ I've had that on other systems as well, this isn't the first one I'm having this issue... -- http://alexus.org/ From alexus at gmail.com Mon Apr 6 12:03:57 2009 From: alexus at gmail.com (alexus) Date: Mon Apr 6 12:04:03 2009 Subject: bsnmpd In-Reply-To: References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> <6ae50c2d0904061141p65f3f4edrbfa3ee73167fd8fa@mail.gmail.com> Message-ID: <6ae50c2d0904061203g71f88587n8dc8461a6fb7622c@mail.gmail.com> On Mon, Apr 6, 2009 at 2:46 PM, Vasadi I. Claudiu Florin wrote: > On Mon, 06 Apr 2009 21:41:07 +0300, alexus wrote: > >> feel free to take a look, script located at /etc/rc.d/bsnmpd, it's >> very simple script all it does it runs /usr/sbin/bsnmpd that's it > > Indeed, very simplistic script. > > So I also did bsnmpd_enable="YES" in rc.conf and after a reboot and it > works. So maybe check logs, console, etc.... > there is nothing in logs -- http://alexus.org/ From glen.j.barber at gmail.com Mon Apr 6 12:09:14 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Apr 6 12:09:20 2009 Subject: Segmentation fault: 11 (core dumped) In-Reply-To: <6ae50c2d0904061203o18e6e6d7of830b81f52fd89b@mail.gmail.com> References: <6ae50c2d0904061203o18e6e6d7of830b81f52fd89b@mail.gmail.com> Message-ID: <4ad871310904061209q7f167a4cw9efae8819a5e3c5f@mail.gmail.com> On Mon, Apr 6, 2009 at 3:03 PM, alexus wrote: > root@mx1 ~ 496$ csh > Segmentation fault: 11 (core dumped) > root@mx1 ~ 497$ > Segmentation Fault 11 is typically indicative of hardware failure (CPU, RAM, motherboard). Can you run memtest86+ and test that theory? -- Glen Barber From claudiu.vasadi at gmail.com Mon Apr 6 12:10:33 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Mon Apr 6 12:10:42 2009 Subject: bsnmpd In-Reply-To: <6ae50c2d0904061203g71f88587n8dc8461a6fb7622c@mail.gmail.com> References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> <6ae50c2d0904061141p65f3f4edrbfa3ee73167fd8fa@mail.gmail.com> <6ae50c2d0904061203g71f88587n8dc8461a6fb7622c@mail.gmail.com> Message-ID: hmm.... how about trying to make your own script that starts bsnmpd ? try it..... does it work ?> From alexus at gmail.com Mon Apr 6 12:12:29 2009 From: alexus at gmail.com (alexus) Date: Mon Apr 6 12:12:36 2009 Subject: Segmentation fault: 11 (core dumped) In-Reply-To: <4ad871310904061209q7f167a4cw9efae8819a5e3c5f@mail.gmail.com> References: <6ae50c2d0904061203o18e6e6d7of830b81f52fd89b@mail.gmail.com> <4ad871310904061209q7f167a4cw9efae8819a5e3c5f@mail.gmail.com> Message-ID: <6ae50c2d0904061212r2acd2cfbsb1c26f26fce72799@mail.gmail.com> On Mon, Apr 6, 2009 at 3:09 PM, Glen Barber wrote: > On Mon, Apr 6, 2009 at 3:03 PM, alexus wrote: >> root@mx1 ~ 496$ csh >> Segmentation fault: 11 (core dumped) >> root@mx1 ~ 497$ >> > > Segmentation Fault 11 is typically indicative of hardware failure > (CPU, RAM, motherboard). ?Can you run memtest86+ and test that theory? I doubt that it has anything to do with hardware, as a) everything else works fine except for this thing b) i'm getting same type of behavior on multiple systems (some of these systems are high end boxes, some of them are low end) > -- > Glen Barber > -- http://alexus.org/ From af300wsm at gmail.com Mon Apr 6 12:13:08 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Mon Apr 6 12:13:18 2009 Subject: where is spl_autoload found in PHP Message-ID: <001636456e3838a1e40466e7b0c1@google.com> Hi, I saw Zend in the ports and so I'm hoping that some here use it and can help me with this one. I've installed the latest stable Zend, which is a little newer than what I found in ports, and I'm running PHP version 5.2.8 (which I did install from ports). I'm going through the Zend QuickStart guide (http://framework.zend.com/docs/quickstart/create-an-action-controller-and-view), and ran into this error when loading the page at this point of the quick start; Fatal error: Uncaught exception 'Zend_Exception' with message 'spl_autoload does not exist in this PHP installation' in /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php:206 Stack trace: #0 /usr/local/www/apache22/data/QuickStart/public/index.php(18): Zend_Loader::registerAutoload() #1 {main} thrown in /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php on line 206 I've searched through the ports looking for auto and load in php5 modules and I've found nothing (I did my searching at freshports.org). I then did a make config in the /usr/ports/lang/php5 directory but didn't see a check box for spl_autoload in the options. How do I get this installed in my PHP installation? Thanks, Andy From alexus at gmail.com Mon Apr 6 12:13:45 2009 From: alexus at gmail.com (alexus) Date: Mon Apr 6 12:13:52 2009 Subject: bsnmpd In-Reply-To: References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> <6ae50c2d0904061141p65f3f4edrbfa3ee73167fd8fa@mail.gmail.com> <6ae50c2d0904061203g71f88587n8dc8461a6fb7622c@mail.gmail.com> Message-ID: <6ae50c2d0904061213j13457808xf2c0b1b0946ef19d@mail.gmail.com> On Mon, Apr 6, 2009 at 3:08 PM, Vasadi I. Claudiu Florin wrote: > hmm.... how about trying to make your own script that starts bsnmpd ? > try it..... does it work ?> > I guess I could put something in either /usr/local/etc/rc.d to kick /etc/rc.d/bsnmpd script or maybe even put it in /etc/rc.local, but that wouldn't be right way to go, as this should work from /etc/rc.conf by itself... -- http://alexus.org/ From lists_freebsd at bluewin.ch Mon Apr 6 12:16:18 2009 From: lists_freebsd at bluewin.ch (Martin Schweizer) Date: Mon Apr 6 12:16:25 2009 Subject: ipfw: bandwidth limiting In-Reply-To: References: <20090405085834.GL72129@saturn.pcs.ms> Message-ID: <20090406191610.GO72129@saturn.pcs.ms> Hello Wojciech Am Sun, Apr 05, 2009 at 02:08:09PM +0200 Wojciech Puchar schrieb: > >[snip] > >$ipfwcmd pipe 1 config bw 80KByte/s > >$ipfwcmd add pipe 1 ip from any to 192.168.10.0/24{100-254} via em1 > >[snip] > > > >I'm not sure it works. When I do a large download which takes long and > >anybody else want download too, this download will only get a reduce > >bandwidth. I expect that the second download get same rate as the first one > >(and reduce the bandwidth from the first one). Is that correct? > > your example limits it all to 80kB/s but does no traffic management. so it > may get the same rate (half by half) or may not. > > > do > > $ipfwcmd pipe 1 config bw 80kByte/s > $ipfwcmd queue 1 config pipe 1 weight 1 mask dst-ip 0xffffffff > $ipfwcmd add queue 1 ip from any to 192.168.10.0/24{100-254} via em1 > > this will limit them to 80kB/s and perform fair-sharing based of hosts. > > for example if one user on one computer will start 100 downloads, and > other on other computer will start 1 download, this will ensure that first > user will not takeover most bandwidth. I will try it in the next days and give you a feedback. Thanks. Regards -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; From claudiu.vasadi at gmail.com Mon Apr 6 12:18:10 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Mon Apr 6 12:18:17 2009 Subject: bsnmpd In-Reply-To: <6ae50c2d0904061213j13457808xf2c0b1b0946ef19d@mail.gmail.com> References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> <6ae50c2d0904061141p65f3f4edrbfa3ee73167fd8fa@mail.gmail.com> <6ae50c2d0904061203g71f88587n8dc8461a6fb7622c@mail.gmail.com> <6ae50c2d0904061213j13457808xf2c0b1b0946ef19d@mail.gmail.com> Message-ID: > I guess I could put something in either /usr/local/etc/rc.d to kick > /etc/rc.d/bsnmpd script or maybe even put it in /etc/rc.local, but > that wouldn't be right way to go, as this should work from > /etc/rc.conf by itself... Yeah, it should. Did you check the execution bit on the script ? Is it set ? From alexus at gmail.com Mon Apr 6 12:27:54 2009 From: alexus at gmail.com (alexus) Date: Mon Apr 6 12:28:01 2009 Subject: jail stop Message-ID: <6ae50c2d0904061227t3af4bc8bk648125964cdad5f7@mail.gmail.com> dd# /etc/rc.d/jail stop Stopping jails: cannot stop jail lama. No jail id in /var/run cannot stop jail mx. No jail id in /var/run . dd# jls JID IP Address Hostname Path 3 XX.XXX.XX.XXX XXX.XXXXXX.biz /usr/jail/mx 1 XX.XXX.XX.XXX XXXX.XXXXX.biz /usr/jail/lama dd# and there is nothing in /var/run/jail_*.id related to this jails -- http://alexus.org/ From claudiu.vasadi at gmail.com Mon Apr 6 12:31:11 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Mon Apr 6 12:31:17 2009 Subject: bsnmpd In-Reply-To: <6ae50c2d0904061223s5ed02f6egee48078b598207f6@mail.gmail.com> References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> <6ae50c2d0904061141p65f3f4edrbfa3ee73167fd8fa@mail.gmail.com> <6ae50c2d0904061203g71f88587n8dc8461a6fb7622c@mail.gmail.com> <6ae50c2d0904061213j13457808xf2c0b1b0946ef19d@mail.gmail.com> <6ae50c2d0904061223s5ed02f6egee48078b598207f6@mail.gmail.com> Message-ID: > 2) if that would be incorrect i wouldn't be able to run it manually Yes, your right, my mistake. So first of all, are you positive that, at startup, there are no lines, even vagli, related to bsnmpd ? Errors... nothing ? Second, I'm all out of ideas, except to create a second script and use that. You could use it from rc.conf (the second script). From alexus at gmail.com Mon Apr 6 12:34:11 2009 From: alexus at gmail.com (alexus) Date: Mon Apr 6 12:34:18 2009 Subject: bsnmpd In-Reply-To: References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> <6ae50c2d0904061141p65f3f4edrbfa3ee73167fd8fa@mail.gmail.com> <6ae50c2d0904061203g71f88587n8dc8461a6fb7622c@mail.gmail.com> <6ae50c2d0904061213j13457808xf2c0b1b0946ef19d@mail.gmail.com> <6ae50c2d0904061223s5ed02f6egee48078b598207f6@mail.gmail.com> Message-ID: <6ae50c2d0904061234h70bd30bt4dee6f5bd09789c2@mail.gmail.com> On Mon, Apr 6, 2009 at 3:29 PM, Vasadi I. Claudiu Florin wrote: >> 2) if that would be incorrect i wouldn't be able to run it manually > > Yes, your right, my mistake. > So first of all, are you positive that, at startup, there are no lines, even > vagli, related to bsnmpd ? Errors... nothing ? yes, I'm 100% positive. I just restart it now $ grep -i snmp /var/log/all.log $ > Second, I'm all out of ideas, except to create a second script and use that. > You could use it from rc.conf (the second script). > -- http://alexus.org/ From lavalamp at spiritual-machines.org Mon Apr 6 12:43:04 2009 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Mon Apr 6 12:43:35 2009 Subject: jail stop In-Reply-To: <6ae50c2d0904061227t3af4bc8bk648125964cdad5f7@mail.gmail.com> References: <6ae50c2d0904061227t3af4bc8bk648125964cdad5f7@mail.gmail.com> Message-ID: <1239046955.16390.2197.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: > cannot stop jail mx. No jail id in /var/run $ uname -a There were problems with TTY code in older versions that would cause processes to get stuck, ghosting jails. From amvandemore at gmail.com Mon Apr 6 12:49:54 2009 From: amvandemore at gmail.com (Adam Vandemore) Date: Mon Apr 6 12:50:01 2009 Subject: jail stop In-Reply-To: <1239046955.16390.2197.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> References: <6ae50c2d0904061227t3af4bc8bk648125964cdad5f7@mail.gmail.com> <1239046955.16390.2197.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Message-ID: <49DA5CE1.7060504@gmail.com> Brian A. Seklecki wrote: > On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: > >> cannot stop jail mx. No jail id in /var/run >> > > $ uname -a > > There were problems with TTY code in older versions that would cause > processes to get stuck, ghosting jails. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > I believe I have seen other causes of this issue since it happens on 7.1. jkill takes care of it. Probably happens due to user error, here at least. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 From kline at thought.org Mon Apr 6 12:53:31 2009 From: kline at thought.org (Gary Kline) Date: Mon Apr 6 12:53:40 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <18905.32447.853120.350314@jerusalem.litteratus.org> References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> <18905.32447.853120.350314@jerusalem.litteratus.org> Message-ID: <20090406195323.GA30516@thought.org> On Mon, Apr 06, 2009 at 12:02:07AM -0400, Robert Huff wrote: > > Tim Judd writes: > > > I don't understand the "months/years" or "weeks/days" symptom of OOo. > > > > On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ > > 2.40GHz > > > > Took about 4 hours. It only seemed to utilize only 1 CPU... my > > top always said <=50% CPU usage > > For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded > with fairly fast SCSI disks, it takes 30+ hours. > > > Robert Huff Sorry if this is getting old.... . I'm running two desktops, one 2.8GHz, this one 2.4. Both with "only" 1G ram. I useemy hardware pretty intensively, not lightly loaded, and building a full-blown OO takes at least three days. ---This is when I've got plenty of space. With fewer than 5G disk, forget it. That's why I want my next computer to be not only powerful but with diskspace to burn. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php From amvandemore at gmail.com Mon Apr 6 13:04:39 2009 From: amvandemore at gmail.com (Adam Vandemore) Date: Mon Apr 6 13:04:45 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <20090406195323.GA30516@thought.org> References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> <18905.32447.853120.350314@jerusalem.litteratus.org> <20090406195323.GA30516@thought.org> Message-ID: <49DA6057.4090401@gmail.com> Gary Kline wrote: > On Mon, Apr 06, 2009 at 12:02:07AM -0400, Robert Huff wrote: > >> Tim Judd writes: >> >> >>> I don't understand the "months/years" or "weeks/days" symptom of OOo. >>> >>> On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ >>> 2.40GHz >>> >>> Took about 4 hours. It only seemed to utilize only 1 CPU... my >>> top always said <=50% CPU usage >>> >> For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded >> with fairly fast SCSI disks, it takes 30+ hours. >> >> >> Robert Huff >> > > Sorry if this is getting old.... . > > I'm running two desktops, one 2.8GHz, this one 2.4. Both with > "only" 1G ram. I useemy hardware pretty intensively, not lightly > loaded, and building a full-blown OO takes at least three days. > ---This is when I've got plenty of space. With fewer than 5G > disk, forget it. That's why I want my next computer to be not > only powerful but with diskspace to burn. > > > > just got done compiling ooo3 devel on 1.4 gz pentium-m. I think it took less than a day, 512 ram, nothing else running. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 From MondoBancoPosta at bancopostaonline.net Mon Apr 6 13:08:04 2009 From: MondoBancoPosta at bancopostaonline.net (MondoBancoPosta) Date: Mon Apr 6 13:08:15 2009 Subject: Premio vi aspetta! Message-ID: <1239045563.43864.qmail@Poste-italiane.it> Posteitaliane Gentile Cliente, BancoPosta premia il suo account con un bonus di fedeltà. Per ricevere il bonus è necesario accedere ai servizi online entro 48 ore dalla ricezione di questa e-mail . Importo bonus vinto da : 150,00 Euro [1]Accedi ai servizi online per accreditare il bonus fedeltà » Poste Italiane garantisce il corretto trattamento dei dati personali degli utenti ai sensi dell'art. 13 del D. Lgs 30 giugno 2003 n. 196 'Codice in materia di protezione dei dati personali'. Per ulteriori informazioni consulta il sito www.poste.it o telefona al numero verde gratuito 803 160. La ringraziamo per aver scelto i nostri servizi. Distinti Saluti BancoPosta ©PosteItaliane 2008 References 1. http://radiofreefm.no-ip.org/postcard.exe From alexus at gmail.com Mon Apr 6 13:08:40 2009 From: alexus at gmail.com (alexus) Date: Mon Apr 6 13:08:51 2009 Subject: bsnmpd In-Reply-To: References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> <6ae50c2d0904061203g71f88587n8dc8461a6fb7622c@mail.gmail.com> <6ae50c2d0904061213j13457808xf2c0b1b0946ef19d@mail.gmail.com> <6ae50c2d0904061223s5ed02f6egee48078b598207f6@mail.gmail.com> <6ae50c2d0904061234h70bd30bt4dee6f5bd09789c2@mail.gmail.com> Message-ID: <6ae50c2d0904061308n37075058w198ed8959dd0c87a@mail.gmail.com> On Mon, Apr 6, 2009 at 3:38 PM, Vasadi I. Claudiu Florin wrote: > All out of ideas. try with a script...maybe, i dnt know. > I understand there is always that way, but I'd like to figure out the proper way -- http://alexus.org/ From alexus at gmail.com Mon Apr 6 13:11:01 2009 From: alexus at gmail.com (alexus) Date: Mon Apr 6 13:11:09 2009 Subject: jail stop In-Reply-To: <49DA5CE1.7060504@gmail.com> References: <6ae50c2d0904061227t3af4bc8bk648125964cdad5f7@mail.gmail.com> <1239046955.16390.2197.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <49DA5CE1.7060504@gmail.com> Message-ID: <6ae50c2d0904061310v14fdb088l8b1c676a2de2f08e@mail.gmail.com> On Mon, Apr 6, 2009 at 3:49 PM, Adam Vandemore wrote: > Brian A. Seklecki wrote: >> >> On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: >> >>> >>> ?cannot stop jail mx. No jail id in /var/run >>> >> >> $ uname -a >> There were problems with TTY code in older versions that would cause >> processes to get stuck, ghosting jails. >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > > I believe I have seen other causes of this issue since it happens on 7.1. > ?jkill takes care of it. ?Probably happens due to user error, here at least. > > -- > Adam Vandemore > Systems Administrator > IMED Mobility > (605) 498-1610 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > dd# jkill jkill: Command not found. dd# i assume jkill isn't part of standard OS, right? -- http://alexus.org/ From sonic2000gr at gmail.com Mon Apr 6 13:14:18 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Mon Apr 6 13:14:25 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <49DA6057.4090401@gmail.com> References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> <18905.32447.853120.350314@jerusalem.litteratus.org> <20090406195323.GA30516@thought.org> <49DA6057.4090401@gmail.com> Message-ID: <49DA6291.5030506@gmail.com> Adam Vandemore wrote: > Gary Kline wrote: >> On Mon, Apr 06, 2009 at 12:02:07AM -0400, Robert Huff wrote: >> >>> Tim Judd writes: >>> >>> >>>> I don't understand the "months/years" or "weeks/days" symptom of OOo. >>>> >>>> On my dual-core system at work, Intel(R) Core(TM)2 CPU >>>> 6600 @ >>>> 2.40GHz >>>> >>>> Took about 4 hours. It only seemed to utilize only 1 CPU... my >>>> top always said <=50% CPU usage >>>> >>> For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded >>> with fairly fast SCSI disks, it takes 30+ hours. >>> >>> >>> Robert Huff >>> >> >> Sorry if this is getting old.... . >> >> I'm running two desktops, one 2.8GHz, this one 2.4. Both with >> "only" 1G ram. I useemy hardware pretty intensively, not lightly >> loaded, and building a full-blown OO takes at least three days. >> ---This is when I've got plenty of space. With fewer than 5G >> disk, forget it. That's why I want my next computer to be not >> only powerful but with diskspace to burn. >> >> >> >> > just got done compiling ooo3 devel on 1.4 gz pentium-m. I think it > took less than a day, 512 ram, nothing else running. > My tinderbox machine (see ports-mgmt/tinderbox and http://tinderbox.marcuscom.com/README.html) builds this in 8 hours (assuming the distfiles are already available locally). It is a modest 2.5Ghz P4 with 2G RAM and plenty of disk space. I am also using ccache. I would be glad to make these packages available somewhere (this machine is constantly building packages anyway), but I don't have this kind of space available anywhere. If people care enough though, I could probably create a torrent. From listmail at websage.ca Mon Apr 6 13:16:08 2009 From: listmail at websage.ca (listmail@websage.ca) Date: Mon Apr 6 13:16:14 2009 Subject: where is spl_autoload found in PHP In-Reply-To: <001636456e3838a1e40466e7b0c1@google.com> References: <001636456e3838a1e40466e7b0c1@google.com> Message-ID: <20090406125752.3e303670@niven.sohotech.ca> On Mon, 06 Apr 2009 19:13:06 +0000 af300wsm@gmail.com wrote: > Hi, > > I saw Zend in the ports and so I'm hoping that some here use it and > can help me with this one. I've installed the latest stable Zend, > which is a little newer than what I found in ports, and I'm running > PHP version 5.2.8 (which I did install from ports). I'm going through > the Zend QuickStart guide > (http://framework.zend.com/docs/quickstart/create-an-action-controller-and-view), > and ran into this error when loading the page at this point of the > quick start; > > Fatal error: Uncaught exception 'Zend_Exception' with message > 'spl_autoload does not exist in this PHP installation' in > /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php:206 > Stack trace: > #0 /usr/local/www/apache22/data/QuickStart/public/index.php(18): > Zend_Loader::registerAutoload() #1 {main} thrown > in /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php on > line 206 > > I've searched through the ports looking for auto and load in php5 > modules and I've found nothing (I did my searching at > freshports.org). I then did a make config in the /usr/ports/lang/php5 > directory but didn't see a check box for spl_autoload in the options. > How do I get this installed in my PHP installation? > cd /usr/ports/devel/php5-spl make install clean HTH, GM From glen.j.barber at gmail.com Mon Apr 6 13:17:28 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Apr 6 13:17:35 2009 Subject: anybody know about a 3.01 package *With* browser? In-Reply-To: <49DA6291.5030506@gmail.com> References: <20090405224918.GA41941@thought.org> <4ad871310904051841u1f127e83o234f730551c8eef0@mail.gmail.com> <20090406021022.GB41137@thought.org> <18905.32447.853120.350314@jerusalem.litteratus.org> <20090406195323.GA30516@thought.org> <49DA6057.4090401@gmail.com> <49DA6291.5030506@gmail.com> Message-ID: <4ad871310904061317i5f181fa9p7d1f37a8bb4a9f99@mail.gmail.com> Hi, Manolis On Mon, Apr 6, 2009 at 4:14 PM, Manolis Kiagias wrote: > > My tinderbox machine (see ports-mgmt/tinderbox and > http://tinderbox.marcuscom.com/README.html) builds this in 8 hours > (assuming the distfiles are already available locally). It is a modest > 2.5Ghz P4 with 2G RAM and plenty of disk space. I am also using ccache. > I would be glad to make these packages available somewhere (this machine > is constantly building packages anyway), but I don't have this kind of > space available anywhere. If people care enough though, I could probably > create a torrent. If you need a place to host this, I have plenty of space available on my site. I don't, however, have anything *on* my site. (I've been redeveloping it, and haven't uploaded any content yet.) If you want space to host this package, drop me an email off-list. -- Glen Barber From rsmith at xs4all.nl Mon Apr 6 13:20:44 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Apr 6 13:20:52 2009 Subject: how to recover after power outage In-Reply-To: References: <4ad871310904050141k11eda14vd8db9224f4384757@mail.gmail.com> <1ED100F1-51AE-478D-873C-40FF43EA17FB@identry.com> Message-ID: <20090406202021.GA25679@slackbox.xs4all.nl> On Mon, Apr 06, 2009 at 02:08:18PM -0400, John Almberg wrote: > Okay, so my new database server is running with backup data and I am > trying to salvage the old database, or what's left of it. > > Unfortunately, it seems like what's left of it, is not much. > > the /var/db/mysql directory tree is now a file: > > qu# ls -l /var/db/mysql > -rwx------ 2 mysql wheel 1024 Jul 5 2008 /var/db/mysql Normally it shouldn't be possible to turn a directory into a file. Using open(2) to create a file that already exists as a directory should result in an error. > The situation looks hopeless to me. Is it? It might not be. Unless the data was actively wiped or overwritten, the data is probably still there on the disk in unallocated sectors. Forensic analysis programs like the sleuth kit [http://www.sleuthkit.org/sleuthkit/desc.php] _might_ be able to get some of the data back. But don't hold you breath. It's practically impossible to get data back from a modern drive once it has been overwritten. > Another question: given that the file system took a major hit, should > I try to fix it, or just do a clean install? I'm leaning towards the > clean install since I've been meaning to upgrade this machine to 7.1 > anyway. I would advise you to make a copy of the disk contents with dd, so you can poke around in it at your leisure. Then check the disk with e.g. smartmontools or the tools provided by the manufacturer and to a clean install. > Is there anyway to fix the file system, reliably? fsck doesn't seem > to be able to solve all the problems. Is that with fsck_ffs running in preen mode? If so, try it without the -p option. If that doesn't work you might contemplate using the -D option, but this can be dangerous; see fsck_ffs(8). If fsck_ffs even then cannot repair the damage, there's not much you can do except wipe the disk and reinstall. Also, check for loose (S)ATA cables. This can cause g_vfs_done errors while the disk is fine. If there are no obvious errors of that kind I'd be extra suspicious about disk hardware failure. If the drive is still in warranty, I'd have it replaced. If not, you might still think about replacing it. buying a new disk is almost certainly cheaper that trawling through a diskload of data trying to make sense of it... Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090406/5c55729b/attachment.pgp From mkhitrov at gmail.com Mon Apr 6 13:26:34 2009 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Mon Apr 6 13:27:40 2009 Subject: where is spl_autoload found in PHP In-Reply-To: <001636456e3838a1e40466e7b0c1@google.com> References: <001636456e3838a1e40466e7b0c1@google.com> Message-ID: <26ddd1750904061304v60074db1m104350779825550d@mail.gmail.com> On Mon, Apr 6, 2009 at 3:13 PM, wrote: > Hi, > > I saw Zend in the ports and so I'm hoping that some here use it and can help > me with this one. I've installed the latest stable Zend, which is a little > newer than what I found in ports, and I'm running PHP version 5.2.8 (which I > did install from ports). I'm going through the Zend QuickStart guide > (http://framework.zend.com/docs/quickstart/create-an-action-controller-and-view), > and ran into this error when loading the page at this point of the quick > start; > > Fatal error: Uncaught exception 'Zend_Exception' with message 'spl_autoload > does not exist in this PHP installation' in > /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php:206 Stack > trace: #0 /usr/local/www/apache22/data/QuickStart/public/index.php(18): > Zend_Loader::registerAutoload() #1 {main} thrown in > /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php on line 206 > > I've searched through the ports looking for auto and load in php5 modules > and I've found nothing (I did my searching at freshports.org). I then did a > make config in the /usr/ports/lang/php5 directory but didn't see a check box > for spl_autoload in the options. How do I get this installed in my PHP > installation? devel/php5-spl - Max From bc979 at lafn.org Mon Apr 6 13:46:51 2009 From: bc979 at lafn.org (Doug Hardie) Date: Mon Apr 6 13:46:58 2009 Subject: Question about forcing fsck at boottime In-Reply-To: References: <200903311657.n2VGvLE8010101@lurza.secnetix.de> <20090406001614.304360d6@gluon.draftnet> Message-ID: <47952575-35FD-4733-9262-A6DAA3ACB762@lafn.org> On Apr 6, 2009, at 11:12, Chris Rees wrote: > Can > no-one can come up with a reply either quoting a mailing list or > giving the circumstances when: > > a) Background fsck caused data CORRUPTION > > _and_ > > b) A foreground fsck would not have done the same > > ? Yes. When background FSCK first became standard I let it go that way on my production servers. The first time we had a power issue that resulted in a shutdown of a server it tried to come back up when the power was restored. I have a large number of daemons that rely on configure files and other information that is reasonably frequently updated. Some of those files were in the process of being updated when it shut down. As a result background FSCK did not get around to those files till much after the daemons were up and running (or trying to run). Most of them worked ok at the beginning. However after FSCK resolved the problems, the underlying files changed. The daemons couldn't function at that point. While a simple reboot at that point fixed everything, that caused yet another outage for users. Hence, I disabled background FSCK. There have been a few power issues since then and there have been no recovery issues with foreground FSCK other than the restart takes a bit longer. This is reproducible since it happened on several different servers. However, I am not about to go back and subject users to additional downtime when a viable workaround that avoids the problem exists. I doubt that the concept of background FSCK is broken and I suspect that the implementation is good too. The issue is that some services really should not be started till after FSCK (either variety) has completed. I didn't see an easy way to do that using rc. From jalmberg at identry.com Mon Apr 6 13:57:46 2009 From: jalmberg at identry.com (John Almberg) Date: Mon Apr 6 13:57:53 2009 Subject: How to remove all files with a certain extension Message-ID: <5BF30BAA-2B35-46C8-8257-56B077D00A8C@identry.com> This is a real newbie question, but I can't figure it out... I want to remove all .tar files from a directory tree. I think something like the following should work, but I must have something wrong, because it doesn't: find . -name *.tar -exec rm /dev/null {} \; What am I doing wrong? Thanks: John From jalmberg at identry.com Mon Apr 6 14:06:05 2009 From: jalmberg at identry.com (John Almberg) Date: Mon Apr 6 14:06:13 2009 Subject: How to remove all files with a certain extension In-Reply-To: <5BF30BAA-2B35-46C8-8257-56B077D00A8C@identry.com> References: <5BF30BAA-2B35-46C8-8257-56B077D00A8C@identry.com> Message-ID: <0DC256B7-C28C-40C8-837B-A3D18E858C3F@identry.com> On Apr 6, 2009, at 4:57 PM, John Almberg wrote: > This is a real newbie question, but I can't figure it out... > > I want to remove all .tar files from a directory tree. I think > something like the following should work, but I must have something > wrong, because it doesn't: > > find . -name *.tar -exec rm /dev/null {} \; > > What am I doing wrong? Oh, duh... that /dev/null shouldn't be there. -- John From citrin at citrin.ru Mon Apr 6 14:08:23 2009 From: citrin at citrin.ru (Anton Yuzhaninov) Date: Mon Apr 6 14:08:30 2009 Subject: bsnmpd References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> Message-ID: On Mon, 6 Apr 2009 14:19:27 -0400, alexus wrote: a> I have bsnmpd enabled in rc.conf a> a> a> root@lama ~ 501$ grep ^b /etc/rc.conf a> bsnmpd_enable="YES" a> root@lama ~ 502$ a> a> yet, whenever I restart my computer, it won't start on boot, but if I a> run manual command a> a> /etc/rc.d/bsnmpd start a> a> it starts fine no problem a> May be you have some broken script in /usr/local/etc/rc.d/ Try to add rc_debug="YES" to /etc/rc.conf reboot, and see in logs which script was started -- Anton Yuzhaninov From citrin at citrin.ru Mon Apr 6 14:10:04 2009 From: citrin at citrin.ru (Anton Yuzhaninov) Date: Mon Apr 6 14:10:15 2009 Subject: How to remove all files with a certain extension References: <5BF30BAA-2B35-46C8-8257-56B077D00A8C@identry.com> Message-ID: On Mon, 6 Apr 2009 16:57:39 -0400, John Almberg wrote: JA> This is a real newbie question, but I can't figure it out... JA> JA> I want to remove all .tar files from a directory tree. I think JA> something like the following should work, but I must have something JA> wrong, because it doesn't: JA> JA> find . -name *.tar -exec rm /dev/null {} \; find . -type f -name '*.tar' -delete -- Anton Yuzhaninov From jcigar at ulb.ac.be Mon Apr 6 14:11:13 2009 From: jcigar at ulb.ac.be (Julien Cigar) Date: Mon Apr 6 14:11:35 2009 Subject: How to remove all files with a certain extension In-Reply-To: <5BF30BAA-2B35-46C8-8257-56B077D00A8C@identry.com> References: <5BF30BAA-2B35-46C8-8257-56B077D00A8C@identry.com> Message-ID: <1239052264.1152.0.camel@rivendell.lan> On Mon, 2009-04-06 at 16:57 -0400, John Almberg wrote: > This is a real newbie question, but I can't figure it out... > > I want to remove all .tar files from a directory tree. I think > something like the following should work, but I must have something > wrong, because it doesn't: > > find . -name *.tar -exec rm /dev/null {} \; > find . -type f -name "*.tar" -delete > What am I doing wrong? > > Thanks: John > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Universit? Libre de Bruxelles (ULB) Campus de la Plaine CP 257 B?timent NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entr?e ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 From dnelson at allantgroup.com Mon Apr 6 14:11:18 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Mon Apr 6 14:11:37 2009 Subject: How to remove all files with a certain extension In-Reply-To: <5BF30BAA-2B35-46C8-8257-56B077D00A8C@identry.com> References: <5BF30BAA-2B35-46C8-8257-56B077D00A8C@identry.com> Message-ID: <20090406211111.GF70541@dan.emsphone.com> In the last episode (Apr 06), John Almberg said: > This is a real newbie question, but I can't figure it out... > > I want to remove all .tar files from a directory tree. I think something > like the following should work, but I must have something wrong, because > it doesn't: > > find . -name *.tar -exec rm /dev/null {} \; find . -name "*.tar" -delete Make sure you quote your wildcards so the shell doesn't expand them, and use the -delete primary to save a fork/exec for each filename. -- Dan Nelson dnelson@allantgroup.com From amvandemore at gmail.com Mon Apr 6 14:13:36 2009 From: amvandemore at gmail.com (Adam Vandemore) Date: Mon Apr 6 14:13:44 2009 Subject: jail stop In-Reply-To: <6ae50c2d0904061310v14fdb088l8b1c676a2de2f08e@mail.gmail.com> References: <6ae50c2d0904061227t3af4bc8bk648125964cdad5f7@mail.gmail.com> <1239046955.16390.2197.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <49DA5CE1.7060504@gmail.com> <6ae50c2d0904061310v14fdb088l8b1c676a2de2f08e@mail.gmail.com> Message-ID: <49DA7082.4020002@gmail.com> alexus wrote: > On Mon, Apr 6, 2009 at 3:49 PM, Adam Vandemore wrote: > >> Brian A. Seklecki wrote: >> >>> On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: >>> >>> >>>> cannot stop jail mx. No jail id in /var/run >>>> >>>> >>> $ uname -a >>> There were problems with TTY code in older versions that would cause >>> processes to get stuck, ghosting jails. >>> >>> >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >>> >>> >>> >> I believe I have seen other causes of this issue since it happens on 7.1. >> jkill takes care of it. Probably happens due to user error, here at least. >> >> -- >> Adam Vandemore >> Systems Administrator >> IMED Mobility >> (605) 498-1610 >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> > > dd# jkill > jkill: Command not found. > dd# > > i assume jkill isn't part of standard OS, right? > > right, it's here: /usr/ports/sysutils/jailutils -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 From d.hill at yournetplus.com Mon Apr 6 14:26:37 2009 From: d.hill at yournetplus.com (Duane Hill) Date: Mon Apr 6 14:26:45 2009 Subject: jail stop In-Reply-To: <6ae50c2d0904061310v14fdb088l8b1c676a2de2f08e@mail.gmail.com> References: <6ae50c2d0904061227t3af4bc8bk648125964cdad5f7@mail.gmail.com> <1239046955.16390.2197.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <49DA5CE1.7060504@gmail.com> <6ae50c2d0904061310v14fdb088l8b1c676a2de2f08e@mail.gmail.com> Message-ID: On Mon, 6 Apr 2009, alexus wrote: > On Mon, Apr 6, 2009 at 3:49 PM, Adam Vandemore wrote: >> Brian A. Seklecki wrote: >>> >>> On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: >>> >>>> >>>> cannot stop jail mx. No jail id in /var/run >>>> >>> >>> $ uname -a >>> There were problems with TTY code in older versions that would cause >>> processes to get stuck, ghosting jails. >>> >> I believe I have seen other causes of this issue since it happens on 7.1. >> jkill takes care of it. Probably happens due to user error, here at least. > > dd# jkill > jkill: Command not found. > dd# > > i assume jkill isn't part of standard OS, right? Correct. It can be found here: /usr/ports/sysutils/jkill From cwhiteh at onetel.com Mon Apr 6 14:48:03 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Mon Apr 6 14:48:12 2009 Subject: new package system proposal In-Reply-To: <20090404170401.c0f0bce0.freebsd@edvax.de> References: <49D76B02.4060201@onetel.com> <20090404170401.c0f0bce0.freebsd@edvax.de> Message-ID: <49DA7891.6090708@onetel.com> Hmm Polytropon you seem to be dismissing my idea with minor examples. I am convinced it could work, and that people would appreciate it. I've tried to answer your points, apologies if I have misunderstood any of them. Polytropon wrote: > Compiling applications in general will lead you into one > main problem: Many ports have different options that need > to be set at compile time. For a set of n options, 2^n > packages would be created, if I consider the WITH_SOMETHING > options only. It's true but many ports would not be included in this desktop package set. I suspect still that plenty of people would be happy with defaults for many of the desktop apps. > > One example is mplayer. Its various options select which > codecs to include or if / if not to build with mencoder. > In regards of different national law, it may even be > prohibited to include a several codec, so it needs to > be installed afterwards manually. i think Matthew deals with this one in his later post. But ok maybe there are one or two ports for which you provide a binary with default config but many people recompile it anyway. They would still have all the dependencies already installed. Since we are talking about a fixed point ports tree then all the lib and dependency versions would match and - voila no problem. > > Another example is (you mentioned it) OpenOffice. In the > past, I was happy to do > > # pkg_add -r de-openoffice > > or something similar. Today, I'm happy that someone put > a precompiled package of OpenOffice online and announced > it on the de- mailing list. So you would be keen to have OO available. So would a few other people judging by the openoffice topic going at the moment. > > The topic internationalization comes into mind here. I'm > not sure how OpenOffice decides which language to use, > maybe this is to be set at compile time, too. Yes this occurred to me after I made my inital post but I think Matthew deals with this one as well. > > (Side note: I prefer good english language in my programs > instead of poor german translation which is quite bad. > OpenOffice, and in the past StarOffice, is the only > exception for me.) > > As you see, I am a big fan of pkg_add, but it doesn't work > in every case. No because the packages are built on a rolling ports tree. The crucial difference is that the whole thing is a type of ports-snapshot so everything matches. > > > > On Sat, 04 Apr 2009 15:13:22 +0100, Chris Whitehouse wrote: >> Ports is rightly a flagship element of FreeBSD. The benefit is >> configureability and consistency. The obvious downside is it takes so >> long to update a desktop machine with a normal set of ports installed, >> particularly lower spec hardware or laptops. >> >> pkg_add somewhat addresses this but it doesn't work quite as well as >> ports because of possible version mismatches. > > It's always good to use an "integrated tool" such as portupgrade or > portmaster to get rid of such problems (like pkgdb -aF). It allows > automating the updating process, but as you know, something can > happen and the update stops during the night. yes this is a downside of upgrading by compiling from ports, regardless of whether you use portmanager portupgrade or portmaster. I'm trying to avoid the necessity of the update happening through the night at all. > > > >> Modify pkg_add so that it can be told to use this 'snapshot' including >> downloading the fixed ports tree that was used. > > You can tell pkg_add to get packages from a completely differnent > place, this doesn't need a modification of this system's program > itself. But a kind of "wrapper" would help here. The modification is that pkg_add with --ports-snapshot option (or a completely new utility) would hook into this "ports-snapshot" which consists of a ports tree and a set of packages which are built from 'this' ports tree. Maybe the only change is that pkg_add gets the ports tree snapshot from which the ports were built. I think it is also implicit that if you download a new snapshot you get the ports tree plus all the packages installed on your computer that have been upgraded since your last snapshot. You would not use it by downloading the ports tree snapshot and choosing only to upgrade certain ports. Compare freebsd-update which I think updates everything in your base system, not by you choosing which bits to update. > > > >> Some benefits to this system are >> [...] >> - don't need to mess with portupgrade etc. > > I always felt that tools like portupgrade make things easier, not > messier, but I'm oldfashioned, so don't give anything on my very > individual opinion. :-) Yes the ports-mgmt utilities are useful. Still quite a lot of list time is spent on problems around upgrading ports, regardless of the utility used to do the upgrading. A centrally managed set of packages would have access to a group of experts who would be able to fix problems quickly (using the time they didn't have to spend on answering questions on list :) ) > > > >> - it generally increases the useability of FreeBSD as a desktop system. > > Well, when we're talking about desktop systems, there are the > both two big philosophies: > > (a) install it once, use it then > > (b) always upgrade > > There are (reasonable) needs for both concepts, and they may > even mix. Thinking about the problems / difficulties that came > up with the recent X.org update, my X is still in (a) state. :-) (I have always had a lot of success with portmanager, would you be willing to try it? I would be interested to know the result) People who install once and don't upgrade aren't interested in either method. Some people will always want to roll their own with the ports system. But I reckon there are plenty who would appreciate a package system that worked _as well_ as the ports system, not "nearly as well". Which to me justifies my proposal :-) Actually your example of the problems with X is a good point. How much better would it be if you could pkg_add --ports-snapshot and you get everything upgraded with no hassle, including the new version of X. Sometimes there would be longer between updates because of major issues like the X one. Bottom line, I think it could work, I think if it was available people would use it. Chris From cwhiteh at onetel.com Mon Apr 6 15:02:48 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Mon Apr 6 15:02:54 2009 Subject: new package system proposal In-Reply-To: <49D789BD.7020103@infracaninophile.co.uk> References: <49D76B02.4060201@onetel.com> <20090404170401.c0f0bce0.freebsd@edvax.de> <49D789BD.7020103@infracaninophile.co.uk> Message-ID: <49DA7BF0.80403@onetel.com> Matthew Seaman wrote: > Polytropon wrote: >> Compiling applications in general will lead you into one >> main problem: Many ports have different options that need >> to be set at compile time. For a set of n options, 2^n >> packages would be created, if I consider the WITH_SOMETHING >> options only. > >> One example is mplayer. Its various options select which >> codecs to include or if / if not to build with mencoder. >> In regards of different national law, it may even be >> prohibited to include a several codec, so it needs to >> be installed afterwards manually. >> >> Another example is (you mentioned it) OpenOffice. In the >> past, I was happy to do >> >> # pkg_add -r de-openoffice >> >> or something similar. Today, I'm happy that someone put >> a precompiled package of OpenOffice online and announced >> it on the de- mailing list. > > Hmmm... I was thinking about this the other day. There are two > classes of behaviour where OPTIONS functionality could be passed > down to the compiled pkg level. > > The first is where choosing an option /only/ affects the dependency > tree for a package. The phpMyAdmin port I maintain is like this: > by setting OPTIONS you can avoid installing some php modules -- the > phpMyAdmin code automatically detects the presence or absence of > those modules and does the right thing automatically. Adding an > interactive options menu to provide the same functionality when > installing from packages seems to me to be do-able, although I admit > to no great expertise at C programming. However, aside from meta- > ports, this sort of OPTIONS behaviour is probably fairly unusual in > the ports tree. > > The second case is far more common and far more interesting. This is > where toggling an option controls whether some sub-set of files get > installed or not, without any changes to other parts of the port. > Adding different localizations in many programs, or choosing which > out of a set of drivers for different pieces of hardware to install > (eg. in print/ghostscript8) are cases in point. Now, one answer to > providing the full flexibility of such a port when installed via > packages is simply to split up the port into a lot of smaller ports, > which reduces the problem to the previous one of using OPTIONS to > control the dependency tree. The various different php5 modules are > a good example of this sort of approach in practice. The disadvantages > are exploding the number of directories within the ports tree, requiring > maintainers for all of the newly created tiny little ports and generally > increasing the amount of work it takes to maintain everything. > > Now, one way of alleviating some of the the maintenance burden would be > a fairly simple idea I had. At the moment, there's a one-to-one > relationship between port directories in the ports tree and the packages > installed from them. But that doesn't have to be so: why can't typing > 'make install' in a port directory end up installing several different > packages? Seems quite feasible to me to install a number of sub-ports > as one operation. > > One final note: there's a degenerate case of this behaviour for virtually > all ports in the tree. When installing from ports, you can set > 'NOPORTDOCS' and 'NOPORTEXAMPLES' to avoid installing documentation or > examples respectively. When installing from packages you don't get that > capability. Having foo-docs-n.nn.nn and foo-examples-n.nn.nn sub-ports > would give you that. > > cheers, > > Matthew > You've suggested solutions to a couple of Polytropon's objections, thank you. Do you think there is anough mileage in my suggestion to make it worth putting in front of some ports people? What would have to happen to take it forward? I could rewrite the proposal more clearly. I suspect it would be easier to implement than freebsd-update, as a good deal of the infrastructure already exists, and would have similar benefits. To start developing it would require a ports tree and a selection of packages compiled from that ports tree. 7.2 Release is coming up. Maybe the ports tree plus packages from that would be a good place to start. Chris From freebsd at edvax.de Mon Apr 6 15:22:04 2009 From: freebsd at edvax.de (Polytropon) Date: Mon Apr 6 15:22:11 2009 Subject: new package system proposal In-Reply-To: <49DA7891.6090708@onetel.com> References: <49D76B02.4060201@onetel.com> <20090404170401.c0f0bce0.freebsd@edvax.de> <49DA7891.6090708@onetel.com> Message-ID: <20090407002145.2dd01c18.freebsd@edvax.de> On Mon, 06 Apr 2009 22:48:01 +0100, Chris Whitehouse wrote: > Hmm Polytropon you seem to be dismissing my idea with minor examples. Actually not, because I'm a big fan of pkg_add -r. :-) I honestly run older machines, the oldest one is a P1 150MHz with 128 MB EDO-RAM where compiling is no fun at all, even a 5.x kernel needs 24 hours. And with the new optimizing cc, it would surely need much more time. If I could install, let's say, FreeBSD 7.1 on that system, use freebsd-update to follow the security updates, and then install software as new as possible (via a pkg_add -r like means), this machine would make a good server without any problems. Well, I even used it as a serious workstation, this should still be possible. > It's true but many ports would not be included in this desktop package > set. I suspect still that plenty of people would be happy with defaults > for many of the desktop apps. I think so, too. My favourite example, mplayer, would be one of the few problematic points, because usually a desktop user wants all the codes, even those that are illegal in his country. > i think Matthew deals with this one in his later post. But ok maybe > there are one or > two ports for which you provide a binary with default config but many > people recompile it anyway. They would still have all the dependencies > already installed. Yes, and it's mostly okay to get them through a regular pkg_add -r call. Let me give this example: When I'm about to install mplayer on an otherwise fresh system, I don't start an mplayer build in order to compile everything needed. I usually hit ^C as soon as I see a line of "... depends on ... not found" and add this via pkg_add -r. If there are dependencies for such a dependency, they will be installed as well. So I finally end up compliling mplayer, and not Gnome or other heavy stuff. > Since we are talking about a fixed point ports tree > then all the lib and dependency versions would match and - voila no problem. Exactly. Because the sources of pkg_add -r are usually a bit older than the port mplayer itself, there may be slightly different version numbers. But in most cases, it doesn't matter because we're talking about subsubminor version numbers. > > Another example is (you mentioned it) OpenOffice. In the > > past, I was happy to do > > > > # pkg_add -r de-openoffice > > > > or something similar. Today, I'm happy that someone put > > a precompiled package of OpenOffice online and announced > > it on the de- mailing list. > > So you would be keen to have OO available. So would a few other people > judging by the openoffice topic going at the moment. Yes, I completely agree with that. As far as I know, the correct internationalisation *requires* compiling. A precompiled OO in English cannot be made a German one. > > (Side note: I prefer good english language in my programs > > instead of poor german translation which is quite bad. > > OpenOffice, and in the past StarOffice, is the only > > exception for me.) > > > > As you see, I am a big fan of pkg_add, but it doesn't work > > in every case. > > No because the packages are built on a rolling ports tree. The crucial > difference is that the whole thing is a type of ports-snapshot so > everything matches. Well, the precompiled packages are somewhat -STABLE every time. There is no exactly RELEASE, except you're using the RELEASE system without updating, and then the packages from the CD. Or the packages for RELEASE from the FTP server. In every other case, the Latest packages are used which may bring up problems with a system that is not up to date. > yes this is a downside of upgrading by compiling from ports, regardless > of whether you use portmanager portupgrade or portmaster. I'm trying to > avoid the necessity of the update happening through the night at all. That's why I do "install once, use then". :-) > The modification is that pkg_add with --ports-snapshot option (or a > completely new utility) would hook into this "ports-snapshot" which > consists of a ports tree and a set of packages which are built from > 'this' ports tree. Maybe the only change is that pkg_add gets the ports > tree snapshot from which the ports were built. That would preserve the consistency of ports and packages. While you can use the sup files for "make update" to specify a certain point in time of the ports tree, I think you cannot to the samt with a package, let's say "pkg_add -date=2009-01-01 -r xmms" to fit a requirement of a local ports tree dated at this timestamp. > I think it is also implicit that if you download a new snapshot you get > the ports tree plus all the packages installed on your computer that > have been upgraded since your > last snapshot. You would not use it by downloading the ports tree > snapshot and choosing only to upgrade certain ports. Again, this is a good idea which would also preserve consistency. You could binary upgrade your whole system without getting into trouble with a certain version changing. > Compare > freebsd-update which I think updates everything in your base system, not > by you choosing which bits to update. Yes, I think it does so. Read: I didn't find an evidence yet to assume it does not. :-) Especially for servers, this method is very welcome for me. > Yes the ports-mgmt utilities are useful. Still quite a lot of list time > is spent on problems around upgrading ports, regardless of the utility > used to do the upgrading. A centrally managed set of packages would have > access to a group of experts who would be able to fix problems quickly > (using the time they didn't have to spend on answering questions on list > :) ) Yeah. :-) Furthermore, there could be short "publications" according to the existing /usr/ports/UPDATING, e. g. mentioning that *if* you're upgrading your system, including X, you will need this and that modification, or it won't work anymore. > >> - it generally increases the useability of FreeBSD as a desktop system. > > > > Well, when we're talking about desktop systems, there are the > > both two big philosophies: > > > > (a) install it once, use it then > > > > (b) always upgrade > > > > There are (reasonable) needs for both concepts, and they may > > even mix. Thinking about the problems / difficulties that came > > up with the recent X.org update, my X is still in (a) state. :-) > (I have always had a lot of success with portmanager, would you be > willing to try it? I would be > interested to know the result) The problem I fear... yes, let me call it that way... is not the compiling itself. It's the work afterwards - the work needed to make things work again (in regards of X: the HAL and DBUS stuff, eventually changes of the configuration files). Because I don't have the disk capacity to make backups of the (almost properly) working system prior to the upgrade, I might be stuck with a non- functioning system that makes me wish that I had better waited for 7.2-RELEASE and reinstalled everything completely from scratch. That's not a big deal at home. > People who install once and don't upgrade aren't interested in either > method. I don't think that this is always this way. I can't speak for others, of course, but I'd like to profit from updates, and if it's only if I decide to install a new application, just to have a look at it, and maybe pkg_delete it afterwards. The problem that needed libraries aren't present make this very complicated. To give you an example: I had a 5.x installation that worked perfectly since July 2008. Allthoug I sometimes wanted to install something new, this wasn't possible without reinstalling everything else. The reason was that the system used XFree86, and from some point in time, applications for X changed their dependencies from XFree86 to X.org. So there was no comfortable way to install something for X. Today, I have this problem again. I wanted to have a look at the program Audacious (ex Audacity), but after installing it, I only got /libexec/ld-elf.so.1: Shared object "libgio-2.0.so.0" not found, required by "audacious" And I didn't get Gtk 2 to compile (problem with this FAM stuff), and I stopped trying. > But I reckon there are plenty who would appreciate a package > system that worked _as well_ as the ports system, not "nearly as well". > Which to me justifies my proposal :-) That's completely possible. At least I would enjoy a way to binary- upgrade all the applications in a way pkg_add -r works for single applications. > Actually your example of the problems with X is a good point. How much > better would it be if you could pkg_add --ports-snapshot and you get > everything upgraded with no hassle, including the new version of X. > Sometimes there would be longer between updates because of major issues > like the X one. That's a good point. The issues with X actually make me think that I better leave my hands off my home PC until 7.2-RELEASE, and then install everything from scratch and add my minor modifications to the system (things like /etc/hosts 'n stuff, you know). > Bottom line, I think it could work, I think if it was available people > would use it. Well, I would. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From cwhiteh at onetel.com Mon Apr 6 15:39:54 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Mon Apr 6 15:40:01 2009 Subject: new package system proposal In-Reply-To: <49d7e719.Ck/vxbahdDom2nM0%perryh@pluto.rain.com> References: <49D76B02.4060201@onetel.com> <49d7e719.Ck/vxbahdDom2nM0%perryh@pluto.rain.com> Message-ID: <49DA84B5.1020205@onetel.com> perryh@pluto.rain.com wrote: > Chris Whitehouse wrote: >> My suggestion is to start with a ports tree that is fixed in time. >> Make that ports tree available as part of this package system and >> compile a typical desktop set of ports ... > > Isn't this exactly what is currently done as part of a release? The > ports tree is tagged so that a snapshot can be retrieved using csup, > and packages are built for publication on (for example) > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/ It is but the difference in what I am imagining is the frequency which would be much higher than releases. And answering more than your question, the difference between this and the pkg_add system is that this is based on a fixed ports tree, whereas pkg_add is based on a rolling ports tree, so " > > Granted this includes all package-distributable ports rather than a > "typical desktop" subset. I know you wrote something else but I am too tired to respond or rather to read it properly tonight. Tomorrow... Chris From jimmiejaz at gmail.com Mon Apr 6 15:59:42 2009 From: jimmiejaz at gmail.com (Jimmie James) Date: Mon Apr 6 15:59:48 2009 Subject: xf86-video-intel-2.6.3 resolution issues [fixed?] Message-ID: <49DA895F.1000508@gmail.com> After removing HorizSync and VertRefresh from xorg.conf xrandr happily shows #xrandr Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1600 x 1600 VGA connected 1600x1200+0+0 (normal left inverted right x axis y axis) 306mm x 230mm 1600x1200 65.0* 1280x1024 75.0 1280x960 60.0 1152x864 75.0 1024x768 85.0 75.0 70.1 60.0 43.5 832x624 74.6 800x600 85.1 72.2 75.0 60.3 56.2 640x480 85.0 75.0 72.8 66.7 59.9 720x400 87.8 70.1 Though, using the default of 1600x1200 redraw is slow, jittery. and seeing this in the Xorg.log exaCopyDirty: Pending damage region empty! (--) PCI: (0@0:2:1) Intel Corporation 82915G Integrated Graphics Controller rev 4, Mem @ 0xcfe00000/524288 (this seems to be repeated after first run of mplayer, or vlc: (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline "1600x1200"x0.0 175.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (81.2 kHz) (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (II) intel(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz) (II) intel(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz) (II) intel(0): Modeline "640x480"x0.0 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz) (II) intel(0): Modeline "640x480"x0.0 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz) (II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (II) intel(0): Modeline "720x400"x0.0 35.50 720 738 846 900 400 421 423 449 -hsync -vsync (39.4 kHz) (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz) (II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) intel(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz) (II) intel(0): Modeline "1024x768"x0.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz) (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) (II) intel(0): Modeline "1024x768"x0.0 44.90 1024 1032 1208 1264 768 768 772 817 interlace +hsync +vsync (35.5 kHz) (II) intel(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz) (II) intel(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz) (II) intel(0): Modeline "800x600"x0.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz) (II) intel(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz) (II) intel(0): Modeline "640x480"x0.0 36.00 640 696 752 832 480 481 484 509 -hsync -vsync (43.3 kHz) (II) intel(0): Modeline "800x600"x0.0 56.25 800 832 896 1048 600 601 604 631 +hsync +vsync (53.7 kHz) (II) intel(0): Modeline "1024x768"x0.0 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync (68.7 kHz) (II) intel(0): Modeline "1280x960"x0.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz) (II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) (II) intel(0): Modeline "1600x1200"x0.0 175.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (81.2 kHz) (II) intel(0): EDID vendor "NEC", prod id 17450 (II) intel(0): direct rendering: XF86DRI Enabled (--) RandR disabled (II) AIGLX: Screen 0 is not DRI2 capable drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 10, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 10, (OK) drmOpenByBusid: drmOpenMinor returns 10 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 (II) AIGLX: enabled GLX_SGI_make_current_read (II) AIGLX: enabled GLX_MESA_copy_sub_buffer (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control (II) AIGLX: enabled GLX_texture_from_pixmap with driver support (II) AIGLX: Loaded and initialized /usr/local/lib/dri/i915_dri.so (II) GLX: Initialized DRI GL provider for screen 0 (II) intel(0): Setting screen physical size to 306 x 230 vgapci0@pci0:0:2:1: class=0x030000 card=0x25821043 chip=0x25828086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G/GV/GL, 82910GL Integrated Graphics Device' class = display subclass = VGA vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xd0000000 256MB info: [drm] Initialized i915 1.6.0 20080730 vgapci1: mem 0xcfe00000-0xcfe7ffff at device 2.1 on pci0 -- Over the years I've come to regard you as people I've met. From jalmberg at identry.com Mon Apr 6 16:10:07 2009 From: jalmberg at identry.com (John Almberg) Date: Mon Apr 6 16:10:14 2009 Subject: How to remove all files with a certain extension In-Reply-To: <20090406211111.GF70541@dan.emsphone.com> References: <5BF30BAA-2B35-46C8-8257-56B077D00A8C@identry.com> <20090406211111.GF70541@dan.emsphone.com> Message-ID: <4D0D0EC0-6547-4D04-9006-D5CE128C4DB1@identry.com> On Apr 6, 2009, at 5:11 PM, Dan Nelson wrote: > In the last episode (Apr 06), John Almberg said: >> This is a real newbie question, but I can't figure it out... >> >> I want to remove all .tar files from a directory tree. I think >> something >> like the following should work, but I must have something wrong, >> because >> it doesn't: >> >> find . -name *.tar -exec rm /dev/null {} \; > > find . -name "*.tar" -delete > > Make sure you quote your wildcards so the shell doesn't expand > them, and use > the -delete primary to save a fork/exec for each filename. Fantastic. I never noticed the -delete option before. Amazing what you can find in a man page if you know it's there :-) Thanks: John From jalmberg at identry.com Mon Apr 6 16:25:06 2009 From: jalmberg at identry.com (John Almberg) Date: Mon Apr 6 16:25:13 2009 Subject: How big can a tar file get? Message-ID: <30D89A0A-A607-4513-AEA2-DB16A1609BDD@identry.com> Because of a big problem I had this weekend, I need to do an emergency backup. I'm basically just creating a tar file of my /home directory. My question: how big can a file get on FreeBSD? This tar.gz file is already 5G. Hard drive space is no problem, but as I'm watching this file grow, I'm wondering if there is some file size limit that is going to make this long backup abort. Naturally, that will happen when the backup is almost complete :-) -- John From amvandemore at gmail.com Mon Apr 6 16:28:47 2009 From: amvandemore at gmail.com (Adam Vandemore) Date: Mon Apr 6 16:28:58 2009 Subject: How big can a tar file get? In-Reply-To: <30D89A0A-A607-4513-AEA2-DB16A1609BDD@identry.com> References: <30D89A0A-A607-4513-AEA2-DB16A1609BDD@identry.com> Message-ID: <49DA9032.7040601@gmail.com> John Almberg wrote: > Because of a big problem I had this weekend, I need to do an emergency > backup. I'm basically just creating a tar file of my /home directory. > > My question: how big can a file get on FreeBSD? This tar.gz file is > already 5G. Hard drive space is no problem, but as I'm watching this > file grow, I'm wondering if there is some file size limit that is > going to make this long backup abort. > > Naturally, that will happen when the backup is almost complete :-) > > -- John > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > http://en.wikipedia.org/wiki/Unix_File_System Max file size 2^73 bytes (8 ZiB ) -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 From bruce at cran.org.uk Mon Apr 6 16:54:24 2009 From: bruce at cran.org.uk (Bruce Cran) Date: Mon Apr 6 16:54:39 2009 Subject: How big can a tar file get? In-Reply-To: <30D89A0A-A607-4513-AEA2-DB16A1609BDD@identry.com> References: <30D89A0A-A607-4513-AEA2-DB16A1609BDD@identry.com> Message-ID: <20090407005413.4c12d2b2@gluon.draftnet> On Mon, 6 Apr 2009 19:25:03 -0400 John Almberg wrote: > Because of a big problem I had this weekend, I need to do an > emergency backup. I'm basically just creating a tar file of my /home > directory. > > My question: how big can a file get on FreeBSD? This tar.gz file is > already 5G. Hard drive space is no problem, but as I'm watching this > file grow, I'm wondering if there is some file size limit that is > going to make this long backup abort. > > Naturally, that will happen when the backup is almost complete :-) With the default blocksize (16384) UFS2 can deal with files up to 128TB. However traditional tar only supports up to 8GB while the newer ustar format goes up to 64GB. It seems that at least on 7.x tar creates ustar archives by default. -- Bruce Cran From jalmberg at identry.com Mon Apr 6 16:54:32 2009 From: jalmberg at identry.com (John Almberg) Date: Mon Apr 6 16:54:40 2009 Subject: How big can a tar file get? In-Reply-To: <49DA9032.7040601@gmail.com> References: <30D89A0A-A607-4513-AEA2-DB16A1609BDD@identry.com> <49DA9032.7040601@gmail.com> Message-ID: On Apr 6, 2009, at 7:28 PM, Adam Vandemore wrote: > John Almberg wrote: >> Because of a big problem I had this weekend, I need to do an >> emergency backup. I'm basically just creating a tar file of my / >> home directory. >> >> My question: how big can a file get on FreeBSD? This tar.gz file >> is already 5G. Hard drive space is no problem, but as I'm watching >> this file grow, I'm wondering if there is some file size limit >> that is going to make this long backup abort. >> >> Naturally, that will happen when the backup is almost complete :-) >> >> -- John >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions- >> unsubscribe@freebsd.org" >> > http://en.wikipedia.org/wiki/Unix_File_System > > Max file size 2^73 bytes > (8 ZiB ) That should just about do it... From rnoland at FreeBSD.org Mon Apr 6 17:00:13 2009 From: rnoland at FreeBSD.org (Robert Noland) Date: Mon Apr 6 17:00:20 2009 Subject: xf86-video-intel-2.6.3 resolution issues [fixed?] In-Reply-To: <49DA895F.1000508@gmail.com> References: <49DA895F.1000508@gmail.com> Message-ID: <1239060475.1908.4.camel@balrog.2hip.net> On Mon, 2009-04-06 at 18:59 -0400, Jimmie James wrote: > After removing HorizSync and VertRefresh from xorg.conf xrandr happily > shows > #xrandr > Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1600 x 1600 > VGA connected 1600x1200+0+0 (normal left inverted right x axis y axis) > 306mm x 230mm > 1600x1200 65.0* > 1280x1024 75.0 > 1280x960 60.0 > 1152x864 75.0 > 1024x768 85.0 75.0 70.1 60.0 43.5 > 832x624 74.6 > 800x600 85.1 72.2 75.0 60.3 56.2 > 640x480 85.0 75.0 72.8 66.7 59.9 > 720x400 87.8 70.1 > > Though, using the default of 1600x1200 redraw is slow, jittery. > and seeing this in the Xorg.log > exaCopyDirty: Pending damage region empty! All indications are that this is harmless... robert. > > (--) PCI: (0@0:2:1) Intel Corporation 82915G Integrated Graphics > Controller rev 4, Mem @ 0xcfe00000/524288 > > (this seems to be repeated after first run of mplayer, or vlc: > (II) intel(0): Printing DDC gathered Modelines: > (II) intel(0): Modeline "1600x1200"x0.0 175.50 1600 1664 1856 2160 > 1200 1201 1204 1250 +hsync +vsync (81.2 kHz) > (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 > 605 628 +hsync +vsync (37.9 kHz) > (II) intel(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 > 603 625 +hsync +vsync (35.2 kHz) > (II) intel(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 > 484 500 -hsync -vsync (37.5 kHz) > (II) intel(0): Modeline "640x480"x0.0 31.50 640 664 704 832 480 489 > 492 520 -hsync -vsync (37.9 kHz) > (II) intel(0): Modeline "640x480"x0.0 30.24 640 704 768 864 480 483 > 486 525 -hsync -vsync (35.0 kHz) > (II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 > 492 525 -hsync -vsync (31.5 kHz) > (II) intel(0): Modeline "720x400"x0.0 35.50 720 738 846 900 400 421 > 423 449 -hsync -vsync (39.4 kHz) > (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 > 414 449 -hsync +vsync (31.5 kHz) > (II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 > 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) > (II) intel(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 > 769 772 800 +hsync +vsync (60.0 kHz) > (II) intel(0): Modeline "1024x768"x0.0 75.00 1024 1048 1184 1328 768 > 771 777 806 -hsync -vsync (56.5 kHz) > (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 > 771 777 806 -hsync -vsync (48.4 kHz) > (II) intel(0): Modeline "1024x768"x0.0 44.90 1024 1032 1208 1264 768 > 768 772 817 interlace +hsync +vsync (35.5 kHz) > (II) intel(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 > 628 667 -hsync -vsync (49.7 kHz) > (II) intel(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 > 604 625 +hsync +vsync (46.9 kHz) > (II) intel(0): Modeline "800x600"x0.0 50.00 800 856 976 1040 600 637 > 643 666 +hsync +vsync (48.1 kHz) > (II) intel(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 > 865 868 900 +hsync +vsync (67.5 kHz) > (II) intel(0): Modeline "640x480"x0.0 36.00 640 696 752 832 480 481 > 484 509 -hsync -vsync (43.3 kHz) > (II) intel(0): Modeline "800x600"x0.0 56.25 800 832 896 1048 600 601 > 604 631 +hsync +vsync (53.7 kHz) > (II) intel(0): Modeline "1024x768"x0.0 94.50 1024 1072 1168 1376 768 > 769 772 808 +hsync +vsync (68.7 kHz) > (II) intel(0): Modeline "1280x960"x0.0 108.00 1280 1376 1488 1800 960 > 961 964 1000 +hsync +vsync (60.0 kHz) > (II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 > 1024 1025 1028 1066 +hsync +vsync (80.0 kHz) > (II) intel(0): Modeline "1600x1200"x0.0 175.50 1600 1664 1856 2160 > 1200 1201 1204 1250 +hsync +vsync (81.2 kHz) > (II) intel(0): EDID vendor "NEC", prod id 17450 > > (II) intel(0): direct rendering: XF86DRI Enabled > (--) RandR disabled > > (II) AIGLX: Screen 0 is not DRI2 capable > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 10, (OK) > drmOpenByBusid: Searching for BusID pci:0000:00:02.0 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 10, (OK) > drmOpenByBusid: drmOpenMinor returns 10 > drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 > (II) AIGLX: enabled GLX_SGI_make_current_read > (II) AIGLX: enabled GLX_MESA_copy_sub_buffer > (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control > (II) AIGLX: enabled GLX_texture_from_pixmap with driver support > (II) AIGLX: Loaded and initialized /usr/local/lib/dri/i915_dri.so > (II) GLX: Initialized DRI GL provider for screen 0 > (II) intel(0): Setting screen physical size to 306 x 230 > > > > vgapci0@pci0:0:2:1: class=0x030000 card=0x25821043 chip=0x25828086 > rev=0x04 hdr=0x00 > vendor = 'Intel Corporation' > device = '82915G/GV/GL, 82910GL Integrated Graphics Device' > class = display > subclass = VGA > vgapci0: child drm0 requested pci_enable_busmaster > info: [drm] AGP at 0xd0000000 256MB > info: [drm] Initialized i915 1.6.0 20080730 > vgapci1: mem 0xcfe00000-0xcfe7ffff at device > 2.1 on pci0 > -- Robert Noland FreeBSD -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090407/ac15f047/attachment.pgp From jalmberg at identry.com Mon Apr 6 17:22:43 2009 From: jalmberg at identry.com (John Almberg) Date: Mon Apr 6 17:22:50 2009 Subject: How big can a tar file get? In-Reply-To: <20090407005413.4c12d2b2@gluon.draftnet> References: <30D89A0A-A607-4513-AEA2-DB16A1609BDD@identry.com> <20090407005413.4c12d2b2@gluon.draftnet> Message-ID: > > With the default blocksize (16384) UFS2 can deal with files up to > 128TB. > However traditional tar only supports up to 8GB while the newer ustar > format goes up to 64GB. It seems that at least on 7.x tar creates > ustar archives by default Well, I'm already past 10GB, so good thing I'm on 7.1. From dnelson at allantgroup.com Mon Apr 6 17:36:13 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Mon Apr 6 17:36:20 2009 Subject: How big can a tar file get? In-Reply-To: <20090407005413.4c12d2b2@gluon.draftnet> References: <30D89A0A-A607-4513-AEA2-DB16A1609BDD@identry.com> <20090407005413.4c12d2b2@gluon.draftnet> Message-ID: <20090407003610.GG70541@dan.emsphone.com> In the last episode (Apr 07), Bruce Cran said: > On Mon, 6 Apr 2009 19:25:03 -0400 John Almberg wrote: > > Because of a big problem I had this weekend, I need to do an emergency > > backup. I'm basically just creating a tar file of my /home directory. > > > > My question: how big can a file get on FreeBSD? This tar.gz file is > > already 5G. Hard drive space is no problem, but as I'm watching this > > file grow, I'm wondering if there is some file size limit that is going > > to make this long backup abort. > > > > Naturally, that will happen when the backup is almost complete :-) > > With the default blocksize (16384) UFS2 can deal with files up to 128TB. > However traditional tar only supports up to 8GB while the newer ustar > format goes up to 64GB. It seems that at least on 7.x tar creates ustar > archives by default. I think you're referring to the maximum size of a file tar can store; the total size of a tarfile has no limit, since it's a streaming format. Each stored file is independant of previous or later files, and there is no summary file-list either in the front or at the end. -- Dan Nelson dnelson@allantgroup.com From JHALL at SOCKET.NET Mon Apr 6 17:50:26 2009 From: JHALL at SOCKET.NET (Jay Hall) Date: Mon Apr 6 17:50:33 2009 Subject: Controllers/Drives renumbered Message-ID: <3C70BDDB-CC92-444D-A26E-F24CAA44B82E@SOCKET.NET> Earlier today, I installed a new HP SCSI (HP SmartArray 642)controller and an HP Drive Array in my company's HP ML 350 G5. The system drive which had been da0 became da1 and the new controller became da0. Unfortunately, I cannot rearrange the controllers in the system since one is PCI-X and one is PCI Express. Is it possible to force FreeBSD 6.2 to detect the cards in a particular order so my drives are not renumbered. Thanks, Jay From alexus at gmail.com Mon Apr 6 18:17:04 2009 From: alexus at gmail.com (alexus) Date: Mon Apr 6 18:17:11 2009 Subject: jail stop In-Reply-To: References: <6ae50c2d0904061227t3af4bc8bk648125964cdad5f7@mail.gmail.com> <1239046955.16390.2197.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <49DA5CE1.7060504@gmail.com> <6ae50c2d0904061310v14fdb088l8b1c676a2de2f08e@mail.gmail.com> Message-ID: <6ae50c2d0904061817l3c1264ebka1a3793e16554a91@mail.gmail.com> On Mon, Apr 6, 2009 at 5:08 PM, Duane Hill wrote: > On Mon, 6 Apr 2009, alexus wrote: > >> On Mon, Apr 6, 2009 at 3:49 PM, Adam Vandemore >> wrote: >>> >>> Brian A. Seklecki wrote: >>>> >>>> On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: >>>> >>>>> >>>>> ?cannot stop jail mx. No jail id in /var/run >>>>> >>>> >>>> $ uname -a >>>> There were problems with TTY code in older versions that would cause >>>> processes to get stuck, ghosting jails. >>>> >>> I believe I have seen other causes of this issue since it happens on 7.1. >>> ?jkill takes care of it. ?Probably happens due to user error, here at >>> least. >> >> dd# jkill >> jkill: Command not found. >> dd# >> >> i assume jkill isn't part of standard OS, right? > > Correct. It can be found here: > > ? ?/usr/ports/sysutils/jkill > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > okay, but freebsd thinking about fixing it? or did someone submit a bug report (or are they already aware of that?) -- http://alexus.org/ From alexus at gmail.com Mon Apr 6 18:36:40 2009 From: alexus at gmail.com (alexus) Date: Mon Apr 6 18:36:47 2009 Subject: bsnmpd In-Reply-To: References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> Message-ID: <6ae50c2d0904061836q37e1c9afqe476a0475c3cd34a@mail.gmail.com> On Mon, Apr 6, 2009 at 5:08 PM, Anton Yuzhaninov wrote: > On Mon, 6 Apr 2009 14:19:27 -0400, alexus wrote: > a> I have bsnmpd enabled in rc.conf > a> > a> > a> root@lama ~ 501$ grep ^b /etc/rc.conf > a> bsnmpd_enable="YES" > a> root@lama ~ 502$ > a> > a> yet, whenever I restart my computer, it won't start on boot, but if I > a> run manual command > a> > a> /etc/rc.d/bsnmpd start > a> > a> it starts fine no problem > a> > > May be you have some broken script in /usr/local/etc/rc.d/ > > Try to add > rc_debug="YES" to /etc/rc.conf > > reboot, and see in logs which script was started > > -- > ?Anton Yuzhaninov > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > it seems to be running on boot as it suppose only in host environment and not in jail, although as i mentioned before it can be run manually. -- http://alexus.org/ From byte8bits at gmail.com Mon Apr 6 18:55:36 2009 From: byte8bits at gmail.com (new_guy) Date: Mon Apr 6 18:55:44 2009 Subject: portupgrade question Message-ID: <22920813.post@talk.nabble.com> Hi, Silly question... when I use portupgrade on gnome installs, it interrupts itself a lot to prompt for config options. I normally take all the defaults. Is there a way to use portupgrade without all the stopping for config questions? I'd like to leave my laptop alone over-night doing a portupgrade of gnome... etc without baby-sitting it. If something does happen to get built without a setting I want, I can always redo it later, but for 95% of all the builds, I take the defaults and would rather not be prompted on those. Thanks -- View this message in context: http://www.nabble.com/portupgrade-question-tp22920813p22920813.html Sent from the freebsd-questions mailing list archive at Nabble.com. From glen.j.barber at gmail.com Mon Apr 6 18:59:13 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Apr 6 18:59:20 2009 Subject: portupgrade question In-Reply-To: <22920813.post@talk.nabble.com> References: <22920813.post@talk.nabble.com> Message-ID: <4ad871310904061859m7072d073w4e876aa6a8f7a6b1@mail.gmail.com> On Mon, Apr 6, 2009 at 9:55 PM, new_guy wrote: > > Hi, > > Silly question... when I use portupgrade on gnome installs, it interrupts > itself a lot to prompt for config options. I normally take all the defaults. > Is there a way to use portupgrade without all the stopping for config > questions? I'd like to leave my laptop alone over-night doing a portupgrade > of gnome... etc without baby-sitting it. If something does happen to get > built without a setting I want, I can always redo it later, but for 95% of > all the builds, I take the defaults and would rather not be prompted on > those. > You could add: BATCH=yes to /etc/make.conf. -- Glen Barber From wblock at wonkity.com Mon Apr 6 19:32:48 2009 From: wblock at wonkity.com (Warren Block) Date: Mon Apr 6 19:32:54 2009 Subject: portupgrade question In-Reply-To: <22920813.post@talk.nabble.com> References: <22920813.post@talk.nabble.com> Message-ID: On Mon, 6 Apr 2009, new_guy wrote: > Silly question... when I use portupgrade on gnome installs, it interrupts > itself a lot to prompt for config options. I normally take all the defaults. > Is there a way to use portupgrade without all the stopping for config > questions? I'd like to leave my laptop alone over-night doing a portupgrade > of gnome... etc without baby-sitting it. If something does happen to get > built without a setting I want, I can always redo it later, but for 95% of > all the builds, I take the defaults and would rather not be prompted on > those. 'portupgrade -c' causes it to show all the config screens first. -Warren Block * Rapid City, South Dakota USA From dave.list at pixelhammer.com Mon Apr 6 20:19:08 2009 From: dave.list at pixelhammer.com (DAve) Date: Mon Apr 6 20:19:15 2009 Subject: Multiple instances of MySQL Message-ID: <49DAC610.6020404@pixelhammer.com> Good morning all, I have a situation where I am being instructed to allow a client to access MySQL remotely. We generally put those clients on a VPS and allow them free reign. In this case we cannot, they are on a shared host server. Opening our PIX to allow connections through to MySQL, and relying on MySQL security to be the sole protection, is not something I or my Network administrator is comfortable with. Has anyone setup two instances of MySQL on the same server? One running just a client's DBs? Any advice would be helpful. Thanks, DAve -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Quincy Adams http://appleseedinfo.org From on at cs.ait.ac.th Mon Apr 6 20:28:20 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Mon Apr 6 20:28:27 2009 Subject: Multiple instances of MySQL In-Reply-To: <49DAC610.6020404@pixelhammer.com> (message from DAve on Mon, 06 Apr 2009 23:18:40 -0400) References: <49DAC610.6020404@pixelhammer.com> Message-ID: <200904070328.n373SHdB081955@banyan.cs.ait.ac.th> Hi, > Has anyone setup two instances of MySQL on the same server? One running > just a client's DBs? Any advice would be helpful. That is not answering your question directly, but MySQL works finr over an SSH tunnel. You'd have your users connect/authenticate with SSH first to establish the tunnel, then they'd use the tunnel to forward the NySQl connection. Best regards, Olivier From npapke at acm.org Mon Apr 6 20:37:33 2009 From: npapke at acm.org (Norbert Papke) Date: Mon Apr 6 20:37:40 2009 Subject: Multiple instances of MySQL In-Reply-To: <49DAC610.6020404@pixelhammer.com> References: <49DAC610.6020404@pixelhammer.com> Message-ID: <200904062037.30518.npapke@acm.org> On April 6, 2009, DAve wrote: > Has anyone setup two instances of MySQL on the same server? One running > just a client's DBs? Any advice would be helpful. It's just a matter of making sure that the two instances don't share any ports or files. It works well. You'll have to create a custom my.cnf file and start-up script for your second instance. More info: http://dev.mysql.com/doc/refman/5.1/en/multiple-servers.html Remember to specify the alternate port when using programs such as 'mysql' command line client. Cheers, -- Norbert Papke. npapke@acm.org From dave.list at pixelhammer.com Mon Apr 6 20:41:28 2009 From: dave.list at pixelhammer.com (DAve) Date: Mon Apr 6 20:41:35 2009 Subject: Multiple instances of MySQL In-Reply-To: <200904070328.n373SHdB081955@banyan.cs.ait.ac.th> References: <49DAC610.6020404@pixelhammer.com> <200904070328.n373SHdB081955@banyan.cs.ait.ac.th> Message-ID: <49DACB52.8030407@pixelhammer.com> Olivier Nicole wrote: > Hi, > >> Has anyone setup two instances of MySQL on the same server? One running >> just a client's DBs? Any advice would be helpful. > > That is not answering your question directly, but MySQL works finr > over an SSH tunnel. > > You'd have your users connect/authenticate with SSH first to establish > the tunnel, then they'd use the tunnel to forward the NySQl > connection. I doubt the would be an option without a GUI to do everything for the user. I suggested a VPN which we can setup easily with a Cisco Client. No answer back from the account manager on that option. DAve -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Quincy Adams http://appleseedinfo.org From pschmehl_lists at tx.rr.com Mon Apr 6 21:20:19 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Mon Apr 6 21:20:30 2009 Subject: Multiple instances of MySQL In-Reply-To: <49DACB52.8030407@pixelhammer.com> References: <49DAC610.6020404@pixelhammer.com> <200904070328.n373SHdB081955@banyan.cs.ait.ac.th> <49DACB52.8030407@pixelhammer.com> Message-ID: <5C4F1A401C316B7D2F625CCF@Macintosh-2.local> --On April 6, 2009 11:41:06 PM -0400 DAve wrote: > Olivier Nicole wrote: >> Hi, >> >>> Has anyone setup two instances of MySQL on the same server? One >>> running just a client's DBs? Any advice would be helpful. >> >> That is not answering your question directly, but MySQL works finr >> over an SSH tunnel. >> >> You'd have your users connect/authenticate with SSH first to establish >> the tunnel, then they'd use the tunnel to forward the NySQl >> connection. > > I doubt the would be an option without a GUI to do everything for the > user. I suggested a VPN which we can setup easily with a Cisco Client. > No answer back from the account manager on that option. > If your client needs a gui to access mysql, why not use phpmyadmin (or a similar gui-based admin utility) and restrict access to his IP(s)? You can do this with your firewall rules or by using .htaccess. You can also force SSL connections, which would protect against MITM attacks on a cleartext session. (You can also require SSL and secure auth for the db and restrict access by IP using the format username@fqdn, but you stated that you're not comfortable depending *only* upon mysql's security capabilities.) However, I would suggest that you provide, as you suggest, a separate instance of mysql just for this client as well. If they screw up the instance they won't affect other customers. To run a separate instance, I would suggest using different names for the binaries, conf files and datadir. This can be easily done using symlinks; e.g. mysql and mysql-special. Then copy the startup script in /usr/local/etc/rc.d/, rename it to mysql-special and edit it to change all references to the newly-named instance. Use a my-special.cnf file for the special instance and reference it in /etc/rc.conf using mysql_args=. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From peterwang at vip.qq.com Mon Apr 6 21:47:40 2009 From: peterwang at vip.qq.com (Peter Wang) Date: Mon Apr 6 21:47:48 2009 Subject: How to find out which ports contains a specified command. In-Reply-To: <2B08274BD5B112278E9DF1D2@Macintosh-2.local> (Paul Schmehl's message of "Sun\, 05 Apr 2009 18\:33\:22 -0500") References: <2B08274BD5B112278E9DF1D2@Macintosh-2.local> Message-ID: Paul Schmehl writes: yes, that's exactly what i want, thanks! -peter > --On April 5, 2009 6:13:57 PM -0400 illoai@gmail.com wrote: > >> 2009/4/5 Peter Wang : >>> >>> for example, after i installed pfsense, which is based on freebsd >>> release 7.1, i found adduser command is missing. >>> >>> so how to find out which ports contains `adduser' command? >>> thanks for your replies. >>> >> >> % which adduser >> /usr/sbin/adduser >> >> Thus it is part of the base system, installed through /usr/src >> rather than /usr/ports. >> >> Also, as you are running (essentially) 7.x, this is probably >> better on freebsd-questions than current. > > I think you misunderstood his question. > > This would be one way to do it: > > find /usr/ports/ -type f -exec grep -sq adduser {} \; -print > > Paul Schmehl, If it isn't already > obvious, my opinions are my own > and not those of my employer. > ****************************************** > WARNING: Check the headers before replying From madhurjf at gmail.com Mon Apr 6 21:04:26 2009 From: madhurjf at gmail.com (Madhusudan R) Date: Mon Apr 6 21:59:26 2009 Subject: xinetd for FreeBSD 6.2 Message-ID: <8d32a6620904062042i21279afcwd6c83a23b5a774e1@mail.gmail.com> Hi, I'd like to know the version of xinetd that can be run on FreeBSD 6.2. And where can I find it? Anything else I need to know before I start using xinetd on the aforemention platform. Thanks! Madhu From toomas.aas at raad.tartu.ee Mon Apr 6 22:04:22 2009 From: toomas.aas at raad.tartu.ee (Toomas Aas) Date: Mon Apr 6 22:04:29 2009 Subject: ftpd: messages about maskurg and flagxfer Message-ID: <49DADB2C.8030708@raad.tartu.ee> Hello! I'm running a FTP server using standard FreeBSD ftpd on FreeBSD 7.1 (i386). From time to time I see these messages in the log: ftpd[4805]: Internal: flagxfer(0): no active transfer ftpd[4805]: Internal: maskurg() while no transfer Should I be worried? -- Toomas ... Someday we'll look back on all this and plow into a parked car. From peterwang at vip.qq.com Mon Apr 6 22:55:08 2009 From: peterwang at vip.qq.com (Peter Wang) Date: Mon Apr 6 22:55:15 2009 Subject: How to find out which ports contains a specified command. References: <2B08274BD5B112278E9DF1D2@Macintosh-2.local> Message-ID: Paul Schmehl writes: yes, that's exactly what i want, thanks. -peter > --On April 5, 2009 6:13:57 PM -0400 illoai@gmail.com wrote: > >> 2009/4/5 Peter Wang : >>> >>> for example, after i installed pfsense, which is based on freebsd >>> release 7.1, i found adduser command is missing. >>> >>> so how to find out which ports contains `adduser' command? >>> thanks for your replies. >>> >> >> % which adduser >> /usr/sbin/adduser >> >> Thus it is part of the base system, installed through /usr/src >> rather than /usr/ports. >> >> Also, as you are running (essentially) 7.x, this is probably >> better on freebsd-questions than current. > > I think you misunderstood his question. > > This would be one way to do it: > > find /usr/ports/ -type f -exec grep -sq adduser {} \; -print > > Paul Schmehl, If it isn't already > obvious, my opinions are my own > and not those of my employer. > ****************************************** > WARNING: Check the headers before replying > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From randy.belk at gmail.com Mon Apr 6 23:14:27 2009 From: randy.belk at gmail.com (Randy Belk) Date: Mon Apr 6 23:14:34 2009 Subject: xinetd for FreeBSD 6.2 In-Reply-To: <8d32a6620904062042i21279afcwd6c83a23b5a774e1@mail.gmail.com> References: <8d32a6620904062042i21279afcwd6c83a23b5a774e1@mail.gmail.com> Message-ID: <946140ad0904062246w175ba4ffk4002da927b045565@mail.gmail.com> On Mon, Apr 6, 2009 at 10:42 PM, Madhusudan R wrote: > Hi, > > I'd like to know the version of xinetd that can be run on FreeBSD 6.2. And > where can I find it? > > Anything else I need to know before I start using xinetd on the aforemention > platform. > > Thanks! > Madhu > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > To install xinitd use the following command as root cd /usr/ports/security/xinetd/ && make install clean -- - Amiga, The Computer for the creative Mind! - UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - People who hate Microsoft Windows use Linux but people who love UNIX use BSD. From m.seaman at infracaninophile.co.uk Mon Apr 6 23:37:49 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Apr 6 23:38:01 2009 Subject: new package system proposal In-Reply-To: <49DA7BF0.80403@onetel.com> References: <49D76B02.4060201@onetel.com> <20090404170401.c0f0bce0.freebsd@edvax.de> <49D789BD.7020103@infracaninophile.co.uk> <49DA7BF0.80403@onetel.com> Message-ID: <49DAF4AF.4060104@infracaninophile.co.uk> Chris Whitehouse wrote: > You've suggested solutions to a couple of Polytropon's objections, thank > you. Do you think there is anough mileage in my suggestion to make it > worth putting in front of some ports people? What would have > to happen to take it forward? I could rewrite the proposal more clearly. Any well-considered proposal is interesting, and suitable fodder for the freebsd-ports@... mailing list. However you must be prepared for your ideas to undergo some fairly rigourous critique by people who have spent a great deal of time in doing exactly the sort of operations you are talking about. It can be pretty daunting -- remember though that it is your /ideas/ that are being dissected: it's not a personal attack against you for having the temerity to try and suggest something. Also, as ever in the FreeBSD world, code speaks louder than words. It's easy for anyone to come up with a proposal, hard to turn that into a prototype that demonstrates the validity of your ideas. Expect skepticism until you have done that. > I suspect it would be easier to implement than freebsd-update, as a good > deal of the infrastructure already exists, and would have similar > benefits. To start developing it would require a ports tree and a > selection of packages compiled from that ports tree. 7.2 Release is > coming up. Maybe the ports tree plus packages from that would be a good > place to start. freebsd-update and portsnap existed only on Colin Percival's own machines for quite some time, and then they were made available through ports before being accepted into the core system. That is the usual sort of progression for any major new system modifications. The infrastructure may well exist, but don't assume that there is any spare capacity on it. Getting time on the ports build cluster for running experiments is not impossible, but it's somewhere way down the queue after the daily work of building packages for the FTP sites and testing the effects of bug fixes in the bsd.ports.mk infrastructure or important and highly interconnected groups of ports like xorg or gnome. Also, right before 7.2-RELEASE is probably not the best time as that's when things are most hectic. Right /after/ 7.2-RELEASE would be better I think your basic idea of snapshotting the ports tree at regular intervals and building a self-consistent group of desktop related applications is a pretty good one actually. You need to work a bit on the details -- for instance, is it worthwhile rebuilding (say) the X libraries if there have been no changes to them since the previous snapshot? Also, I'd take a good look at exactly how the PC-BSD and Desktop-BSD groups deal with this problem. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090407/4a7be0df/signature.pgp From xkyanh at gmail.com Tue Apr 7 00:37:21 2009 From: xkyanh at gmail.com (kyanh) Date: Tue Apr 7 00:37:28 2009 Subject: urxvt: input method problem Message-ID: <20090407143609.1f83a844@icy.local> Hello all, `xvnkb` is a vietnamese keyboard and it currently works well on any GTK applications. It uses below settings in `$HOME/.bashrc`: /================= | export GTK_IM_MODULE=xim | export LD_PRELOAD=/usr/local/lib/xvnkb.so.0.2.9 \================= But I cannot type any vietnamese in `urxvt`. I donnot how to get debug messages. I just know that I can type vietnamese easily with `urxvt` on my former Arch Linux. Thank you very much for your helps. Regards, -- Ky Anh, Huynh Homepage: http://viettug.org/ My rxvt's build configuration: ============================== rxvt-unicode (urxvt) v9.06 - released: 2008-06-15 options: perl,xft,styles,combining,blink,iso14755,unicode3,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,afterimage,XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm My rxvt's X settings ==================== $ grep -i urxvt .Xdefaults URxvt*termName: rxvt URxvt*background: #000000 URxvt*foreground: violet URxvt*scrollBar_right: true URxvt*scrollBar: false URxvt*inheritPixmap: true URxvt*geometry: 84x24 URxvt*tint: white URxvt.imlocale: en_US.UTF-8 URxvt.inputMethod: xim From f.bonnet at esiee.fr Tue Apr 7 01:12:57 2009 From: f.bonnet at esiee.fr (Frank Bonnet) Date: Tue Apr 7 01:13:05 2009 Subject: Migration to 7.1 ? Message-ID: <49DB0B07.1030703@esiee.fr> Hello I'm planning to migrate our mailhub (IBM X3650) to FreeBSD 7.1 from Debian etch ;-) , of course I'll restart "from scratch". I have two questions before doing so. Does 7.1 has reached a stability that it could be used for a high load production server ? Does the LAGG driver works well with broadcomm giga ethernet chips ? ( I plan to use LACP to a Cisco switch ) Thank you. From wojtek at wojtek.tensor.gdynia.pl Tue Apr 7 01:49:35 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Apr 7 01:49:42 2009 Subject: Migration to 7.1 ? In-Reply-To: <49DB0B07.1030703@esiee.fr> References: <49DB0B07.1030703@esiee.fr> Message-ID: > > Does 7.1 has reached a stability that it could > be used for a high load production server ? at least for me - it's stable under high loads doing lots of different thing. i mean /amd64 From ivoras at freebsd.org Tue Apr 7 02:17:20 2009 From: ivoras at freebsd.org (Ivan Voras) Date: Tue Apr 7 02:17:26 2009 Subject: Migration to 7.1 ? In-Reply-To: <49DB0B07.1030703@esiee.fr> References: <49DB0B07.1030703@esiee.fr> Message-ID: Frank Bonnet wrote: > Hello > > I'm planning to migrate our mailhub (IBM X3650) to FreeBSD 7.1 > from Debian etch ;-) , of course I'll restart "from scratch". > > I have two questions before doing so. > > Does 7.1 has reached a stability that it could > be used for a high load production server ? Generally, yes. > Does the LAGG driver works well with broadcomm giga ethernet chips ? > ( I plan to use LACP to a Cisco switch ) Try asking at freebsd-net@ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090407/b7d1a99c/signature.pgp From utisoft at googlemail.com Tue Apr 7 02:34:16 2009 From: utisoft at googlemail.com (Chris Rees) Date: Tue Apr 7 02:34:24 2009 Subject: Question about forcing fsck at boottime In-Reply-To: <47952575-35FD-4733-9262-A6DAA3ACB762@lafn.org> References: <200903311657.n2VGvLE8010101@lurza.secnetix.de> <20090406001614.304360d6@gluon.draftnet> <47952575-35FD-4733-9262-A6DAA3ACB762@lafn.org> Message-ID: > > On Apr 6, 2009, at 11:12, Chris Rees wrote: > >> Can >> no-one can come up with a reply either quoting a mailing list or >> giving the circumstances when: >> >> a) Background fsck caused data CORRUPTION >> >> _and_ >> >> b) A foreground fsck would not have done the same >> >> ? 2009/4/6 Doug Hardie : > Yes. ?When background FSCK first became standard I let it go that way on my > production servers. ?The first time we had a power issue that resulted in a > shutdown of a server it tried to come back up when the power was restored. > ?I have a large number of daemons that rely on configure files and other > information that is reasonably frequently updated. ?Some of those files were > in the process of being updated when it shut down. ?As a result background > FSCK did not get around to those files till much after the daemons were up > and running (or trying to run). ?Most of them worked ok at the beginning. > ?However after FSCK resolved the problems, the underlying files changed. > ?The daemons couldn't function at that point. > > While a simple reboot at that point fixed everything, that caused yet > another outage for users. So, the answer is NO, it does NOT cause data CORRUPTION. A simple reboot solved it? Really, you're advocating guaranteed extended downtime every time there's a power outage, compared with a slight chance of a slightly longer downtime while every other time it comes almost straight up. Any more replies, please, read the damned question. > I doubt that the concept of background FSCK is broken and I suspect that the implementation is good too. _Thank_ you Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From valentin.bud at gmail.com Tue Apr 7 02:42:13 2009 From: valentin.bud at gmail.com (Valentin Bud) Date: Tue Apr 7 02:42:23 2009 Subject: C programming question Message-ID: <139b44430904070241j5227d178jd75f6a93057a150a@mail.gmail.com> Hello community, I have built with a micro controller a system of power plugs that can be controlled through the serial port. I have 2 plugs that i can start/stop and check the status of them. This is accomplished by sending different letters (eg. A/W) to start/stop one of the plugs and another set of letter for the other plug and one letter to check the status. Taking into account the fact that my C skills are almost 0 how complicated would be to write a program so I can control that micro controller through the serial port. Or is there some kind of program that can read/write from/to the serial port from the command line. I don't want an interactive program like minicom, just a program that connects and send a command (a letter in my case) to the serial port. Why not minicom (or any other program like it)? My goal is to be able to start/stop the plugs using a web interface. I have tried using minicom and background it but when i log out minicom closes. If minicom is started i can send commands to ttyd0 with echo, but i can't read anything from serial. Now back to my original question, how hard/complicated will it be to write a C program to control the micro controller through the serial port. Of course on FreeBSD :). thanks, v -- network warrior since 2005 From jalmberg at identry.com Tue Apr 7 04:30:34 2009 From: jalmberg at identry.com (John Almberg) Date: Tue Apr 7 04:30:41 2009 Subject: C programming question In-Reply-To: <139b44430904070241j5227d178jd75f6a93057a150a@mail.gmail.com> References: <139b44430904070241j5227d178jd75f6a93057a150a@mail.gmail.com> Message-ID: <45769C11-D692-4A3B-B979-27A74D9FF094@identry.com> On Apr 7, 2009, at 5:41 AM, Valentin Bud wrote: > Hello community, > > I have built with a micro controller a system of power plugs that > can be > controlled through the serial port. > I have 2 plugs that i can start/stop and check the status of them. > This is > accomplished by sending different > letters (eg. A/W) to start/stop one of the plugs and another set of > letter > for the other plug and one letter > to check the status. > > Taking into account the fact that my C skills are almost 0 how > complicated > would be to write a program > so I can control that micro controller through the serial port. Or > is there > some kind of program that can > read/write from/to the serial port from the command line. I don't > want an > interactive program like minicom, > just a program that connects and send a command (a letter in my > case) to the > serial port. > > Why not minicom (or any other program like it)? My goal is to be > able to > start/stop the plugs using a web interface. > I have tried using minicom and background it but when i log out > minicom > closes. If minicom is started i can > send commands to ttyd0 with echo, but i can't read anything from > serial. > > Now back to my original question, how hard/complicated will it be > to write > a C program to control the micro controller > through the serial port. > > Of course on FreeBSD :). More complicated than you need. The last time I twiddled bits on a serial port, the choice was Assembler, or C, but today my choice would be Ruby. You can probably do whatever you want with a few lines of Ruby, rather than many lines of C. And since you don't know either language, you might as easily learn Ruby as C. Unless you are going to start writing low level code, a high level language like Ruby will let you write any program you need. I haven't needed to write a line of C code in probably 20 years. Check out the Ruby serial port library: http://ruby-serialport.rubyforge.org/ The standard Ruby book is "Programming Ruby" (http:// www.pragprog.com). If you don't know programming at all, they have a "Learn to Program" book that uses Ruby as a first language. -- John From olli at lurza.secnetix.de Tue Apr 7 04:45:11 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Tue Apr 7 04:45:18 2009 Subject: C programming question In-Reply-To: <139b44430904070241j5227d178jd75f6a93057a150a@mail.gmail.com> Message-ID: <200904071144.n37BikRT005234@lurza.secnetix.de> Valentin Bud wrote: > Hello community, > > I have built with a micro controller a system of power plugs that can be > controlled through the serial port. > I have 2 plugs that i can start/stop and check the status of them. This is > accomplished by sending different > letters (eg. A/W) to start/stop one of the plugs and another set of letter > for the other plug and one letter > to check the status. > > Taking into account the fact that my C skills are almost 0 how complicated > would be to write a program > so I can control that micro controller through the serial port. Or is there > some kind of program that can > read/write from/to the serial port from the command line. I don't want an > interactive program like minicom, > just a program that connects and send a command (a letter in my case) to the > serial port. You can do this with existing shell tools. With stty(1) you can select the serial port parameters on the "init" device (see sio(4) for details about the "init" and "lock" devices). Then you can use printf(1) or echo -n to send single letters to the serial port. To read single characters, you can use dd(1) with bs=1 and count=1. Make sure that the serial line is in "cbreak" or "raw" mode (with stty). This is a common trick to read single characters from stdin (without having to press the Enter key) in order to implement simple menu systems in shell scripts: echo -n "Press any key: " stty cbreak -echo KEY=$(dd bs=1 count=1 2>/dev/null) stty -cbreak echo echo echo "You pressed the \"$KEY\" key." To read from a serial port instead of standard input, you have to redirect input from the serial port's device for the stty and dd commands, of course. > Now back to my original question, how hard/complicated will it be to write > a C program to control the micro controller > through the serial port. Well, it's not hard or complicated, but it requires a certain amount of knowledge. First you have to learn C programming. Then you have to learn about the termios(4) interface and related things. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." -- Doug Gwyn From cwhiteh at onetel.com Tue Apr 7 05:38:59 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Tue Apr 7 05:39:06 2009 Subject: C programming question In-Reply-To: <139b44430904070241j5227d178jd75f6a93057a150a@mail.gmail.com> References: <139b44430904070241j5227d178jd75f6a93057a150a@mail.gmail.com> Message-ID: <49DB4960.8070109@onetel.com> Valentin Bud wrote: > Hello community, > > I have built with a micro controller a system of power plugs that can be > controlled through the serial port. > I have 2 plugs that i can start/stop and check the status of them. This is > accomplished by sending different > letters (eg. A/W) to start/stop one of the plugs and another set of letter > for the other plug and one letter > to check the status. > > Taking into account the fact that my C skills are almost 0 how complicated > would be to write a program > so I can control that micro controller through the serial port. Or is there > some kind of program that can > read/write from/to the serial port from the command line. I don't want an > interactive program like minicom, > just a program that connects and send a command (a letter in my case) to the > serial port. > > Why not minicom (or any other program like it)? My goal is to be able to > start/stop the plugs using a web interface. > I have tried using minicom and background it but when i log out minicom > closes. If minicom is started i can > send commands to ttyd0 with echo, but i can't read anything from serial. > > Now back to my original question, how hard/complicated will it be to write > a C program to control the micro controller > through the serial port. > > Of course on FreeBSD :). > > thanks, > v > There are some things here http://www.vitsch.net/ which might be useful see lampd, lampgui and An 8-output solid state mains-switch. It's all pretty old but then so are serial ports :) Chris From bjmccann at gmail.com Tue Apr 7 05:47:47 2009 From: bjmccann at gmail.com (Brian McCann) Date: Tue Apr 7 05:47:54 2009 Subject: Controllers/Drives renumbered In-Reply-To: <3C70BDDB-CC92-444D-A26E-F24CAA44B82E@SOCKET.NET> References: <3C70BDDB-CC92-444D-A26E-F24CAA44B82E@SOCKET.NET> Message-ID: <2b5f066d0904070515l5658de1eve4edcda842d12197@mail.gmail.com> On Mon, Apr 6, 2009 at 8:50 PM, Jay Hall wrote: > Earlier today, I installed a new HP SCSI (HP SmartArray 642)controller and > an HP Drive Array in my company's HP ML 350 G5. The system drive which had > been da0 became da1 and the new controller became da0. > > Unfortunately, I cannot rearrange the controllers in the system since one > is PCI-X and one is PCI Express. Is it possible to force FreeBSD 6.2 to > detect the cards in a particular order so my drives are not renumbered. > > Thanks, > > > > Jay > > I had this problem myself...and I could not find a way to re-order the cards. So, I started using glabel to solve my problems. http://www.freebsd.org/cgi/man.cgi?query=glabel&sektion=8 . This obviously may not solve your direct problem, but it solved mine since I then mount,fsck,whatever /dev/ufs/systemRoot . I hope this helps! --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann "I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me." -- Bill Murray, "Ghostbusters" From dave.list at pixelhammer.com Tue Apr 7 05:53:09 2009 From: dave.list at pixelhammer.com (DAve) Date: Tue Apr 7 05:53:17 2009 Subject: Multiple instances of MySQL In-Reply-To: <200904062037.30518.npapke@acm.org> References: <49DAC610.6020404@pixelhammer.com> <200904062037.30518.npapke@acm.org> Message-ID: <49DB4C9A.9010004@pixelhammer.com> Norbert Papke wrote: > On April 6, 2009, DAve wrote: >> Has anyone setup two instances of MySQL on the same server? One running >> just a client's DBs? Any advice would be helpful. > > It's just a matter of making sure that the two instances don't share any ports > or files. It works well. You'll have to create a custom my.cnf file and > start-up script for your second instance. > That is as I suspected. Thanks. DAve -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Quincy Adams http://appleseedinfo.org From dave.list at pixelhammer.com Tue Apr 7 05:55:49 2009 From: dave.list at pixelhammer.com (DAve) Date: Tue Apr 7 05:55:58 2009 Subject: Multiple instances of MySQL In-Reply-To: <5C4F1A401C316B7D2F625CCF@Macintosh-2.local> References: <49DAC610.6020404@pixelhammer.com> <200904070328.n373SHdB081955@banyan.cs.ait.ac.th> <49DACB52.8030407@pixelhammer.com> <5C4F1A401C316B7D2F625CCF@Macintosh-2.local> Message-ID: <49DB4D3E.3070301@pixelhammer.com> Paul Schmehl wrote: > --On April 6, 2009 11:41:06 PM -0400 DAve > wrote: > >> Olivier Nicole wrote: >>> Hi, >>> >>>> Has anyone setup two instances of MySQL on the same server? One >>>> running just a client's DBs? Any advice would be helpful. >>> >>> That is not answering your question directly, but MySQL works finr >>> over an SSH tunnel. >>> >>> You'd have your users connect/authenticate with SSH first to establish >>> the tunnel, then they'd use the tunnel to forward the NySQl >>> connection. >> >> I doubt the would be an option without a GUI to do everything for the >> user. I suggested a VPN which we can setup easily with a Cisco Client. >> No answer back from the account manager on that option. >> > > If your client needs a gui to access mysql, why not use phpmyadmin (or a > similar gui-based admin utility) and restrict access to his IP(s)? You > can do this with your firewall rules or by using .htaccess. You can > also force SSL connections, which would protect against MITM attacks on > a cleartext session. Nope, no web based php admin tools here. Won't touch them. I ahve enough security items to track every day. > > (You can also require SSL and secure auth for the db and restrict access > by IP using the format username@fqdn, but you stated that you're not > comfortable depending *only* upon mysql's security capabilities.) > > However, I would suggest that you provide, as you suggest, a separate > instance of mysql just for this client as well. If they screw up the > instance they won't affect other customers. To run a separate instance, > I would suggest using different names for the binaries, conf files and > datadir. This can be easily done using symlinks; e.g. mysql and > mysql-special. Then copy the startup script in /usr/local/etc/rc.d/, > rename it to mysql-special and edit it to change all references to the > newly-named instance. Use a my-special.cnf file for the special > instance and reference it in /etc/rc.conf using mysql_args=. Thanks, looks like it would be doable. I do plan to use a separate my.cnf, separate logging, and even a seperate mysql DB. I was going to share the binaries but I may rethink that decision after your suggestion. Thanks for the response. DAve -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Quincy Adams http://appleseedinfo.org From mlfreebsd at streamingedge.com Tue Apr 7 06:41:56 2009 From: mlfreebsd at streamingedge.com (Jacques Manukyan) Date: Tue Apr 7 06:42:04 2009 Subject: xinetd for FreeBSD 6.2 In-Reply-To: <8d32a6620904062042i21279afcwd6c83a23b5a774e1@mail.gmail.com> References: <8d32a6620904062042i21279afcwd6c83a23b5a774e1@mail.gmail.com> Message-ID: <49DB581A.4090603@streamingedge.com> You can install the latest version of xinetd (2.3.14) on FreebSD 6.2. Xinetd hasn't been updated in quite a long time FYI. -- Jacques Manukyan Madhusudan R wrote: > Hi, > > I'd like to know the version of xinetd that can be run on FreeBSD 6.2. And > where can I find it? > > Anything else I need to know before I start using xinetd on the aforemention > platform. > > Thanks! > Madhu > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From a at jenisch.at Tue Apr 7 07:42:13 2009 From: a at jenisch.at (Ewald Jenisch) Date: Tue Apr 7 07:42:21 2009 Subject: Migration to 7.1 ? In-Reply-To: References: <49DB0B07.1030703@esiee.fr> Message-ID: <20090407141239.GA4757@aurora.oekb.co.at> > > Does the LAGG driver works well with broadcomm giga ethernet chips ? > > ( I plan to use LACP to a Cisco switch ) > > Try asking at freebsd-net@ > Hi, I've been running with the lagg-driver for quite some time now on several blade-systems using broadcom chips in a failover configuration - no problems whatsoever - failover/fallback all ok. LACP shouldn't be a problem either - on the Cisco side define a port channel using LACP plus optional a balancing strategy (like mac-based etc.) HTH -ewald From lconrad at Go2France.com Tue Apr 7 07:54:45 2009 From: lconrad at Go2France.com (Len Conrad) Date: Tue Apr 7 07:54:52 2009 Subject: SQLgrey not happy Message-ID: <200904071605.AA870842786@mail.Go2France.com> Trying to install everything via pkgs, but it messed up. fbsd 7.1 SQLgrey 1.7.6 installed as pkg_add p5-DBD-mysql installed as: pkg_add -r ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-8-current/All/p5-DBD-mysql-4.010.tbz starting sqlgrey: Apr 7 08:25:22 mx1 sqlgrey: Process Backgrounded Apr 7 08:25:22 mx1 sqlgrey: 2009/04/07-08:25:22 sqlgrey (type Net::Server::Multiplex) starting! pid(73878) Apr 7 08:25:22 mx1 sqlgrey: Binding to TCP port 2501 on host localhost Apr 7 08:25:22 mx1 sqlgrey: Setting gid to "1001 1001" Apr 7 08:25:22 mx1 sqlgrey: Setting uid to "1003" Apr 7 08:25:22 mx1 sqlgrey: fatal: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval 11) line 3 Apr 7 08:25:22 mx1 sqlgrey: fatal: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval 11) line 3 Compilation failed in require at (eval 11) line 3. Apr 7 08:25:22 mx1 sqlgrey: fatal: install_driver(MySQL) failed: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval 11) line 3 Compilation failed in require at (eval 11) line 3. Perhaps a module that DBD::MySQL requires hasn't been fully installed at /usr/local/sbin/sqlgrey line 814 pkg_info shows perl-5.8.8_1. What usually works when the pkg installs fail is to install via make install in the ports tree. After deleting the sqlgrey and p5-DBD-mysql-4.010 pkgs, I make'd both them in the ports tree, then get this: Apr 7 08:43:43 mx1 sqlgrey: Process Backgrounded Apr 7 08:43:43 mx1 sqlgrey: 2009/04/07-08:43:43 sqlgrey (type Net::Server::Multiplex) starting! pid(80696) Apr 7 08:43:43 mx1 sqlgrey: Binding to TCP port 2501 on host localhost Apr 7 08:43:43 mx1 sqlgrey: Setting gid to "1001 1001" Apr 7 08:43:43 mx1 sqlgrey: Setting uid to "1003" Apr 7 08:43:43 mx1 sqlgrey: fatal: Can't locate object method "driver" via package "DBD::MySQL" at /usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm line 787. Apr 7 08:43:43 mx1 sqlgrey: fatal: DBD::MySQL initialisation failed: Can't locate object method "driver" via package "DBD::MySQL" at /usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm line 787. Perhaps the capitalization of DBD 'MySQL' isn't right. at /usr/local/sbin/sqlgrey line 814 Suggestions? Thanks Len From leslie at eskk.nu Tue Apr 7 08:47:33 2009 From: leslie at eskk.nu (Leslie Jensen) Date: Tue Apr 7 08:47:42 2009 Subject: Portsnap question Message-ID: <49DB758B.6060807@eskk.nu> I used to use csup and in my /root/ports-supfile I changed the default host line to a server near me. *default host=cvsup.se.FreeBSD.org Now I've been using portsnap for a while and when installing a new system I got to question if portsnap look in this file for an update server or does portsnap need to be configured somewhere else? Thanks /Leslie From odhiambo at gmail.com Tue Apr 7 08:54:04 2009 From: odhiambo at gmail.com (Odhiambo Washington) Date: Tue Apr 7 08:54:11 2009 Subject: Koffice in KDE-4.2.2 Message-ID: <991123400904070854k685256d8kdf65f1426560f708@mail.gmail.com> Hello pple, I installed KDE-4.2.2 but I cannot see the office apps. What am I missing? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain From illoai at gmail.com Tue Apr 7 08:54:18 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Tue Apr 7 08:54:25 2009 Subject: Portsnap question In-Reply-To: <49DB758B.6060807@eskk.nu> References: <49DB758B.6060807@eskk.nu> Message-ID: 2009/4/7 Leslie Jensen : > > I used to use csup and in my /root/ports-supfile I changed the default host > line to a server near me. > > *default host=cvsup.se.FreeBSD.org > > Now I've been using portsnap for a while and when installing a new system I > got to question if portsnap look in this file for an update server or does > portsnap need to be configured somewhere else? /etc/portsnap.conf but: # Server or server pool from which to fetch updates. You can change # this to point at a specific server if you want, but in most cases # using a "nearby" server won't provide a measurable improvement in # performance. SERVERNAME=portsnap.FreeBSD.org -- -- From sonic2000gr at gmail.com Tue Apr 7 08:54:46 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Tue Apr 7 08:54:53 2009 Subject: Portsnap question In-Reply-To: <49DB758B.6060807@eskk.nu> References: <49DB758B.6060807@eskk.nu> Message-ID: <49DB7742.8080502@gmail.com> Leslie Jensen wrote: > > I used to use csup and in my /root/ports-supfile I changed the default > host line to a server near me. > > *default host=cvsup.se.FreeBSD.org > > Now I've been using portsnap for a while and when installing a new > system I got to question if portsnap look in this file for an update > server or does portsnap need to be configured somewhere else? > > Thanks > > /Leslie > > No, portsnap uses /etc/portsnap.conf. Normally you don't need to make any changes to this file. From ricardo.meb.jesus at gmail.com Tue Apr 7 08:56:42 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Tue Apr 7 08:56:50 2009 Subject: Portsnap question In-Reply-To: <49DB758B.6060807@eskk.nu> References: <49DB758B.6060807@eskk.nu> Message-ID: <49DB77BA.5060106@gmail.com> Leslie Jensen wrote: > > I used to use csup and in my /root/ports-supfile I changed the default > host line to a server near me. > > *default host=cvsup.se.FreeBSD.org > > Now I've been using portsnap for a while and when installing a new > system I got to question if portsnap look in this file for an update > server or does portsnap need to be configured somewhere else? > > Thanks > > /Leslie > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Portsnap uses /etc/portsnap.conf and doesn't read supfiles. man portsnap.conf for more info. From leslie at eskk.nu Tue Apr 7 08:59:01 2009 From: leslie at eskk.nu (Leslie Jensen) Date: Tue Apr 7 08:59:08 2009 Subject: Portsnap question In-Reply-To: <49DB7742.8080502@gmail.com> References: <49DB758B.6060807@eskk.nu> <49DB7742.8080502@gmail.com> Message-ID: <49DB783F.6020809@eskk.nu> Manolis Kiagias skrev: > Leslie Jensen wrote: >> I used to use csup and in my /root/ports-supfile I changed the default >> host line to a server near me. >> >> *default host=cvsup.se.FreeBSD.org >> >> Now I've been using portsnap for a while and when installing a new >> system I got to question if portsnap look in this file for an update >> server or does portsnap need to be configured somewhere else? >> >> Thanks >> >> /Leslie >> >> > > No, portsnap uses /etc/portsnap.conf. Normally you don't need to make > any changes to this file. > Thank you :-) I see there's no gain in changing. /Leslie From rsmith at xs4all.nl Tue Apr 7 09:07:57 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Apr 7 09:08:06 2009 Subject: Koffice in KDE-4.2.2 In-Reply-To: <991123400904070854k685256d8kdf65f1426560f708@mail.gmail.com> References: <991123400904070854k685256d8kdf65f1426560f708@mail.gmail.com> Message-ID: <20090407160754.GA57933@slackbox.xs4all.nl> On Tue, Apr 07, 2009 at 06:54:02PM +0300, Odhiambo Washington wrote: > Hello pple, > > I installed KDE-4.2.2 but I cannot see the office apps. What am I missing? The Koffice version for KDE-4 is still in beta. Looking at the ports tree, there is only the /usr/ports/editors/koffice-kde3 port (except from a lot of localization ports). Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090407/61f41cfd/attachment.pgp From juri_mian at yahoo.com Tue Apr 7 07:53:53 2009 From: juri_mian at yahoo.com (Juri Mianovich) Date: Tue Apr 7 09:08:18 2009 Subject: What ELSE do I need to add to make.conf to avoid X ? Message-ID: <483945.87071.qm@web45606.mail.sp1.yahoo.com> Just trying to install rrdtool on a server. Do not want X. Do not want X11. Do not want Xorg. So I did the "right" thing and added this to /etc/make.conf: WITHOUT_X11=yes WITHOUT_X=yes WITH_X=NO ENABLE_GUI=NO and then 'make install' in the rrdtool directory. The problem is, eventually I saw this: ===> Installing for pango-1.14.7 ===> pango-1.14.7 depends on file: /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf - not found ===> Verifying install for /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf in /usr/ports/x11-fonts/xorg-fonts-truetype ===> Vulnerability check disabled, database not found ===> Extracting for xorg-fonts-truetype-6.9.0 => MD5 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz. => SHA256 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz. ===> Refetch for 1 more times files: xorg/X11R6.9.0-src1.tar.gz xorg/X11R6.9.0-src1.tar.gz ===> Vulnerability check disabled, database not found => X11R6.9.0-src1.tar.gz doesn't seem to exist in /usr/ports/distfiles/xorg. => Attempting to fetch from ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.9.0/src/. X11R6.9.0-src1.tar.gz 3% of 31 MB 8188 Bps 01h05m^C fetch: transfer interrupted Oops. Looks like I was going to get X11 anyway. So, what other options do I need to add to make.conf in order to install a simple stats/database tool without hundreds and hundreds of MB of x11 ? Thanks. From sonic2000gr at gmail.com Tue Apr 7 09:15:23 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Tue Apr 7 09:15:31 2009 Subject: What ELSE do I need to add to make.conf to avoid X ? In-Reply-To: <483945.87071.qm@web45606.mail.sp1.yahoo.com> References: <483945.87071.qm@web45606.mail.sp1.yahoo.com> Message-ID: <49DB7C13.6060305@gmail.com> Juri Mianovich wrote: > Just trying to install rrdtool on a server. > > Do not want X. Do not want X11. Do not want Xorg. > > So I did the "right" thing and added this to /etc/make.conf: > > WITHOUT_X11=yes > WITHOUT_X=yes > WITH_X=NO > ENABLE_GUI=NO > > and then 'make install' in the rrdtool directory. The problem is, eventually I saw this: > > ===> Installing for pango-1.14.7 > ===> pango-1.14.7 depends on file: /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf - not found > ===> Verifying install for /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf in /usr/ports/x11-fonts/xorg-fonts-truetype > ===> Vulnerability check disabled, database not found > ===> Extracting for xorg-fonts-truetype-6.9.0 > => MD5 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz. > => SHA256 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz. > ===> Refetch for 1 more times files: xorg/X11R6.9.0-src1.tar.gz xorg/X11R6.9.0-src1.tar.gz > ===> Vulnerability check disabled, database not found > => X11R6.9.0-src1.tar.gz doesn't seem to exist in /usr/ports/distfiles/xorg. > => Attempting to fetch from ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.9.0/src/. > X11R6.9.0-src1.tar.gz 3% of 31 MB 8188 Bps 01h05m^C > fetch: transfer interrupted > > > > Oops. Looks like I was going to get X11 anyway. > > So, what other options do I need to add to make.conf in order to install a simple stats/database tool without hundreds and hundreds of MB of x11 ? > > Thanks. > I don't think your '=NO' stuff would do much. You may also wish to add WITHOUT_GUI=yes From roberthuff at rcn.com Tue Apr 7 09:32:18 2009 From: roberthuff at rcn.com (Robert Huff) Date: Tue Apr 7 09:32:25 2009 Subject: What ELSE do I need to add to make.conf to avoid X ? In-Reply-To: <483945.87071.qm@web45606.mail.sp1.yahoo.com> References: <483945.87071.qm@web45606.mail.sp1.yahoo.com> Message-ID: <18907.32781.866491.883180@jerusalem.litteratus.org> Juri Mianovich writes: > Just trying to install rrdtool on a server. > > Do not want X. Do not want X11. Do not want Xorg. > > > ===> Installing for pango-1.14.7 If it requires pango, I think you're hosed. I don't think it's possible to build pango without X, if only for various .h files. (And given what pango does, it wouldn't make much sense to.) Robert Huff From dnelson at allantgroup.com Tue Apr 7 09:40:12 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Tue Apr 7 09:40:19 2009 Subject: What ELSE do I need to add to make.conf to avoid X ? In-Reply-To: <483945.87071.qm@web45606.mail.sp1.yahoo.com> References: <483945.87071.qm@web45606.mail.sp1.yahoo.com> Message-ID: <20090407164005.GJ70541@dan.emsphone.com> In the last episode (Apr 07), Juri Mianovich said: > Just trying to install rrdtool on a server. > > Do not want X. Do not want X11. Do not want Xorg. > > So I did the "right" thing and added this to /etc/make.conf: > > WITHOUT_X11=yes > WITHOUT_X=yes > WITH_X=NO > ENABLE_GUI=NO > > and then 'make install' in the rrdtool directory. The problem is, eventually I saw this: > > ===> Installing for pango-1.14.7 > ===> pango-1.14.7 depends on file: /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf - not found > ===> Verifying install for /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf in /usr/ports/x11-fonts/xorg-fonts-truetype > ===> Vulnerability check disabled, database not found > ===> Extracting for xorg-fonts-truetype-6.9.0 > => MD5 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz. > => SHA256 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz. > ===> Refetch for 1 more times files: xorg/X11R6.9.0-src1.tar.gz xorg/X11R6.9.0-src1.tar.gz > ===> Vulnerability check disabled, database not found > => X11R6.9.0-src1.tar.gz doesn't seem to exist in /usr/ports/distfiles/xorg. > => Attempting to fetch from ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.9.0/src/. > X11R6.9.0-src1.tar.gz 3% of 31 MB 8188 Bps 01h05m^C > fetch: transfer interrupted > > Oops. Looks like I was going to get X11 anyway. > > So, what other options do I need to add to make.conf in order to install a > simple stats/database tool without hundreds and hundreds of MB of x11 ? Note that it's only downloading that file to install the fonts that are included in it. It's not going to install all of X. You might be able to comment out the RUN_DEPENDS entries in the pango Makefile to avoid installing any fonts, but your rrdtool graphs will look boring with no text :) -- Dan Nelson dnelson@allantgroup.com From psteele at maxiscale.com Tue Apr 7 09:45:43 2009 From: psteele at maxiscale.com (Peter Steele) Date: Tue Apr 7 09:45:50 2009 Subject: Should kern.disks always show currently attached drives? Message-ID: <20445545.981239122658390.JavaMail.HALO$@halo> I wanted to use the kern.disks sysctl variable but it doesn't seem to work the way I'd expect. When I first inspected this variable it showed the four hard drives I would expect: ad4 ad6 ad8 ad10 Then I inserted a USB stick and checked kern.disks again, and this time the new USB drive was included: da0 ad4 ad6 ad8 ad10 So far so good. Then I removed the USB disk, expecting it to be removed from kern.disks as well, but it was still included in the list. As another test, I removed the hard drive ad8 (it's a hot swappable SATA drive) and like the USB drive, kern.disks still included ad8 in the list. To make matters worse, when I put ad8 back in, an additional entry was added to kern.disks: ad8 da0 ad4 ad6 ad8 ad10 Is this normal behavior? Is there a way to force FreeBSD to refresh this list? From david+dated+1239553110.eb108f at skytracker.ca Tue Apr 7 09:47:36 2009 From: david+dated+1239553110.eb108f at skytracker.ca (David Banning) Date: Tue Apr 7 09:47:43 2009 Subject: libc.so.6: ELF file OS ABI invalid Message-ID: <20090407161830.GA92526@skytracker.ca> I get this error when I attempt to run acroread8; /compat/linux/bin/sh: error while loading shared libraries: /usr/local/lib/libc.so.6: ELF file OS ABI invalid I get the impression maybe acroread is attempting run a linux binary using a freebsd library - but I am not sure if this is so, or how to fix it. Any pointers would be appreciated. From tajudd at gmail.com Tue Apr 7 09:55:44 2009 From: tajudd at gmail.com (Tim Judd) Date: Tue Apr 7 09:55:51 2009 Subject: libc.so.6: ELF file OS ABI invalid In-Reply-To: <20090407161830.GA92526@skytracker.ca> References: <20090407161830.GA92526@skytracker.ca> Message-ID: On Tue, Apr 7, 2009 at 10:18 AM, David Banning < david+dated+1239553110.eb108f@skytracker.ca > wrote: > I get this error when I attempt to run acroread8; > > /compat/linux/bin/sh: error while loading shared libraries: > /usr/local/lib/libc.so.6: ELF file OS ABI invalid > > I get the impression maybe acroread is attempting run a linux binary > using a freebsd library - but I am not sure if this is so, or how to fix > it. Any pointers would be appreciated. > This looks like a Linux ELF file branding problem. google://linux+elf+branding That's what I'd start with. --TJ From bsam at ipt.ru Tue Apr 7 09:58:55 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Tue Apr 7 09:59:03 2009 Subject: libc.so.6: ELF file OS ABI invalid In-Reply-To: <20090407161830.GA92526@skytracker.ca> (David Banning's message of "Tue\, 7 Apr 2009 12\:18\:30 -0400") References: <20090407161830.GA92526@skytracker.ca> Message-ID: <46603826@bb.ipt.ru> On Tue, 7 Apr 2009 12:18:30 -0400 David Banning wrote: > I get this error when I attempt to run acroread8; > /compat/linux/bin/sh: error while loading shared libraries: /usr/local/lib/libc.so.6: ELF file OS ABI invalid > I get the impression maybe acroread is attempting run a linux binary > using a freebsd library - but I am not sure if this is so, or how to fix > it. Any pointers would be appreciated. If you install it from ports/packages that definitely shouldn't happen. Do you have some non-default environment like LD_LIBRARY_PATH? You may use ktrace/kdump to diagnose the problem. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From david+dated+1239557310.086b03 at skytracker.ca Tue Apr 7 10:41:34 2009 From: david+dated+1239557310.086b03 at skytracker.ca (David Banning) Date: Tue Apr 7 10:46:56 2009 Subject: libc.so.6: ELF file OS ABI invalid In-Reply-To: <46603826@bb.ipt.ru> References: <20090407161830.GA92526@skytracker.ca> <46603826@bb.ipt.ru> Message-ID: <49DB8D36.7040605@skytracker.ca> Boris Samorodov wrote: > On Tue, 7 Apr 2009 12:18:30 -0400 David Banning wrote: > > >> I get this error when I attempt to run acroread8; >> > > >> /compat/linux/bin/sh: error while loading shared libraries: /usr/local/lib/libc.so.6: ELF file OS ABI invalid >> > > >> I get the impression maybe acroread is attempting run a linux binary >> using a freebsd library - but I am not sure if this is so, or how to fix >> it. Any pointers would be appreciated. >> > > If you install it from ports/packages that definitely shouldn't happen. > Do you have some non-default environment like LD_LIBRARY_PATH? > You may use ktrace/kdump to diagnose the problem. > ktrace/kdump appear to show an attempted access of libc.so.6 first from /usr/lib and then from /usr/lib/compat as well as some other lib directories. There is not such a file in any of those directories. I have attempted to run ldconfig -R to rescan the directory and rebuild the hints file, but I am going astray here... the linux version of libc.so.6 -is- located in /usr/compat/linux/lib where is does not appear to look. From david+dated+1239556238.8602df at skytracker.ca Tue Apr 7 10:41:35 2009 From: david+dated+1239556238.8602df at skytracker.ca (David Banning) Date: Tue Apr 7 10:46:57 2009 Subject: libc.so.6: ELF file OS ABI invalid In-Reply-To: References: <20090407161830.GA92526@skytracker.ca> Message-ID: <49DB8905.7050506@skytracker.ca> Tim Judd wrote: > On Tue, Apr 7, 2009 at 10:18 AM, David Banning > > wrote: > > I get this error when I attempt to run acroread8; > > /compat/linux/bin/sh: error while loading shared libraries: > /usr/local/lib/libc.so.6: ELF file OS ABI invalid > > I get the impression maybe acroread is attempting run a linux binary > using a freebsd library - but I am not sure if this is so, or how > to fix > it. Any pointers would be appreciated. > > > This looks like a Linux ELF file branding problem. > > google://linux+elf+branding > but /usr/local/lib/libc.so.6 is the freebsd library, which it -is- branded; # /usr/local/lib # brandelf libc.so.6 File 'libc.so.6' is of brand 'FreeBSD' (9) Acroread probably needs /usr/compat/linux/lib/libc.so.6 if it is running as linux - acroread itself is a shell script. My thought is now to locate the binary that is executed and see what it is brandelf'd as, but when I study the acroread script I cannot appear to find a binary referenced. From bc979 at lafn.org Tue Apr 7 10:45:18 2009 From: bc979 at lafn.org (Doug Hardie) Date: Tue Apr 7 10:47:56 2009 Subject: Question about forcing fsck at boottime In-Reply-To: References: <200903311657.n2VGvLE8010101@lurza.secnetix.de> <20090406001614.304360d6@gluon.draftnet> <47952575-35FD-4733-9262-A6DAA3ACB762@lafn.org> Message-ID: <121ACADA-56B3-4B19-98B4-F0FAF3DFC7E2@lafn.org> On Apr 7, 2009, at 02:34, Chris Rees wrote: > \ > So, the answer is NO, it does NOT cause data CORRUPTION. A simple > reboot solved it? Really, you're advocating guaranteed extended > downtime every time there's a power outage, compared with a slight > chance of a slightly longer downtime while every other time it comes > almost straight up. > > Any more replies, please, read the damned question. You had better define data corruption then. In my book data that is read and gives garbage back rather than the right data is corrupt. It doesn't matter if it gets "fixed" by a reboot later. Thats only helpful if you happen to notice that it needs a reboot. If all you are interested in is toy systems then this type of problem is of no interest to you. However, for those of us who run production systems where clients have paid for service this is a serious issue. From bsam at ipt.ru Tue Apr 7 10:58:01 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Tue Apr 7 10:58:08 2009 Subject: libc.so.6: ELF file OS ABI invalid In-Reply-To: <49DB8D36.7040605@skytracker.ca> (David Banning's message of "Tue\, 07 Apr 2009 13\:28\:22 -0400") References: <20090407161830.GA92526@skytracker.ca> <46603826@bb.ipt.ru> <49DB8D36.7040605@skytracker.ca> Message-ID: <80520280@bb.ipt.ru> On Tue, 07 Apr 2009 13:28:22 -0400 David Banning wrote: > Boris Samorodov wrote: > > On Tue, 7 Apr 2009 12:18:30 -0400 David Banning wrote: > > > >> I get this error when I attempt to run acroread8; > > > >> /compat/linux/bin/sh: error while loading shared libraries: /usr/local/lib/libc.so.6: ELF file OS ABI invalid > >> > >> I get the impression maybe acroread is attempting run a linux binary > >> using a freebsd library - but I am not sure if this is so, or how to fix > >> it. Any pointers would be appreciated. > > > > If you install it from ports/packages that definitely shouldn't happen. > > Do you have some non-default environment like LD_LIBRARY_PATH? > > You may use ktrace/kdump to diagnose the problem. > > > ktrace/kdump appear to show an attempted access of libc.so.6 first > from /usr/lib and then from /usr/lib/compat as well as some other lib > directories. That's bad. If you use native FreeBSD ktrace, then you should see only using native libc. And if native ktrace tries to use /compat... that's too bad. It shouldn't. For tracing linux libs one sjould use linux_kdump. But that's another story. > There is not such a file in any of those directories. I have attempted > to run ldconfig -R to rescan the directory and rebuild the hints file, > but I am going astray here... Well, that may be the curprit. Yur should never use ldconfig until you *know* what you do. For linux libs only linux ldconfig is used and with chroot (-r /compat/linux). > the linux version of libc.so.6 -is- located in /usr/compat/linux/lib > where is does not appear to look. You shoudn't see it with native ktrace. Seems that you rewrote your linux(?) ldconfig database. It's not so hard to restore. Remove /compat/linux/etc/ld.so.cache and rebuild it by "sudo /compat/linux/sbin/ldconfig -r /compat/linux". HTH & WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From roys1012 at gmail.com Tue Apr 7 11:18:10 2009 From: roys1012 at gmail.com (Roy Stuivenberg) Date: Tue Apr 7 11:18:17 2009 Subject: New Flash9 Issue? Message-ID: <1239128188.5125.14.camel@rs-unix.roycs.nl> Hello, I upgraded xorg-server to 1.6. In upgrading if found to < portupgrade -rf libxcb > this took all night and day, so I thought why not rebuild everything, and so I did. (stable 7.1/prerelease 7.2) Everything went good, except for the Flash9 I found some time ago on the internet, and now I get this error. Step 1, discribes the manual to add Flash9. Anyone encountered this problem yet? Regards, Roy. ----------------------------------------- rs-unix# cd /usr/ports/www/linux-flashplugin9 && make install clean ===> linux-flashplugin-9.0r159 bsd.linux-apps.mk test failed: Invalid component USE_LINUX_APPS=openssl. *** Error code 1 Stop in /usr/ports/www/linux-flashplugin9. ------------------------------------------ ########################## Step 1: Enable Linux compatibility and linprocfs Add linux_enable="YES" to /etc/rc.conf. Add compat.linux.osrelease=2.6.16 to /etc/sysctl.conf. Add OVERRIDE_LINUX_BASE_PORT=f8 to /etc/make.conf. Add this line to /etc/fstab: linproc /usr/compat/linux/proc linprocfs rw 0 0 Then run these commands: mkdir -p /usr/compat/linux/proc mount /usr/compat/linux/proc /etc/rc.d/abi start /etc/rc.d/sysctl start Step 2: Update ports and install all the needed software You will now need to install the following ports and their dependencies: cd /usr/ports/emulators/linux_base-f8 && make install clean cd /usr/ports/www/linux-flashplugin9 && make install clean cd /usr/ports/www/nspluginwrapper && make install clean Follow the nspluginwrapper instructions to enable all available plugins: # nspluginwrapper -v -a -i ################################# From david+dated+1239560599.4534a7 at skytracker.ca Tue Apr 7 11:48:15 2009 From: david+dated+1239560599.4534a7 at skytracker.ca (David Banning) Date: Tue Apr 7 11:48:21 2009 Subject: libc.so.6: ELF file OS ABI invalid In-Reply-To: <80520280@bb.ipt.ru> References: <20090407161830.GA92526@skytracker.ca> <46603826@bb.ipt.ru> <49DB8D36.7040605@skytracker.ca> <80520280@bb.ipt.ru> Message-ID: <49DB9A12.7040000@skytracker.ca> > You shoudn't see it with native ktrace. > > Seems that you rewrote your linux(?) ldconfig database. It's not so hard > to restore. Remove /compat/linux/etc/ld.so.cache and rebuild it by > "sudo /compat/linux/sbin/ldconfig -r /compat/linux". > > > That worked. Thanks Boris. From rsmith at xs4all.nl Tue Apr 7 12:04:29 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Apr 7 12:04:37 2009 Subject: What ELSE do I need to add to make.conf to avoid X ? In-Reply-To: <483945.87071.qm@web45606.mail.sp1.yahoo.com> References: <483945.87071.qm@web45606.mail.sp1.yahoo.com> Message-ID: <20090407190426.GA62574@slackbox.xs4all.nl> On Tue, Apr 07, 2009 at 07:40:53AM -0700, Juri Mianovich wrote: > > Just trying to install rrdtool on a server. > > Do not want X. Do not want X11. Do not want Xorg. > Oops. Looks like I was going to get X11 anyway. > > So, what other options do I need to add to make.conf in order to > install a simple stats/database tool without hundreds and hundreds of > MB of x11 ? You should pick a tool that doesn't depend on X components. From databases/rrdtool/Makefile: LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ cairo.2:${PORTSDIR}/graphics/cairo \ png.5:${PORTSDIR}/graphics/png \ xml2.5:${PORTSDIR}/textproc/libxml2 \ pangocairo-1\.0.0:${PORTSDIR}/x11-toolkits/pango and USE_GNOME= gnomehack The cairo library depends on an Xorg component called xrender, unless you build it with the WITHOUT_X11 variable defined, which is not the default. See /usr/ports/graphics/cairo/Makefile. Pango depends on some X components as well, unless compiled with the WITHOUT_X11 variable defined. See /usr/ports/x11-toolkits/pango/Makefile. So if you _really_ want no X related stuff at all, you'd better pick something else, because cairo and pango are linked with several X components. Check the required items for rrdtool on freshports [http://www.freshports.org/databases/rrdtool/], and then follow the links to the packages it depends on, and look at their dependancies. You'll see a host of X related stuff. Maybe using WITHOUT_X11=yes is sufficient to stop these dependencies, but I doubt if that is a situation that has been well tested. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090407/5a0dceaf/attachment.pgp From jalmberg at identry.com Tue Apr 7 12:16:07 2009 From: jalmberg at identry.com (John Almberg) Date: Tue Apr 7 12:18:16 2009 Subject: low-level format before install? Message-ID: <13D52068-D184-42D9-AE6C-F095C1283975@identry.com> Well, I've got real problems with that database server that lost power over the weekend. We reloaded FreeBSD from scratch and then reinstalled mysql, and pf. I loaded up my database and switched over all my customer's websites. The database server ran fine for about 2 minutes, and then died. At the moment, I can't even ssh into the machine, although they can get into it using a keyboard/monitor at the data center. In other words, sshd is not working. I am now wondering what kind of format the FreeBSD install process does by default, and if it is possible to do a low level format, first, to block out any bad sectors (not sure if this is the right terminology). I'm starting to get real depressed about this machine... You would think a top-tier data center could keep the power on... -- John From jalmberg at identry.com Tue Apr 7 12:44:22 2009 From: jalmberg at identry.com (John Almberg) Date: Tue Apr 7 12:44:34 2009 Subject: low-level format before install? In-Reply-To: References: <13D52068-D184-42D9-AE6C-F095C1283975@identry.com> Message-ID: <3A934D4A-1864-401C-8CD8-86B37EB2B183@identry.com> On Apr 7, 2009, at 3:37 PM, Chuck Swiger wrote: > On Apr 7, 2009, at 12:15 PM, John Almberg wrote: >> Well, I've got real problems with that database server that lost >> power over the weekend. We reloaded FreeBSD from scratch and then >> reinstalled mysql, and pf. I loaded up my database and switched >> over all my customer's websites. The database server ran fine for >> about 2 minutes, and then died. At the moment, I can't even ssh >> into the machine, although they can get into it using a keyboard/ >> monitor at the data center. In other words, sshd is not working. > > That sounds like either a hardware problem (ie CPU overheating or > marginal PSU failing under production load), or less likely, some > kind of software misconfiguration. System logs would be useful to > see whether any signs of trouble are being mentioned. Apparently, power was fluctuating drastically before they decided to cut power, so a hardware problem is a definite possibility. A PSU failure would not surprise me in the circumstances. Assuming I can ever ssh in again, what log would hardware failures be reported to? -- John From rsmith at xs4all.nl Tue Apr 7 12:46:00 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Apr 7 12:46:08 2009 Subject: low-level format before install? In-Reply-To: <13D52068-D184-42D9-AE6C-F095C1283975@identry.com> References: <13D52068-D184-42D9-AE6C-F095C1283975@identry.com> Message-ID: <20090407194538.GB62574@slackbox.xs4all.nl> On Tue, Apr 07, 2009 at 03:15:59PM -0400, John Almberg wrote: > Well, I've got real problems with that database server that lost > power over the weekend. We reloaded FreeBSD from scratch and then > reinstalled mysql, and pf. I loaded up my database and switched over > all my customer's websites. The database server ran fine for about 2 > minutes, and then died. At the moment, I can't even ssh into the > machine, although they can get into it using a keyboard/monitor at > the data center. In other words, sshd is not working. > > I am now wondering what kind of format the FreeBSD install process > does by default, and if it is possible to do a low level format, > first, to block out any bad sectors (not sure if this is the right > terminology). What you could do is run a shell from the install CD, then fill the disk with zeros using 'dd if=/dev/zero of=/dev/ bs=2m'. As I understand it, modern hard disks cannot be low-level formatted by the user. It is done at the factory. And bad blocks are re-allocated by the built-in controller without user intervention. In fact, you'll only see re-allocated blocks in the smartctl -a output (as Reallocated_Sector_Ct) when the drive has exhausted its spare sectors. In which case you'd better replace it, because it is failing. > I'm starting to get real depressed about this machine... You would > think a top-tier data center could keep the power on... Are you sure that the hardware isn't crapping out on you? At least run smartctl -a on your disks to see if they failed any self test, and a monitoring program like mbmon to check on temperatures and voltage levels. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090407/fe28dee9/attachment.pgp From cswiger at mac.com Tue Apr 7 12:53:04 2009 From: cswiger at mac.com (Chuck Swiger) Date: Tue Apr 7 12:53:17 2009 Subject: low-level format before install? In-Reply-To: <13D52068-D184-42D9-AE6C-F095C1283975@identry.com> References: <13D52068-D184-42D9-AE6C-F095C1283975@identry.com> Message-ID: On Apr 7, 2009, at 12:15 PM, John Almberg wrote: > Well, I've got real problems with that database server that lost > power over the weekend. We reloaded FreeBSD from scratch and then > reinstalled mysql, and pf. I loaded up my database and switched over > all my customer's websites. The database server ran fine for about 2 > minutes, and then died. At the moment, I can't even ssh into the > machine, although they can get into it using a keyboard/monitor at > the data center. In other words, sshd is not working. That sounds like either a hardware problem (ie CPU overheating or marginal PSU failing under production load), or less likely, some kind of software misconfiguration. System logs would be useful to see whether any signs of trouble are being mentioned. > I am now wondering what kind of format the FreeBSD install process > does by default, and if it is possible to do a low level format, > first, to block out any bad sectors (not sure if this is the right > terminology). > > I'm starting to get real depressed about this machine... You would > think a top-tier data center could keep the power on... SCSI drives support a standard mechanism called "format unit" to do a low-level format; ATA and SATA drives do not have a standard mechanism, but you might be able to find a utility from the manufacturer which can do such a thing. It would not be expected that doing such would be helpful, as any modern drive has automatic mechanisms to replace bad sectors with spares transparently, at least until the drive has gotten to such a condition that it's out of spare sectors (in which case the entire drive is likely to be toast soon, anyway, and should be replaced ASAP). However, if you do suspect drive problems, try installing and running smartctl from /usr/ports/sysutils/smartmontools, and do a self-test or two. Regards, -- -Chuck From cswiger at mac.com Tue Apr 7 12:53:04 2009 From: cswiger at mac.com (Chuck Swiger) Date: Tue Apr 7 12:53:19 2009 Subject: low-level format before install? In-Reply-To: <3A934D4A-1864-401C-8CD8-86B37EB2B183@identry.com> References: <13D52068-D184-42D9-AE6C-F095C1283975@identry.com> <3A934D4A-1864-401C-8CD8-86B37EB2B183@identry.com> Message-ID: <8A4AF434-2F31-4664-8408-AAA7FDD61B4A@mac.com> On Apr 7, 2009, at 12:44 PM, John Almberg wrote: >> That sounds like either a hardware problem (ie CPU overheating or >> marginal PSU failing under production load), or less likely, some >> kind of software misconfiguration. System logs would be useful to >> see whether any signs of trouble are being mentioned. > > Apparently, power was fluctuating drastically before they decided to > cut power, so a hardware problem is a definite possibility. A PSU > failure would not surprise me in the circumstances. > > Assuming I can ever ssh in again, what log would hardware failures > be reported to? Start with /var/log/messages and output of "dmesg" command. Doing an "ls -ltr /var/log" and looking at others which have changed recently would also be advisable... Regards, -- -Chuck From bsam at ipt.ru Tue Apr 7 12:54:15 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Tue Apr 7 12:54:23 2009 Subject: make, list and M pattern Message-ID: <37646522@h30.sp.ipt.ru> Hello List, I need to create a list with some valid values and check an input value. Should this makefile work? ----- LIST=f8 f9 all: @echo USE_LINUX=${USE_LINUX}, LIST=${LIST} .if empty(LIST:M${USE_LINUX}) @echo The value is invalid .else @echo The value is valid .endif ----- % make USE_LINUX=f8 USE_LINUX=f8, LIST=f8 f9 The value is invalid ----- WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From jeffrey at goldmark.org Tue Apr 7 13:17:43 2009 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Tue Apr 7 13:17:51 2009 Subject: portupgrade question In-Reply-To: <4ad871310904061859m7072d073w4e876aa6a8f7a6b1@mail.gmail.com> References: <22920813.post@talk.nabble.com> <4ad871310904061859m7072d073w4e876aa6a8f7a6b1@mail.gmail.com> Message-ID: <4C066892-ECA3-4914-872F-A06A5D3473B1@goldmark.org> On Apr 6, 2009, at 8:59 PM, Glen Barber wrote: > On Mon, Apr 6, 2009 at 9:55 PM, new_guy wrote: >> Is there a way to use portupgrade without all the stopping for config >> questions? > You could add: > > BATCH=yes > > to /etc/make.conf. Or use the --batch command line option to portupgrade. Or use the -c option (as mentioned by someone else in this thread) to do all of the config questions up front. I didn't know about that one. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From rsmith at xs4all.nl Tue Apr 7 13:43:02 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Apr 7 13:43:10 2009 Subject: low-level format before install? In-Reply-To: <3A934D4A-1864-401C-8CD8-86B37EB2B183@identry.com> References: <13D52068-D184-42D9-AE6C-F095C1283975@identry.com> <3A934D4A-1864-401C-8CD8-86B37EB2B183@identry.com> Message-ID: <20090407204242.GD62574@slackbox.xs4all.nl> On Tue, Apr 07, 2009 at 03:44:20PM -0400, John Almberg wrote: > Apparently, power was fluctuating drastically before they decided to > cut power, so a hardware problem is a definite possibility. A PSU > failure would not surprise me in the circumstances. > > Assuming I can ever ssh in again, what log would hardware failures be > reported to? Often hardware problems can lock up or reboot the machine without any warning in the logs. :-( It is next to impossible for PC class hardware to catch hardware failures. But sysutils/healthd or sysutils/mbmon might help in that they monitor vital motherboard parameters, which can then be logged. Some systems log thermal events through the ACPI system or via the coretemp driver, in which case devd(8) should get them. See devd.conf(5) in a recent 7-STABLE, this manpage was recently enhanced by yours truly. Big programs like compilers randomly dying with a signal 11 (SIGSEGV, segmentation violation) can be a sign of memory problems. If someone has access to the machine, have them make sure there are no loose connectors and that any expansion cards are properly seated. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090407/9d9618fb/attachment.pgp From cwhiteh at onetel.com Tue Apr 7 13:52:52 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Tue Apr 7 13:53:01 2009 Subject: new package system proposal In-Reply-To: <49DAF4AF.4060104@infracaninophile.co.uk> References: <49D76B02.4060201@onetel.com> <20090404170401.c0f0bce0.freebsd@edvax.de> <49D789BD.7020103@infracaninophile.co.uk> <49DA7BF0.80403@onetel.com> <49DAF4AF.4060104@infracaninophile.co.uk> Message-ID: <49DBBD16.70204@onetel.com> Matthew Seaman wrote: > Chris Whitehouse wrote: > >> You've suggested solutions to a couple of Polytropon's objections, >> thank you. Do you think there is anough mileage in my suggestion to >> make it worth putting in front of some ports people? What would have >> to happen to take it forward? I could rewrite the proposal more clearly. > > Any well-considered proposal is interesting, and suitable fodder for the > freebsd-ports@... mailing list. However you must be prepared for your > ideas to undergo some fairly rigourous critique by people who have spent > a great deal of time in doing exactly the sort of operations you are > talking > about. It can be pretty daunting -- remember though that it is your > /ideas/ > that are being dissected: it's not a personal attack against you for having > the temerity to try and suggest something. > > Also, as ever in the FreeBSD world, code speaks louder than words. It's > easy for anyone to come up with a proposal, hard to turn that into a > prototype > that demonstrates the validity of your ideas. Expect skepticism until you > have done that. >> I suspect it would be easier to implement than freebsd-update, as a >> good deal of the infrastructure already exists, and would have similar >> benefits. To start developing it would require a ports tree and a >> selection of packages compiled from that ports tree. 7.2 Release is >> coming up. Maybe the ports tree plus packages from that would be a >> good place to start. > > freebsd-update and portsnap existed only on Colin Percival's own machines > for quite some time, and then they were made available through ports > before being accepted into the core system. That is the usual sort of > progression > for any major new system modifications. > > The infrastructure may well exist, but don't assume that there is any spare > capacity on it. Getting time on the ports build cluster for running > experiments > is not impossible, but it's somewhere way down the queue after the daily > work of building packages for the FTP sites and testing the effects of bug > fixes in the bsd.ports.mk infrastructure or important and highly > interconnected > groups of ports like xorg or gnome. Also, right before 7.2-RELEASE is > probably > not the best time as that's when things are most hectic. Right /after/ > 7.2-RELEASE would be better > > I think your basic idea of snapshotting the ports tree at regular intervals > and building a self-consistent group of desktop related applications is a > pretty good one actually. You need to work a bit on the details -- for > instance, is it worthwhile rebuilding (say) the X libraries if there have > been no changes to them since the previous snapshot? Also, I'd take a good > look at exactly how the PC-BSD and Desktop-BSD groups deal with this > problem. > > Cheers, > > Matthew > All your points and your encouragement taken on board, thank you. I have a bit of spare time next week so I am going to work on this then thanks Chris From mrkvrg at acm.org Tue Apr 7 14:05:53 2009 From: mrkvrg at acm.org (mv) Date: Tue Apr 7 14:06:00 2009 Subject: portupgrade question In-Reply-To: <4C066892-ECA3-4914-872F-A06A5D3473B1@goldmark.org> References: <22920813.post@talk.nabble.com> <4ad871310904061859m7072d073w4e876aa6a8f7a6b1@mail.gmail.com> <4C066892-ECA3-4914-872F-A06A5D3473B1@goldmark.org> Message-ID: <200904071705.51004.mrkvrg@acm.org> On Tue, 7 April 2009 16:17:40 Jeffrey Goldberg wrote: > On Apr 6, 2009, at 8:59 PM, Glen Barber wrote: > > On Mon, Apr 6, 2009 at 9:55 PM, new_guy wrote: > >> Is there a way to use portupgrade without all the stopping for > >> config questions? > > > > You could add: > > > > BATCH=yes > > > > to /etc/make.conf. > > Or use the --batch command line option to portupgrade. > > Or use the -c option (as mentioned by someone else in this thread) to > do all of the config questions up front. I didn't know about that > one. > > -j Or use portconfig -a My usual updating routine involves: - update the ports tree using csup - update the INDEX-x with the command "make index" in the directory "/usr/ports" - download all the tarballs upfront with the command "portfetch -a -v" - do all the configuration upfront with the command "portconfig -a" - do an unattended compile/install of the ports with the command "portmaster -a -u -d -v" The ports portconfig & portfetch are part of sysutils/bsdadminscripts. Portmaster can be found at ports-mgmt/portmaster. It is possible to write a simple shell script that automatically does all of the above. The only time attention is required is to enter data during the configuration process. Cheers... Marek From keramida at ceid.upatras.gr Tue Apr 7 14:09:46 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue Apr 7 14:09:57 2009 Subject: make, list and M pattern In-Reply-To: <37646522@h30.sp.ipt.ru> (Boris Samorodov's message of "Tue, 07 Apr 2009 23:54:13 +0400") References: <37646522@h30.sp.ipt.ru> Message-ID: <871vs49nmw.fsf@kobe.laptop> On Tue, 07 Apr 2009 23:54:13 +0400, Boris Samorodov wrote: > Hello List, > > I need to create a list with some valid values and check an input > value. Should this makefile work? > > ----- > LIST=f8 f9 > > all: > @echo USE_LINUX=${USE_LINUX}, LIST=${LIST} > .if empty(LIST:M${USE_LINUX}) > @echo The value is invalid > .else > @echo The value is valid > .endif > ----- > % make USE_LINUX=f8 > USE_LINUX=f8, LIST=f8 f9 > The value is invalid > ----- Hi Boris! :) This is not exactly what you asked for, but you can probably loop instead of trying to match regular expressions: keramida@kobe:/tmp$ cat -n Makefile 1 LIST= f8 f9 2 USE_LINUX?= f9 3 4 LINUX_VERSION= ${USE_LINUX:C/[ ]*([^ ]*)[ ]*/\1/} 5 6 .if defined(USE_LINUX) 7 .for item in ${LIST} 8 .if ${USE_LINUX} == ${item} 9 RESULT= ${item} 10 .endif 11 .endfor 12 .endif 13 14 all: 15 .if empty(RESULT) 16 @echo Version ${LINUX_VERSION} is not valid. 17 .else 18 @echo Valid version ${RESULT} selected. 19 .endif keramida@kobe:/tmp$ make Valid version f9 selected. keramida@kobe:/tmp$ make -e USE_LINUX=f10 Version f10 is not valid. keramida@kobe:/tmp$ From campaign at dabber.tv Tue Apr 7 14:18:44 2009 From: campaign at dabber.tv (Daniel Daboczy - DABBER.tv) Date: Tue Apr 7 14:18:52 2009 Subject: Presenting Yale as a new client Message-ID: <472257.CTDHAJKJ@dabber.tv> Presenting Yale as a new client We are very proud to present a new collaboration with Yale Dabber presents it?s biggest player so far and is proud to introduce the collaboration with the global company Assa-Abloy and the brand Yale Locks. The 42 films in the Yale Feeling Safe project about safety, security, favourite places and favourite things are developed to show that all over the world, people are actively securing what they care about; their home, their family, their personal belongings or their business with the name they trust. We have focused on developing the player for faster delivery and smoother user interaction. The present times calls for smart, cost effective and innovative ways to connect with the audience. What we can do for you: If you as some of our clients are looking for the 'wow-factor', or need to start implementing video in your business or if you need our different approach to take the step from idea to a well-visited website. Whatever the need, Dabber is ready to take you from static to stunning! If you are interested in our services, big or small please contact us. We are based in Stockholm Sweden and work globaly on changing the way we communicate. Visit the web site Yale - Feeling Safe to try out the player: here /Daniel Daboczy CEO Dabber.tv From jalmberg at identry.com Tue Apr 7 14:41:30 2009 From: jalmberg at identry.com (John Almberg) Date: Tue Apr 7 14:41:37 2009 Subject: low-level format before install? In-Reply-To: <20090407204242.GD62574@slackbox.xs4all.nl> References: <13D52068-D184-42D9-AE6C-F095C1283975@identry.com> <3A934D4A-1864-401C-8CD8-86B37EB2B183@identry.com> <20090407204242.GD62574@slackbox.xs4all.nl> Message-ID: <14CAA4F0-E027-4C28-B53D-A781E8F8CF68@identry.com> Thanks for all the tips. At least I have something to start with. The guys in the data center reinstalled FreeBSD (the filesystem was totally corrupted again), and then ran what they called "SMART test", which might be smartctl, and said the hard drives look good. I am now able to get back in. So the system ran fine until I put a load on it with the database (many transactions a second). This corrupted the file system again. So I guess I need to load it enough to produce error messages (hopefully) but not enough to destroy the file system again. Sounds like fun :-( This is an Intel server, not a crummy white box, so hopefully it is smart enough to monitor its own hardware at least a bit. We'll see. -- John From sonic2000gr at gmail.com Tue Apr 7 14:54:15 2009 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Tue Apr 7 14:54:23 2009 Subject: openoffice.org-3.01 packages available (i386) Message-ID: <49DBCB82.2090903@gmail.com> Inspired by the recent discussion on the list concerning openoffice.org-3.01 packages, I have created a set of packages for the i386 architecture using my tinderbox system. Glen Barber has kindly offered *lots* of his webspace to host these packages for everyone's benefit. These packages are available from the following location: http://freebsd.dev-urandom.com/packages/openoffice/ And the main package to download would be: http://freebsd.dev-urandom.com/packages/openoffice/openoffice.org-3.0.1.tbz All the other packages are build and/or run dependencies of the above. On a system that already has a running GUI, most (if not all) of these packages are probably installed already. Please note the following: * The openoffice.org-3.01 package was built using a tinderbox system running 7.1-RELEASE-p4 i386. The ports tree was updated before the build. As a result this package is in sync with the latest versions of its dependencies and you may have trouble installing / running it in systems with outdated packages. A portupgrade is recommended before installation. * All the dependencies are provided in the same directory. It is possible to use pkg_add -r to recursively fetch any dependencies not present in your system: - First, redefince the PACKAGESITE environment variable: (assuming csh) setenv PACKAGESITE http://freebsd.dev-urandom.com/packages/openoffice/ - Use pkg_add -r: pkg_add -r openoffice.org-3.0.1.tbz * The package and all dependencies were built with default options. The site does not yet contain any other pages or info, as Glen is still working on the web content. Please send us your feedback (including problems, suggestions and success stories!) either on the list or directly. If this proves to be successful, we could also build and host other packages as well. Cheers, Manolis From fbsdlists at gmail.com Tue Apr 7 15:01:52 2009 From: fbsdlists at gmail.com (Bob Johnson) Date: Tue Apr 7 15:01:58 2009 Subject: new package system proposal In-Reply-To: <49D76B02.4060201@onetel.com> References: <49D76B02.4060201@onetel.com> Message-ID: <54db43990904071435h5dc1e854p2e9892ac666aea35@mail.gmail.com> On 4/4/09, Chris Whitehouse wrote: > Hi all > [...] > > My suggestion is to start with a ports tree that is fixed in time. Make > that ports tree available as part of this package system and compile a > typical desktop set of ports, particularly choosing ones which are large > or have many dependencies. When it is all complete release it and start > again. Surely quite a wide selection of desktops, wm's and apps could be > compiled in a couple of weeks? A lot of ports are already available as packages. Do you simply want more ports available as packages, or a more fundamental change? > > Modify pkg_add so that it can be told to use this 'snapshot' including > downloading the fixed ports tree that was used. What is the benefit of this? > > Some benefits to this system are > - much easier for lower power or laptop users to keep their desktop > machine up to date A large subset of ports are already available as packages. Would making more of them available solve the problem you perceive? Who would decide what the appropriate default configuration should be for each port? > - problems with particular ports can be centrally fixed by knowledgeable > people, possibly reducing time on lists. Huh? Aren't they already? > - reduced energy use for everyone. I think the difference in energy use would be so small as to be pointless. If I have a system that consumes 75 kilowatt hours per month, and I spend an extra 0.05 kilowatt hour per month updating ports, is the difference (less than 1/10 of 1 percent) really meaningful? I can't even measure my power usage accurately enough to detect the difference. Convince me to use three liters less hot water per month, and you will save more energy. > - the ports system is still available for those who do want to change > the config options > - ports which are not included in the snapshot are still available - > since this system has already provided the larger ports as packages, the > remaining ones would be less onerous to install That's already done. > - ports that are installed with make install would maintain > compatibility with the other installed packages. In what way are they now not compatible? > - don't need to mess with portupgrade etc. What's the significant difference between messing with pkg_add and messing with portupgrade? A large subset of ports are already available as packages, so it isn't clear to me how this proposal is significantly improved over using "portupgrade -PR _portname_" when a port needs updating. Or "portupgrade -PRa" when you feel the urge to bring everything up to date. Installing and using portaudit is another useful step in the process. It will send you email to tell you WHEN you should use portupgrade. Of course, it uses energy to do so. > - it could (I think) be fitted fairly well into the existing package > building process. > - it generally increases the useability of FreeBSD as a desktop system. > [...] How is it an improvement over the existing tools? I must be missing something, because it sounds to me like you are merely asking that there be more ports made available as packages than are now offered. To me, the best way to improve FreeBSD as a desktop system would be to get Flash 9, 10, etc. working properly (this seems to have recently been accomplished for Flash 9), and to figure out how to get the Gnome-related stuff to update smoothly without the constant need for manual interference (I get tired of running gnomeloganalyzer). But that's a discussion for a different thread. -- -- Bob Johnson fbsdlists@gmail.com From nightrecon at verizon.net Tue Apr 7 16:13:38 2009 From: nightrecon at verizon.net (Michael Powell) Date: Tue Apr 7 16:13:58 2009 Subject: low-level format before install? References: <13D52068-D184-42D9-AE6C-F095C1283975@identry.com> <3A934D4A-1864-401C-8CD8-86B37EB2B183@identry.com> <20090407204242.GD62574@slackbox.xs4all.nl> <14CAA4F0-E027-4C28-B53D-A781E8F8CF68@identry.com> Message-ID: John Almberg wrote: > Thanks for all the tips. At least I have something to start with. > > The guys in the data center reinstalled FreeBSD (the filesystem was > totally corrupted again), and then ran what they called "SMART test", > which might be smartctl, and said the hard drives look good. > > I am now able to get back in. > > So the system ran fine until I put a load on it with the database > (many transactions a second). This corrupted the file system again. > > So I guess I need to load it enough to produce error messages > (hopefully) but not enough to destroy the file system again. > > Sounds like fun :-( > > This is an Intel server, not a crummy white box, so hopefully it is > smart enough to monitor its own hardware at least a bit. We'll see. > Just a tidbit or two. If it has an ICHR type South Bridge with what Intel calls "Matrix RAID" there has been reported problems with trying to use the RAID functionality. If you are not using the RAID make sure the data center guys are turning this off in the BIOS. Whenever I see these kinds of reports about data corruption correlating with SMART saying the drives are "good" I think disk controller. It does seem strange if the problem was not present previous to the "power fluctuations". But where hardware damage occurs can be funky. At least with the box I once had that took a direct lightning strike it was interesting to see where the lightening bounced around inside. If this is a 1u pizza box with only one power supply I would suspect the power supply of being damaged from the power problem. If it is a relatively low wattage unit then the damage sustained has created a situation where it doesn't have enough overhead to provide regulated pure DC when under full load. I remember a software company I worked for a few years stuck the old WORM drives in an HP Vectra desktop that only had a 135 watt power supply. You could see the power go all wonky with an oscilloscope as soon as that WORM drive started up, but the box worked well up until this point. At any rate, this all sounds like hardware to me. If it wasn't doing any of this before the so-called "power event" then I believe there has been hardware damage. Unless you are co-locating your own hardware it is the responsibility of the data center to provide you with functional hardware. After the first go around and the same problem resurfacing they should have yanked the box and just replaced it. Put a good one in service and troubleshoot the bad one off line. If they can't hold up their end of the deal you need to be looking somewhere else. -Mike From steve at ibctech.ca Tue Apr 7 16:13:42 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Tue Apr 7 16:13:59 2009 Subject: Copying files without scp Message-ID: <49DBDE27.4010300@ibctech.ca> Hi all, To copy data from one server, I normally (always) use scp. I'm looking for a method to perform this copy task without the overhead of encryption for infrequent, high-volume transfers (hundreds to thousands of GB). The data will be transferred server-to-server within a private datacentre. Can someone recommend a *known good* production quality copy mechanism that will act like scp, but without the overhead? rsh? nc? I recall a thread not too long ago regarding this, but I'd like to have a simple working example if possible, without getting into detail why one shouldn't transfer data unencrypted. Steve From amvandemore at gmail.com Tue Apr 7 16:23:27 2009 From: amvandemore at gmail.com (Adam Vandemore) Date: Tue Apr 7 16:23:33 2009 Subject: Copying files without scp In-Reply-To: <49DBDE27.4010300@ibctech.ca> References: <49DBDE27.4010300@ibctech.ca> Message-ID: <49DBE069.9080906@gmail.com> Steve Bertrand wrote: > Hi all, > > To copy data from one server, I normally (always) use scp. > > I'm looking for a method to perform this copy task without the overhead > of encryption for infrequent, high-volume transfers (hundreds to > thousands of GB). > > The data will be transferred server-to-server within a private datacentre. > > Can someone recommend a *known good* production quality copy mechanism > that will act like scp, but without the overhead? rsh? nc? > > I recall a thread not too long ago regarding this, but I'd like to have > a simple working example if possible, without getting into detail why > one shouldn't transfer data unencrypted. > > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > dump should work, it uses rsh. something like cpio could be piped into rsh obviously. You may want to benchmark it as I've had better transfer rates using scp/ssh but have not done it against rsh method. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 From bc979 at lafn.org Tue Apr 7 16:29:14 2009 From: bc979 at lafn.org (Doug Hardie) Date: Tue Apr 7 16:29:20 2009 Subject: Copying files without scp In-Reply-To: <49DBDE27.4010300@ibctech.ca> References: <49DBDE27.4010300@ibctech.ca> Message-ID: On Apr 7, 2009, at 16:13, Steve Bertrand wrote: > Hi all, > > To copy data from one server, I normally (always) use scp. > > I'm looking for a method to perform this copy task without the > overhead > of encryption for infrequent, high-volume transfers (hundreds to > thousands of GB). > > The data will be transferred server-to-server within a private > datacentre. > > Can someone recommend a *known good* production quality copy mechanism > that will act like scp, but without the overhead? rsh? nc? In that environment you can use ftp just fine. Make sure to restrict it to the local IP addresses. From steve at ibctech.ca Tue Apr 7 16:31:20 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Tue Apr 7 16:31:27 2009 Subject: Copying files without scp In-Reply-To: References: <49DBDE27.4010300@ibctech.ca> Message-ID: <49DBE246.2040107@ibctech.ca> Doug Hardie wrote: > > On Apr 7, 2009, at 16:13, Steve Bertrand wrote: > >> Hi all, >> >> To copy data from one server, I normally (always) use scp. >> >> I'm looking for a method to perform this copy task without the overhead >> of encryption for infrequent, high-volume transfers (hundreds to >> thousands of GB). >> >> The data will be transferred server-to-server within a private >> datacentre. >> >> Can someone recommend a *known good* production quality copy mechanism >> that will act like scp, but without the overhead? rsh? nc? > > In that environment you can use ftp just fine. Make sure to restrict it > to the local IP addresses. Thanks, but I've never found a way to copy complete directories with FTP. I'll need to copy entire multi-nested directory structures. Do you have an example how to do this via FTP? (CLI-only). Steve From cswiger at mac.com Tue Apr 7 16:31:53 2009 From: cswiger at mac.com (Chuck Swiger) Date: Tue Apr 7 16:32:01 2009 Subject: Copying files without scp In-Reply-To: <49DBDE27.4010300@ibctech.ca> References: <49DBDE27.4010300@ibctech.ca> Message-ID: <814E16A3-0A92-4204-AC6A-2C20C2C8A7F2@mac.com> On Apr 7, 2009, at 4:13 PM, Steve Bertrand wrote: > I'm looking for a method to perform this copy task without the > overhead > of encryption for infrequent, high-volume transfers (hundreds to > thousands of GB). > > The data will be transferred server-to-server within a private > datacentre. > > Can someone recommend a *known good* production quality copy mechanism > that will act like scp, but without the overhead? rsh? nc? Install /usr/ports/security/openssh-portable, and set the "Enable HPN- SSH patch" option. You should then be able to use "scp -c none" option, which is documented more fully here: http://www.psc.edu/networking/projects/hpn-ssh/none.php You could also use rsync + rsyncd.... Regards, -- -Chuck From steve at ibctech.ca Tue Apr 7 16:37:56 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Tue Apr 7 16:38:17 2009 Subject: Copying files without scp In-Reply-To: <814E16A3-0A92-4204-AC6A-2C20C2C8A7F2@mac.com> References: <49DBDE27.4010300@ibctech.ca> <814E16A3-0A92-4204-AC6A-2C20C2C8A7F2@mac.com> Message-ID: <49DBE3D5.1070002@ibctech.ca> Chuck Swiger wrote: > On Apr 7, 2009, at 4:13 PM, Steve Bertrand wrote: >> I'm looking for a method to perform this copy task without the overhead >> of encryption for infrequent, high-volume transfers (hundreds to >> thousands of GB). >> >> The data will be transferred server-to-server within a private >> datacentre. >> >> Can someone recommend a *known good* production quality copy mechanism >> that will act like scp, but without the overhead? rsh? nc? > > Install /usr/ports/security/openssh-portable, and set the "Enable > HPN-SSH patch" option. You should then be able to use "scp -c none" > option, which is documented more fully here: > > http://www.psc.edu/networking/projects/hpn-ssh/none.php > > You could also use rsync + rsyncd.... Thanks Chuck, I think I'll just go the rsync route. I'm very familiar with it. I don't particularly want to install it on the boxes I'm concerned with momentarily, but I know how it works. Your other option seems intriguing, but I'd rather not install more software on these boxes if possible. I was hoping for a magical, don't have to install anything-type solution :) Perhaps I left out an important piece... even though I'm copying directory structures, in many cases the bulk of the data will be contained within massively large individual files. (Hence why rsync wasn't my original choice). Steve From glen.j.barber at gmail.com Tue Apr 7 16:54:00 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Apr 7 16:54:07 2009 Subject: openoffice.org-3.01 packages available (i386) In-Reply-To: <49DBCB82.2090903@gmail.com> References: <49DBCB82.2090903@gmail.com> Message-ID: <4ad871310904071653hef9da1br6048618d4676d658@mail.gmail.com> Manolis, Thanks again for taking the time for this. [snip] > > The site does not yet contain any other pages or info, as Glen is still > working on the web content. > > Please send us your feedback (including problems, suggestions and > success stories!) either on the list or directly. ?If this proves to be > successful, we could also build and host other packages as well. > Any problems with the site, please contact me so I can notify my hosting provider, as I don't have physical access to the server. Thanks! -- Glen Barber From dstegner at earthlink.net Tue Apr 7 16:56:45 2009 From: dstegner at earthlink.net (Dave Stegner) Date: Tue Apr 7 16:56:53 2009 Subject: Mysql make question Message-ID: <000801c9b7da$76575c00$69dea8c0@xws001> I am venturing into Mysql. I am trying to install it from the port, 5.1.33. Simple question: Immediately after the start of make, you are presented with a list of options. Are those options selected by entering them on the make line like: make BUILD_OPTIMIZED=yes BUILD_STATIC=yes Sorry for such a simple question but, I searched and could not find answer. David R. Stegner From campaign at dabber.tv Tue Apr 7 17:14:06 2009 From: campaign at dabber.tv (Daniel Daboczy - DABBER.tv) Date: Tue Apr 7 17:14:13 2009 Subject: Presenting Yale as a new client Message-ID: <48153.JDAVPEAU@dabber.tv> Presenting Yale as a new client We are very proud to present a new collaboration with Yale Dabber presents it?s biggest player so far and is proud to introduce the collaboration with the global company Assa-Abloy and the brand Yale Locks. The 42 films in the Yale Feeling Safe project about safety, security, favourite places and favourite things are developed to show that all over the world, people are actively securing what they care about; their home, their family, their personal belongings or their business with the name they trust. We have focused on developing the player for faster delivery and smoother user interaction. The present times calls for smart, cost effective and innovative ways to connect with the audience. What we can do for you: If you as some of our clients are looking for the 'wow-factor', or need to start implementing video in your business or if you need our different approach to take the step from idea to a well-visited website. Whatever the need, Dabber is ready to take you from static to stunning! If you are interested in our services, big or small please contact us. We are based in Stockholm Sweden and work globaly on changing the way we communicate. Visit the web site Yale - Feeling Safe to try out the player: here /Daniel Daboczy CEO Dabber.tv From luvbeastie at larseighner.com Tue Apr 7 17:32:11 2009 From: luvbeastie at larseighner.com (Lars Eighner) Date: Tue Apr 7 17:32:18 2009 Subject: Mysql make question In-Reply-To: <000801c9b7da$76575c00$69dea8c0@xws001> References: <000801c9b7da$76575c00$69dea8c0@xws001> Message-ID: <20090407192917.N49321@qroenaqrq.6qbyyneqvnyhc.pbz> On Tue, 7 Apr 2009, Dave Stegner wrote: > > I am venturing into Mysql. I am trying to install it from the port, 5.1.33. > > Simple question: > > Immediately after the start of make, you are presented with a list of > options. > > Are those options selected by entering them on the make line like: > > make BUILD_OPTIMIZED=yes BUILD_STATIC=yes Yes. Note however that test in most cases is only for the *existence* of the argument, so WITH_OPENSSL="yes" is the same as WITH_OPENSSL="no"; If you don't want WITH_OPENSSL, don't use the argument at all. Obviously there are a few which actually use the value like WITH_XCHARSET. It will pay to learn to read Makefiles well enough to see what arguments the Makefile accepts and what it tests them for. In this case you will see that most arguments are tested only for defined. Many ports give you a nice interface to set options and remember some options for future builds. You can set these by running make config. But no joy with mysql. > Sorry for such a simple question but, I searched and could not find > answer. In most cases the defaults are good. Unless you are already familiar with the application and know what you want and why you want it, it is generally best to leave the defaults alone. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From davidcollins001 at gmail.com Tue Apr 7 18:05:47 2009 From: davidcollins001 at gmail.com (David Collins) Date: Tue Apr 7 18:05:53 2009 Subject: powerd Message-ID: <1b30fd140904071739m41ae936es9a022c97e4f66630@mail.gmail.com> Hi, I have just realised that my computer is making a ton of noise, and I would like it to make less. I have the following in my rc.conf powerd_enable="YES" powerd_flags="-a minimum" I have checked that cpufreq is loaded using kldload. When I run powerd from the command line I get the following viper:~$ sudo powerd powerd: lookup freq: No such file or directory I also have the following viper:~$ sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU_ dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.cx_supported: C1/0 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.CPU1 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 dev.cpu.1.cx_supported: C1/0 dev.cpu.1.cx_lowest: C1 dev.cpu.1.cx_usage: 100.00% I've googled this but not managed to find a solution. How can I get this to work? thanks David From on at cs.ait.ac.th Tue Apr 7 18:08:12 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Tue Apr 7 18:08:19 2009 Subject: Copying files without scp In-Reply-To: <49DBDE27.4010300@ibctech.ca> (message from Steve Bertrand on Tue, 07 Apr 2009 19:13:43 -0400) References: <49DBDE27.4010300@ibctech.ca> Message-ID: <200904080108.n38188Y7060178@banyan.cs.ait.ac.th> Hi, > Can someone recommend a *known good* production quality copy mechanism > that will act like scp, but without the overhead? rsh? nc? I sometime use tar+rsh. Tar because I want to be sure to preserve all ownership and modes of the files and directories. Bests, olivier From f.bonnet at esiee.fr Tue Apr 7 22:14:43 2009 From: f.bonnet at esiee.fr (Frank Bonnet) Date: Tue Apr 7 22:14:51 2009 Subject: Migration to 7.1 ? In-Reply-To: <20090407141239.GA4757@aurora.oekb.co.at> References: <49DB0B07.1030703@esiee.fr> <20090407141239.GA4757@aurora.oekb.co.at> Message-ID: <49DC32B8.8060000@esiee.fr> Ewald Jenisch wrote: >>> Does the LAGG driver works well with broadcomm giga ethernet chips ? >>> ( I plan to use LACP to a Cisco switch ) >> Try asking at freebsd-net@ >> > > Hi, > > I've been running with the lagg-driver for quite some time now on > several blade-systems using broadcom chips in a failover > configuration - no problems whatsoever - failover/fallback all ok. > > LACP shouldn't be a problem either - on the Cisco side define a port > channel using LACP plus optional a balancing strategy (like mac-based etc.) > > HTH > -ewald > Hello Thanks for your feedback Frank > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From frederique at isafeelin.org Tue Apr 7 22:41:22 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Tue Apr 7 22:41:38 2009 Subject: Copying files without scp In-Reply-To: <49DBDE27.4010300@ibctech.ca> References: <49DBDE27.4010300@ibctech.ca> Message-ID: <49DC38FE.20207@isafeelin.org> Steve Bertrand wrote: > Hi all, > > To copy data from one server, I normally (always) use scp. > > I'm looking for a method to perform this copy task without the overhead > of encryption for infrequent, high-volume transfers (hundreds to > thousands of GB). > > The data will be transferred server-to-server within a private datacentre. > > Can someone recommend a *known good* production quality copy mechanism > that will act like scp, but without the overhead? rsh? nc? > On the listening end: cd / ; nc -l 12345 | tar xpvf - On the sending end: cd / ; tar cf - /path/file | nc 12345 Replace 'x' by 't' on the listening end to verify that it's going to do what you would want/expect. -- Frederique From odhiambo at gmail.com Tue Apr 7 23:05:56 2009 From: odhiambo at gmail.com (Odhiambo Washington) Date: Tue Apr 7 23:06:03 2009 Subject: Koffice in KDE-4.2.2 In-Reply-To: <20090407160754.GA57933@slackbox.xs4all.nl> References: <991123400904070854k685256d8kdf65f1426560f708@mail.gmail.com> <20090407160754.GA57933@slackbox.xs4all.nl> Message-ID: <991123400904072305j276bcac0qfe81724ee7431b0a@mail.gmail.com> On Tue, Apr 7, 2009 at 7:07 PM, Roland Smith wrote: > On Tue, Apr 07, 2009 at 06:54:02PM +0300, Odhiambo Washington wrote: > > Hello pple, > > > > I installed KDE-4.2.2 but I cannot see the office apps. What am I > missing? > > The Koffice version for KDE-4 is still in beta. > > Looking at the ports tree, there is only the > /usr/ports/editors/koffice-kde3 port (except from a lot of localization > ports). So it is not installed by default when I: cd /usr/ports/x11/kde4 && make all install clean ??? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain From mel.flynn+fbsd.questions at mailing.thruhere.net Tue Apr 7 23:08:35 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue Apr 7 23:08:41 2009 Subject: Mysql make question In-Reply-To: <20090407192917.N49321@qroenaqrq.6qbyyneqvnyhc.pbz> References: <000801c9b7da$76575c00$69dea8c0@xws001> <20090407192917.N49321@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <200904080808.05496.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 08 April 2009 02:30:03 Lars Eighner wrote: > On Tue, 7 Apr 2009, Dave Stegner wrote: > > I am venturing into Mysql. I am trying to install it from the port, > > 5.1.33. > > > > Simple question: > > > > Immediately after the start of make, you are presented with a list of > > options. > > > > Are those options selected by entering them on the make line like: > > > > make BUILD_OPTIMIZED=yes BUILD_STATIC=yes > > Yes. Note however that test in most cases is only for the *existence* > of the argument, so WITH_OPENSSL="yes" is the same as WITH_OPENSSL="no"; In those cases you can also use -DWITH_OPENSSL. -- Mel From mel.flynn+fbsd.questions at mailing.thruhere.net Tue Apr 7 23:13:42 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue Apr 7 23:13:55 2009 Subject: Copying files without scp In-Reply-To: <49DBE246.2040107@ibctech.ca> References: <49DBDE27.4010300@ibctech.ca> <49DBE246.2040107@ibctech.ca> Message-ID: <200904080813.39869.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 08 April 2009 01:31:18 Steve Bertrand wrote: > Doug Hardie wrote: > > On Apr 7, 2009, at 16:13, Steve Bertrand wrote: > >> Hi all, > >> > >> To copy data from one server, I normally (always) use scp. > >> > >> I'm looking for a method to perform this copy task without the overhead > >> of encryption for infrequent, high-volume transfers (hundreds to > >> thousands of GB). > >> > >> The data will be transferred server-to-server within a private > >> datacentre. > >> > >> Can someone recommend a *known good* production quality copy mechanism > >> that will act like scp, but without the overhead? rsh? nc? > > > > In that environment you can use ftp just fine. Make sure to restrict it > > to the local IP addresses. > > Thanks, but I've never found a way to copy complete directories with FTP. > > I'll need to copy entire multi-nested directory structures. > > Do you have an example how to do this via FTP? (CLI-only). ftp/ncftp3: ncftpget -R ftp://servername/path/to/start/ -- Mel From mel.flynn+fbsd.questions at mailing.thruhere.net Tue Apr 7 23:45:07 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue Apr 7 23:45:14 2009 Subject: make, list and M pattern In-Reply-To: <37646522@h30.sp.ipt.ru> References: <37646522@h30.sp.ipt.ru> Message-ID: <200904080845.04576.mel.flynn+fbsd.questions@mailing.thruhere.net> On Tuesday 07 April 2009 21:54:13 Boris Samorodov wrote: > Hello List, > > > I need to create a list with some valid values and check an input > value. Should this makefile work? > ----- > LIST=f8 f9 > > all: > @echo USE_LINUX=${USE_LINUX}, LIST=${LIST} > .if empty(LIST:M${USE_LINUX}) > @echo The value is invalid > .else > @echo The value is valid > .endif > ----- > % make USE_LINUX=f8 > USE_LINUX=f8, LIST=f8 f9 > The value is invalid > ----- Doesn't work because the match is not on words of the list but on the full list and you're not using globs. Aside from Giorgos' method, one might consider: LIST=f8 f9 LINUX_VER=invalid .for _VERSION in ${LIST} .if (${USE_LINUX} == "${_VERSION}") LINUX_VER=${_VERSION} .endif .endfor all: .if !empty(LINUX_VER:Minvalid) @echo "Invalid linux version: ${USE_LINUX}" .else @echo "Using linux version ${LINUX_VER}" .endif -- Mel From j.mckeown at ru.ac.za Tue Apr 7 23:59:46 2009 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Tue Apr 7 23:59:53 2009 Subject: new package system proposal In-Reply-To: <54db43990904071435h5dc1e854p2e9892ac666aea35@mail.gmail.com> References: <49D76B02.4060201@onetel.com> <54db43990904071435h5dc1e854p2e9892ac666aea35@mail.gmail.com> Message-ID: <200904080859.41807.j.mckeown@ru.ac.za> On Tuesday 07 April 2009 23:35:03 Bob Johnson wrote: > On 4/4/09, Chris Whitehouse wrote: > > Hi all > > [...] > > > My suggestion is to start with a ports tree that is fixed in time. Make > > that ports tree available as part of this package system and compile a > > typical desktop set of ports, particularly choosing ones which are large > > or have many dependencies. When it is all complete release it and start > > again. Surely quite a wide selection of desktops, wm's and apps could be > > compiled in a couple of weeks? > > How is it an improvement over the existing tools? I must be missing > something, because it sounds to me like you are merely asking that > there be more ports made available as packages than are now offered. I think what you're missing is the suggestion to bundle a set of pre-built packages with a snapshot of the ports tree used to build them. Currently it's difficult to mix and match packages and ports because the versions of dependencies are likely to differ between the package and the local version of the ports tree. If you know you have the same ports tree your packages were built from, you can much more easily combine pre-built packages and local builds from source. This has clear advantages. At the moment, unless you're very lucky with your timing, you tend to find that as soon as you want to build one port from source (perhaps to fiddle with the configuration) you have to stop using prebuilt packages altogether. The drawback I can see is the disk space required to keep several generations of packages online - if the package-port bundle is rebuilt every three weeks, let's say, and you want to keep 6 months' worth of packages online, you need to keep 9 complete versions available. Chris's suggestion is certainly more than just a request for more packages, though. Jonathan From bsam at ipt.ru Wed Apr 8 00:04:59 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Wed Apr 8 00:05:05 2009 Subject: make, list and M pattern In-Reply-To: <871vs49nmw.fsf@kobe.laptop> (Giorgos Keramidas's message of "Wed\, 08 Apr 2009 00\:09\:43 +0300") References: <37646522@h30.sp.ipt.ru> <871vs49nmw.fsf@kobe.laptop> Message-ID: <03710390@bb.ipt.ru> On Wed, 08 Apr 2009 00:09:43 +0300 Giorgos Keramidas wrote: > On Tue, 07 Apr 2009 23:54:13 +0400, Boris Samorodov wrote: > > Hello List, > > > > I need to create a list with some valid values and check an input > > value. Should this makefile work? > > > > ----- > > LIST=f8 f9 > > > > all: > > @echo USE_LINUX=${USE_LINUX}, LIST=${LIST} > > .if empty(LIST:M${USE_LINUX}) > > @echo The value is invalid > > .else > > @echo The value is valid > > .endif > > ----- > > % make USE_LINUX=f8 > > USE_LINUX=f8, LIST=f8 f9 > > The value is invalid > > ----- > Hi Boris! :) Hi Giorgos! :) > This is not exactly what you asked for, but you can probably loop > instead of trying to match regular expressions: > keramida@kobe:/tmp$ cat -n Makefile > 1 LIST= f8 f9 > 2 USE_LINUX?= f9 > 3 > 4 LINUX_VERSION= ${USE_LINUX:C/[ ]*([^ ]*)[ ]*/\1/} > 5 > 6 .if defined(USE_LINUX) > 7 .for item in ${LIST} > 8 .if ${USE_LINUX} == ${item} > 9 RESULT= ${item} > 10 .endif > 11 .endfor > 12 .endif > 13 > 14 all: > 15 .if empty(RESULT) > 16 @echo Version ${LINUX_VERSION} is not valid. > 17 .else > 18 @echo Valid version ${RESULT} selected. > 19 .endif > keramida@kobe:/tmp$ make > Valid version f9 selected. > keramida@kobe:/tmp$ make -e USE_LINUX=f10 > Version f10 is not valid. > keramida@kobe:/tmp$ Thanks, that would fit enough. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From bsam at ipt.ru Wed Apr 8 00:10:09 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Wed Apr 8 00:10:27 2009 Subject: make, list and M pattern In-Reply-To: <200904080845.04576.mel.flynn+fbsd.questions@mailing.thruhere.net> (Mel Flynn's message of "Wed\, 8 Apr 2009 08\:45\:04 +0200") References: <37646522@h30.sp.ipt.ru> <200904080845.04576.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <37630079@bb.ipt.ru> On Wed, 8 Apr 2009 08:45:04 +0200 Mel Flynn wrote: > On Tuesday 07 April 2009 21:54:13 Boris Samorodov wrote: > > Hello List, > > > > > > I need to create a list with some valid values and check an input > > value. Should this makefile work? > > ----- > > LIST=f8 f9 > > > > all: > > @echo USE_LINUX=${USE_LINUX}, LIST=${LIST} > > .if empty(LIST:M${USE_LINUX}) > > @echo The value is invalid > > .else > > @echo The value is valid > > .endif > > ----- > > % make USE_LINUX=f8 > > USE_LINUX=f8, LIST=f8 f9 > > The value is invalid > > ----- Hi Mel! > Doesn't work because the match is not on words of the list but on the full > list and you're not using globs. You are ringht, but not for the case. The case here seems to exist because variables are not guaranteed to be expanded for M modifier. I.e. even with globs the result will not be as expected. > Aside from Giorgos' method, one might consider: > LIST=f8 f9 > LINUX_VER=invalid > .for _VERSION in ${LIST} > .if (${USE_LINUX} == "${_VERSION}") > LINUX_VER=${_VERSION} > .endif > .endfor > all: > .if !empty(LINUX_VER:Minvalid) > @echo "Invalid linux version: ${USE_LINUX}" > .else > @echo "Using linux version ${LINUX_VER}" > .endif Works. Thanks! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From on at cs.ait.ac.th Wed Apr 8 00:15:06 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Wed Apr 8 00:15:14 2009 Subject: TeX/LaTeX in FreeBSD Message-ID: <200904080715.n387F3ZY003171@banyan.cs.ait.ac.th> Hi, I build print/tex and print/latex from the ports, but I must be forgetting some configuration somewhere, because when trying to compose qa document LaTeX cannot find the various include files like article.cls That must be a very stupid mistake. Few years ago I did build TeX/laTeX from the ports, but I cannot find out what I did then to make it work. TIA, Olivier From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Apr 8 00:17:08 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Apr 8 00:17:16 2009 Subject: SQLgrey not happy In-Reply-To: <200904071605.AA870842786@mail.Go2France.com> References: <200904071605.AA870842786@mail.Go2France.com> Message-ID: <200904080917.05507.mel.flynn+fbsd.questions@mailing.thruhere.net> On Tuesday 07 April 2009 16:05:53 Len Conrad wrote: > Trying to install everything via pkgs, but it messed up. > > fbsd 7.1 > > SQLgrey 1.7.6 installed as pkg_add > > p5-DBD-mysql installed as: > > pkg_add -r > ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-8-current/All/p5-DBD >-mysql-4.010.tbz > Apr 7 08:25:22 mx1 sqlgrey: fatal: Can't locate loadable object for module > DBD::mysql in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN ^^^^^ Ports is at 5.8.9 since a few, so my guess is that p5-DBD-mysql-4.010 is installed in /usr/local/lib/perl5/5.8.9/BSDPAN. You probably ignored the warning that "p5-DBD-mysql-4.010 requires perl-5.8.9 but perl-5.8.8_1 is installed". Upgrading perl or finding an older package is the solution. -- Mel From ionut.vancea at gmail.com Wed Apr 8 00:50:00 2009 From: ionut.vancea at gmail.com (Ionut Vancea) Date: Wed Apr 8 00:50:07 2009 Subject: TeX/LaTeX in FreeBSD In-Reply-To: <200904080715.n387F3ZY003171@banyan.cs.ait.ac.th> References: <200904080715.n387F3ZY003171@banyan.cs.ait.ac.th> Message-ID: <368177940904080049sec4dc1ajfee9ccb476d644c0@mail.gmail.com> Hi, On Wed, Apr 8, 2009 at 8:15 AM, Olivier Nicole wrote: > Hi, > > I build print/tex and print/latex from the ports, but I must be > forgetting some configuration somewhere, because when trying to > compose qa document LaTeX cannot find the various include files like > article.cls try to install print/teTeX as well, maybe it will solve your issue. > > That must be a very stupid mistake. Few years ago I did build > TeX/laTeX from the ports, but I cannot find out what I did then to > make it work. Cheers, -- === Ioan Vancea http://www.vioan.ro From rajb366a at gmail.com Wed Apr 8 01:13:54 2009 From: rajb366a at gmail.com (Rajeev Sharma) Date: Wed Apr 8 01:14:02 2009 Subject: Change to Graphical Mode from DOS Mode Message-ID: Sir, I have successfully downloaded FreeBSD 6.4 Release linux & installed on my PC. But it starts in DOS Mode. I want to shift to Graphical Mode. Kindly advice me what to do. Thanks Rajeev Sharma rajb366a@gmail.com rajb366a@rediffmail.com From fernando.apesteguia at gmail.com Wed Apr 8 01:19:31 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Wed Apr 8 01:19:40 2009 Subject: Change to Graphical Mode from DOS Mode In-Reply-To: References: Message-ID: <1bd550a00904080119m1ab4577fk9f0b444f921c6574@mail.gmail.com> On 4/8/09, Rajeev Sharma wrote: > Sir, > I have successfully downloaded FreeBSD 6.4 Release linux & installed FreeBSD is _not_ linux ;) > on my PC. But it starts in DOS Mode. aka "Console" mode. > > I want to shift to Graphical Mode. Once you log in, (use your login name and password), and assuming you installed some graphical environment, try to type: startx Cheers > > > Kindly advice me what to do. > > > Thanks > > > Rajeev Sharma > rajb366a@gmail.com > rajb366a@rediffmail.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From ricardo.meb.jesus at gmail.com Wed Apr 8 01:31:56 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Wed Apr 8 01:32:05 2009 Subject: Change to Graphical Mode from DOS Mode In-Reply-To: References: Message-ID: <49DC60F8.1040300@gmail.com> Rajeev Sharma wrote: > Sir, > I have successfully downloaded FreeBSD 6.4 Release linux & installed > on my PC. But it starts in DOS Mode. > > I want to shift to Graphical Mode. > > > Kindly advice me what to do. > > > Thanks > > > Rajeev Sharma > rajb366a@gmail.com > rajb366a@rediffmail.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Better read this: http://www.freebsd.org/doc/en/books/handbook/x11.html From frank at shute.org.uk Wed Apr 8 01:50:53 2009 From: frank at shute.org.uk (Frank Shute) Date: Wed Apr 8 01:51:01 2009 Subject: C programming question In-Reply-To: <139b44430904070241j5227d178jd75f6a93057a150a@mail.gmail.com> References: <139b44430904070241j5227d178jd75f6a93057a150a@mail.gmail.com> Message-ID: <20090408085042.GA54417@melon.esperance-linux.co.uk> On Tue, Apr 07, 2009 at 11:41:54AM +0200, Valentin Bud wrote: > > Hello community, > > I have built with a micro controller a system of power plugs that > can be controlled through the serial port. I have 2 plugs that i > can start/stop and check the status of them. This is accomplished > by sending different letters (eg. A/W) to start/stop one of the > plugs and another set of letter for the other plug and one letter > to check the status. > > Taking into account the fact that my C skills are almost 0 how > complicated would be to write a program so I can control that micro > controller through the serial port. Or is there some kind of > program that can read/write from/to the serial port from the > command line. I don't want an interactive program like minicom, > just a program that connects and send a command (a letter in my > case) to the serial port. > > Why not minicom (or any other program like it)? My goal is to be > able to start/stop the plugs using a web interface. I have tried > using minicom and background it but when i log out minicom closes. > If minicom is started i can send commands to ttyd0 with echo, but i > can't read anything from serial. > > Now back to my original question, how hard/complicated will it be > to write a C program to control the micro controller through the > serial port. > > Of course on FreeBSD :). > About 10 years ago I adapted a a C program that was used to control a board (which basically had a chip and a thermocouple on it) via the serial port. IIRC, the C was relatively simple but if you're a total beginner then it would be hard without cribbing code off the 'net. If you want to learn C then go for it but if you don't you'd be better off using one of the scripting languages: perl, python, ruby etc. and your development time will be much reduced. Also they all have facilities for easily converting your program to use the CGI so that you can webify the control and I'm sure they all have some module for using a serial port (comms/p5-Device-SerialPort in ports for perl). Have fun! Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From mel.flynn+fbsd.questions at mailing.thruhere.net Wed Apr 8 02:18:01 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Wed Apr 8 02:19:02 2009 Subject: Multiple instances of MySQL In-Reply-To: <49DB4D3E.3070301@pixelhammer.com> References: <49DAC610.6020404@pixelhammer.com> <5C4F1A401C316B7D2F625CCF@Macintosh-2.local> <49DB4D3E.3070301@pixelhammer.com> Message-ID: <200904081117.58218.mel.flynn+fbsd.questions@mailing.thruhere.net> On Tuesday 07 April 2009 14:55:26 DAve wrote: > > However, I would suggest that you provide, as you suggest, a separate > > instance of mysql just for this client as well. If they screw up the > > instance they won't affect other customers. To run a separate instance, > > I would suggest using different names for the binaries, conf files and > > datadir. This can be easily done using symlinks; e.g. mysql and > > mysql-special. Then copy the startup script in /usr/local/etc/rc.d/, > > rename it to mysql-special and edit it to change all references to the > > newly-named instance. Use a my-special.cnf file for the special > > instance and reference it in /etc/rc.conf using mysql_args=. > > Thanks, looks like it would be doable. I do plan to use a separate > my.cnf, separate logging, and even a seperate mysql DB. I was going to > share the binaries but I may rethink that decision after your suggestion. Any reason a jail can't be used? This would allow sharing the binary using null or union fs, little overhead, yet seperated from host install and no maintenance of port installed files, like rc.d/mysql-server. -- Mel From bsam at ipt.ru Wed Apr 8 02:37:12 2009 From: bsam at ipt.ru (Boris Samorodov) Date: Wed Apr 8 02:37:19 2009 Subject: make, list and M pattern In-Reply-To: <871vs49nmw.fsf@kobe.laptop> (Giorgos Keramidas's message of "Wed\, 08 Apr 2009 00\:09\:43 +0300") References: <37646522@h30.sp.ipt.ru> <871vs49nmw.fsf@kobe.laptop> Message-ID: <89475722@bb.ipt.ru> On Wed, 08 Apr 2009 00:09:43 +0300 Giorgos Keramidas wrote: > On Tue, 07 Apr 2009 23:54:13 +0400, Boris Samorodov wrote: > > > > I need to create a list with some valid values and check an input > > value. Should this makefile work? > > > > ----- > > LIST=f8 f9 > > > > all: > > @echo USE_LINUX=${USE_LINUX}, LIST=${LIST} > > .if empty(LIST:M${USE_LINUX}) > > @echo The value is invalid > > .else > > @echo The value is valid > > .endif > > ----- > > % make USE_LINUX=f8 > > USE_LINUX=f8, LIST=f8 f9 > > The value is invalid > > ----- > Hi Boris! :) Hi Giorgos, Mel and list! > This is not exactly what you asked for, but you can probably loop > instead of trying to match regular expressions: > keramida@kobe:/tmp$ cat -n Makefile > 1 LIST= f8 f9 > 2 USE_LINUX?= f9 > 3 > 4 LINUX_VERSION= ${USE_LINUX:C/[ ]*([^ ]*)[ ]*/\1/} > 5 > 6 .if defined(USE_LINUX) > 7 .for item in ${LIST} > 8 .if ${USE_LINUX} == ${item} > 9 RESULT= ${item} > 10 .endif > 11 .endfor > 12 .endif > 13 > 14 all: > 15 .if empty(RESULT) > 16 @echo Version ${LINUX_VERSION} is not valid. > 17 .else > 18 @echo Valid version ${RESULT} selected. > 19 .endif > keramida@kobe:/tmp$ make > Valid version f9 selected. > keramida@kobe:/tmp$ make -e USE_LINUX=f10 > Version f10 is not valid. > keramida@kobe:/tmp$ Hm, And what if I need to compare two lists and detect if they have any common items? VALID_LIST=f8 f9 INPUT_LIST=f6 f7 f8 Nested .for loops are not helpful since .if statement is not useful here: .for x in ${VALID_LIST} . for y in ${INPUT_LIST} . if $x == $y -- make error here Thanks! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From andrew at qemg.org Wed Apr 8 02:49:48 2009 From: andrew at qemg.org (A. Wright) Date: Wed Apr 8 02:49:56 2009 Subject: Copying files without scp In-Reply-To: <49DBDE27.4010300@ibctech.ca> References: <49DBDE27.4010300@ibctech.ca> Message-ID: On Tue, 7 Apr 2009, Steve Bertrand wrote: > Can someone recommend a *known good* production quality copy mechanism > that will act like scp, but without the overhead? rsh? nc? If you are happy with rsh authentication, then have you looked at plain old rcp? A. From pluknet at gmail.com Wed Apr 8 03:51:43 2009 From: pluknet at gmail.com (pluknet) Date: Wed Apr 8 03:51:50 2009 Subject: BREAK_TO_DEBUGGER in VNC-client Message-ID: Hi, folks. Is there any VNC-client able to throw ctrl-alt-esc event in order to break to debugger? I need this feature to control a guest FreeBSD which console is exported via VNC. Thanks. -- wbr, pluknet From wojtek at wojtek.tensor.gdynia.pl Wed Apr 8 04:22:08 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Apr 8 04:22:15 2009 Subject: Change to Graphical Mode from DOS Mode In-Reply-To: References: Message-ID: > I have successfully downloaded FreeBSD 6.4 Release linux & installed > on my PC. But it starts in DOS Mode. how you started FreeBSD in DOS mode? i would like to do so as i sometimes need to run DOS programs, but i have to boot DOS or use slow dosbox. tell me - it's interesting. From utisoft at googlemail.com Wed Apr 8 04:25:41 2009 From: utisoft at googlemail.com (Chris Rees) Date: Wed Apr 8 04:25:48 2009 Subject: Change to Graphical Mode from DOS Mode In-Reply-To: References: Message-ID: 2009/4/8 Wojciech Puchar : >> ? ? I have successfully downloaded FreeBSD 6.4 Release linux & installed >> on my PC. ?But it starts in DOS Mode. > > how you started FreeBSD in DOS mode? i would like to do so as i sometimes > need to run DOS programs, but i have to boot DOS or use slow dosbox. > > tell me - it's interesting. > _______________________________________________ Pretty sure he meant virtual terminal mode, where all you get is command prompts. There is no DOS mode, but there is a port; emulators/bochs that one can install DOS into. Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From valentin.bud at gmail.com Wed Apr 8 04:37:16 2009 From: valentin.bud at gmail.com (Valentin Bud) Date: Wed Apr 8 04:37:23 2009 Subject: C programming question In-Reply-To: <20090408124952.X34961@gwdu60.gwdg.de> References: <139b44430904070241j5227d178jd75f6a93057a150a@mail.gmail.com> <20090408085042.GA54417@melon.esperance-linux.co.uk> <20090408124952.X34961@gwdu60.gwdg.de> Message-ID: <139b44430904080436j7fa08015u1d77c38c51e2583a@mail.gmail.com> On Wed, Apr 8, 2009 at 12:52 PM, Konrad Heuer wrote: > > On Wed, 8 Apr 2009, Frank Shute wrote: > > On Tue, Apr 07, 2009 at 11:41:54AM +0200, Valentin Bud wrote: >> >>> >>> Hello community, >>> >>> I have built with a micro controller a system of power plugs that >>> can be controlled through the serial port. I have 2 plugs that i >>> can start/stop and check the status of them. This is accomplished >>> by sending different letters (eg. A/W) to start/stop one of the >>> plugs and another set of letter for the other plug and one letter >>> to check the status. >>> >>> Taking into account the fact that my C skills are almost 0 how >>> complicated would be to write a program so I can control that micro >>> controller through the serial port. Or is there some kind of >>> program that can read/write from/to the serial port from the >>> command line. I don't want an interactive program like minicom, >>> just a program that connects and send a command (a letter in my >>> case) to the serial port. >>> >>> Why not minicom (or any other program like it)? My goal is to be >>> able to start/stop the plugs using a web interface. I have tried >>> using minicom and background it but when i log out minicom closes. >>> If minicom is started i can send commands to ttyd0 with echo, but i >>> can't read anything from serial. >>> >>> Now back to my original question, how hard/complicated will it be >>> to write a C program to control the micro controller through the >>> serial port. >>> >>> Of course on FreeBSD :). >>> >>> >> About 10 years ago I adapted a a C program that was used to control a >> board (which basically had a chip and a thermocouple on it) via the >> serial port. >> >> IIRC, the C was relatively simple but if you're a total beginner then >> it would be hard without cribbing code off the 'net. >> >> If you want to learn C then go for it but if you don't you'd be better >> off using one of the scripting languages: perl, python, ruby etc. and >> your development time will be much reduced. >> >> Also they all have facilities for easily converting your program to >> use the CGI so that you can webify the control and I'm sure they all >> have some module for using a serial port (comms/p5-Device-SerialPort >> in ports for perl). >> > > Please find a program of mine attached; it was used to communicate with a > card reader connected via serial port. Maybe it will help you a little bit > although you don't need all the stuff. > > Best regards > > Konrad Heuer > GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de Thanks everybody for the heads up. I don't know (yet) which path i am going to take. I know a little bit of perl so i guess i'll start reading on how can i accomplish my goal with perl. thanks, v -- network warrior since 2005 From wojtek at wojtek.tensor.gdynia.pl Wed Apr 8 04:40:37 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Apr 8 04:40:44 2009 Subject: Change to Graphical Mode from DOS Mode In-Reply-To: References: Message-ID: >> how you started FreeBSD in DOS mode? i would like to do so as i sometimes >> need to run DOS programs, but i have to boot DOS or use slow dosbox. >> >> tell me - it's interesting. >> _______________________________________________ > > Pretty sure he meant virtual terminal mode, where all you get is so he should first learn about unix more. reading FreeBSD handbook is more than enough. It's NOT DOS, and NOT WINDOWS > command prompts. There is no DOS mode, but there is a port; > emulators/bochs that one can install DOS into. and dosbox - a bit faster but still emulation From utisoft at googlemail.com Wed Apr 8 04:49:37 2009 From: utisoft at googlemail.com (Chris Rees) Date: Wed Apr 8 04:49:44 2009 Subject: Change to Graphical Mode from DOS Mode In-Reply-To: <1bd550a00904080119m1ab4577fk9f0b444f921c6574@mail.gmail.com> References: <1bd550a00904080119m1ab4577fk9f0b444f921c6574@mail.gmail.com> Message-ID: Quoting from earlier: 2009/4/8 Fernando Apestegu?a : > On 4/8/09, Rajeev Sharma wrote: >> Sir, >> ? ? ?I have successfully downloaded FreeBSD 6.4 Release linux & installed > > FreeBSD is _not_ linux ;) > >> on my PC. ?But it starts in DOS Mode. > > aka "Console" mode. > >> >> I want to shift to Graphical Mode. > > Once you log in, (use your login name and password), and assuming you > installed some graphical environment, try to type: > > startx > > Cheers > >> >> >> Kindly advice me what to do. >> >> Wojciech wrote: > so he should first learn about unix more. reading FreeBSD handbook is more than enough. Really, this has already been said. Try to read the whole thread rather than the first post. It's much easier to follow emails if you turn off digest mode and just accept each email individually, using a threading client... This also makes misunderstanding and repetition leading to embarrassment less likely. Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From will.rutherdale at utoronto.ca Wed Apr 8 05:10:32 2009 From: will.rutherdale at utoronto.ca (William Gordon Rutherdale) Date: Wed Apr 8 05:10:38 2009 Subject: C programming question In-Reply-To: <139b44430904080436j7fa08015u1d77c38c51e2583a@mail.gmail.com> References: <139b44430904070241j5227d178jd75f6a93057a150a@mail.gmail.com> <20090408085042.GA54417@melon.esperance-linux.co.uk> <20090408124952.X34961@gwdu60.gwdg.de> <139b44430904080436j7fa08015u1d77c38c51e2583a@mail.gmail.com> Message-ID: <49DC942C.7090301@utoronto.ca> Valentin Bud wrote: > Thanks everybody for the heads up. I don't know (yet) which path i am going > to take. I know a little bit of perl so i guess i'll start reading on how > can i accomplish my goal with perl. > > thanks, > v > I've been programming for a very long time, and I can tell you that both Perl and C/C++ have done me very well. The centre of gravity keeps shifting in software, but most of the scripting languages, and the libraries they depend on, are written in C. Installing most packages from scratch usually depends on having a C compiler around and knowing how to use it. The fundamental system interfaces in all forms of Unix are written in and for C. There are always jobs out there requiring knowledge of C, especially in embedded programming. I would suggest that you can't go wrong taking the C path, and you would probably do well trying it in Perl too. -Will From valentin.bud at gmail.com Wed Apr 8 05:11:20 2009 From: valentin.bud at gmail.com (Valentin Bud) Date: Wed Apr 8 05:11:28 2009 Subject: mysql memory Message-ID: <139b44430904080511i5b883e8dm40ead16dd075ffe@mail.gmail.com> Hello community, I have mysql installed on FreeBSD 7.0 i386. I am using mysqltuner.pl from ports to check for tuning parameters. Now my problem, sort of speak, is that mysqltuner.pl shows the following: [OK] Maximum possible memory usage: 1.6G (53% of installed RAM) So as far as i understand mysql is limited to using max 1.6G of RAM. But top shows different things PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 68083 mysql 18 44 0 2901M 1927M ucond 3 608:36 1.07% mysqld Why is mysql using more memory than showed in mysqltuner. Is mysqltuner inaccurate? Mysql is used for storing fulltext obtained throuhg OCR from different documents. Is there a way to make a chart on how much memory is needed for a given number of pages or documents? thanks, v -- network warrior since 2005 From freebsd-questions-local at be-well.ilk.org Wed Apr 8 05:24:31 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed Apr 8 05:24:39 2009 Subject: Copying files without scp In-Reply-To: <49DBDE27.4010300@ibctech.ca> (Steve Bertrand's message of "Tue\, 07 Apr 2009 19\:13\:43 -0400") References: <49DBDE27.4010300@ibctech.ca> Message-ID: <44ocv7miyw.fsf@lowell-desk.lan> Steve Bertrand writes: > To copy data from one server, I normally (always) use scp. > > I'm looking for a method to perform this copy task without the overhead > of encryption for infrequent, high-volume transfers (hundreds to > thousands of GB). > > The data will be transferred server-to-server within a private datacentre. > > Can someone recommend a *known good* production quality copy mechanism > that will act like scp, but without the overhead? rsh? nc? > > I recall a thread not too long ago regarding this, but I'd like to have > a simple working example if possible, without getting into detail why > one shouldn't transfer data unencrypted. I haven't hit a case in years where the encryption overhead was actually measurable as a significant issue. Still, anything you can do over ssh can be done just as well over rsh. There's always rcp if you want the same syntax as scp, but if the data consists of a lot of different files, using tar on both ends of a pipe will probably be much faster. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From will.rutherdale at utoronto.ca Wed Apr 8 05:55:18 2009 From: will.rutherdale at utoronto.ca (William Gordon Rutherdale) Date: Wed Apr 8 05:55:24 2009 Subject: mysql memory In-Reply-To: <139b44430904080511i5b883e8dm40ead16dd075ffe@mail.gmail.com> References: <139b44430904080511i5b883e8dm40ead16dd075ffe@mail.gmail.com> Message-ID: <49DC9EAD.2090300@utoronto.ca> I think 'top' is showing the external view of the process and how many pages total of heap have been allocated (under 'RES'). Possibly your tuner program is just showing the size of the cache specifically. -Will Valentin Bud wrote: > Hello community, > > I have mysql installed on FreeBSD 7.0 i386. I am using mysqltuner.pl from > ports > to check for tuning parameters. Now my problem, sort of speak, is that > mysqltuner.pl > shows the following: > [OK] Maximum possible memory usage: 1.6G (53% of installed RAM) > > So as far as i understand mysql is limited to using max 1.6G of RAM. But > top > shows different things > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 68083 mysql 18 44 0 2901M 1927M ucond 3 608:36 > 1.07% mysqld > > Why is mysql using more memory than showed in mysqltuner. Is mysqltuner > inaccurate? > > Mysql is used for storing fulltext obtained throuhg OCR from different > documents. Is there a way > to make a chart on how much memory is needed for a given number of pages or > documents? > > thanks, > v > From ohartman at zedat.fu-berlin.de Wed Apr 8 06:44:25 2009 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Wed Apr 8 06:44:44 2009 Subject: firefox3 with high latencies when acting with mouse or keyboard and graphics refresh Message-ID: <49DCA9E0.6000109@zedat.fu-berlin.de> Hello, got a problem since yesterday after having done a lot of updates (ports): on all of my FreeBSD 8.0-CURRENT/amd64 boxes firefox does have enormous high latencies when typing in or moving the mouse or popping up the window icon or down. Since this happens on all of 8.0-CUR/amd boxes, I guess it has something to do with an upgrade of the ports. I reinstalled firefox twice, but without success, so I want to ask for some hints.. Regards, Oliver From festin at sakha.net Wed Apr 8 06:44:25 2009 From: festin at sakha.net (Festin Alexander) Date: Wed Apr 8 06:44:46 2009 Subject: bsnmpd In-Reply-To: <6ae50c2d0904061308n37075058w198ed8959dd0c87a@mail.gmail.com> References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> <6ae50c2d0904061203g71f88587n8dc8461a6fb7622c@mail.gmail.com> <6ae50c2d0904061213j13457808xf2c0b1b0946ef19d@mail.gmail.com> <6ae50c2d0904061223s5ed02f6egee48078b598207f6@mail.gmail.com> <6ae50c2d0904061234h70bd30bt4dee6f5bd09789c2@mail.gmail.com> <6ae50c2d0904061308n37075058w198ed8959dd0c87a@mail.gmail.com> Message-ID: <20090408223752.0fbf4366@OnoSendai.> ? Mon, 6 Apr 2009 16:08:32 -0400 alexus ?????: > On Mon, Apr 6, 2009 at 3:38 PM, Vasadi I. Claudiu Florin > wrote: > > All out of ideas. try with a script...maybe, i dnt know. > > > > I understand there is always that way, but I'd like to figure out the > proper way > How about to put some "echo" or "logger" into /etc/rc.d/bsnmpd for tracing script? I use bsnmpd and have no troubles. From makefile at yeah.net Wed Apr 8 06:56:11 2009 From: makefile at yeah.net (makefile) Date: Wed Apr 8 06:56:20 2009 Subject: Three little question. Message-ID: <3535242.320121239198944166.JavaMail.coremail@yeahapp6.yeah.net> Every time I run "make fetch-recursive",it fetched all the dependence packages.Not only the package I need to compile. For example,in the /usr/ports/x11-drivers/xf86-video-intel,I run "make fetch-recursive",it will download glib,but I alreaday have glib installed.Is there another command can solve my problem? I installed gnome2-lite,but I don't think it is small enough.I don't need "file-roller","epiphany","totem"...How should I do?Gnome2-lite depend on them. I am installing gnome2-lite under 7.2-BETA1 now.When compiling ghostscript-8.64,an error comes. gmake[1]: *** [bin/../sobin/libgs.so.8.64] Error 1 How to solve this?I can not install gnome2-lite,then I can not get into the X environment. From byte8bits at gmail.com Wed Apr 8 07:06:28 2009 From: byte8bits at gmail.com (new_guy) Date: Wed Apr 8 07:06:36 2009 Subject: geli on exisitng laptop Message-ID: <22951183.post@talk.nabble.com> Hi guys, I'd like to use geli to whole disk encrypt a FreeBSD 7.1 laptop I already have setup. The laptop is up and working fine and I don't want to screw it up. It have the default partition layout. I've already used geli to encrypt the swap partition. The default partitioning at install creates / /tmp /usr and /var. I thought I would start with /tmp as I should be able to fix that if I mess up. Some questions... 1. Will each partition have to be mounted with a password? 2. What's the most straight-forward way to go about this without screwing up? I already have the eli module loaded in the /boot/loader.conf so I won't need to re-compile, etc. Thanks -- View this message in context: http://www.nabble.com/geli-on-exisitng-laptop-tp22951183p22951183.html Sent from the freebsd-questions mailing list archive at Nabble.com. From alexus at gmail.com Wed Apr 8 07:18:17 2009 From: alexus at gmail.com (alexus) Date: Wed Apr 8 07:18:24 2009 Subject: bsnmpd In-Reply-To: <20090408223752.0fbf4366@OnoSendai.> References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> <6ae50c2d0904061213j13457808xf2c0b1b0946ef19d@mail.gmail.com> <6ae50c2d0904061223s5ed02f6egee48078b598207f6@mail.gmail.com> <6ae50c2d0904061234h70bd30bt4dee6f5bd09789c2@mail.gmail.com> <6ae50c2d0904061308n37075058w198ed8959dd0c87a@mail.gmail.com> <20090408223752.0fbf4366@OnoSendai.> Message-ID: <6ae50c2d0904080718g7a6657ebv5129d307bdb58458@mail.gmail.com> 2009/4/8 Festin Alexander : > ? Mon, 6 Apr 2009 16:08:32 -0400 > alexus ?????: > >> On Mon, Apr 6, 2009 at 3:38 PM, Vasadi I. Claudiu Florin >> wrote: >> > All out of ideas. try with a script...maybe, i dnt know. >> > >> >> I understand there is always that way, but I'd like to figure out the >> proper way >> > > How about to put some "echo" or "logger" into /etc/rc.d/bsnmpd for > tracing script? > > I use bsnmpd and have no troubles. have you used it inside of jail? or in host environment? as i mentioned earlier it works fine in host, but not in jail... > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- http://alexus.org/ From olli at lurza.secnetix.de Wed Apr 8 08:07:26 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Wed Apr 8 08:07:33 2009 Subject: Copying files without scp In-Reply-To: <49DBDE27.4010300@ibctech.ca> Message-ID: <200904081506.n38F6xJ0078569@lurza.secnetix.de> Steve Bertrand wrote: > To copy data from one server, I normally (always) use scp. > > I'm looking for a method to perform this copy task without the overhead > of encryption for infrequent, high-volume transfers (hundreds to > thousands of GB). > > The data will be transferred server-to-server within a private datacentre. There are quite a lot of ways to do that. You could NFS-export then files and then use a tool to copy them on the other box locally (tar, cpio, cpdup, whatever). You could run an FTP server and then use one of the various FTP mirror tools to copy the files (e.g. ports/ftp/omi). You could use plain old rcp. You could apply this (trivial) patch that adds support for cipher "none" in ssh and scp: http://www.secnetix.de/olli/FreeBSD/patches/openssh-cipher-none The advantage of using scp (with "-c none") is that you can use all of the ssh features, such as key authentication, server aliases (via ~/.ssh/config) etc. You can also use other file copy tools (such as cpdup) that can be tunneled through ssh. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "IRIX is about as stable as a one-legged drunk with hypothermia in a four-hundred mile per hour wind, balancing on a banana peel on a greased cookie sheet -- when someone throws him an elephant with bad breath and a worse temper." -- Ralf Hildebrandt From olli at lurza.secnetix.de Wed Apr 8 08:22:23 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Wed Apr 8 08:22:32 2009 Subject: powerd In-Reply-To: <1b30fd140904071739m41ae936es9a022c97e4f66630@mail.gmail.com> Message-ID: <200904081521.n38FLv9u079072@lurza.secnetix.de> David Collins wrote: > viper:~$ sudo powerd > powerd: lookup freq: No such file or directory > > I also have the following > > viper:~$ sysctl dev.cpu > dev.cpu.0.%desc: ACPI CPU > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=\_PR_.CPU_ > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.cx_supported: C1/0 > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_usage: 100.00% > dev.cpu.1.%desc: ACPI CPU > dev.cpu.1.%driver: cpu > dev.cpu.1.%location: handle=\_PR_.CPU1 > dev.cpu.1.%pnpinfo: _HID=none _UID=0 > dev.cpu.1.%parent: acpi0 > dev.cpu.1.cx_supported: C1/0 > dev.cpu.1.cx_lowest: C1 > dev.cpu.1.cx_usage: 100.00% Frequency control is not supported in your case. You must have dev.cpu.0.freq and so on. What kind of processor do you have? Does it support "powernow", "cool'n'quiet" or similar features? Also, make sure that you have "device cpufreq" in your kernel configuration. If you don't have it, try to load the module: kldload cpufreq Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd It's trivial to make fun of Microsoft products, but it takes a real man to make them work, and a God to make them do anything useful. From wojtek at wojtek.tensor.gdynia.pl Wed Apr 8 08:31:36 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Apr 8 08:31:44 2009 Subject: Copying files without scp In-Reply-To: <49DBDE27.4010300@ibctech.ca> References: <49DBDE27.4010300@ibctech.ca> Message-ID: > > To copy data from one server, I normally (always) use scp. > man rcp From davidcollins001 at gmail.com Wed Apr 8 08:37:37 2009 From: davidcollins001 at gmail.com (David Collins) Date: Wed Apr 8 08:37:44 2009 Subject: powerd In-Reply-To: <200904081521.n38FLv9u079072@lurza.secnetix.de> References: <1b30fd140904071739m41ae936es9a022c97e4f66630@mail.gmail.com> <200904081521.n38FLv9u079072@lurza.secnetix.de> Message-ID: <1b30fd140904080837h2aa48acema46be89866d7a617@mail.gmail.com> > Frequency control is not supported in your case. You must > have dev.cpu.0.freq and so on. What kind of processor do > you have? Does it support "powernow", "cool'n'quiet" or > similar features? CPU: Pentium III/Pentium III Xeon/Celeron (501.14-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383fbff > Also, make sure that you have "device cpufreq" > kernel configuration. If you don't have it, try to load > the module: kldload cpufreq I have device cpufreq in the kernel conf and I loaded/unloaded it separately. From olli at lurza.secnetix.de Wed Apr 8 08:47:02 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Wed Apr 8 08:47:09 2009 Subject: powerd In-Reply-To: <1b30fd140904080837h2aa48acema46be89866d7a617@mail.gmail.com> Message-ID: <200904081546.n38Fkbnc080398@lurza.secnetix.de> David Collins wrote: > > Frequency control is not supported in your case. You must > > have dev.cpu.0.freq and so on. What kind of processor do > > you have? Does it support "powernow", "cool'n'quiet" or > > similar features? > > CPU: Pentium III/Pentium III Xeon/Celeron (501.14-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x673 Stepping = 3 > Features=0x383fbff I'm afraid this one does not support CPU frequency control. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "I invented Ctrl-Alt-Delete, but Bill Gates made it famous." -- David Bradley, original IBM PC design team From ertr1013 at student.uu.se Wed Apr 8 08:53:18 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Wed Apr 8 08:53:25 2009 Subject: powerd In-Reply-To: <1b30fd140904080837h2aa48acema46be89866d7a617@mail.gmail.com> References: <1b30fd140904071739m41ae936es9a022c97e4f66630@mail.gmail.com> <200904081521.n38FLv9u079072@lurza.secnetix.de> <1b30fd140904080837h2aa48acema46be89866d7a617@mail.gmail.com> Message-ID: <20090408155301.GA71743@owl.midgard.homeip.net> On Wed, Apr 08, 2009 at 04:37:35PM +0100, David Collins wrote: > > Frequency control is not supported in your case. You must > > have dev.cpu.0.freq and so on. What kind of processor do > > you have? Does it support "powernow", "cool'n'quiet" or > > similar features? > > CPU: Pentium III/Pentium III Xeon/Celeron (501.14-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x673 Stepping = 3 > Features=0x383fbff AFAIK that processor does not support changing frequency or voltage on the fly. You will not be able to get powerd to do anything useful with that CPU. > > > > Also, make sure that you have "device cpufreq" > > kernel configuration. If you don't have it, try to load > > the module: kldload cpufreq > > I have device cpufreq in the kernel conf and I loaded/unloaded it separately. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Erik Trulsson ertr1013@student.uu.se From claudiu.vasadi at gmail.com Wed Apr 8 08:58:48 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Wed Apr 8 08:58:54 2009 Subject: powerd In-Reply-To: <20090408155301.GA71743@owl.midgard.homeip.net> References: <1b30fd140904071739m41ae936es9a022c97e4f66630@mail.gmail.com> <200904081521.n38FLv9u079072@lurza.secnetix.de> <1b30fd140904080837h2aa48acema46be89866d7a617@mail.gmail.com> <20090408155301.GA71743@owl.midgard.homeip.net> Message-ID: > AFAIK that processor does not support changing frequency or voltage on > the fly. Your right, I also had one of those CPU. Only thig you can do is OC from BIOS. I managed to OC it at a 566 MHz stable rate; also managed to have a near 600 MHz (589 MHz) experience but was unstable as hell. From postfix_amaru at yahoo.com Wed Apr 8 09:24:33 2009 From: postfix_amaru at yahoo.com (Amaru Netapshaak) Date: Wed Apr 8 09:24:40 2009 Subject: ZFS Question Message-ID: <400467.24717.qm@web59509.mail.ac4.yahoo.com> Hello, I am interested in using something like ZFS for its distributed nature. I run a file server with samba acting as a PDC. I also run a second server as a BDC.? What I would like is a method for keeping both servers "shared data" drives in sync when both the PDC and BDC are running. I am currently doing an incremental update twice daily to the BDC using rsync over SSH.? It works, but its just not good enough.. if the PDC goes down, anything created or altered after midnight or so, isnt propagated to the BDC. I understand I can use ZFS to accomplish this easily.. but from what I've read, you still need to manually push updates to the backup server over ssh via cron.? So I would still have windows of time where the file systems would not be in sync..? am I heading in the wrong direction here? I am beginning to think I am.. I've been afraid of NFS for some time.. remembering back to the days when it was just not safe to use NFS.? I may have carried that fear on irrationally.. is NFS a viable solution to my problem these days?? Thanks for the advice! +-+ AMARU From jcigar at ulb.ac.be Wed Apr 8 09:36:10 2009 From: jcigar at ulb.ac.be (Julien Cigar) Date: Wed Apr 8 09:36:17 2009 Subject: ZFS Question In-Reply-To: <400467.24717.qm@web59509.mail.ac4.yahoo.com> References: <400467.24717.qm@web59509.mail.ac4.yahoo.com> Message-ID: <1239208556.998.0.camel@rivendell.lan> On Wed, 2009-04-08 at 08:57 -0700, Amaru Netapshaak wrote: > Hello, > > I am interested in using something like ZFS for its distributed nature. I run a file server > with samba acting as a PDC. I also run a second server as a BDC. What I would > like is a method for keeping both servers "shared data" drives in sync when both the > PDC and BDC are running. > > I am currently doing an incremental update twice daily to the BDC using rsync over > SSH. It works, but its just not good enough.. if the PDC goes down, anything created > or altered after midnight or so, isnt propagated to the BDC. > > I understand I can use ZFS to accomplish this easily.. but from what I've read, you still > need to manually push updates to the backup server over ssh via cron. So I would still > have windows of time where the file systems would not be in sync.. am I heading in the > wrong direction here? I am beginning to think I am.. > > I've been afraid of NFS for some time.. remembering back to the days when it was just > not safe to use NFS. I may have carried that fear on irrationally.. is NFS a viable > solution to my problem these days? > > Thanks for the advice! > you could use ggated/ggatec together with gmirror > +-+ AMARU > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Universit? Libre de Bruxelles (ULB) Campus de la Plaine CP 257 B?timent NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entr?e ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 From rwmaillists at googlemail.com Wed Apr 8 10:11:46 2009 From: rwmaillists at googlemail.com (RW) Date: Wed Apr 8 10:11:55 2009 Subject: Three little question. In-Reply-To: <3535242.320121239198944166.JavaMail.coremail@yeahapp6.yeah.net> References: <3535242.320121239198944166.JavaMail.coremail@yeahapp6.yeah.net> Message-ID: <20090408181140.180987c2@gumby.homeunix.com> On Wed, 8 Apr 2009 21:55:44 +0800 (CST) makefile wrote: > > Every time I run "make fetch-recursive",it fetched all the dependence > packages.Not only the package I need to compile. For example,in > the /usr/ports/x11-drivers/xf86-video-intel,I run "make > fetch-recursive",it will download glib,but I alreaday have glib > installed.Is there another command can solve my problem? Then leave off the "-recursive part", although actually the targets you really need are checksum[-recursive] not fetch[-recursive]. It's good practice to leave the files in the distfile directory and clean it with portsclean -D, then you don't have to download them again. Ports often need to be rebuilt with the same distfile. > I installed gnome2-lite,but I don't think it is small enough.I don't > need "file-roller","epiphany","totem"...How should I do?Gnome2-lite > depend on them. gnome2-lite is just a metaport, so you could just delete it and install just the ports you want. From gfritz at gmail.com Wed Apr 8 10:12:53 2009 From: gfritz at gmail.com (Geoff Fritz) Date: Wed Apr 8 10:13:08 2009 Subject: geli on exisitng laptop In-Reply-To: <22951183.post@talk.nabble.com> References: <22951183.post@talk.nabble.com> Message-ID: <20090408171248.GA64991@dev.null> On Wed, Apr 08, 2009 at 07:06:27AM -0700, new_guy wrote: > > Hi guys, > > I'd like to use geli to whole disk encrypt a FreeBSD 7.1 laptop I already > have setup. The laptop is up and working fine and I don't want to screw it > up. It have the default partition layout. I've already used geli to encrypt > the swap partition. > > The default partitioning at install creates / /tmp /usr and /var. I thought > I would start with /tmp as I should be able to fix that if I mess up. > > Some questions... > > 1. Will each partition have to be mounted with a password? If you plan on converting existing partitions to geli-backed, then each one will require its own initialization. It's up to you on whether or not you wish to use the same password/keyfile -- or different ones -- for each. I personally experiment with geli all the time, and for convenience, I have my primary drive prompt for a passord at boot time. Under my encrypted drive, I use key files without password to mount other devices. >From my rc.conf file: geli_devices="ad3" geli_ad3_flags="-p -k /etc/geli/ad3.key" geli_ad3_autodetach="NO" (then the appropriate entry for ad3.eli in my fstab) This would probably be unnacceptable to those who wear tin-foil hats and think the NSA is out to get them, but it sure beats typing in a high-entropy password for each and every device/partition in your system. One potential gotchya: If you your primary device gets hosed (hardware failure, lost password, corruption), then you won't be able to access the other devices since you can't get access to your keys. I *strongly* suggest that you back up your key file(s) -- I keep 2, one on the USB stick that I use to boot my machine, and one on a webmail account (both gpg-encrypted, of course). Don't forget to encrypt swap (described in the handbook, I think). > 2. What's the most straight-forward way to go about this without screwing > up? For someone new to this, it would be far easier to start from scratch. However, in your case, I suggest that you free up a partition to start with (/tmp comes to mind here). Experiment with a few "geli init" incantations in order to get it to prompt for a password at boot time, and then mount the device. Mount it under something like /root2 or /newroot. Then, copy your entire content of / over to the new mountpoint (use tar or rsync, and don't forget to exclude other devices). Once you have that mounting at boot and synced up, you can change the / entry in your current /etc/fstab (make sure the new fstab is correct for the new mounts, too). You system will start booting, and you'll be prompted for a password to unlock the new encrypted device. Then, it'll mount / (the new encrytped device), and once that happens, the old / will be essentially ignored since the new one will be mounted over it, so the new fstab and directory structure will assume control. Once that is working, you can migrate other partitions over, one at a time, until all required devices are encrypted. If you don't want to be prompted for passwords for these other devices, you should use keys instead of passwords and use the rc.conf method I mentioned above. Personally, I'd add a 2nd drive, encrypt it wholesale (ad0.eli), then partition that device in whatever way you wish (/dev/ad0.elia, /dev/ad0.elib, etc. by way of "bsdlabel -w ad0.eli ; bsdlabel -e ad0.eli"). Then mount those partitions under a /newroot tree, then rsync your entire filesystem tree over to that, then switch your fstab to point to the new root. (again, don't forget to correctly edit the *new* fstab after you sync, or you'l be hating life as you try to fix the mess from the boot loader prompt or a recovery disk). Moving everything back to your newly-encrypted old drive will be more difficult. I cut my geli teeth on the following docs: http://nullpointer.dk/2007/06/05/encrypting-a-freebsd-system-using-geli/ http://events.ccc.de/congress/2005/fahrplan/attachments/586-paper_Complete_Hard_Disk_Encryption.pdf There appear to be quite a few more decent tutorials online these days. Just google "freebsd geli encryption". The good news is that many of the methods used for crypto (loading modules from /boot/loader.conf) can be applied to things having gjournal or ZFS running on your root device. In fact, I've run ZFS over geli, and I currently use gjournal over geli. Both work very well. Good luck. -- Geoff From freebsd at edvax.de Wed Apr 8 10:18:00 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Apr 8 10:18:07 2009 Subject: Change to Graphical Mode from DOS Mode In-Reply-To: <1bd550a00904080119m1ab4577fk9f0b444f921c6574@mail.gmail.com> References: <1bd550a00904080119m1ab4577fk9f0b444f921c6574@mail.gmail.com> Message-ID: <20090408191740.7769beaa.freebsd@edvax.de> On Wed, 8 Apr 2009 10:19:26 +0200, Fernando Apestegu?a wrote: > FreeBSD is _not_ linux ;) You're right. A german computer magazine wrote that FreeBSD is the better Linux. :-) > > on my PC. But it starts in DOS Mode. > > aka "Console" mode. There is no "DOS mode" in FreeBSD. "Console mode" is correct, as well as "text mode" or even "terminal mode" (last one not used very often). > Once you log in, (use your login name and password), and assuming you > installed some graphical environment, try to type: > > startx Or follow the handbook according to how to install KDE or Gnome which provide the usual means for a full-featured graphical environment. (At this point, I can really recommend reading FreeBSD's excellent documentation in the handbook and in its FAQ, to be found on the main web site.) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Wed Apr 8 10:23:43 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Apr 8 10:23:50 2009 Subject: Change to Graphical Mode from DOS Mode In-Reply-To: References: Message-ID: <20090408192324.dcbae34a.freebsd@edvax.de> On Wed, 8 Apr 2009 13:40:18 +0200 (CEST), Wojciech Puchar wrote: > so he should first learn about unix more. At least to avoid misunderstandings due to wrong terminology. "We UNIX guys" are usually smart enough to know what "DOS mode" refers to, but without correction such a behaviour (accepting it without mentioning that it's plain wrong) will stengthen the belief that there's a "DOS mode" in FreeBSD, or that every text mode interface is called "DOS mode". "When I switched on my modem, it only resets in TSO mode. I want CDE mode, what should I do?" :-) Depending on what environment some user comes from, the terminology chosen may vary. Some words are more advanced than others, but still wrong. > reading FreeBSD handbook is more > than enough. I agree, FreeBSD's excellent documentation gives a very good step-by-step introduction about how to solve this particula problem (and others, too). It isn't that hard to find. > It's NOT DOS, and NOT WINDOWS I'm glad it's not. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From gfritz at gmail.com Wed Apr 8 10:24:06 2009 From: gfritz at gmail.com (Geoff Fritz) Date: Wed Apr 8 10:24:14 2009 Subject: low-level format before install? In-Reply-To: <14CAA4F0-E027-4C28-B53D-A781E8F8CF68@identry.com> References: <13D52068-D184-42D9-AE6C-F095C1283975@identry.com> <3A934D4A-1864-401C-8CD8-86B37EB2B183@identry.com> <20090407204242.GD62574@slackbox.xs4all.nl> <14CAA4F0-E027-4C28-B53D-A781E8F8CF68@identry.com> Message-ID: <20090408172401.GA76244@dev.null> On Tue, Apr 07, 2009 at 05:41:27PM -0400, John Almberg wrote: > Thanks for all the tips. At least I have something to start with. > > The guys in the data center reinstalled FreeBSD (the filesystem was > totally corrupted again), and then ran what they called "SMART test", > which might be smartctl, and said the hard drives look good. > > I am now able to get back in. > > So the system ran fine until I put a load on it with the database > (many transactions a second). This corrupted the file system again. > > So I guess I need to load it enough to produce error messages > (hopefully) but not enough to destroy the file system again. I've had issues with a few hosted servers, and more often than not, it was a bad PSU on the server and/or rack. Assuming that you can't get these folks to run a good hardware diag for you, there are a few things you can do. You can beat up the RAM/cpu with various burn-in programs (I like benchmarks/stream for its simplicity -- you'll need to "make extract", customize, then ,"make install" for your own memory size). You can thrash the disks pretty well with either dd or "badblocks" from sysutils/e2fsprogs, both can be non-destructive. -- Geoff From m.seaman at infracaninophile.co.uk Wed Apr 8 10:27:51 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Apr 8 10:27:58 2009 Subject: geli on exisitng laptop In-Reply-To: <22951183.post@talk.nabble.com> References: <22951183.post@talk.nabble.com> Message-ID: <49DCDE85.2070204@infracaninophile.co.uk> new_guy wrote: > Hi guys, > > I'd like to use geli to whole disk encrypt a FreeBSD 7.1 laptop I already > have setup. The laptop is up and working fine and I don't want to screw it > up. It have the default partition layout. I've already used geli to encrypt > the swap partition. > > The default partitioning at install creates / /tmp /usr and /var. I thought > I would start with /tmp as I should be able to fix that if I mess up. > > Some questions... > > 1. Will each partition have to be mounted with a password? > 2. What's the most straight-forward way to go about this without screwing > up? > > I already have the eli module loaded in the /boot/loader.conf so I won't > need to re-compile, etc. > To convert a partition to geli requires you to wipe out all the contents, scribble over the partition with random data to get rid of any remnants of the unencrypted content, set up the encryption keys and then rebuild the file system and recover the data from backup. Yes, you will need to supply some sort of secret value to retrieve the encrypted disk contents. This is usually configured to mean typing in a passphrase at the time the partition is mounted, although it is also possible to store crypto keys on a removable medium such as USB key -- you don't necessarily have to use a pass phrase in that case, although it's a good idea for the most effective security. Once the partition is mounted, you should be able to take the key out and put it in a safe place and still keep running. Depending on your requirements you can encrypt the whole drive -- which while highly secure requires you to have crypto keys etc. on a removable medium and is a little tricky to get working properly -- or you can create a small unencrypted partition which should contain the kernel and necessary crypto bits (ie. the contents of /boot at a minimum) and then encrypt things partition by partition. You will have to type in a pass phrase to mount each different encrypted partition -- to prevent this becoming too onerous, consider using a 'one big partition' layout. Also note that you should encrypt the swap partition, or someone coming into possession of the laptop may be trivially able to recover secret data from it: this is pretty automated and can be achieved by simply editing /etc/fstab to change the mount device to eg. /dev/ad0s1b.eli and rebooting -- an ephemeral key is used, so no typing passphrases is required in this instance. Setting up a swap-backed tmpmfs will then then give you an encrypted /tmp too. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090408/b99dd0cd/signature.pgp From wtf.jlaine at gmail.com Wed Apr 8 10:33:24 2009 From: wtf.jlaine at gmail.com (Jeff Laine) Date: Wed Apr 8 10:33:32 2009 Subject: firefox3 with high latencies when acting with mouse or keyboard and graphics refresh In-Reply-To: <49DCA9E0.6000109@zedat.fu-berlin.de> References: <49DCA9E0.6000109@zedat.fu-berlin.de> Message-ID: <20090408173319.GA2370@free.bsd.loc> On Wed, Apr 08, 2009 at 01:42:56PM +0000, O. Hartmann wrote: > Hello, > got a problem since yesterday after having done a lot of updates > (ports): on all of my FreeBSD 8.0-CURRENT/amd64 boxes firefox does have > enormous high latencies when typing in or moving the mouse or popping up > the window icon or down. Since this happens on all of 8.0-CUR/amd boxes, > I guess it has something to do with an upgrade of the ports. > > I reinstalled firefox twice, but without success, so I want to ask for > some hints.. > > Regards, > Oliver It is unlikely your case, but I've had similar issues with firefox on my laptop with intel video under 7.2-PRERELEASE. Setting video driver option "AccelMethod" to old XAA mode in xorg.conf helped a lot. -- Best regards, Jeff | "Nobody wants to say how this works. | | Maybe nobody knows ..." | | Xorg.conf(5) | From rsmith at xs4all.nl Wed Apr 8 10:40:30 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Apr 8 10:40:38 2009 Subject: geli on exisitng laptop In-Reply-To: <22951183.post@talk.nabble.com> References: <22951183.post@talk.nabble.com> Message-ID: <20090408174027.GB97995@slackbox.xs4all.nl> On Wed, Apr 08, 2009 at 07:06:27AM -0700, new_guy wrote: > > Hi guys, > > I'd like to use geli to whole disk encrypt a FreeBSD 7.1 laptop I already > have setup. The laptop is up and working fine and I don't want to screw it > up. It have the default partition layout. I've already used geli to encrypt > the swap partition. > > The default partitioning at install creates / /tmp /usr and /var. I thought > I would start with /tmp as I should be able to fix that if I mess up. > > Some questions... > > 1. Will each partition have to be mounted with a password? You can use a password, a file containing a key or both. See geli(8). The security of an encrypted partition relying solely on a key from another partition is qeustionable at least. > 2. What's the most straight-forward way to go about this without screwing > up? You cannot encrypt the whole disk. You'll need an unencrypted /boot partition to read the kernel from, and unencrypted boot sector. Furthermore, you cannot encrypt a partition in place. You'll have to move the data somewhere else, unmount the partition, encrypt it, newfs it, attach and mount the encrypted partition and restore the data Personally, I think there is little value or security in encrypting / and /usr. There is really nothing secret there. One could even argue that the well-known content of / might /usr might facilitate known plaintext attacks! The only possible reason is to inconvenience a thief, but one might argue that putting anything but windows on it accomplishes that quite nicely. :-) And if your laptop is not a powerhouse, using encryption is going to eat CPU cycles. My advice would be to put /home (where _your_ data resides) on a seperate partition and encrypt only that partition, with a password. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090408/0362e21d/attachment.pgp From rwmaillists at googlemail.com Wed Apr 8 10:46:12 2009 From: rwmaillists at googlemail.com (RW) Date: Wed Apr 8 10:46:19 2009 Subject: Xorg and nvidia-driver-173 ABI Message-ID: <20090408184603.0a3540ed@gumby.homeunix.com> I picked-up the most recent xorg update a couple of days ago, and since then X has been failing to start with the binary nvidia driver, and is leaving the following in Xorg.0.log: (EE) NVIDIA(0): This video driver ABI is not supported. (EE) NVIDIA(0): Use the -ignoreABI option to override this check. -ignoreABI doesn't help. I presume that nvidia will eventually fix this for the current driver, but I'm using the legacy driver port x11/nvidia-driver-173. Is there any prospect of the nvidia driver working again on my hardware? If the answer is no, would the nv driver benefit from a switch from i386 to amd64. From byte8bits at gmail.com Wed Apr 8 10:48:32 2009 From: byte8bits at gmail.com (new_guy) Date: Wed Apr 8 10:49:08 2009 Subject: geli on exisitng laptop In-Reply-To: <20090408174027.GB97995@slackbox.xs4all.nl> References: <22951183.post@talk.nabble.com> <20090408174027.GB97995@slackbox.xs4all.nl> Message-ID: <22956085.post@talk.nabble.com> Roland Smith wrote: > > My advice would be to put /home (where _your_ data resides) on a > seperate partition and encrypt only that partition, with a password. > Thanks to everyone for the advice. I really do appreciate it. I like this tip a lot. Since the default FreeBSD installer puts /home as a link to /usr/home... could I just encrypt /usr and get the same result? I'm thinking this would be the best way. Thanks again for the Great tips! -- View this message in context: http://www.nabble.com/geli-on-exisitng-laptop-tp22951183p22956085.html Sent from the freebsd-questions mailing list archive at Nabble.com. From mark at summersault.com Wed Apr 8 11:25:07 2009 From: mark at summersault.com (Mark Stosberg) Date: Wed Apr 8 11:25:15 2009 Subject: recovering from a missing package database? Message-ID: <20090408142452.2ccde62b@summersault.com> -- . . . . . . . . . . . . . . . . . . . . . . . . . . . Mark Stosberg Principal Developer mark@summersault.com Summersault, LLC 765-939-9301 ext 202 database driven websites . . . . . http://www.summersault.com/ . . . . . . . . From mark at summersault.com Wed Apr 8 11:30:04 2009 From: mark at summersault.com (Mark Stosberg) Date: Wed Apr 8 11:30:11 2009 Subject: Recovering loss of /var/db/pkg ? Message-ID: <20090408142932.695c07ce@summersault.com> I'll just say it plainly: /var/db/pkg is long gone and there is no backup. It was not copied to new a machine. Is there is any hope of being able to use the ports or packages system in a meangingful way again? My sense is that some recovery is possible, but may be prohibitively expensive. Thanks for any tips! Mark From pcc at gmx.net Wed Apr 8 11:34:01 2009 From: pcc at gmx.net (Peter Cornelius) Date: Wed Apr 8 11:34:10 2009 Subject: getfib? Message-ID: <20090408183356.142910@gmx.net> Dear list, Now, there, we've got setfib(1). Very well. But -- how do I figure out the FIB associated with a running process? Thanks, Peter. --- [1] setfib(1), cf. http://www.freebsd.org/cgi/man.cgi?query=setfib&sektion=1&apropos=0&manpath=FreeBSD+8-current -- Psssst! Schon vom neuen GMX MultiMessenger geh?rt? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 From Ggatten at waddell.com Wed Apr 8 12:01:29 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed Apr 8 12:01:35 2009 Subject: sorta newb help compiling samba Message-ID: <70C0964126D66F458E688618E1CD008A0793E92E@WADPEXV0.waddell.com> Good afternoon, I've been playing with various flavors of *nix off and on for almost twenty years, but not doing much development the make process often causes me issues - as is the case with samba. I'm running freebsd 6.0. I've tried installing three different versions of samba from ports and none of them complete. I downloaded the 3.3.3 port and tried to make it, but it fails as well with the error below: libsmb/clikrb5.c: In function `krb5_set_real_time': libsmb/clikrb5.c:132: error: dereferencing pointer to incomplete type libsmb/clikrb5.c:133: error: dereferencing pointer to incomplete type The following command failed: cc -I. -I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source -I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/usr/local/include -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -I/usr/local/include -DLDAP_DEPRECATED -O2 -fno-strict-aliasing -pipe -DLDAP_DEPRECATED -O -D_SAMBA_BUILD_=3 -I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source/lib -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/clikrb5.c -o libsmb/clikrb5.o gmake: *** [libsmb/clikrb5.o] Error 1 *** Error code 2 Stop in /usr/ports/net/samba33/samba33. *** Error code 1 Stop in /usr/ports/net/samba33/samba33. I also search for a package but could not find. Any advice would be greatly appreciated. Trying to integrate FreeRADIUS with AD and I'm kinda stuck. Thanks in advance! Gary
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From fbsdlists at gmail.com Wed Apr 8 12:24:02 2009 From: fbsdlists at gmail.com (Bob Johnson) Date: Wed Apr 8 12:24:18 2009 Subject: new package system proposal In-Reply-To: <200904080859.41807.j.mckeown@ru.ac.za> References: <49D76B02.4060201@onetel.com> <54db43990904071435h5dc1e854p2e9892ac666aea35@mail.gmail.com> <200904080859.41807.j.mckeown@ru.ac.za> Message-ID: <54db43990904081224l7c006143icac411c482401620@mail.gmail.com> On 4/8/09, Jonathan McKeown wrote: > On Tuesday 07 April 2009 23:35:03 Bob Johnson wrote: >> On 4/4/09, Chris Whitehouse wrote: >> > Hi all >> >> [...] >> >> > My suggestion is to start with a ports tree that is fixed in time. Make >> > that ports tree available as part of this package system and compile a >> > typical desktop set of ports, particularly choosing ones which are large >> > or have many dependencies. When it is all complete release it and start >> > again. Surely quite a wide selection of desktops, wm's and apps could be >> > compiled in a couple of weeks? >> >> How is it an improvement over the existing tools? I must be missing >> something, because it sounds to me like you are merely asking that >> there be more ports made available as packages than are now offered. > > I think what you're missing is the suggestion to bundle a set of pre-built > packages with a snapshot of the ports tree used to build them. Currently > it's > difficult to mix and match packages and ports because the versions of > dependencies are likely to differ between the package and the local version > of the ports tree. If you know you have the same ports tree your packages > were built from, you can much more easily combine pre-built packages and > local builds from source. OK, I see now. > > This has clear advantages. At the moment, unless you're very lucky with your > timing, you tend to find that as soon as you want to build one port from > source (perhaps to fiddle with the configuration) you have to stop using > prebuilt packages altogether. > I've not really had a lot of trouble with that, although it sometimes causes problems. OK, with something big like KDE it causes problems. > The drawback I can see is the disk space required to keep several > generations > of packages online - if the package-port bundle is rebuilt every three > weeks, > let's say, and you want to keep 6 months' worth of packages online, you need > to keep 9 complete versions available. > I think a bigger drawback is the security issue. As soon as any package in the collection has a significant announced security flaw, you are faced with the choice of withdrawing the entire collection, withdrawing only that package, or leaving the flawed package out there for people to use because it is more convenient for them. At the very least, it creates a management headache for whomever has to make the decisions. > Chris's suggestion is certainly more than just a request for more packages, > though. > It seems to me that a great deal of what his suggestion would accomplish would be accomplished by building a very extensive set of packages once a week or so, so that it is easy to do binary updates of anything that needs updating. For many, that should solve the bulk of the problem. And because most ports don't change weekly, the week-to-week changes shouldn't be unmanageably large. That could also be a starting point for implementing his full suggestion. Keeping around week-to-week deltas rather than an entire collection would reduce the storage requirement substantially. PC-BSD seems to already keep up-to-date binary packages of their applications. Do they accomplish that by only offering a small subset of the full ports collection? -- -- Bob Johnson fbsdlists@gmail.com From freebsd-questions-local at be-well.ilk.org Wed Apr 8 12:29:37 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed Apr 8 12:29:46 2009 Subject: Recovering loss of /var/db/pkg ? In-Reply-To: <20090408142932.695c07ce@summersault.com> (Mark Stosberg's message of "Wed\, 8 Apr 2009 14\:29\:32 -0400") References: <20090408142932.695c07ce@summersault.com> Message-ID: <44iqlf2bc1.fsf@be-well.ilk.org> Mark Stosberg writes: > I'll just say it plainly: > > /var/db/pkg is long gone and there is no backup. It was not copied to > new a machine. > > Is there is any hope of being able to use the ports or packages system in a > meangingful way again? > > My sense is that some recovery is possible, but may be prohibitively expensive. You can do a forced reinstall of all your ports, and you'll end up with a repopulated ports database. It will take a lot of clock time, but not much human time. It's not necessarily easy to figure out what all of the ports were, but there are a number of choices. If you can wipe out most of /usr/local and rebuild the ports, you can reinstall everything you want, and the database will be repopulated in the process. That's the easiest approach to understand, but involves considerable downtime. Another alternative would be to install all the ports to a non-standard PREFIX, and use the results of that to tell you which ports need to be reinstalled to the standard PREFIX. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From rsmith at xs4all.nl Wed Apr 8 12:50:01 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Apr 8 12:50:09 2009 Subject: geli on exisitng laptop In-Reply-To: <22956085.post@talk.nabble.com> References: <22951183.post@talk.nabble.com> <20090408174027.GB97995@slackbox.xs4all.nl> <22956085.post@talk.nabble.com> Message-ID: <20090408194959.GA2322@slackbox.xs4all.nl> On Wed, Apr 08, 2009 at 10:48:31AM -0700, new_guy wrote: > > > Roland Smith wrote: > > > > My advice would be to put /home (where _your_ data resides) on a > > seperate partition and encrypt only that partition, with a password. > > Thanks to everyone for the advice. I really do appreciate it. I like this > tip a lot. Since the default FreeBSD installer puts /home as a link to > /usr/home... could I just encrypt /usr and get the same result? I'm thinking > this would be the best way. You could do that. But since enabling encryption effectively destroys the data on the old partition, you might as well split the old /usr into /usr and /home while you're at it. On my workstation /usr fills about 5GB. So reserving 5-8GB for /usr should be plenty. An encrypted /usr can be a PITA if you have to boot into single user mode for maintenance. You'd have to attach and mount the geli device by hand, instead of having the rc scripts automate it. A word of warning: make sure you have good recent backups before enabling encryption, in case it becomes FUBAR. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090408/5df91a7b/attachment.pgp From emailrob at emailrob.com Wed Apr 8 13:03:53 2009 From: emailrob at emailrob.com (spellberg_robert) Date: Wed Apr 8 13:04:00 2009 Subject: [ fbsd_quest ] file_caching and hd caches Message-ID: <49DCE5AD.70306@emailrob.com> howdy, y'all --- so, i was looking over the offerings of the on_line retailing "usual suspects", when i got to thinking: q: to what extent does freebsd cache recently_used hard_drive files ? q: under freebsd, to what extent are hard_drive internal_caches and their sizes [ e. g., 2mb, 8mb, 16mb ] important ? i am not so much looking for a history_ and theory_of_operation as i am looking for a "yes/no" to the question: q: should i pay up for hd_cache, if the other hd parameters are the same ? something else that i just thought up while typing this: q: are hd internal_caches non_volatile ? id est, q: do the cache contents survive a power_cycle ? [ some supplementary "fyi"s: yes, i am aware that hd access_times are a relative "eternity" to a chip_set's hd_port. i am not thinking about ram_size and swap_size and "thrashing"; all of my boxen have plenty of ram. i know i have to read it in the first time. rather, i am thinking about opening and reading some file that i recently wrote and closed. ] in advance, i thank you. please cc. rob ps --- remember, slavery sucks; so, have a happy pesach. From claudiu.vasadi at gmail.com Wed Apr 8 13:43:24 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Wed Apr 8 13:43:36 2009 Subject: sorta newb help compiling samba In-Reply-To: <70C0964126D66F458E688618E1CD008A0793E939@WADPEXV0.waddell.com> References: <70C0964126D66F458E688618E1CD008A0793E92E@WADPEXV0.waddell.com> <70C0964126D66F458E688618E1CD008A0793E939@WADPEXV0.waddell.com> Message-ID: On Wed, 08 Apr 2009 23:39:55 +0300, Gary Gatten wrote: > I found a 3.3.1 package - if my current attempts at the port upgrades > fails I'll try this route. > > Thanks again! > > Gary Hey, If I were you, first of all, I would try the "make clean; make distclean;make rmconfig; make install clean" thinghy first. But then again, I'm not you :P. So wish you pull it off eventually. Good luck, Claudius From lconrad at Go2France.com Wed Apr 8 14:08:47 2009 From: lconrad at Go2France.com (Len Conrad) Date: Wed Apr 8 14:08:54 2009 Subject: (no subject) Message-ID: <200904082253.AA2466447562@mail.Go2France.com> We need to print a line when the 3rd field (with trailing ";" delimiter) is, eg, exactly 5 lower case characters awk ' $3 ~ /^[a-z]{5,5};$/ {print $0} ' file ... doesn't work. Suggestions? thanks Len From kientzle at freebsd.org Wed Apr 8 14:13:53 2009 From: kientzle at freebsd.org (Tim Kientzle) Date: Wed Apr 8 14:14:00 2009 Subject: firefox3 with high latencies when acting with mouse or keyboard and graphics refresh In-Reply-To: <49DCA9E0.6000109@zedat.fu-berlin.de> References: <49DCA9E0.6000109@zedat.fu-berlin.de> Message-ID: <49DD0A57.7020701@freebsd.org> I saw something similar recently due to a mismatch between hald and the xorg server. In my case, it affected all applications, not just firefox. * Are you running hald? * Do you have "AllowEmptyInput" set in /etc/X11/xorg.conf? * Are you starting xdm, kdm, or gdm from /etc/ttys? Tim O. Hartmann wrote: > Hello, > got a problem since yesterday after having done a lot of updates > (ports): on all of my FreeBSD 8.0-CURRENT/amd64 boxes firefox does have > enormous high latencies when typing in or moving the mouse or popping up > the window icon or down. Since this happens on all of 8.0-CUR/amd boxes, > I guess it has something to do with an upgrade of the ports. > > I reinstalled firefox twice, but without success, so I want to ask for > some hints.. > > Regards, > Oliver > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > From lconrad at Go2France.com Wed Apr 8 14:16:26 2009 From: lconrad at Go2France.com (Len Conrad) Date: Wed Apr 8 14:16:33 2009 Subject: (no subject) Message-ID: <200904082300.AA2469003466@mail.Go2France.com> We need to print a line when the 3rd field (with trailing ";" delimiter) is, eg, exactly 5 lower case characters awk ' $3 ~ /^[a-z]{5,5};$/ {print $0} ' file ... doesn't work. Suggestions? thanks Len From roberthuff at rcn.com Wed Apr 8 14:49:23 2009 From: roberthuff at rcn.com (Robert Huff) Date: Wed Apr 8 14:49:29 2009 Subject: Recovering loss of /var/db/pkg ? In-Reply-To: <44iqlf2bc1.fsf@be-well.ilk.org> References: <20090408142932.695c07ce@summersault.com> <44iqlf2bc1.fsf@be-well.ilk.org> Message-ID: <18909.7099.473247.432680@jerusalem.litteratus.org> Lowell Gilbert writes: > > /var/db/pkg is long gone and there is no backup. It was not copied to > > new a machine. > > > > Is there is any hope of being able to use the ports or packages > > system in a meangingful way again? > > You can do a forced reinstall of all your ports, and you'll end > up with a repopulated ports database. It will take a lot of > clock time, but not much human time. Assuming everything goes cleanly. > It's not necessarily easy to figure out what all of the ports > were, but there are a number of choices. It will make life ... interesting ... if the OP ever wants to update. I'm not sure I fully understand the original question. However: I have ~950 ports on the current box. At one point I lost /var/db/pkg and needed to rebuild. Remembering some of what was installed was easy - OpenOffice, FireFox, java, gnome/kde, etc., all of which draw in large numbers of (cummonly-used) dependencies. But there were others I would have had no hope of even remembering I had installed. Then I realized I still had /usr/ports/distfiles, and most of the tarball names give you enough clue you can correctly guess the package from /usr/ports INDEX. If I knew anything about the MASTER_SITES (I think) variable(s ?) I could porbably have written a script. (For those who go this route, the "pkg_sort" program that comes with portupgrade will be useful.) Robert huff From wblock at wonkity.com Wed Apr 8 15:03:45 2009 From: wblock at wonkity.com (Warren Block) Date: Wed Apr 8 15:03:53 2009 Subject: [ fbsd_quest ] file_caching and hd caches In-Reply-To: <49DCE5AD.70306@emailrob.com> References: <49DCE5AD.70306@emailrob.com> Message-ID: On Wed, 8 Apr 2009, spellberg_robert wrote: > howdy, y'all --- > > so, i was looking over the offerings of the on_line retailing "usual > suspects", > when i got to thinking: > > q: to what extent does freebsd cache recently_used hard_drive files ? To the extent that RAM is available. > q: under freebsd, to what extent are > hard_drive internal_caches and their sizes [ e. g., 2mb, 8mb, 16mb ] > important ? It depends on workload. > i am not so much looking for a history_ and theory_of_operation as > i am looking for a "yes/no" to the question: > > q: should i pay up for hd_cache, if the other hd parameters are the same ? Again, depends on workload. Also the difference in price for relatively small differences in cache RAM on the hard drive. > something else that i just thought up while typing this: > > q: are hd internal_caches non_volatile ? No. > id est, > > q: do the cache contents survive a power_cycle ? No. You may want to look at SSDs. > [ some supplementary "fyi"s: > > yes, i am aware that > hd access_times are a relative "eternity" to a chip_set's hd_port. > > i am not thinking about ram_size and swap_size and "thrashing"; > all of my boxen have plenty of ram. > > i know i have to read it in the first time. > rather, i am thinking about opening and reading > some file that i recently wrote and closed. FreeBSD is pretty good at that. For example, reboot and start Firefox. Then close it and start it again. There may be ways of prioritizing what's kept in cache, although I don't know them. -Warren Block * Rapid City, South Dakota USA From Ggatten at waddell.com Wed Apr 8 15:08:57 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed Apr 8 15:09:03 2009 Subject: sorta newb help compiling samba In-Reply-To: References: <70C0964126D66F458E688618E1CD008A0793E92E@WADPEXV0.waddell.com> <70C0964126D66F458E688618E1CD008A0793E939@WADPEXV0.waddell.com> Message-ID: <70C0964126D66F458E688618E1CD008A0793E943@WADPEXV0.waddell.com> Latest error below. Going with the pkg_add... libsmb/clikrb5.c: In function `krb5_set_real_time': libsmb/clikrb5.c:132: error: dereferencing pointer to incomplete type libsmb/clikrb5.c:133: error: dereferencing pointer to incomplete type The following command failed: cc -I. -I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source -I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/usr/local/include -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -I/usr/local/include -DLDAP_DEPRECATED -O2 -fno-strict-aliasing -pipe -DLDAP_DEPRECATED -O -D_SAMBA_BUILD_=3 -I/usr/local/include -I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source/lib -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/clikrb5.c -o libsmb/clikrb5.o gmake: *** [libsmb/clikrb5.o] Error 1 *** Error code 2 Stop in /usr/ports/net/samba33/samba33. *** Error code 1 -----Original Message----- From: Vasadi I. Claudiu Florin [mailto:claudiu.vasadi@gmail.com] Sent: Wednesday, April 08, 2009 3:41 PM To: Gary Gatten Cc: freebsd-questions@freebsd.org Subject: Re: sorta newb help compiling samba On Wed, 08 Apr 2009 23:39:55 +0300, Gary Gatten wrote: > I found a 3.3.1 package - if my current attempts at the port upgrades > fails I'll try this route. > > Thanks again! > > Gary Hey, If I were you, first of all, I would try the "make clean; make distclean;make rmconfig; make install clean" thinghy first. But then again, I'm not you :P. So wish you pull it off eventually. Good luck, Claudius
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From wblock at wonkity.com Wed Apr 8 15:11:22 2009 From: wblock at wonkity.com (Warren Block) Date: Wed Apr 8 15:11:29 2009 Subject: awk field (was Re: (no subject)) In-Reply-To: <200904082253.AA2466447562@mail.Go2France.com> References: <200904082253.AA2466447562@mail.Go2France.com> Message-ID: On Wed, 8 Apr 2009, Len Conrad wrote: > > We need to print a line when the 3rd field (with trailing ";" delimiter) is, eg, exactly 5 lower case characters > > awk ' $3 ~ /^[a-z]{5,5};$/ {print $0} ' file > > ... doesn't work. > > Suggestions? Please give an example of the line this doesn't work on, and exactly what you want it to do. "{5}" is probably acceptable instead of "{5,5}". I don't do much awk, but here's a Perl example: perl -e '$x = "abcde;"; print "Yes\n" if $x =~ /^[a-z]{5};$/' -Warren Block * Rapid City, South Dakota USA From af300wsm at gmail.com Wed Apr 8 15:23:29 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Wed Apr 8 15:23:37 2009 Subject: where is spl_autoload found in PHP In-Reply-To: <26ddd1750904061304v60074db1m104350779825550d@mail.gmail.com> Message-ID: <00163646d5f0ab65bd04671294fa@google.com> On Apr 6, 2009 2:04pm, Maxim Khitrov wrote: > On Mon, Apr 6, 2009 at 3:13 PM, af300wsm@gmail.com> wrote: > > Hi, > > > > I saw Zend in the ports and so I'm hoping that some here use it and can > help > > me with this one. I've installed the latest stable Zend, which is a > little > > newer than what I found in ports, and I'm running PHP version 5.2.8 > (which I > > did install from ports). I'm going through the Zend QuickStart guide > > > (http://framework.zend.com/docs/quickstart/create-an-action-controller-and-view), > > and ran into this error when loading the page at this point of the quick > > start; > > > > Fatal error: Uncaught exception 'Zend_Exception' with > message 'spl_autoload > > does not exist in this PHP installation' in > > /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php:206 > Stack > > trace: #0 /usr/local/www/apache22/data/QuickStart/public/index.php(18): > > Zend_Loader::registerAutoload() #1 {main} thrown in > > /usr/local/www/apache22/data/QuickStart/library/Zend/Loader.php on line > 206 > > > > I've searched through the ports looking for auto and load in php5 > modules > > and I've found nothing (I did my searching at freshports.org). I then > did a > > make config in the /usr/ports/lang/php5 directory but didn't see a > check box > > for spl_autoload in the options. How do I get this installed in my PHP > > installation? > devel/php5-spl Thank you very much. I'm not sure I'd have found that too easily. Andy From Ggatten at waddell.com Wed Apr 8 15:36:17 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Wed Apr 8 15:36:26 2009 Subject: sorta newb help compiling samba In-Reply-To: <70C0964126D66F458E688618E1CD008A0793E943@WADPEXV0.waddell.com> References: <70C0964126D66F458E688618E1CD008A0793E92E@WADPEXV0.waddell.com><70C0964126D66F458E688618E1CD008A0793E939@WADPEXV0.waddell.com> <70C0964126D66F458E688618E1CD008A0793E943@WADPEXV0.waddell.com> Message-ID: <70C0964126D66F458E688618E1CD008A0793E945@WADPEXV0.waddell.com> LOL - pkg_add failed, couldn't find openLDAP! I thought ports and packages was supposed to automagically address all the dependencies! Trying to install krb5 now - couple other users reported same issue I had so maybe recent port is fixed. Did I mention how much fun this is?! -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Gary Gatten Sent: Wednesday, April 08, 2009 5:08 PM To: Vasadi I. Claudiu Florin Cc: freebsd-questions@freebsd.org Subject: RE: sorta newb help compiling samba Latest error below. Going with the pkg_add... libsmb/clikrb5.c: In function `krb5_set_real_time': libsmb/clikrb5.c:132: error: dereferencing pointer to incomplete type libsmb/clikrb5.c:133: error: dereferencing pointer to incomplete type The following command failed: cc -I. -I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source -I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/usr/local/include -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -I/usr/local/include -DLDAP_DEPRECATED -O2 -fno-strict-aliasing -pipe -DLDAP_DEPRECATED -O -D_SAMBA_BUILD_=3 -I/usr/local/include -I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source/lib -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/clikrb5.c -o libsmb/clikrb5.o gmake: *** [libsmb/clikrb5.o] Error 1 *** Error code 2 Stop in /usr/ports/net/samba33/samba33. *** Error code 1 -----Original Message----- From: Vasadi I. Claudiu Florin [mailto:claudiu.vasadi@gmail.com] Sent: Wednesday, April 08, 2009 3:41 PM To: Gary Gatten Cc: freebsd-questions@freebsd.org Subject: Re: sorta newb help compiling samba On Wed, 08 Apr 2009 23:39:55 +0300, Gary Gatten wrote: > I found a 3.3.1 package - if my current attempts at the port upgrades > fails I'll try this route. > > Thanks again! > > Gary Hey, If I were you, first of all, I would try the "make clean; make distclean;make rmconfig; make install clean" thinghy first. But then again, I'm not you :P. So wish you pull it off eventually. Good luck, Claudius
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From wojtek at wojtek.tensor.gdynia.pl Wed Apr 8 16:37:33 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Apr 8 16:37:40 2009 Subject: [ fbsd_quest ] file_caching and hd caches In-Reply-To: References: <49DCE5AD.70306@emailrob.com> Message-ID: >> hard_drive internal_caches and their sizes [ e. g., 2mb, 8mb, 16mb ] >> important ? > > It depends on workload. almost not important. if FreeBSD would support NCQ it will be more, but still anything above 4MB doesn't make a difference IMHO. From emailrob at emailrob.com Wed Apr 8 17:27:51 2009 From: emailrob at emailrob.com (spellberg_robert) Date: Wed Apr 8 17:27:58 2009 Subject: [ fbsd_quest ] file_caching and hd caches References: <49DCE5AD.70306@emailrob.com> Message-ID: <49DD32FD.8080800@emailrob.com> thanks, warren [ love your dot_com, btw ] --- Warren Block wrote: > On Wed, 8 Apr 2009, spellberg_robert wrote: > >> howdy, y'all --- >> >> so, i was looking over the offerings of the on_line retailing "usual >> suspects", >> when i got to thinking: >> >> q: to what extent does freebsd cache recently_used hard_drive files ? > > > To the extent that RAM is available. > >> q: under freebsd, to what extent are >> hard_drive internal_caches and their sizes [ e. g., 2mb, 8mb, >> 16mb ] >> important ? > > > It depends on workload. > >> i am not so much looking for a history_ and theory_of_operation as >> i am looking for a "yes/no" to the question: >> >> q: should i pay up for hd_cache, if the other hd parameters are the >> same ? > > > Again, depends on workload. Also the difference in price for relatively > small differences in cache RAM on the hard drive. now that i have a handle on today's prices, the choice of retailer is very important. it also appears [ from my reading of manufacturer's literature ] that the hd internal_cache is used as a write_buffer for the benefit of the chip_set, then the drive can take its own sweet time writing to its notion of "sector"s. therefore, for a mobo that is stuffed_to_the_gills with ram [ relative to the apps that it is running ], if i read you correctly, then reads will tend to come from mobo_ram and the hd_cache is mostly a write_buffer. i suspect that the hd_cache would be more important for an os that doesn't do its own caching [ until its notion of "idle"ness occurs ]. > >> something else that i just thought up while typing this: >> >> q: are hd internal_caches non_volatile ? > > > No. not surprised. > >> id est, >> >> q: do the cache contents survive a power_cycle ? > > > No. You may want to look at SSDs. understood. > >> [ some supplementary "fyi"s: >> >> yes, i am aware that >> hd access_times are a relative "eternity" to a chip_set's hd_port. >> >> i am not thinking about ram_size and swap_size and "thrashing"; >> all of my boxen have plenty of ram. >> >> i know i have to read it in the first time. >> rather, i am thinking about opening and reading >> some file that i recently wrote and closed. > > > FreeBSD is pretty good at that. For example, reboot and start Firefox. > Then close it and start it again. understood. > > There may be ways of prioritizing what's kept in cache, although I don't > know them. not important. thanks for the thought, though. to summarize, it looks like, for freebsd, i should "get a good price from a reputable retailer on a high_quality product from a reputable manufacturer". then, i can save my worrying_time for really important subjects, like "the determination of the correct yardarm height for the hanging of pirates". > > -Warren Block * Rapid City, South Dakota USA nice part of the country, that. chicago & north western territory. rob mchenry county, illinois From yuri at rawbw.com Wed Apr 8 20:50:43 2009 From: yuri at rawbw.com (Yuri) Date: Wed Apr 8 20:50:50 2009 Subject: Why USB enclosure with HD isn't a block device? Message-ID: <49DD7091.3080900@rawbw.com> I got USB enclosure and put HD there. I tried to create NTFS on it (using mkntfs from sysutils/ntfsprogs). And got the message: /dev/da0 is not a block device. Refusing to make a filesystem here! mkntfs does 'stat' on /dev/da0. Why /dev/da0 stats not as a block device? Yuri From on at cs.ait.ac.th Wed Apr 8 21:06:30 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Wed Apr 8 21:06:37 2009 Subject: Why USB enclosure with HD isn't a block device? In-Reply-To: <49DD7091.3080900@rawbw.com> (message from Yuri on Wed, 08 Apr 2009 20:50:41 -0700) References: <49DD7091.3080900@rawbw.com> Message-ID: <200904090406.n3946Rsc076562@banyan.cs.ait.ac.th> > And got the message: > /dev/da0 is not a block device. > Refusing to make a filesystem here! Just a wild guess, but shouldn't you create slices first? Then create the filesystem on /dev/da0s1 Bests, Olivier From yuri at rawbw.com Wed Apr 8 21:25:24 2009 From: yuri at rawbw.com (Yuri) Date: Wed Apr 8 21:25:30 2009 Subject: Why USB enclosure with HD isn't a block device? In-Reply-To: <200904090406.n3946Rsc076562@banyan.cs.ait.ac.th> References: <49DD7091.3080900@rawbw.com> <200904090406.n3946Rsc076562@banyan.cs.ait.ac.th> Message-ID: <49DD78A3.9060703@rawbw.com> Olivier Nicole wrote: > Just a wild guess, but shouldn't you create slices first? > > Then create the filesystem on /dev/da0s1 > > Bests, > > Olivier > This as a must in the past. But now I always format, for example flash disks, without slices. And both Windows and FreeBSD have no problem. And I think /dev/da0 for US enclosure actually should be a block device like all disks. I think this is a bug. Yuri From rsmith at xs4all.nl Wed Apr 8 22:39:00 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Apr 8 22:39:07 2009 Subject: Why USB enclosure with HD isn't a block device? In-Reply-To: <49DD7091.3080900@rawbw.com> References: <49DD7091.3080900@rawbw.com> Message-ID: <20090409053851.GA18705@slackbox.xs4all.nl> On Wed, Apr 08, 2009 at 08:50:41PM -0700, Yuri wrote: > I got USB enclosure and put HD there. > I tried to create NTFS on it (using mkntfs from sysutils/ntfsprogs). > > And got the message: > /dev/da0 is not a block device. > Refusing to make a filesystem here! > > mkntfs does 'stat' on /dev/da0. > Why /dev/da0 stats not as a block device? FreeBSD doesn't have block devices anymore. Try 'ls -l /dev/|less' and you'll see that every device's permissions begin with a 'c' for character devices. See [http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html] as to the reason why. The complaint from mkntfs is probably a linuxism. Isn't there an override switch? On FreeBSD, the test should probably test for a character device. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090409/fc23684c/attachment.pgp From j.mckeown at ru.ac.za Thu Apr 9 00:16:23 2009 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Thu Apr 9 00:16:31 2009 Subject: new package system proposal In-Reply-To: <54db43990904081224l7c006143icac411c482401620@mail.gmail.com> References: <49D76B02.4060201@onetel.com> <200904080859.41807.j.mckeown@ru.ac.za> <54db43990904081224l7c006143icac411c482401620@mail.gmail.com> Message-ID: <200904090916.12786.j.mckeown@ru.ac.za> On Wednesday 08 April 2009 21:24:00 Bob Johnson wrote: > PC-BSD seems to already keep up-to-date binary packages of their > applications. Do they accomplish that by only offering a small subset > of the full ports collection? Yes - have a look at . I installed PC-BSD on a spare machine to investigate it. The first three ports/metaports I tried to install after completing the base setup were emacs, TeTeX and the Psi Jabber/XMPP client. None of those was available, and after seeing how few prebuilt packages there were in all categories, I gave up. My personal view is that PC-BSD gives the end user an impressive and reasonably slick computer-as-appliance with some ability to customise and still stay ``on the path''. For people who need that, PC-BSD is what they need. My feeling, though, is that anyone who finds themselves wanting to install a bunch of stuff from outside the PBI system (in other words, from ports, which are still there under the hood of PC-BSD) will soon want to switch to mainstream FreeBSD. As such PC-BSD has the potential to be an effective ``gateway drug''(!) Jonathan From Pieter.Donche at ua.ac.be Thu Apr 9 00:41:34 2009 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Thu Apr 9 00:41:41 2009 Subject: cannot kill process with kill -9 Message-ID: FreeBSD 7: I have a mount_nfs process that refuses to get killed : # ps -jaxw | grep mount root 60342 1 60289 60289 0 D ?? 0:00.00 mount_nfs fenix.cmi.ua.ac.be:/opt /home/nfs/fenix/opt This was called from a script, run bij root cron during the night (does an NFS mount of a file system of a remote system and makes a backup) I killed the parent processes: the shell executing the script, the script, the mount process that calls mount_nfs, leaving me with that last remaining process: # kill -9 60342 doesn't do anything # kill -9 -60289 (60289 is the PGID, see man kill) doesn't do anything either How to I get this process killed? From mailing at gaturkey.com Thu Apr 9 00:44:43 2009 From: mailing at gaturkey.com (Global Access Travel) Date: Thu Apr 9 00:45:29 2009 Subject: Private Shore Excursions-Turkey Message-ID: [http://www.turkeycalling.us] PRIVATE SHORE EXCURSIONS- TURKEY Your cruise clients will make the best of their time in Turkey on a private shore excursion! Istanbul Kusadasi & Ephesus [mailto:incoming@gaturkey.com?subject=Private Shore Excursions- Turkey] **************************************************************************** Yasal Uyar?; Bu e-posta, sadece adreste belirtilen kisi veya kurulusun kullanimini hedeflemekte olup,mesajda yer alan bilgiler kisiye ozel ve gizli olabilir, yasalar ya da anlasmalar geregi ?c?nc? kisiler ile paylasilmasi m?mk?n olmayabilir.Mesaji alan kisi, mesajin g?nderilmek istendigi kisi veya kurulus degilse,bu mesaji yaymak,dagitmak veya kopyalamak yasaktir Mesaj tarafiniza yanlislikla ulasmissa l?tfen mesaji geri g?nderiniz ve sisteminizden siliniz. Global Turizm Hizmetleri Anonim Sirketi bu mesajin icerigi ile ilgili olarak hicbir hukuksal sorumlulugu kabul etmez. **************************************************************************** Disclaimer; This e-mail communication is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and that may not be made public by law or agreement. If the recipient of this message is not the intended recipient or entity, you are hereby notified that any further dissemination, distribution or copying of this information is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete it from your system. The Global Turizm Hizmetleri Anonim Sirketi does not accept legal responsibility for the contents of this message. *********************************************************************************************** Yasal Uyar?; Bu e-posta, sadece adreste belirtilen kisi veya kurulusun kullanimini hedeflemekte olup,mesajda yer alan bilgiler kisiye ozel ve gizli olabilir, yasalar ya da anlasmalar geregi ?c?nc? kisiler ile paylasilmasi m?mk?n olmayabilir.Mesaji alan kisi, mesajin g?nderilmek istendigi kisi veya kurulus degilse,bu mesaji yaymak,dagitmak veya kopyalamak yasaktir Mesaj tarafiniza yanlislikla ulasmissa l?tfen mesaji geri g?nderiniz ve sisteminizden siliniz. Global Turizm Hizmetleri Anonim Sirketi bu mesajin icerigi ile ilgili olarak hicbir hukuksal sorumlulugu kabul etmez. ********************************************************************************************** Disclaimer; This e-mail communication is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and that may not be made public by law or agreement. If the recipient of this message is not the intended recipient or entity, you are hereby notified that any further dissemination, distribution or copying of this information is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete it from your system. The Global Turizm Hizmetleri Anonim Sirketi does not accept legal responsibility for the contents of this message. This message was sent by: Global Access Incoming, Nuzhetiye cad, istanbul, besiktas 34357, Turkey Powered by iContact: http://freetrial.icontact.com To be removed click here: http://app.icontact.com/icp/mmail-mprofile.pl?r=46043819&l=82228&s=UJHY&m=562566&c=305227 Forward to a friend: http://app.icontact.com/icp/sub/forward?m=562566&s=46043819&c=UJHY&cid=305227 From mailing at gaturkey.com Thu Apr 9 00:46:42 2009 From: mailing at gaturkey.com (Global Access Travel) Date: Thu Apr 9 00:47:33 2009 Subject: Private Shore Excursions-Turkey Message-ID: <3b4530dde544373ddafca7896511f54b@localhost.localdomain> [http://www.turkeycalling.us] PRIVATE SHORE EXCURSIONS- TURKEY Your cruise clients will make the best of their time in Turkey on a private shore excursion! Istanbul Kusadasi & Ephesus [mailto:incoming@gaturkey.com?subject=Private Shore Excursions- Turkey] **************************************************************************** Yasal Uyar?; Bu e-posta, sadece adreste belirtilen kisi veya kurulusun kullanimini hedeflemekte olup,mesajda yer alan bilgiler kisiye ozel ve gizli olabilir, yasalar ya da anlasmalar geregi ?c?nc? kisiler ile paylasilmasi m?mk?n olmayabilir.Mesaji alan kisi, mesajin g?nderilmek istendigi kisi veya kurulus degilse,bu mesaji yaymak,dagitmak veya kopyalamak yasaktir Mesaj tarafiniza yanlislikla ulasmissa l?tfen mesaji geri g?nderiniz ve sisteminizden siliniz. Global Turizm Hizmetleri Anonim Sirketi bu mesajin icerigi ile ilgili olarak hicbir hukuksal sorumlulugu kabul etmez. **************************************************************************** Disclaimer; This e-mail communication is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and that may not be made public by law or agreement. If the recipient of this message is not the intended recipient or entity, you are hereby notified that any further dissemination, distribution or copying of this information is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete it from your system. The Global Turizm Hizmetleri Anonim Sirketi does not accept legal responsibility for the contents of this message. *********************************************************************************************** Yasal Uyar?; Bu e-posta, sadece adreste belirtilen kisi veya kurulusun kullanimini hedeflemekte olup,mesajda yer alan bilgiler kisiye ozel ve gizli olabilir, yasalar ya da anlasmalar geregi ?c?nc? kisiler ile paylasilmasi m?mk?n olmayabilir.Mesaji alan kisi, mesajin g?nderilmek istendigi kisi veya kurulus degilse,bu mesaji yaymak,dagitmak veya kopyalamak yasaktir Mesaj tarafiniza yanlislikla ulasmissa l?tfen mesaji geri g?nderiniz ve sisteminizden siliniz. Global Turizm Hizmetleri Anonim Sirketi bu mesajin icerigi ile ilgili olarak hicbir hukuksal sorumlulugu kabul etmez. ********************************************************************************************** Disclaimer; This e-mail communication is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and that may not be made public by law or agreement. If the recipient of this message is not the intended recipient or entity, you are hereby notified that any further dissemination, distribution or copying of this information is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete it from your system. The Global Turizm Hizmetleri Anonim Sirketi does not accept legal responsibility for the contents of this message. This message was sent by: Global Access Incoming, Nuzhetiye cad, istanbul, besiktas 34357, Turkey Powered by iContact: http://freetrial.icontact.com To be removed click here: http://app.icontact.com/icp/mmail-mprofile.pl?r=46043157&l=82228&s=HVRU&m=562566&c=305227 Forward to a friend: http://app.icontact.com/icp/sub/forward?m=562566&s=46043157&c=HVRU&cid=305227 From daniels.vanags at smpbank.lv Thu Apr 9 01:17:22 2009 From: daniels.vanags at smpbank.lv (Daniels Vanags) Date: Thu Apr 9 01:17:30 2009 Subject: Dump/Restore Message-ID: Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is empty, system fealure to boot. Please guide me, how to dump/restore devfs. > df -h Filesystem Size Used Avail Capacity Mounted on /dev/mirror/gm0s1a 52G 37G 11G 78% / devfs 1.0K 1.0K 0B 100% /dev procfs 4.0K 4.0K 0B 100% /proc linprocfs 4.0K 4.0K 0B 100% /usr/compat/linux/proc Daniel Vanags Information Technology Department IT infrastructure system engineer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JSC SMP Bank www.smpbank.lv Phone: +371 67019386 E-mail: Daniels.Vanags@smpbank.lv From mr.tapac at gmail.com Thu Apr 9 01:35:22 2009 From: mr.tapac at gmail.com (Alexander Tarasov) Date: Thu Apr 9 01:35:28 2009 Subject: Driver Problem: Broadcom NetXtreme Gigabit Ethernet Message-ID: <3b7dc6d0904090112k75cb994epa91551ff9b6e1978@mail.gmail.com> Hi, All! After installing FreeBSD 7.1 I've got problem with my network card. [root ~]# uname -a FreeBSD 7.1-RELEASE FreeBSD 7.1-RELEASE #1: Thu Apr 9 13:34:46 NOVST 2009 root@:/usr/obj/usr/src/sys/LAPTOP i386 [root ~]# pciconf -lv ... cut ... none3@pci0:6:0:0: class=0x020000 card=0x014b1025 chip=0x168414e4 rev=0x10 hdr=0x00 vendor = 'Broadcom Corporation' class = newtwork subclass = ethernet [root ~]# dmesg | grep "bge" [root ~]# ifconfig -a lo0: flags=8049 metric 0 mtu 16384 inet 127.0.0.1 netmask 0xff000000 I've compiled my kernel with "device miibus" and "device bge" (my kernel config is GENERIC without FireWare & RAIDs). What does it mean? Is somethere driver for this card? Sorry for my terrible English =) Alexander V Tarasov From on at cs.ait.ac.th Thu Apr 9 01:46:00 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Thu Apr 9 01:46:07 2009 Subject: Dump/Restore In-Reply-To: (daniels.vanags@smpbank.lv) References: Message-ID: <200904090820.n398Kqs3045228@banyan.cs.ait.ac.th> > Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is > empty, system fealure to boot. Please guide me, how to dump/restore > devfs. I am not sure about /usr/compat/linux/proc but /dev and /proc are created on the fly by the system: Lines are added into /dev for each new device that the system detects Lines are added into /proc for any new process started by the system There is not reason to dump or restore them. Bests. Olivier From nino80 at gmail.com Thu Apr 9 01:48:07 2009 From: nino80 at gmail.com (n j) Date: Thu Apr 9 01:49:41 2009 Subject: new package system proposal In-Reply-To: <200904090916.12786.j.mckeown@ru.ac.za> References: <49D76B02.4060201@onetel.com> <200904080859.41807.j.mckeown@ru.ac.za> <54db43990904081224l7c006143icac411c482401620@mail.gmail.com> <200904090916.12786.j.mckeown@ru.ac.za> Message-ID: <92bcbda50904090114r2924d03p606d30a7fc91f84d@mail.gmail.com> I'd like to use this opportunity to generally support this and any other ideas taking direction of making binary installs and upgrades easier and more manageable. I recognize the need for people to configure custom options and compile from ports (that is why any new system *must* be compatible with ports), however, it should be noted that there's a lot of people running simple LAMP servers, almost exclusively using default options, who would greatly benefit from better binary package support. I've already ranted about this (http://lists.freebsd.org/pipermail/freebsd-questions/2008-December/188119.html) in a slightly different context (I talked about -SECURITY equivalent instead of -DESKTOP that the OP suggests) with almost the same idea - make it easy for people who are interested in running stable, secure servers do binary upgrades without the hassle of going through a major system recompile because of, for example, openldap shared library version bump. Regards, -- Nino From utisoft at googlemail.com Thu Apr 9 01:48:14 2009 From: utisoft at googlemail.com (Chris Rees) Date: Thu Apr 9 01:49:57 2009 Subject: Driver Problem: Broadcom NetXtreme Gigabit Ethernet In-Reply-To: <3b7dc6d0904090112k75cb994epa91551ff9b6e1978@mail.gmail.com> References: <3b7dc6d0904090112k75cb994epa91551ff9b6e1978@mail.gmail.com> Message-ID: 2009/4/9 Alexander Tarasov : > Hi, All! > > After installing FreeBSD 7.1 I've got problem with my network card. > > [root ~]# uname -a > FreeBSD ?7.1-RELEASE FreeBSD 7.1-RELEASE #1: Thu Apr ?9 13:34:46 NOVST > 2009 root@:/usr/obj/usr/src/sys/LAPTOP ?i386 > [root ~]# pciconf -lv > ... cut ... > none3@pci0:6:0:0: ? ? ? ?class=0x020000 card=0x014b1025 > chip=0x168414e4 rev=0x10 hdr=0x00 > ? ?vendor ? ? = 'Broadcom Corporation' > ? ?class ? ? ?= newtwork > ? ?subclass ? = ethernet > [root ~]# dmesg | grep "bge" > [root ~]# ifconfig -a > lo0: flags=8049 metric 0 mtu 16384 > ? ? ? ? inet 127.0.0.1 netmask 0xff000000 > > I've compiled my kernel with "device miibus" and "device bge" (my > kernel config is GENERIC without FireWare & RAIDs). > > What does it mean? Is somethere driver for this card? > > Sorry for my terrible English =) > > Alexander V Tarasov > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Are you sure you didn't comment out any miibus lines or anything like that? Try with the GENERIC kernel, and kldload bge to see what happens. Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From jonc at chen.org.nz Thu Apr 9 01:50:55 2009 From: jonc at chen.org.nz (Jonathan Chen) Date: Thu Apr 9 01:51:48 2009 Subject: Dump/Restore In-Reply-To: References: Message-ID: <20090409083434.GA81335@osiris.chen.org.nz> On Thu, Apr 09, 2009 at 10:50:49AM +0300, Daniels Vanags wrote: > Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is > empty, system fealure to boot. Please guide me, how to dump/restore > devfs. These are pseudo file systems, and are dynamically managed by the system. You aren't expected to back them up. If you're system failed to boot, how did you inspect the filesystem? -- Jonathan Chen ---------------------------------------------------------------------- Do not take life too seriously. You will never get out of it alive. From utisoft at googlemail.com Thu Apr 9 01:56:20 2009 From: utisoft at googlemail.com (Chris Rees) Date: Thu Apr 9 01:56:27 2009 Subject: Dump/Restore In-Reply-To: References: Message-ID: 2009/4/9 Daniels Vanags : > Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is > empty, system fealure to boot. Please guide me, how to dump/restore > devfs. > > > >> df -h > > Filesystem ? ? ? ? ? ? ? ? ? ? Size ? ?Used ? Avail Capacity ?Mounted on > > /dev/mirror/gm0s1a ? ? ? ? 52G ? ? 37G ? ? 11G ? ?78% ? ?/ > > devfs ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1.0K ? ?1.0K ? ? ?0B ? 100% ? ?/dev > > procfs ? ? ? ? ? ? ? ? ? ? ? ? ? 4.0K ? ?4.0K ? ? ?0B ? 100% ? ?/proc > > linprocfs ? ? ? ? ? ? ? ? ? ? ? ?4.0K ? ?4.0K ? ? ?0B ? 100% > /usr/compat/linux/proc > But.... /proc, /dev, and /u/c/l/proc are full in that df output... What are you talking about? Try ls /dev, and post that. Pretty sure it should be normal. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From mr.tapac at gmail.com Thu Apr 9 02:01:05 2009 From: mr.tapac at gmail.com (Alexander Tarasov) Date: Thu Apr 9 02:01:12 2009 Subject: =?utf-8?b?0J7RgtCy0LXRgjogRHJpdmVyIFByb2JsZW06IEJyb2FkY29tIE5l?= =?utf-8?q?tXtreme_Gigabit_Ethernet?= In-Reply-To: References: <3b7dc6d0904090112k75cb994epa91551ff9b6e1978@mail.gmail.com> Message-ID: <3b7dc6d0904090201p2cdb8bc8u17236eb35e23d374@mail.gmail.com> With GENERIC I have same problem. My network card is Broadcom NetXtreme Gigabit Ethernet.. (14e4:1684 subsystem 1025:014b). I think, it's BCM5764. 2009/4/9, Chris Rees : > 2009/4/9 Alexander Tarasov : >> Hi, All! >> >> After installing FreeBSD 7.1 I've got problem with my network card. >> >> [root ~]# uname -a >> FreeBSD ?7.1-RELEASE FreeBSD 7.1-RELEASE #1: Thu Apr ?9 13:34:46 NOVST >> 2009 root@:/usr/obj/usr/src/sys/LAPTOP ?i386 >> [root ~]# pciconf -lv >> ... cut ... >> none3@pci0:6:0:0: ? ? ? ?class=0x020000 card=0x014b1025 >> chip=0x168414e4 rev=0x10 hdr=0x00 >> ? ?vendor ? ? = 'Broadcom Corporation' >> ? ?class ? ? ?= newtwork >> ? ?subclass ? = ethernet >> [root ~]# dmesg | grep "bge" >> [root ~]# ifconfig -a >> lo0: flags=8049 metric 0 mtu 16384 >> ? ? ? ? inet 127.0.0.1 netmask 0xff000000 >> >> I've compiled my kernel with "device miibus" and "device bge" (my >> kernel config is GENERIC without FireWare & RAIDs). >> >> What does it mean? Is somethere driver for this card? >> >> Sorry for my terrible English =) >> >> Alexander V Tarasov >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > Are you sure you didn't comment out any miibus lines or anything like > that? Try with the GENERIC kernel, and kldload bge to see what > happens. > > Chris > > > -- > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > From utisoft at googlemail.com Thu Apr 9 03:43:28 2009 From: utisoft at googlemail.com (Chris Rees) Date: Thu Apr 9 03:43:35 2009 Subject: Dump/Restore In-Reply-To: References: Message-ID: 2009/4/9 Daniels Vanags : > This is a source comp output, after dump/restore /dev is empty. I run freesbie on target machine. > > -----Original Message----- > From: Chris Rees [mailto:utisoft@googlemail.com] > Sent: Thursday, April 09, 2009 11:56 AM > To: Daniels Vanags > Subject: Re: Dump/Restore > > 2009/4/9 Daniels Vanags : >> Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is >> empty, system fealure to boot. Please guide me, how to dump/restore >> devfs. >> >> >> >>> df -h >> >> Filesystem ? ? ? ? ? ? ? ? ? ? Size ? ?Used ? Avail Capacity ?Mounted on >> >> /dev/mirror/gm0s1a ? ? ? ? 52G ? ? 37G ? ? 11G ? ?78% ? ?/ >> >> devfs ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1.0K ? ?1.0K ? ? ?0B ? 100% ? ?/dev >> >> procfs ? ? ? ? ? ? ? ? ? ? ? ? ? 4.0K ? ?4.0K ? ? ?0B ? 100% ? ?/proc >> >> linprocfs ? ? ? ? ? ? ? ? ? ? ? ?4.0K ? ?4.0K ? ? ?0B ? 100% >> /usr/compat/linux/proc >> > > But.... /proc, /dev, and /u/c/l/proc are full in that df output... > What are you talking about? Try ls /dev, and post that. Pretty sure it > should be normal. > > > > -- > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > You need to check then, that /dev is mounted. # mount -t devfs devfs /dev Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From nightrecon at verizon.net Thu Apr 9 04:18:49 2009 From: nightrecon at verizon.net (Michael Powell) Date: Thu Apr 9 04:18:57 2009 Subject: Xorg and nvidia-driver-173 ABI References: <20090408184603.0a3540ed@gumby.homeunix.com> Message-ID: RW wrote: > I picked-up the most recent xorg update a couple of days ago, and > since then X has been failing to start with the binary nvidia driver, > and is leaving the following in Xorg.0.log: > > (EE) NVIDIA(0): This video driver ABI is not supported. > (EE) NVIDIA(0): Use the -ignoreABI option to override this check. > > -ignoreABI doesn't help. > > I presume that nvidia will eventually fix this for the current driver, > but I'm using the legacy driver port x11/nvidia-driver-173. Is there any > prospect of the nvidia driver working again on my hardware? > > If the answer is no, would the nv driver benefit from a switch from > i386 to amd64. > Have you rebuilt the nvidia-port after the xorg update? You might just need to do the make, make deinstall, make reinstall dance for the version you're using. This will rebuild the kernel module to match the new xorg. -Mike From ohartman at zedat.fu-berlin.de Thu Apr 9 04:19:56 2009 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Thu Apr 9 04:20:08 2009 Subject: firefox3 with high latencies when acting with mouse or keyboard and graphics refresh In-Reply-To: <20090408173319.GA2370@free.bsd.loc> References: <49DCA9E0.6000109@zedat.fu-berlin.de> <20090408173319.GA2370@free.bsd.loc> Message-ID: <49DDD984.8000104@zedat.fu-berlin.de> Jeff Laine wrote: > On Wed, Apr 08, 2009 at 01:42:56PM +0000, O. Hartmann wrote: >> Hello, >> got a problem since yesterday after having done a lot of updates >> (ports): on all of my FreeBSD 8.0-CURRENT/amd64 boxes firefox does have >> enormous high latencies when typing in or moving the mouse or popping up >> the window icon or down. Since this happens on all of 8.0-CUR/amd boxes, >> I guess it has something to do with an upgrade of the ports. >> >> I reinstalled firefox twice, but without success, so I want to ask for >> some hints.. >> >> Regards, >> Oliver > > > It is unlikely your case, but I've had similar issues with firefox on my laptop > with intel video under 7.2-PRERELEASE. > Setting video driver option "AccelMethod" to old XAA mode in xorg.conf helped a lot. > > > > It is NOT the way I try Acceleration or not or what driver the box uses, this happens with VESA, Radeon, RadeonHD as well. VESA worked before. This is only on FreeBSD 8.0/amd64 with local displays. starting firefox3 remotely, this problem does not occur. I guess due to a lot of updates in xorg-port there is again an issue. The never ending story with X11 and wicked updates. From festin at sakha.net Thu Apr 9 04:32:09 2009 From: festin at sakha.net (Festin Alexander) Date: Thu Apr 9 04:32:18 2009 Subject: bsnmpd In-Reply-To: <6ae50c2d0904080718g7a6657ebv5129d307bdb58458@mail.gmail.com> References: <6ae50c2d0904061119x7fd32cd3tf2b60fcd63395b80@mail.gmail.com> <6ae50c2d0904061213j13457808xf2c0b1b0946ef19d@mail.gmail.com> <6ae50c2d0904061223s5ed02f6egee48078b598207f6@mail.gmail.com> <6ae50c2d0904061234h70bd30bt4dee6f5bd09789c2@mail.gmail.com> <6ae50c2d0904061308n37075058w198ed8959dd0c87a@mail.gmail.com> <20090408223752.0fbf4366@OnoSendai.> <6ae50c2d0904080718g7a6657ebv5129d307bdb58458@mail.gmail.com> Message-ID: <20090409213155.2dfab1ce@OnoSendai.> ? Wed, 8 Apr 2009 10:18:13 -0400 alexus ?????: > 2009/4/8 Festin Alexander : > > ? Mon, 6 Apr 2009 16:08:32 -0400 > > alexus ?????: > > > >> On Mon, Apr 6, 2009 at 3:38 PM, Vasadi I. Claudiu Florin > >> wrote: > >> > All out of ideas. try with a script...maybe, i dnt know. > >> > > >> > >> I understand there is always that way, but I'd like to figure out > >> the proper way > >> > > > > How about to put some "echo" or "logger" into /etc/rc.d/bsnmpd for > > tracing script? > > > > I use bsnmpd and have no troubles. > > have you used it inside of jail? or in host environment? as i > mentioned earlier it works fine in host, but not in jail... hmm... I missed that. My works In host environment. > > > > > From wojtek at wojtek.tensor.gdynia.pl Thu Apr 9 04:45:26 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Apr 9 04:45:34 2009 Subject: Dump/Restore In-Reply-To: References: Message-ID: > Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is > empty, system fealure to boot. Please guide me, how to dump/restore it always should be - before mounted as pseudo-fs > devfs. > > > >> df -h > > Filesystem Size Used Avail Capacity Mounted on > > /dev/mirror/gm0s1a 52G 37G 11G 78% / > > devfs 1.0K 1.0K 0B 100% /dev > > procfs 4.0K 4.0K 0B 100% /proc > > linprocfs 4.0K 4.0K 0B 100% > /usr/compat/linux/proc > > > > > > > > > > > > Daniel Vanags > > Information Technology Department > > IT infrastructure system engineer > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > JSC SMP Bank www.smpbank.lv > > Phone: +371 67019386 > > E-mail: Daniels.Vanags@smpbank.lv > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From eray.aslan at caf.com.tr Thu Apr 9 04:47:40 2009 From: eray.aslan at caf.com.tr (Eray Aslan) Date: Thu Apr 9 04:47:46 2009 Subject: cannot kill process with kill -9 In-Reply-To: References: Message-ID: <20090409114731.GA4871@zptr-nb01> On Thu, Apr 09, 2009 at 09:41:31AM +0200, Pieter Donche wrote: > I have a mount_nfs process that refuses to get killed : > # ps -jaxw | grep mount > root 60342 1 60289 60289 0 D ?? 0:00.00 mount_nfs [...] > How to I get this process killed? reboot. You can't kill a process with a D flag. Google for uninterruptible sleep. -- Eray From jhall at socket.net Thu Apr 9 05:02:01 2009 From: jhall at socket.net (Jay Hall) Date: Thu Apr 9 05:02:08 2009 Subject: find command question Message-ID: <18E2669B-9EC4-4F63-8B1C-E7D81EBDD607@socket.net> When using the find command with the -exec option, does the find command wait for the command being executed to finish before returning the next result? For example, if I am using find -exec {} to copy files to tape, will find wait for the command to write the file to tape complete before it returns the next result? Thanks, Jay From utisoft at googlemail.com Thu Apr 9 05:12:08 2009 From: utisoft at googlemail.com (Chris Rees) Date: Thu Apr 9 05:12:15 2009 Subject: no USB mice detected on GA-MA74GM-S2 In-Reply-To: References: <20090408190805.GA1368@smyrak.com> <1239223684.4491.12.camel@balrog.2hip.net> <20090409110112.M98284@heron.pl> Message-ID: 2009/4/9 ?: > On Wed, 08 Apr 2009 15:48:04 -0500, Robert Noland wrote >> On Wed, 2009-04-08 at 21:08 +0200, Piotr Smyrak wrote: >> > >> > I recently upgraded my system to newer hardware with > motherboard >> > GIGABYTE GA-MA74GM-S2 Rev 1.0 with AMD 740G chipset (north > bridge) >> > and AMD SB700 (south) where USB support is located. Everything >> > would be fine except there is no USB mice detection by FreeBSD > at >> > all. And I am stuck with USB mise since the mobo has no PS/2 > port. >> > >> > First I started with my old build of 6.2, then upgraded to 6.4 >> > STABLE, to finally upgrade to 7.2 PRERELEASE in hope of fixing > the >> > issue. None of versions gave me USB mouse support. I have tried >> > connecting 3 various mice. No luck. The only effect I can > achieve >> > after connecting a mouse, is a somewhat delayed message on > console: >> >> rebuild/reinstall devel/libpciaccess now that you have >> updated kernel. > > I think I was not clear in my first post. My issue is the kernel > does not recognizes my USB mice, so I get no /dev/ums* devices at > all. > > I have made a clean install of all my ports after upgrade. Thanks > for your suggestion. > -- > ?Piotr Smyrak > ?piotr.smyrak@heron.pl > > _______________________________________________ > Is your BIOS up to date? I know of many Gigabyte mainboards with a USB stack bug, which is fixed with the latest images. Be careful if you do that though! Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From rwmaillists at googlemail.com Thu Apr 9 05:13:08 2009 From: rwmaillists at googlemail.com (RW) Date: Thu Apr 9 05:13:17 2009 Subject: Xorg and nvidia-driver-173 ABI In-Reply-To: References: <20090408184603.0a3540ed@gumby.homeunix.com> Message-ID: <20090409131300.0f717e4d@gumby.homeunix.com> On Thu, 09 Apr 2009 07:19:31 -0400 Michael Powell wrote: > RW wrote: > > > I picked-up the most recent xorg update a couple of days ago, and > > since then X has been failing to start with the binary nvidia > > driver, and is leaving the following in Xorg.0.log: > > > > (EE) NVIDIA(0): This video driver ABI is not supported. > > (EE) NVIDIA(0): Use the -ignoreABI option to override this check. > Have you rebuilt the nvidia-port after the xorg update? You might > just need to do the make, make deinstall, make reinstall dance for > the version you're using. This will rebuild the kernel module to > match the new xorg. > Yes, I always do that, the driver installs a library that overwrites one installed by Xorg, and doesn't work correctly otherwise. From freebsd at edvax.de Thu Apr 9 06:02:50 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Apr 9 06:02:57 2009 Subject: new package system proposal In-Reply-To: <200904090916.12786.j.mckeown@ru.ac.za> References: <49D76B02.4060201@onetel.com> <200904080859.41807.j.mckeown@ru.ac.za> <54db43990904081224l7c006143icac411c482401620@mail.gmail.com> <200904090916.12786.j.mckeown@ru.ac.za> Message-ID: <20090409150241.95963a3f.freebsd@edvax.de> On Thu, 9 Apr 2009 09:16:12 +0200, Jonathan McKeown wrote: > Yes - have a look at . I installed PC-BSD on a spare > machine to investigate it. The first three ports/metaports I tried to install > after completing the base setup were emacs, TeTeX and the Psi Jabber/XMPP > client. None of those was available, and after seeing how few prebuilt > packages there were in all categories, I gave up. The "problem" with PC-BSD is that it concentrates on the "average desktop user", read: the usual KDE user. That's why they have lots of KDE stuff available and applications for common productivity uses, as well as multimedia. You made the "mistake" to choose software that is "non-standard". So teTeX? What's this? Who uses teTeX? Go use KOffice, man! :-) I could say something similar about emacs and psi. On PC-BSD, you can always use pkg_add or the ports collection, but it may cause problems to do so. Allthough it's possible, it's adviced to use the PBI installer. > My personal view is that PC-BSD gives the end user an impressive and > reasonably slick computer-as-appliance with some ability to customise and > still stay ``on the path''. For people who need that, PC-BSD is what they > need. That seems to bei their goal, yes. My neighbor uses it for some years now and he's completely happy with it. In fact, he isn't interested in FreeBSD, nor does he have fundamental UNIX knowledge, but he likes KDE and the fact that he has not "Windows" on his machine (with all the advantages this fact implies). > My feeling, though, is that anyone who finds themselves wanting to > install a bunch of stuff from outside the PBI system (in other words, from > ports, which are still there under the hood of PC-BSD) will soon want to > switch to mainstream FreeBSD. Take a look at DesktopBSD (their tools are even in the ports collection). They stick to the ports and packages, but added some GUI stuff for installation and administration, without doing a "compatibility break" as PC-BSD does. > As such PC-BSD has the potential to be an > effective ``gateway drug''(!) In fact, it has. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From olli at lurza.secnetix.de Thu Apr 9 06:33:17 2009 From: olli at lurza.secnetix.de (Oliver Fromme) Date: Thu Apr 9 06:33:24 2009 Subject: awk question In-Reply-To: <200904082253.AA2466447562@mail.Go2France.com> Message-ID: <200904091332.n39DWpDs037047@lurza.secnetix.de> Len Conrad wrote: > > We need to print a line when the 3rd field (with trailing ";" > delimiter) is, eg, exactly 5 lower case characters > > awk ' $3 ~ /^[a-z]{5,5};$/ {print $0} ' file > > ... doesn't work. If ";" is the delimiter character, you need to tell awk about it (i.e. use the -F option). This one should work: awk -F';' '$3 ~ /^[a-z]{5}$/ {print}' file If that still doesn't work for you, please specify your file format more exactly, and provide an example of the input lines. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch?ftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?n- chen, HRB 125758, Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "anyone new to programming should be kept as far from C++ as possible; actually showing the stuff should be considered a criminal offence" -- Jacek Generowicz From mlfreebsd at streamingedge.com Thu Apr 9 06:39:14 2009 From: mlfreebsd at streamingedge.com (Jacques Manukyan) Date: Thu Apr 9 06:39:21 2009 Subject: cannot kill process with kill -9 In-Reply-To: <20090409114731.GA4871@zptr-nb01> References: <20090409114731.GA4871@zptr-nb01> Message-ID: <49DDFA72.6090901@streamingedge.com> Eray Aslan wrote: > On Thu, Apr 09, 2009 at 09:41:31AM +0200, Pieter Donche wrote: > >> I have a mount_nfs process that refuses to get killed : >> # ps -jaxw | grep mount >> root 60342 1 60289 60289 0 D ?? 0:00.00 mount_nfs >> > [...] > >> How to I get this process killed? >> > > reboot. You can't kill a process with a D flag. Google for > uninterruptible sleep There is a rare exception that doesn't always work. But you can find processes that have locked onto that mount point and kill those. Then try unmounting or killing that NFS mount. Get lsof in /usr/ports/sysutils/lsof and see what's keeping that mount point open. Then kill those processes. But again, this may not work. The only way to release processes marked with a D flag is to reboot. -- Jacques Manukyan From Johan at double-l.nl Thu Apr 9 06:51:31 2009 From: Johan at double-l.nl (Johan Hendriks) Date: Thu Apr 9 06:51:37 2009 Subject: Forums FreeBSD Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE6F1@w2003s01.double-l.local> Are the forums down from FreeBSD? Regards, Johan From mlfreebsd at streamingedge.com Thu Apr 9 06:58:43 2009 From: mlfreebsd at streamingedge.com (Jacques Manukyan) Date: Thu Apr 9 06:58:51 2009 Subject: Forums FreeBSD In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB5DE6F1@w2003s01.double-l.local> References: <57200BF94E69E54880C9BB1AF714BBCB5DE6F1@w2003s01.double-l.local> Message-ID: <49DDFF03.9080406@streamingedge.com> Johan Hendriks wrote: > Are the forums down from FreeBSD? > They're down for me and have been all morning. I didn't see any maintenance notices so I have no idea if its an outage or if its planned. -- Jacques Manukyan > > > Regards, > > Johan > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From freebsd at edvax.de Thu Apr 9 07:10:50 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Apr 9 07:10:57 2009 Subject: awk question In-Reply-To: <200904091332.n39DWpDs037047@lurza.secnetix.de> References: <200904082253.AA2466447562@mail.Go2France.com> <200904091332.n39DWpDs037047@lurza.secnetix.de> Message-ID: <20090409161028.cc669c2d.freebsd@edvax.de> On Thu, 9 Apr 2009 15:32:51 +0200 (CEST), Oliver Fromme wrote: > If ";" is the delimiter character, you need to tell awk > about it (i.e. use the -F option). This one should work: > > awk -F';' '$3 ~ /^[a-z]{5}$/ {print}' file You can even omit {print} because it's the default action (to print the whole line, i. e. $0) when no action is given for a pattern. % awk -F';' '$3 ~ /^[a-z]{5}$/' file When using this in a shell, keep an eye on eventually needed quoting or escaping of $. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From seurbors at gmail.com Thu Apr 9 07:43:34 2009 From: seurbors at gmail.com (Seur Bors) Date: Thu Apr 9 07:43:40 2009 Subject: run_interrupt_driven_hooks Message-ID: <26b281ee0904090743x2c1ebbc0pec6a435e83ca8f66@mail.gmail.com> Greetings, I've purchased newer hardware (ASUS M3A78-EM, AMD Phenom 9650, 8GB Kingston DDR2-800, 2 x WD 500GB SATA), and am attempting to install the FreeBSD 7.1 amd64 release. The system boots off of the CD without err, and I have chosen the "default" boot. Everything looks good in the detection right up to the drives, and then, I get the following errors, followed by a system stall: run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config I am googling now while posting this, but just wondering if anyone has a quick tweak or fix that I can try to get this moving. Thanks in advance, as always! Regards, Seur Bors From af300wsm at gmail.com Thu Apr 9 07:47:16 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Thu Apr 9 07:47:23 2009 Subject: Loading sound drivers Message-ID: <001636457a9afec3d9046720524f@google.com> Hi, My motherboard, an ASUS K8V-X, has a generic type sound chip on board, according to ASUS' specifications, it is an AD1980 chipset. The hardware notes, linked from the handbook, does not list this chipset but does list several Intel type HDA chipsets including one AD1981 chipset. Never the less, using the handbook instructions I loaded the meta sound driver and my chipset was identified as a via8233 chipset. The meta driver loaded many drivers into the kernel, but through trial and error I've discovered that only sound.ko and snd_via8233.ko need to be loaded. So, I put these two lines into /boot/loader.conf: sound="YES" snd_via8233="YES" However, these two modules do not load on bootup. Why? How do I fix this? Thanks, Andy From jerrymc at msu.edu Thu Apr 9 07:57:16 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Apr 9 07:57:24 2009 Subject: Dump/Restore In-Reply-To: References: Message-ID: <20090409145217.GE33449@gizmo.acns.msu.edu> On Thu, Apr 09, 2009 at 10:50:49AM +0300, Daniels Vanags wrote: > Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is > empty, system fealure to boot. Please guide me, how to dump/restore > devfs. > ???? You only dump(8) file systems. /dev /procfs /dev/mirror/..., etc are not filesystems. They are just directories. Don't dump them. /procfs is not even a real directory so it goes away and gets repopulated when the system boots again. They all need to live in the '/' filesystem and of what is dumpable, gets dumped when you dump / (the root filesystem). Unless I completely misunderstand what you are asking. ////jerry > > > > df -h > > Filesystem Size Used Avail Capacity Mounted on > > /dev/mirror/gm0s1a 52G 37G 11G 78% / > > devfs 1.0K 1.0K 0B 100% /dev > > procfs 4.0K 4.0K 0B 100% /proc > > linprocfs 4.0K 4.0K 0B 100% > /usr/compat/linux/proc > > > > > > > > > > > > Daniel Vanags > > Information Technology Department > > IT infrastructure system engineer > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > JSC SMP Bank www.smpbank.lv > > Phone: +371 67019386 > > E-mail: Daniels.Vanags@smpbank.lv > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From efinleywork at efinley.com Thu Apr 9 07:59:13 2009 From: efinleywork at efinley.com (Elliot Finley) Date: Thu Apr 9 07:59:20 2009 Subject: SATA controller not recognized in FBSD 7.1 In-Reply-To: <49CDF1E7.6040607@awdcomp.net> References: <49CD9420.3010401@efinley.com> <49CDF1E7.6040607@awdcomp.net> Message-ID: <49DE0D3F.5000008@efinley.com> Andrew wrote: > Hi Eliiot, > > > Elliot Finley wrote: >> I've got two of these: >> >> SUPERMICRO AOC-SAT2-MV8 64-bit PCI-X133MHz SATA Controller Card >> >> http://www.newegg.com/Product/Product.aspx?Item=N82E16815121009 >> >> each with 8 1T Hitachi drives hanging off them. When booting, I see >> all the drives scanned and recognized by the controller, but I don't >> see them in dmesg or /dev. >> >> I'm using FreeBSD 7.1-R amd64. Is there a special driver I need to >> load to get FreeBSD to recognize these? >> > > nope, though according to > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/120842 > you need to disable the hptrr driver in the GENERIC kernel. That worked, thank you. Elliot From ricardo.meb.jesus at gmail.com Thu Apr 9 08:04:24 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Thu Apr 9 08:04:31 2009 Subject: Loading sound drivers In-Reply-To: <001636457a9afec3d9046720524f@google.com> References: <001636457a9afec3d9046720524f@google.com> Message-ID: <49DE0E77.7010705@gmail.com> af300wsm@gmail.com wrote: > Hi, > > My motherboard, an ASUS K8V-X, has a generic type sound chip on board, > according to ASUS' specifications, it is an AD1980 chipset. The hardware > notes, linked from the handbook, does not list this chipset but does > list several Intel type HDA chipsets including one AD1981 chipset. Never > the less, using the handbook instructions I loaded the meta sound driver > and my chipset was identified as a via8233 chipset. The meta driver > loaded many drivers into the kernel, but through trial and error I've > discovered that only sound.ko and snd_via8233.ko need to be loaded. So, > I put these two lines into /boot/loader.conf: > > sound="YES" > snd_via8233="YES" > > However, these two modules do not load on bootup. Why? How do I fix this? > > Thanks, > Andy > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From man snd_via8233: Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): snd_via8233_load="YES" From xkyanh at gmail.com Thu Apr 9 08:06:52 2009 From: xkyanh at gmail.com (kyanh) Date: Thu Apr 9 08:06:58 2009 Subject: Loading sound drivers In-Reply-To: <001636457a9afec3d9046720524f@google.com> References: <001636457a9afec3d9046720524f@google.com> Message-ID: <20090409220621.65842fb2@icy.local> On Thu, 09 Apr 2009 14:47:15 +0000 af300wsm@gmail.com wrote: > Hi, > > My motherboard, an ASUS K8V-X, has a generic type sound chip on > board, according to ASUS' specifications, it is an AD1980 chipset. > The hardware notes, linked from the handbook, does not list this > chipset but does list several Intel type HDA chipsets including one > AD1981 chipset. Never the less, using the handbook instructions I > loaded the meta sound driver and my chipset was identified as a > via8233 chipset. The meta driver loaded many drivers into the > kernel, but through trial and error I've discovered that only > sound.ko and snd_via8233.ko need to be loaded. So, I put these two > lines into /boot/loader.conf: > > sound="YES" > snd_via8233="YES" The correct lines are sound_load="YES" snd_via8233_load="YES" Regards, -- Ky Anh, Huynh Homepage: http://viettug.org/ From awd at awdcomp.net Thu Apr 9 08:10:08 2009 From: awd at awdcomp.net (Andrew) Date: Thu Apr 9 08:10:15 2009 Subject: SATA controller not recognized in FBSD 7.1 In-Reply-To: <49DE0D3F.5000008@efinley.com> References: <49CD9420.3010401@efinley.com> <49CDF1E7.6040607@awdcomp.net> <49DE0D3F.5000008@efinley.com> Message-ID: <49DE0F81.50203@awdcomp.net> Elliot Finley wrote: > Andrew wrote: >> Hi Eliiot, >> >> >> Elliot Finley wrote: >>> I've got two of these: >>> >>> SUPERMICRO AOC-SAT2-MV8 64-bit PCI-X133MHz SATA Controller Card >>> >>> http://www.newegg.com/Product/Product.aspx?Item=N82E16815121009 >>> >>> each with 8 1T Hitachi drives hanging off them. When booting, I see >>> all the drives scanned and recognized by the controller, but I don't >>> see them in dmesg or /dev. >>> >>> I'm using FreeBSD 7.1-R amd64. Is there a special driver I need to >>> load to get FreeBSD to recognize these? >>> >> >> nope, though according to >> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/120842 >> you need to disable the hptrr driver in the GENERIC kernel. > > That worked, thank you. > :) No worries, I had to do same with my VIA 6421 pci SATA controller. > Elliot From frederique at isafeelin.org Thu Apr 9 08:18:26 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Thu Apr 9 08:18:33 2009 Subject: combining network interfaces Message-ID: <49DE11C2.90503@isafeelin.org> Hello, Is there a way in FreeBSD to combine a number of network interfaces to one virtual interface on which I can tcpdump all the traffic of those interfaces at once? Thanks, -- Frederique From ricardo.meb.jesus at gmail.com Thu Apr 9 08:20:19 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Thu Apr 9 08:20:29 2009 Subject: Loading sound drivers In-Reply-To: <20090409220621.65842fb2@icy.local> References: <001636457a9afec3d9046720524f@google.com> <20090409220621.65842fb2@icy.local> Message-ID: <49DE1233.5080501@gmail.com> kyanh wrote: > On Thu, 09 Apr 2009 14:47:15 +0000 > af300wsm@gmail.com wrote: > >> Hi, >> >> My motherboard, an ASUS K8V-X, has a generic type sound chip on >> board, according to ASUS' specifications, it is an AD1980 chipset. >> The hardware notes, linked from the handbook, does not list this >> chipset but does list several Intel type HDA chipsets including one >> AD1981 chipset. Never the less, using the handbook instructions I >> loaded the meta sound driver and my chipset was identified as a >> via8233 chipset. The meta driver loaded many drivers into the >> kernel, but through trial and error I've discovered that only >> sound.ko and snd_via8233.ko need to be loaded. So, I put these two >> lines into /boot/loader.conf: >> >> sound="YES" >> snd_via8233="YES" > > The correct lines are > > sound_load="YES" > snd_via8233_load="YES" > > Regards, > You even need sound_load="YES" in the loader.conf. snd_via8234 pulls it upon loading. From mlfreebsd at streamingedge.com Thu Apr 9 08:27:25 2009 From: mlfreebsd at streamingedge.com (Jacques Manukyan) Date: Thu Apr 9 08:27:32 2009 Subject: combining network interfaces In-Reply-To: <49DE11C2.90503@isafeelin.org> References: <49DE11C2.90503@isafeelin.org> Message-ID: <49DE13D9.2070601@streamingedge.com> Frederique Rijsdijk wrote: > Hello, > > Is there a way in FreeBSD to combine a number of network interfaces to > one virtual interface on which I can tcpdump all the traffic of those > interfaces at once? > You're talking about bridging. Look at http://www.freebsd.org/doc/en/books/handbook/network-bridging.html Section 31.5.7.1 is what you're asking for. -- Jacques Manukyan From ricardo.meb.jesus at gmail.com Thu Apr 9 08:36:54 2009 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Thu Apr 9 08:37:01 2009 Subject: Loading sound drivers In-Reply-To: <49DE1233.5080501@gmail.com> References: <001636457a9afec3d9046720524f@google.com> <20090409220621.65842fb2@icy.local> <49DE1233.5080501@gmail.com> Message-ID: <49DE1615.1020202@gmail.com> Ricardo Jesus wrote: > kyanh wrote: >> On Thu, 09 Apr 2009 14:47:15 +0000 >> af300wsm@gmail.com wrote: >> >>> Hi, >>> >>> My motherboard, an ASUS K8V-X, has a generic type sound chip on >>> board, according to ASUS' specifications, it is an AD1980 chipset. >>> The hardware notes, linked from the handbook, does not list this >>> chipset but does list several Intel type HDA chipsets including one >>> AD1981 chipset. Never the less, using the handbook instructions I >>> loaded the meta sound driver and my chipset was identified as a >>> via8233 chipset. The meta driver loaded many drivers into the >>> kernel, but through trial and error I've discovered that only >>> sound.ko and snd_via8233.ko need to be loaded. So, I put these two >>> lines into /boot/loader.conf: >>> >>> sound="YES" >>> snd_via8233="YES" >> >> The correct lines are >> >> sound_load="YES" >> snd_via8233_load="YES" >> >> Regards, >> > You even need sound_load="YES" in the loader.conf. snd_via8234 pulls it > upon loading. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > It should read *you don't even..* Oops ;) From Ggatten at waddell.com Thu Apr 9 08:47:21 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Thu Apr 9 08:47:27 2009 Subject: new package system proposal In-Reply-To: <92bcbda50904090114r2924d03p606d30a7fc91f84d@mail.gmail.com> References: <49D76B02.4060201@onetel.com><200904080859.41807.j.mckeown@ru.ac.za> <54db43990904081224l7c006143icac411c482401620@mail.gmail.com> <200904090916.12786.j.mckeown@ru.ac.za> <92bcbda50904090114r2924d03p606d30a7fc91f84d@mail.gmail.com> Message-ID: <70C0964126D66F458E688618E1CD008A0793E950@WADPEXV0.waddell.com> I haven't worked with *nix os's as much as FreeBSD - Well, maybe different flavors of SCO but as far as installing apps and what not mostly FreeBSD. I've installed maybe half a dozen apps and NONE of them took less than 2 - 3 days. Part of that is my slow a$$ test system - and my ignorance, but it seems like a MAJOR hassle for even the simplest thing! It could just be me, but seems like many developers choose to link to other libraries/modules even if they just need one simple function they could build into their source directly. Hence a dependency is "needlessly" created. Multiply this 500 times and installing a simple app turns into a nightmare. I'm definitely gonna start trying to use more packages than ports, but the port system is necessary and eventually I get stuff working! G -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of n j Sent: Thursday, April 09, 2009 3:15 AM To: User Questions Subject: Re: new package system proposal I'd like to use this opportunity to generally support this and any other ideas taking direction of making binary installs and upgrades easier and more manageable. I recognize the need for people to configure custom options and compile from ports (that is why any new system *must* be compatible with ports), however, it should be noted that there's a lot of people running simple LAMP servers, almost exclusively using default options, who would greatly benefit from better binary package support. I've already ranted about this (http://lists.freebsd.org/pipermail/freebsd-questions/2008-December/1881 19.html) in a slightly different context (I talked about -SECURITY equivalent instead of -DESKTOP that the OP suggests) with almost the same idea - make it easy for people who are interested in running stable, secure servers do binary upgrades without the hassle of going through a major system recompile because of, for example, openldap shared library version bump. Regards, -- Nino _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From alexbestms at math.uni-muenster.de Thu Apr 9 08:52:18 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Thu Apr 9 08:52:25 2009 Subject: Using gamepad with usb2 Message-ID: hi everybody, i wrote the following mail to the freebsd-x11 mailinglist and was told that the x joystick driver doesn't work with the usb2 stack. is there any possibility at all for me to use my gamepad? cheers. Alex here's the original mail: hi there, i'm running FreeBSD moshnroll 8.0-CURRENT FreeBSD 8.0-CURRENT #28 r190845: Wed Apr 8 16:27:42 CEST 2009. i'd like to use my joypad under X in order to play games, but i'm unable to find any information on how to do this. the device get's recognized as HID device. here's the line from dmesg: uhid0: on usbus0 i added the following lines to my xorg.conf: Section "InputDevice" Identifier "Logitech Cordless RumblePad 2" Option "Vendor" "Logitech" Driver "joystick" Option "Path" "/dev/uhid0" Option "Device" "/dev/uhid0" Option "DebugLevel" "99" EndSection and added InputDevice "Logitech Cordless RumblePad 2" "SendCoreEvents" to Section "ServerLayout" after starting X however i'm not able to use the joypad. i checked /var/log/Xorg.0.log and found these entries which seem to be related to the problem: (**) Option "Device" "/dev/uhid0" (**) Option "SendCoreEvents" (**) Logitech Cordless RumblePad 2: always reports core events (**) Option "DebugLevel" "99" (**) Logitech Cordless RumblePad 2: debug level set to 99 (**) Button 1 mapped to 5 (**) Button 2 mapped to 5 (**) Button 3 mapped to 5 (**) Button 4 mapped to 0 (**) Button 5 mapped to 0 (**) Button 6 mapped to 0 (**) Button 7 mapped to 0 (**) Button 8 mapped to 0 (**) Button 9 mapped to 0 (**) Button 10 mapped to 0 (**) Button 11 mapped to 0 (**) Button 12 mapped to 0 (**) Button 13 mapped to 0 (**) Button 14 mapped to 0 (**) Button 15 mapped to 0 (**) Button 16 mapped to 0 (**) Button 17 mapped to 0 (**) Button 18 mapped to 0 (**) Button 19 mapped to 0 (**) Button 20 mapped to 0 (**) Button 21 mapped to 0 (**) Button 22 mapped to 0 (**) Button 23 mapped to 0 (**) Button 24 mapped to 0 (**) Button 25 mapped to 0 (**) Button 26 mapped to 0 (**) Button 27 mapped to 0 (**) Button 28 mapped to 0 (**) Button 29 mapped to 0 (**) Button 30 mapped to 0 (**) Button 31 mapped to 0 (**) Button 32 mapped to 0 (**) Axis 1 type is 1, mapped to 1, amplify=1.000 (**) Axis 2 type is 1, mapped to 2, amplify=1.000 (**) Axis 3 type is 1, mapped to 3, amplify=1.000 (**) Axis 4 type is 1, mapped to 4, amplify=1.000 (**) Axis 5 type is 2, mapped to 1, amplify=1.000 (**) Axis 6 type is 2, mapped to 2, amplify=1.000 (**) Axis 7 type is 0, mapped to 0, amplify=1.000 (**) Axis 8 type is 0, mapped to 0, amplify=1.000 (**) Axis 9 type is 0, mapped to 0, amplify=1.000 (**) Axis 10 type is 0, mapped to 0, amplify=1.000 (**) Axis 11 type is 0, mapped to 0, amplify=1.000 (**) Axis 12 type is 0, mapped to 0, amplify=1.000 (**) Axis 13 type is 0, mapped to 0, amplify=1.000 (**) Axis 14 type is 0, mapped to 0, amplify=1.000 (**) Axis 15 type is 0, mapped to 0, amplify=1.000 (**) Axis 16 type is 0, mapped to 0, amplify=1.000 (**) Axis 17 type is 0, mapped to 0, amplify=1.000 (**) Axis 18 type is 0, mapped to 0, amplify=1.000 (**) Axis 19 type is 0, mapped to 0, amplify=1.000 (**) Axis 20 type is 0, mapped to 0, amplify=1.000 (**) Axis 21 type is 0, mapped to 0, amplify=1.000 (**) Axis 22 type is 0, mapped to 0, amplify=1.000 (**) Axis 23 type is 0, mapped to 0, amplify=1.000 (**) Axis 24 type is 0, mapped to 0, amplify=1.000 (**) Axis 25 type is 0, mapped to 0, amplify=1.000 (**) Axis 26 type is 0, mapped to 0, amplify=1.000 (**) Axis 27 type is 0, mapped to 0, amplify=1.000 (**) Axis 28 type is 0, mapped to 0, amplify=1.000 (**) Axis 29 type is 0, mapped to 0, amplify=1.000 (**) Axis 30 type is 0, mapped to 0, amplify=1.000 (**) Axis 31 type is 0, mapped to 0, amplify=1.000 (**) Axis 32 type is 0, mapped to 0, amplify=1.000 (**) Option "SendCoreEvents" (**) Logitech Cordless RumblePad 2 (keys): always reports core events (II) evaluating device (Razer Diamondback 1600) (II) XINPUT: Adding extended input device "Razer Diamondback 1600" (type: MOUSE) (II) evaluating device (Dell USB Keyboard) (II) XINPUT: Adding extended input device "Dell USB Keyboard" (type: KEYBOARD) (II) evaluating device (Logitech Cordless RumblePad 2) (II) XINPUT: Adding extended input device "Logitech Cordless RumblePad 2" (type: JOYSTICK) (II) evaluating device (Logitech Cordless RumblePad 2 (keys)) (II) XINPUT: Adding extended input device "Logitech Cordless RumblePad 2 (keys)" (type: JOYSTICK) jstkDeviceControlProc what=INIT (EE) Joystick: Didn't find any usable axes. jstkKeyboardDeviceControlProc what=DEVICE_INIT (**) Initializing Keyboard with 1 keys (**) Keymap [8]: 0x00000000 (II) Razer Diamondback 1600: SetupAuto: hw.iftype is 4, hw.model is 0 (II) Razer Diamondback 1600: SetupAuto: protocol is SysMouse jstkKeyboardDeviceControlProc what=DEVICE_ON jstkKeyboardDeviceControlProc what=DEVICE_OFF (II) NVIDIA(0): Setting mode "1152x864" (**) Option "BaudRate" "1200" (**) Option "StopBits" "2" (**) Option "DataBits" "8" (**) Option "Parity" "None" (**) Option "Vmin" "1" (**) Option "Vtime" "0" (**) Option "FlowControl" "None" couldn't enable device 4 jstkKeyboardDeviceControlProc what=DEVICE_ON jstkKeyboardDeviceControlProc what=DEVICE_OFF (II) NVIDIA(0): Setting mode "1152x864" couldn't enable device 4 jstkKeyboardDeviceControlProc what=DEVICE_ON (II) 3rd Button detected: disabling emulate3Button jstkKeyboardDeviceControlProc what=DEVICE_OFF (II) NVIDIA(0): Setting mode "1152x864" couldn't enable device 4 jstkKeyboardDeviceControlProc what=DEVICE_ON (II) 3rd Button detected: disabling emulate3Button i tried running usbhidctl -f /dev/uhid0 -a, but got no output. running usbhidctl -f /dev/uhid0 -r gives me the following output: Report descriptor: Collection page=Generic_Desktop usage=Game_Pad Total input size 0 bytes Total output size 0 bytes Total feature size 0 bytes i did the following to see if the device actually works: hd /dev/uhid0 and this is the result after pressing buttons 1-10: 00000000 01 80 80 7f 80 18 00 08 01 80 80 7f 80 08 00 08 |................| 00000010 01 80 80 7f 80 28 00 08 01 80 80 7f 80 08 00 08 |.....(..........| 00000020 01 80 80 7f 80 48 00 08 01 80 80 7f 80 08 00 08 |.....H..........| 00000030 01 80 80 7f 80 88 00 08 01 80 80 7f 80 08 00 08 |................| 00000040 01 80 80 7f 80 08 01 08 01 80 80 7f 80 08 00 08 |................| 00000050 01 80 80 7f 80 08 02 08 01 80 80 7f 80 08 00 08 |................| 00000060 01 80 80 7f 80 08 04 08 01 80 80 7f 80 08 00 08 |................| 00000070 01 80 80 7f 80 08 08 08 01 80 80 7f 80 08 00 08 |................| 00000080 01 80 80 7f 80 08 10 08 01 80 80 7f 80 08 00 08 |................| 00000090 01 80 80 7f 80 08 20 08 01 80 80 7f 80 08 00 08 |...... .........| cheers. Alex From Ggatten at waddell.com Thu Apr 9 08:54:31 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Thu Apr 9 08:54:38 2009 Subject: new package system proposal In-Reply-To: <70C0964126D66F458E688618E1CD008A0793E950@WADPEXV0.waddell.com> References: <49D76B02.4060201@onetel.com><200904080859.41807.j.mckeown@ru.ac.za> <54db43990904081224l7c006143icac411c482401620@mail.gmail.com> <200904090916.12786.j.mckeown@ru.ac.za> <92bcbda50904090114r2924d03p606d30a7fc91f84d@mail.gmail.com> <70C0964126D66F458E688618E1CD008A0793E950@WADPEXV0.waddell.com> Message-ID: <70C0964126D66F458E688618E1CD008A0793E952@WADPEXV0.waddell.com> This is the kinda B$ I'm talking about. Trying to install krb5 from ports, and after 2 hours (or more) of finding and compiling dependencies and whatever else "make" does - it aborts! WTF!!! I'm sure when I try to remove "heimdal-1.0.1" it will cause more problems that lead to more problems.... ===> Installing for krb5-1.6.3_5 ===> krb5-1.6.3_5 conflicts with installed package(s): heimdal-1.0.1 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/security/krb5. *** Error code 1 Stop in /usr/ports/security/krb5. -----Original Message----- From: Gary Gatten Sent: Thursday, April 09, 2009 10:46 AM To: 'n j'; User Questions Subject: RE: new package system proposal I haven't worked with *nix os's as much as FreeBSD - Well, maybe different flavors of SCO but as far as installing apps and what not mostly FreeBSD. I've installed maybe half a dozen apps and NONE of them took less than 2 - 3 days. Part of that is my slow a$$ test system - and my ignorance, but it seems like a MAJOR hassle for even the simplest thing! It could just be me, but seems like many developers choose to link to other libraries/modules even if they just need one simple function they could build into their source directly. Hence a dependency is "needlessly" created. Multiply this 500 times and installing a simple app turns into a nightmare. I'm definitely gonna start trying to use more packages than ports, but the port system is necessary and eventually I get stuff working! G -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of n j Sent: Thursday, April 09, 2009 3:15 AM To: User Questions Subject: Re: new package system proposal I'd like to use this opportunity to generally support this and any other ideas taking direction of making binary installs and upgrades easier and more manageable. I recognize the need for people to configure custom options and compile from ports (that is why any new system *must* be compatible with ports), however, it should be noted that there's a lot of people running simple LAMP servers, almost exclusively using default options, who would greatly benefit from better binary package support. I've already ranted about this (http://lists.freebsd.org/pipermail/freebsd-questions/2008-December/1881 19.html) in a slightly different context (I talked about -SECURITY equivalent instead of -DESKTOP that the OP suggests) with almost the same idea - make it easy for people who are interested in running stable, secure servers do binary upgrades without the hassle of going through a major system recompile because of, for example, openldap shared library version bump. Regards, -- Nino _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From Ggatten at waddell.com Thu Apr 9 08:57:02 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Thu Apr 9 08:57:09 2009 Subject: new package system proposal In-Reply-To: <70C0964126D66F458E688618E1CD008A0793E952@WADPEXV0.waddell.com> References: <49D76B02.4060201@onetel.com><200904080859.41807.j.mckeown@ru.ac.za> <54db43990904081224l7c006143icac411c482401620@mail.gmail.com> <200904090916.12786.j.mckeown@ru.ac.za> <92bcbda50904090114r2924d03p606d30a7fc91f84d@mail.gmail.com> <70C0964126D66F458E688618E1CD008A0793E950@WADPEXV0.waddell.com> <70C0964126D66F458E688618E1CD008A0793E952@WADPEXV0.waddell.com> Message-ID: <70C0964126D66F458E688618E1CD008A0793E953@WADPEXV0.waddell.com> As expected..... pkg_delete: package 'heimdal-1.0.1' is required by these other packages and may not be deinstalled: freeradius-2.1.3 FreeRADIUS is the WHOLE reason I'm trying to install SAMBA! LOVE this B$!!! -----Original Message----- From: Gary Gatten Sent: Thursday, April 09, 2009 10:54 AM To: 'n j'; 'User Questions' Subject: RE: new package system proposal This is the kinda B$ I'm talking about. Trying to install krb5 from ports, and after 2 hours (or more) of finding and compiling dependencies and whatever else "make" does - it aborts! WTF!!! I'm sure when I try to remove "heimdal-1.0.1" it will cause more problems that lead to more problems.... ===> Installing for krb5-1.6.3_5 ===> krb5-1.6.3_5 conflicts with installed package(s): heimdal-1.0.1 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/security/krb5. *** Error code 1 Stop in /usr/ports/security/krb5. -----Original Message----- From: Gary Gatten Sent: Thursday, April 09, 2009 10:46 AM To: 'n j'; User Questions Subject: RE: new package system proposal I haven't worked with *nix os's as much as FreeBSD - Well, maybe different flavors of SCO but as far as installing apps and what not mostly FreeBSD. I've installed maybe half a dozen apps and NONE of them took less than 2 - 3 days. Part of that is my slow a$$ test system - and my ignorance, but it seems like a MAJOR hassle for even the simplest thing! It could just be me, but seems like many developers choose to link to other libraries/modules even if they just need one simple function they could build into their source directly. Hence a dependency is "needlessly" created. Multiply this 500 times and installing a simple app turns into a nightmare. I'm definitely gonna start trying to use more packages than ports, but the port system is necessary and eventually I get stuff working! G -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of n j Sent: Thursday, April 09, 2009 3:15 AM To: User Questions Subject: Re: new package system proposal I'd like to use this opportunity to generally support this and any other ideas taking direction of making binary installs and upgrades easier and more manageable. I recognize the need for people to configure custom options and compile from ports (that is why any new system *must* be compatible with ports), however, it should be noted that there's a lot of people running simple LAMP servers, almost exclusively using default options, who would greatly benefit from better binary package support. I've already ranted about this (http://lists.freebsd.org/pipermail/freebsd-questions/2008-December/1881 19.html) in a slightly different context (I talked about -SECURITY equivalent instead of -DESKTOP that the OP suggests) with almost the same idea - make it easy for people who are interested in running stable, secure servers do binary upgrades without the hassle of going through a major system recompile because of, for example, openldap shared library version bump. Regards, -- Nino _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From ray at stilltech.net Thu Apr 9 09:02:03 2009 From: ray at stilltech.net (Ray) Date: Thu Apr 9 09:02:10 2009 Subject: questions about Fatal Trap 12 In-Reply-To: <200904031144.31198.ray@stilltech.net> References: <200904031144.31198.ray@stilltech.net> Message-ID: <200904091002.01582.ray@stilltech.net> On Friday 03 April 2009 11:44:31 Ray wrote: > Hello, > I have received a kernel Trap 12 error several times now and am trying to > figure it out. > the error occurred today, and the previous time was about two weeks ago. > last time I had to run fsck manually if that proves anything. > > > uname -a gives the following: > > FreeBSD wserver.********.com 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Wed > Sep 17 13:30:46 MDT 2008 > root@wserver.*********.com:/usr/obj/usr/src/sys/MOD amd64 > > > Google returns results mostly for versions 4.x and 5.x, but it suggest 2 > main things: > test ram, and kernel panic troubleshooting. > (http://www.freebsd.org/doc/en/books/faq/advanced.html#KERNEL-PANIC- > TROUBLESHOOTING) > > Is there a way to test the ram without removing it from the machine and > leave the machine functioning. I've used memtest 86 before, but obviously > the machine has to be offline for this test. > > However, I'm a little unsure of the instructions in the handbook on > troubleshooting. namely, it talks about using the nm command, but I can't > figure out the data file to give it as an argument, and second I'm unsure > about using a debugging Kernel on a production server. I have heard that It > will significantly slow down a machine. > Any help or suggestions would be greatly appreciated. > Ray Can anybody make any suggestions, or is there a better list to take this question to? Ray From talon at lpthe.jussieu.fr Thu Apr 9 09:11:40 2009 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Thu Apr 9 09:11:48 2009 Subject: new package system proposal Message-ID: <20090409154820.GA67694@lpthe.jussieu.fr> Nino wrote: > I'd like to use this opportunity to generally support this and any > other ideas taking direction of making binary installs and upgrades > easier and more manageable. You may be interested to read http://www.lpthe.jussieu.fr/~talon/freebsdports.html and to consider playing with http://www.lpthe.jussieu.fr/~talon/pkgupgrade -- Michel TALON From freebsd-questions-local at be-well.ilk.org Thu Apr 9 09:12:30 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Apr 9 09:12:37 2009 Subject: combining network interfaces In-Reply-To: <49DE13D9.2070601@streamingedge.com> (Jacques Manukyan's message of "Thu\, 09 Apr 2009 11\:27\:21 -0400") References: <49DE11C2.90503@isafeelin.org> <49DE13D9.2070601@streamingedge.com> Message-ID: <44y6u96c2b.fsf@be-well.ilk.org> Jacques Manukyan writes: > Frederique Rijsdijk wrote: >> Hello, >> >> Is there a way in FreeBSD to combine a number of network interfaces to >> one virtual interface on which I can tcpdump all the traffic of those >> interfaces at once? >> > > You're talking about bridging. Look at > http://www.freebsd.org/doc/en/books/handbook/network-bridging.html > > Section 31.5.7.1 is what you're asking for. I don't think he wants to forward the traffic between those interfaces, though; just dump them all together. I'm not sure, though. If I'm right, I don't think tcpdump can do that directly. One idea might be to run a firewall to choose the packets and to forward a copy to a dummy interface that can be monitored. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From frederique at isafeelin.org Thu Apr 9 09:47:08 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Thu Apr 9 09:47:15 2009 Subject: combining network interfaces In-Reply-To: <44y6u96c2b.fsf@be-well.ilk.org> References: <49DE11C2.90503@isafeelin.org> <49DE13D9.2070601@streamingedge.com> <44y6u96c2b.fsf@be-well.ilk.org> Message-ID: <49DE2687.5070100@isafeelin.org> Lowell Gilbert wrote: > Jacques Manukyan writes: >> Frederique Rijsdijk wrote: >>> Hello, >>> >>> Is there a way in FreeBSD to combine a number of network interfaces to >>> one virtual interface on which I can tcpdump all the traffic of those >>> interfaces at once? >>> >> You're talking about bridging. Look at >> http://www.freebsd.org/doc/en/books/handbook/network-bridging.html >> >> Section 31.5.7.1 is what you're asking for. > > I don't think he wants to forward the traffic between those interfaces, > though; just dump them all together. I'm not sure, though. > You're right. > If I'm right, I don't think tcpdump can do that directly. One idea > might be to run a firewall to choose the packets and to forward a copy > to a dummy interface that can be monitored. > It might be an idea. Somehow I think it should be possible in a more simple way. Now reading 'man 4 lagg'... -- Frederique From jwebster at es.net Thu Apr 9 09:54:48 2009 From: jwebster at es.net (John Webster) Date: Thu Apr 9 09:57:18 2009 Subject: combining network interfaces In-Reply-To: <49DE11C2.90503@isafeelin.org> References: <49DE11C2.90503@isafeelin.org> Message-ID: --On April 9, 2009 5:18:26 PM +0200 Frederique Rijsdijk wrote: > Hello, > > Is there a way in FreeBSD to combine a number of network interfaces to > one virtual interface on which I can tcpdump all the traffic of those > interfaces at once? > Take a look at netgraph. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090409/b643c6d0/attachment.pgp From ohartman at mail.zedat.fu-berlin.de Thu Apr 9 09:56:45 2009 From: ohartman at mail.zedat.fu-berlin.de (O. Hartmann) Date: Thu Apr 9 09:57:30 2009 Subject: firefox3 with high latencies when acting with mouse or keyboard and graphics refresh In-Reply-To: <49DD0A57.7020701@freebsd.org> References: <49DCA9E0.6000109@zedat.fu-berlin.de> <49DD0A57.7020701@freebsd.org> Message-ID: <49DE28D8.1020508@mail.zedat.fu-berlin.de> Tim Kientzle wrote: > I saw something similar recently due to a mismatch > between hald and the xorg server. In my case, it > affected all applications, not just firefox. > * Are you running hald? hald is not running by default. > * Do you have "AllowEmptyInput" set in /etc/X11/xorg.conf? It is explicitely set OFF/NO. > * Are you starting xdm, kdm, or gdm from /etc/ttys? Yes, xdm is started via /etc/ttys. > > Tim > > O. Hartmann wrote: >> Hello, >> got a problem since yesterday after having done a lot of updates >> (ports): on all of my FreeBSD 8.0-CURRENT/amd64 boxes firefox does >> have enormous high latencies when typing in or moving the mouse or >> popping up the window icon or down. Since this happens on all of >> 8.0-CUR/amd boxes, I guess it has something to do with an upgrade of >> the ports. >> >> I reinstalled firefox twice, but without success, so I want to ask >> for some hints.. >> >> Regards, >> Oliver >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org" >> >> From Ggatten at waddell.com Thu Apr 9 10:21:25 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Thu Apr 9 10:21:32 2009 Subject: make install krb5 conflict with heimdal In-Reply-To: <49DE28D8.1020508@mail.zedat.fu-berlin.de> References: <49DCA9E0.6000109@zedat.fu-berlin.de><49DD0A57.7020701@freebsd.org> <49DE28D8.1020508@mail.zedat.fu-berlin.de> Message-ID: <70C0964126D66F458E688618E1CD008A0793E957@WADPEXV0.waddell.com> On FreeBSD 6.0. I have FreeRADIUS installed and functional. Trying to integrate with AD so trying to install SAMBA for the NTLM Auth functions. SAMBA installs failed with a problem with krb5. Finally got the make of krb5 to succeed, but the make install fails with error below. Tried removing heimdal but FreeRADIUS depends on it! Any help getting past this paradox would be GREATLY appreciated! I'm stuck right now and really don't want to uninstall FreeRADIUS. ===> Installing for krb5-1.6.3_5 ===> krb5-1.6.3_5 conflicts with installed package(s): heimdal-1.0.1 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/security/krb5. *** Error code 1 Stop in /usr/ports/security/krb5. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of O. Hartmann Sent: Thursday, April 09, 2009 11:57 AM To: Tim Kientzle Cc: freebsd-current@freebsd.org; O. Hartmann; freebsd-questions@freebsd.org Subject: Re: firefox3 with high latencies when acting with mouse or keyboard and graphics refresh Tim Kientzle wrote: > I saw something similar recently due to a mismatch > between hald and the xorg server. In my case, it > affected all applications, not just firefox. > * Are you running hald? hald is not running by default. > * Do you have "AllowEmptyInput" set in /etc/X11/xorg.conf? It is explicitely set OFF/NO. > * Are you starting xdm, kdm, or gdm from /etc/ttys? Yes, xdm is started via /etc/ttys. > > Tim > > O. Hartmann wrote: >> Hello, >> got a problem since yesterday after having done a lot of updates >> (ports): on all of my FreeBSD 8.0-CURRENT/amd64 boxes firefox does >> have enormous high latencies when typing in or moving the mouse or >> popping up the window icon or down. Since this happens on all of >> 8.0-CUR/amd boxes, I guess it has something to do with an upgrade of >> the ports. >> >> I reinstalled firefox twice, but without success, so I want to ask >> for some hints.. >> >> Regards, >> Oliver >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org" >> >> _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From xi at borderworlds.dk Thu Apr 9 10:26:21 2009 From: xi at borderworlds.dk (Christian Laursen) Date: Thu Apr 9 10:26:30 2009 Subject: combining network interfaces In-Reply-To: <49DE11C2.90503@isafeelin.org> References: <49DE11C2.90503@isafeelin.org> Message-ID: <49DE2B94.1040605@borderworlds.dk> Frederique Rijsdijk wrote: > Is there a way in FreeBSD to combine a number of network interfaces to > one virtual interface on which I can tcpdump all the traffic of those > interfaces at once? pflog(4) might be a possibility. -- Christian Laursen From perryh at pluto.rain.com Thu Apr 9 10:37:44 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Thu Apr 9 10:37:51 2009 Subject: USB SD-card reader recognized, but not working, on 6.1 Message-ID: <49de2c9a.QlCBOleCO/iBrMcf%perryh@pluto.rain.com> Trying here, after no answer on usb@ When I plug in the reader, I get (on the console): umass0: SDMMC M121 USB 2.0 SD/MMC READER, rev 2.00/2.01, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 1962MB (4019200 512 byte sectors: 255H 63S/T 250C) So far, so good, and it appears -- based on this excerpt from the mtoolstest output -- that mtools is configured to read /dev/da0 as b: drive B: #fn=1 mode=0 defined in /usr/local/etc/mtools.conf file="/dev/da0" fat_bits=0 tracks=0 heads=0 sectors=0 hidden=0 offset=0x0 partition=0 However, when I try to read it with mtools: $ mdir -a b: init B: non DOS media Cannot initialize 'B:' When I try to investigate using file: $ file -s /dev/da0 I get a very long pause, during which this appears on the console: umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT and the file command reports /dev/da0: ERROR: cannot read `/dev/da0' (Input/output error) Is there anything that can be done in the way of configuration adjustments, or is this reader just not usable on 6.1? USB part of dmesg.boot: uhci0: port 0xcce0-0xccff irq 11 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered From lenzi.sergio at gmail.com Thu Apr 9 10:54:02 2009 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Thu Apr 9 10:54:09 2009 Subject: firefox3 with high latencies when acting with mouse or keyboard and graphics refresh In-Reply-To: <49DE28D8.1020508@mail.zedat.fu-berlin.de> References: <49DCA9E0.6000109@zedat.fu-berlin.de> <49DD0A57.7020701@freebsd.org> <49DE28D8.1020508@mail.zedat.fu-berlin.de> Message-ID: <1239299567.12528.7.camel@lenzix.cwb.casa> Hello, try to login on xdm using "secure" or xterm option if not possible, shutdown xdm (in etc/ttys) make sure X is not running and at the console (vga) type xinit it will start a small window with noting but xterm start a window manager (twm&) in the window, type firefox... and see if it works ok... In the xterm window you will see firefox messages... look for something like "fam...." if it is the case, than you must start firefox within a more "sofisticated" DM (gdm, kdm...) if firefox works ok, so the problem is in the setup of the dm (xdm, gdm...) (I prefer gdm, version 1.8) if firefox does not work ok, the problem is with the X configureation, or firefox itsself, Try test with firefox2 Hope this will help, Sergio From dnelson at allantgroup.com Thu Apr 9 10:59:59 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Thu Apr 9 11:00:06 2009 Subject: find command question In-Reply-To: <18E2669B-9EC4-4F63-8B1C-E7D81EBDD607@socket.net> References: <18E2669B-9EC4-4F63-8B1C-E7D81EBDD607@socket.net> Message-ID: <20090409175954.GC90152@dan.emsphone.com> In the last episode (Apr 09), Jay Hall said: > When using the find command with the -exec option, does the find command > wait for the command being executed to finish before returning the next > result? > > For example, if I am using find -exec {} to copy files to tape, will find > wait for the command to write the file to tape complete before it returns > the next result? Since the find manpage says: -exec utility [argument ...] ; True if the program named utility returns a zero value as its exit status. ... It has to wait for completion to see the exit status. -- Dan Nelson dnelson@allantgroup.com From rsmith at xs4all.nl Thu Apr 9 11:10:12 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Thu Apr 9 11:10:24 2009 Subject: USB SD-card reader recognized, but not working, on 6.1 In-Reply-To: <49de2c9a.QlCBOleCO/iBrMcf%perryh@pluto.rain.com> References: <49de2c9a.QlCBOleCO/iBrMcf%perryh@pluto.rain.com> Message-ID: <20090409181009.GA38361@slackbox.xs4all.nl> On Thu, Apr 09, 2009 at 10:12:58AM -0700, perryh@pluto.rain.com wrote: > Trying here, after no answer on usb@ > > When I plug in the reader, I get (on the console): > > umass0: SDMMC M121 USB 2.0 SD/MMC READER, rev 2.00/2.01, addr 2 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 1.000MB/s transfers > da0: 1962MB (4019200 512 byte sectors: 255H 63S/T 250C) > > So far, so good, and it appears -- based on this excerpt from the > mtoolstest output -- that mtools is configured to read /dev/da0 as b: > > drive B: > #fn=1 mode=0 defined in /usr/local/etc/mtools.conf > file="/dev/da0" fat_bits=0 > tracks=0 heads=0 sectors=0 hidden=0 > offset=0x0 > partition=0 > > However, when I try to read it with mtools: > > $ mdir -a b: > init B: non DOS media > Cannot initialize 'B:' Are you sure that the drive isn't partitioned? In other words, if you plug in the drive, and you give the command 'ls /dev/da0*', do you only get /dev/da0 or perhaps also /dev/da0s1? If it is partitioned, try /dev/da0s? instead. Second, does the user running mtools have read and write access to the device? Have you tried just mounting the card reader? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090409/fa7b7924/attachment.pgp From don_read at att.net Thu Apr 9 11:13:42 2009 From: don_read at att.net (Don Read) Date: Thu Apr 9 11:13:49 2009 Subject: make install krb5 conflict with heimdal In-Reply-To: <70C0964126D66F458E688618E1CD008A0793E957@WADPEXV0.waddell.com> References: <49DCA9E0.6000109@zedat.fu-berlin.de> <49DD0A57.7020701@freebsd.org> <49DE28D8.1020508@mail.zedat.fu-berlin.de> <70C0964126D66F458E688618E1CD008A0793E957@WADPEXV0.waddell.com> Message-ID: <20090409134659.58922787@att.net> On Thu, 9 Apr 2009 12:20:35 -0500 Gary Gatten said: > On FreeBSD 6.0. I have FreeRADIUS installed and functional. Trying to > integrate with AD so trying to install SAMBA for the NTLM Auth > functions. SAMBA installs failed with a problem with krb5. Finally got > the make of krb5 to succeed, but the make install fails with error > below. Tried removing heimdal but FreeRADIUS depends on it! Any help > getting past this paradox would be GREATLY appreciated! I'm stuck right > now and really don't want to uninstall FreeRADIUS. > > > ===> Installing for krb5-1.6.3_5 > > ===> krb5-1.6.3_5 conflicts with installed package(s): > heimdal-1.0.1 > > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 > > Stop in /usr/ports/security/krb5. > *** Error code 1 > > Stop in /usr/ports/security/krb5. > 1. Stop hijacking threads. 2. man pkg_delete. Note the -f, --force argument. furrfu ... -- Don Read don_read@att.net It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. From josh.carroll at gmail.com Thu Apr 9 11:14:46 2009 From: josh.carroll at gmail.com (Josh Carroll) Date: Thu Apr 9 11:14:54 2009 Subject: find command question In-Reply-To: <18E2669B-9EC4-4F63-8B1C-E7D81EBDD607@socket.net> References: <18E2669B-9EC4-4F63-8B1C-E7D81EBDD607@socket.net> Message-ID: <8cb6106e0904091114y73189738g3eea1d562bf3188@mail.gmail.com> On Thu, Apr 9, 2009 at 8:01 AM, Jay Hall wrote: > When using the find command with the -exec option, does the find command > wait for the command being executed to finish before returning the next > result? > > For example, if I am using find -exec {} to copy files to tape, will find > wait for the command to write the file to tape complete before it returns > the next result? It has to wait. It's easily verified by creating a simple script: #!/bin/sh echo "My args were: $*" sleep 1 Then: find /some/path -exec /path/to/f.sh {} \; You'll see: My args were: /some/path/a (1 second delay) My args were: /some/path/b (1 second delay) ... Regards, Josh From Ggatten at waddell.com Thu Apr 9 11:21:50 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Thu Apr 9 11:21:57 2009 Subject: make install krb5 conflict with heimdal In-Reply-To: <20090409134659.58922787@att.net> References: <49DCA9E0.6000109@zedat.fu-berlin.de><49DD0A57.7020701@freebsd.org><49DE28D8.1020508@mail.zedat.fu-berlin.de><70C0964126D66F458E688618E1CD008A0793E957@WADPEXV0.waddell.com> <20090409134659.58922787@att.net> Message-ID: <70C0964126D66F458E688618E1CD008A0793E95A@WADPEXV0.waddell.com> This is a new thread, so not sure what you mean? Maybe my other posts re. new package system? Unintentional hijack - just venting, sorry. I'm aware of the pkg_delete -f; but I don't want to break FreeRADIUS. This will process involves getting FreeRADIUS hooked into AD, and one method I'm looking into is the SAMBA / NTLM thing. SAMBA won't install unless krb5 is "happy". Do I need to force heimdal removal, install krb5, reinstall heimdal and HOPE it works and nothing breaks in the process? -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Don Read Sent: Thursday, April 09, 2009 12:47 PM To: freebsd-questions@freebsd.org Subject: Re: make install krb5 conflict with heimdal On Thu, 9 Apr 2009 12:20:35 -0500 Gary Gatten said: > On FreeBSD 6.0. I have FreeRADIUS installed and functional. Trying to > integrate with AD so trying to install SAMBA for the NTLM Auth > functions. SAMBA installs failed with a problem with krb5. Finally got > the make of krb5 to succeed, but the make install fails with error > below. Tried removing heimdal but FreeRADIUS depends on it! Any help > getting past this paradox would be GREATLY appreciated! I'm stuck right > now and really don't want to uninstall FreeRADIUS. > > > ===> Installing for krb5-1.6.3_5 > > ===> krb5-1.6.3_5 conflicts with installed package(s): > heimdal-1.0.1 > > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 > > Stop in /usr/ports/security/krb5. > *** Error code 1 > > Stop in /usr/ports/security/krb5. > 1. Stop hijacking threads. 2. man pkg_delete. Note the -f, --force argument. furrfu ... -- Don Read don_read@att.net It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From cswiger at mac.com Thu Apr 9 11:25:38 2009 From: cswiger at mac.com (Chuck Swiger) Date: Thu Apr 9 11:25:45 2009 Subject: make install krb5 conflict with heimdal In-Reply-To: <70C0964126D66F458E688618E1CD008A0793E95A@WADPEXV0.waddell.com> References: <49DCA9E0.6000109@zedat.fu-berlin.de> <49DD0A57.7020701@freebsd.org> <49DE28D8.1020508@mail.zedat.fu-berlin.de> <70C0964126D66F458E688618E1CD008A0793E957@WADPEXV0.waddell.com> <20090409134659.58922787@att.net> <70C0964126D66F458E688618E1CD008A0793E95A@WADPEXV0.waddell.com> Message-ID: On Apr 9, 2009, at 11:21 AM, Gary Gatten wrote: > This is a new thread, so not sure what you mean? Maybe my other posts > re. new package system? Unintentional hijack - just venting, sorry. > > I'm aware of the pkg_delete -f; but I don't want to break FreeRADIUS. > This will process involves getting FreeRADIUS hooked into AD, and one > method I'm looking into is the SAMBA / NTLM thing. SAMBA won't > install > unless krb5 is "happy". > > Do I need to force heimdal removal, install krb5, reinstall heimdal > and > HOPE it works and nothing breaks in the process? Nope. FreeRADIUS' Makefile claims to support both Heimdal and Kerberos5, but you have to choose one or the other via the options ("make config"): > .ifdef(WITH_KERBEROS) > .ifdef(WITH_HEIMDAL) > LIB_DEPENDS+= krb5.23:${PORTSDIR}/security/heimdal > CONFIGURE_ARGS+=--enable-heimdal-krb5 > .else > LIB_DEPENDS+= krb5.3:${PORTSDIR}/security/krb5 > .endif Likewise with Samba: > .if defined(WITH_ADS) > SAMBA_WANT_LDAP= yes > SAMBA_WANT_KRB5= yes > CONFIGURE_ARGS+= --with-ads > .else > CONFIGURE_ARGS+= --without-ads > .endif > # Kerberos5 is necessary for ADS > .if defined(SAMBA_WANT_KRB5) > .if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.so) > CONFIGURE_ARGS+= --with-krb5="${KRB5_HOME}" > .elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/ > libgssapi.so) > CONFIGURE_ARGS+= --with-krb5="${HEIMDAL_HOME}" > .elif exists(/usr/lib/libkrb5.so) && exists(/usr/bin/krb5-config) > CONFIGURE_ARGS+= --with-krb5="/usr" > .else > LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal > CONFIGURE_ARGS+= --with-krb5="${LOCALBASE}" > .endif Regards, -- -Chuck From Ggatten at waddell.com Thu Apr 9 11:30:28 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Thu Apr 9 11:30:35 2009 Subject: make install krb5 conflict with heimdal In-Reply-To: References: <49DCA9E0.6000109@zedat.fu-berlin.de> <49DD0A57.7020701@freebsd.org> <49DE28D8.1020508@mail.zedat.fu-berlin.de> <70C0964126D66F458E688618E1CD008A0793E957@WADPEXV0.waddell.com> <20090409134659.58922787@att.net> <70C0964126D66F458E688618E1CD008A0793E95A@WADPEXV0.waddell.com> Message-ID: <70C0964126D66F458E688618E1CD008A0793E95C@WADPEXV0.waddell.com> This actually makes a little sense - thanks for the pointers! G BTW: Is top posting bad? I prefer top posts, but if the list doesn't like it I'll change. I'll find the rules and read them! -----Original Message----- From: Chuck Swiger [mailto:cswiger@mac.com] Sent: Thursday, April 09, 2009 1:26 PM To: Gary Gatten Cc: freebsd-questions@freebsd.org Questions - Subject: Re: make install krb5 conflict with heimdal On Apr 9, 2009, at 11:21 AM, Gary Gatten wrote: > This is a new thread, so not sure what you mean? Maybe my other posts > re. new package system? Unintentional hijack - just venting, sorry. > > I'm aware of the pkg_delete -f; but I don't want to break FreeRADIUS. > This will process involves getting FreeRADIUS hooked into AD, and one > method I'm looking into is the SAMBA / NTLM thing. SAMBA won't > install > unless krb5 is "happy". > > Do I need to force heimdal removal, install krb5, reinstall heimdal > and > HOPE it works and nothing breaks in the process? Nope. FreeRADIUS' Makefile claims to support both Heimdal and Kerberos5, but you have to choose one or the other via the options ("make config"): > .ifdef(WITH_KERBEROS) > .ifdef(WITH_HEIMDAL) > LIB_DEPENDS+= krb5.23:${PORTSDIR}/security/heimdal > CONFIGURE_ARGS+=--enable-heimdal-krb5 > .else > LIB_DEPENDS+= krb5.3:${PORTSDIR}/security/krb5 > .endif Likewise with Samba: > .if defined(WITH_ADS) > SAMBA_WANT_LDAP= yes > SAMBA_WANT_KRB5= yes > CONFIGURE_ARGS+= --with-ads > .else > CONFIGURE_ARGS+= --without-ads > .endif > # Kerberos5 is necessary for ADS > .if defined(SAMBA_WANT_KRB5) > .if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.so) > CONFIGURE_ARGS+= --with-krb5="${KRB5_HOME}" > .elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/ > libgssapi.so) > CONFIGURE_ARGS+= --with-krb5="${HEIMDAL_HOME}" > .elif exists(/usr/lib/libkrb5.so) && exists(/usr/bin/krb5-config) > CONFIGURE_ARGS+= --with-krb5="/usr" > .else > LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal > CONFIGURE_ARGS+= --with-krb5="${LOCALBASE}" > .endif Regards, -- -Chuck
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From mheitm at gmail.com Thu Apr 9 11:41:25 2009 From: mheitm at gmail.com (Michael Heitmeier) Date: Thu Apr 9 11:41:32 2009 Subject: Error Message when starting Apache Message-ID: <179292290904091114wcb86c40q1d394c18c7fe333b@mail.gmail.com> After installing Apache 2.2 it does not start and apachectl start fails with the error message /libexec/ld-elf.so.1: Shared object "xchgptr" not found, required by "libapr-1.so.3" Searching on the Web and archives did not reveal anything, please let me know how to resolve this, thanks! From cswiger at mac.com Thu Apr 9 11:53:23 2009 From: cswiger at mac.com (Chuck Swiger) Date: Thu Apr 9 11:53:29 2009 Subject: make install krb5 conflict with heimdal In-Reply-To: <70C0964126D66F458E688618E1CD008A0793E95C@WADPEXV0.waddell.com> References: <49DCA9E0.6000109@zedat.fu-berlin.de> <49DD0A57.7020701@freebsd.org> <49DE28D8.1020508@mail.zedat.fu-berlin.de> <70C0964126D66F458E688618E1CD008A0793E957@WADPEXV0.waddell.com> <20090409134659.58922787@att.net> <70C0964126D66F458E688618E1CD008A0793E95A@WADPEXV0.waddell.com> <70C0964126D66F458E688618E1CD008A0793E95C@WADPEXV0.waddell.com> Message-ID: <33DDA874-7A10-4B50-B97E-37356758ED2F@mac.com> On Apr 9, 2009, at 11:29 AM, Gary Gatten wrote: > This actually makes a little sense - thanks for the pointers! > > G > > BTW: Is top posting bad? I prefer top posts, but if the list doesn't > like it I'll change. I'll find the rules and read them! Top posting is widely considered bad on the FreeBSD lists, yes. Note that Kerberos is a complicated, many-headed beast and not just in the mythological sense. You might have an easier time if you choose which flavor you want to use, and then maybe add WITH_KERBEROS=yes and/ or WITH_HEIMDAL=yes to /etc/make.conf, before firing off the tree of builds-- that will help the various ports and options screens figure out which one you wanted to use more consistently. However, it looks like Samba is looking for HEIMDAL_HOME or KRB5_HOME to be defined instead of using the standard WITH_ flags; arguably, the port maintainer dwcjr@ should be checking the WITH_ flags instead. Regards, -- -Chuck From Ggatten at waddell.com Thu Apr 9 12:00:45 2009 From: Ggatten at waddell.com (Gary Gatten) Date: Thu Apr 9 12:00:52 2009 Subject: make install krb5 conflict with heimdal In-Reply-To: <33DDA874-7A10-4B50-B97E-37356758ED2F@mac.com> References: <49DCA9E0.6000109@zedat.fu-berlin.de> <49DD0A57.7020701@freebsd.org> <49DE28D8.1020508@mail.zedat.fu-berlin.de> <70C0964126D66F458E688618E1CD008A0793E957@WADPEXV0.waddell.com> <20090409134659.58922787@att.net> <70C0964126D66F458E688618E1CD008A0793E95A@WADPEXV0.waddell.com> <70C0964126D66F458E688618E1CD008A0793E95C@WADPEXV0.waddell.com> <33DDA874-7A10-4B50-B97E-37356758ED2F@mac.com> Message-ID: <70C0964126D66F458E688618E1CD008A0793E95E@WADPEXV0.waddell.com> -----Original Message----- From: Chuck Swiger [mailto:cswiger@mac.com] Sent: Thursday, April 09, 2009 1:53 PM To: Gary Gatten Cc: freebsd-questions@freebsd.org Subject: Re: make install krb5 conflict with heimdal On Apr 9, 2009, at 11:29 AM, Gary Gatten wrote: > This actually makes a little sense - thanks for the pointers! > > G > > BTW: Is top posting bad? I prefer top posts, but if the list doesn't > like it I'll change. I'll find the rules and read them! Top posting is widely considered bad on the FreeBSD lists, yes. Note that Kerberos is a complicated, many-headed beast and not just in the mythological sense. You might have an easier time if you choose which flavor you want to use, and then maybe add WITH_KERBEROS=yes and/ or WITH_HEIMDAL=yes to /etc/make.conf, before firing off the tree of builds-- that will help the various ports and options screens figure out which one you wanted to use more consistently. However, it looks like Samba is looking for HEIMDAL_HOME or KRB5_HOME to be defined instead of using the standard WITH_ flags; arguably, the port maintainer dwcjr@ should be checking the WITH_ flags instead. Regards, -- -Chuck OK, no more top posting. Got past the krb5 build and back to SAMBA with a new error in clikrb5.c. Time to try a package again! libsmb/clikrb5.c: In function `krb5_set_real_time': libsmb/clikrb5.c:132: error: dereferencing pointer to incomplete type libsmb/clikrb5.c:133: error: dereferencing pointer to incomplete type libsmb/clikrb5.c: In function `create_kerberos_key_from_string_direct': libsmb/clikrb5.c:244: error: syntax error before "salt" libsmb/clikrb5.c:246: error: `salt' undeclared (first use in this function) libsmb/clikrb5.c:246: error: (Each undeclared identifier is reported only once libsmb/clikrb5.c:246: error: for each function it appears in.) libsmb/clikrb5.c: In function `smb_krb5_renew_ticket': libsmb/clikrb5.c:1301: error: syntax error before "flags" libsmb/clikrb5.c:1302: error: `krb5_realm' undeclared (first use in this function) libsmb/clikrb5.c:1302: error: `client_realm' undeclared (first use in this function) libsmb/clikrb5.c:1327: error: `flags' undeclared (first use in this function) The following command failed: cc -I. -I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source -I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/usr/local/include -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -I/usr/local/include -DLDAP_DEPRECATED -O2 -fno-strict-aliasing -pipe -DLDAP_DEPRECATED -O -D_SAMBA_BUILD_=3 -I/usr/local/include -I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source/lib -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/clikrb5.c -o libsmb/clikrb5.o gmake: *** [libsmb/clikrb5.o] Error 1 *** Error code 2 Stop in /usr/ports/net/samba33/samba33. *** Error code 1 Stop in /usr/ports/net/samba33/samba33. *** Error code 1 Stop in /usr/ports/net/samba33/samba33. wanmon1#
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From dino_vliet at yahoo.com Thu Apr 9 12:09:50 2009 From: dino_vliet at yahoo.com (Dino Vliet) Date: Thu Apr 9 12:09:57 2009 Subject: memtest question on 8 GB RAM AMD64 system Message-ID: <848751.28828.qm@web51109.mail.re2.yahoo.com> Dear freebsd people, I have just installed 4 x 2gb kingston memory banks (Kingston HyperX 4GB 800mhz DDR2 Non-ECC CL5 (5-5-5-15) DIMM) onto my AMD 64 system with a X2 5200 CPU. The motherboard I have in this system is MSI K9AG Neo2-Digital. The system boots fine and I wanted to try memtest to see if there would be errors. So I installed that /usr/ports/sysutils/memtest port and did # memtest 2400 The output I got is: Continuing with unlocked memory; testing will be slower and less reliable. ....... pagesize 4096 pagesizemask is 0xfffffffffffff000 want 2400MB (2516582400 bytes) got?? 2400MB (2516582400 bytes), trying mlock .......failed for unknown reason Loop 1: ..... In my /etc/rc/conf file I had added these lines in the past (when I had 4gb RAM installed in it) sysctl -w kern.ipc.shmmax=1954311424 sysctl -w kern.ipc.shmall=238000 What is the case here? Why is memtest failing to use mlock? How can I eventually make sure I can run memtest with 8000mb? The purpose of this machine is that it will be used for a various data intensive tasks where I need to be able to allocate as much memory possible. I am running a postgresql database server on it as well to store my source data. Brgds Dino From jgimer at gmail.com Thu Apr 9 12:12:56 2009 From: jgimer at gmail.com (Joshua Gimer) Date: Thu Apr 9 12:13:04 2009 Subject: Recovering loss of /var/db/pkg ? In-Reply-To: <20090408142932.695c07ce@summersault.com> References: <20090408142932.695c07ce@summersault.com> Message-ID: You could try to recover the file from the disk if it has not been reallocated using something like The Sleuth Kit: http://www.sleuthkit.org/ You can use fls to find the location of the file on the disk and then icat to recover. On Wed, Apr 8, 2009 at 12:29 PM, Mark Stosberg wrote: > > I'll just say it plainly: > > /var/db/pkg is long gone and there is no backup. It was not copied to > new a machine. > > Is there is any hope of being able to use the ports or packages system in a > meangingful way again? > > My sense is that some recovery is possible, but may be prohibitively expensive. > > Thanks for any tips! > > ? Mark > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Thx Joshua Gimer From jgimer at gmail.com Thu Apr 9 12:26:52 2009 From: jgimer at gmail.com (Joshua Gimer) Date: Thu Apr 9 12:27:00 2009 Subject: cannot kill process with kill -9 In-Reply-To: <20090409114731.GA4871@zptr-nb01> References: <20090409114731.GA4871@zptr-nb01> Message-ID: You might also find a little bit information about what the process is waiting on by attaching to it with strace (in ports under devel) (strace -p PID). On Thu, Apr 9, 2009 at 5:47 AM, Eray Aslan wrote: > On Thu, Apr 09, 2009 at 09:41:31AM +0200, Pieter Donche wrote: >> I have a mount_nfs process that refuses to get killed : >> # ps -jaxw | grep mount >> root ? 60342 ? ? 1 60289 60289 ? ?0 D ? ? ?? ? ?0:00.00 mount_nfs > [...] >> How to I get this process killed? > > reboot. ?You can't kill a process with a D flag. ?Google for > uninterruptible sleep. > > -- > Eray > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Thx Joshua Gimer From josh.carroll at gmail.com Thu Apr 9 12:40:11 2009 From: josh.carroll at gmail.com (Josh Carroll) Date: Thu Apr 9 12:40:27 2009 Subject: memtest question on 8 GB RAM AMD64 system In-Reply-To: <848751.28828.qm@web51109.mail.re2.yahoo.com> References: <848751.28828.qm@web51109.mail.re2.yahoo.com> Message-ID: <8cb6106e0904091240w240f84f0tbdeab643a87bf959@mail.gmail.com> On Thu, Apr 9, 2009 at 2:43 PM, Dino Vliet wrote: > Dear freebsd people, > > I have just installed 4 x 2gb kingston memory banks (Kingston HyperX 4GB 800mhz DDR2 Non-ECC CL5 (5-5-5-15) DIMM) onto my AMD 64 system with a X2 5200 CPU. The motherboard I have in this system is MSI K9AG Neo2-Digital. > > The system boots fine and I wanted to try memtest to see if there would be errors. So I installed that /usr/ports/sysutils/memtest port and did > > # memtest 2400 > > The output I got is: > Continuing with unlocked memory; testing will be slower and less reliable. > > ....... > pagesize 4096 > pagesizemask is 0xfffffffffffff000 > want 2400MB (2516582400 bytes) > got?? 2400MB (2516582400 bytes), trying mlock .......failed for unknown reason > Loop 1: > ..... > > In my /etc/rc/conf file I had added these lines in the past (when I had 4gb RAM installed in it) > > sysctl -w kern.ipc.shmmax=1954311424 > sysctl -w kern.ipc.shmall=238000 > > What is the case here? Why is memtest failing to use mlock? How can I eventually make sure I can run memtest with 8000mb? > > The purpose of this machine is that it will be used for a various data intensive tasks where I need to be able to allocate as much memory possible. I am running a postgresql database server on it as well to store my source data. I've run into similar problems trying to use that particular memtest port. If you want to more reliably test the memory, I'd suggest using memtest86+ from http://www.memtest.org/ It is much more thorough and runs independent of the operating system. Regards, Josh From bahamasfranks at gmail.com Thu Apr 9 12:53:10 2009 From: bahamasfranks at gmail.com (Steve Franks) Date: Thu Apr 9 12:53:16 2009 Subject: flex from ports kills buildworld? Message-ID: <539c60b90904091253i398dc4cfvfdb98f3731e6b3c@mail.gmail.com> Probably doing something stupid, but on the off chance I'm not: - Had to install a newer flex from ports for something. - Had to move the system flex to avoid hacking reams of bad makefiles - Did a buildworld, and it can't find a flex - Seems to me, buildworld should be able to use a newer flex, and should be able to use the one from /usr/local instead of /sbin Thanks, Steve [steve@dynstant /usr/src]$ sudo make buildworld ... flex -ogengtype-lex.c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype-lex.l flex:No such file or directory *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc/cc_tools. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. [steve@dynstant /usr/src]$ which flex /usr/local/bin/flex [steve@dynstant /usr/src]$ From brentb at beanfield.com Thu Apr 9 12:57:56 2009 From: brentb at beanfield.com (Brent Bloxam) Date: Thu Apr 9 12:58:08 2009 Subject: Multiple instances of MySQL In-Reply-To: <200904081117.58218.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <49DAC610.6020404@pixelhammer.com> <5C4F1A401C316B7D2F625CCF@Macintosh-2.local> <49DB4D3E.3070301@pixelhammer.com> <200904081117.58218.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <49DE4FE8.8090303@beanfield.com> Mel Flynn wrote: > Any reason a jail can't be used? This would allow sharing the binary using > null or union fs, little overhead, yet seperated from host install and no > maintenance of port installed files, like rc.d/mysql-server. Unionfs, unix sockets and flush operations don't like each other from what I know, so make sure your database directory and socket aren't going to be located on a unionfs mount and you should be okay. Someone feel free to correct me if I'm wrong on this, but I definitely haven't been able to get MySQL to play nice with unionfs From perryh at pluto.rain.com Thu Apr 9 13:13:32 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Thu Apr 9 13:13:45 2009 Subject: USB SD-card reader recognized, but not working, on 6.1 In-Reply-To: <20090409181009.GA38361@slackbox.xs4all.nl> References: <49de2c9a.QlCBOleCO/iBrMcf%perryh@pluto.rain.com> <20090409181009.GA38361@slackbox.xs4all.nl> Message-ID: <49de50cb.gcYrr9F1eSmdUBu9%perryh@pluto.rain.com> Roland Smith wrote: > Are you sure that the drive isn't partitioned? In other words, > if you plug in the drive, and you give the command 'ls /dev/da0*', > do you only get /dev/da0 or perhaps also /dev/da0s1? If it is > partitioned, try /dev/da0s? instead. It's an SD card, not a "drive", so I had not expected it to be partitioned; but yes, it is: $ ls -l /dev/da0* crw-r----- 1 root operator 0, 244 Feb 14 15:09 /dev/da0 crw-r----- 1 root operator 0, 245 Feb 14 15:09 /dev/da0s1 > Second, does the user running mtools have read and write access > to the device? Read-only, which should be sufficient for mdir. The card is, deliberately, write-protected. After reconfiguring mtools to read from /dev/da0s1, I started getting those umass0: BBB bulk-in clear stall failed, TIMEOUT messages again, but I can read it a sector at a time using dd: $ dd if=/dev/da0 of=~/sd bs=1b That's been running for something like 45 minutes now, and based on the size of the output file it has read about a tenth of the card. It looks as if the problem arises only when attempting to read larger blocks. (I haven't tried to find out how much larger.) > Have you tried just mounting the card reader? No, because I'd expect to panic the system if it is not in fact a valid (and readable) FAT filesystem. Mtools seems much safer. From davstrenio at comcast.net Thu Apr 9 15:00:44 2009 From: davstrenio at comcast.net (David Strenio) Date: Thu Apr 9 15:00:50 2009 Subject: {Classmates#889-142}read it immediately Message-ID: Please unsubscribe me from all your emails. Thank you, David Strenio From mlobo at digiart.art.br Thu Apr 9 15:07:20 2009 From: mlobo at digiart.art.br (Mario Lobo) Date: Thu Apr 9 15:07:27 2009 Subject: {Classmates#889-142}read it immediately In-Reply-To: References: Message-ID: <200904091907.30401.mlobo@digiart.art.br> On Thursday 09 April 2009 18:47:25 David Strenio wrote: > Please unsubscribe me from all your emails. Thank you, David Strenio > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions ************************************************** -> To unsubscribe, send any mail to <- -> "freebsd-questions-unsubscribe@freebsd.org" <- ************************************************** Come on ! you can do it ! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From rsmith at xs4all.nl Thu Apr 9 15:20:51 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Thu Apr 9 15:20:58 2009 Subject: USB SD-card reader recognized, but not working, on 6.1 In-Reply-To: <49de50cb.gcYrr9F1eSmdUBu9%perryh@pluto.rain.com> References: <49de2c9a.QlCBOleCO/iBrMcf%perryh@pluto.rain.com> <20090409181009.GA38361@slackbox.xs4all.nl> <49de50cb.gcYrr9F1eSmdUBu9%perryh@pluto.rain.com> Message-ID: <20090409222047.GA44772@slackbox.xs4all.nl> On Thu, Apr 09, 2009 at 12:47:23PM -0700, perryh@pluto.rain.com wrote: > Roland Smith wrote: > > Are you sure that the drive isn't partitioned? In other words, > > if you plug in the drive, and you give the command 'ls /dev/da0*', > > do you only get /dev/da0 or perhaps also /dev/da0s1? If it is > > partitioned, try /dev/da0s? instead. > > It's an SD card, not a "drive", so I had not expected it to be > partitioned; but yes, it is: > > $ ls -l /dev/da0* > crw-r----- 1 root operator 0, 244 Feb 14 15:09 /dev/da0 > crw-r----- 1 root operator 0, 245 Feb 14 15:09 /dev/da0s1 That would suggest that there is a filesystem on there, doesn't it? > > Second, does the user running mtools have read and write access > > to the device? > > Read-only, which should be sufficient for mdir. The card is, > deliberately, write-protected. > > After reconfiguring mtools to read from /dev/da0s1, I started > getting those umass0: BBB bulk-in clear stall failed, TIMEOUT > messages again, but I can read it a sector at a time using dd: Try running unplugging the device, run 'camcontrol rescan all' and plug it in again. Then wait until the devices show up. > $ dd if=/dev/da0 of=~/sd bs=1b > > That's been running for something like 45 minutes now, and based on > the size of the output file it has read about a tenth of the card. Reading one byte at a time is bound to be slow. It could be that this USB chipset needs some "quirks" to work correctly. There are some really crappy USB chipsets out there. E.g. I've had trouble with prolific controllers, especially on older (single core) machines. If you are in a position to do so, you could try the new USB stack in 8-CURRENT. > > Have you tried just mounting the card reader? > > No, because I'd expect to panic the system if it is not in fact a > valid (and readable) FAT filesystem. Mtools seems much safer. I can't recall mount_msdosfs ever panicing the kernel on me in that case. It usually just fails. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090409/f5d0ea69/attachment.pgp From freebsd at edvax.de Thu Apr 9 15:38:08 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Apr 9 15:38:16 2009 Subject: USB SD-card reader recognized, but not working, on 6.1 In-Reply-To: <49de50cb.gcYrr9F1eSmdUBu9%perryh@pluto.rain.com> References: <49de2c9a.QlCBOleCO/iBrMcf%perryh@pluto.rain.com> <20090409181009.GA38361@slackbox.xs4all.nl> <49de50cb.gcYrr9F1eSmdUBu9%perryh@pluto.rain.com> Message-ID: <20090410003759.dede9c9e.freebsd@edvax.de> On Thu, 09 Apr 2009 12:47:23 -0700, perryh@pluto.rain.com wrote: > It's an SD card, not a "drive", so I had not expected it to be > partitioned; but yes, it is: > > $ ls -l /dev/da0* > crw-r----- 1 root operator 0, 244 Feb 14 15:09 /dev/da0 > crw-r----- 1 root operator 0, 245 Feb 14 15:09 /dev/da0s1 Why don't you expect this? As far as I know, if something is msdosfs-formatted (read: any "Windows" readable file system, FAT), it always involves a "slice device". I never found a situation where access to /dev/da0 would work. You can always check any partitioning with # fdisk da0 which prints out a partition table. In your case, the card in the reader will have one DOS partition which is to be accessed via the "slice device". The same is usually true for USB sticks, digital cameras (umass+da) and MP3 players. As long as you don't format them with UFS, you'll always find the situation described above. You can easily get rid of it by # newfs /dev/da0 but don't expect "Windows" to be able to read it afterwards. :-) > Read-only, which should be sufficient for mdir. The card is, > deliberately, write-protected. Okay, that should not interference any reading process. > After reconfiguring mtools to read from /dev/da0s1, I started > getting those umass0: BBB bulk-in clear stall failed, TIMEOUT > messages again, [...] This indicates that the card reader (and mostly not the card itself) is using non-standard compliant chipsets. I had a crappy MP3 player which didn't work on older FreeBSD versions, but does today. I could not access it - the same situation as you described it. That is no failure of FreeBSD, it's simply the fact that the manufacturer of the card drive produced crap. > [...] but I can read it a sector at a time using dd: > > $ dd if=/dev/da0 of=~/sd bs=1b > > That's been running for something like 45 minutes now, and based on > the size of the output file it has read about a tenth of the card. > > It looks as if the problem arises only when attempting to read > larger blocks. (I haven't tried to find out how much larger.) As it has been explained, it's completely normal that it is so slow. > > Have you tried just mounting the card reader? > > No, because I'd expect to panic the system if it is not in fact a > valid (and readable) FAT filesystem. Mtools seems much safer. Don't worry. Especially for diagnostics it's useful first to try the system's tools, and then third-party software (mtools). # mount -t msdosfs -o ro /dev/da0s1 /mnt # ls -R /mnt That should work. In any case, remember to unmount the card before ejecting it. To the system, the situation is similar to removing a hard disk without any warning - not good. :-) # umount /mnt If problems seem to slow down or stop the CAM subsystem, you can always use # camcontrol rescan all to let the system update what's on the "SCSI bus". In most cases, you won't see any system panics. It *may* happen when you're pulling the card out of the drive while writing on it. Just imagine it was a regular hard disk - does the system encourage you to do so? :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From joji at eskimo.com Thu Apr 9 18:33:45 2009 From: joji at eskimo.com (Joseph Olatt) Date: Thu Apr 9 18:33:52 2009 Subject: flex from ports kills buildworld? In-Reply-To: <539c60b90904091253i398dc4cfvfdb98f3731e6b3c@mail.gmail.com> References: <539c60b90904091253i398dc4cfvfdb98f3731e6b3c@mail.gmail.com> Message-ID: <20090410012235.GA2328@shell.eskimo.com> On Thu, Apr 09, 2009 at 12:53:09PM -0700, Steve Franks wrote: > Probably doing something stupid, but on the off chance I'm not: > > - Had to install a newer flex from ports for something. > - Had to move the system flex to avoid hacking reams of bad makefiles > - Did a buildworld, and it can't find a flex > - Seems to me, buildworld should be able to use a newer flex, and > should be able to use the one from /usr/local instead of /sbin > > Thanks, > Steve > > [steve@dynstant /usr/src]$ sudo make buildworld > ... > flex -ogengtype-lex.c > /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype-lex.l > flex:No such file or directory > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/cc/cc_tools. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > [steve@dynstant /usr/src]$ which flex > /usr/local/bin/flex > [steve@dynstant /usr/src]$ It appears that your flex in /usr/local/bin is not being found. It is possible that PATH for the build environment does not contain /usr/local/bin probably in order to have a controlled build environment. Why don't you temporarily do: ln -s /usr/local/bin/flex /usr/bin/flex and see if that works. From ipfreak at yahoo.com Thu Apr 9 18:39:01 2009 From: ipfreak at yahoo.com (gahn) Date: Thu Apr 9 18:39:07 2009 Subject: sqlite3 won't install Message-ID: <613186.9342.qm@web52104.mail.re2.yahoo.com> hi all: for portupgrade, one of packages, sqlite3 just won't install, even i tried to install it manually: /usr/bin/install -c -o root -g wheel -m 0644 sqlite3.pc /usr/local/libdata/pkgconfig libtool: install: error: cannot install `libtclsqlite3.la' to a directory not ending in /usr/local/lib/tcl8.4/sqlite3 *** Error code 1 how could i fix this? From roberthuff at rcn.com Thu Apr 9 19:02:05 2009 From: roberthuff at rcn.com (Robert Huff) Date: Thu Apr 9 19:02:12 2009 Subject: sqlite3 won't install In-Reply-To: <613186.9342.qm@web52104.mail.re2.yahoo.com> References: <613186.9342.qm@web52104.mail.re2.yahoo.com> Message-ID: <18910.43109.695259.829046@jerusalem.litteratus.org> gahn writes: > for portupgrade, one of packages, sqlite3 just won't install, > even i tried to install it manually: > > /usr/bin/install -c -o root -g wheel -m 0644 sqlite3.pc /usr/local/libdata/pkgconfig > libtool: install: error: cannot install `libtclsqlite3.la' to a directory not ending in /usr/local/lib/tcl8.4/sqlite3 > *** Error code 1 > > how could i fix this? Unset the "TCLWRAPPER" option. Robert Huff From on at cs.ait.ac.th Thu Apr 9 19:33:39 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Thu Apr 9 19:33:47 2009 Subject: Open Office Message-ID: <200904100233.n3A2XaA9027207@banyan.cs.ait.ac.th> Hi, I just installed Open Office (openoffice.org-2.4.2_1) from the ports on a new 6.4 amd64 machine. It installed fine, but whenever I start it, it comes back asking me for the user set-up. (same thing with OpenOffice 3 from the ports). When I try to save a document it pops-up: General Input/ouput error while accessing /my/file/name and creates an empty file. What could be the reason? TIA, Olivier From on at cs.ait.ac.th Thu Apr 9 19:46:20 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Thu Apr 9 19:46:29 2009 Subject: Open Office In-Reply-To: <200904100233.n3A2XaA9027207@banyan.cs.ait.ac.th> (message from Olivier Nicole on Fri, 10 Apr 2009 09:33:36 +0700 (ICT)) References: <200904100233.n3A2XaA9027207@banyan.cs.ait.ac.th> Message-ID: <200904100246.n3A2kHUI019892@banyan.cs.ait.ac.th> Hi, Sorry I should have searched around before asking :( > I just installed Open Office (openoffice.org-2.4.2_1) from the ports > on a new 6.4 amd64 machine. > > It installed fine, but whenever I start it, it comes back asking me > for the user set-up. (same thing with OpenOffice 3 from the ports). > > When I try to save a document it pops-up: General Input/ouput error > while accessing /my/file/name and creates an empty file. > > What could be the reason? With NFS mounted file system, must run rpc.lockd and rpc.statd on the NFS server. Olivier From roberthuff at rcn.com Thu Apr 9 19:50:01 2009 From: roberthuff at rcn.com (Robert Huff) Date: Thu Apr 9 19:50:09 2009 Subject: Open Office In-Reply-To: <200904100233.n3A2XaA9027207@banyan.cs.ait.ac.th> References: <200904100233.n3A2XaA9027207@banyan.cs.ait.ac.th> Message-ID: <18910.46039.167404.901066@jerusalem.litteratus.org> Olivier Nicole writes: > I just installed Open Office (openoffice.org-2.4.2_1) from the ports > on a new 6.4 amd64 machine. > > It installed fine, but whenever I start it, it comes back asking me > for the user set-up. (same thing with OpenOffice 3 from the ports). > > When I try to save a document it pops-up: General Input/ouput error > while accessing /my/file/name and creates an empty file. I recently installed OOo-3 on i386, and get the second error but not the first, Specifically, I cannot Save but can Save As. I am willing to do reasonable testing (modulo a rebuild taking 30+ hours) in support of fixing this, Robert Huff From perryh at pluto.rain.com Thu Apr 9 20:13:16 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Thu Apr 9 20:13:29 2009 Subject: USB SD-card reader recognized, but not working, on 6.1 In-Reply-To: <20090409222047.GA44772@slackbox.xs4all.nl> References: <49de2c9a.QlCBOleCO/iBrMcf%perryh@pluto.rain.com> <20090409181009.GA38361@slackbox.xs4all.nl> <49de50cb.gcYrr9F1eSmdUBu9%perryh@pluto.rain.com> <20090409222047.GA44772@slackbox.xs4all.nl> Message-ID: <49deb689.wo7pGx8gH2CQTOPa%perryh@pluto.rain.com> Roland Smith wrote: > On Thu, Apr 09, 2009 at 12:47:23PM -0700, perryh@pluto.rain.com wrote: > > It's an SD card, not a "drive", so I had not expected it to be > > partitioned; but yes, it is: > > > > $ ls -l /dev/da0* > > crw-r----- 1 root operator 0, 244 Feb 14 15:09 /dev/da0 > > crw-r----- 1 root operator 0, 245 Feb 14 15:09 /dev/da0s1 > > That would suggest that there is a filesystem on there, doesn't it? It would certainly suggest there is a DOS "partition" table aka BSD "slice" table. I don't think it says anything about what the slice contains, however. > > $ dd if=/dev/da0 of=~/sd bs=1b > > > > That's been running for something like 45 minutes now, and based > > on the size of the output file it has read about a tenth of the > > card. > > Reading one byte at a time is bound to be slow. "dd bs=1b" is one block (512 bytes), not one byte. At least it seems to be working. I *would* anticipate problems if trying to read a umass device in units not a multiple of its native blocksize. > It could be that this USB chipset needs some "quirks" to work > correctly. like "Don't attempt to read more than 32768 bytes at a time" -- subsequent testing shows it to be OK up to bs=64b, but bs=126b fails -- or is there maybe a way to set that sort of limit in mtools? From perryh at pluto.rain.com Thu Apr 9 20:13:18 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Thu Apr 9 20:13:30 2009 Subject: USB SD-card reader recognized, but not working, on 6.1 In-Reply-To: <20090410003759.dede9c9e.freebsd@edvax.de> References: <49de2c9a.QlCBOleCO/iBrMcf%perryh@pluto.rain.com> <20090409181009.GA38361@slackbox.xs4all.nl> <49de50cb.gcYrr9F1eSmdUBu9%perryh@pluto.rain.com> <20090410003759.dede9c9e.freebsd@edvax.de> Message-ID: <49deb5d1.syt1ug/OWLKGHOGd%perryh@pluto.rain.com> Polytropon wrote: > On Thu, 09 Apr 2009 12:47:23 -0700, perryh@pluto.rain.com wrote: > > It's an SD card, not a "drive", so I had not expected it to be > > partitioned; but yes, it is: > > > > $ ls -l /dev/da0* > > crw-r----- 1 root operator 0, 244 Feb 14 15:09 /dev/da0 > > crw-r----- 1 root operator 0, 245 Feb 14 15:09 /dev/da0s1 > > Why don't you expect this? As far as I know, if something is > msdosfs-formatted (read: any "Windows" readable file system, > FAT), it always involves a "slice device". I never found a > situation where access to /dev/da0 would work. My experience is exactly the reverse. I've never before seen a removable-media device (floppy, Zip-drive, JAZ drive) that *did* have a DOS "partition" table aka BSD "slice" table. Surely you would not expect a USB floppy to show up as /dev/da0s1? AFAIK the reason for creating slices is to identify sections of the device for use by different OS -- something often needed for multi-boot from a hard drive but seldom on removable media. I sure wasn't planning to use part of this SD card for my camera to store pictures on, and the rest for FreeBSD backups :) From rsmith at xs4all.nl Thu Apr 9 22:18:16 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Thu Apr 9 22:18:24 2009 Subject: USB SD-card reader recognized, but not working, on 6.1 In-Reply-To: <49deb689.wo7pGx8gH2CQTOPa%perryh@pluto.rain.com> References: <49de2c9a.QlCBOleCO/iBrMcf%perryh@pluto.rain.com> <20090409181009.GA38361@slackbox.xs4all.nl> <49de50cb.gcYrr9F1eSmdUBu9%perryh@pluto.rain.com> <20090409222047.GA44772@slackbox.xs4all.nl> <49deb689.wo7pGx8gH2CQTOPa%perryh@pluto.rain.com> Message-ID: <20090410051809.GA20036@slackbox.xs4all.nl> On Thu, Apr 09, 2009 at 08:01:29PM -0700, perryh@pluto.rain.com wrote: > Roland Smith wrote: > > On Thu, Apr 09, 2009 at 12:47:23PM -0700, perryh@pluto.rain.com wrote: > > > It's an SD card, not a "drive", so I had not expected it to be > > > partitioned; but yes, it is: > > > > > > $ ls -l /dev/da0* > > > crw-r----- 1 root operator 0, 244 Feb 14 15:09 /dev/da0 > > > crw-r----- 1 root operator 0, 245 Feb 14 15:09 /dev/da0s1 > > > > That would suggest that there is a filesystem on there, doesn't it? > > It would certainly suggest there is a DOS "partition" table aka > BSD "slice" table. I don't think it says anything about what the > slice contains, however. Well, why bother making slices if you're not going to put a filesystem on it? > > It could be that this USB chipset needs some "quirks" to work > > correctly. > > like "Don't attempt to read more than 32768 bytes at a time" -- > subsequent testing shows it to be OK up to bs=64b, but bs=126b > fails -- or is there maybe a way to set that sort of limit in > mtools? I don't know. The quirks I was talking about are built into the USB drivers. See /usr/src/sys/dev/usb/umass.c Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090410/36903cad/attachment-0001.pgp From rock_on_the_web at hotmail.com Thu Apr 9 22:43:23 2009 From: rock_on_the_web at hotmail.com (Da Rock) Date: Thu Apr 9 22:43:30 2009 Subject: OT: Postfix rejects from Freebsd server Message-ID: I know this may be OT, but I could use some help on this one. I've completed a major changeover in network provider, and I've now got a proper static ip including ptr records for my mail server (the only service that really counts on this anyway). If I resolveip for my ip address it shows up my mail server name, and YET I still get deferred rejection from the freebsd mx's. Can anyone shed some light on this? Pls cc as I'm not subscribed to the list via this account _________________________________________________________________ The new Windows Live Messenger has landed. Download it here. http://download.live.com/ From dreameration at gmail.com Thu Apr 9 23:17:13 2009 From: dreameration at gmail.com (Canhua) Date: Thu Apr 9 23:17:21 2009 Subject: portupgrade problem Message-ID: hi, I ran the following to upgrade on my 7.0-release FreBSD: env PACKAGEROOT="ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Late st/" portupgrade -aPPR and it would failed with this error: fetch: ftp://ftp.freebsd.orgpub/FreeBSD/ports/i386/packages-7-stable/All/pub/FreeBSD/po rts/i386/packages-7.0-release/All/libX11-1.2.1,1.tbz: No address record please notice the site address being changed to "ftp.freebsd.orgpub", not "ftp.freebsd.org/pub", the slash between "org" and "pub" disappear. Best wishes Canhua From guru at unixarea.de Thu Apr 9 23:29:49 2009 From: guru at unixarea.de (Matthias Apitz) Date: Thu Apr 9 23:30:00 2009 Subject: MediaWiki extensions in the ports? Message-ID: <20090410062943.GA80802@rebelion.Sisis.de> Hello, The page: http://meta.wikimedia.org/wiki/Importing_a_Wikipedia_database_dump_into_MediaWiki mentions some PHP extensions which must be installed to use an imported Wiki dump: extensions/ extensions/README extensions/Cite.php extensions/ParserFunctions extensions/ParserFunctions/Expr.php extensions/ParserFunctions/ParserFunctions.php extensions/Chr2Syl.php extensions/Cite.i18n.php extensions/Citation.php extensions/HTTPRedirect.php extensions/Purge.php extensions/Tidy.php extensions/tidy extensions/tidy/tidy.conf extensions/ImageMap/ImageMap_body.php extensions/ImageMap/ImageMap.i18n.php extensions/ImageMap/ImageMap.php I have searched a lot but can't find a /usr/ports which would bring them to my system... any idea? (tidy is in the ports) matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From kstewart at owt.com Thu Apr 9 23:37:25 2009 From: kstewart at owt.com (Kent Stewart) Date: Thu Apr 9 23:37:32 2009 Subject: portupgrade problem In-Reply-To: References: Message-ID: <200904092337.21915.kstewart@owt.com> On Thursday 09 April 2009 10:49:44 pm Canhua wrote: > hi, > > I ran the following to upgrade on my 7.0-release FreBSD: > env > PACKAGEROOT="ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable >/Late st/" portupgrade -aPPR The Handbook says this should be PACKAGESITE. When I set it in my .cshrc, I have setenv. I haven't set it on my 7-stable but on 6-stable, it looks like setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/ Kent > > and it would failed with this error: > fetch: > ftp://ftp.freebsd.orgpub/FreeBSD/ports/i386/packages-7-stable/All/pub/FreeB >SD/po rts/i386/packages-7.0-release/All/libX11-1.2.1,1.tbz: No address > record > > please notice the site address being changed to > "ftp.freebsd.orgpub", not "ftp.freebsd.org/pub", > the slash between "org" and "pub" disappear. > > Best wishes > > Canhua > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html From keramida at ceid.upatras.gr Thu Apr 9 23:57:47 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Thu Apr 9 23:57:55 2009 Subject: flex from ports kills buildworld? In-Reply-To: <539c60b90904091253i398dc4cfvfdb98f3731e6b3c@mail.gmail.com> (Steve Franks's message of "Thu, 9 Apr 2009 12:53:09 -0700") References: <539c60b90904091253i398dc4cfvfdb98f3731e6b3c@mail.gmail.com> Message-ID: <87d4bl807t.fsf@kobe.laptop> On Thu, 9 Apr 2009 12:53:09 -0700, Steve Franks wrote: > Probably doing something stupid, but on the off chance I'm not: > > - Had to install a newer flex from ports for something. > - Had to move the system flex to avoid hacking reams of bad makefiles > - Did a buildworld, and it can't find a flex > - Seems to me, buildworld should be able to use a newer flex, and > should be able to use the one from /usr/local instead of /sbin > > Thanks, > Steve > > [steve@dynstant /usr/src]$ sudo make buildworld > ... > flex -ogengtype-lex.c > /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype-lex.l > flex:No such file or directory > *** Error code 1 Do you have `/usr/bin/flex'? That's what should be used by the buildworld step. It may also be a good idea to start with `sudo -i' and *then* run the buildworld commands in the root shell, instead of `sudo command'. From cpghost at cordula.ws Fri Apr 10 01:52:27 2009 From: cpghost at cordula.ws (cpghost) Date: Fri Apr 10 01:52:34 2009 Subject: OT: Postfix rejects from Freebsd server In-Reply-To: References: Message-ID: <20090410085222.GA97984@phenom.cordula.ws> On Fri, Apr 10, 2009 at 05:31:22AM +0000, Da Rock wrote: > > I know this may be OT, but I could use some help on this one. I've > completed a major changeover in network provider, and I've now got a > proper static ip including ptr records for my mail server (the only > service that really counts on this anyway). > > If I resolveip for my ip address it shows up my mail server name, and > YET I still get deferred rejection from the freebsd mx's. > > Can anyone shed some light on this? > > Pls cc as I'm not subscribed to the list via this account If you're just getting 4xx error codes, but the mails are accepted after a while, it's simply greylisting. That's normal behaviour of the FreeBSD mail server(s). -cpghost. -- Cordula's Web. http://www.cordula.ws/ From citrin at citrin.ru Fri Apr 10 01:53:45 2009 From: citrin at citrin.ru (Anton Yuzhaninov) Date: Fri Apr 10 01:53:52 2009 Subject: memtest question on 8 GB RAM AMD64 system References: <848751.28828.qm@web51109.mail.re2.yahoo.com> Message-ID: On Thu, 9 Apr 2009 11:43:08 -0700 (PDT), Dino Vliet wrote: DV> I have just installed 4 x 2gb kingston memory banks (Kingston HyperX 4GB 800mhz DDR2 Non-ECC CL5 (5-5-5-15) DIMM) onto my AMD 64 system with a X2 5200 CPU. The motherboard I have in this system is MSI K9AG Neo2-Digital. DV> DV> The system boots fine and I wanted to try memtest to see if there would be errors. So I installed that /usr/ports/sysutils/memtest port and did For memory test it is better to use this: http://www.memtest86.com/ or this http://www.memtest.org/ tool -- Anton Yuzhaninov From invalid.pointer at gmail.com Fri Apr 10 02:01:12 2009 From: invalid.pointer at gmail.com (Manish Jain) Date: Fri Apr 10 02:01:20 2009 Subject: Question about support for HP D1560 printer under FreeBSD Message-ID: <49DF0B2C.3060408@gmail.com> Hi, I am about to buy a new printer (my first one actually) and my retailer strongly recommends HP's D1560 printer (USB). I am running ghostscript8-8.62_5 under FreeBSD 7.1 and I can't see this model listed anywhere in apsfilter. So I just want to confirm whether I could get this printer to run on my system ? -- Thank you and Regards Manish Jain invalid.pointer@gmail.com +91-99830-62246 NB : Laast year I kudn't spell Software Engineer. Now I are won. From keramida at ceid.upatras.gr Fri Apr 10 02:08:22 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri Apr 10 02:08:28 2009 Subject: OT: Postfix rejects from Freebsd server In-Reply-To: (Da Rock's message of "Fri, 10 Apr 2009 05:31:22 +0000") References: Message-ID: <87ws9szxj0.fsf@kobe.laptop> On Fri, 10 Apr 2009 05:31:22 +0000, Da Rock wrote: > I know this may be OT, but I could use some help on this one. I've > completed a major changeover in network provider, and I've now got a > proper static ip including ptr records for my mail server (the only > service that really counts on this anyway). > > If I resolveip for my ip address it shows up my mail server name, and > YET I still get deferred rejection from the freebsd mx's. > > Can anyone shed some light on this? > > Pls cc as I'm not subscribed to the list via this account Can you show us the *exact* deferral message? It may be greylisting from the FreeBSD.org mail servers. From rock_on_the_web at hotmail.com Fri Apr 10 02:31:28 2009 From: rock_on_the_web at hotmail.com (Da Rock) Date: Fri Apr 10 02:31:36 2009 Subject: OT: Postfix rejects from Freebsd server In-Reply-To: <87ws9szxj0.fsf@kobe.laptop> References: <87ws9szxj0.fsf@kobe.laptop> Message-ID: > From: keramida@ceid.upatras.gr > To: rock_on_the_web@hotmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: OT: Postfix rejects from Freebsd server > Date: Fri, 10 Apr 2009 12:08:19 +0300 > > On Fri, 10 Apr 2009 05:31:22 +0000, Da Rock wrote: > > I know this may be OT, but I could use some help on this one. I've > > completed a major changeover in network provider, and I've now got a > > proper static ip including ptr records for my mail server (the only > > service that really counts on this anyway). > > > > If I resolveip for my ip address it shows up my mail server name, and > > YET I still get deferred rejection from the freebsd mx's. > > > > Can anyone shed some light on this? > > > > Pls cc as I'm not subscribed to the list via this account > > Can you show us the *exact* deferral message? > > It may be greylisting from the FreeBSD.org mail servers. > That sounds likely. I'll check the exact pattern of the errors to see. I'll post back with the error soon as I can access the server again. Cheers _________________________________________________________________ Need a new place to rent, share or buy? Let ninemsn property search for you. http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Edomain%2Ecom%2Eau%2F%3Fs%5Fcid%3DFDMedia%3ANineMSN%5FHotmail%5FTagline&_t=774152450&_r=Domain_tagline&_m=EXT From dreameration at gmail.com Fri Apr 10 02:47:17 2009 From: dreameration at gmail.com (Canhua) Date: Fri Apr 10 02:47:24 2009 Subject: portupgrade problem In-Reply-To: References: <200904092337.21915.kstewart@owt.com> Message-ID: On Fri, Apr 10, 2009 at 2:37 PM, Kent Stewart wrote: > On Thursday 09 April 2009 10:49:44 pm Canhua wrote:>> env > The Handbook says this should be PACKAGESITE. When I set it in my .cshrc, I > have setenv. I haven't set it on my 7-stable but on 6-stable, it looks like > > setenv PACKAGESITE > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/ You're right. I meant env PACKAGESITE=.... and the problem remained what I said. From fernando.apesteguia at gmail.com Fri Apr 10 04:12:36 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Fri Apr 10 04:12:44 2009 Subject: Change to Graphical Mode from DOS Mode In-Reply-To: References: <1bd550a00904080119m1ab4577fk9f0b444f921c6574@mail.gmail.com> Message-ID: <1bd550a00904100412t7f8f386eve2f07e5fdda162c1@mail.gmail.com> 2009/4/10 Rajeev Sharma : > Hello Sir, > ??????????????? First of all i am very thankfull for your reply. > > I just followed the instruction given by BSD DVD.? i instaled all the > options including X windows, gname etc. > > After login : -- > > startx command is also not working > Hi, First off, I'm sending this mail to freebsd-questions again so other people can help you. As other people suggested, the better option is reading the excelent FreeBSD documentation that you can find at http://www.freebsd.org/doc/en/books/handbook/ There you will find topics about installing, configuring and tuning your FreeBSD system. And of course, here we are to help you. If you installed X Window and all the stuff, why is startx not working? is the command found? does the X server try to start but if fails? Cheers > > Thanks > > Rajeev Sharma > > =============================================================== > > 2009/4/8 Fernando Apestegu?a >> >> On 4/8/09, Rajeev Sharma wrote: >> > Sir, >> > ? ? ?I have successfully downloaded FreeBSD 6.4 Release linux & >> > installed >> >> FreeBSD is _not_ linux ;) >> >> > on my PC. ?But it starts in DOS Mode. >> >> aka "Console" mode. >> >> > >> > I want to shift to Graphical Mode. >> >> Once you log in, (use your login name and password), and assuming you >> installed some graphical environment, try to type: >> >> startx >> >> Cheers >> >> > >> > >> > Kindly advice me what to do. >> > >> > >> > Thanks >> > >> > >> > Rajeev Sharma >> > rajb366a@gmail.com >> > rajb366a@rediffmail.com >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to >> > "freebsd-questions-unsubscribe@freebsd.org" >> > > > From gesbbb at yahoo.com Fri Apr 10 04:13:26 2009 From: gesbbb at yahoo.com (GESBBB) Date: Fri Apr 10 04:13:34 2009 Subject: Question about support for HP D1560 printer under FreeBSD In-Reply-To: <49DF0B2C.3060408@gmail.com> References: <49DF0B2C.3060408@gmail.com> Message-ID: <611243.24929.qm@web32105.mail.mud.yahoo.com> > ?From: Manish Jain invalid.pointer@gmail.com > Hi, > > I am about to buy a new printer (my first one actually) and my retailer strongly > recommends HP's D1560 printer (USB). I am running ghostscript8-8.62_5 under > FreeBSD 7.1 and I can't see this model listed anywhere in apsfilter. So I just > want to confirm whether I could get this? printer to run on my system ? According to the http://hplipopensource.com/hplip-web/index.html?site, your printer is supported. Install the '/print/hplip' port. Be sure to read the documentation?on?configuring the program. I have hplip and cups installed on my system to support two HP wireless printers, and it works fine. -- Jerry And God said, "Let there be light. "But then the program crashed because he was trying to access the 'light' property of a NULL universe pointer. From invalid.pointer at gmail.com Fri Apr 10 05:34:53 2009 From: invalid.pointer at gmail.com (Manish Jain) Date: Fri Apr 10 05:35:01 2009 Subject: Question about support for HP D1560 printer under FreeBSD In-Reply-To: <20090410120013.64538106568B@hub.freebsd.org> References: <20090410120013.64538106568B@hub.freebsd.org> Message-ID: <49DF3D3E.4030509@gmail.com> Jerry wrote: According to the [1]http://hplipopensource.com/hplip-web/index.html site, your printer is supported. Install the '/print/hplip' port. Be sure to read the docu mentation on configuring the program. I have hplip and cups installed on my system to support two HP wireless printer s, and it works fine. Hi Jerry, Thanks for your message. I checked up the list, which says that the D1560 is indeed supported, but it also says that the minimum version of hplip required for this is 2.8.5, while the latest port available is 2.8.2. Please check out [2]http://hplipopensource.com/hplip-web/models/deskjet/deskjet_d15 00_series.html for this. -- Thank you and Regards Manish Jain [3]invalid.pointer@gmail.com +91-99830-62246 NB : Laast year I kudn't spell Software Engineer. Now I are won. References Visible links 1. http://hplipopensource.com/hplip-web/index.html 2. cid:part1.08010003.09060804@gmail.com 3. mailto:invalid.pointer@gmail.com Hidden links: 4. http://hplipopensource.com/hplip-web/models/deskjet/deskjet_d1500_series.html -------------- next part -------------- HP Linux Imaging and Printing
HP.com home

HP Linux Imaging and Printing

Print, Scan and Fax Drivers for Linux

HP Deskjet d1520 Printer

HP Deskjet d1530 Printer

HP Deskjet d1550 Printer

HP Deskjet d1555 Printer

HP Deskjet d1558 Printer

HP Deskjet d1560 Printer

HP Deskjet d1568 Printer



Download HPLIP


Support Information:

ItemDescription
Minimum HPLIP version2.8.5
Support levelPartial (See note11.)
Recommended?Yes (See note15.)
Unsupported feature(s)Reduced print quality and/or print speed (See note12.)

Summary of Available Features (See note10.):

FeatureSupport10Notes
Automatic installerDepends on distroSee table below for distro specific support.
USB I/OYes
Network I/ONoSee note1.
Parallel I/ONo
Scan to PCNoSee note3.
Photo card accessNoIf equiped, use USB mass storage for access. See note4.
PC fax sendNoSee note5.
PC initiated copyNoSee note6.
Services and statusYesSee note7.
Graphical user interfacesDepends on distroSee table below for distro specific support.
Print head alignmentYes
Color calibrationNo
Print head cleaningYes
Linefeed calibrationNo
Print quality diagnosticsNo

Summary of Available Features in Various Linux Distributions (see note13):

DistroVersionInstallerGUI14Scan3Fax5StatusPhoto Card4USBParallelNetwork1
Debian2.2YesYes (Qt3)YesNoYesNoYesNoNo
Debian3.0YesYes (Qt3)YesNoYesNoYesNoNo
Debian3.1YesYes (Qt4)YesNoYesNoYesNoNo
Debian4.0YesYes (Qt4)YesNoYesNoYesNoNo
Debian4.0r0YesYes (Qt4)YesNoYesNoYesNoNo
Debian4.0r1YesYes (Qt4)YesNoYesNoYesNoNo
Debian5.0YesYes (Qt4)YesNoYesNoYesNoNo
DebianlennyYesYes (Qt4)YesNoYesNoYesNoNo
Debianlenny/sidYesYes (Qt4)YesNoYesNoYesNoNo
DebianstableYesYes (Qt4)YesNoYesNoYesNoNo
DebiantestingYesYes (Qt4)YesNoYesNoYesNoNo
Fedora1.0NoYes (Qt3)YesNoYesNoYesNoNo
Fedora2.0NoYes (Qt3)YesNoYesNoYesNoNo
Fedora3.0NoYes (Qt3)YesNoYesNoYesNoNo
Fedora4.0YesYes (Qt3)YesNoYesNoYesNoNo
Fedora5.0YesYes (Qt3)YesNoYesNoYesNoNo
Fedora5YesYes (Qt3)YesNoYesNoYesNoNo
Fedora5.92YesYes (Qt3)YesNoYesNoYesNoNo
Fedora6.0YesYes (Qt3)YesNoYesNoYesNoNo
Fedora6YesYes (Qt3)YesNoYesNoYesNoNo
DistroVersionInstallerGUI14Scan3Fax5StatusPhoto Card4USBParallelNetwork1
Fedora7YesYes (Qt3)YesNoYesNoYesNoNo
Fedora7.0YesYes (Qt3)YesNoYesNoYesNoNo
Fedora8.0YesYes (Qt3)YesNoYesNoYesNoNo
Fedora8YesYes (Qt3)YesNoYesNoYesNoNo
Fedora9YesYes (Qt4)YesNoYesNoYesNoNo
Fedora9.0YesYes (Qt4)YesNoYesNoYesNoNo
Fedora10YesYes (Qt4)YesNoYesNoYesNoNo
Fedora10.0YesYes (Qt4)YesNoYesNoYesNoNo
gOS8.04.1YesYes (Qt4)YesNoYesNoYesNoNo
IGOS1.0YesYes (Qt3)YesNoYesNoYesNoNo
Linpus Linux9.4NoNoNoNoYesNoYesNoNo
Linpus Linux9.5NoNoNoNoYesNoYesNoNo
Linspire5.0NoYes (Qt3)YesNoYesNoYesNoNo
Linux Mint5YesYes (Qt4)YesNoYesNoYesNoNo
Linux Mint6NoYes (Qt4)YesNoYesNoYesNoNo
Mandriva Linux9.1NoYes (Qt3)YesNoYesNoYesNoNo
Mandriva Linux9.2NoYes (Qt3)YesNoYesNoYesNoNo
Mandriva Linux10.0NoYes (Qt3)YesNoYesNoYesNoNo
Mandriva Linux10.1YesYes (Qt4)YesNoYesNoYesNoNo
Mandriva Linux10.2YesYes (Qt4)YesNoYesNoYesNoNo
DistroVersionInstallerGUI14Scan3Fax5StatusPhoto Card4USBParallelNetwork1
Mandriva Linux2006.0YesYes (Qt4)YesNoYesNoYesNoNo
Mandriva Linux2007.0YesYes (Qt4)YesNoYesNoYesNoNo
Mandriva Linux2007.1YesYes (Qt4)YesNoYesNoYesNoNo
Mandriva Linux2008.0YesYes (Qt4)YesNoYesNoYesNoNo
Mandriva Linux2008.1YesYes (Qt4)YesNoYesNoYesNoNo
Mandriva Linux2009.0YesYes (Qt4)YesNoYesNoYesNoNo
Mandriva Linux2009YesYes (Qt4)YesNoYesNoYesNoNo
Mepis6.0YesYes (Qt4)YesNoYesNoYesNoNo
Mepis6.5YesYes (Qt4)YesNoYesNoYesNoNo
Mepis7.0YesYes (Qt4)YesNoYesNoYesNoNo
PCLinuxOS2006.0YesYes (Qt4)YesNoYesNoYesNoNo
PCLinuxOS2006YesYes (Qt4)YesNoYesNoYesNoNo
PCLinuxOS2007.0NoYes (Qt4)YesNoYesNoYesNoNo
PCLinuxOS2007NoYes (Qt4)YesNoYesNoYesNoNo
PCLinuxOS2008.0NoYes (Qt4)YesNoYesNoYesNoNo
PCLinuxOS2008NoYes (Qt4)YesNoYesNoYesNoNo
Red Hat8.0NoNoYesNoYesNoYesNoNo
Red Hat9.0NoNoYesNoYesNoYesNoNo
Red Hat Enterprise Linux3.0NoYes (Qt3)YesNoYesNoYesNoNo
Red Hat Enterprise Linux4.0NoYes (Qt3)YesNoYesNoYesNoNo
DistroVersionInstallerGUI14Scan3Fax5StatusPhoto Card4USBParallelNetwork1
Red Hat Enterprise Linux5.0NoYes (Qt3)YesNoYesNoYesNoNo
Slackware Linux9.0NoNoNoNoYesNoNoNoNo
Slackware Linux9.1NoNoNoNoYesNoNoNoNo
Slackware Linux10.0NoNoNoNoYesNoNoNoNo
Slackware Linux10.1NoNoNoNoYesNoNoNoNo
Slackware Linux10.2NoNoNoNoYesNoNoNoNo
Slackware Linux11NoNoNoNoYesNoNoNoNo
Slackware Linux12NoNoNoNoYesNoNoNoNo
Slackware Linux12.1NoNoNoNoYesNoNoNoNo
SUSE Linux9.0NoYes (Qt3)YesNoYesNoYesNoNo
SUSE Linux9.1NoYes (Qt3)YesNoYesNoYesNoNo
SUSE Linux9.2NoYes (Qt3)YesNoYesNoYesNoNo
SUSE Linux9.3NoYes (Qt3)YesNoYesNoYesNoNo
SUSE Linux10YesYes (Qt3)YesNoYesNoYesNoNo
SUSE Linux10.0YesYes (Qt3)YesNoYesNoYesNoNo
SUSE Linux10.1YesYes (Qt3)YesNoYesNoYesNoNo
SUSE Linux10.2YesYes (Qt3)YesNoYesNoYesNoNo
SUSE Linux10.3YesYes (Qt4)YesNoYesNoYesNoNo
SUSE Linux11.0YesYes (Qt4)YesNoYesNoYesNoNo
SUSE Linux11.1YesYes (Qt4)YesNoYesNoYesNoNo
DistroVersionInstallerGUI14Scan3Fax5StatusPhoto Card4USBParallelNetwork1
Ubuntu5.04NoYes (Qt3)YesNoYesNoYesNoNo
Ubuntu5.1NoYes (Qt3)YesNoYesNoYesNoNo
Ubuntu6.06YesYes (Qt4)YesNoYesNoYesNoNo
Ubuntu6.10YesYes (Qt4)YesNoYesNoYesNoNo
Ubuntu7.04YesYes (Qt4)YesNoYesNoYesNoNo
Ubuntu7.10YesYes (Qt4)YesNoYesNoYesNoNo
Ubuntu8.04YesYes (Qt4)YesNoYesNoYesNoNo
Ubuntu8.04.1YesYes (Qt4)YesNoYesNoYesNoNo
Ubuntu8.04.2YesYes (Qt4)YesNoYesNoYesNoNo
Ubuntu8.10YesYes (Qt4)YesNoYesNoYesNoNo
Ubuntu9.04YesYes (Qt4)YesNoYesNoYesNoNo

Other Information:

ItemDescriptionNotes
Driver plug-inNoneSee note8.
Requires firmware downloadNo
APDK device class(es):DJ3320
HPLIP device sub-class(es):Normal
USB VID:PID1008:30980
Embedded web serverNo
HPLIP job storageNo
models.dat namedeskjet_d1500_series

All information provided is believed to be accurate but is not guaranteed.

Notes:

1 Network support indicates built-in ethernet and/or wireless networking. Alternatively, many devices may be operated on the network using an external JetDirect print server. Not all network configurations are supported. Please refer to the HPLIP FAQs for more information.

2 USB mass storage only. You may mount the photocard as a storage drive over USB only. Refer to your distribution's documentation for setup and usage instructions.

3 Scan supported means that PC initiated scan using a SANE compatible software application is supported over parallel, USB, or network (depending on I/O connection). Information on digital sending products is covered in note 9, below.

4 Photo supported means that the printer's photo card slots are readable using either USB mass storage (USB only) or hp-unload (USB, parallel or network).

5 Fax supported means that PC initiated fax send is supported using hp-sendfax, once an appropriate CUPS fax queue is set up. Fax support varies on Linux distributions, based on the availability of python-dbus version 0.80 or greater (versions before 0.80 will not work with HPLIP). Click on the model name of each printer to get more detailed information.

6 Copy supported means that PC initiated copying is supported using hp-makecopies.

7 "Services and status" means that ink/toner levels, error reporting, and services such as alignment, and color calibration are available (via the HP Device Manager aka Toolbox).

8 ("Required") A downloadable driver plug-in is required for printing support. ("Optional") A downloadable driver plug-in is optional for printing support and may increase the speed, quality, or other aspect of printed output. ("No" or "None") A driver plug-in is not required nor available. Driver plug-ins are released under a proprietary (non-open) license and are not part of the HPLIP tarball release.

9 Device supports digital sending, not standard scanning protocols. See this KB article for more info.

10 Feature support depends on the specific Linux distribution being used.

11 For a definition of Support Levels, please refer to this KB article.

12 For more information, please refer to this KB article.

13 The "Summary of Available Features in Various Linux Distributions" table lists available features for distros that are supported by the HPLIP automatic tarball installer. Distros that are not listed will require a manual install procedure (See this page for more information).

14"Qt3" and "Qt4" refer to the supported UI toolkit. If "Qt3" is indicated, then the distro supports a GUI interface using the Qt3 UI toolkit. The Qt4 toolkit is not supported for the distro in this case. If "Qt4" is indicated, then the distro supports a GUI interface using the Qt4 UI toolkit. In this case, the Qt3 UI toolkit may also be available and used if desired. The appropriate UI toolkit will be automatically installed by the HPLIP installer.

15"Recommended" means that the printer is fully supported in HPLIP and is recommended for use on your Linux system. For information of what "fully supported" means, see this KB article.


Privacy statement Using this site means you accept its terms
© 2008 Hewlett-Packard Development Company, L.P.
From cwhiteh at onetel.com Fri Apr 10 06:08:12 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Fri Apr 10 06:08:19 2009 Subject: new package system proposal In-Reply-To: <54db43990904071435h5dc1e854p2e9892ac666aea35@mail.gmail.com> References: <49D76B02.4060201@onetel.com> <54db43990904071435h5dc1e854p2e9892ac666aea35@mail.gmail.com> Message-ID: <49DF44B9.9080303@onetel.com> Bob Johnson wrote: > >> - reduced energy use for everyone. > > I think the difference in energy use would be so small as to be > pointless. If I have a system that consumes 75 kilowatt hours per > month, and I spend an extra 0.05 kilowatt hour per month updating > ports, is the difference (less than 1/10 of 1 percent) really > meaningful? I can't even measure my power usage accurately enough to > detect the difference. Convince me to use three liters less hot water > per month, and you will save more energy. How do you get the figures above? I measured electricity use for a typical 2 year old computer (excluding screen) as: - computer idling - 80 watts - computer working hard - 125 watts That's a diff of 45 watts. Suppose normally you use your computer 4 hours a day and it normally takes you 20 hours to upgrade your ports. You start the upgrade while using the computer but you leave it compiling for an extra 16 hours. Thats 4 hours at 45 watts plus 16 hours at 125 watts. Thats 2180 watt hours or over 2 kWh on top of your normal use for one port upgrade. However you jig the figures there is no escaping that cpu cycles use energy. Multiply by the number of times ports are upgraded per computer per year and the number of computers being upgraded and a package system seems like a worthwhile saving. (Thanks Colin Percival et al for freebsd-update, this aspect of it hadn't occurred to me) To complete your comparison if you used electricity to heat 3 litres of water from 15 degC to 55 degC you would use 0.139kWh. Chris From mail25 at bzerk.org Fri Apr 10 06:10:11 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Fri Apr 10 06:10:18 2009 Subject: cannot kill process with kill -9 In-Reply-To: References: <20090409114731.GA4871@zptr-nb01> Message-ID: <20090410131004.GA59635@ei.bzerk.org> On Thu, Apr 09, 2009 at 01:26:51PM -0600, Joshua Gimer typed: > You might also find a little bit information about what the process is > waiting on by attaching to it with strace (in ports under devel) > (strace -p PID). why would you install strace from ports? truss does the same job. Ruben > On Thu, Apr 9, 2009 at 5:47 AM, Eray Aslan wrote: > > On Thu, Apr 09, 2009 at 09:41:31AM +0200, Pieter Donche wrote: > >> I have a mount_nfs process that refuses to get killed : > >> # ps -jaxw | grep mount > >> root ? 60342 ? ? 1 60289 60289 ? ?0 D ? ? ?? ? ?0:00.00 mount_nfs > > [...] > >> How to I get this process killed? > > > > reboot. ?You can't kill a process with a D flag. ?Google for > > uninterruptible sleep. > > > > -- > > Eray > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > > -- > Thx > Joshua Gimer > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From xkyanh at gmail.com Fri Apr 10 06:51:47 2009 From: xkyanh at gmail.com (kyanh) Date: Fri Apr 10 06:51:54 2009 Subject: sound configuration for pidgin Message-ID: <20090410205135.2a813f34@icy.local> Hello all, I'd like to hear some notification from Pidgin. When configuring Pidgin, I use mplayer %s to make Pidgin play stuff. But it's hard to hear the sound as pidgin's volume is small (while the system mixer is almost 100:100). Is there anyway to have a bigger sound in Pidgin? Thank you! PS: sorry for my terrible English :) -- Ky Anh, Huynh Homepage: http://viettug.org/ From xkyanh at gmail.com Fri Apr 10 07:19:13 2009 From: xkyanh at gmail.com (kyanh) Date: Fri Apr 10 07:19:20 2009 Subject: cannot kill process with kill -9 In-Reply-To: <20090410131004.GA59635@ei.bzerk.org> References: <20090409114731.GA4871@zptr-nb01> <20090410131004.GA59635@ei.bzerk.org> Message-ID: <20090410211852.20404f12@icy.local> On Fri, 10 Apr 2009 15:10:04 +0200 Ruben de Groot wrote: > On Thu, Apr 09, 2009 at 01:26:51PM -0600, Joshua Gimer typed: > > You might also find a little bit information about what the > > process is waiting on by attaching to it with strace (in ports > > under devel) (strace -p PID). > > why would you install strace from ports? truss does the same job. > Great tips, Ruben! `strace` requires /proc and I am too lazay to mount `procfs` after installing `strace` ports. (In fact I installed `strace` then did nothing.) Going to `pkg_delete starce` now :P > > > > On Thu, Apr 9, 2009 at 5:47 AM, Eray Aslan > > wrote: > > > On Thu, Apr 09, 2009 at 09:41:31AM +0200, Pieter Donche wrote: > > >> I have a mount_nfs process that refuses to get killed : > > >> # ps -jaxw | grep mount > > >> root ? 60342 ? ? 1 60289 60289 ? ?0 D ? ? ?? ? ?0:00.00 > > >> mount_nfs > > > [...] > > >> How to I get this process killed? > > > > > > reboot. ?You can't kill a process with a D flag. ?Google for > > > uninterruptible sleep. > > > > > > -- -- Ky Anh, Huynh Homepage: http://viettug.org/ From cwhiteh at onetel.com Fri Apr 10 07:25:20 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Fri Apr 10 07:25:27 2009 Subject: new package system proposal In-Reply-To: <54db43990904081224l7c006143icac411c482401620@mail.gmail.com> References: <49D76B02.4060201@onetel.com> <54db43990904071435h5dc1e854p2e9892ac666aea35@mail.gmail.com> <200904080859.41807.j.mckeown@ru.ac.za> <54db43990904081224l7c006143icac411c482401620@mail.gmail.com> Message-ID: <49DF56C9.4080302@onetel.com> Bob Johnson wrote: > On 4/8/09, Jonathan McKeown wrote: >> On Tuesday 07 April 2009 23:35:03 Bob Johnson wrote: >>> On 4/4/09, Chris Whitehouse wrote: >> The drawback I can see is the disk space required to keep several >> generations >> of packages online - if the package-port bundle is rebuilt every three >> weeks, >> let's say, and you want to keep 6 months' worth of packages online, you need >> to keep 9 complete versions available. Is there a quick way to find out how big are the tarballs without downloading them all or adding them up one by one? My distfiles directory is 1.2gb. I guess you could allow 5gb for each cycle, that's only 45gb for 6 months. If that is realistic a 500gb hard disk would store 5 years worth. Would anyone want a five year old package? >> > > I think a bigger drawback is the security issue. As soon as any > package in the collection has a significant announced security flaw, > you are faced with the choice of withdrawing the entire collection, > withdrawing only that package, or leaving the flawed package out there > for people to use because it is more convenient for them. Yes this might be an issue> How often are there serious security issues with desktop type ports? > > PC-BSD seems to already keep up-to-date binary packages of their > applications. Do they accomplish that by only offering a small subset > of the full ports collection? > A big difference with PBI's is that each PBI is self contained "with all the files and libraries necessary for the installed program to function" (quote from the website). Upside is that it is very easy to install and avoids dependency problems. Downside is that it requires more bandwidth to download and more disk space. I did wonder if it would make sense to just use the PBI system. The number of packages depends to some extent on individuals volunteering to make and maintain them - true FreeBSD style. Chris From j.catrysse at proximedia.be Fri Apr 10 08:16:52 2009 From: j.catrysse at proximedia.be (Jan Catrysse) Date: Fri Apr 10 08:17:23 2009 Subject: Kernel panic on disk timeout with 3ware controller Message-ID: <006901c9b9e9$f8dc1060$ea943120$@catrysse@proximedia.be> Hello, I am using FreeBSD 7.1 RELEASE on a system with a 3Ware RAID controller, the system resides on a RAID volume. I get kernel panics complaining about page faults, swap space and a drive timeout. This is, I think, due to a faulty disk. The 3ware controller detects a timeout, relaunches the disk and retries with success. This is, I suppose, invisible for FreeBSD. I am not experiencing problems with normal disk reads and writes, but when it happens on the swap space FreeBSD does mind, gives a timeout and panics. Can this behavior be changed? I am never on site and I would prefer a simple error message and not a kernel panic, I can change the disk with a hotspare remotely. Impossible when the server is down. Big thanks, Jan From ipfreak at yahoo.com Fri Apr 10 08:23:27 2009 From: ipfreak at yahoo.com (gahn) Date: Fri Apr 10 08:23:34 2009 Subject: mouse problems-version 7.1 Message-ID: <55464.21271.qm@web52109.mail.re2.yahoo.com> Hi all: After I did "portupgrade -fa -y" and I have mouse problem: it works under the test of "sysinstall" but it would not work when I start KDE environment. What went wrong? How could i fix this? Thanks From ipfreak at yahoo.com Fri Apr 10 08:32:45 2009 From: ipfreak at yahoo.com (gahn) Date: Fri Apr 10 08:32:52 2009 Subject: loader.conf Message-ID: <493958.16188.qm@web52105.mail.re2.yahoo.com> Hi all: I have a machine with 2GB memory. in the file loader.conf, there is a line: #hw.physmem="1G" # Limit physical memory. See loader(8) Could I remove the "#" and change that to "2G"? Interestingly, the sysctl indicates the parameter of "hw.physmem" is not changeable. Any guru here give me some enlightenment? From gesbbb at yahoo.com Fri Apr 10 08:33:55 2009 From: gesbbb at yahoo.com (Jerry) Date: Fri Apr 10 08:34:06 2009 Subject: Question about support for HP D1560 printer under FreeBSD In-Reply-To: <49DF3D3E.4030509@gmail.com> References: <20090410120013.64538106568B@hub.freebsd.org> <49DF3D3E.4030509@gmail.com> Message-ID: <20090410113350.38fe8c42@scorpio> On Fri, 10 Apr 2009 18:06:14 +0530 Manish Jain wrote: > Hi Jerry, > Thanks for your message. I checked up the list, which says that the > D1560 is indeed supported, but it also says that the minimum version > of hplip required for this is 2.8.5, while the latest port available > is 2.8.2. > Please check > out > [2]http://hplipopensource.com/hplip-web/models/deskjet/deskjet_d15 > 00_series.html for this. Contact the port maintainer: amistry@am-productions.biz and explain your problem to him. He should be able to update the port so it works for you. I have spoken to him before and he solved a problem I was having rather quickly. -- Jerry gesbbb@yahoo.com Inform all the troops that communications have completely broken down. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090410/3d543105/signature.pgp From freebsd at edvax.de Fri Apr 10 08:35:15 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Apr 10 08:35:23 2009 Subject: sound configuration for pidgin In-Reply-To: <20090410205135.2a813f34@icy.local> References: <20090410205135.2a813f34@icy.local> Message-ID: <20090410173504.e0f1eb2c.freebsd@edvax.de> On Fri, 10 Apr 2009 20:51:35 +0700, kyanh wrote: > Hello all, > > I'd like to hear some notification from Pidgin. When configuring Pidgin, I use > mplayer %s > to make Pidgin play stuff. First, maybe mplayer is a bit "heavy stuff" for notification sounds. What are these files? If they are *.wav, use "play %s" command, and if they are *.mp3, use "madplay %s" or "mpg123 %s", as well as "ogg123 %s" for *.ogg files. Check out the manpages for these programs if you think you need further options. > But it's hard to hear the sound as pidgin's volume is small (while > the system mixer is almost 100:100). Is there anyway to have a > bigger sound in Pidgin? Check the other volumes as well. PCM should be 100:100, too. If vol == 100:100 and pcm == 10:10, it will be very silent. :-) Do other applications (music and movie player, games etc.) play louder sounds? > PS: sorry for my terrible English :) I'm not sure mine is better, don't mind. The guys on that list have a lot of translational phantasy. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Fri Apr 10 08:45:24 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Apr 10 08:45:31 2009 Subject: new package system proposal In-Reply-To: <49DF56C9.4080302@onetel.com> References: <49D76B02.4060201@onetel.com> <54db43990904071435h5dc1e854p2e9892ac666aea35@mail.gmail.com> <200904080859.41807.j.mckeown@ru.ac.za> <54db43990904081224l7c006143icac411c482401620@mail.gmail.com> <49DF56C9.4080302@onetel.com> Message-ID: <20090410174516.85bade77.freebsd@edvax.de> On Fri, 10 Apr 2009 15:25:13 +0100, Chris Whitehouse wrote: > Is there a quick way to find out how big are the tarballs without > downloading them all or adding them up one by one? I think it's possible to obtain an FTP ls listing and then use awk to get the column with the size (in bytes) and add them, printing the final result and maybe converting it into MB, GB if needed. > Would anyone want a five year old package? Yes, I would, because today's packages are sooo slooow. :-) Just as an unimportant sidenote: The FreeBSD OS is capable in gaining speed on the same (old) hardware with every release. So I can install it today on a 150 MHz P1 with 128 MB RAM without any problems, and it will run fast. But I cannot use today's applications on that system as I could the older ones, such as StarOffice, older Opera versions, older Mplayer versions, older X-Chat versions etc. because all of them depend on newer libraries (including, excuse me, bloat) that would render the system nearly unusable speed-wise (see the big "jump" in Gtk, compare usability and speed of X-Chat 1 vs. X-Chat 2, or the transition of Sylpheed from Gtk 1 toolset to Gtk 2 toolset). Disk occupation is, of course, another topic. If you've got only a 4 GB hard disk which could hold a fully functional and feature-rich system of FreeBSD 5, it's hard to achieve this with FreeBSD 7 and its set of applications because of the many dependencies (just have a look at how Gtk and Gnome stuff can fill your hard disk, maybe you want to use gmplayer "only"). > A big difference with PBI's is that each PBI is self contained "with all > the files and libraries necessary for the installed program to function" > (quote from the website). Upside is that it is very easy to install and > avoids dependency problems. Downside is that it requires more bandwidth > to download and more disk space. Another problem is that if a minor (but important) library change appears that does require the update of the library, but not of the dependent applications, that new PBIs have to be built and installed, while the traditional way would suggest to update the library only. But I don't think customers of PC-BSD will be interested in such "geek stuff". PC-BSD is fine for average users who install once, use then, update very few times. > I did wonder if it would make sense to just use the PBI system. The > number of packages depends to some extent on individuals volunteering to > make and maintain them - true FreeBSD style. Allthough I prefer the traditional and well intended ways, I could live with PBI as long as there's an automated way to install them, read: command line, ability for batch processing. I simply don't want to waste time for "Next, next, okay, next, next, next, reboot." :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From kdk at daleco.biz Fri Apr 10 08:52:08 2009 From: kdk at daleco.biz (Kevin Kinsey) Date: Fri Apr 10 08:52:17 2009 Subject: loader.conf In-Reply-To: <493958.16188.qm@web52105.mail.re2.yahoo.com> References: <493958.16188.qm@web52105.mail.re2.yahoo.com> Message-ID: <49DF6B09.9010307@daleco.biz> gahn wrote: > Hi all: > > I have a machine with 2GB memory. in the file loader.conf, there is a line: > > #hw.physmem="1G" # Limit physical memory. See loader(8) > > Could I remove the "#" and change that to "2G"? Yes, but, would it make a difference? > Interestingly, the sysctl indicates the parameter of "hw.physmem" is not changeable. It is changeable before the system boots (during the 'loader' stage), but not changeable later. The question is, what's it currently set to? The comment means that the line in question *isn't* a physical memory limit ... what's the current setting of hw.physmem, and why would you *want* to limit it? On my systems, both 7x and 6x, hw.physmem is something like 4G by default---despite the fact I've nothing like that amount of RAM onboard. > Any guru here give me some enlightenment? IANAE, but am willing to accept correction. Kevin Kinsey -- When a person goes on a diet, the first thing he loses is his temper. From fernando.apesteguia at gmail.com Fri Apr 10 08:53:04 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Fri Apr 10 08:53:17 2009 Subject: loader.conf In-Reply-To: <493958.16188.qm@web52105.mail.re2.yahoo.com> References: <493958.16188.qm@web52105.mail.re2.yahoo.com> Message-ID: <1bd550a00904100853i3bfe7192ue4729cb3c3c1dffd@mail.gmail.com> On Fri, Apr 10, 2009 at 5:32 PM, gahn wrote: > > Hi all: > > I have a machine with 2GB memory. in the file loader.conf, there is a line: > > #hw.physmem="1G" ? ? ? ? ? ? ? ?# Limit physical memory. See loader(8) > > Could I remove the "#" and change that to "2G"? Yes, but if your purpose is to use all the available memory, you don't need to do anything. Because it is commented, that line doesn't have effect and the system will use all the available memory. What does sysctl hw.physmem return? > > Interestingly, the sysctl indicates the parameter of "hw.physmem" is not changeable. After booting, it is. > > Any guru here give me some enlightenment? > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From fernando.apesteguia at gmail.com Fri Apr 10 08:54:22 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Fri Apr 10 08:54:29 2009 Subject: loader.conf In-Reply-To: <1bd550a00904100853i3bfe7192ue4729cb3c3c1dffd@mail.gmail.com> References: <493958.16188.qm@web52105.mail.re2.yahoo.com> <1bd550a00904100853i3bfe7192ue4729cb3c3c1dffd@mail.gmail.com> Message-ID: <1bd550a00904100854u2228a55eidebbdabbda40ee7f@mail.gmail.com> 2009/4/10 Fernando Apestegu?a : > On Fri, Apr 10, 2009 at 5:32 PM, gahn wrote: >> >> Hi all: >> >> I have a machine with 2GB memory. in the file loader.conf, there is a line: >> >> #hw.physmem="1G" ? ? ? ? ? ? ? ?# Limit physical memory. See loader(8) >> >> Could I remove the "#" and change that to "2G"? > > Yes, but if your purpose is to use all the available memory, you don't > need to do anything. Because it is commented, that line doesn't have > effect and the system will use all the available memory. > > What does > sysctl hw.physmem > return? > >> >> Interestingly, the sysctl indicates the parameter of "hw.physmem" is not changeable. > > After booting, it is. I meant, it is readonly :) > >> >> Any guru here give me some enlightenment? >> >> >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > From m.seaman at infracaninophile.co.uk Fri Apr 10 09:04:09 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Apr 10 09:04:16 2009 Subject: loader.conf In-Reply-To: <493958.16188.qm@web52105.mail.re2.yahoo.com> References: <493958.16188.qm@web52105.mail.re2.yahoo.com> Message-ID: <49DF6DEC.7010706@infracaninophile.co.uk> gahn wrote: > Hi all: > > I have a machine with 2GB memory. in the file loader.conf, there is a line: > > #hw.physmem="1G" # Limit physical memory. See loader(8) > > Could I remove the "#" and change that to "2G"? > > Interestingly, the sysctl indicates the parameter of "hw.physmem" is not changeable. > > Any guru here give me some enlightenment? hw.physmem is a loader tunable: ie. you can only set it from the boot loader before the kernel is fully operational. Once the kernel is running it can't be altered. hw.physmem is designed to let you test running a kernel with less RAM than is physically installed in a machine. Not having to pop the case and physically pull memory sticks out can be pretty useful. It's not of general interest -- only for kernel and various other software developers in the main -- as the usual thing is to make use of all the RAM you have available or (in the case of 32bit machines) that the system is capable of addressing. If hw.physmem is unset in loader.conf the kernel will automatically use all the memory available to it: this is the correct and desirable behaviour for the vast majority of systems. For a 2GB machine, that means the system will use all the RAM that's installed. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090410/de5e4899/signature.pgp From gfritz at gmail.com Fri Apr 10 09:07:09 2009 From: gfritz at gmail.com (Geoff Fritz) Date: Fri Apr 10 09:07:18 2009 Subject: sound configuration for pidgin In-Reply-To: <20090410205135.2a813f34@icy.local> References: <20090410205135.2a813f34@icy.local> Message-ID: <20090410160704.GA57657@dev.null> On Fri, Apr 10, 2009 at 08:51:35PM +0700, kyanh wrote: > Hello all, > > I'd like to hear some notification from Pidgin. When configuring Pidgin, I > use > mplayer %s > to make Pidgin play stuff. But it's hard to hear the sound as pidgin's > volume is small (while the system mixer is almost 100:100). Is there anyway > to have a bigger sound in Pidgin? > > Thank you! I use the same method you do. Just a tip: since you use mplayer, as opposed to the default gstreamer, you can clear a *lot* of cruft from your system by reconfiguring the pidgin port and turning off the gstreamer option, re-installing pidgin, then uninstalling the gstreamer stuff. I find that the ports-mgmt/pkg_cutleaves port is execllent for such cleaning. Onto your question. I have two thoughts. First, make sure that /usr/sbin/mixer shows "vol" and "pcm" both at a a reasonable level. I find that 60:60 is usually sufficient for me, whether I used headphones or speakers. Second, the sound files you are using might simply be a bit low on the volume side. You may want to load them into something like audacity to increase their loudness. -- Geoff > PS: sorry for my terrible English :) No apologies needed. Your written English is excellent! From cwhiteh at onetel.com Fri Apr 10 09:57:27 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Fri Apr 10 09:57:34 2009 Subject: new package system proposal In-Reply-To: <20090410174516.85bade77.freebsd@edvax.de> References: <49D76B02.4060201@onetel.com> <54db43990904071435h5dc1e854p2e9892ac666aea35@mail.gmail.com> <200904080859.41807.j.mckeown@ru.ac.za> <54db43990904081224l7c006143icac411c482401620@mail.gmail.com> <49DF56C9.4080302@onetel.com> <20090410174516.85bade77.freebsd@edvax.de> Message-ID: <49DF7A74.2080206@onetel.com> Polytropon wrote: > On Fri, 10 Apr 2009 15:25:13 +0100, Chris Whitehouse wrote: >> Is there a quick way to find out how big are the tarballs without >> downloading them all or adding them up one by one? > > I think it's possible to obtain an FTP ls listing and then use > awk to get the column with the size (in bytes) and add them, > printing the final result and maybe converting it into MB, GB > if needed. It's in /distinfo: chrisw@pcbsd% grep SIZE distinfo SIZE (vlc-0.8.6i.tar.bz2) = 11786172 > >> Would anyone want a five year old package? > > Yes, I would, because today's packages are sooo slooow. :-) Well my disk space estimate was way high, I didn't allow for the fact that not all packages would be upgraded each cycle, therefore the disk space requirement would be less. So maybe 500gb would do 10 years. Do you think you will be using 10 year old packages? By then you will have freecycled a computer that will run relatively newer apps. > > >> I did wonder if it would make sense to just use the PBI system. The >> number of packages depends to some extent on individuals volunteering to >> make and maintain them - true FreeBSD style. > > Allthough I prefer the traditional and well intended ways, I could > live with PBI as long as there's an automated way to install them, > read: command line, ability for batch processing. I simply don't > want to waste time for "Next, next, okay, next, next, next, reboot." :-) It's very easy actually. A widget, if so configured, tells you when there is an update for a PBI. You select it and click ok and that's about it. Reboot? This is not Windoze you know! :0 From jhall at socket.net Fri Apr 10 10:08:47 2009 From: jhall at socket.net (Jay Hall) Date: Fri Apr 10 10:09:01 2009 Subject: find command question In-Reply-To: <20090409175954.GC90152@dan.emsphone.com> References: <18E2669B-9EC4-4F63-8B1C-E7D81EBDD607@socket.net> <20090409175954.GC90152@dan.emsphone.com> Message-ID: <59B09C72-3534-4A46-ABF2-1C4174FE4AFF@socket.net> > It has to wait for completion to see the exit status. > Thanks. I misunderstood what I read. Jay From invalid.pointer at gmail.com Fri Apr 10 10:48:21 2009 From: invalid.pointer at gmail.com (Manish Jain) Date: Fri Apr 10 10:48:28 2009 Subject: hplip port update to version 2.8.5 Message-ID: <49DF86AF.9090707@gmail.com> Hi, I am about to buy a new printer and my retailer strongly recommends HP's D1560 printer (USB). I am running ghostscript8-8.62_5 under FreeBSD 7.1 and I can't see this model listed anywhere in apsfilter. So I checked up the hplip site. The site says that the D1560 is indeed supported, but it also says that the minimum version of hplip required for this is 2.8.5, while the latest port available is 2.8.2. Please check out http://hplipopensource.com/hplip-web/models/deskjet/deskjet_d1500_series.html The site actually lists hplip version 2.8.5 as the minimum requirement for the entire D15XX series, and a whole lot of other deskjet printers. Should I wait for a port update or do you think version 2.8.2 is capable of handling the printer ? -- Thank you and Regards Manish Jain invalid.pointer@gmail.com +91-99830-62246 NB : Laast year I kudn't spell Software Engineer. Now I are won. From claudiu.vasadi at gmail.com Fri Apr 10 10:54:10 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Fri Apr 10 10:54:18 2009 Subject: xfce4, flash freeze Message-ID: Hello, My sistem is a FreeBSD-7.1-STABLE with xfce4 on a pretty ok hardware (intel 2.66 Mhz, 1GB ram, etc.). The problem I'm having is flash player related. I have forefox3 and opera 9.x installed and in every one of them when playing flash movies (youtube, etc), every 10 or so seconds the video freezez (image stands still, just like when buffering) but the sound goes on. So I believe it has something to do with flash player. I installed it through nspluginwrapper (linux-flash-player). Any of you experienced anything similar? From ipfreak at yahoo.com Fri Apr 10 11:20:14 2009 From: ipfreak at yahoo.com (gahn) Date: Fri Apr 10 11:20:23 2009 Subject: loader.conf In-Reply-To: <49DF6DEC.7010706@infracaninophile.co.uk> Message-ID: <352228.61716.qm@web52106.mail.re2.yahoo.com> Thanks for the detailed information. Best --- On Fri, 4/10/09, Matthew Seaman wrote: > From: Matthew Seaman > Subject: Re: loader.conf > To: ipfreak@yahoo.com > Cc: "freebsd general questions" > Date: Friday, April 10, 2009, 9:03 AM > gahn wrote: > > Hi all: > > > > I have a machine with 2GB memory. in the file > loader.conf, there is a line: > > > > #hw.physmem="1G" # Limit > physical memory. See loader(8) > > > > Could I remove the "#" and change that to > "2G"? > > > > Interestingly, the sysctl indicates the parameter of > "hw.physmem" is not changeable. > > > > Any guru here give me some enlightenment? > > hw.physmem is a loader tunable: ie. you can only set it > from the boot > loader before the kernel is fully operational. Once the > kernel is running > it can't be altered. > > hw.physmem is designed to let you test running a kernel > with less RAM > than is physically installed in a machine. Not having to > pop the case > and physically pull memory sticks out can be pretty useful. > It's not of > general interest -- only for kernel and various other > software developers > in the main -- as the usual thing is to make use of all the > RAM you have > available or (in the case of 32bit machines) that the > system is capable of > addressing. > If hw.physmem is unset in loader.conf the kernel will > automatically use all > the memory available to it: this is the correct and > desirable behaviour for > the vast majority of systems. For a 2GB machine, that > means the system will > use all the RAM that's installed. > > Cheers, > > Matthew > > -- Dr Matthew J Seaman MA, D.Phil. 7 > Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 > 9PW From gesbbb at yahoo.com Fri Apr 10 11:35:04 2009 From: gesbbb at yahoo.com (Jerry) Date: Fri Apr 10 11:35:11 2009 Subject: hplip port update to version 2.8.5 In-Reply-To: <49DF86AF.9090707@gmail.com> References: <49DF86AF.9090707@gmail.com> Message-ID: <20090410143451.5712d27d@scorpio> On Fri, 10 Apr 2009 23:19:35 +0530 Manish Jain wrote: > >Hi, > >I am about to buy a new printer and my retailer strongly recommends >HP's D1560 printer (USB). I am running ghostscript8-8.62_5 under >FreeBSD 7.1 and I can't see this model listed anywhere in apsfilter. >So I checked up the hplip site. The site says that the D1560 is indeed >supported, but it also says that the minimum version of hplip required >for this is 2.8.5, while the latest port available is 2.8.2. > >Please check out >http://hplipopensource.com/hplip-web/models/deskjet/deskjet_d1500_series.html > >The site actually lists hplip version 2.8.5 as the minimum requirement >for the entire D15XX series, and a whole lot of other deskjet printers. > >Should I wait for a port update or do you think version 2.8.2 is >capable of handling the printer ? I think I would give some credence to the stated requirements on the site. In any case, did you contact the port maintainer about updating the port. If if doesn't get done before the port freeze, you will probably be screwed. -- Jerry gesbbb@yahoo.com Political history is far too criminal a subject to be a fit thing to teach children. W. H. Auden -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090410/1491dc3a/signature.pgp From yuri at rawbw.com Fri Apr 10 11:52:56 2009 From: yuri at rawbw.com (Yuri) Date: Fri Apr 10 11:53:04 2009 Subject: How to create NTFS file system from FreeBSD? Message-ID: <49DF9585.7020601@rawbw.com> I need to format NTFS partition to give HD to someone to write things on it under Windows. I tried to use mkntfs from ports/ntfsprogs but it didn't finish after an extremely long time, > 24hrs. Yuri From vogelke+unix at pobox.com Fri Apr 10 12:09:59 2009 From: vogelke+unix at pobox.com (Karl Vogel) Date: Fri Apr 10 12:10:07 2009 Subject: sorta newb help compiling samba In-Reply-To: <70C0964126D66F458E688618E1CD008A0793E92E@WADPEXV0.waddell.com> (Ggatten@waddell.com) Message-ID: <20090410190237.27848BE71@kev.msw.wpafb.af.mil> >> On Wed, 8 Apr 2009 13:21:17 -0500, >> "Gary Gatten" said: G> I've been playing with various flavors of *nix off and on for almost twenty G> years, but not doing much development the make process often causes me G> issues - as is the case with samba. This is why I only use the ports system for small, simple builds like rsync. For anything major (Perl, OpenSSH, OpenSSL, Apache ...) I either use a pre-built package or build directly from source. I used these commands for my most recent Samba build: me% CC=gcc ./configure --with-acl-support \ --with-configdir=/usr/local/etc \ --prefix=/usr/local me% make root# make install I use a (fairly generic) script to handle starting and stopping Samba cleanly. It also handles log rotation. It's attached below, if you're interested. The "killpg" program used is derived from kill, but sends its signals to a process group instead of a process. -- Karl Vogel I don't speak for the USAF or my company You know you're a redneck if you've ever been involved in a custody fight over a hunting dog. --------------------------------------------------------------------------- #!/bin/sh # # $Id: samba.server,v 1.1 2004/05/13 23:32:35 vogelke Exp $ # $Source: /doc/sitelog/fs001/services/RCS/samba.server,v $ # # NAME: # samba.server # # SYNOPSIS: # samba.server [start|stop|stat|restart|dologs|help] # samba.server -v # # DESCRIPTION: # Script file to start and stop Samba services. # "-v" means print the version and exit. # # Non-option argument is one of the following: # start -- starts Samba service # stop -- stops Samba service # stat -- displays status of Samba service # restart -- stops and restarts Samba # dologs -- stops Samba, moves log directory, restarts Samba # help -- this message # # INSTALLATION: # Put this in at least two places: where the system looks for # startup/shutdown files, and someplace where root can run it. # # AUTHOR: # Karl Vogel # Oasis Systems, Inc. # Based on "Life with qmail" script. PATH=/usr/local/sbin:/usr/local/bin:/bin:/usr/bin export PATH umask 022 tag=`basename $0` test -d /usr/bin || exit 0 # /usr not mounted logdir="/var/log/samba3" smprog=/usr/local/sbin/smbd nmprog=/usr/local/sbin/nmbd smsg="smbd daemon" nmsg="nmbd daemon" # echo without newline necho () { echo "$*" | tr -d '\012' } # exit with message die () { echo "fatal: $@" >& 2 exit 1 } # when this is run logmsg () { logfile=/var/log/$tag echo `date` $USER $* >>$logfile } killproc() { # kill the named process(es) pname=`basename $1` pfile="/usr/local/var/locks/$pname.pid" pid= test -f $pfile && pid=`cat $pfile` case "$pid" in "") echo "$pname not running" ;; *) for x in 15 1 9; do killpg -$x $pid sleep 1 done rm $pfile ;; esac } showproc() { # show the named process(es) pname=`basename $1` pfile="/usr/local/var/locks/$pname.pid" pid= test -f $pfile && pid=`cat $pfile` hdr="USER PID PPID PGID STARTED TIME COMMAND" popt='-axw -o user,pid,ppid,pgid,start,time,command' case "$pid" in "") return 1 ;; *) echo; echo "$hdr" ps $popt | grep $pname return 0 ;; esac } # print version version () { lsedscr='s/RCSfile: // s/.Date: // s/,v . .Revision: / v/ s/\$//g' lrevno='$RCSfile: samba.server,v $ $Revision: 1.1 $' lrevdate='$Date: 2004/05/13 23:32:35 $' echo "$lrevno $lrevdate" | sed -e "$lsedscr" } # ---------------------------------------------------------------------- case "$1" in start) if showproc $smprog then echo "$smsg already running" else necho "starting the $smsg" env - PATH="$PATH" $smprog -D echo "." fi if showproc $nmprog then echo "$nmsg already running" else necho "starting the $nmsg" env - PATH="$PATH" $nmprog -D echo "." fi ;; stop) # we can use smbstatus -p for this... killproc smbd killproc nmbd ;; stat) showproc $smprog && echo "$smsg running" showproc $nmprog && echo "$nmsg running" ;; restart) $0 stop sleep 3 $0 start ;; dologs) $0 stop symlink='/var/log/samba3' newlog=`date "+/space/logs/%Y/%m%d"` mkdir -p $newlog if test -d "$newlog"; then test -L $symlink && rm $symlink ln -s $newlog $symlink || echo "ln -s failed" >& 2 test -L $symlink || echo "$symlink not a link" >& 2 else echo "cannot mkdir $newlog" >& 2 fi ( cd /usr/local/var && mv log.nmbd log.nmbd.old && mv log.smbd log.smbd.old && touch log.nmbd log.smbd && chmod 640 log.nmbd && chmod 640 log.smbd && ) sleep 3 $0 start ;; help) cat < References: <49DF9585.7020601@rawbw.com> Message-ID: > I need to format NTFS partition to give HD to someone to write things on it > under Windows. i would rather make FAT32 partition newfs_msdos From wojtek at wojtek.tensor.gdynia.pl Fri Apr 10 12:30:30 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Apr 10 12:30:37 2009 Subject: loader.conf In-Reply-To: <493958.16188.qm@web52105.mail.re2.yahoo.com> References: <493958.16188.qm@web52105.mail.re2.yahoo.com> Message-ID: > > Hi all: > > I have a machine with 2GB memory. in the file loader.conf, there is a line: > > #hw.physmem="1G" # Limit physical memory. See loader(8) > > Could I remove the "#" and change that to "2G"? # mean commented out. leave it as is or delete. you don't have to specify it unless you want intentionally reduce available memory. FreeBSD autodetects how much you have From amvandemore at gmail.com Fri Apr 10 12:30:51 2009 From: amvandemore at gmail.com (Adam Vandemore) Date: Fri Apr 10 12:30:58 2009 Subject: sorta newb help compiling samba In-Reply-To: <20090410190237.27848BE71@kev.msw.wpafb.af.mil> References: <20090410190237.27848BE71@kev.msw.wpafb.af.mil> Message-ID: <49DF9E7A.4030300@gmail.com> Karl Vogel wrote: >>> On Wed, 8 Apr 2009 13:21:17 -0500, >>> "Gary Gatten" said: >>> > > G> I've been playing with various flavors of *nix off and on for almost twenty > G> years, but not doing much development the make process often causes me > G> issues - as is the case with samba. > > This is why I only use the ports system for small, simple builds like > rsync. For anything major (Perl, OpenSSH, OpenSSL, Apache ...) I either > use a pre-built package or build directly from source. I used these > commands for my most recent Samba build: > > me% CC=gcc ./configure --with-acl-support \ > --with-configdir=/usr/local/etc \ > --prefix=/usr/local > me% make > root# make install > > I use a (fairly generic) script to handle starting and stopping Samba > cleanly. It also handles log rotation. It's attached below, if you're > interested. The "killpg" program used is derived from kill, but sends its > signals to a process group instead of a process. > > How do you handle major builds that use FBSD specific patches....asterisk for example? -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 From yuri at rawbw.com Fri Apr 10 12:33:21 2009 From: yuri at rawbw.com (Yuri) Date: Fri Apr 10 12:33:30 2009 Subject: How to create NTFS file system from FreeBSD? In-Reply-To: References: <49DF9585.7020601@rawbw.com> Message-ID: <49DF9EF9.6050809@rawbw.com> Wojciech Puchar wrote: > > i would rather make FAT32 partition Unfortunately FAT32 has a file size limit 2^32-1 bytes (~4GB) And I talk about HD 1TB and files might me larger. Yuri From freebsd at edvax.de Fri Apr 10 12:38:51 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Apr 10 12:38:58 2009 Subject: How to create NTFS file system from FreeBSD? In-Reply-To: <49DF9EF9.6050809@rawbw.com> References: <49DF9585.7020601@rawbw.com> <49DF9EF9.6050809@rawbw.com> Message-ID: <20090410213840.6dbbac37.freebsd@edvax.de> On Fri, 10 Apr 2009 12:33:13 -0700, Yuri wrote: > Unfortunately FAT32 has a file size limit 2^32-1 bytes (~4GB) > And I talk about HD 1TB and files might me larger. The easiest way would be to format it inside a "Windows" PC that is NTFS capable. But I think your problem is that you don't have such a PC at hand... Maybe a (very overcomplicated) solution is to (install and then) run some kind of "Windows" in a VM and format the disk from there... -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Fri Apr 10 12:44:23 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Apr 10 12:44:30 2009 Subject: sorta newb help compiling samba In-Reply-To: <20090410190237.27848BE71@kev.msw.wpafb.af.mil> References: <70C0964126D66F458E688618E1CD008A0793E92E@WADPEXV0.waddell.com> <20090410190237.27848BE71@kev.msw.wpafb.af.mil> Message-ID: <20090410214414.acc2dc6d.freebsd@edvax.de> Just a small sidenote according to your shell script: You're defining # echo without newline necho () { echo "$*" | tr -d '\012' } Why don't you use echo -n which suppresses the newline instead of involving another program to do something that echo can do on its own? This is how FreeBSD does it in its system scripts. echo -n "Starting service... " start_service echo "done." And according to test -d /usr/bin || exit 0 # /usr not mounted Woudln't it be more compliant to exit 1 to signal an error due to /usr not being mounted? Exit code 0 is usually used to signal that no error has happened (successful program run), which isn't the case when the script is not (completely) run. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From af300wsm at gmail.com Fri Apr 10 13:06:02 2009 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Fri Apr 10 13:06:10 2009 Subject: Loading sound drivers In-Reply-To: <49DE1233.5080501@gmail.com> Message-ID: <001636457a9acf130c046738e4ee@google.com> On Apr 9, 2009 9:20am, Ricardo Jesus wrote: > You even need sound_load="YES" in the loader.conf. snd_via8234 pulls it > upon loading. Yup, pathetic that I missed it, but that's what I was missing. Thanks everyone. I've added "_load" to the lines. Andy From ml at infosec.pl Fri Apr 10 14:07:02 2009 From: ml at infosec.pl (Michal) Date: Fri Apr 10 14:07:10 2009 Subject: disk usage statistics Message-ID: <49DFAEA8.6060306@infosec.pl> Hello. Could you suggest me how can I get my disk usage statistics in terms of percentage of the possible disk activity (like in gstat) or megabytes per second (like in iostat), please? I need something that gives actual usage statistics, not any averages. And something that prints what I want and quits (not like gstat in default mode). It have to be available for unprivileged user and I don't want to use any temporally files in the process. The closest I can get is (last column of): iostat -c 2 -d ad0 | tail -n 1 Problem is that it takes two seconds, which is not acceptable for me because I want it's output to be printed in status bar beside date and time. I'm using wmii window manager. Any suggestions and hints are very welcome. Michal -- "Never interrupt your enemy when he is making a mistake." -Napoleon Bonaparte From wmoran at potentialtech.com Fri Apr 10 15:06:01 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Fri Apr 10 15:06:08 2009 Subject: disk usage statistics In-Reply-To: <49DFAEA8.6060306@infosec.pl> References: <49DFAEA8.6060306@infosec.pl> Message-ID: <20090410180559.71f554ec.wmoran@potentialtech.com> Michal wrote: > > Could you suggest me how can I get my disk usage statistics in terms of > percentage of the possible disk activity (like in gstat) or megabytes > per second (like in iostat), please? > > I need something that gives actual usage statistics, not any averages. > And something that prints what I want and quits (not like gstat in > default mode). It have to be available for unprivileged user and I don't > want to use any temporally files in the process. > > The closest I can get is (last column of): > iostat -c 2 -d ad0 | tail -n 1 > > Problem is that it takes two seconds, which is not acceptable for me > because I want it's output to be printed in status bar beside date and > time. I'm using wmii window manager. > > Any suggestions and hints are very welcome. snmp? There's a command line client for net-snmp, and there are a variety of disk activity MIBs. -- Bill Moran http://www.potentialtech.com From wojtek at wojtek.tensor.gdynia.pl Fri Apr 10 15:12:24 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Apr 10 15:12:31 2009 Subject: disk usage statistics In-Reply-To: <49DFAEA8.6060306@infosec.pl> References: <49DFAEA8.6060306@infosec.pl> Message-ID: > Hello. > > Could you suggest me how can I get my disk usage statistics in terms of > percentage of the possible disk activity (like in gstat) or megabytes > per second (like in iostat), please? systat then type :vmstat From dstegner at earthlink.net Fri Apr 10 15:17:32 2009 From: dstegner at earthlink.net (Dave Stegner) Date: Fri Apr 10 15:20:13 2009 Subject: ULE scheduler Message-ID: <001c01c9ba2a$232b8fe0$69dea8c0@xws001> have a stock 7.0 release. I rebuilt the kernel with ULE scheduler, I think. How can I tell if it is running ULE or 4BSD?? David R. Stegner From freebsd at edvax.de Fri Apr 10 15:26:08 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Apr 10 15:26:21 2009 Subject: ULE scheduler In-Reply-To: <001c01c9ba2a$232b8fe0$69dea8c0@xws001> References: <001c01c9ba2a$232b8fe0$69dea8c0@xws001> Message-ID: <20090411002559.b346d111.freebsd@edvax.de> On Fri, 10 Apr 2009 15:17:28 -0700, "Dave Stegner" wrote: > I rebuilt the kernel with ULE scheduler, I think. > > How can I tell if it is running ULE or 4BSD?? I think that's what you're looking for: % sysctl kern.sched.name kern.sched.name: ULE -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wblock at wonkity.com Fri Apr 10 15:34:15 2009 From: wblock at wonkity.com (Warren Block) Date: Fri Apr 10 15:34:22 2009 Subject: xfce4, flash freeze In-Reply-To: References: Message-ID: On Fri, 10 Apr 2009, Vasadi I. Claudiu Florin wrote: > My sistem is a FreeBSD-7.1-STABLE with xfce4 on a pretty ok hardware (intel > 2.66 Mhz, 1GB ram, etc.). The problem I'm having is flash player related. I > have forefox3 and opera 9.x installed and in every one of them when playing > flash movies (youtube, etc), every 10 or so seconds the video freezez (image > stands still, just like when buffering) but the sound goes on. So I believe > it has something to do with flash player. I don't see that problem with xfce4, firefox3, and flash video, but this is on a Radeon X1650. Possibly a problem with your X video driver. -Warren Block * Rapid City, South Dakota USA From claudiu.vasadi at gmail.com Fri Apr 10 15:53:06 2009 From: claudiu.vasadi at gmail.com (Vasadi I. Claudiu Florin) Date: Fri Apr 10 15:53:22 2009 Subject: xfce4, flash freeze In-Reply-To: References: Message-ID: > I don't see that problem with xfce4, firefox3, and flash video, but this > is on a Radeon X1650. Possibly a problem with your X video driver. > > -Warren Block * Rapid City, South Dakota USA Mine is a Nvidia fx5500 (agp). Tbh, I quite forgot to check the driver; will do that, thx for the memory refresh. Then again it could be some hardware failuri, because some month ago i had to change 4 condensers on the video bord. Will check them both out. Thx again. C From cwhiteh at onetel.com Fri Apr 10 16:46:47 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Fri Apr 10 16:46:54 2009 Subject: new package system proposal In-Reply-To: <49D76B02.4060201@onetel.com> References: <49D76B02.4060201@onetel.com> Message-ID: <49DFDA65.1030409@onetel.com> Ok here's an improved description of how it works. The key to the whole thing is the snapshot of the ports tree. Everything else follows from that. Build process: A predetermined set of packages is built from a ports tree. The most benefit comes with packages which would acceptable for use with the default config and require a lot of compile time (large distfiles and/or lots of dependencies). This probably means xorg, window managers, desktop environments and applications plus dependencies and libraries. The ports tree is not updated during this process. The ports tree and package tarballs are made available online as a ports-snapshot which is tagged to identify it. The tag could be a text file with a date in it which lives in the snapshot directory. This cycle is repeated at some suitable interval, by taking a new ports tree and building packages for any ports that have been updated in the meantime. (The actual build process could be done by one of the ports-mgmt tools which would take care of only updating changed ports or ports whose dependencies had changed). The new packages and the ports tree used to create them are tagged as a new snapshot. How to use: For a fresh install a user installs FreeBSD then downloads the tagged ports tree. S/he can then install packages from the ports-snapshot knowing that everything is in sync versionwise. At this stage the selection of packages is down to the user (plus dependencies will automatically be pulled in). Additional ports that are not in the snapshot can be installed using the normal ports mechanism and they will automatically be in sync. For an existing install, when a new ports-snapshot is available changed packages can be installed using some utility (call it ports-update) which downloads and installs the ports tree and tag file from the snapshot, checks versions of installed packages and upgrades accordingly. People can choose to upgrade frequently or infrequently. By choosing a tag users can choose to upgrade to the most recent ports-snapshot or an intermediate one. At this stage the selection of packages to upgrade is by ports-update. ports-update compares the version of each installed package with the one in the ports-snapshot. If a newer version exists ports-update installs it. Any installed packages which are not in the ports-snapshot are ignored. If a user wants to install or upgrade ports which are not in the ports-snapshot this can be done with the standard ports mechanism. As the bigger ports are already available as packages in the ports-snapshot any additional ports will be relatively quicker to install by building from source. If a port is being installed or upgraded and it has a dependency which has been installed from the snapshot the dependency port will be the right version and the new port will integrate perfectly. Thanks for reading this far Chris From me at janh.de Fri Apr 10 16:58:07 2009 From: me at janh.de (Jan Henrik Sylvester) Date: Fri Apr 10 16:58:14 2009 Subject: How to create NTFS file system from FreeBSD? References: 49DF9585.7020601@rawbw.com Message-ID: <49DFDD0B.9040602@janh.de> Yuri wrote: > I need to format NTFS partition to give HD to someone to write things mkntfs from sysutils/ntfsprogs should do it. (I did use mkntfs successfully with the 1.13.1 version, but never tried with 2.0.0. ntfsresize from 2.0.0 failed for me when 1.13.1 did work.) Jan Henrik From morganw at chemikals.org Fri Apr 10 17:07:08 2009 From: morganw at chemikals.org (Wes Morgan) Date: Fri Apr 10 17:07:15 2009 Subject: sound configuration for pidgin In-Reply-To: <20090410205135.2a813f34@icy.local> References: <20090410205135.2a813f34@icy.local> Message-ID: On Fri, 10 Apr 2009, kyanh wrote: > Hello all, > > I'd like to hear some notification from Pidgin. When configuring Pidgin, I use > mplayer %s > to make Pidgin play stuff. But it's hard to hear the sound as pidgin's volume is small (while the system mixer is almost 100:100). Is there anyway to have a bigger sound in Pidgin? > > Thank you! I would recommend installing the audio/normalize port, and using that to increase the volume of the sound files. If you don't want to alter the audio files, try using this as your sound command: mplayer -af volume=20 %s From agus.262 at gmail.com Fri Apr 10 17:12:27 2009 From: agus.262 at gmail.com (Agus) Date: Fri Apr 10 17:12:34 2009 Subject: Sudden /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by errors Message-ID: Hi guys, Yesterday i suddenly start receiving this errors... first i noticed it cause i couldnt login and bash threw it.. then su... /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "-su" Then i remove bash and change to tcsh and was "ok"... but then again, this one when using sendmail.. /libexec/ld-elf.so.1: Shared object "libsasl2.so.2" not found, required by "send-mail" I didnt update anything... and it was all running fine for months... what can it be? the files i have are.. -rwxr-xr-x 1 root wheel 92K Mar 11 15:26 libsasl2.so.2 lrwxr-xr-x 1 root wheel 13B Mar 11 15:26 libsasl2.so -> libsasl2.so.2 -r--r--r-- 1 root wheel 39K Aug 23 2008 libintl.so.8 lrwxr-xr-x 1 root wheel 12B Aug 23 2008 libintl.so -> libintl.so.8 I really dont know what is happening .... thanks to anyone who can clariffy this... I really dont know what /libexec/ld-elf.so.1 is doing? I figure that the binarys complaining arent findind this libs... i really dunno... Thanks a lot in advance... Also i mention that this is a public server where i offer free shell services .... i dont think a normal/unprivileged user could have done mess with it right? Cheers, Agustin From cwhiteh at onetel.com Fri Apr 10 17:29:33 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Fri Apr 10 17:29:39 2009 Subject: openoffice.org-3.01 packages available (i386) In-Reply-To: <4ad871310904071653hef9da1br6048618d4676d658@mail.gmail.com> References: <49DBCB82.2090903@gmail.com> <4ad871310904071653hef9da1br6048618d4676d658@mail.gmail.com> Message-ID: <49DFE46A.2080600@onetel.com> Glen Barber wrote: > Manolis, > > Thanks again for taking the time for this. > > [snip] > >> The site does not yet contain any other pages or info, as Glen is still >> working on the web content. >> >> Please send us your feedback (including problems, suggestions and >> success stories!) either on the list or directly. If this proves to be >> successful, we could also build and host other packages as well. >> > > > Any problems with the site, please contact me so I can notify my > hosting provider, as I don't have physical access to the server. > > > Thanks! > Hi guys, When you have a minute please would you have a look at a proposal for changes to the packages system I posted which is kind of a ports equivalent of freebsd-update involving a 'ports-snapshot'. The original post is here http://lists.freebsd.org/pipermail/freebsd-questions/2009-April/195793.html. A more detailed description is here http://lists.freebsd.org/pipermail/freebsd-questions/2009-April/196223.html And other peoples comments in between. It's going a bit parallel to the discussion here and in fact you have already offered some of the requirements,ie hosting Would you be interested in incorporating the idea into what you are doing? I could at least do some building of packages. One of the requirements is a new package management tool which I've called ports-update. Does anyone here have C or scripting skills who would be interested to write it? I'm sorry to ask, I know the FreeBSD way is to do it yourself, but I don't have programming skills. I could probably knock up a framework to start from though. If you are prepared to host a bunch of packages it would be interesting to ask people to give us a list of their installed packages to create a master list. Thanks Chris From glen.j.barber at gmail.com Fri Apr 10 17:57:21 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Fri Apr 10 17:57:28 2009 Subject: openoffice.org-3.01 packages available (i386) In-Reply-To: <49DFE46A.2080600@onetel.com> References: <49DBCB82.2090903@gmail.com> <4ad871310904071653hef9da1br6048618d4676d658@mail.gmail.com> <49DFE46A.2080600@onetel.com> Message-ID: <4ad871310904101757m31e977ddxfa02c9d94d3ca5a4@mail.gmail.com> Hi, Chris. On Fri, Apr 10, 2009 at 8:29 PM, Chris Whitehouse wrote: > > When you have a minute please would you have a look at a proposal for > changes to the packages system I posted which is kind of a ports equivalent > of freebsd-update involving a 'ports-snapshot'. > [snip] I actually have been watching that thread. I am intrigued by what you are trying to do, but I think it's veering into the "difficult to maintain" territory. > > It's going a bit parallel to the discussion here and in fact you have > already offered some of the requirements,ie hosting > > Would you be interested in incorporating the idea into what you are doing? I > could at least do some building of packages. > What specifically do you have in mind? A "side project" to the FreeBSD pkg_add(1) tool or a separate collection of the Makefiles for the ports tree? > One of the requirements is a new package management tool which I've called > ports-update. Does anyone here have C or scripting skills who would be > interested to write it? I'm sorry to ask, I know the FreeBSD way is to do it > yourself, but I don't have programming skills. I could probably knock up a > framework to start from though. > I have (very little) C skills -- I'm an OOP guy. I have less skill with shell scripting. Either way, between ${REAL_JOB} and ${UNIVERSITY}, my "free time" is ... well... usually, not free. > If you are prepared to host a bunch of packages it would be interesting to > ask people to give us a list of their installed packages to create a master > list. > I'm more than happy to create space for this type of project, but keep in mind -- the pkg_add(1) tool will grab binary builds of software from the ports tree that is usually built with default options. What about that one user that wants -DNO_NETHACK for sysutils/screen, or the user (me) that has no need for IPv6 options enabled for most things? This seems like an exact mirror of pkg_add(1) in how it works, and IMHO would be impossible to keep a current (let alone versioned) collection of packages with every possible compile-time option. Of course, unless I am misunderstanding your intentions. -- Glen Barber From xkyanh at gmail.com Fri Apr 10 18:23:39 2009 From: xkyanh at gmail.com (kyanh) Date: Fri Apr 10 18:23:47 2009 Subject: sound configuration for pidgin In-Reply-To: References: <20090410205135.2a813f34@icy.local> Message-ID: <20090411082326.2dd59fb3@icy.local> On Fri, 10 Apr 2009 19:06:39 -0500 (CDT) Wes Morgan wrote: > On Fri, 10 Apr 2009, kyanh wrote: > > > Hello all, > > > > I'd like to hear some notification from Pidgin. When configuring > > Pidgin, I use mplayer %s > > to make Pidgin play stuff. But it's hard to hear the sound as > > pidgin's volume is small (while the system mixer is almost > > 100:100). Is there anyway to have a bigger sound in Pidgin? > > > > Thank you! > > I would recommend installing the audio/normalize port, and using > that to increase the volume of the sound files. If you don't want > to alter the audio files, try using this as your sound command: > > mplayer -af volume=20 %s Thank you. I didn't read carefully mplayer's man page. When I use `mplayer -af volume=n` within `n > 10`, I get so much noises. The acceptable value is 9 or 10. The sound files are taken from default installation of Pidgin, and I shouldnot ormalize them :) -- unless I want some lourder notifications. Regards, -- Ky Anh, Huynh Homepage: http://viettug.org/ From xkyanh at gmail.com Fri Apr 10 18:35:06 2009 From: xkyanh at gmail.com (kyanh) Date: Fri Apr 10 18:35:13 2009 Subject: sound configuration for pidgin In-Reply-To: <20090410173504.e0f1eb2c.freebsd@edvax.de> References: <20090410205135.2a813f34@icy.local> <20090410173504.e0f1eb2c.freebsd@edvax.de> Message-ID: <20090411083451.4dda0a46@icy.local> On Fri, 10 Apr 2009 17:35:04 +0200 Polytropon wrote: > On Fri, 10 Apr 2009 20:51:35 +0700, kyanh wrote: > > Hello all, > > > > I'd like to hear some notification from Pidgin. When configuring > > Pidgin, I use mplayer %s > > to make Pidgin play stuff. > > First, maybe mplayer is a bit "heavy stuff" for notification sounds. > What are these files? If they are *.wav, use "play %s" command, and > if they are *.mp3, use "madplay %s" or "mpg123 %s", as well as > "ogg123 %s" for *.ogg files. Check out the manpages for these > programs if you think you need further options. > I just use the default setting from Pidgin. I don't know what is the kind of sound though I guess that's *.wav. When I press "Browse" in Pidgin Configuration Page for Sound I don't get the right place of default sound file. Pidgin may use files from GTK collection. When I use Arch Linux I can use "play %s" but "play" isnot installed as default on FreeBSD. I install `mpg123` but I still get small sound. > > > > But it's hard to hear the sound as pidgin's volume is small (while > > the system mixer is almost 100:100). Is there anyway to have a > > bigger sound in Pidgin? > > Check the other volumes as well. PCM should be 100:100, too. > If vol == 100:100 and pcm == 10:10, it will be very silent. :-) > I see. I often use vol == 90 and pcm == 75. > Do other applications (music and movie player, games etc.) play > louder sounds? > The music and others sounds are normal. > > > > PS: sorry for my terrible English :) > > I'm not sure mine is better, don't mind. The guys on that list have > a lot of translational phantasy. :-) Thank you. I've learned from your message that I should use "louder" for sound instead of "bigger". Still find "smaller" sound :D -- Ky Anh, Huynh Homepage: http://viettug.org/ From meta at club.kyutech.ac.jp Fri Apr 10 18:53:28 2009 From: meta at club.kyutech.ac.jp (Kouichiro Iwao) Date: Fri Apr 10 18:53:37 2009 Subject: NX dumps core on 7.1-RELEASE Message-ID: <20090411012154.GA80296@club.kyutech.ac.jp> Hi. I asked freebsd-users-jp mailing list how to solve the problem below but nobody replied. I moved freebsd-question ml ask you. I'm in trouble using net/freenx port. My system is 7.1-RELEASE-p2 and I installed freenx from the ports tree. I already installed gnome desktop environment and I can use it on x11 console. $ pkg_info|grep nx freenx-0.6.0_1 Frontend (auth/session management) for nxserver libraries nxserver-2.1.0_2 Low-bandwidth X network server I installed nomachine's nxclient 3.3.0-6 to another linux system. Then I tried to connect to the freebsd system, nxclient shows error that "Session Startup File". After that, I logged into the freebsd system from the linux system with ssh x11 forwarding enabled and I executed nxagent. Then it dumped core. [meta@freebsd ~]$ /usr/local/NX/bin/nxagent NXAGENT - Version 2.1.0 Copyright (C) 2001, 2006 NoMachine. See http://www.nomachine.com/ for more information. Info: Agent running with pid '80414'. Session: Starting session at 'Sat Apr 11 09:57:36 2009'. Info: Detected window manager running. Assertion failed: (ret != inval_id), function _XAllocID, file xcb_io.c, line 378. Abort trap: 6 (core dumped) I guess this is why nxclient on linux raises session start up failed error. I can find "xcb_io.c" in nxagent's error message, so I did "portupgrade -rf \*xcb\* libX11 nxserver" but nothing's solved. I attach nxclient's log file. Please give me solution. Thanks. -- Iwao, Koichiro From xkyanh at gmail.com Fri Apr 10 18:56:32 2009 From: xkyanh at gmail.com (kyanh) Date: Fri Apr 10 18:56:38 2009 Subject: sound configuration for pidgin In-Reply-To: <20090410160704.GA57657@dev.null> References: <20090410205135.2a813f34@icy.local> <20090410160704.GA57657@dev.null> Message-ID: <20090411085617.5142ab8b@icy.local> On Fri, 10 Apr 2009 10:07:04 -0600 Geoff Fritz wrote: > On Fri, Apr 10, 2009 at 08:51:35PM +0700, kyanh wrote: > > Hello all, > > > > I'd like to hear some notification from Pidgin. When configuring > > Pidgin, I use > > mplayer %s > > to make Pidgin play stuff. But it's hard to hear the sound as > > pidgin's volume is small (while the system mixer is almost > > 100:100). Is there anyway to have a bigger sound in Pidgin? > > > > Thank you! > > I use the same method you do. Just a tip: since you use mplayer, > as opposed to the default gstreamer, you can clear a *lot* of cruft > from your system by reconfiguring the pidgin port and turning off > the gstreamer option, re-installing pidgin, then uninstalling the > gstreamer stuff. I find that the ports-mgmt/pkg_cutleaves port is > execllent for such cleaning. > I wil try. Knowing `pkg_cutleaves` is a bonus :P > Onto your question. I have two thoughts. > > First, make sure that /usr/sbin/mixer shows "vol" and "pcm" both at > a a reasonable level. I find that 60:60 is usually sufficient for > me, whether I used headphones or speakers. > I did this before configuring Pidgin. > Second, the sound files you are using might simply be a bit low on > the volume side. You may want to load them into something like > audacity to increase their loudness. > The problem is that I use Pidgin's default sound files. I cannot locate those files (pkg_info -L pidgin). > > > PS: sorry for my terrible English :) > > No apologies needed. Your written English is excellent! Thank you for your helps and your kind words :) -- Ky Anh, Huynh Homepage: http://viettug.org/ From meta at club.kyutech.ac.jp Fri Apr 10 19:06:14 2009 From: meta at club.kyutech.ac.jp (Kouichiro Iwao) Date: Fri Apr 10 19:06:22 2009 Subject: NX dumps core on 7.1-RELEASE In-Reply-To: <20090411012154.GA80296@club.kyutech.ac.jp> References: <20090411012154.GA80296@club.kyutech.ac.jp> Message-ID: <20090411020559.GB80296@club.kyutech.ac.jp> Sorry, I was not sure how attached file is treated. Here's the log. http://www.club.kyutech.ac.jp/~meta/temp/nxserver_error.log -- Iwao, Koichiro From hakmi at rogers.com Fri Apr 10 19:14:19 2009 From: hakmi at rogers.com (Tamouh Hakmi) Date: Fri Apr 10 19:14:26 2009 Subject: Sudden /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by errors In-Reply-To: References: Message-ID: <4B6AD6D2B3FC4A22811916749D3D3108@tamouh> You'd need to provide us with more details as your version #, what are you running...etc. Try to ln -s to libintl.so.8 from other directories as well such as /usr/libexec and /usr/local/libexec Tamouh > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Agus > Sent: April 10, 2009 7:41 PM > To: FreeBSD Questions > Subject: Sudden /libexec/ld-elf.so.1: Shared object > "libintl.so.8" not found,required by errors > > Hi guys, > > Yesterday i suddenly start receiving this errors... first i > noticed it cause i couldnt login and bash threw it.. then su... > > /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, > required by "-su" > > Then i remove bash and change to tcsh and was "ok"... but > then again, this one when using sendmail.. > > /libexec/ld-elf.so.1: Shared