mountd requests
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
qemu: booting from USB key?
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 matthias.ap...@oclc.org - 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-unsubscr...@freebsd.org
Re: Xeon Quad with 9 GB RAM - only 4 GB detected
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-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mythtv-0.21 build error
Right, then try a workaround. Download a source freom the web and compile it manually and tell us if it gives you errors. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: qemu: booting from USB key?
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 matthias.ap...@oclc.org - 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-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ftp with .... ?
On Wed, 01 Apr 2009 03:53:09 +0300, Joshua Gimer jgi...@gmail.com 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
gmirror 6.2 - 7.1
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why?? (prog question)
Polytropon free...@edvax.de 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 sysexits.h 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: too many video drivers
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 ChipsTechnologies 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gmirror 6.2 - 7.1
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-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Use of libgd
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xeon Quad with 9 GB RAM - only 4 GB detected
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 woj...@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-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gmirror 6.2 - 7.1
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Duplicate Installation of FreeBSD
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-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Duplicate Installation of FreeBSD
On Wed, Apr 1, 2009 at 12:01 PM, k...@snaffler.net k...@snaffler.netwrote: 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: going from cvs to svnq
[ 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why?? (prog question)
On Tue, 31 Mar 2009 18:53:51 -0400, William Gordon Rutherdale will.rutherd...@utoronto.ca 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
Re: going from cvs to svnq
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. -- Insert your favourite quote here. Erik Trulsson ertr1...@student.uu.se ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: too many video drivers
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.4X.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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: going from cvs to svnq
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xeon Quad with 9 GB RAM - only 4 GB detected
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why?? (prog question)
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 ( x3 ) { #else if ( x2 ) { #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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why?? (prog question)
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
py24-gobject won't deinstall
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 r...@bighouse:/usr/obj/usr/src/sys/MYKERNEL7 i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: py24-gobject won't deinstall
On Wed, 1 Apr 2009 07:41:15 -0500, Richard DeLaurell richard.delaur...@gmail.com 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, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mod_php5 and apache22
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 mai...@bzerk.org 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 mel+po...@rachie.is-a- geek.net # # $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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
(no subject)
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/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
(no subject)
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/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: (no subject)
On Wed, Apr 1, 2009 at 8:36 AM, ayyappa mhsp ayyappam...@yahoo.co.inwrote: 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-unsubscr...@freebsd.org -- www.nealhogan.net www.lambdaserver.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: py24-gobject won't deinstall
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, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mythtv-0.21 build error
--- On Tue, 3/31/09, Mark Busby redt...@sbcglobal.net wrote: From: Mark Busby redt...@sbcglobal.net Subject: Re: Mythtv-0.21 build error To: help help freebsd-questions@freebsd.org 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xeon Quad with 9 GB RAM - only 4 GB detected
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++ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7 and 2 monitors
On Tue, Mar 31, 2009 at 6:56 PM, User Wblock wbl...@wonkity.com 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 ModelName2615 Option PreferredMode 1920x1200 Option Position 1024 0 Option DPMS EndSection Section Monitor Identifier Monitor1 VendorName PHL ModelNamePhilips 150B3 Option PreferredMode 1024x768 Option Position 0 0 EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option NoAccel # [bool] #Option SWcursor # [bool] #Option Dac6Bit # [bool] #Option Dac8Bit # [bool] #Option BusType # [str] #Option CPPIOMode # [bool] #Option CPusecTimeout # i #Option AGPMode # i #Option AGPFastWrite # [bool] #Option AGPSize # i #Option GARTSize # i #Option RingSize # i #Option BufferSize# i #Option EnableDepthMoves # [bool] #Option EnablePageFlip# [bool] #Option NoBackBuffer # [bool] #Option DMAForXv # [bool] #Option FBTexPercent # i #Option DepthBits # i #Option PCIAPERSize # i #Option AccelDFS # [bool] #Option DDCMode # [bool] #Option IgnoreEDID# [bool] #Option DisplayPriority # [str] #Option PanelSize # [str] #Option ForceMinDotClock # freq #Option ColorTiling # [bool] #Option VideoKey # i #Option RageTheatreCrystal# i #Option RageTheatreTunerPort # i #Option RageTheatreCompositePort # i #Option RageTheatreSVideoPort # i #Option TunerType # i #Option RageTheatreMicrocPath # str #Option RageTheatreMicrocType # str #Option ScalerWidth # i #Option RenderAccel # [bool] #Option SubPixelOrder # [str] #Option ShowCache # [bool] #Option DynamicClocks # [bool] #Option VGAAccess # [bool] #Option ReverseDDC# [bool] #Option LVDSProbePLL # [bool] #Option AccelMethod # str #Option DRI # [bool] #Option ConnectorTable# str #Option DefaultConnectorTable # [bool]
Re: py24-gobject won't deinstall
Perhaps my installation is incomplete? perhaps man [whatever] would work better? or maybe http://freebsd.org/cgi/man.cgi ? :) or maybe even google :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools?
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RR2314 Problems
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 r...@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: sx508x port 0x2000-0x20ff mem 0x9020-0x902f 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools?
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-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RR2314 Problems
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools?
O. Hartmann ohart...@zedat.fu-berlin.de 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Energy use (was installing freebsd on windows)
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-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ubsec(4) and geli(4) Benchmarks (WAS: Re: freebsd encrypted hard disk? (fwd))
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 woj...@wojtek.tensor.gdynia.pl To: Roland Smith rsm...@xs4all.nl Cc: RW rwmailli...@googlemail.com, 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-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Proxy to filter peer to peer connexion on port 80
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: make installkernel NDIS disaster
2009/4/1 Kayven Riese kay...@gmail.com 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 r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 # I had been trying to follow these directions: gheist http://www.experts-exchange.com/M_1079061.html: 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 r...@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 roottmp usr var vista xcraft # ls /mnt/nexstar .snap games libdata obj src X11R6 homelibexec ports bin include local sbin compat lib lost+found share # ls /mnt/nexstar/src COPYRIGHT include LOCKS
WinPopUp type messages from FreeBSD to Mac OS X
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-unsubscr...@freebsd.org
Re: WinPopUp type messages from FreeBSD to Mac OS X
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-unsubscr...@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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: WinPopUp type messages from FreeBSD to Mac OS X
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 computer failed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: py24-gobject won't deinstall
On Wed, 1 Apr 2009 09:24:18 -0500, Richard DeLaurell richard.delaur...@gmail.com 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, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: going from cvs to svnq
-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-unsubscr...@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- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Sysinstall with install.cfg
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Build/Install world via ssh
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Build/Install world via ssh
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Build/Install world via ssh
On Wed, Apr 1, 2009 at 5:38 PM, Simon Griffiths simon.griffi...@tenenbaum.co.uk 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). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Build/Install world via ssh
On Wed, 1 Apr 2009 22:38:47 +0100 Simon Griffiths simon.griffi...@tenenbaum.co.uk 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ftp with .... ?
What user is your ftp daemon running as? On Wed, Apr 1, 2009 at 2:08 AM, Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote: On Wed, 01 Apr 2009 03:53:09 +0300, Joshua Gimer jgi...@gmail.com 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
DVD playback issue: FAILURE - non aligned DMA transfer attempted
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/cdromcd9660 ro,noauto00' in /etc/fstab and the following two lines in /etc/devfs.conf: own/dev/cd0root:operator perm/dev/cd00660 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-unsubscr...@freebsd.org
Re: DVD playback issue: FAILURE - non aligned DMA transfer attempted
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/cdromcd9660 ro,noauto00' in /etc/fstab and the following two lines in /etc/devfs.conf: own/dev/cd0root:operator perm/dev/cd00660 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-unsubscr...@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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Encoding Movies to DVD
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-unsubscr...@freebsd.org
Re: Encoding Movies to DVD
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-unsubscr...@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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Sysinstall with install.cfg
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Encoding Movies to DVD
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Encoding Movies to DVD
On Wed, Apr 1, 2009 at 7:37 PM, Adam Vandemore amvandem...@gmail.comwrote: 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Encoding Movies to DVD
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: going from cvs to svnq
On Tue, 31 Mar 2009 22:18:33 -0400, Chuck Robey chu...@telenix.org 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.YRELENG_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
Re: going from cvs to svnq
On Wed, 1 Apr 2009 07:05:53 -0300 (ADT), Andrew Hamilton-Wright and...@qemg.org 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 :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: DVD playback issue: FAILURE - non aligned DMA transfer attempted
On Wed, Apr 1, 2009 at 8:20 PM, Sergio de Almeida Lenzi lenzi.ser...@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? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
qemu and kqemu - Version mismatch after upgrade
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? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: qemu and kqemu - Version mismatch after upgrade
On Wed, Apr 1, 2009 at 11:36 PM, Da Rock rock_on_the_...@comcen.com.au 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD7.1 limewire5.0 Does not connect
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Encoding Movies to DVD
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-unsubscr...@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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
config sendmail
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 esma...@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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: qemu and kqemu - Version mismatch after upgrade
On Thu, 2009-04-02 at 00:04 -0400, Glen Barber wrote: On Wed, Apr 1, 2009 at 11:36 PM, Da Rock rock_on_the_...@comcen.com.au 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: guile-1.8.6 build core dumps (autoconf issue ?)
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Encoding Movies to DVD
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-unsubscr...@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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: qemu and kqemu - Version mismatch after upgrade
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 rock_on_the_...@comcen.com.au 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: config sendmail
On Wed, 1 Apr 2009 16:57:34 -0400, Esmaeel Pashapouri epashapo...@ca.inter.net 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 esma...@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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: qemu and kqemu - Version mismatch after upgrade
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 rock_on_the_...@comcen.com.au 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-unsubscr...@freebsd.org
Re: qemu and kqemu - Version mismatch after upgrade
On Thu, 2009-04-02 at 05:02 +, 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 po...@. 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 rock_on_the_...@comcen.com.au 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-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org