recomendations for webb shop software
Dear listmembers. I want to learn about the "webb shop thing". Are there someone that can recomend software worth having a look at. I think of a webb site with forms that's connected to a database with order and update mecanisms. I will only use the software to learn. Cincerely -- /peo -- - PGP signed/encrypted emails is prefered - -- [novice about this? ~> visit: www.gnupg.org] signature.asc Description: This is a digitally signed message part
external hard drive for mobile pc
Will FreeBSD work if I install it on an external hard drive, connected to a mobile PC via USB or FireWire, as a partition ( the two partitions being the mobile PC's internal Hardrive and this external hard drive which I am asking about.)? If the answer is yes: can you provide me with links to some documentation covering how I would create the partition on the external hard drive ( this partition would cover as much of this drive as possible with the internal one being used for Windows Vista.); and how I can burn bootable DVD-RWs from the .iso image files of FreeBSD which I downloaded from your site? Thank-you for your time, Eric Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to be *nix programmer
On Wed, Jan 16, 2008 at 04:42:48PM -0500, Jerry McAllister wrote: > On Wed, Jan 16, 2008 at 03:48:47PM -0500, Radheshyam Bhatt wrote: > > > Hello People, > > > > > >How's it going?I am interested in to developing drivers > > for FreeBSD. How do I go about start learning program for that? What > > books & resources I should look in to. I know C, and I am learning about > > processes, and system calls. Also where would I take my questions to if I > > don't get something and need help for something in system's programming... > > Please email me back.. > > Learning C and probably C++ and maybe some Assembly is good. > > After that, you might want to absorb the McKusic books: 'Design and > Implementaiton of the (4.3 and) 4.4 BSD Operating System. Actually, McKusic's 'Design and Implementaion of the FreeBSD Operating System' might be more useful. It's based on FBSD 5.2, but it's still more up to date. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone out there using SSL-Explorer?
On Jan 16, 2008 4:35 PM, Kurt Buff <[EMAIL PROTECTED]> wrote: > > On Jan 16, 2008 2:00 PM, Peter Boosten <[EMAIL PROTECTED]> wrote: > > Kurt Buff wrote: > > > > > > > > > Per a private message (thanks, Peter) I learned that 'ant run' is > > > deprecated, and I should instead use 'ant start'. > > > > > > This seems to have no effect, as the output is the same. > > > > > > The README does talk about a wizard, which, after pondering all of > > > this overnight, seems to mean some GUI component that guides you > > > through setup. There is no window manager on this machine, and I don't > > > have X installed, except for what Java/Ant libraries were installed. > > > > > > So, I'm still left with the questions above. > > > > > > > Kurt, > > > > We spoke briefly about 'ant install' opening port 28080... when this > > happens, you can connect your browser to that port > > (http://yourhost:28080 -> this is the wizard the readme is talking > > about). There seems to be some timegap between the installer reporting > > it's ready and the actual opening of the port (I tried last night). > > > > You don't need X (I don't have it), just some patience. When you've > > completed the install (with your browser), the ant will shutdown and you > > can start then sslexplorer with 'ant start'. Again there will be a > > timegap between the ending of the startup script and the opening of the > > port. > > > > > > Peter > > OK - I'll buy that the wizard is the GUI used through a web browser - > that makes sense. > > However, I executed 'ant start' within the directory at the console as > root, while tracking processes in a putty ssh terminal with top during > that execution. I noticed that java was running, but then the ant > process stopped on the console, and in top the java entry disappeared. > Testing after that, with netstat -a, revealed no port open other than > the usual smtp/ssh/ntp ports that I use on any machine. > > Trying to connect with Firefox is unsuccessful at that point. > > As you might surmise, I'm not familiar with ant or java, so am just > bashing about looking for clues. > > Lastly for the moment, I noticed that I didn't have the JRE installed, > so I took the time to download that file and 'make install clean', > then execute 'ant install' and 'ant run', with the same results. > > I have output from both 'ant install' and 'ant run' should anyone care > to take a look. > OK - this is seriously strange. I used the command line # ant -debug -logfile /root/antdebuginstall.txt install and the process now does not exit, and I'm able to bring up the wizard in FF. I'm getting errors trying to authenticate against Active Directory, but I can work through that. Thoughts? Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
3Ware 9650SE with 4 disk array
Hi, We've received a server containing 3Ware 9650SE controller with 4 ports and it comes with 4 WD7500AYYS drives with the following drive parameters of LBA 1465149168 (sectors?). I'm using FBSD 7.0 RC-1 which provides the necessary drivers for that controller card. The array is created using RAID5. The problem arises when I fdisk the drive array. The sysinstall installation routine complains that the drive parameters provided by the BIOS is incorrect. When I ask to see the drive info using fdisk, I am given the following information: # fdisk parameters extracted from in-core disklabel are: cylinders=273542 heads=255 sectors/tracks=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from BIOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 88484871 (48576 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 165/ sector 59 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: # I see that when I am finished setting up the drive array, I am getting a much smaller use of the entire array. Using the "Auto Defaults" option inside bsdlabel, I end up with /dev/da0s1f (/usr) in the range of 40 GB. I should be seeing something in the order of 2 TB. I've tried fdisking and bsdlabeling for 2 Tb to no avail several times. What am I doing wrong? ~Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
3Ware 9650SE with 4 disk array
Hi, We've received a server containing 3Ware 9650SE controller with 4 ports and it comes with 4 WD7500AYYS drives with the following drive parameters of LBA 1465149168 (sectors?). I'm using FBSD 7.0 RC-1 which provides the necessary drivers for that controller card. The array is created using RAID5. The problem arises when I fdisk the drive array. The sysinstall installation routine complains that the drive parameters provided by the BIOS is incorrect. When I ask to see the drive info using fdisk, I am given the following information: # fdisk parameters extracted from in-core disklabel are: cylinders=273542 heads=255 sectors/tracks=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from BIOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 88484871 (48576 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 165/ sector 59 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: # I see that when I am finished setting up the drive array, I am getting a much smaller use of the entire array. Using the "Auto Defaults" option inside bsdlabel, I end up with /dev/da0s1f (/usr) in the range of 40 GB. I should be seeing something in the order of 2 TB. I've tried fdisking and bsdlabeling for 2 Tb to no avail several times. What am I doing wrong? ~Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: When is 7.0 being released?
On Wed, 16 Jan 2008 14:30:15 -0500 Schiz0 <[EMAIL PROTECTED]> wrote: > On Jan 16, 2008 2:13 PM, Wojciech Puchar > <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > > > Does anybody have an idea when 7.0 will be released? It looks > > > like the schedule hasn't been updated, and it was scheduled for > > > January 14th. > > > > > > Where can I find additional information? > > > > when it will be ready, stable and tested. > > > > if you need to have "the latest" NOW, consider installing -current. > > you will help developers then, reporting any bugs that may happen > > > > ___ > > Or you could install -stable. You don't have to use the releases. > Stable is...pretty stable. I just recently upgraded to RELENG_7 from > the RELENG_6 branch. Actually the RELENG_7_0 branch already exists. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: lockfile -- posix compliant?
On Wed, Jan 16, 2008 at 08:03:29PM -0500, N.J. Thomas wrote: > Can someone tell me if lockfile(1) is a POSIX-defined utility? I > couldn't tell from the man page or the source code, and I seem to be > having trouble locating info on the web. > > Jens Schweikhardt's excellent page on FreeBSD POSIX Compliance: > > http://people.freebsd.org/~schweikh/posix-utilities-APR-02.html > > doesn't list it, so I am inclined to say that it is not, but I wanted to > be sure. > Considering that lockfile(1) is usually installed as part of procmail, and is not part of the base system of FreeBSD, NetBSD, Solaris or Linux, it seems fairly safe say that lockfile(1) is not defined by POSIX. It might be that you meant lockf(1) though, which is part of the FreeBSD base system. It is not part of either NetBSD, Linux or Solaris though and the FreeBSD manpage makes no mention of standard compliance, which means it is most likely not defined by POSIX either. -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
lockfile -- posix compliant?
Can someone tell me if lockfile(1) is a POSIX-defined utility? I couldn't tell from the man page or the source code, and I seem to be having trouble locating info on the web. Jens Schweikhardt's excellent page on FreeBSD POSIX Compliance: http://people.freebsd.org/~schweikh/posix-utilities-APR-02.html doesn't list it, so I am inclined to say that it is not, but I wanted to be sure. thanks, Thomas -- N.J. Thomas [EMAIL PROTECTED] Etiamsi occiderit me, in ipso sperabo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OpenAFS-devel] Re: AFS ... or equivalent ...
On Wed, 16 Jan 2008, Robert Watson wrote: > On Wed, 16 Jan 2008, Jeffrey Hutzelman wrote: > > > The "let's just slurp everything into the main distribution so we don't have > > to worry about stable interfaces" approach is really poor. It encourages > > bad engineering practice among people maintaining the main distribution, > > discourages innovation and extension by others, and generally doesn't scale. > > It's far better to either attempt to maintain stable external interfaces to > > the VFS and VM subsystems, or else admit that you don't have the resources > > to do so given the relatively small number of external users, in which case > > you almost certainly also don't have the resources to keep on top of updates > > to something like OpenAFS. > > Right now we maintain a relatively stable VM/VFS KPI withing a major release > (i.e, FreeBSD 6.0 -> 6.1 -> 6.2 -> 6.3), but see fairly significant changes > between major releases (5.x -> 6.x -> 7.x, etc). I expect to see further > changes in VFS for 8.x (and some of the locking-related ones have already > started going in). Yup; that's a reasonable process. > The historic problem for Arla has been that instead of tracking these VFS > changes as they are made, they had to catch up every once in a while. Normally > that "every once in a while" has been at the point where a FreeBSD branch is > coming to the end of support rather than when it is new and shiny. Yes, that's a problem you're likely to run into unless you have a community of developers who are interested in keeping current versions working for their own use. For example, we tend to have relatively little trouble getting people to spend time making OpenAFS work on Linux or Solaris (sometimes we have trouble _getting_ it to work, but that's a different story). > In the case of > Arla, there's a quite logical path: if we import the nnpfs kernel module (but > not cache manager), then it will track FreeBSD development and almost > certainly work with little or no trouble on new major releases, as sweeps to > various KPIs will happen "for free". Yes. In fact, I think NetBSD has already done that. > So let's turn the question around: to get the OpenAFS client up and running on > FreeBSD, do you have any technical requirements not yet met by FreeBSD I don't think we know the answer to that... > , or is > it really about finding someone willing to spend some time doing the bulk of > the technical work and track bugs for a while? because this _is_ a significant part of the problem. So for starters, I think we're looking for someone who has some familiarity with OpenAFS and/or with FreeBSD's VFS layer, or thinks they can fake it, and who has cycles they're interested in spending on this. I'm sure such a person would be welcome on the openafs-devel list. -- Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone out there using SSL-Explorer?
On Jan 16, 2008 2:00 PM, Peter Boosten <[EMAIL PROTECTED]> wrote: > Kurt Buff wrote: > > > > > > Per a private message (thanks, Peter) I learned that 'ant run' is > > deprecated, and I should instead use 'ant start'. > > > > This seems to have no effect, as the output is the same. > > > > The README does talk about a wizard, which, after pondering all of > > this overnight, seems to mean some GUI component that guides you > > through setup. There is no window manager on this machine, and I don't > > have X installed, except for what Java/Ant libraries were installed. > > > > So, I'm still left with the questions above. > > > > Kurt, > > We spoke briefly about 'ant install' opening port 28080... when this > happens, you can connect your browser to that port > (http://yourhost:28080 -> this is the wizard the readme is talking > about). There seems to be some timegap between the installer reporting > it's ready and the actual opening of the port (I tried last night). > > You don't need X (I don't have it), just some patience. When you've > completed the install (with your browser), the ant will shutdown and you > can start then sslexplorer with 'ant start'. Again there will be a > timegap between the ending of the startup script and the opening of the > port. > > > Peter OK - I'll buy that the wizard is the GUI used through a web browser - that makes sense. However, I executed 'ant start' within the directory at the console as root, while tracking processes in a putty ssh terminal with top during that execution. I noticed that java was running, but then the ant process stopped on the console, and in top the java entry disappeared. Testing after that, with netstat -a, revealed no port open other than the usual smtp/ssh/ntp ports that I use on any machine. Trying to connect with Firefox is unsuccessful at that point. As you might surmise, I'm not familiar with ant or java, so am just bashing about looking for clues. Lastly for the moment, I noticed that I didn't have the JRE installed, so I took the time to download that file and 'make install clean', then execute 'ant install' and 'ant run', with the same results. I have output from both 'ant install' and 'ant run' should anyone care to take a look. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssmtp configuration for server authorization [solved]
On Wed, Jan 16, 2008 at 12:46:02PM -0600, Paul Schmehl wrote: > > This might give you a clue: > > smtp 25/tcpmail #Simple Mail Transfer > smtp 25/udpmail #Simple Mail Transfer > smtps 465/tcp#smtp protocol over TLS/SSL (was ssmtp) > smtps 465/udp#smtp protocol over TLS/SSL (was ssmtp) > > Unless you've configured your MTA in a non-standard way, smtps is on port > 465 not 25. I was testing the configuration without TLS or SSL because I wanted to eliminate encryption issues as variables while trying to nail down the problem. However . . . I have discovered that the problem has nothing to do with my config file's syntax and everything to do with the fact that the guys running the remote SMTP server changed the authentication procedure and started using a nonstandard port. After getting the new information I needed, and changing my configuration to suit, everything works like a charm. Sorry about the unnecessary list noise. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] MacUser, Nov. 1990: "There comes a time in the history of any project when it becomes necessary to shoot the engineers and begin production." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.2 Frequent Lockups
>>Lockups are usually hardware related. You should run diagnostics on all >>your motherboard, RAM, drives, and NIC's. Check that your system BIOS >>settings are correct, and you are not "over-clocking" your CPU or RAM. >> >>I would run the generic kernel if you have a custom kernel. Don't overlook the power. If it's not on an uninterruptible power supply, you might consider this. Even if it is, if the power supply unit itself is faulty, very weird things can happen. In any case, if you do track down the exact cause, report back to the list. -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.2 Frequent Lockups
At 10:37 AM 1/16/2008, Joseph Yeager wrote: Hello, I'm experiencing daily lockups on a FreeBSD 6.2 machine thats currently being used as a gateway for a local church school. I have installed and/or configured the following services which are running on it right now: Quagga (only using the Zebra daemon), DHCP (via the isc-dhcp3-server port), BIND, and PF. Everything runs as expected except for the fact that the machine will completely freeze (console included) quite often. Its recently gotten as bad as freezing every 3-5 hours. I don't have any custom cron jobs running and the only job I see that operates at that frequency is daily maintenance. Thinking it could be a heat problem originating from sitting on top of a switch, I put a few blocks under and now it runs a good bit cooler. Last night, I had the windows open and it never got hotter then luke warm and I witnessed, first hand, it completely freeze for no apparent reason. Despite that seemingly pointing to it NOT being a heat problem, I'll be moving it to a shelf by itself. I will also be swapping out the RAM in a few hours when I get up there to see if that is the problem, but I still have a feeling (after reading other similar problems like this) that that may not be the answer. I have a similar setup running at my home which uses the exact same motherboard but different RAM and HD. The only difference on my home router is that I have split horizon DNS setup for my domain and am using IPFW as opposed to PF. My home router has been rock solid every since I got it (several months ago) and my email and webserver, which both run FreeBSD 6.2, have never been down except for extended power outages. I will update you on how the RAM swap goes, but if there are any other suggestions you have I would greatly appreciate it. Thanks, Joe Lockups are usually hardware related. You should run diagnostics on all your motherboard, RAM, drives, and NIC's. Check that your system BIOS settings are correct, and you are not "over-clocking" your CPU or RAM. I would run the generic kernel if you have a custom kernel. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pls help: regarding gdb internals
,--[ On Wed, Jan 16, 2008 at 01:24:14PM -0800, Arun Paneri wrote: | Thanks Aryeh & Chuck. | Well, I am trying to solve issues related to GDB. Like, gdb prints wrong values of few parameteres eg "this" pointer, when we give "backtrace" or "x/10x $ebp" command in core of our company product. The passing of 'this' pointer depends on the C++ calling convention in use. | | I think it reads wrong value from symbol table or stack frame. So i am trying to put a break point and see what exactly gdb reads for that perticuler frame when it shows a wrong data. But dont know where exactly it reads data from the symbol table or stack frame. AFAIK, symbol table simply stores symbols and their addresses, not data. Data you'll find in Data Section (readonly/static allocation), Stack (runtime-static allocation), or Heap (runtime-dynamic allocation). HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- signature.asc Description: Digital signature
Re: Pls help: regarding gdb internals
On Jan 16, 2008 4:24 PM, Arun Paneri <[EMAIL PROTECTED]> wrote: > Thanks Aryeh & Chuck. > Well, I am trying to solve issues related to GDB. Like, gdb prints wrong > values of few parameteres eg "this" pointer, when we give "backtrace" or > "x/10x $ebp" command in core of our company product. It should be the first param (i.e. starts on byte 12 of the frame)... $ebp points the next stack frame (i.e. where the next push will happen) so to really understand you need to look 12 bytes "below" edp... For example I used the following loop to find what func a call came from (since I don't have the orginal code any more this is psedo): do ptr=(*edb) +4 // gives you the return addr for the current frame while ptr!=desired frame addr the edb+12 has be done with inline asm when the loop is done ptr-4 is the start of the frame your intrested in thus ptr-4+12 is the this param. A small caution here doing this kind of in stack ptr math can lead to some very bizzare bugs... for example the above loop combined with a param ptr deref (i.e. treat the param of intrest as a ptr) lead to the strangest bug I have seen in my 20 year career... essencially lets say I had a loop to go through params to see which one of interest (I was using this as a way of automating some aspects of a OO RDBMS), which in my case was the first param of a ptr type whose value was -1 [the db would then do some db magic and replace it with a ptr to a real instance read from disk]... now that being said lets say "a" is the offset of the current param and "b" is the offset of current param we are testing such that: while(b > I think it reads wrong value from symbol table or stack frame. So i am trying > to put a break point and see what exactly gdb reads for that perticuler frame > when it shows a wrong data. But dont know where exactly it reads data from > the symbol table or stack frame. > > If you have a specific idea regarding this pls give some more info. > > > Regards. > > > - Original Message > From: Chuck Swiger <[EMAIL PROTECTED]> > To: Arun Paneri <[EMAIL PROTECTED]> > Cc: FreeBSD User <[EMAIL PROTECTED]>; freebsd-questions@freebsd.org > Sent: Wednesday, January 16, 2008 2:56:36 PM > Subject: Re: Pls help: regarding gdb internals > > On Jan 16, 2008, at 10:58 AM, Arun Paneri wrote: > > Can anyone write few lines about how does gdb internally works. I > > went to "Gdb internals guide" but couldn't find much information > > specifically which i am looking for. > > I'm not familiar with the document you mentioned, but the canonical > documentation for GDB is available via "info gdb". > > > I want information like when we give command "$gdb test.exe" then > > how internaly it works. Does it start reading symbols and start > > making symbol table with this command? > > Binary objects such as executable programs, shared libraries, etc > contain symbol tables; GDB does a quick load of this symbol data to > identify all of the sources of symbols for the program, and then will > look up the details when needed. > > > Does it start creating stack frames as we give command "run" or > > before even that? > > The program being debugged does not exist as a process until you run > it, so there isn't an address space or stack until then. When the > target program is run, it creates it's own stack frames according to > the local architecture's machine calling conventions. > > > I am basically interested to know about creation of frames and how > > does gdb read them back when we give "backtrace" command? > > Well, the calling conventions are different for every particular CPU > architecture; but if you want to see the code that GDB uses, start with: > > /usr/src/contrib/gdb/gdb/frame-base.c > /usr/src/contrib/gdb/gdb/frame-base.h > /usr/src/contrib/gdb/gdb/frame-unwind.c > /usr/src/contrib/gdb/gdb/frame-unwind.h > /usr/src/contrib/gdb/gdb/frame.c > /usr/src/contrib/gdb/gdb/frame.h > > ...but I suspect that something like these two articles are closer to > what you are looking for: > > http://en.wikipedia.org/wiki/Calling_convention > http://en.wikipedia.org/wiki/X86_calling_conventions > > -- > -Chuck > > > > > > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone out there using SSL-Explorer?
Kurt Buff wrote: Per a private message (thanks, Peter) I learned that 'ant run' is deprecated, and I should instead use 'ant start'. This seems to have no effect, as the output is the same. The README does talk about a wizard, which, after pondering all of this overnight, seems to mean some GUI component that guides you through setup. There is no window manager on this machine, and I don't have X installed, except for what Java/Ant libraries were installed. So, I'm still left with the questions above. Kurt, We spoke briefly about 'ant install' opening port 28080... when this happens, you can connect your browser to that port (http://yourhost:28080 -> this is the wizard the readme is talking about). There seems to be some timegap between the installer reporting it's ready and the actual opening of the port (I tried last night). You don't need X (I don't have it), just some patience. When you've completed the install (with your browser), the ant will shutdown and you can start then sslexplorer with 'ant start'. Again there will be a timegap between the ending of the startup script and the opening of the port. Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone out there using SSL-Explorer?
On Jan 15, 2008 7:00 PM, Kurt Buff <[EMAIL PROTECTED]> wrote: > I've been trying to install it on a box I've thrown together (FreeBSD > it-kbuff-fbsd1.mycompany.com 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0) > and have followed the directions as best I could in the following > documents: > > /usr/src/sslexplorer/README (from the src install package at > http://internap.dl.sourceforge.net/sourceforge/sslexplorer/sslexplorer-1.0.0_RC13-src.zip) > > http://n3ncy.com/UNIX/FreeBSD/SSLExplorer.htm (which seems not to be > for the source install, and with which I had no luck) > > and > > http://3sp.com/kb/idx/21/088/article/How_do_I_install_the_source_code.html > (the PDF they link to is so obscured by a huge DRAFT stamp that it's > pretty much unusable.) > > I've installed Java and apache-ant, and execute '# ant install', which > churns and produces lots of output - It's supposed to launch an > install wizard, which I never see, then it finally states > > install: > [java] Java Result: 1 > > BUILD SUCCESSFUL > Total time: 1 minute 10 seconds > > then I execute '# ant run', which produces lots of similar output, but > then it exits with > > console: > [echo] > [echo] > Service wrapper not currently supported on this platform (FreeBSD), so > falling back to > [echo] > generic method. You will not have restart ability from the user > interface and > [echo] > beware of using CTRL+C, it may leave processes running > [echo] > > console-using-java: > [java] Java Result: 1 > > BUILD SUCCESSFUL > Total time: 54 seconds > > and nothing is running that I would expect to see. > > If anyone on this list has experience with it, I'd appreciate a bit of advice. > > Thanks, > > Kurt Per a private message (thanks, Peter) I learned that 'ant run' is deprecated, and I should instead use 'ant start'. This seems to have no effect, as the output is the same. The README does talk about a wizard, which, after pondering all of this overnight, seems to mean some GUI component that guides you through setup. There is no window manager on this machine, and I don't have X installed, except for what Java/Ant libraries were installed. So, I'm still left with the questions above. Any takers? Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to be *nix programmer
On Wed, Jan 16, 2008 at 03:48:47PM -0500, Radheshyam Bhatt wrote: > Hello People, > > >How's it going?I am interested in to developing drivers > for FreeBSD. How do I go about start learning program for that? What > books & resources I should look in to. I know C, and I am learning about > processes, and system calls. Also where would I take my questions to if I > don't get something and need help for something in system's programming... > Please email me back.. Learning C and probably C++ and maybe some Assembly is good. After that, you might want to absorb the McKusic books: 'Design and Implementaiton of the (4.3 and) 4.4 BSD Operating System. There is also some online documentation on writing drivers. I don't have the address at hand, but a little searching on the FreeBSD web site should turn it up. jerry > > > thanks in advance, > > Good Day, > Radheshyam > [EMAIL PROTECTED] > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OpenAFS-devel] Re: AFS ... or equivalent ...
On Wed, 16 Jan 2008, Jeffrey Hutzelman wrote: --On Monday, January 14, 2008 02:23:47 PM + Robert Watson <[EMAIL PROTECTED]> wrote: I'd like very much to get at least the kernel parts of an AFS client into the base system. That may well be realistic for arla, though I believe there was a period for a while where the kernel/arlad interface was evolving to support features like chunking. I pay only superficial attention to arla-drinkers, so I don't know what the status of any of that is; for that, you'd have to ask someone who is actively involved in arla development (I believe there are some such people on this list). It is unlikely ever to happen for OpenAFS, in which virtually all of the cache manager code is in-kernel and most of it is cross-platform. Trying to pull the OpenAFS cache manager into the FreeBSD kernel would be equivalent to forking OpenAFS; what you'd get would work and would keep up with FreeBSD, but it would be unlikely to keep up with OpenAFS. I chatted with Darrick for a while on IM yesterday (or was it the day before) to try and get a better understanding of the OpenAFS parts, and now that I know a little more, agree. My primary experience until now has been with Arla, which has a very stable interface between its relatively static kernel module and the userspace cache manager, so the main on-going engineering for the kernel module is tracking changes in the FreeBSD VFS rather than tracking Arla changes. The "let's just slurp everything into the main distribution so we don't have to worry about stable interfaces" approach is really poor. It encourages bad engineering practice among people maintaining the main distribution, discourages innovation and extension by others, and generally doesn't scale. It's far better to either attempt to maintain stable external interfaces to the VFS and VM subsystems, or else admit that you don't have the resources to do so given the relatively small number of external users, in which case you almost certainly also don't have the resources to keep on top of updates to something like OpenAFS. Right now we maintain a relatively stable VM/VFS KPI withing a major release (i.e, FreeBSD 6.0 -> 6.1 -> 6.2 -> 6.3), but see fairly significant changes between major releases (5.x -> 6.x -> 7.x, etc). I expect to see further changes in VFS for 8.x (and some of the locking-related ones have already started going in). The historic problem for Arla has been that instead of tracking these VFS changes as they are made, they had to catch up every once in a while. Normally that "every once in a while" has been at the point where a FreeBSD branch is coming to the end of support rather than when it is new and shiny. The result has been that Arla is pretty hard to use with FreeBSD as you either have to run a relatively old version of FreeBSD, or update the Arla kernel parts yourself (neither exciting prospects). In particular, if you are a FreeBSD kernel developer, you will never be running Arla as you are almost certainly running something on the development HEAD and not an aging branch. This leads to a bit of a chicken-and-egg problem, in which FreeBSD developers never use AFS, and this almost certainly an obstacle to it getting much use in the wider FreeBSD community. If there's sufficient interest in the AFS community to create and maintain a port of OpenAFS to FreeBSD, I think that would be wonderful. However, in light of the fact that it hasn't really happened to date, I've been trying to think of ways to help support that community a bit better. In the case of Arla, there's a quite logical path: if we import the nnpfs kernel module (but not cache manager), then it will track FreeBSD development and almost certainly work with little or no trouble on new major releases, as sweeps to various KPIs will happen "for free". If that doesn't work with OpenAFS due to structural differences from Arla, that's a shame (because it is easy in the case of Arla), but life. So let's turn the question around: to get the OpenAFS client up and running on FreeBSD, do you have any technical requirements not yet met by FreeBSD, or is it really about finding someone willing to spend some time doing the bulk of the technical work and track bugs for a while? Robert N M Watson Computer Laboratory University of Cambridge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pls help: regarding gdb internals
Thanks Aryeh & Chuck. Well, I am trying to solve issues related to GDB. Like, gdb prints wrong values of few parameteres eg "this" pointer, when we give "backtrace" or "x/10x $ebp" command in core of our company product. I think it reads wrong value from symbol table or stack frame. So i am trying to put a break point and see what exactly gdb reads for that perticuler frame when it shows a wrong data. But dont know where exactly it reads data from the symbol table or stack frame. If you have a specific idea regarding this pls give some more info. Regards. - Original Message From: Chuck Swiger <[EMAIL PROTECTED]> To: Arun Paneri <[EMAIL PROTECTED]> Cc: FreeBSD User <[EMAIL PROTECTED]>; freebsd-questions@freebsd.org Sent: Wednesday, January 16, 2008 2:56:36 PM Subject: Re: Pls help: regarding gdb internals On Jan 16, 2008, at 10:58 AM, Arun Paneri wrote: > Can anyone write few lines about how does gdb internally works. I > went to "Gdb internals guide" but couldn't find much information > specifically which i am looking for. I'm not familiar with the document you mentioned, but the canonical documentation for GDB is available via "info gdb". > I want information like when we give command "$gdb test.exe" then > how internaly it works. Does it start reading symbols and start > making symbol table with this command? Binary objects such as executable programs, shared libraries, etc contain symbol tables; GDB does a quick load of this symbol data to identify all of the sources of symbols for the program, and then will look up the details when needed. > Does it start creating stack frames as we give command "run" or > before even that? The program being debugged does not exist as a process until you run it, so there isn't an address space or stack until then. When the target program is run, it creates it's own stack frames according to the local architecture's machine calling conventions. > I am basically interested to know about creation of frames and how > does gdb read them back when we give "backtrace" command? Well, the calling conventions are different for every particular CPU architecture; but if you want to see the code that GDB uses, start with: /usr/src/contrib/gdb/gdb/frame-base.c /usr/src/contrib/gdb/gdb/frame-base.h /usr/src/contrib/gdb/gdb/frame-unwind.c /usr/src/contrib/gdb/gdb/frame-unwind.h /usr/src/contrib/gdb/gdb/frame.c /usr/src/contrib/gdb/gdb/frame.h ...but I suspect that something like these two articles are closer to what you are looking for: http://en.wikipedia.org/wiki/Calling_convention http://en.wikipedia.org/wiki/X86_calling_conventions -- -Chuck Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
how to be *nix programmer
Hello People, How's it going?I am interested in to developing drivers for FreeBSD. How do I go about start learning program for that? What books & resources I should look in to. I know C, and I am learning about processes, and system calls. Also where would I take my questions to if I don't get something and need help for something in system's programming... Please email me back.. thanks in advance, Good Day, Radheshyam [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OpenAFS-devel] Re: AFS ... or equivalent ...
--On Monday, January 14, 2008 02:23:47 PM + Robert Watson <[EMAIL PROTECTED]> wrote: I'd like very much to get at least the kernel parts of an AFS client into the base system. That may well be realistic for arla, though I believe there was a period for a while where the kernel/arlad interface was evolving to support features like chunking. I pay only superficial attention to arla-drinkers, so I don't know what the status of any of that is; for that, you'd have to ask someone who is actively involved in arla development (I believe there are some such people on this list). It is unlikely ever to happen for OpenAFS, in which virtually all of the cache manager code is in-kernel and most of it is cross-platform. Trying to pull the OpenAFS cache manager into the FreeBSD kernel would be equivalent to forking OpenAFS; what you'd get would work and would keep up with FreeBSD, but it would be unlikely to keep up with OpenAFS. The "let's just slurp everything into the main distribution so we don't have to worry about stable interfaces" approach is really poor. It encourages bad engineering practice among people maintaining the main distribution, discourages innovation and extension by others, and generally doesn't scale. It's far better to either attempt to maintain stable external interfaces to the VFS and VM subsystems, or else admit that you don't have the resources to do so given the relatively small number of external users, in which case you almost certainly also don't have the resources to keep on top of updates to something like OpenAFS. In the long run, I'm guessing that the OpenAFS cache manager evolves more quickly than FreeBSD's VFS interface, which makes pulling the CM into the kernel tree a losing battle. If you disagree, by all means fork that part of AFS (or get someone else to do so) and see what happens (AFS's user/kernel and RPC interfaces are both fairly stable, so forking just the kernel parts should be mostly feasible). -- Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: some help please
Somewhere, the descriptions of what the different ISO images do should show up, mostlikely in the manual. Do you mean this? > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html#AEN3259 -- http://www.hartmut-obst.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: HOW-TO get Flash7 working!
On Sat, Jan 05, 2008 at 05:06:27PM -0500, Aryeh M. Friedman wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Rudy wrote: > > > > With all this talk about FLASH, I found something out by trial and > > error and want to post again to the list so that others searching > > can get the FLASH player working in their brower: > > > > THIS STEP IS NEEDED OR FLASH WILL NOT WORK: > > > > sysctl compat.linux.osrelease=2.6.20 > > I am using 8-current (amd64) and found all I needed to do was install > www/linux-flashplugin7 then do a nspluginwrapper -v -a -i and flash > works fine (as far I can tell)... Hot damn, that worked. I now have Flash in native Firefox. I never really paid much attention to the commands for nspluginwrapper or knew they were necessary. I have also never really gotten Flash to work but didn't try very hard at it, either. Thanks. - jt does this add any functionality I > am not aware of? (namely some sites seem to partially load like the > graphs at whos.among.us [the easiest way to test this is go to the > site in my signature then click on the 3rd icon at the bottom and then > click on graphs]) > > > > Better yet, add this to your /etc/sysctl.conf file and reboot: > > compat.linux.osrelease=2.6.20 > > > > NOTE: I just picked 2.6.20 kinda at random... seems like that is > > the linux kernel number (which I know nothing about) for the Fedora > > 7 release. Oh, and I installed Fedora 7 instead of the default > > Fedora Core 4 on my desktop. > > > > Why does the linux emulation pick 2.4.2 as the kernel version > > number to report (by default) and not 2.6.11 (their kernel version > > shipped with Fedora 4)? Seems like the ports should and linux > > module should be updated... > > > > Rudy ___ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pls help: regarding gdb internals
Thanks a ton. I got some idea to start with. Regards, - Original Message From: Chuck Swiger <[EMAIL PROTECTED]> To: Arun Paneri <[EMAIL PROTECTED]> Cc: FreeBSD User <[EMAIL PROTECTED]>; freebsd-questions@freebsd.org Sent: Wednesday, January 16, 2008 2:56:36 PM Subject: Re: Pls help: regarding gdb internals On Jan 16, 2008, at 10:58 AM, Arun Paneri wrote: > Can anyone write few lines about how does gdb internally works. I > went to "Gdb internals guide" but couldn't find much information > specifically which i am looking for. I'm not familiar with the document you mentioned, but the canonical documentation for GDB is available via "info gdb". > I want information like when we give command "$gdb test.exe" then > how internaly it works. Does it start reading symbols and start > making symbol table with this command? Binary objects such as executable programs, shared libraries, etc contain symbol tables; GDB does a quick load of this symbol data to identify all of the sources of symbols for the program, and then will look up the details when needed. > Does it start creating stack frames as we give command "run" or > before even that? The program being debugged does not exist as a process until you run it, so there isn't an address space or stack until then. When the target program is run, it creates it's own stack frames according to the local architecture's machine calling conventions. > I am basically interested to know about creation of frames and how > does gdb read them back when we give "backtrace" command? Well, the calling conventions are different for every particular CPU architecture; but if you want to see the code that GDB uses, start with: /usr/src/contrib/gdb/gdb/frame-base.c /usr/src/contrib/gdb/gdb/frame-base.h /usr/src/contrib/gdb/gdb/frame-unwind.c /usr/src/contrib/gdb/gdb/frame-unwind.h /usr/src/contrib/gdb/gdb/frame.c /usr/src/contrib/gdb/gdb/frame.h ...but I suspect that something like these two articles are closer to what you are looking for: http://en.wikipedia.org/wiki/Calling_convention http://en.wikipedia.org/wiki/X86_calling_conventions -- -Chuck Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: some help please
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Norman Maurer wrote: > Hi, > > please reread the handbook I think all you need is explained there > in detail > > bye > Norman > > Am Mittwoch, den 16.01.2008, 09:46 +0200 schrieb Moazzar Battah: >> Dear Sir, >> >> I need some help , I am a new user for Linux and freebsd so I need your help >> I need to know how to install the freebsd in the best way and how I can >> install the ports like gnome and openmail interface ? also I will be >> thankful if you send me the commands and what every command mean and how I >> can use it ? >> >> I already get in the directory /usr/ports/gnome2 & /usr/ports/www and make >> install and its start downloading but nothing happened after that >> installation done ??? >> >> I also need to now how to configure the hostname and ip addresses like local >> ip and fixed ip to trait the local lan and I real lan in the same way.. >> >> Thank u very much Actually, I don't think that the names (or even a template that the names couold be derived from) of the actual cd images that you should use to install freebsd from. I know that there is more than a single choice. I know that I personally, just downloaded the biggest one, as a guess, and that worked, but I don't know what the smaller ones would have done, if they might have been better to install from (I have networking sufficent to install from the net alone, which is what I did). Somewhere, the descriptions of what the different ISO images do should show up, mostlikely in the manual. Am I wrong? Give a pointer, if you think I'm wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHjmGFz62J6PPcoOkRAtlpAJ0fA65R/TiUgLX1iml3I4fal2KI5gCePk/z SYowLgDoezj0Zelm/wbQRDE= =4+BH -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pls help: regarding gdb internals
On Jan 16, 2008, at 10:58 AM, Arun Paneri wrote: Can anyone write few lines about how does gdb internally works. I went to "Gdb internals guide" but couldn't find much information specifically which i am looking for. I'm not familiar with the document you mentioned, but the canonical documentation for GDB is available via "info gdb". I want information like when we give command "$gdb test.exe" then how internaly it works. Does it start reading symbols and start making symbol table with this command? Binary objects such as executable programs, shared libraries, etc contain symbol tables; GDB does a quick load of this symbol data to identify all of the sources of symbols for the program, and then will look up the details when needed. Does it start creating stack frames as we give command "run" or before even that? The program being debugged does not exist as a process until you run it, so there isn't an address space or stack until then. When the target program is run, it creates it's own stack frames according to the local architecture's machine calling conventions. I am basically interested to know about creation of frames and how does gdb read them back when we give "backtrace" command? Well, the calling conventions are different for every particular CPU architecture; but if you want to see the code that GDB uses, start with: /usr/src/contrib/gdb/gdb/frame-base.c /usr/src/contrib/gdb/gdb/frame-base.h /usr/src/contrib/gdb/gdb/frame-unwind.c /usr/src/contrib/gdb/gdb/frame-unwind.h /usr/src/contrib/gdb/gdb/frame.c /usr/src/contrib/gdb/gdb/frame.h ...but I suspect that something like these two articles are closer to what you are looking for: http://en.wikipedia.org/wiki/Calling_convention http://en.wikipedia.org/wiki/X86_calling_conventions -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add: remote install (-r) broken
Colin Brace wrote: Hi all, At some point after my original installation of v.7-BETA3 in late November and a subsquent upgrade to BETA4 with Colin Percival's freebsd-update, installing packages remotely with pkg_add on my system broke. For example: <<< 550 Cannot connect to 78.27.2.208:53572 - Unknown error: 0. I guess that is your IP. You have a firewall and are not using passive mode FTP? It should be the default unless you edited your login.conf. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pkg_add: remote install (-r) broken
Hi all, At some point after my original installation of v.7-BETA3 in late November and a subsquent upgrade to BETA4 with Colin Percival's freebsd-update, installing packages remotely with pkg_add on my system broke. For example: $ sudo pkg_add -vr rtorrent scheme: [ftp] user: [] password: [] host: [ftp.freebsd.org] port: [0] document: [/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz] ---> ftp.freebsd.org:21 looking up ftp.freebsd.org connecting to ftp.freebsd.org:21 <<< 220 ftp.FreeBSD.org NcFTPd Server (licensed copy) ready. >>> USER anonymous <<< 331 Guest login ok, send your complete e-mail address as password. >>> PASS [EMAIL PROTECTED] <<< 230-You are user #181 of 1000 simultaneous users allowed. <<< 230- <<< 230 Logged in anonymously. >>> PWD <<< 257 "/" is cwd. >>> CWD pub/FreeBSD/ports/i386/packages-7-current/Latest <<< 250 "/pub/FreeBSD/ports/i386/packages-7-current/Latest" is new cwd. >>> MODE S <<< 200 Mode okay. >>> TYPE I <<< 200 Type okay. binding data socket >>> PORT 172,19,3,3,209,68 <<< 200 PORT command successful. initiating transfer >>> RETR rtorrent.tbz <<< 550 Cannot connect to 78.27.2.208:53572 - Unknown error: 0. Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz' by URL pkg_add: 1 package addition(s) failed Now, I *know* the package and host are online; I can copy and paste the URL from the screen to grab it with wget: wget ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz This works. What could be going wrong with add_pkg here? As I indicate above, I am currently at 7.0-BETA4 Thanks. -- Colin Brace Amsterdam http://lim.nl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: When is 7.0 being released?
On Jan 16, 2008 2:13 PM, Wojciech Puchar <[EMAIL PROTECTED]> wrote: > > Hello, > > > > Does anybody have an idea when 7.0 will be released? It looks like the > > schedule hasn't been updated, and it was scheduled for January 14th. > > > > Where can I find additional information? > > when it will be ready, stable and tested. > > if you need to have "the latest" NOW, consider installing -current. > you will help developers then, reporting any bugs that may happen > > ___ Or you could install -stable. You don't have to use the releases. Stable is...pretty stable. I just recently upgraded to RELENG_7 from the RELENG_6 branch. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.2 Frequent Lockups
Joseph Yeager wrote: Hello, I'm experiencing daily lockups on a FreeBSD 6.2 machine thats currently being used as a gateway for a local church school. I have installed and/or configured the following services which are running on it right now: Quagga (only using the Zebra daemon), DHCP (via the isc-dhcp3-server port), BIND, and PF. Everything runs as expected except for the fact that the machine will completely freeze (console included) quite often. Its recently gotten as bad as freezing every 3-5 hours. I don't have any custom cron jobs running and the only job I see that operates at that frequency is daily maintenance. Thinking it could be a heat problem originating from sitting on top of a switch, I put a few blocks under and now it runs a good bit cooler. Last night, I had the windows open and it never got hotter then luke warm and I witnessed, first hand, it completely freeze for no apparent reason. Despite that seemingly pointing to it NOT being a heat problem, I'll be moving it to a shelf by itself. I will also be swapping out the RAM in a few hours when I get up there to see if that is the problem, but I still have a feeling (after reading other similar problems like this) that that may not be the answer. I have a similar setup running at my home which uses the exact same motherboard but different RAM and HD. The only difference on my home router is that I have split horizon DNS setup for my domain and am using IPFW as opposed to PF. My home router has been rock solid every since I got it (several months ago) and my email and webserver, which both run FreeBSD 6.2, have never been down except for extended power outages. I will update you on how the RAM swap goes, but if there are any other suggestions you have I would greatly appreciate it. http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: When is 7.0 being released?
Hello, Does anybody have an idea when 7.0 will be released? It looks like the schedule hasn't been updated, and it was scheduled for January 14th. Where can I find additional information? when it will be ready, stable and tested. if you need to have "the latest" NOW, consider installing -current. you will help developers then, reporting any bugs that may happen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: growfs and soft updates
problem then+i've got zero sized file in lost+found that i was unable to delete until i took off all strange flash with chflags. but i did it ONLY because i had no way to back it up. Personally I don't think it's worth the risk, unless the data is disposable like a squid cache. What I normally do is create a new partition and symlink things into it. it was network users shared directory for movies music etc. i already told them that i will probably remove it unless they will back it up. so i don't have to worry in case growfs would screw it up completely. anyway where to send patches? i patched it to support sector size >512 bytes (i have geli with 4k sectors). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How manu swap ?
* Disk space is cheap. 16G of swap costs what? 15G of 15,000 RPM SCSI not mentioning IDE disks, on 4GB RAM+6 SATA disk system i allocated 2GB swap on each disk. most of the time little is used, but when it will be needed - it is ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Pls help: regarding gdb internals
Hi All, I am new to gdb code and trying to learn more. i need help regarding gdb internals. Can anyone write few lines about how does gdb internally works. I went to "Gdb internals guide" but couldn't find much information specifically which i am looking for. I want information like when we give command "$gdb test.exe" then how internaly it works. Does it start reading symbols and start making symbol table with this command? Does it start creating stack frames as we give command "run" or before even that? I am basically interested to know about creation of frames and how does gdb read them back when we give "backtrace" command? Thanks in advance. Regards, Arun - Original Message From: FreeBSD User <[EMAIL PROTECTED]> To: freebsd-questions@freebsd.org Sent: Wednesday, January 16, 2008 12:50:19 PM Subject: When is 7.0 being released? Hello, Does anybody have an idea when 7.0 will be released? It looks like the schedule hasn't been updated, and it was scheduled for January 14th. Where can I find additional information? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssmtp configuration for server authorization
--On Wednesday, January 16, 2008 00:39:00 -0700 [EMAIL PROTECTED] wrote: This is my ssmtp.conf: (yadda yadda) I probably should have included a tail of my /var/log/maillog file: Jan 16 00:08:00 laptop sSMTP[6976]: Unable to connect to \ "mail.domain.org" port 25. Jan 16 00:08:00 laptop sSMTP[6976]: Cannot open mail.domain.org:25 As with the previous message, the server name and local hostname have been sanitized thus: "laptop" is the local machine using ssmtp "domain" is the domain of the email address and SMTP server This might give you a clue: smtp 25/tcpmail #Simple Mail Transfer smtp 25/udpmail #Simple Mail Transfer smtps 465/tcp#smtp protocol over TLS/SSL (was ssmtp) smtps 465/udp#smtp protocol over TLS/SSL (was ssmtp) Unless you've configured your MTA in a non-standard way, smtps is on port 465 not 25. -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: growfs and soft updates
On Wed, 16 Jan 2008 17:48:44 +0100 (CET) Wojciech Puchar <[EMAIL PROTECTED]> wrote: > growfs is for people that like challenges ;) > > i have to use it growing 800GB filesystem to 1400GB, finally (after > patching it a bit) i did it, but root directory was destroyed (no > idea why). all subdirs appeared in lost+found so it wasn't a big > problem then+i've got zero sized file in lost+found that i was unable > to delete until i took off all strange flash with chflags. > > but i did it ONLY because i had no way to back it up. Personally I don't think it's worth the risk, unless the data is disposable like a squid cache. What I normally do is create a new partition and symlink things into it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
When is 7.0 being released?
Hello, Does anybody have an idea when 7.0 will be released? It looks like the schedule hasn't been updated, and it was scheduled for January 14th. Where can I find additional information? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OT: Greylisting and Yahoo Mailinglists
On Jan 15, 2008, at 11:23 PM, Heiko Wundram (Beenic) wrote: Am Dienstag, 15. Januar 2008 19:08:39 schrieb Chuck Swiger: You didn't mention which mailserver or greylist software you are using, but the postgrey implementation (for use with Postfix) has this in postgrey_whitelist_clients: # greylisting.org: Yahoo Groups servers (no retry) scd.yahoo.com ...and you could choose to whitelist all of yahoo.com just as easily. I am using Postfix, but not postgrey, rather postfix-policyd, which does whitelisting of hosts based on IPs of the connecter. postfix-policyd comes with three blocks of IPs for the Yahoo Groups mailservers in the default whitelist, but none of the IPs I mentioned in my original mail falls into those groups. OK. I use policy-weightd also; it doesn't greylist entries precisely, but instead does RBL lookups and some checking of forward and reverse DNS lookups, and then caches those results for a while. It will do a good job of rejecting people claiming to send mail from a Yahoo account if they do not use a mailserver in the yahoo.com domain: Jan 16 03:21:52 pi postfix/smtpd[47289]: connect from unknown[201.210.144.157] Jan 16 03:21:54 pi postfix/policyd-weight[4912]: decided action=450 temporarily blocked because of previous errors - retrying too fast. penalty: 30 seconds x 0 retries.; delay: 0s Jan 16 03:21:54 pi postfix/smtpd[47289]: NOQUEUE: reject: RCPT from unknown[201.210.144.157]: 450 <[EMAIL PROTECTED]>: Recipient address rejected: temporarily blocked because of previous errors - retrying too fast. penalty: 30 seconds x 0 retries.; from=< [EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP helo= Jan 16 03:21:55 pi postfix/smtpd[47289]: lost connection after DATA from unknown[201.210.144.157] ...but almost always, this is forged email being sent as spam to accounts which don't exist in my local domain, so it seems to be doing the right thing here. Sorry for underspecifying my requirements, but that's the reason I was asking specifically. I knew about the postgrey whitelist entry you mentioned. Right. Well, if you have some sample log lines from a known legit sender which were being blocked, that would be helpful... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: syslogd not reading messages from a remote machine
[snip] > To disable that behavior, just put -a 10.10.10.1/32:* in your syslogd_flags > and you should be good to go (if your problem was the same as mine :) > Thanks, that helped a lot. for the record, I had to set the syslogd_flags as Jon described, as well as adding "+@" and "+fortigate" lines to syslog.conf above the local and remote sections respectively. Leaving those lines out resulted in the logs getting appended to /var/log/messages in addition to the logfile I wanted them to go to. Thanks again everyone! -- -- I'm nerdy in the extreme and whiter than sour cream ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How manu swap ?
Dan Nelson wrote: In the last episode (Jan 16), Albert Shih said: Hi all I known it's classic question. Long time ago when I install a FreeBSD x86 32 bits when I have N Go of Ram the installer take 2xN Go for the swap partition. Now I just install two machine with FreeBSD amd64 version with 8Go of Ram and FreeBSD installer take 4 Go of swap. Is a bug in the installer or now FreeBSD don't need 2xRam of swap ? When was the last time you saw your swap partition with more than 2GB in use? On an 8GB system, you probably will either never have enough processes to require swapping at all, or you will have one or two processes so big that if they ever swap, it's a sign you need more RAM, not more swap :) In systems with that much RAM, swap is pretty much only used for crashdumps, and with minidumps enabled by default, you don't need much. On small systems, the 2x-swap rule was because once you allocated enough processes to require that much swap, you were pretty much thrashing your system anyway I've read that the VM system in FreeBSD is optimized such that if you do start swapping it'll work best if your swap space is at least 2x RAM. Is that still valid on recent releases of FreeBSD? -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Limit on number of groups a user can join
Even though on Wed, Jan 16, 2008 at 12:00 [EMAIL PROTECTED] realized that everything he says should be taken 'cum grano salis', he unhesitatingly continued with this missive: > Message: 4 > Date: Tue, 15 Jan 2008 15:13:04 -0800 > From: Chuck Swiger <[EMAIL PROTECTED]> > Subject: Re: Limit on number of groups a user can join > On Jan 15, 2008, at 3:01 PM, Andrea Venturoli wrote: > > I made some tries removing him from other groups and I got to > > the conclusion that it works as long as he is in no more than > > 15 groups, but breaks when he join the 16th. Is this an hard > > limit? Can it be extended? Why this? > This limit is somewhat historical but cannot easily be changed > because this max # is hard-coded into the NFS protocol, which > needs to describe which groups a user belongs to. If you're not > using NFS, you might try changing the declaration of KI_NGROUPS > in /usr/src/sys/ user.h and build a new kernel, I believe > -Chuck I don't know if this will work in FreeBSD as I don't have anyone in that many gruops. I did run across this limit in a commercail System V a few years back.. As I recall I added another line to the group file using the same group number and that fixed that problem. It may be worth a try. Bill -- Bill Vermillion - bv @ wjv . com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: growfs and soft updates
(ffs_valloc: dup alloc). After plenty of 'fcsk -y' I got it fixed while losing few random files. :( The errors were mostly related to soft updates. Should soft updates be disabled before using growfs? False alarm. It's all the same with soft updates disabled.. I guess growfs needs some work. ALWAYS fsck after growfs. growfs is crappy at least, zero out the new space before growfs, but just if you can - simply backup data somewhere and use newfs. growfs is for people that like challenges ;) i have to use it growing 800GB filesystem to 1400GB, finally (after patching it a bit) i did it, but root directory was destroyed (no idea why). all subdirs appeared in lost+found so it wasn't a big problem then+i've got zero sized file in lost+found that i was unable to delete until i took off all strange flash with chflags. but i did it ONLY because i had no way to back it up. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 6.2 Frequent Lockups
Hello, I'm experiencing daily lockups on a FreeBSD 6.2 machine thats currently being used as a gateway for a local church school. I have installed and/or configured the following services which are running on it right now: Quagga (only using the Zebra daemon), DHCP (via the isc-dhcp3-server port), BIND, and PF. Everything runs as expected except for the fact that the machine will completely freeze (console included) quite often. Its recently gotten as bad as freezing every 3-5 hours. I don't have any custom cron jobs running and the only job I see that operates at that frequency is daily maintenance. Thinking it could be a heat problem originating from sitting on top of a switch, I put a few blocks under and now it runs a good bit cooler. Last night, I had the windows open and it never got hotter then luke warm and I witnessed, first hand, it completely freeze for no apparent reason. Despite that seemingly pointing to it NOT being a heat problem, I'll be moving it to a shelf by itself. I will also be swapping out the RAM in a few hours when I get up there to see if that is the problem, but I still have a feeling (after reading other similar problems like this) that that may not be the answer. I have a similar setup running at my home which uses the exact same motherboard but different RAM and HD. The only difference on my home router is that I have split horizon DNS setup for my domain and am using IPFW as opposed to PF. My home router has been rock solid every since I got it (several months ago) and my email and webserver, which both run FreeBSD 6.2, have never been down except for extended power outages. I will update you on how the RAM swap goes, but if there are any other suggestions you have I would greatly appreciate it. Thanks, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How manu swap ?
On Wed, Jan 16, 2008 at 10:28:06AM -0600, Dan Nelson wrote: > In the last episode (Jan 16), Albert Shih said: > > Hi all > > > > I known it's classic question. > > > > Long time ago when I install a FreeBSD x86 32 bits when I have N Go > > of Ram the installer take 2xN Go for the swap partition. > > > > Now I just install two machine with FreeBSD amd64 version with 8Go of > > Ram and FreeBSD installer take 4 Go of swap. > > > > Is a bug in the installer or now FreeBSD don't need 2xRam of swap ? > > When was the last time you saw your swap partition with more than 2GB > in use? On an 8GB system, you probably will either never have enough > processes to require swapping at all, or you will have one or two > processes so big that if they ever swap, it's a sign you need more RAM, > not more swap :) In systems with that much RAM, swap is pretty much > only used for crashdumps, and with minidumps enabled by default, you > don't need much. On small systems, the 2x-swap rule was because once > you allocated enough processes to require that much swap, you were > pretty much thrashing your system anyway. Don't forget that the system uses swap space to do paging too and that frequently used processes can end up in swap and be run from there faster than from regular disk. But, yes, the 2X rule was generally a combination of space for crash-dump plus room to run more than memory can hold. jerry > > -- > Dan Nelson > [EMAIL PROTECTED] > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How manu swap ?
In response to Albert Shih <[EMAIL PROTECTED]>: > Le 16/01/2008 à 10:28:06-0600, Dan Nelson a écrit > > In the last episode (Jan 16), Albert Shih said: > > > Hi all > > > > > > I known it's classic question. > > > > > > Long time ago when I install a FreeBSD x86 32 bits when I have N Go > > > of Ram the installer take 2xN Go for the swap partition. > > > > > > Now I just install two machine with FreeBSD amd64 version with 8Go of > > > Ram and FreeBSD installer take 4 Go of swap. > > > > > > Is a bug in the installer or now FreeBSD don't need 2xRam of swap ? > > > > When was the last time you saw your swap partition with more than 2GB > > in use? On an 8GB system, you probably will either never have enough > > processes to require swapping at all, or you will have one or two > > processes so big that if they ever swap, it's a sign you need more RAM, > > not more swap :) In systems with that much RAM, swap is pretty much > > only used for crashdumps, and with minidumps enabled by default, you This is really a pretty narrow view of things. * Swap _can_ be used to extend a systems usability beyond what it was originally designed for. If you don't exceed the physical RAM by too great a margin, allowing a few little-used processes to page out while heavy use processes use all available memory is not a big performance hit. * The idea that an 8G system will never use all that RAM is laughable to me. I can easily create applications that eat up 8G of RAM, legitimately. * In the event that something unexpected happens, having a lot of swap can save your ass by causing the system to slow down instead of kill processes. * Disk space is cheap. 16G of swap costs what? 15G of 15,000 RPM SCSI hard drive space costs $40 -- not much for piece of mind. * Of course, the crash dumps that are mentioned. I agree, though, that swap isn't what it used to be. Nobody uses it as supplemental RAM any more as far as I can tell. It's pretty much just a safety net nowadays. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How manu swap ?
none if your ram will always fit all apps (with 8GB is more than likely), or at least size of your memory, more if needed. but you can't give too much swap! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Need help with backup shell script
Andreas Widerøe Andersen wrote: #!/bin/sh MOUNT=/external DATE=`date +%Y%m%d%H%M` mount /dev/da0 $MOUNT #Change device name find $MOUNT -mtime +30 -delete mkdir $MOUNT/$DATE rsync -rlpgoD /backup/ $MOUNT/$DATE umount /external When I try to run my script I get this prompt back: mount: /dev/da0 on /external: incorrect super block This fails because you are trying to mount the raw(?) drive and mount is unable to detect what file system it is (by looking at the partition's super block). Am I doing something wrong here or do I need to I need to use one of the other from /dev: You want to use /dev/da0s1d - the main partition on slice 1 on the drive. Sorry, I dont remember the explanation as to why you must use da0s1d instead of da0s1c, but it goes something along the lines of c partition being a shorthand notation for the entire slice, whereas letter d marks the first partition on the slice. Maybe someone here can clarify this? Hope this helps. Jim Bow ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How manu swap ?
Le 16/01/2008 à 10:28:06-0600, Dan Nelson a écrit > In the last episode (Jan 16), Albert Shih said: > > Hi all > > > > I known it's classic question. > > > > Long time ago when I install a FreeBSD x86 32 bits when I have N Go > > of Ram the installer take 2xN Go for the swap partition. > > > > Now I just install two machine with FreeBSD amd64 version with 8Go of > > Ram and FreeBSD installer take 4 Go of swap. > > > > Is a bug in the installer or now FreeBSD don't need 2xRam of swap ? > > When was the last time you saw your swap partition with more than 2GB > in use? On an 8GB system, you probably will either never have enough > processes to require swapping at all, or you will have one or two > processes so big that if they ever swap, it's a sign you need more RAM, > not more swap :) In systems with that much RAM, swap is pretty much > only used for crashdumps, and with minidumps enabled by default, you OK. I never need this because FreeBSD never crashwell more specific : I never see FreeBSD crash and event it's crash I not qualify to use crashdumps ;-) > don't need much. On small systems, the 2x-swap rule was because once > you allocated enough processes to require that much swap, you were > pretty much thrashing your system anyway. OK. Thanks for your answer. Regards. -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Heure local/Local time: Mer 16 jan 2008 17:35:44 CET ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How manu swap ?
Le 16/01/2008 à 11:18:57-0500, Jerry McAllister a écrit > On Wed, Jan 16, 2008 at 04:04:54PM +0100, Albert Shih wrote: > > > Hi all > > > > I known it's classic question. > > > > Long time ago when I install a FreeBSD x86 32 bits when I have N Go of Ram > > the installer take 2xN Go for the swap partition. > > > > Now I just install two machine with FreeBSD amd64 version with 8Go of Ram > > and FreeBSD installer take 4 Go of swap. > > > > Is a bug in the installer or now FreeBSD don't need 2xRam of swap ? > > H. I doubt that it is a "bug" per se. I wonder if there is > a maximum size for swap compiled in somewhere. Is your system set > up correctly to actually access all 8GB of ram? Yes... Mem: 8064K Active, 6076K Inact, 68M Wired, 8896K Buf, 7829M Free Swap: 4096M Total, 4096M Free and the second machine Mem: 12M Active, 561M Inact, 322M Wired, 12K Cache, 214M Buf, 15G Free Swap: 4096M Total, 4096M Free Regards. JAS -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Heure local/Local time: Mer 16 jan 2008 17:34:40 CET ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How manu swap ?
In the last episode (Jan 16), Albert Shih said: > Hi all > > I known it's classic question. > > Long time ago when I install a FreeBSD x86 32 bits when I have N Go > of Ram the installer take 2xN Go for the swap partition. > > Now I just install two machine with FreeBSD amd64 version with 8Go of > Ram and FreeBSD installer take 4 Go of swap. > > Is a bug in the installer or now FreeBSD don't need 2xRam of swap ? When was the last time you saw your swap partition with more than 2GB in use? On an 8GB system, you probably will either never have enough processes to require swapping at all, or you will have one or two processes so big that if they ever swap, it's a sign you need more RAM, not more swap :) In systems with that much RAM, swap is pretty much only used for crashdumps, and with minidumps enabled by default, you don't need much. On small systems, the 2x-swap rule was because once you allocated enough processes to require that much swap, you were pretty much thrashing your system anyway. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How manu swap ?
On Wed, Jan 16, 2008 at 04:04:54PM +0100, Albert Shih wrote: > Hi all > > I known it's classic question. > > Long time ago when I install a FreeBSD x86 32 bits when I have N Go of Ram > the installer take 2xN Go for the swap partition. > > Now I just install two machine with FreeBSD amd64 version with 8Go of Ram > and FreeBSD installer take 4 Go of swap. > > Is a bug in the installer or now FreeBSD don't need 2xRam of swap ? H. I doubt that it is a "bug" per se. I wonder if there is a maximum size for swap compiled in somewhere. Is your system set up correctly to actually access all 8GB of ram? Anyway, you can get by with less than 2Xram. It depends a lot on what you are running and how many processes.I would like to have more than 1Xram though - at least 1.25xram. So with 8GB, I would want to have at least 10GB swap. Hopefully someone else will be able to answer with something more specific and helpful. jerry > > Regards. > > -- > Albert SHIH > Observatoire de Paris Meudon > SIO batiment 15 > Heure local/Local time: > Mer 16 jan 2008 16:03:16 CET > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: No spam???
2008-01-14 09:30:37.074087500 rblsmtpd: 123.20.89.67 pid 72121: 451 http://www.spamhaus.org/query/bl?ip=123.20.89.67 Just one comment, in my installation of SpamAssassin, it reports in syslog as spamd, not at rblsmtpd. This looks like logs from the rblsmtpd program that is not SpamAssasin. As some one mentionned, one way to prevent false positive and too agressive black lists is to use them through SpamAssassin only, where the black list score is only part of the spaminess. The draw back is that it puts more load the server and SpamAssassin that has to scrutinize every email, while dropping at the SMTP level is fast and uses very low resources. Ah... I see. Yes, you are correct. It is rblsmtpd that is doing the filtering. One of my goals with this mail server set up (primarily pf, qmail, spamassassin, maildrop, courier) was to minimize processing, since my last set up got totally bogged down handling my, and my client's email, frequently running with a load of 8 or more with several spam per second. A real drag. This set up runs at a much lower load, and seems to do a better job filtering spam. -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Need help with backup shell script
On Nov 21, 2007 2:55 PM, Valerio Daelli <[EMAIL PROTECTED]> wrote: > On Nov 21, 2007 2:39 PM, Andreas Widerøe Andersen <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > I'm working on a shell script that will let me attach (mount) an > > external USB 2.0 harddrive and to my FreeBSD 6.2 server and perform a > > full backup of /backup on my server (all files and subfolders) once or > > twice a week (whenever I run the cronjob). The script must be able to > > run through a cronjob and the drive must be mounted and unmounted > > after each job (I will swap between two drives of the same type and > > size). The script must also remove folders/files older than 30 days. > > > > Does anyone use a script like this today that they can share? I'm not > > a shell scripter myself so any help is highly appreciated. > > > > Here's my rough idea/sketch: > > > > #! /bin/sh > > > > $MOUNT = /external > > $DATE= date_today > > > > mount usb_drive $MOUNT > > cd /$MOUNT > > rm all files forlders older than 30 days > > mkdir /$DATE > > cp -fr /backup to /$MOUNT/$DATE > > cd > > unmount > > > > > --- > #!/bin/sh > > MOUNT=/external > DATE=`date +%Y%m%d%H%M` > > mount /dev/da2 $MOUNT #Change device name > find $MOUNT -mtime +30 -delete > mkdir $MOUNT/$DATE > cp -rp /backup/* $MOUNT/$DATE > umount /external > --- > > Bye > > Valerio Daelli > Hi again and thanks for the replies to my question. I have finally rebuilt world and compiled a new kernel since I didn't have USB support and SCSI/da support in my previous kernel. I have also used your suggestion and created this script that I can run from command line or as a cronjob: #!/bin/sh MOUNT=/external DATE=`date +%Y%m%d%H%M` mount /dev/da0 $MOUNT #Change device name find $MOUNT -mtime +30 -delete mkdir $MOUNT/$DATE rsync -rlpgoD /backup/ $MOUNT/$DATE umount /external dmesg shows: umass0: Generic USB Storage Device, rev 2.00/0.00, addr 2 umass0: Get Max Lun not supported (TIMEOUT) da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C) When I try to run my script I get this prompt back: mount: /dev/da0 on /external: incorrect super block (allthough the script seems to continue to run). Am I doing something wrong here or do I need to I need to use one of the other from /dev: ls -la /dev [snip] crw-r- 1 root operator0, 92 Jan 12 03:42 da0 crw-r- 1 root operator0, 93 Jan 12 03:28 da0s1 crw-r- 1 root operator0, 98 Jan 12 03:28 da0s1c crw-r- 1 root operator0, 99 Jan 12 03:28 da0s1d Thanks for any help here! Best regards, Andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: growfs and soft updates
Teemu Korhonen wrote: I'm merging my ext2-partition with my /usr by shrinking ext2 and doing growfs on the free space. I did it with soft updates enabled and it seemed to work until I tried to use /usr which resulted in kernel panic (ffs_valloc: dup alloc). After plenty of 'fcsk -y' I got it fixed while losing few random files. :( The errors were mostly related to soft updates. Should soft updates be disabled before using growfs? False alarm. It's all the same with soft updates disabled.. I guess growfs needs some work. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How manu swap ?
Hi all I known it's classic question. Long time ago when I install a FreeBSD x86 32 bits when I have N Go of Ram the installer take 2xN Go for the swap partition. Now I just install two machine with FreeBSD amd64 version with 8Go of Ram and FreeBSD installer take 4 Go of swap. Is a bug in the installer or now FreeBSD don't need 2xRam of swap ? Regards. -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Heure local/Local time: Mer 16 jan 2008 16:03:16 CET ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: some help please
Everyone on this list is asking for help. If you use a more descriptive subject for your email, you'll get better answers. See: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/article.html In response to "Moazzar Battah" <[EMAIL PROTECTED]>: > > I need some help , I am a new user for Linux and freebsd so I need your help > I need to know how to install the freebsd in the best way and how I can > install the ports like gnome and openmail interface ? also I will be > thankful if you send me the commands and what every command mean and how I > can use it ? The handbook has everything you need. If you get hung up on a specific step, please feel free to ask on this list. Unfortunately, it's impractical to present an entire walkthrough on the mailing list. Note that the FreeBSD handbook has many translations. Check to see if there is one in your native language: http://www.freebsd.org/docproj/translations.html There are also non-english mailing lists. One in your native language may make things easier for you, if it exists: http://www.freebsd.org/community/mailinglists.html > I already get in the directory /usr/ports/gnome2 & /usr/ports/www and make > install and its start downloading but nothing happened after that > installation done ??? You've got it installed, so that step is complete. Now you need to configure it. This section of the handbook should be helpful: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html > I also need to now how to configure the hostname and ip addresses like local > ip and fixed ip to trait the local lan and I real lan in the same way.. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: some help please
Hi, please reread the handbook I think all you need is explained there in detail bye Norman Am Mittwoch, den 16.01.2008, 09:46 +0200 schrieb Moazzar Battah: > Dear Sir, > > I need some help , I am a new user for Linux and freebsd so I need your help > I need to know how to install the freebsd in the best way and how I can > install the ports like gnome and openmail interface ? also I will be > thankful if you send me the commands and what every command mean and how I > can use it ? > > I already get in the directory /usr/ports/gnome2 & /usr/ports/www and make > install and its start downloading but nothing happened after that > installation done ??? > > I also need to now how to configure the hostname and ip addresses like local > ip and fixed ip to trait the local lan and I real lan in the same way.. > > Thank u very much > > > > - > > Regards, > > Moazzer Battah > > IT Support > > Medical Supply & Services. > > Fax: 02-2959375 > > Tel : 02-2959372/1 > > Jawwal : 0598-919658 > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
some help please
Dear Sir, I need some help , I am a new user for Linux and freebsd so I need your help I need to know how to install the freebsd in the best way and how I can install the ports like gnome and openmail interface ? also I will be thankful if you send me the commands and what every command mean and how I can use it ? I already get in the directory /usr/ports/gnome2 & /usr/ports/www and make install and its start downloading but nothing happened after that installation done ??? I also need to now how to configure the hostname and ip addresses like local ip and fixed ip to trait the local lan and I real lan in the same way.. Thank u very much - Regards, Moazzer Battah IT Support Medical Supply & Services. Fax: 02-2959375 Tel : 02-2959372/1 Jawwal : 0598-919658 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
growfs and soft updates
I'm merging my ext2-partition with my /usr by shrinking ext2 and doing growfs on the free space. I did it with soft updates enabled and it seemed to work until I tried to use /usr which resulted in kernel panic (ffs_valloc: dup alloc). After plenty of 'fcsk -y' I got it fixed while losing few random files. :( The errors were mostly related to soft updates. Should soft updates be disabled before using growfs? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Reinterpret gamepad input as keyboeard input
On Tue, Jan 15, 2008 at 10:48:09PM +1100, Timothy Bourke wrote: > On Jan 15 at 11:58 +0100, Christopher Illies wrote: > > On Mon, Jan 14, 2008 at 10:09:30PM +1100, Timothy Bourke wrote: > > > On Jan 14 at 08:12 +0100, Christopher Illies wrote: > > > > I have a gamepad and would like to make certain gamepad actions to be > > > > seen as regular keyboard input. Is this possible? > > > > > > > > I tried out usbhidaction with something like: > > > > Generic_Desktop:Game_Pad.Button:Button_1 1 1 /bin/echo -n ls > > > > > > > > Obviously, this approach does not work as I hoped. "ls" is echoed in a > > > > shell window, but it is not interpreted as input. > > > > > > Would vkbd(4) do the trick? > > > > Thank you, vkbd sounds interesting. It looks like that there are no > > shell commands to create input to a virtual keyboard, so I will have > > to write my own. > > I don't know about that part of it. I looked at vkbd a long time ago > when trying to make a Super Nintendo controller driver work as a > keyboard. Vkbd almost did the trick, but it's intended to work from > user mode. > > It occurred to me, after my post, that if your script need only work > under X-windows, there are probably have more options for generating > keyboard events. You could, for example, look at x11/padkey, > particularly the doXKey() call. > > Best regards, > > Tim. Thanks for thank hint. I looked a bit into vkbd now and I also came across your post from February 2007. I agree, the fact that /dev/vkbdctl does not appear by default is confusing. Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Installation freezes
I am trying to install FreeBSD 6.2 on my system with the following configuration : Intel Core2Duo 2.00 GHz Intel 945 Mother Board 1GB DDR2 Ram (Transcend) 160 GB SATA Western Digital Hard Drive Sony DVD-RW (IDE) Realtek RTL 8168 10/100 On-Board Ethernet Controller Realtek High Definition Audio (On-Board) When I boot using the FreeBSD_Install disc (Disc-1) the system goes to Welcome to FreeBSD and if I let it take the default choice of 1 then it goes through the Device Probing and then freezes at the following line md0:Preloaded Image 4423680 bytes at a hex address. Nothing happens after this and the system comes to a stand still. I would be really greatful if you resolve my issue or give me any advise that would help me to get around this issue. Thanks & Regards, Nilesh Bedekar. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"