Re: What do I put in fstab to get my DVD/CDROM burner to work?
On Friday 16 November 2007 10:50:33 pm you wrote: > On Fri, Nov 16, 2007 at 10:24:30PM -0500, Chris Hill wrote: > > On Fri, 16 Nov 2007, David J Brooks wrote: > > >On Friday 16 November 2007 08:23:21 pm Gary Kline wrote: > > >> I've googled aroound, and can't be sure what to add in the > > >> FStype column to get my DCD/CDROM burners to work. Ubuntu > > >> installed ny 2005 burner automagically. Nothing like that for > > >> FreeBSD, so can anybody clue me in what I substitute for > > >> "udf" and "cd9660"? > > >> > > >> This is the old and current fstable: > > >> > > >> > > >># DVD drive (top) > > >>/dev/acd0 /media/cdroms/0 udf ro,noauto 0 > > >> 0 # CD-burner (bottom) > > >>/dev/acd1 /media/cdroms/1 cd9660 ro,noauto 0 > > >> 0 > > > > > >cd9660 is what you need. for the burner at least though, you'll want > > >to make it rw rather than ro. > > > > Good point! Although my CD burner burns CDs just fine with either > > cdrecord or burncd, even with ro in its fstab line. > > > > >This chapter of the handbook: > > >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.h > > >tml > > > > > >and the one that follows are worth a careful reading. > > I think I have this page bookmarked; can't find it. I'll try > "rw" and "ro". Can either you or David explain why I get a > popup error: Can't mount volume. [?] When I clicked on the > Details, it says: > > mount_cd9660: /dev/acd1: Operation not permitted > > I click on "System" (upper left) -> Preferences -> > "Removable Drives and Media Prederences" and select every > peermissions box. Nothing. (I'm using a data disk, not > audio.) > > Ideas? This page of info from K3B may shed some light on the problem for you: Notes for FreeBSD 5.x and onwards users: 1. The FreeBSD k3b port supports SCSI drives only. If you have IDE CD or DVD drives, use them through the cam system. See Chapter 12.5.9 of the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM) 2. Your CD and DVD drives must have a mount point in /etc/fstab. They have to be accessed through their atapicam device if possible. I.e. the drives have to be adressed by e.g. /dev/cd0 instead of /dev/acd0. 3. k3b has to be started from a root console, which is not recommended. Alternatively do ALL of the following: 3a. set the suid flag on cdrecord and cdrdao. The 'Notes' chapter of 'man cdrecord' discusses this. 3b. - For every user who should be able to use k3b and for every CD or DVD device add a directory in the users home directory. These directories must be owned by the corresponding user. For each such directory add a line in /etc/fstab (see remark 2), like: /dev/cd0c /usr/home/XXX/cdrom cd9660 ro,noauto,nodev,nosuid 0 0 Furthermore allow user mounts as described in topic 9.22 of the FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT To make the chmod's to /dev/cdX permanent, do the following: * add 'devd_enable="YES"' to /etc/rc.conf * add a 'perm cdX 666' to /etc/devfs.conf for each cd/dvd device. X is the device number. If you prefer allow access for a group only, add a 'perm cdX 660' instead, followed by an 'own cdX root:XXX' where XXX is the group name. Alternatively (especially if you are using hot plug capable CD or DVD drives) you could add an 'add path 'cd*' mode 666' or an 'add path 'cd*' mode 660 group XXX' to your /etc/devfs.rules under '[system=10]'. To enable it, add a 'devfs_system_ruleset="system"' to your /etc/rc.conf. - or just give mount and umount the suid flag, which is a security leak. 3c. Every user who should be able to use k3b must have read and write access to all pass through devices connected with CD and DVD drives and to the /dev/xpt0 device. Run 'camcontrol devlist' to identify those devices (seek string 'passX' at the end of each line and modify the rights of /dev/passX). Note, that this is a security leak as well but that there is no alternative! To make this changes permanent, add 'devd_enable="YES"' to /etc/rc.conf as described above. Furthermore add a 'perm passX 666' for each pass device and a 'perm xpt0 666'. If you prefer to bind the access rights to a group, use the own command as described above. If you prefer to set this rights dynamically, add a line 'add path 'pass*' ...' to your /etc/devfs.rules as described above. 4. Check, that DMA is activated for atapi devices: 'sysctl hw.ata.atapi_dma' If not, set it to 1 and put a 'hw.ata.atapi_dma=1' into /boot/loader.conf. 5. Create a directory on a partition, which has enough disk space to hold a CDs or DVDs content (usually below /usr). Enter this directory in Settings-> Configure K3b.
Re: What do I put in fstab to get my DVD/CDROM burner to work?
this is work for me freebsd 6.2-RELEASE /dev/acd0 /cdrom cd9660 ro,noauto 0 0 you should use root mount it. On Nov 17, 2007 12:50 PM, Gary Kline <[EMAIL PROTECTED]> wrote: > On Fri, Nov 16, 2007 at 10:24:30PM -0500, Chris Hill wrote: > > On Fri, 16 Nov 2007, David J Brooks wrote: > > > > >On Friday 16 November 2007 08:23:21 pm Gary Kline wrote: > > >>I've googled aroound, and can't be sure what to add in the > > >>FStype column to get my DCD/CDROM burners to work. Ubuntu > > >>installed ny 2005 burner automagically. Nothing like that for > > >>FreeBSD, so can anybody clue me in what I substitute for > > >>"udf" and "cd9660"? > > >> > > >>This is the old and current fstable: > > >> > > >> > > >># DVD drive (top) > > >>/dev/acd0 /media/cdroms/0 udf ro,noauto 0 0 > > >># CD-burner (bottom) > > >>/dev/acd1 /media/cdroms/1 cd9660 ro,noauto 0 0 > > > > > >cd9660 is what you need. for the burner at least though, you'll want > > >to make it rw rather than ro. > > > > Good point! Although my CD burner burns CDs just fine with either > > cdrecord or burncd, even with ro in its fstab line. > > > > >This chapter of the handbook: > > >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html > > > > > >and the one that follows are worth a careful reading. > > > > > I think I have this page bookmarked; can't find it. I'll try > "rw" and "ro". Can either you or David explain why I get a > popup error: Can't mount volume. [?] When I clicked on the > Details, it says: > > mount_cd9660: /dev/acd1: Operation not permitted > > I click on "System" (upper left) -> Preferences -> > "Removable Drives and Media Prederences" and select every > peermissions box. Nothing. (I'm using a data disk, not > audio.) > > Ideas? > > > > > True dat. > > > > -- > > Chris Hill [EMAIL PROTECTED] > > ** [ Busy Expunging <|> ] > > -- > Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix > http://jottings.thought.org http://transfinite.thought.org > > ___ > > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- new city new thoughts new men please choose the freesoftware 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]"
Making mergemaster skip certain files
Is there any way to keep certain files out of the reach of mergemaster? I understand the need for carefully merging the old and the new, but I really shouldn't ever have to for files like these: /etc/aliases /etc/hosts /etc/hosts.allow /etc/manpath.config ... and many others. Mergemaster has so many options that I'm fairly certain that there must be some way to do this. -- J. Porter Clark <[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: What do I put in fstab to get my DVD/CDROM burner to work?
On Fri, Nov 16, 2007 at 10:24:30PM -0500, Chris Hill wrote: > On Fri, 16 Nov 2007, David J Brooks wrote: > > >On Friday 16 November 2007 08:23:21 pm Gary Kline wrote: > >>I've googled aroound, and can't be sure what to add in the > >>FStype column to get my DCD/CDROM burners to work. Ubuntu > >>installed ny 2005 burner automagically. Nothing like that for > >>FreeBSD, so can anybody clue me in what I substitute for > >>"udf" and "cd9660"? > >> > >>This is the old and current fstable: > >> > >> > >># DVD drive (top) > >>/dev/acd0 /media/cdroms/0 udf ro,noauto 0 0 > >># CD-burner (bottom) > >>/dev/acd1 /media/cdroms/1 cd9660 ro,noauto 0 0 > > > >cd9660 is what you need. for the burner at least though, you'll want > >to make it rw rather than ro. > > Good point! Although my CD burner burns CDs just fine with either > cdrecord or burncd, even with ro in its fstab line. > > >This chapter of the handbook: > >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html > > > >and the one that follows are worth a careful reading. > I think I have this page bookmarked; can't find it. I'll try "rw" and "ro". Can either you or David explain why I get a popup error: Can't mount volume. [?] When I clicked on the Details, it says: mount_cd9660: /dev/acd1: Operation not permitted I click on "System" (upper left) -> Preferences -> "Removable Drives and Media Prederences" and select every peermissions box. Nothing. (I'm using a data disk, not audio.) Ideas? > True dat. > > -- > Chris Hill [EMAIL PROTECTED] > ** [ Busy Expunging <|> ] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What do I put in fstab to get my DVD/CDROM burner to work?
On Fri, 16 Nov 2007, David J Brooks wrote: On Friday 16 November 2007 08:23:21 pm Gary Kline wrote: I've googled aroound, and can't be sure what to add in the FStype column to get my DCD/CDROM burners to work. Ubuntu installed ny 2005 burner automagically. Nothing like that for FreeBSD, so can anybody clue me in what I substitute for "udf" and "cd9660"? This is the old and current fstable: # DVD drive (top) /dev/acd0 /media/cdroms/0 udf ro,noauto 0 0 # CD-burner (bottom) /dev/acd1 /media/cdroms/1 cd9660 ro,noauto 0 0 cd9660 is what you need. for the burner at least though, you'll want to make it rw rather than ro. Good point! Although my CD burner burns CDs just fine with either cdrecord or burncd, even with ro in its fstab line. This chapter of the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html and the one that follows are worth a careful reading. True dat. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging <|> ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What do I put in fstab to get my DVD/CDROM burner to work?
On Fri, 16 Nov 2007, Gary Kline wrote: On Fri, Nov 16, 2007 at 09:51:33PM -0500, Chris Hill wrote: On Fri, 16 Nov 2007, Gary Kline wrote: I've googled aroound, and can't be sure what to add in the FStype column to get my DCD/CDROM burners to work. Ubuntu installed ny 2005 burner automagically. Nothing like that for FreeBSD, so can anybody clue me in what I substitute for "udf" and "cd9660"? This is the old and current fstable: # DVD drive (top) /dev/acd0 /media/cdroms/0 udf ro,noauto 0 0 # CD-burner (bottom) /dev/acd1 /media/cdroms/1 cd9660 ro,noauto 0 0 This works for me (6.3-PRERELEASE): /dev/acd1 /dvd cd9660 ro,noauto0 0 Obviously that would be acd0 in your case. HTH. Hopefully! I bought TWO burners, tho. My acd0 is a Pioneer, the acd1 is a cheaper "Lite On" (IIRC). So, using your schema: would I put /dev/acd0 /dvd cd9660 /media/cdroms0 ro,noauto0 0 and /dev/acd1 /dvd cd9660 /media/cdroms1 ro,noauto0 0 or is this at least *close*! Close, but you were actually closer the first time. I'm assuming you want these discs to appear at /media/cdroms[0|1], whereas I'm mounting my DVD drive at /dvd and my CD drive at /cdrom. This is what I would do, given your mountpoints and devices: /dev/acd0/media/cdroms0 cd9660 ro,noauto 0 0 /dev/acd1/media/cdroms1 cd9660 ro,noauto 0 0 ^^^ ^^ device mountpoint filesystem type See man fstab. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging <|> ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What do I put in fstab to get my DVD/CDROM burner to work?
On Friday 16 November 2007 08:23:21 pm Gary Kline wrote: > I've googled aroound, and can't be sure what to add in the > FStype column to get my DCD/CDROM burners to work. Ubuntu > installed ny 2005 burner automagically. Nothing like that for > FreeBSD, so can anybody clue me in what I substitute for > "udf" and "cd9660"? > > This is the old and current fstable: > > > # DVD drive (top) > /dev/acd0 /media/cdroms/0 udf ro,noauto 0 0 > # CD-burner (bottom) > /dev/acd1 /media/cdroms/1 cd9660 ro,noauto 0 0 cd9660 is what you need. for the burner at least though, you'll want to make it rw rather than ro. This chapter of the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html and the one that follows are worth a careful reading. David -- Please turn off all cellphones and tricorders. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What do I put in fstab to get my DVD/CDROM burner to work?
On Fri, 16 Nov 2007, Gary Kline wrote: I've googled aroound, and can't be sure what to add in the FStype column to get my DCD/CDROM burners to work. Ubuntu installed ny 2005 burner automagically. Nothing like that for FreeBSD, so can anybody clue me in what I substitute for "udf" and "cd9660"? This is the old and current fstable: # DVD drive (top) /dev/acd0 /media/cdroms/0 udf ro,noauto 0 0 # CD-burner (bottom) /dev/acd1 /media/cdroms/1 cd9660 ro,noauto 0 0 This works for me (6.3-PRERELEASE): /dev/acd1 /dvd cd9660 ro,noauto0 0 Obviously that would be acd0 in your case. HTH. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging <|> ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What do I put in fstab to get my DVD/CDROM burner to work?
On Fri, Nov 16, 2007 at 09:51:33PM -0500, Chris Hill wrote: > On Fri, 16 Nov 2007, Gary Kline wrote: > > > I've googled aroound, and can't be sure what to add in the > > FStype column to get my DCD/CDROM burners to work. Ubuntu > > installed ny 2005 burner automagically. Nothing like that for > > FreeBSD, so can anybody clue me in what I substitute for > > "udf" and "cd9660"? > > > > This is the old and current fstable: > > > ># DVD drive (top) > >/dev/acd0 /media/cdroms/0 udf ro,noauto 0 0 > ># CD-burner (bottom) > >/dev/acd1 /media/cdroms/1 cd9660 ro,noauto 0 0 > > This works for me (6.3-PRERELEASE): > > /dev/acd1 /dvd cd9660 ro,noauto0 0 > > Obviously that would be acd0 in your case. > > HTH. > Hopefully! I bought TWO burners, tho. My acd0 is a Pioneer, the acd1 is a cheaper "Lite On" (IIRC). So, using your schema: would I put /dev/acd0 /dvd cd9660 /media/cdroms0 ro,noauto0 0 and /dev/acd1 /dvd cd9660 /media/cdroms1 ro,noauto0 0 or is this at least *close*! gary > -- > Chris Hill [EMAIL PROTECTED] > ** [ Busy Expunging <|> ] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
What do I put in fstab to get my DVD/CDROM burner to work?
I've googled aroound, and can't be sure what to add in the FStype column to get my DCD/CDROM burners to work. Ubuntu installed ny 2005 burner automagically. Nothing like that for FreeBSD, so can anybody clue me in what I substitute for "udf" and "cd9660"? This is the old and current fstable: # DVD drive (top) /dev/acd0 /media/cdroms/0 udf ro,noauto 0 0 # CD-burner (bottom) /dev/acd1 /media/cdroms/1 cd9660 ro,noauto 0 0 -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: python25 core dumps
On Thursday 15 November 2007 03:07:03 am Heiko Wundram (Beenic) wrote: > This seems like a problem in qt4 (I don't think the problem is in PyQt), > simply try reinstalling that, too (completely; qt4 is split into several > ports and "pkg_info | grep qt4" is your friend here). A complete rebuild of qt4-* did not solve the problem, however, a complete rebuild of py25-qt4* solved everything. (Except the Gtk problems, naturally) Apparently there was something in the pre-built packages that didn't agree with my machine. I'm hoping that a rebuild of all dependencies for gramps will solve the problems there as well. David -- If this message was not entertaining, write your congressman. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
very poor NFS performance from a beta3
i updated my workstatino to beta3, and then got on a 6.2-p8 machine and mounted /usr/src and /usr/obj from the beta3. tried to installkernel, but it moved as painful pace. would get to the point where it moves kernel to kernel.old, and would just pause for a long time. file transfer showed about 104k. i took this same 6.2-p8 box, and mounted src and obj from my main 6.2 build server, and reinstalled the 6.2-p8 kernel, and speed was as expected. is there anywhere i can being looking to troubleshoot this problem (as to why the 7.0b3 would serve NFS so slowly)? -- Jonathan Horne http://dfwlpiki.dfwlp.org [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: multihome network
alexus wrote: i dont see any difference as at the end i still get this 216.112.241.24/29 216.112.241.25 UGS 00 fxp1 in my netstat -rn, and no its still doesn't work... On Nov 16, 2007 12:07 PM, Steve Bertrand <[EMAIL PROTECTED]> wrote: alexus wrote: my private IP that eventually resolves to public IP through PIX is different then coming from my other public IP that assigned on my fxp1 that comes from another ISP, the fxp1 IP already configured this way so it pass everything to my box what i've tried is adding route on my box route add 216.112.241.24 216.112.241.25 255.255.255.248 Wait a minute...this doesn't look right... Try this: # route add $homeIP/$netmask $gateway Where: - if you have a static IP at 'home', $netmask should be /32, otherwise, you'll need to shorten the prefix (such like /24) This will depend on your 'home' Internet provider setup - $gateway is the next hop upstream on the interface that has 216.112.241.x address on it. Steve I'm kind of new to freebsd so forgive me if I'm wrong but I thought this was not possible with freebsd in a simple way. On linux you can create a default route for each interface thus packet get routed properly, on freebsd you can only have one default route (I think) so this is not really possible. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Failing Drive
Douglas Rodriguez wrote: I've been getting the following message repeating continuously: ad1:FAILURE - READ_DMA status=51 error=1 LBA=216026367 g_vfs_done():ad1s1[READ(offset = 110605467648, length = 16384)]error=5 ad1:FAILURE - READ_DMA status=51 error=40 LBA=216026367 g_vfs_done():ad1s1[READ(offset = 110605467648, length = 16384)]error=5 ad1:FAILURE - READ_DMA status=51 error=1 LBA=216026367 g_vfs_done():ad1s1[READ(offset = 110605467648, length = 16384)]error=5 The same thing repeats every so often. What does this mean? I've read other threads (Drives Dieing) about possibly shutting down dma or reinstalling the system, but is that the best solution to this kind of problem? Backup, backup, backup ;-) You'll need a Real Expert(tm) to help on the ILLEGAL_LENGTH error, but I've seen UNCORRECTABLE plenty. Keep in mind that it may cost some time and energy to find out; apart from a bad disk, could be a bad disk *controller*. I bought two new HDD's recently because of similar problems, but all of them are now working fine on a new motherboard :-/ Sorry no help here :-/ Kevin Kinsey -- Recursion: n. See Recursion. -- Random Shack Data Processing Dictionary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ports with GUI configs
On Fri, Nov 16, 2007 at 02:11:57PM -0500, Chuck Robey wrote: > > prominently display the actual meaning of the word being set. The only > reason to make the list binary is to force everyone to use the > (basically database technology) tool to manipulate the keywords, thus > stopping folks from misconstruing the meanings. That's my only reason > for that, and there are certainly other ways to go about it, so as long > as whatever is suggested requires folks to see the commonly accepted > definition when they set the list, I don't care how it's done. The list > could as easily be encrypted, I guess, that would also cause the same > work flow, in somewhat the same reasoning as we use for forcing folks to > use "vipw" to change the pasword list. I think "forcing" anyone to anything is a *bad idea*. Period. You're talking about placing arbitrary limits on what the user can see if he or she wants to understand what's going on "under the hood". With that kind of treatment, I would never have learned as much about FreeBSD as I know as quickly as I did. I, for one, would probably refuse to use such a system once I learned enough about the basics to want to know what it's doing. The moment I figured out it was designed specifically to obscure some aspect of its operation from the user, I'd look for something else to use instead. There are very good reasons for this -- reasons like security, curiosity, and just plain good manners. > > Please consider that we'll get another chance to argue this out when I > have the software ready, so we don't need to settle it now. I don't > want this to continue to pollute the -questions list. I'm rapidly running out of enthusiasm for bothering to look at it once it's done. Systems I can't study are systems I don't like, generally. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Ben Franklin: "As we enjoy great Advantages from the Inventions of others we should be glad of an Opportunity to serve others by any Invention of ours, and this we should do freely and generously." ___ 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 set maximum disk cache size?
Ivan Voras wrote: On 16/11/2007, Laszlo Nagy <[EMAIL PROTECTED]> wrote: Ivan Voras wrote: http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/vm-fileio.html I read this too but I don't understand. Too difficult for me. So what is the answer? Do I need to set a sysctl or will FreeBSD use all available free memory for caching file data from disk? You don't need to change anything, it's the default state. So as long as the memory isn't shown as "Free" in top, any memory that isn't being used by the kernel or by applications is being used for cache/buffer? One reason why I had thought that FreeBSD didn't use all the memory for caching disk accesses was because I saw a different behaviour when decompressing large archives between Linux and FreeBSD: in Linux there's a massive burst of activity as the archive gets put straight into memory; then, once memory starts getting full it pauses for what seems a very long time as it flushes all the data to disk. FreeBSD doesn't seem to do that; it seems a lot smoother in that it writes to the disk a lot more regularly - is this likely to be because Linux has a higher limit on the number of dirty pages it can have in memory before it writes them out to disk? -- Bruce ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
jails and security [was: Jails and multicore boxes]
On Fri, 16 Nov 2007, Federico Lorenzi spaketh thusly: -}> > you trying to protect? If you're worrying about getting cracked and used -}> > as a spam bot, jails are no more secure than a non-jail system. -}> -}> Maybe some qualification is needed here. -}> -}> If your mail jail gets broken into, then it will still be used as a spambot. -}> -}> But your host (the machine in which your jails run in) wouldn't have been compromised, necessarily, by the fact that the jail got compromised. Having root on a jail > (if that's what we are talking about by 'compromised' ) shouldn't affect your host machine. Unless there is some other vulnerability that can be used, of course. -} -}Thats true indeed, however many people are saying that jails do not necessarily, -}make an environment more secure. I'm not really knowledable in that area, -}but they do add another layer to the proverbial onion. I use jails, but more -}for convenience then security, if i get a new (home) server box, I can just -}move some jails across with a simple tar and then scp, and have them -}work pretty much instantly. MHO. This depends on your definition of "secure". If you have a receiving MTA then you must allow inbound on port 25. If that MTA has a security hole that allows remote access/exploitation then it really doesn't matter a whole lot what you're running on/under/in/with. You're MTA will be hijacked. MHO - the beauty of jails is threefold. First, important parts of the jail can be mounted read-only. If you use the ezjail package then this is done for you. Set up a jail with ezjail and try to create a file in, say, /usr/include. Not even root(inside the jail) can do this. Second, it allows 1 piece of hardware to do multiple things, all separated. Using a slightly contrived example, let's say a company has a piece of hardware that has plenty of power to run authentication and mail. If you put these on the system, and the MTA has a security hole, everything is suspect. Now run each in a jail. Cracking in via the MTA only allows access to mail, not authentication. Third, the parent can monitor the jails. The parent is completely blocked off from all incoming traffic except ssh from an internal net. Somebody cracks into a jail via port 22 or 23(or really, any port). They gain root access and modify the logs such that no login shows up. You look at the ipf logs on the parent and see tons of traffic to/from a.b.c.d on port 22, with TCP bits set so you know there's a conversation going on there, yet no sign of login in the jail's logs. Just some random musings. -- Randy([EMAIL PROTECTED]) 765.983.1283 <*> Love with your heart, think with your head; not the other way around. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I went to 8.0 current accidently :(
Philip M. Gollucci-9 wrote: > > Josh Paetzel wrote: >> Regardless, there's no real supported downgrade procedure. It's probably >> possible, but you are in wizard territory. > Its possible, not easy, even with mismatched kernels. > make -k > > repeatedly seems to install enough stuff the first time that the second > time its really close. > > Don't try it in production. > > > -- > > Philip M. Gollucci ([EMAIL PROTECTED]) > o:703.549.2050x206 > Senior System Admin - Riderway, Inc. > http://riderway.com / http://ridecharge.com > 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF > > Work like you don't need the money, > love like you'll never get hurt, > and dance like nobody's watching. > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > I think no, here is mine: BATCH=yes X11BASE=/usr/local CPUTYPE=pentium4 CFLAGS= -O2 -pipe NO_PROFILE= true # Avoid compiling profiled libraries CFLAGS+=-DNO_MALLOC_EXTRAS # added by use.perl 2007-09-17 06:37:02 PERL_VER=5.8.8 PERL_VERSION=5.8.8 Anyway, I just want to know the reason why so that I can avoid from next time, I think it's difficult to down to 7.0 once you went to 8.0. Could anyone help me? Thanks -- View this message in context: http://www.nabble.com/I-went-to-8.0-current-accidently-%3A%28-tf4821358.html#a13803821 Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I went to 8.0 current accidently :(
Philip M. Gollucci wrote: Josh Paetzel wrote: Regardless, there's no real supported downgrade procedure. It's probably possible, but you are in wizard territory. Its possible, not easy, even with mismatched kernels. make -k repeatedly seems to install enough stuff the first time that the second time its really close. Don't try it in production. Actually, there isn't too much of a difference between 7.x and 8.x right now (in comparison to what there will be later on), so I don't see why make buildworld and buildkernel with their respective install targets wouldn't be feasible. You just might have some extra junk libraries or features sitting around your harddrive from 8.x that aren't present in 7.x, but not too many.. Cheers, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: broadcom network card problem
svetimas alien said: > Hello, > I have lenovo v200 laptop with boardcom network card but my FreeBSD 6.2 does > not detect it. I tryed loading win drivers, with kldload, converted with > ndisgen but always get kernel panic. pciconf -lv shows this: > > [EMAIL PROTECTED]:0:0 class=0x02 card=0x3c2c17aa chip=0x1713144e4 rev=0x02 > hdr=0x00 > vendor = 'Broadcom corporation' > class= network > subclass ethernet > > How to load this? What is the full name of the driver? bcmwl5_sys ? If so, copy it into the /boot/kernel/ directory, and load it with `kldload bcmwl5_sys` (or add bcmwl5_sys_load="YES" to your /etc/rc.conf). > > I also have bce and bge kompiled in my kernel. > When this module is loaded, you will get a ndis0 device, not bce or bge. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Failing Drive
I've been getting the following message repeating continuously: ad1:FAILURE - READ_DMA status=51 error=1 LBA=216026367 g_vfs_done():ad1s1[READ(offset = 110605467648, length = 16384)]error=5 ad1:FAILURE - READ_DMA status=51 error=40 LBA=216026367 g_vfs_done():ad1s1[READ(offset = 110605467648, length = 16384)]error=5 ad1:FAILURE - READ_DMA status=51 error=1 LBA=216026367 g_vfs_done():ad1s1[READ(offset = 110605467648, length = 16384)]error=5 The same thing repeats every so often. What does this mean? I've read other threads (Drives Dieing) about possibly shutting down dma or reinstalling the system, but is that the best solution to this kind of problem? Thanks. ~Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: evolution slow on 7.0
On Nov 14, 2007 4:45 PM, James <[EMAIL PROTECTED]> wrote: > Hi folks, > > first, I know the subject line is a goldmine for jokes, but I couldn't > think of a better way to phrase it. > > Ever since I moved to FreeBSD 7.0, the evolution mail client has become > ridiculously slow for me. It takes two or three minutes to start up, > right clicking on a folder takes several minutes to display a context > menu etc > > My install process was as follows: > > 1. backup my home directory from a FreeBSD 6.2 install > 2. Format the hard drive > 3. Install 7.0 beta 1.5 > 4. csup sources and install beta 2.0 > 5. pkg_add xorg, gnome etc -- evolution was slow as a dog from this > 6. portsnap fetch extract > 7. follow the instructions in UPDATING for updating gnome > > I tried cd /usr/ports/mail/evolution && make deinstall && make > reinstall, to see if something had simply gone wrong during the build, > but nothing changed. > > Any ideas? > > James I've also experienced this since moving to 7-CURRENT (and tracking through to the current 7.0-BETA2) and have been unable to figure out why. Startup takes between 30 and 40 seconds, during with the "evolution" process consumes 100% of one of the cores of the dual-core processor. After startup, various actions (including right-clicking on attachments) take approximately 10 seconds to complete the first time the action is done, this time with the "evolution-data-server" process consuming 100% of one core. Running ktrace against the evolution process during startup shows large amounts of apparently random information, but I don't have a pre-7 system to compare it to. I use SCHED_ULE and have had no other noticeable system slowdowns. All ports have been built from source with no extra settings in /etc/make.conf. $ cat /var/db/ports/evolution/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for evolution-2.12.1_3 _OPTIONS_READ=evolution-2.12.1_3 WITHOUT_PILOT=true WITHOUT_LDAP=true WITHOUT_SPAMASSASSIN=true ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I went to 8.0 current accidently :(
Josh Paetzel wrote: > Regardless, there's no real supported downgrade procedure. It's probably > possible, but you are in wizard territory. Its possible, not easy, even with mismatched kernels. make -k repeatedly seems to install enough stuff the first time that the second time its really close. Don't try it in production. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: multihome network
Hi, you must use advanced routing, this is very easy on linux with iproute2 but freebsd is far away for now(maybe forever) and you must use pf or ipf for this situation. So, enable pf in rc.conf pf_enable="YES" Add this line to the end of pf.conf: pass out quick route-to (fxp1 $fxp1_gw) inet from $fxp1_ip to ! $fxp1_ip keep state Where $fxp1_gw must be your gateway on fxp1 interface and $fxp1_ip is your IP address on fxp1. Keep your default gateway via 192.168.1.1. With these settings you can access both 192.168.1.1 and $fxp1_ip from outside. Regards, Todor Dragnev On 16.11.2007, at 07:18, alexus wrote: Hello, I have two NICs on my box, one (primary) connected to switch and have private IP. that IP also have a static route on Cisco PIX for accessing this box from outside. the other interface has public IP that is connected to another switch, i configure both IPs through /etc/rc.conf, but I can not for some reason access my box through that public IP, no firewall rules would prevent me from doing so. here is my output for netstat -rn alexus# netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default192.168.1.1UGS 0 250 fxp0 127.0.0.1 127.0.0.1 UH 02lo0 192.168.1 link#1 UC 00 fxp0 192.168.1.100:0d:29:09:90:61 UHLW22 fxp0 1171 192.168.1.250 00:16:cb:94:10:e9 UHLW1 12 fxp0 1169 216.112.241.24/29 link#2 UC 00 fxp1 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#4 UHL lo0 ff01:4::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 alexus# what am I missing? -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [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: evolution slow on 7.0
On Fri, Nov 16, 2007 at 09:19:56AM -0700, James Harrison wrote: > > > ... > > > Any ideas? > > > > An random idea: What scheduler are you using in your kernel > > configuration? Do you already use SCHED_ULE ? > > > > I built it according to defaults, so I've got the GENERIC kernel running > right now. As such, I don't know the answer to your question, but if you > tell me how to check I'll get back to you :) Since RELENG_7s GENERIC still comes with SCHED_4BSD I assume that you still have the old one. To be sure you can verify this by: % sysctl kern.sched.name In your case it should be: kern.sched.name: 4BSD To switch to the new you have to build a new kernel. Pretty good described here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html Just be sure to replace options SCHED_4BSD # 4BSD scheduler With options SCHED_ULE # ULE scheduler In my case it resolved some mouse and audio problems under X.Org. Don't know if evolution is affected, too, but you can give it a chance anyway. -- Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." pgpszsEhsgXMl.pgp Description: PGP signature
Re: multihome network
but then i'm going say route _ALL_ traffic for that, and i need to be able to get in through both interfaces, as if one ISP is down, i can access in through another... thats the whole point of this thing On Nov 16, 2007 4:04 PM, Steve Bertrand <[EMAIL PROTECTED]> wrote: > alexus wrote: > > i dont see any difference as at the end i still get this > > > > 216.112.241.24/29 216.112.241.25 UGS 00 fxp1 > > > > in my netstat -rn, and no its still doesn't work... > > This is not the point. > > You need a route via the gateway that 216 is connected to for the REMOTE > IP/network. Say for instance your 'home' connection is: > > 64.39.177.22, then you need a route like this: > > route add 64.39.177.22/32 $isp_gateway > > What you have: > > 216.112.241.24/29 216.112.241.25 UGS 00 fxp1 > > ...says '206.112.241.24/29 should be routed to 216.112.241.25. That is > ALL it will route via that path. > > Steve > -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help how to set up networking for ftp install
> Is your router functioning as a firewall too? > Maybe you have to look in to passive ftp. But it isnt getting to the ftp part it is not even getting the infos from the dhcp server. > Does the network options screen fill in the values > automatically? No it is all blank. So I tried filling it in but it didnt work. > Do you try IPv6 configuration? I tried it but it didnt do anything I am sure I am not useing ipv6. > Have you tried to unplug your modem from the power > for 1 minute? Usually, this is an advise you'll get > from Shaw support. And usually, it really helps. I tried that but it didnt help. Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: multihome network
alexus wrote: > i dont see any difference as at the end i still get this > > 216.112.241.24/29 216.112.241.25 UGS 00 fxp1 > > in my netstat -rn, and no its still doesn't work... This is not the point. You need a route via the gateway that 216 is connected to for the REMOTE IP/network. Say for instance your 'home' connection is: 64.39.177.22, then you need a route like this: route add 64.39.177.22/32 $isp_gateway What you have: 216.112.241.24/29 216.112.241.25 UGS 00 fxp1 ...says '206.112.241.24/29 should be routed to 216.112.241.25. That is ALL it will route via that path. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: multihome network
i'm pretty sure you can do it on freebsd, especially if its possible on Linux, routing works same way as on Linux On Nov 16, 2007 4:51 PM, Bram Van Steenlandt <[EMAIL PROTECTED]> wrote: > > alexus wrote: > > i dont see any difference as at the end i still get this > > > > 216.112.241.24/29 216.112.241.25 UGS 00 fxp1 > > > > in my netstat -rn, and no its still doesn't work... > > > > > > > > On Nov 16, 2007 12:07 PM, Steve Bertrand <[EMAIL PROTECTED]> wrote: > > > >> alexus wrote: > >> > >>> my private IP that eventually resolves to public IP through PIX is > >>> different then coming from my other public IP that assigned on my fxp1 > >>> that comes from another ISP, the fxp1 IP already configured this way > >>> so it pass everything to my box > >>> > >>> what i've tried is adding route on my box > >>> > >>> route add 216.112.241.24 216.112.241.25 255.255.255.248 > >>> > >> Wait a minute...this doesn't look right... > >> > >> Try this: > >> > >> # route add $homeIP/$netmask $gateway > >> > >> Where: > >> > >> - if you have a static IP at 'home', $netmask should be /32, otherwise, > >> you'll need to shorten the prefix (such like /24) This will depend on > >> your 'home' Internet provider setup > >> > >> - $gateway is the next hop upstream on the interface that has > >> 216.112.241.x address on it. > >> > >> Steve > >> > >> > > > > > > > > > I'm kind of new to freebsd so forgive me if I'm wrong but I thought this > was not possible with freebsd in a simple way. > On linux you can create a default route for each interface thus packet > get routed properly, on freebsd you can only have one default route (I > think) so this is not really possible. > > > -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I went to 8.0 current accidently :(
On Friday 16 November 2007 02:13:40 pm Garrett Cooper wrote: > cuongvt wrote: > > After got below news from OSnews.com yesterday (I was late), > > I inserted RELENG_7 to my /usr/share/examples/cvsup/stable-supfile > > as below: > > > > *default host=CHANGE_THIS.FreeBSD.org > > *default base=/var/db > > *default prefix=/usr > > *default release=cvs tag=RELENG_7 > > *default delete use-rel-suffix > > *default compress > > src-all > > Then I exec: > > cvsup -g -L 2 -h cvsup.jp.freebsd.org > > /usr/share/examples/cvsup/stable-supfile > > > > Then I -j10 buildworld, build kernel, install kernel, then as single > > mode I installworld. > > After that, when I uname -a, it output is: > > FreeBSD hanhnhu.local 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri > > Nov 16 19:48:47 ICT 2007 > > Where I was wrong? > > Tnx in advanced. > > > > > > > > "The 7.0-BETA2 builds have completed and are on many of the FreeBSD > > mirror sites. If you want to update an existing machine using cvsup use > > RELENG_7 as the branch tag. Instructions on using FreeBSD Update to > > perform a binary upgrade from FreeBSD 6.x to 7.0-BETA2 will be provided > > via the > > freebsd-stable list when available." > > Wasn't tag "releng_7", not "RELENG_7"?? CVS is CaSe SeNsItIvE, ya know? > -Garrett No, it's definitely RELENG_7...and even if you used the wrong case all you'd do is delete everything in /usr/src Really the only way to end up with 8.0-CURRENT is to build from HEAD, which means somehow /usr/src got populated, whether with a supfile with . in it or what is impossible to say. Regardless, there's no real supported downgrade procedure. It's probably possible, but you are in wizard territory. -- Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB signature.asc Description: This is a digitally signed message part.
Re: Help how to set up networking for ftp install
On Fri, Nov 16, 2007 at 11:50:36AM -0800, kev sadasda wrote: > I forgot to explain that my computer is behind a home > router connected to the cable modem. The dhcp server > is working on the router it gives me an ip address in > windows. So I think the problem is that freebsd isnt > finding the server. It is failing with dhcpdiscover on > dc0 to 255.255.255.255 port 67 > interval.. But I dont know what to do about that. That helps make things more clear. I am not very knowledgeable about using DHCP and setting up routers (I am spoiled by being in a very highspeed net with fixed addresses for every system I need) so hopefully someone else will weigh in. Is your router functioning as a firewall too? Maybe you have to look in to passive ftp. jerry > > This is the status info from the router. > > LAN > MAC Address > 00-0F-3D-5B-E3-BC > IP Address > 192.168.0.1 > Subnet Mask > 255.255.255.0 > DHCP Server > Enabled > > WAN > MAC Address > 00-0F-3D-5B-E3-BD > Connection > DHCP Client Connected > IP Address > 24.69.77.165 > Subnet Mask > 255.255.252.0 > Default Gateway > 24.69.76.1 > DNS > 64.59.160.13 64.59.160.15 > > > > > 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]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Odd memory stick formatting
On Nov 16, 2007, at 10:31 AM, RW wrote: I have a couple of USB devices that I mount as /dev/da0s1, which what I would expect. I've just got a memory stick that's showing as /dev/da0 & /dev/da0s4. and only /dev/da0 mounts. The output of fdisk is garbage, showing four unfeasibly large partitions with unknown sysid values. On the other hand it seems to work fine as da0. Is this normal, or should I repartition. If the latter is there anything particular I need to do to maintain Windows compatibility - I've a vague recollection that Windows leave a gap before the first partition, or something. I've seen some usb flash drives that under windows, mounts as two separate and independent filesystems, one of which is a cd-rom. Try mounting the other partition as cd9660 and see if that works and you get to see all the software they preload onto the drives. ___ 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: Help how to set up networking for ftp install
kev sadasda schrieb: I forgot to explain that my computer is behind a home router connected to the cable modem. The dhcp server is working on the router it gives me an ip address in windows. So I think the problem is that freebsd isnt finding the server. It is failing with dhcpdiscover on dc0 to 255.255.255.255 port 67 interval.. But I dont know what to do about that. This is the status info from the router. LAN MAC Address 00-0F-3D-5B-E3-BC IP Address 192.168.0.1 Subnet Mask 255.255.255.0 DHCP Server Enabled WAN MAC Address 00-0F-3D-5B-E3-BD Connection DHCP Client Connected IP Address 24.69.77.165 Subnet Mask 255.255.252.0 Default Gateway 24.69.76.1 DNS 64.59.160.13 64.59.160.15 Does the network options screen fill in the values automatically? Do you try IPv6 configuration? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: multihome network
i dont see any difference as at the end i still get this 216.112.241.24/29 216.112.241.25 UGS 00 fxp1 in my netstat -rn, and no its still doesn't work... On Nov 16, 2007 12:07 PM, Steve Bertrand <[EMAIL PROTECTED]> wrote: > alexus wrote: > > my private IP that eventually resolves to public IP through PIX is > > different then coming from my other public IP that assigned on my fxp1 > > that comes from another ISP, the fxp1 IP already configured this way > > so it pass everything to my box > > > > what i've tried is adding route on my box > > > > route add 216.112.241.24 216.112.241.25 255.255.255.248 > > Wait a minute...this doesn't look right... > > Try this: > > # route add $homeIP/$netmask $gateway > > Where: > > - if you have a static IP at 'home', $netmask should be /32, otherwise, > you'll need to shorten the prefix (such like /24) This will depend on > your 'home' Internet provider setup > > - $gateway is the next hop upstream on the interface that has > 216.112.241.x address on it. > > Steve > -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I went to 8.0 current accidently :(
cuongvt wrote: After got below news from OSnews.com yesterday (I was late), I inserted RELENG_7 to my /usr/share/examples/cvsup/stable-supfile as below: *default host=CHANGE_THIS.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7 *default delete use-rel-suffix *default compress src-all Then I exec: cvsup -g -L 2 -h cvsup.jp.freebsd.org /usr/share/examples/cvsup/stable-supfile Then I -j10 buildworld, build kernel, install kernel, then as single mode I installworld. After that, when I uname -a, it output is: FreeBSD hanhnhu.local 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Nov 16 19:48:47 ICT 2007 Where I was wrong? Tnx in advanced. "The 7.0-BETA2 builds have completed and are on many of the FreeBSD mirror sites. If you want to update an existing machine using cvsup use RELENG_7 as the branch tag. Instructions on using FreeBSD Update to perform a binary upgrade from FreeBSD 6.x to 7.0-BETA2 will be provided via the freebsd-stable list when available." Wasn't tag "releng_7", not "RELENG_7"?? CVS is CaSe SeNsItIvE, ya know? -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: unimpressive buildworld time
Aryeh M. Friedman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 And here I was thinking it was a 'my machine can beat up your machine' thread. ;) The orginial thread perhaps this one is along the lines of I did everything I could to slow buildworld down and this is how I did it. Speaking of that the worst I have seen was my current machine under 6.2-RELEASE, didn't time buildworld but installworld was 4 hours. - -- Aryeh M. Friedman Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHPbLHJ9+1V27SttsRAuMvAJ0TaFDUCLKzzBupl55q89BjGKQiYgCZAVgs NSaR4zK4Jt+n4DMYyXbpC54= =vXEt -END PGP SIGNATURE- Try make buildkernel / buildworld on a P1 133 MHz machine with 16MB of RAM. Now that was painful, even with stripped down options (and long... 36 hours long...). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help how to set up networking for ftp install
I forgot to explain that my computer is behind a home router connected to the cable modem. The dhcp server is working on the router it gives me an ip address in windows. So I think the problem is that freebsd isnt finding the server. It is failing with dhcpdiscover on dc0 to 255.255.255.255 port 67 interval.. But I dont know what to do about that. This is the status info from the router. LAN MAC Address 00-0F-3D-5B-E3-BC IP Address 192.168.0.1 Subnet Mask 255.255.255.0 DHCP Server Enabled WAN MAC Address 00-0F-3D-5B-E3-BD Connection DHCP Client Connected IP Address 24.69.77.165 Subnet Mask 255.255.252.0 Default Gateway 24.69.76.1 DNS 64.59.160.13 64.59.160.15 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: evolution slow on 7.0
On Fri, 2007-11-16 at 11:44 +0100, Oliver Peter wrote: > On Wed, Nov 14, 2007 at 03:45:28PM -0700, James wrote: > > Hi folks, > > > > first, I know the subject line is a goldmine for jokes, but I couldn't > > think of a better way to phrase it. > > > > Ever since I moved to FreeBSD 7.0, the evolution mail client has become > > ridiculously slow for me. It takes two or three minutes to start up, > > right clicking on a folder takes several minutes to display a context > > menu etc > > > > My install process was as follows: > > > > 1. backup my home directory from a FreeBSD 6.2 install > > 2. Format the hard drive > > 3. Install 7.0 beta 1.5 > > 4. csup sources and install beta 2.0 > > 5. pkg_add xorg, gnome etc -- evolution was slow as a dog from this > > 6. portsnap fetch extract > > 7. follow the instructions in UPDATING for updating gnome > > > > I tried cd /usr/ports/mail/evolution && make deinstall && make > > reinstall, to see if something had simply gone wrong during the build, > > but nothing changed. > > > > Any ideas? > > An random idea: What scheduler are you using in your kernel > configuration? Do you already use SCHED_ULE ? > I built it according to defaults, so I've got the GENERIC kernel running right now. As such, I don't know the answer to your question, but if you tell me how to check I'll get back to you :) James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: a curious jails question
On Thu, Nov 15, 2007 at 05:15:01PM +0100, Wojciech Puchar wrote: >> ive been building jails for a while, and have always used the canonical >> method as listed out in the handbook. today, i tried something new. i >> have read that instead of doing: >> >> make world ... >> make distribution ... >> >> that you can instead: >> >> make installworld ... >> make distribution ... > > i know even better - make one jail and copy in to another. > > first - get base distribution (possibly more) and unpack it. > > even better - make common /usr and use mount_nullfs on each jail Or even better: Let ezjail (sysutils/ezjail) handle this job. -- Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." pgp5etKK3ckRn.pgp Description: PGP signature
Re: multihome network
my private IP that eventually resolves to public IP through PIX is different then coming from my other public IP that assigned on my fxp1 that comes from another ISP, the fxp1 IP already configured this way so it pass everything to my box what i've tried is adding route on my box route add 216.112.241.24 216.112.241.25 255.255.255.248 still not go:( On Nov 16, 2007 8:54 AM, Steve Bertrand <[EMAIL PROTECTED]> wrote: > Girish Venkatachalam wrote: > > On 00:18:42 Nov 16, alexus wrote: > >> Hello, > >> > >> I have two NICs on my box, one (primary) connected to switch and have > >> private IP. that IP also have a static route on Cisco PIX for > >> accessing this box from outside. the other interface has public IP > >> that is connected to another switch, i configure both IPs through > >> /etc/rc.conf, but I can not for some reason access my box through that > >> public IP, no firewall rules would prevent me from doing so. here is > >> my output for netstat -rn > >> > > -- snip > > > Your default route is 192.168.1.1 and not 216.112.241.24 > > Yes, but if he changes that, then he won't be able to access the box via > the PIX (private) connection. > > I will make these assumptions, then elaborate: > > The box in question is at your office. You are at home trying to access > it. The connection works by connecting to the public IP of the PIX (that > gets port-forwarded back), but does not work when accessing the direct > Internet facing port. > > I'm willing to bet that if you run a tcpdump on your machine at home you > are attempting the connection to the 216.112.241.x IP, you will actually > find that the machine is getting back to you just fine. However, many > OS's will drop a 'spoofed' packet. Essentially what is likely happening > is this: > > - you send from home a packet to 216.112.241.x. > - the office router/box accepts it > - the office router looks up in it's routing table a path back to your > home IP > - it has no particular route, so it sends it out the default gateway > (192.168.1.1) > - your pc at home notices that the packet was sent to a destination IP, > but it came back from a different one (the outside IP of the PIX) > - the packet is dropped as the source address is spoofed > > There are a couple ways to fix this. The first and easiest is if you are > only trying to connect to this box's public IP from one location, add a > static route on the office box to that network that routes to it's > public upstream > > The other way is to utilize policy-based routing. IPFW can do this, and > (from what I understand) so can PF. (In Cisco-land, you would use a > route-map). > > Steve > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: multihome network
alexus wrote: > my private IP that eventually resolves to public IP through PIX is > different then coming from my other public IP that assigned on my fxp1 > that comes from another ISP, the fxp1 IP already configured this way > so it pass everything to my box > > what i've tried is adding route on my box > > route add 216.112.241.24 216.112.241.25 255.255.255.248 Wait a minute...this doesn't look right... Try this: # route add $homeIP/$netmask $gateway Where: - if you have a static IP at 'home', $netmask should be /32, otherwise, you'll need to shorten the prefix (such like /24) This will depend on your 'home' Internet provider setup - $gateway is the next hop upstream on the interface that has 216.112.241.x address on it. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
No kernel messages displayed during boot
Hello, My 6.2-STABLE crashed today, and when I rebooted it, a very strange effect appeared: from the second the kernel took over, immediately after loading all .ko files, no text was printed in the console. The system booted though, and the next text was printed to the console was the login prompt. The screen didn't went blank, just all kernel messages and output of /etc/rc* wasn't there -- all was printed on the screen was FreeBSD boot menu, and login prompt. I've re-run 'make installworld' and 'make installkernel' (as I had leftovers from recent buildworld), - didn't help. I've tried to power down the machine (suspecied video card trouble), I've resetted BIOS, I've even disabled com port in BIOS (because the behavior looks like booting on serial console) -- nothing, absolutely nothing changes it. When I tried to boot in single-user mode, the prompt was never displayed at all, which fact indeed makes me think alogn the path of the wrong boot console. I've removed /boot/loader.conf, and double-checked that /boot.config isn't present - didn't help. My question is therefore, what cause of this effect might be? Or, if noone would be able to answer this, how I would print messages from kernel (I'd recompile it for that purpose) to identify which device it picked up for console IO -- and especially, how I print that either to a file, or directly to /dev/console? -- Thank you, Dmitry Karasik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help how to set up networking for ftp install
> I am trying to install freebsd over ftp but it always > says, cannot resolve ftp.freebsd.org > > I told it to use dchp but it didnt do anything even > though my router's dhcp server was on. it kept on > saying > > dhcpdiscover on dc0 to 255.255.255.255 port 67 > interval .. Have you tried to unplug your modem from the power for 1 minute? Usually, this is an advise you'll get from Shaw support. And usually, it really helps. Andriy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD router and WCCP
Does anyone know of a way to configure WCCP redirect support into a FreeBSD based router without having to install squid? Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ports with GUI configs
Chad Perrin wrote: I personally felt we'd sufficiently discussed this to death, but now there's 2 different folks who want to tear it apart some more. If you're bored of this, tell me, and I will drag these folks either into private discussions, or maybe onto the ports list. Tell me if you've heard enough of this . Read below for my comments. On Thu, Nov 15, 2007 at 10:56:12PM -0500, Chuck Robey wrote: Chad Perrin wrote: On Thu, Nov 15, 2007 at 03:34:26PM -0500, Chuck Robey wrote: Chad Perrin wrote: On Mon, Nov 12, 2007 at 08:23:23PM -0500, Chuck Robey wrote: This makes a little file of descriptor words, but it's not set so a regular editor can manipulate it; the special ports program is needed to set or reset this list. All ports query this list in making the decision as to whether or whether not to include a particular port as a dependency. Ugh. As far as I'm concerned, everything that pertains to system configuration should always be human-readable and editable without special tools. Trying to insulate things from human ability to directly manipulate them tends to lead to rapidly increasing difficulty of debugging configurations. I might have agreed with this, except, I have lived for a good while with the Gentoo "USE" lists, and I can tell you that having insufficent control over what goes ontp those lists causes havoc both with the users trying to select the proper wording of the lists, and the programmers trying to decide how to have a particular USE keyword represent a particular ports usage. You have to make certain that both users and programmers have a definite, firm meaning in mind when they use the keywords, because (in another's well chosen words) if you don't, USE lists are a PITA. It takes firmer control of meaning to make certain that the list doesn't devolve into that. This is actual experience talking, in this case. I don't see how that translates into "the user should not be allowed to view what's going on behind the scenes in a text editor if (s)he wants to." I think you're becoming confused about who said what, because that particular line (the last paragraph above) isn't anything that I wrote. Quote: This makes a little file of descriptor words, but it's not set so a regular editor can manipulate it That's the point I'm addressing. No more, and no less. The response I received to addressing that did not seem to provide much support for that quoted statement, so I let you know that I don't see how that translates to "the user should not . . ." et cetera. It's because, in actual experience with a system based upon usage of keywords (a bit more compllicated than what I'm suggesting, but it IS a real-life system, specifically Gentoo Linux. As someone else (I forget who) said (and I fully agreed with him), "USE lists are a PITA. That's true. I can't point with the same agsolute certainty to the reasons it's a PITA, I think I know them, but the facts are as I stated. Personally, I believe it's because the meanings of the keywords are insufficiently standardized. That's my own opinion, but the fact that maintaining USE lists is a PITA is fairly clear. I want to move all the work of specifying the dependencies used by ports from being done at build time to being done at system install time. Further, I want to decouple the choosing of actual ports from dependencies also ... I want users to say something like "I have no audio", and this statement to be coded as NO_AUDIO, and all ports to be guided by the settings of the list keeping this info. I have no name for the lists, but I don't want to call them USE lists, because I'm not suggesting we slavishly follow Gentoo on this, and using the same name would give that impression. Maybe MACHINE_DEFS, something like that? I'm not particularly good at making names. A second part of this suggestion was a reject list of regular expressions, and any ports matched would be ineligible to be built or installed. Lastly, my point about making sure that both the users and the ports authors use the exact same meanings is, in my opinion, the detail missing from the Gentoo implementation, so I'm proposing that the maintenanace of the list be done thru a particular tool, which will prominently display the actual meaning of the word being set. The only reason to make the list binary is to force everyone to use the (basically database technology) tool to manipulate the keywords, thus stopping folks from misconstruing the meanings. That's my only reason for that, and there are certainly other ways to go about it, so as long as whatever is suggested requires folks to see the commonly accepted definition when they set the list, I don't care how it's done. The list could as easily be encrypted, I guess, that would also cause the same work flow, in somewhat the same reasoning as we use for forcing folks to use "vipw" to change the pasword list. Please consider that
Problems mounting a DOMAIN share, rather than a COMPUTER share
FreeBSD 6.2 + Samba 3.0.26a Can Samba mount a DFS share, using \\DOMAIN\dfs, rather than \\COMPUTER\dfs? The following command successfully lists all the shares on a domain controller, the same as \\DOMAIN does on Windows. One of the shares returned is "dfs" which is the root of my dfs tree: smbclient -U administrator -L domain.example.com | grep Disk So, I tried to mount "dfs" using the various commands below (errors are in ""), none of which work. Is this impossible, or am I missing something? Kind regards, Steve -- mount_smbfs -I domaincontroller.example.com //[EMAIL PROTECTED]/dfs /mnt "server name 'example.com' too long" mount_smbfs -I domaincontroller.example.com //[EMAIL PROTECTED]/dfs /mnt "mount_smbfs: unable to open connection: syserr = Connection reset by peer" mount //[EMAIL PROTECTED]/dfs /mnt "mount: //[EMAIL PROTECTED]/dfs: No such file or directory" mount_smbfs //[EMAIL PROTECTED]/dfs /mnt "mount_smbfs: can't get server address: syserr = Operation timed out" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: No kernel messages displayed during boot
Le 16/11/2007 à 19:02:01+0100, Dmitry Karasik a écrit > > Hello, > > My 6.2-STABLE crashed today, and when I rebooted it, a very > strange effect appeared: from the second the kernel took > over, immediately after loading all .ko files, no text > was printed in the console. The system booted though, > and the next text was printed to the console was the > login prompt. The screen didn't went blank, just all > kernel messages and output of /etc/rc* wasn't there -- all > was printed on the screen was FreeBSD boot menu, and login > prompt. I don't known if my experience is the same as your. But when I have two KVM with a HP Proliant DL 380 G5 I've got exact same problem. but when I connect the screen directly to the server the problem disapear. Don't known if this message can help you. Regards. JAS -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Téléphone : 01 45 07 76 26 Heure local/Local time: Ven 16 nov 2007 19:45:31 CET ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Odd memory stick formatting
I have a couple of USB devices that I mount as /dev/da0s1, which what I would expect. I've just got a memory stick that's showing as /dev/da0 & /dev/da0s4. and only /dev/da0 mounts. The output of fdisk is garbage, showing four unfeasibly large partitions with unknown sysid values. On the other hand it seems to work fine as da0. Is this normal, or should I repartition. If the latter is there anything particular I need to do to maintain Windows compatibility - I've a vague recollection that Windows leave a gap before the first partition, or something. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for "[EMAIL PROTECTED]"). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to Fr
Re: multihome network
yes, i know that, and i want my defaultroute to stay 192.168.1.1, what i also want is to be able to access it through 216.112.241.30 (fxp1) On Nov 16, 2007 1:38 AM, Girish Venkatachalam <[EMAIL PROTECTED]> wrote: > On 00:18:42 Nov 16, alexus wrote: > > Hello, > > > > I have two NICs on my box, one (primary) connected to switch and have > > private IP. that IP also have a static route on Cisco PIX for > > accessing this box from outside. the other interface has public IP > > that is connected to another switch, i configure both IPs through > > /etc/rc.conf, but I can not for some reason access my box through that > > public IP, no firewall rules would prevent me from doing so. here is > > my output for netstat -rn > > > > alexus# netstat -rn > > Routing tables > > > > Internet: > > DestinationGatewayFlagsRefs Use Netif Expire > > default192.168.1.1UGS 0 250 fxp0 > > 127.0.0.1 127.0.0.1 UH 02lo0 > > 192.168.1 link#1 UC 00 fxp0 > > 192.168.1.100:0d:29:09:90:61 UHLW22 fxp0 1171 > > 192.168.1.250 00:16:cb:94:10:e9 UHLW1 12 fxp0 1169 > > 216.112.241.24/29 link#2 UC 00 fxp1 > > Your default route is 192.168.1.1 and not 216.112.241.24 > > regards, > Girish > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Jails and multicore boxes
On Nov 16, 2007 6:57 AM, Norberto Meijome <[EMAIL PROTECTED]> wrote: > On Wed, 14 Nov 2007 19:20:06 +0100 > Erik Cederstrand <[EMAIL PROTECTED]> wrote: > > > You'll have to answer that yourself. How valuable is your data? What are > > you trying to protect? If you're worrying about getting cracked and used > > as a spam bot, jails are no more secure than a non-jail system. > > Maybe some qualification is needed here. > > If your mail jail gets broken into, then it will still be used as a spambot. > > But your host (the machine in which your jails run in) wouldn't have been > compromised, necessarily, by the fact that the jail got compromised. Having > root on a jail > (if that's what we are talking about by 'compromised' ) > shouldn't affect your host machine. Unless there is some other vulnerability > that can be used, of course. Thats true indeed, however many people are saying that jails do not necessarily, make an environment more secure. I'm not really knowledable in that area, but they do add another layer to the proverbial onion. I use jails, but more for convenience then security, if i get a new (home) server box, I can just move some jails across with a simple tar and then scp, and have them work pretty much instantly. Cheers Federico ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help how to set up networking for ftp install
On Thu, Nov 15, 2007 at 10:12:59PM -0800, kev sadasda wrote: > I am trying to install freebsd over ftp but it always > says, cannot resolve ftp.freebsd.org > > I told it to use dchp but it didnt do anything even > though my router's dhcp server was on. it kept on > saying > > dhcpdiscover on dc0 to 255.255.255.255 port 67 > interval .. > > So I tried to fill in the infos but it always said > cannot resolve.. as soon as I pressed ok. It looks like no DHCP server is responding to it. Is there supposed to be a DHCP server listening to you? Do you usually use DHCP from that machine? or do you have to use a fixed address? or is this the first time you have tried to put this machine on the net? Anyway, if you have to enter your own info, you cannot both do that and have DHCP turned on. You have to DHCP setting off then enter your fixed IP address, your Default Name server, your default gateway and your netmask as given by your Internet provider. >From a quick glance, it looks like you are trying to use both DHCP and fixed IP addresses. In addition, it looks like the IPs you are trying to assign are private network IPs rather than public network addresses. You need to talk with whoever is providing you network service. Also, take a look at: http://en.wikipedia.org/wiki/Private_network http://www.duxcw.com/faq/network/privip.htm http://www.pku.edu.cn/academic/research/computer-center/tc/html/TC0305.html And probably some parts of the FreeBSD Handbook jerry > > jerry > > These are my infos. > > Windows IP Configuration > > Host Name . . . . . . . . . . . . : > sasdasda-164680 > Primary Dns Suffix . . . . . . . : > Node Type . . . . . . . . . . . . : Unknown > IP Routing Enabled. . . . . . . . : No > WINS Proxy Enabled. . . . . . . . : No > DNS Suffix Search List. . . . . . : > gv.shawcable.net > > Ethernet adapter Local Area Connection: > > Connection-specific DNS Suffix . : > gv.shawcable.net > Description . . . . . . . . . . . : CNet > PRO200WL PCI Fast Ethernet Adap > ter > Physical Address. . . . . . . . . : > 00-80-AD-88-97-D8 > Dhcp Enabled. . . . . . . . . . . : Yes > Autoconfiguration Enabled . . . . : Yes > IP Address. . . . . . . . . . . . : > 192.168.0.102 > Subnet Mask . . . . . . . . . . . : > 255.255.255.0 > Default Gateway . . . . . . . . . : > 192.168.0.1 > DHCP Server . . . . . . . . . . . : > 192.168.0.1 > DNS Servers . . . . . . . . . . . : > 192.168.0.1 > Lease Obtained. . . . . . . . . . : Thursday, > November 15, 2007 10:05:10 > PM > Lease Expires . . . . . . . . . . : Thursday, > November 22, 2007 10:05:10 > PM > > > > > > Get easy, one-click access to your favorites. > Make Yahoo! your homepage. > 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]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"The Complete FreeBSD": errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: unimpressive buildworld time
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > > And here I was thinking it was a 'my machine can beat up your > machine' thread. ;) > The orginial thread perhaps this one is along the lines of I did everything I could to slow buildworld down and this is how I did it. Speaking of that the worst I have seen was my current machine under 6.2-RELEASE, didn't time buildworld but installworld was 4 hours. - -- Aryeh M. Friedman Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHPbLHJ9+1V27SttsRAuMvAJ0TaFDUCLKzzBupl55q89BjGKQiYgCZAVgs NSaR4zK4Jt+n4DMYyXbpC54= =vXEt -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: How to set maximum disk cache size?
On 16/11/2007, Laszlo Nagy <[EMAIL PROTECTED]> wrote: > Ivan Voras wrote: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/vm-fileio.html > > > I read this too but I don't understand. Too difficult for me. > > So what is the answer? Do I need to set a sysctl or will FreeBSD use all > available free memory for caching file data from disk? You don't need to change anything, it's the default state. ___ 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 set maximum disk cache size?
Ivan Voras wrote: Bruce Cran wrote: Wojciech Puchar wrote: Laszlo wrote: Hi All, Is there a way (sysctl?) to tell FreeBSD (6.2 RELEASE) how many memory can it use for caching file data from disk? It might be that FreeBSD will use all available RAM, and reduce the cache it already does It may seem strange since it's generally accepted that you can never have enough disk cache, but FreeBSD apparently doesn't actually use all the free memory for caching. By default it uses up to 256MB for This is wrong. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/vm-fileio.html I read this too but I don't understand. Too difficult for me. So what is the answer? Do I need to set a sysctl or will FreeBSD use all available free memory for caching file data from disk? Thanks, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: bash and strings
> > See the `dirname' and `basename' commands: > > $ dirname "/usr/local/scripts/firewall.sh" > /usr/local/scripts > $ > > $ basename "/usr/local/scripts/firewall.sh" > firewall.sh > $ > > Be careful about properly quoting the filenames though (note how the > first invocation of `dirname' fails below, and try to understand why > it fails): > > $ testname='foo bar baz' > $ dirname $testname > usage: dirname string > $ dirname "${testname}" > . > $ > > Thank you very much this is exactly what I was looking for. Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ports with GUI configs
On Thu, Nov 15, 2007 at 10:56:12PM -0500, Chuck Robey wrote: > Chad Perrin wrote: > >On Thu, Nov 15, 2007 at 03:34:26PM -0500, Chuck Robey wrote: > >>Chad Perrin wrote: > >>>On Mon, Nov 12, 2007 at 08:23:23PM -0500, Chuck Robey wrote: > This makes a little file of descriptor words, but it's not set so a > regular editor can manipulate it; the special ports program is needed > to set or reset this list. All ports query this list in making the > decision as to whether or whether not to include a particular port as a > dependency. > >>>Ugh. As far as I'm concerned, everything that pertains to system > >>>configuration should always be human-readable and editable without > >>>special tools. Trying to insulate things from human ability to directly > >>>manipulate them tends to lead to rapidly increasing difficulty of > >>>debugging configurations. > >>I might have agreed with this, except, I have lived for a good while > >>with the Gentoo "USE" lists, and I can tell you that having insufficent > >>control over what goes ontp those lists causes havoc both with the users > >>trying to select the proper wording of the lists, and the programmers > >>trying to decide how to have a particular USE keyword represent a > >>particular ports usage. You have to make certain that both users and > >>programmers have a definite, firm meaning in mind when they use the > >>keywords, because (in another's well chosen words) if you don't, USE > >>lists are a PITA. It takes firmer control of meaning to make certain > >>that the list doesn't devolve into that. > >> > >>This is actual experience talking, in this case. > > > >I don't see how that translates into "the user should not be allowed to > >view what's going on behind the scenes in a text editor if (s)he wants > >to." > > > > I think you're becoming confused about who said what, because that > particular line (the last paragraph above) isn't anything that I wrote. Quote: This makes a little file of descriptor words, but it's not set so a regular editor can manipulate it That's the point I'm addressing. No more, and no less. The response I received to addressing that did not seem to provide much support for that quoted statement, so I let you know that I don't see how that translates to "the user should not . . ." et cetera. > > At that point, I will prepare, in advance, use cases, all the > documentation, and the actual code, and everyone will get their chance > to rant and rave, alrighty? You can stop me cold, if enough folks don't > like the idea, that's how the development of FreeBSD goes, and I > wouldn't change a thing with that. I'd rather that you produce software I want than software I don't, though. That's why I tend to feel that it's better to sort out what is and isn't wanted, why it is and isn't wanted, and both whether and how that applies to what you propose to produce, before it's produced. Obviously, I'm not saying that what I personally want should be the driving force behind FreeBSD, but from where I'm sitting that's the important part. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] McCloctnick the Lucid: "The first rule of magic is simple. Don't waste your time waving your hands and hopping when a rock or a club will do." ___ 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 set maximum disk cache size?
On Fri, Nov 16, 2007 at 01:12:48PM +0100, Laszlo Nagy wrote: > Bruce Cran ?rta: > >Wojciech Puchar wrote: > >> Laszlo wrote: > >>>Hi All, > >>> > >>>Is there a way (sysctl?) to tell FreeBSD (6.2 RELEASE) how many > >>>memory can it use for caching file data from disk? > >>> > >>>It might be that FreeBSD will use all available RAM, and reduce the > >>>cache > >>it already does > > > >It may seem strange since it's generally accepted that you can never > >have enough disk cache, but FreeBSD apparently doesn't actually use > >all the free memory for caching. By default it uses up to 256MB for > >buffering/caching and there's no way it can use all available memory > >on i386 in machines with more than 1GB installed since the > >buffer/cache is allocated from KVM and the default maximum is 1GB. > >You can increase the amount of memory used, but it might not help - > >there's a thread on performance@ from 2004 which describes how it all > >works; see > >http://lists.freebsd.org/pipermail/freebsd-performance/2004-April/000785.html > > > > > >The information there is quite old now though so I don't know if > >things are done differently in 6.x. > OK, and how about amd64 arch? The reason I ask this is that we have a > big postresql database (over 3GB) and PostgreSQL rely on the OS for > caching files in memory. This database is mostly read-only, so it would > be nice to use all free memory for caching. Especially that this machine > is the database server, it does nothing else. Now, it is an i386 but we > are about to migrate to AMD X2, then we can put in 8GB of memory. But > only if the OS can use if for caching. Otherwise it would be useless. > > Thank you for the link. That thread is quite old - things might have > changed. > > Thanks, > >Laszlo > I'm just going by what I've read on current@ but it seems things are still the same, both on i386 and amd64. I don't know if it's happened yet, but I think there was a plan to dramatically increase the kernel address space for 7.0 on amd64, mainly triggered I think by ZFS which likes to allocate loads of kernel memory. See http://lists.freebsd.org/pipermail/freebsd-current/2007-September/077250.html for a more recent discussion. -- Bruce ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ports with GUI configs
On Thu, 15 Nov 2007 21:58:35 -0500 Chuck Robey <[EMAIL PROTECTED]> wrote: ed to take exception to that. My claim (and I have the messages > in which I made it) is that the setting of options needed these > changes: > > (1) To move the time that they need to be set, from ports compile > time to system install time, and > > ... > I think (I may be wrong, correct me if I am) that you were taking > exception, above, to my first point, right? You may correct me on > that, but on whether or not it will actually succeed in this is what > all this discussion is about. I did not bring this up without > bringing the idea past local friends, and defending it there, so I > think I can do that. Do i need to requote all of my arguments about > that here Of course I've read them. They are about dependencies, but port options are also about the internals of ports. Even if all dependency management were take out of port options, it wouldn't have a significant impact on the number of ports that use port options. > ... they will 100% move the work from > ports build-time to system install-time. This is pretty simple to > prove, so I can't follow your assertion, If it is pretty simple to prove, you wont mind telling me how your system could determine at system install time, whether I will want squid built with AUFS support - even if I don't know much about squid it the time. It's a simple question. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: multihome network
Girish Venkatachalam wrote: > On 00:18:42 Nov 16, alexus wrote: >> Hello, >> >> I have two NICs on my box, one (primary) connected to switch and have >> private IP. that IP also have a static route on Cisco PIX for >> accessing this box from outside. the other interface has public IP >> that is connected to another switch, i configure both IPs through >> /etc/rc.conf, but I can not for some reason access my box through that >> public IP, no firewall rules would prevent me from doing so. here is >> my output for netstat -rn >> -- snip > Your default route is 192.168.1.1 and not 216.112.241.24 Yes, but if he changes that, then he won't be able to access the box via the PIX (private) connection. I will make these assumptions, then elaborate: The box in question is at your office. You are at home trying to access it. The connection works by connecting to the public IP of the PIX (that gets port-forwarded back), but does not work when accessing the direct Internet facing port. I'm willing to bet that if you run a tcpdump on your machine at home you are attempting the connection to the 216.112.241.x IP, you will actually find that the machine is getting back to you just fine. However, many OS's will drop a 'spoofed' packet. Essentially what is likely happening is this: - you send from home a packet to 216.112.241.x. - the office router/box accepts it - the office router looks up in it's routing table a path back to your home IP - it has no particular route, so it sends it out the default gateway (192.168.1.1) - your pc at home notices that the packet was sent to a destination IP, but it came back from a different one (the outside IP of the PIX) - the packet is dropped as the source address is spoofed There are a couple ways to fix this. The first and easiest is if you are only trying to connect to this box's public IP from one location, add a static route on the office box to that network that routes to it's public upstream The other way is to utilize policy-based routing. IPFW can do this, and (from what I understand) so can PF. (In Cisco-land, you would use a route-map). Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: bash and strings
[EMAIL PROTECTED] wrote: > Everyone, > > I'm sure this is easy, and I am making it harder than it is. > > I am being supplied a list of files, and need to create the files and > directories to hold them, but I cannot figure out how to take the string > apart. > > For example, I am given > > /usr/local/scripts/firewall.sh > > I need to create the /usr/local/scripts directory and then create > firewall.sh. > > Any suggestions would be greatly appreciated. > http://search.yahoo.com/search?p=bash+scripting+tutorial Can't recommend it enough, the Advanced Bash-Scripting Guide. A very handy bookmark to keep around. DAve -- I've been asking Google for a Veteran's Day logo since 2000, maybe 1999. I was told they finally did a Veteran's Day logo, but none of the links I was given return anything but a normal Google logo. Sad, very sad. Maybe the Chinese Government didn't like it? ___ 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 set maximum disk cache size?
Bruce Cran wrote: > Wojciech Puchar wrote: >> Laszlo wrote: >>> Hi All, >>> >>> Is there a way (sysctl?) to tell FreeBSD (6.2 RELEASE) how many >>> memory can it use for caching file data from disk? >>> >>> It might be that FreeBSD will use all available RAM, and reduce the >>> cache >> it already does > > It may seem strange since it's generally accepted that you can never > have enough disk cache, but FreeBSD apparently doesn't actually use all > the free memory for caching. By default it uses up to 256MB for This is wrong. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/vm-fileio.html """FreeBSD reserves a limited amount of KVM to hold mappings from struct bufs, but it should be made clear that this KVM is used solely to hold mappings and does not limit the ability to cache data. """ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
I went to 8.0 current accidently :(
After got below news from OSnews.com yesterday (I was late), I inserted RELENG_7 to my /usr/share/examples/cvsup/stable-supfile as below: *default host=CHANGE_THIS.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7 *default delete use-rel-suffix *default compress src-all Then I exec: cvsup -g -L 2 -h cvsup.jp.freebsd.org /usr/share/examples/cvsup/stable-supfile Then I -j10 buildworld, build kernel, install kernel, then as single mode I installworld. After that, when I uname -a, it output is: FreeBSD hanhnhu.local 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Nov 16 19:48:47 ICT 2007 Where I was wrong? Tnx in advanced. "The 7.0-BETA2 builds have completed and are on many of the FreeBSD mirror sites. If you want to update an existing machine using cvsup use RELENG_7 as the branch tag. Instructions on using FreeBSD Update to perform a binary upgrade from FreeBSD 6.x to 7.0-BETA2 will be provided via the freebsd-stable list when available." -- View this message in context: http://www.nabble.com/I-went-to-8.0-current-accidently-%3A%28-tf4821358.html#a13793437 Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: bash and strings
On 2007-11-16 03:43, [EMAIL PROTECTED] wrote: > Everyone, > > I'm sure this is easy, and I am making it harder than it is. > > I am being supplied a list of files, and need to create the files and > directories to hold them, but I cannot figure out how to take the string > apart. > > For example, I am given > > /usr/local/scripts/firewall.sh > > I need to create the /usr/local/scripts directory and then create > firewall.sh. See the `dirname' and `basename' commands: $ dirname "/usr/local/scripts/firewall.sh" /usr/local/scripts $ $ basename "/usr/local/scripts/firewall.sh" firewall.sh $ Be careful about properly quoting the filenames though (note how the first invocation of `dirname' fails below, and try to understand why it fails): $ testname='foo bar baz' $ dirname $testname usage: dirname string $ dirname "${testname}" . $ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portmanager and apache2.0
> On November 15, 2007 at 10:54PM Noah wrote: > > Gerard wrote: > >> On November 15, 2007 at 06:54PM Noah wrote: > > > >> access1# grep apache pm-020.conf > >> IGNORE|www/apache13*| > >> IGNORE|www/apache13| > >> IGNORE|www/apache13-*| > >> IGNORE|www/apache13*-*| > >> IGNORE|www/apache-1.3*| > >> IGNORE|www/apache20| > >> IGNORE|www/apache20*| > >> IGNORE|www/apache21| > >> IGNORE|www/apache21*| > >> access1# pkg_info | grep portmana > >> portmanager-0.4.1_9 FreeBSD installed ports status and safe update utility > >> access1# > >> > >> How can I figure out why it is getting built? > > > > Make sure you only have apache-2.2.x installed, check the portmanager.log > > file and see if another program is trying to build apache as a dependency. > I could not find anything in the portmanager.log > > how can I make sure it is ignored in the portmanager configuratino file > to make sure it is not built at all? > > is there any other way to figure out what has a dependency to install it? Please don't top post. If you don't know what that means, Google for it. Now, could you please post the portmanager log. You need only post the sections that directly relate to Apache. -- Gerard This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient of this transmission, please delete it immediately. Obviously, I am the idiot who sent it to you by mistake. Furthermore, there is no way I can force you to delete it. Worse, by the time you have reached this disclaimer you have all ready read the document. Telling you to forget it would seem absurd. In any event, I have no legal right to force you to take any action upon this email anyway. This entire disclaimer is just a waste of everyone's time and bandwidth. Therefore, let us just forget the whole thing and enjoy a cold been instead. ___ 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 set maximum disk cache size?
Bruce Cran írta: Wojciech Puchar wrote: > Laszlo wrote: Hi All, Is there a way (sysctl?) to tell FreeBSD (6.2 RELEASE) how many memory can it use for caching file data from disk? It might be that FreeBSD will use all available RAM, and reduce the cache it already does It may seem strange since it's generally accepted that you can never have enough disk cache, but FreeBSD apparently doesn't actually use all the free memory for caching. By default it uses up to 256MB for buffering/caching and there's no way it can use all available memory on i386 in machines with more than 1GB installed since the buffer/cache is allocated from KVM and the default maximum is 1GB. You can increase the amount of memory used, but it might not help - there's a thread on performance@ from 2004 which describes how it all works; see http://lists.freebsd.org/pipermail/freebsd-performance/2004-April/000785.html The information there is quite old now though so I don't know if things are done differently in 6.x. OK, and how about amd64 arch? The reason I ask this is that we have a big postresql database (over 3GB) and PostgreSQL rely on the OS for caching files in memory. This database is mostly read-only, so it would be nice to use all free memory for caching. Especially that this machine is the database server, it does nothing else. Now, it is an i386 but we are about to migrate to AMD X2, then we can put in 8GB of memory. But only if the OS can use if for caching. Otherwise it would be useless. Thank you for the link. That thread is quite old - things might have changed. Thanks, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: evolution slow on 7.0
On Wed, Nov 14, 2007 at 03:45:28PM -0700, James wrote: > Hi folks, > > first, I know the subject line is a goldmine for jokes, but I couldn't > think of a better way to phrase it. > > Ever since I moved to FreeBSD 7.0, the evolution mail client has become > ridiculously slow for me. It takes two or three minutes to start up, > right clicking on a folder takes several minutes to display a context > menu etc > > My install process was as follows: > > 1. backup my home directory from a FreeBSD 6.2 install > 2. Format the hard drive > 3. Install 7.0 beta 1.5 > 4. csup sources and install beta 2.0 > 5. pkg_add xorg, gnome etc -- evolution was slow as a dog from this > 6. portsnap fetch extract > 7. follow the instructions in UPDATING for updating gnome > > I tried cd /usr/ports/mail/evolution && make deinstall && make > reinstall, to see if something had simply gone wrong during the build, > but nothing changed. > > Any ideas? An random idea: What scheduler are you using in your kernel configuration? Do you already use SCHED_ULE ? -- Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." pgpGtbEOLkPrQ.pgp Description: PGP signature
Re: Kernel pty limit
On Thursday 15 November 2007 22:39:12 Christopher Cowart wrote: > I suppose that counts as Good News. Does this mean the change will be > part of the increasingly anticipated 7.0 release? It seems that the change is already merged to RELENG_7 and RELENG_6. Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Jails and multicore boxes
On Wed, 14 Nov 2007 19:20:06 +0100 Erik Cederstrand <[EMAIL PROTECTED]> wrote: > You'll have to answer that yourself. How valuable is your data? What are > you trying to protect? If you're worrying about getting cracked and used > as a spam bot, jails are no more secure than a non-jail system. Maybe some qualification is needed here. If your mail jail gets broken into, then it will still be used as a spambot. But your host (the machine in which your jails run in) wouldn't have been compromised, necessarily, by the fact that the jail got compromised. Having root on a jail (if that's what we are talking about by 'compromised' ) shouldn't affect your host machine. Unless there is some other vulnerability that can be used, of course. B _ {Beto|Norberto|Numard} Meijome "The more I see the less I know for sure." John Lennon I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Weird musicpd + tracks problem
For about a week nog my computer is running Tracks ( http://www.rousette.org.uk/projects/ ); a GTD web-application using ruby on rails. To play my music I am running musicpd. The weird thing is that reloading my tracks page also orders musicpd to play a new song half of the times. I don't have a clue what is causing this but it is getting more anoying every minute. Does anyone have an idea what could cause this behaviour, or knows what I could do to track down what is causing it ? Some system information: output from my mpd log when setting log_level to verbose: ( As shown there are no incoming connections from a client ) Nov 15 19:59 : playlist: play 108:"nfs_pro_speed_ost/part1/Year Long Disaster Leda Atomica.mp3" Nov 15 19:59 : copyMpdTagToOB: !acceptMetadata || !tag Nov 15 19:59 : copyMpdTagToOB: !acceptMetadata || !tag Nov 15 19:59 : oss device "/dev/dsp" will be playing 16 bit 2 channel audio at 44100 Hz Nov 15 19:59 : playlist: queue song 109:"nfs_pro_speed_ost/part1/Yelle A Cause Des Garcons (Riot In Belgium Remix).mp3" [EMAIL PROTECTED] uname -rs FreeBSD 6.2-PRERELEASE [EMAIL PROTECTED] pkg_info -Ex musicpd musicpd-0.13.0_1 [EMAIL PROTECTED] pkg_info -Ex apache apache-2.2.6_2 [EMAIL PROTECTED] pkg_info -Ex ruby eruby-1.0.5 mod_ruby-1.2.6 ruby-1.8.6.111,1 ruby18-aspectr-0.3.5 ruby18-bdb-0.6.2 ruby18-dbd_mysql-0.1.1 ruby18-dbi-0.1.1 ruby18-gems-0.9.4 ruby18-mysql-2.7.3 rubygem-actionmailer-1.3.3 rubygem-actionpack-1.13.3 rubygem-actionwebservice-1.2.3 rubygem-activerecord-1.15.3 rubygem-activesupport-1.4.2 rubygem-rails-1.2.3 rubygem-rake-0.7.3 [EMAIL PROTECTED] pkg_info -Ex mysql mrtg-mysql-load-1.02_2 mysql-client-5.0.45_1 mysql-server-5.0.45_1 php5-mysql-5.2.4_1 ruby18-dbd_mysql-0.1.1 ruby18-mysql-2.7.3 running Tracks 1.043 ( manual install ) Thanks in advance, -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: unimpressive buildworld time
On Thursday 15 November 2007 11:42:21 pm Aryeh M. Friedman wrote: > Garrett Cooper wrote: > > Tim Daneliuk wrote: > >> Jonathan Horne wrote: > >>> On Wednesday 14 November 2007 03:45:07 pm Aryeh M. Friedman > >>> > >>> wrote: > > Impressive ;-) My main machine (with an Athlon XP @ 2GHz) > > takes ~2 hours to build kernel and world (I use a script to > > do that). My other box is running -CURRENT and takes ~11 > > hours to build kernel and world (Celeron 500...). > > > > Just to supply some numbers that "go the other direction" > > > > :-) > > With no -j and running gnome and doing other things in the > foreground (watching a avi) 1 hr 3 mins on a e6850 w/ 4 gig > (amd64) > >>> > >>> p4 540 3.2GHz, 1GB ram: > >>> > >>> -- > >>> > >> World build completed on Thu Nov 15 19:15:05 CST 2007 > >>> > >>> -- > >>> > >>> real63m8.635s user102m44.096s sys 10m44.889s > >>> [EMAIL PROTECTED] /usr/src]# > >>> > >>> heh, i have appropriately renamed the thread. :) with -j 8 > >>> > >>> cheers, > >> > >> My Pentium-D 3G DualCore w/2G memory and a pretty vanilla SATA > >> drive does buildworld and 3 different kernels in 68 minutes wall > >> time building 6.3-PRE (aka -STABLE) using -j20. > > > > SMP kernels on STABLE (6.x) are going to perform worse than SMP > > kernels on CURRENT (7-RELENG / 8-CURRENT), depending on the > > scheduler used (4BSD vs ULE scheduler), as well as a variety of > > other factors. > > > > Remember... performance not only depends upon clock speed or the > > number of cores you have, but also what caching/prefetching scheme > > FreeBSD uses (not sure if it's fetches large amounts infrequently > > or small amounts frequently), how much memory is available to make > > and its spawned processes (gcc, awk, etc), as well as the number of > > processes active on the machine, and host usage (high disk usage, > > high memory usage, etc). > > > > After reading through the thread, I noticed that people are making > > comparing apples to oranges, as... > > Some people are taking this thread *WAY TOO SERIOUS* as far I can tell > it is meant as a light hearted lets post funny numbers thread. And here I was thinking it was a 'my machine can beat up your machine' thread. ;) David -- Controlling you through microchips since 1999. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"