Re: Updating packages in Jails
On 08/02/2010 22:13, Gary Gatten wrote: > Hopefully this isn't considered a hijack, but what are the *main* diffs > between jails and vm's? I've never worked with jails but read about > them several times. Do they allow controlling of CPU cycles, Memory > regions, etc. in the same manner as the file system(s) and network? > > Asked another way, what are some Usage cases where jails would be equal > or more appropriate than full on vm's and vice-versa. We use vm's quite > extensively and I'm wondering of some of these can be done in jails > instead. The principal difference between Jails and full virtualisation is that a the base system and all jails on a machine run inside a single kernel instance. Jails see some or all of the same hardware which is shared with the base system and may be shared with other jails. Thus all jails have to run FreeBSD, and while you can install and run an older user-land on a newer base fairly successfully, (eg. a 7.2 jail running on an 8.0 base system) you can't do the converse. Trying to run an i386 jail on an amd64 base system is also not recommended. VMs don't have these limitations. The big advantage of jails is that they are very light-weight. You get the management advantages of virtualisation with almost none of the virtualisation overhead, other than disk usage. The whole jail concept is an elaboration of the well-known Unix chroot(2) system call. Jailing adds to this dedicated IP addresses for the jail -- but not a complete network stack just yet, so, for instance, you can't run a firewall inside the jail. Virtualisation of the network stack is a work in progress: google for VNET and VIMAGE if interested. You can use standard limits(1) controls on resource usage in the jail, and you can use cpuset(1) to tie jailed processes to specific CPU cores. Quotas tend not to work very well in jails: to control filesystem usage, it's best to create a separate filesystem of the appropriate size specifically for the jail. This is a very good situation for handling by ZFS. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard, Flat 3 Black Earth Consulting Ramsgate Kent, CT11 9PW Free and Open Source Solutions Tel: +44 (0)1843 580647 signature.asc Description: OpenPGP digital signature
Re: Updating packages in Jails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/02/2010 21:09, Adam Vande More wrote: > Anyways, host and jail need to run the exact same kernel. Normally I'll > build my kernel and install it into the base as well as each individual jail > so everything is consistent. It's not so much 'need to run' as 'are running.' Jails don't have a separate kernel instance like (eg) LVM. Everything runs under the same kernel as the base system. You don't even need to install a kernel image into a jailed filesystem, and when using something like freebsd-update in a jail, just make the fairly obvious config file tweak that tells it to ignore kernel updates. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktxD28ACgkQ8Mjk52CukIwKNQCcClChgJZnkl7SFO6VOYZLLV+q om4An0YdvsueTOcxG9UtEUDdTCmQMYeZ =bT6d -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: for vpn connection
hi, i'm going with pptp but still can't manage it to work, in case i'll then i'll let you know :-) On 2010.02.08., at 21:36, Yavuz Maşlak wrote: I use freebsd7.2 I have an iphone. I wish to establish a vpn connection between the iphone and my freebsd server as client to server. What sort of softwares shall I use for it ? Could you give me an example? any advances? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: for vpn connection
hi, i also choose poptop and pptp but i'm still getting errors while connecting, would you be so kind to send me some configuration files? lászló On 2010.02.09., at 4:40, Bill Campbell wrote: On Mon, Feb 08, 2010, Yavuz Ma?lak wrote: I use freebsd7.2 I have an iphone. I wish to establish a vpn connection between the iphone and my freebsd server as client to server. What sort of softwares shall I use for it ? I just went through this for Linux/iPhone last week. The easiest for the iPhone is probably PPTP. One *nix side of this is poptop. I don't know what's required on freebsd. Bill -- INTERNET: b...@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Skype: jwccsllc (206) 855-5792 People who relieve others of their money with guns are called robbers. It does not alter the immorality of the act when the income transfer is carried out by government. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
re: xorgconfig missing FBD_8
Hi there --- I'm writing this to tell you how much FreeBSD has gone downhill since version 5.3... I don't know who's bright idea it was to remove the xorgcfg and the xorgconfig programs, but they should be beaten sensless with an IBM AT keyboard. Also if you REQUIRE that dbus and hald be enabled for so called auto-configuration, put it in the dam rc.conf file. After an hour of dicking around with the X configuration, and it still doesn't work I install something else this is 2010 fer cryin' out load... Linux doesn't have this problem. thanks for making freebsd a pain in the ass, Gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
display and manipulate math symbols?
Is there any app or web site where you can select from a bunch of math symbols and arrange them on-screen? I'm not talking about a program to solve; just display. And i think you can describe things in english like "sqrt(2)" in OOo, and have that sq root sign displayed. Not that either; rather pre-drawn symbols that could be moused around, Been looking for hours; can't find. thanks for any clues, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PASSWORD LOST!!
--On February 8, 2010 12:53:22 PM -0600 Eric Petersen wrote: Hey guys, I have a web/ftp server loaded with FreeBSD. This was done a couple of years back. Since then the person or persons that did the original install have gone out of business and cannot be found. Currently I have an issue logging into the ftp. I hooked a monitor up to the server and I'm getting "filesystem full" errors and since I don't have a password to get in I cannot have it fixed by someone that knows UNIX. I have made numerous attempts to contact the person that installed on a personal level. But I'm getting the impression he has moved with no forwarding. Without a password, you need physical access to the server in order to fix the problem. It sounds like you have that, since you said you hooked up a monitor to it. Here's the steps you can take to "retrieve" the password. Shut the server down by hitting the power button. Then turn it back on and watch the prompts when it's booting up. Chose single user mode. Then follow these steps: # The system will print out "Enter full pathname of shell or RETURN for /bin/sh:" # Hit enter to get a prompt # Type fsck -p # Type mount -a # Type passwd You'll be prompted for the password twice. This is the root password, so it will give you full access to the system. # Type exit to return to normal operation. Write the password down and lock it up in the company safe. Surely you have professional Unix support available in Sioux City? Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ** WARNING: Check the headers before replying ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: sysinstall and mfs Great News and another Question
I really hate to give up on anything and I finally found out my problem with getting sysinstall to use the hard drive rather than garbaging up mfs every time. The problem is not something you can set in the partition editor or disklabel editor. It is found in the very first menu which oddly is numbered 2 and is the options editor. The option that makes it all work is one that lets you specify where you want the distribution to go on the drive. It is always set for you when using the CDROM unless you were formatting another disk so it is kind of easy to miss. I missed it for a week and a half. Now the question. There are a bunch of functions that can be set in sysinstall such as the bsdlabel editor, partition editor and dists to name a few. It would be nice to be able to set that mount point in install.cfg because I am trying to make a script that coworkers can run to configure a system quickly without having to waste a week of their own trying to figure it all out. It turns out that one can format the disk, mount /dev/ad0s1a on /mnt and then one must set the root option to /mnt and things work so much better! Occasionally, /var fills up and I haven't figured out why but it appears that ftp gets ahead of the ability to store the files. Whatever it happening, it is now more right than wrong. Again, thanks for all your help. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: for vpn connection
On Mon, Feb 08, 2010, Yavuz Ma?lak wrote: > I use freebsd7.2 > > I have an iphone. I wish to establish a vpn connection between the iphone > and my freebsd server as client to server. > What sort of softwares shall I use for it ? I just went through this for Linux/iPhone last week. The easiest for the iPhone is probably PPTP. One *nix side of this is poptop. I don't know what's required on freebsd. Bill -- INTERNET: b...@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Skype: jwccsllc (206) 855-5792 People who relieve others of their money with guns are called robbers. It does not alter the immorality of the act when the income transfer is carried out by government. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PASSWORD LOST!!
On Mon, Feb 8, 2010 at 7:53 PM, Eric Petersen wrote: > Hey guys, > > I have a web/ftp server loaded with FreeBSD. This was done a couple of years > back. Since then the person or persons that did the original install have > gone out of business and cannot be found. > > Currently I have an issue logging into the ftp. I hooked a monitor up to the > server and I'm getting "filesystem full" errors and since I don't have a > password to get in I cannot have it fixed by someone that knows UNIX. I have > made numerous attempts to contact the person that installed on a personal > level. But I'm getting the impression he has moved with no forwarding. > > I you have need for more information I will supply it. I just don't know > where to start. Our company's ftp is down and doesn't look like it will > return anytime soon with out further assistance. > > Thank you for your time and have a great day. > Read http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW how to become root or the superuser. It could be wise to hire somebody to fix the problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PASSWORD LOST!!
> I have a web/ftp server loaded with FreeBSD. This was done a couple > of years back. Since then the person or persons that did the original > install have gone out of business and cannot be found. Have you tried booting in single user mode? Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
for vpn connection
I use freebsd7.2 I have an iphone. I wish to establish a vpn connection between the iphone and my freebsd server as client to server. What sort of softwares shall I use for it ? Could you give me an example? any advances? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
PASSWORD LOST!!
Hey guys, I have a web/ftp server loaded with FreeBSD. This was done a couple of years back. Since then the person or persons that did the original install have gone out of business and cannot be found. Currently I have an issue logging into the ftp. I hooked a monitor up to the server and I'm getting "filesystem full" errors and since I don't have a password to get in I cannot have it fixed by someone that knows UNIX. I have made numerous attempts to contact the person that installed on a personal level. But I'm getting the impression he has moved with no forwarding. I you have need for more information I will supply it. I just don't know where to start. Our company's ftp is down and doesn't look like it will return anytime soon with out further assistance. Thank you for your time and have a great day. -- Eric Petersen Pre-Press Technician Anderson Brothers Printing Company 4525 41st Street Sioux City, Iowa 51108 phone: 712.239. fax: 712.239.3322 e-mail: er...@andersonbrothers.biz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD's UFS vs Ext4
On Mon, Feb 8, 2010 at 5:46 AM, alex wrote: > I do suspect personally that the ext4 filesystem is the reason for the > difference here, since ext4 has a number of features such as deferred disk > writes etc. Even deleting a large file off that raid array I can see a > difference, prior to reformatting, i deleted a 190GB file off the raid, > under UFS the delete took quite some time (well over 10 seconds), under ext4 > the deletion of the same size file took about 3 seconds. > > But what I said with ext4 being faster then the aging UFS still rings true > in my mind, look at the recent Phoronix benchmarks for yourself and see (10 > pages of benchmarks). > > http://www.phoronix.com/scan.php?page=article&item=freebsd8_benchmarks&num=1 > (skip to page 7 of the benchmarks if you want to see the I/O stuff relating > to disk performance) According to the first page they used the default configuration of all benchmarked OS'es. And what is the default mount option on Linux "async" The FreeBSD man page for mount describes this "async" option as follows: async All I/O to the file system should be done asynchronously. This is a dangerous flag to set, since it does not guar- antee that the file system structure on the disk will remain consistent. For this reason, the async flag should be used sparingly, and only when some data recov- ery mechanism is present. The OpenBSD man page has the following additional remark: The most common use of this flag is to speed up restore(8) where it can give a factor of two speed in- crease. Conclusion: you cannot compare filesystem performance, when you give one a unfair speed advantage of what could be a factor two. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Cheating OS fingerprinting
On Feb 7, 2010, at 5:54 AM, yavuz wrote: > I want to cheat os fingerprinting tools ( primary nmap) in my freebsd > machine. Assume I am using freebsd 8 and I want to be seen as a windows xp > machine when someone scans my ports. I'll try not to second-guess this goal, but you should be aware that people using OS fingerprinting mechanisms (ie, p0f interface for amavisd) are going to penalize a machine which looks like a Windows box compared with a Unix platform. > In order to determine target host's OS, nmap sends seven TCP/IP crafted > packets (called tests) and waits for the answer. Results are checked against > a database of known results (OS signatures database). If the answer matches > any of the entries in the database, it can guess that the remote OS is the > same that the one in the database. Some Nmap packets are sent to an open > port and the others to a closed port; depending on that results, the remote > OS is guessed. So to cheat nmap, I have to analyze all incomming packets (as > a firewall) and if a test packet coming from a scanner is found I have to > give appropriate reply packet (depending on the os signature I want to use). That's correct. If you simply care about blocking nmap scans, set up firewall rules to block the following TCP th_flag combinations (see /usr/include/netinet/tcp.h): TH_SYN | TH_ECE # nmap T1 # nmap T2 TH_FIN | TH_SYN | TH_PUSH | TH_URG # nmap T3 TH_FIN | TH_URG | TH_PUSH # nmap T7 The other TCP test packets use valid TCP flag combinations and cannot be blocked just by looking at that field. However, you can also check for TCP options being set in the initial SYN packets; nmap uses or used WNMTE. FreeBSD tends to use MNWNNT or MNNSNWNNT with a starting window size of 65535 (but so does other BSD platforms like MacOSX, NetBSD, etc). If you want to look more like Windows XP, you'd want to disable TCP timestamp option but make sure that SACK is enabled; ie, use TCP options like MNNS, MNWNNS, MNWNNSNN and initial window size of 16384. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NTP Stratum
On Feb 8, 2010, at 6:16 AM, DAve wrote: > I am syncing with three server from N.us.pool.ntp.org. I have no fudge > configured. > > ]# ntpq -c peers > remote refid st t when poll reach delay offset > jitter > == > ns-01.tls.net .INIT. 16 u- 102400.0000.000 > 4000.00 > +www.broadbandja 66.250.45.2 3 u 510 1024 377 61.9443.528 > 0.230 > *point2.adamants 128.138.140.44 2 u 447 1024 377 59.3600.863 > 0.154 > +66.36.239.104 69.64.37.141 3 u 507 1024 377 28.7632.623 > 1.182 > > I am pretty sure I am just reading the man pages incorrectly, but then > others things seem confusing as well. A stratum-0 timesource is a reference clock like a GPS signal, atomic clock, or other very-high-quality timesource. A computer running ntpd can sync time to such a device, and will thus be a stratum-1 timeserver. Seeing NTP packets claiming to be stratum-0 is a sure indication that the ntpd thinks it is not properly synchronized, and NTP clients should ignore this timesource as a consequence. See: http://www.ntp.org/ntpfaq/NTP-s-algo.htm#Q-ALGO-BASIC-STRATUM "The stratum is a measure for synchronization distance. Opposed to jitter or delay the stratum is a more static measure. Basically (and from the perspective from a client) it is the number of servers to a reference clock. So a reference clock itself appears at stratum 0, while the closest servers are at stratum 1. On the network there is no valid NTP message with stratum 0." [ ... ] > I vote for higher, I have no fudge configured and my servers are > claiming to be stratum 0 when I check them from outside. But!! Never > trusting my observations until checking again, I see when I tested that > my clocks were off. So if I cannot sync, my server continues to answer > time queries but claims to be stratum 0. > > I am thinking I am getting closer to grasping this. That's correct. If you run something like: # ntpq -pc rv localhost assID=0 status=06f4 leap_none, sync_ntp, 15 events, event_peer/strat_chg, version="ntpd 4.2.4p5-a Tue Jan 12 18:52:12 EST 2010 (1)", processor="i386", system="FreeBSD/6.4-STABLE", leap=00, stratum=2, precision=-19, rootdelay=33.115, rootdispersion=28.426, peer=51948, refid=18.26.4.105, reftime=cf1b25fa.21d555c1 Mon, Feb 8 2010 19:08:26.132, poll=9, clock=cf1b2a9f.c570e0a6 Mon, Feb 8 2010 19:28:15.771, state=4, offset=-0.042, frequency=19.313, jitter=1.902, noise=0.625, stability=0.001, tai=0 remote refid st t when poll reach delay offset jitter == +ntp.pbx.org 192.5.41.40 2 u 477 512 377 30.7441.763 0.702 *bonehed.lcs.mit .GPS.1 u 165 512 377 33.115 -0.495 0.157 -hickory.cc.colu 128.59.39.48 2 u 482 512 377 30.9433.618 0.468 +time1.apple.com 17.72.133.55 2 u 465 512 377 54.5721.374 8.022 rrcs-24-103-228 18.26.4.105 2 u 505 512 377 34.623 -11.983 1.139 rrcs-24-103-228 .INIT. 16 u- 51200.0000.000 0.000 ...pay attention to the status in the first line, which in the above case reads "sync_ntp". I bet you're getting sync_unspec for your status. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD's UFS vs Ext4
On Monday 08 February 2010 21:19:01 Mihai Donțu wrote: > On Monday 08 February 2010 12:54:26 Pieter de Goeje wrote: > > > Even deleting a large file off that raid array I can > > > see a difference, prior to reformatting, i deleted a 190GB file off the > > > raid, under UFS the delete took quite some time (well over 10 seconds), > > > under ext4 the deletion of the same size file took about 3 seconds. > > > > File deletion speed is relevant how? > > It can be, depending on the workload. I (as a Linux user) moved from ext3 > to xfs, ignoring the warnings about file deletion [being slow]. Now I _kind > of_ regret it. Seems I have more than one program on my laptop that deletes > files (kmail's email-expiration thing comes to mind). I also work on a > project that creates large log files an deletes them (periodically). When > all these programs meet, I go for a coffee. :) I agree that file deletion speed can be important in normal usage scenarios. However my question was asked in the context of an FTP up or download, which does not involve deleting files. :-) -- Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Should root partition be first partition?
On Monday 08 February 2010 14:09:48 Peter Steele wrote: > I've set up a system with gpart and have the swap partition first followed > by root, var, and so on. This works fine but I've seen documents that > always have root first, then swap. Is there any reason that root should be > the first partition or can it follow swap space? It may partly be historical: old PCs couldn't boot from past 504MB due to the 1023 cylinder limitation so /boot had to be first on the disk. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NFSv4: mount -t nsf4 not the same as mount_newnfs?
On Mon, Feb 8, 2010 at 2:37 PM, Rick Macklem wrote: > ps: ZFS also has its own export stuff, but it is my understanding that >putting a line in /etc/exports is sufficient. I've never used ZFS, >so others will know more than I. > My understanding (from having used NFS and ZFS, haven't looked at the code) is that: The sharenfs property for a ZFS dataset gets written out to /etc/zfs/exports, which gets appended to the mountd command-line by default. Thus, you can use /etc/exports or sharenfs property, whichever is easier. # zfs get sharenfs storage/backup NAMEPROPERTY VALUE SOURCE storage/backup sharenfs -maproot=root 192.168.0.12 local # cat /etc/exports # cat /etc/zfs/exports # !!! DO NOT EDIT THIS FILE MANUALLY !!! /storage/backup -maproot=root 192.168.0.12 # pgrep -lf exports 1381 /usr/sbin/mountd -r -p 32000 /etc/exports /etc/zfs/exports -- Freddie Cash fjwc...@gmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Need help troubleshooting NIC
On Mon, Feb 08, 2010 at 04:24:39PM -0600, Adam Vande More wrote: > On Mon, Feb 8, 2010 at 1:19 PM, Mike Galvez wrote: > > > Over the weekend one my servers went down due to extended power failure. > > The file system reports clean, but something has gone sideways with > > networking. The server is a Dell 2950 running 7.0 release, and it's been > > working fine for well over a year. It uses the BCE driver. Ifconfig > > shows it to be up and active and configured with the correct IP, mask > > and gateway, but I can't ping anything. > > > > I've tested the ethernet connection with a nearby machine and it works. > > I also booted the 2950 from an Ubuntu live CD and the NIC worked, so i > > don't think it's a hardware issue. > > > > Is there a way I can rebuild the driver without having to rebuild the > > kernel? > > > > What does netstat -r show? > > -- > Adam Vande More > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" Adam, Thanks for the reply. netstat -r shows a segfault before it finishes. The machine is back online, but I beginning to think that maybe the nics are flaky after all. netstat -r Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultcarruthers1-all-ro UGS 0 498375 bce0 localhost localhost UH 0 270lo0 128.143.87.0 link#1 UC 00 bce0 carruthers1-all-ro 00:d0:05:34:40:00 UHLW20 bce0 1197 Segmentation fault -- Michael Galvez Information Technology Specialist University of Virginia ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NFSv4: mount -t nsf4 not the same as mount_newnfs?
On Mon, 8 Feb 2010, O. Hartmann wrote: So I guess the above one is the more 'transparent' one with respect to the future, when NFSv4 gets mature and its way as matured into the kernel? Yea, I'd only use "mount -t newnfs" if for some reason you want to test/use the experimental client for nfsv2,3 instead of the regular one. I tried the above and it works. But it seems, that only UFS2 filesystems can be mounted by the client. When trying mounting a filesystem residing on ZFS, it fails. Mounting works, but when try to access or doing a simple 'ls', I get ls: /backup: Permission denied On server side, /etc/exports looks like -- V4: / -sec=sys:krb5 #IPv4# /backup #IPv4# -- Is there still an issue with ZFS? For ZFS, everything from the "root" specified by the "V4:" line must be exported at this time. So, if "/" isn't exported, the above won't work for ZFS. You can either export "/" or move the NFSv4 root down to backup. For example, you could try: V4: /backup -sec=sys:krb5 /backup (assuming /backup is the ZFS volume) and then a mount like: mount -t nfs -o nfsv4 server:/ /mnt will mount /backup on /mnt rick ps: ZFS also has its own export stuff, but it is my understanding that putting a line in /etc/exports is sufficient. I've never used ZFS, so others will know more than I. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Need help troubleshooting NIC
On Mon, Feb 8, 2010 at 1:19 PM, Mike Galvez wrote: > Over the weekend one my servers went down due to extended power failure. > The file system reports clean, but something has gone sideways with > networking. The server is a Dell 2950 running 7.0 release, and it's been > working fine for well over a year. It uses the BCE driver. Ifconfig > shows it to be up and active and configured with the correct IP, mask > and gateway, but I can't ping anything. > > I've tested the ethernet connection with a nearby machine and it works. > I also booted the 2950 from an Ubuntu live CD and the NIC worked, so i > don't think it's a hardware issue. > > Is there a way I can rebuild the driver without having to rebuild the > kernel? > What does netstat -r show? -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Need help troubleshooting NIC
Over the weekend one my servers went down due to extended power failure. The file system reports clean, but something has gone sideways with networking. The server is a Dell 2950 running 7.0 release, and it's been working fine for well over a year. It uses the BCE driver. Ifconfig shows it to be up and active and configured with the correct IP, mask and gateway, but I can't ping anything. I've tested the ethernet connection with a nearby machine and it works. I also booted the 2950 from an Ubuntu live CD and the NIC worked, so i don't think it's a hardware issue. Is there a way I can rebuild the driver without having to rebuild the kernel? -- Michael Galvez Information Technology Specialist University of Virginia ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NFSv4: mount -t nsf4 not the same as mount_newnfs?
On Mon, 8 Feb 2010, O. Hartmann wrote: Oh, and you should set: sysctl vfs.newnfs.locallocks_enable=0 in the server, since I haven't fixed the local locking yet. (This implies that apps/daemons running locally on the server won't see byte range locks performed by NFSv4 clients.) However, byte range locking between NFSv4 clients should work ok. Interesting, I see a lot of vfs.newfs-stuff on server-side, but not this specific OID. Do I miss something here? Oops, make that vfs.newnfs.enable_locallocks=0 rick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: Updating packages in Jails
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Adam Vande More Sent: Monday, February 08, 2010 3:28 PM To: Jason Cc: Richard L. Houston; freebsd-questions@freebsd.org Subject: Re: Updating packages in Jails On Mon, Feb 8, 2010 at 3:15 PM, Jason wrote: > Use this as a starting point >> >> http://www.freebsd.org/doc/handbook/jails.html >> >> Anyways, host and jail need to run the exact same kernel. Normally I'll >> build my kernel and install it into the base as well as each individual >> jail >> so everything is consistent. >> > > Why do they need to run the exact same kernel? I didn't see that anywhere > in > the document, unless I missed it. > > thanks > They aren't a full form of visualization in terms of having a hypervisor, as it is dependent the system calls coming from a jail being the same calls that are present in the host kernel. Mismatched kernel version could break that mapping. Which is also why jails are a faster form of virtualization because all the call mappings are 1:1. At least that's my understanding. Question: Hopefully this isn't considered a hijack, but what are the *main* diffs between jails and vm's? I've never worked with jails but read about them several times. Do they allow controlling of CPU cycles, Memory regions, etc. in the same manner as the file system(s) and network? Asked another way, what are some Usage cases where jails would be equal or more appropriate than full on vm's and vice-versa. We use vm's quite extensively and I'm wondering of some of these can be done in jails instead. TIA! Gary PS: Note - no top posting this time! "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
afp+freebsd
Hi, Okay, I just met a wierd thing, I have a local fbsd server with afp running on it, it works great with user "A" but with user "B" i can not connect with Finder and gives me the error: "There are no shares available or you are not allowed to access them on the server" I checked the permissions for the user's home dir, they own their local dir, and also done a chown -R user_A:user_A home_dir Both of the users are on my local fbsd using the same parameters, do you have any idea why is user "B" not working? Thank you! László ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problem building GCC - Postfix install from ports failed
On Mon, Feb 8, 2010 at 3:59 PM, Danny Edge wrote: > I was advised to try this again. New install FreeBSD 7.2 R, installing > Postfix from cd /usr/ports/mail/postfix && make install clean > > I receive the following error near the end of the install: > > checking whether -fkeep-inline-functions is supported... yes > updating cache ./config.cache > creating ./config.status > creating Makefile > ===> Building for gcc-4.2.5_20090325 > cd ./..//gcc-4.2-20090325 && autogen Makefile.def > autogen: not found > gmake: *** [..//gcc-4.2-20090325/Makefile.in] Error 127 > *** Error code 1 > > Stop in /usr/ports/lang/gcc42. > *** Error code 1 > > Stop in /usr/ports/mail/addresses. > *** Error code 1 > > Stop in /usr/ports/mail. > mx# > I guess gcc42 requires /usr/ports/devel/autogen Looks like the port is missing a dependency for some reason. Try installing that port, and resume your gcc build. If it works you could file a bug report. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Problem building GCC - Postfix install from ports failed
I was advised to try this again. New install FreeBSD 7.2 R, installing Postfix from cd /usr/ports/mail/postfix && make install clean I receive the following error near the end of the install: checking whether -fkeep-inline-functions is supported... yes updating cache ./config.cache creating ./config.status creating Makefile ===> Building for gcc-4.2.5_20090325 cd ./..//gcc-4.2-20090325 && autogen Makefile.def autogen: not found gmake: *** [..//gcc-4.2-20090325/Makefile.in] Error 127 *** Error code 1 Stop in /usr/ports/lang/gcc42. *** Error code 1 Stop in /usr/ports/mail/addresses. *** Error code 1 Stop in /usr/ports/mail. mx# Here is my dmesg output: Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 12:21:39 UTC 2009 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Sempron(tm) 2400+ (1666.49-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Features=0x383fbff AMD Features=0xc0480800 real memory = 536084480 (511 MB) avail memory = 510578688 (486 MB) ACPI APIC Table: MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, 1ff0 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 agp0: aperture size is 128M pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xd000-0xd0ff mem 0xb000-0xb7ff,0xfe20-0xfe20 irq 16 at device 0.0 on pci1 vgapci1: mem 0xa800-0xafff,0xfe00-0xfe00 at device 0.1 on pci1 skc0: port 0xe400-0xe4ff mem 0xfe90-0xfe903fff irq 18 at device 9.0 on pci0 skc0: Marvell Yukon Lite Gigabit Ethernet rev. A3(0x7) sk0: on skc0 sk0: Ethernet address: 00:11:2f:b9:91:f2 miibus0: on sk0 e1000phy0: PHY 0 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto skc0: [ITHREAD] atapci0: port 0xeff0-0xeff7,0xefe4-0xefe7,0xefa8-0xefaf,0xefe0-0xefe3,0xef90-0xef9f,0xe800-0xe8ff irq 20 at device 15.0 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] uhci0: port 0xeec0-0xeedf irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xef00-0xef1f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xef20-0xef3f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xef40-0xef5f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xfea0-0xfea000ff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 acpi_button0: on acpi0 acpi_button1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] cpu0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc-0xccfff pnpid ORM on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter "TSC" frequency 1666490696 Hz quality 800 Timecounters tick every 1.000 msec ad0: 39266MB at ata0-master UDMA100 ad1: 114473MB at ata0-slave UDMA100 acd0: DVDR at ata1-master UDMA33 ad4: 152627MB at ata2-master SATA150 GEOM_LABEL: Label for prov
Re: Updating packages in Jails
On Mon, Feb 8, 2010 at 3:15 PM, Jason wrote: > Use this as a starting point >> >> http://www.freebsd.org/doc/handbook/jails.html >> >> Anyways, host and jail need to run the exact same kernel. Normally I'll >> build my kernel and install it into the base as well as each individual >> jail >> so everything is consistent. >> > > Why do they need to run the exact same kernel? I didn't see that anywhere > in > the document, unless I missed it. > > thanks > They aren't a full form of visualization in terms of having a hypervisor, as it is dependent the system calls coming from a jail being the same calls that are present in the host kernel. Mismatched kernel version could break that mapping. Which is also why jails are a faster form of virtualization because all the call mappings are 1:1. At least that's my understanding. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [WORKAROUND] Re: /usr/ports/x11-toolkits/qt33: /usr/bin/ld: warning: libjpeg.so.10, needed by /usr/local/lib/libqt-mt.so, not found (try using -rpath or -rpath-link)
Ion-Mihai Tetcu wrote: > On Sat, 06 Feb 2010 11:13:08 +0100 > "O. Hartmann" wrote: > >> Since yesterday's portsnape and attempt updating my ports, ALL >> FreeBSD boxes (running FreeBSD 8.0/amd64) fail to update ports via >> 'portmaster -av' at the same point with the following error. >> >> It seems that that port jpeg-8 has been updated and now offering >> libjpeg.so.11 instead of the desired old libjpeg.so.10, so I guess >> everything depending on port jpeg-8 needs to be rebuild - but >> ports/UPDATE does not reflect this. >> >> c++ -fno-exceptions -Wl,-rpath,/usr/local/lib >> -Wl,-rpath,/usr/local/lib -pthread -o ../../../bin/uic >> .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o >> .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o >> .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o >> .obj/release-shared-mt/widgetdatabase.o >> .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o >> -L/usr/local/lib -L/usr/local/lib > > ^^^ > >> -L/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib >> -L/usr/local/lib -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender >> -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext >> -lX11 -lm -lSM -lICE >> /usr/bin/ld: warning: libjpeg.so.10, needed by >> /usr/local/lib/libqt-mt.so, not found (try using -rpath or >> -rpath-link) /usr/local/lib/libqt-mt.so: undefined reference to >> `jpeg_start_decompr...@libjpeg_7.0' > > > That above it's the problem, kde team is aware of it. > > For the moment the workaround, when you get to this, is to: > mv /usr/local/lib/libqt-mt.so /usr/local/lib/libqt-mt.so.old && \ > cd /usr/ports/x11-toolkits/qt33/ && make && \ > mv /usr/local/lib/libqt-mt.so.old /usr/local/lib/libqt-mt.so && \ > portmaster -C x11-toolkits/qt33 > > > I did this yesterday while under KDE3 without problems. it ssems to be the workaround from UPDATING , | > 20100205: | > AFFECTS: users of qt 3 and kde 3 | > AUTHOR: ite...@freebsd.org | > | > When building qt33 and kdelibs3 (at least), while they are installed, because | > of -L/usr/local/lib being passed too soon, the currently installed libs are | > used instead of the ones from the build. This makes the build fail if you | > updated any of the libs this qt / kde libs are linked against (like libjpeg). | > | > For the moment the workaround, when you get to this, is to move the old lib | > out of the way, e.g.: | > mv /usr/local/lib/libqt-mt.so /usr/local/lib/libqt-mt.so.old && \ | > cd /usr/ports/x11-toolkits/qt33/ && make && \ | > mv /usr/local/lib/libqt-mt.so.old /usr/local/lib/libqt-mt.so && \ | > portmaster -C x11-toolkits/qt33 | > (or portupgrade -w qt-33\*), etc. ` Has to do with the jpeg update, like writtebn in the discusuion "massive portpgrade" Now my question: Am I the weird kid, if i do NOT have some problems? My qt und kde kompiled fine. No problems. DO Ihave to do the step, mentioned above? Heino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Updating packages in Jails
Use this as a starting point http://www.freebsd.org/doc/handbook/jails.html Anyways, host and jail need to run the exact same kernel. Normally I'll build my kernel and install it into the base as well as each individual jail so everything is consistent. Why do they need to run the exact same kernel? I didn't see that anywhere in the document, unless I missed it. thanks Also check out /usr/ports/sysutils/ezjail -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Updating packages in Jails
On Mon, Feb 8, 2010 at 2:35 PM, Richard L. Houston wrote: > Hi everyone, > > First off I am new to FreeBSD. I use Linux professorially and really > looking forward to getting some FreeBSD boxes in production as well. My > apologies if my questions are noobish and I have tried Googling for some of > them but with limited results so I figure I would ask for help from the > Alpha dogs of FreeBSD on this list. > > So with hat in had I humbly request help in managing jails. I have set up a > FreeBSD 8.0 install and patched it with freebsd-update. I then created a > jail based on the instructions from the latest BSDMagazine. It seems to work > great. Now my issue come in once I try to update the Jail with > Freebsd-update. FYI, I installed the jail from sysinstall using the minimal > distribution option. when I run Freebsd-update I was getting: > > Installing updates...chflags: ///libexec/ld-elf.so.1: Operation not > permitted > > but after restarting the jail I now get "Cannot identify running kernel" > The Apache server running on the jail seems to be working fine as is the ssh > server. Any thought on this issue? Is there a preferred way to update the > jail env? Remember, noob here, please go easy on me. :) > > Also is there issues with mixing the install of ports from source and via > pkg_add? Good / bad to mix or no big deal. This is more of a general > knowledge question, not implying I would be mixing the two types :) > > Thanks all and look forward to being a part of the FreeBSD community. > Use this as a starting point http://www.freebsd.org/doc/handbook/jails.html Anyways, host and jail need to run the exact same kernel. Normally I'll build my kernel and install it into the base as well as each individual jail so everything is consistent. Also check out /usr/ports/sysutils/ezjail -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Updating packages in Jails
Hi everyone, First off I am new to FreeBSD. I use Linux professorially and really looking forward to getting some FreeBSD boxes in production as well. My apologies if my questions are noobish and I have tried Googling for some of them but with limited results so I figure I would ask for help from the Alpha dogs of FreeBSD on this list. So with hat in had I humbly request help in managing jails. I have set up a FreeBSD 8.0 install and patched it with freebsd-update. I then created a jail based on the instructions from the latest BSDMagazine. It seems to work great. Now my issue come in once I try to update the Jail with Freebsd-update. FYI, I installed the jail from sysinstall using the minimal distribution option. when I run Freebsd-update I was getting: Installing updates...chflags: ///libexec/ld-elf.so.1: Operation not permitted but after restarting the jail I now get "Cannot identify running kernel" The Apache server running on the jail seems to be working fine as is the ssh server. Any thought on this issue? Is there a preferred way to update the jail env? Remember, noob here, please go easy on me. :) Also is there issues with mixing the install of ports from source and via pkg_add? Good / bad to mix or no big deal. This is more of a general knowledge question, not implying I would be mixing the two types :) Thanks all and look forward to being a part of the FreeBSD community. ++ Best regards, -Richard Houston -R.L.H. Consulting -E-Mail rhous...@rlhc.net -WWW http://www.rlhc.net -Blog http://www.rlhc.net/blog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD's UFS vs Ext4
On Mon, Feb 8, 2010 at 2:57 PM, Jerry McAllister wrote: > On Mon, Feb 08, 2010 at 03:12:25PM -0500, Derek Buttineau wrote: > > > On 2010-02-08, at 2:58 PM, Chad Perrin wrote: > > > > > Can you provide a URL for some discussion of this? I hadn't heard that > > > FreeBSD was moving to Clang. > > > > > > Here's last year's status report where they talk about it: > > > > http://lists.freebsd.org/pipermail/freebsd-stable/2009-May/049873.html > > > > This one looks a little more definitive, but it still uses the > term 'exploring' rather than saying it is decided.So, keep > listening. > > jerry > http://www.freebsdnews.net/2009/10/15/clang-llvm-support-on-freebsd/ It's also been talked about on other lists eg current with growing frequency. I seem to remember hearing they hoped for it to be ready as an option for 9.0, although my memory may not be correct on that. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD's UFS vs Ext4
On Mon, Feb 08, 2010 at 03:12:25PM -0500, Derek Buttineau wrote: > On 2010-02-08, at 2:58 PM, Chad Perrin wrote: > > > Can you provide a URL for some discussion of this? I hadn't heard that > > FreeBSD was moving to Clang. > > > Here's last year's status report where they talk about it: > > http://lists.freebsd.org/pipermail/freebsd-stable/2009-May/049873.html > This one looks a little more definitive, but it still uses the term 'exploring' rather than saying it is decided.So, keep listening. jerry > It was also in a presentation at BSDCan last year. > > -- > Regards, > > Derek Buttineau > Internet Systems Developer > Compu-SOLVE Internet Services > Compu-SOLVE Technologies, Inc > > Phone: 705-725-1212 x255 > E-Mail: de...@csolve.net > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD's UFS vs Ext4
On Mon, Feb 08, 2010 at 01:11:26PM -0700, Ben Schumacher wrote: > On Mon, Feb 8, 2010 at 12:58 PM, Chad Perrin wrote: > > Can you provide a URL for some discussion of this? I hadn't heard that > > FreeBSD was moving to Clang. > > A quick search yielded these links: > > http://wiki.freebsd.org/BuildingFreeBSDWithClang > http://www.linuxtoday.com/developer/2009051100335NWBD Interesting, but there is nothing in those that indicates an official direction for FreeBSD. Just that some people are doing some work on it for some reason. Doesn't mean it won't become the official direction at some future time either. Whatever 'official' means. jerry > > Cheers, > Ben > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD's UFS vs Ext4
On 2010-02-08, at 2:58 PM, Chad Perrin wrote: > Can you provide a URL for some discussion of this? I hadn't heard that > FreeBSD was moving to Clang. Here's last year's status report where they talk about it: http://lists.freebsd.org/pipermail/freebsd-stable/2009-May/049873.html It was also in a presentation at BSDCan last year. -- Regards, Derek Buttineau Internet Systems Developer Compu-SOLVE Internet Services Compu-SOLVE Technologies, Inc Phone: 705-725-1212 x255 E-Mail: de...@csolve.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD's UFS vs Ext4
On Monday 08 February 2010 12:54:26 Pieter de Goeje wrote: > > Even deleting a large file off that raid array I can > > see a difference, prior to reformatting, i deleted a 190GB file off the > > raid, under UFS the delete took quite some time (well over 10 seconds), > > under ext4 the deletion of the same size file took about 3 seconds. > > File deletion speed is relevant how? > It can be, depending on the workload. I (as a Linux user) moved from ext3 to xfs, ignoring the warnings about file deletion [being slow]. Now I _kind of_ regret it. Seems I have more than one program on my laptop that deletes files (kmail's email-expiration thing comes to mind). I also work on a project that creates large log files an deletes them (periodically). When all these programs meet, I go for a coffee. :) -- Mihai Donțu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD's UFS vs Ext4
On Mon, Feb 8, 2010 at 12:58 PM, Chad Perrin wrote: > Can you provide a URL for some discussion of this? I hadn't heard that > FreeBSD was moving to Clang. A quick search yielded these links: http://wiki.freebsd.org/BuildingFreeBSDWithClang http://www.linuxtoday.com/developer/2009051100335NWBD Cheers, Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Should root partition be first partition?
On 2/8/10, Jerry McAllister wrote: > On Mon, Feb 08, 2010 at 02:37:30PM -0500, b. f. wrote: > >> > You can even >> >leave gaps between partitions if you want, but that is pretty crazy >> >since it just wastes some of the available space. >> > >> >There have been quite a lot of recommendations on how to lay out a disk >> >for best performance, based on the observation that disk access times >> >vary depending on how far away the data is from the spindle, and the >> >expected usage patterns for the partition. Like any such advice, it >> >has tended to become less valid over time. Modern disks really don't >> >have any physical meaning to the Cylinder/Head/Sector style addressing >> >schemes[*] nowadays -- and you're pretty much bound to be using LBA >> >style addressing anyhow. Also, machines nowadays have so much RAM that >> >(a) swap is hardly ever used and (b) access to popular files is >> >frequently answered out of VM caches rathe than needing disk IO. >> >> >> Layout is still important, and leaving some blank space may not be so >> crazy. Here I'm thinking not so much of ordering (although one would >> probably be best served by the recommended default ordering), but of >> alignment, size, raid/stripe/concat configuration, and file system >> block and fragment size selection. Witness the (as much as tenfold) >> performance difference from simple changes, highlighted in the recent >> thread entitled 'File system blocks alignment' on freebsd-arch@ during >> December 2009 - January 2010, beginning with: >> >> http://lists.freebsd.org/pipermail/freebsd-arch/2009-December/009770.html >> >> If you're laying out a new disk, you may as well take a few minutes >> and get the most out of it, even if you're not going to invest in a >> lot of new hardware. > > The system nowdays does all that figuring for you and manages > boundaries reasonably. > > jerry > That does not seem to be the conclusion of those who contributed to the thread I cited, although "reasonably" is open to interpretation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: portupgrade
I resolve that problem, by the handbook I added 0 3 * * * root portsnap -I cron update && pkg_version -vIL= Now it works awesome! From: Warren Block To: b. f. Cc: freebsd-questions@FreeBSD.org; Dánielisz László Sent: Mon, February 8, 2010 9:03:39 PM Subject: Re: portupgrade On Mon, 8 Feb 2010, b. f. wrote: >> This can happen if the ports tree or index file is outdated. >> csup/portsnap, run pkgdb -Fu, and try it again. > > I think you meant 'portsdb -Fu'. The pkgtools often run 'pkgdb -u' > and 'pkgdb -aF' automatically, and a full-blown 'pkgdb -F' or 'pkgdb > -L' usually isn't required unless there is an error, although in most > cases it wouldn't do any harm. Doh, that's correct--portsdb. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD's UFS vs Ext4
On Mon, Feb 08, 2010 at 03:00:00PM +, Frank Shute wrote: > > AFAIK, the system compiler is going to be clang in the future and for > ports you'll install a compiler from ports. Can you provide a URL for some discussion of this? I hadn't heard that FreeBSD was moving to Clang. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpVmwOwjAumb.pgp Description: PGP signature
Re: Should root partition be first partition?
On Mon, Feb 08, 2010 at 02:37:30PM -0500, b. f. wrote: > > You can even > >leave gaps between partitions if you want, but that is pretty crazy > >since it just wastes some of the available space. > > > >There have been quite a lot of recommendations on how to lay out a disk > >for best performance, based on the observation that disk access times > >vary depending on how far away the data is from the spindle, and the > >expected usage patterns for the partition. Like any such advice, it > >has tended to become less valid over time. Modern disks really don't > >have any physical meaning to the Cylinder/Head/Sector style addressing > >schemes[*] nowadays -- and you're pretty much bound to be using LBA > >style addressing anyhow. Also, machines nowadays have so much RAM that > >(a) swap is hardly ever used and (b) access to popular files is > >frequently answered out of VM caches rathe than needing disk IO. > > > Layout is still important, and leaving some blank space may not be so > crazy. Here I'm thinking not so much of ordering (although one would > probably be best served by the recommended default ordering), but of > alignment, size, raid/stripe/concat configuration, and file system > block and fragment size selection. Witness the (as much as tenfold) > performance difference from simple changes, highlighted in the recent > thread entitled 'File system blocks alignment' on freebsd-arch@ during > December 2009 - January 2010, beginning with: > > http://lists.freebsd.org/pipermail/freebsd-arch/2009-December/009770.html > > If you're laying out a new disk, you may as well take a few minutes > and get the most out of it, even if you're not going to invest in a > lot of new hardware. The system nowdays does all that figuring for you and manages boundaries reasonably. jerry > > b. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD's UFS vs Ext4
On Mon, Feb 08, 2010 at 10:01:05AM +1100, alex wrote: > Frank Shute wrote: > >On Mon, Feb 08, 2010 at 01:41:29AM +1100, alex wrote: > > > >>I see a number of factors putting freebsd behind: > >> > >>* The teams stubbornness with compiler/base tools (wont move away from > >>gcc 4.2.1 because they just cant accept the GPL2) > > > >They don't like the license, that's not stubbornness. > > Wow thats a good reason to use ancient compilers and assemblers. Sometimes, license choice *is* a good reason to make some sacrifices in short-term convenience. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpYUxr0eiWEh.pgp Description: PGP signature
Re: portupgrade
On Mon, 8 Feb 2010, b. f. wrote: This can happen if the ports tree or index file is outdated. csup/portsnap, run pkgdb -Fu, and try it again. I think you meant 'portsdb -Fu'. The pkgtools often run 'pkgdb -u' and 'pkgdb -aF' automatically, and a full-blown 'pkgdb -F' or 'pkgdb -L' usually isn't required unless there is an error, although in most cases it wouldn't do any harm. Doh, that's correct--portsdb. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Should root partition be first partition?
> You can even >leave gaps between partitions if you want, but that is pretty crazy >since it just wastes some of the available space. > >There have been quite a lot of recommendations on how to lay out a disk >for best performance, based on the observation that disk access times >vary depending on how far away the data is from the spindle, and the >expected usage patterns for the partition. Like any such advice, it >has tended to become less valid over time. Modern disks really don't >have any physical meaning to the Cylinder/Head/Sector style addressing >schemes[*] nowadays -- and you're pretty much bound to be using LBA >style addressing anyhow. Also, machines nowadays have so much RAM that >(a) swap is hardly ever used and (b) access to popular files is >frequently answered out of VM caches rathe than needing disk IO. Layout is still important, and leaving some blank space may not be so crazy. Here I'm thinking not so much of ordering (although one would probably be best served by the recommended default ordering), but of alignment, size, raid/stripe/concat configuration, and file system block and fragment size selection. Witness the (as much as tenfold) performance difference from simple changes, highlighted in the recent thread entitled 'File system blocks alignment' on freebsd-arch@ during December 2009 - January 2010, beginning with: http://lists.freebsd.org/pipermail/freebsd-arch/2009-December/009770.html If you're laying out a new disk, you may as well take a few minutes and get the most out of it, even if you're not going to invest in a lot of new hardware. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Xorg question with Dell Inspiron 1764
I would recommend against Dell without seriously investigating the hardware on the system you are interested in. I needed a system and in an emergency and did not want to wait for shipping (silly me). The system is an Inspiron 1764. If anyone has an xorg.conf file for this system, it would be greatly appreciated. My system is FreeBSD 8.0. FreeBSD localhost 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Feb 5 16:58:16 EST 2010 root@:/usr/obj/usr/src/sys/MNEME amd64 I have installed the current package for xorg-7.4_2. The monitor/controller from pciconf -lvc: vgap...@pci0:0:2:0: class=0x03 card=0x04341028 chip=0x00468086 rev=0x12 hdr=0x00 vendor = 'Intel Corporation' class = display subclass = VGA cap 05[90] = MSI supports 1 message cap 01[d0] = powerspec 2 supports D0 D3 current D0 cap 13[a4] = PCI Advanced Features: FLR TP startx and Xorg -configure give the same error[s]: (II) VESA(0): VESA VBE DDC read successfully (II) VESA(0): Manufacturer: AUO Model: 109e Serial#: 0 (II) VESA(0): Year: 2009 Week: 1 (II) VESA(0): EDID Version: 1.3 (II) VESA(0): Digital Display Input (II) VESA(0): Max Image Size [cm]: horiz.: 38 vert.: 21 (II) VESA(0): Gamma: 2.20 (II) VESA(0): No DPMS capabilities specified (II) VESA(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 (II) VESA(0): First detailed timing is preferred mode (II) VESA(0): redX: 0.620 redY: 0.340 greenX: 0.325 greenY: 0.570 (II) VESA(0): blueX: 0.150 blueY: 0.060 whiteX: 0.313 whiteY: 0.329 (II) VESA(0): Manufacturer's mask: 0 (II) VESA(0): Supported additional Video Mode: (II) VESA(0): clock: 106.0 MHz Image Size: 382 x 214 mm (II) VESA(0): h_active: 1600 h_sync: 1648 h_sync_end 1680 h_blank_end 1928 h_border: 0 (II) VESA(0): v_active: 900 v_sync: 903 v_sync_end 909 v_blanking: 912 v_border: 0 (II) VESA(0): Supported additional Video Mode: (II) VESA(0): clock: 106.0 MHz Image Size: 382 x 214 mm (II) VESA(0): h_active: 1600 h_sync: 1648 h_sync_end 1680 h_blank_end 1928 h_border: 0 (II) VESA(0): v_active: 900 v_sync: 903 v_sync_end 909 v_blanking: 912 v_border: 0 (II) VESA(0): 4PG9N<80>B173RW1 (WW) VESA(0): Unknown vendor-specific block 0 (II) VESA(0): EDID (in hex): (II) VESA(0): 000006af9e10 (II) VESA(0): 01130103902615780ac4959e57539226 (II) VESA(0): 0f50540001010101010101010101 (II) VESA(0): 0101010101016829404861840c303020 (II) VESA(0): 36007ed6101a6829404861840c30 (II) VESA(0): 302036007ed6101a00fe0034 (II) VESA(0): 5047394e8042313733525731 (II) VESA(0): 0002010a202000d2 (II) VESA(0): EDID vendor "AUO", prod id 4254 (II) VESA(0): Printing DDC gathered Modelines: (II) VESA(0): Modeline "1600x900"x0.0 106.00 1600 1648 1680 1928 900 903 909 912 +hsync -vsync (55.0 kHz) (II) VESA(0): Modeline "1600x900"x0.0 106.00 1600 1648 1680 1928 900 903 909 912 +hsync -vsync (55.0 kHz) (II) VESA(0): Searching for matching VESA mode(s): : (II) VESA(0): Monitor0: Using hsync value of 54.98 kHz (II) VESA(0): Monitor0: Using vrefresh value of 60.28 Hz (WW) VESA(0): Unable to estimate virtual size (II) VESA(0): Not using built-in mode "1024x768" (no mode of this name) (II) VESA(0): Not using built-in mode "800x600" (no mode of this name) (II) VESA(0): Not using built-in mode "640x480" (no mode of this name) (WW) VESA(0): No valid modes left. Trying less strict filter... (II) VESA(0): Monitor0: Using hsync value of 54.98 kHz (II) VESA(0): Monitor0: Using vrefresh value of 60.28 Hz (WW) VESA(0): Unable to estimate virtual size (II) VESA(0): Not using built-in mode "1024x768" (hsync out of range) (II) VESA(0): Not using built-in mode "800x600" (hsync out of range) (II) VESA(0): Not using built-in mode "640x480" (hsync out of range) (EE) VESA(0): No valid modes (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (II) UnloadModule: "vesa" (II) UnloadModule: "int10" (II) Unloading /usr/local/lib/xorg/modules//libint10.so (II) UnloadModule: "vbe" (II) Unloading /usr/local/lib/xorg/modules//libvbe.so (EE) Screen(s) found, but none have a usable configuration. I have tried the intel driver (it does not recognize the device), the i810 driver (not found). With the vesa driver I have tried supplying the 1024x768 and 1600x900 modes in all depths and supplying a range for hsync and vsync that includes the scanned values. Thanks for any pointers DougD _ Douglas Denault http://www.safeport.com d...@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org
Re: Follow Up Question On Upgrading And Ports
On 2/8/2010 12:30 PM, Matthew Seaman wrote: > On 08/02/2010 17:38, Tim Daneliuk wrote: >> My ordinary practice with production FreeBSD machines is to: >> >> - Regularly (weekly), update the sources, rebuild and reinstall world >> and kernels. > > This implies you're running one of the -STABLE branches, rather than > -RELEASE: updates to -RELEASE happen much less frequently than weekly... > >> - Regularly (several times a week), do a 'portupgrade -arR' >> >> - Somewhat frequently do a 'pkgdb -F' >> >> IOW, I keep the OS, kernels, and ports fairly up-to-date. > > Yep. It's good to do that, although your methodology would be pretty > hard to cope with on any more than a few machines. Yup, 'tis -stable. And, no, I wouldn't do a farm of machines this way. For that, I wrote/use this: http://www.tundraware.com/Software/tbku/ Matthew & Lowell - thanks for taking the time ... Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: portupgrade
>This can happen if the ports tree or index file is outdated. >csup/portsnap, run pkgdb -Fu, and try it again. I think you meant 'portsdb -Fu'. The pkgtools often run 'pkgdb -u' and 'pkgdb -aF' automatically, and a full-blown 'pkgdb -F' or 'pkgdb -L' usually isn't required unless there is an error, although in most cases it wouldn't do any harm. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: net/samba34: after upgrade from samba33 -> samba34 no client can connect to samba34-server anymore!
On 02/08/10 16:03, jhell wrote: On Mon, 8 Feb 2010 06:43, ohartman@ wrote: After upgrading from samba33 to samba34 from most recent ports, no Windows_XP and Windows_7 client is capable of connecting to the samba server anymore! I use the same config as before, did a testparm (it shows this ahaead: Load smb config files from /usr/local/etc/smb.conf max_open_files: sysctl_max (11095) below minimum Windows limit (16384) rlimit_max: rlimit_max (11095) below minimum Windows limit (16384) ). I have no idea what's going wrong. The authentication is done via LDAP. Using samab33 works without problem. Regards, Oliver Add to /boot/loader.conf: kern.maxfiles="16384" Reboot. As for the rlimit sysctl I have no clue which sysctl configures that but seeing as they are of both the same value I would assume that it might be auto configured by maxfiles. Best of luck and let us know how it turned out. Thanks. Oliver -- Oliver Hartmann Freie Universitaet Berlin Planetologie und Fernerkundung Malteserstr. 74 - 100/Haus D D-12249 Berlin Tel.: +49 (0) 30 838 70 508 FAX: +49 (0) 30 838 70 539 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Follow Up Question On Upgrading And Ports
Tim Daneliuk writes: > 3) If I do an in-place upgrade to 8.x (I'll probably wait until 8.1) >and immediately follow it with a 'portupgrade -arR', will I be >guaranteed that every port will be migrated to the very latest >8.x libs? You want 'portupgrade -af' instead. [You can add the 'rR' if you like, but they're redundant with '-a'.] -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Follow Up Question On Upgrading And Ports
On 08/02/2010 17:38, Tim Daneliuk wrote: > My ordinary practice with production FreeBSD machines is to: > > - Regularly (weekly), update the sources, rebuild and reinstall world > and kernels. This implies you're running one of the -STABLE branches, rather than -RELEASE: updates to -RELEASE happen much less frequently than weekly... > - Regularly (several times a week), do a 'portupgrade -arR' > > - Somewhat frequently do a 'pkgdb -F' > > IOW, I keep the OS, kernels, and ports fairly up-to-date. Yep. It's good to do that, although your methodology would be pretty hard to cope with on any more than a few machines. > However, per the thread on the proper updating method a few days ago, > I just ran 'make delete-old' and 'make delete-old-libs' for the > first time ever. After a reboot the system started grumbling about > not being able to find libssl.so.4. I reinstalled the compat5,6,7 ports > and all is well again. Running 'make delete-old-libs' seems to no longer > want to get rid of libssl.so.4. make delete-old-libs will blow away /usr/lib/libssl.so.X, but the compat ports will provide /usr/local/lib/compat/libssl.so.X > This leads to my questions: > > 1) With all the regular portupgrades I do, why is libssl.so.4 even >being used any more? Isn't this a relic from the FBSD 4.x branch? No -- libssl.so.4 would be from RELENG_6. RELENG_8 provides libssl.so.6, and the ports version of OpenSSL (and presumably 9-CURRENT too) has libssl.so.7 It's libc.so where the ABI version number is the same as the OS major version number. Other shlibs in base can have completely different ABI version numbers. > 2) Why did the initial 'make delete-old-libs' clobber this file, >but after the compat reinstalls, the same command no longer cares? Compat libs are in a different location under /usr/local. > 3) If I do an in-place upgrade to 8.x (I'll probably wait until 8.1) >and immediately follow it with a 'portupgrade -arR', will I be >guaranteed that every port will be migrated to the very latest >8.x libs? Every port that is capable of being built from source, yes: some binary blobs may still need compat versions of shlibs. diablo-jdk comes to mind as a good example (needs compat7x). nvidia-driver-173 needs compat5x on my machine. However, such binary blobs are the exception rather than the rule. Rebuilding all your ports is difficult and time-consuming, but it pays off in easier future maintenance, improved performance and better stability. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard, Flat 3 Black Earth Consulting Ramsgate Kent, CT11 9PW Free and Open Source Solutions Tel: +44 (0)1843 580647 signature.asc Description: OpenPGP digital signature
Follow Up Question On Upgrading And Ports
My ordinary practice with production FreeBSD machines is to: - Regularly (weekly), update the sources, rebuild and reinstall world and kernels. - Regularly (several times a week), do a 'portupgrade -arR' - Somewhat frequently do a 'pkgdb -F' IOW, I keep the OS, kernels, and ports fairly up-to-date. However, per the thread on the proper updating method a few days ago, I just ran 'make delete-old' and 'make delete-old-libs' for the first time ever. After a reboot the system started grumbling about not being able to find libssl.so.4. I reinstalled the compat5,6,7 ports and all is well again. Running 'make delete-old-libs' seems to no longer want to get rid of libssl.so.4. This leads to my questions: 1) With all the regular portupgrades I do, why is libssl.so.4 even being used any more? Isn't this a relic from the FBSD 4.x branch? 2) Why did the initial 'make delete-old-libs' clobber this file, but after the compat reinstalls, the same command no longer cares? 3) If I do an in-place upgrade to 8.x (I'll probably wait until 8.1) and immediately follow it with a 'portupgrade -arR', will I be guaranteed that every port will be migrated to the very latest 8.x libs? Thanks, -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NFSv4: mount -t nsf4 not the same as mount_newnfs?
On 02/08/10 15:01, Rick Macklem wrote: On Mon, 8 Feb 2010, O. Hartmann wrote: Mounting the filessystem via mount_newnfs host:/path /path works fine, but not mount -t nfs4 host:/path /path. The mount command can be either: mount -t nfs -o nfsv4 host:/path /path or mount -t newnfs -o nfsv4 host:/path /path (The above was what the old now removed nfs4 used.) Have fun with it, rick So I guess the above one is the more 'transparent' one with respect to the future, when NFSv4 gets mature and its way as matured into the kernel? I tried the above and it works. But it seems, that only UFS2 filesystems can be mounted by the client. When trying mounting a filesystem residing on ZFS, it fails. Mounting works, but when try to access or doing a simple 'ls', I get ls: /backup: Permission denied On server side, /etc/exports looks like -- V4: / -sec=sys:krb5 #IPv4# /backup #IPv4# -- Is there still an issue with ZFS? Regards, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NFSv4: mount -t nsf4 not the same as mount_newnfs?
On 02/08/10 15:08, Rick Macklem wrote: On Mon, 8 Feb 2010, O. Hartmann wrote: Mounting the filessystem via mount_newnfs host:/path /path Oh, and you should set: sysctl vfs.newnfs.locallocks_enable=0 in the server, since I haven't fixed the local locking yet. (This implies that apps/daemons running locally on the server won't see byte range locks performed by NFSv4 clients.) However, byte range locking between NFSv4 clients should work ok. rick ___ freebsd-sta...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" Interesting, I see a lot of vfs.newfs-stuff on server-side, but not this specific OID. Do I miss something here? Regards, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Can loader.conf give you NATD support?
On Mon, Feb 08, 2010 at 08:39:14AM -0700, Warren Block wrote: > On Mon, 8 Feb 2010, John wrote: > > > The natd man page says it is still necessary to create a customer > > kernl with > > > > options IPFIREWALL > > options IPDIVERT > > > > Is that still true, or can it be accomplished vi a loader.conf? > > It's a kernel option, so you probably can't do it at runtime. > > Consider using pf instead of ipfw. pf does NAT without needing natd or > those kernel options. Oh. OK! That must be new since the last time I did this. Will it be difficult to port my ipfw and natd rules to pf? > -Warren Block * Rapid City, South Dakota USA > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- John Lind j...@starfire.mn.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: The first file loaded is?
On Mon, Feb 08, 2010 at 09:23:41AM -0500, Decker, Ross wrote: > I'm just starting my adventure into BSD along with C++. I know that > this OS gives you all the source files that are used in the OS. What I'm > asking, is what is the name of the first file that is loaded and where > is the source file for it? I want to start with the very first line of > code and see if I can step my way through the entire boot process. There > are many things that I see during boot up that I have no idea what they > are (SMAP Type) that aren't that Google Friendly. > > So if anyone knows the names of the source files and their locations for > the boot sequence could you please post them. SUPER thank you's! Well, the first thing executed is the BIOS. It discovers an MBR to suck in and transfer control to. The MBR that it chooses is the one on the first one of its list of boot devices that has an MBR. That all is pretty much the same for all PC systems regardless of OS. Once it loads and transfers control to the MBR it is dependand on the OS. The MBR generally checks a couple things and chooses a boot sector from one of the bootable partitions to read in and hand over control to. If you poke around in man pages for boot and init you will learn a lot of what you are asking. jerry > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Can loader.conf give you NATD support?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/02/2010 15:39, Warren Block wrote: > On Mon, 8 Feb 2010, John wrote: > >> The natd man page says it is still necessary to create a customer >> kernl with >> >> options IPFIREWALL >> options IPDIVERT >> >> Is that still true, or can it be accomplished vi a loader.conf? > > It's a kernel option, so you probably can't do it at runtime. It's a loadable module (ipfw_nat.ko) nowadays, so you probably can do it at runtime... > Consider using pf instead of ipfw. pf does NAT without needing natd or > those kernel options. Heartily seconded. pf and ipfw fulfil the same sort of function, but to my mind, pf wins hands down simply by having a much more usable control interface and configuration syntax. Not to mention the advanced pf features like ftp-proxy, HA configuration, relayd and a bunch more. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktwOHkACgkQ8Mjk52CukIwuuwCeJwUl0RH1nSqIfYZimP7sO1hW ZZMAnjP1ZXWZVVZsPQA4YEFPtXHMWs1c =r3ny -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: net/samba34: after upgrade from samba33 -> samba34 no client can connect to samba34-server anymore!
On Mon, 8 Feb 2010 06:43, ohartman@ wrote: After upgrading from samba33 to samba34 from most recent ports, no Windows_XP and Windows_7 client is capable of connecting to the samba server anymore! I use the same config as before, did a testparm (it shows this ahaead: Load smb config files from /usr/local/etc/smb.conf max_open_files: sysctl_max (11095) below minimum Windows limit (16384) rlimit_max: rlimit_max (11095) below minimum Windows limit (16384) ). I have no idea what's going wrong. The authentication is done via LDAP. Using samab33 works without problem. Regards, Oliver Add to /boot/loader.conf: kern.maxfiles="16384" Reboot. As for the rlimit sysctl I have no clue which sysctl configures that but seeing as they are of both the same value I would assume that it might be auto configured by maxfiles. Best of luck and let us know how it turned out. -- jhell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
netflow vs pcap
I am trying to deploy more visibility into parts of my network and started to look at netflow. However, I often find for some deployments, I need full pcap headers to see what had been going on. e.g. customer calls after the fact saying, "~ 36hrs ago, there was a 'problem'. Do you know what happened"... Having a full pcap (headers anyways) helps a great deal to understand / reconstruct what the site was actually seeing. In my limited foray into netflow, I dont seem to have that level of visibility where I can see how long the 3 way handshake took to setup, if ACKs were missed due to packet loss or packets were out of order etc etc. That being said, there are wonderful summary tools in netflow that allow you to quickly look for network anomalies. However, I can always export a pcap to netflow format and then use such tools. Is there a happy medium out there ? What are people using to audit network traffic out there ? Also, what are people using to capture and store netflow data ? ---Mike Mike Tancsa, tel +1 519 651 3400 Sentex Communications,m...@sentex.net Providing Internet since 1994www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Can loader.conf give you NATD support?
On Mon, 8 Feb 2010, John wrote: The natd man page says it is still necessary to create a customer kernl with options IPFIREWALL options IPDIVERT Is that still true, or can it be accomplished vi a loader.conf? It's a kernel option, so you probably can't do it at runtime. Consider using pf instead of ipfw. pf does NAT without needing natd or those kernel options. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: portupgrade, batch mode?
. > use the > the --batch switch or put BATCH="yes" in make.conf IIRC. > That particular make.conf is in /etc > > But IMHO, remembering to always give portupgrade the -C > switch is the > way to go. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: portupgrade
On Mon, 8 Feb 2010, D?nielisz L?szl? wrote: do you have any idea why it is not upgrading: root# portversion -v|grep php php5-5.2.12 > succeeds port (port has 5.2.10) php5-pcre-5.2.12> succeeds port (port has 5.2.10) php5-session-5.2.12 > succeeds port (port has 5.2.10) php5-simplexml-5.2.12 > succeeds port (port has 5.2.10) php5-spl-5.2.12 > succeeds port (port has 5.2.10) php5-sqlite-5.2.12 > succeeds port (port has 5.2.10) root# portupgrade -vr php5 ---> Session started at: Mon, 08 Feb 2010 09:40:19 +0100 ** None has been installed or upgraded. ---> Session ended at: Mon, 08 Feb 2010 09:40:20 +0100 (consumed 00:00:01 Because you already have newer versions than are in ports, 5.2.12 installed when the port still has 5.2.10. This can happen if the ports tree or index file is outdated. csup/portsnap, run pkgdb -Fu, and try it again. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NFSv4: mount -t nsf4 not the same as mount_newnfs?
On Mon, 8 Feb 2010, O. Hartmann wrote: Mounting the filessystem via mount_newnfs host:/path /path works fine, but not mount -t nfs4 host:/path /path. The mount command can be either: mount -t nfs -o nfsv4 host:/path /path or mount -t newnfs -o nfsv4 host:/path /path (The above was what the old now removed nfs4 used.) Have fun with it, rick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: The first file loaded is?
On 02/08/10 15:23, Decker, Ross wrote: I'm just starting my adventure into BSD along with C++. I know that this OS gives you all the source files that are used in the OS. What I'm asking, is what is the name of the first file that is loaded and where is the source file for it? I want to start with the very first line of code and see if I can step my way through the entire boot process. There are many things that I see during boot up that I have no idea what they are (SMAP Type) that aren't that Google Friendly. So if anyone knows the names of the source files and their locations for the boot sequence could you please post them. SUPER thank you's! Your question is very vague. The first executed code on an IBM-PC is the boot loader, look at sys/boot/boot0. First executed lines of the kernel are at mi_startup() in sys/kern/init_main.c. First executed lines of userland code are in the "init" process, in sbin/init/init.c. All paths are relative to /usr/src. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NFSv4: mount -t nsf4 not the same as mount_newnfs?
On Mon, 8 Feb 2010, O. Hartmann wrote: Mounting the filessystem via mount_newnfs host:/path /path Oh, and you should set: sysctl vfs.newnfs.locallocks_enable=0 in the server, since I haven't fixed the local locking yet. (This implies that apps/daemons running locally on the server won't see byte range locks performed by NFSv4 clients.) However, byte range locking between NFSv4 clients should work ok. rick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Breaking the sendmail code / sendmail for dummies
On Mon, 8 Feb 2010, John wrote: ... So - I did all that you suggested, and it sure looks like it worked, but I still have a question. It did both the hostname.mc and the hostname.submit.mc files and .cf files, but I didn't do anything to the hostanme.submit.mc file. Am I still OK? Yes, editing hostname.mc should be all that's necessary. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD's UFS vs Ext4
On Mon, Feb 08, 2010 at 10:01:05AM +1100, alex wrote: > > Frank Shute wrote: > >On Mon, Feb 08, 2010 at 01:41:29AM +1100, alex wrote: > > > >>Hi Guys, > >> > >>Today I reformatted a machine (network server) thats run FreeBSD nonstop > >>for at least the last 3 years and installed linux on it. I have a raid 0 > >>setup with 2 hard disks in the very same machine. > >> > > > >So you had a machine that had run non-stop for 3 years yet you replace > >the OS. Clever. > > > > > > Yes I replaced the OS. Because the box was to also be a PBX (running > asterisk, instead of just being a file server/web server for running > local web apps). I was continually getting coredumps with asterisk. > After filing numerous bug reports and hitting dead ends with the > asterisk devs, I had enough, because none of them knew how to debug the > problem under freebsd, I got fed up and moved the box over to linux, and > to my surprise, no more core dumps. Fair enough. > > > > >>I see a number of factors putting freebsd behind: > >> > >>* The teams stubbornness with compiler/base tools (wont move away from > >>gcc 4.2.1 because they just cant accept the GPL2) > >> > > > >They don't like the license, that's not stubbornness. > > > > > > Wow thats a good reason to use ancient compilers and assemblers. AFAIK, the system compiler is going to be clang in the future and for ports you'll install a compiler from ports. > >>* The teams stubbornness with the base system binutils (which cause > >>mplayer and other multimedia applications not to build, unless a newer > >>version is installed) > >> > > > >Nonsense. > > > > > You dont see having a set of binutils thats not SSE3 or SSE4 capable as > a problem? It's nonsense? I'm not saying that. I don't remember having to install new binutils to install mplayer. > >>Using such an old compiler must have a performance impact on the OS. I > >>say this because compilers improve over time, they generate better, > >>tighter, more optimized code. The binutils shipped with freebsd is more > >>than 5 years old now. > >> > > > >A codes age has nothing to do with it's performance. > > > > > Clearly you know nothing about how compilers generate and optimize code. > If this isnt a problem, why would new versions of gcc and binutils > continue to surface. Well I can see three obvious reasons, improved code > generation, bug fixes, new features. There isn't some vast jump in performance provided by an up to date and buggy as hell version of gcc. The improved code performance isn't worth swallowing some daft, verbiose, impenetrable licence for either. > >>It's not just my personal test that has shown that linux is ahead in > >>numerous areas (performance wise), but the recent phoronix benchmarks > >>that were released when FreeBSD 8 came out, were pretty damning. > >> > > > >Link please. > > > > > Sure, no problem, enjoy: > > http://www.phoronix.com/scan.php?page=article&item=freebsd8_benchmarks&num=1 > > Go on, I am waiting for you to poke holes and attempt to totally > invalidate those benchmarks too. On the whole, I don't believe in benchmarks. They don't even tell half the story when it comes to choosing an OS and they're always rather dubious IMO. > >>I'd like to see what the FreeBSD team has to say on this. > >> > >>Alex > >> > > > >Despite your FreeBSD T-shirt ownage, your post is a troll. > > > >Nobody's interested in your bogus benchmarks & opinions on matters > >that you are not knowledgeable of. > > > > > >Regards, > > > > > > I guess you cant see the difference between a troll and a complaint. I > have been using freebsd since the 4.x days. It seems you have quite a > chip on your shoulder, frank. Heh, I resemble that remark! I'm well balanced - chip on both shoulders ;) FYI, I've used FreeBSD since 4.3 and before that I used Linux. Linux has a rather nasty thrown together feeling about it in comparison and the scheduler on Linux in those days was bloody useless: it had trouble handling more than one task. So it's swings and roundabouts. Linux maybe more performant but it's got (had) it's problems. Don't know about nowadays but I've got no reason to go back and try it again ATM. If you do, good luck to you! > > Alex. > Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
mozilla and thunderbird tray icons missing
Those two icons went missing. When they are running windows and panel tabs show some generic X icons instead. Ho does xserver determine which icon to show for the particular app? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
The first file loaded is?
I'm just starting my adventure into BSD along with C++. I know that this OS gives you all the source files that are used in the OS. What I'm asking, is what is the name of the first file that is loaded and where is the source file for it? I want to start with the very first line of code and see if I can step my way through the entire boot process. There are many things that I see during boot up that I have no idea what they are (SMAP Type) that aren't that Google Friendly. So if anyone knows the names of the source files and their locations for the boot sequence could you please post them. SUPER thank you's! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
VirtualBox crashes after system upgrade
I updated the system, both kernel and ports. It's 8.0-STABLE. vbox ports were reinstalled after the kernel: virtualbox-ose-3.1.2_1 virtualbox-ose-kmod-3.1.2_1 Now my system crashes when I try to start the virtual machine. Anybody has the same problem? Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: Should root partition be first partition?
>The root partition should always be the 'a' partition, but it doesn't have to >be the first in physical order on the disk (ie. starting at cylinder 0). So >long as partitions don't overlap (with the >historical exception of the 'c' >partition, which should cover the whole drive) you can put them in any order >and starting at any offset. You can even leave gaps between partitions if you >>want, but that is pretty crazy since it just wastes some of the available >space. I should clarify that I am using GPT partitions, not MBR, so in fact there is no 'a' partition and in fact no bsd label at all. My partitioning looks like this: # gpart show ad4 => 34 490234685 ad4 GPT (234G) 34 161 freebsd-boot (8.0K) 50 671088642 freebsd-swap (32G) 67108914 671088643 freebsd-swap (32G) 134217778 104857604 freebsd-ufs (5.0G) 144703538 251658245 freebsd-ufs (12G) 16986936257925576 freebsd-ufs (2.8G) 175661919 2831155207 freebsd-ufs (135G) 458777439 314572808 freebsd-ufs (15G) Partition 4 (ad4p4) is the root partition. This works fine, but I was just wondering why I've seen layouts with root first, then swap, then var, etc. The only problem I've had is that I cannot find a way to tell the boot loader to boot from an alternate drive since it seems to expect MBR partitioning when using a reference such as 4:ad(4,a)/boot/loader. That's a separate issue though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: What is correct syntax in boot.config fo GPT partitions?
>I've used the syntax > >1:ad(1,a)/boot/loader > >in boot.config to specify the boot device. This doesn't work with GPT >partitions. What's the correct syntax in boot.config for GPT partitions? I looked at the source code to boot.c and there doesn't seem to be anything specifically related to GPT partitioning. So I'm puzzled: If I have a two drive system with BSD loaded on both drives and the drives are configured with GPT partitions, how can I force the system to boot from the second drive using boot.config? I've done with this MBR partitioning using either 0:ad(0,a)/boot/loader 1:ad(1,a)/boot/loader to specify either the first disk or the second disk. I've tried various incarnations of this to select with drive to boot from in my GPT based system but nothing works. My impression is that it isn't supported, except for MBR partitioning. Is this true? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Should root partition be first partition?
On 08/02/2010 14:09, Peter Steele wrote: > I've set up a system with gpart and have the swap partition first > followed by root, var, and so on. This works fine but I've seen > documents that always have root first, then swap. Is there any reason > that root should be the first partition or can it follow swap space? The root partition should always be the 'a' partition, but it doesn't have to be the first in physical order on the disk (ie. starting at cylinder 0). So long as partitions don't overlap (with the historical exception of the 'c' partition, which should cover the whole drive) you can put them in any order and starting at any offset. You can even leave gaps between partitions if you want, but that is pretty crazy since it just wastes some of the available space. There have been quite a lot of recommendations on how to lay out a disk for best performance, based on the observation that disk access times vary depending on how far away the data is from the spindle, and the expected usage patterns for the partition. Like any such advice, it has tended to become less valid over time. Modern disks really don't have any physical meaning to the Cylinder/Head/Sector style addressing schemes[*] nowadays -- and you're pretty much bound to be using LBA style addressing anyhow. Also, machines nowadays have so much RAM that (a) swap is hardly ever used and (b) access to popular files is frequently answered out of VM caches rathe than needing disk IO. If your application is so demanding that you really need to squeeze out the last drop of IO performance, then you're much better off investing in fast SAS drives, a decent HW RAID controller with BBU and extra RAM. Otherwise, don't sweat it. Lay out the disks in a way that makes sense to you, and carry on with your life... Cheers, Matthew [*] But this still pops up in sysinstall, at the cost of much bewilderment for the uninitiated. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard, Flat 3 Black Earth Consulting Ramsgate Kent, CT11 9PW Free and Open Source Solutions Tel: +44 (0)1843 580647 signature.asc Description: OpenPGP digital signature
Re: Should root partition be first partition?
On Mon, Feb 08, 2010 at 08:09:48AM -0600, Peter Steele wrote: > I've set up a system with gpart and have the swap partition first followed > by root, var, and so on. This works fine but I've seen documents that always > have root first, then swap. Is there any reason that root should be the > first partition or can it follow swap space? It should work, but there are so many things that might assume to have / (root) as the first partition on a bootable drive that maybe it is best to just stick with that convention. jerry > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NTP Stratum
Jon Radel wrote: > DAve wrote: >> Afternoon from Blizzard central in Indiana, >> >> I have three DNS servers across the state that I have installed and >> configured ntpd on. They seem to be working well except they are >> announcing themselves as Stratum 0 servers. >> >> As many times as I have read the man pages I can't seem to figure out >> how I *should* set them to announce themselves at a lower stratum. > > Not enough information about what you're trying to do: Are these > synchronized against an outside source of time? Are you using a local > source of time such as a GPS receiver? Or are your servers sitting > there with nothing but the undisciplined local clock and something like: > > server 127.127.1.0 # local clock > fudge 127.127.1.0 stratum 0 > > in the config file? > > What's > > ntpq -c peers > > showing? I am syncing with three server from N.us.pool.ntp.org. I have no fudge configured. ]# ntpq -c peers remote refid st t when poll reach delay offset jitter == ns-01.tls.net .INIT. 16 u- 102400.0000.000 4000.00 +www.broadbandja 66.250.45.2 3 u 510 1024 377 61.9443.528 0.230 *point2.adamants 128.138.140.44 2 u 447 1024 377 59.3600.863 0.154 +66.36.239.104 69.64.37.141 3 u 507 1024 377 28.7632.623 1.182 I am pretty sure I am just reading the man pages incorrectly, but then others things seem confusing as well. > > As a general sort of rule, if you're synchronized to some trusted time > from somewhere, your stratum is going to be one higher than the stratum > of the server you're synchronized against, and you rather have to go out > of your way to override that. > Uhhh, the confusing part. Dennis Glatting wrote: > If you have them sync'd to external servers your servers will assume a > stratum lower than those. I vote for higher, I have no fudge configured and my servers are claiming to be stratum 0 when I check them from outside. But!! Never trusting my observations until checking again, I see when I tested that my clocks were off. So if I cannot sync, my server continues to answer time queries but claims to be stratum 0. I am thinking I am getting closer to grasping this. DAve -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Adams http://appleseedinfo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Should root partition be first partition?
I've set up a system with gpart and have the swap partition first followed by root, var, and so on. This works fine but I've seen documents that always have root first, then swap. Is there any reason that root should be the first partition or can it follow swap space? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Breaking the sendmail code / sendmail for dummies
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/02/2010 13:11, John wrote: > So - I did all that you suggested, and it sure looks like it worked, > but I still have a question. It did both the hostname.mc and the > hostname.submit.mc files and .cf files, but I didn't do anything > to the hostanme.submit.mc file. Am I still OK? Yes. The submit.mc / submit.cf files very rarely need any sort of customization. All of the real processing happens in the sm-mta (mail transfer agent) instance: the only reason for the sm-msp (mail submission process) instance to exist is to provide secure user-level access to the privileged sm-mta process without having to make the sendmail binary run setuid-root. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktwGsQACgkQ8Mjk52CukIz5uACfcCOVYbgezUTXUVpQOj0dHXnf lFsAnjXD1uD8vsFuwvJK1ugi9us6B1zl =eCwJ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Can loader.conf give you NATD support?
The natd man page says it is still necessary to create a customer kernl with options IPFIREWALL options IPDIVERT Is that still true, or can it be accomplished vi a loader.conf? Thanks! -- John Lind j...@starfire.mn.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Breaking the sendmail code / sendmail for dummies
On Sun, Feb 07, 2010 at 10:28:20PM -0700, Warren Block wrote: > On Sun, 7 Feb 2010, John wrote: > > > A little background - elwood will be the mail hub. Any e-mail > > originating from within my local network should be re-written to > > eliminate the specific host name and only use the higher level > > domain. I belive that is "MASQUERADE_AS". In trying to make sure > > this is what I want, I keep running into references to the domain > > file and references like "../domain". Should I really be considering > > creating something regarding my local configuration in the > > /usr/share/sendmail/cf/domain directory? That seems - wrong. > > It's not recommended. > > Instead, running make in /etc/mail creates your hostname.mc file from > the templates there. (/etc/mail/Makefile is a model of making things > easier.) > > Then edit hostname.mc. Change the masquerade settings: > > MASQUERADE_AS(`mydomain.com') > MASQUERADE_DOMAIN(`mydomain.com') > FEATURE(`masquerade_entire_domain') > FEATURE(`masquerade_envelope') > > After the edits, do a 'make all install restart'. Done! Wow! Thanks, Warren! I guess I wasn't as close as I thought on the masquerading. So - I did all that you suggested, and it sure looks like it worked, but I still have a question. It did both the hostname.mc and the hostname.submit.mc files and .cf files, but I didn't do anything to the hostanme.submit.mc file. Am I still OK? > -Warren Block * Rapid City, South Dakota USA > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- John Lind j...@starfire.mn.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
net/samba34: after upgrade from samba33 -> samba34 no client can connect to samba34-server anymore!
After upgrading from samba33 to samba34 from most recent ports, no Windows_XP and Windows_7 client is capable of connecting to the samba server anymore! I use the same config as before, did a testparm (it shows this ahaead: Load smb config files from /usr/local/etc/smb.conf max_open_files: sysctl_max (11095) below minimum Windows limit (16384) rlimit_max: rlimit_max (11095) below minimum Windows limit (16384) ). I have no idea what's going wrong. The authentication is done via LDAP. Using samab33 works without problem. Regards, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
NDISulator bug on amd64
On 1/16/10, Paul B Mahol wrote: > On 1/11/10, Paul B Mahol wrote: >> On 1/11/10, Bob Johnson wrote: >>> On 1/9/10, Paul B Mahol wrote: On 12/16/09, Bob Johnson wrote: > I'm using an ExpressCard for wireless networking because there seems > to be no driver for the internal card in my laptop (and NDIS panics > the system). The Expresscard shows up as a PCI device and works fine, How are you using NDIS and when system panic what is displayed? >>> >>> I tried to use ndisgen with the internal Dell 1397 card. I don't have >>> details available right now, although if you need them I can try it >>> again. When I did the kldload the system spit out error messages about >>> unknown symbols and then panic-ed. I did some searching of the >>> archives and found a message describing the same symptoms, and the >>> response posted was that it indicated that the Windows driver made API >>> calls that were not implemented in the NDIS wrapper. >>> >>> This was a 64-bit Windows driver and an amd64 FreeBSD system. Similar >>> results in both >>> FreeBSD 7.2 and 8.0. >>> >>> It appears that kern/132672 is describing the same or a very similar >>> issue. It also suggests that there is a more fundamental problem than >>> the unrecognized symbols. >>> >>> I can try to reproduce the problem tonight if you want me to. >>> >>> Thanks, >> >> If you have debug kernel, then make breakpoint for MSCALL2 (kldload >> ndis.ko before that): `break MSCALL2' > > Should be `break w86_64_call2' >> Then load ndisgen module. >> >> Then single step it with `s' it should panic after few steps. >> At least this is issue I'm experiencing on amd64, it fails in >> DriverEntry(). > > with the same virtual address as in kern/132672. I fixed bug that caused panic on amd64 in DriverEntry(). Code is available from here: www.gitorious.org/NDISulator ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD's UFS vs Ext4
On Monday 08 February 2010 05:46:07 alex wrote: > Pieter de Goeje wrote: > > The fact that the limit is 86MB/sec (which is very low for a raid0 array) > > makes me think the box suffers from sub optimal network performance > > during a simple stream test like yours. This could be due to FreeBSD > > having a poor network driver for your particular NIC or could be due to > > insufficient tuning of the TCP parameters for this particular test. > > Hi Pieter. > > You are right about there being a number of possibilities, however: > > *The same machine, which over the years has had a number of revisions of > freebsd on it (have buildworlded the thing from 7-> 7.1 -> 7.2 -> 8), > the performance was always roughly the same amongst the versions, I dont > agree with the possibility of the ftp server being 'slow' as I am the > only person who copies data to that machine, and the machine is always > under a very low (almost non existent) load. That's no reason to rule out inefficient design in the FTP server. I could write a program that sends 1b/sec over the network which serves one user and uses no cpu. > > * Network card is an Intel Pro 1000, on the server. This is a PCI card > (not pci-e), so I believe PCI bus bandwidth limitations may be > responsible for me not being able to achieve the maximum 100MB/s network > rate (as you mention that 86MB/s is slow for raid0) > > * The intel network card driver on freebsd and linux are both fairly > rock solid and well written. I dont see it being an issue with NIC > drivers (they are not vastly different). Solid does not mean high performance. For example, to get maximum performance out of my em nics I have to increase the number of tx and rx descriptors from 256 (default on FreeBSD) to 4096. > > * Both OS's were stock standard installs, no jumbo frames enabled, no > fiddling with sysctl network values. So you haven't tried to improve the performance. Nor have you tried to find out why performance is sub optimal. > > I am happy with 86MB/s anyway, It's a huge improvement of the 60MB/s > barrier I could never get past when that machine was running FreeBSD. > To get the rest of the speed, I'd probably have to install a pci-e card on > the server. > > I do suspect personally that the ext4 filesystem is the reason for the > difference here, since ext4 has a number of features such as deferred > disk writes etc. Ok, what did you actually test? File upload? Download? How big was the testfile? Was the file in cache?. > Even deleting a large file off that raid array I can > see a difference, prior to reformatting, i deleted a 190GB file off the > raid, under UFS the delete took quite some time (well over 10 seconds), > under ext4 the deletion of the same size file took about 3 seconds. File deletion speed is relevant how? > > But what I said with ext4 being faster then the aging UFS still rings > true in my mind, look at the recent Phoronix benchmarks for yourself and > see (10 pages of benchmarks). > > http://www.phoronix.com/scan.php?page=article&item=freebsd8_benchmarks&num= > 1 (skip to page 7 of the benchmarks if you want to see the I/O stuff > relating to disk performance) The phoronix disk benchmarks are of little value in this case. I'll be happy to explain why if you're interested. Further discussion is useless unless you go back and redo the tests, this time trying to isolate the cause instead of making baseless assumptions about the performance of various FreeBSD subsystems. -- Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: portupgrade
László wrote: >Thank you everybody! >Actually I use cvsup, and it is up to date, but now I give a try with portsnap. It sounds like your index file or your portsdb are older than the rest of your ports tree. Try running 'portsdb -Fu'. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Booting from USB flash drive
When I plug a USB stick into Freebsd 8.0 probe messages are displayed on the master console. One of the messages contain the rev level like 2.00/1.10. Is this info being retrieved from the USB stick? Is there a Freebsd command to show this information? Is there some way under ms/windows to display this info to compare to what the probe message says? Trying to figure out why I can boot off one USB stick and not another one i have. I dd a wim98 floppy image to both. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
NFSv4: mount -t nsf4 not the same as mount_newnfs?
Hello. I set up a NFSv4 server located on a FreeBSD 8.0/amd64 box (most recent world). It seems I successfully set up the NFSv4 service and this results in a successful mount of a file system by another FreeBSD 8.0 box. But their is a weirdnes I do not understand. Mounting the filessystem via mount_newnfs host:/path /path works fine, but not mount -t nfs4 host:/path /path. When doing the latter, I always get the error : Operation not supported by device What I'm doing wrong? Regards, Oliver P.S. Kernel has both NFSSERVER and NFSD, NFSCL and NFSCLIENT, /etc/rc.conf has nfsv4_server_enable="YES" nfsuserd_enable="YES" rpcbind_enable="YES" on serverside, on clientside, it's nfsuserd_enable="YES" nfscbd_enable="YES" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
freebsd 8.0 on asus 1201 HA
Hi all, I've installed freebsd 8.0 on an asus EeePC 1201 HA. All works ok but xorg. This netbook use Poulsbo chipset and GMA 500 graphics. Someone has a working xorg.conf for this? Is there specific video driver on freebsd or should I use vesa? Using vesa someone knows specific monitor frequency for this netbook? tia, bye -- Maurizio Boriani PGP key: 0xEBBFF70D => A5 96 C1 30 00 78 0C 78 57 5D 3E 05 C2 A4 6D 53 <= Crudelitas in animalia est tirocinium crudelitatis contra homines ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: portupgrade
Szia Zsolt! Thank you everybody! Actually I use cvsup, and it is up to date, but now I give a try with portsnap. László From: Artifex Maximus To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Mon, February 8, 2010 10:34:53 AM Subject: Re: portupgrade Szia László! 2010/2/8 Dánielisz László > hi, > > do you have any idea why it is not upgrading: > > root# portversion -v|grep php > php5-5.2.12 > succeeds port (port has 5.2.10) > php5-pcre-5.2.12> succeeds port (port has 5.2.10) > php5-session-5.2.12 > succeeds port (port has 5.2.10) > php5-simplexml-5.2.12 > succeeds port (port has 5.2.10) > php5-spl-5.2.12 > succeeds port (port has 5.2.10) > php5-sqlite-5.2.12 > succeeds port (port has 5.2.10) > root# portupgrade -vr php5 > ---> Session started at: Mon, 08 Feb 2010 09:40:19 +0100 > ** None has been installed or upgraded. > ---> Session ended at: Mon, 08 Feb 2010 09:40:20 +0100 (consumed 00:00:01 > > Because installed version is higher than version in port tree (5.2.12 > 5.2.10). Have you upgraded your port tree before? Bye, Zsolt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: portupgrade
Szia László! 2010/2/8 Dánielisz László > hi, > > do you have any idea why it is not upgrading: > > root# portversion -v|grep php > php5-5.2.12 > succeeds port (port has 5.2.10) > php5-pcre-5.2.12> succeeds port (port has 5.2.10) > php5-session-5.2.12 > succeeds port (port has 5.2.10) > php5-simplexml-5.2.12 > succeeds port (port has 5.2.10) > php5-spl-5.2.12 > succeeds port (port has 5.2.10) > php5-sqlite-5.2.12 > succeeds port (port has 5.2.10) > root# portupgrade -vr php5 > ---> Session started at: Mon, 08 Feb 2010 09:40:19 +0100 > ** None has been installed or upgraded. > ---> Session ended at: Mon, 08 Feb 2010 09:40:20 +0100 (consumed 00:00:01 > > Because installed version is higher than version in port tree (5.2.12 > 5.2.10). Have you upgraded your port tree before? Bye, Zsolt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: portupgrade
2010/2/8 Dánielisz László : > hi, > > do you have any idea why it is not upgrading: > > root# portversion -v|grep php > php5-5.2.12 > succeeds port (port has 5.2.10) > php5-pcre-5.2.12 > succeeds port (port has 5.2.10) > php5-session-5.2.12 > succeeds port (port has 5.2.10) > php5-simplexml-5.2.12 > succeeds port (port has 5.2.10) > php5-spl-5.2.12 > succeeds port (port has 5.2.10) > php5-sqlite-5.2.12 > succeeds port (port has 5.2.10) > root# portupgrade -vr php5 > ---> Session started at: Mon, 08 Feb 2010 09:40:19 +0100 > ** None has been installed or upgraded. > ---> Session ended at: Mon, 08 Feb 2010 09:40:20 +0100 (consumed 00:00:01 > Do you use portsnap? If yes, try 'portsnap fetch update' - If you have '/usr/sbin/portsnap -I cron update' in your crontab it will only update the INDEX files. -- chs, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [WORKAROUND] Re: /usr/ports/x11-toolkits/qt33: /usr/bin/ld: warning: libjpeg.so.10, needed by /usr/local/lib/libqt-mt.so, not found (try using -rpath or -rpath-link)
On Mon, 08 Feb 2010 09:49:11 +0100 Leslie Jensen wrote: [ .. ] > >> Make output: > >> > >> > >> /usr/bin/ld: warning: libjpeg.so.10, needed > >> by /usr/local/lib/libmng.so, not found (try using -rpath or > >> -rpath-link) > > > > portmaster graphics/libmng > > portmaster x11/kdelibs3 > > portmaster --check-depends > > portmaster -a > > > > > Thank you! It all build without problems :-) A bump of PORTREVISION of libmng was missed, and because of that portmaster didn't update it before trying for qt. I bumped it a few minutes ago. -- IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> ite...@freebsd.org, PGP Key ID 057E9F8B493A297B signature.asc Description: PGP signature
portupgrade
hi, do you have any idea why it is not upgrading: root# portversion -v|grep php php5-5.2.12 > succeeds port (port has 5.2.10) php5-pcre-5.2.12> succeeds port (port has 5.2.10) php5-session-5.2.12 > succeeds port (port has 5.2.10) php5-simplexml-5.2.12 > succeeds port (port has 5.2.10) php5-spl-5.2.12 > succeeds port (port has 5.2.10) php5-sqlite-5.2.12 > succeeds port (port has 5.2.10) root# portupgrade -vr php5 ---> Session started at: Mon, 08 Feb 2010 09:40:19 +0100 ** None has been installed or upgraded. ---> Session ended at: Mon, 08 Feb 2010 09:40:20 +0100 (consumed 00:00:01 Thnak you! László ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [WORKAROUND] Re: /usr/ports/x11-toolkits/qt33: /usr/bin/ld: warning: libjpeg.so.10, needed by /usr/local/lib/libqt-mt.so, not found (try using -rpath or -rpath-link)
2010-02-08 08:55, Ion-Mihai Tetcu skrev: On Mon, 08 Feb 2010 08:44:53 +0100 Leslie Jensen wrote: 2010-02-07 15:37, Ion-Mihai Tetcu skrev: On Sun, 07 Feb 2010 13:36:55 +0100 Leslie Jensen wrote: [ .. ] For the moment the workaround, when you get to this, is to: mv /usr/local/lib/libqt-mt.so /usr/local/lib/libqt-mt.so.old&& \ cd /usr/ports/x11-toolkits/qt33/&&make&&\ mv /usr/local/lib/libqt-mt.so.old /usr/local/lib/libqt-mt.so&& \ portmaster -C x11-toolkits/qt33 I did this yesterday while under KDE3 without problems. You'll run into the same kind of problem with kdelibs3: Making all in dnssd gmake[2]: Entering directory `/usr/home/itetcu/wrk/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd' ../kdecore/kconfig_compiler/kconfig_compiler ./kcm_kdnssd.kcfg ./settings.kcfgc; ret=$?; \ if test "$ret" != 0; then rm -f settings.h ; exit $ret ; fi /libexec/ld-elf.so.1: Shared object "libjpeg.so.10" not found, required by "libkdefx.so.6" gmake[2]: *** [settings.h] Error 1 gmake[2]: Leaving directory `/usr/home/itetcu/wrk/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/home/itetcu/wrk/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/x11/kdelibs3. The same workaround works. And yes, this means the kde ports are in wrong. I've tried this and I couldn't make it work! I then decided to remove the ports arts, kdelibs3, qt33 and k3b with pkg_deinstall, because these are the only ones installed that are affected of the above problem. I also did make clean for these ports. Even so, when I start installing qt33 again the same problem comes up. Do you have any suggestions on how I should do to make it work? Please send the make output with the failure, and pkg_info -Ia. When I run the command I get this pkg_info -Ia> pkg_info_100208.txt pkg_info: corrupted record (pkgdep line without argument), ignoring pkg_info: corrupted record (pkgdep line without argument), ignoring pkg_info: corrupted record (pkgdep line without argument), ignoring Probably because the ports deinstalled are dependencies of openoffice! When running portmaster --check-depends it complains about x11-toolkits/qt33 audio/arts x11/kdelibs3 Yes, since you force deinstalled them, while ports that actually need them are still there. Yes, I'm aware of this. Added for information. Please see attached file! Make output: /usr/bin/ld: warning: libjpeg.so.10, needed by /usr/local/lib/libmng.so, not found (try using -rpath or -rpath-link) portmaster graphics/libmng portmaster x11/kdelibs3 portmaster --check-depends portmaster -a Thank you! It all build without problems :-) /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"